t402 1.7.1__py3-none-any.whl → 1.9.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- t402/__init__.py +2 -1
- t402/bridge/client.py +13 -5
- t402/bridge/constants.py +3 -1
- t402/bridge/router.py +1 -1
- t402/bridge/scan.py +3 -1
- t402/chains.py +268 -1
- t402/cli.py +31 -9
- t402/common.py +2 -0
- t402/cosmos_paywall_template.py +2 -0
- t402/encoding.py +9 -3
- t402/erc4337/accounts.py +56 -51
- t402/erc4337/bundlers.py +105 -99
- t402/erc4337/paymasters.py +100 -109
- t402/erc4337/types.py +39 -26
- t402/evm_paywall_template.py +1 -1
- t402/fastapi/middleware.py +1 -3
- t402/mcp/server.py +79 -46
- t402/near_paywall_template.py +2 -0
- t402/networks.py +34 -1
- t402/paywall.py +1 -3
- t402/schemes/__init__.py +164 -1
- t402/schemes/aptos/__init__.py +70 -0
- t402/schemes/aptos/constants.py +349 -0
- t402/schemes/aptos/exact_direct/__init__.py +44 -0
- t402/schemes/aptos/exact_direct/client.py +202 -0
- t402/schemes/aptos/exact_direct/facilitator.py +426 -0
- t402/schemes/aptos/exact_direct/server.py +272 -0
- t402/schemes/aptos/types.py +237 -0
- t402/schemes/evm/__init__.py +67 -1
- t402/schemes/evm/exact/__init__.py +11 -0
- t402/schemes/evm/exact/client.py +3 -1
- t402/schemes/evm/exact/facilitator.py +894 -0
- t402/schemes/evm/exact/server.py +1 -1
- t402/schemes/evm/exact_legacy/__init__.py +38 -0
- t402/schemes/evm/exact_legacy/client.py +291 -0
- t402/schemes/evm/exact_legacy/facilitator.py +777 -0
- t402/schemes/evm/exact_legacy/server.py +231 -0
- t402/schemes/evm/upto/__init__.py +70 -0
- t402/schemes/evm/upto/client.py +244 -0
- t402/schemes/evm/upto/facilitator.py +625 -0
- t402/schemes/evm/upto/server.py +243 -0
- t402/schemes/evm/upto/types.py +307 -0
- t402/schemes/interfaces.py +6 -2
- t402/schemes/near/__init__.py +112 -0
- t402/schemes/near/constants.py +189 -0
- t402/schemes/near/exact_direct/__init__.py +21 -0
- t402/schemes/near/exact_direct/client.py +204 -0
- t402/schemes/near/exact_direct/facilitator.py +455 -0
- t402/schemes/near/exact_direct/server.py +303 -0
- t402/schemes/near/types.py +419 -0
- t402/schemes/polkadot/__init__.py +72 -0
- t402/schemes/polkadot/constants.py +155 -0
- t402/schemes/polkadot/exact_direct/__init__.py +43 -0
- t402/schemes/polkadot/exact_direct/client.py +235 -0
- t402/schemes/polkadot/exact_direct/facilitator.py +428 -0
- t402/schemes/polkadot/exact_direct/server.py +292 -0
- t402/schemes/polkadot/types.py +385 -0
- t402/schemes/registry.py +6 -2
- t402/schemes/stacks/__init__.py +68 -0
- t402/schemes/stacks/constants.py +122 -0
- t402/schemes/stacks/exact_direct/__init__.py +43 -0
- t402/schemes/stacks/exact_direct/client.py +222 -0
- t402/schemes/stacks/exact_direct/facilitator.py +424 -0
- t402/schemes/stacks/exact_direct/server.py +292 -0
- t402/schemes/stacks/types.py +380 -0
- t402/schemes/svm/__init__.py +29 -0
- t402/schemes/svm/exact/__init__.py +35 -0
- t402/schemes/svm/exact/client.py +23 -0
- t402/schemes/svm/exact/facilitator.py +24 -0
- t402/schemes/svm/exact/server.py +20 -0
- t402/schemes/tezos/__init__.py +84 -0
- t402/schemes/tezos/constants.py +372 -0
- t402/schemes/tezos/exact_direct/__init__.py +22 -0
- t402/schemes/tezos/exact_direct/client.py +226 -0
- t402/schemes/tezos/exact_direct/facilitator.py +491 -0
- t402/schemes/tezos/exact_direct/server.py +277 -0
- t402/schemes/tezos/types.py +220 -0
- t402/schemes/ton/__init__.py +9 -2
- t402/schemes/ton/exact/__init__.py +7 -0
- t402/schemes/ton/exact/facilitator.py +730 -0
- t402/schemes/ton/exact/server.py +1 -1
- t402/schemes/tron/__init__.py +11 -2
- t402/schemes/tron/exact/__init__.py +9 -0
- t402/schemes/tron/exact/facilitator.py +673 -0
- t402/schemes/tron/exact/server.py +1 -1
- t402/schemes/upto/__init__.py +80 -0
- t402/schemes/upto/types.py +376 -0
- t402/stacks_paywall_template.py +2 -0
- t402/svm.py +45 -11
- t402/svm_paywall_template.py +1 -1
- t402/ton.py +5 -1
- t402/ton_paywall_template.py +1 -192
- t402/tron.py +2 -0
- t402/tron_paywall_template.py +2 -0
- t402/types.py +4 -2
- t402/wdk/errors.py +15 -5
- t402/wdk/signer.py +11 -2
- {t402-1.7.1.dist-info → t402-1.9.1.dist-info}/METADATA +42 -1
- t402-1.9.1.dist-info/RECORD +125 -0
- t402-1.7.1.dist-info/RECORD +0 -67
- {t402-1.7.1.dist-info → t402-1.9.1.dist-info}/WHEEL +0 -0
- {t402-1.7.1.dist-info → t402-1.9.1.dist-info}/entry_points.txt +0 -0
t402/ton_paywall_template.py
CHANGED
|
@@ -1,193 +1,2 @@
|
|
|
1
1
|
# THIS FILE IS AUTO-GENERATED - DO NOT EDIT
|
|
2
|
-
# TON Paywall Template - A simple placeholder template for TON payments
|
|
3
|
-
# In production, this would be a full React-based paywall like the EVM/SVM templates
|
|
4
|
-
|
|
5
|
-
TON_PAYWALL_TEMPLATE = """<!DOCTYPE html>
|
|
6
|
-
<html lang="en">
|
|
7
|
-
<head>
|
|
8
|
-
<meta charset="UTF-8">
|
|
9
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
10
|
-
<title>Payment Required - TON</title>
|
|
11
|
-
<style>
|
|
12
|
-
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
13
|
-
body {
|
|
14
|
-
min-height: 100vh;
|
|
15
|
-
background-color: #f9fafb;
|
|
16
|
-
font-family: Inter, system-ui, -apple-system, sans-serif;
|
|
17
|
-
display: flex;
|
|
18
|
-
align-items: center;
|
|
19
|
-
justify-content: center;
|
|
20
|
-
}
|
|
21
|
-
.container {
|
|
22
|
-
max-width: 32rem;
|
|
23
|
-
margin: 2rem;
|
|
24
|
-
padding: 2rem;
|
|
25
|
-
background-color: white;
|
|
26
|
-
border-radius: 0.75rem;
|
|
27
|
-
box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
|
|
28
|
-
text-align: center;
|
|
29
|
-
}
|
|
30
|
-
.logo {
|
|
31
|
-
width: 64px;
|
|
32
|
-
height: 64px;
|
|
33
|
-
margin: 0 auto 1rem;
|
|
34
|
-
}
|
|
35
|
-
.title {
|
|
36
|
-
font-size: 1.5rem;
|
|
37
|
-
font-weight: 700;
|
|
38
|
-
color: #111827;
|
|
39
|
-
margin-bottom: 0.5rem;
|
|
40
|
-
}
|
|
41
|
-
.subtitle {
|
|
42
|
-
color: #6b7280;
|
|
43
|
-
margin-bottom: 1.5rem;
|
|
44
|
-
}
|
|
45
|
-
.payment-details {
|
|
46
|
-
background-color: #f3f4f6;
|
|
47
|
-
padding: 1rem;
|
|
48
|
-
border-radius: 0.5rem;
|
|
49
|
-
margin-bottom: 1.5rem;
|
|
50
|
-
}
|
|
51
|
-
.payment-row {
|
|
52
|
-
display: flex;
|
|
53
|
-
justify-content: space-between;
|
|
54
|
-
margin-bottom: 0.5rem;
|
|
55
|
-
}
|
|
56
|
-
.payment-row:last-child { margin-bottom: 0; }
|
|
57
|
-
.payment-label { color: #6b7280; }
|
|
58
|
-
.payment-value { font-weight: 600; color: #111827; }
|
|
59
|
-
.button {
|
|
60
|
-
width: 100%;
|
|
61
|
-
padding: 0.75rem 1rem;
|
|
62
|
-
border-radius: 0.5rem;
|
|
63
|
-
font-weight: 600;
|
|
64
|
-
border: none;
|
|
65
|
-
cursor: pointer;
|
|
66
|
-
background-color: #0098EA;
|
|
67
|
-
color: white;
|
|
68
|
-
font-size: 1rem;
|
|
69
|
-
transition: background-color 0.15s;
|
|
70
|
-
}
|
|
71
|
-
.button:hover { background-color: #0088D4; }
|
|
72
|
-
.button:disabled {
|
|
73
|
-
background-color: #9ca3af;
|
|
74
|
-
cursor: not-allowed;
|
|
75
|
-
}
|
|
76
|
-
.ton-logo {
|
|
77
|
-
fill: #0098EA;
|
|
78
|
-
}
|
|
79
|
-
.status {
|
|
80
|
-
margin-top: 1rem;
|
|
81
|
-
font-size: 0.875rem;
|
|
82
|
-
color: #6b7280;
|
|
83
|
-
}
|
|
84
|
-
.error {
|
|
85
|
-
color: #dc2626;
|
|
86
|
-
background-color: #fef2f2;
|
|
87
|
-
padding: 0.75rem;
|
|
88
|
-
border-radius: 0.5rem;
|
|
89
|
-
margin-bottom: 1rem;
|
|
90
|
-
}
|
|
91
|
-
</style>
|
|
92
|
-
</head>
|
|
93
|
-
<body>
|
|
94
|
-
<div class="container">
|
|
95
|
-
<svg class="logo" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
96
|
-
<path d="M28 56C43.464 56 56 43.464 56 28C56 12.536 43.464 0 28 0C12.536 0 0 12.536 0 28C0 43.464 12.536 56 28 56Z" fill="#0098EA"/>
|
|
97
|
-
<path d="M37.5603 15.6277H18.4386C14.9228 15.6277 12.6944 19.4202 14.4632 22.4861L26.2644 42.9409C27.0345 44.2765 28.9644 44.2765 29.7345 42.9409L41.5765 22.4861C43.3045 19.4202 41.0761 15.6277 37.5603 15.6277ZM26.2211 36.5583L23.6856 31.0379L17.4565 19.7027C17.0579 18.9891 17.5607 18.0868 18.4386 18.0868H26.2211V36.5583ZM38.5765 19.6635L32.3474 31.0379L29.7711 36.5583V18.0868H37.5603C38.4382 18.0868 38.941 18.9891 38.5765 19.6635Z" fill="white"/>
|
|
98
|
-
</svg>
|
|
99
|
-
<h1 class="title">Payment Required</h1>
|
|
100
|
-
<p class="subtitle">This resource requires a TON payment to access.</p>
|
|
101
|
-
|
|
102
|
-
<div id="error-container"></div>
|
|
103
|
-
|
|
104
|
-
<div class="payment-details">
|
|
105
|
-
<div class="payment-row">
|
|
106
|
-
<span class="payment-label">Amount</span>
|
|
107
|
-
<span class="payment-value" id="amount">Loading...</span>
|
|
108
|
-
</div>
|
|
109
|
-
<div class="payment-row">
|
|
110
|
-
<span class="payment-label">Token</span>
|
|
111
|
-
<span class="payment-value">USDT</span>
|
|
112
|
-
</div>
|
|
113
|
-
<div class="payment-row">
|
|
114
|
-
<span class="payment-label">Network</span>
|
|
115
|
-
<span class="payment-value" id="network">TON</span>
|
|
116
|
-
</div>
|
|
117
|
-
</div>
|
|
118
|
-
|
|
119
|
-
<button class="button" id="connect-btn" onclick="connectWallet()">
|
|
120
|
-
Connect TON Wallet
|
|
121
|
-
</button>
|
|
122
|
-
|
|
123
|
-
<p class="status" id="status"></p>
|
|
124
|
-
</div>
|
|
125
|
-
|
|
126
|
-
<script>
|
|
127
|
-
// Initialize from window.t402 config
|
|
128
|
-
document.addEventListener('DOMContentLoaded', function() {
|
|
129
|
-
if (window.t402) {
|
|
130
|
-
const config = window.t402;
|
|
131
|
-
|
|
132
|
-
// Display amount
|
|
133
|
-
if (config.amount) {
|
|
134
|
-
document.getElementById('amount').textContent = '$' + config.amount.toFixed(2) + ' USDT';
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
// Display network
|
|
138
|
-
if (config.paymentRequirements && config.paymentRequirements[0]) {
|
|
139
|
-
const network = config.paymentRequirements[0].network;
|
|
140
|
-
document.getElementById('network').textContent =
|
|
141
|
-
network === 'ton:testnet' ? 'TON Testnet' : 'TON Mainnet';
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
// Display error if any
|
|
145
|
-
if (config.error) {
|
|
146
|
-
const errorContainer = document.getElementById('error-container');
|
|
147
|
-
errorContainer.innerHTML = '<div class="error">' + config.error + '</div>';
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
});
|
|
151
|
-
|
|
152
|
-
async function connectWallet() {
|
|
153
|
-
const btn = document.getElementById('connect-btn');
|
|
154
|
-
const status = document.getElementById('status');
|
|
155
|
-
|
|
156
|
-
btn.disabled = true;
|
|
157
|
-
btn.textContent = 'Connecting...';
|
|
158
|
-
status.textContent = '';
|
|
159
|
-
|
|
160
|
-
try {
|
|
161
|
-
// Check for TON wallet providers
|
|
162
|
-
if (typeof window.tonkeeper !== 'undefined') {
|
|
163
|
-
status.textContent = 'Tonkeeper detected. Please approve the connection.';
|
|
164
|
-
// Tonkeeper integration would go here
|
|
165
|
-
} else if (typeof window.ton !== 'undefined') {
|
|
166
|
-
status.textContent = 'TON wallet detected. Please approve the connection.';
|
|
167
|
-
// Generic TON wallet integration would go here
|
|
168
|
-
} else {
|
|
169
|
-
status.textContent = 'No TON wallet detected. Please install Tonkeeper or another TON wallet.';
|
|
170
|
-
btn.textContent = 'Install Wallet';
|
|
171
|
-
btn.onclick = function() {
|
|
172
|
-
window.open('https://tonkeeper.com/', '_blank');
|
|
173
|
-
};
|
|
174
|
-
btn.disabled = false;
|
|
175
|
-
return;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
// In a full implementation, this would:
|
|
179
|
-
// 1. Connect to the wallet
|
|
180
|
-
// 2. Build the Jetton transfer message
|
|
181
|
-
// 3. Sign the message
|
|
182
|
-
// 4. Create the payment payload
|
|
183
|
-
// 5. Retry the original request with the payment header
|
|
184
|
-
|
|
185
|
-
} catch (error) {
|
|
186
|
-
status.textContent = 'Error: ' + error.message;
|
|
187
|
-
btn.disabled = false;
|
|
188
|
-
btn.textContent = 'Connect TON Wallet';
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
</script>
|
|
192
|
-
</body>
|
|
193
|
-
</html>"""
|
|
2
|
+
TON_PAYWALL_TEMPLATE = "<!DOCTYPE html><html lang=\"en\"><head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>Payment Required</title><style>*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{line-height:1.5;-webkit-font-smoothing:antialiased}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit}p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}:root{--background-color: #f9fafb;--container-background-color: #ffffff;--text-color: #111827;--secondary-text-color: #4b5563;--muted-text-color: #6b7280;--border-color: #e5e7eb;--details-background-color: #f9fafb;--details-background-color-hover: #f3f4f6;--button-primary-color: #2563eb;--button-primary-hover-color: #1d4ed8;--button-secondary-color: #eef0f3;--button-secondary-hover-color: #e9ebee;--button-positive-color: #059669;--button-positive-hover-color: #047857;--button-error-color: #ef4444;--button-error-hover-color: #dc2626;--focus-ring-color: rgba(37, 99, 235, .4);--shadow-color: rgba(0, 0, 0, .1);--shadow-color-light: rgba(0, 0, 0, .06)}.dark{--background-color: #111827;--container-background-color: #1f2937;--text-color: #f9fafb;--secondary-text-color: #d1d5db;--muted-text-color: #9ca3af;--border-color: #374151;--details-background-color: #374151;--details-background-color-hover: #4b5563;--button-primary-color: #3b82f6;--button-primary-hover-color: #2563eb;--button-secondary-color: #374151;--button-secondary-hover-color: #4b5563;--button-positive-color: #10b981;--button-positive-hover-color: #059669;--button-error-color: #f87171;--button-error-hover-color: #ef4444;--focus-ring-color: rgba(59, 130, 246, .5);--shadow-color: rgba(0, 0, 0, .3);--shadow-color-light: rgba(0, 0, 0, .2)}body{min-height:100vh;background-color:var(--background-color);color:var(--text-color);font-family:Inter,system-ui,-apple-system,sans-serif}.container{max-width:32rem;margin:4rem auto;padding:1.5rem;background-color:var(--container-background-color);border-radius:.75rem;display:flex;flex-direction:column;align-items:center;text-align:center;box-shadow:0 4px 6px -1px var(--shadow-color),0 2px 4px -1px var(--shadow-color-light)}.header{display:flex;flex-direction:column;gap:1rem}.title{font-size:1.5rem;font-weight:700;color:var(--text-color);margin-bottom:.5rem}.subtitle{color:var(--secondary-text-color)}.instructions{font-size:.9rem;color:var(--secondary-text-color);font-style:italic}.instructions a{color:var(--button-primary-color);text-decoration:none}.instructions a:hover{text-decoration:underline}.content{display:flex;flex-direction:column;gap:1rem}.input{width:100%;padding:.75rem 1rem;border-radius:.5rem;border:1px solid var(--border-color);background-color:var(--container-background-color);color:var(--text-color);transition:border-color .15s,box-shadow .15s}.input:focus{outline:none;border-color:var(--button-primary-color);box-shadow:0 0 0 3px var(--focus-ring-color)}.button{width:100%;padding:.75rem 1rem;border-radius:.5rem;font-weight:600;border:none;cursor:pointer;transition:background-color .15s,transform .1s;min-height:44px}.button:focus-visible{outline:none;box-shadow:0 0 0 3px var(--focus-ring-color)}.button:active{transform:scale(.98)}.button:disabled{opacity:.6;cursor:not-allowed}.button-primary{background-color:var(--button-primary-color);color:#fff}.button-primary:hover:not(:disabled){background-color:var(--button-primary-hover-color)}.button-secondary{background-color:var(--button-secondary-color);color:var(--text-color)}.button-secondary:hover:not(:disabled){background-color:var(--button-secondary-hover-color)}.button-positive{background-color:var(--button-positive-color);color:#fff}.button-positive:hover:not(:disabled){background-color:var(--button-positive-hover-color)}.button-error{background-color:var(--button-error-color);color:#fff}.button-error:hover:not(:disabled){background-color:var(--button-error-hover-color)}.payment-details{padding:1rem;margin-bottom:1rem;background-color:var(--details-background-color);border-radius:.5rem}.payment-row{display:flex;justify-content:space-between;font-size:.875rem;margin-bottom:.5rem}.payment-row:last-child{margin-bottom:0}.payment-label{color:var(--text-color)}.payment-value{font-weight:500}.hidden{display:none}.status{text-align:center;font-size:.875rem;color:var(--secondary-text-color)}.status[role=status]{min-height:1.5rem}.cta-container{display:flex;flex-basis:50%;flex-direction:row;gap:.5rem;margin-top:1rem}.balance-button{background-color:transparent;border:none;cursor:pointer;min-height:1rem;min-width:150px;display:flex;justify-content:flex-end;align-items:center;color:var(--text-color)}.balance-button:focus-visible{outline:2px solid var(--button-primary-color);outline-offset:2px;border-radius:4px}@keyframes spin{to{transform:rotate(360deg)}}.spinner{display:inline-flex;align-items:center;justify-content:center}.spinner>div{animation:spin 1s linear infinite;border:2px solid var(--border-color);border-top-color:var(--button-primary-color);border-radius:50%;width:1rem;height:1rem}.network-selector{width:100%}.network-selector-header{margin-bottom:1.5rem}.network-selector-title{font-size:1.25rem;font-weight:700;color:var(--text-color);margin-bottom:.5rem}.network-selector-subtitle{font-size:.875rem;color:var(--secondary-text-color)}.network-options{display:flex;flex-direction:column;gap:.75rem}.network-option{display:flex;align-items:center;gap:1rem;width:100%;padding:1rem;background-color:var(--details-background-color);border:1px solid var(--border-color);border-radius:.75rem;cursor:pointer;transition:background-color .15s,border-color .15s,transform .1s;text-align:left}.network-option:hover{background-color:var(--details-background-color-hover);border-color:var(--button-primary-color)}.network-option:focus-visible{outline:none;box-shadow:0 0 0 3px var(--focus-ring-color);border-color:var(--button-primary-color)}.network-option:active{transform:scale(.98)}.network-option-icon{flex-shrink:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.network-option-icon svg{width:32px;height:32px}.network-option-info{flex-grow:1;display:flex;flex-direction:column;gap:.25rem}.network-option-name{font-weight:600;color:var(--text-color)}.network-option-amount{font-size:.875rem;color:var(--muted-text-color)}.network-option-arrow{flex-shrink:0;color:var(--muted-text-color)}.back-button{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;margin-bottom:1rem;background-color:transparent;border:none;color:var(--secondary-text-color);font-size:.875rem;cursor:pointer;transition:color .15s;align-self:flex-start}.back-button:hover{color:var(--text-color)}.back-button:focus-visible{outline:2px solid var(--button-primary-color);outline-offset:2px;border-radius:4px}.back-button svg{width:16px;height:16px}.w-full{width:100%}.gap-8{gap:2rem}@media (max-width: 640px){.container{margin:1rem;padding:1rem;border-radius:.5rem}.title{font-size:1.25rem}.cta-container{flex-direction:column}.network-option{padding:.75rem}.network-option-icon{width:32px;height:32px}.network-option-icon svg{width:24px;height:24px}}.payment-progress{display:flex;align-items:flex-start;justify-content:center;gap:0;width:100%;margin-bottom:1.5rem}.progress-step{display:flex;flex-direction:column;align-items:center;position:relative;flex:1;max-width:80px}.progress-step-indicator{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:600;transition:background-color .2s,border-color .2s,color .2s;position:relative;z-index:1}.progress-step.pending .progress-step-indicator{background-color:var(--details-background-color);border:2px solid var(--border-color);color:var(--muted-text-color)}.progress-step.current .progress-step-indicator,.progress-step.current.processing .progress-step-indicator{background-color:var(--button-primary-color);border:2px solid var(--button-primary-color);color:#fff}.progress-step.current.error .progress-step-indicator{background-color:var(--button-error-color);border:2px solid var(--button-error-color);color:#fff}.progress-step.completed .progress-step-indicator{background-color:var(--button-positive-color);border:2px solid var(--button-positive-color);color:#fff}.progress-step-number{line-height:1}.progress-step-label{font-size:.75rem;color:var(--muted-text-color);margin-top:.5rem;text-align:center;transition:color .2s}.progress-step.current .progress-step-label{color:var(--text-color);font-weight:500}.progress-step.completed .progress-step-label{color:var(--button-positive-color)}.progress-connector{position:absolute;top:16px;left:calc(50% + 16px);width:calc(100% - 32px);height:2px;background-color:var(--border-color);transition:background-color .2s}.progress-connector.completed{background-color:var(--button-positive-color)}@keyframes progress-spin{to{transform:rotate(360deg)}}.progress-spinner{animation:progress-spin 1s linear infinite}@media (max-width: 640px){.progress-step{max-width:60px}.progress-step-indicator{width:28px;height:28px;font-size:.7rem}.progress-step-label{font-size:.65rem}.progress-connector{top:14px;left:calc(50% + 14px);width:calc(100% - 28px)}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.qr-code-container{display:flex;flex-direction:column;align-items:center;gap:.75rem;padding:1rem;background-color:var(--container-background-color);border:1px solid var(--border-color);border-radius:.75rem;margin-bottom:1rem}.qr-code-canvas{border-radius:.5rem;background-color:var(--container-background-color)}.qr-code-label{font-size:.875rem;color:var(--secondary-text-color);text-align:center;max-width:200px;word-break:break-all}.qr-code-copy-button{display:inline-flex;align-items:center;justify-content:center;padding:.5rem 1rem;font-size:.875rem;min-height:36px;width:auto}@media (max-width: 640px){.qr-code-container{padding:.75rem}.qr-code-canvas{max-width:160px;max-height:160px}}.tx-status-container{width:100%;padding:1rem;background-color:var(--details-background-color);border:1px solid var(--border-color);border-radius:.75rem;margin-top:1rem}.tx-status-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.tx-status-label{font-size:.875rem;font-weight:500;color:var(--secondary-text-color)}.tx-status-badge{display:inline-flex;align-items:center;gap:.375rem;padding:.25rem .625rem;border-radius:9999px;font-size:.75rem;font-weight:500}.tx-status-pending{background-color:#3b82f61a;color:var(--button-primary-color)}.tx-status-success{background-color:#10b9811a;color:var(--button-positive-color)}.tx-status-error{background-color:#ef44441a;color:var(--button-error-color)}.tx-hash-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.tx-hash{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,monospace;font-size:.875rem;color:var(--text-color);background-color:var(--container-background-color);padding:.375rem .625rem;border-radius:.375rem;border:1px solid var(--border-color)}.tx-hash-actions{display:flex;gap:.25rem}.tx-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background-color:transparent;border:1px solid var(--border-color);border-radius:.375rem;color:var(--secondary-text-color);cursor:pointer;transition:background-color .15s,border-color .15s,color .15s}.tx-action-button:hover{background-color:var(--details-background-color-hover);border-color:var(--button-primary-color);color:var(--button-primary-color)}.tx-action-button:focus-visible{outline:none;box-shadow:0 0 0 3px var(--focus-ring-color);border-color:var(--button-primary-color)}.tx-confirmations-bar{height:4px;background-color:var(--border-color);border-radius:2px;margin-top:.75rem;overflow:hidden}.tx-confirmations-progress{height:100%;background-color:var(--button-primary-color);border-radius:2px;transition:width .3s ease-out}@keyframes tx-spin{to{transform:rotate(360deg)}}.tx-status-spinner{animation:tx-spin 1s linear infinite}.dark .tx-status-pending{background-color:#3b82f626}.dark .tx-status-success{background-color:#10b98126}.dark .tx-status-error{background-color:#f8717126}@media (max-width: 640px){.tx-status-container{padding:.75rem}.tx-status-header{flex-direction:column;align-items:flex-start;gap:.5rem}.tx-hash-row{flex-direction:column;align-items:stretch;gap:.5rem}.tx-hash{font-size:.8rem;text-align:center}.tx-hash-actions{justify-content:center}}\n</style></head>\n <body>\n <div id=\"root\"></div>\n \n \n <script type=\"module\">\"use strict\";(()=>{var uU=Object.create;var f6=Object.defineProperty;var dU=Object.getOwnPropertyDescriptor;var fU=Object.getOwnPropertyNames;var hU=Object.getPrototypeOf,gU=Object.prototype.hasOwnProperty;var c0=(e=>typeof require<\"u\"?require:typeof Proxy<\"u\"?new Proxy(e,{get:(t,n)=>(typeof require<\"u\"?require:t)[n]}):e)(function(e){if(typeof require<\"u\")return require.apply(this,arguments);throw Error('Dynamic require of \"'+e+'\" is not supported')});var pU=(e,t)=>()=>(e&&(t=e(e=0)),t);var V=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var mU=(e,t,n,r)=>{if(t&&typeof t==\"object\"||typeof t==\"function\")for(let i of fU(t))!gU.call(e,i)&&i!==n&&f6(e,i,{get:()=>t[i],enumerable:!(r=dU(t,i))||r.enumerable});return e};var yn=(e,t,n)=>(n=e!=null?uU(hU(e)):{},mU(t||!e||!e.__esModule?f6(n,\"default\",{value:e,enumerable:!0}):n,e));var p6=V(u0=>{\"use strict\";b();u0.byteLength=bU;u0.toByteArray=wU;u0.fromByteArray=SU;var aa=[],xi=[],yU=typeof Uint8Array<\"u\"?Uint8Array:Array,uy=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\";for(Js=0,h6=uy.length;Js<h6;++Js)aa[Js]=uy[Js],xi[uy.charCodeAt(Js)]=Js;var Js,h6;xi[45]=62;xi[95]=63;function g6(e){var t=e.length;if(t%4>0)throw new Error(\"Invalid string. Length must be a multiple of 4\");var n=e.indexOf(\"=\");n===-1&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function bU(e){var t=g6(e),n=t[0],r=t[1];return(n+r)*3/4-r}function vU(e,t,n){return(t+n)*3/4-n}function wU(e){var t,n=g6(e),r=n[0],i=n[1],a=new yU(vU(e,r,i)),o=0,s=i>0?r-4:r,l;for(l=0;l<s;l+=4)t=xi[e.charCodeAt(l)]<<18|xi[e.charCodeAt(l+1)]<<12|xi[e.charCodeAt(l+2)]<<6|xi[e.charCodeAt(l+3)],a[o++]=t>>16&255,a[o++]=t>>8&255,a[o++]=t&255;return i===2&&(t=xi[e.charCodeAt(l)]<<2|xi[e.charCodeAt(l+1)]>>4,a[o++]=t&255),i===1&&(t=xi[e.charCodeAt(l)]<<10|xi[e.charCodeAt(l+1)]<<4|xi[e.charCodeAt(l+2)]>>2,a[o++]=t>>8&255,a[o++]=t&255),a}function xU(e){return aa[e>>18&63]+aa[e>>12&63]+aa[e>>6&63]+aa[e&63]}function CU(e,t,n){for(var r,i=[],a=t;a<n;a+=3)r=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(e[a+2]&255),i.push(xU(r));return i.join(\"\")}function SU(e){for(var t,n=e.length,r=n%3,i=[],a=16383,o=0,s=n-r;o<s;o+=a)i.push(CU(e,o,o+a>s?s:o+a));return r===1?(t=e[n-1],i.push(aa[t>>2]+aa[t<<4&63]+\"==\")):r===2&&(t=(e[n-2]<<8)+e[n-1],i.push(aa[t>>10]+aa[t>>4&63]+aa[t<<2&63]+\"=\")),i.join(\"\")}});var m6=V(dy=>{b();dy.read=function(e,t,n,r,i){var a,o,s=i*8-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?i-1:0,h=n?-1:1,g=e[t+d];for(d+=h,a=g&(1<<-u)-1,g>>=-u,u+=s;u>0;a=a*256+e[t+d],d+=h,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=r;u>0;o=o*256+e[t+d],d+=h,u-=8);if(a===0)a=1-c;else{if(a===l)return o?NaN:(g?-1:1)*(1/0);o=o+Math.pow(2,r),a=a-c}return(g?-1:1)*o*Math.pow(2,a-r)};dy.write=function(e,t,n,r,i,a){var o,s,l,c=a*8-i-1,u=(1<<c)-1,d=u>>1,h=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=r?0:a-1,y=r?1:-1,E=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),o+d>=1?t+=h/l:t+=h*Math.pow(2,1-d),t*l>=2&&(o++,l/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*l-1)*Math.pow(2,i),o=o+d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;e[n+g]=s&255,g+=y,s/=256,i-=8);for(o=o<<i|s,c+=i;c>0;e[n+g]=o&255,g+=y,o/=256,c-=8);e[n+g-y]|=E*128}});var O6=V(lc=>{\"use strict\";b();var fy=p6(),oc=m6(),y6=typeof Symbol==\"function\"&&typeof Symbol.for==\"function\"?Symbol.for(\"nodejs.util.inspect.custom\"):null;lc.Buffer=ae;lc.SlowBuffer=BU;lc.INSPECT_MAX_BYTES=50;var d0=2147483647;lc.kMaxLength=d0;ae.TYPED_ARRAY_SUPPORT=_U();!ae.TYPED_ARRAY_SUPPORT&&typeof console<\"u\"&&typeof console.error==\"function\"&&console.error(\"This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.\");function _U(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch{return!1}}Object.defineProperty(ae.prototype,\"parent\",{enumerable:!0,get:function(){if(ae.isBuffer(this))return this.buffer}});Object.defineProperty(ae.prototype,\"offset\",{enumerable:!0,get:function(){if(ae.isBuffer(this))return this.byteOffset}});function Fa(e){if(e>d0)throw new RangeError('The value \"'+e+'\" is invalid for option \"size\"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,ae.prototype),t}function ae(e,t,n){if(typeof e==\"number\"){if(typeof t==\"string\")throw new TypeError('The \"string\" argument must be of type string. Received type number');return my(e)}return x6(e,t,n)}ae.poolSize=8192;function x6(e,t,n){if(typeof e==\"string\")return EU(e,t);if(ArrayBuffer.isView(e))return AU(e);if(e==null)throw new TypeError(\"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type \"+typeof e);if(oa(e,ArrayBuffer)||e&&oa(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<\"u\"&&(oa(e,SharedArrayBuffer)||e&&oa(e.buffer,SharedArrayBuffer)))return gy(e,t,n);if(typeof e==\"number\")throw new TypeError('The \"value\" argument must not be of type number. Received type number');let r=e.valueOf&&e.valueOf();if(r!=null&&r!==e)return ae.from(r,t,n);let i=kU(e);if(i)return i;if(typeof Symbol<\"u\"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]==\"function\")return ae.from(e[Symbol.toPrimitive](\"string\"),t,n);throw new TypeError(\"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type \"+typeof e)}ae.from=function(e,t,n){return x6(e,t,n)};Object.setPrototypeOf(ae.prototype,Uint8Array.prototype);Object.setPrototypeOf(ae,Uint8Array);function C6(e){if(typeof e!=\"number\")throw new TypeError('\"size\" argument must be of type number');if(e<0)throw new RangeError('The value \"'+e+'\" is invalid for option \"size\"')}function TU(e,t,n){return C6(e),e<=0?Fa(e):t!==void 0?typeof n==\"string\"?Fa(e).fill(t,n):Fa(e).fill(t):Fa(e)}ae.alloc=function(e,t,n){return TU(e,t,n)};function my(e){return C6(e),Fa(e<0?0:yy(e)|0)}ae.allocUnsafe=function(e){return my(e)};ae.allocUnsafeSlow=function(e){return my(e)};function EU(e,t){if((typeof t!=\"string\"||t===\"\")&&(t=\"utf8\"),!ae.isEncoding(t))throw new TypeError(\"Unknown encoding: \"+t);let n=S6(e,t)|0,r=Fa(n),i=r.write(e,t);return i!==n&&(r=r.slice(0,i)),r}function hy(e){let t=e.length<0?0:yy(e.length)|0,n=Fa(t);for(let r=0;r<t;r+=1)n[r]=e[r]&255;return n}function AU(e){if(oa(e,Uint8Array)){let t=new Uint8Array(e);return gy(t.buffer,t.byteOffset,t.byteLength)}return hy(e)}function gy(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('\"offset\" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('\"length\" is outside of buffer bounds');let r;return t===void 0&&n===void 0?r=new Uint8Array(e):n===void 0?r=new Uint8Array(e,t):r=new Uint8Array(e,t,n),Object.setPrototypeOf(r,ae.prototype),r}function kU(e){if(ae.isBuffer(e)){let t=yy(e.length)|0,n=Fa(t);return n.length===0||e.copy(n,0,0,t),n}if(e.length!==void 0)return typeof e.length!=\"number\"||vy(e.length)?Fa(0):hy(e);if(e.type===\"Buffer\"&&Array.isArray(e.data))return hy(e.data)}function yy(e){if(e>=d0)throw new RangeError(\"Attempt to allocate Buffer larger than maximum size: 0x\"+d0.toString(16)+\" bytes\");return e|0}function BU(e){return+e!=e&&(e=0),ae.alloc(+e)}ae.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==ae.prototype};ae.compare=function(t,n){if(oa(t,Uint8Array)&&(t=ae.from(t,t.offset,t.byteLength)),oa(n,Uint8Array)&&(n=ae.from(n,n.offset,n.byteLength)),!ae.isBuffer(t)||!ae.isBuffer(n))throw new TypeError('The \"buf1\", \"buf2\" arguments must be one of type Buffer or Uint8Array');if(t===n)return 0;let r=t.length,i=n.length;for(let a=0,o=Math.min(r,i);a<o;++a)if(t[a]!==n[a]){r=t[a],i=n[a];break}return r<i?-1:i<r?1:0};ae.isEncoding=function(t){switch(String(t).toLowerCase()){case\"hex\":case\"utf8\":case\"utf-8\":case\"ascii\":case\"latin1\":case\"binary\":case\"base64\":case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return!0;default:return!1}};ae.concat=function(t,n){if(!Array.isArray(t))throw new TypeError('\"list\" argument must be an Array of Buffers');if(t.length===0)return ae.alloc(0);let r;if(n===void 0)for(n=0,r=0;r<t.length;++r)n+=t[r].length;let i=ae.allocUnsafe(n),a=0;for(r=0;r<t.length;++r){let o=t[r];if(oa(o,Uint8Array))a+o.length>i.length?(ae.isBuffer(o)||(o=ae.from(o)),o.copy(i,a)):Uint8Array.prototype.set.call(i,o,a);else if(ae.isBuffer(o))o.copy(i,a);else throw new TypeError('\"list\" argument must be an Array of Buffers');a+=o.length}return i};function S6(e,t){if(ae.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||oa(e,ArrayBuffer))return e.byteLength;if(typeof e!=\"string\")throw new TypeError('The \"string\" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let n=e.length,r=arguments.length>2&&arguments[2]===!0;if(!r&&n===0)return 0;let i=!1;for(;;)switch(t){case\"ascii\":case\"latin1\":case\"binary\":return n;case\"utf8\":case\"utf-8\":return py(e).length;case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return n*2;case\"hex\":return n>>>1;case\"base64\":return U6(e).length;default:if(i)return r?-1:py(e).length;t=(\"\"+t).toLowerCase(),i=!0}}ae.byteLength=S6;function MU(e,t,n){let r=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,t>>>=0,n<=t))return\"\";for(e||(e=\"utf8\");;)switch(e){case\"hex\":return jU(this,t,n);case\"utf8\":case\"utf-8\":return T6(this,t,n);case\"ascii\":return DU(this,t,n);case\"latin1\":case\"binary\":return LU(this,t,n);case\"base64\":return PU(this,t,n);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return qU(this,t,n);default:if(r)throw new TypeError(\"Unknown encoding: \"+e);e=(e+\"\").toLowerCase(),r=!0}}ae.prototype._isBuffer=!0;function el(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}ae.prototype.swap16=function(){let t=this.length;if(t%2!==0)throw new RangeError(\"Buffer size must be a multiple of 16-bits\");for(let n=0;n<t;n+=2)el(this,n,n+1);return this};ae.prototype.swap32=function(){let t=this.length;if(t%4!==0)throw new RangeError(\"Buffer size must be a multiple of 32-bits\");for(let n=0;n<t;n+=4)el(this,n,n+3),el(this,n+1,n+2);return this};ae.prototype.swap64=function(){let t=this.length;if(t%8!==0)throw new RangeError(\"Buffer size must be a multiple of 64-bits\");for(let n=0;n<t;n+=8)el(this,n,n+7),el(this,n+1,n+6),el(this,n+2,n+5),el(this,n+3,n+4);return this};ae.prototype.toString=function(){let t=this.length;return t===0?\"\":arguments.length===0?T6(this,0,t):MU.apply(this,arguments)};ae.prototype.toLocaleString=ae.prototype.toString;ae.prototype.equals=function(t){if(!ae.isBuffer(t))throw new TypeError(\"Argument must be a Buffer\");return this===t?!0:ae.compare(this,t)===0};ae.prototype.inspect=function(){let t=\"\",n=lc.INSPECT_MAX_BYTES;return t=this.toString(\"hex\",0,n).replace(/(.{2})/g,\"$1 \").trim(),this.length>n&&(t+=\" ... \"),\"<Buffer \"+t+\">\"};y6&&(ae.prototype[y6]=ae.prototype.inspect);ae.prototype.compare=function(t,n,r,i,a){if(oa(t,Uint8Array)&&(t=ae.from(t,t.offset,t.byteLength)),!ae.isBuffer(t))throw new TypeError('The \"target\" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(n===void 0&&(n=0),r===void 0&&(r=t?t.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),n<0||r>t.length||i<0||a>this.length)throw new RangeError(\"out of range index\");if(i>=a&&n>=r)return 0;if(i>=a)return-1;if(n>=r)return 1;if(n>>>=0,r>>>=0,i>>>=0,a>>>=0,this===t)return 0;let o=a-i,s=r-n,l=Math.min(o,s),c=this.slice(i,a),u=t.slice(n,r);for(let d=0;d<l;++d)if(c[d]!==u[d]){o=c[d],s=u[d];break}return o<s?-1:s<o?1:0};function _6(e,t,n,r,i){if(e.length===0)return-1;if(typeof n==\"string\"?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,vy(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0)if(i)n=0;else return-1;if(typeof t==\"string\"&&(t=ae.from(t,r)),ae.isBuffer(t))return t.length===0?-1:b6(e,t,n,r,i);if(typeof t==\"number\")return t=t&255,typeof Uint8Array.prototype.indexOf==\"function\"?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b6(e,[t],n,r,i);throw new TypeError(\"val must be string, number or Buffer\")}function b6(e,t,n,r,i){let a=1,o=e.length,s=t.length;if(r!==void 0&&(r=String(r).toLowerCase(),r===\"ucs2\"||r===\"ucs-2\"||r===\"utf16le\"||r===\"utf-16le\")){if(e.length<2||t.length<2)return-1;a=2,o/=2,s/=2,n/=2}function l(u,d){return a===1?u[d]:u.readUInt16BE(d*a)}let c;if(i){let u=-1;for(c=n;c<o;c++)if(l(e,c)===l(t,u===-1?0:c-u)){if(u===-1&&(u=c),c-u+1===s)return u*a}else u!==-1&&(c-=c-u),u=-1}else for(n+s>o&&(n=o-s),c=n;c>=0;c--){let u=!0;for(let d=0;d<s;d++)if(l(e,c+d)!==l(t,d)){u=!1;break}if(u)return c}return-1}ae.prototype.includes=function(t,n,r){return this.indexOf(t,n,r)!==-1};ae.prototype.indexOf=function(t,n,r){return _6(this,t,n,r,!0)};ae.prototype.lastIndexOf=function(t,n,r){return _6(this,t,n,r,!1)};function RU(e,t,n,r){n=Number(n)||0;let i=e.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;let a=t.length;r>a/2&&(r=a/2);let o;for(o=0;o<r;++o){let s=parseInt(t.substr(o*2,2),16);if(vy(s))return o;e[n+o]=s}return o}function UU(e,t,n,r){return f0(py(t,e.length-n),e,n,r)}function OU(e,t,n,r){return f0(FU(t),e,n,r)}function IU(e,t,n,r){return f0(U6(t),e,n,r)}function NU(e,t,n,r){return f0(KU(t,e.length-n),e,n,r)}ae.prototype.write=function(t,n,r,i){if(n===void 0)i=\"utf8\",r=this.length,n=0;else if(r===void 0&&typeof n==\"string\")i=n,r=this.length,n=0;else if(isFinite(n))n=n>>>0,isFinite(r)?(r=r>>>0,i===void 0&&(i=\"utf8\")):(i=r,r=void 0);else throw new Error(\"Buffer.write(string, encoding, offset[, length]) is no longer supported\");let a=this.length-n;if((r===void 0||r>a)&&(r=a),t.length>0&&(r<0||n<0)||n>this.length)throw new RangeError(\"Attempt to write outside buffer bounds\");i||(i=\"utf8\");let o=!1;for(;;)switch(i){case\"hex\":return RU(this,t,n,r);case\"utf8\":case\"utf-8\":return UU(this,t,n,r);case\"ascii\":case\"latin1\":case\"binary\":return OU(this,t,n,r);case\"base64\":return IU(this,t,n,r);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return NU(this,t,n,r);default:if(o)throw new TypeError(\"Unknown encoding: \"+i);i=(\"\"+i).toLowerCase(),o=!0}};ae.prototype.toJSON=function(){return{type:\"Buffer\",data:Array.prototype.slice.call(this._arr||this,0)}};function PU(e,t,n){return t===0&&n===e.length?fy.fromByteArray(e):fy.fromByteArray(e.slice(t,n))}function T6(e,t,n){n=Math.min(e.length,n);let r=[],i=t;for(;i<n;){let a=e[i],o=null,s=a>239?4:a>223?3:a>191?2:1;if(i+s<=n){let l,c,u,d;switch(s){case 1:a<128&&(o=a);break;case 2:l=e[i+1],(l&192)===128&&(d=(a&31)<<6|l&63,d>127&&(o=d));break;case 3:l=e[i+1],c=e[i+2],(l&192)===128&&(c&192)===128&&(d=(a&15)<<12|(l&63)<<6|c&63,d>2047&&(d<55296||d>57343)&&(o=d));break;case 4:l=e[i+1],c=e[i+2],u=e[i+3],(l&192)===128&&(c&192)===128&&(u&192)===128&&(d=(a&15)<<18|(l&63)<<12|(c&63)<<6|u&63,d>65535&&d<1114112&&(o=d))}}o===null?(o=65533,s=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|o&1023),r.push(o),i+=s}return zU(r)}var v6=4096;function zU(e){let t=e.length;if(t<=v6)return String.fromCharCode.apply(String,e);let n=\"\",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=v6));return n}function DU(e,t,n){let r=\"\";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]&127);return r}function LU(e,t,n){let r=\"\";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function jU(e,t,n){let r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i=\"\";for(let a=t;a<n;++a)i+=$U[e[a]];return i}function qU(e,t,n){let r=e.slice(t,n),i=\"\";for(let a=0;a<r.length-1;a+=2)i+=String.fromCharCode(r[a]+r[a+1]*256);return i}ae.prototype.slice=function(t,n){let r=this.length;t=~~t,n=n===void 0?r:~~n,t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),n<0?(n+=r,n<0&&(n=0)):n>r&&(n=r),n<t&&(n=t);let i=this.subarray(t,n);return Object.setPrototypeOf(i,ae.prototype),i};function rr(e,t,n){if(e%1!==0||e<0)throw new RangeError(\"offset is not uint\");if(e+t>n)throw new RangeError(\"Trying to access beyond buffer length\")}ae.prototype.readUintLE=ae.prototype.readUIntLE=function(t,n,r){t=t>>>0,n=n>>>0,r||rr(t,n,this.length);let i=this[t],a=1,o=0;for(;++o<n&&(a*=256);)i+=this[t+o]*a;return i};ae.prototype.readUintBE=ae.prototype.readUIntBE=function(t,n,r){t=t>>>0,n=n>>>0,r||rr(t,n,this.length);let i=this[t+--n],a=1;for(;n>0&&(a*=256);)i+=this[t+--n]*a;return i};ae.prototype.readUint8=ae.prototype.readUInt8=function(t,n){return t=t>>>0,n||rr(t,1,this.length),this[t]};ae.prototype.readUint16LE=ae.prototype.readUInt16LE=function(t,n){return t=t>>>0,n||rr(t,2,this.length),this[t]|this[t+1]<<8};ae.prototype.readUint16BE=ae.prototype.readUInt16BE=function(t,n){return t=t>>>0,n||rr(t,2,this.length),this[t]<<8|this[t+1]};ae.prototype.readUint32LE=ae.prototype.readUInt32LE=function(t,n){return t=t>>>0,n||rr(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};ae.prototype.readUint32BE=ae.prototype.readUInt32BE=function(t,n){return t=t>>>0,n||rr(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};ae.prototype.readBigUInt64LE=jo(function(t){t=t>>>0,sc(t,\"offset\");let n=this[t],r=this[t+7];(n===void 0||r===void 0)&&jd(t,this.length-8);let i=n+this[++t]*2**8+this[++t]*2**16+this[++t]*2**24,a=this[++t]+this[++t]*2**8+this[++t]*2**16+r*2**24;return BigInt(i)+(BigInt(a)<<BigInt(32))});ae.prototype.readBigUInt64BE=jo(function(t){t=t>>>0,sc(t,\"offset\");let n=this[t],r=this[t+7];(n===void 0||r===void 0)&&jd(t,this.length-8);let i=n*2**24+this[++t]*2**16+this[++t]*2**8+this[++t],a=this[++t]*2**24+this[++t]*2**16+this[++t]*2**8+r;return(BigInt(i)<<BigInt(32))+BigInt(a)});ae.prototype.readIntLE=function(t,n,r){t=t>>>0,n=n>>>0,r||rr(t,n,this.length);let i=this[t],a=1,o=0;for(;++o<n&&(a*=256);)i+=this[t+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*n)),i};ae.prototype.readIntBE=function(t,n,r){t=t>>>0,n=n>>>0,r||rr(t,n,this.length);let i=n,a=1,o=this[t+--i];for(;i>0&&(a*=256);)o+=this[t+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*n)),o};ae.prototype.readInt8=function(t,n){return t=t>>>0,n||rr(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};ae.prototype.readInt16LE=function(t,n){t=t>>>0,n||rr(t,2,this.length);let r=this[t]|this[t+1]<<8;return r&32768?r|4294901760:r};ae.prototype.readInt16BE=function(t,n){t=t>>>0,n||rr(t,2,this.length);let r=this[t+1]|this[t]<<8;return r&32768?r|4294901760:r};ae.prototype.readInt32LE=function(t,n){return t=t>>>0,n||rr(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};ae.prototype.readInt32BE=function(t,n){return t=t>>>0,n||rr(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};ae.prototype.readBigInt64LE=jo(function(t){t=t>>>0,sc(t,\"offset\");let n=this[t],r=this[t+7];(n===void 0||r===void 0)&&jd(t,this.length-8);let i=this[t+4]+this[t+5]*2**8+this[t+6]*2**16+(r<<24);return(BigInt(i)<<BigInt(32))+BigInt(n+this[++t]*2**8+this[++t]*2**16+this[++t]*2**24)});ae.prototype.readBigInt64BE=jo(function(t){t=t>>>0,sc(t,\"offset\");let n=this[t],r=this[t+7];(n===void 0||r===void 0)&&jd(t,this.length-8);let i=(n<<24)+this[++t]*2**16+this[++t]*2**8+this[++t];return(BigInt(i)<<BigInt(32))+BigInt(this[++t]*2**24+this[++t]*2**16+this[++t]*2**8+r)});ae.prototype.readFloatLE=function(t,n){return t=t>>>0,n||rr(t,4,this.length),oc.read(this,t,!0,23,4)};ae.prototype.readFloatBE=function(t,n){return t=t>>>0,n||rr(t,4,this.length),oc.read(this,t,!1,23,4)};ae.prototype.readDoubleLE=function(t,n){return t=t>>>0,n||rr(t,8,this.length),oc.read(this,t,!0,52,8)};ae.prototype.readDoubleBE=function(t,n){return t=t>>>0,n||rr(t,8,this.length),oc.read(this,t,!1,52,8)};function Lr(e,t,n,r,i,a){if(!ae.isBuffer(e))throw new TypeError('\"buffer\" argument must be a Buffer instance');if(t>i||t<a)throw new RangeError('\"value\" argument is out of bounds');if(n+r>e.length)throw new RangeError(\"Index out of range\")}ae.prototype.writeUintLE=ae.prototype.writeUIntLE=function(t,n,r,i){if(t=+t,n=n>>>0,r=r>>>0,!i){let s=Math.pow(2,8*r)-1;Lr(this,t,n,r,s,0)}let a=1,o=0;for(this[n]=t&255;++o<r&&(a*=256);)this[n+o]=t/a&255;return n+r};ae.prototype.writeUintBE=ae.prototype.writeUIntBE=function(t,n,r,i){if(t=+t,n=n>>>0,r=r>>>0,!i){let s=Math.pow(2,8*r)-1;Lr(this,t,n,r,s,0)}let a=r-1,o=1;for(this[n+a]=t&255;--a>=0&&(o*=256);)this[n+a]=t/o&255;return n+r};ae.prototype.writeUint8=ae.prototype.writeUInt8=function(t,n,r){return t=+t,n=n>>>0,r||Lr(this,t,n,1,255,0),this[n]=t&255,n+1};ae.prototype.writeUint16LE=ae.prototype.writeUInt16LE=function(t,n,r){return t=+t,n=n>>>0,r||Lr(this,t,n,2,65535,0),this[n]=t&255,this[n+1]=t>>>8,n+2};ae.prototype.writeUint16BE=ae.prototype.writeUInt16BE=function(t,n,r){return t=+t,n=n>>>0,r||Lr(this,t,n,2,65535,0),this[n]=t>>>8,this[n+1]=t&255,n+2};ae.prototype.writeUint32LE=ae.prototype.writeUInt32LE=function(t,n,r){return t=+t,n=n>>>0,r||Lr(this,t,n,4,4294967295,0),this[n+3]=t>>>24,this[n+2]=t>>>16,this[n+1]=t>>>8,this[n]=t&255,n+4};ae.prototype.writeUint32BE=ae.prototype.writeUInt32BE=function(t,n,r){return t=+t,n=n>>>0,r||Lr(this,t,n,4,4294967295,0),this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=t&255,n+4};function E6(e,t,n,r,i){R6(t,r,i,e,n,7);let a=Number(t&BigInt(4294967295));e[n++]=a,a=a>>8,e[n++]=a,a=a>>8,e[n++]=a,a=a>>8,e[n++]=a;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=o,o=o>>8,e[n++]=o,o=o>>8,e[n++]=o,o=o>>8,e[n++]=o,n}function A6(e,t,n,r,i){R6(t,r,i,e,n,7);let a=Number(t&BigInt(4294967295));e[n+7]=a,a=a>>8,e[n+6]=a,a=a>>8,e[n+5]=a,a=a>>8,e[n+4]=a;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=o,o=o>>8,e[n+2]=o,o=o>>8,e[n+1]=o,o=o>>8,e[n]=o,n+8}ae.prototype.writeBigUInt64LE=jo(function(t,n=0){return E6(this,t,n,BigInt(0),BigInt(\"0xffffffffffffffff\"))});ae.prototype.writeBigUInt64BE=jo(function(t,n=0){return A6(this,t,n,BigInt(0),BigInt(\"0xffffffffffffffff\"))});ae.prototype.writeIntLE=function(t,n,r,i){if(t=+t,n=n>>>0,!i){let l=Math.pow(2,8*r-1);Lr(this,t,n,r,l-1,-l)}let a=0,o=1,s=0;for(this[n]=t&255;++a<r&&(o*=256);)t<0&&s===0&&this[n+a-1]!==0&&(s=1),this[n+a]=(t/o>>0)-s&255;return n+r};ae.prototype.writeIntBE=function(t,n,r,i){if(t=+t,n=n>>>0,!i){let l=Math.pow(2,8*r-1);Lr(this,t,n,r,l-1,-l)}let a=r-1,o=1,s=0;for(this[n+a]=t&255;--a>=0&&(o*=256);)t<0&&s===0&&this[n+a+1]!==0&&(s=1),this[n+a]=(t/o>>0)-s&255;return n+r};ae.prototype.writeInt8=function(t,n,r){return t=+t,n=n>>>0,r||Lr(this,t,n,1,127,-128),t<0&&(t=255+t+1),this[n]=t&255,n+1};ae.prototype.writeInt16LE=function(t,n,r){return t=+t,n=n>>>0,r||Lr(this,t,n,2,32767,-32768),this[n]=t&255,this[n+1]=t>>>8,n+2};ae.prototype.writeInt16BE=function(t,n,r){return t=+t,n=n>>>0,r||Lr(this,t,n,2,32767,-32768),this[n]=t>>>8,this[n+1]=t&255,n+2};ae.prototype.writeInt32LE=function(t,n,r){return t=+t,n=n>>>0,r||Lr(this,t,n,4,2147483647,-2147483648),this[n]=t&255,this[n+1]=t>>>8,this[n+2]=t>>>16,this[n+3]=t>>>24,n+4};ae.prototype.writeInt32BE=function(t,n,r){return t=+t,n=n>>>0,r||Lr(this,t,n,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=t&255,n+4};ae.prototype.writeBigInt64LE=jo(function(t,n=0){return E6(this,t,n,-BigInt(\"0x8000000000000000\"),BigInt(\"0x7fffffffffffffff\"))});ae.prototype.writeBigInt64BE=jo(function(t,n=0){return A6(this,t,n,-BigInt(\"0x8000000000000000\"),BigInt(\"0x7fffffffffffffff\"))});function k6(e,t,n,r,i,a){if(n+r>e.length)throw new RangeError(\"Index out of range\");if(n<0)throw new RangeError(\"Index out of range\")}function B6(e,t,n,r,i){return t=+t,n=n>>>0,i||k6(e,t,n,4,34028234663852886e22,-34028234663852886e22),oc.write(e,t,n,r,23,4),n+4}ae.prototype.writeFloatLE=function(t,n,r){return B6(this,t,n,!0,r)};ae.prototype.writeFloatBE=function(t,n,r){return B6(this,t,n,!1,r)};function M6(e,t,n,r,i){return t=+t,n=n>>>0,i||k6(e,t,n,8,17976931348623157e292,-17976931348623157e292),oc.write(e,t,n,r,52,8),n+8}ae.prototype.writeDoubleLE=function(t,n,r){return M6(this,t,n,!0,r)};ae.prototype.writeDoubleBE=function(t,n,r){return M6(this,t,n,!1,r)};ae.prototype.copy=function(t,n,r,i){if(!ae.isBuffer(t))throw new TypeError(\"argument should be a Buffer\");if(r||(r=0),!i&&i!==0&&(i=this.length),n>=t.length&&(n=t.length),n||(n=0),i>0&&i<r&&(i=r),i===r||t.length===0||this.length===0)return 0;if(n<0)throw new RangeError(\"targetStart out of bounds\");if(r<0||r>=this.length)throw new RangeError(\"Index out of range\");if(i<0)throw new RangeError(\"sourceEnd out of bounds\");i>this.length&&(i=this.length),t.length-n<i-r&&(i=t.length-n+r);let a=i-r;return this===t&&typeof Uint8Array.prototype.copyWithin==\"function\"?this.copyWithin(n,r,i):Uint8Array.prototype.set.call(t,this.subarray(r,i),n),a};ae.prototype.fill=function(t,n,r,i){if(typeof t==\"string\"){if(typeof n==\"string\"?(i=n,n=0,r=this.length):typeof r==\"string\"&&(i=r,r=this.length),i!==void 0&&typeof i!=\"string\")throw new TypeError(\"encoding must be a string\");if(typeof i==\"string\"&&!ae.isEncoding(i))throw new TypeError(\"Unknown encoding: \"+i);if(t.length===1){let o=t.charCodeAt(0);(i===\"utf8\"&&o<128||i===\"latin1\")&&(t=o)}}else typeof t==\"number\"?t=t&255:typeof t==\"boolean\"&&(t=Number(t));if(n<0||this.length<n||this.length<r)throw new RangeError(\"Out of range index\");if(r<=n)return this;n=n>>>0,r=r===void 0?this.length:r>>>0,t||(t=0);let a;if(typeof t==\"number\")for(a=n;a<r;++a)this[a]=t;else{let o=ae.isBuffer(t)?t:ae.from(t,i),s=o.length;if(s===0)throw new TypeError('The value \"'+t+'\" is invalid for argument \"value\"');for(a=0;a<r-n;++a)this[a+n]=o[a%s]}return this};var ac={};function by(e,t,n){ac[e]=class extends n{constructor(){super(),Object.defineProperty(this,\"message\",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(i){Object.defineProperty(this,\"code\",{configurable:!0,enumerable:!0,value:i,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}by(\"ERR_BUFFER_OUT_OF_BOUNDS\",function(e){return e?`${e} is outside of buffer bounds`:\"Attempt to access memory outside buffer bounds\"},RangeError);by(\"ERR_INVALID_ARG_TYPE\",function(e,t){return`The \"${e}\" argument must be of type number. Received type ${typeof t}`},TypeError);by(\"ERR_OUT_OF_RANGE\",function(e,t,n){let r=`The value of \"${e}\" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>2**32?i=w6(String(n)):typeof n==\"bigint\"&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=w6(i)),i+=\"n\"),r+=` It must be ${t}. Received ${i}`,r},RangeError);function w6(e){let t=\"\",n=e.length,r=e[0]===\"-\"?1:0;for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function HU(e,t,n){sc(t,\"offset\"),(e[t]===void 0||e[t+n]===void 0)&&jd(t,e.length-(n+1))}function R6(e,t,n,r,i,a){if(e>n||e<t){let o=typeof t==\"bigint\"?\"n\":\"\",s;throw a>3?t===0||t===BigInt(0)?s=`>= 0${o} and < 2${o} ** ${(a+1)*8}${o}`:s=`>= -(2${o} ** ${(a+1)*8-1}${o}) and < 2 ** ${(a+1)*8-1}${o}`:s=`>= ${t}${o} and <= ${n}${o}`,new ac.ERR_OUT_OF_RANGE(\"value\",s,e)}HU(r,i,a)}function sc(e,t){if(typeof e!=\"number\")throw new ac.ERR_INVALID_ARG_TYPE(t,\"number\",e)}function jd(e,t,n){throw Math.floor(e)!==e?(sc(e,n),new ac.ERR_OUT_OF_RANGE(n||\"offset\",\"an integer\",e)):t<0?new ac.ERR_BUFFER_OUT_OF_BOUNDS:new ac.ERR_OUT_OF_RANGE(n||\"offset\",`>= ${n?1:0} and <= ${t}`,e)}var VU=/[^+/0-9A-Za-z-_]/g;function WU(e){if(e=e.split(\"=\")[0],e=e.trim().replace(VU,\"\"),e.length<2)return\"\";for(;e.length%4!==0;)e=e+\"=\";return e}function py(e,t){t=t||1/0;let n,r=e.length,i=null,a=[];for(let o=0;o<r;++o){if(n=e.charCodeAt(o),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}else if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,n&63|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error(\"Invalid code point\")}return a}function FU(e){let t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n)&255);return t}function KU(e,t){let n,r,i,a=[];for(let o=0;o<e.length&&!((t-=2)<0);++o)n=e.charCodeAt(o),r=n>>8,i=n%256,a.push(i),a.push(r);return a}function U6(e){return fy.toByteArray(WU(e))}function f0(e,t,n,r){let i;for(i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function oa(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function vy(e){return e!==e}var $U=(function(){let e=\"0123456789abcdef\",t=new Array(256);for(let n=0;n<16;++n){let r=n*16;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t})();function jo(e){return typeof BigInt>\"u\"?ZU:e}function ZU(){throw new Error(\"BigInt not supported\")}});var I6,b=pU(()=>{\"use strict\";I6=yn(O6(),1);globalThis.Buffer=I6.Buffer});var W6=V(Bn=>{\"use strict\";b();function Sy(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(0<h0(i,t))e[r]=t,e[n]=i,n=r;else break e}}function sa(e){return e.length===0?null:e[0]}function p0(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var o=2*(r+1)-1,s=e[o],l=o+1,c=e[l];if(0>h0(s,n))l<i&&0>h0(c,s)?(e[r]=c,e[l]=n,r=l):(e[r]=s,e[o]=n,r=o);else if(l<i&&0>h0(c,n))e[r]=c,e[l]=n,r=l;else break e}}return t}function h0(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}Bn.unstable_now=void 0;typeof performance==\"object\"&&typeof performance.now==\"function\"?(N6=performance,Bn.unstable_now=function(){return N6.now()}):(wy=Date,P6=wy.now(),Bn.unstable_now=function(){return wy.now()-P6});var N6,wy,P6,Ka=[],qo=[],YU=1,Ci=null,wr=3,_y=!1,qd=!1,Hd=!1,Ty=!1,L6=typeof setTimeout==\"function\"?setTimeout:null,j6=typeof clearTimeout==\"function\"?clearTimeout:null,z6=typeof setImmediate<\"u\"?setImmediate:null;function g0(e){for(var t=sa(qo);t!==null;){if(t.callback===null)p0(qo);else if(t.startTime<=e)p0(qo),t.sortIndex=t.expirationTime,Sy(Ka,t);else break;t=sa(qo)}}function Ey(e){if(Hd=!1,g0(e),!qd)if(sa(Ka)!==null)qd=!0,uc||(uc=!0,cc());else{var t=sa(qo);t!==null&&Ay(Ey,t.startTime-e)}}var uc=!1,Vd=-1,q6=5,H6=-1;function V6(){return Ty?!0:!(Bn.unstable_now()-H6<q6)}function xy(){if(Ty=!1,uc){var e=Bn.unstable_now();H6=e;var t=!0;try{e:{qd=!1,Hd&&(Hd=!1,j6(Vd),Vd=-1),_y=!0;var n=wr;try{t:{for(g0(e),Ci=sa(Ka);Ci!==null&&!(Ci.expirationTime>e&&V6());){var r=Ci.callback;if(typeof r==\"function\"){Ci.callback=null,wr=Ci.priorityLevel;var i=r(Ci.expirationTime<=e);if(e=Bn.unstable_now(),typeof i==\"function\"){Ci.callback=i,g0(e),t=!0;break t}Ci===sa(Ka)&&p0(Ka),g0(e)}else p0(Ka);Ci=sa(Ka)}if(Ci!==null)t=!0;else{var a=sa(qo);a!==null&&Ay(Ey,a.startTime-e),t=!1}}break e}finally{Ci=null,wr=n,_y=!1}t=void 0}}finally{t?cc():uc=!1}}}var cc;typeof z6==\"function\"?cc=function(){z6(xy)}:typeof MessageChannel<\"u\"?(Cy=new MessageChannel,D6=Cy.port2,Cy.port1.onmessage=xy,cc=function(){D6.postMessage(null)}):cc=function(){L6(xy,0)};var Cy,D6;function Ay(e,t){Vd=L6(function(){e(Bn.unstable_now())},t)}Bn.unstable_IdlePriority=5;Bn.unstable_ImmediatePriority=1;Bn.unstable_LowPriority=4;Bn.unstable_NormalPriority=3;Bn.unstable_Profiling=null;Bn.unstable_UserBlockingPriority=2;Bn.unstable_cancelCallback=function(e){e.callback=null};Bn.unstable_forceFrameRate=function(e){0>e||125<e?console.error(\"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported\"):q6=0<e?Math.floor(1e3/e):5};Bn.unstable_getCurrentPriorityLevel=function(){return wr};Bn.unstable_next=function(e){switch(wr){case 1:case 2:case 3:var t=3;break;default:t=wr}var n=wr;wr=t;try{return e()}finally{wr=n}};Bn.unstable_requestPaint=function(){Ty=!0};Bn.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=wr;wr=e;try{return t()}finally{wr=n}};Bn.unstable_scheduleCallback=function(e,t,n){var r=Bn.unstable_now();switch(typeof n==\"object\"&&n!==null?(n=n.delay,n=typeof n==\"number\"&&0<n?r+n:r):n=r,e){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3}return i=n+i,e={id:YU++,callback:t,priorityLevel:e,startTime:n,expirationTime:i,sortIndex:-1},n>r?(e.sortIndex=n,Sy(qo,e),sa(Ka)===null&&e===sa(qo)&&(Hd?(j6(Vd),Vd=-1):Hd=!0,Ay(Ey,n-r))):(e.sortIndex=i,Sy(Ka,e),qd||_y||(qd=!0,uc||(uc=!0,cc()))),e};Bn.unstable_shouldYield=V6;Bn.unstable_wrapCallback=function(e){var t=wr;return function(){var n=wr;wr=t;try{return e.apply(this,arguments)}finally{wr=n}}}});var K6=V((jte,F6)=>{\"use strict\";b();F6.exports=W6()});var rx=V(ht=>{\"use strict\";b();var My=Symbol.for(\"react.transitional.element\"),GU=Symbol.for(\"react.portal\"),QU=Symbol.for(\"react.fragment\"),XU=Symbol.for(\"react.strict_mode\"),JU=Symbol.for(\"react.profiler\"),eO=Symbol.for(\"react.consumer\"),tO=Symbol.for(\"react.context\"),nO=Symbol.for(\"react.forward_ref\"),rO=Symbol.for(\"react.suspense\"),iO=Symbol.for(\"react.memo\"),Q6=Symbol.for(\"react.lazy\"),aO=Symbol.for(\"react.activity\"),$6=Symbol.iterator;function oO(e){return e===null||typeof e!=\"object\"?null:(e=$6&&e[$6]||e[\"@@iterator\"],typeof e==\"function\"?e:null)}var X6={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},J6=Object.assign,ex={};function fc(e,t,n){this.props=e,this.context=t,this.refs=ex,this.updater=n||X6}fc.prototype.isReactComponent={};fc.prototype.setState=function(e,t){if(typeof e!=\"object\"&&typeof e!=\"function\"&&e!=null)throw Error(\"takes an object of state variables to update or a function which returns an object of state variables.\");this.updater.enqueueSetState(this,e,t,\"setState\")};fc.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,\"forceUpdate\")};function tx(){}tx.prototype=fc.prototype;function Ry(e,t,n){this.props=e,this.context=t,this.refs=ex,this.updater=n||X6}var Uy=Ry.prototype=new tx;Uy.constructor=Ry;J6(Uy,fc.prototype);Uy.isPureReactComponent=!0;var Z6=Array.isArray;function By(){}var _n={H:null,A:null,T:null,S:null},nx=Object.prototype.hasOwnProperty;function Oy(e,t,n){var r=n.ref;return{$$typeof:My,type:e,key:t,ref:r!==void 0?r:null,props:n}}function sO(e,t){return Oy(e.type,t,e.props)}function Iy(e){return typeof e==\"object\"&&e!==null&&e.$$typeof===My}function lO(e){var t={\"=\":\"=0\",\":\":\"=2\"};return\"$\"+e.replace(/[=:]/g,function(n){return t[n]})}var Y6=/\\/+/g;function ky(e,t){return typeof e==\"object\"&&e!==null&&e.key!=null?lO(\"\"+e.key):t.toString(36)}function cO(e){switch(e.status){case\"fulfilled\":return e.value;case\"rejected\":throw e.reason;default:switch(typeof e.status==\"string\"?e.then(By,By):(e.status=\"pending\",e.then(function(t){e.status===\"pending\"&&(e.status=\"fulfilled\",e.value=t)},function(t){e.status===\"pending\"&&(e.status=\"rejected\",e.reason=t)})),e.status){case\"fulfilled\":return e.value;case\"rejected\":throw e.reason}}throw e}function dc(e,t,n,r,i){var a=typeof e;(a===\"undefined\"||a===\"boolean\")&&(e=null);var o=!1;if(e===null)o=!0;else switch(a){case\"bigint\":case\"string\":case\"number\":o=!0;break;case\"object\":switch(e.$$typeof){case My:case GU:o=!0;break;case Q6:return o=e._init,dc(o(e._payload),t,n,r,i)}}if(o)return i=i(e),o=r===\"\"?\".\"+ky(e,0):r,Z6(i)?(n=\"\",o!=null&&(n=o.replace(Y6,\"$&/\")+\"/\"),dc(i,t,n,\"\",function(c){return c})):i!=null&&(Iy(i)&&(i=sO(i,n+(i.key==null||e&&e.key===i.key?\"\":(\"\"+i.key).replace(Y6,\"$&/\")+\"/\")+o)),t.push(i)),1;o=0;var s=r===\"\"?\".\":r+\":\";if(Z6(e))for(var l=0;l<e.length;l++)r=e[l],a=s+ky(r,l),o+=dc(r,t,n,a,i);else if(l=oO(e),typeof l==\"function\")for(e=l.call(e),l=0;!(r=e.next()).done;)r=r.value,a=s+ky(r,l++),o+=dc(r,t,n,a,i);else if(a===\"object\"){if(typeof e.then==\"function\")return dc(cO(e),t,n,r,i);throw t=String(e),Error(\"Objects are not valid as a React child (found: \"+(t===\"[object Object]\"?\"object with keys {\"+Object.keys(e).join(\", \")+\"}\":t)+\"). If you meant to render a collection of children, use an array instead.\")}return o}function m0(e,t,n){if(e==null)return e;var r=[],i=0;return dc(e,r,\"\",\"\",function(a){return t.call(n,a,i++)}),r}function uO(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var G6=typeof reportError==\"function\"?reportError:function(e){if(typeof window==\"object\"&&typeof window.ErrorEvent==\"function\"){var t=new window.ErrorEvent(\"error\",{bubbles:!0,cancelable:!0,message:typeof e==\"object\"&&e!==null&&typeof e.message==\"string\"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==\"object\"&&typeof process.emit==\"function\"){process.emit(\"uncaughtException\",e);return}console.error(e)},dO={map:m0,forEach:function(e,t,n){m0(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return m0(e,function(){t++}),t},toArray:function(e){return m0(e,function(t){return t})||[]},only:function(e){if(!Iy(e))throw Error(\"React.Children.only expected to receive a single React element child.\");return e}};ht.Activity=aO;ht.Children=dO;ht.Component=fc;ht.Fragment=QU;ht.Profiler=JU;ht.PureComponent=Ry;ht.StrictMode=XU;ht.Suspense=rO;ht.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_n;ht.__COMPILER_RUNTIME={__proto__:null,c:function(e){return _n.H.useMemoCache(e)}};ht.cache=function(e){return function(){return e.apply(null,arguments)}};ht.cacheSignal=function(){return null};ht.cloneElement=function(e,t,n){if(e==null)throw Error(\"The argument must be a React element, but you passed \"+e+\".\");var r=J6({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=\"\"+t.key),t)!nx.call(t,a)||a===\"key\"||a===\"__self\"||a===\"__source\"||a===\"ref\"&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return Oy(e.type,i,r)};ht.createContext=function(e){return e={$$typeof:tO,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:eO,_context:e},e};ht.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=\"\"+t.key),t)nx.call(t,r)&&r!==\"key\"&&r!==\"__self\"&&r!==\"__source\"&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),l=0;l<o;l++)s[l]=arguments[l+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return Oy(e,a,i)};ht.createRef=function(){return{current:null}};ht.forwardRef=function(e){return{$$typeof:nO,render:e}};ht.isValidElement=Iy;ht.lazy=function(e){return{$$typeof:Q6,_payload:{_status:-1,_result:e},_init:uO}};ht.memo=function(e,t){return{$$typeof:iO,type:e,compare:t===void 0?null:t}};ht.startTransition=function(e){var t=_n.T,n={};_n.T=n;try{var r=e(),i=_n.S;i!==null&&i(n,r),typeof r==\"object\"&&r!==null&&typeof r.then==\"function\"&&r.then(By,G6)}catch(a){G6(a)}finally{t!==null&&n.types!==null&&(t.types=n.types),_n.T=t}};ht.unstable_useCacheRefresh=function(){return _n.H.useCacheRefresh()};ht.use=function(e){return _n.H.use(e)};ht.useActionState=function(e,t,n){return _n.H.useActionState(e,t,n)};ht.useCallback=function(e,t){return _n.H.useCallback(e,t)};ht.useContext=function(e){return _n.H.useContext(e)};ht.useDebugValue=function(){};ht.useDeferredValue=function(e,t){return _n.H.useDeferredValue(e,t)};ht.useEffect=function(e,t){return _n.H.useEffect(e,t)};ht.useEffectEvent=function(e){return _n.H.useEffectEvent(e)};ht.useId=function(){return _n.H.useId()};ht.useImperativeHandle=function(e,t,n){return _n.H.useImperativeHandle(e,t,n)};ht.useInsertionEffect=function(e,t){return _n.H.useInsertionEffect(e,t)};ht.useLayoutEffect=function(e,t){return _n.H.useLayoutEffect(e,t)};ht.useMemo=function(e,t){return _n.H.useMemo(e,t)};ht.useOptimistic=function(e,t){return _n.H.useOptimistic(e,t)};ht.useReducer=function(e,t,n){return _n.H.useReducer(e,t,n)};ht.useRef=function(e){return _n.H.useRef(e)};ht.useState=function(e){return _n.H.useState(e)};ht.useSyncExternalStore=function(e,t,n){return _n.H.useSyncExternalStore(e,t,n)};ht.useTransition=function(){return _n.H.useTransition()};ht.version=\"19.2.1\"});var tl=V((Wte,ix)=>{\"use strict\";b();ix.exports=rx()});var ox=V(kr=>{\"use strict\";b();var fO=tl();function ax(e){var t=\"https://react.dev/errors/\"+e;if(1<arguments.length){t+=\"?args[]=\"+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=\"&args[]=\"+encodeURIComponent(arguments[n])}return\"Minified React error #\"+e+\"; visit \"+t+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}function Ho(){}var Ar={d:{f:Ho,r:function(){throw Error(ax(522))},D:Ho,C:Ho,L:Ho,m:Ho,X:Ho,S:Ho,M:Ho},p:0,findDOMNode:null},hO=Symbol.for(\"react.portal\");function gO(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:hO,key:r==null?null:\"\"+r,children:e,containerInfo:t,implementation:n}}var Wd=fO.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function y0(e,t){if(e===\"font\")return\"\";if(typeof t==\"string\")return t===\"use-credentials\"?t:\"\"}kr.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ar;kr.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(ax(299));return gO(e,t,null,n)};kr.flushSync=function(e){var t=Wd.T,n=Ar.p;try{if(Wd.T=null,Ar.p=2,e)return e()}finally{Wd.T=t,Ar.p=n,Ar.d.f()}};kr.preconnect=function(e,t){typeof e==\"string\"&&(t?(t=t.crossOrigin,t=typeof t==\"string\"?t===\"use-credentials\"?t:\"\":void 0):t=null,Ar.d.C(e,t))};kr.prefetchDNS=function(e){typeof e==\"string\"&&Ar.d.D(e)};kr.preinit=function(e,t){if(typeof e==\"string\"&&t&&typeof t.as==\"string\"){var n=t.as,r=y0(n,t.crossOrigin),i=typeof t.integrity==\"string\"?t.integrity:void 0,a=typeof t.fetchPriority==\"string\"?t.fetchPriority:void 0;n===\"style\"?Ar.d.S(e,typeof t.precedence==\"string\"?t.precedence:void 0,{crossOrigin:r,integrity:i,fetchPriority:a}):n===\"script\"&&Ar.d.X(e,{crossOrigin:r,integrity:i,fetchPriority:a,nonce:typeof t.nonce==\"string\"?t.nonce:void 0})}};kr.preinitModule=function(e,t){if(typeof e==\"string\")if(typeof t==\"object\"&&t!==null){if(t.as==null||t.as===\"script\"){var n=y0(t.as,t.crossOrigin);Ar.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==\"string\"?t.integrity:void 0,nonce:typeof t.nonce==\"string\"?t.nonce:void 0})}}else t==null&&Ar.d.M(e)};kr.preload=function(e,t){if(typeof e==\"string\"&&typeof t==\"object\"&&t!==null&&typeof t.as==\"string\"){var n=t.as,r=y0(n,t.crossOrigin);Ar.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==\"string\"?t.integrity:void 0,nonce:typeof t.nonce==\"string\"?t.nonce:void 0,type:typeof t.type==\"string\"?t.type:void 0,fetchPriority:typeof t.fetchPriority==\"string\"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==\"string\"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==\"string\"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==\"string\"?t.imageSizes:void 0,media:typeof t.media==\"string\"?t.media:void 0})}};kr.preloadModule=function(e,t){if(typeof e==\"string\")if(t){var n=y0(t.as,t.crossOrigin);Ar.d.m(e,{as:typeof t.as==\"string\"&&t.as!==\"script\"?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==\"string\"?t.integrity:void 0})}else Ar.d.m(e)};kr.requestFormReset=function(e){Ar.d.r(e)};kr.unstable_batchedUpdates=function(e,t){return e(t)};kr.useFormState=function(e,t,n){return Wd.H.useFormState(e,t,n)};kr.useFormStatus=function(){return Wd.H.useHostTransitionStatus()};kr.version=\"19.2.1\"});var cx=V((Zte,lx)=>{\"use strict\";b();function sx(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>\"u\"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=\"function\"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(sx)}catch(e){console.error(e)}}sx(),lx.exports=ox()});var x9=V(Hg=>{\"use strict\";b();var tr=K6(),N8=tl(),pO=cx();function de(e){var t=\"https://react.dev/errors/\"+e;if(1<arguments.length){t+=\"?args[]=\"+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=\"&args[]=\"+encodeURIComponent(arguments[n])}return\"Minified React error #\"+e+\"; visit \"+t+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}function P8(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Rf(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function z8(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function D8(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function ux(e){if(Rf(e)!==e)throw Error(de(188))}function mO(e){var t=e.alternate;if(!t){if(t=Rf(e),t===null)throw Error(de(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var a=i.alternate;if(a===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return ux(i),e;if(a===r)return ux(i),t;a=a.sibling}throw Error(de(188))}if(n.return!==r.return)n=i,r=a;else{for(var o=!1,s=i.child;s;){if(s===n){o=!0,n=i,r=a;break}if(s===r){o=!0,r=i,n=a;break}s=s.sibling}if(!o){for(s=a.child;s;){if(s===n){o=!0,n=a,r=i;break}if(s===r){o=!0,r=a,n=i;break}s=s.sibling}if(!o)throw Error(de(189))}}if(n.alternate!==r)throw Error(de(190))}if(n.tag!==3)throw Error(de(188));return n.stateNode.current===n?e:t}function L8(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=L8(e),t!==null)return t;e=e.sibling}return null}var An=Object.assign,yO=Symbol.for(\"react.element\"),b0=Symbol.for(\"react.transitional.element\"),Xd=Symbol.for(\"react.portal\"),bc=Symbol.for(\"react.fragment\"),j8=Symbol.for(\"react.strict_mode\"),gb=Symbol.for(\"react.profiler\"),q8=Symbol.for(\"react.consumer\"),eo=Symbol.for(\"react.context\"),c2=Symbol.for(\"react.forward_ref\"),pb=Symbol.for(\"react.suspense\"),mb=Symbol.for(\"react.suspense_list\"),u2=Symbol.for(\"react.memo\"),Vo=Symbol.for(\"react.lazy\");Symbol.for(\"react.scope\");var yb=Symbol.for(\"react.activity\");Symbol.for(\"react.legacy_hidden\");Symbol.for(\"react.tracing_marker\");var bO=Symbol.for(\"react.memo_cache_sentinel\");Symbol.for(\"react.view_transition\");var dx=Symbol.iterator;function Fd(e){return e===null||typeof e!=\"object\"?null:(e=dx&&e[dx]||e[\"@@iterator\"],typeof e==\"function\"?e:null)}var vO=Symbol.for(\"react.client.reference\");function bb(e){if(e==null)return null;if(typeof e==\"function\")return e.$$typeof===vO?null:e.displayName||e.name||null;if(typeof e==\"string\")return e;switch(e){case bc:return\"Fragment\";case gb:return\"Profiler\";case j8:return\"StrictMode\";case pb:return\"Suspense\";case mb:return\"SuspenseList\";case yb:return\"Activity\"}if(typeof e==\"object\")switch(e.$$typeof){case Xd:return\"Portal\";case eo:return e.displayName||\"Context\";case q8:return(e._context.displayName||\"Context\")+\".Consumer\";case c2:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||\"\",e=e!==\"\"?\"ForwardRef(\"+e+\")\":\"ForwardRef\"),e;case u2:return t=e.displayName||null,t!==null?t:bb(e.type)||\"Memo\";case Vo:t=e._payload,e=e._init;try{return bb(e(t))}catch{}}return null}var Jd=Array.isArray,rt=N8.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Jt=pO.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,sl={pending:!1,data:null,method:null,action:null},vb=[],vc=-1;function fa(e){return{current:e}}function or(e){0>vc||(e.current=vb[vc],vb[vc]=null,vc--)}function bn(e,t){vc++,vb[vc]=e.current,e.current=t}var da=fa(null),yf=fa(null),es=fa(null),Q0=fa(null);function X0(e,t){switch(bn(es,t),bn(yf,e),bn(da,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?b8(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=b8(t),e=s9(t,e);else switch(e){case\"svg\":e=1;break;case\"math\":e=2;break;default:e=0}}or(da),bn(da,e)}function zc(){or(da),or(yf),or(es)}function wb(e){e.memoizedState!==null&&bn(Q0,e);var t=da.current,n=s9(t,e.type);t!==n&&(bn(yf,e),bn(da,n))}function J0(e){yf.current===e&&(or(da),or(yf)),Q0.current===e&&(or(Q0),kf._currentValue=sl)}var Ny,fx;function rl(e){if(Ny===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\\n( *(at )?)/);Ny=t&&t[1]||\"\",fx=-1<n.stack.indexOf(`\n at`)?\" (<anonymous>)\":-1<n.stack.indexOf(\"@\")?\"@unknown:0:0\":\"\"}return`\n`+Ny+e+fx}var Py=!1;function zy(e,t){if(!e||Py)return\"\";Py=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,\"props\",{set:function(){throw Error()}}),typeof Reflect==\"object\"&&Reflect.construct){try{Reflect.construct(d,[])}catch(g){var h=g}Reflect.construct(e,[],d)}else{try{d.call()}catch(g){h=g}e.call(d.prototype)}}else{try{throw Error()}catch(g){h=g}(d=e())&&typeof d.catch==\"function\"&&d.catch(function(){})}}catch(g){if(g&&h&&typeof g.stack==\"string\")return[g.stack,h.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=\"DetermineComponentFrameRoot\";var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,\"name\");i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,\"name\",{value:\"DetermineComponentFrameRoot\"});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var l=o.split(`\n`),c=s.split(`\n`);for(i=r=0;r<l.length&&!l[r].includes(\"DetermineComponentFrameRoot\");)r++;for(;i<c.length&&!c[i].includes(\"DetermineComponentFrameRoot\");)i++;if(r===l.length||i===c.length)for(r=l.length-1,i=c.length-1;1<=r&&0<=i&&l[r]!==c[i];)i--;for(;1<=r&&0<=i;r--,i--)if(l[r]!==c[i]){if(r!==1||i!==1)do if(r--,i--,0>i||l[r]!==c[i]){var u=`\n`+l[r].replace(\" at new \",\" at \");return e.displayName&&u.includes(\"<anonymous>\")&&(u=u.replace(\"<anonymous>\",e.displayName)),u}while(1<=r&&0<=i);break}}}finally{Py=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:\"\")?rl(n):\"\"}function wO(e,t){switch(e.tag){case 26:case 27:case 5:return rl(e.type);case 16:return rl(\"Lazy\");case 13:return e.child!==t&&t!==null?rl(\"Suspense Fallback\"):rl(\"Suspense\");case 19:return rl(\"SuspenseList\");case 0:case 15:return zy(e.type,!1);case 11:return zy(e.type.render,!1);case 1:return zy(e.type,!0);case 31:return rl(\"Activity\");default:return\"\"}}function hx(e){try{var t=\"\",n=null;do t+=wO(e,n),n=e,e=e.return;while(e);return t}catch(r){return`\nError generating stack: `+r.message+`\n`+r.stack}}var xb=Object.prototype.hasOwnProperty,d2=tr.unstable_scheduleCallback,Dy=tr.unstable_cancelCallback,xO=tr.unstable_shouldYield,CO=tr.unstable_requestPaint,ui=tr.unstable_now,SO=tr.unstable_getCurrentPriorityLevel,H8=tr.unstable_ImmediatePriority,V8=tr.unstable_UserBlockingPriority,eg=tr.unstable_NormalPriority,_O=tr.unstable_LowPriority,W8=tr.unstable_IdlePriority,TO=tr.log,EO=tr.unstable_setDisableYieldValue,Uf=null,di=null;function Yo(e){if(typeof TO==\"function\"&&EO(e),di&&typeof di.setStrictMode==\"function\")try{di.setStrictMode(Uf,e)}catch{}}var fi=Math.clz32?Math.clz32:BO,AO=Math.log,kO=Math.LN2;function BO(e){return e>>>=0,e===0?32:31-(AO(e)/kO|0)|0}var v0=256,w0=262144,x0=4194304;function il(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Eg(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s!==0?(r=s&~a,r!==0?i=il(r):(o&=s,o!==0?i=il(o):n||(n=s&~e,n!==0&&(i=il(n))))):(s=r&~a,s!==0?i=il(s):o!==0?i=il(o):n||(n=r&~e,n!==0&&(i=il(n)))),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&(n&4194048)!==0)?t:i}function Of(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function MO(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function F8(){var e=x0;return x0<<=1,(x0&62914560)===0&&(x0=4194304),e}function Ly(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function If(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function RO(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,l=e.expirationTimes,c=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-fi(n),d=1<<u;s[u]=0,l[u]=-1;var h=c[u];if(h!==null)for(c[u]=null,u=0;u<h.length;u++){var g=h[u];g!==null&&(g.lane&=-536870913)}n&=~d}r!==0&&K8(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function K8(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-fi(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function $8(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-fi(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function Z8(e,t){var n=t&-t;return n=(n&42)!==0?1:f2(n),(n&(e.suspendedLanes|t))!==0?0:n}function f2(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function h2(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Y8(){var e=Jt.p;return e!==0?e:(e=window.event,e===void 0?32:b9(e.type))}function gx(e,t){var n=Jt.p;try{return Jt.p=e,t()}finally{Jt.p=n}}var hs=Math.random().toString(36).slice(2),dr=\"__reactFiber$\"+hs,Fr=\"__reactProps$\"+hs,Zc=\"__reactContainer$\"+hs,Cb=\"__reactEvents$\"+hs,UO=\"__reactListeners$\"+hs,OO=\"__reactHandles$\"+hs,px=\"__reactResources$\"+hs,Nf=\"__reactMarker$\"+hs;function g2(e){delete e[dr],delete e[Fr],delete e[Cb],delete e[UO],delete e[OO]}function wc(e){var t=e[dr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Zc]||n[dr]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=S8(e);e!==null;){if(n=e[dr])return n;e=S8(e)}return t}e=n,n=e.parentNode}return null}function Yc(e){if(e=e[dr]||e[Zc]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function ef(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(de(33))}function Mc(e){var t=e[px];return t||(t=e[px]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ar(e){e[Nf]=!0}var G8=new Set,Q8={};function yl(e,t){Dc(e,t),Dc(e+\"Capture\",t)}function Dc(e,t){for(Q8[e]=t,e=0;e<t.length;e++)G8.add(t[e])}var IO=RegExp(\"^[:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD][:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]*$\"),mx={},yx={};function NO(e){return xb.call(yx,e)?!0:xb.call(mx,e)?!1:IO.test(e)?yx[e]=!0:(mx[e]=!0,!1)}function P0(e,t,n){if(NO(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case\"undefined\":case\"function\":case\"symbol\":e.removeAttribute(t);return;case\"boolean\":var r=t.toLowerCase().slice(0,5);if(r!==\"data-\"&&r!==\"aria-\"){e.removeAttribute(t);return}}e.setAttribute(t,\"\"+n)}}function C0(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case\"undefined\":case\"function\":case\"symbol\":case\"boolean\":e.removeAttribute(t);return}e.setAttribute(t,\"\"+n)}}function $a(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case\"undefined\":case\"function\":case\"symbol\":case\"boolean\":e.removeAttribute(n);return}e.setAttributeNS(t,n,\"\"+r)}}function _i(e){switch(typeof e){case\"bigint\":case\"boolean\":case\"number\":case\"string\":case\"undefined\":return e;case\"object\":return e;default:return\"\"}}function X8(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===\"input\"&&(t===\"checkbox\"||t===\"radio\")}function PO(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof r<\"u\"&&typeof r.get==\"function\"&&typeof r.set==\"function\"){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){n=\"\"+o,a.call(this,o)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(o){n=\"\"+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Sb(e){if(!e._valueTracker){var t=X8(e)?\"checked\":\"value\";e._valueTracker=PO(e,t,\"\"+e[t])}}function J8(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=\"\";return e&&(r=X8(e)?e.checked?\"true\":\"false\":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function tg(e){if(e=e||(typeof document<\"u\"?document:void 0),typeof e>\"u\")return null;try{return e.activeElement||e.body}catch{return e.body}}var zO=/[\\n\"\\\\]/g;function Ai(e){return e.replace(zO,function(t){return\"\\\\\"+t.charCodeAt(0).toString(16)+\" \"})}function _b(e,t,n,r,i,a,o,s){e.name=\"\",o!=null&&typeof o!=\"function\"&&typeof o!=\"symbol\"&&typeof o!=\"boolean\"?e.type=o:e.removeAttribute(\"type\"),t!=null?o===\"number\"?(t===0&&e.value===\"\"||e.value!=t)&&(e.value=\"\"+_i(t)):e.value!==\"\"+_i(t)&&(e.value=\"\"+_i(t)):o!==\"submit\"&&o!==\"reset\"||e.removeAttribute(\"value\"),t!=null?Tb(e,o,_i(t)):n!=null?Tb(e,o,_i(n)):r!=null&&e.removeAttribute(\"value\"),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=\"function\"&&typeof i!=\"symbol\"),s!=null&&typeof s!=\"function\"&&typeof s!=\"symbol\"&&typeof s!=\"boolean\"?e.name=\"\"+_i(s):e.removeAttribute(\"name\")}function eC(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=\"function\"&&typeof a!=\"symbol\"&&typeof a!=\"boolean\"&&(e.type=a),t!=null||n!=null){if(!(a!==\"submit\"&&a!==\"reset\"||t!=null)){Sb(e);return}n=n!=null?\"\"+_i(n):\"\",t=t!=null?\"\"+_i(t):n,s||t===e.value||(e.value=t),e.defaultValue=t}r=r??i,r=typeof r!=\"function\"&&typeof r!=\"symbol\"&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=\"function\"&&typeof o!=\"symbol\"&&typeof o!=\"boolean\"&&(e.name=o),Sb(e)}function Tb(e,t,n){t===\"number\"&&tg(e.ownerDocument)===e||e.defaultValue===\"\"+n||(e.defaultValue=\"\"+n)}function Rc(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[\"$\"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(\"$\"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=\"\"+_i(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function tC(e,t,n){if(t!=null&&(t=\"\"+_i(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?\"\"+_i(n):\"\"}function nC(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(de(92));if(Jd(r)){if(1<r.length)throw Error(de(93));r=r[0]}n=r}n==null&&(n=\"\"),t=n}n=_i(t),e.defaultValue=n,r=e.textContent,r===n&&r!==\"\"&&r!==null&&(e.value=r),Sb(e)}function Lc(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var DO=new Set(\"animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp\".split(\" \"));function bx(e,t,n){var r=t.indexOf(\"--\")===0;n==null||typeof n==\"boolean\"||n===\"\"?r?e.setProperty(t,\"\"):t===\"float\"?e.cssFloat=\"\":e[t]=\"\":r?e.setProperty(t,n):typeof n!=\"number\"||n===0||DO.has(t)?t===\"float\"?e.cssFloat=n:e[t]=(\"\"+n).trim():e[t]=n+\"px\"}function rC(e,t,n){if(t!=null&&typeof t!=\"object\")throw Error(de(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(\"--\")===0?e.setProperty(r,\"\"):r===\"float\"?e.cssFloat=\"\":e[r]=\"\");for(var i in t)r=t[i],t.hasOwnProperty(i)&&n[i]!==r&&bx(e,i,r)}else for(var a in t)t.hasOwnProperty(a)&&bx(e,a,t[a])}function p2(e){if(e.indexOf(\"-\")===-1)return!1;switch(e){case\"annotation-xml\":case\"color-profile\":case\"font-face\":case\"font-face-src\":case\"font-face-uri\":case\"font-face-format\":case\"font-face-name\":case\"missing-glyph\":return!1;default:return!0}}var LO=new Map([[\"acceptCharset\",\"accept-charset\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"],[\"crossOrigin\",\"crossorigin\"],[\"accentHeight\",\"accent-height\"],[\"alignmentBaseline\",\"alignment-baseline\"],[\"arabicForm\",\"arabic-form\"],[\"baselineShift\",\"baseline-shift\"],[\"capHeight\",\"cap-height\"],[\"clipPath\",\"clip-path\"],[\"clipRule\",\"clip-rule\"],[\"colorInterpolation\",\"color-interpolation\"],[\"colorInterpolationFilters\",\"color-interpolation-filters\"],[\"colorProfile\",\"color-profile\"],[\"colorRendering\",\"color-rendering\"],[\"dominantBaseline\",\"dominant-baseline\"],[\"enableBackground\",\"enable-background\"],[\"fillOpacity\",\"fill-opacity\"],[\"fillRule\",\"fill-rule\"],[\"floodColor\",\"flood-color\"],[\"floodOpacity\",\"flood-opacity\"],[\"fontFamily\",\"font-family\"],[\"fontSize\",\"font-size\"],[\"fontSizeAdjust\",\"font-size-adjust\"],[\"fontStretch\",\"font-stretch\"],[\"fontStyle\",\"font-style\"],[\"fontVariant\",\"font-variant\"],[\"fontWeight\",\"font-weight\"],[\"glyphName\",\"glyph-name\"],[\"glyphOrientationHorizontal\",\"glyph-orientation-horizontal\"],[\"glyphOrientationVertical\",\"glyph-orientation-vertical\"],[\"horizAdvX\",\"horiz-adv-x\"],[\"horizOriginX\",\"horiz-origin-x\"],[\"imageRendering\",\"image-rendering\"],[\"letterSpacing\",\"letter-spacing\"],[\"lightingColor\",\"lighting-color\"],[\"markerEnd\",\"marker-end\"],[\"markerMid\",\"marker-mid\"],[\"markerStart\",\"marker-start\"],[\"overlinePosition\",\"overline-position\"],[\"overlineThickness\",\"overline-thickness\"],[\"paintOrder\",\"paint-order\"],[\"panose-1\",\"panose-1\"],[\"pointerEvents\",\"pointer-events\"],[\"renderingIntent\",\"rendering-intent\"],[\"shapeRendering\",\"shape-rendering\"],[\"stopColor\",\"stop-color\"],[\"stopOpacity\",\"stop-opacity\"],[\"strikethroughPosition\",\"strikethrough-position\"],[\"strikethroughThickness\",\"strikethrough-thickness\"],[\"strokeDasharray\",\"stroke-dasharray\"],[\"strokeDashoffset\",\"stroke-dashoffset\"],[\"strokeLinecap\",\"stroke-linecap\"],[\"strokeLinejoin\",\"stroke-linejoin\"],[\"strokeMiterlimit\",\"stroke-miterlimit\"],[\"strokeOpacity\",\"stroke-opacity\"],[\"strokeWidth\",\"stroke-width\"],[\"textAnchor\",\"text-anchor\"],[\"textDecoration\",\"text-decoration\"],[\"textRendering\",\"text-rendering\"],[\"transformOrigin\",\"transform-origin\"],[\"underlinePosition\",\"underline-position\"],[\"underlineThickness\",\"underline-thickness\"],[\"unicodeBidi\",\"unicode-bidi\"],[\"unicodeRange\",\"unicode-range\"],[\"unitsPerEm\",\"units-per-em\"],[\"vAlphabetic\",\"v-alphabetic\"],[\"vHanging\",\"v-hanging\"],[\"vIdeographic\",\"v-ideographic\"],[\"vMathematical\",\"v-mathematical\"],[\"vectorEffect\",\"vector-effect\"],[\"vertAdvY\",\"vert-adv-y\"],[\"vertOriginX\",\"vert-origin-x\"],[\"vertOriginY\",\"vert-origin-y\"],[\"wordSpacing\",\"word-spacing\"],[\"writingMode\",\"writing-mode\"],[\"xmlnsXlink\",\"xmlns:xlink\"],[\"xHeight\",\"x-height\"]]),jO=/^[\\u0000-\\u001F ]*j[\\r\\n\\t]*a[\\r\\n\\t]*v[\\r\\n\\t]*a[\\r\\n\\t]*s[\\r\\n\\t]*c[\\r\\n\\t]*r[\\r\\n\\t]*i[\\r\\n\\t]*p[\\r\\n\\t]*t[\\r\\n\\t]*:/i;function z0(e){return jO.test(\"\"+e)?\"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')\":e}function to(){}var Eb=null;function m2(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var xc=null,Uc=null;function vx(e){var t=Yc(e);if(t&&(e=t.stateNode)){var n=e[Fr]||null;e:switch(e=t.stateNode,t.type){case\"input\":if(_b(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===\"radio\"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name=\"'+Ai(\"\"+t)+'\"][type=\"radio\"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=r[Fr]||null;if(!i)throw Error(de(90));_b(r,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&J8(r)}break e;case\"textarea\":tC(e,n.value,n.defaultValue);break e;case\"select\":t=n.value,t!=null&&Rc(e,!!n.multiple,t,!1)}}}var jy=!1;function iC(e,t,n){if(jy)return e(t,n);jy=!0;try{var r=e(t);return r}finally{if(jy=!1,(xc!==null||Uc!==null)&&(Dg(),xc&&(t=xc,e=Uc,Uc=xc=null,vx(t),e)))for(t=0;t<e.length;t++)vx(e[t])}}function bf(e,t){var n=e.stateNode;if(n===null)return null;var r=n[Fr]||null;if(r===null)return null;n=r[t];e:switch(t){case\"onClick\":case\"onClickCapture\":case\"onDoubleClick\":case\"onDoubleClickCapture\":case\"onMouseDown\":case\"onMouseDownCapture\":case\"onMouseMove\":case\"onMouseMoveCapture\":case\"onMouseUp\":case\"onMouseUpCapture\":case\"onMouseEnter\":(r=!r.disabled)||(e=e.type,r=!(e===\"button\"||e===\"input\"||e===\"select\"||e===\"textarea\")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!=\"function\")throw Error(de(231,t,typeof n));return n}var oo=!(typeof window>\"u\"||typeof window.document>\"u\"||typeof window.document.createElement>\"u\"),Ab=!1;if(oo)try{hc={},Object.defineProperty(hc,\"passive\",{get:function(){Ab=!0}}),window.addEventListener(\"test\",hc,hc),window.removeEventListener(\"test\",hc,hc)}catch{Ab=!1}var hc,Go=null,y2=null,D0=null;function aC(){if(D0)return D0;var e,t=y2,n=t.length,r,i=\"value\"in Go?Go.value:Go.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return D0=i.slice(e,1<r?1-r:void 0)}function L0(e){var t=e.keyCode;return\"charCode\"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function S0(){return!0}function wx(){return!1}function Kr(e){function t(n,r,i,a,o){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=a,this.target=o,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(a):a[s]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?S0:wx,this.isPropagationStopped=wx,this}return An(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!=\"unknown\"&&(n.returnValue=!1),this.isDefaultPrevented=S0)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!=\"unknown\"&&(n.cancelBubble=!0),this.isPropagationStopped=S0)},persist:function(){},isPersistent:S0}),t}var bl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ag=Kr(bl),Pf=An({},bl,{view:0,detail:0}),qO=Kr(Pf),qy,Hy,Kd,kg=An({},Pf,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:b2,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return\"movementX\"in e?e.movementX:(e!==Kd&&(Kd&&e.type===\"mousemove\"?(qy=e.screenX-Kd.screenX,Hy=e.screenY-Kd.screenY):Hy=qy=0,Kd=e),qy)},movementY:function(e){return\"movementY\"in e?e.movementY:Hy}}),xx=Kr(kg),HO=An({},kg,{dataTransfer:0}),VO=Kr(HO),WO=An({},Pf,{relatedTarget:0}),Vy=Kr(WO),FO=An({},bl,{animationName:0,elapsedTime:0,pseudoElement:0}),KO=Kr(FO),$O=An({},bl,{clipboardData:function(e){return\"clipboardData\"in e?e.clipboardData:window.clipboardData}}),ZO=Kr($O),YO=An({},bl,{data:0}),Cx=Kr(YO),GO={Esc:\"Escape\",Spacebar:\" \",Left:\"ArrowLeft\",Up:\"ArrowUp\",Right:\"ArrowRight\",Down:\"ArrowDown\",Del:\"Delete\",Win:\"OS\",Menu:\"ContextMenu\",Apps:\"ContextMenu\",Scroll:\"ScrollLock\",MozPrintableKey:\"Unidentified\"},QO={8:\"Backspace\",9:\"Tab\",12:\"Clear\",13:\"Enter\",16:\"Shift\",17:\"Control\",18:\"Alt\",19:\"Pause\",20:\"CapsLock\",27:\"Escape\",32:\" \",33:\"PageUp\",34:\"PageDown\",35:\"End\",36:\"Home\",37:\"ArrowLeft\",38:\"ArrowUp\",39:\"ArrowRight\",40:\"ArrowDown\",45:\"Insert\",46:\"Delete\",112:\"F1\",113:\"F2\",114:\"F3\",115:\"F4\",116:\"F5\",117:\"F6\",118:\"F7\",119:\"F8\",120:\"F9\",121:\"F10\",122:\"F11\",123:\"F12\",144:\"NumLock\",145:\"ScrollLock\",224:\"Meta\"},XO={Alt:\"altKey\",Control:\"ctrlKey\",Meta:\"metaKey\",Shift:\"shiftKey\"};function JO(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=XO[e])?!!t[e]:!1}function b2(){return JO}var eI=An({},Pf,{key:function(e){if(e.key){var t=GO[e.key]||e.key;if(t!==\"Unidentified\")return t}return e.type===\"keypress\"?(e=L0(e),e===13?\"Enter\":String.fromCharCode(e)):e.type===\"keydown\"||e.type===\"keyup\"?QO[e.keyCode]||\"Unidentified\":\"\"},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:b2,charCode:function(e){return e.type===\"keypress\"?L0(e):0},keyCode:function(e){return e.type===\"keydown\"||e.type===\"keyup\"?e.keyCode:0},which:function(e){return e.type===\"keypress\"?L0(e):e.type===\"keydown\"||e.type===\"keyup\"?e.keyCode:0}}),tI=Kr(eI),nI=An({},kg,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Sx=Kr(nI),rI=An({},Pf,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:b2}),iI=Kr(rI),aI=An({},bl,{propertyName:0,elapsedTime:0,pseudoElement:0}),oI=Kr(aI),sI=An({},kg,{deltaX:function(e){return\"deltaX\"in e?e.deltaX:\"wheelDeltaX\"in e?-e.wheelDeltaX:0},deltaY:function(e){return\"deltaY\"in e?e.deltaY:\"wheelDeltaY\"in e?-e.wheelDeltaY:\"wheelDelta\"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),lI=Kr(sI),cI=An({},bl,{newState:0,oldState:0}),uI=Kr(cI),dI=[9,13,27,32],v2=oo&&\"CompositionEvent\"in window,rf=null;oo&&\"documentMode\"in document&&(rf=document.documentMode);var fI=oo&&\"TextEvent\"in window&&!rf,oC=oo&&(!v2||rf&&8<rf&&11>=rf),_x=\" \",Tx=!1;function sC(e,t){switch(e){case\"keyup\":return dI.indexOf(t.keyCode)!==-1;case\"keydown\":return t.keyCode!==229;case\"keypress\":case\"mousedown\":case\"focusout\":return!0;default:return!1}}function lC(e){return e=e.detail,typeof e==\"object\"&&\"data\"in e?e.data:null}var Cc=!1;function hI(e,t){switch(e){case\"compositionend\":return lC(t);case\"keypress\":return t.which!==32?null:(Tx=!0,_x);case\"textInput\":return e=t.data,e===_x&&Tx?null:e;default:return null}}function gI(e,t){if(Cc)return e===\"compositionend\"||!v2&&sC(e,t)?(e=aC(),D0=y2=Go=null,Cc=!1,e):null;switch(e){case\"paste\":return null;case\"keypress\":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case\"compositionend\":return oC&&t.locale!==\"ko\"?null:t.data;default:return null}}var pI={color:!0,date:!0,datetime:!0,\"datetime-local\":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Ex(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===\"input\"?!!pI[e.type]:t===\"textarea\"}function cC(e,t,n,r){xc?Uc?Uc.push(r):Uc=[r]:xc=r,t=vg(t,\"onChange\"),0<t.length&&(n=new Ag(\"onChange\",\"change\",null,n,r),e.push({event:n,listeners:t}))}var af=null,vf=null;function mI(e){i9(e,0)}function Bg(e){var t=ef(e);if(J8(t))return e}function Ax(e,t){if(e===\"change\")return t}var uC=!1;oo&&(oo?(T0=\"oninput\"in document,T0||(Wy=document.createElement(\"div\"),Wy.setAttribute(\"oninput\",\"return;\"),T0=typeof Wy.oninput==\"function\"),_0=T0):_0=!1,uC=_0&&(!document.documentMode||9<document.documentMode));var _0,T0,Wy;function kx(){af&&(af.detachEvent(\"onpropertychange\",dC),vf=af=null)}function dC(e){if(e.propertyName===\"value\"&&Bg(vf)){var t=[];cC(t,vf,e,m2(e)),iC(mI,t)}}function yI(e,t,n){e===\"focusin\"?(kx(),af=t,vf=n,af.attachEvent(\"onpropertychange\",dC)):e===\"focusout\"&&kx()}function bI(e){if(e===\"selectionchange\"||e===\"keyup\"||e===\"keydown\")return Bg(vf)}function vI(e,t){if(e===\"click\")return Bg(t)}function wI(e,t){if(e===\"input\"||e===\"change\")return Bg(t)}function xI(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var gi=typeof Object.is==\"function\"?Object.is:xI;function wf(e,t){if(gi(e,t))return!0;if(typeof e!=\"object\"||e===null||typeof t!=\"object\"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!xb.call(t,i)||!gi(e[i],t[i]))return!1}return!0}function Bx(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Mx(e,t){var n=Bx(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Bx(n)}}function fC(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?fC(e,t.parentNode):\"contains\"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function hC(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=tg(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==\"string\"}catch{n=!1}if(n)e=t.contentWindow;else break;t=tg(e.document)}return t}function w2(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===\"input\"&&(e.type===\"text\"||e.type===\"search\"||e.type===\"tel\"||e.type===\"url\"||e.type===\"password\")||t===\"textarea\"||e.contentEditable===\"true\")}var CI=oo&&\"documentMode\"in document&&11>=document.documentMode,Sc=null,kb=null,of=null,Bb=!1;function Rx(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Bb||Sc==null||Sc!==tg(r)||(r=Sc,\"selectionStart\"in r&&w2(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),of&&wf(of,r)||(of=r,r=vg(kb,\"onSelect\"),0<r.length&&(t=new Ag(\"onSelect\",\"select\",null,t,n),e.push({event:t,listeners:r}),t.target=Sc)))}function nl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[\"Webkit\"+e]=\"webkit\"+t,n[\"Moz\"+e]=\"moz\"+t,n}var _c={animationend:nl(\"Animation\",\"AnimationEnd\"),animationiteration:nl(\"Animation\",\"AnimationIteration\"),animationstart:nl(\"Animation\",\"AnimationStart\"),transitionrun:nl(\"Transition\",\"TransitionRun\"),transitionstart:nl(\"Transition\",\"TransitionStart\"),transitioncancel:nl(\"Transition\",\"TransitionCancel\"),transitionend:nl(\"Transition\",\"TransitionEnd\")},Fy={},gC={};oo&&(gC=document.createElement(\"div\").style,\"AnimationEvent\"in window||(delete _c.animationend.animation,delete _c.animationiteration.animation,delete _c.animationstart.animation),\"TransitionEvent\"in window||delete _c.transitionend.transition);function vl(e){if(Fy[e])return Fy[e];if(!_c[e])return e;var t=_c[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in gC)return Fy[e]=t[n];return e}var pC=vl(\"animationend\"),mC=vl(\"animationiteration\"),yC=vl(\"animationstart\"),SI=vl(\"transitionrun\"),_I=vl(\"transitionstart\"),TI=vl(\"transitioncancel\"),bC=vl(\"transitionend\"),vC=new Map,Mb=\"abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel\".split(\" \");Mb.push(\"scrollEnd\");function Wi(e,t){vC.set(e,t),yl(t,[e])}var ng=typeof reportError==\"function\"?reportError:function(e){if(typeof window==\"object\"&&typeof window.ErrorEvent==\"function\"){var t=new window.ErrorEvent(\"error\",{bubbles:!0,cancelable:!0,message:typeof e==\"object\"&&e!==null&&typeof e.message==\"string\"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==\"object\"&&typeof process.emit==\"function\"){process.emit(\"uncaughtException\",e);return}console.error(e)},Si=[],Tc=0,x2=0;function Mg(){for(var e=Tc,t=x2=Tc=0;t<e;){var n=Si[t];Si[t++]=null;var r=Si[t];Si[t++]=null;var i=Si[t];Si[t++]=null;var a=Si[t];if(Si[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&wC(n,i,a)}}function Rg(e,t,n,r){Si[Tc++]=e,Si[Tc++]=t,Si[Tc++]=n,Si[Tc++]=r,x2|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function C2(e,t,n,r){return Rg(e,t,n,r),rg(e)}function wl(e,t){return Rg(e,null,null,t),rg(e)}function wC(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-fi(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function rg(e){if(50<pf)throw pf=0,Qb=null,Error(de(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Ec={};function EI(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function li(e,t,n,r){return new EI(e,t,n,r)}function S2(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ro(e,t){var n=e.alternate;return n===null?(n=li(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function xC(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function j0(e,t,n,r,i,a){var o=0;if(r=e,typeof e==\"function\")S2(e)&&(o=1);else if(typeof e==\"string\")o=BN(e,n,da.current)?26:e===\"html\"||e===\"head\"||e===\"body\"?27:5;else e:switch(e){case yb:return e=li(31,n,t,i),e.elementType=yb,e.lanes=a,e;case bc:return ll(n.children,i,a,t);case j8:o=8,i|=24;break;case gb:return e=li(12,n,t,i|2),e.elementType=gb,e.lanes=a,e;case pb:return e=li(13,n,t,i),e.elementType=pb,e.lanes=a,e;case mb:return e=li(19,n,t,i),e.elementType=mb,e.lanes=a,e;default:if(typeof e==\"object\"&&e!==null)switch(e.$$typeof){case eo:o=10;break e;case q8:o=9;break e;case c2:o=11;break e;case u2:o=14;break e;case Vo:o=16,r=null;break e}o=29,n=Error(de(130,e===null?\"null\":typeof e,\"\")),r=null}return t=li(o,n,t,i),t.elementType=e,t.type=r,t.lanes=a,t}function ll(e,t,n,r){return e=li(7,e,r,t),e.lanes=n,e}function Ky(e,t,n){return e=li(6,e,null,t),e.lanes=n,e}function CC(e){var t=li(18,null,null,0);return t.stateNode=e,t}function $y(e,t,n){return t=li(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Ux=new WeakMap;function ki(e,t){if(typeof e==\"object\"&&e!==null){var n=Ux.get(e);return n!==void 0?n:(t={value:e,source:t,stack:hx(t)},Ux.set(e,t),t)}return{value:e,source:t,stack:hx(t)}}var Ac=[],kc=0,ig=null,xf=0,Ti=[],Ei=0,cs=null,la=1,ca=\"\";function Xa(e,t){Ac[kc++]=xf,Ac[kc++]=ig,ig=e,xf=t}function SC(e,t,n){Ti[Ei++]=la,Ti[Ei++]=ca,Ti[Ei++]=cs,cs=e;var r=la;e=ca;var i=32-fi(r)-1;r&=~(1<<i),n+=1;var a=32-fi(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,la=1<<32-fi(t)+i|n<<i|r,ca=a+e}else la=1<<a|n<<i|r,ca=e}function _2(e){e.return!==null&&(Xa(e,1),SC(e,1,0))}function T2(e){for(;e===ig;)ig=Ac[--kc],Ac[kc]=null,xf=Ac[--kc],Ac[kc]=null;for(;e===cs;)cs=Ti[--Ei],Ti[Ei]=null,ca=Ti[--Ei],Ti[Ei]=null,la=Ti[--Ei],Ti[Ei]=null}function _C(e,t){Ti[Ei++]=la,Ti[Ei++]=ca,Ti[Ei++]=cs,la=t.id,ca=t.overflow,cs=e}var fr=null,En=null,Dt=!1,ts=null,Bi=!1,Rb=Error(de(519));function us(e){var t=Error(de(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?\"text\":\"HTML\",\"\"));throw Cf(ki(t,e)),Rb}function Ox(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[dr]=e,t[Fr]=r,n){case\"dialog\":Ot(\"cancel\",t),Ot(\"close\",t);break;case\"iframe\":case\"object\":case\"embed\":Ot(\"load\",t);break;case\"video\":case\"audio\":for(n=0;n<Ef.length;n++)Ot(Ef[n],t);break;case\"source\":Ot(\"error\",t);break;case\"img\":case\"image\":case\"link\":Ot(\"error\",t),Ot(\"load\",t);break;case\"details\":Ot(\"toggle\",t);break;case\"input\":Ot(\"invalid\",t),eC(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case\"select\":Ot(\"invalid\",t);break;case\"textarea\":Ot(\"invalid\",t),nC(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=\"string\"&&typeof n!=\"number\"&&typeof n!=\"bigint\"||t.textContent===\"\"+n||r.suppressHydrationWarning===!0||o9(t.textContent,n)?(r.popover!=null&&(Ot(\"beforetoggle\",t),Ot(\"toggle\",t)),r.onScroll!=null&&Ot(\"scroll\",t),r.onScrollEnd!=null&&Ot(\"scrollend\",t),r.onClick!=null&&(t.onclick=to),t=!0):t=!1,t||us(e,!0)}function Ix(e){for(fr=e.return;fr;)switch(fr.tag){case 5:case 31:case 13:Bi=!1;return;case 27:case 3:Bi=!0;return;default:fr=fr.return}}function gc(e){if(e!==fr)return!1;if(!Dt)return Ix(e),Dt=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!==\"form\"&&n!==\"button\")||n2(e.type,e.memoizedProps)),n=!n),n&&En&&us(e),Ix(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(de(317));En=C8(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(de(317));En=C8(e)}else t===27?(t=En,gs(e.type)?(e=o2,o2=null,En=e):En=t):En=fr?Ri(e.stateNode.nextSibling):null;return!0}function fl(){En=fr=null,Dt=!1}function Zy(){var e=ts;return e!==null&&(Vr===null?Vr=e:Vr.push.apply(Vr,e),ts=null),e}function Cf(e){ts===null?ts=[e]:ts.push(e)}var Ub=fa(null),xl=null,no=null;function Fo(e,t,n){bn(Ub,t._currentValue),t._currentValue=n}function io(e){e._currentValue=Ub.current,or(Ub)}function Ob(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ib(e,t,n,r){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var a=i.dependencies;if(a!==null){var o=i.child;a=a.firstContext;e:for(;a!==null;){var s=a;a=i;for(var l=0;l<t.length;l++)if(s.context===t[l]){a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Ob(a.return,n,e),r||(o=null);break e}a=s.next}}else if(i.tag===18){if(o=i.return,o===null)throw Error(de(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Ob(o,n,e),o=null}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===e){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}}function Gc(e,t,n,r){e=null;for(var i=t,a=!1;i!==null;){if(!a){if((i.flags&524288)!==0)a=!0;else if((i.flags&262144)!==0)break}if(i.tag===10){var o=i.alternate;if(o===null)throw Error(de(387));if(o=o.memoizedProps,o!==null){var s=i.type;gi(i.pendingProps.value,o.value)||(e!==null?e.push(s):e=[s])}}else if(i===Q0.current){if(o=i.alternate,o===null)throw Error(de(387));o.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(e!==null?e.push(kf):e=[kf])}i=i.return}e!==null&&Ib(t,e,n,r),t.flags|=262144}function ag(e){for(e=e.firstContext;e!==null;){if(!gi(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function hl(e){xl=e,no=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function hr(e){return TC(xl,e)}function E0(e,t){return xl===null&&hl(e),TC(e,t)}function TC(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},no===null){if(e===null)throw Error(de(308));no=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else no=no.next=t;return n}var AI=typeof AbortController<\"u\"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,r){e.push(r)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},kI=tr.unstable_scheduleCallback,BI=tr.unstable_NormalPriority,Yn={$$typeof:eo,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function E2(){return{controller:new AI,data:new Map,refCount:0}}function zf(e){e.refCount--,e.refCount===0&&kI(BI,function(){e.controller.abort()})}var sf=null,Nb=0,jc=0,Oc=null;function MI(e,t){if(sf===null){var n=sf=[];Nb=0,jc=Q2(),Oc={status:\"pending\",value:void 0,then:function(r){n.push(r)}}}return Nb++,t.then(Nx,Nx),t}function Nx(){if(--Nb===0&&sf!==null){Oc!==null&&(Oc.status=\"fulfilled\");var e=sf;sf=null,jc=0,Oc=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function RI(e,t){var n=[],r={status:\"pending\",value:null,reason:null,then:function(i){n.push(i)}};return e.then(function(){r.status=\"fulfilled\",r.value=t;for(var i=0;i<n.length;i++)(0,n[i])(t)},function(i){for(r.status=\"rejected\",r.reason=i,i=0;i<n.length;i++)(0,n[i])(void 0)}),r}var Px=rt.S;rt.S=function(e,t){LS=ui(),typeof t==\"object\"&&t!==null&&typeof t.then==\"function\"&&MI(e,t),Px!==null&&Px(e,t)};var cl=fa(null);function A2(){var e=cl.current;return e!==null?e:hn.pooledCache}function q0(e,t){t===null?bn(cl,cl.current):bn(cl,t.pool)}function EC(){var e=A2();return e===null?null:{parent:Yn._currentValue,pool:e}}var Qc=Error(de(460)),k2=Error(de(474)),Ug=Error(de(542)),og={then:function(){}};function zx(e){return e=e.status,e===\"fulfilled\"||e===\"rejected\"}function AC(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(to,to),t=n),t.status){case\"fulfilled\":return t.value;case\"rejected\":throw e=t.reason,Lx(e),e;default:if(typeof t.status==\"string\")t.then(to,to);else{if(e=hn,e!==null&&100<e.shellSuspendCounter)throw Error(de(482));e=t,e.status=\"pending\",e.then(function(r){if(t.status===\"pending\"){var i=t;i.status=\"fulfilled\",i.value=r}},function(r){if(t.status===\"pending\"){var i=t;i.status=\"rejected\",i.reason=r}})}switch(t.status){case\"fulfilled\":return t.value;case\"rejected\":throw e=t.reason,Lx(e),e}throw ul=t,Qc}}function al(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n==\"object\"&&typeof n.then==\"function\"?(ul=n,Qc):n}}var ul=null;function Dx(){if(ul===null)throw Error(de(459));var e=ul;return ul=null,e}function Lx(e){if(e===Qc||e===Ug)throw Error(de(483))}var Ic=null,Sf=0;function A0(e){var t=Sf;return Sf+=1,Ic===null&&(Ic=[]),AC(Ic,e,t)}function $d(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function k0(e,t){throw t.$$typeof===yO?Error(de(525)):(e=Object.prototype.toString.call(t),Error(de(31,e===\"[object Object]\"?\"object with keys {\"+Object.keys(t).join(\", \")+\"}\":e)))}function kC(e){function t(C,v){if(e){var T=C.deletions;T===null?(C.deletions=[v],C.flags|=16):T.push(v)}}function n(C,v){if(!e)return null;for(;v!==null;)t(C,v),v=v.sibling;return null}function r(C){for(var v=new Map;C!==null;)C.key!==null?v.set(C.key,C):v.set(C.index,C),C=C.sibling;return v}function i(C,v){return C=ro(C,v),C.index=0,C.sibling=null,C}function a(C,v,T){return C.index=T,e?(T=C.alternate,T!==null?(T=T.index,T<v?(C.flags|=67108866,v):T):(C.flags|=67108866,v)):(C.flags|=1048576,v)}function o(C){return e&&C.alternate===null&&(C.flags|=67108866),C}function s(C,v,T,R){return v===null||v.tag!==6?(v=Ky(T,C.mode,R),v.return=C,v):(v=i(v,T),v.return=C,v)}function l(C,v,T,R){var O=T.type;return O===bc?u(C,v,T.props.children,R,T.key):v!==null&&(v.elementType===O||typeof O==\"object\"&&O!==null&&O.$$typeof===Vo&&al(O)===v.type)?(v=i(v,T.props),$d(v,T),v.return=C,v):(v=j0(T.type,T.key,T.props,null,C.mode,R),$d(v,T),v.return=C,v)}function c(C,v,T,R){return v===null||v.tag!==4||v.stateNode.containerInfo!==T.containerInfo||v.stateNode.implementation!==T.implementation?(v=$y(T,C.mode,R),v.return=C,v):(v=i(v,T.children||[]),v.return=C,v)}function u(C,v,T,R,O){return v===null||v.tag!==7?(v=ll(T,C.mode,R,O),v.return=C,v):(v=i(v,T),v.return=C,v)}function d(C,v,T){if(typeof v==\"string\"&&v!==\"\"||typeof v==\"number\"||typeof v==\"bigint\")return v=Ky(\"\"+v,C.mode,T),v.return=C,v;if(typeof v==\"object\"&&v!==null){switch(v.$$typeof){case b0:return T=j0(v.type,v.key,v.props,null,C.mode,T),$d(T,v),T.return=C,T;case Xd:return v=$y(v,C.mode,T),v.return=C,v;case Vo:return v=al(v),d(C,v,T)}if(Jd(v)||Fd(v))return v=ll(v,C.mode,T,null),v.return=C,v;if(typeof v.then==\"function\")return d(C,A0(v),T);if(v.$$typeof===eo)return d(C,E0(C,v),T);k0(C,v)}return null}function h(C,v,T,R){var O=v!==null?v.key:null;if(typeof T==\"string\"&&T!==\"\"||typeof T==\"number\"||typeof T==\"bigint\")return O!==null?null:s(C,v,\"\"+T,R);if(typeof T==\"object\"&&T!==null){switch(T.$$typeof){case b0:return T.key===O?l(C,v,T,R):null;case Xd:return T.key===O?c(C,v,T,R):null;case Vo:return T=al(T),h(C,v,T,R)}if(Jd(T)||Fd(T))return O!==null?null:u(C,v,T,R,null);if(typeof T.then==\"function\")return h(C,v,A0(T),R);if(T.$$typeof===eo)return h(C,v,E0(C,T),R);k0(C,T)}return null}function g(C,v,T,R,O){if(typeof R==\"string\"&&R!==\"\"||typeof R==\"number\"||typeof R==\"bigint\")return C=C.get(T)||null,s(v,C,\"\"+R,O);if(typeof R==\"object\"&&R!==null){switch(R.$$typeof){case b0:return C=C.get(R.key===null?T:R.key)||null,l(v,C,R,O);case Xd:return C=C.get(R.key===null?T:R.key)||null,c(v,C,R,O);case Vo:return R=al(R),g(C,v,T,R,O)}if(Jd(R)||Fd(R))return C=C.get(T)||null,u(v,C,R,O,null);if(typeof R.then==\"function\")return g(C,v,T,A0(R),O);if(R.$$typeof===eo)return g(C,v,T,E0(v,R),O);k0(v,R)}return null}function y(C,v,T,R){for(var O=null,re=null,B=v,q=v=0,z=null;B!==null&&q<T.length;q++){B.index>q?(z=B,B=null):z=B.sibling;var K=h(C,B,T[q],R);if(K===null){B===null&&(B=z);break}e&&B&&K.alternate===null&&t(C,B),v=a(K,v,q),re===null?O=K:re.sibling=K,re=K,B=z}if(q===T.length)return n(C,B),Dt&&Xa(C,q),O;if(B===null){for(;q<T.length;q++)B=d(C,T[q],R),B!==null&&(v=a(B,v,q),re===null?O=B:re.sibling=B,re=B);return Dt&&Xa(C,q),O}for(B=r(B);q<T.length;q++)z=g(B,C,q,T[q],R),z!==null&&(e&&z.alternate!==null&&B.delete(z.key===null?q:z.key),v=a(z,v,q),re===null?O=z:re.sibling=z,re=z);return e&&B.forEach(function(j){return t(C,j)}),Dt&&Xa(C,q),O}function E(C,v,T,R){if(T==null)throw Error(de(151));for(var O=null,re=null,B=v,q=v=0,z=null,K=T.next();B!==null&&!K.done;q++,K=T.next()){B.index>q?(z=B,B=null):z=B.sibling;var j=h(C,B,K.value,R);if(j===null){B===null&&(B=z);break}e&&B&&j.alternate===null&&t(C,B),v=a(j,v,q),re===null?O=j:re.sibling=j,re=j,B=z}if(K.done)return n(C,B),Dt&&Xa(C,q),O;if(B===null){for(;!K.done;q++,K=T.next())K=d(C,K.value,R),K!==null&&(v=a(K,v,q),re===null?O=K:re.sibling=K,re=K);return Dt&&Xa(C,q),O}for(B=r(B);!K.done;q++,K=T.next())K=g(B,C,q,K.value,R),K!==null&&(e&&K.alternate!==null&&B.delete(K.key===null?q:K.key),v=a(K,v,q),re===null?O=K:re.sibling=K,re=K);return e&&B.forEach(function(N){return t(C,N)}),Dt&&Xa(C,q),O}function L(C,v,T,R){if(typeof T==\"object\"&&T!==null&&T.type===bc&&T.key===null&&(T=T.props.children),typeof T==\"object\"&&T!==null){switch(T.$$typeof){case b0:e:{for(var O=T.key;v!==null;){if(v.key===O){if(O=T.type,O===bc){if(v.tag===7){n(C,v.sibling),R=i(v,T.props.children),R.return=C,C=R;break e}}else if(v.elementType===O||typeof O==\"object\"&&O!==null&&O.$$typeof===Vo&&al(O)===v.type){n(C,v.sibling),R=i(v,T.props),$d(R,T),R.return=C,C=R;break e}n(C,v);break}else t(C,v);v=v.sibling}T.type===bc?(R=ll(T.props.children,C.mode,R,T.key),R.return=C,C=R):(R=j0(T.type,T.key,T.props,null,C.mode,R),$d(R,T),R.return=C,C=R)}return o(C);case Xd:e:{for(O=T.key;v!==null;){if(v.key===O)if(v.tag===4&&v.stateNode.containerInfo===T.containerInfo&&v.stateNode.implementation===T.implementation){n(C,v.sibling),R=i(v,T.children||[]),R.return=C,C=R;break e}else{n(C,v);break}else t(C,v);v=v.sibling}R=$y(T,C.mode,R),R.return=C,C=R}return o(C);case Vo:return T=al(T),L(C,v,T,R)}if(Jd(T))return y(C,v,T,R);if(Fd(T)){if(O=Fd(T),typeof O!=\"function\")throw Error(de(150));return T=O.call(T),E(C,v,T,R)}if(typeof T.then==\"function\")return L(C,v,A0(T),R);if(T.$$typeof===eo)return L(C,v,E0(C,T),R);k0(C,T)}return typeof T==\"string\"&&T!==\"\"||typeof T==\"number\"||typeof T==\"bigint\"?(T=\"\"+T,v!==null&&v.tag===6?(n(C,v.sibling),R=i(v,T),R.return=C,C=R):(n(C,v),R=Ky(T,C.mode,R),R.return=C,C=R),o(C)):n(C,v)}return function(C,v,T,R){try{Sf=0;var O=L(C,v,T,R);return Ic=null,O}catch(B){if(B===Qc||B===Ug)throw B;var re=li(29,B,null,C.mode);return re.lanes=R,re.return=C,re}finally{}}}var gl=kC(!0),BC=kC(!1),Wo=!1;function B2(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Pb(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ns(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function rs(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(Xt&2)!==0){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=rg(e),wC(e,null,n),t}return Rg(e,r,t,n),rg(e)}function lf(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,$8(e,n)}}function Yy(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var zb=!1;function cf(){if(zb){var e=Oc;if(e!==null)throw e}}function uf(e,t,n,r){zb=!1;var i=e.updateQueue;Wo=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var l=s,c=l.next;l.next=null,o===null?a=c:o.next=c,o=l;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(a!==null){var d=i.baseState;o=0,u=c=l=null,s=a;do{var h=s.lane&-536870913,g=h!==s.lane;if(g?(Nt&h)===h:(r&h)===h){h!==0&&h===jc&&(zb=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var y=e,E=s;h=t;var L=n;switch(E.tag){case 1:if(y=E.payload,typeof y==\"function\"){d=y.call(L,d,h);break e}d=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=E.payload,h=typeof y==\"function\"?y.call(L,d,h):y,h==null)break e;d=An({},d,h);break e;case 2:Wo=!0}}h=s.callback,h!==null&&(e.flags|=64,g&&(e.flags|=8192),g=i.callbacks,g===null?i.callbacks=[h]:g.push(h))}else g={lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(c=u=g,l=d):u=u.next=g,o|=h;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;g=s,s=g.next,g.next=null,i.lastBaseUpdate=g,i.shared.pending=null}}while(!0);u===null&&(l=d),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),fs|=o,e.lanes=o,e.memoizedState=d}}function MC(e,t){if(typeof e!=\"function\")throw Error(de(191,e));e.call(t)}function RC(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)MC(n[e],t)}var qc=fa(null),sg=fa(0);function jx(e,t){e=uo,bn(sg,e),bn(qc,t),uo=e|t.baseLanes}function Db(){bn(sg,uo),bn(qc,qc.current)}function M2(){uo=sg.current,or(qc),or(sg)}var pi=fa(null),Mi=null;function Ko(e){var t=e.alternate;bn(Wn,Wn.current&1),bn(pi,e),Mi===null&&(t===null||qc.current!==null||t.memoizedState!==null)&&(Mi=e)}function Lb(e){bn(Wn,Wn.current),bn(pi,e),Mi===null&&(Mi=e)}function UC(e){e.tag===22?(bn(Wn,Wn.current),bn(pi,e),Mi===null&&(Mi=e)):$o(e)}function $o(){bn(Wn,Wn.current),bn(pi,pi.current)}function si(e){or(pi),Mi===e&&(Mi=null),or(Wn)}var Wn=fa(0);function lg(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||i2(n)||a2(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder===\"forwards\"||t.memoizedProps.revealOrder===\"backwards\"||t.memoizedProps.revealOrder===\"unstable_legacy-backwards\"||t.memoizedProps.revealOrder===\"together\")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var so=0,bt=null,dn=null,$n=null,cg=!1,Nc=!1,pl=!1,ug=0,_f=0,Pc=null,UI=0;function Ln(){throw Error(de(321))}function R2(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!gi(e[n],t[n]))return!1;return!0}function U2(e,t,n,r,i,a){return so=a,bt=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,rt.H=e===null||e.memoizedState===null?cS:V2,pl=!1,a=n(r,i),pl=!1,Nc&&(a=IC(t,n,r,i)),OC(e),a}function OC(e){rt.H=Tf;var t=dn!==null&&dn.next!==null;if(so=0,$n=dn=bt=null,cg=!1,_f=0,Pc=null,t)throw Error(de(300));e===null||Gn||(e=e.dependencies,e!==null&&ag(e)&&(Gn=!0))}function IC(e,t,n,r){bt=e;var i=0;do{if(Nc&&(Pc=null),_f=0,Nc=!1,25<=i)throw Error(de(301));if(i+=1,$n=dn=null,e.updateQueue!=null){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,a.memoCache!=null&&(a.memoCache.index=0)}rt.H=uS,a=t(n,r)}while(Nc);return a}function OI(){var e=rt.H,t=e.useState()[0];return t=typeof t.then==\"function\"?Df(t):t,e=e.useState()[0],(dn!==null?dn.memoizedState:null)!==e&&(bt.flags|=1024),t}function O2(){var e=ug!==0;return ug=0,e}function I2(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function N2(e){if(cg){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}cg=!1}so=0,$n=dn=bt=null,Nc=!1,_f=ug=0,Pc=null}function Br(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return $n===null?bt.memoizedState=$n=e:$n=$n.next=e,$n}function Fn(){if(dn===null){var e=bt.alternate;e=e!==null?e.memoizedState:null}else e=dn.next;var t=$n===null?bt.memoizedState:$n.next;if(t!==null)$n=t,dn=e;else{if(e===null)throw bt.alternate===null?Error(de(467)):Error(de(310));dn=e,e={memoizedState:dn.memoizedState,baseState:dn.baseState,baseQueue:dn.baseQueue,queue:dn.queue,next:null},$n===null?bt.memoizedState=$n=e:$n=$n.next=e}return $n}function Og(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Df(e){var t=_f;return _f+=1,Pc===null&&(Pc=[]),e=AC(Pc,e,t),t=bt,($n===null?t.memoizedState:$n.next)===null&&(t=t.alternate,rt.H=t===null||t.memoizedState===null?cS:V2),e}function Ig(e){if(e!==null&&typeof e==\"object\"){if(typeof e.then==\"function\")return Df(e);if(e.$$typeof===eo)return hr(e)}throw Error(de(438,String(e)))}function P2(e){var t=null,n=bt.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=bt.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(i){return i.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=Og(),bt.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=bO;return t.index++,n}function lo(e,t){return typeof t==\"function\"?t(e):t}function H0(e){var t=Fn();return z2(t,dn,e)}function z2(e,t,n){var r=e.queue;if(r===null)throw Error(de(311));r.lastRenderedReducer=n;var i=e.baseQueue,a=r.pending;if(a!==null){if(i!==null){var o=i.next;i.next=a.next,a.next=o}t.baseQueue=i=a,r.pending=null}if(a=e.baseState,i===null)e.memoizedState=a;else{t=i.next;var s=o=null,l=null,c=t,u=!1;do{var d=c.lane&-536870913;if(d!==c.lane?(Nt&d)===d:(so&d)===d){var h=c.revertLane;if(h===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),d===jc&&(u=!0);else if((so&h)===h){c=c.next,h===jc&&(u=!0);continue}else d={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},l===null?(s=l=d,o=a):l=l.next=d,bt.lanes|=h,fs|=h;d=c.action,pl&&n(a,d),a=c.hasEagerState?c.eagerState:n(a,d)}else h={lane:d,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},l===null?(s=l=h,o=a):l=l.next=h,bt.lanes|=d,fs|=d;c=c.next}while(c!==null&&c!==t);if(l===null?o=a:l.next=s,!gi(a,e.memoizedState)&&(Gn=!0,u&&(n=Oc,n!==null)))throw n;e.memoizedState=a,e.baseState=o,e.baseQueue=l,r.lastRenderedState=a}return i===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Gy(e){var t=Fn(),n=t.queue;if(n===null)throw Error(de(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do a=e(a,o.action),o=o.next;while(o!==i);gi(a,t.memoizedState)||(Gn=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function NC(e,t,n){var r=bt,i=Fn(),a=Dt;if(a){if(n===void 0)throw Error(de(407));n=n()}else n=t();var o=!gi((dn||i).memoizedState,n);if(o&&(i.memoizedState=n,Gn=!0),i=i.queue,D2(DC.bind(null,r,i,e),[e]),i.getSnapshot!==t||o||$n!==null&&$n.memoizedState.tag&1){if(r.flags|=2048,Hc(9,{destroy:void 0},zC.bind(null,r,i,n,t),null),hn===null)throw Error(de(349));a||(so&127)!==0||PC(r,t,n)}return n}function PC(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=bt.updateQueue,t===null?(t=Og(),bt.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function zC(e,t,n,r){t.value=n,t.getSnapshot=r,LC(t)&&jC(e)}function DC(e,t,n){return n(function(){LC(t)&&jC(e)})}function LC(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!gi(e,n)}catch{return!0}}function jC(e){var t=wl(e,2);t!==null&&Wr(t,e,2)}function jb(e){var t=Br();if(typeof e==\"function\"){var n=e;if(e=n(),pl){Yo(!0);try{n()}finally{Yo(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:lo,lastRenderedState:e},t}function qC(e,t,n,r){return e.baseState=n,z2(e,dn,typeof r==\"function\"?r:lo)}function II(e,t,n,r,i){if(Pg(e))throw Error(de(485));if(e=t.action,e!==null){var a={payload:i,action:e,next:null,isTransition:!0,status:\"pending\",value:null,reason:null,listeners:[],then:function(o){a.listeners.push(o)}};rt.T!==null?n(!0):a.isTransition=!1,r(a),n=t.pending,n===null?(a.next=t.pending=a,HC(t,a)):(a.next=n.next,t.pending=n.next=a)}}function HC(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=rt.T,o={};rt.T=o;try{var s=n(i,r),l=rt.S;l!==null&&l(o,s),qx(e,t,s)}catch(c){qb(e,t,c)}finally{a!==null&&o.types!==null&&(a.types=o.types),rt.T=a}}else try{a=n(i,r),qx(e,t,a)}catch(c){qb(e,t,c)}}function qx(e,t,n){n!==null&&typeof n==\"object\"&&typeof n.then==\"function\"?n.then(function(r){Hx(e,t,r)},function(r){return qb(e,t,r)}):Hx(e,t,n)}function Hx(e,t,n){t.status=\"fulfilled\",t.value=n,VC(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,HC(e,n)))}function qb(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=\"rejected\",t.reason=n,VC(t),t=t.next;while(t!==r)}e.action=null}function VC(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function WC(e,t){return t}function Vx(e,t){if(Dt){var n=hn.formState;if(n!==null){e:{var r=bt;if(Dt){if(En){t:{for(var i=En,a=Bi;i.nodeType!==8;){if(!a){i=null;break t}if(i=Ri(i.nextSibling),i===null){i=null;break t}}a=i.data,i=a===\"F!\"||a===\"F\"?i:null}if(i){En=Ri(i.nextSibling),r=i.data===\"F!\";break e}}us(r)}r=!1}r&&(t=n[0])}}return n=Br(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:WC,lastRenderedState:t},n.queue=r,n=oS.bind(null,bt,r),r.dispatch=n,r=jb(!1),a=H2.bind(null,bt,!1,r.queue),r=Br(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=II.bind(null,bt,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function Wx(e){var t=Fn();return FC(t,dn,e)}function FC(e,t,n){if(t=z2(e,t,WC)[0],e=H0(lo)[0],typeof t==\"object\"&&t!==null&&typeof t.then==\"function\")try{var r=Df(t)}catch(o){throw o===Qc?Ug:o}else r=t;t=Fn();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(bt.flags|=2048,Hc(9,{destroy:void 0},NI.bind(null,i,n),null)),[r,a,e]}function NI(e,t){e.action=t}function Fx(e){var t=Fn(),n=dn;if(n!==null)return FC(t,n,e);Fn(),t=t.memoizedState,n=Fn();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function Hc(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=bt.updateQueue,t===null&&(t=Og(),bt.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function KC(){return Fn().memoizedState}function V0(e,t,n,r){var i=Br();bt.flags|=e,i.memoizedState=Hc(1|t,{destroy:void 0},n,r===void 0?null:r)}function Ng(e,t,n,r){var i=Fn();r=r===void 0?null:r;var a=i.memoizedState.inst;dn!==null&&r!==null&&R2(r,dn.memoizedState.deps)?i.memoizedState=Hc(t,a,n,r):(bt.flags|=e,i.memoizedState=Hc(1|t,a,n,r))}function Kx(e,t){V0(8390656,8,e,t)}function D2(e,t){Ng(2048,8,e,t)}function PI(e){bt.flags|=4;var t=bt.updateQueue;if(t===null)t=Og(),bt.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function $C(e){var t=Fn().memoizedState;return PI({ref:t,nextImpl:e}),function(){if((Xt&2)!==0)throw Error(de(440));return t.impl.apply(void 0,arguments)}}function ZC(e,t){return Ng(4,2,e,t)}function YC(e,t){return Ng(4,4,e,t)}function GC(e,t){if(typeof t==\"function\"){e=e();var n=t(e);return function(){typeof n==\"function\"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function QC(e,t,n){n=n!=null?n.concat([e]):null,Ng(4,4,GC.bind(null,t,e),n)}function L2(){}function XC(e,t){var n=Fn();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&R2(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function JC(e,t){var n=Fn();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&R2(t,r[1]))return r[0];if(r=e(),pl){Yo(!0);try{e()}finally{Yo(!1)}}return n.memoizedState=[r,t],r}function j2(e,t,n){return n===void 0||(so&1073741824)!==0&&(Nt&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=qS(),bt.lanes|=e,fs|=e,n)}function eS(e,t,n,r){return gi(n,t)?n:qc.current!==null?(e=j2(e,n,r),gi(e,t)||(Gn=!0),e):(so&42)===0||(so&1073741824)!==0&&(Nt&261930)===0?(Gn=!0,e.memoizedState=n):(e=qS(),bt.lanes|=e,fs|=e,t)}function tS(e,t,n,r,i){var a=Jt.p;Jt.p=a!==0&&8>a?a:8;var o=rt.T,s={};rt.T=s,H2(e,!1,t,n);try{var l=i(),c=rt.S;if(c!==null&&c(s,l),l!==null&&typeof l==\"object\"&&typeof l.then==\"function\"){var u=RI(l,r);df(e,t,u,hi(e))}else df(e,t,r,hi(e))}catch(d){df(e,t,{then:function(){},status:\"rejected\",reason:d},hi())}finally{Jt.p=a,o!==null&&s.types!==null&&(o.types=s.types),rt.T=o}}function zI(){}function Hb(e,t,n,r){if(e.tag!==5)throw Error(de(476));var i=nS(e).queue;tS(e,i,t,sl,n===null?zI:function(){return rS(e),n(r)})}function nS(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:sl,baseState:sl,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:lo,lastRenderedState:sl},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:lo,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function rS(e){var t=nS(e);t.next===null&&(t=e.alternate.memoizedState),df(e,t.next.queue,{},hi())}function q2(){return hr(kf)}function iS(){return Fn().memoizedState}function aS(){return Fn().memoizedState}function DI(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=hi();e=ns(n);var r=rs(t,e,n);r!==null&&(Wr(r,t,n),lf(r,t,n)),t={cache:E2()},e.payload=t;return}t=t.return}}function LI(e,t,n){var r=hi();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Pg(e)?sS(t,n):(n=C2(e,t,n,r),n!==null&&(Wr(n,e,r),lS(n,t,r)))}function oS(e,t,n){var r=hi();df(e,t,n,r)}function df(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Pg(e))sS(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,gi(s,o))return Rg(e,t,i,0),hn===null&&Mg(),!1}catch{}finally{}if(n=C2(e,t,i,r),n!==null)return Wr(n,e,r),lS(n,t,r),!0}return!1}function H2(e,t,n,r){if(r={lane:2,revertLane:Q2(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Pg(e)){if(t)throw Error(de(479))}else t=C2(e,n,r,2),t!==null&&Wr(t,e,2)}function Pg(e){var t=e.alternate;return e===bt||t!==null&&t===bt}function sS(e,t){Nc=cg=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function lS(e,t,n){if((n&4194048)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,$8(e,n)}}var Tf={readContext:hr,use:Ig,useCallback:Ln,useContext:Ln,useEffect:Ln,useImperativeHandle:Ln,useLayoutEffect:Ln,useInsertionEffect:Ln,useMemo:Ln,useReducer:Ln,useRef:Ln,useState:Ln,useDebugValue:Ln,useDeferredValue:Ln,useTransition:Ln,useSyncExternalStore:Ln,useId:Ln,useHostTransitionStatus:Ln,useFormState:Ln,useActionState:Ln,useOptimistic:Ln,useMemoCache:Ln,useCacheRefresh:Ln};Tf.useEffectEvent=Ln;var cS={readContext:hr,use:Ig,useCallback:function(e,t){return Br().memoizedState=[e,t===void 0?null:t],e},useContext:hr,useEffect:Kx,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,V0(4194308,4,GC.bind(null,t,e),n)},useLayoutEffect:function(e,t){return V0(4194308,4,e,t)},useInsertionEffect:function(e,t){V0(4,2,e,t)},useMemo:function(e,t){var n=Br();t=t===void 0?null:t;var r=e();if(pl){Yo(!0);try{e()}finally{Yo(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=Br();if(n!==void 0){var i=n(t);if(pl){Yo(!0);try{n(t)}finally{Yo(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=LI.bind(null,bt,e),[r.memoizedState,e]},useRef:function(e){var t=Br();return e={current:e},t.memoizedState=e},useState:function(e){e=jb(e);var t=e.queue,n=oS.bind(null,bt,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:L2,useDeferredValue:function(e,t){var n=Br();return j2(n,e,t)},useTransition:function(){var e=jb(!1);return e=tS.bind(null,bt,e.queue,!0,!1),Br().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=bt,i=Br();if(Dt){if(n===void 0)throw Error(de(407));n=n()}else{if(n=t(),hn===null)throw Error(de(349));(Nt&127)!==0||PC(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,Kx(DC.bind(null,r,a,e),[e]),r.flags|=2048,Hc(9,{destroy:void 0},zC.bind(null,r,a,n,t),null),n},useId:function(){var e=Br(),t=hn.identifierPrefix;if(Dt){var n=ca,r=la;n=(r&~(1<<32-fi(r)-1)).toString(32)+n,t=\"_\"+t+\"R_\"+n,n=ug++,0<n&&(t+=\"H\"+n.toString(32)),t+=\"_\"}else n=UI++,t=\"_\"+t+\"r_\"+n.toString(32)+\"_\";return e.memoizedState=t},useHostTransitionStatus:q2,useFormState:Vx,useActionState:Vx,useOptimistic:function(e){var t=Br();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=H2.bind(null,bt,!0,n),n.dispatch=t,[e,t]},useMemoCache:P2,useCacheRefresh:function(){return Br().memoizedState=DI.bind(null,bt)},useEffectEvent:function(e){var t=Br(),n={impl:e};return t.memoizedState=n,function(){if((Xt&2)!==0)throw Error(de(440));return n.impl.apply(void 0,arguments)}}},V2={readContext:hr,use:Ig,useCallback:XC,useContext:hr,useEffect:D2,useImperativeHandle:QC,useInsertionEffect:ZC,useLayoutEffect:YC,useMemo:JC,useReducer:H0,useRef:KC,useState:function(){return H0(lo)},useDebugValue:L2,useDeferredValue:function(e,t){var n=Fn();return eS(n,dn.memoizedState,e,t)},useTransition:function(){var e=H0(lo)[0],t=Fn().memoizedState;return[typeof e==\"boolean\"?e:Df(e),t]},useSyncExternalStore:NC,useId:iS,useHostTransitionStatus:q2,useFormState:Wx,useActionState:Wx,useOptimistic:function(e,t){var n=Fn();return qC(n,dn,e,t)},useMemoCache:P2,useCacheRefresh:aS};V2.useEffectEvent=$C;var uS={readContext:hr,use:Ig,useCallback:XC,useContext:hr,useEffect:D2,useImperativeHandle:QC,useInsertionEffect:ZC,useLayoutEffect:YC,useMemo:JC,useReducer:Gy,useRef:KC,useState:function(){return Gy(lo)},useDebugValue:L2,useDeferredValue:function(e,t){var n=Fn();return dn===null?j2(n,e,t):eS(n,dn.memoizedState,e,t)},useTransition:function(){var e=Gy(lo)[0],t=Fn().memoizedState;return[typeof e==\"boolean\"?e:Df(e),t]},useSyncExternalStore:NC,useId:iS,useHostTransitionStatus:q2,useFormState:Fx,useActionState:Fx,useOptimistic:function(e,t){var n=Fn();return dn!==null?qC(n,dn,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:P2,useCacheRefresh:aS};uS.useEffectEvent=$C;function Qy(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:An({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Vb={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=hi(),i=ns(r);i.payload=t,n!=null&&(i.callback=n),t=rs(e,i,r),t!==null&&(Wr(t,e,r),lf(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=hi(),i=ns(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=rs(e,i,r),t!==null&&(Wr(t,e,r),lf(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=hi(),r=ns(n);r.tag=2,t!=null&&(r.callback=t),t=rs(e,r,n),t!==null&&(Wr(t,e,n),lf(t,e,n))}};function $x(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==\"function\"?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!wf(n,r)||!wf(i,a):!0}function Zx(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==\"function\"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==\"function\"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Vb.enqueueReplaceState(t,t.state,null)}function ml(e,t){var n=t;if(\"ref\"in t){n={};for(var r in t)r!==\"ref\"&&(n[r]=t[r])}if(e=e.defaultProps){n===t&&(n=An({},n));for(var i in e)n[i]===void 0&&(n[i]=e[i])}return n}function dS(e){ng(e)}function fS(e){console.error(e)}function hS(e){ng(e)}function dg(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(r){setTimeout(function(){throw r})}}function Yx(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(i){setTimeout(function(){throw i})}}function Wb(e,t,n){return n=ns(n),n.tag=3,n.payload={element:null},n.callback=function(){dg(e,t)},n}function gS(e){return e=ns(e),e.tag=3,e}function pS(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==\"function\"){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){Yx(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==\"function\"&&(e.callback=function(){Yx(t,n,r),typeof i!=\"function\"&&(is===null?is=new Set([this]):is.add(this));var s=r.stack;this.componentDidCatch(r.value,{componentStack:s!==null?s:\"\"})})}function jI(e,t,n,r,i){if(n.flags|=32768,r!==null&&typeof r==\"object\"&&typeof r.then==\"function\"){if(t=n.alternate,t!==null&&Gc(t,n,i,!0),n=pi.current,n!==null){switch(n.tag){case 31:case 13:return Mi===null?mg():n.alternate===null&&jn===0&&(jn=3),n.flags&=-257,n.flags|=65536,n.lanes=i,r===og?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),lb(e,r,i)),!1;case 22:return n.flags|=65536,r===og?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),lb(e,r,i)),!1}throw Error(de(435,n.tag))}return lb(e,r,i),mg(),!1}if(Dt)return t=pi.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=i,r!==Rb&&(e=Error(de(422),{cause:r}),Cf(ki(e,n)))):(r!==Rb&&(t=Error(de(423),{cause:r}),Cf(ki(t,n))),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,r=ki(r,n),i=Wb(e.stateNode,r,i),Yy(e,i),jn!==4&&(jn=2)),!1;var a=Error(de(520),{cause:r});if(a=ki(a,n),gf===null?gf=[a]:gf.push(a),jn!==4&&(jn=2),t===null)return!0;r=ki(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,e=Wb(n.stateNode,r,e),Yy(n,e),!1;case 1:if(t=n.type,a=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError==\"function\"||a!==null&&typeof a.componentDidCatch==\"function\"&&(is===null||!is.has(a))))return n.flags|=65536,i&=-i,n.lanes|=i,i=gS(i),pS(i,e,n,r),Yy(n,i),!1}n=n.return}while(n!==null);return!1}var W2=Error(de(461)),Gn=!1;function ur(e,t,n,r){t.child=e===null?BC(t,null,n,r):gl(t,e.child,n,r)}function Gx(e,t,n,r,i){n=n.render;var a=t.ref;if(\"ref\"in r){var o={};for(var s in r)s!==\"ref\"&&(o[s]=r[s])}else o=r;return hl(t),r=U2(e,t,n,o,a,i),s=O2(),e!==null&&!Gn?(I2(e,t,i),co(e,t,i)):(Dt&&s&&_2(t),t.flags|=1,ur(e,t,r,i),t.child)}function Qx(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==\"function\"&&!S2(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,mS(e,t,a,r,i)):(e=j0(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!F2(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n!==null?n:wf,n(o,r)&&e.ref===t.ref)return co(e,t,i)}return t.flags|=1,e=ro(a,r),e.ref=t.ref,e.return=t,t.child=e}function mS(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(wf(a,r)&&e.ref===t.ref)if(Gn=!1,t.pendingProps=r=a,F2(e,i))(e.flags&131072)!==0&&(Gn=!0);else return t.lanes=e.lanes,co(e,t,i)}return Fb(e,t,n,r,i)}function yS(e,t,n,r){var i=r.children,a=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===\"hidden\"){if((t.flags&128)!==0){if(a=a!==null?a.baseLanes|n:n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return Xx(e,t,a,n,r)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&q0(t,a!==null?a.cachePool:null),a!==null?jx(t,a):Db(),UC(t);else return r=t.lanes=536870912,Xx(e,t,a!==null?a.baseLanes|n:n,n,r)}else a!==null?(q0(t,a.cachePool),jx(t,a),$o(t),t.memoizedState=null):(e!==null&&q0(t,null),Db(),$o(t));return ur(e,t,i,n),t.child}function tf(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Xx(e,t,n,r,i){var a=A2();return a=a===null?null:{parent:Yn._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&q0(t,null),Db(),UC(t),e!==null&&Gc(e,t,r,!0),t.childLanes=i,null}function W0(e,t){return t=fg({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Jx(e,t,n){return gl(t,e.child,null,n),e=W0(t,t.pendingProps),e.flags|=2,si(t),t.memoizedState=null,e}function qI(e,t,n){var r=t.pendingProps,i=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Dt){if(r.mode===\"hidden\")return e=W0(t,r),t.lanes=536870912,tf(null,e);if(Lb(t),(e=En)?(e=c9(e,Bi),e=e!==null&&e.data===\"&\"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:cs!==null?{id:la,overflow:ca}:null,retryLane:536870912,hydrationErrors:null},n=CC(e),n.return=t,t.child=n,fr=t,En=null)):e=null,e===null)throw us(t);return t.lanes=536870912,null}return W0(t,r)}var a=e.memoizedState;if(a!==null){var o=a.dehydrated;if(Lb(t),i)if(t.flags&256)t.flags&=-257,t=Jx(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(de(558));else if(Gn||Gc(e,t,n,!1),i=(n&e.childLanes)!==0,Gn||i){if(r=hn,r!==null&&(o=Z8(r,n),o!==0&&o!==a.retryLane))throw a.retryLane=o,wl(e,o),Wr(r,e,o),W2;mg(),t=Jx(e,t,n)}else e=a.treeContext,En=Ri(o.nextSibling),fr=t,Dt=!0,ts=null,Bi=!1,e!==null&&_C(t,e),t=W0(t,r),t.flags|=4096;return t}return e=ro(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function F0(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=\"function\"&&typeof n!=\"object\")throw Error(de(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Fb(e,t,n,r,i){return hl(t),n=U2(e,t,n,r,void 0,i),r=O2(),e!==null&&!Gn?(I2(e,t,i),co(e,t,i)):(Dt&&r&&_2(t),t.flags|=1,ur(e,t,n,i),t.child)}function e8(e,t,n,r,i,a){return hl(t),t.updateQueue=null,n=IC(t,r,n,i),OC(e),r=O2(),e!==null&&!Gn?(I2(e,t,a),co(e,t,a)):(Dt&&r&&_2(t),t.flags|=1,ur(e,t,n,a),t.child)}function t8(e,t,n,r,i){if(hl(t),t.stateNode===null){var a=Ec,o=n.contextType;typeof o==\"object\"&&o!==null&&(a=hr(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Vb,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},B2(t),o=n.contextType,a.context=typeof o==\"object\"&&o!==null?hr(o):Ec,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==\"function\"&&(Qy(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==\"function\"||typeof a.getSnapshotBeforeUpdate==\"function\"||typeof a.UNSAFE_componentWillMount!=\"function\"&&typeof a.componentWillMount!=\"function\"||(o=a.state,typeof a.componentWillMount==\"function\"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==\"function\"&&a.UNSAFE_componentWillMount(),o!==a.state&&Vb.enqueueReplaceState(a,a.state,null),uf(t,r,a,i),cf(),a.state=t.memoizedState),typeof a.componentDidMount==\"function\"&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,l=ml(n,s);a.props=l;var c=a.context,u=n.contextType;o=Ec,typeof u==\"object\"&&u!==null&&(o=hr(u));var d=n.getDerivedStateFromProps;u=typeof d==\"function\"||typeof a.getSnapshotBeforeUpdate==\"function\",s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=\"function\"&&typeof a.componentWillReceiveProps!=\"function\"||(s||c!==o)&&Zx(t,a,r,o),Wo=!1;var h=t.memoizedState;a.state=h,uf(t,r,a,i),cf(),c=t.memoizedState,s||h!==c||Wo?(typeof d==\"function\"&&(Qy(t,n,d,r),c=t.memoizedState),(l=Wo||$x(t,n,l,r,h,c,o))?(u||typeof a.UNSAFE_componentWillMount!=\"function\"&&typeof a.componentWillMount!=\"function\"||(typeof a.componentWillMount==\"function\"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==\"function\"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==\"function\"&&(t.flags|=4194308)):(typeof a.componentDidMount==\"function\"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=o,r=l):(typeof a.componentDidMount==\"function\"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Pb(e,t),o=t.memoizedProps,u=ml(n,o),a.props=u,d=t.pendingProps,h=a.context,c=n.contextType,l=Ec,typeof c==\"object\"&&c!==null&&(l=hr(c)),s=n.getDerivedStateFromProps,(c=typeof s==\"function\"||typeof a.getSnapshotBeforeUpdate==\"function\")||typeof a.UNSAFE_componentWillReceiveProps!=\"function\"&&typeof a.componentWillReceiveProps!=\"function\"||(o!==d||h!==l)&&Zx(t,a,r,l),Wo=!1,h=t.memoizedState,a.state=h,uf(t,r,a,i),cf();var g=t.memoizedState;o!==d||h!==g||Wo||e!==null&&e.dependencies!==null&&ag(e.dependencies)?(typeof s==\"function\"&&(Qy(t,n,s,r),g=t.memoizedState),(u=Wo||$x(t,n,u,r,h,g,l)||e!==null&&e.dependencies!==null&&ag(e.dependencies))?(c||typeof a.UNSAFE_componentWillUpdate!=\"function\"&&typeof a.componentWillUpdate!=\"function\"||(typeof a.componentWillUpdate==\"function\"&&a.componentWillUpdate(r,g,l),typeof a.UNSAFE_componentWillUpdate==\"function\"&&a.UNSAFE_componentWillUpdate(r,g,l)),typeof a.componentDidUpdate==\"function\"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==\"function\"&&(t.flags|=1024)):(typeof a.componentDidUpdate!=\"function\"||o===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=\"function\"||o===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),a.props=r,a.state=g,a.context=l,r=u):(typeof a.componentDidUpdate!=\"function\"||o===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=\"function\"||o===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,F0(e,t),r=(t.flags&128)!==0,a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=\"function\"?null:a.render(),t.flags|=1,e!==null&&r?(t.child=gl(t,e.child,null,i),t.child=gl(t,null,n,i)):ur(e,t,n,i),t.memoizedState=a.state,e=t.child):e=co(e,t,i),e}function n8(e,t,n,r){return fl(),t.flags|=256,ur(e,t,n,r),t.child}var Xy={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Jy(e){return{baseLanes:e,cachePool:EC()}}function eb(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=ci),e}function bS(e,t,n){var r=t.pendingProps,i=!1,a=(t.flags&128)!==0,o;if((o=a)||(o=e!==null&&e.memoizedState===null?!1:(Wn.current&2)!==0),o&&(i=!0,t.flags&=-129),o=(t.flags&32)!==0,t.flags&=-33,e===null){if(Dt){if(i?Ko(t):$o(t),(e=En)?(e=c9(e,Bi),e=e!==null&&e.data!==\"&\"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:cs!==null?{id:la,overflow:ca}:null,retryLane:536870912,hydrationErrors:null},n=CC(e),n.return=t,t.child=n,fr=t,En=null)):e=null,e===null)throw us(t);return a2(e)?t.lanes=32:t.lanes=536870912,null}var s=r.children;return r=r.fallback,i?($o(t),i=t.mode,s=fg({mode:\"hidden\",children:s},i),r=ll(r,i,n,null),s.return=t,r.return=t,s.sibling=r,t.child=s,r=t.child,r.memoizedState=Jy(n),r.childLanes=eb(e,o,n),t.memoizedState=Xy,tf(null,r)):(Ko(t),Kb(t,s))}var l=e.memoizedState;if(l!==null&&(s=l.dehydrated,s!==null)){if(a)t.flags&256?(Ko(t),t.flags&=-257,t=tb(e,t,n)):t.memoizedState!==null?($o(t),t.child=e.child,t.flags|=128,t=null):($o(t),s=r.fallback,i=t.mode,r=fg({mode:\"visible\",children:r.children},i),s=ll(s,i,n,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,gl(t,e.child,null,n),r=t.child,r.memoizedState=Jy(n),r.childLanes=eb(e,o,n),t.memoizedState=Xy,t=tf(null,r));else if(Ko(t),a2(s)){if(o=s.nextSibling&&s.nextSibling.dataset,o)var c=o.dgst;o=c,r=Error(de(419)),r.stack=\"\",r.digest=o,Cf({value:r,source:null,stack:null}),t=tb(e,t,n)}else if(Gn||Gc(e,t,n,!1),o=(n&e.childLanes)!==0,Gn||o){if(o=hn,o!==null&&(r=Z8(o,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,wl(e,r),Wr(o,e,r),W2;i2(s)||mg(),t=tb(e,t,n)}else i2(s)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,En=Ri(s.nextSibling),fr=t,Dt=!0,ts=null,Bi=!1,e!==null&&_C(t,e),t=Kb(t,r.children),t.flags|=4096);return t}return i?($o(t),s=r.fallback,i=t.mode,l=e.child,c=l.sibling,r=ro(l,{mode:\"hidden\",children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,c!==null?s=ro(c,s):(s=ll(s,i,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,tf(null,r),r=t.child,s=e.child.memoizedState,s===null?s=Jy(n):(i=s.cachePool,i!==null?(l=Yn._currentValue,i=i.parent!==l?{parent:l,pool:l}:i):i=EC(),s={baseLanes:s.baseLanes|n,cachePool:i}),r.memoizedState=s,r.childLanes=eb(e,o,n),t.memoizedState=Xy,tf(e.child,r)):(Ko(t),n=e.child,e=n.sibling,n=ro(n,{mode:\"visible\",children:r.children}),n.return=t,n.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=n,t.memoizedState=null,n)}function Kb(e,t){return t=fg({mode:\"visible\",children:t},e.mode),t.return=e,e.child=t}function fg(e,t){return e=li(22,e,null,t),e.lanes=0,e}function tb(e,t,n){return gl(t,e.child,null,n),e=Kb(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function r8(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ob(e.return,t,n)}function nb(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function vS(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=Wn.current,s=(o&2)!==0;if(s?(o=o&1|2,t.flags|=128):o&=1,bn(Wn,o),ur(e,t,r,n),r=Dt?xf:0,!s&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&r8(e,n,t);else if(e.tag===19)r8(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case\"forwards\":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&lg(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),nb(t,!1,i,n,a,r);break;case\"backwards\":case\"unstable_legacy-backwards\":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&lg(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}nb(t,!0,n,null,a,r);break;case\"together\":nb(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function co(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),fs|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Gc(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(de(153));if(t.child!==null){for(e=t.child,n=ro(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ro(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function F2(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&ag(e)))}function HI(e,t,n){switch(t.tag){case 3:X0(t,t.stateNode.containerInfo),Fo(t,Yn,e.memoizedState.cache),fl();break;case 27:case 5:wb(t);break;case 4:X0(t,t.stateNode.containerInfo);break;case 10:Fo(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Lb(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated!==null?(Ko(t),t.flags|=128,null):(n&t.child.childLanes)!==0?bS(e,t,n):(Ko(t),e=co(e,t,n),e!==null?e.sibling:null);Ko(t);break;case 19:var i=(e.flags&128)!==0;if(r=(n&t.childLanes)!==0,r||(Gc(e,t,n,!1),r=(n&t.childLanes)!==0),i){if(r)return vS(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),bn(Wn,Wn.current),r)break;return null;case 22:return t.lanes=0,yS(e,t,n,t.pendingProps);case 24:Fo(t,Yn,e.memoizedState.cache)}return co(e,t,n)}function wS(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)Gn=!0;else{if(!F2(e,n)&&(t.flags&128)===0)return Gn=!1,HI(e,t,n);Gn=(e.flags&131072)!==0}else Gn=!1,Dt&&(t.flags&1048576)!==0&&SC(t,xf,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=al(t.elementType),t.type=e,typeof e==\"function\")S2(e)?(r=ml(e,r),t.tag=1,t=t8(null,t,e,r,n)):(t.tag=0,t=Fb(null,t,e,r,n));else{if(e!=null){var i=e.$$typeof;if(i===c2){t.tag=11,t=Gx(null,t,e,r,n);break e}else if(i===u2){t.tag=14,t=Qx(null,t,e,r,n);break e}}throw t=bb(e)||e,Error(de(306,t,\"\"))}}return t;case 0:return Fb(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,i=ml(r,t.pendingProps),t8(e,t,r,i,n);case 3:e:{if(X0(t,t.stateNode.containerInfo),e===null)throw Error(de(387));r=t.pendingProps;var a=t.memoizedState;i=a.element,Pb(e,t),uf(t,r,null,n);var o=t.memoizedState;if(r=o.cache,Fo(t,Yn,r),r!==a.cache&&Ib(t,[Yn],n,!0),cf(),r=o.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:o.cache},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){t=n8(e,t,r,n);break e}else if(r!==i){i=ki(Error(de(424)),t),Cf(i),t=n8(e,t,r,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===\"HTML\"?e.ownerDocument.body:e}for(En=Ri(e.firstChild),fr=t,Dt=!0,ts=null,Bi=!0,n=BC(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(fl(),r===i){t=co(e,t,n);break e}ur(e,t,r,n)}t=t.child}return t;case 26:return F0(e,t),e===null?(n=T8(t.type,null,t.pendingProps,null))?t.memoizedState=n:Dt||(n=t.type,e=t.pendingProps,r=wg(es.current).createElement(n),r[dr]=t,r[Fr]=e,gr(r,n,e),ar(r),t.stateNode=r):t.memoizedState=T8(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return wb(t),e===null&&Dt&&(r=t.stateNode=u9(t.type,t.pendingProps,es.current),fr=t,Bi=!0,i=En,gs(t.type)?(o2=i,En=Ri(r.firstChild)):En=i),ur(e,t,t.pendingProps.children,n),F0(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Dt&&((i=r=En)&&(r=mN(r,t.type,t.pendingProps,Bi),r!==null?(t.stateNode=r,fr=t,En=Ri(r.firstChild),Bi=!1,i=!0):i=!1),i||us(t)),wb(t),i=t.type,a=t.pendingProps,o=e!==null?e.memoizedProps:null,r=a.children,n2(i,a)?r=null:o!==null&&n2(i,o)&&(t.flags|=32),t.memoizedState!==null&&(i=U2(e,t,OI,null,null,n),kf._currentValue=i),F0(e,t),ur(e,t,r,n),t.child;case 6:return e===null&&Dt&&((e=n=En)&&(n=yN(n,t.pendingProps,Bi),n!==null?(t.stateNode=n,fr=t,En=null,e=!0):e=!1),e||us(t)),null;case 13:return bS(e,t,n);case 4:return X0(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=gl(t,null,r,n):ur(e,t,r,n),t.child;case 11:return Gx(e,t,t.type,t.pendingProps,n);case 7:return ur(e,t,t.pendingProps,n),t.child;case 8:return ur(e,t,t.pendingProps.children,n),t.child;case 12:return ur(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,Fo(t,t.type,r.value),ur(e,t,r.children,n),t.child;case 9:return i=t.type._context,r=t.pendingProps.children,hl(t),i=hr(i),r=r(i),t.flags|=1,ur(e,t,r,n),t.child;case 14:return Qx(e,t,t.type,t.pendingProps,n);case 15:return mS(e,t,t.type,t.pendingProps,n);case 19:return vS(e,t,n);case 31:return qI(e,t,n);case 22:return yS(e,t,n,t.pendingProps);case 24:return hl(t),r=hr(Yn),e===null?(i=A2(),i===null&&(i=hn,a=E2(),i.pooledCache=a,a.refCount++,a!==null&&(i.pooledCacheLanes|=n),i=a),t.memoizedState={parent:r,cache:i},B2(t),Fo(t,Yn,i)):((e.lanes&n)!==0&&(Pb(e,t),uf(t,null,null,n),cf()),i=e.memoizedState,a=t.memoizedState,i.parent!==r?(i={parent:r,cache:r},t.memoizedState=i,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=i),Fo(t,Yn,r)):(r=a.cache,Fo(t,Yn,r),r!==i.cache&&Ib(t,[Yn],n,!0))),ur(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(de(156,t.tag))}function Za(e){e.flags|=4}function rb(e,t,n,r,i){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(WS())e.flags|=8192;else throw ul=og,k2}else e.flags&=-16777217}function i8(e,t){if(t.type!==\"stylesheet\"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!h9(t))if(WS())e.flags|=8192;else throw ul=og,k2}function B0(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?F8():536870912,e.lanes|=t,Vc|=t)}function Zd(e,t){if(!Dt)switch(e.tailMode){case\"hidden\":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case\"collapsed\":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Tn(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function VI(e,t,n){var r=t.pendingProps;switch(T2(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Tn(t),null;case 1:return Tn(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),io(Yn),zc(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(gc(t)?Za(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Zy())),Tn(t),null;case 26:var i=t.type,a=t.memoizedState;return e===null?(Za(t),a!==null?(Tn(t),i8(t,a)):(Tn(t),rb(t,i,null,r,n))):a?a!==e.memoizedState?(Za(t),Tn(t),i8(t,a)):(Tn(t),t.flags&=-16777217):(e=e.memoizedProps,e!==r&&Za(t),Tn(t),rb(t,i,e,r,n)),null;case 27:if(J0(t),n=es.current,i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Za(t);else{if(!r){if(t.stateNode===null)throw Error(de(166));return Tn(t),null}e=da.current,gc(t)?Ox(t,e):(e=u9(i,r,n),t.stateNode=e,Za(t))}return Tn(t),null;case 5:if(J0(t),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Za(t);else{if(!r){if(t.stateNode===null)throw Error(de(166));return Tn(t),null}if(a=da.current,gc(t))Ox(t,a);else{var o=wg(es.current);switch(a){case 1:a=o.createElementNS(\"http://www.w3.org/2000/svg\",i);break;case 2:a=o.createElementNS(\"http://www.w3.org/1998/Math/MathML\",i);break;default:switch(i){case\"svg\":a=o.createElementNS(\"http://www.w3.org/2000/svg\",i);break;case\"math\":a=o.createElementNS(\"http://www.w3.org/1998/Math/MathML\",i);break;case\"script\":a=o.createElement(\"div\"),a.innerHTML=\"<script><\\/script>\",a=a.removeChild(a.firstChild);break;case\"select\":a=typeof r.is==\"string\"?o.createElement(\"select\",{is:r.is}):o.createElement(\"select\"),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a=typeof r.is==\"string\"?o.createElement(i,{is:r.is}):o.createElement(i)}}a[dr]=t,a[Fr]=r;e:for(o=t.child;o!==null;){if(o.tag===5||o.tag===6)a.appendChild(o.stateNode);else if(o.tag!==4&&o.tag!==27&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break e;for(;o.sibling===null;){if(o.return===null||o.return===t)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=a;e:switch(gr(a,i,r),i){case\"button\":case\"input\":case\"select\":case\"textarea\":r=!!r.autoFocus;break e;case\"img\":r=!0;break e;default:r=!1}r&&Za(t)}}return Tn(t),rb(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Za(t);else{if(typeof r!=\"string\"&&t.stateNode===null)throw Error(de(166));if(e=es.current,gc(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,i=fr,i!==null)switch(i.tag){case 27:case 5:r=i.memoizedProps}e[dr]=t,e=!!(e.nodeValue===n||r!==null&&r.suppressHydrationWarning===!0||o9(e.nodeValue,n)),e||us(t,!0)}else e=wg(e).createTextNode(r),e[dr]=t,t.stateNode=e}return Tn(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=gc(t),n!==null){if(e===null){if(!r)throw Error(de(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(de(557));e[dr]=t}else fl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Tn(t),e=!1}else n=Zy(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(si(t),t):(si(t),null);if((t.flags&128)!==0)throw Error(de(558))}return Tn(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=gc(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(de(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(de(317));i[dr]=t}else fl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Tn(t),i=!1}else i=Zy(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(si(t),t):(si(t),null)}return si(t),(t.flags&128)!==0?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,i=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(i=r.alternate.memoizedState.cachePool.pool),a=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(a=r.memoizedState.cachePool.pool),a!==i&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),B0(t,t.updateQueue),Tn(t),null);case 4:return zc(),e===null&&X2(t.stateNode.containerInfo),Tn(t),null;case 10:return io(t.type),Tn(t),null;case 19:if(or(Wn),r=t.memoizedState,r===null)return Tn(t),null;if(i=(t.flags&128)!==0,a=r.rendering,a===null)if(i)Zd(r,!1);else{if(jn!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(a=lg(e),a!==null){for(t.flags|=128,Zd(r,!1),e=a.updateQueue,t.updateQueue=e,B0(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)xC(n,e),n=n.sibling;return bn(Wn,Wn.current&1|2),Dt&&Xa(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&ui()>gg&&(t.flags|=128,i=!0,Zd(r,!1),t.lanes=4194304)}else{if(!i)if(e=lg(a),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,B0(t,e),Zd(r,!0),r.tail===null&&r.tailMode===\"hidden\"&&!a.alternate&&!Dt)return Tn(t),null}else 2*ui()-r.renderingStartTime>gg&&n!==536870912&&(t.flags|=128,i=!0,Zd(r,!1),t.lanes=4194304);r.isBackwards?(a.sibling=t.child,t.child=a):(e=r.last,e!==null?e.sibling=a:t.child=a,r.last=a)}return r.tail!==null?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=ui(),e.sibling=null,n=Wn.current,bn(Wn,i?n&1|2:n&1),Dt&&Xa(t,r.treeForkCount),e):(Tn(t),null);case 22:case 23:return si(t),M2(),r=t.memoizedState!==null,e!==null?e.memoizedState!==null!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?(n&536870912)!==0&&(t.flags&128)===0&&(Tn(t),t.subtreeFlags&6&&(t.flags|=8192)):Tn(t),n=t.updateQueue,n!==null&&B0(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&or(cl),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),io(Yn),Tn(t),null;case 25:return null;case 30:return null}throw Error(de(156,t.tag))}function WI(e,t){switch(T2(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return io(Yn),zc(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return J0(t),null;case 31:if(t.memoizedState!==null){if(si(t),t.alternate===null)throw Error(de(340));fl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(si(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(de(340));fl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return or(Wn),null;case 4:return zc(),null;case 10:return io(t.type),null;case 22:case 23:return si(t),M2(),e!==null&&or(cl),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return io(Yn),null;case 25:return null;default:return null}}function xS(e,t){switch(T2(t),t.tag){case 3:io(Yn),zc();break;case 26:case 27:case 5:J0(t);break;case 4:zc();break;case 31:t.memoizedState!==null&&si(t);break;case 13:si(t);break;case 19:or(Wn);break;case 10:io(t.type);break;case 22:case 23:si(t),M2(),e!==null&&or(cl);break;case 24:io(Yn)}}function Lf(e,t){try{var n=t.updateQueue,r=n!==null?n.lastEffect:null;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(s){on(t,t.return,s)}}function ds(e,t,n){try{var r=t.updateQueue,i=r!==null?r.lastEffect:null;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var l=n,c=s;try{c()}catch(u){on(i,l,u)}}}r=r.next}while(r!==a)}}catch(u){on(t,t.return,u)}}function CS(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{RC(t,n)}catch(r){on(e,e.return,r)}}}function SS(e,t,n){n.props=ml(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(r){on(e,t,r)}}function ff(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==\"function\"?e.refCleanup=n(r):n.current=r}}catch(i){on(e,t,i)}}function ua(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==\"function\")try{r()}catch(i){on(e,t,i)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==\"function\")try{n(null)}catch(i){on(e,t,i)}else n.current=null}function _S(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{e:switch(t){case\"button\":case\"input\":case\"select\":case\"textarea\":n.autoFocus&&r.focus();break e;case\"img\":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(i){on(e,e.return,i)}}function ib(e,t,n){try{var r=e.stateNode;uN(r,e.type,n,t),r[Fr]=t}catch(i){on(e,e.return,i)}}function TS(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&gs(e.type)||e.tag===4}function ab(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||TS(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&gs(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function $b(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===\"HTML\"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===\"HTML\"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=to));else if(r!==4&&(r===27&&gs(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for($b(e,t,n),e=e.sibling;e!==null;)$b(e,t,n),e=e.sibling}function hg(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&gs(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(hg(e,t,n),e=e.sibling;e!==null;)hg(e,t,n),e=e.sibling}function ES(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);gr(t,r,n),t[dr]=e,t[Fr]=n}catch(a){on(e,e.return,a)}}var Ja=!1,Zn=!1,ob=!1,a8=typeof WeakSet==\"function\"?WeakSet:Set,ir=null;function FI(e,t){if(e=e.containerInfo,e2=_g,e=hC(e),w2(e)){if(\"selectionStart\"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var o=0,s=-1,l=-1,c=0,u=0,d=e,h=null;t:for(;;){for(var g;d!==n||i!==0&&d.nodeType!==3||(s=o+i),d!==a||r!==0&&d.nodeType!==3||(l=o+r),d.nodeType===3&&(o+=d.nodeValue.length),(g=d.firstChild)!==null;)h=d,d=g;for(;;){if(d===e)break t;if(h===n&&++c===i&&(s=o),h===a&&++u===r&&(l=o),(g=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=g}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(t2={focusedElem:e,selectionRange:n},_g=!1,ir=t;ir!==null;)if(t=ir,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ir=e;else for(;ir!==null;){switch(t=ir,a=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)i=e[n],i.ref.impl=i.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&a!==null){e=void 0,n=t,i=a.memoizedProps,a=a.memoizedState,r=n.stateNode;try{var y=ml(n.type,i);e=r.getSnapshotBeforeUpdate(y,a),r.__reactInternalSnapshotBeforeUpdate=e}catch(E){on(n,n.return,E)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)r2(e);else if(n===1)switch(e.nodeName){case\"HEAD\":case\"HTML\":case\"BODY\":r2(e);break;default:e.textContent=\"\"}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(de(163))}if(e=t.sibling,e!==null){e.return=t.return,ir=e;break}ir=t.return}}function AS(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Ga(e,n),r&4&&Lf(5,n);break;case 1:if(Ga(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(o){on(n,n.return,o)}else{var i=ml(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(o){on(n,n.return,o)}}r&64&&CS(n),r&512&&ff(n,n.return);break;case 3:if(Ga(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{RC(e,t)}catch(o){on(n,n.return,o)}}break;case 27:t===null&&r&4&&ES(n);case 26:case 5:Ga(e,n),t===null&&r&4&&_S(n),r&512&&ff(n,n.return);break;case 12:Ga(e,n);break;case 31:Ga(e,n),r&4&&MS(e,n);break;case 13:Ga(e,n),r&4&&RS(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=eN.bind(null,n),bN(e,n))));break;case 22:if(r=n.memoizedState!==null||Ja,!r){t=t!==null&&t.memoizedState!==null||Zn,i=Ja;var a=Zn;Ja=r,(Zn=t)&&!a?Qa(e,n,(n.subtreeFlags&8772)!==0):Ga(e,n),Ja=i,Zn=a}break;case 30:break;default:Ga(e,n)}}function kS(e){var t=e.alternate;t!==null&&(e.alternate=null,kS(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&g2(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Mn=null,Hr=!1;function Ya(e,t,n){for(n=n.child;n!==null;)BS(e,t,n),n=n.sibling}function BS(e,t,n){if(di&&typeof di.onCommitFiberUnmount==\"function\")try{di.onCommitFiberUnmount(Uf,n)}catch{}switch(n.tag){case 26:Zn||ua(n,t),Ya(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Zn||ua(n,t);var r=Mn,i=Hr;gs(n.type)&&(Mn=n.stateNode,Hr=!1),Ya(e,t,n),mf(n.stateNode),Mn=r,Hr=i;break;case 5:Zn||ua(n,t);case 6:if(r=Mn,i=Hr,Mn=null,Ya(e,t,n),Mn=r,Hr=i,Mn!==null)if(Hr)try{(Mn.nodeType===9?Mn.body:Mn.nodeName===\"HTML\"?Mn.ownerDocument.body:Mn).removeChild(n.stateNode)}catch(a){on(n,t,a)}else try{Mn.removeChild(n.stateNode)}catch(a){on(n,t,a)}break;case 18:Mn!==null&&(Hr?(e=Mn,w8(e.nodeType===9?e.body:e.nodeName===\"HTML\"?e.ownerDocument.body:e,n.stateNode),$c(e)):w8(Mn,n.stateNode));break;case 4:r=Mn,i=Hr,Mn=n.stateNode.containerInfo,Hr=!0,Ya(e,t,n),Mn=r,Hr=i;break;case 0:case 11:case 14:case 15:ds(2,n,t),Zn||ds(4,n,t),Ya(e,t,n);break;case 1:Zn||(ua(n,t),r=n.stateNode,typeof r.componentWillUnmount==\"function\"&&SS(n,t,r)),Ya(e,t,n);break;case 21:Ya(e,t,n);break;case 22:Zn=(r=Zn)||n.memoizedState!==null,Ya(e,t,n),Zn=r;break;default:Ya(e,t,n)}}function MS(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{$c(e)}catch(n){on(t,t.return,n)}}}function RS(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{$c(e)}catch(n){on(t,t.return,n)}}function KI(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new a8),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new a8),t;default:throw Error(de(435,e.tag))}}function M0(e,t){var n=KI(e);t.forEach(function(r){if(!n.has(r)){n.add(r);var i=tN.bind(null,e,r);r.then(i,i)}})}function jr(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r],a=e,o=t,s=o;e:for(;s!==null;){switch(s.tag){case 27:if(gs(s.type)){Mn=s.stateNode,Hr=!1;break e}break;case 5:Mn=s.stateNode,Hr=!1;break e;case 3:case 4:Mn=s.stateNode.containerInfo,Hr=!0;break e}s=s.return}if(Mn===null)throw Error(de(160));BS(a,o,i),Mn=null,Hr=!1,a=i.alternate,a!==null&&(a.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)US(t,e),t=t.sibling}var Vi=null;function US(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:jr(t,e),qr(e),r&4&&(ds(3,e,e.return),Lf(3,e),ds(5,e,e.return));break;case 1:jr(t,e),qr(e),r&512&&(Zn||n===null||ua(n,n.return)),r&64&&Ja&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?r:n.concat(r))));break;case 26:var i=Vi;if(jr(t,e),qr(e),r&512&&(Zn||n===null||ua(n,n.return)),r&4){var a=n!==null?n.memoizedState:null;if(r=e.memoizedState,n===null)if(r===null)if(e.stateNode===null){e:{r=e.type,n=e.memoizedProps,i=i.ownerDocument||i;t:switch(r){case\"title\":a=i.getElementsByTagName(\"title\")[0],(!a||a[Nf]||a[dr]||a.namespaceURI===\"http://www.w3.org/2000/svg\"||a.hasAttribute(\"itemprop\"))&&(a=i.createElement(r),i.head.insertBefore(a,i.querySelector(\"head > title\"))),gr(a,r,n),a[dr]=e,ar(a),r=a;break e;case\"link\":var o=A8(\"link\",\"href\",i).get(r+(n.href||\"\"));if(o){for(var s=0;s<o.length;s++)if(a=o[s],a.getAttribute(\"href\")===(n.href==null||n.href===\"\"?null:n.href)&&a.getAttribute(\"rel\")===(n.rel==null?null:n.rel)&&a.getAttribute(\"title\")===(n.title==null?null:n.title)&&a.getAttribute(\"crossorigin\")===(n.crossOrigin==null?null:n.crossOrigin)){o.splice(s,1);break t}}a=i.createElement(r),gr(a,r,n),i.head.appendChild(a);break;case\"meta\":if(o=A8(\"meta\",\"content\",i).get(r+(n.content||\"\"))){for(s=0;s<o.length;s++)if(a=o[s],a.getAttribute(\"content\")===(n.content==null?null:\"\"+n.content)&&a.getAttribute(\"name\")===(n.name==null?null:n.name)&&a.getAttribute(\"property\")===(n.property==null?null:n.property)&&a.getAttribute(\"http-equiv\")===(n.httpEquiv==null?null:n.httpEquiv)&&a.getAttribute(\"charset\")===(n.charSet==null?null:n.charSet)){o.splice(s,1);break t}}a=i.createElement(r),gr(a,r,n),i.head.appendChild(a);break;default:throw Error(de(468,r))}a[dr]=e,ar(a),r=a}e.stateNode=r}else k8(i,e.type,e.stateNode);else e.stateNode=E8(i,r,e.memoizedProps);else a!==r?(a===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):a.count--,r===null?k8(i,e.type,e.stateNode):E8(i,r,e.memoizedProps)):r===null&&e.stateNode!==null&&ib(e,e.memoizedProps,n.memoizedProps)}break;case 27:jr(t,e),qr(e),r&512&&(Zn||n===null||ua(n,n.return)),n!==null&&r&4&&ib(e,e.memoizedProps,n.memoizedProps);break;case 5:if(jr(t,e),qr(e),r&512&&(Zn||n===null||ua(n,n.return)),e.flags&32){i=e.stateNode;try{Lc(i,\"\")}catch(y){on(e,e.return,y)}}r&4&&e.stateNode!=null&&(i=e.memoizedProps,ib(e,i,n!==null?n.memoizedProps:i)),r&1024&&(ob=!0);break;case 6:if(jr(t,e),qr(e),r&4){if(e.stateNode===null)throw Error(de(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(y){on(e,e.return,y)}}break;case 3:if(Z0=null,i=Vi,Vi=xg(t.containerInfo),jr(t,e),Vi=i,qr(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{$c(t.containerInfo)}catch(y){on(e,e.return,y)}ob&&(ob=!1,OS(e));break;case 4:r=Vi,Vi=xg(e.stateNode.containerInfo),jr(t,e),qr(e),Vi=r;break;case 12:jr(t,e),qr(e);break;case 31:jr(t,e),qr(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,M0(e,r)));break;case 13:jr(t,e),qr(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(zg=ui()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,M0(e,r)));break;case 22:i=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,c=Ja,u=Zn;if(Ja=c||i,Zn=u||l,jr(t,e),Zn=u,Ja=c,qr(e),r&8192)e:for(t=e.stateNode,t._visibility=i?t._visibility&-2:t._visibility|1,i&&(n===null||l||Ja||Zn||ol(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){l=n=t;try{if(a=l.stateNode,i)o=a.style,typeof o.setProperty==\"function\"?o.setProperty(\"display\",\"none\",\"important\"):o.display=\"none\";else{s=l.stateNode;var d=l.memoizedProps.style,h=d!=null&&d.hasOwnProperty(\"display\")?d.display:null;s.style.display=h==null||typeof h==\"boolean\"?\"\":(\"\"+h).trim()}}catch(y){on(l,l.return,y)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=i?\"\":l.memoizedProps}catch(y){on(l,l.return,y)}}}else if(t.tag===18){if(n===null){l=t;try{var g=l.stateNode;i?x8(g,!0):x8(l.stateNode,!1)}catch(y){on(l,l.return,y)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(n=r.retryQueue,n!==null&&(r.retryQueue=null,M0(e,n))));break;case 19:jr(t,e),qr(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,M0(e,r)));break;case 30:break;case 21:break;default:jr(t,e),qr(e)}}function qr(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(TS(r)){n=r;break}r=r.return}if(n==null)throw Error(de(160));switch(n.tag){case 27:var i=n.stateNode,a=ab(e);hg(e,a,i);break;case 5:var o=n.stateNode;n.flags&32&&(Lc(o,\"\"),n.flags&=-33);var s=ab(e);hg(e,s,o);break;case 3:case 4:var l=n.stateNode.containerInfo,c=ab(e);$b(e,c,l);break;default:throw Error(de(161))}}catch(u){on(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function OS(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;OS(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Ga(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)AS(e,t.alternate,t),t=t.sibling}function ol(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:ds(4,t,t.return),ol(t);break;case 1:ua(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==\"function\"&&SS(t,t.return,n),ol(t);break;case 27:mf(t.stateNode);case 26:case 5:ua(t,t.return),ol(t);break;case 22:t.memoizedState===null&&ol(t);break;case 30:ol(t);break;default:ol(t)}e=e.sibling}}function Qa(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:Qa(i,a,n),Lf(4,a);break;case 1:if(Qa(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==\"function\")try{i.componentDidMount()}catch(c){on(r,r.return,c)}if(r=a,i=r.updateQueue,i!==null){var s=r.stateNode;try{var l=i.shared.hiddenCallbacks;if(l!==null)for(i.shared.hiddenCallbacks=null,i=0;i<l.length;i++)MC(l[i],s)}catch(c){on(r,r.return,c)}}n&&o&64&&CS(a),ff(a,a.return);break;case 27:ES(a);case 26:case 5:Qa(i,a,n),n&&r===null&&o&4&&_S(a),ff(a,a.return);break;case 12:Qa(i,a,n);break;case 31:Qa(i,a,n),n&&o&4&&MS(i,a);break;case 13:Qa(i,a,n),n&&o&4&&RS(i,a);break;case 22:a.memoizedState===null&&Qa(i,a,n),ff(a,a.return);break;case 30:break;default:Qa(i,a,n)}t=t.sibling}}function K2(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&zf(n))}function $2(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&zf(e))}function Hi(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)IS(e,t,n,r),t=t.sibling}function IS(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:Hi(e,t,n,r),i&2048&&Lf(9,t);break;case 1:Hi(e,t,n,r);break;case 3:Hi(e,t,n,r),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&zf(e)));break;case 12:if(i&2048){Hi(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;typeof s==\"function\"&&s(o,t.alternate===null?\"mount\":\"update\",e.passiveEffectDuration,-0)}catch(l){on(t,t.return,l)}}else Hi(e,t,n,r);break;case 31:Hi(e,t,n,r);break;case 13:Hi(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState!==null?a._visibility&2?Hi(e,t,n,r):hf(e,t):a._visibility&2?Hi(e,t,n,r):(a._visibility|=2,mc(e,t,n,r,(t.subtreeFlags&10256)!==0||!1)),i&2048&&K2(o,t);break;case 24:Hi(e,t,n,r),i&2048&&$2(t.alternate,t);break;default:Hi(e,t,n,r)}}function mc(e,t,n,r,i){for(i=i&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var a=e,o=t,s=n,l=r,c=o.flags;switch(o.tag){case 0:case 11:case 15:mc(a,o,s,l,i),Lf(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState!==null?u._visibility&2?mc(a,o,s,l,i):hf(a,o):(u._visibility|=2,mc(a,o,s,l,i)),i&&c&2048&&K2(o.alternate,o);break;case 24:mc(a,o,s,l,i),i&&c&2048&&$2(o.alternate,o);break;default:mc(a,o,s,l,i)}t=t.sibling}}function hf(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:hf(n,r),i&2048&&K2(r.alternate,r);break;case 24:hf(n,r),i&2048&&$2(r.alternate,r);break;default:hf(n,r)}t=t.sibling}}var nf=8192;function pc(e,t,n){if(e.subtreeFlags&nf)for(e=e.child;e!==null;)NS(e,t,n),e=e.sibling}function NS(e,t,n){switch(e.tag){case 26:pc(e,t,n),e.flags&nf&&e.memoizedState!==null&&MN(n,Vi,e.memoizedState,e.memoizedProps);break;case 5:pc(e,t,n);break;case 3:case 4:var r=Vi;Vi=xg(e.stateNode.containerInfo),pc(e,t,n),Vi=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=nf,nf=16777216,pc(e,t,n),nf=r):pc(e,t,n));break;default:pc(e,t,n)}}function PS(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Yd(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];ir=r,DS(r,e)}PS(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)zS(e),e=e.sibling}function zS(e){switch(e.tag){case 0:case 11:case 15:Yd(e),e.flags&2048&&ds(9,e,e.return);break;case 3:Yd(e);break;case 12:Yd(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,K0(e)):Yd(e);break;default:Yd(e)}}function K0(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];ir=r,DS(r,e)}PS(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:ds(8,t,t.return),K0(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,K0(t));break;default:K0(t)}e=e.sibling}}function DS(e,t){for(;ir!==null;){var n=ir;switch(n.tag){case 0:case 11:case 15:ds(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:zf(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,ir=r;else e:for(n=e;ir!==null;){r=ir;var i=r.sibling,a=r.return;if(kS(r),r===n){ir=null;break e}if(i!==null){i.return=a,ir=i;break e}ir=a}}}var $I={getCacheForType:function(e){var t=hr(Yn),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return hr(Yn).controller.signal}},ZI=typeof WeakMap==\"function\"?WeakMap:Map,Xt=0,hn=null,It=null,Nt=0,an=0,oi=null,Qo=!1,Xc=!1,Z2=!1,uo=0,jn=0,fs=0,dl=0,Y2=0,ci=0,Vc=0,gf=null,Vr=null,Zb=!1,zg=0,LS=0,gg=1/0,pg=null,is=null,er=0,as=null,Wc=null,ao=0,Yb=0,Gb=null,jS=null,pf=0,Qb=null;function hi(){return(Xt&2)!==0&&Nt!==0?Nt&-Nt:rt.T!==null?Q2():Y8()}function qS(){if(ci===0)if((Nt&536870912)===0||Dt){var e=w0;w0<<=1,(w0&3932160)===0&&(w0=262144),ci=e}else ci=536870912;return e=pi.current,e!==null&&(e.flags|=32),ci}function Wr(e,t,n){(e===hn&&(an===2||an===9)||e.cancelPendingCommit!==null)&&(Fc(e,0),Xo(e,Nt,ci,!1)),If(e,n),((Xt&2)===0||e!==hn)&&(e===hn&&((Xt&2)===0&&(dl|=n),jn===4&&Xo(e,Nt,ci,!1)),ha(e))}function HS(e,t,n){if((Xt&6)!==0)throw Error(de(327));var r=!n&&(t&127)===0&&(t&e.expiredLanes)===0||Of(e,t),i=r?QI(e,t):sb(e,t,!0),a=r;do{if(i===0){Xc&&!r&&Xo(e,t,0,!1);break}else{if(n=e.current.alternate,a&&!YI(n)){i=sb(e,t,!1),a=!1;continue}if(i===2){if(a=t,e.errorRecoveryDisabledLanes&a)var o=0;else o=e.pendingLanes&-536870913,o=o!==0?o:o&536870912?536870912:0;if(o!==0){t=o;e:{var s=e;i=gf;var l=s.current.memoizedState.isDehydrated;if(l&&(Fc(s,o).flags|=256),o=sb(s,o,!1),o!==2){if(Z2&&!l){s.errorRecoveryDisabledLanes|=a,dl|=a,i=4;break e}a=Vr,Vr=i,a!==null&&(Vr===null?Vr=a:Vr.push.apply(Vr,a))}i=o}if(a=!1,i!==2)continue}}if(i===1){Fc(e,0),Xo(e,t,0,!0);break}e:{switch(r=e,a=i,a){case 0:case 1:throw Error(de(345));case 4:if((t&4194048)!==t)break;case 6:Xo(r,t,ci,!Qo);break e;case 2:Vr=null;break;case 3:case 5:break;default:throw Error(de(329))}if((t&62914560)===t&&(i=zg+300-ui(),10<i)){if(Xo(r,t,ci,!Qo),Eg(r,0,!0)!==0)break e;ao=t,r.timeoutHandle=l9(o8.bind(null,r,n,Vr,pg,Zb,t,ci,dl,Vc,Qo,a,\"Throttled\",-0,0),i);break e}o8(r,n,Vr,pg,Zb,t,ci,dl,Vc,Qo,a,null,-0,0)}}break}while(!0);ha(e)}function o8(e,t,n,r,i,a,o,s,l,c,u,d,h,g){if(e.timeoutHandle=-1,d=t.subtreeFlags,d&8192||(d&16785408)===16785408){d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:to},NS(t,a,d);var y=(a&62914560)===a?zg-ui():(a&4194048)===a?LS-ui():0;if(y=RN(d,y),y!==null){ao=a,e.cancelPendingCommit=y(l8.bind(null,e,t,a,n,r,i,o,s,l,u,d,null,h,g)),Xo(e,a,o,!c);return}}l8(e,t,a,n,r,i,o,s,l)}function YI(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!gi(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Xo(e,t,n,r){t&=~Y2,t&=~dl,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-fi(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&K8(e,n,t)}function Dg(){return(Xt&6)===0?(jf(0,!1),!1):!0}function G2(){if(It!==null){if(an===0)var e=It.return;else e=It,no=xl=null,N2(e),Ic=null,Sf=0,e=It;for(;e!==null;)xS(e.alternate,e),e=e.return;It=null}}function Fc(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,hN(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),ao=0,G2(),hn=e,It=n=ro(e.current,null),Nt=t,an=0,oi=null,Qo=!1,Xc=Of(e,t),Z2=!1,Vc=ci=Y2=dl=fs=jn=0,Vr=gf=null,Zb=!1,(t&8)!==0&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-fi(r),a=1<<i;t|=e[i],r&=~a}return uo=t,Mg(),n}function VS(e,t){bt=null,rt.H=Tf,t===Qc||t===Ug?(t=Dx(),an=3):t===k2?(t=Dx(),an=4):an=t===W2?8:t!==null&&typeof t==\"object\"&&typeof t.then==\"function\"?6:1,oi=t,It===null&&(jn=1,dg(e,ki(t,e.current)))}function WS(){var e=pi.current;return e===null?!0:(Nt&4194048)===Nt?Mi===null:(Nt&62914560)===Nt||(Nt&536870912)!==0?e===Mi:!1}function FS(){var e=rt.H;return rt.H=Tf,e===null?Tf:e}function KS(){var e=rt.A;return rt.A=$I,e}function mg(){jn=4,Qo||(Nt&4194048)!==Nt&&pi.current!==null||(Xc=!0),(fs&134217727)===0&&(dl&134217727)===0||hn===null||Xo(hn,Nt,ci,!1)}function sb(e,t,n){var r=Xt;Xt|=2;var i=FS(),a=KS();(hn!==e||Nt!==t)&&(pg=null,Fc(e,t)),t=!1;var o=jn;e:do try{if(an!==0&&It!==null){var s=It,l=oi;switch(an){case 8:G2(),o=6;break e;case 3:case 2:case 9:case 6:pi.current===null&&(t=!0);var c=an;if(an=0,oi=null,Bc(e,s,l,c),n&&Xc){o=0;break e}break;default:c=an,an=0,oi=null,Bc(e,s,l,c)}}GI(),o=jn;break}catch(u){VS(e,u)}while(!0);return t&&e.shellSuspendCounter++,no=xl=null,Xt=r,rt.H=i,rt.A=a,It===null&&(hn=null,Nt=0,Mg()),o}function GI(){for(;It!==null;)$S(It)}function QI(e,t){var n=Xt;Xt|=2;var r=FS(),i=KS();hn!==e||Nt!==t?(pg=null,gg=ui()+500,Fc(e,t)):Xc=Of(e,t);e:do try{if(an!==0&&It!==null){t=It;var a=oi;t:switch(an){case 1:an=0,oi=null,Bc(e,t,a,1);break;case 2:case 9:if(zx(a)){an=0,oi=null,s8(t);break}t=function(){an!==2&&an!==9||hn!==e||(an=7),ha(e)},a.then(t,t);break e;case 3:an=7;break e;case 4:an=5;break e;case 7:zx(a)?(an=0,oi=null,s8(t)):(an=0,oi=null,Bc(e,t,a,7));break;case 5:var o=null;switch(It.tag){case 26:o=It.memoizedState;case 5:case 27:var s=It;if(o?h9(o):s.stateNode.complete){an=0,oi=null;var l=s.sibling;if(l!==null)It=l;else{var c=s.return;c!==null?(It=c,Lg(c)):It=null}break t}}an=0,oi=null,Bc(e,t,a,5);break;case 6:an=0,oi=null,Bc(e,t,a,6);break;case 8:G2(),jn=6;break e;default:throw Error(de(462))}}XI();break}catch(u){VS(e,u)}while(!0);return no=xl=null,rt.H=r,rt.A=i,Xt=n,It!==null?0:(hn=null,Nt=0,Mg(),jn)}function XI(){for(;It!==null&&!xO();)$S(It)}function $S(e){var t=wS(e.alternate,e,uo);e.memoizedProps=e.pendingProps,t===null?Lg(e):It=t}function s8(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=e8(n,t,t.pendingProps,t.type,void 0,Nt);break;case 11:t=e8(n,t,t.pendingProps,t.type.render,t.ref,Nt);break;case 5:N2(t);default:xS(n,t),t=It=xC(t,uo),t=wS(n,t,uo)}e.memoizedProps=e.pendingProps,t===null?Lg(e):It=t}function Bc(e,t,n,r){no=xl=null,N2(t),Ic=null,Sf=0;var i=t.return;try{if(jI(e,i,t,n,Nt)){jn=1,dg(e,ki(n,e.current)),It=null;return}}catch(a){if(i!==null)throw It=i,a;jn=1,dg(e,ki(n,e.current)),It=null;return}t.flags&32768?(Dt||r===1?e=!0:Xc||(Nt&536870912)!==0?e=!1:(Qo=e=!0,(r===2||r===9||r===3||r===6)&&(r=pi.current,r!==null&&r.tag===13&&(r.flags|=16384))),ZS(t,e)):Lg(t)}function Lg(e){var t=e;do{if((t.flags&32768)!==0){ZS(t,Qo);return}e=t.return;var n=VI(t.alternate,t,uo);if(n!==null){It=n;return}if(t=t.sibling,t!==null){It=t;return}It=t=e}while(t!==null);jn===0&&(jn=5)}function ZS(e,t){do{var n=WI(e.alternate,e);if(n!==null){n.flags&=32767,It=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){It=e;return}It=e=n}while(e!==null);jn=6,It=null}function l8(e,t,n,r,i,a,o,s,l){e.cancelPendingCommit=null;do jg();while(er!==0);if((Xt&6)!==0)throw Error(de(327));if(t!==null){if(t===e.current)throw Error(de(177));if(a=t.lanes|t.childLanes,a|=x2,RO(e,n,a,o,s,l),e===hn&&(It=hn=null,Nt=0),Wc=t,as=e,ao=n,Yb=a,Gb=i,jS=r,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,nN(eg,function(){return JS(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||r){r=rt.T,rt.T=null,i=Jt.p,Jt.p=2,o=Xt,Xt|=4;try{FI(e,t,n)}finally{Xt=o,Jt.p=i,rt.T=r}}er=1,YS(),GS(),QS()}}function YS(){if(er===1){er=0;var e=as,t=Wc,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=rt.T,rt.T=null;var r=Jt.p;Jt.p=2;var i=Xt;Xt|=4;try{US(t,e);var a=t2,o=hC(e.containerInfo),s=a.focusedElem,l=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&fC(s.ownerDocument.documentElement,s)){if(l!==null&&w2(s)){var c=l.start,u=l.end;if(u===void 0&&(u=c),\"selectionStart\"in s)s.selectionStart=c,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,h=d&&d.defaultView||window;if(h.getSelection){var g=h.getSelection(),y=s.textContent.length,E=Math.min(l.start,y),L=l.end===void 0?E:Math.min(l.end,y);!g.extend&&E>L&&(o=L,L=E,E=o);var C=Mx(s,E),v=Mx(s,L);if(C&&v&&(g.rangeCount!==1||g.anchorNode!==C.node||g.anchorOffset!==C.offset||g.focusNode!==v.node||g.focusOffset!==v.offset)){var T=d.createRange();T.setStart(C.node,C.offset),g.removeAllRanges(),E>L?(g.addRange(T),g.extend(v.node,v.offset)):(T.setEnd(v.node,v.offset),g.addRange(T))}}}}for(d=[],g=s;g=g.parentNode;)g.nodeType===1&&d.push({element:g,left:g.scrollLeft,top:g.scrollTop});for(typeof s.focus==\"function\"&&s.focus(),s=0;s<d.length;s++){var R=d[s];R.element.scrollLeft=R.left,R.element.scrollTop=R.top}}_g=!!e2,t2=e2=null}finally{Xt=i,Jt.p=r,rt.T=n}}e.current=t,er=2}}function GS(){if(er===2){er=0;var e=as,t=Wc,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=rt.T,rt.T=null;var r=Jt.p;Jt.p=2;var i=Xt;Xt|=4;try{AS(e,t.alternate,t)}finally{Xt=i,Jt.p=r,rt.T=n}}er=3}}function QS(){if(er===4||er===3){er=0,CO();var e=as,t=Wc,n=ao,r=jS;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?er=5:(er=0,Wc=as=null,XS(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(is=null),h2(n),t=t.stateNode,di&&typeof di.onCommitFiberRoot==\"function\")try{di.onCommitFiberRoot(Uf,t,void 0,(t.current.flags&128)===128)}catch{}if(r!==null){t=rt.T,i=Jt.p,Jt.p=2,rt.T=null;try{for(var a=e.onRecoverableError,o=0;o<r.length;o++){var s=r[o];a(s.value,{componentStack:s.stack})}}finally{rt.T=t,Jt.p=i}}(ao&3)!==0&&jg(),ha(e),i=e.pendingLanes,(n&261930)!==0&&(i&42)!==0?e===Qb?pf++:(pf=0,Qb=e):pf=0,jf(0,!1)}}function XS(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,zf(t)))}function jg(){return YS(),GS(),QS(),JS()}function JS(){if(er!==5)return!1;var e=as,t=Yb;Yb=0;var n=h2(ao),r=rt.T,i=Jt.p;try{Jt.p=32>n?32:n,rt.T=null,n=Gb,Gb=null;var a=as,o=ao;if(er=0,Wc=as=null,ao=0,(Xt&6)!==0)throw Error(de(331));var s=Xt;if(Xt|=4,zS(a.current),IS(a,a.current,o,n),Xt=s,jf(0,!1),di&&typeof di.onPostCommitFiberRoot==\"function\")try{di.onPostCommitFiberRoot(Uf,a)}catch{}return!0}finally{Jt.p=i,rt.T=r,XS(e,t)}}function c8(e,t,n){t=ki(n,t),t=Wb(e.stateNode,t,2),e=rs(e,t,2),e!==null&&(If(e,2),ha(e))}function on(e,t,n){if(e.tag===3)c8(e,e,n);else for(;t!==null;){if(t.tag===3){c8(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==\"function\"||typeof r.componentDidCatch==\"function\"&&(is===null||!is.has(r))){e=ki(n,e),n=gS(2),r=rs(t,n,2),r!==null&&(pS(n,r,t,e),If(r,2),ha(r));break}}t=t.return}}function lb(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new ZI;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(Z2=!0,i.add(n),e=JI.bind(null,e,t,n),t.then(e,e))}function JI(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,hn===e&&(Nt&n)===n&&(jn===4||jn===3&&(Nt&62914560)===Nt&&300>ui()-zg?(Xt&2)===0&&Fc(e,0):Y2|=n,Vc===Nt&&(Vc=0)),ha(e)}function e9(e,t){t===0&&(t=F8()),e=wl(e,t),e!==null&&(If(e,t),ha(e))}function eN(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),e9(e,n)}function tN(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(de(314))}r!==null&&r.delete(t),e9(e,n)}function nN(e,t){return d2(e,t)}var yg=null,yc=null,Xb=!1,bg=!1,cb=!1,Jo=0;function ha(e){e!==yc&&e.next===null&&(yc===null?yg=yc=e:yc=yc.next=e),bg=!0,Xb||(Xb=!0,iN())}function jf(e,t){if(!cb&&bg){cb=!0;do for(var n=!1,r=yg;r!==null;){if(!t)if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-fi(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,u8(r,a))}else a=Nt,a=Eg(r,r===hn?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),(a&3)===0||Of(r,a)||(n=!0,u8(r,a));r=r.next}while(n);cb=!1}}function rN(){t9()}function t9(){bg=Xb=!1;var e=0;Jo!==0&&fN()&&(e=Jo);for(var t=ui(),n=null,r=yg;r!==null;){var i=r.next,a=n9(r,t);a===0?(r.next=null,n===null?yg=i:n.next=i,i===null&&(yc=n)):(n=r,(e!==0||(a&3)!==0)&&(bg=!0)),r=i}er!==0&&er!==5||jf(e,!1),Jo!==0&&(Jo=0)}function n9(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-fi(a),s=1<<o,l=i[o];l===-1?((s&n)===0||(s&r)!==0)&&(i[o]=MO(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}if(t=hn,n=Nt,n=Eg(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(an===2||an===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&Dy(r),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||Of(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&Dy(r),h2(n)){case 2:case 8:n=V8;break;case 32:n=eg;break;case 268435456:n=W8;break;default:n=eg}return r=r9.bind(null,e),n=d2(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&Dy(r),e.callbackPriority=2,e.callbackNode=null,2}function r9(e,t){if(er!==0&&er!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(jg()&&e.callbackNode!==n)return null;var r=Nt;return r=Eg(e,e===hn?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(HS(e,r,t),n9(e,ui()),e.callbackNode!=null&&e.callbackNode===n?r9.bind(null,e):null)}function u8(e,t){if(jg())return null;HS(e,t,!0)}function iN(){gN(function(){(Xt&6)!==0?d2(H8,rN):t9()})}function Q2(){if(Jo===0){var e=jc;e===0&&(e=v0,v0<<=1,(v0&261888)===0&&(v0=256)),Jo=e}return Jo}function d8(e){return e==null||typeof e==\"symbol\"||typeof e==\"boolean\"?null:typeof e==\"function\"?e:z0(\"\"+e)}function f8(e,t){var n=t.ownerDocument.createElement(\"input\");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute(\"form\",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function aN(e,t,n,r,i){if(t===\"submit\"&&n&&n.stateNode===i){var a=d8((i[Fr]||null).action),o=r.submitter;o&&(t=(t=o[Fr]||null)?d8(t.formAction):o.getAttribute(\"formAction\"),t!==null&&(a=t,o=null));var s=new Ag(\"action\",\"action\",null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(Jo!==0){var l=o?f8(i,o):new FormData(i);Hb(n,{pending:!0,data:l,method:i.method,action:a},null,l)}}else typeof a==\"function\"&&(s.preventDefault(),l=o?f8(i,o):new FormData(i),Hb(n,{pending:!0,data:l,method:i.method,action:a},a,l))},currentTarget:i}]})}}for(R0=0;R0<Mb.length;R0++)U0=Mb[R0],h8=U0.toLowerCase(),g8=U0[0].toUpperCase()+U0.slice(1),Wi(h8,\"on\"+g8);var U0,h8,g8,R0;Wi(pC,\"onAnimationEnd\");Wi(mC,\"onAnimationIteration\");Wi(yC,\"onAnimationStart\");Wi(\"dblclick\",\"onDoubleClick\");Wi(\"focusin\",\"onFocus\");Wi(\"focusout\",\"onBlur\");Wi(SI,\"onTransitionRun\");Wi(_I,\"onTransitionStart\");Wi(TI,\"onTransitionCancel\");Wi(bC,\"onTransitionEnd\");Dc(\"onMouseEnter\",[\"mouseout\",\"mouseover\"]);Dc(\"onMouseLeave\",[\"mouseout\",\"mouseover\"]);Dc(\"onPointerEnter\",[\"pointerout\",\"pointerover\"]);Dc(\"onPointerLeave\",[\"pointerout\",\"pointerover\"]);yl(\"onChange\",\"change click focusin focusout input keydown keyup selectionchange\".split(\" \"));yl(\"onSelect\",\"focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange\".split(\" \"));yl(\"onBeforeInput\",[\"compositionend\",\"keypress\",\"textInput\",\"paste\"]);yl(\"onCompositionEnd\",\"compositionend focusout keydown keypress keyup mousedown\".split(\" \"));yl(\"onCompositionStart\",\"compositionstart focusout keydown keypress keyup mousedown\".split(\" \"));yl(\"onCompositionUpdate\",\"compositionupdate focusout keydown keypress keyup mousedown\".split(\" \"));var Ef=\"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting\".split(\" \"),oN=new Set(\"beforetoggle cancel close invalid load scroll scrollend toggle\".split(\" \").concat(Ef));function i9(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==a&&i.isPropagationStopped())break e;a=s,i.currentTarget=c;try{a(i)}catch(u){ng(u)}i.currentTarget=null,a=l}else for(o=0;o<r.length;o++){if(s=r[o],l=s.instance,c=s.currentTarget,s=s.listener,l!==a&&i.isPropagationStopped())break e;a=s,i.currentTarget=c;try{a(i)}catch(u){ng(u)}i.currentTarget=null,a=l}}}}function Ot(e,t){var n=t[Cb];n===void 0&&(n=t[Cb]=new Set);var r=e+\"__bubble\";n.has(r)||(a9(t,e,2,!1),n.add(r))}function ub(e,t,n){var r=0;t&&(r|=4),a9(n,e,r,t)}var O0=\"_reactListening\"+Math.random().toString(36).slice(2);function X2(e){if(!e[O0]){e[O0]=!0,G8.forEach(function(n){n!==\"selectionchange\"&&(oN.has(n)||ub(n,!1,e),ub(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[O0]||(t[O0]=!0,ub(\"selectionchange\",!1,t))}}function a9(e,t,n,r){switch(b9(t)){case 2:var i=IN;break;case 8:i=NN;break;default:i=nv}n=i.bind(null,t,n,e),i=void 0,!Ab||t!==\"touchstart\"&&t!==\"touchmove\"&&t!==\"wheel\"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function db(e,t,n,r,i){var a=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var s=r.stateNode.containerInfo;if(s===i)break;if(o===4)for(o=r.return;o!==null;){var l=o.tag;if((l===3||l===4)&&o.stateNode.containerInfo===i)return;o=o.return}for(;s!==null;){if(o=wc(s),o===null)return;if(l=o.tag,l===5||l===6||l===26||l===27){r=a=o;continue e}s=s.parentNode}}r=r.return}iC(function(){var c=a,u=m2(n),d=[];e:{var h=vC.get(e);if(h!==void 0){var g=Ag,y=e;switch(e){case\"keypress\":if(L0(n)===0)break e;case\"keydown\":case\"keyup\":g=tI;break;case\"focusin\":y=\"focus\",g=Vy;break;case\"focusout\":y=\"blur\",g=Vy;break;case\"beforeblur\":case\"afterblur\":g=Vy;break;case\"click\":if(n.button===2)break e;case\"auxclick\":case\"dblclick\":case\"mousedown\":case\"mousemove\":case\"mouseup\":case\"mouseout\":case\"mouseover\":case\"contextmenu\":g=xx;break;case\"drag\":case\"dragend\":case\"dragenter\":case\"dragexit\":case\"dragleave\":case\"dragover\":case\"dragstart\":case\"drop\":g=VO;break;case\"touchcancel\":case\"touchend\":case\"touchmove\":case\"touchstart\":g=iI;break;case pC:case mC:case yC:g=KO;break;case bC:g=oI;break;case\"scroll\":case\"scrollend\":g=qO;break;case\"wheel\":g=lI;break;case\"copy\":case\"cut\":case\"paste\":g=ZO;break;case\"gotpointercapture\":case\"lostpointercapture\":case\"pointercancel\":case\"pointerdown\":case\"pointermove\":case\"pointerout\":case\"pointerover\":case\"pointerup\":g=Sx;break;case\"toggle\":case\"beforetoggle\":g=uI}var E=(t&4)!==0,L=!E&&(e===\"scroll\"||e===\"scrollend\"),C=E?h!==null?h+\"Capture\":null:h;E=[];for(var v=c,T;v!==null;){var R=v;if(T=R.stateNode,R=R.tag,R!==5&&R!==26&&R!==27||T===null||C===null||(R=bf(v,C),R!=null&&E.push(Af(v,R,T))),L)break;v=v.return}0<E.length&&(h=new g(h,y,null,n,u),d.push({event:h,listeners:E}))}}if((t&7)===0){e:{if(h=e===\"mouseover\"||e===\"pointerover\",g=e===\"mouseout\"||e===\"pointerout\",h&&n!==Eb&&(y=n.relatedTarget||n.fromElement)&&(wc(y)||y[Zc]))break e;if((g||h)&&(h=u.window===u?u:(h=u.ownerDocument)?h.defaultView||h.parentWindow:window,g?(y=n.relatedTarget||n.toElement,g=c,y=y?wc(y):null,y!==null&&(L=Rf(y),E=y.tag,y!==L||E!==5&&E!==27&&E!==6)&&(y=null)):(g=null,y=c),g!==y)){if(E=xx,R=\"onMouseLeave\",C=\"onMouseEnter\",v=\"mouse\",(e===\"pointerout\"||e===\"pointerover\")&&(E=Sx,R=\"onPointerLeave\",C=\"onPointerEnter\",v=\"pointer\"),L=g==null?h:ef(g),T=y==null?h:ef(y),h=new E(R,v+\"leave\",g,n,u),h.target=L,h.relatedTarget=T,R=null,wc(u)===c&&(E=new E(C,v+\"enter\",y,n,u),E.target=T,E.relatedTarget=L,R=E),L=R,g&&y)t:{for(E=sN,C=g,v=y,T=0,R=C;R;R=E(R))T++;R=0;for(var O=v;O;O=E(O))R++;for(;0<T-R;)C=E(C),T--;for(;0<R-T;)v=E(v),R--;for(;T--;){if(C===v||v!==null&&C===v.alternate){E=C;break t}C=E(C),v=E(v)}E=null}else E=null;g!==null&&p8(d,h,g,E,!1),y!==null&&L!==null&&p8(d,L,y,E,!0)}}e:{if(h=c?ef(c):window,g=h.nodeName&&h.nodeName.toLowerCase(),g===\"select\"||g===\"input\"&&h.type===\"file\")var re=Ax;else if(Ex(h))if(uC)re=wI;else{re=bI;var B=yI}else g=h.nodeName,!g||g.toLowerCase()!==\"input\"||h.type!==\"checkbox\"&&h.type!==\"radio\"?c&&p2(c.elementType)&&(re=Ax):re=vI;if(re&&(re=re(e,c))){cC(d,re,n,u);break e}B&&B(e,h,c),e===\"focusout\"&&c&&h.type===\"number\"&&c.memoizedProps.value!=null&&Tb(h,\"number\",h.value)}switch(B=c?ef(c):window,e){case\"focusin\":(Ex(B)||B.contentEditable===\"true\")&&(Sc=B,kb=c,of=null);break;case\"focusout\":of=kb=Sc=null;break;case\"mousedown\":Bb=!0;break;case\"contextmenu\":case\"mouseup\":case\"dragend\":Bb=!1,Rx(d,n,u);break;case\"selectionchange\":if(CI)break;case\"keydown\":case\"keyup\":Rx(d,n,u)}var q;if(v2)e:{switch(e){case\"compositionstart\":var z=\"onCompositionStart\";break e;case\"compositionend\":z=\"onCompositionEnd\";break e;case\"compositionupdate\":z=\"onCompositionUpdate\";break e}z=void 0}else Cc?sC(e,n)&&(z=\"onCompositionEnd\"):e===\"keydown\"&&n.keyCode===229&&(z=\"onCompositionStart\");z&&(oC&&n.locale!==\"ko\"&&(Cc||z!==\"onCompositionStart\"?z===\"onCompositionEnd\"&&Cc&&(q=aC()):(Go=u,y2=\"value\"in Go?Go.value:Go.textContent,Cc=!0)),B=vg(c,z),0<B.length&&(z=new Cx(z,e,null,n,u),d.push({event:z,listeners:B}),q?z.data=q:(q=lC(n),q!==null&&(z.data=q)))),(q=fI?hI(e,n):gI(e,n))&&(z=vg(c,\"onBeforeInput\"),0<z.length&&(B=new Cx(\"onBeforeInput\",\"beforeinput\",null,n,u),d.push({event:B,listeners:z}),B.data=q)),aN(d,e,c,n,u)}i9(d,t)})}function Af(e,t,n){return{instance:e,listener:t,currentTarget:n}}function vg(e,t){for(var n=t+\"Capture\",r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=bf(e,n),i!=null&&r.unshift(Af(e,i,a)),i=bf(e,t),i!=null&&r.push(Af(e,i,a))),e.tag===3)return r;e=e.return}return[]}function sN(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function p8(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(s=s.tag,l!==null&&l===r)break;s!==5&&s!==26&&s!==27||c===null||(l=c,i?(c=bf(n,a),c!=null&&o.unshift(Af(n,c,l))):i||(c=bf(n,a),c!=null&&o.push(Af(n,c,l)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var lN=/\\r\\n?/g,cN=/\\u0000|\\uFFFD/g;function m8(e){return(typeof e==\"string\"?e:\"\"+e).replace(lN,`\n`).replace(cN,\"\")}function o9(e,t){return t=m8(t),m8(e)===t}function un(e,t,n,r,i,a){switch(n){case\"children\":typeof r==\"string\"?t===\"body\"||t===\"textarea\"&&r===\"\"||Lc(e,r):(typeof r==\"number\"||typeof r==\"bigint\")&&t!==\"body\"&&Lc(e,\"\"+r);break;case\"className\":C0(e,\"class\",r);break;case\"tabIndex\":C0(e,\"tabindex\",r);break;case\"dir\":case\"role\":case\"viewBox\":case\"width\":case\"height\":C0(e,n,r);break;case\"style\":rC(e,r,a);break;case\"data\":if(t!==\"object\"){C0(e,\"data\",r);break}case\"src\":case\"href\":if(r===\"\"&&(t!==\"a\"||n!==\"href\")){e.removeAttribute(n);break}if(r==null||typeof r==\"function\"||typeof r==\"symbol\"||typeof r==\"boolean\"){e.removeAttribute(n);break}r=z0(\"\"+r),e.setAttribute(n,r);break;case\"action\":case\"formAction\":if(typeof r==\"function\"){e.setAttribute(n,\"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')\");break}else typeof a==\"function\"&&(n===\"formAction\"?(t!==\"input\"&&un(e,t,\"name\",i.name,i,null),un(e,t,\"formEncType\",i.formEncType,i,null),un(e,t,\"formMethod\",i.formMethod,i,null),un(e,t,\"formTarget\",i.formTarget,i,null)):(un(e,t,\"encType\",i.encType,i,null),un(e,t,\"method\",i.method,i,null),un(e,t,\"target\",i.target,i,null)));if(r==null||typeof r==\"symbol\"||typeof r==\"boolean\"){e.removeAttribute(n);break}r=z0(\"\"+r),e.setAttribute(n,r);break;case\"onClick\":r!=null&&(e.onclick=to);break;case\"onScroll\":r!=null&&Ot(\"scroll\",e);break;case\"onScrollEnd\":r!=null&&Ot(\"scrollend\",e);break;case\"dangerouslySetInnerHTML\":if(r!=null){if(typeof r!=\"object\"||!(\"__html\"in r))throw Error(de(61));if(n=r.__html,n!=null){if(i.children!=null)throw Error(de(60));e.innerHTML=n}}break;case\"multiple\":e.multiple=r&&typeof r!=\"function\"&&typeof r!=\"symbol\";break;case\"muted\":e.muted=r&&typeof r!=\"function\"&&typeof r!=\"symbol\";break;case\"suppressContentEditableWarning\":case\"suppressHydrationWarning\":case\"defaultValue\":case\"defaultChecked\":case\"innerHTML\":case\"ref\":break;case\"autoFocus\":break;case\"xlinkHref\":if(r==null||typeof r==\"function\"||typeof r==\"boolean\"||typeof r==\"symbol\"){e.removeAttribute(\"xlink:href\");break}n=z0(\"\"+r),e.setAttributeNS(\"http://www.w3.org/1999/xlink\",\"xlink:href\",n);break;case\"contentEditable\":case\"spellCheck\":case\"draggable\":case\"value\":case\"autoReverse\":case\"externalResourcesRequired\":case\"focusable\":case\"preserveAlpha\":r!=null&&typeof r!=\"function\"&&typeof r!=\"symbol\"?e.setAttribute(n,\"\"+r):e.removeAttribute(n);break;case\"inert\":case\"allowFullScreen\":case\"async\":case\"autoPlay\":case\"controls\":case\"default\":case\"defer\":case\"disabled\":case\"disablePictureInPicture\":case\"disableRemotePlayback\":case\"formNoValidate\":case\"hidden\":case\"loop\":case\"noModule\":case\"noValidate\":case\"open\":case\"playsInline\":case\"readOnly\":case\"required\":case\"reversed\":case\"scoped\":case\"seamless\":case\"itemScope\":r&&typeof r!=\"function\"&&typeof r!=\"symbol\"?e.setAttribute(n,\"\"):e.removeAttribute(n);break;case\"capture\":case\"download\":r===!0?e.setAttribute(n,\"\"):r!==!1&&r!=null&&typeof r!=\"function\"&&typeof r!=\"symbol\"?e.setAttribute(n,r):e.removeAttribute(n);break;case\"cols\":case\"rows\":case\"size\":case\"span\":r!=null&&typeof r!=\"function\"&&typeof r!=\"symbol\"&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case\"rowSpan\":case\"start\":r==null||typeof r==\"function\"||typeof r==\"symbol\"||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case\"popover\":Ot(\"beforetoggle\",e),Ot(\"toggle\",e),P0(e,\"popover\",r);break;case\"xlinkActuate\":$a(e,\"http://www.w3.org/1999/xlink\",\"xlink:actuate\",r);break;case\"xlinkArcrole\":$a(e,\"http://www.w3.org/1999/xlink\",\"xlink:arcrole\",r);break;case\"xlinkRole\":$a(e,\"http://www.w3.org/1999/xlink\",\"xlink:role\",r);break;case\"xlinkShow\":$a(e,\"http://www.w3.org/1999/xlink\",\"xlink:show\",r);break;case\"xlinkTitle\":$a(e,\"http://www.w3.org/1999/xlink\",\"xlink:title\",r);break;case\"xlinkType\":$a(e,\"http://www.w3.org/1999/xlink\",\"xlink:type\",r);break;case\"xmlBase\":$a(e,\"http://www.w3.org/XML/1998/namespace\",\"xml:base\",r);break;case\"xmlLang\":$a(e,\"http://www.w3.org/XML/1998/namespace\",\"xml:lang\",r);break;case\"xmlSpace\":$a(e,\"http://www.w3.org/XML/1998/namespace\",\"xml:space\",r);break;case\"is\":P0(e,\"is\",r);break;case\"innerText\":case\"textContent\":break;default:(!(2<n.length)||n[0]!==\"o\"&&n[0]!==\"O\"||n[1]!==\"n\"&&n[1]!==\"N\")&&(n=LO.get(n)||n,P0(e,n,r))}}function Jb(e,t,n,r,i,a){switch(n){case\"style\":rC(e,r,a);break;case\"dangerouslySetInnerHTML\":if(r!=null){if(typeof r!=\"object\"||!(\"__html\"in r))throw Error(de(61));if(n=r.__html,n!=null){if(i.children!=null)throw Error(de(60));e.innerHTML=n}}break;case\"children\":typeof r==\"string\"?Lc(e,r):(typeof r==\"number\"||typeof r==\"bigint\")&&Lc(e,\"\"+r);break;case\"onScroll\":r!=null&&Ot(\"scroll\",e);break;case\"onScrollEnd\":r!=null&&Ot(\"scrollend\",e);break;case\"onClick\":r!=null&&(e.onclick=to);break;case\"suppressContentEditableWarning\":case\"suppressHydrationWarning\":case\"innerHTML\":case\"ref\":break;case\"innerText\":case\"textContent\":break;default:if(!Q8.hasOwnProperty(n))e:{if(n[0]===\"o\"&&n[1]===\"n\"&&(i=n.endsWith(\"Capture\"),t=n.slice(2,i?n.length-7:void 0),a=e[Fr]||null,a=a!=null?a[n]:null,typeof a==\"function\"&&e.removeEventListener(t,a,i),typeof r==\"function\")){typeof a!=\"function\"&&a!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,i);break e}n in e?e[n]=r:r===!0?e.setAttribute(n,\"\"):P0(e,n,r)}}}function gr(e,t,n){switch(t){case\"div\":case\"span\":case\"svg\":case\"path\":case\"a\":case\"g\":case\"p\":case\"li\":break;case\"img\":Ot(\"error\",e),Ot(\"load\",e);var r=!1,i=!1,a;for(a in n)if(n.hasOwnProperty(a)){var o=n[a];if(o!=null)switch(a){case\"src\":r=!0;break;case\"srcSet\":i=!0;break;case\"children\":case\"dangerouslySetInnerHTML\":throw Error(de(137,t));default:un(e,t,a,o,n,null)}}i&&un(e,t,\"srcSet\",n.srcSet,n,null),r&&un(e,t,\"src\",n.src,n,null);return;case\"input\":Ot(\"invalid\",e);var s=a=o=i=null,l=null,c=null;for(r in n)if(n.hasOwnProperty(r)){var u=n[r];if(u!=null)switch(r){case\"name\":i=u;break;case\"type\":o=u;break;case\"checked\":l=u;break;case\"defaultChecked\":c=u;break;case\"value\":a=u;break;case\"defaultValue\":s=u;break;case\"children\":case\"dangerouslySetInnerHTML\":if(u!=null)throw Error(de(137,t));break;default:un(e,t,r,u,n,null)}}eC(e,a,s,l,c,o,i,!1);return;case\"select\":Ot(\"invalid\",e),r=o=a=null;for(i in n)if(n.hasOwnProperty(i)&&(s=n[i],s!=null))switch(i){case\"value\":a=s;break;case\"defaultValue\":o=s;break;case\"multiple\":r=s;default:un(e,t,i,s,n,null)}t=a,n=o,e.multiple=!!r,t!=null?Rc(e,!!r,t,!1):n!=null&&Rc(e,!!r,n,!0);return;case\"textarea\":Ot(\"invalid\",e),a=i=r=null;for(o in n)if(n.hasOwnProperty(o)&&(s=n[o],s!=null))switch(o){case\"value\":r=s;break;case\"defaultValue\":i=s;break;case\"children\":a=s;break;case\"dangerouslySetInnerHTML\":if(s!=null)throw Error(de(91));break;default:un(e,t,o,s,n,null)}nC(e,r,i,a);return;case\"option\":for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case\"selected\":e.selected=r&&typeof r!=\"function\"&&typeof r!=\"symbol\";break;default:un(e,t,l,r,n,null)}return;case\"dialog\":Ot(\"beforetoggle\",e),Ot(\"toggle\",e),Ot(\"cancel\",e),Ot(\"close\",e);break;case\"iframe\":case\"object\":Ot(\"load\",e);break;case\"video\":case\"audio\":for(r=0;r<Ef.length;r++)Ot(Ef[r],e);break;case\"image\":Ot(\"error\",e),Ot(\"load\",e);break;case\"details\":Ot(\"toggle\",e);break;case\"embed\":case\"source\":case\"link\":Ot(\"error\",e),Ot(\"load\",e);case\"area\":case\"base\":case\"br\":case\"col\":case\"hr\":case\"keygen\":case\"meta\":case\"param\":case\"track\":case\"wbr\":case\"menuitem\":for(c in n)if(n.hasOwnProperty(c)&&(r=n[c],r!=null))switch(c){case\"children\":case\"dangerouslySetInnerHTML\":throw Error(de(137,t));default:un(e,t,c,r,n,null)}return;default:if(p2(t)){for(u in n)n.hasOwnProperty(u)&&(r=n[u],r!==void 0&&Jb(e,t,u,r,n,void 0));return}}for(s in n)n.hasOwnProperty(s)&&(r=n[s],r!=null&&un(e,t,s,r,n,null))}function uN(e,t,n,r){switch(t){case\"div\":case\"span\":case\"svg\":case\"path\":case\"a\":case\"g\":case\"p\":case\"li\":break;case\"input\":var i=null,a=null,o=null,s=null,l=null,c=null,u=null;for(g in n){var d=n[g];if(n.hasOwnProperty(g)&&d!=null)switch(g){case\"checked\":break;case\"value\":break;case\"defaultValue\":l=d;default:r.hasOwnProperty(g)||un(e,t,g,null,r,d)}}for(var h in r){var g=r[h];if(d=n[h],r.hasOwnProperty(h)&&(g!=null||d!=null))switch(h){case\"type\":a=g;break;case\"name\":i=g;break;case\"checked\":c=g;break;case\"defaultChecked\":u=g;break;case\"value\":o=g;break;case\"defaultValue\":s=g;break;case\"children\":case\"dangerouslySetInnerHTML\":if(g!=null)throw Error(de(137,t));break;default:g!==d&&un(e,t,h,g,r,d)}}_b(e,o,s,l,c,u,a,i);return;case\"select\":g=o=s=h=null;for(a in n)if(l=n[a],n.hasOwnProperty(a)&&l!=null)switch(a){case\"value\":break;case\"multiple\":g=l;default:r.hasOwnProperty(a)||un(e,t,a,null,r,l)}for(i in r)if(a=r[i],l=n[i],r.hasOwnProperty(i)&&(a!=null||l!=null))switch(i){case\"value\":h=a;break;case\"defaultValue\":s=a;break;case\"multiple\":o=a;default:a!==l&&un(e,t,i,a,r,l)}t=s,n=o,r=g,h!=null?Rc(e,!!n,h,!1):!!r!=!!n&&(t!=null?Rc(e,!!n,t,!0):Rc(e,!!n,n?[]:\"\",!1));return;case\"textarea\":g=h=null;for(s in n)if(i=n[s],n.hasOwnProperty(s)&&i!=null&&!r.hasOwnProperty(s))switch(s){case\"value\":break;case\"children\":break;default:un(e,t,s,null,r,i)}for(o in r)if(i=r[o],a=n[o],r.hasOwnProperty(o)&&(i!=null||a!=null))switch(o){case\"value\":h=i;break;case\"defaultValue\":g=i;break;case\"children\":break;case\"dangerouslySetInnerHTML\":if(i!=null)throw Error(de(91));break;default:i!==a&&un(e,t,o,i,r,a)}tC(e,h,g);return;case\"option\":for(var y in n)if(h=n[y],n.hasOwnProperty(y)&&h!=null&&!r.hasOwnProperty(y))switch(y){case\"selected\":e.selected=!1;break;default:un(e,t,y,null,r,h)}for(l in r)if(h=r[l],g=n[l],r.hasOwnProperty(l)&&h!==g&&(h!=null||g!=null))switch(l){case\"selected\":e.selected=h&&typeof h!=\"function\"&&typeof h!=\"symbol\";break;default:un(e,t,l,h,r,g)}return;case\"img\":case\"link\":case\"area\":case\"base\":case\"br\":case\"col\":case\"embed\":case\"hr\":case\"keygen\":case\"meta\":case\"param\":case\"source\":case\"track\":case\"wbr\":case\"menuitem\":for(var E in n)h=n[E],n.hasOwnProperty(E)&&h!=null&&!r.hasOwnProperty(E)&&un(e,t,E,null,r,h);for(c in r)if(h=r[c],g=n[c],r.hasOwnProperty(c)&&h!==g&&(h!=null||g!=null))switch(c){case\"children\":case\"dangerouslySetInnerHTML\":if(h!=null)throw Error(de(137,t));break;default:un(e,t,c,h,r,g)}return;default:if(p2(t)){for(var L in n)h=n[L],n.hasOwnProperty(L)&&h!==void 0&&!r.hasOwnProperty(L)&&Jb(e,t,L,void 0,r,h);for(u in r)h=r[u],g=n[u],!r.hasOwnProperty(u)||h===g||h===void 0&&g===void 0||Jb(e,t,u,h,r,g);return}}for(var C in n)h=n[C],n.hasOwnProperty(C)&&h!=null&&!r.hasOwnProperty(C)&&un(e,t,C,null,r,h);for(d in r)h=r[d],g=n[d],!r.hasOwnProperty(d)||h===g||h==null&&g==null||un(e,t,d,h,r,g)}function y8(e){switch(e){case\"css\":case\"script\":case\"font\":case\"img\":case\"image\":case\"input\":case\"link\":return!0;default:return!1}}function dN(){if(typeof performance.getEntriesByType==\"function\"){for(var e=0,t=0,n=performance.getEntriesByType(\"resource\"),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&y8(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var l=n[r],c=l.startTime;if(c>s)break;var u=l.transferSize,d=l.initiatorType;u&&y8(d)&&(l=l.responseEnd,o+=u*(l<s?1:(s-c)/(l-c)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==\"number\")?e:5}var e2=null,t2=null;function wg(e){return e.nodeType===9?e:e.ownerDocument}function b8(e){switch(e){case\"http://www.w3.org/2000/svg\":return 1;case\"http://www.w3.org/1998/Math/MathML\":return 2;default:return 0}}function s9(e,t){if(e===0)switch(t){case\"svg\":return 1;case\"math\":return 2;default:return 0}return e===1&&t===\"foreignObject\"?0:e}function n2(e,t){return e===\"textarea\"||e===\"noscript\"||typeof t.children==\"string\"||typeof t.children==\"number\"||typeof t.children==\"bigint\"||typeof t.dangerouslySetInnerHTML==\"object\"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var fb=null;function fN(){var e=window.event;return e&&e.type===\"popstate\"?e===fb?!1:(fb=e,!0):(fb=null,!1)}var l9=typeof setTimeout==\"function\"?setTimeout:void 0,hN=typeof clearTimeout==\"function\"?clearTimeout:void 0,v8=typeof Promise==\"function\"?Promise:void 0,gN=typeof queueMicrotask==\"function\"?queueMicrotask:typeof v8<\"u\"?function(e){return v8.resolve(null).then(e).catch(pN)}:l9;function pN(e){setTimeout(function(){throw e})}function gs(e){return e===\"head\"}function w8(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===\"/$\"||n===\"/&\"){if(r===0){e.removeChild(i),$c(t);return}r--}else if(n===\"$\"||n===\"$?\"||n===\"$~\"||n===\"$!\"||n===\"&\")r++;else if(n===\"html\")mf(e.ownerDocument.documentElement);else if(n===\"head\"){n=e.ownerDocument.head,mf(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[Nf]||s===\"SCRIPT\"||s===\"STYLE\"||s===\"LINK\"&&a.rel.toLowerCase()===\"stylesheet\"||n.removeChild(a),a=o}}else n===\"body\"&&mf(e.ownerDocument.body);n=i}while(n);$c(t)}function x8(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=\"none\"):(n.style.display=n._stashedDisplay||\"\",n.getAttribute(\"style\")===\"\"&&n.removeAttribute(\"style\")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=\"\"):n.nodeValue=n._stashedText||\"\"),r&&r.nodeType===8)if(n=r.data,n===\"/$\"){if(e===0)break;e--}else n!==\"$\"&&n!==\"$?\"&&n!==\"$~\"&&n!==\"$!\"||e++;n=r}while(n)}function r2(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case\"HTML\":case\"HEAD\":case\"BODY\":r2(n),g2(n);continue;case\"SCRIPT\":case\"STYLE\":continue;case\"LINK\":if(n.rel.toLowerCase()===\"stylesheet\")continue}e.removeChild(n)}}function mN(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==\"INPUT\"||e.type!==\"hidden\"))break}else if(r){if(!e[Nf])switch(t){case\"meta\":if(!e.hasAttribute(\"itemprop\"))break;return e;case\"link\":if(a=e.getAttribute(\"rel\"),a===\"stylesheet\"&&e.hasAttribute(\"data-precedence\"))break;if(a!==i.rel||e.getAttribute(\"href\")!==(i.href==null||i.href===\"\"?null:i.href)||e.getAttribute(\"crossorigin\")!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(\"title\")!==(i.title==null?null:i.title))break;return e;case\"style\":if(e.hasAttribute(\"data-precedence\"))break;return e;case\"script\":if(a=e.getAttribute(\"src\"),(a!==(i.src==null?null:i.src)||e.getAttribute(\"type\")!==(i.type==null?null:i.type)||e.getAttribute(\"crossorigin\")!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(\"async\")&&!e.hasAttribute(\"itemprop\"))break;return e;default:return e}}else if(t===\"input\"&&e.type===\"hidden\"){var a=i.name==null?null:\"\"+i.name;if(i.type===\"hidden\"&&e.getAttribute(\"name\")===a)return e}else return e;if(e=Ri(e.nextSibling),e===null)break}return null}function yN(e,t,n){if(t===\"\")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==\"INPUT\"||e.type!==\"hidden\")&&!n||(e=Ri(e.nextSibling),e===null))return null;return e}function c9(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==\"INPUT\"||e.type!==\"hidden\")&&!t||(e=Ri(e.nextSibling),e===null))return null;return e}function i2(e){return e.data===\"$?\"||e.data===\"$~\"}function a2(e){return e.data===\"$!\"||e.data===\"$?\"&&e.ownerDocument.readyState!==\"loading\"}function bN(e,t){var n=e.ownerDocument;if(e.data===\"$~\")e._reactRetry=t;else if(e.data!==\"$?\"||n.readyState!==\"loading\")t();else{var r=function(){t(),n.removeEventListener(\"DOMContentLoaded\",r)};n.addEventListener(\"DOMContentLoaded\",r),e._reactRetry=r}}function Ri(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===\"$\"||t===\"$!\"||t===\"$?\"||t===\"$~\"||t===\"&\"||t===\"F!\"||t===\"F\")break;if(t===\"/$\"||t===\"/&\")return null}}return e}var o2=null;function C8(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===\"/$\"||n===\"/&\"){if(t===0)return Ri(e.nextSibling);t--}else n!==\"$\"&&n!==\"$!\"&&n!==\"$?\"&&n!==\"$~\"&&n!==\"&\"||t++}e=e.nextSibling}return null}function S8(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===\"$\"||n===\"$!\"||n===\"$?\"||n===\"$~\"||n===\"&\"){if(t===0)return e;t--}else n!==\"/$\"&&n!==\"/&\"||t++}e=e.previousSibling}return null}function u9(e,t,n){switch(t=wg(n),e){case\"html\":if(e=t.documentElement,!e)throw Error(de(452));return e;case\"head\":if(e=t.head,!e)throw Error(de(453));return e;case\"body\":if(e=t.body,!e)throw Error(de(454));return e;default:throw Error(de(451))}}function mf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);g2(e)}var Ui=new Map,_8=new Set;function xg(e){return typeof e.getRootNode==\"function\"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var fo=Jt.d;Jt.d={f:vN,r:wN,D:xN,C:CN,L:SN,m:_N,X:EN,S:TN,M:AN};function vN(){var e=fo.f(),t=Dg();return e||t}function wN(e){var t=Yc(e);t!==null&&t.tag===5&&t.type===\"form\"?rS(t):fo.r(e)}var Jc=typeof document>\"u\"?null:document;function d9(e,t,n){var r=Jc;if(r&&typeof t==\"string\"&&t){var i=Ai(t);i='link[rel=\"'+e+'\"][href=\"'+i+'\"]',typeof n==\"string\"&&(i+='[crossorigin=\"'+n+'\"]'),_8.has(i)||(_8.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(\"link\"),gr(t,\"link\",e),ar(t),r.head.appendChild(t)))}}function xN(e){fo.D(e),d9(\"dns-prefetch\",e,null)}function CN(e,t){fo.C(e,t),d9(\"preconnect\",e,t)}function SN(e,t,n){fo.L(e,t,n);var r=Jc;if(r&&e&&t){var i='link[rel=\"preload\"][as=\"'+Ai(t)+'\"]';t===\"image\"&&n&&n.imageSrcSet?(i+='[imagesrcset=\"'+Ai(n.imageSrcSet)+'\"]',typeof n.imageSizes==\"string\"&&(i+='[imagesizes=\"'+Ai(n.imageSizes)+'\"]')):i+='[href=\"'+Ai(e)+'\"]';var a=i;switch(t){case\"style\":a=Kc(e);break;case\"script\":a=eu(e)}Ui.has(a)||(e=An({rel:\"preload\",href:t===\"image\"&&n&&n.imageSrcSet?void 0:e,as:t},n),Ui.set(a,e),r.querySelector(i)!==null||t===\"style\"&&r.querySelector(qf(a))||t===\"script\"&&r.querySelector(Hf(a))||(t=r.createElement(\"link\"),gr(t,\"link\",e),ar(t),r.head.appendChild(t)))}}function _N(e,t){fo.m(e,t);var n=Jc;if(n&&e){var r=t&&typeof t.as==\"string\"?t.as:\"script\",i='link[rel=\"modulepreload\"][as=\"'+Ai(r)+'\"][href=\"'+Ai(e)+'\"]',a=i;switch(r){case\"audioworklet\":case\"paintworklet\":case\"serviceworker\":case\"sharedworker\":case\"worker\":case\"script\":a=eu(e)}if(!Ui.has(a)&&(e=An({rel:\"modulepreload\",href:e},t),Ui.set(a,e),n.querySelector(i)===null)){switch(r){case\"audioworklet\":case\"paintworklet\":case\"serviceworker\":case\"sharedworker\":case\"worker\":case\"script\":if(n.querySelector(Hf(a)))return}r=n.createElement(\"link\"),gr(r,\"link\",e),ar(r),n.head.appendChild(r)}}}function TN(e,t,n){fo.S(e,t,n);var r=Jc;if(r&&e){var i=Mc(r).hoistableStyles,a=Kc(e);t=t||\"default\";var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(qf(a)))s.loading=5;else{e=An({rel:\"stylesheet\",href:e,\"data-precedence\":t},n),(n=Ui.get(a))&&J2(e,n);var l=o=r.createElement(\"link\");ar(l),gr(l,\"link\",e),l._p=new Promise(function(c,u){l.onload=c,l.onerror=u}),l.addEventListener(\"load\",function(){s.loading|=1}),l.addEventListener(\"error\",function(){s.loading|=2}),s.loading|=4,$0(o,t,r)}o={type:\"stylesheet\",instance:o,count:1,state:s},i.set(a,o)}}}function EN(e,t){fo.X(e,t);var n=Jc;if(n&&e){var r=Mc(n).hoistableScripts,i=eu(e),a=r.get(i);a||(a=n.querySelector(Hf(i)),a||(e=An({src:e,async:!0},t),(t=Ui.get(i))&&ev(e,t),a=n.createElement(\"script\"),ar(a),gr(a,\"link\",e),n.head.appendChild(a)),a={type:\"script\",instance:a,count:1,state:null},r.set(i,a))}}function AN(e,t){fo.M(e,t);var n=Jc;if(n&&e){var r=Mc(n).hoistableScripts,i=eu(e),a=r.get(i);a||(a=n.querySelector(Hf(i)),a||(e=An({src:e,async:!0,type:\"module\"},t),(t=Ui.get(i))&&ev(e,t),a=n.createElement(\"script\"),ar(a),gr(a,\"link\",e),n.head.appendChild(a)),a={type:\"script\",instance:a,count:1,state:null},r.set(i,a))}}function T8(e,t,n,r){var i=(i=es.current)?xg(i):null;if(!i)throw Error(de(446));switch(e){case\"meta\":case\"title\":return null;case\"style\":return typeof n.precedence==\"string\"&&typeof n.href==\"string\"?(t=Kc(n.href),n=Mc(i).hoistableStyles,r=n.get(t),r||(r={type:\"style\",instance:null,count:0,state:null},n.set(t,r)),r):{type:\"void\",instance:null,count:0,state:null};case\"link\":if(n.rel===\"stylesheet\"&&typeof n.href==\"string\"&&typeof n.precedence==\"string\"){e=Kc(n.href);var a=Mc(i).hoistableStyles,o=a.get(e);if(o||(i=i.ownerDocument||i,o={type:\"stylesheet\",instance:null,count:0,state:{loading:0,preload:null}},a.set(e,o),(a=i.querySelector(qf(e)))&&!a._p&&(o.instance=a,o.state.loading=5),Ui.has(e)||(n={rel:\"preload\",as:\"style\",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Ui.set(e,n),a||kN(i,e,n,o.state))),t&&r===null)throw Error(de(528,\"\"));return o}if(t&&r!==null)throw Error(de(529,\"\"));return null;case\"script\":return t=n.async,n=n.src,typeof n==\"string\"&&t&&typeof t!=\"function\"&&typeof t!=\"symbol\"?(t=eu(n),n=Mc(i).hoistableScripts,r=n.get(t),r||(r={type:\"script\",instance:null,count:0,state:null},n.set(t,r)),r):{type:\"void\",instance:null,count:0,state:null};default:throw Error(de(444,e))}}function Kc(e){return'href=\"'+Ai(e)+'\"'}function qf(e){return'link[rel=\"stylesheet\"]['+e+\"]\"}function f9(e){return An({},e,{\"data-precedence\":e.precedence,precedence:null})}function kN(e,t,n,r){e.querySelector('link[rel=\"preload\"][as=\"style\"]['+t+\"]\")?r.loading=1:(t=e.createElement(\"link\"),r.preload=t,t.addEventListener(\"load\",function(){return r.loading|=1}),t.addEventListener(\"error\",function(){return r.loading|=2}),gr(t,\"link\",n),ar(t),e.head.appendChild(t))}function eu(e){return'[src=\"'+Ai(e)+'\"]'}function Hf(e){return\"script[async]\"+e}function E8(e,t,n){if(t.count++,t.instance===null)switch(t.type){case\"style\":var r=e.querySelector('style[data-href~=\"'+Ai(n.href)+'\"]');if(r)return t.instance=r,ar(r),r;var i=An({},n,{\"data-href\":n.href,\"data-precedence\":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(\"style\"),ar(r),gr(r,\"style\",i),$0(r,n.precedence,e),t.instance=r;case\"stylesheet\":i=Kc(n.href);var a=e.querySelector(qf(i));if(a)return t.state.loading|=4,t.instance=a,ar(a),a;r=f9(n),(i=Ui.get(i))&&J2(r,i),a=(e.ownerDocument||e).createElement(\"link\"),ar(a);var o=a;return o._p=new Promise(function(s,l){o.onload=s,o.onerror=l}),gr(a,\"link\",r),t.state.loading|=4,$0(a,n.precedence,e),t.instance=a;case\"script\":return a=eu(n.src),(i=e.querySelector(Hf(a)))?(t.instance=i,ar(i),i):(r=n,(i=Ui.get(a))&&(r=An({},n),ev(r,i)),e=e.ownerDocument||e,i=e.createElement(\"script\"),ar(i),gr(i,\"link\",r),e.head.appendChild(i),t.instance=i);case\"void\":return null;default:throw Error(de(443,t.type))}else t.type===\"stylesheet\"&&(t.state.loading&4)===0&&(r=t.instance,t.state.loading|=4,$0(r,n.precedence,e));return t.instance}function $0(e,t,n){for(var r=n.querySelectorAll('link[rel=\"stylesheet\"][data-precedence],style[data-precedence]'),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function J2(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function ev(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Z0=null;function A8(e,t,n){if(Z0===null){var r=new Map,i=Z0=new Map;i.set(n,r)}else i=Z0,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[Nf]||a[dr]||e===\"link\"&&a.getAttribute(\"rel\")===\"stylesheet\")&&a.namespaceURI!==\"http://www.w3.org/2000/svg\"){var o=a.getAttribute(t)||\"\";o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function k8(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===\"title\"?e.querySelector(\"head > title\"):null)}function BN(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case\"meta\":case\"title\":return!0;case\"style\":if(typeof t.precedence!=\"string\"||typeof t.href!=\"string\"||t.href===\"\")break;return!0;case\"link\":if(typeof t.rel!=\"string\"||typeof t.href!=\"string\"||t.href===\"\"||t.onLoad||t.onError)break;switch(t.rel){case\"stylesheet\":return e=t.disabled,typeof t.precedence==\"string\"&&e==null;default:return!0}case\"script\":if(t.async&&typeof t.async!=\"function\"&&typeof t.async!=\"symbol\"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==\"string\")return!0}return!1}function h9(e){return!(e.type===\"stylesheet\"&&(e.state.loading&3)===0)}function MN(e,t,n,r){if(n.type===\"stylesheet\"&&(typeof r.media!=\"string\"||matchMedia(r.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var i=Kc(r.href),a=t.querySelector(qf(i));if(a){t=a._p,t!==null&&typeof t==\"object\"&&typeof t.then==\"function\"&&(e.count++,e=Cg.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,ar(a);return}a=t.ownerDocument||t,r=f9(r),(i=Ui.get(i))&&J2(r,i),a=a.createElement(\"link\"),ar(a);var o=a;o._p=new Promise(function(s,l){o.onload=s,o.onerror=l}),gr(a,\"link\",r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(e.count++,n=Cg.bind(e),t.addEventListener(\"load\",n),t.addEventListener(\"error\",n))}}var hb=0;function RN(e,t){return e.stylesheets&&e.count===0&&Y0(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&Y0(e,e.stylesheets),e.unsuspend){var a=e.unsuspend;e.unsuspend=null,a()}},6e4+t);0<e.imgBytes&&hb===0&&(hb=62500*dN());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Y0(e,e.stylesheets),e.unsuspend)){var a=e.unsuspend;e.unsuspend=null,a()}},(e.imgBytes>hb?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function Cg(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Y0(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Sg=null;function Y0(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Sg=new Map,t.forEach(UN,e),Sg=null,Cg.call(e))}function UN(e,t){if(!(t.state.loading&4)){var n=Sg.get(e);if(n)var r=n.get(null);else{n=new Map,Sg.set(e,n);for(var i=e.querySelectorAll(\"link[data-precedence],style[data-precedence]\"),a=0;a<i.length;a++){var o=i[a];(o.nodeName===\"LINK\"||o.getAttribute(\"media\")!==\"not all\")&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(\"data-precedence\"),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=Cg.bind(this),i.addEventListener(\"load\",r),i.addEventListener(\"error\",r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var kf={$$typeof:eo,Provider:null,Consumer:null,_currentValue:sl,_currentValue2:sl,_threadCount:0};function ON(e,t,n,r,i,a,o,s,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ly(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ly(0),this.hiddenUpdates=Ly(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map}function g9(e,t,n,r,i,a,o,s,l,c,u,d){return e=new ON(e,t,n,o,l,c,u,d,s),t=1,a===!0&&(t|=24),a=li(3,null,null,t),e.current=a,a.stateNode=e,t=E2(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},B2(a),e}function p9(e){return e?(e=Ec,e):Ec}function m9(e,t,n,r,i,a){i=p9(i),r.context===null?r.context=i:r.pendingContext=i,r=ns(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=rs(e,r,t),n!==null&&(Wr(n,e,t),lf(n,e,t))}function B8(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function tv(e,t){B8(e,t),(e=e.alternate)&&B8(e,t)}function y9(e){if(e.tag===13||e.tag===31){var t=wl(e,67108864);t!==null&&Wr(t,e,67108864),tv(e,67108864)}}function M8(e){if(e.tag===13||e.tag===31){var t=hi();t=f2(t);var n=wl(e,t);n!==null&&Wr(n,e,t),tv(e,t)}}var _g=!0;function IN(e,t,n,r){var i=rt.T;rt.T=null;var a=Jt.p;try{Jt.p=2,nv(e,t,n,r)}finally{Jt.p=a,rt.T=i}}function NN(e,t,n,r){var i=rt.T;rt.T=null;var a=Jt.p;try{Jt.p=8,nv(e,t,n,r)}finally{Jt.p=a,rt.T=i}}function nv(e,t,n,r){if(_g){var i=s2(r);if(i===null)db(e,t,r,Tg,n),R8(e,r);else if(zN(i,e,t,n,r))r.stopPropagation();else if(R8(e,r),t&4&&-1<PN.indexOf(e)){for(;i!==null;){var a=Yc(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=il(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var l=1<<31-fi(o);s.entanglements[1]|=l,o&=~l}ha(a),(Xt&6)===0&&(gg=ui()+500,jf(0,!1))}}break;case 31:case 13:s=wl(a,2),s!==null&&Wr(s,a,2),Dg(),tv(a,2)}if(a=s2(r),a===null&&db(e,t,r,Tg,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else db(e,t,r,null,n)}}function s2(e){return e=m2(e),rv(e)}var Tg=null;function rv(e){if(Tg=null,e=wc(e),e!==null){var t=Rf(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=z8(t),e!==null)return e;e=null}else if(n===31){if(e=D8(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Tg=e,null}function b9(e){switch(e){case\"beforetoggle\":case\"cancel\":case\"click\":case\"close\":case\"contextmenu\":case\"copy\":case\"cut\":case\"auxclick\":case\"dblclick\":case\"dragend\":case\"dragstart\":case\"drop\":case\"focusin\":case\"focusout\":case\"input\":case\"invalid\":case\"keydown\":case\"keypress\":case\"keyup\":case\"mousedown\":case\"mouseup\":case\"paste\":case\"pause\":case\"play\":case\"pointercancel\":case\"pointerdown\":case\"pointerup\":case\"ratechange\":case\"reset\":case\"resize\":case\"seeked\":case\"submit\":case\"toggle\":case\"touchcancel\":case\"touchend\":case\"touchstart\":case\"volumechange\":case\"change\":case\"selectionchange\":case\"textInput\":case\"compositionstart\":case\"compositionend\":case\"compositionupdate\":case\"beforeblur\":case\"afterblur\":case\"beforeinput\":case\"blur\":case\"fullscreenchange\":case\"focus\":case\"hashchange\":case\"popstate\":case\"select\":case\"selectstart\":return 2;case\"drag\":case\"dragenter\":case\"dragexit\":case\"dragleave\":case\"dragover\":case\"mousemove\":case\"mouseout\":case\"mouseover\":case\"pointermove\":case\"pointerout\":case\"pointerover\":case\"scroll\":case\"touchmove\":case\"wheel\":case\"mouseenter\":case\"mouseleave\":case\"pointerenter\":case\"pointerleave\":return 8;case\"message\":switch(SO()){case H8:return 2;case V8:return 8;case eg:case _O:return 32;case W8:return 268435456;default:return 32}default:return 32}}var l2=!1,os=null,ss=null,ls=null,Bf=new Map,Mf=new Map,Zo=[],PN=\"mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset\".split(\" \");function R8(e,t){switch(e){case\"focusin\":case\"focusout\":os=null;break;case\"dragenter\":case\"dragleave\":ss=null;break;case\"mouseover\":case\"mouseout\":ls=null;break;case\"pointerover\":case\"pointerout\":Bf.delete(t.pointerId);break;case\"gotpointercapture\":case\"lostpointercapture\":Mf.delete(t.pointerId)}}function Gd(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Yc(t),t!==null&&y9(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function zN(e,t,n,r,i){switch(t){case\"focusin\":return os=Gd(os,e,t,n,r,i),!0;case\"dragenter\":return ss=Gd(ss,e,t,n,r,i),!0;case\"mouseover\":return ls=Gd(ls,e,t,n,r,i),!0;case\"pointerover\":var a=i.pointerId;return Bf.set(a,Gd(Bf.get(a)||null,e,t,n,r,i)),!0;case\"gotpointercapture\":return a=i.pointerId,Mf.set(a,Gd(Mf.get(a)||null,e,t,n,r,i)),!0}return!1}function v9(e){var t=wc(e.target);if(t!==null){var n=Rf(t);if(n!==null){if(t=n.tag,t===13){if(t=z8(n),t!==null){e.blockedOn=t,gx(e.priority,function(){M8(n)});return}}else if(t===31){if(t=D8(n),t!==null){e.blockedOn=t,gx(e.priority,function(){M8(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function G0(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=s2(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Eb=r,n.target.dispatchEvent(r),Eb=null}else return t=Yc(n),t!==null&&y9(t),e.blockedOn=n,!1;t.shift()}return!0}function U8(e,t,n){G0(e)&&n.delete(t)}function DN(){l2=!1,os!==null&&G0(os)&&(os=null),ss!==null&&G0(ss)&&(ss=null),ls!==null&&G0(ls)&&(ls=null),Bf.forEach(U8),Mf.forEach(U8)}function I0(e,t){e.blockedOn===t&&(e.blockedOn=null,l2||(l2=!0,tr.unstable_scheduleCallback(tr.unstable_NormalPriority,DN)))}var N0=null;function O8(e){N0!==e&&(N0=e,tr.unstable_scheduleCallback(tr.unstable_NormalPriority,function(){N0===e&&(N0=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=\"function\"){if(rv(r||n)===null)continue;break}var a=Yc(n);a!==null&&(e.splice(t,3),t-=3,Hb(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function $c(e){function t(l){return I0(l,e)}os!==null&&I0(os,e),ss!==null&&I0(ss,e),ls!==null&&I0(ls,e),Bf.forEach(t),Mf.forEach(t);for(var n=0;n<Zo.length;n++){var r=Zo[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Zo.length&&(n=Zo[0],n.blockedOn===null);)v9(n),n.blockedOn===null&&Zo.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[Fr]||null;if(typeof a==\"function\")o||O8(n);else if(o){var s=null;if(a&&a.hasAttribute(\"formAction\")){if(i=a,o=a[Fr]||null)s=o.formAction;else if(rv(i)!==null)continue}else s=o.action;typeof s==\"function\"?n[r+1]=s:(n.splice(r,3),r-=3),O8(n)}}}function w9(){function e(a){a.canIntercept&&a.info===\"react-transition\"&&a.intercept({handler:function(){return new Promise(function(o){return i=o})},focusReset:\"manual\",scroll:\"manual\"})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var a=navigation.currentEntry;a&&a.url!=null&&navigation.navigate(a.url,{state:a.getState(),info:\"react-transition\",history:\"replace\"})}}if(typeof navigation==\"object\"){var r=!1,i=null;return navigation.addEventListener(\"navigate\",e),navigation.addEventListener(\"navigatesuccess\",t),navigation.addEventListener(\"navigateerror\",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(\"navigate\",e),navigation.removeEventListener(\"navigatesuccess\",t),navigation.removeEventListener(\"navigateerror\",t),i!==null&&(i(),i=null)}}}function iv(e){this._internalRoot=e}qg.prototype.render=iv.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(de(409));var n=t.current,r=hi();m9(n,r,e,t,null,null)};qg.prototype.unmount=iv.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;m9(e.current,2,null,e,null,null),Dg(),t[Zc]=null}};function qg(e){this._internalRoot=e}qg.prototype.unstable_scheduleHydration=function(e){if(e){var t=Y8();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Zo.length&&t!==0&&t<Zo[n].priority;n++);Zo.splice(n,0,e),n===0&&v9(e)}};var I8=N8.version;if(I8!==\"19.2.1\")throw Error(de(527,I8,\"19.2.1\"));Jt.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==\"function\"?Error(de(188)):(e=Object.keys(e).join(\",\"),Error(de(268,e)));return e=mO(t),e=e!==null?L8(e):null,e=e===null?null:e.stateNode,e};var LN={bundleType:0,version:\"19.2.1\",rendererPackageName:\"react-dom\",currentDispatcherRef:rt,reconcilerVersion:\"19.2.1\"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<\"u\"&&(Qd=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Qd.isDisabled&&Qd.supportsFiber))try{Uf=Qd.inject(LN),di=Qd}catch{}var Qd;Hg.createRoot=function(e,t){if(!P8(e))throw Error(de(299));var n=!1,r=\"\",i=dS,a=fS,o=hS;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(i=t.onUncaughtError),t.onCaughtError!==void 0&&(a=t.onCaughtError),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=g9(e,1,!1,null,null,n,r,null,i,a,o,w9),e[Zc]=t.current,X2(e),new iv(t)};Hg.hydrateRoot=function(e,t,n){if(!P8(e))throw Error(de(299));var r=!1,i=\"\",a=dS,o=fS,s=hS,l=null;return n!=null&&(n.unstable_strictMode===!0&&(r=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onUncaughtError!==void 0&&(a=n.onUncaughtError),n.onCaughtError!==void 0&&(o=n.onCaughtError),n.onRecoverableError!==void 0&&(s=n.onRecoverableError),n.formState!==void 0&&(l=n.formState)),t=g9(e,1,!0,t,n??null,r,i,l,a,o,s,w9),t.context=p9(null),n=t.current,r=hi(),r=f2(r),i=ns(r),i.callback=null,rs(n,i,r),n=r,t.current.lanes=n,If(t,n),ha(t),e[Zc]=t.current,X2(e),new qg(t)};Hg.version=\"19.2.1\"});var _9=V((Xte,S9)=>{\"use strict\";b();function C9(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>\"u\"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=\"function\"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(C9)}catch(e){console.error(e)}}C9(),S9.exports=x9()});var E9=V(Vg=>{\"use strict\";b();var jN=Symbol.for(\"react.transitional.element\"),qN=Symbol.for(\"react.fragment\");function T9(e,t,n){var r=null;if(n!==void 0&&(r=\"\"+n),t.key!==void 0&&(r=\"\"+t.key),\"key\"in t){n={};for(var i in t)i!==\"key\"&&(n[i]=t[i])}else n=t;return t=n.ref,{$$typeof:jN,type:e,key:r,ref:t!==void 0?t:null,props:n}}Vg.Fragment=qN;Vg.jsx=T9;Vg.jsxs=T9});var ga=V((nne,A9)=>{\"use strict\";b();A9.exports=E9()});var B9=V((k9,Wg)=>{b();(function(e,t){\"use strict\";typeof Wg<\"u\"&&Wg.exports?Wg.exports=t():(e.nacl||(e.nacl={}),e.nacl.util=t())})(k9,function(){\"use strict\";var e={};function t(n){if(!/^(?:[A-Za-z0-9+\\/]{2}[A-Za-z0-9+\\/]{2})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$/.test(n))throw new TypeError(\"invalid encoding\")}return e.decodeUTF8=function(n){if(typeof n!=\"string\")throw new TypeError(\"expected string\");var r,i=unescape(encodeURIComponent(n)),a=new Uint8Array(i.length);for(r=0;r<i.length;r++)a[r]=i.charCodeAt(r);return a},e.encodeUTF8=function(n){var r,i=[];for(r=0;r<n.length;r++)i.push(String.fromCharCode(n[r]));return decodeURIComponent(escape(i.join(\"\")))},typeof atob>\"u\"?typeof globalThis.Buffer.from<\"u\"?(e.encodeBase64=function(n){return globalThis.Buffer.from(n).toString(\"base64\")},e.decodeBase64=function(n){return t(n),new Uint8Array(Array.prototype.slice.call(globalThis.Buffer.from(n,\"base64\"),0))}):(e.encodeBase64=function(n){return new globalThis.Buffer(n).toString(\"base64\")},e.decodeBase64=function(n){return t(n),new Uint8Array(Array.prototype.slice.call(new globalThis.Buffer(n,\"base64\"),0))}):(e.encodeBase64=function(n){var r,i=[],a=n.length;for(r=0;r<a;r++)i.push(String.fromCharCode(n[r]));return btoa(i.join(\"\"))},e.decodeBase64=function(n){t(n);var r,i=atob(n),a=new Uint8Array(i.length);for(r=0;r<i.length;r++)a[r]=i.charCodeAt(r);return a}),e})});var Kg=V((ane,Fg)=>{b();(function(e){\"use strict\";var t=function(m){var x,w=new Float64Array(16);if(m)for(x=0;x<m.length;x++)w[x]=m[x];return w},n=function(){throw new Error(\"no PRNG\")},r=new Uint8Array(16),i=new Uint8Array(32);i[0]=9;var a=t(),o=t([1]),s=t([56129,1]),l=t([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),c=t([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),u=t([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),d=t([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),h=t([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function g(m,x,w,f){m[x]=w>>24&255,m[x+1]=w>>16&255,m[x+2]=w>>8&255,m[x+3]=w&255,m[x+4]=f>>24&255,m[x+5]=f>>16&255,m[x+6]=f>>8&255,m[x+7]=f&255}function y(m,x,w,f,S){var W,Z=0;for(W=0;W<S;W++)Z|=m[x+W]^w[f+W];return(1&Z-1>>>8)-1}function E(m,x,w,f){return y(m,x,w,f,16)}function L(m,x,w,f){return y(m,x,w,f,32)}function C(m,x,w,f){for(var S=f[0]&255|(f[1]&255)<<8|(f[2]&255)<<16|(f[3]&255)<<24,W=w[0]&255|(w[1]&255)<<8|(w[2]&255)<<16|(w[3]&255)<<24,Z=w[4]&255|(w[5]&255)<<8|(w[6]&255)<<16|(w[7]&255)<<24,he=w[8]&255|(w[9]&255)<<8|(w[10]&255)<<16|(w[11]&255)<<24,Ee=w[12]&255|(w[13]&255)<<8|(w[14]&255)<<16|(w[15]&255)<<24,Ke=f[4]&255|(f[5]&255)<<8|(f[6]&255)<<16|(f[7]&255)<<24,Ie=x[0]&255|(x[1]&255)<<8|(x[2]&255)<<16|(x[3]&255)<<24,Wt=x[4]&255|(x[5]&255)<<8|(x[6]&255)<<16|(x[7]&255)<<24,De=x[8]&255|(x[9]&255)<<8|(x[10]&255)<<16|(x[11]&255)<<24,at=x[12]&255|(x[13]&255)<<8|(x[14]&255)<<16|(x[15]&255)<<24,ot=f[8]&255|(f[9]&255)<<8|(f[10]&255)<<16|(f[11]&255)<<24,pt=w[16]&255|(w[17]&255)<<8|(w[18]&255)<<16|(w[19]&255)<<24,ft=w[20]&255|(w[21]&255)<<8|(w[22]&255)<<16|(w[23]&255)<<24,st=w[24]&255|(w[25]&255)<<8|(w[26]&255)<<16|(w[27]&255)<<24,ct=w[28]&255|(w[29]&255)<<8|(w[30]&255)<<16|(w[31]&255)<<24,lt=f[12]&255|(f[13]&255)<<8|(f[14]&255)<<16|(f[15]&255)<<24,je=S,Qe=W,Pe=Z,qe=he,We=Ee,Ue=Ke,te=Ie,ne=Wt,xe=De,fe=at,ge=ot,Se=pt,nt=ft,mt=st,_t=ct,yt=lt,M,Mt=0;Mt<20;Mt+=2)M=je+nt|0,We^=M<<7|M>>>25,M=We+je|0,xe^=M<<9|M>>>23,M=xe+We|0,nt^=M<<13|M>>>19,M=nt+xe|0,je^=M<<18|M>>>14,M=Ue+Qe|0,fe^=M<<7|M>>>25,M=fe+Ue|0,mt^=M<<9|M>>>23,M=mt+fe|0,Qe^=M<<13|M>>>19,M=Qe+mt|0,Ue^=M<<18|M>>>14,M=ge+te|0,_t^=M<<7|M>>>25,M=_t+ge|0,Pe^=M<<9|M>>>23,M=Pe+_t|0,te^=M<<13|M>>>19,M=te+Pe|0,ge^=M<<18|M>>>14,M=yt+Se|0,qe^=M<<7|M>>>25,M=qe+yt|0,ne^=M<<9|M>>>23,M=ne+qe|0,Se^=M<<13|M>>>19,M=Se+ne|0,yt^=M<<18|M>>>14,M=je+qe|0,Qe^=M<<7|M>>>25,M=Qe+je|0,Pe^=M<<9|M>>>23,M=Pe+Qe|0,qe^=M<<13|M>>>19,M=qe+Pe|0,je^=M<<18|M>>>14,M=Ue+We|0,te^=M<<7|M>>>25,M=te+Ue|0,ne^=M<<9|M>>>23,M=ne+te|0,We^=M<<13|M>>>19,M=We+ne|0,Ue^=M<<18|M>>>14,M=ge+fe|0,Se^=M<<7|M>>>25,M=Se+ge|0,xe^=M<<9|M>>>23,M=xe+Se|0,fe^=M<<13|M>>>19,M=fe+xe|0,ge^=M<<18|M>>>14,M=yt+_t|0,nt^=M<<7|M>>>25,M=nt+yt|0,mt^=M<<9|M>>>23,M=mt+nt|0,_t^=M<<13|M>>>19,M=_t+mt|0,yt^=M<<18|M>>>14;je=je+S|0,Qe=Qe+W|0,Pe=Pe+Z|0,qe=qe+he|0,We=We+Ee|0,Ue=Ue+Ke|0,te=te+Ie|0,ne=ne+Wt|0,xe=xe+De|0,fe=fe+at|0,ge=ge+ot|0,Se=Se+pt|0,nt=nt+ft|0,mt=mt+st|0,_t=_t+ct|0,yt=yt+lt|0,m[0]=je>>>0&255,m[1]=je>>>8&255,m[2]=je>>>16&255,m[3]=je>>>24&255,m[4]=Qe>>>0&255,m[5]=Qe>>>8&255,m[6]=Qe>>>16&255,m[7]=Qe>>>24&255,m[8]=Pe>>>0&255,m[9]=Pe>>>8&255,m[10]=Pe>>>16&255,m[11]=Pe>>>24&255,m[12]=qe>>>0&255,m[13]=qe>>>8&255,m[14]=qe>>>16&255,m[15]=qe>>>24&255,m[16]=We>>>0&255,m[17]=We>>>8&255,m[18]=We>>>16&255,m[19]=We>>>24&255,m[20]=Ue>>>0&255,m[21]=Ue>>>8&255,m[22]=Ue>>>16&255,m[23]=Ue>>>24&255,m[24]=te>>>0&255,m[25]=te>>>8&255,m[26]=te>>>16&255,m[27]=te>>>24&255,m[28]=ne>>>0&255,m[29]=ne>>>8&255,m[30]=ne>>>16&255,m[31]=ne>>>24&255,m[32]=xe>>>0&255,m[33]=xe>>>8&255,m[34]=xe>>>16&255,m[35]=xe>>>24&255,m[36]=fe>>>0&255,m[37]=fe>>>8&255,m[38]=fe>>>16&255,m[39]=fe>>>24&255,m[40]=ge>>>0&255,m[41]=ge>>>8&255,m[42]=ge>>>16&255,m[43]=ge>>>24&255,m[44]=Se>>>0&255,m[45]=Se>>>8&255,m[46]=Se>>>16&255,m[47]=Se>>>24&255,m[48]=nt>>>0&255,m[49]=nt>>>8&255,m[50]=nt>>>16&255,m[51]=nt>>>24&255,m[52]=mt>>>0&255,m[53]=mt>>>8&255,m[54]=mt>>>16&255,m[55]=mt>>>24&255,m[56]=_t>>>0&255,m[57]=_t>>>8&255,m[58]=_t>>>16&255,m[59]=_t>>>24&255,m[60]=yt>>>0&255,m[61]=yt>>>8&255,m[62]=yt>>>16&255,m[63]=yt>>>24&255}function v(m,x,w,f){for(var S=f[0]&255|(f[1]&255)<<8|(f[2]&255)<<16|(f[3]&255)<<24,W=w[0]&255|(w[1]&255)<<8|(w[2]&255)<<16|(w[3]&255)<<24,Z=w[4]&255|(w[5]&255)<<8|(w[6]&255)<<16|(w[7]&255)<<24,he=w[8]&255|(w[9]&255)<<8|(w[10]&255)<<16|(w[11]&255)<<24,Ee=w[12]&255|(w[13]&255)<<8|(w[14]&255)<<16|(w[15]&255)<<24,Ke=f[4]&255|(f[5]&255)<<8|(f[6]&255)<<16|(f[7]&255)<<24,Ie=x[0]&255|(x[1]&255)<<8|(x[2]&255)<<16|(x[3]&255)<<24,Wt=x[4]&255|(x[5]&255)<<8|(x[6]&255)<<16|(x[7]&255)<<24,De=x[8]&255|(x[9]&255)<<8|(x[10]&255)<<16|(x[11]&255)<<24,at=x[12]&255|(x[13]&255)<<8|(x[14]&255)<<16|(x[15]&255)<<24,ot=f[8]&255|(f[9]&255)<<8|(f[10]&255)<<16|(f[11]&255)<<24,pt=w[16]&255|(w[17]&255)<<8|(w[18]&255)<<16|(w[19]&255)<<24,ft=w[20]&255|(w[21]&255)<<8|(w[22]&255)<<16|(w[23]&255)<<24,st=w[24]&255|(w[25]&255)<<8|(w[26]&255)<<16|(w[27]&255)<<24,ct=w[28]&255|(w[29]&255)<<8|(w[30]&255)<<16|(w[31]&255)<<24,lt=f[12]&255|(f[13]&255)<<8|(f[14]&255)<<16|(f[15]&255)<<24,je=S,Qe=W,Pe=Z,qe=he,We=Ee,Ue=Ke,te=Ie,ne=Wt,xe=De,fe=at,ge=ot,Se=pt,nt=ft,mt=st,_t=ct,yt=lt,M,Mt=0;Mt<20;Mt+=2)M=je+nt|0,We^=M<<7|M>>>25,M=We+je|0,xe^=M<<9|M>>>23,M=xe+We|0,nt^=M<<13|M>>>19,M=nt+xe|0,je^=M<<18|M>>>14,M=Ue+Qe|0,fe^=M<<7|M>>>25,M=fe+Ue|0,mt^=M<<9|M>>>23,M=mt+fe|0,Qe^=M<<13|M>>>19,M=Qe+mt|0,Ue^=M<<18|M>>>14,M=ge+te|0,_t^=M<<7|M>>>25,M=_t+ge|0,Pe^=M<<9|M>>>23,M=Pe+_t|0,te^=M<<13|M>>>19,M=te+Pe|0,ge^=M<<18|M>>>14,M=yt+Se|0,qe^=M<<7|M>>>25,M=qe+yt|0,ne^=M<<9|M>>>23,M=ne+qe|0,Se^=M<<13|M>>>19,M=Se+ne|0,yt^=M<<18|M>>>14,M=je+qe|0,Qe^=M<<7|M>>>25,M=Qe+je|0,Pe^=M<<9|M>>>23,M=Pe+Qe|0,qe^=M<<13|M>>>19,M=qe+Pe|0,je^=M<<18|M>>>14,M=Ue+We|0,te^=M<<7|M>>>25,M=te+Ue|0,ne^=M<<9|M>>>23,M=ne+te|0,We^=M<<13|M>>>19,M=We+ne|0,Ue^=M<<18|M>>>14,M=ge+fe|0,Se^=M<<7|M>>>25,M=Se+ge|0,xe^=M<<9|M>>>23,M=xe+Se|0,fe^=M<<13|M>>>19,M=fe+xe|0,ge^=M<<18|M>>>14,M=yt+_t|0,nt^=M<<7|M>>>25,M=nt+yt|0,mt^=M<<9|M>>>23,M=mt+nt|0,_t^=M<<13|M>>>19,M=_t+mt|0,yt^=M<<18|M>>>14;m[0]=je>>>0&255,m[1]=je>>>8&255,m[2]=je>>>16&255,m[3]=je>>>24&255,m[4]=Ue>>>0&255,m[5]=Ue>>>8&255,m[6]=Ue>>>16&255,m[7]=Ue>>>24&255,m[8]=ge>>>0&255,m[9]=ge>>>8&255,m[10]=ge>>>16&255,m[11]=ge>>>24&255,m[12]=yt>>>0&255,m[13]=yt>>>8&255,m[14]=yt>>>16&255,m[15]=yt>>>24&255,m[16]=te>>>0&255,m[17]=te>>>8&255,m[18]=te>>>16&255,m[19]=te>>>24&255,m[20]=ne>>>0&255,m[21]=ne>>>8&255,m[22]=ne>>>16&255,m[23]=ne>>>24&255,m[24]=xe>>>0&255,m[25]=xe>>>8&255,m[26]=xe>>>16&255,m[27]=xe>>>24&255,m[28]=fe>>>0&255,m[29]=fe>>>8&255,m[30]=fe>>>16&255,m[31]=fe>>>24&255}function T(m,x,w,f){C(m,x,w,f)}function R(m,x,w,f){v(m,x,w,f)}var O=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function re(m,x,w,f,S,W,Z){var he=new Uint8Array(16),Ee=new Uint8Array(64),Ke,Ie;for(Ie=0;Ie<16;Ie++)he[Ie]=0;for(Ie=0;Ie<8;Ie++)he[Ie]=W[Ie];for(;S>=64;){for(T(Ee,he,Z,O),Ie=0;Ie<64;Ie++)m[x+Ie]=w[f+Ie]^Ee[Ie];for(Ke=1,Ie=8;Ie<16;Ie++)Ke=Ke+(he[Ie]&255)|0,he[Ie]=Ke&255,Ke>>>=8;S-=64,x+=64,f+=64}if(S>0)for(T(Ee,he,Z,O),Ie=0;Ie<S;Ie++)m[x+Ie]=w[f+Ie]^Ee[Ie];return 0}function B(m,x,w,f,S){var W=new Uint8Array(16),Z=new Uint8Array(64),he,Ee;for(Ee=0;Ee<16;Ee++)W[Ee]=0;for(Ee=0;Ee<8;Ee++)W[Ee]=f[Ee];for(;w>=64;){for(T(Z,W,S,O),Ee=0;Ee<64;Ee++)m[x+Ee]=Z[Ee];for(he=1,Ee=8;Ee<16;Ee++)he=he+(W[Ee]&255)|0,W[Ee]=he&255,he>>>=8;w-=64,x+=64}if(w>0)for(T(Z,W,S,O),Ee=0;Ee<w;Ee++)m[x+Ee]=Z[Ee];return 0}function q(m,x,w,f,S){var W=new Uint8Array(32);R(W,f,S,O);for(var Z=new Uint8Array(8),he=0;he<8;he++)Z[he]=f[he+16];return B(m,x,w,Z,W)}function z(m,x,w,f,S,W,Z){var he=new Uint8Array(32);R(he,W,Z,O);for(var Ee=new Uint8Array(8),Ke=0;Ke<8;Ke++)Ee[Ke]=W[Ke+16];return re(m,x,w,f,S,Ee,he)}var K=function(m){this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.leftover=0,this.fin=0;var x,w,f,S,W,Z,he,Ee;x=m[0]&255|(m[1]&255)<<8,this.r[0]=x&8191,w=m[2]&255|(m[3]&255)<<8,this.r[1]=(x>>>13|w<<3)&8191,f=m[4]&255|(m[5]&255)<<8,this.r[2]=(w>>>10|f<<6)&7939,S=m[6]&255|(m[7]&255)<<8,this.r[3]=(f>>>7|S<<9)&8191,W=m[8]&255|(m[9]&255)<<8,this.r[4]=(S>>>4|W<<12)&255,this.r[5]=W>>>1&8190,Z=m[10]&255|(m[11]&255)<<8,this.r[6]=(W>>>14|Z<<2)&8191,he=m[12]&255|(m[13]&255)<<8,this.r[7]=(Z>>>11|he<<5)&8065,Ee=m[14]&255|(m[15]&255)<<8,this.r[8]=(he>>>8|Ee<<8)&8191,this.r[9]=Ee>>>5&127,this.pad[0]=m[16]&255|(m[17]&255)<<8,this.pad[1]=m[18]&255|(m[19]&255)<<8,this.pad[2]=m[20]&255|(m[21]&255)<<8,this.pad[3]=m[22]&255|(m[23]&255)<<8,this.pad[4]=m[24]&255|(m[25]&255)<<8,this.pad[5]=m[26]&255|(m[27]&255)<<8,this.pad[6]=m[28]&255|(m[29]&255)<<8,this.pad[7]=m[30]&255|(m[31]&255)<<8};K.prototype.blocks=function(m,x,w){for(var f=this.fin?0:2048,S,W,Z,he,Ee,Ke,Ie,Wt,De,at,ot,pt,ft,st,ct,lt,je,Qe,Pe,qe=this.h[0],We=this.h[1],Ue=this.h[2],te=this.h[3],ne=this.h[4],xe=this.h[5],fe=this.h[6],ge=this.h[7],Se=this.h[8],nt=this.h[9],mt=this.r[0],_t=this.r[1],yt=this.r[2],M=this.r[3],Mt=this.r[4],Ft=this.r[5],Kt=this.r[6],At=this.r[7],qt=this.r[8],Ht=this.r[9];w>=16;)S=m[x+0]&255|(m[x+1]&255)<<8,qe+=S&8191,W=m[x+2]&255|(m[x+3]&255)<<8,We+=(S>>>13|W<<3)&8191,Z=m[x+4]&255|(m[x+5]&255)<<8,Ue+=(W>>>10|Z<<6)&8191,he=m[x+6]&255|(m[x+7]&255)<<8,te+=(Z>>>7|he<<9)&8191,Ee=m[x+8]&255|(m[x+9]&255)<<8,ne+=(he>>>4|Ee<<12)&8191,xe+=Ee>>>1&8191,Ke=m[x+10]&255|(m[x+11]&255)<<8,fe+=(Ee>>>14|Ke<<2)&8191,Ie=m[x+12]&255|(m[x+13]&255)<<8,ge+=(Ke>>>11|Ie<<5)&8191,Wt=m[x+14]&255|(m[x+15]&255)<<8,Se+=(Ie>>>8|Wt<<8)&8191,nt+=Wt>>>5|f,De=0,at=De,at+=qe*mt,at+=We*(5*Ht),at+=Ue*(5*qt),at+=te*(5*At),at+=ne*(5*Kt),De=at>>>13,at&=8191,at+=xe*(5*Ft),at+=fe*(5*Mt),at+=ge*(5*M),at+=Se*(5*yt),at+=nt*(5*_t),De+=at>>>13,at&=8191,ot=De,ot+=qe*_t,ot+=We*mt,ot+=Ue*(5*Ht),ot+=te*(5*qt),ot+=ne*(5*At),De=ot>>>13,ot&=8191,ot+=xe*(5*Kt),ot+=fe*(5*Ft),ot+=ge*(5*Mt),ot+=Se*(5*M),ot+=nt*(5*yt),De+=ot>>>13,ot&=8191,pt=De,pt+=qe*yt,pt+=We*_t,pt+=Ue*mt,pt+=te*(5*Ht),pt+=ne*(5*qt),De=pt>>>13,pt&=8191,pt+=xe*(5*At),pt+=fe*(5*Kt),pt+=ge*(5*Ft),pt+=Se*(5*Mt),pt+=nt*(5*M),De+=pt>>>13,pt&=8191,ft=De,ft+=qe*M,ft+=We*yt,ft+=Ue*_t,ft+=te*mt,ft+=ne*(5*Ht),De=ft>>>13,ft&=8191,ft+=xe*(5*qt),ft+=fe*(5*At),ft+=ge*(5*Kt),ft+=Se*(5*Ft),ft+=nt*(5*Mt),De+=ft>>>13,ft&=8191,st=De,st+=qe*Mt,st+=We*M,st+=Ue*yt,st+=te*_t,st+=ne*mt,De=st>>>13,st&=8191,st+=xe*(5*Ht),st+=fe*(5*qt),st+=ge*(5*At),st+=Se*(5*Kt),st+=nt*(5*Ft),De+=st>>>13,st&=8191,ct=De,ct+=qe*Ft,ct+=We*Mt,ct+=Ue*M,ct+=te*yt,ct+=ne*_t,De=ct>>>13,ct&=8191,ct+=xe*mt,ct+=fe*(5*Ht),ct+=ge*(5*qt),ct+=Se*(5*At),ct+=nt*(5*Kt),De+=ct>>>13,ct&=8191,lt=De,lt+=qe*Kt,lt+=We*Ft,lt+=Ue*Mt,lt+=te*M,lt+=ne*yt,De=lt>>>13,lt&=8191,lt+=xe*_t,lt+=fe*mt,lt+=ge*(5*Ht),lt+=Se*(5*qt),lt+=nt*(5*At),De+=lt>>>13,lt&=8191,je=De,je+=qe*At,je+=We*Kt,je+=Ue*Ft,je+=te*Mt,je+=ne*M,De=je>>>13,je&=8191,je+=xe*yt,je+=fe*_t,je+=ge*mt,je+=Se*(5*Ht),je+=nt*(5*qt),De+=je>>>13,je&=8191,Qe=De,Qe+=qe*qt,Qe+=We*At,Qe+=Ue*Kt,Qe+=te*Ft,Qe+=ne*Mt,De=Qe>>>13,Qe&=8191,Qe+=xe*M,Qe+=fe*yt,Qe+=ge*_t,Qe+=Se*mt,Qe+=nt*(5*Ht),De+=Qe>>>13,Qe&=8191,Pe=De,Pe+=qe*Ht,Pe+=We*qt,Pe+=Ue*At,Pe+=te*Kt,Pe+=ne*Ft,De=Pe>>>13,Pe&=8191,Pe+=xe*Mt,Pe+=fe*M,Pe+=ge*yt,Pe+=Se*_t,Pe+=nt*mt,De+=Pe>>>13,Pe&=8191,De=(De<<2)+De|0,De=De+at|0,at=De&8191,De=De>>>13,ot+=De,qe=at,We=ot,Ue=pt,te=ft,ne=st,xe=ct,fe=lt,ge=je,Se=Qe,nt=Pe,x+=16,w-=16;this.h[0]=qe,this.h[1]=We,this.h[2]=Ue,this.h[3]=te,this.h[4]=ne,this.h[5]=xe,this.h[6]=fe,this.h[7]=ge,this.h[8]=Se,this.h[9]=nt},K.prototype.finish=function(m,x){var w=new Uint16Array(10),f,S,W,Z;if(this.leftover){for(Z=this.leftover,this.buffer[Z++]=1;Z<16;Z++)this.buffer[Z]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(f=this.h[1]>>>13,this.h[1]&=8191,Z=2;Z<10;Z++)this.h[Z]+=f,f=this.h[Z]>>>13,this.h[Z]&=8191;for(this.h[0]+=f*5,f=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=f,f=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=f,w[0]=this.h[0]+5,f=w[0]>>>13,w[0]&=8191,Z=1;Z<10;Z++)w[Z]=this.h[Z]+f,f=w[Z]>>>13,w[Z]&=8191;for(w[9]-=8192,S=(f^1)-1,Z=0;Z<10;Z++)w[Z]&=S;for(S=~S,Z=0;Z<10;Z++)this.h[Z]=this.h[Z]&S|w[Z];for(this.h[0]=(this.h[0]|this.h[1]<<13)&65535,this.h[1]=(this.h[1]>>>3|this.h[2]<<10)&65535,this.h[2]=(this.h[2]>>>6|this.h[3]<<7)&65535,this.h[3]=(this.h[3]>>>9|this.h[4]<<4)&65535,this.h[4]=(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14)&65535,this.h[5]=(this.h[6]>>>2|this.h[7]<<11)&65535,this.h[6]=(this.h[7]>>>5|this.h[8]<<8)&65535,this.h[7]=(this.h[8]>>>8|this.h[9]<<5)&65535,W=this.h[0]+this.pad[0],this.h[0]=W&65535,Z=1;Z<8;Z++)W=(this.h[Z]+this.pad[Z]|0)+(W>>>16)|0,this.h[Z]=W&65535;m[x+0]=this.h[0]>>>0&255,m[x+1]=this.h[0]>>>8&255,m[x+2]=this.h[1]>>>0&255,m[x+3]=this.h[1]>>>8&255,m[x+4]=this.h[2]>>>0&255,m[x+5]=this.h[2]>>>8&255,m[x+6]=this.h[3]>>>0&255,m[x+7]=this.h[3]>>>8&255,m[x+8]=this.h[4]>>>0&255,m[x+9]=this.h[4]>>>8&255,m[x+10]=this.h[5]>>>0&255,m[x+11]=this.h[5]>>>8&255,m[x+12]=this.h[6]>>>0&255,m[x+13]=this.h[6]>>>8&255,m[x+14]=this.h[7]>>>0&255,m[x+15]=this.h[7]>>>8&255},K.prototype.update=function(m,x,w){var f,S;if(this.leftover){for(S=16-this.leftover,S>w&&(S=w),f=0;f<S;f++)this.buffer[this.leftover+f]=m[x+f];if(w-=S,x+=S,this.leftover+=S,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(w>=16&&(S=w-w%16,this.blocks(m,x,S),x+=S,w-=S),w){for(f=0;f<w;f++)this.buffer[this.leftover+f]=m[x+f];this.leftover+=w}};function j(m,x,w,f,S,W){var Z=new K(W);return Z.update(w,f,S),Z.finish(m,x),0}function N(m,x,w,f,S,W){var Z=new Uint8Array(16);return j(Z,0,w,f,S,W),E(m,x,Z,0)}function pe(m,x,w,f,S){var W;if(w<32)return-1;for(z(m,0,x,0,w,f,S),j(m,16,m,32,w-32,m),W=0;W<16;W++)m[W]=0;return 0}function le(m,x,w,f,S){var W,Z=new Uint8Array(32);if(w<32||(q(Z,0,32,f,S),N(x,16,x,32,w-32,Z)!==0))return-1;for(z(m,0,x,0,w,f,S),W=0;W<32;W++)m[W]=0;return 0}function se(m,x){var w;for(w=0;w<16;w++)m[w]=x[w]|0}function Me(m){var x,w,f=1;for(x=0;x<16;x++)w=m[x]+f+65535,f=Math.floor(w/65536),m[x]=w-f*65536;m[0]+=f-1+37*(f-1)}function I(m,x,w){for(var f,S=~(w-1),W=0;W<16;W++)f=S&(m[W]^x[W]),m[W]^=f,x[W]^=f}function Fe(m,x){var w,f,S,W=t(),Z=t();for(w=0;w<16;w++)Z[w]=x[w];for(Me(Z),Me(Z),Me(Z),f=0;f<2;f++){for(W[0]=Z[0]-65517,w=1;w<15;w++)W[w]=Z[w]-65535-(W[w-1]>>16&1),W[w-1]&=65535;W[15]=Z[15]-32767-(W[14]>>16&1),S=W[15]>>16&1,W[14]&=65535,I(Z,W,1-S)}for(w=0;w<16;w++)m[2*w]=Z[w]&255,m[2*w+1]=Z[w]>>8}function Ze(m,x){var w=new Uint8Array(32),f=new Uint8Array(32);return Fe(w,m),Fe(f,x),L(w,0,f,0)}function Et(m){var x=new Uint8Array(32);return Fe(x,m),x[0]&1}function Qt(m,x){var w;for(w=0;w<16;w++)m[w]=x[2*w]+(x[2*w+1]<<8);m[15]&=32767}function jt(m,x,w){for(var f=0;f<16;f++)m[f]=x[f]+w[f]}function tn(m,x,w){for(var f=0;f<16;f++)m[f]=x[f]-w[f]}function Le(m,x,w){var f,S,W=0,Z=0,he=0,Ee=0,Ke=0,Ie=0,Wt=0,De=0,at=0,ot=0,pt=0,ft=0,st=0,ct=0,lt=0,je=0,Qe=0,Pe=0,qe=0,We=0,Ue=0,te=0,ne=0,xe=0,fe=0,ge=0,Se=0,nt=0,mt=0,_t=0,yt=0,M=w[0],Mt=w[1],Ft=w[2],Kt=w[3],At=w[4],qt=w[5],Ht=w[6],Vn=w[7],rn=w[8],Pn=w[9],zn=w[10],Dn=w[11],Jn=w[12],yr=w[13],br=w[14],vr=w[15];f=x[0],W+=f*M,Z+=f*Mt,he+=f*Ft,Ee+=f*Kt,Ke+=f*At,Ie+=f*qt,Wt+=f*Ht,De+=f*Vn,at+=f*rn,ot+=f*Pn,pt+=f*zn,ft+=f*Dn,st+=f*Jn,ct+=f*yr,lt+=f*br,je+=f*vr,f=x[1],Z+=f*M,he+=f*Mt,Ee+=f*Ft,Ke+=f*Kt,Ie+=f*At,Wt+=f*qt,De+=f*Ht,at+=f*Vn,ot+=f*rn,pt+=f*Pn,ft+=f*zn,st+=f*Dn,ct+=f*Jn,lt+=f*yr,je+=f*br,Qe+=f*vr,f=x[2],he+=f*M,Ee+=f*Mt,Ke+=f*Ft,Ie+=f*Kt,Wt+=f*At,De+=f*qt,at+=f*Ht,ot+=f*Vn,pt+=f*rn,ft+=f*Pn,st+=f*zn,ct+=f*Dn,lt+=f*Jn,je+=f*yr,Qe+=f*br,Pe+=f*vr,f=x[3],Ee+=f*M,Ke+=f*Mt,Ie+=f*Ft,Wt+=f*Kt,De+=f*At,at+=f*qt,ot+=f*Ht,pt+=f*Vn,ft+=f*rn,st+=f*Pn,ct+=f*zn,lt+=f*Dn,je+=f*Jn,Qe+=f*yr,Pe+=f*br,qe+=f*vr,f=x[4],Ke+=f*M,Ie+=f*Mt,Wt+=f*Ft,De+=f*Kt,at+=f*At,ot+=f*qt,pt+=f*Ht,ft+=f*Vn,st+=f*rn,ct+=f*Pn,lt+=f*zn,je+=f*Dn,Qe+=f*Jn,Pe+=f*yr,qe+=f*br,We+=f*vr,f=x[5],Ie+=f*M,Wt+=f*Mt,De+=f*Ft,at+=f*Kt,ot+=f*At,pt+=f*qt,ft+=f*Ht,st+=f*Vn,ct+=f*rn,lt+=f*Pn,je+=f*zn,Qe+=f*Dn,Pe+=f*Jn,qe+=f*yr,We+=f*br,Ue+=f*vr,f=x[6],Wt+=f*M,De+=f*Mt,at+=f*Ft,ot+=f*Kt,pt+=f*At,ft+=f*qt,st+=f*Ht,ct+=f*Vn,lt+=f*rn,je+=f*Pn,Qe+=f*zn,Pe+=f*Dn,qe+=f*Jn,We+=f*yr,Ue+=f*br,te+=f*vr,f=x[7],De+=f*M,at+=f*Mt,ot+=f*Ft,pt+=f*Kt,ft+=f*At,st+=f*qt,ct+=f*Ht,lt+=f*Vn,je+=f*rn,Qe+=f*Pn,Pe+=f*zn,qe+=f*Dn,We+=f*Jn,Ue+=f*yr,te+=f*br,ne+=f*vr,f=x[8],at+=f*M,ot+=f*Mt,pt+=f*Ft,ft+=f*Kt,st+=f*At,ct+=f*qt,lt+=f*Ht,je+=f*Vn,Qe+=f*rn,Pe+=f*Pn,qe+=f*zn,We+=f*Dn,Ue+=f*Jn,te+=f*yr,ne+=f*br,xe+=f*vr,f=x[9],ot+=f*M,pt+=f*Mt,ft+=f*Ft,st+=f*Kt,ct+=f*At,lt+=f*qt,je+=f*Ht,Qe+=f*Vn,Pe+=f*rn,qe+=f*Pn,We+=f*zn,Ue+=f*Dn,te+=f*Jn,ne+=f*yr,xe+=f*br,fe+=f*vr,f=x[10],pt+=f*M,ft+=f*Mt,st+=f*Ft,ct+=f*Kt,lt+=f*At,je+=f*qt,Qe+=f*Ht,Pe+=f*Vn,qe+=f*rn,We+=f*Pn,Ue+=f*zn,te+=f*Dn,ne+=f*Jn,xe+=f*yr,fe+=f*br,ge+=f*vr,f=x[11],ft+=f*M,st+=f*Mt,ct+=f*Ft,lt+=f*Kt,je+=f*At,Qe+=f*qt,Pe+=f*Ht,qe+=f*Vn,We+=f*rn,Ue+=f*Pn,te+=f*zn,ne+=f*Dn,xe+=f*Jn,fe+=f*yr,ge+=f*br,Se+=f*vr,f=x[12],st+=f*M,ct+=f*Mt,lt+=f*Ft,je+=f*Kt,Qe+=f*At,Pe+=f*qt,qe+=f*Ht,We+=f*Vn,Ue+=f*rn,te+=f*Pn,ne+=f*zn,xe+=f*Dn,fe+=f*Jn,ge+=f*yr,Se+=f*br,nt+=f*vr,f=x[13],ct+=f*M,lt+=f*Mt,je+=f*Ft,Qe+=f*Kt,Pe+=f*At,qe+=f*qt,We+=f*Ht,Ue+=f*Vn,te+=f*rn,ne+=f*Pn,xe+=f*zn,fe+=f*Dn,ge+=f*Jn,Se+=f*yr,nt+=f*br,mt+=f*vr,f=x[14],lt+=f*M,je+=f*Mt,Qe+=f*Ft,Pe+=f*Kt,qe+=f*At,We+=f*qt,Ue+=f*Ht,te+=f*Vn,ne+=f*rn,xe+=f*Pn,fe+=f*zn,ge+=f*Dn,Se+=f*Jn,nt+=f*yr,mt+=f*br,_t+=f*vr,f=x[15],je+=f*M,Qe+=f*Mt,Pe+=f*Ft,qe+=f*Kt,We+=f*At,Ue+=f*qt,te+=f*Ht,ne+=f*Vn,xe+=f*rn,fe+=f*Pn,ge+=f*zn,Se+=f*Dn,nt+=f*Jn,mt+=f*yr,_t+=f*br,yt+=f*vr,W+=38*Qe,Z+=38*Pe,he+=38*qe,Ee+=38*We,Ke+=38*Ue,Ie+=38*te,Wt+=38*ne,De+=38*xe,at+=38*fe,ot+=38*ge,pt+=38*Se,ft+=38*nt,st+=38*mt,ct+=38*_t,lt+=38*yt,S=1,f=W+S+65535,S=Math.floor(f/65536),W=f-S*65536,f=Z+S+65535,S=Math.floor(f/65536),Z=f-S*65536,f=he+S+65535,S=Math.floor(f/65536),he=f-S*65536,f=Ee+S+65535,S=Math.floor(f/65536),Ee=f-S*65536,f=Ke+S+65535,S=Math.floor(f/65536),Ke=f-S*65536,f=Ie+S+65535,S=Math.floor(f/65536),Ie=f-S*65536,f=Wt+S+65535,S=Math.floor(f/65536),Wt=f-S*65536,f=De+S+65535,S=Math.floor(f/65536),De=f-S*65536,f=at+S+65535,S=Math.floor(f/65536),at=f-S*65536,f=ot+S+65535,S=Math.floor(f/65536),ot=f-S*65536,f=pt+S+65535,S=Math.floor(f/65536),pt=f-S*65536,f=ft+S+65535,S=Math.floor(f/65536),ft=f-S*65536,f=st+S+65535,S=Math.floor(f/65536),st=f-S*65536,f=ct+S+65535,S=Math.floor(f/65536),ct=f-S*65536,f=lt+S+65535,S=Math.floor(f/65536),lt=f-S*65536,f=je+S+65535,S=Math.floor(f/65536),je=f-S*65536,W+=S-1+37*(S-1),S=1,f=W+S+65535,S=Math.floor(f/65536),W=f-S*65536,f=Z+S+65535,S=Math.floor(f/65536),Z=f-S*65536,f=he+S+65535,S=Math.floor(f/65536),he=f-S*65536,f=Ee+S+65535,S=Math.floor(f/65536),Ee=f-S*65536,f=Ke+S+65535,S=Math.floor(f/65536),Ke=f-S*65536,f=Ie+S+65535,S=Math.floor(f/65536),Ie=f-S*65536,f=Wt+S+65535,S=Math.floor(f/65536),Wt=f-S*65536,f=De+S+65535,S=Math.floor(f/65536),De=f-S*65536,f=at+S+65535,S=Math.floor(f/65536),at=f-S*65536,f=ot+S+65535,S=Math.floor(f/65536),ot=f-S*65536,f=pt+S+65535,S=Math.floor(f/65536),pt=f-S*65536,f=ft+S+65535,S=Math.floor(f/65536),ft=f-S*65536,f=st+S+65535,S=Math.floor(f/65536),st=f-S*65536,f=ct+S+65535,S=Math.floor(f/65536),ct=f-S*65536,f=lt+S+65535,S=Math.floor(f/65536),lt=f-S*65536,f=je+S+65535,S=Math.floor(f/65536),je=f-S*65536,W+=S-1+37*(S-1),m[0]=W,m[1]=Z,m[2]=he,m[3]=Ee,m[4]=Ke,m[5]=Ie,m[6]=Wt,m[7]=De,m[8]=at,m[9]=ot,m[10]=pt,m[11]=ft,m[12]=st,m[13]=ct,m[14]=lt,m[15]=je}function Rn(m,x){Le(m,x,x)}function cr(m,x){var w=t(),f;for(f=0;f<16;f++)w[f]=x[f];for(f=253;f>=0;f--)Rn(w,w),f!==2&&f!==4&&Le(w,w,x);for(f=0;f<16;f++)m[f]=w[f]}function ii(m,x){var w=t(),f;for(f=0;f<16;f++)w[f]=x[f];for(f=250;f>=0;f--)Rn(w,w),f!==1&&Le(w,w,x);for(f=0;f<16;f++)m[f]=w[f]}function oe(m,x,w){var f=new Uint8Array(32),S=new Float64Array(80),W,Z,he=t(),Ee=t(),Ke=t(),Ie=t(),Wt=t(),De=t();for(Z=0;Z<31;Z++)f[Z]=x[Z];for(f[31]=x[31]&127|64,f[0]&=248,Qt(S,w),Z=0;Z<16;Z++)Ee[Z]=S[Z],Ie[Z]=he[Z]=Ke[Z]=0;for(he[0]=Ie[0]=1,Z=254;Z>=0;--Z)W=f[Z>>>3]>>>(Z&7)&1,I(he,Ee,W),I(Ke,Ie,W),jt(Wt,he,Ke),tn(he,he,Ke),jt(Ke,Ee,Ie),tn(Ee,Ee,Ie),Rn(Ie,Wt),Rn(De,he),Le(he,Ke,he),Le(Ke,Ee,Wt),jt(Wt,he,Ke),tn(he,he,Ke),Rn(Ee,he),tn(Ke,Ie,De),Le(he,Ke,s),jt(he,he,Ie),Le(Ke,Ke,he),Le(he,Ie,De),Le(Ie,Ee,S),Rn(Ee,Wt),I(he,Ee,W),I(Ke,Ie,W);for(Z=0;Z<16;Z++)S[Z+16]=he[Z],S[Z+32]=Ke[Z],S[Z+48]=Ee[Z],S[Z+64]=Ie[Z];var at=S.subarray(32),ot=S.subarray(16);return cr(at,at),Le(ot,ot,at),Fe(m,ot),0}function ce(m,x){return oe(m,x,i)}function ie(m,x){return n(x,32),ce(m,x)}function ue(m,x,w){var f=new Uint8Array(32);return oe(f,w,x),R(m,r,f,O)}var ye=pe,Re=le;function et(m,x,w,f,S,W){var Z=new Uint8Array(32);return ue(Z,S,W),ye(m,x,w,f,Z)}function Ge(m,x,w,f,S,W){var Z=new Uint8Array(32);return ue(Z,S,W),Re(m,x,w,f,Z)}var Ut=[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];function fn(m,x,w,f){for(var S=new Int32Array(16),W=new Int32Array(16),Z,he,Ee,Ke,Ie,Wt,De,at,ot,pt,ft,st,ct,lt,je,Qe,Pe,qe,We,Ue,te,ne,xe,fe,ge,Se,nt=m[0],mt=m[1],_t=m[2],yt=m[3],M=m[4],Mt=m[5],Ft=m[6],Kt=m[7],At=x[0],qt=x[1],Ht=x[2],Vn=x[3],rn=x[4],Pn=x[5],zn=x[6],Dn=x[7],Jn=0;f>=128;){for(We=0;We<16;We++)Ue=8*We+Jn,S[We]=w[Ue+0]<<24|w[Ue+1]<<16|w[Ue+2]<<8|w[Ue+3],W[We]=w[Ue+4]<<24|w[Ue+5]<<16|w[Ue+6]<<8|w[Ue+7];for(We=0;We<80;We++)if(Z=nt,he=mt,Ee=_t,Ke=yt,Ie=M,Wt=Mt,De=Ft,at=Kt,ot=At,pt=qt,ft=Ht,st=Vn,ct=rn,lt=Pn,je=zn,Qe=Dn,te=Kt,ne=Dn,xe=ne&65535,fe=ne>>>16,ge=te&65535,Se=te>>>16,te=(M>>>14|rn<<18)^(M>>>18|rn<<14)^(rn>>>9|M<<23),ne=(rn>>>14|M<<18)^(rn>>>18|M<<14)^(M>>>9|rn<<23),xe+=ne&65535,fe+=ne>>>16,ge+=te&65535,Se+=te>>>16,te=M&Mt^~M&Ft,ne=rn&Pn^~rn&zn,xe+=ne&65535,fe+=ne>>>16,ge+=te&65535,Se+=te>>>16,te=Ut[We*2],ne=Ut[We*2+1],xe+=ne&65535,fe+=ne>>>16,ge+=te&65535,Se+=te>>>16,te=S[We%16],ne=W[We%16],xe+=ne&65535,fe+=ne>>>16,ge+=te&65535,Se+=te>>>16,fe+=xe>>>16,ge+=fe>>>16,Se+=ge>>>16,Pe=ge&65535|Se<<16,qe=xe&65535|fe<<16,te=Pe,ne=qe,xe=ne&65535,fe=ne>>>16,ge=te&65535,Se=te>>>16,te=(nt>>>28|At<<4)^(At>>>2|nt<<30)^(At>>>7|nt<<25),ne=(At>>>28|nt<<4)^(nt>>>2|At<<30)^(nt>>>7|At<<25),xe+=ne&65535,fe+=ne>>>16,ge+=te&65535,Se+=te>>>16,te=nt&mt^nt&_t^mt&_t,ne=At&qt^At&Ht^qt&Ht,xe+=ne&65535,fe+=ne>>>16,ge+=te&65535,Se+=te>>>16,fe+=xe>>>16,ge+=fe>>>16,Se+=ge>>>16,at=ge&65535|Se<<16,Qe=xe&65535|fe<<16,te=Ke,ne=st,xe=ne&65535,fe=ne>>>16,ge=te&65535,Se=te>>>16,te=Pe,ne=qe,xe+=ne&65535,fe+=ne>>>16,ge+=te&65535,Se+=te>>>16,fe+=xe>>>16,ge+=fe>>>16,Se+=ge>>>16,Ke=ge&65535|Se<<16,st=xe&65535|fe<<16,mt=Z,_t=he,yt=Ee,M=Ke,Mt=Ie,Ft=Wt,Kt=De,nt=at,qt=ot,Ht=pt,Vn=ft,rn=st,Pn=ct,zn=lt,Dn=je,At=Qe,We%16===15)for(Ue=0;Ue<16;Ue++)te=S[Ue],ne=W[Ue],xe=ne&65535,fe=ne>>>16,ge=te&65535,Se=te>>>16,te=S[(Ue+9)%16],ne=W[(Ue+9)%16],xe+=ne&65535,fe+=ne>>>16,ge+=te&65535,Se+=te>>>16,Pe=S[(Ue+1)%16],qe=W[(Ue+1)%16],te=(Pe>>>1|qe<<31)^(Pe>>>8|qe<<24)^Pe>>>7,ne=(qe>>>1|Pe<<31)^(qe>>>8|Pe<<24)^(qe>>>7|Pe<<25),xe+=ne&65535,fe+=ne>>>16,ge+=te&65535,Se+=te>>>16,Pe=S[(Ue+14)%16],qe=W[(Ue+14)%16],te=(Pe>>>19|qe<<13)^(qe>>>29|Pe<<3)^Pe>>>6,ne=(qe>>>19|Pe<<13)^(Pe>>>29|qe<<3)^(qe>>>6|Pe<<26),xe+=ne&65535,fe+=ne>>>16,ge+=te&65535,Se+=te>>>16,fe+=xe>>>16,ge+=fe>>>16,Se+=ge>>>16,S[Ue]=ge&65535|Se<<16,W[Ue]=xe&65535|fe<<16;te=nt,ne=At,xe=ne&65535,fe=ne>>>16,ge=te&65535,Se=te>>>16,te=m[0],ne=x[0],xe+=ne&65535,fe+=ne>>>16,ge+=te&65535,Se+=te>>>16,fe+=xe>>>16,ge+=fe>>>16,Se+=ge>>>16,m[0]=nt=ge&65535|Se<<16,x[0]=At=xe&65535|fe<<16,te=mt,ne=qt,xe=ne&65535,fe=ne>>>16,ge=te&65535,Se=te>>>16,te=m[1],ne=x[1],xe+=ne&65535,fe+=ne>>>16,ge+=te&65535,Se+=te>>>16,fe+=xe>>>16,ge+=fe>>>16,Se+=ge>>>16,m[1]=mt=ge&65535|Se<<16,x[1]=qt=xe&65535|fe<<16,te=_t,ne=Ht,xe=ne&65535,fe=ne>>>16,ge=te&65535,Se=te>>>16,te=m[2],ne=x[2],xe+=ne&65535,fe+=ne>>>16,ge+=te&65535,Se+=te>>>16,fe+=xe>>>16,ge+=fe>>>16,Se+=ge>>>16,m[2]=_t=ge&65535|Se<<16,x[2]=Ht=xe&65535|fe<<16,te=yt,ne=Vn,xe=ne&65535,fe=ne>>>16,ge=te&65535,Se=te>>>16,te=m[3],ne=x[3],xe+=ne&65535,fe+=ne>>>16,ge+=te&65535,Se+=te>>>16,fe+=xe>>>16,ge+=fe>>>16,Se+=ge>>>16,m[3]=yt=ge&65535|Se<<16,x[3]=Vn=xe&65535|fe<<16,te=M,ne=rn,xe=ne&65535,fe=ne>>>16,ge=te&65535,Se=te>>>16,te=m[4],ne=x[4],xe+=ne&65535,fe+=ne>>>16,ge+=te&65535,Se+=te>>>16,fe+=xe>>>16,ge+=fe>>>16,Se+=ge>>>16,m[4]=M=ge&65535|Se<<16,x[4]=rn=xe&65535|fe<<16,te=Mt,ne=Pn,xe=ne&65535,fe=ne>>>16,ge=te&65535,Se=te>>>16,te=m[5],ne=x[5],xe+=ne&65535,fe+=ne>>>16,ge+=te&65535,Se+=te>>>16,fe+=xe>>>16,ge+=fe>>>16,Se+=ge>>>16,m[5]=Mt=ge&65535|Se<<16,x[5]=Pn=xe&65535|fe<<16,te=Ft,ne=zn,xe=ne&65535,fe=ne>>>16,ge=te&65535,Se=te>>>16,te=m[6],ne=x[6],xe+=ne&65535,fe+=ne>>>16,ge+=te&65535,Se+=te>>>16,fe+=xe>>>16,ge+=fe>>>16,Se+=ge>>>16,m[6]=Ft=ge&65535|Se<<16,x[6]=zn=xe&65535|fe<<16,te=Kt,ne=Dn,xe=ne&65535,fe=ne>>>16,ge=te&65535,Se=te>>>16,te=m[7],ne=x[7],xe+=ne&65535,fe+=ne>>>16,ge+=te&65535,Se+=te>>>16,fe+=xe>>>16,ge+=fe>>>16,Se+=ge>>>16,m[7]=Kt=ge&65535|Se<<16,x[7]=Dn=xe&65535|fe<<16,Jn+=128,f-=128}return f}function Ve(m,x,w){var f=new Int32Array(8),S=new Int32Array(8),W=new Uint8Array(256),Z,he=w;for(f[0]=1779033703,f[1]=3144134277,f[2]=1013904242,f[3]=2773480762,f[4]=1359893119,f[5]=2600822924,f[6]=528734635,f[7]=1541459225,S[0]=4089235720,S[1]=2227873595,S[2]=4271175723,S[3]=1595750129,S[4]=2917565137,S[5]=725511199,S[6]=4215389547,S[7]=327033209,fn(f,S,x,w),w%=128,Z=0;Z<w;Z++)W[Z]=x[he-w+Z];for(W[w]=128,w=256-128*(w<112?1:0),W[w-9]=0,g(W,w-8,he/536870912|0,he<<3),fn(f,S,W,w),Z=0;Z<8;Z++)g(m,8*Z,f[Z],S[Z]);return 0}function Nn(m,x){var w=t(),f=t(),S=t(),W=t(),Z=t(),he=t(),Ee=t(),Ke=t(),Ie=t();tn(w,m[1],m[0]),tn(Ie,x[1],x[0]),Le(w,w,Ie),jt(f,m[0],m[1]),jt(Ie,x[0],x[1]),Le(f,f,Ie),Le(S,m[3],x[3]),Le(S,S,c),Le(W,m[2],x[2]),jt(W,W,W),tn(Z,f,w),tn(he,W,S),jt(Ee,W,S),jt(Ke,f,w),Le(m[0],Z,he),Le(m[1],Ke,Ee),Le(m[2],Ee,he),Le(m[3],Z,Ke)}function Un(m,x,w){var f;for(f=0;f<4;f++)I(m[f],x[f],w)}function Er(m,x){var w=t(),f=t(),S=t();cr(S,x[2]),Le(w,x[0],S),Le(f,x[1],S),Fe(m,f),m[31]^=Et(w)<<7}function Dr(m,x,w){var f,S;for(se(m[0],a),se(m[1],o),se(m[2],o),se(m[3],a),S=255;S>=0;--S)f=w[S/8|0]>>(S&7)&1,Un(m,x,f),Nn(x,m),Nn(m,m),Un(m,x,f)}function D(m,x){var w=[t(),t(),t(),t()];se(w[0],u),se(w[1],d),se(w[2],o),Le(w[3],u,d),Dr(m,w,x)}function _(m,x,w){var f=new Uint8Array(64),S=[t(),t(),t(),t()],W;for(w||n(x,32),Ve(f,x,32),f[0]&=248,f[31]&=127,f[31]|=64,D(S,f),Er(m,S),W=0;W<32;W++)x[W+32]=m[W];return 0}var U=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 P(m,x){var w,f,S,W;for(f=63;f>=32;--f){for(w=0,S=f-32,W=f-12;S<W;++S)x[S]+=w-16*x[f]*U[S-(f-32)],w=Math.floor((x[S]+128)/256),x[S]-=w*256;x[S]+=w,x[f]=0}for(w=0,S=0;S<32;S++)x[S]+=w-(x[31]>>4)*U[S],w=x[S]>>8,x[S]&=255;for(S=0;S<32;S++)x[S]-=w*U[S];for(f=0;f<32;f++)x[f+1]+=x[f]>>8,m[f]=x[f]&255}function H(m){var x=new Float64Array(64),w;for(w=0;w<64;w++)x[w]=m[w];for(w=0;w<64;w++)m[w]=0;P(m,x)}function k(m,x,w,f){var S=new Uint8Array(64),W=new Uint8Array(64),Z=new Uint8Array(64),he,Ee,Ke=new Float64Array(64),Ie=[t(),t(),t(),t()];Ve(S,f,32),S[0]&=248,S[31]&=127,S[31]|=64;var Wt=w+64;for(he=0;he<w;he++)m[64+he]=x[he];for(he=0;he<32;he++)m[32+he]=S[32+he];for(Ve(Z,m.subarray(32),w+32),H(Z),D(Ie,Z),Er(m,Ie),he=32;he<64;he++)m[he]=f[he];for(Ve(W,m,w+64),H(W),he=0;he<64;he++)Ke[he]=0;for(he=0;he<32;he++)Ke[he]=Z[he];for(he=0;he<32;he++)for(Ee=0;Ee<32;Ee++)Ke[he+Ee]+=W[he]*S[Ee];return P(m.subarray(32),Ke),Wt}function Q(m,x){var w=t(),f=t(),S=t(),W=t(),Z=t(),he=t(),Ee=t();return se(m[2],o),Qt(m[1],x),Rn(S,m[1]),Le(W,S,l),tn(S,S,m[2]),jt(W,m[2],W),Rn(Z,W),Rn(he,Z),Le(Ee,he,Z),Le(w,Ee,S),Le(w,w,W),ii(w,w),Le(w,w,S),Le(w,w,W),Le(w,w,W),Le(m[0],w,W),Rn(f,m[0]),Le(f,f,W),Ze(f,S)&&Le(m[0],m[0],h),Rn(f,m[0]),Le(f,f,W),Ze(f,S)?-1:(Et(m[0])===x[31]>>7&&tn(m[0],a,m[0]),Le(m[3],m[0],m[1]),0)}function J(m,x,w,f){var S,W=new Uint8Array(32),Z=new Uint8Array(64),he=[t(),t(),t(),t()],Ee=[t(),t(),t(),t()];if(w<64||Q(Ee,f))return-1;for(S=0;S<w;S++)m[S]=x[S];for(S=0;S<32;S++)m[S+32]=f[S];if(Ve(Z,m,w),H(Z),Dr(he,Ee,Z),D(Ee,x.subarray(32)),Nn(he,Ee),Er(W,he),w-=64,L(x,0,W,0)){for(S=0;S<w;S++)m[S]=0;return-1}for(S=0;S<w;S++)m[S]=x[S+64];return w}var ee=32,me=24,Oe=32,Ce=16,be=32,Te=32,we=32,gt=32,St=32,Yt=me,mn=Oe,qi=Ce,On=64,Xn=32,ia=64,Lo=32,Wa=64;e.lowlevel={crypto_core_hsalsa20:R,crypto_stream_xor:z,crypto_stream:q,crypto_stream_salsa20_xor:re,crypto_stream_salsa20:B,crypto_onetimeauth:j,crypto_onetimeauth_verify:N,crypto_verify_16:E,crypto_verify_32:L,crypto_secretbox:pe,crypto_secretbox_open:le,crypto_scalarmult:oe,crypto_scalarmult_base:ce,crypto_box_beforenm:ue,crypto_box_afternm:ye,crypto_box:et,crypto_box_open:Ge,crypto_box_keypair:ie,crypto_hash:Ve,crypto_sign:k,crypto_sign_keypair:_,crypto_sign_open:J,crypto_secretbox_KEYBYTES:ee,crypto_secretbox_NONCEBYTES:me,crypto_secretbox_ZEROBYTES:Oe,crypto_secretbox_BOXZEROBYTES:Ce,crypto_scalarmult_BYTES:be,crypto_scalarmult_SCALARBYTES:Te,crypto_box_PUBLICKEYBYTES:we,crypto_box_SECRETKEYBYTES:gt,crypto_box_BEFORENMBYTES:St,crypto_box_NONCEBYTES:Yt,crypto_box_ZEROBYTES:mn,crypto_box_BOXZEROBYTES:qi,crypto_sign_BYTES:On,crypto_sign_PUBLICKEYBYTES:Xn,crypto_sign_SECRETKEYBYTES:ia,crypto_sign_SEEDBYTES:Lo,crypto_hash_BYTES:Wa,gf:t,D:l,L:U,pack25519:Fe,unpack25519:Qt,M:Le,A:jt,S:Rn,Z:tn,pow2523:ii,add:Nn,set25519:se,modL:P,scalarmult:Dr,scalarbase:D};function Xs(m,x){if(m.length!==ee)throw new Error(\"bad key size\");if(x.length!==me)throw new Error(\"bad nonce size\")}function cy(m,x){if(m.length!==we)throw new Error(\"bad public key size\");if(x.length!==gt)throw new Error(\"bad secret key size\")}function ai(){for(var m=0;m<arguments.length;m++)if(!(arguments[m]instanceof Uint8Array))throw new TypeError(\"unexpected type, use Uint8Array\")}function d6(m){for(var x=0;x<m.length;x++)m[x]=0}e.randomBytes=function(m){var x=new Uint8Array(m);return n(x,m),x},e.secretbox=function(m,x,w){ai(m,x,w),Xs(w,x);for(var f=new Uint8Array(Oe+m.length),S=new Uint8Array(f.length),W=0;W<m.length;W++)f[W+Oe]=m[W];return pe(S,f,f.length,x,w),S.subarray(Ce)},e.secretbox.open=function(m,x,w){ai(m,x,w),Xs(w,x);for(var f=new Uint8Array(Ce+m.length),S=new Uint8Array(f.length),W=0;W<m.length;W++)f[W+Ce]=m[W];return f.length<32||le(S,f,f.length,x,w)!==0?null:S.subarray(Oe)},e.secretbox.keyLength=ee,e.secretbox.nonceLength=me,e.secretbox.overheadLength=Ce,e.scalarMult=function(m,x){if(ai(m,x),m.length!==Te)throw new Error(\"bad n size\");if(x.length!==be)throw new Error(\"bad p size\");var w=new Uint8Array(be);return oe(w,m,x),w},e.scalarMult.base=function(m){if(ai(m),m.length!==Te)throw new Error(\"bad n size\");var x=new Uint8Array(be);return ce(x,m),x},e.scalarMult.scalarLength=Te,e.scalarMult.groupElementLength=be,e.box=function(m,x,w,f){var S=e.box.before(w,f);return e.secretbox(m,x,S)},e.box.before=function(m,x){ai(m,x),cy(m,x);var w=new Uint8Array(St);return ue(w,m,x),w},e.box.after=e.secretbox,e.box.open=function(m,x,w,f){var S=e.box.before(w,f);return e.secretbox.open(m,x,S)},e.box.open.after=e.secretbox.open,e.box.keyPair=function(){var m=new Uint8Array(we),x=new Uint8Array(gt);return ie(m,x),{publicKey:m,secretKey:x}},e.box.keyPair.fromSecretKey=function(m){if(ai(m),m.length!==gt)throw new Error(\"bad secret key size\");var x=new Uint8Array(we);return ce(x,m),{publicKey:x,secretKey:new Uint8Array(m)}},e.box.publicKeyLength=we,e.box.secretKeyLength=gt,e.box.sharedKeyLength=St,e.box.nonceLength=Yt,e.box.overheadLength=e.secretbox.overheadLength,e.sign=function(m,x){if(ai(m,x),x.length!==ia)throw new Error(\"bad secret key size\");var w=new Uint8Array(On+m.length);return k(w,m,m.length,x),w},e.sign.open=function(m,x){if(ai(m,x),x.length!==Xn)throw new Error(\"bad public key size\");var w=new Uint8Array(m.length),f=J(w,m,m.length,x);if(f<0)return null;for(var S=new Uint8Array(f),W=0;W<S.length;W++)S[W]=w[W];return S},e.sign.detached=function(m,x){for(var w=e.sign(m,x),f=new Uint8Array(On),S=0;S<f.length;S++)f[S]=w[S];return f},e.sign.detached.verify=function(m,x,w){if(ai(m,x,w),x.length!==On)throw new Error(\"bad signature size\");if(w.length!==Xn)throw new Error(\"bad public key size\");var f=new Uint8Array(On+m.length),S=new Uint8Array(On+m.length),W;for(W=0;W<On;W++)f[W]=x[W];for(W=0;W<m.length;W++)f[W+On]=m[W];return J(S,f,f.length,w)>=0},e.sign.keyPair=function(){var m=new Uint8Array(Xn),x=new Uint8Array(ia);return _(m,x),{publicKey:m,secretKey:x}},e.sign.keyPair.fromSecretKey=function(m){if(ai(m),m.length!==ia)throw new Error(\"bad secret key size\");for(var x=new Uint8Array(Xn),w=0;w<x.length;w++)x[w]=m[32+w];return{publicKey:x,secretKey:new Uint8Array(m)}},e.sign.keyPair.fromSeed=function(m){if(ai(m),m.length!==Lo)throw new Error(\"bad seed size\");for(var x=new Uint8Array(Xn),w=new Uint8Array(ia),f=0;f<32;f++)w[f]=m[f];return _(x,w,!0),{publicKey:x,secretKey:w}},e.sign.publicKeyLength=Xn,e.sign.secretKeyLength=ia,e.sign.seedLength=Lo,e.sign.signatureLength=On,e.hash=function(m){ai(m);var x=new Uint8Array(Wa);return Ve(x,m,m.length),x},e.hash.hashLength=Wa,e.verify=function(m,x){return ai(m,x),m.length===0||x.length===0||m.length!==x.length?!1:y(m,0,x,0,m.length)===0},e.setPRNG=function(m){n=m},(function(){var m=typeof self<\"u\"?self.crypto||self.msCrypto:null;if(m&&m.getRandomValues){var x=65536;e.setPRNG(function(w,f){var S,W=new Uint8Array(f);for(S=0;S<f;S+=x)m.getRandomValues(W.subarray(S,S+Math.min(f-S,x)));for(S=0;S<f;S++)w[S]=W[S];d6(W)})}else typeof c0<\"u\"&&(m=c0(\"crypto\"),m&&m.randomBytes&&e.setPRNG(function(w,f){var S,W=m.randomBytes(f);for(S=0;S<f;S++)w[S]=W[S];d6(W)}))})()})(typeof Fg<\"u\"&&Fg.exports?Fg.exports:self.nacl=self.nacl||{})});var K9=V((nh,l1)=>{b();(function(e,t){\"use strict\";var n=\"1.0.41\",r=\"\",i=\"?\",a=\"function\",o=\"undefined\",s=\"object\",l=\"string\",c=\"major\",u=\"model\",d=\"name\",h=\"type\",g=\"vendor\",y=\"version\",E=\"architecture\",L=\"console\",C=\"mobile\",v=\"tablet\",T=\"smarttv\",R=\"wearable\",O=\"embedded\",re=500,B=\"Amazon\",q=\"Apple\",z=\"ASUS\",K=\"BlackBerry\",j=\"Browser\",N=\"Chrome\",pe=\"Edge\",le=\"Firefox\",se=\"Google\",Me=\"Honor\",I=\"Huawei\",Fe=\"Lenovo\",Ze=\"LG\",Et=\"Microsoft\",Qt=\"Motorola\",jt=\"Nvidia\",tn=\"OnePlus\",Le=\"Opera\",Rn=\"OPPO\",cr=\"Samsung\",ii=\"Sharp\",oe=\"Sony\",ce=\"Xiaomi\",ie=\"Zebra\",ue=\"Facebook\",ye=\"Chromium OS\",Re=\"Mac OS\",et=\" Browser\",Ge=function(Q,J){var ee={};for(var me in Q)J[me]&&J[me].length%2===0?ee[me]=J[me].concat(Q[me]):ee[me]=Q[me];return ee},Ut=function(Q){for(var J={},ee=0;ee<Q.length;ee++)J[Q[ee].toUpperCase()]=Q[ee];return J},fn=function(Q,J){return typeof Q===l?Ve(J).indexOf(Ve(Q))!==-1:!1},Ve=function(Q){return Q.toLowerCase()},Nn=function(Q){return typeof Q===l?Q.replace(/[^\\d\\.]/g,r).split(\".\")[0]:t},Un=function(Q,J){if(typeof Q===l)return Q=Q.replace(/^\\s\\s*/,r),typeof J===o?Q:Q.substring(0,re)},Er=function(Q,J){for(var ee=0,me,Oe,Ce,be,Te,we;ee<J.length&&!Te;){var gt=J[ee],St=J[ee+1];for(me=Oe=0;me<gt.length&&!Te&>[me];)if(Te=gt[me++].exec(Q),Te)for(Ce=0;Ce<St.length;Ce++)we=Te[++Oe],be=St[Ce],typeof be===s&&be.length>0?be.length===2?typeof be[1]==a?this[be[0]]=be[1].call(this,we):this[be[0]]=be[1]:be.length===3?typeof be[1]===a&&!(be[1].exec&&be[1].test)?this[be[0]]=we?be[1].call(this,we,be[2]):t:this[be[0]]=we?we.replace(be[1],be[2]):t:be.length===4&&(this[be[0]]=we?be[3].call(this,we.replace(be[1],be[2])):t):this[be]=we||t;ee+=2}},Dr=function(Q,J){for(var ee in J)if(typeof J[ee]===s&&J[ee].length>0){for(var me=0;me<J[ee].length;me++)if(fn(J[ee][me],Q))return ee===i?t:ee}else if(fn(J[ee],Q))return ee===i?t:ee;return J.hasOwnProperty(\"*\")?J[\"*\"]:Q},D={\"1.0\":\"/8\",\"1.2\":\"/1\",\"1.3\":\"/3\",\"2.0\":\"/412\",\"2.0.2\":\"/416\",\"2.0.3\":\"/417\",\"2.0.4\":\"/419\",\"?\":\"/\"},_={ME:\"4.90\",\"NT 3.11\":\"NT3.51\",\"NT 4.0\":\"NT4.0\",2e3:\"NT 5.0\",XP:[\"NT 5.1\",\"NT 5.2\"],Vista:\"NT 6.0\",7:\"NT 6.1\",8:\"NT 6.2\",\"8.1\":\"NT 6.3\",10:[\"NT 6.4\",\"NT 10.0\"],RT:\"ARM\"},U={browser:[[/\\b(?:crmo|crios)\\/([\\w\\.]+)/i],[y,[d,\"Chrome\"]],[/edg(?:e|ios|a)?\\/([\\w\\.]+)/i],[y,[d,\"Edge\"]],[/(opera mini)\\/([-\\w\\.]+)/i,/(opera [mobiletab]{3,6})\\b.+version\\/([-\\w\\.]+)/i,/(opera)(?:.+version\\/|[\\/ ]+)([\\w\\.]+)/i],[d,y],[/opios[\\/ ]+([\\w\\.]+)/i],[y,[d,Le+\" Mini\"]],[/\\bop(?:rg)?x\\/([\\w\\.]+)/i],[y,[d,Le+\" GX\"]],[/\\bopr\\/([\\w\\.]+)/i],[y,[d,Le]],[/\\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\\/ ]?([\\w\\.]+)/i],[y,[d,\"Baidu\"]],[/\\b(?:mxbrowser|mxios|myie2)\\/?([-\\w\\.]*)\\b/i],[y,[d,\"Maxthon\"]],[/(kindle)\\/([\\w\\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\\/ ]?([\\w\\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\\/ ]?([\\d\\.]*)/i,/(?:ms|\\()(ie) ([\\w\\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\\/([-\\w\\.]+)/i,/(heytap|ovi|115)browser\\/([\\d\\.]+)/i,/(weibo)__([\\d\\.]+)/i],[d,y],[/quark(?:pc)?\\/([-\\w\\.]+)/i],[y,[d,\"Quark\"]],[/\\bddg\\/([\\w\\.]+)/i],[y,[d,\"DuckDuckGo\"]],[/(?:\\buc? ?browser|(?:juc.+)ucweb)[\\/ ]?([\\w\\.]+)/i],[y,[d,\"UC\"+j]],[/microm.+\\bqbcore\\/([\\w\\.]+)/i,/\\bqbcore\\/([\\w\\.]+).+microm/i,/micromessenger\\/([\\w\\.]+)/i],[y,[d,\"WeChat\"]],[/konqueror\\/([\\w\\.]+)/i],[y,[d,\"Konqueror\"]],[/trident.+rv[: ]([\\w\\.]{1,9})\\b.+like gecko/i],[y,[d,\"IE\"]],[/ya(?:search)?browser\\/([\\w\\.]+)/i],[y,[d,\"Yandex\"]],[/slbrowser\\/([\\w\\.]+)/i],[y,[d,\"Smart Lenovo \"+j]],[/(avast|avg)\\/([\\w\\.]+)/i],[[d,/(.+)/,\"$1 Secure \"+j],y],[/\\bfocus\\/([\\w\\.]+)/i],[y,[d,le+\" Focus\"]],[/\\bopt\\/([\\w\\.]+)/i],[y,[d,Le+\" Touch\"]],[/coc_coc\\w+\\/([\\w\\.]+)/i],[y,[d,\"Coc Coc\"]],[/dolfin\\/([\\w\\.]+)/i],[y,[d,\"Dolphin\"]],[/coast\\/([\\w\\.]+)/i],[y,[d,Le+\" Coast\"]],[/miuibrowser\\/([\\w\\.]+)/i],[y,[d,\"MIUI\"+et]],[/fxios\\/([\\w\\.-]+)/i],[y,[d,le]],[/\\bqihoobrowser\\/?([\\w\\.]*)/i],[y,[d,\"360\"]],[/\\b(qq)\\/([\\w\\.]+)/i],[[d,/(.+)/,\"$1Browser\"],y],[/(oculus|sailfish|huawei|vivo|pico)browser\\/([\\w\\.]+)/i],[[d,/(.+)/,\"$1\"+et],y],[/samsungbrowser\\/([\\w\\.]+)/i],[y,[d,cr+\" Internet\"]],[/metasr[\\/ ]?([\\d\\.]+)/i],[y,[d,\"Sogou Explorer\"]],[/(sogou)mo\\w+\\/([\\d\\.]+)/i],[[d,\"Sogou Mobile\"],y],[/(electron)\\/([\\w\\.]+) safari/i,/(tesla)(?: qtcarbrowser|\\/(20\\d\\d\\.[-\\w\\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\\w*[\\/ ]?v?([\\w\\.]+)/i],[d,y],[/(lbbrowser|rekonq)/i,/\\[(linkedin)app\\]/i],[d],[/ome\\/([\\w\\.]+) \\w* ?(iron) saf/i,/ome\\/([\\w\\.]+).+qihu (360)[es]e/i],[y,d],[/((?:fban\\/fbios|fb_iab\\/fb4a)(?!.+fbav)|;fbav\\/([\\w\\.]+);)/i],[[d,ue],y],[/(Klarna)\\/([\\w\\.]+)/i,/(kakao(?:talk|story))[\\/ ]([\\w\\.]+)/i,/(naver)\\(.*?(\\d+\\.[\\w\\.]+).*\\)/i,/(daum)apps[\\/ ]([\\w\\.]+)/i,/safari (line)\\/([\\w\\.]+)/i,/\\b(line)\\/([\\w\\.]+)\\/iab/i,/(alipay)client\\/([\\w\\.]+)/i,/(twitter)(?:and| f.+e\\/([\\w\\.]+))/i,/(chromium|instagram|snapchat)[\\/ ]([-\\w\\.]+)/i],[d,y],[/\\bgsa\\/([\\w\\.]+) .*safari\\//i],[y,[d,\"GSA\"]],[/musical_ly(?:.+app_?version\\/|_)([\\w\\.]+)/i],[y,[d,\"TikTok\"]],[/headlesschrome(?:\\/([\\w\\.]+)| )/i],[y,[d,N+\" Headless\"]],[/ wv\\).+(chrome)\\/([\\w\\.]+)/i],[[d,N+\" WebView\"],y],[/droid.+ version\\/([\\w\\.]+)\\b.+(?:mobile safari|safari)/i],[y,[d,\"Android \"+j]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\\/v?([\\w\\.]+)/i],[d,y],[/version\\/([\\w\\.\\,]+) .*mobile\\/\\w+ (safari)/i],[y,[d,\"Mobile Safari\"]],[/version\\/([\\w(\\.|\\,)]+) .*(mobile ?safari|safari)/i],[y,d],[/webkit.+?(mobile ?safari|safari)(\\/[\\w\\.]+)/i],[d,[y,Dr,D]],[/(webkit|khtml)\\/([\\w\\.]+)/i],[d,y],[/(navigator|netscape\\d?)\\/([-\\w\\.]+)/i],[[d,\"Netscape\"],y],[/(wolvic|librewolf)\\/([\\w\\.]+)/i],[d,y],[/mobile vr; rv:([\\w\\.]+)\\).+firefox/i],[y,[d,le+\" Reality\"]],[/ekiohf.+(flow)\\/([\\w\\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\\/ ]?([\\w\\.\\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\\/([-\\w\\.]+)$/i,/(firefox)\\/([\\w\\.]+)/i,/(mozilla)\\/([\\w\\.]+) .+rv\\:.+gecko\\/\\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\\. ]?browser)[-\\/ ]?v?([\\w\\.]+)/i,/\\b(links) \\(([\\w\\.]+)/i],[d,[y,/_/g,\".\"]],[/(cobalt)\\/([\\w\\.]+)/i],[d,[y,/master.|lts./,\"\"]]],cpu:[[/\\b((amd|x|x86[-_]?|wow|win)64)\\b/i],[[E,\"amd64\"]],[/(ia32(?=;))/i,/\\b((i[346]|x)86)(pc)?\\b/i],[[E,\"ia32\"]],[/\\b(aarch64|arm(v?[89]e?l?|_?64))\\b/i],[[E,\"arm64\"]],[/\\b(arm(v[67])?ht?n?[fl]p?)\\b/i],[[E,\"armhf\"]],[/( (ce|mobile); ppc;|\\/[\\w\\.]+arm\\b)/i],[[E,\"arm\"]],[/((ppc|powerpc)(64)?)( mac|;|\\))/i],[[E,/ower/,r,Ve]],[/ sun4\\w[;\\)]/i],[[E,\"sparc\"]],[/\\b(avr32|ia64(?=;)|68k(?=\\))|\\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\\b|pa-risc)/i],[[E,Ve]]],device:[[/\\b(sch-i[89]0\\d|shw-m380s|sm-[ptx]\\w{2,4}|gt-[pn]\\d{2,4}|sgh-t8[56]9|nexus 10)/i],[u,[g,cr],[h,v]],[/\\b((?:s[cgp]h|gt|sm)-(?![lr])\\w+|sc[g-]?[\\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\\w]+)/i,/sec-(sgh\\w+)/i],[u,[g,cr],[h,C]],[/(?:\\/|\\()(ip(?:hone|od)[\\w, ]*)(?:\\/|;)/i],[u,[g,q],[h,C]],[/\\((ipad);[-\\w\\),; ]+apple/i,/applecoremedia\\/[\\w\\.]+ \\((ipad)/i,/\\b(ipad)\\d\\d?,\\d\\d?[;\\]].+ios/i],[u,[g,q],[h,v]],[/(macintosh);/i],[u,[g,q]],[/\\b(sh-?[altvz]?\\d\\d[a-ekm]?)/i],[u,[g,ii],[h,C]],[/\\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\\)|;)/i],[u,[g,Me],[h,v]],[/honor([-\\w ]+)[;\\)]/i],[u,[g,Me],[h,C]],[/\\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\\w\\. ]*(?= bui|\\)))\\b(?!.+d\\/s)/i],[u,[g,I],[h,v]],[/(?:huawei)([-\\w ]+)[;\\)]/i,/\\b(nexus 6p|\\w{2,4}e?-[atu]?[ln][\\dx][012359c][adn]?)\\b(?!.+d\\/s)/i],[u,[g,I],[h,C]],[/oid[^\\)]+; (2[\\dbc]{4}(182|283|rp\\w{2})[cgl]|m2105k81a?c)(?: bui|\\))/i,/\\b((?:red)?mi[-_ ]?pad[\\w- ]*)(?: bui|\\))/i],[[u,/_/g,\" \"],[g,ce],[h,v]],[/\\b(poco[\\w ]+|m2\\d{3}j\\d\\d[a-z]{2})(?: bui|\\))/i,/\\b; (\\w+) build\\/hm\\1/i,/\\b(hm[-_ ]?note?[_ ]?(?:\\d\\w)?) bui/i,/\\b(redmi[\\-_ ]?(?:note|k)?[\\w_ ]+)(?: bui|\\))/i,/oid[^\\)]+; (m?[12][0-389][01]\\w{3,6}[c-y])( bui|; wv|\\))/i,/\\b(mi[-_ ]?(?:a\\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\\d?\\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\\))/i,/ ([\\w ]+) miui\\/v?\\d/i],[[u,/_/g,\" \"],[g,ce],[h,C]],[/; (\\w+) bui.+ oppo/i,/\\b(cph[12]\\d{3}|p(?:af|c[al]|d\\w|e[ar])[mt]\\d0|x9007|a101op)\\b/i],[u,[g,Rn],[h,C]],[/\\b(opd2(\\d{3}a?))(?: bui|\\))/i],[u,[g,Dr,{OnePlus:[\"304\",\"403\",\"203\"],\"*\":Rn}],[h,v]],[/vivo (\\w+)(?: bui|\\))/i,/\\b(v[12]\\d{3}\\w?[at])(?: bui|;)/i],[u,[g,\"Vivo\"],[h,C]],[/\\b(rmx[1-3]\\d{3})(?: bui|;|\\))/i],[u,[g,\"Realme\"],[h,C]],[/\\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\\b[\\w ]+build\\//i,/\\bmot(?:orola)?[- ](\\w*)/i,/((?:moto(?! 360)[\\w\\(\\) ]+|xt\\d{3,4}|nexus 6)(?= bui|\\)))/i],[u,[g,Qt],[h,C]],[/\\b(mz60\\d|xoom[2 ]{0,2}) build\\//i],[u,[g,Qt],[h,v]],[/((?=lg)?[vl]k\\-?\\d{3}) bui| 3\\.[-\\w; ]{10}lg?-([06cv9]{3,4})/i],[u,[g,Ze],[h,v]],[/(lm(?:-?f100[nv]?|-[\\w\\.]+)(?= bui|\\))|nexus [45])/i,/\\blg[-e;\\/ ]+((?!browser|netcast|android tv|watch)\\w+)/i,/\\blg-?([\\d\\w]+) bui/i],[u,[g,Ze],[h,C]],[/(ideatab[-\\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\\d{3,4}(?:f[cu]|xu|[av])|yt\\d?-[jx]?\\d+[lfmx])( bui|;|\\)|\\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\\w- ]+?)|tb[\\w-]{6,7})( bui|;|\\)|\\/)/i],[u,[g,Fe],[h,v]],[/(nokia) (t[12][01])/i],[g,u,[h,v]],[/(?:maemo|nokia).*(n900|lumia \\d+|rm-\\d+)/i,/nokia[-_ ]?(([-\\w\\. ]*))/i],[[u,/_/g,\" \"],[h,C],[g,\"Nokia\"]],[/(pixel (c|tablet))\\b/i],[u,[g,se],[h,v]],[/droid.+; (pixel[\\daxl ]{0,6})(?: bui|\\))/i],[u,[g,se],[h,C]],[/droid.+; (a?\\d[0-2]{2}so|[c-g]\\d{4}|so[-gl]\\w+|xq-a\\w[4-7][12])(?= bui|\\).+chrome\\/(?![1-6]{0,1}\\d\\.))/i],[u,[g,oe],[h,C]],[/sony tablet [ps]/i,/\\b(?:sony)?sgp\\w+(?: bui|\\))/i],[[u,\"Xperia Tablet\"],[g,oe],[h,v]],[/ (kb2005|in20[12]5|be20[12][59])\\b/i,/(?:one)?(?:plus)? (a\\d0\\d\\d)(?: b|\\))/i],[u,[g,tn],[h,C]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\\w\\w)( bui|\\))/i,/(kf[a-z]+)( bui|\\)).+silk\\//i],[u,[g,B],[h,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\\)).+silk\\//i],[[u,/(.+)/g,\"Fire Phone $1\"],[g,B],[h,C]],[/(playbook);[-\\w\\),; ]+(rim)/i],[u,g,[h,v]],[/\\b((?:bb[a-f]|st[hv])100-\\d)/i,/\\(bb10; (\\w+)/i],[u,[g,K],[h,C]],[/(?:\\b|asus_)(transfo[prime ]{4,10} \\w+|eeepc|slider \\w+|nexus 7|padfone|p00[cj])/i],[u,[g,z],[h,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \\d\\w?)\\b/i],[u,[g,z],[h,C]],[/(nexus 9)/i],[u,[g,\"HTC\"],[h,v]],[/(htc)[-;_ ]{1,2}([\\w ]+(?=\\)| bui)|\\w+)/i,/(zte)[- ]([\\w ]+?)(?: bui|\\/|\\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\\.))|sony(?!-bra))[-_ ]?([-\\w]*)/i],[g,[u,/_/g,\" \"],[h,C]],[/droid [\\w\\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\\w*(\\)| bui)/i],[u,[g,\"TCL\"],[h,v]],[/(itel) ((\\w+))/i],[[g,Ve],u,[h,Dr,{tablet:[\"p10001l\",\"w7001\"],\"*\":\"mobile\"}]],[/droid.+; ([ab][1-7]-?[0178a]\\d\\d?)/i],[u,[g,\"Acer\"],[h,v]],[/droid.+; (m[1-5] note) bui/i,/\\bmz-([-\\w]{2,})/i],[u,[g,\"Meizu\"],[h,C]],[/; ((?:power )?armor(?:[\\w ]{0,8}))(?: bui|\\))/i],[u,[g,\"Ulefone\"],[h,C]],[/; (energy ?\\w+)(?: bui|\\))/i,/; energizer ([\\w ]+)(?: bui|\\))/i],[u,[g,\"Energizer\"],[h,C]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\\))/i],[u,[g,\"Cat\"],[h,C]],[/((?:new )?andromax[\\w- ]+)(?: bui|\\))/i],[u,[g,\"Smartfren\"],[h,C]],[/droid.+; (a(?:015|06[35]|142p?))/i],[u,[g,\"Nothing\"],[h,C]],[/; (x67 5g|tikeasy \\w+|ac[1789]\\d\\w+)( b|\\))/i,/archos ?(5|gamepad2?|([\\w ]*[t1789]|hello) ?\\d+[\\w ]*)( b|\\))/i],[u,[g,\"Archos\"],[h,v]],[/archos ([\\w ]+)( b|\\))/i,/; (ac[3-6]\\d\\w{2,8})( b|\\))/i],[u,[g,\"Archos\"],[h,C]],[/(imo) (tab \\w+)/i,/(infinix) (x1101b?)/i],[g,u,[h,v]],[/(blackberry|benq|palm(?=\\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\\w]*)/i,/; (hmd|imo) ([\\w ]+?)(?: bui|\\))/i,/(hp) ([\\w ]+\\w)/i,/(microsoft); (lumia[\\w ]+)/i,/(lenovo)[-_ ]?([-\\w ]+?)(?: bui|\\)|\\/)/i,/(oppo) ?([\\w ]+) bui/i],[g,u,[h,C]],[/(kobo)\\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\\/([\\w\\.]+)/i,/(nook)[\\w ]+build\\/(\\w+)/i,/(dell) (strea[kpr\\d ]*[\\dko])/i,/(le[- ]+pan)[- ]+(\\w{1,9}) bui/i,/(trinity)[- ]*(t\\d{3}) bui/i,/(gigaset)[- ]+(q\\w{1,9}) bui/i,/(vodafone) ([\\w ]+)(?:\\)| bui)/i],[g,u,[h,v]],[/(surface duo)/i],[u,[g,Et],[h,v]],[/droid [\\d\\.]+; (fp\\du?)(?: b|\\))/i],[u,[g,\"Fairphone\"],[h,C]],[/(u304aa)/i],[u,[g,\"AT&T\"],[h,C]],[/\\bsie-(\\w*)/i],[u,[g,\"Siemens\"],[h,C]],[/\\b(rct\\w+) b/i],[u,[g,\"RCA\"],[h,v]],[/\\b(venue[\\d ]{2,7}) b/i],[u,[g,\"Dell\"],[h,v]],[/\\b(q(?:mv|ta)\\w+) b/i],[u,[g,\"Verizon\"],[h,v]],[/\\b(?:barnes[& ]+noble |bn[rt])([\\w\\+ ]*) b/i],[u,[g,\"Barnes & Noble\"],[h,v]],[/\\b(tm\\d{3}\\w+) b/i],[u,[g,\"NuVision\"],[h,v]],[/\\b(k88) b/i],[u,[g,\"ZTE\"],[h,v]],[/\\b(nx\\d{3}j) b/i],[u,[g,\"ZTE\"],[h,C]],[/\\b(gen\\d{3}) b.+49h/i],[u,[g,\"Swiss\"],[h,C]],[/\\b(zur\\d{3}) b/i],[u,[g,\"Swiss\"],[h,v]],[/\\b((zeki)?tb.*\\b) b/i],[u,[g,\"Zeki\"],[h,v]],[/\\b([yr]\\d{2}) b/i,/\\b(dragon[- ]+touch |dt)(\\w{5}) b/i],[[g,\"Dragon Touch\"],u,[h,v]],[/\\b(ns-?\\w{0,9}) b/i],[u,[g,\"Insignia\"],[h,v]],[/\\b((nxa|next)-?\\w{0,9}) b/i],[u,[g,\"NextBook\"],[h,v]],[/\\b(xtreme\\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[g,\"Voice\"],u,[h,C]],[/\\b(lvtel\\-)?(v1[12]) b/i],[[g,\"LvTel\"],u,[h,C]],[/\\b(ph-1) /i],[u,[g,\"Essential\"],[h,C]],[/\\b(v(100md|700na|7011|917g).*\\b) b/i],[u,[g,\"Envizen\"],[h,v]],[/\\b(trio[-\\w\\. ]+) b/i],[u,[g,\"MachSpeed\"],[h,v]],[/\\btu_(1491) b/i],[u,[g,\"Rotor\"],[h,v]],[/((?:tegranote|shield t(?!.+d tv))[\\w- ]*?)(?: b|\\))/i],[u,[g,jt],[h,v]],[/(sprint) (\\w+)/i],[g,u,[h,C]],[/(kin\\.[onetw]{3})/i],[[u,/\\./g,\" \"],[g,Et],[h,C]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\\)/i],[u,[g,ie],[h,v]],[/droid.+; (ec30|ps20|tc[2-8]\\d[kx])\\)/i],[u,[g,ie],[h,C]],[/smart-tv.+(samsung)/i],[g,[h,T]],[/hbbtv.+maple;(\\d+)/i],[[u,/^/,\"SmartTV\"],[g,cr],[h,T]],[/(nux; netcast.+smarttv|lg (netcast\\.tv-201\\d|android tv))/i],[[g,Ze],[h,T]],[/(apple) ?tv/i],[g,[u,q+\" TV\"],[h,T]],[/crkey/i],[[u,N+\"cast\"],[g,se],[h,T]],[/droid.+aft(\\w+)( bui|\\))/i],[u,[g,B],[h,T]],[/(shield \\w+ tv)/i],[u,[g,jt],[h,T]],[/\\(dtv[\\);].+(aquos)/i,/(aquos-tv[\\w ]+)\\)/i],[u,[g,ii],[h,T]],[/(bravia[\\w ]+)( bui|\\))/i],[u,[g,oe],[h,T]],[/(mi(tv|box)-?\\w+) bui/i],[u,[g,ce],[h,T]],[/Hbbtv.*(technisat) (.*);/i],[g,u,[h,T]],[/\\b(roku)[\\dx]*[\\)\\/]((?:dvp-)?[\\d\\.]*)/i,/hbbtv\\/\\d+\\.\\d+\\.\\d+ +\\([\\w\\+ ]*; *([\\w\\d][^;]*);([^;]*)/i],[[g,Un],[u,Un],[h,T]],[/droid.+; ([\\w- ]+) (?:android tv|smart[- ]?tv)/i],[u,[h,T]],[/\\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\\b/i],[[h,T]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[g,u,[h,L]],[/droid.+; (shield)( bui|\\))/i],[u,[g,jt],[h,L]],[/(playstation \\w+)/i],[u,[g,oe],[h,L]],[/\\b(xbox(?: one)?(?!; xbox))[\\); ]/i],[u,[g,Et],[h,L]],[/\\b(sm-[lr]\\d\\d[0156][fnuw]?s?|gear live)\\b/i],[u,[g,cr],[h,R]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\\w ]*)( bui|\\))/i],[g,u,[h,R]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[u,[g,Rn],[h,R]],[/(watch)(?: ?os[,\\/]|\\d,\\d\\/)[\\d\\.]+/i],[u,[g,q],[h,R]],[/(opwwe\\d{3})/i],[u,[g,tn],[h,R]],[/(moto 360)/i],[u,[g,Qt],[h,R]],[/(smartwatch 3)/i],[u,[g,oe],[h,R]],[/(g watch r)/i],[u,[g,Ze],[h,R]],[/droid.+; (wt63?0{2,3})\\)/i],[u,[g,ie],[h,R]],[/droid.+; (glass) \\d/i],[u,[g,se],[h,R]],[/(pico) (4|neo3(?: link|pro)?)/i],[g,u,[h,R]],[/; (quest( \\d| pro)?)/i],[u,[g,ue],[h,R]],[/(tesla)(?: qtcarbrowser|\\/[-\\w\\.]+)/i],[g,[h,O]],[/(aeobc)\\b/i],[u,[g,B],[h,O]],[/(homepod).+mac os/i],[u,[g,q],[h,O]],[/windows iot/i],[[h,O]],[/droid .+?; ([^;]+?)(?: bui|; wv\\)|\\) applew).+? mobile safari/i],[u,[h,C]],[/droid .+?; ([^;]+?)(?: bui|\\) applew).+?(?! mobile) safari/i],[u,[h,v]],[/\\b((tablet|tab)[;\\/]|focus\\/\\d(?!.+mobile))/i],[[h,v]],[/(phone|mobile(?:[;\\/]| [ \\w\\/\\.]*safari)|pda(?=.+windows ce))/i],[[h,C]],[/droid .+?; ([\\w\\. -]+)( bui|\\))/i],[u,[g,\"Generic\"]]],engine:[[/windows.+ edge\\/([\\w\\.]+)/i],[y,[d,pe+\"HTML\"]],[/(arkweb)\\/([\\w\\.]+)/i],[d,y],[/webkit\\/537\\.36.+chrome\\/(?!27)([\\w\\.]+)/i],[y,[d,\"Blink\"]],[/(presto)\\/([\\w\\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\\/([\\w\\.]+)/i,/ekioh(flow)\\/([\\w\\.]+)/i,/(khtml|tasman|links)[\\/ ]\\(?([\\w\\.]+)/i,/(icab)[\\/ ]([23]\\.[\\d\\.]+)/i,/\\b(libweb)/i],[d,y],[/ladybird\\//i],[[d,\"LibWeb\"]],[/rv\\:([\\w\\.]{1,9})\\b.+(gecko)/i],[y,d]],os:[[/microsoft (windows) (vista|xp)/i],[d,y],[/(windows (?:phone(?: os)?|mobile|iot))[\\/ ]?([\\d\\.\\w ]*)/i],[d,[y,Dr,_]],[/windows nt 6\\.2; (arm)/i,/windows[\\/ ]([ntce\\d\\. ]+\\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\\d\\.]+)/i],[[y,Dr,_],[d,\"Windows\"]],[/[adehimnop]{4,7}\\b(?:.*os ([\\w]+) like mac|; opera)/i,/(?:ios;fbsv\\/|iphone.+ios[\\/ ])([\\d\\.]+)/i,/cfnetwork\\/.+darwin/i],[[y,/_/g,\".\"],[d,\"iOS\"]],[/(mac os x) ?([\\w\\. ]*)/i,/(macintosh|mac_powerpc\\b)(?!.+haiku)/i],[[d,Re],[y,/_/g,\".\"]],[/droid ([\\w\\.]+)\\b.+(android[- ]x86|harmonyos)/i],[y,d],[/(ubuntu) ([\\w\\.]+) like android/i],[[d,/(.+)/,\"$1 Touch\"],y],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\\w*[-\\/; ]?([\\d\\.]*)/i],[d,y],[/\\(bb(10);/i],[y,[d,K]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\\/ ]?([\\w\\.]*)/i],[y,[d,\"Symbian\"]],[/mozilla\\/[\\d\\.]+ \\((?:mobile|tablet|tv|mobile; [\\w ]+); rv:.+ gecko\\/([\\w\\.]+)/i],[y,[d,le+\" OS\"]],[/web0s;.+rt(tv)/i,/\\b(?:hp)?wos(?:browser)?\\/([\\w\\.]+)/i],[y,[d,\"webOS\"]],[/watch(?: ?os[,\\/]|\\d,\\d\\/)([\\d\\.]+)/i],[y,[d,\"watchOS\"]],[/crkey\\/([\\d\\.]+)/i],[y,[d,N+\"cast\"]],[/(cros) [\\w]+(?:\\)| ([\\w\\.]+)\\b)/i],[[d,ye],y],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\\/(\\d+\\.[\\w\\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\\);]+)/i,/\\b(joli|palm)\\b ?(?:os)?\\/?([\\w\\.]*)/i,/(mint)[\\/\\(\\) ]?(\\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\\/ ]?(?!chrom|package)([-\\w\\.]*)/i,/(hurd|linux)(?: arm\\w*| x86\\w*| ?)([\\w\\.]*)/i,/(gnu) ?([\\w\\.]*)/i,/\\b([-frentopcghs]{0,5}bsd|dragonfly)[\\/ ]?(?!amd|[ix346]{1,2}86)([\\w\\.]*)/i,/(haiku) (\\w+)/i],[d,y],[/(sunos) ?([\\w\\.\\d]*)/i],[[d,\"Solaris\"],y],[/((?:open)?solaris)[-\\/ ]?([\\w\\.]*)/i,/(aix) ((\\d)(?=\\.|\\)| )[\\w\\.])*/i,/\\b(beos|os\\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\\w\\.]*)/i],[d,y]]},P=function(Q,J){if(typeof Q===s&&(J=Q,Q=t),!(this instanceof P))return new P(Q,J).getResult();var ee=typeof e!==o&&e.navigator?e.navigator:t,me=Q||(ee&&ee.userAgent?ee.userAgent:r),Oe=ee&&ee.userAgentData?ee.userAgentData:t,Ce=J?Ge(U,J):U,be=ee&&ee.userAgent==me;return this.getBrowser=function(){var Te={};return Te[d]=t,Te[y]=t,Er.call(Te,me,Ce.browser),Te[c]=Nn(Te[y]),be&&ee&&ee.brave&&typeof ee.brave.isBrave==a&&(Te[d]=\"Brave\"),Te},this.getCPU=function(){var Te={};return Te[E]=t,Er.call(Te,me,Ce.cpu),Te},this.getDevice=function(){var Te={};return Te[g]=t,Te[u]=t,Te[h]=t,Er.call(Te,me,Ce.device),be&&!Te[h]&&Oe&&Oe.mobile&&(Te[h]=C),be&&Te[u]==\"Macintosh\"&&ee&&typeof ee.standalone!==o&&ee.maxTouchPoints&&ee.maxTouchPoints>2&&(Te[u]=\"iPad\",Te[h]=v),Te},this.getEngine=function(){var Te={};return Te[d]=t,Te[y]=t,Er.call(Te,me,Ce.engine),Te},this.getOS=function(){var Te={};return Te[d]=t,Te[y]=t,Er.call(Te,me,Ce.os),be&&!Te[d]&&Oe&&Oe.platform&&Oe.platform!=\"Unknown\"&&(Te[d]=Oe.platform.replace(/chrome os/i,ye).replace(/macos/i,Re)),Te},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return me},this.setUA=function(Te){return me=typeof Te===l&&Te.length>re?Un(Te,re):Te,this},this.setUA(me),this};P.VERSION=n,P.BROWSER=Ut([d,y,c]),P.CPU=Ut([E]),P.DEVICE=Ut([u,g,h,L,C,T,v,R,O]),P.ENGINE=P.OS=Ut([d,y]),typeof nh!==o?(typeof l1!==o&&l1.exports&&(nh=l1.exports=P),nh.UAParser=P):typeof define===a&&define.amd?define(function(){return P}):typeof e!==o&&(e.UAParser=P);var H=typeof e!==o&&(e.jQuery||e.Zepto);if(H&&!H.ua){var k=new P;H.ua=k.getResult(),H.ua.get=function(){return k.getUA()},H.ua.set=function(Q){k.setUA(Q);var J=k.getResult();for(var ee in J)H.ua[ee]=J[ee]}}})(typeof window==\"object\"?window:nh)});var G9=V((vne,Y9)=>{\"use strict\";b();var LP=function(t){return jP(t)&&!qP(t)};function jP(e){return!!e&&typeof e==\"object\"}function qP(e){var t=Object.prototype.toString.call(e);return t===\"[object RegExp]\"||t===\"[object Date]\"||WP(e)}var HP=typeof Symbol==\"function\"&&Symbol.for,VP=HP?Symbol.for(\"react.element\"):60103;function WP(e){return e.$$typeof===VP}function FP(e){return Array.isArray(e)?[]:{}}function rh(e,t){return t.clone!==!1&&t.isMergeableObject(e)?au(FP(e),e,t):e}function KP(e,t,n){return e.concat(t).map(function(r){return rh(r,n)})}function $P(e,t){if(!t.customMerge)return au;var n=t.customMerge(e);return typeof n==\"function\"?n:au}function ZP(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function $9(e){return Object.keys(e).concat(ZP(e))}function Z9(e,t){try{return t in e}catch{return!1}}function YP(e,t){return Z9(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function GP(e,t,n){var r={};return n.isMergeableObject(e)&&$9(e).forEach(function(i){r[i]=rh(e[i],n)}),$9(t).forEach(function(i){YP(e,i)||(Z9(e,i)&&n.isMergeableObject(t[i])?r[i]=$P(i,n)(e[i],t[i],n):r[i]=rh(t[i],n))}),r}function au(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||KP,n.isMergeableObject=n.isMergeableObject||LP,n.cloneUnlessOtherwiseSpecified=rh;var r=Array.isArray(t),i=Array.isArray(e),a=r===i;return a?r?n.arrayMerge(e,t,n):GP(e,t,n):rh(t,n)}au.all=function(t,n){if(!Array.isArray(t))throw new Error(\"first argument should be an array\");return t.reduce(function(r,i){return au(r,i,n)},{})};var QP=au;Y9.exports=QP});var Q9=V((xne,c1)=>{b();(function(){\"use strict\";var e={}.hasOwnProperty;function t(){for(var i=\"\",a=0;a<arguments.length;a++){var o=arguments[a];o&&(i=r(i,n(o)))}return i}function n(i){if(typeof i==\"string\"||typeof i==\"number\")return i;if(typeof i!=\"object\")return\"\";if(Array.isArray(i))return t.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes(\"[native code]\"))return i.toString();var a=\"\";for(var o in i)e.call(i,o)&&i[o]&&(a=r(a,o));return a}function r(i,a){return a?i?i+\" \"+a:i+a:i}typeof c1<\"u\"&&c1.exports?(t.default=t,c1.exports=t):typeof define==\"function\"&&typeof define.amd==\"object\"&&define.amd?define(\"classnames\",[],function(){return t}):window.classNames=t})()});var Il=V(ep=>{\"use strict\";b();Object.defineProperty(ep,\"__esModule\",{value:!0});ep.inspectSymbol=void 0;ep.inspectSymbol=Symbol.for(\"nodejs.util.inspect.custom\")});var np=V(tp=>{\"use strict\";b();Object.defineProperty(tp,\"__esModule\",{value:!0});tp.crc16=void 0;function aW(e){let n=0,r=globalThis.Buffer.alloc(e.length+2);r.set(e);for(let i of r){let a=128;for(;a>0;)n<<=1,i&a&&(n+=1),a>>=1,n>65535&&(n&=65535,n^=4129)}return globalThis.Buffer.from([Math.floor(n/256),n%256])}tp.crc16=aW});var Ao=V(Au=>{\"use strict\";b();var CT;Object.defineProperty(Au,\"__esModule\",{value:!0});Au.address=Au.Address=void 0;var oW=Il(),ST=np(),Zw=17,_T=81,Yw=128;function xT(e){if(typeof e==\"string\"&&!Th.isFriendly(e))throw new Error(\"Unknown address type\");let t=globalThis.Buffer.isBuffer(e)?e:globalThis.Buffer.from(e,\"base64\");if(t.length!==36)throw new Error(\"Unknown address type: byte length is not equal to 36\");let n=t.subarray(0,34),r=t.subarray(34,36),i=(0,ST.crc16)(n);if(!(i[0]===r[0]&&i[1]===r[1]))throw new Error(\"Invalid checksum: \"+e);let a=n[0],o=!1,s=!1;if(a&Yw&&(o=!0,a=a^Yw),a!==Zw&&a!==_T)throw\"Unknown address tag\";s=a===Zw;let l=null;n[1]===255?l=-1:l=n[1];let c=n.subarray(2,34);return{isTestOnly:o,isBounceable:s,workchain:l,hashPart:c}}var Th=class e{static isAddress(t){return t instanceof e}static isFriendly(t){return!(t.length!==48||!/^[A-Za-z0-9+/_-]+$/.test(t))}static isRaw(t){if(t.indexOf(\":\")===-1)return!1;let[n,r]=t.split(\":\");return!(!Number.isInteger(parseFloat(n))||!/[a-f0-9]+/.test(r.toLowerCase())||r.length!==64)}static normalize(t){return typeof t==\"string\"?e.parse(t).toString():t.toString()}static parse(t){if(e.isFriendly(t))return this.parseFriendly(t).address;if(e.isRaw(t))return this.parseRaw(t);throw new Error(\"Unknown address type: \"+t)}static parseRaw(t){let n=parseInt(t.split(\":\")[0]),r=globalThis.Buffer.from(t.split(\":\")[1],\"hex\");return new e(n,r)}static parseFriendly(t){if(globalThis.Buffer.isBuffer(t)){let n=xT(t);return{isBounceable:n.isBounceable,isTestOnly:n.isTestOnly,address:new e(n.workchain,n.hashPart)}}else{let n=t.replace(/\\-/g,\"+\").replace(/_/g,\"/\"),r=xT(n);return{isBounceable:r.isBounceable,isTestOnly:r.isTestOnly,address:new e(r.workchain,r.hashPart)}}}constructor(t,n){if(this.toRawString=()=>this.workChain+\":\"+this.hash.toString(\"hex\"),this.toRaw=()=>{let r=globalThis.Buffer.alloc(36);return r.set(this.hash),r.set([this.workChain,this.workChain,this.workChain,this.workChain],32),r},this.toStringBuffer=r=>{let i=r&&r.testOnly!==void 0?r.testOnly:!1,o=(r&&r.bounceable!==void 0?r.bounceable:!0)?Zw:_T;i&&(o|=Yw);let s=globalThis.Buffer.alloc(34);s[0]=o,s[1]=this.workChain,s.set(this.hash,2);let l=globalThis.Buffer.alloc(36);return l.set(s),l.set((0,ST.crc16)(s),34),l},this.toString=r=>{let i=r&&r.urlSafe!==void 0?r.urlSafe:!0,a=this.toStringBuffer(r);return i?a.toString(\"base64\").replace(/\\+/g,\"-\").replace(/\\//g,\"_\"):a.toString(\"base64\")},this[CT]=()=>this.toString(),n.length!==32)throw new Error(\"Invalid address hash length: \"+n.length);this.workChain=t,this.hash=n,Object.freeze(this)}equals(t){return t.workChain!==this.workChain?!1:t.hash.equals(this.hash)}};Au.Address=Th;CT=oW.inspectSymbol;function sW(e){return Th.parse(e)}Au.address=sW});var ip=V(rp=>{\"use strict\";b();var TT;Object.defineProperty(rp,\"__esModule\",{value:!0});rp.ExternalAddress=void 0;var lW=Il(),Gw=class e{static isAddress(t){return t instanceof e}constructor(t,n){this[TT]=()=>this.toString(),this.value=t,this.bits=n}toString(){return`External<${this.bits}:${this.value}>`}};rp.ExternalAddress=Gw;TT=lW.inspectSymbol});var Xw=V(ku=>{\"use strict\";b();Object.defineProperty(ku,\"__esModule\",{value:!0});ku.base32Decode=ku.base32Encode=void 0;var Qw=\"abcdefghijklmnopqrstuvwxyz234567\";function cW(e){let t=e.byteLength,n=0,r=0,i=\"\";for(let a=0;a<t;a++)for(r=r<<8|e[a],n+=8;n>=5;)i+=Qw[r>>>n-5&31],n-=5;return n>0&&(i+=Qw[r<<5-n&31]),i}ku.base32Encode=cW;function uW(e,t){let n=e.indexOf(t);if(n===-1)throw new Error(\"Invalid character found: \"+t);return n}function dW(e){let t;t=e.toLowerCase();let{length:n}=t,r=0,i=0,a=0,o=globalThis.Buffer.alloc(n*5/8|0);for(let s=0;s<n;s++)i=i<<5|uW(Qw,t[s]),r+=5,r>=8&&(o[a++]=i>>>r-8&255,r-=8);return o}ku.base32Decode=dW});var BT=V(ap=>{\"use strict\";b();var kT;Object.defineProperty(ap,\"__esModule\",{value:!0});ap.ADNLAddress=void 0;var fW=Il(),ET=Xw(),AT=np(),Jw=class e{static parseFriendly(t){if(t.length!==55)throw Error(\"Invalid address\");t=\"f\"+t;let n=(0,ET.base32Decode)(t);if(n[0]!==45)throw Error(\"Invalid address\");let r=n.slice(33);if(!(0,AT.crc16)(n.slice(0,33)).equals(r))throw Error(\"Invalid address\");return new e(n.slice(1,33))}static parseRaw(t){let n=globalThis.Buffer.from(t,\"base64\");return new e(n)}constructor(t){if(this.toRaw=()=>this.address.toString(\"hex\").toUpperCase(),this.toString=()=>{let n=globalThis.Buffer.concat([globalThis.Buffer.from([45]),this.address]),r=(0,AT.crc16)(n);return n=globalThis.Buffer.concat([n,r]),(0,ET.base32Encode)(n).slice(1)},this[kT]=()=>this.toString(),t.length!==32)throw Error(\"Invalid address\");this.address=t}equals(t){return this.address.equals(t.address)}};ap.ADNLAddress=Jw;kT=fW.inspectSymbol});var Eh=V(Bu=>{\"use strict\";b();Object.defineProperty(Bu,\"__esModule\",{value:!0});Bu.paddedBufferToBits=Bu.bitsToPaddedBuffer=void 0;var hW=Ah(),gW=ko();function pW(e){let t=new hW.BitBuilder(Math.ceil(e.length/8)*8);t.writeBits(e);let n=Math.ceil(e.length/8)*8-e.length;for(let r=0;r<n;r++)r===0?t.writeBit(1):t.writeBit(0);return t.buffer()}Bu.bitsToPaddedBuffer=pW;function mW(e){let t=0;for(let n=e.length-1;n>=0;n--)if(e[n]!==0){let r=e[n],i=r&-r;(i&1)==0&&(i=Math.log2(i)+1),n>0&&(t=n<<3),t+=8-i;break}return new gW.BitString(e,0,t)}Bu.paddedBufferToBits=mW});var ko=V(op=>{\"use strict\";b();var MT;Object.defineProperty(op,\"__esModule\",{value:!0});op.BitString=void 0;var yW=Eh(),bW=Il(),kh=class e{static isBitString(t){return t instanceof e}constructor(t,n,r){if(this[MT]=()=>this.toString(),r<0)throw new Error(`Length ${r} is out of bounds`);this._length=r,this._data=t,this._offset=n}get length(){return this._length}at(t){if(t>=this._length)throw new Error(`Index ${t} > ${this._length} is out of bounds`);if(t<0)throw new Error(`Index ${t} < 0 is out of bounds`);let n=this._offset+t>>3,r=7-(this._offset+t)%8;return(this._data[n]&1<<r)!==0}substring(t,n){if(t>this._length)throw new Error(`Offset(${t}) > ${this._length} is out of bounds`);if(t<0)throw new Error(`Offset(${t}) < 0 is out of bounds`);if(n===0)return e.EMPTY;if(t+n>this._length)throw new Error(`Offset ${t} + Length ${n} > ${this._length} is out of bounds`);return new e(this._data,this._offset+t,n)}subbuffer(t,n){if(t>this._length)throw new Error(`Offset ${t} is out of bounds`);if(t<0)throw new Error(`Offset ${t} is out of bounds`);if(t+n>this._length)throw new Error(`Offset + Length = ${t+n} is out of bounds`);if(n%8!==0||(this._offset+t)%8!==0)return null;let r=this._offset+t>>3,i=r+(n>>3);return this._data.subarray(r,i)}equals(t){if(this._length!==t._length)return!1;for(let n=0;n<this._length;n++)if(this.at(n)!==t.at(n))return!1;return!0}toString(){let t=(0,yW.bitsToPaddedBuffer)(this);if(this._length%4===0){let n=t.subarray(0,Math.ceil(this._length/8)).toString(\"hex\").toUpperCase();return this._length%8===0?n:n.substring(0,n.length-1)}else{let n=t.toString(\"hex\").toUpperCase();return this._length%8<=4?n.substring(0,n.length-1)+\"_\":n+\"_\"}}};op.BitString=kh;MT=bW.inspectSymbol;kh.EMPTY=new kh(globalThis.Buffer.alloc(0),0,0)});var Ah=V(sp=>{\"use strict\";b();Object.defineProperty(sp,\"__esModule\",{value:!0});sp.BitBuilder=void 0;var vW=Ao(),wW=ip(),xW=ko(),e3=class{constructor(t=1023){this._buffer=globalThis.Buffer.alloc(Math.ceil(t/8)),this._length=0}get length(){return this._length}writeBit(t){let n=this._length;if(n>this._buffer.length*8)throw new Error(\"BitBuilder overflow\");(typeof t==\"boolean\"&&t===!0||typeof t==\"number\"&&t>0)&&(this._buffer[n/8|0]|=1<<7-n%8),this._length++}writeBits(t){for(let n=0;n<t.length;n++)this.writeBit(t.at(n))}writeBuffer(t){if(this._length%8===0){if(this._length+t.length*8>this._buffer.length*8)throw new Error(\"BitBuilder overflow\");t.copy(this._buffer,this._length/8),this._length+=t.length*8}else for(let n=0;n<t.length;n++)this.writeUint(t[n],8)}writeUint(t,n){if(n<0||!Number.isSafeInteger(n))throw Error(`invalid bit length. Got ${n}`);let r=BigInt(t);if(n===0){if(r!==0n)throw Error(`value is not zero for ${n} bits. Got ${t}`);return}let i=1n<<BigInt(n);if(r<0||r>=i)throw Error(`bitLength is too small for a value ${t}. Got ${n}`);if(this._length+n>this._buffer.length*8)throw new Error(\"BitBuilder overflow\");let a=8-this._length%8;if(a>0){let o=Math.floor(this._length/8);if(n<a){let s=Number(r);this._buffer[o]|=s<<a-n,this._length+=n}else{let s=Number(r>>BigInt(n-a));this._buffer[o]|=s,this._length+=a}}for(n-=a;n>0;)n>=8?(this._buffer[this._length/8]=Number(r>>BigInt(n-8)&0xffn),this._length+=8,n-=8):(this._buffer[this._length/8]=Number(r<<BigInt(8-n)&0xffn),this._length+=n,n=0)}writeInt(t,n){let r=BigInt(t);if(n<0||!Number.isSafeInteger(n))throw Error(`invalid bit length. Got ${n}`);if(n===0){if(r!==0n)throw Error(`value is not zero for ${n} bits. Got ${t}`);return}if(n===1){if(r!==-1n&&r!==0n)throw Error(`value is not zero or -1 for ${n} bits. Got ${t}`);this.writeBit(r===-1n);return}let i=1n<<BigInt(n)-1n;if(r<-i||r>=i)throw Error(`value is out of range for ${n} bits. Got ${t}`);r<0?(this.writeBit(!0),r=i+r):this.writeBit(!1),this.writeUint(r,n-1)}writeVarUint(t,n){let r=BigInt(t);if(n<0||!Number.isSafeInteger(n))throw Error(`invalid bit length. Got ${n}`);if(r<0)throw Error(`value is negative. Got ${t}`);if(r===0n){this.writeUint(0,n);return}let i=Math.ceil(r.toString(2).length/8),a=i*8;this.writeUint(i,n),this.writeUint(r,a)}writeVarInt(t,n){let r=BigInt(t);if(n<0||!Number.isSafeInteger(n))throw Error(`invalid bit length. Got ${n}`);if(r===0n){this.writeUint(0,n);return}let i=r>0?r:-r,a=Math.ceil((i.toString(2).length+1)/8),o=a*8;this.writeUint(a,n),this.writeInt(r,o)}writeCoins(t){this.writeVarUint(t,4)}writeAddress(t){if(t==null){this.writeUint(0,2);return}if(vW.Address.isAddress(t)){this.writeUint(2,2),this.writeUint(0,1),this.writeInt(t.workChain,8),this.writeBuffer(t.hash);return}if(wW.ExternalAddress.isAddress(t)){this.writeUint(1,2),this.writeUint(t.bits,9),this.writeUint(t.value,t.bits);return}throw Error(`Invalid address. Got ${t}`)}build(){return new xW.BitString(this._buffer,0,this._length)}buffer(){if(this._length%8!==0)throw new Error(\"BitBuilder buffer is not byte aligned\");return this._buffer.subarray(0,this._length/8)}};sp.BitBuilder=e3});var Mu=V(lp=>{\"use strict\";b();Object.defineProperty(lp,\"__esModule\",{value:!0});lp.CellType=void 0;var RT;(function(e){e[e.Ordinary=-1]=\"Ordinary\",e[e.PrunedBranch=1]=\"PrunedBranch\",e[e.Library=2]=\"Library\",e[e.MerkleProof=3]=\"MerkleProof\",e[e.MerkleUpdate=4]=\"MerkleUpdate\"})(RT||(lp.CellType=RT={}))});var UT=V(cp=>{\"use strict\";b();Object.defineProperty(cp,\"__esModule\",{value:!0});cp.readUnaryLength=void 0;function CW(e){let t=0;for(;e.loadBit();)t++;return t}cp.readUnaryLength=CW});var Bo=V(up=>{\"use strict\";b();Object.defineProperty(up,\"__esModule\",{value:!0});up.BitReader=void 0;var SW=Ao(),_W=ip(),t3=class e{constructor(t,n=0){this._checkpoints=[],this._bits=t,this._offset=n}get offset(){return this._offset}get remaining(){return this._bits.length-this._offset}skip(t){if(t<0||this._offset+t>this._bits.length)throw new Error(`Index ${this._offset+t} is out of bounds`);this._offset+=t}reset(){this._checkpoints.length>0?this._offset=this._checkpoints.pop():this._offset=0}save(){this._checkpoints.push(this._offset)}loadBit(){let t=this._bits.at(this._offset);return this._offset++,t}preloadBit(){return this._bits.at(this._offset)}loadBits(t){let n=this._bits.substring(this._offset,t);return this._offset+=t,n}preloadBits(t){return this._bits.substring(this._offset,t)}loadBuffer(t){let n=this._preloadBuffer(t,this._offset);return this._offset+=t*8,n}preloadBuffer(t){return this._preloadBuffer(t,this._offset)}loadUint(t){return this._toSafeInteger(this.loadUintBig(t),\"loadUintBig\")}loadUintBig(t){let n=this.preloadUintBig(t);return this._offset+=t,n}preloadUint(t){return this._toSafeInteger(this._preloadUint(t,this._offset),\"preloadUintBig\")}preloadUintBig(t){return this._preloadUint(t,this._offset)}loadInt(t){let n=this._preloadInt(t,this._offset);return this._offset+=t,this._toSafeInteger(n,\"loadUintBig\")}loadIntBig(t){let n=this._preloadInt(t,this._offset);return this._offset+=t,n}preloadInt(t){return this._toSafeInteger(this._preloadInt(t,this._offset),\"preloadIntBig\")}preloadIntBig(t){return this._preloadInt(t,this._offset)}loadVarUint(t){let n=Number(this.loadUint(t));return this._toSafeInteger(this.loadUintBig(n*8),\"loadVarUintBig\")}loadVarUintBig(t){let n=Number(this.loadUint(t));return this.loadUintBig(n*8)}preloadVarUint(t){let n=Number(this._preloadUint(t,this._offset));return this._toSafeInteger(this._preloadUint(n*8,this._offset+t),\"preloadVarUintBig\")}preloadVarUintBig(t){let n=Number(this._preloadUint(t,this._offset));return this._preloadUint(n*8,this._offset+t)}loadVarInt(t){let n=Number(this.loadUint(t));return this._toSafeInteger(this.loadIntBig(n*8),\"loadVarIntBig\")}loadVarIntBig(t){let n=Number(this.loadUint(t));return this.loadIntBig(n*8)}preloadVarInt(t){let n=Number(this._preloadUint(t,this._offset));return this._toSafeInteger(this._preloadInt(n*8,this._offset+t),\"preloadVarIntBig\")}preloadVarIntBig(t){let n=Number(this._preloadUint(t,this._offset));return this._preloadInt(n*8,this._offset+t)}loadCoins(){return this.loadVarUintBig(4)}preloadCoins(){return this.preloadVarUintBig(4)}loadAddress(){let t=Number(this._preloadUint(2,this._offset));if(t===2)return this._loadInternalAddress();throw new Error(\"Invalid address: \"+t)}loadMaybeAddress(){let t=Number(this._preloadUint(2,this._offset));if(t===0)return this._offset+=2,null;if(t===2)return this._loadInternalAddress();throw new Error(\"Invalid address\")}loadExternalAddress(){if(Number(this._preloadUint(2,this._offset))===1)return this._loadExternalAddress();throw new Error(\"Invalid address\")}loadMaybeExternalAddress(){let t=Number(this._preloadUint(2,this._offset));if(t===0)return this._offset+=2,null;if(t===1)return this._loadExternalAddress();throw new Error(\"Invalid address\")}loadAddressAny(){let t=Number(this._preloadUint(2,this._offset));if(t===0)return this._offset+=2,null;if(t===2)return this._loadInternalAddress();if(t===1)return this._loadExternalAddress();throw Error(t===3?\"Unsupported\":\"Unreachable\")}loadPaddedBits(t){if(t%8!==0)throw new Error(\"Invalid number of bits\");let n=t;for(;;)if(this._bits.at(this._offset+n-1)){n--;break}else n--;let r=this._bits.substring(this._offset,n);return this._offset+=t,r}clone(){return new e(this._bits,this._offset)}_preloadInt(t,n){if(t==0)return 0n;let r=this._bits.at(n),i=0n;for(let a=0;a<t-1;a++)this._bits.at(n+1+a)&&(i+=1n<<BigInt(t-a-1-1));return r&&(i=i-(1n<<BigInt(t-1))),i}_preloadUint(t,n){if(t==0)return 0n;let r=0n;for(let i=0;i<t;i++)this._bits.at(n+i)&&(r+=1n<<BigInt(t-i-1));return r}_preloadBuffer(t,n){let r=this._bits.subbuffer(n,t*8);if(r)return r;let i=globalThis.Buffer.alloc(t);for(let a=0;a<t;a++)i[a]=Number(this._preloadUint(8,n+a*8));return i}_loadInternalAddress(){if(Number(this._preloadUint(2,this._offset))!==2)throw Error(\"Invalid address\");let n,r;this._preloadUint(1,this._offset+2)!==0n&&(r=Number(this._preloadUint(5,this._offset+3)),n=this._preloadUint(r,this._offset+8),this._offset+=5+r);let i=Number(this._preloadInt(8,this._offset+3)),a=this._preloadBuffer(32,this._offset+11);if(r!==void 0&&n!==void 0){let o=Number(n),s=0,l=0,c=r;for(;c>0;){let u=Math.min(8-l,c),d=(1<<u)-1<<8-l-u,h=(o>>c-u&(1<<u)-1)<<8-l-u;a[s]=a[s]&~d|h,c-=u,l+=u,l===8&&(s++,l=0)}}return this._offset+=267,new SW.Address(i,a)}_loadExternalAddress(){if(Number(this._preloadUint(2,this._offset))!==1)throw Error(\"Invalid address\");let n=Number(this._preloadUint(9,this._offset+2)),r=this._preloadUint(n,this._offset+11);return this._offset+=11+n,new _W.ExternalAddress(r,n)}_toSafeInteger(t,n){if(BigInt(Number.MAX_SAFE_INTEGER)<t||t<BigInt(Number.MIN_SAFE_INTEGER))throw new TypeError(`${t} is out of safe integer range. Use ${n} instead`);return Number(t)}};up.BitReader=t3});var Bh=V(Ru=>{\"use strict\";b();Object.defineProperty(Ru,\"__esModule\",{value:!0});Ru.convertToMerkleProof=Ru.exoticMerkleProof=void 0;var TW=Bo(),EW=Hn();function AW(e,t){let n=new TW.BitReader(e);if(e.length!==280)throw new Error(`Merkle Proof cell must have exactly (8 + 256 + 16) bits, got \"${e.length}\"`);if(t.length!==1)throw new Error(`Merkle Proof cell must have exactly 1 ref, got \"${t.length}\"`);let i=n.loadUint(8);if(i!==3)throw new Error(`Merkle Proof cell must have type 3, got \"${i}\"`);let a=n.loadBuffer(32),o=n.loadUint(16),s=t[0].hash(0),l=t[0].depth(0);if(o!==l)throw new Error(`Merkle Proof cell ref depth must be exactly \"${o}\", got \"${l}\"`);if(!a.equals(s))throw new Error(`Merkle Proof cell ref hash must be exactly \"${a.toString(\"hex\")}\", got \"${s.toString(\"hex\")}\"`);return{proofDepth:o,proofHash:a}}Ru.exoticMerkleProof=AW;function kW(e){return(0,EW.beginCell)().storeUint(3,8).storeBuffer(e.hash(0)).storeUint(e.depth(0),16).storeRef(e).endCell({exotic:!0})}Ru.convertToMerkleProof=kW});var dp=V(Uu=>{\"use strict\";b();Object.defineProperty(Uu,\"__esModule\",{value:!0});Uu.generateMerkleProof=Uu.generateMerkleProofDirect=void 0;var r3=Hn(),BW=UT(),MW=Bh();function RW(e){return(0,r3.beginCell)().storeUint(1,8).storeUint(1,8).storeBuffer(e.hash(0)).storeUint(e.depth(0),16).endCell({exotic:!0})}function n3(e,t,n,r){let i=t.asCell();if(r.length==0)return RW(i);let a=t.loadBit()?1:0,o=0,s=e;if(a===0){o=(0,BW.readUnaryLength)(t);for(let l=0;l<o;l++)s+=t.loadBit()?\"1\":\"0\"}else if((t.loadBit()?1:0)===0){o=t.loadUint(Math.ceil(Math.log2(n+1)));for(let c=0;c<o;c++)s+=t.loadBit()?\"1\":\"0\"}else{let c=t.loadBit()?\"1\":\"0\";o=t.loadUint(Math.ceil(Math.log2(n+1)));for(let u=0;u<o;u++)s+=c}if(n-o===0)return i;{let l=i.beginParse(),c=l.loadRef(),u=l.loadRef();if(!c.isExotic){let d=r.filter(h=>s+\"0\"===h.slice(0,s.length+1));c=n3(s+\"0\",c.beginParse(),n-o-1,d)}if(!u.isExotic){let d=r.filter(h=>s+\"1\"===h.slice(0,s.length+1));u=n3(s+\"1\",u.beginParse(),n-o-1,d)}return(0,r3.beginCell)().storeSlice(l).storeRef(c).storeRef(u).endCell()}}function OT(e,t,n){t.forEach(i=>{if(!e.has(i))throw new Error(`Trying to generate merkle proof for a missing key \"${i}\"`)});let r=(0,r3.beginCell)().storeDictDirect(e).asSlice();return n3(\"\",r,n.bits,t.map(i=>n.serialize(i).toString(2).padStart(n.bits,\"0\")))}Uu.generateMerkleProofDirect=OT;function UW(e,t,n){return(0,MW.convertToMerkleProof)(OT(e,t,n))}Uu.generateMerkleProof=UW});var i3=V(fp=>{\"use strict\";b();Object.defineProperty(fp,\"__esModule\",{value:!0});fp.generateMerkleUpdate=void 0;var OW=Hn(),IT=dp();function IW(e,t){return(0,OW.beginCell)().storeUint(4,8).storeBuffer(e.hash(0)).storeBuffer(t.hash(0)).storeUint(e.depth(0),16).storeUint(t.depth(0),16).storeRef(e).storeRef(t).endCell({exotic:!0})}function NW(e,t,n,r){let i=(0,IT.generateMerkleProof)(e,[t],n).refs[0];e.set(t,r);let a=(0,IT.generateMerkleProof)(e,[t],n).refs[0];return IW(i,a)}fp.generateMerkleUpdate=NW});var NT=V(hp=>{\"use strict\";b();Object.defineProperty(hp,\"__esModule\",{value:!0});hp.parseDict=void 0;function PW(e){let t=0;for(;e.loadBit();)t++;return t}function a3(e,t,n,r,i){let a=t.loadBit()?1:0,o=0,s=e;if(a===0){o=PW(t);for(let l=0;l<o;l++)s+=t.loadBit()?\"1\":\"0\"}else if((t.loadBit()?1:0)===0){o=t.loadUint(Math.ceil(Math.log2(n+1)));for(let c=0;c<o;c++)s+=t.loadBit()?\"1\":\"0\"}else{let c=t.loadBit()?\"1\":\"0\";o=t.loadUint(Math.ceil(Math.log2(n+1)));for(let u=0;u<o;u++)s+=c}if(n-o===0)r.set(BigInt(\"0b\"+s),i(t));else{let l=t.loadRef(),c=t.loadRef();l.isExotic||a3(s+\"0\",l.beginParse(),n-o-1,r,i),c.isExotic||a3(s+\"1\",c.beginParse(),n-o-1,r,i)}}function zW(e,t,n){let r=new Map;return e&&a3(\"\",e,t,r,n),r}hp.parseDict=zW});var PT=V(gp=>{\"use strict\";b();Object.defineProperty(gp,\"__esModule\",{value:!0});gp.findCommonPrefix=void 0;function DW(e,t=0){if(e.length===0)return\"\";let n=e[0].slice(t);for(let r=1;r<e.length;r++){let i=e[r];for(;i.indexOf(n,t)!==t;)if(n=n.substring(0,n.length-1),n===\"\")return n}return n}gp.findCommonPrefix=DW});var VT=V(Zr=>{\"use strict\";b();Object.defineProperty(Zr,\"__esModule\",{value:!0});Zr.serializeDict=Zr.detectLabelType=Zr.writeLabelSame=Zr.writeLabelLong=Zr.writeLabelShort=Zr.buildTree=void 0;var zT=Hn(),LW=PT();function jW(e,t){for(;e.length<t;)e=\"0\"+e;return e}function qW(e,t){if(e.size===0)throw Error(\"Internal inconsistency\");let n=new Map,r=new Map;for(let[i,a]of e.entries())i[t]===\"0\"?n.set(i,a):r.set(i,a);if(n.size===0)throw Error(\"Internal inconsistency. Left emtpy.\");if(r.size===0)throw Error(\"Internal inconsistency. Right emtpy.\");return{left:n,right:r}}function HW(e,t){if(e.size===0)throw Error(\"Internal inconsistency\");if(e.size===1)return{type:\"leaf\",value:Array.from(e.values())[0]};let{left:n,right:r}=qW(e,t);return{type:\"fork\",left:o3(n,t+1),right:o3(r,t+1)}}function o3(e,t=0){if(e.size===0)throw Error(\"Internal inconsistency\");let n=(0,LW.findCommonPrefix)(Array.from(e.keys()),t);return{label:n,node:HW(e,n.length+t)}}function DT(e,t){let n=new Map;for(let r of Array.from(e.keys())){let i=jW(r.toString(2),t);n.set(i,e.get(r))}return o3(n)}Zr.buildTree=DT;function LT(e,t){t.storeBit(0);for(let n=0;n<e.length;n++)t.storeBit(1);return t.storeBit(0),e.length>0&&t.storeUint(BigInt(\"0b\"+e),e.length),t}Zr.writeLabelShort=LT;function VW(e){return 1+e.length+1+e.length}function jT(e,t,n){n.storeBit(1),n.storeBit(0);let r=Math.ceil(Math.log2(t+1));return n.storeUint(e.length,r),e.length>0&&n.storeUint(BigInt(\"0b\"+e),e.length),n}Zr.writeLabelLong=jT;function WW(e,t){return 2+Math.ceil(Math.log2(t+1))+e.length}function qT(e,t,n,r){r.storeBit(1),r.storeBit(1),r.storeBit(e);let i=Math.ceil(Math.log2(n+1));r.storeUint(t,i)}Zr.writeLabelSame=qT;function FW(e){return 3+Math.ceil(Math.log2(e+1))}function KW(e){if(e.length===0||e.length===1)return!0;for(let t=1;t<e.length;t++)if(e[t]!==e[0])return!1;return!0}function HT(e,t){let n=\"short\",r=VW(e),i=WW(e,t);if(i<r&&(r=i,n=\"long\"),KW(e)){let a=FW(t);a<r&&(r=a,n=\"same\")}return n}Zr.detectLabelType=HT;function $W(e,t,n){let r=HT(e,t);r===\"short\"?LT(e,n):r===\"long\"?jT(e,t,n):r===\"same\"&&qT(e[0]===\"1\",e.length,t,n)}function ZW(e,t,n,r){if(e.type===\"leaf\"&&n(e.value,r),e.type===\"fork\"){let i=(0,zT.beginCell)(),a=(0,zT.beginCell)();s3(e.left,t-1,n,i),s3(e.right,t-1,n,a),r.storeRef(i),r.storeRef(a)}}function s3(e,t,n,r){$W(e.label,t,r),ZW(e.node,t-e.label.length,n,r)}function YW(e,t,n,r){let i=DT(e,t);s3(i,t,n,r)}Zr.serializeDict=YW});var FT=V(Ou=>{\"use strict\";b();Object.defineProperty(Ou,\"__esModule\",{value:!0});Ou.deserializeInternalKey=Ou.serializeInternalKey=void 0;var WT=Ao(),l3=ko(),GW=Eh();function QW(e){if(typeof e==\"number\"){if(!Number.isSafeInteger(e))throw Error(\"Invalid key type: not a safe integer: \"+e);return\"n:\"+e.toString(10)}else{if(typeof e==\"bigint\")return\"b:\"+e.toString(10);if(WT.Address.isAddress(e))return\"a:\"+e.toString();if(globalThis.Buffer.isBuffer(e))return\"f:\"+e.toString(\"hex\");if(l3.BitString.isBitString(e))return\"B:\"+e.toString();throw Error(\"Invalid key type\")}}Ou.serializeInternalKey=QW;function XW(e){let t=e.slice(0,2),n=e.slice(2);if(t===\"n:\")return parseInt(n,10);if(t===\"b:\")return BigInt(n);if(t===\"a:\")return WT.Address.parse(n);if(t===\"f:\")return globalThis.Buffer.from(n,\"hex\");if(t===\"B:\"){let r=n.slice(-1)==\"_\";if(r||n.length%2!=0){let a=r?n.length-1:n.length,o=n.substr(0,a)+\"0\";return!r&&(a&1)!==0?new l3.BitString(globalThis.Buffer.from(o,\"hex\"),0,a<<2):(0,GW.paddedBufferToBits)(globalThis.Buffer.from(o,\"hex\"))}else return new l3.BitString(globalThis.Buffer.from(n,\"hex\"),0,n.length<<2)}throw Error(\"Invalid key type: \"+t)}Ou.deserializeInternalKey=XW});var Ro=V(pp=>{\"use strict\";b();Object.defineProperty(pp,\"__esModule\",{value:!0});pp.Dictionary=void 0;var JW=Ao(),Or=Hn(),KT=Ts(),eF=ko(),$T=dp(),tF=i3(),nF=NT(),ZT=VT(),Mo=FT(),Iu=class e{static empty(t,n){return t&&n?new e(new Map,t,n):new e(new Map,null,null)}static load(t,n,r){let i;if(r instanceof KT.Cell){if(r.isExotic)return e.empty(t,n);i=r.beginParse()}else i=r;let a=i.loadMaybeRef();return a&&!a.isExotic?e.loadDirect(t,n,a.beginParse()):e.empty(t,n)}static loadDirect(t,n,r){if(!r)return e.empty(t,n);let i;r instanceof KT.Cell?i=r.beginParse():i=r;let a=(0,nF.parseDict)(i,t.bits,n.parse),o=new Map;for(let[s,l]of a)o.set((0,Mo.serializeInternalKey)(t.parse(s)),l);return new e(o,t,n)}constructor(t,n,r){this._key=n,this._value=r,this._map=t}get size(){return this._map.size}get(t){return this._map.get((0,Mo.serializeInternalKey)(t))}has(t){return this._map.has((0,Mo.serializeInternalKey)(t))}set(t,n){return this._map.set((0,Mo.serializeInternalKey)(t),n),this}delete(t){let n=(0,Mo.serializeInternalKey)(t);return this._map.delete(n)}clear(){this._map.clear()}*[Symbol.iterator](){for(let[t,n]of this._map)yield[(0,Mo.deserializeInternalKey)(t),n]}keys(){return Array.from(this._map.keys()).map(t=>(0,Mo.deserializeInternalKey)(t))}values(){return Array.from(this._map.values())}store(t,n,r){if(this._map.size===0)t.storeBit(0);else{let i=this._key;n!=null&&(i=n);let a=this._value;if(r!=null&&(a=r),!i)throw Error(\"Key serializer is not defined\");if(!a)throw Error(\"Value serializer is not defined\");let o=new Map;for(let[l,c]of this._map)o.set(i.serialize((0,Mo.deserializeInternalKey)(l)),c);t.storeBit(1);let s=(0,Or.beginCell)();(0,ZT.serializeDict)(o,i.bits,a.serialize,s),t.storeRef(s.endCell())}}storeDirect(t,n,r){if(this._map.size===0)throw Error(\"Cannot store empty dictionary directly\");let i=this._key;n!=null&&(i=n);let a=this._value;if(r!=null&&(a=r),!i)throw Error(\"Key serializer is not defined\");if(!a)throw Error(\"Value serializer is not defined\");let o=new Map;for(let[s,l]of this._map)o.set(i.serialize((0,Mo.deserializeInternalKey)(s)),l);(0,ZT.serializeDict)(o,i.bits,a.serialize,t)}generateMerkleProof(t){return(0,$T.generateMerkleProof)(this,t,this._key)}generateMerkleProofDirect(t){return(0,$T.generateMerkleProofDirect)(this,t,this._key)}generateMerkleUpdate(t,n){return(0,tF.generateMerkleUpdate)(this,t,this._key,n)}};pp.Dictionary=Iu;Iu.Keys={Address:()=>rF(),BigInt:e=>iF(e),Int:e=>aF(e),BigUint:e=>oF(e),Uint:e=>sF(e),Buffer:e=>lF(e),BitString:e=>cF(e)};Iu.Values={BigInt:e=>dF(e),Int:e=>uF(e),BigVarInt:e=>fF(e),BigUint:e=>pF(e),Uint:e=>gF(e),BigVarUint:e=>hF(e),Bool:()=>mF(),Address:()=>yF(),Cell:()=>bF(),Buffer:e=>wF(e),BitString:e=>xF(e),Dictionary:(e,t)=>vF(e,t)};function rF(){return{bits:267,serialize:e=>{if(!JW.Address.isAddress(e))throw Error(\"Key is not an address\");return(0,Or.beginCell)().storeAddress(e).endCell().beginParse().preloadUintBig(267)},parse:e=>(0,Or.beginCell)().storeUint(e,267).endCell().beginParse().loadAddress()}}function iF(e){return{bits:e,serialize:t=>{if(typeof t!=\"bigint\")throw Error(\"Key is not a bigint\");return(0,Or.beginCell)().storeInt(t,e).endCell().beginParse().loadUintBig(e)},parse:t=>(0,Or.beginCell)().storeUint(t,e).endCell().beginParse().loadIntBig(e)}}function aF(e){return{bits:e,serialize:t=>{if(typeof t!=\"number\")throw Error(\"Key is not a number\");if(!Number.isSafeInteger(t))throw Error(\"Key is not a safe integer: \"+t);return(0,Or.beginCell)().storeInt(t,e).endCell().beginParse().loadUintBig(e)},parse:t=>(0,Or.beginCell)().storeUint(t,e).endCell().beginParse().loadInt(e)}}function oF(e){return{bits:e,serialize:t=>{if(typeof t!=\"bigint\")throw Error(\"Key is not a bigint\");if(t<0)throw Error(\"Key is negative: \"+t);return(0,Or.beginCell)().storeUint(t,e).endCell().beginParse().loadUintBig(e)},parse:t=>(0,Or.beginCell)().storeUint(t,e).endCell().beginParse().loadUintBig(e)}}function sF(e){return{bits:e,serialize:t=>{if(typeof t!=\"number\")throw Error(\"Key is not a number\");if(!Number.isSafeInteger(t))throw Error(\"Key is not a safe integer: \"+t);if(t<0)throw Error(\"Key is negative: \"+t);return(0,Or.beginCell)().storeUint(t,e).endCell().beginParse().loadUintBig(e)},parse:t=>Number((0,Or.beginCell)().storeUint(t,e).endCell().beginParse().loadUint(e))}}function lF(e){return{bits:e*8,serialize:t=>{if(!globalThis.Buffer.isBuffer(t))throw Error(\"Key is not a buffer\");return(0,Or.beginCell)().storeBuffer(t).endCell().beginParse().loadUintBig(e*8)},parse:t=>(0,Or.beginCell)().storeUint(t,e*8).endCell().beginParse().loadBuffer(e)}}function cF(e){return{bits:e,serialize:t=>{if(!eF.BitString.isBitString(t))throw Error(\"Key is not a BitString\");return(0,Or.beginCell)().storeBits(t).endCell().beginParse().loadUintBig(e)},parse:t=>(0,Or.beginCell)().storeUint(t,e).endCell().beginParse().loadBits(e)}}function uF(e){return{serialize:(t,n)=>{n.storeInt(t,e)},parse:t=>{let n=t.loadInt(e);return t.endParse(),n}}}function dF(e){return{serialize:(t,n)=>{n.storeInt(t,e)},parse:t=>{let n=t.loadIntBig(e);return t.endParse(),n}}}function fF(e){return{serialize:(t,n)=>{n.storeVarInt(t,e)},parse:t=>{let n=t.loadVarIntBig(e);return t.endParse(),n}}}function hF(e){return{serialize:(t,n)=>{n.storeVarUint(t,e)},parse:t=>{let n=t.loadVarUintBig(e);return t.endParse(),n}}}function gF(e){return{serialize:(t,n)=>{n.storeUint(t,e)},parse:t=>{let n=t.loadUint(e);return t.endParse(),n}}}function pF(e){return{serialize:(t,n)=>{n.storeUint(t,e)},parse:t=>{let n=t.loadUintBig(e);return t.endParse(),n}}}function mF(){return{serialize:(e,t)=>{t.storeBit(e)},parse:e=>{let t=e.loadBit();return e.endParse(),t}}}function yF(){return{serialize:(e,t)=>{t.storeAddress(e)},parse:e=>{let t=e.loadAddress();return e.endParse(),t}}}function bF(){return{serialize:(e,t)=>{t.storeRef(e)},parse:e=>{let t=e.loadRef();return e.endParse(),t}}}function vF(e,t){return{serialize:(n,r)=>{n.store(r)},parse:n=>{let r=Iu.load(e,t,n);return n.endParse(),r}}}function wF(e){return{serialize:(t,n)=>{if(t.length!==e)throw Error(\"Invalid buffer size\");n.storeBuffer(t)},parse:t=>{let n=t.loadBuffer(e);return t.endParse(),n}}}function xF(e){return{serialize:(t,n)=>{if(t.length!==e)throw Error(\"Invalid BitString size\");n.storeBits(t)},parse:t=>{let n=t.loadBits(e);return t.endParse(),n}}}});var u3=V(Es=>{\"use strict\";b();Object.defineProperty(Es,\"__esModule\",{value:!0});Es.writeString=Es.stringToCell=Es.readString=void 0;var YT=Hn();function GT(e){if(e.remainingBits%8!==0)throw new Error(`Invalid string length: ${e.remainingBits}`);if(e.remainingRefs!==0&&e.remainingRefs!==1)throw new Error(`invalid number of refs: ${e.remainingRefs}`);let t;return e.remainingBits===0?t=globalThis.Buffer.alloc(0):t=e.loadBuffer(e.remainingBits/8),e.remainingRefs===1&&(t=globalThis.Buffer.concat([t,GT(e.loadRef().beginParse())])),t}function CF(e){return GT(e).toString()}Es.readString=CF;function c3(e,t){if(e.length>0){let n=Math.floor(t.availableBits/8);if(e.length>n){let r=e.subarray(0,n),i=e.subarray(n);t=t.storeBuffer(r);let a=(0,YT.beginCell)();c3(i,a),t=t.storeRef(a.endCell())}else t=t.storeBuffer(e)}}function SF(e){let t=(0,YT.beginCell)();return c3(globalThis.Buffer.from(e),t),t.endCell()}Es.stringToCell=SF;function _F(e,t){c3(globalThis.Buffer.from(e),t)}Es.writeString=_F});var bp=V(yp=>{\"use strict\";b();var JT;Object.defineProperty(yp,\"__esModule\",{value:!0});yp.Slice=void 0;var TF=Il(),QT=Ro(),XT=Hn(),mp=u3(),d3=class e{constructor(t,n){this[JT]=()=>this.toString(),this._reader=t.clone(),this._refs=[...n],this._refsOffset=0}get remainingBits(){return this._reader.remaining}get offsetBits(){return this._reader.offset}get remainingRefs(){return this._refs.length-this._refsOffset}get offsetRefs(){return this._refsOffset}skip(t){return this._reader.skip(t),this}loadBit(){return this._reader.loadBit()}preloadBit(){return this._reader.preloadBit()}loadBoolean(){return this.loadBit()}loadMaybeBoolean(){return this.loadBit()?this.loadBoolean():null}loadBits(t){return this._reader.loadBits(t)}preloadBits(t){return this._reader.preloadBits(t)}loadUint(t){return this._reader.loadUint(t)}loadUintBig(t){return this._reader.loadUintBig(t)}preloadUint(t){return this._reader.preloadUint(t)}preloadUintBig(t){return this._reader.preloadUintBig(t)}loadMaybeUint(t){return this.loadBit()?this.loadUint(t):null}loadMaybeUintBig(t){return this.loadBit()?this.loadUintBig(t):null}loadInt(t){return this._reader.loadInt(t)}loadIntBig(t){return this._reader.loadIntBig(t)}preloadInt(t){return this._reader.preloadInt(t)}preloadIntBig(t){return this._reader.preloadIntBig(t)}loadMaybeInt(t){return this.loadBit()?this.loadInt(t):null}loadMaybeIntBig(t){return this.loadBit()?this.loadIntBig(t):null}loadVarUint(t){return this._reader.loadVarUint(t)}loadVarUintBig(t){return this._reader.loadVarUintBig(t)}preloadVarUint(t){return this._reader.preloadVarUint(t)}preloadVarUintBig(t){return this._reader.preloadVarUintBig(t)}loadVarInt(t){return this._reader.loadVarInt(t)}loadVarIntBig(t){return this._reader.loadVarIntBig(t)}preloadVarInt(t){return this._reader.preloadVarInt(t)}preloadVarIntBig(t){return this._reader.preloadVarIntBig(t)}loadCoins(){return this._reader.loadCoins()}preloadCoins(){return this._reader.preloadCoins()}loadMaybeCoins(){return this._reader.loadBit()?this._reader.loadCoins():null}loadAddress(){return this._reader.loadAddress()}loadMaybeAddress(){return this._reader.loadMaybeAddress()}loadExternalAddress(){return this._reader.loadExternalAddress()}loadMaybeExternalAddress(){return this._reader.loadMaybeExternalAddress()}loadAddressAny(){return this._reader.loadAddressAny()}loadRef(){if(this._refsOffset>=this._refs.length)throw new Error(\"No more references\");return this._refs[this._refsOffset++]}preloadRef(){if(this._refsOffset>=this._refs.length)throw new Error(\"No more references\");return this._refs[this._refsOffset]}loadMaybeRef(){return this.loadBit()?this.loadRef():null}preloadMaybeRef(){return this.preloadBit()?this.preloadRef():null}loadBuffer(t){return this._reader.loadBuffer(t)}preloadBuffer(t){return this._reader.preloadBuffer(t)}loadStringTail(){return(0,mp.readString)(this)}loadMaybeStringTail(){return this.loadBit()?(0,mp.readString)(this):null}loadStringRefTail(){return(0,mp.readString)(this.loadRef().beginParse())}loadMaybeStringRefTail(){let t=this.loadMaybeRef();return t?(0,mp.readString)(t.beginParse()):null}loadDict(t,n){return QT.Dictionary.load(t,n,this)}loadDictDirect(t,n){return QT.Dictionary.loadDirect(t,n,this)}endParse(){if(this.remainingBits>0||this.remainingRefs>0)throw new Error(\"Slice is not empty\")}asCell(){return(0,XT.beginCell)().storeSlice(this).endCell()}asBuilder(){return(0,XT.beginCell)().storeSlice(this)}clone(t=!1){if(t){let n=this._reader.clone();return n.reset(),new e(n,this._refs)}else{let n=new e(this._reader,this._refs);return n._refsOffset=this._refsOffset,n}}toString(){return this.asCell().toString()}};yp.Slice=d3;JT=TF.inspectSymbol});var f3=V(vp=>{\"use strict\";b();Object.defineProperty(vp,\"__esModule\",{value:!0});vp.exoticLibrary=void 0;var EF=Bo();function AF(e,t){let n=new EF.BitReader(e);if(e.length!==264)throw new Error(`Library cell must have exactly (8 + 256) bits, got \"${e.length}\"`);let i=n.loadUint(8);if(i!==2)throw new Error(`Library cell must have type 2, got \"${i}\"`);return{}}vp.exoticLibrary=AF});var xp=V(wp=>{\"use strict\";b();Object.defineProperty(wp,\"__esModule\",{value:!0});wp.exoticMerkleUpdate=void 0;var kF=Bo();function BF(e,t){let n=new kF.BitReader(e),r=8+2*272;if(e.length!==r)throw new Error(`Merkle Update cell must have exactly (8 + (2 * (256 + 16))) bits, got \"${e.length}\"`);if(t.length!==2)throw new Error(`Merkle Update cell must have exactly 2 refs, got \"${t.length}\"`);let i=n.loadUint(8);if(i!==4)throw new Error(`Merkle Update cell type must be exactly 4, got \"${i}\"`);let a=n.loadBuffer(32),o=n.loadBuffer(32),s=n.loadUint(16),l=n.loadUint(16);if(s!==t[0].depth(0))throw new Error(`Merkle Update cell ref depth must be exactly \"${s}\", got \"${t[0].depth(0)}\"`);if(!a.equals(t[0].hash(0)))throw new Error(`Merkle Update cell ref hash must be exactly \"${a.toString(\"hex\")}\", got \"${t[0].hash(0).toString(\"hex\")}\"`);if(l!==t[1].depth(0))throw new Error(`Merkle Update cell ref depth must be exactly \"${l}\", got \"${t[1].depth(0)}\"`);if(!o.equals(t[1].hash(0)))throw new Error(`Merkle Update cell ref hash must be exactly \"${o.toString(\"hex\")}\", got \"${t[1].hash(0).toString(\"hex\")}\"`);return{proofDepth1:s,proofDepth2:l,proofHash1:a,proofHash2:o}}wp.exoticMerkleUpdate=BF});var Sp=V(Cp=>{\"use strict\";b();Object.defineProperty(Cp,\"__esModule\",{value:!0});Cp.LevelMask=void 0;var h3=class e{constructor(t=0){this._mask=0,this._mask=t,this._hashIndex=MF(this._mask),this._hashCount=this._hashIndex+1}get value(){return this._mask}get level(){return 32-Math.clz32(this._mask)}get hashIndex(){return this._hashIndex}get hashCount(){return this._hashCount}apply(t){return new e(this._mask&(1<<t)-1)}isSignificant(t){return t===0||(this._mask>>t-1)%2!==0}};Cp.LevelMask=h3;function MF(e){return e=e-(e>>1&1431655765),e=(e&858993459)+(e>>2&858993459),(e+(e>>4)&252645135)*16843009>>24}});var Tp=V(_p=>{\"use strict\";b();Object.defineProperty(_p,\"__esModule\",{value:!0});_p.exoticPruned=void 0;var RF=Bo(),eE=Sp();function UF(e,t){let n=new RF.BitReader(e),r=n.loadUint(8);if(r!==1)throw new Error(`Pruned branch cell must have type 1, got \"${r}\"`);if(t.length!==0)throw new Error(`Pruned Branch cell can't has refs, got \"${t.length}\"`);let i;if(e.length===280)i=new eE.LevelMask(1);else{if(i=new eE.LevelMask(n.loadUint(8)),i.level<1||i.level>3)throw new Error(`Pruned Branch cell level must be >= 1 and <= 3, got \"${i.level}/${i.value}\"`);let l=16+i.apply(i.level-1).hashCount*272;if(e.length!==l)throw new Error(`Pruned branch cell must have exactly ${l} bits, got \"${e.length}\"`)}let a=[],o=[],s=[];for(let l=0;l<i.level;l++)o.push(n.loadBuffer(32));for(let l=0;l<i.level;l++)s.push(n.loadUint(16));for(let l=0;l<i.level;l++)a.push({depth:s[l],hash:o[l]});return{mask:i.value,pruned:a}}_p.exoticPruned=UF});var tE=V(kp=>{\"use strict\";b();Object.defineProperty(kp,\"__esModule\",{value:!0});kp.resolveExotic=void 0;var OF=Bo(),Ep=Mu(),IF=f3(),NF=Bh(),PF=xp(),zF=Tp(),Ap=Sp();function DF(e,t){let n=(0,zF.exoticPruned)(e,t),r=[],i=[],a=new Ap.LevelMask(n.mask);for(let o=0;o<n.pruned.length;o++)r.push(n.pruned[o].depth),i.push(n.pruned[o].hash);return{type:Ep.CellType.PrunedBranch,depths:r,hashes:i,mask:a}}function LF(e,t){let n=(0,IF.exoticLibrary)(e,t),r=[],i=[],a=new Ap.LevelMask;return{type:Ep.CellType.Library,depths:r,hashes:i,mask:a}}function jF(e,t){let n=(0,NF.exoticMerkleProof)(e,t),r=[],i=[],a=new Ap.LevelMask(t[0].level()>>1);return{type:Ep.CellType.MerkleProof,depths:r,hashes:i,mask:a}}function qF(e,t){let n=(0,PF.exoticMerkleUpdate)(e,t),r=[],i=[],a=new Ap.LevelMask((t[0].level()|t[1].level())>>1);return{type:Ep.CellType.MerkleUpdate,depths:r,hashes:i,mask:a}}function HF(e,t){let r=new OF.BitReader(e).preloadUint(8);if(r===1)return DF(e,t);if(r===2)return LF(e,t);if(r===3)return jF(e,t);if(r===4)return qF(e,t);throw Error(\"Invalid exotic cell type: \"+r)}kp.resolveExotic=HF});var g3=V(As=>{\"use strict\";b();Object.defineProperty(As,\"__esModule\",{value:!0});As.getRepr=As.getBitsDescriptor=As.getRefsDescriptor=void 0;var Mh=Mu(),VF=Eh();function nE(e,t,n){return e.length+(n!==Mh.CellType.Ordinary?1:0)*8+t*32}As.getRefsDescriptor=nE;function rE(e){let t=e.length;return Math.ceil(t/8)+Math.floor(t/8)}As.getBitsDescriptor=rE;function WF(e,t,n,r,i,a){let o=Math.ceil(t.length/8),s=globalThis.Buffer.alloc(2+o+34*n.length),l=0;s[l++]=nE(n,i,a),s[l++]=rE(e),(0,VF.bitsToPaddedBuffer)(t).copy(s,l),l+=o;for(let c of n){let u;a==Mh.CellType.MerkleProof||a==Mh.CellType.MerkleUpdate?u=c.depth(r+1):u=c.depth(r),s[l++]=Math.floor(u/256),s[l++]=u%256}for(let c of n){let u;a==Mh.CellType.MerkleProof||a==Mh.CellType.MerkleUpdate?u=c.hash(r+1):u=c.hash(r),u.copy(s,l),l+=32}return s}As.getRepr=WF});var Bp=V((p3,m3)=>{b();(function(e,t){typeof p3==\"object\"&&typeof m3<\"u\"?m3.exports=t():typeof define==\"function\"&&define.amd?define(t):(e=typeof globalThis<\"u\"?globalThis:e||self).jsSHA=t()})(p3,(function(){\"use strict\";var e=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\";function t(D,_,U,P){var H,k,Q,J=_||[0],ee=(U=U||0)>>>3,me=P===-1?3:0;for(H=0;H<D.length;H+=1)k=(Q=H+ee)>>>2,J.length<=k&&J.push(0),J[k]|=D[H]<<8*(me+P*(Q%4));return{value:J,binLen:8*D.length+U}}function n(D,_,U){switch(_){case\"UTF8\":case\"UTF16BE\":case\"UTF16LE\":break;default:throw new Error(\"encoding must be UTF8, UTF16BE, or UTF16LE\")}switch(D){case\"HEX\":return function(P,H,k){return(function(Q,J,ee,me){var Oe,Ce,be,Te;if(Q.length%2!=0)throw new Error(\"String of HEX type must be in byte increments\");var we=J||[0],gt=(ee=ee||0)>>>3,St=me===-1?3:0;for(Oe=0;Oe<Q.length;Oe+=2){if(Ce=parseInt(Q.substr(Oe,2),16),isNaN(Ce))throw new Error(\"String of HEX type contains invalid characters\");for(be=(Te=(Oe>>>1)+gt)>>>2;we.length<=be;)we.push(0);we[be]|=Ce<<8*(St+me*(Te%4))}return{value:we,binLen:4*Q.length+ee}})(P,H,k,U)};case\"TEXT\":return function(P,H,k){return(function(Q,J,ee,me,Oe){var Ce,be,Te,we,gt,St,Yt,mn,qi=0,On=ee||[0],Xn=(me=me||0)>>>3;if(J===\"UTF8\")for(Yt=Oe===-1?3:0,Te=0;Te<Q.length;Te+=1)for(be=[],128>(Ce=Q.charCodeAt(Te))?be.push(Ce):2048>Ce?(be.push(192|Ce>>>6),be.push(128|63&Ce)):55296>Ce||57344<=Ce?be.push(224|Ce>>>12,128|Ce>>>6&63,128|63&Ce):(Te+=1,Ce=65536+((1023&Ce)<<10|1023&Q.charCodeAt(Te)),be.push(240|Ce>>>18,128|Ce>>>12&63,128|Ce>>>6&63,128|63&Ce)),we=0;we<be.length;we+=1){for(gt=(St=qi+Xn)>>>2;On.length<=gt;)On.push(0);On[gt]|=be[we]<<8*(Yt+Oe*(St%4)),qi+=1}else for(Yt=Oe===-1?2:0,mn=J===\"UTF16LE\"&&Oe!==1||J!==\"UTF16LE\"&&Oe===1,Te=0;Te<Q.length;Te+=1){for(Ce=Q.charCodeAt(Te),mn===!0&&(Ce=(we=255&Ce)<<8|Ce>>>8),gt=(St=qi+Xn)>>>2;On.length<=gt;)On.push(0);On[gt]|=Ce<<8*(Yt+Oe*(St%4)),qi+=2}return{value:On,binLen:8*qi+me}})(P,_,H,k,U)};case\"B64\":return function(P,H,k){return(function(Q,J,ee,me){var Oe,Ce,be,Te,we,gt,St=0,Yt=J||[0],mn=(ee=ee||0)>>>3,qi=me===-1?3:0,On=Q.indexOf(\"=\");if(Q.search(/^[a-zA-Z0-9=+/]+$/)===-1)throw new Error(\"Invalid character in base-64 string\");if(Q=Q.replace(/=/g,\"\"),On!==-1&&On<Q.length)throw new Error(\"Invalid '=' found in base-64 string\");for(Oe=0;Oe<Q.length;Oe+=4){for(Te=Q.substr(Oe,4),be=0,Ce=0;Ce<Te.length;Ce+=1)be|=e.indexOf(Te.charAt(Ce))<<18-6*Ce;for(Ce=0;Ce<Te.length-1;Ce+=1){for(we=(gt=St+mn)>>>2;Yt.length<=we;)Yt.push(0);Yt[we]|=(be>>>16-8*Ce&255)<<8*(qi+me*(gt%4)),St+=1}}return{value:Yt,binLen:8*St+ee}})(P,H,k,U)};case\"BYTES\":return function(P,H,k){return(function(Q,J,ee,me){var Oe,Ce,be,Te,we=J||[0],gt=(ee=ee||0)>>>3,St=me===-1?3:0;for(Ce=0;Ce<Q.length;Ce+=1)Oe=Q.charCodeAt(Ce),be=(Te=Ce+gt)>>>2,we.length<=be&&we.push(0),we[be]|=Oe<<8*(St+me*(Te%4));return{value:we,binLen:8*Q.length+ee}})(P,H,k,U)};case\"ARRAYBUFFER\":try{new ArrayBuffer(0)}catch{throw new Error(\"ARRAYBUFFER not supported by this environment\")}return function(P,H,k){return(function(Q,J,ee,me){return t(new Uint8Array(Q),J,ee,me)})(P,H,k,U)};case\"UINT8ARRAY\":try{new Uint8Array(0)}catch{throw new Error(\"UINT8ARRAY not supported by this environment\")}return function(P,H,k){return t(P,H,k,U)};default:throw new Error(\"format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY\")}}function r(D,_,U,P){switch(D){case\"HEX\":return function(H){return(function(k,Q,J,ee){var me,Oe,Ce=\"\",be=Q/8,Te=J===-1?3:0;for(me=0;me<be;me+=1)Oe=k[me>>>2]>>>8*(Te+J*(me%4)),Ce+=\"0123456789abcdef\".charAt(Oe>>>4&15)+\"0123456789abcdef\".charAt(15&Oe);return ee.outputUpper?Ce.toUpperCase():Ce})(H,_,U,P)};case\"B64\":return function(H){return(function(k,Q,J,ee){var me,Oe,Ce,be,Te,we=\"\",gt=Q/8,St=J===-1?3:0;for(me=0;me<gt;me+=3)for(be=me+1<gt?k[me+1>>>2]:0,Te=me+2<gt?k[me+2>>>2]:0,Ce=(k[me>>>2]>>>8*(St+J*(me%4))&255)<<16|(be>>>8*(St+J*((me+1)%4))&255)<<8|Te>>>8*(St+J*((me+2)%4))&255,Oe=0;Oe<4;Oe+=1)we+=8*me+6*Oe<=Q?e.charAt(Ce>>>6*(3-Oe)&63):ee.b64Pad;return we})(H,_,U,P)};case\"BYTES\":return function(H){return(function(k,Q,J){var ee,me,Oe=\"\",Ce=Q/8,be=J===-1?3:0;for(ee=0;ee<Ce;ee+=1)me=k[ee>>>2]>>>8*(be+J*(ee%4))&255,Oe+=String.fromCharCode(me);return Oe})(H,_,U)};case\"ARRAYBUFFER\":try{new ArrayBuffer(0)}catch{throw new Error(\"ARRAYBUFFER not supported by this environment\")}return function(H){return(function(k,Q,J){var ee,me=Q/8,Oe=new ArrayBuffer(me),Ce=new Uint8Array(Oe),be=J===-1?3:0;for(ee=0;ee<me;ee+=1)Ce[ee]=k[ee>>>2]>>>8*(be+J*(ee%4))&255;return Oe})(H,_,U)};case\"UINT8ARRAY\":try{new Uint8Array(0)}catch{throw new Error(\"UINT8ARRAY not supported by this environment\")}return function(H){return(function(k,Q,J){var ee,me=Q/8,Oe=J===-1?3:0,Ce=new Uint8Array(me);for(ee=0;ee<me;ee+=1)Ce[ee]=k[ee>>>2]>>>8*(Oe+J*(ee%4))&255;return Ce})(H,_,U)};default:throw new Error(\"format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY\")}}var i=[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=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428],o=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],s=\"Chosen SHA variant is not supported\";function l(D,_){var U,P,H=D.binLen>>>3,k=_.binLen>>>3,Q=H<<3,J=4-H<<3;if(H%4!=0){for(U=0;U<k;U+=4)P=H+U>>>2,D.value[P]|=_.value[U>>>2]<<Q,D.value.push(0),D.value[P+1]|=_.value[U>>>2]>>>J;return(D.value.length<<2)-4>=k+H&&D.value.pop(),{value:D.value,binLen:D.binLen+_.binLen}}return{value:D.value.concat(_.value),binLen:D.binLen+_.binLen}}function c(D){var _={outputUpper:!1,b64Pad:\"=\",outputLen:-1},U=D||{},P=\"Output length must be a multiple of 8\";if(_.outputUpper=U.outputUpper||!1,U.b64Pad&&(_.b64Pad=U.b64Pad),U.outputLen){if(U.outputLen%8!=0)throw new Error(P);_.outputLen=U.outputLen}else if(U.shakeLen){if(U.shakeLen%8!=0)throw new Error(P);_.outputLen=U.shakeLen}if(typeof _.outputUpper!=\"boolean\")throw new Error(\"Invalid outputUpper formatting option\");if(typeof _.b64Pad!=\"string\")throw new Error(\"Invalid b64Pad formatting option\");return _}function u(D,_,U,P){var H=D+\" must include a value and format\";if(!_){if(!P)throw new Error(H);return P}if(_.value===void 0||!_.format)throw new Error(H);return n(_.format,_.encoding||\"UTF8\",U)(_.value)}var d=(function(){function D(_,U,P){var H=P||{};if(this.t=U,this.i=H.encoding||\"UTF8\",this.numRounds=H.numRounds||1,isNaN(this.numRounds)||this.numRounds!==parseInt(this.numRounds,10)||1>this.numRounds)throw new Error(\"numRounds must a integer >= 1\");this.o=_,this.u=[],this.s=0,this.h=!1,this.v=0,this.A=!1,this.l=[],this.H=[]}return D.prototype.update=function(_){var U,P=0,H=this.S>>>5,k=this.p(_,this.u,this.s),Q=k.binLen,J=k.value,ee=Q>>>5;for(U=0;U<ee;U+=H)P+this.S<=Q&&(this.m=this.R(J.slice(U,U+H),this.m),P+=this.S);this.v+=P,this.u=J.slice(P>>>5),this.s=Q%this.S,this.h=!0},D.prototype.getHash=function(_,U){var P,H,k=this.U,Q=c(U);if(this.T){if(Q.outputLen===-1)throw new Error(\"Output length must be specified in options\");k=Q.outputLen}var J=r(_,k,this.C,Q);if(this.A&&this.F)return J(this.F(Q));for(H=this.K(this.u.slice(),this.s,this.v,this.B(this.m),k),P=1;P<this.numRounds;P+=1)this.T&&k%32!=0&&(H[H.length-1]&=16777215>>>24-k%32),H=this.K(H,k,0,this.L(this.o),k);return J(H)},D.prototype.setHMACKey=function(_,U,P){if(!this.g)throw new Error(\"Variant does not support HMAC\");if(this.h)throw new Error(\"Cannot set MAC key after calling update\");var H=n(U,(P||{}).encoding||\"UTF8\",this.C);this.k(H(_))},D.prototype.k=function(_){var U,P=this.S>>>3,H=P/4-1;if(this.numRounds!==1)throw new Error(\"Cannot set numRounds with MAC\");if(this.A)throw new Error(\"MAC key already set\");for(P<_.binLen/8&&(_.value=this.K(_.value,_.binLen,0,this.L(this.o),this.U));_.value.length<=H;)_.value.push(0);for(U=0;U<=H;U+=1)this.l[U]=909522486^_.value[U],this.H[U]=1549556828^_.value[U];this.m=this.R(this.l,this.m),this.v=this.S,this.A=!0},D.prototype.getHMAC=function(_,U){var P=c(U);return r(_,this.U,this.C,P)(this.Y())},D.prototype.Y=function(){var _;if(!this.A)throw new Error(\"Cannot call getHMAC without first setting MAC key\");var U=this.K(this.u.slice(),this.s,this.v,this.B(this.m),this.U);return _=this.R(this.H,this.L(this.o)),_=this.K(U,this.U,this.S,_,this.U)},D})(),h=function(D,_){return(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(U,P){U.__proto__=P}||function(U,P){for(var H in P)Object.prototype.hasOwnProperty.call(P,H)&&(U[H]=P[H])})(D,_)};function g(D,_){function U(){this.constructor=D}h(D,_),D.prototype=_===null?Object.create(_):(U.prototype=_.prototype,new U)}function y(D,_){return D<<_|D>>>32-_}function E(D,_){return D>>>_|D<<32-_}function L(D,_){return D>>>_}function C(D,_,U){return D^_^U}function v(D,_,U){return D&_^~D&U}function T(D,_,U){return D&_^D&U^_&U}function R(D){return E(D,2)^E(D,13)^E(D,22)}function O(D,_){var U=(65535&D)+(65535&_);return(65535&(D>>>16)+(_>>>16)+(U>>>16))<<16|65535&U}function re(D,_,U,P){var H=(65535&D)+(65535&_)+(65535&U)+(65535&P);return(65535&(D>>>16)+(_>>>16)+(U>>>16)+(P>>>16)+(H>>>16))<<16|65535&H}function B(D,_,U,P,H){var k=(65535&D)+(65535&_)+(65535&U)+(65535&P)+(65535&H);return(65535&(D>>>16)+(_>>>16)+(U>>>16)+(P>>>16)+(H>>>16)+(k>>>16))<<16|65535&k}function q(D){return E(D,7)^E(D,18)^L(D,3)}function z(D){return E(D,6)^E(D,11)^E(D,25)}function K(D){return[1732584193,4023233417,2562383102,271733878,3285377520]}function j(D,_){var U,P,H,k,Q,J,ee,me=[];for(U=_[0],P=_[1],H=_[2],k=_[3],Q=_[4],ee=0;ee<80;ee+=1)me[ee]=ee<16?D[ee]:y(me[ee-3]^me[ee-8]^me[ee-14]^me[ee-16],1),J=ee<20?B(y(U,5),v(P,H,k),Q,1518500249,me[ee]):ee<40?B(y(U,5),C(P,H,k),Q,1859775393,me[ee]):ee<60?B(y(U,5),T(P,H,k),Q,2400959708,me[ee]):B(y(U,5),C(P,H,k),Q,3395469782,me[ee]),Q=k,k=H,H=y(P,30),P=U,U=J;return _[0]=O(U,_[0]),_[1]=O(P,_[1]),_[2]=O(H,_[2]),_[3]=O(k,_[3]),_[4]=O(Q,_[4]),_}function N(D,_,U,P){for(var H,k=15+(_+65>>>9<<4),Q=_+U;D.length<=k;)D.push(0);for(D[_>>>5]|=128<<24-_%32,D[k]=4294967295&Q,D[k-1]=Q/4294967296|0,H=0;H<D.length;H+=16)P=j(D.slice(H,H+16),P);return P}var pe=(function(D){function _(U,P,H){var k=this;if(U!==\"SHA-1\")throw new Error(s);var Q=H||{};return(k=D.call(this,U,P,H)||this).g=!0,k.F=k.Y,k.C=-1,k.p=n(k.t,k.i,k.C),k.R=j,k.B=function(J){return J.slice()},k.L=K,k.K=N,k.m=[1732584193,4023233417,2562383102,271733878,3285377520],k.S=512,k.U=160,k.T=!1,Q.hmacKey&&k.k(u(\"hmacKey\",Q.hmacKey,k.C)),k}return g(_,D),_})(d);function le(D){return D==\"SHA-224\"?a.slice():o.slice()}function se(D,_){var U,P,H,k,Q,J,ee,me,Oe,Ce,be,Te,we=[];for(U=_[0],P=_[1],H=_[2],k=_[3],Q=_[4],J=_[5],ee=_[6],me=_[7],be=0;be<64;be+=1)we[be]=be<16?D[be]:re(E(Te=we[be-2],17)^E(Te,19)^L(Te,10),we[be-7],q(we[be-15]),we[be-16]),Oe=B(me,z(Q),v(Q,J,ee),i[be],we[be]),Ce=O(R(U),T(U,P,H)),me=ee,ee=J,J=Q,Q=O(k,Oe),k=H,H=P,P=U,U=O(Oe,Ce);return _[0]=O(U,_[0]),_[1]=O(P,_[1]),_[2]=O(H,_[2]),_[3]=O(k,_[3]),_[4]=O(Q,_[4]),_[5]=O(J,_[5]),_[6]=O(ee,_[6]),_[7]=O(me,_[7]),_}var Me=(function(D){function _(U,P,H){var k=this;if(U!==\"SHA-224\"&&U!==\"SHA-256\")throw new Error(s);var Q=H||{};return(k=D.call(this,U,P,H)||this).F=k.Y,k.g=!0,k.C=-1,k.p=n(k.t,k.i,k.C),k.R=se,k.B=function(J){return J.slice()},k.L=le,k.K=function(J,ee,me,Oe){return(function(Ce,be,Te,we,gt){for(var St,Yt=15+(be+65>>>9<<4),mn=be+Te;Ce.length<=Yt;)Ce.push(0);for(Ce[be>>>5]|=128<<24-be%32,Ce[Yt]=4294967295&mn,Ce[Yt-1]=mn/4294967296|0,St=0;St<Ce.length;St+=16)we=se(Ce.slice(St,St+16),we);return gt===\"SHA-224\"?[we[0],we[1],we[2],we[3],we[4],we[5],we[6]]:we})(J,ee,me,Oe,U)},k.m=le(U),k.S=512,k.U=U===\"SHA-224\"?224:256,k.T=!1,Q.hmacKey&&k.k(u(\"hmacKey\",Q.hmacKey,k.C)),k}return g(_,D),_})(d),I=function(D,_){this.N=D,this.I=_};function Fe(D,_){var U;return _>32?(U=64-_,new I(D.I<<_|D.N>>>U,D.N<<_|D.I>>>U)):_!==0?(U=32-_,new I(D.N<<_|D.I>>>U,D.I<<_|D.N>>>U)):D}function Ze(D,_){var U;return _<32?(U=32-_,new I(D.N>>>_|D.I<<U,D.I>>>_|D.N<<U)):(U=64-_,new I(D.I>>>_|D.N<<U,D.N>>>_|D.I<<U))}function Et(D,_){return new I(D.N>>>_,D.I>>>_|D.N<<32-_)}function Qt(D,_,U){return new I(D.N&_.N^~D.N&U.N,D.I&_.I^~D.I&U.I)}function jt(D,_,U){return new I(D.N&_.N^D.N&U.N^_.N&U.N,D.I&_.I^D.I&U.I^_.I&U.I)}function tn(D){var _=Ze(D,28),U=Ze(D,34),P=Ze(D,39);return new I(_.N^U.N^P.N,_.I^U.I^P.I)}function Le(D,_){var U,P;U=(65535&D.I)+(65535&_.I);var H=(65535&(P=(D.I>>>16)+(_.I>>>16)+(U>>>16)))<<16|65535&U;return U=(65535&D.N)+(65535&_.N)+(P>>>16),P=(D.N>>>16)+(_.N>>>16)+(U>>>16),new I((65535&P)<<16|65535&U,H)}function Rn(D,_,U,P){var H,k;H=(65535&D.I)+(65535&_.I)+(65535&U.I)+(65535&P.I);var Q=(65535&(k=(D.I>>>16)+(_.I>>>16)+(U.I>>>16)+(P.I>>>16)+(H>>>16)))<<16|65535&H;return H=(65535&D.N)+(65535&_.N)+(65535&U.N)+(65535&P.N)+(k>>>16),k=(D.N>>>16)+(_.N>>>16)+(U.N>>>16)+(P.N>>>16)+(H>>>16),new I((65535&k)<<16|65535&H,Q)}function cr(D,_,U,P,H){var k,Q;k=(65535&D.I)+(65535&_.I)+(65535&U.I)+(65535&P.I)+(65535&H.I);var J=(65535&(Q=(D.I>>>16)+(_.I>>>16)+(U.I>>>16)+(P.I>>>16)+(H.I>>>16)+(k>>>16)))<<16|65535&k;return k=(65535&D.N)+(65535&_.N)+(65535&U.N)+(65535&P.N)+(65535&H.N)+(Q>>>16),Q=(D.N>>>16)+(_.N>>>16)+(U.N>>>16)+(P.N>>>16)+(H.N>>>16)+(k>>>16),new I((65535&Q)<<16|65535&k,J)}function ii(D,_){return new I(D.N^_.N,D.I^_.I)}function oe(D){var _=Ze(D,1),U=Ze(D,8),P=Et(D,7);return new I(_.N^U.N^P.N,_.I^U.I^P.I)}function ce(D){var _=Ze(D,14),U=Ze(D,18),P=Ze(D,41);return new I(_.N^U.N^P.N,_.I^U.I^P.I)}var ie=[new I(i[0],3609767458),new I(i[1],602891725),new I(i[2],3964484399),new I(i[3],2173295548),new I(i[4],4081628472),new I(i[5],3053834265),new I(i[6],2937671579),new I(i[7],3664609560),new I(i[8],2734883394),new I(i[9],1164996542),new I(i[10],1323610764),new I(i[11],3590304994),new I(i[12],4068182383),new I(i[13],991336113),new I(i[14],633803317),new I(i[15],3479774868),new I(i[16],2666613458),new I(i[17],944711139),new I(i[18],2341262773),new I(i[19],2007800933),new I(i[20],1495990901),new I(i[21],1856431235),new I(i[22],3175218132),new I(i[23],2198950837),new I(i[24],3999719339),new I(i[25],766784016),new I(i[26],2566594879),new I(i[27],3203337956),new I(i[28],1034457026),new I(i[29],2466948901),new I(i[30],3758326383),new I(i[31],168717936),new I(i[32],1188179964),new I(i[33],1546045734),new I(i[34],1522805485),new I(i[35],2643833823),new I(i[36],2343527390),new I(i[37],1014477480),new I(i[38],1206759142),new I(i[39],344077627),new I(i[40],1290863460),new I(i[41],3158454273),new I(i[42],3505952657),new I(i[43],106217008),new I(i[44],3606008344),new I(i[45],1432725776),new I(i[46],1467031594),new I(i[47],851169720),new I(i[48],3100823752),new I(i[49],1363258195),new I(i[50],3750685593),new I(i[51],3785050280),new I(i[52],3318307427),new I(i[53],3812723403),new I(i[54],2003034995),new I(i[55],3602036899),new I(i[56],1575990012),new I(i[57],1125592928),new I(i[58],2716904306),new I(i[59],442776044),new I(i[60],593698344),new I(i[61],3733110249),new I(i[62],2999351573),new I(i[63],3815920427),new I(3391569614,3928383900),new I(3515267271,566280711),new I(3940187606,3454069534),new I(4118630271,4000239992),new I(116418474,1914138554),new I(174292421,2731055270),new I(289380356,3203993006),new I(460393269,320620315),new I(685471733,587496836),new I(852142971,1086792851),new I(1017036298,365543100),new I(1126000580,2618297676),new I(1288033470,3409855158),new I(1501505948,4234509866),new I(1607167915,987167468),new I(1816402316,1246189591)];function ue(D){return D===\"SHA-384\"?[new I(3418070365,a[0]),new I(1654270250,a[1]),new I(2438529370,a[2]),new I(355462360,a[3]),new I(1731405415,a[4]),new I(41048885895,a[5]),new I(3675008525,a[6]),new I(1203062813,a[7])]:[new I(o[0],4089235720),new I(o[1],2227873595),new I(o[2],4271175723),new I(o[3],1595750129),new I(o[4],2917565137),new I(o[5],725511199),new I(o[6],4215389547),new I(o[7],327033209)]}function ye(D,_){var U,P,H,k,Q,J,ee,me,Oe,Ce,be,Te,we,gt,St,Yt,mn=[];for(U=_[0],P=_[1],H=_[2],k=_[3],Q=_[4],J=_[5],ee=_[6],me=_[7],be=0;be<80;be+=1)be<16?(Te=2*be,mn[be]=new I(D[Te],D[Te+1])):mn[be]=Rn((we=mn[be-2],gt=void 0,St=void 0,Yt=void 0,gt=Ze(we,19),St=Ze(we,61),Yt=Et(we,6),new I(gt.N^St.N^Yt.N,gt.I^St.I^Yt.I)),mn[be-7],oe(mn[be-15]),mn[be-16]),Oe=cr(me,ce(Q),Qt(Q,J,ee),ie[be],mn[be]),Ce=Le(tn(U),jt(U,P,H)),me=ee,ee=J,J=Q,Q=Le(k,Oe),k=H,H=P,P=U,U=Le(Oe,Ce);return _[0]=Le(U,_[0]),_[1]=Le(P,_[1]),_[2]=Le(H,_[2]),_[3]=Le(k,_[3]),_[4]=Le(Q,_[4]),_[5]=Le(J,_[5]),_[6]=Le(ee,_[6]),_[7]=Le(me,_[7]),_}var Re=(function(D){function _(U,P,H){var k=this;if(U!==\"SHA-384\"&&U!==\"SHA-512\")throw new Error(s);var Q=H||{};return(k=D.call(this,U,P,H)||this).F=k.Y,k.g=!0,k.C=-1,k.p=n(k.t,k.i,k.C),k.R=ye,k.B=function(J){return J.slice()},k.L=ue,k.K=function(J,ee,me,Oe){return(function(Ce,be,Te,we,gt){for(var St,Yt=31+(be+129>>>10<<5),mn=be+Te;Ce.length<=Yt;)Ce.push(0);for(Ce[be>>>5]|=128<<24-be%32,Ce[Yt]=4294967295&mn,Ce[Yt-1]=mn/4294967296|0,St=0;St<Ce.length;St+=32)we=ye(Ce.slice(St,St+32),we);return gt===\"SHA-384\"?[(we=we)[0].N,we[0].I,we[1].N,we[1].I,we[2].N,we[2].I,we[3].N,we[3].I,we[4].N,we[4].I,we[5].N,we[5].I]:[we[0].N,we[0].I,we[1].N,we[1].I,we[2].N,we[2].I,we[3].N,we[3].I,we[4].N,we[4].I,we[5].N,we[5].I,we[6].N,we[6].I,we[7].N,we[7].I]})(J,ee,me,Oe,U)},k.m=ue(U),k.S=1024,k.U=U===\"SHA-384\"?384:512,k.T=!1,Q.hmacKey&&k.k(u(\"hmacKey\",Q.hmacKey,k.C)),k}return g(_,D),_})(d),et=[new I(0,1),new I(0,32898),new I(2147483648,32906),new I(2147483648,2147516416),new I(0,32907),new I(0,2147483649),new I(2147483648,2147516545),new I(2147483648,32777),new I(0,138),new I(0,136),new I(0,2147516425),new I(0,2147483658),new I(0,2147516555),new I(2147483648,139),new I(2147483648,32905),new I(2147483648,32771),new I(2147483648,32770),new I(2147483648,128),new I(0,32778),new I(2147483648,2147483658),new I(2147483648,2147516545),new I(2147483648,32896),new I(0,2147483649),new I(2147483648,2147516424)],Ge=[[0,36,3,41,18],[1,44,10,45,2],[62,6,43,15,61],[28,55,25,21,56],[27,20,39,8,14]];function Ut(D){var _,U=[];for(_=0;_<5;_+=1)U[_]=[new I(0,0),new I(0,0),new I(0,0),new I(0,0),new I(0,0)];return U}function fn(D){var _,U=[];for(_=0;_<5;_+=1)U[_]=D[_].slice();return U}function Ve(D,_){var U,P,H,k,Q,J,ee,me,Oe,Ce=[],be=[];if(D!==null)for(P=0;P<D.length;P+=2)_[(P>>>1)%5][(P>>>1)/5|0]=ii(_[(P>>>1)%5][(P>>>1)/5|0],new I(D[P+1],D[P]));for(U=0;U<24;U+=1){for(k=Ut(),P=0;P<5;P+=1)Ce[P]=(Q=_[P][0],J=_[P][1],ee=_[P][2],me=_[P][3],Oe=_[P][4],new I(Q.N^J.N^ee.N^me.N^Oe.N,Q.I^J.I^ee.I^me.I^Oe.I));for(P=0;P<5;P+=1)be[P]=ii(Ce[(P+4)%5],Fe(Ce[(P+1)%5],1));for(P=0;P<5;P+=1)for(H=0;H<5;H+=1)_[P][H]=ii(_[P][H],be[P]);for(P=0;P<5;P+=1)for(H=0;H<5;H+=1)k[H][(2*P+3*H)%5]=Fe(_[P][H],Ge[P][H]);for(P=0;P<5;P+=1)for(H=0;H<5;H+=1)_[P][H]=ii(k[P][H],new I(~k[(P+1)%5][H].N&k[(P+2)%5][H].N,~k[(P+1)%5][H].I&k[(P+2)%5][H].I));_[0][0]=ii(_[0][0],et[U])}return _}function Nn(D){var _,U,P=0,H=[0,0],k=[4294967295&D,D/4294967296&2097151];for(_=6;_>=0;_--)(U=k[_>>2]>>>8*_&255)===0&&P===0||(H[P+1>>2]|=U<<8*(P+1),P+=1);return P=P!==0?P:1,H[0]|=P,{value:P+1>4?H:[H[0]],binLen:8+8*P}}function Un(D){return l(Nn(D.binLen),D)}function Er(D,_){var U,P=Nn(_),H=_>>>2,k=(H-(P=l(P,D)).value.length%H)%H;for(U=0;U<k;U++)P.value.push(0);return P.value}var Dr=(function(D){function _(U,P,H){var k=this,Q=6,J=0,ee=H||{};if((k=D.call(this,U,P,H)||this).numRounds!==1){if(ee.kmacKey||ee.hmacKey)throw new Error(\"Cannot set numRounds with MAC\");if(k.o===\"CSHAKE128\"||k.o===\"CSHAKE256\")throw new Error(\"Cannot set numRounds for CSHAKE variants\")}switch(k.C=1,k.p=n(k.t,k.i,k.C),k.R=Ve,k.B=fn,k.L=Ut,k.m=Ut(),k.T=!1,U){case\"SHA3-224\":k.S=J=1152,k.U=224,k.g=!0,k.F=k.Y;break;case\"SHA3-256\":k.S=J=1088,k.U=256,k.g=!0,k.F=k.Y;break;case\"SHA3-384\":k.S=J=832,k.U=384,k.g=!0,k.F=k.Y;break;case\"SHA3-512\":k.S=J=576,k.U=512,k.g=!0,k.F=k.Y;break;case\"SHAKE128\":Q=31,k.S=J=1344,k.U=-1,k.T=!0,k.g=!1,k.F=null;break;case\"SHAKE256\":Q=31,k.S=J=1088,k.U=-1,k.T=!0,k.g=!1,k.F=null;break;case\"KMAC128\":Q=4,k.S=J=1344,k.M(H),k.U=-1,k.T=!0,k.g=!1,k.F=k.X;break;case\"KMAC256\":Q=4,k.S=J=1088,k.M(H),k.U=-1,k.T=!0,k.g=!1,k.F=k.X;break;case\"CSHAKE128\":k.S=J=1344,Q=k.O(H),k.U=-1,k.T=!0,k.g=!1,k.F=null;break;case\"CSHAKE256\":k.S=J=1088,Q=k.O(H),k.U=-1,k.T=!0,k.g=!1,k.F=null;break;default:throw new Error(s)}return k.K=function(me,Oe,Ce,be,Te){return(function(we,gt,St,Yt,mn,qi,On){var Xn,ia,Lo=0,Wa=[],Xs=mn>>>5,cy=gt>>>5;for(Xn=0;Xn<cy&>>=mn;Xn+=Xs)Yt=Ve(we.slice(Xn,Xn+Xs),Yt),gt-=mn;for(we=we.slice(Xn),gt%=mn;we.length<Xs;)we.push(0);for(we[(Xn=gt>>>3)>>2]^=qi<<Xn%4*8,we[Xs-1]^=2147483648,Yt=Ve(we,Yt);32*Wa.length<On&&(ia=Yt[Lo%5][Lo/5|0],Wa.push(ia.I),!(32*Wa.length>=On));)Wa.push(ia.N),64*(Lo+=1)%mn==0&&(Ve(null,Yt),Lo=0);return Wa})(me,Oe,0,be,J,Q,Te)},ee.hmacKey&&k.k(u(\"hmacKey\",ee.hmacKey,k.C)),k}return g(_,D),_.prototype.O=function(U,P){var H=(function(ee){var me=ee||{};return{funcName:u(\"funcName\",me.funcName,1,{value:[],binLen:0}),customization:u(\"Customization\",me.customization,1,{value:[],binLen:0})}})(U||{});P&&(H.funcName=P);var k=l(Un(H.funcName),Un(H.customization));if(H.customization.binLen!==0||H.funcName.binLen!==0){for(var Q=Er(k,this.S>>>3),J=0;J<Q.length;J+=this.S>>>5)this.m=this.R(Q.slice(J,J+(this.S>>>5)),this.m),this.v+=this.S;return 4}return 31},_.prototype.M=function(U){var P=(function(Q){var J=Q||{};return{kmacKey:u(\"kmacKey\",J.kmacKey,1),funcName:{value:[1128353099],binLen:32},customization:u(\"Customization\",J.customization,1,{value:[],binLen:0})}})(U||{});this.O(U,P.funcName);for(var H=Er(Un(P.kmacKey),this.S>>>3),k=0;k<H.length;k+=this.S>>>5)this.m=this.R(H.slice(k,k+(this.S>>>5)),this.m),this.v+=this.S;this.A=!0},_.prototype.X=function(U){var P=l({value:this.u.slice(),binLen:this.s},(function(H){var k,Q,J=0,ee=[0,0],me=[4294967295&H,H/4294967296&2097151];for(k=6;k>=0;k--)(Q=me[k>>2]>>>8*k&255)==0&&J===0||(ee[J>>2]|=Q<<8*J,J+=1);return ee[(J=J!==0?J:1)>>2]|=J<<8*J,{value:J+1>4?ee:[ee[0]],binLen:8+8*J}})(U.outputLen));return this.K(P.value,P.binLen,this.v,this.B(this.m),U.outputLen)},_})(d);return(function(){function D(_,U,P){if(_==\"SHA-1\")this.j=new pe(_,U,P);else if(_==\"SHA-224\"||_==\"SHA-256\")this.j=new Me(_,U,P);else if(_==\"SHA-384\"||_==\"SHA-512\")this.j=new Re(_,U,P);else{if(_!=\"SHA3-224\"&&_!=\"SHA3-256\"&&_!=\"SHA3-384\"&&_!=\"SHA3-512\"&&_!=\"SHAKE128\"&&_!=\"SHAKE256\"&&_!=\"CSHAKE128\"&&_!=\"CSHAKE256\"&&_!=\"KMAC128\"&&_!=\"KMAC256\")throw new Error(s);this.j=new Dr(_,U,P)}}return D.prototype.update=function(_){this.j.update(_)},D.prototype.getHash=function(_,U){return this.j.getHash(_,U)},D.prototype.setHMACKey=function(_,U,P){this.j.setHMACKey(_,U,P)},D.prototype.getHMAC=function(_,U){return this.j.getHMAC(_,U)},D})()}))});var iE=V(Nu=>{\"use strict\";b();Object.defineProperty(Nu,\"__esModule\",{value:!0});Nu.getSecureRandomWords=Nu.getSecureRandomBytes=void 0;function FF(e){return globalThis.Buffer.from(window.crypto.getRandomValues(new Uint8Array(e)))}Nu.getSecureRandomBytes=FF;function KF(e){return window.crypto.getRandomValues(new Uint16Array(e))}Nu.getSecureRandomWords=KF});var aE=V(Mp=>{\"use strict\";b();Object.defineProperty(Mp,\"__esModule\",{value:!0});Mp.hmac_sha512=void 0;async function $F(e,t){let n=typeof e==\"string\"?globalThis.Buffer.from(e,\"utf-8\"):e,r=typeof t==\"string\"?globalThis.Buffer.from(t,\"utf-8\"):t,i={name:\"HMAC\",hash:\"SHA-512\"},a=await window.crypto.subtle.importKey(\"raw\",n,i,!1,[\"sign\"]);return globalThis.Buffer.from(await crypto.subtle.sign(i,a,r))}Mp.hmac_sha512=$F});var oE=V(Rp=>{\"use strict\";b();Object.defineProperty(Rp,\"__esModule\",{value:!0});Rp.pbkdf2_sha512=void 0;async function ZF(e,t,n,r){let i=typeof e==\"string\"?globalThis.Buffer.from(e,\"utf-8\"):e,a=typeof t==\"string\"?globalThis.Buffer.from(t,\"utf-8\"):t,o=await window.crypto.subtle.importKey(\"raw\",i,{name:\"PBKDF2\"},!1,[\"deriveBits\"]),s=await window.crypto.subtle.deriveBits({name:\"PBKDF2\",hash:\"SHA-512\",salt:a,iterations:n},o,r*8);return globalThis.Buffer.from(s)}Rp.pbkdf2_sha512=ZF});var sE=V(Up=>{\"use strict\";b();Object.defineProperty(Up,\"__esModule\",{value:!0});Up.sha256=void 0;async function YF(e){return typeof e==\"string\"?globalThis.Buffer.from(await crypto.subtle.digest(\"SHA-256\",globalThis.Buffer.from(e,\"utf-8\"))):globalThis.Buffer.from(await crypto.subtle.digest(\"SHA-256\",e))}Up.sha256=YF});var lE=V(Op=>{\"use strict\";b();Object.defineProperty(Op,\"__esModule\",{value:!0});Op.sha512=void 0;async function GF(e){return typeof e==\"string\"?globalThis.Buffer.from(await crypto.subtle.digest(\"SHA-512\",globalThis.Buffer.from(e,\"utf-8\"))):globalThis.Buffer.from(await crypto.subtle.digest(\"SHA-512\",e))}Op.sha512=GF});var Pu=V(Yr=>{\"use strict\";b();Object.defineProperty(Yr,\"__esModule\",{value:!0});Yr.sha512=Yr.sha256=Yr.pbkdf2_sha512=Yr.hmac_sha512=Yr.getSecureRandomWords=Yr.getSecureRandomBytes=void 0;var cE=iE();Object.defineProperty(Yr,\"getSecureRandomBytes\",{enumerable:!0,get:function(){return cE.getSecureRandomBytes}});Object.defineProperty(Yr,\"getSecureRandomWords\",{enumerable:!0,get:function(){return cE.getSecureRandomWords}});var QF=aE();Object.defineProperty(Yr,\"hmac_sha512\",{enumerable:!0,get:function(){return QF.hmac_sha512}});var XF=oE();Object.defineProperty(Yr,\"pbkdf2_sha512\",{enumerable:!0,get:function(){return XF.pbkdf2_sha512}});var JF=sE();Object.defineProperty(Yr,\"sha256\",{enumerable:!0,get:function(){return JF.sha256}});var eK=lE();Object.defineProperty(Yr,\"sha512\",{enumerable:!0,get:function(){return eK.sha512}})});var dE=V(Ra=>{\"use strict\";b();var tK=Ra&&Ra.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ra,\"__esModule\",{value:!0});Ra.sha256=Ra.sha256_fallback=Ra.sha256_sync=void 0;var nK=tK(Bp()),rK=Pu();function uE(e){let t;typeof e==\"string\"?t=globalThis.Buffer.from(e,\"utf-8\").toString(\"hex\"):t=e.toString(\"hex\");let n=new nK.default(\"SHA-256\",\"HEX\");n.update(t);let r=n.getHash(\"HEX\");return globalThis.Buffer.from(r,\"hex\")}Ra.sha256_sync=uE;async function iK(e){return uE(e)}Ra.sha256_fallback=iK;function aK(e){return(0,rK.sha256)(e)}Ra.sha256=aK});var hE=V(Ua=>{\"use strict\";b();var oK=Ua&&Ua.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ua,\"__esModule\",{value:!0});Ua.sha512=Ua.sha512_fallback=Ua.sha512_sync=void 0;var sK=oK(Bp()),lK=Pu();function fE(e){let t;typeof e==\"string\"?t=globalThis.Buffer.from(e,\"utf-8\").toString(\"hex\"):t=e.toString(\"hex\");let n=new sK.default(\"SHA-512\",\"HEX\");n.update(t);let r=n.getHash(\"HEX\");return globalThis.Buffer.from(r,\"hex\")}Ua.sha512_sync=fE;async function cK(e){return fE(e)}Ua.sha512_fallback=cK;async function uK(e){return(0,lK.sha512)(e)}Ua.sha512=uK});var y3=V(Ip=>{\"use strict\";b();Object.defineProperty(Ip,\"__esModule\",{value:!0});Ip.pbkdf2_sha512=void 0;var dK=Pu();function fK(e,t,n,r){return(0,dK.pbkdf2_sha512)(e,t,n,r)}Ip.pbkdf2_sha512=fK});var zu=V(ks=>{\"use strict\";b();var hK=ks&&ks.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ks,\"__esModule\",{value:!0});ks.hmac_sha512=ks.hmac_sha512_fallback=void 0;var gK=hK(Bp()),pK=Pu();async function mK(e,t){let n=typeof e==\"string\"?globalThis.Buffer.from(e,\"utf-8\"):e,r=typeof t==\"string\"?globalThis.Buffer.from(t,\"utf-8\"):t,i=new gK.default(\"SHA-512\",\"HEX\",{hmacKey:{value:n.toString(\"hex\"),format:\"HEX\"}});i.update(r.toString(\"hex\"));let a=i.getHash(\"HEX\");return globalThis.Buffer.from(a,\"hex\")}ks.hmac_sha512_fallback=mK;function yK(e,t){return(0,pK.hmac_sha512)(e,t)}ks.hmac_sha512=yK});var Np=V(Bs=>{\"use strict\";b();Object.defineProperty(Bs,\"__esModule\",{value:!0});Bs.getSecureRandomNumber=Bs.getSecureRandomWords=Bs.getSecureRandomBytes=void 0;var bK=Pu();async function gE(e){return(0,bK.getSecureRandomBytes)(e)}Bs.getSecureRandomBytes=gE;async function pE(e){return pE(e)}Bs.getSecureRandomWords=pE;async function vK(e,t){let n=t-e;var r=Math.ceil(Math.log2(n));if(r>53)throw new Error(\"Range is too large\");for(var i=Math.ceil(r/8),a=Math.pow(2,r)-1;;){let s=await gE(r),l=(i-1)*8,c=0;for(var o=0;o<i;o++)c+=s[o]*Math.pow(2,l),l-=8;if(c=c&a,!(c>=n))return e+c}}Bs.getSecureRandomNumber=vK});var mE=V(Pp=>{\"use strict\";b();Object.defineProperty(Pp,\"__esModule\",{value:!0});Pp.wordlist=void 0;Pp.wordlist=[\"abacus\",\"abdomen\",\"abdominal\",\"abide\",\"abiding\",\"ability\",\"ablaze\",\"able\",\"abnormal\",\"abrasion\",\"abrasive\",\"abreast\",\"abridge\",\"abroad\",\"abruptly\",\"absence\",\"absentee\",\"absently\",\"absinthe\",\"absolute\",\"absolve\",\"abstain\",\"abstract\",\"absurd\",\"accent\",\"acclaim\",\"acclimate\",\"accompany\",\"account\",\"accuracy\",\"accurate\",\"accustom\",\"acetone\",\"achiness\",\"aching\",\"acid\",\"acorn\",\"acquaint\",\"acquire\",\"acre\",\"acrobat\",\"acronym\",\"acting\",\"action\",\"activate\",\"activator\",\"active\",\"activism\",\"activist\",\"activity\",\"actress\",\"acts\",\"acutely\",\"acuteness\",\"aeration\",\"aerobics\",\"aerosol\",\"aerospace\",\"afar\",\"affair\",\"affected\",\"affecting\",\"affection\",\"affidavit\",\"affiliate\",\"affirm\",\"affix\",\"afflicted\",\"affluent\",\"afford\",\"affront\",\"aflame\",\"afloat\",\"aflutter\",\"afoot\",\"afraid\",\"afterglow\",\"afterlife\",\"aftermath\",\"aftermost\",\"afternoon\",\"aged\",\"ageless\",\"agency\",\"agenda\",\"agent\",\"aggregate\",\"aghast\",\"agile\",\"agility\",\"aging\",\"agnostic\",\"agonize\",\"agonizing\",\"agony\",\"agreeable\",\"agreeably\",\"agreed\",\"agreeing\",\"agreement\",\"aground\",\"ahead\",\"ahoy\",\"aide\",\"aids\",\"aim\",\"ajar\",\"alabaster\",\"alarm\",\"albatross\",\"album\",\"alfalfa\",\"algebra\",\"algorithm\",\"alias\",\"alibi\",\"alienable\",\"alienate\",\"aliens\",\"alike\",\"alive\",\"alkaline\",\"alkalize\",\"almanac\",\"almighty\",\"almost\",\"aloe\",\"aloft\",\"aloha\",\"alone\",\"alongside\",\"aloof\",\"alphabet\",\"alright\",\"although\",\"altitude\",\"alto\",\"aluminum\",\"alumni\",\"always\",\"amaretto\",\"amaze\",\"amazingly\",\"amber\",\"ambiance\",\"ambiguity\",\"ambiguous\",\"ambition\",\"ambitious\",\"ambulance\",\"ambush\",\"amendable\",\"amendment\",\"amends\",\"amenity\",\"amiable\",\"amicably\",\"amid\",\"amigo\",\"amino\",\"amiss\",\"ammonia\",\"ammonium\",\"amnesty\",\"amniotic\",\"among\",\"amount\",\"amperage\",\"ample\",\"amplifier\",\"amplify\",\"amply\",\"amuck\",\"amulet\",\"amusable\",\"amused\",\"amusement\",\"amuser\",\"amusing\",\"anaconda\",\"anaerobic\",\"anagram\",\"anatomist\",\"anatomy\",\"anchor\",\"anchovy\",\"ancient\",\"android\",\"anemia\",\"anemic\",\"aneurism\",\"anew\",\"angelfish\",\"angelic\",\"anger\",\"angled\",\"angler\",\"angles\",\"angling\",\"angrily\",\"angriness\",\"anguished\",\"angular\",\"animal\",\"animate\",\"animating\",\"animation\",\"animator\",\"anime\",\"animosity\",\"ankle\",\"annex\",\"annotate\",\"announcer\",\"annoying\",\"annually\",\"annuity\",\"anointer\",\"another\",\"answering\",\"antacid\",\"antarctic\",\"anteater\",\"antelope\",\"antennae\",\"anthem\",\"anthill\",\"anthology\",\"antibody\",\"antics\",\"antidote\",\"antihero\",\"antiquely\",\"antiques\",\"antiquity\",\"antirust\",\"antitoxic\",\"antitrust\",\"antiviral\",\"antivirus\",\"antler\",\"antonym\",\"antsy\",\"anvil\",\"anybody\",\"anyhow\",\"anymore\",\"anyone\",\"anyplace\",\"anything\",\"anytime\",\"anyway\",\"anywhere\",\"aorta\",\"apache\",\"apostle\",\"appealing\",\"appear\",\"appease\",\"appeasing\",\"appendage\",\"appendix\",\"appetite\",\"appetizer\",\"applaud\",\"applause\",\"apple\",\"appliance\",\"applicant\",\"applied\",\"apply\",\"appointee\",\"appraisal\",\"appraiser\",\"apprehend\",\"approach\",\"approval\",\"approve\",\"apricot\",\"april\",\"apron\",\"aptitude\",\"aptly\",\"aqua\",\"aqueduct\",\"arbitrary\",\"arbitrate\",\"ardently\",\"area\",\"arena\",\"arguable\",\"arguably\",\"argue\",\"arise\",\"armadillo\",\"armband\",\"armchair\",\"armed\",\"armful\",\"armhole\",\"arming\",\"armless\",\"armoire\",\"armored\",\"armory\",\"armrest\",\"army\",\"aroma\",\"arose\",\"around\",\"arousal\",\"arrange\",\"array\",\"arrest\",\"arrival\",\"arrive\",\"arrogance\",\"arrogant\",\"arson\",\"art\",\"ascend\",\"ascension\",\"ascent\",\"ascertain\",\"ashamed\",\"ashen\",\"ashes\",\"ashy\",\"aside\",\"askew\",\"asleep\",\"asparagus\",\"aspect\",\"aspirate\",\"aspire\",\"aspirin\",\"astonish\",\"astound\",\"astride\",\"astrology\",\"astronaut\",\"astronomy\",\"astute\",\"atlantic\",\"atlas\",\"atom\",\"atonable\",\"atop\",\"atrium\",\"atrocious\",\"atrophy\",\"attach\",\"attain\",\"attempt\",\"attendant\",\"attendee\",\"attention\",\"attentive\",\"attest\",\"attic\",\"attire\",\"attitude\",\"attractor\",\"attribute\",\"atypical\",\"auction\",\"audacious\",\"audacity\",\"audible\",\"audibly\",\"audience\",\"audio\",\"audition\",\"augmented\",\"august\",\"authentic\",\"author\",\"autism\",\"autistic\",\"autograph\",\"automaker\",\"automated\",\"automatic\",\"autopilot\",\"available\",\"avalanche\",\"avatar\",\"avenge\",\"avenging\",\"avenue\",\"average\",\"aversion\",\"avert\",\"aviation\",\"aviator\",\"avid\",\"avoid\",\"await\",\"awaken\",\"award\",\"aware\",\"awhile\",\"awkward\",\"awning\",\"awoke\",\"awry\",\"axis\",\"babble\",\"babbling\",\"babied\",\"baboon\",\"backache\",\"backboard\",\"backboned\",\"backdrop\",\"backed\",\"backer\",\"backfield\",\"backfire\",\"backhand\",\"backing\",\"backlands\",\"backlash\",\"backless\",\"backlight\",\"backlit\",\"backlog\",\"backpack\",\"backpedal\",\"backrest\",\"backroom\",\"backshift\",\"backside\",\"backslid\",\"backspace\",\"backspin\",\"backstab\",\"backstage\",\"backtalk\",\"backtrack\",\"backup\",\"backward\",\"backwash\",\"backwater\",\"backyard\",\"bacon\",\"bacteria\",\"bacterium\",\"badass\",\"badge\",\"badland\",\"badly\",\"badness\",\"baffle\",\"baffling\",\"bagel\",\"bagful\",\"baggage\",\"bagged\",\"baggie\",\"bagginess\",\"bagging\",\"baggy\",\"bagpipe\",\"baguette\",\"baked\",\"bakery\",\"bakeshop\",\"baking\",\"balance\",\"balancing\",\"balcony\",\"balmy\",\"balsamic\",\"bamboo\",\"banana\",\"banish\",\"banister\",\"banjo\",\"bankable\",\"bankbook\",\"banked\",\"banker\",\"banking\",\"banknote\",\"bankroll\",\"banner\",\"bannister\",\"banshee\",\"banter\",\"barbecue\",\"barbed\",\"barbell\",\"barber\",\"barcode\",\"barge\",\"bargraph\",\"barista\",\"baritone\",\"barley\",\"barmaid\",\"barman\",\"barn\",\"barometer\",\"barrack\",\"barracuda\",\"barrel\",\"barrette\",\"barricade\",\"barrier\",\"barstool\",\"bartender\",\"barterer\",\"bash\",\"basically\",\"basics\",\"basil\",\"basin\",\"basis\",\"basket\",\"batboy\",\"batch\",\"bath\",\"baton\",\"bats\",\"battalion\",\"battered\",\"battering\",\"battery\",\"batting\",\"battle\",\"bauble\",\"bazooka\",\"blabber\",\"bladder\",\"blade\",\"blah\",\"blame\",\"blaming\",\"blanching\",\"blandness\",\"blank\",\"blaspheme\",\"blasphemy\",\"blast\",\"blatancy\",\"blatantly\",\"blazer\",\"blazing\",\"bleach\",\"bleak\",\"bleep\",\"blemish\",\"blend\",\"bless\",\"blighted\",\"blimp\",\"bling\",\"blinked\",\"blinker\",\"blinking\",\"blinks\",\"blip\",\"blissful\",\"blitz\",\"blizzard\",\"bloated\",\"bloating\",\"blob\",\"blog\",\"bloomers\",\"blooming\",\"blooper\",\"blot\",\"blouse\",\"blubber\",\"bluff\",\"bluish\",\"blunderer\",\"blunt\",\"blurb\",\"blurred\",\"blurry\",\"blurt\",\"blush\",\"blustery\",\"boaster\",\"boastful\",\"boasting\",\"boat\",\"bobbed\",\"bobbing\",\"bobble\",\"bobcat\",\"bobsled\",\"bobtail\",\"bodacious\",\"body\",\"bogged\",\"boggle\",\"bogus\",\"boil\",\"bok\",\"bolster\",\"bolt\",\"bonanza\",\"bonded\",\"bonding\",\"bondless\",\"boned\",\"bonehead\",\"boneless\",\"bonelike\",\"boney\",\"bonfire\",\"bonnet\",\"bonsai\",\"bonus\",\"bony\",\"boogeyman\",\"boogieman\",\"book\",\"boondocks\",\"booted\",\"booth\",\"bootie\",\"booting\",\"bootlace\",\"bootleg\",\"boots\",\"boozy\",\"borax\",\"boring\",\"borough\",\"borrower\",\"borrowing\",\"boss\",\"botanical\",\"botanist\",\"botany\",\"botch\",\"both\",\"bottle\",\"bottling\",\"bottom\",\"bounce\",\"bouncing\",\"bouncy\",\"bounding\",\"boundless\",\"bountiful\",\"bovine\",\"boxcar\",\"boxer\",\"boxing\",\"boxlike\",\"boxy\",\"breach\",\"breath\",\"breeches\",\"breeching\",\"breeder\",\"breeding\",\"breeze\",\"breezy\",\"brethren\",\"brewery\",\"brewing\",\"briar\",\"bribe\",\"brick\",\"bride\",\"bridged\",\"brigade\",\"bright\",\"brilliant\",\"brim\",\"bring\",\"brink\",\"brisket\",\"briskly\",\"briskness\",\"bristle\",\"brittle\",\"broadband\",\"broadcast\",\"broaden\",\"broadly\",\"broadness\",\"broadside\",\"broadways\",\"broiler\",\"broiling\",\"broken\",\"broker\",\"bronchial\",\"bronco\",\"bronze\",\"bronzing\",\"brook\",\"broom\",\"brought\",\"browbeat\",\"brownnose\",\"browse\",\"browsing\",\"bruising\",\"brunch\",\"brunette\",\"brunt\",\"brush\",\"brussels\",\"brute\",\"brutishly\",\"bubble\",\"bubbling\",\"bubbly\",\"buccaneer\",\"bucked\",\"bucket\",\"buckle\",\"buckshot\",\"buckskin\",\"bucktooth\",\"buckwheat\",\"buddhism\",\"buddhist\",\"budding\",\"buddy\",\"budget\",\"buffalo\",\"buffed\",\"buffer\",\"buffing\",\"buffoon\",\"buggy\",\"bulb\",\"bulge\",\"bulginess\",\"bulgur\",\"bulk\",\"bulldog\",\"bulldozer\",\"bullfight\",\"bullfrog\",\"bullhorn\",\"bullion\",\"bullish\",\"bullpen\",\"bullring\",\"bullseye\",\"bullwhip\",\"bully\",\"bunch\",\"bundle\",\"bungee\",\"bunion\",\"bunkbed\",\"bunkhouse\",\"bunkmate\",\"bunny\",\"bunt\",\"busboy\",\"bush\",\"busily\",\"busload\",\"bust\",\"busybody\",\"buzz\",\"cabana\",\"cabbage\",\"cabbie\",\"cabdriver\",\"cable\",\"caboose\",\"cache\",\"cackle\",\"cacti\",\"cactus\",\"caddie\",\"caddy\",\"cadet\",\"cadillac\",\"cadmium\",\"cage\",\"cahoots\",\"cake\",\"calamari\",\"calamity\",\"calcium\",\"calculate\",\"calculus\",\"caliber\",\"calibrate\",\"calm\",\"caloric\",\"calorie\",\"calzone\",\"camcorder\",\"cameo\",\"camera\",\"camisole\",\"camper\",\"campfire\",\"camping\",\"campsite\",\"campus\",\"canal\",\"canary\",\"cancel\",\"candied\",\"candle\",\"candy\",\"cane\",\"canine\",\"canister\",\"cannabis\",\"canned\",\"canning\",\"cannon\",\"cannot\",\"canola\",\"canon\",\"canopener\",\"canopy\",\"canteen\",\"canyon\",\"capable\",\"capably\",\"capacity\",\"cape\",\"capillary\",\"capital\",\"capitol\",\"capped\",\"capricorn\",\"capsize\",\"capsule\",\"caption\",\"captivate\",\"captive\",\"captivity\",\"capture\",\"caramel\",\"carat\",\"caravan\",\"carbon\",\"cardboard\",\"carded\",\"cardiac\",\"cardigan\",\"cardinal\",\"cardstock\",\"carefully\",\"caregiver\",\"careless\",\"caress\",\"caretaker\",\"cargo\",\"caring\",\"carless\",\"carload\",\"carmaker\",\"carnage\",\"carnation\",\"carnival\",\"carnivore\",\"carol\",\"carpenter\",\"carpentry\",\"carpool\",\"carport\",\"carried\",\"carrot\",\"carrousel\",\"carry\",\"cartel\",\"cartload\",\"carton\",\"cartoon\",\"cartridge\",\"cartwheel\",\"carve\",\"carving\",\"carwash\",\"cascade\",\"case\",\"cash\",\"casing\",\"casino\",\"casket\",\"cassette\",\"casually\",\"casualty\",\"catacomb\",\"catalog\",\"catalyst\",\"catalyze\",\"catapult\",\"cataract\",\"catatonic\",\"catcall\",\"catchable\",\"catcher\",\"catching\",\"catchy\",\"caterer\",\"catering\",\"catfight\",\"catfish\",\"cathedral\",\"cathouse\",\"catlike\",\"catnap\",\"catnip\",\"catsup\",\"cattail\",\"cattishly\",\"cattle\",\"catty\",\"catwalk\",\"caucasian\",\"caucus\",\"causal\",\"causation\",\"cause\",\"causing\",\"cauterize\",\"caution\",\"cautious\",\"cavalier\",\"cavalry\",\"caviar\",\"cavity\",\"cedar\",\"celery\",\"celestial\",\"celibacy\",\"celibate\",\"celtic\",\"cement\",\"census\",\"ceramics\",\"ceremony\",\"certainly\",\"certainty\",\"certified\",\"certify\",\"cesarean\",\"cesspool\",\"chafe\",\"chaffing\",\"chain\",\"chair\",\"chalice\",\"challenge\",\"chamber\",\"chamomile\",\"champion\",\"chance\",\"change\",\"channel\",\"chant\",\"chaos\",\"chaperone\",\"chaplain\",\"chapped\",\"chaps\",\"chapter\",\"character\",\"charbroil\",\"charcoal\",\"charger\",\"charging\",\"chariot\",\"charity\",\"charm\",\"charred\",\"charter\",\"charting\",\"chase\",\"chasing\",\"chaste\",\"chastise\",\"chastity\",\"chatroom\",\"chatter\",\"chatting\",\"chatty\",\"cheating\",\"cheddar\",\"cheek\",\"cheer\",\"cheese\",\"cheesy\",\"chef\",\"chemicals\",\"chemist\",\"chemo\",\"cherisher\",\"cherub\",\"chess\",\"chest\",\"chevron\",\"chevy\",\"chewable\",\"chewer\",\"chewing\",\"chewy\",\"chief\",\"chihuahua\",\"childcare\",\"childhood\",\"childish\",\"childless\",\"childlike\",\"chili\",\"chill\",\"chimp\",\"chip\",\"chirping\",\"chirpy\",\"chitchat\",\"chivalry\",\"chive\",\"chloride\",\"chlorine\",\"choice\",\"chokehold\",\"choking\",\"chomp\",\"chooser\",\"choosing\",\"choosy\",\"chop\",\"chosen\",\"chowder\",\"chowtime\",\"chrome\",\"chubby\",\"chuck\",\"chug\",\"chummy\",\"chump\",\"chunk\",\"churn\",\"chute\",\"cider\",\"cilantro\",\"cinch\",\"cinema\",\"cinnamon\",\"circle\",\"circling\",\"circular\",\"circulate\",\"circus\",\"citable\",\"citadel\",\"citation\",\"citizen\",\"citric\",\"citrus\",\"city\",\"civic\",\"civil\",\"clad\",\"claim\",\"clambake\",\"clammy\",\"clamor\",\"clamp\",\"clamshell\",\"clang\",\"clanking\",\"clapped\",\"clapper\",\"clapping\",\"clarify\",\"clarinet\",\"clarity\",\"clash\",\"clasp\",\"class\",\"clatter\",\"clause\",\"clavicle\",\"claw\",\"clay\",\"clean\",\"clear\",\"cleat\",\"cleaver\",\"cleft\",\"clench\",\"clergyman\",\"clerical\",\"clerk\",\"clever\",\"clicker\",\"client\",\"climate\",\"climatic\",\"cling\",\"clinic\",\"clinking\",\"clip\",\"clique\",\"cloak\",\"clobber\",\"clock\",\"clone\",\"cloning\",\"closable\",\"closure\",\"clothes\",\"clothing\",\"cloud\",\"clover\",\"clubbed\",\"clubbing\",\"clubhouse\",\"clump\",\"clumsily\",\"clumsy\",\"clunky\",\"clustered\",\"clutch\",\"clutter\",\"coach\",\"coagulant\",\"coastal\",\"coaster\",\"coasting\",\"coastland\",\"coastline\",\"coat\",\"coauthor\",\"cobalt\",\"cobbler\",\"cobweb\",\"cocoa\",\"coconut\",\"cod\",\"coeditor\",\"coerce\",\"coexist\",\"coffee\",\"cofounder\",\"cognition\",\"cognitive\",\"cogwheel\",\"coherence\",\"coherent\",\"cohesive\",\"coil\",\"coke\",\"cola\",\"cold\",\"coleslaw\",\"coliseum\",\"collage\",\"collapse\",\"collar\",\"collected\",\"collector\",\"collide\",\"collie\",\"collision\",\"colonial\",\"colonist\",\"colonize\",\"colony\",\"colossal\",\"colt\",\"coma\",\"come\",\"comfort\",\"comfy\",\"comic\",\"coming\",\"comma\",\"commence\",\"commend\",\"comment\",\"commerce\",\"commode\",\"commodity\",\"commodore\",\"common\",\"commotion\",\"commute\",\"commuting\",\"compacted\",\"compacter\",\"compactly\",\"compactor\",\"companion\",\"company\",\"compare\",\"compel\",\"compile\",\"comply\",\"component\",\"composed\",\"composer\",\"composite\",\"compost\",\"composure\",\"compound\",\"compress\",\"comprised\",\"computer\",\"computing\",\"comrade\",\"concave\",\"conceal\",\"conceded\",\"concept\",\"concerned\",\"concert\",\"conch\",\"concierge\",\"concise\",\"conclude\",\"concrete\",\"concur\",\"condense\",\"condiment\",\"condition\",\"condone\",\"conducive\",\"conductor\",\"conduit\",\"cone\",\"confess\",\"confetti\",\"confidant\",\"confident\",\"confider\",\"confiding\",\"configure\",\"confined\",\"confining\",\"confirm\",\"conflict\",\"conform\",\"confound\",\"confront\",\"confused\",\"confusing\",\"confusion\",\"congenial\",\"congested\",\"congrats\",\"congress\",\"conical\",\"conjoined\",\"conjure\",\"conjuror\",\"connected\",\"connector\",\"consensus\",\"consent\",\"console\",\"consoling\",\"consonant\",\"constable\",\"constant\",\"constrain\",\"constrict\",\"construct\",\"consult\",\"consumer\",\"consuming\",\"contact\",\"container\",\"contempt\",\"contend\",\"contented\",\"contently\",\"contents\",\"contest\",\"context\",\"contort\",\"contour\",\"contrite\",\"control\",\"contusion\",\"convene\",\"convent\",\"copartner\",\"cope\",\"copied\",\"copier\",\"copilot\",\"coping\",\"copious\",\"copper\",\"copy\",\"coral\",\"cork\",\"cornball\",\"cornbread\",\"corncob\",\"cornea\",\"corned\",\"corner\",\"cornfield\",\"cornflake\",\"cornhusk\",\"cornmeal\",\"cornstalk\",\"corny\",\"coronary\",\"coroner\",\"corporal\",\"corporate\",\"corral\",\"correct\",\"corridor\",\"corrode\",\"corroding\",\"corrosive\",\"corsage\",\"corset\",\"cortex\",\"cosigner\",\"cosmetics\",\"cosmic\",\"cosmos\",\"cosponsor\",\"cost\",\"cottage\",\"cotton\",\"couch\",\"cough\",\"could\",\"countable\",\"countdown\",\"counting\",\"countless\",\"country\",\"county\",\"courier\",\"covenant\",\"cover\",\"coveted\",\"coveting\",\"coyness\",\"cozily\",\"coziness\",\"cozy\",\"crabbing\",\"crabgrass\",\"crablike\",\"crabmeat\",\"cradle\",\"cradling\",\"crafter\",\"craftily\",\"craftsman\",\"craftwork\",\"crafty\",\"cramp\",\"cranberry\",\"crane\",\"cranial\",\"cranium\",\"crank\",\"crate\",\"crave\",\"craving\",\"crawfish\",\"crawlers\",\"crawling\",\"crayfish\",\"crayon\",\"crazed\",\"crazily\",\"craziness\",\"crazy\",\"creamed\",\"creamer\",\"creamlike\",\"crease\",\"creasing\",\"creatable\",\"create\",\"creation\",\"creative\",\"creature\",\"credible\",\"credibly\",\"credit\",\"creed\",\"creme\",\"creole\",\"crepe\",\"crept\",\"crescent\",\"crested\",\"cresting\",\"crestless\",\"crevice\",\"crewless\",\"crewman\",\"crewmate\",\"crib\",\"cricket\",\"cried\",\"crier\",\"crimp\",\"crimson\",\"cringe\",\"cringing\",\"crinkle\",\"crinkly\",\"crisped\",\"crisping\",\"crisply\",\"crispness\",\"crispy\",\"criteria\",\"critter\",\"croak\",\"crock\",\"crook\",\"croon\",\"crop\",\"cross\",\"crouch\",\"crouton\",\"crowbar\",\"crowd\",\"crown\",\"crucial\",\"crudely\",\"crudeness\",\"cruelly\",\"cruelness\",\"cruelty\",\"crumb\",\"crummiest\",\"crummy\",\"crumpet\",\"crumpled\",\"cruncher\",\"crunching\",\"crunchy\",\"crusader\",\"crushable\",\"crushed\",\"crusher\",\"crushing\",\"crust\",\"crux\",\"crying\",\"cryptic\",\"crystal\",\"cubbyhole\",\"cube\",\"cubical\",\"cubicle\",\"cucumber\",\"cuddle\",\"cuddly\",\"cufflink\",\"culinary\",\"culminate\",\"culpable\",\"culprit\",\"cultivate\",\"cultural\",\"culture\",\"cupbearer\",\"cupcake\",\"cupid\",\"cupped\",\"cupping\",\"curable\",\"curator\",\"curdle\",\"cure\",\"curfew\",\"curing\",\"curled\",\"curler\",\"curliness\",\"curling\",\"curly\",\"curry\",\"curse\",\"cursive\",\"cursor\",\"curtain\",\"curtly\",\"curtsy\",\"curvature\",\"curve\",\"curvy\",\"cushy\",\"cusp\",\"cussed\",\"custard\",\"custodian\",\"custody\",\"customary\",\"customer\",\"customize\",\"customs\",\"cut\",\"cycle\",\"cyclic\",\"cycling\",\"cyclist\",\"cylinder\",\"cymbal\",\"cytoplasm\",\"cytoplast\",\"dab\",\"dad\",\"daffodil\",\"dagger\",\"daily\",\"daintily\",\"dainty\",\"dairy\",\"daisy\",\"dallying\",\"dance\",\"dancing\",\"dandelion\",\"dander\",\"dandruff\",\"dandy\",\"danger\",\"dangle\",\"dangling\",\"daredevil\",\"dares\",\"daringly\",\"darkened\",\"darkening\",\"darkish\",\"darkness\",\"darkroom\",\"darling\",\"darn\",\"dart\",\"darwinism\",\"dash\",\"dastardly\",\"data\",\"datebook\",\"dating\",\"daughter\",\"daunting\",\"dawdler\",\"dawn\",\"daybed\",\"daybreak\",\"daycare\",\"daydream\",\"daylight\",\"daylong\",\"dayroom\",\"daytime\",\"dazzler\",\"dazzling\",\"deacon\",\"deafening\",\"deafness\",\"dealer\",\"dealing\",\"dealmaker\",\"dealt\",\"dean\",\"debatable\",\"debate\",\"debating\",\"debit\",\"debrief\",\"debtless\",\"debtor\",\"debug\",\"debunk\",\"decade\",\"decaf\",\"decal\",\"decathlon\",\"decay\",\"deceased\",\"deceit\",\"deceiver\",\"deceiving\",\"december\",\"decency\",\"decent\",\"deception\",\"deceptive\",\"decibel\",\"decidable\",\"decimal\",\"decimeter\",\"decipher\",\"deck\",\"declared\",\"decline\",\"decode\",\"decompose\",\"decorated\",\"decorator\",\"decoy\",\"decrease\",\"decree\",\"dedicate\",\"dedicator\",\"deduce\",\"deduct\",\"deed\",\"deem\",\"deepen\",\"deeply\",\"deepness\",\"deface\",\"defacing\",\"defame\",\"default\",\"defeat\",\"defection\",\"defective\",\"defendant\",\"defender\",\"defense\",\"defensive\",\"deferral\",\"deferred\",\"defiance\",\"defiant\",\"defile\",\"defiling\",\"define\",\"definite\",\"deflate\",\"deflation\",\"deflator\",\"deflected\",\"deflector\",\"defog\",\"deforest\",\"defraud\",\"defrost\",\"deftly\",\"defuse\",\"defy\",\"degraded\",\"degrading\",\"degrease\",\"degree\",\"dehydrate\",\"deity\",\"dejected\",\"delay\",\"delegate\",\"delegator\",\"delete\",\"deletion\",\"delicacy\",\"delicate\",\"delicious\",\"delighted\",\"delirious\",\"delirium\",\"deliverer\",\"delivery\",\"delouse\",\"delta\",\"deluge\",\"delusion\",\"deluxe\",\"demanding\",\"demeaning\",\"demeanor\",\"demise\",\"democracy\",\"democrat\",\"demote\",\"demotion\",\"demystify\",\"denatured\",\"deniable\",\"denial\",\"denim\",\"denote\",\"dense\",\"density\",\"dental\",\"dentist\",\"denture\",\"deny\",\"deodorant\",\"deodorize\",\"departed\",\"departure\",\"depict\",\"deplete\",\"depletion\",\"deplored\",\"deploy\",\"deport\",\"depose\",\"depraved\",\"depravity\",\"deprecate\",\"depress\",\"deprive\",\"depth\",\"deputize\",\"deputy\",\"derail\",\"deranged\",\"derby\",\"derived\",\"desecrate\",\"deserve\",\"deserving\",\"designate\",\"designed\",\"designer\",\"designing\",\"deskbound\",\"desktop\",\"deskwork\",\"desolate\",\"despair\",\"despise\",\"despite\",\"destiny\",\"destitute\",\"destruct\",\"detached\",\"detail\",\"detection\",\"detective\",\"detector\",\"detention\",\"detergent\",\"detest\",\"detonate\",\"detonator\",\"detoxify\",\"detract\",\"deuce\",\"devalue\",\"deviancy\",\"deviant\",\"deviate\",\"deviation\",\"deviator\",\"device\",\"devious\",\"devotedly\",\"devotee\",\"devotion\",\"devourer\",\"devouring\",\"devoutly\",\"dexterity\",\"dexterous\",\"diabetes\",\"diabetic\",\"diabolic\",\"diagnoses\",\"diagnosis\",\"diagram\",\"dial\",\"diameter\",\"diaper\",\"diaphragm\",\"diary\",\"dice\",\"dicing\",\"dictate\",\"dictation\",\"dictator\",\"difficult\",\"diffused\",\"diffuser\",\"diffusion\",\"diffusive\",\"dig\",\"dilation\",\"diligence\",\"diligent\",\"dill\",\"dilute\",\"dime\",\"diminish\",\"dimly\",\"dimmed\",\"dimmer\",\"dimness\",\"dimple\",\"diner\",\"dingbat\",\"dinghy\",\"dinginess\",\"dingo\",\"dingy\",\"dining\",\"dinner\",\"diocese\",\"dioxide\",\"diploma\",\"dipped\",\"dipper\",\"dipping\",\"directed\",\"direction\",\"directive\",\"directly\",\"directory\",\"direness\",\"dirtiness\",\"disabled\",\"disagree\",\"disallow\",\"disarm\",\"disarray\",\"disaster\",\"disband\",\"disbelief\",\"disburse\",\"discard\",\"discern\",\"discharge\",\"disclose\",\"discolor\",\"discount\",\"discourse\",\"discover\",\"discuss\",\"disdain\",\"disengage\",\"disfigure\",\"disgrace\",\"dish\",\"disinfect\",\"disjoin\",\"disk\",\"dislike\",\"disliking\",\"dislocate\",\"dislodge\",\"disloyal\",\"dismantle\",\"dismay\",\"dismiss\",\"dismount\",\"disobey\",\"disorder\",\"disown\",\"disparate\",\"disparity\",\"dispatch\",\"dispense\",\"dispersal\",\"dispersed\",\"disperser\",\"displace\",\"display\",\"displease\",\"disposal\",\"dispose\",\"disprove\",\"dispute\",\"disregard\",\"disrupt\",\"dissuade\",\"distance\",\"distant\",\"distaste\",\"distill\",\"distinct\",\"distort\",\"distract\",\"distress\",\"district\",\"distrust\",\"ditch\",\"ditto\",\"ditzy\",\"dividable\",\"divided\",\"dividend\",\"dividers\",\"dividing\",\"divinely\",\"diving\",\"divinity\",\"divisible\",\"divisibly\",\"division\",\"divisive\",\"divorcee\",\"dizziness\",\"dizzy\",\"doable\",\"docile\",\"dock\",\"doctrine\",\"document\",\"dodge\",\"dodgy\",\"doily\",\"doing\",\"dole\",\"dollar\",\"dollhouse\",\"dollop\",\"dolly\",\"dolphin\",\"domain\",\"domelike\",\"domestic\",\"dominion\",\"dominoes\",\"donated\",\"donation\",\"donator\",\"donor\",\"donut\",\"doodle\",\"doorbell\",\"doorframe\",\"doorknob\",\"doorman\",\"doormat\",\"doornail\",\"doorpost\",\"doorstep\",\"doorstop\",\"doorway\",\"doozy\",\"dork\",\"dormitory\",\"dorsal\",\"dosage\",\"dose\",\"dotted\",\"doubling\",\"douche\",\"dove\",\"down\",\"dowry\",\"doze\",\"drab\",\"dragging\",\"dragonfly\",\"dragonish\",\"dragster\",\"drainable\",\"drainage\",\"drained\",\"drainer\",\"drainpipe\",\"dramatic\",\"dramatize\",\"drank\",\"drapery\",\"drastic\",\"draw\",\"dreaded\",\"dreadful\",\"dreadlock\",\"dreamboat\",\"dreamily\",\"dreamland\",\"dreamless\",\"dreamlike\",\"dreamt\",\"dreamy\",\"drearily\",\"dreary\",\"drench\",\"dress\",\"drew\",\"dribble\",\"dried\",\"drier\",\"drift\",\"driller\",\"drilling\",\"drinkable\",\"drinking\",\"dripping\",\"drippy\",\"drivable\",\"driven\",\"driver\",\"driveway\",\"driving\",\"drizzle\",\"drizzly\",\"drone\",\"drool\",\"droop\",\"drop-down\",\"dropbox\",\"dropkick\",\"droplet\",\"dropout\",\"dropper\",\"drove\",\"drown\",\"drowsily\",\"drudge\",\"drum\",\"dry\",\"dubbed\",\"dubiously\",\"duchess\",\"duckbill\",\"ducking\",\"duckling\",\"ducktail\",\"ducky\",\"duct\",\"dude\",\"duffel\",\"dugout\",\"duh\",\"duke\",\"duller\",\"dullness\",\"duly\",\"dumping\",\"dumpling\",\"dumpster\",\"duo\",\"dupe\",\"duplex\",\"duplicate\",\"duplicity\",\"durable\",\"durably\",\"duration\",\"duress\",\"during\",\"dusk\",\"dust\",\"dutiful\",\"duty\",\"duvet\",\"dwarf\",\"dweeb\",\"dwelled\",\"dweller\",\"dwelling\",\"dwindle\",\"dwindling\",\"dynamic\",\"dynamite\",\"dynasty\",\"dyslexia\",\"dyslexic\",\"each\",\"eagle\",\"earache\",\"eardrum\",\"earflap\",\"earful\",\"earlobe\",\"early\",\"earmark\",\"earmuff\",\"earphone\",\"earpiece\",\"earplugs\",\"earring\",\"earshot\",\"earthen\",\"earthlike\",\"earthling\",\"earthly\",\"earthworm\",\"earthy\",\"earwig\",\"easeful\",\"easel\",\"easiest\",\"easily\",\"easiness\",\"easing\",\"eastbound\",\"eastcoast\",\"easter\",\"eastward\",\"eatable\",\"eaten\",\"eatery\",\"eating\",\"eats\",\"ebay\",\"ebony\",\"ebook\",\"ecard\",\"eccentric\",\"echo\",\"eclair\",\"eclipse\",\"ecologist\",\"ecology\",\"economic\",\"economist\",\"economy\",\"ecosphere\",\"ecosystem\",\"edge\",\"edginess\",\"edging\",\"edgy\",\"edition\",\"editor\",\"educated\",\"education\",\"educator\",\"eel\",\"effective\",\"effects\",\"efficient\",\"effort\",\"eggbeater\",\"egging\",\"eggnog\",\"eggplant\",\"eggshell\",\"egomaniac\",\"egotism\",\"egotistic\",\"either\",\"eject\",\"elaborate\",\"elastic\",\"elated\",\"elbow\",\"eldercare\",\"elderly\",\"eldest\",\"electable\",\"election\",\"elective\",\"elephant\",\"elevate\",\"elevating\",\"elevation\",\"elevator\",\"eleven\",\"elf\",\"eligible\",\"eligibly\",\"eliminate\",\"elite\",\"elitism\",\"elixir\",\"elk\",\"ellipse\",\"elliptic\",\"elm\",\"elongated\",\"elope\",\"eloquence\",\"eloquent\",\"elsewhere\",\"elude\",\"elusive\",\"elves\",\"email\",\"embargo\",\"embark\",\"embassy\",\"embattled\",\"embellish\",\"ember\",\"embezzle\",\"emblaze\",\"emblem\",\"embody\",\"embolism\",\"emboss\",\"embroider\",\"emcee\",\"emerald\",\"emergency\",\"emission\",\"emit\",\"emote\",\"emoticon\",\"emotion\",\"empathic\",\"empathy\",\"emperor\",\"emphases\",\"emphasis\",\"emphasize\",\"emphatic\",\"empirical\",\"employed\",\"employee\",\"employer\",\"emporium\",\"empower\",\"emptier\",\"emptiness\",\"empty\",\"emu\",\"enable\",\"enactment\",\"enamel\",\"enchanted\",\"enchilada\",\"encircle\",\"enclose\",\"enclosure\",\"encode\",\"encore\",\"encounter\",\"encourage\",\"encroach\",\"encrust\",\"encrypt\",\"endanger\",\"endeared\",\"endearing\",\"ended\",\"ending\",\"endless\",\"endnote\",\"endocrine\",\"endorphin\",\"endorse\",\"endowment\",\"endpoint\",\"endurable\",\"endurance\",\"enduring\",\"energetic\",\"energize\",\"energy\",\"enforced\",\"enforcer\",\"engaged\",\"engaging\",\"engine\",\"engorge\",\"engraved\",\"engraver\",\"engraving\",\"engross\",\"engulf\",\"enhance\",\"enigmatic\",\"enjoyable\",\"enjoyably\",\"enjoyer\",\"enjoying\",\"enjoyment\",\"enlarged\",\"enlarging\",\"enlighten\",\"enlisted\",\"enquirer\",\"enrage\",\"enrich\",\"enroll\",\"enslave\",\"ensnare\",\"ensure\",\"entail\",\"entangled\",\"entering\",\"entertain\",\"enticing\",\"entire\",\"entitle\",\"entity\",\"entomb\",\"entourage\",\"entrap\",\"entree\",\"entrench\",\"entrust\",\"entryway\",\"entwine\",\"enunciate\",\"envelope\",\"enviable\",\"enviably\",\"envious\",\"envision\",\"envoy\",\"envy\",\"enzyme\",\"epic\",\"epidemic\",\"epidermal\",\"epidermis\",\"epidural\",\"epilepsy\",\"epileptic\",\"epilogue\",\"epiphany\",\"episode\",\"equal\",\"equate\",\"equation\",\"equator\",\"equinox\",\"equipment\",\"equity\",\"equivocal\",\"eradicate\",\"erasable\",\"erased\",\"eraser\",\"erasure\",\"ergonomic\",\"errand\",\"errant\",\"erratic\",\"error\",\"erupt\",\"escalate\",\"escalator\",\"escapable\",\"escapade\",\"escapist\",\"escargot\",\"eskimo\",\"esophagus\",\"espionage\",\"espresso\",\"esquire\",\"essay\",\"essence\",\"essential\",\"establish\",\"estate\",\"esteemed\",\"estimate\",\"estimator\",\"estranged\",\"estrogen\",\"etching\",\"eternal\",\"eternity\",\"ethanol\",\"ether\",\"ethically\",\"ethics\",\"euphemism\",\"evacuate\",\"evacuee\",\"evade\",\"evaluate\",\"evaluator\",\"evaporate\",\"evasion\",\"evasive\",\"even\",\"everglade\",\"evergreen\",\"everybody\",\"everyday\",\"everyone\",\"evict\",\"evidence\",\"evident\",\"evil\",\"evoke\",\"evolution\",\"evolve\",\"exact\",\"exalted\",\"example\",\"excavate\",\"excavator\",\"exceeding\",\"exception\",\"excess\",\"exchange\",\"excitable\",\"exciting\",\"exclaim\",\"exclude\",\"excluding\",\"exclusion\",\"exclusive\",\"excretion\",\"excretory\",\"excursion\",\"excusable\",\"excusably\",\"excuse\",\"exemplary\",\"exemplify\",\"exemption\",\"exerciser\",\"exert\",\"exes\",\"exfoliate\",\"exhale\",\"exhaust\",\"exhume\",\"exile\",\"existing\",\"exit\",\"exodus\",\"exonerate\",\"exorcism\",\"exorcist\",\"expand\",\"expanse\",\"expansion\",\"expansive\",\"expectant\",\"expedited\",\"expediter\",\"expel\",\"expend\",\"expenses\",\"expensive\",\"expert\",\"expire\",\"expiring\",\"explain\",\"expletive\",\"explicit\",\"explode\",\"exploit\",\"explore\",\"exploring\",\"exponent\",\"exporter\",\"exposable\",\"expose\",\"exposure\",\"express\",\"expulsion\",\"exquisite\",\"extended\",\"extending\",\"extent\",\"extenuate\",\"exterior\",\"external\",\"extinct\",\"extortion\",\"extradite\",\"extras\",\"extrovert\",\"extrude\",\"extruding\",\"exuberant\",\"fable\",\"fabric\",\"fabulous\",\"facebook\",\"facecloth\",\"facedown\",\"faceless\",\"facelift\",\"faceplate\",\"faceted\",\"facial\",\"facility\",\"facing\",\"facsimile\",\"faction\",\"factoid\",\"factor\",\"factsheet\",\"factual\",\"faculty\",\"fade\",\"fading\",\"failing\",\"falcon\",\"fall\",\"false\",\"falsify\",\"fame\",\"familiar\",\"family\",\"famine\",\"famished\",\"fanatic\",\"fancied\",\"fanciness\",\"fancy\",\"fanfare\",\"fang\",\"fanning\",\"fantasize\",\"fantastic\",\"fantasy\",\"fascism\",\"fastball\",\"faster\",\"fasting\",\"fastness\",\"faucet\",\"favorable\",\"favorably\",\"favored\",\"favoring\",\"favorite\",\"fax\",\"feast\",\"federal\",\"fedora\",\"feeble\",\"feed\",\"feel\",\"feisty\",\"feline\",\"felt-tip\",\"feminine\",\"feminism\",\"feminist\",\"feminize\",\"femur\",\"fence\",\"fencing\",\"fender\",\"ferment\",\"fernlike\",\"ferocious\",\"ferocity\",\"ferret\",\"ferris\",\"ferry\",\"fervor\",\"fester\",\"festival\",\"festive\",\"festivity\",\"fetal\",\"fetch\",\"fever\",\"fiber\",\"fiction\",\"fiddle\",\"fiddling\",\"fidelity\",\"fidgeting\",\"fidgety\",\"fifteen\",\"fifth\",\"fiftieth\",\"fifty\",\"figment\",\"figure\",\"figurine\",\"filing\",\"filled\",\"filler\",\"filling\",\"film\",\"filter\",\"filth\",\"filtrate\",\"finale\",\"finalist\",\"finalize\",\"finally\",\"finance\",\"financial\",\"finch\",\"fineness\",\"finer\",\"finicky\",\"finished\",\"finisher\",\"finishing\",\"finite\",\"finless\",\"finlike\",\"fiscally\",\"fit\",\"five\",\"flaccid\",\"flagman\",\"flagpole\",\"flagship\",\"flagstick\",\"flagstone\",\"flail\",\"flakily\",\"flaky\",\"flame\",\"flammable\",\"flanked\",\"flanking\",\"flannels\",\"flap\",\"flaring\",\"flashback\",\"flashbulb\",\"flashcard\",\"flashily\",\"flashing\",\"flashy\",\"flask\",\"flatbed\",\"flatfoot\",\"flatly\",\"flatness\",\"flatten\",\"flattered\",\"flatterer\",\"flattery\",\"flattop\",\"flatware\",\"flatworm\",\"flavored\",\"flavorful\",\"flavoring\",\"flaxseed\",\"fled\",\"fleshed\",\"fleshy\",\"flick\",\"flier\",\"flight\",\"flinch\",\"fling\",\"flint\",\"flip\",\"flirt\",\"float\",\"flock\",\"flogging\",\"flop\",\"floral\",\"florist\",\"floss\",\"flounder\",\"flyable\",\"flyaway\",\"flyer\",\"flying\",\"flyover\",\"flypaper\",\"foam\",\"foe\",\"fog\",\"foil\",\"folic\",\"folk\",\"follicle\",\"follow\",\"fondling\",\"fondly\",\"fondness\",\"fondue\",\"font\",\"food\",\"fool\",\"footage\",\"football\",\"footbath\",\"footboard\",\"footer\",\"footgear\",\"foothill\",\"foothold\",\"footing\",\"footless\",\"footman\",\"footnote\",\"footpad\",\"footpath\",\"footprint\",\"footrest\",\"footsie\",\"footsore\",\"footwear\",\"footwork\",\"fossil\",\"foster\",\"founder\",\"founding\",\"fountain\",\"fox\",\"foyer\",\"fraction\",\"fracture\",\"fragile\",\"fragility\",\"fragment\",\"fragrance\",\"fragrant\",\"frail\",\"frame\",\"framing\",\"frantic\",\"fraternal\",\"frayed\",\"fraying\",\"frays\",\"freckled\",\"freckles\",\"freebase\",\"freebee\",\"freebie\",\"freedom\",\"freefall\",\"freehand\",\"freeing\",\"freeload\",\"freely\",\"freemason\",\"freeness\",\"freestyle\",\"freeware\",\"freeway\",\"freewill\",\"freezable\",\"freezing\",\"freight\",\"french\",\"frenzied\",\"frenzy\",\"frequency\",\"frequent\",\"fresh\",\"fretful\",\"fretted\",\"friction\",\"friday\",\"fridge\",\"fried\",\"friend\",\"frighten\",\"frightful\",\"frigidity\",\"frigidly\",\"frill\",\"fringe\",\"frisbee\",\"frisk\",\"fritter\",\"frivolous\",\"frolic\",\"from\",\"front\",\"frostbite\",\"frosted\",\"frostily\",\"frosting\",\"frostlike\",\"frosty\",\"froth\",\"frown\",\"frozen\",\"fructose\",\"frugality\",\"frugally\",\"fruit\",\"frustrate\",\"frying\",\"gab\",\"gaffe\",\"gag\",\"gainfully\",\"gaining\",\"gains\",\"gala\",\"gallantly\",\"galleria\",\"gallery\",\"galley\",\"gallon\",\"gallows\",\"gallstone\",\"galore\",\"galvanize\",\"gambling\",\"game\",\"gaming\",\"gamma\",\"gander\",\"gangly\",\"gangrene\",\"gangway\",\"gap\",\"garage\",\"garbage\",\"garden\",\"gargle\",\"garland\",\"garlic\",\"garment\",\"garnet\",\"garnish\",\"garter\",\"gas\",\"gatherer\",\"gathering\",\"gating\",\"gauging\",\"gauntlet\",\"gauze\",\"gave\",\"gawk\",\"gazing\",\"gear\",\"gecko\",\"geek\",\"geiger\",\"gem\",\"gender\",\"generic\",\"generous\",\"genetics\",\"genre\",\"gentile\",\"gentleman\",\"gently\",\"gents\",\"geography\",\"geologic\",\"geologist\",\"geology\",\"geometric\",\"geometry\",\"geranium\",\"gerbil\",\"geriatric\",\"germicide\",\"germinate\",\"germless\",\"germproof\",\"gestate\",\"gestation\",\"gesture\",\"getaway\",\"getting\",\"getup\",\"giant\",\"gibberish\",\"giblet\",\"giddily\",\"giddiness\",\"giddy\",\"gift\",\"gigabyte\",\"gigahertz\",\"gigantic\",\"giggle\",\"giggling\",\"giggly\",\"gigolo\",\"gilled\",\"gills\",\"gimmick\",\"girdle\",\"giveaway\",\"given\",\"giver\",\"giving\",\"gizmo\",\"gizzard\",\"glacial\",\"glacier\",\"glade\",\"gladiator\",\"gladly\",\"glamorous\",\"glamour\",\"glance\",\"glancing\",\"glandular\",\"glare\",\"glaring\",\"glass\",\"glaucoma\",\"glazing\",\"gleaming\",\"gleeful\",\"glider\",\"gliding\",\"glimmer\",\"glimpse\",\"glisten\",\"glitch\",\"glitter\",\"glitzy\",\"gloater\",\"gloating\",\"gloomily\",\"gloomy\",\"glorified\",\"glorifier\",\"glorify\",\"glorious\",\"glory\",\"gloss\",\"glove\",\"glowing\",\"glowworm\",\"glucose\",\"glue\",\"gluten\",\"glutinous\",\"glutton\",\"gnarly\",\"gnat\",\"goal\",\"goatskin\",\"goes\",\"goggles\",\"going\",\"goldfish\",\"goldmine\",\"goldsmith\",\"golf\",\"goliath\",\"gonad\",\"gondola\",\"gone\",\"gong\",\"good\",\"gooey\",\"goofball\",\"goofiness\",\"goofy\",\"google\",\"goon\",\"gopher\",\"gore\",\"gorged\",\"gorgeous\",\"gory\",\"gosling\",\"gossip\",\"gothic\",\"gotten\",\"gout\",\"gown\",\"grab\",\"graceful\",\"graceless\",\"gracious\",\"gradation\",\"graded\",\"grader\",\"gradient\",\"grading\",\"gradually\",\"graduate\",\"graffiti\",\"grafted\",\"grafting\",\"grain\",\"granddad\",\"grandkid\",\"grandly\",\"grandma\",\"grandpa\",\"grandson\",\"granite\",\"granny\",\"granola\",\"grant\",\"granular\",\"grape\",\"graph\",\"grapple\",\"grappling\",\"grasp\",\"grass\",\"gratified\",\"gratify\",\"grating\",\"gratitude\",\"gratuity\",\"gravel\",\"graveness\",\"graves\",\"graveyard\",\"gravitate\",\"gravity\",\"gravy\",\"gray\",\"grazing\",\"greasily\",\"greedily\",\"greedless\",\"greedy\",\"green\",\"greeter\",\"greeting\",\"grew\",\"greyhound\",\"grid\",\"grief\",\"grievance\",\"grieving\",\"grievous\",\"grill\",\"grimace\",\"grimacing\",\"grime\",\"griminess\",\"grimy\",\"grinch\",\"grinning\",\"grip\",\"gristle\",\"grit\",\"groggily\",\"groggy\",\"groin\",\"groom\",\"groove\",\"grooving\",\"groovy\",\"grope\",\"ground\",\"grouped\",\"grout\",\"grove\",\"grower\",\"growing\",\"growl\",\"grub\",\"grudge\",\"grudging\",\"grueling\",\"gruffly\",\"grumble\",\"grumbling\",\"grumbly\",\"grumpily\",\"grunge\",\"grunt\",\"guacamole\",\"guidable\",\"guidance\",\"guide\",\"guiding\",\"guileless\",\"guise\",\"gulf\",\"gullible\",\"gully\",\"gulp\",\"gumball\",\"gumdrop\",\"gumminess\",\"gumming\",\"gummy\",\"gurgle\",\"gurgling\",\"guru\",\"gush\",\"gusto\",\"gusty\",\"gutless\",\"guts\",\"gutter\",\"guy\",\"guzzler\",\"gyration\",\"habitable\",\"habitant\",\"habitat\",\"habitual\",\"hacked\",\"hacker\",\"hacking\",\"hacksaw\",\"had\",\"haggler\",\"haiku\",\"half\",\"halogen\",\"halt\",\"halved\",\"halves\",\"hamburger\",\"hamlet\",\"hammock\",\"hamper\",\"hamster\",\"hamstring\",\"handbag\",\"handball\",\"handbook\",\"handbrake\",\"handcart\",\"handclap\",\"handclasp\",\"handcraft\",\"handcuff\",\"handed\",\"handful\",\"handgrip\",\"handgun\",\"handheld\",\"handiness\",\"handiwork\",\"handlebar\",\"handled\",\"handler\",\"handling\",\"handmade\",\"handoff\",\"handpick\",\"handprint\",\"handrail\",\"handsaw\",\"handset\",\"handsfree\",\"handshake\",\"handstand\",\"handwash\",\"handwork\",\"handwoven\",\"handwrite\",\"handyman\",\"hangnail\",\"hangout\",\"hangover\",\"hangup\",\"hankering\",\"hankie\",\"hanky\",\"haphazard\",\"happening\",\"happier\",\"happiest\",\"happily\",\"happiness\",\"happy\",\"harbor\",\"hardcopy\",\"hardcore\",\"hardcover\",\"harddisk\",\"hardened\",\"hardener\",\"hardening\",\"hardhat\",\"hardhead\",\"hardiness\",\"hardly\",\"hardness\",\"hardship\",\"hardware\",\"hardwired\",\"hardwood\",\"hardy\",\"harmful\",\"harmless\",\"harmonica\",\"harmonics\",\"harmonize\",\"harmony\",\"harness\",\"harpist\",\"harsh\",\"harvest\",\"hash\",\"hassle\",\"haste\",\"hastily\",\"hastiness\",\"hasty\",\"hatbox\",\"hatchback\",\"hatchery\",\"hatchet\",\"hatching\",\"hatchling\",\"hate\",\"hatless\",\"hatred\",\"haunt\",\"haven\",\"hazard\",\"hazelnut\",\"hazily\",\"haziness\",\"hazing\",\"hazy\",\"headache\",\"headband\",\"headboard\",\"headcount\",\"headdress\",\"headed\",\"header\",\"headfirst\",\"headgear\",\"heading\",\"headlamp\",\"headless\",\"headlock\",\"headphone\",\"headpiece\",\"headrest\",\"headroom\",\"headscarf\",\"headset\",\"headsman\",\"headstand\",\"headstone\",\"headway\",\"headwear\",\"heap\",\"heat\",\"heave\",\"heavily\",\"heaviness\",\"heaving\",\"hedge\",\"hedging\",\"heftiness\",\"hefty\",\"helium\",\"helmet\",\"helper\",\"helpful\",\"helping\",\"helpless\",\"helpline\",\"hemlock\",\"hemstitch\",\"hence\",\"henchman\",\"henna\",\"herald\",\"herbal\",\"herbicide\",\"herbs\",\"heritage\",\"hermit\",\"heroics\",\"heroism\",\"herring\",\"herself\",\"hertz\",\"hesitancy\",\"hesitant\",\"hesitate\",\"hexagon\",\"hexagram\",\"hubcap\",\"huddle\",\"huddling\",\"huff\",\"hug\",\"hula\",\"hulk\",\"hull\",\"human\",\"humble\",\"humbling\",\"humbly\",\"humid\",\"humiliate\",\"humility\",\"humming\",\"hummus\",\"humongous\",\"humorist\",\"humorless\",\"humorous\",\"humpback\",\"humped\",\"humvee\",\"hunchback\",\"hundredth\",\"hunger\",\"hungrily\",\"hungry\",\"hunk\",\"hunter\",\"hunting\",\"huntress\",\"huntsman\",\"hurdle\",\"hurled\",\"hurler\",\"hurling\",\"hurray\",\"hurricane\",\"hurried\",\"hurry\",\"hurt\",\"husband\",\"hush\",\"husked\",\"huskiness\",\"hut\",\"hybrid\",\"hydrant\",\"hydrated\",\"hydration\",\"hydrogen\",\"hydroxide\",\"hyperlink\",\"hypertext\",\"hyphen\",\"hypnoses\",\"hypnosis\",\"hypnotic\",\"hypnotism\",\"hypnotist\",\"hypnotize\",\"hypocrisy\",\"hypocrite\",\"ibuprofen\",\"ice\",\"iciness\",\"icing\",\"icky\",\"icon\",\"icy\",\"idealism\",\"idealist\",\"idealize\",\"ideally\",\"idealness\",\"identical\",\"identify\",\"identity\",\"ideology\",\"idiocy\",\"idiom\",\"idly\",\"igloo\",\"ignition\",\"ignore\",\"iguana\",\"illicitly\",\"illusion\",\"illusive\",\"image\",\"imaginary\",\"imagines\",\"imaging\",\"imbecile\",\"imitate\",\"imitation\",\"immature\",\"immerse\",\"immersion\",\"imminent\",\"immobile\",\"immodest\",\"immorally\",\"immortal\",\"immovable\",\"immovably\",\"immunity\",\"immunize\",\"impaired\",\"impale\",\"impart\",\"impatient\",\"impeach\",\"impeding\",\"impending\",\"imperfect\",\"imperial\",\"impish\",\"implant\",\"implement\",\"implicate\",\"implicit\",\"implode\",\"implosion\",\"implosive\",\"imply\",\"impolite\",\"important\",\"importer\",\"impose\",\"imposing\",\"impotence\",\"impotency\",\"impotent\",\"impound\",\"imprecise\",\"imprint\",\"imprison\",\"impromptu\",\"improper\",\"improve\",\"improving\",\"improvise\",\"imprudent\",\"impulse\",\"impulsive\",\"impure\",\"impurity\",\"iodine\",\"iodize\",\"ion\",\"ipad\",\"iphone\",\"ipod\",\"irate\",\"irk\",\"iron\",\"irregular\",\"irrigate\",\"irritable\",\"irritably\",\"irritant\",\"irritate\",\"islamic\",\"islamist\",\"isolated\",\"isolating\",\"isolation\",\"isotope\",\"issue\",\"issuing\",\"italicize\",\"italics\",\"item\",\"itinerary\",\"itunes\",\"ivory\",\"ivy\",\"jab\",\"jackal\",\"jacket\",\"jackknife\",\"jackpot\",\"jailbird\",\"jailbreak\",\"jailer\",\"jailhouse\",\"jalapeno\",\"jam\",\"janitor\",\"january\",\"jargon\",\"jarring\",\"jasmine\",\"jaundice\",\"jaunt\",\"java\",\"jawed\",\"jawless\",\"jawline\",\"jaws\",\"jaybird\",\"jaywalker\",\"jazz\",\"jeep\",\"jeeringly\",\"jellied\",\"jelly\",\"jersey\",\"jester\",\"jet\",\"jiffy\",\"jigsaw\",\"jimmy\",\"jingle\",\"jingling\",\"jinx\",\"jitters\",\"jittery\",\"job\",\"jockey\",\"jockstrap\",\"jogger\",\"jogging\",\"john\",\"joining\",\"jokester\",\"jokingly\",\"jolliness\",\"jolly\",\"jolt\",\"jot\",\"jovial\",\"joyfully\",\"joylessly\",\"joyous\",\"joyride\",\"joystick\",\"jubilance\",\"jubilant\",\"judge\",\"judgingly\",\"judicial\",\"judiciary\",\"judo\",\"juggle\",\"juggling\",\"jugular\",\"juice\",\"juiciness\",\"juicy\",\"jujitsu\",\"jukebox\",\"july\",\"jumble\",\"jumbo\",\"jump\",\"junction\",\"juncture\",\"june\",\"junior\",\"juniper\",\"junkie\",\"junkman\",\"junkyard\",\"jurist\",\"juror\",\"jury\",\"justice\",\"justifier\",\"justify\",\"justly\",\"justness\",\"juvenile\",\"kabob\",\"kangaroo\",\"karaoke\",\"karate\",\"karma\",\"kebab\",\"keenly\",\"keenness\",\"keep\",\"keg\",\"kelp\",\"kennel\",\"kept\",\"kerchief\",\"kerosene\",\"kettle\",\"kick\",\"kiln\",\"kilobyte\",\"kilogram\",\"kilometer\",\"kilowatt\",\"kilt\",\"kimono\",\"kindle\",\"kindling\",\"kindly\",\"kindness\",\"kindred\",\"kinetic\",\"kinfolk\",\"king\",\"kinship\",\"kinsman\",\"kinswoman\",\"kissable\",\"kisser\",\"kissing\",\"kitchen\",\"kite\",\"kitten\",\"kitty\",\"kiwi\",\"kleenex\",\"knapsack\",\"knee\",\"knelt\",\"knickers\",\"knoll\",\"koala\",\"kooky\",\"kosher\",\"krypton\",\"kudos\",\"kung\",\"labored\",\"laborer\",\"laboring\",\"laborious\",\"labrador\",\"ladder\",\"ladies\",\"ladle\",\"ladybug\",\"ladylike\",\"lagged\",\"lagging\",\"lagoon\",\"lair\",\"lake\",\"lance\",\"landed\",\"landfall\",\"landfill\",\"landing\",\"landlady\",\"landless\",\"landline\",\"landlord\",\"landmark\",\"landmass\",\"landmine\",\"landowner\",\"landscape\",\"landside\",\"landslide\",\"language\",\"lankiness\",\"lanky\",\"lantern\",\"lapdog\",\"lapel\",\"lapped\",\"lapping\",\"laptop\",\"lard\",\"large\",\"lark\",\"lash\",\"lasso\",\"last\",\"latch\",\"late\",\"lather\",\"latitude\",\"latrine\",\"latter\",\"latticed\",\"launch\",\"launder\",\"laundry\",\"laurel\",\"lavender\",\"lavish\",\"laxative\",\"lazily\",\"laziness\",\"lazy\",\"lecturer\",\"left\",\"legacy\",\"legal\",\"legend\",\"legged\",\"leggings\",\"legible\",\"legibly\",\"legislate\",\"lego\",\"legroom\",\"legume\",\"legwarmer\",\"legwork\",\"lemon\",\"lend\",\"length\",\"lens\",\"lent\",\"leotard\",\"lesser\",\"letdown\",\"lethargic\",\"lethargy\",\"letter\",\"lettuce\",\"level\",\"leverage\",\"levers\",\"levitate\",\"levitator\",\"liability\",\"liable\",\"liberty\",\"librarian\",\"library\",\"licking\",\"licorice\",\"lid\",\"life\",\"lifter\",\"lifting\",\"liftoff\",\"ligament\",\"likely\",\"likeness\",\"likewise\",\"liking\",\"lilac\",\"lilly\",\"lily\",\"limb\",\"limeade\",\"limelight\",\"limes\",\"limit\",\"limping\",\"limpness\",\"line\",\"lingo\",\"linguini\",\"linguist\",\"lining\",\"linked\",\"linoleum\",\"linseed\",\"lint\",\"lion\",\"lip\",\"liquefy\",\"liqueur\",\"liquid\",\"lisp\",\"list\",\"litigate\",\"litigator\",\"litmus\",\"litter\",\"little\",\"livable\",\"lived\",\"lively\",\"liver\",\"livestock\",\"lividly\",\"living\",\"lizard\",\"lubricant\",\"lubricate\",\"lucid\",\"luckily\",\"luckiness\",\"luckless\",\"lucrative\",\"ludicrous\",\"lugged\",\"lukewarm\",\"lullaby\",\"lumber\",\"luminance\",\"luminous\",\"lumpiness\",\"lumping\",\"lumpish\",\"lunacy\",\"lunar\",\"lunchbox\",\"luncheon\",\"lunchroom\",\"lunchtime\",\"lung\",\"lurch\",\"lure\",\"luridness\",\"lurk\",\"lushly\",\"lushness\",\"luster\",\"lustfully\",\"lustily\",\"lustiness\",\"lustrous\",\"lusty\",\"luxurious\",\"luxury\",\"lying\",\"lyrically\",\"lyricism\",\"lyricist\",\"lyrics\",\"macarena\",\"macaroni\",\"macaw\",\"mace\",\"machine\",\"machinist\",\"magazine\",\"magenta\",\"maggot\",\"magical\",\"magician\",\"magma\",\"magnesium\",\"magnetic\",\"magnetism\",\"magnetize\",\"magnifier\",\"magnify\",\"magnitude\",\"magnolia\",\"mahogany\",\"maimed\",\"majestic\",\"majesty\",\"majorette\",\"majority\",\"makeover\",\"maker\",\"makeshift\",\"making\",\"malformed\",\"malt\",\"mama\",\"mammal\",\"mammary\",\"mammogram\",\"manager\",\"managing\",\"manatee\",\"mandarin\",\"mandate\",\"mandatory\",\"mandolin\",\"manger\",\"mangle\",\"mango\",\"mangy\",\"manhandle\",\"manhole\",\"manhood\",\"manhunt\",\"manicotti\",\"manicure\",\"manifesto\",\"manila\",\"mankind\",\"manlike\",\"manliness\",\"manly\",\"manmade\",\"manned\",\"mannish\",\"manor\",\"manpower\",\"mantis\",\"mantra\",\"manual\",\"many\",\"map\",\"marathon\",\"marauding\",\"marbled\",\"marbles\",\"marbling\",\"march\",\"mardi\",\"margarine\",\"margarita\",\"margin\",\"marigold\",\"marina\",\"marine\",\"marital\",\"maritime\",\"marlin\",\"marmalade\",\"maroon\",\"married\",\"marrow\",\"marry\",\"marshland\",\"marshy\",\"marsupial\",\"marvelous\",\"marxism\",\"mascot\",\"masculine\",\"mashed\",\"mashing\",\"massager\",\"masses\",\"massive\",\"mastiff\",\"matador\",\"matchbook\",\"matchbox\",\"matcher\",\"matching\",\"matchless\",\"material\",\"maternal\",\"maternity\",\"math\",\"mating\",\"matriarch\",\"matrimony\",\"matrix\",\"matron\",\"matted\",\"matter\",\"maturely\",\"maturing\",\"maturity\",\"mauve\",\"maverick\",\"maximize\",\"maximum\",\"maybe\",\"mayday\",\"mayflower\",\"moaner\",\"moaning\",\"mobile\",\"mobility\",\"mobilize\",\"mobster\",\"mocha\",\"mocker\",\"mockup\",\"modified\",\"modify\",\"modular\",\"modulator\",\"module\",\"moisten\",\"moistness\",\"moisture\",\"molar\",\"molasses\",\"mold\",\"molecular\",\"molecule\",\"molehill\",\"mollusk\",\"mom\",\"monastery\",\"monday\",\"monetary\",\"monetize\",\"moneybags\",\"moneyless\",\"moneywise\",\"mongoose\",\"mongrel\",\"monitor\",\"monkhood\",\"monogamy\",\"monogram\",\"monologue\",\"monopoly\",\"monorail\",\"monotone\",\"monotype\",\"monoxide\",\"monsieur\",\"monsoon\",\"monstrous\",\"monthly\",\"monument\",\"moocher\",\"moodiness\",\"moody\",\"mooing\",\"moonbeam\",\"mooned\",\"moonlight\",\"moonlike\",\"moonlit\",\"moonrise\",\"moonscape\",\"moonshine\",\"moonstone\",\"moonwalk\",\"mop\",\"morale\",\"morality\",\"morally\",\"morbidity\",\"morbidly\",\"morphine\",\"morphing\",\"morse\",\"mortality\",\"mortally\",\"mortician\",\"mortified\",\"mortify\",\"mortuary\",\"mosaic\",\"mossy\",\"most\",\"mothball\",\"mothproof\",\"motion\",\"motivate\",\"motivator\",\"motive\",\"motocross\",\"motor\",\"motto\",\"mountable\",\"mountain\",\"mounted\",\"mounting\",\"mourner\",\"mournful\",\"mouse\",\"mousiness\",\"moustache\",\"mousy\",\"mouth\",\"movable\",\"move\",\"movie\",\"moving\",\"mower\",\"mowing\",\"much\",\"muck\",\"mud\",\"mug\",\"mulberry\",\"mulch\",\"mule\",\"mulled\",\"mullets\",\"multiple\",\"multiply\",\"multitask\",\"multitude\",\"mumble\",\"mumbling\",\"mumbo\",\"mummified\",\"mummify\",\"mummy\",\"mumps\",\"munchkin\",\"mundane\",\"municipal\",\"muppet\",\"mural\",\"murkiness\",\"murky\",\"murmuring\",\"muscular\",\"museum\",\"mushily\",\"mushiness\",\"mushroom\",\"mushy\",\"music\",\"musket\",\"muskiness\",\"musky\",\"mustang\",\"mustard\",\"muster\",\"mustiness\",\"musty\",\"mutable\",\"mutate\",\"mutation\",\"mute\",\"mutilated\",\"mutilator\",\"mutiny\",\"mutt\",\"mutual\",\"muzzle\",\"myself\",\"myspace\",\"mystified\",\"mystify\",\"myth\",\"nacho\",\"nag\",\"nail\",\"name\",\"naming\",\"nanny\",\"nanometer\",\"nape\",\"napkin\",\"napped\",\"napping\",\"nappy\",\"narrow\",\"nastily\",\"nastiness\",\"national\",\"native\",\"nativity\",\"natural\",\"nature\",\"naturist\",\"nautical\",\"navigate\",\"navigator\",\"navy\",\"nearby\",\"nearest\",\"nearly\",\"nearness\",\"neatly\",\"neatness\",\"nebula\",\"nebulizer\",\"nectar\",\"negate\",\"negation\",\"negative\",\"neglector\",\"negligee\",\"negligent\",\"negotiate\",\"nemeses\",\"nemesis\",\"neon\",\"nephew\",\"nerd\",\"nervous\",\"nervy\",\"nest\",\"net\",\"neurology\",\"neuron\",\"neurosis\",\"neurotic\",\"neuter\",\"neutron\",\"never\",\"next\",\"nibble\",\"nickname\",\"nicotine\",\"niece\",\"nifty\",\"nimble\",\"nimbly\",\"nineteen\",\"ninetieth\",\"ninja\",\"nintendo\",\"ninth\",\"nuclear\",\"nuclei\",\"nucleus\",\"nugget\",\"nullify\",\"number\",\"numbing\",\"numbly\",\"numbness\",\"numeral\",\"numerate\",\"numerator\",\"numeric\",\"numerous\",\"nuptials\",\"nursery\",\"nursing\",\"nurture\",\"nutcase\",\"nutlike\",\"nutmeg\",\"nutrient\",\"nutshell\",\"nuttiness\",\"nutty\",\"nuzzle\",\"nylon\",\"oaf\",\"oak\",\"oasis\",\"oat\",\"obedience\",\"obedient\",\"obituary\",\"object\",\"obligate\",\"obliged\",\"oblivion\",\"oblivious\",\"oblong\",\"obnoxious\",\"oboe\",\"obscure\",\"obscurity\",\"observant\",\"observer\",\"observing\",\"obsessed\",\"obsession\",\"obsessive\",\"obsolete\",\"obstacle\",\"obstinate\",\"obstruct\",\"obtain\",\"obtrusive\",\"obtuse\",\"obvious\",\"occultist\",\"occupancy\",\"occupant\",\"occupier\",\"occupy\",\"ocean\",\"ocelot\",\"octagon\",\"octane\",\"october\",\"octopus\",\"ogle\",\"oil\",\"oink\",\"ointment\",\"okay\",\"old\",\"olive\",\"olympics\",\"omega\",\"omen\",\"ominous\",\"omission\",\"omit\",\"omnivore\",\"onboard\",\"oncoming\",\"ongoing\",\"onion\",\"online\",\"onlooker\",\"only\",\"onscreen\",\"onset\",\"onshore\",\"onslaught\",\"onstage\",\"onto\",\"onward\",\"onyx\",\"oops\",\"ooze\",\"oozy\",\"opacity\",\"opal\",\"open\",\"operable\",\"operate\",\"operating\",\"operation\",\"operative\",\"operator\",\"opium\",\"opossum\",\"opponent\",\"oppose\",\"opposing\",\"opposite\",\"oppressed\",\"oppressor\",\"opt\",\"opulently\",\"osmosis\",\"other\",\"otter\",\"ouch\",\"ought\",\"ounce\",\"outage\",\"outback\",\"outbid\",\"outboard\",\"outbound\",\"outbreak\",\"outburst\",\"outcast\",\"outclass\",\"outcome\",\"outdated\",\"outdoors\",\"outer\",\"outfield\",\"outfit\",\"outflank\",\"outgoing\",\"outgrow\",\"outhouse\",\"outing\",\"outlast\",\"outlet\",\"outline\",\"outlook\",\"outlying\",\"outmatch\",\"outmost\",\"outnumber\",\"outplayed\",\"outpost\",\"outpour\",\"output\",\"outrage\",\"outrank\",\"outreach\",\"outright\",\"outscore\",\"outsell\",\"outshine\",\"outshoot\",\"outsider\",\"outskirts\",\"outsmart\",\"outsource\",\"outspoken\",\"outtakes\",\"outthink\",\"outward\",\"outweigh\",\"outwit\",\"oval\",\"ovary\",\"oven\",\"overact\",\"overall\",\"overarch\",\"overbid\",\"overbill\",\"overbite\",\"overblown\",\"overboard\",\"overbook\",\"overbuilt\",\"overcast\",\"overcoat\",\"overcome\",\"overcook\",\"overcrowd\",\"overdraft\",\"overdrawn\",\"overdress\",\"overdrive\",\"overdue\",\"overeager\",\"overeater\",\"overexert\",\"overfed\",\"overfeed\",\"overfill\",\"overflow\",\"overfull\",\"overgrown\",\"overhand\",\"overhang\",\"overhaul\",\"overhead\",\"overhear\",\"overheat\",\"overhung\",\"overjoyed\",\"overkill\",\"overlabor\",\"overlaid\",\"overlap\",\"overlay\",\"overload\",\"overlook\",\"overlord\",\"overlying\",\"overnight\",\"overpass\",\"overpay\",\"overplant\",\"overplay\",\"overpower\",\"overprice\",\"overrate\",\"overreach\",\"overreact\",\"override\",\"overripe\",\"overrule\",\"overrun\",\"overshoot\",\"overshot\",\"oversight\",\"oversized\",\"oversleep\",\"oversold\",\"overspend\",\"overstate\",\"overstay\",\"overstep\",\"overstock\",\"overstuff\",\"oversweet\",\"overtake\",\"overthrow\",\"overtime\",\"overtly\",\"overtone\",\"overture\",\"overturn\",\"overuse\",\"overvalue\",\"overview\",\"overwrite\",\"owl\",\"oxford\",\"oxidant\",\"oxidation\",\"oxidize\",\"oxidizing\",\"oxygen\",\"oxymoron\",\"oyster\",\"ozone\",\"paced\",\"pacemaker\",\"pacific\",\"pacifier\",\"pacifism\",\"pacifist\",\"pacify\",\"padded\",\"padding\",\"paddle\",\"paddling\",\"padlock\",\"pagan\",\"pager\",\"paging\",\"pajamas\",\"palace\",\"palatable\",\"palm\",\"palpable\",\"palpitate\",\"paltry\",\"pampered\",\"pamperer\",\"pampers\",\"pamphlet\",\"panama\",\"pancake\",\"pancreas\",\"panda\",\"pandemic\",\"pang\",\"panhandle\",\"panic\",\"panning\",\"panorama\",\"panoramic\",\"panther\",\"pantomime\",\"pantry\",\"pants\",\"pantyhose\",\"paparazzi\",\"papaya\",\"paper\",\"paprika\",\"papyrus\",\"parabola\",\"parachute\",\"parade\",\"paradox\",\"paragraph\",\"parakeet\",\"paralegal\",\"paralyses\",\"paralysis\",\"paralyze\",\"paramedic\",\"parameter\",\"paramount\",\"parasail\",\"parasite\",\"parasitic\",\"parcel\",\"parched\",\"parchment\",\"pardon\",\"parish\",\"parka\",\"parking\",\"parkway\",\"parlor\",\"parmesan\",\"parole\",\"parrot\",\"parsley\",\"parsnip\",\"partake\",\"parted\",\"parting\",\"partition\",\"partly\",\"partner\",\"partridge\",\"party\",\"passable\",\"passably\",\"passage\",\"passcode\",\"passenger\",\"passerby\",\"passing\",\"passion\",\"passive\",\"passivism\",\"passover\",\"passport\",\"password\",\"pasta\",\"pasted\",\"pastel\",\"pastime\",\"pastor\",\"pastrami\",\"pasture\",\"pasty\",\"patchwork\",\"patchy\",\"paternal\",\"paternity\",\"path\",\"patience\",\"patient\",\"patio\",\"patriarch\",\"patriot\",\"patrol\",\"patronage\",\"patronize\",\"pauper\",\"pavement\",\"paver\",\"pavestone\",\"pavilion\",\"paving\",\"pawing\",\"payable\",\"payback\",\"paycheck\",\"payday\",\"payee\",\"payer\",\"paying\",\"payment\",\"payphone\",\"payroll\",\"pebble\",\"pebbly\",\"pecan\",\"pectin\",\"peculiar\",\"peddling\",\"pediatric\",\"pedicure\",\"pedigree\",\"pedometer\",\"pegboard\",\"pelican\",\"pellet\",\"pelt\",\"pelvis\",\"penalize\",\"penalty\",\"pencil\",\"pendant\",\"pending\",\"penholder\",\"penknife\",\"pennant\",\"penniless\",\"penny\",\"penpal\",\"pension\",\"pentagon\",\"pentagram\",\"pep\",\"perceive\",\"percent\",\"perch\",\"percolate\",\"perennial\",\"perfected\",\"perfectly\",\"perfume\",\"periscope\",\"perish\",\"perjurer\",\"perjury\",\"perkiness\",\"perky\",\"perm\",\"peroxide\",\"perpetual\",\"perplexed\",\"persecute\",\"persevere\",\"persuaded\",\"persuader\",\"pesky\",\"peso\",\"pessimism\",\"pessimist\",\"pester\",\"pesticide\",\"petal\",\"petite\",\"petition\",\"petri\",\"petroleum\",\"petted\",\"petticoat\",\"pettiness\",\"petty\",\"petunia\",\"phantom\",\"phobia\",\"phoenix\",\"phonebook\",\"phoney\",\"phonics\",\"phoniness\",\"phony\",\"phosphate\",\"photo\",\"phrase\",\"phrasing\",\"placard\",\"placate\",\"placidly\",\"plank\",\"planner\",\"plant\",\"plasma\",\"plaster\",\"plastic\",\"plated\",\"platform\",\"plating\",\"platinum\",\"platonic\",\"platter\",\"platypus\",\"plausible\",\"plausibly\",\"playable\",\"playback\",\"player\",\"playful\",\"playgroup\",\"playhouse\",\"playing\",\"playlist\",\"playmaker\",\"playmate\",\"playoff\",\"playpen\",\"playroom\",\"playset\",\"plaything\",\"playtime\",\"plaza\",\"pleading\",\"pleat\",\"pledge\",\"plentiful\",\"plenty\",\"plethora\",\"plexiglas\",\"pliable\",\"plod\",\"plop\",\"plot\",\"plow\",\"ploy\",\"pluck\",\"plug\",\"plunder\",\"plunging\",\"plural\",\"plus\",\"plutonium\",\"plywood\",\"poach\",\"pod\",\"poem\",\"poet\",\"pogo\",\"pointed\",\"pointer\",\"pointing\",\"pointless\",\"pointy\",\"poise\",\"poison\",\"poker\",\"poking\",\"polar\",\"police\",\"policy\",\"polio\",\"polish\",\"politely\",\"polka\",\"polo\",\"polyester\",\"polygon\",\"polygraph\",\"polymer\",\"poncho\",\"pond\",\"pony\",\"popcorn\",\"pope\",\"poplar\",\"popper\",\"poppy\",\"popsicle\",\"populace\",\"popular\",\"populate\",\"porcupine\",\"pork\",\"porous\",\"porridge\",\"portable\",\"portal\",\"portfolio\",\"porthole\",\"portion\",\"portly\",\"portside\",\"poser\",\"posh\",\"posing\",\"possible\",\"possibly\",\"possum\",\"postage\",\"postal\",\"postbox\",\"postcard\",\"posted\",\"poster\",\"posting\",\"postnasal\",\"posture\",\"postwar\",\"pouch\",\"pounce\",\"pouncing\",\"pound\",\"pouring\",\"pout\",\"powdered\",\"powdering\",\"powdery\",\"power\",\"powwow\",\"pox\",\"praising\",\"prance\",\"prancing\",\"pranker\",\"prankish\",\"prankster\",\"prayer\",\"praying\",\"preacher\",\"preaching\",\"preachy\",\"preamble\",\"precinct\",\"precise\",\"precision\",\"precook\",\"precut\",\"predator\",\"predefine\",\"predict\",\"preface\",\"prefix\",\"preflight\",\"preformed\",\"pregame\",\"pregnancy\",\"pregnant\",\"preheated\",\"prelaunch\",\"prelaw\",\"prelude\",\"premiere\",\"premises\",\"premium\",\"prenatal\",\"preoccupy\",\"preorder\",\"prepaid\",\"prepay\",\"preplan\",\"preppy\",\"preschool\",\"prescribe\",\"preseason\",\"preset\",\"preshow\",\"president\",\"presoak\",\"press\",\"presume\",\"presuming\",\"preteen\",\"pretended\",\"pretender\",\"pretense\",\"pretext\",\"pretty\",\"pretzel\",\"prevail\",\"prevalent\",\"prevent\",\"preview\",\"previous\",\"prewar\",\"prewashed\",\"prideful\",\"pried\",\"primal\",\"primarily\",\"primary\",\"primate\",\"primer\",\"primp\",\"princess\",\"print\",\"prior\",\"prism\",\"prison\",\"prissy\",\"pristine\",\"privacy\",\"private\",\"privatize\",\"prize\",\"proactive\",\"probable\",\"probably\",\"probation\",\"probe\",\"probing\",\"probiotic\",\"problem\",\"procedure\",\"process\",\"proclaim\",\"procreate\",\"procurer\",\"prodigal\",\"prodigy\",\"produce\",\"product\",\"profane\",\"profanity\",\"professed\",\"professor\",\"profile\",\"profound\",\"profusely\",\"progeny\",\"prognosis\",\"program\",\"progress\",\"projector\",\"prologue\",\"prolonged\",\"promenade\",\"prominent\",\"promoter\",\"promotion\",\"prompter\",\"promptly\",\"prone\",\"prong\",\"pronounce\",\"pronto\",\"proofing\",\"proofread\",\"proofs\",\"propeller\",\"properly\",\"property\",\"proponent\",\"proposal\",\"propose\",\"props\",\"prorate\",\"protector\",\"protegee\",\"proton\",\"prototype\",\"protozoan\",\"protract\",\"protrude\",\"proud\",\"provable\",\"proved\",\"proven\",\"provided\",\"provider\",\"providing\",\"province\",\"proving\",\"provoke\",\"provoking\",\"provolone\",\"prowess\",\"prowler\",\"prowling\",\"proximity\",\"proxy\",\"prozac\",\"prude\",\"prudishly\",\"prune\",\"pruning\",\"pry\",\"psychic\",\"public\",\"publisher\",\"pucker\",\"pueblo\",\"pug\",\"pull\",\"pulmonary\",\"pulp\",\"pulsate\",\"pulse\",\"pulverize\",\"puma\",\"pumice\",\"pummel\",\"punch\",\"punctual\",\"punctuate\",\"punctured\",\"pungent\",\"punisher\",\"punk\",\"pupil\",\"puppet\",\"puppy\",\"purchase\",\"pureblood\",\"purebred\",\"purely\",\"pureness\",\"purgatory\",\"purge\",\"purging\",\"purifier\",\"purify\",\"purist\",\"puritan\",\"purity\",\"purple\",\"purplish\",\"purposely\",\"purr\",\"purse\",\"pursuable\",\"pursuant\",\"pursuit\",\"purveyor\",\"pushcart\",\"pushchair\",\"pusher\",\"pushiness\",\"pushing\",\"pushover\",\"pushpin\",\"pushup\",\"pushy\",\"putdown\",\"putt\",\"puzzle\",\"puzzling\",\"pyramid\",\"pyromania\",\"python\",\"quack\",\"quadrant\",\"quail\",\"quaintly\",\"quake\",\"quaking\",\"qualified\",\"qualifier\",\"qualify\",\"quality\",\"qualm\",\"quantum\",\"quarrel\",\"quarry\",\"quartered\",\"quarterly\",\"quarters\",\"quartet\",\"quench\",\"query\",\"quicken\",\"quickly\",\"quickness\",\"quicksand\",\"quickstep\",\"quiet\",\"quill\",\"quilt\",\"quintet\",\"quintuple\",\"quirk\",\"quit\",\"quiver\",\"quizzical\",\"quotable\",\"quotation\",\"quote\",\"rabid\",\"race\",\"racing\",\"racism\",\"rack\",\"racoon\",\"radar\",\"radial\",\"radiance\",\"radiantly\",\"radiated\",\"radiation\",\"radiator\",\"radio\",\"radish\",\"raffle\",\"raft\",\"rage\",\"ragged\",\"raging\",\"ragweed\",\"raider\",\"railcar\",\"railing\",\"railroad\",\"railway\",\"raisin\",\"rake\",\"raking\",\"rally\",\"ramble\",\"rambling\",\"ramp\",\"ramrod\",\"ranch\",\"rancidity\",\"random\",\"ranged\",\"ranger\",\"ranging\",\"ranked\",\"ranking\",\"ransack\",\"ranting\",\"rants\",\"rare\",\"rarity\",\"rascal\",\"rash\",\"rasping\",\"ravage\",\"raven\",\"ravine\",\"raving\",\"ravioli\",\"ravishing\",\"reabsorb\",\"reach\",\"reacquire\",\"reaction\",\"reactive\",\"reactor\",\"reaffirm\",\"ream\",\"reanalyze\",\"reappear\",\"reapply\",\"reappoint\",\"reapprove\",\"rearrange\",\"rearview\",\"reason\",\"reassign\",\"reassure\",\"reattach\",\"reawake\",\"rebalance\",\"rebate\",\"rebel\",\"rebirth\",\"reboot\",\"reborn\",\"rebound\",\"rebuff\",\"rebuild\",\"rebuilt\",\"reburial\",\"rebuttal\",\"recall\",\"recant\",\"recapture\",\"recast\",\"recede\",\"recent\",\"recess\",\"recharger\",\"recipient\",\"recital\",\"recite\",\"reckless\",\"reclaim\",\"recliner\",\"reclining\",\"recluse\",\"reclusive\",\"recognize\",\"recoil\",\"recollect\",\"recolor\",\"reconcile\",\"reconfirm\",\"reconvene\",\"recopy\",\"record\",\"recount\",\"recoup\",\"recovery\",\"recreate\",\"rectal\",\"rectangle\",\"rectified\",\"rectify\",\"recycled\",\"recycler\",\"recycling\",\"reemerge\",\"reenact\",\"reenter\",\"reentry\",\"reexamine\",\"referable\",\"referee\",\"reference\",\"refill\",\"refinance\",\"refined\",\"refinery\",\"refining\",\"refinish\",\"reflected\",\"reflector\",\"reflex\",\"reflux\",\"refocus\",\"refold\",\"reforest\",\"reformat\",\"reformed\",\"reformer\",\"reformist\",\"refract\",\"refrain\",\"refreeze\",\"refresh\",\"refried\",\"refueling\",\"refund\",\"refurbish\",\"refurnish\",\"refusal\",\"refuse\",\"refusing\",\"refutable\",\"refute\",\"regain\",\"regalia\",\"regally\",\"reggae\",\"regime\",\"region\",\"register\",\"registrar\",\"registry\",\"regress\",\"regretful\",\"regroup\",\"regular\",\"regulate\",\"regulator\",\"rehab\",\"reheat\",\"rehire\",\"rehydrate\",\"reimburse\",\"reissue\",\"reiterate\",\"rejoice\",\"rejoicing\",\"rejoin\",\"rekindle\",\"relapse\",\"relapsing\",\"relatable\",\"related\",\"relation\",\"relative\",\"relax\",\"relay\",\"relearn\",\"release\",\"relenting\",\"reliable\",\"reliably\",\"reliance\",\"reliant\",\"relic\",\"relieve\",\"relieving\",\"relight\",\"relish\",\"relive\",\"reload\",\"relocate\",\"relock\",\"reluctant\",\"rely\",\"remake\",\"remark\",\"remarry\",\"rematch\",\"remedial\",\"remedy\",\"remember\",\"reminder\",\"remindful\",\"remission\",\"remix\",\"remnant\",\"remodeler\",\"remold\",\"remorse\",\"remote\",\"removable\",\"removal\",\"removed\",\"remover\",\"removing\",\"rename\",\"renderer\",\"rendering\",\"rendition\",\"renegade\",\"renewable\",\"renewably\",\"renewal\",\"renewed\",\"renounce\",\"renovate\",\"renovator\",\"rentable\",\"rental\",\"rented\",\"renter\",\"reoccupy\",\"reoccur\",\"reopen\",\"reorder\",\"repackage\",\"repacking\",\"repaint\",\"repair\",\"repave\",\"repaying\",\"repayment\",\"repeal\",\"repeated\",\"repeater\",\"repent\",\"rephrase\",\"replace\",\"replay\",\"replica\",\"reply\",\"reporter\",\"repose\",\"repossess\",\"repost\",\"repressed\",\"reprimand\",\"reprint\",\"reprise\",\"reproach\",\"reprocess\",\"reproduce\",\"reprogram\",\"reps\",\"reptile\",\"reptilian\",\"repugnant\",\"repulsion\",\"repulsive\",\"repurpose\",\"reputable\",\"reputably\",\"request\",\"require\",\"requisite\",\"reroute\",\"rerun\",\"resale\",\"resample\",\"rescuer\",\"reseal\",\"research\",\"reselect\",\"reseller\",\"resemble\",\"resend\",\"resent\",\"reset\",\"reshape\",\"reshoot\",\"reshuffle\",\"residence\",\"residency\",\"resident\",\"residual\",\"residue\",\"resigned\",\"resilient\",\"resistant\",\"resisting\",\"resize\",\"resolute\",\"resolved\",\"resonant\",\"resonate\",\"resort\",\"resource\",\"respect\",\"resubmit\",\"result\",\"resume\",\"resupply\",\"resurface\",\"resurrect\",\"retail\",\"retainer\",\"retaining\",\"retake\",\"retaliate\",\"retention\",\"rethink\",\"retinal\",\"retired\",\"retiree\",\"retiring\",\"retold\",\"retool\",\"retorted\",\"retouch\",\"retrace\",\"retract\",\"retrain\",\"retread\",\"retreat\",\"retrial\",\"retrieval\",\"retriever\",\"retry\",\"return\",\"retying\",\"retype\",\"reunion\",\"reunite\",\"reusable\",\"reuse\",\"reveal\",\"reveler\",\"revenge\",\"revenue\",\"reverb\",\"revered\",\"reverence\",\"reverend\",\"reversal\",\"reverse\",\"reversing\",\"reversion\",\"revert\",\"revisable\",\"revise\",\"revision\",\"revisit\",\"revivable\",\"revival\",\"reviver\",\"reviving\",\"revocable\",\"revoke\",\"revolt\",\"revolver\",\"revolving\",\"reward\",\"rewash\",\"rewind\",\"rewire\",\"reword\",\"rework\",\"rewrap\",\"rewrite\",\"rhyme\",\"ribbon\",\"ribcage\",\"rice\",\"riches\",\"richly\",\"richness\",\"rickety\",\"ricotta\",\"riddance\",\"ridden\",\"ride\",\"riding\",\"rifling\",\"rift\",\"rigging\",\"rigid\",\"rigor\",\"rimless\",\"rimmed\",\"rind\",\"rink\",\"rinse\",\"rinsing\",\"riot\",\"ripcord\",\"ripeness\",\"ripening\",\"ripping\",\"ripple\",\"rippling\",\"riptide\",\"rise\",\"rising\",\"risk\",\"risotto\",\"ritalin\",\"ritzy\",\"rival\",\"riverbank\",\"riverbed\",\"riverboat\",\"riverside\",\"riveter\",\"riveting\",\"roamer\",\"roaming\",\"roast\",\"robbing\",\"robe\",\"robin\",\"robotics\",\"robust\",\"rockband\",\"rocker\",\"rocket\",\"rockfish\",\"rockiness\",\"rocking\",\"rocklike\",\"rockslide\",\"rockstar\",\"rocky\",\"rogue\",\"roman\",\"romp\",\"rope\",\"roping\",\"roster\",\"rosy\",\"rotten\",\"rotting\",\"rotunda\",\"roulette\",\"rounding\",\"roundish\",\"roundness\",\"roundup\",\"roundworm\",\"routine\",\"routing\",\"rover\",\"roving\",\"royal\",\"rubbed\",\"rubber\",\"rubbing\",\"rubble\",\"rubdown\",\"ruby\",\"ruckus\",\"rudder\",\"rug\",\"ruined\",\"rule\",\"rumble\",\"rumbling\",\"rummage\",\"rumor\",\"runaround\",\"rundown\",\"runner\",\"running\",\"runny\",\"runt\",\"runway\",\"rupture\",\"rural\",\"ruse\",\"rush\",\"rust\",\"rut\",\"sabbath\",\"sabotage\",\"sacrament\",\"sacred\",\"sacrifice\",\"sadden\",\"saddlebag\",\"saddled\",\"saddling\",\"sadly\",\"sadness\",\"safari\",\"safeguard\",\"safehouse\",\"safely\",\"safeness\",\"saffron\",\"saga\",\"sage\",\"sagging\",\"saggy\",\"said\",\"saint\",\"sake\",\"salad\",\"salami\",\"salaried\",\"salary\",\"saline\",\"salon\",\"saloon\",\"salsa\",\"salt\",\"salutary\",\"salute\",\"salvage\",\"salvaging\",\"salvation\",\"same\",\"sample\",\"sampling\",\"sanction\",\"sanctity\",\"sanctuary\",\"sandal\",\"sandbag\",\"sandbank\",\"sandbar\",\"sandblast\",\"sandbox\",\"sanded\",\"sandfish\",\"sanding\",\"sandlot\",\"sandpaper\",\"sandpit\",\"sandstone\",\"sandstorm\",\"sandworm\",\"sandy\",\"sanitary\",\"sanitizer\",\"sank\",\"santa\",\"sapling\",\"sappiness\",\"sappy\",\"sarcasm\",\"sarcastic\",\"sardine\",\"sash\",\"sasquatch\",\"sassy\",\"satchel\",\"satiable\",\"satin\",\"satirical\",\"satisfied\",\"satisfy\",\"saturate\",\"saturday\",\"sauciness\",\"saucy\",\"sauna\",\"savage\",\"savanna\",\"saved\",\"savings\",\"savior\",\"savor\",\"saxophone\",\"say\",\"scabbed\",\"scabby\",\"scalded\",\"scalding\",\"scale\",\"scaling\",\"scallion\",\"scallop\",\"scalping\",\"scam\",\"scandal\",\"scanner\",\"scanning\",\"scant\",\"scapegoat\",\"scarce\",\"scarcity\",\"scarecrow\",\"scared\",\"scarf\",\"scarily\",\"scariness\",\"scarring\",\"scary\",\"scavenger\",\"scenic\",\"schedule\",\"schematic\",\"scheme\",\"scheming\",\"schilling\",\"schnapps\",\"scholar\",\"science\",\"scientist\",\"scion\",\"scoff\",\"scolding\",\"scone\",\"scoop\",\"scooter\",\"scope\",\"scorch\",\"scorebook\",\"scorecard\",\"scored\",\"scoreless\",\"scorer\",\"scoring\",\"scorn\",\"scorpion\",\"scotch\",\"scoundrel\",\"scoured\",\"scouring\",\"scouting\",\"scouts\",\"scowling\",\"scrabble\",\"scraggly\",\"scrambled\",\"scrambler\",\"scrap\",\"scratch\",\"scrawny\",\"screen\",\"scribble\",\"scribe\",\"scribing\",\"scrimmage\",\"script\",\"scroll\",\"scrooge\",\"scrounger\",\"scrubbed\",\"scrubber\",\"scruffy\",\"scrunch\",\"scrutiny\",\"scuba\",\"scuff\",\"sculptor\",\"sculpture\",\"scurvy\",\"scuttle\",\"secluded\",\"secluding\",\"seclusion\",\"second\",\"secrecy\",\"secret\",\"sectional\",\"sector\",\"secular\",\"securely\",\"security\",\"sedan\",\"sedate\",\"sedation\",\"sedative\",\"sediment\",\"seduce\",\"seducing\",\"segment\",\"seismic\",\"seizing\",\"seldom\",\"selected\",\"selection\",\"selective\",\"selector\",\"self\",\"seltzer\",\"semantic\",\"semester\",\"semicolon\",\"semifinal\",\"seminar\",\"semisoft\",\"semisweet\",\"senate\",\"senator\",\"send\",\"senior\",\"senorita\",\"sensation\",\"sensitive\",\"sensitize\",\"sensually\",\"sensuous\",\"sepia\",\"september\",\"septic\",\"septum\",\"sequel\",\"sequence\",\"sequester\",\"series\",\"sermon\",\"serotonin\",\"serpent\",\"serrated\",\"serve\",\"service\",\"serving\",\"sesame\",\"sessions\",\"setback\",\"setting\",\"settle\",\"settling\",\"setup\",\"sevenfold\",\"seventeen\",\"seventh\",\"seventy\",\"severity\",\"shabby\",\"shack\",\"shaded\",\"shadily\",\"shadiness\",\"shading\",\"shadow\",\"shady\",\"shaft\",\"shakable\",\"shakily\",\"shakiness\",\"shaking\",\"shaky\",\"shale\",\"shallot\",\"shallow\",\"shame\",\"shampoo\",\"shamrock\",\"shank\",\"shanty\",\"shape\",\"shaping\",\"share\",\"sharpener\",\"sharper\",\"sharpie\",\"sharply\",\"sharpness\",\"shawl\",\"sheath\",\"shed\",\"sheep\",\"sheet\",\"shelf\",\"shell\",\"shelter\",\"shelve\",\"shelving\",\"sherry\",\"shield\",\"shifter\",\"shifting\",\"shiftless\",\"shifty\",\"shimmer\",\"shimmy\",\"shindig\",\"shine\",\"shingle\",\"shininess\",\"shining\",\"shiny\",\"ship\",\"shirt\",\"shivering\",\"shock\",\"shone\",\"shoplift\",\"shopper\",\"shopping\",\"shoptalk\",\"shore\",\"shortage\",\"shortcake\",\"shortcut\",\"shorten\",\"shorter\",\"shorthand\",\"shortlist\",\"shortly\",\"shortness\",\"shorts\",\"shortwave\",\"shorty\",\"shout\",\"shove\",\"showbiz\",\"showcase\",\"showdown\",\"shower\",\"showgirl\",\"showing\",\"showman\",\"shown\",\"showoff\",\"showpiece\",\"showplace\",\"showroom\",\"showy\",\"shrank\",\"shrapnel\",\"shredder\",\"shredding\",\"shrewdly\",\"shriek\",\"shrill\",\"shrimp\",\"shrine\",\"shrink\",\"shrivel\",\"shrouded\",\"shrubbery\",\"shrubs\",\"shrug\",\"shrunk\",\"shucking\",\"shudder\",\"shuffle\",\"shuffling\",\"shun\",\"shush\",\"shut\",\"shy\",\"siamese\",\"siberian\",\"sibling\",\"siding\",\"sierra\",\"siesta\",\"sift\",\"sighing\",\"silenced\",\"silencer\",\"silent\",\"silica\",\"silicon\",\"silk\",\"silliness\",\"silly\",\"silo\",\"silt\",\"silver\",\"similarly\",\"simile\",\"simmering\",\"simple\",\"simplify\",\"simply\",\"sincere\",\"sincerity\",\"singer\",\"singing\",\"single\",\"singular\",\"sinister\",\"sinless\",\"sinner\",\"sinuous\",\"sip\",\"siren\",\"sister\",\"sitcom\",\"sitter\",\"sitting\",\"situated\",\"situation\",\"sixfold\",\"sixteen\",\"sixth\",\"sixties\",\"sixtieth\",\"sixtyfold\",\"sizable\",\"sizably\",\"size\",\"sizing\",\"sizzle\",\"sizzling\",\"skater\",\"skating\",\"skedaddle\",\"skeletal\",\"skeleton\",\"skeptic\",\"sketch\",\"skewed\",\"skewer\",\"skid\",\"skied\",\"skier\",\"skies\",\"skiing\",\"skilled\",\"skillet\",\"skillful\",\"skimmed\",\"skimmer\",\"skimming\",\"skimpily\",\"skincare\",\"skinhead\",\"skinless\",\"skinning\",\"skinny\",\"skintight\",\"skipper\",\"skipping\",\"skirmish\",\"skirt\",\"skittle\",\"skydiver\",\"skylight\",\"skyline\",\"skype\",\"skyrocket\",\"skyward\",\"slab\",\"slacked\",\"slacker\",\"slacking\",\"slackness\",\"slacks\",\"slain\",\"slam\",\"slander\",\"slang\",\"slapping\",\"slapstick\",\"slashed\",\"slashing\",\"slate\",\"slather\",\"slaw\",\"sled\",\"sleek\",\"sleep\",\"sleet\",\"sleeve\",\"slept\",\"sliceable\",\"sliced\",\"slicer\",\"slicing\",\"slick\",\"slider\",\"slideshow\",\"sliding\",\"slighted\",\"slighting\",\"slightly\",\"slimness\",\"slimy\",\"slinging\",\"slingshot\",\"slinky\",\"slip\",\"slit\",\"sliver\",\"slobbery\",\"slogan\",\"sloped\",\"sloping\",\"sloppily\",\"sloppy\",\"slot\",\"slouching\",\"slouchy\",\"sludge\",\"slug\",\"slum\",\"slurp\",\"slush\",\"sly\",\"small\",\"smartly\",\"smartness\",\"smasher\",\"smashing\",\"smashup\",\"smell\",\"smelting\",\"smile\",\"smilingly\",\"smirk\",\"smite\",\"smith\",\"smitten\",\"smock\",\"smog\",\"smoked\",\"smokeless\",\"smokiness\",\"smoking\",\"smoky\",\"smolder\",\"smooth\",\"smother\",\"smudge\",\"smudgy\",\"smuggler\",\"smuggling\",\"smugly\",\"smugness\",\"snack\",\"snagged\",\"snaking\",\"snap\",\"snare\",\"snarl\",\"snazzy\",\"sneak\",\"sneer\",\"sneeze\",\"sneezing\",\"snide\",\"sniff\",\"snippet\",\"snipping\",\"snitch\",\"snooper\",\"snooze\",\"snore\",\"snoring\",\"snorkel\",\"snort\",\"snout\",\"snowbird\",\"snowboard\",\"snowbound\",\"snowcap\",\"snowdrift\",\"snowdrop\",\"snowfall\",\"snowfield\",\"snowflake\",\"snowiness\",\"snowless\",\"snowman\",\"snowplow\",\"snowshoe\",\"snowstorm\",\"snowsuit\",\"snowy\",\"snub\",\"snuff\",\"snuggle\",\"snugly\",\"snugness\",\"speak\",\"spearfish\",\"spearhead\",\"spearman\",\"spearmint\",\"species\",\"specimen\",\"specked\",\"speckled\",\"specks\",\"spectacle\",\"spectator\",\"spectrum\",\"speculate\",\"speech\",\"speed\",\"spellbind\",\"speller\",\"spelling\",\"spendable\",\"spender\",\"spending\",\"spent\",\"spew\",\"sphere\",\"spherical\",\"sphinx\",\"spider\",\"spied\",\"spiffy\",\"spill\",\"spilt\",\"spinach\",\"spinal\",\"spindle\",\"spinner\",\"spinning\",\"spinout\",\"spinster\",\"spiny\",\"spiral\",\"spirited\",\"spiritism\",\"spirits\",\"spiritual\",\"splashed\",\"splashing\",\"splashy\",\"splatter\",\"spleen\",\"splendid\",\"splendor\",\"splice\",\"splicing\",\"splinter\",\"splotchy\",\"splurge\",\"spoilage\",\"spoiled\",\"spoiler\",\"spoiling\",\"spoils\",\"spoken\",\"spokesman\",\"sponge\",\"spongy\",\"sponsor\",\"spoof\",\"spookily\",\"spooky\",\"spool\",\"spoon\",\"spore\",\"sporting\",\"sports\",\"sporty\",\"spotless\",\"spotlight\",\"spotted\",\"spotter\",\"spotting\",\"spotty\",\"spousal\",\"spouse\",\"spout\",\"sprain\",\"sprang\",\"sprawl\",\"spray\",\"spree\",\"sprig\",\"spring\",\"sprinkled\",\"sprinkler\",\"sprint\",\"sprite\",\"sprout\",\"spruce\",\"sprung\",\"spry\",\"spud\",\"spur\",\"sputter\",\"spyglass\",\"squabble\",\"squad\",\"squall\",\"squander\",\"squash\",\"squatted\",\"squatter\",\"squatting\",\"squeak\",\"squealer\",\"squealing\",\"squeamish\",\"squeegee\",\"squeeze\",\"squeezing\",\"squid\",\"squiggle\",\"squiggly\",\"squint\",\"squire\",\"squirt\",\"squishier\",\"squishy\",\"stability\",\"stabilize\",\"stable\",\"stack\",\"stadium\",\"staff\",\"stage\",\"staging\",\"stagnant\",\"stagnate\",\"stainable\",\"stained\",\"staining\",\"stainless\",\"stalemate\",\"staleness\",\"stalling\",\"stallion\",\"stamina\",\"stammer\",\"stamp\",\"stand\",\"stank\",\"staple\",\"stapling\",\"starboard\",\"starch\",\"stardom\",\"stardust\",\"starfish\",\"stargazer\",\"staring\",\"stark\",\"starless\",\"starlet\",\"starlight\",\"starlit\",\"starring\",\"starry\",\"starship\",\"starter\",\"starting\",\"startle\",\"startling\",\"startup\",\"starved\",\"starving\",\"stash\",\"state\",\"static\",\"statistic\",\"statue\",\"stature\",\"status\",\"statute\",\"statutory\",\"staunch\",\"stays\",\"steadfast\",\"steadier\",\"steadily\",\"steadying\",\"steam\",\"steed\",\"steep\",\"steerable\",\"steering\",\"steersman\",\"stegosaur\",\"stellar\",\"stem\",\"stench\",\"stencil\",\"step\",\"stereo\",\"sterile\",\"sterility\",\"sterilize\",\"sterling\",\"sternness\",\"sternum\",\"stew\",\"stick\",\"stiffen\",\"stiffly\",\"stiffness\",\"stifle\",\"stifling\",\"stillness\",\"stilt\",\"stimulant\",\"stimulate\",\"stimuli\",\"stimulus\",\"stinger\",\"stingily\",\"stinging\",\"stingray\",\"stingy\",\"stinking\",\"stinky\",\"stipend\",\"stipulate\",\"stir\",\"stitch\",\"stock\",\"stoic\",\"stoke\",\"stole\",\"stomp\",\"stonewall\",\"stoneware\",\"stonework\",\"stoning\",\"stony\",\"stood\",\"stooge\",\"stool\",\"stoop\",\"stoplight\",\"stoppable\",\"stoppage\",\"stopped\",\"stopper\",\"stopping\",\"stopwatch\",\"storable\",\"storage\",\"storeroom\",\"storewide\",\"storm\",\"stout\",\"stove\",\"stowaway\",\"stowing\",\"straddle\",\"straggler\",\"strained\",\"strainer\",\"straining\",\"strangely\",\"stranger\",\"strangle\",\"strategic\",\"strategy\",\"stratus\",\"straw\",\"stray\",\"streak\",\"stream\",\"street\",\"strength\",\"strenuous\",\"strep\",\"stress\",\"stretch\",\"strewn\",\"stricken\",\"strict\",\"stride\",\"strife\",\"strike\",\"striking\",\"strive\",\"striving\",\"strobe\",\"strode\",\"stroller\",\"strongbox\",\"strongly\",\"strongman\",\"struck\",\"structure\",\"strudel\",\"struggle\",\"strum\",\"strung\",\"strut\",\"stubbed\",\"stubble\",\"stubbly\",\"stubborn\",\"stucco\",\"stuck\",\"student\",\"studied\",\"studio\",\"study\",\"stuffed\",\"stuffing\",\"stuffy\",\"stumble\",\"stumbling\",\"stump\",\"stung\",\"stunned\",\"stunner\",\"stunning\",\"stunt\",\"stupor\",\"sturdily\",\"sturdy\",\"styling\",\"stylishly\",\"stylist\",\"stylized\",\"stylus\",\"suave\",\"subarctic\",\"subatomic\",\"subdivide\",\"subdued\",\"subduing\",\"subfloor\",\"subgroup\",\"subheader\",\"subject\",\"sublease\",\"sublet\",\"sublevel\",\"sublime\",\"submarine\",\"submerge\",\"submersed\",\"submitter\",\"subpanel\",\"subpar\",\"subplot\",\"subprime\",\"subscribe\",\"subscript\",\"subsector\",\"subside\",\"subsiding\",\"subsidize\",\"subsidy\",\"subsoil\",\"subsonic\",\"substance\",\"subsystem\",\"subtext\",\"subtitle\",\"subtly\",\"subtotal\",\"subtract\",\"subtype\",\"suburb\",\"subway\",\"subwoofer\",\"subzero\",\"succulent\",\"such\",\"suction\",\"sudden\",\"sudoku\",\"suds\",\"sufferer\",\"suffering\",\"suffice\",\"suffix\",\"suffocate\",\"suffrage\",\"sugar\",\"suggest\",\"suing\",\"suitable\",\"suitably\",\"suitcase\",\"suitor\",\"sulfate\",\"sulfide\",\"sulfite\",\"sulfur\",\"sulk\",\"sullen\",\"sulphate\",\"sulphuric\",\"sultry\",\"superbowl\",\"superglue\",\"superhero\",\"superior\",\"superjet\",\"superman\",\"supermom\",\"supernova\",\"supervise\",\"supper\",\"supplier\",\"supply\",\"support\",\"supremacy\",\"supreme\",\"surcharge\",\"surely\",\"sureness\",\"surface\",\"surfacing\",\"surfboard\",\"surfer\",\"surgery\",\"surgical\",\"surging\",\"surname\",\"surpass\",\"surplus\",\"surprise\",\"surreal\",\"surrender\",\"surrogate\",\"surround\",\"survey\",\"survival\",\"survive\",\"surviving\",\"survivor\",\"sushi\",\"suspect\",\"suspend\",\"suspense\",\"sustained\",\"sustainer\",\"swab\",\"swaddling\",\"swagger\",\"swampland\",\"swan\",\"swapping\",\"swarm\",\"sway\",\"swear\",\"sweat\",\"sweep\",\"swell\",\"swept\",\"swerve\",\"swifter\",\"swiftly\",\"swiftness\",\"swimmable\",\"swimmer\",\"swimming\",\"swimsuit\",\"swimwear\",\"swinger\",\"swinging\",\"swipe\",\"swirl\",\"switch\",\"swivel\",\"swizzle\",\"swooned\",\"swoop\",\"swoosh\",\"swore\",\"sworn\",\"swung\",\"sycamore\",\"sympathy\",\"symphonic\",\"symphony\",\"symptom\",\"synapse\",\"syndrome\",\"synergy\",\"synopses\",\"synopsis\",\"synthesis\",\"synthetic\",\"syrup\",\"system\",\"t-shirt\",\"tabasco\",\"tabby\",\"tableful\",\"tables\",\"tablet\",\"tableware\",\"tabloid\",\"tackiness\",\"tacking\",\"tackle\",\"tackling\",\"tacky\",\"taco\",\"tactful\",\"tactical\",\"tactics\",\"tactile\",\"tactless\",\"tadpole\",\"taekwondo\",\"tag\",\"tainted\",\"take\",\"taking\",\"talcum\",\"talisman\",\"tall\",\"talon\",\"tamale\",\"tameness\",\"tamer\",\"tamper\",\"tank\",\"tanned\",\"tannery\",\"tanning\",\"tantrum\",\"tapeless\",\"tapered\",\"tapering\",\"tapestry\",\"tapioca\",\"tapping\",\"taps\",\"tarantula\",\"target\",\"tarmac\",\"tarnish\",\"tarot\",\"tartar\",\"tartly\",\"tartness\",\"task\",\"tassel\",\"taste\",\"tastiness\",\"tasting\",\"tasty\",\"tattered\",\"tattle\",\"tattling\",\"tattoo\",\"taunt\",\"tavern\",\"thank\",\"that\",\"thaw\",\"theater\",\"theatrics\",\"thee\",\"theft\",\"theme\",\"theology\",\"theorize\",\"thermal\",\"thermos\",\"thesaurus\",\"these\",\"thesis\",\"thespian\",\"thicken\",\"thicket\",\"thickness\",\"thieving\",\"thievish\",\"thigh\",\"thimble\",\"thing\",\"think\",\"thinly\",\"thinner\",\"thinness\",\"thinning\",\"thirstily\",\"thirsting\",\"thirsty\",\"thirteen\",\"thirty\",\"thong\",\"thorn\",\"those\",\"thousand\",\"thrash\",\"thread\",\"threaten\",\"threefold\",\"thrift\",\"thrill\",\"thrive\",\"thriving\",\"throat\",\"throbbing\",\"throng\",\"throttle\",\"throwaway\",\"throwback\",\"thrower\",\"throwing\",\"thud\",\"thumb\",\"thumping\",\"thursday\",\"thus\",\"thwarting\",\"thyself\",\"tiara\",\"tibia\",\"tidal\",\"tidbit\",\"tidiness\",\"tidings\",\"tidy\",\"tiger\",\"tighten\",\"tightly\",\"tightness\",\"tightrope\",\"tightwad\",\"tigress\",\"tile\",\"tiling\",\"till\",\"tilt\",\"timid\",\"timing\",\"timothy\",\"tinderbox\",\"tinfoil\",\"tingle\",\"tingling\",\"tingly\",\"tinker\",\"tinkling\",\"tinsel\",\"tinsmith\",\"tint\",\"tinwork\",\"tiny\",\"tipoff\",\"tipped\",\"tipper\",\"tipping\",\"tiptoeing\",\"tiptop\",\"tiring\",\"tissue\",\"trace\",\"tracing\",\"track\",\"traction\",\"tractor\",\"trade\",\"trading\",\"tradition\",\"traffic\",\"tragedy\",\"trailing\",\"trailside\",\"train\",\"traitor\",\"trance\",\"tranquil\",\"transfer\",\"transform\",\"translate\",\"transpire\",\"transport\",\"transpose\",\"trapdoor\",\"trapeze\",\"trapezoid\",\"trapped\",\"trapper\",\"trapping\",\"traps\",\"trash\",\"travel\",\"traverse\",\"travesty\",\"tray\",\"treachery\",\"treading\",\"treadmill\",\"treason\",\"treat\",\"treble\",\"tree\",\"trekker\",\"tremble\",\"trembling\",\"tremor\",\"trench\",\"trend\",\"trespass\",\"triage\",\"trial\",\"triangle\",\"tribesman\",\"tribunal\",\"tribune\",\"tributary\",\"tribute\",\"triceps\",\"trickery\",\"trickily\",\"tricking\",\"trickle\",\"trickster\",\"tricky\",\"tricolor\",\"tricycle\",\"trident\",\"tried\",\"trifle\",\"trifocals\",\"trillion\",\"trilogy\",\"trimester\",\"trimmer\",\"trimming\",\"trimness\",\"trinity\",\"trio\",\"tripod\",\"tripping\",\"triumph\",\"trivial\",\"trodden\",\"trolling\",\"trombone\",\"trophy\",\"tropical\",\"tropics\",\"trouble\",\"troubling\",\"trough\",\"trousers\",\"trout\",\"trowel\",\"truce\",\"truck\",\"truffle\",\"trump\",\"trunks\",\"trustable\",\"trustee\",\"trustful\",\"trusting\",\"trustless\",\"truth\",\"try\",\"tubby\",\"tubeless\",\"tubular\",\"tucking\",\"tuesday\",\"tug\",\"tuition\",\"tulip\",\"tumble\",\"tumbling\",\"tummy\",\"turban\",\"turbine\",\"turbofan\",\"turbojet\",\"turbulent\",\"turf\",\"turkey\",\"turmoil\",\"turret\",\"turtle\",\"tusk\",\"tutor\",\"tutu\",\"tux\",\"tweak\",\"tweed\",\"tweet\",\"tweezers\",\"twelve\",\"twentieth\",\"twenty\",\"twerp\",\"twice\",\"twiddle\",\"twiddling\",\"twig\",\"twilight\",\"twine\",\"twins\",\"twirl\",\"twistable\",\"twisted\",\"twister\",\"twisting\",\"twisty\",\"twitch\",\"twitter\",\"tycoon\",\"tying\",\"tyke\",\"udder\",\"ultimate\",\"ultimatum\",\"ultra\",\"umbilical\",\"umbrella\",\"umpire\",\"unabashed\",\"unable\",\"unadorned\",\"unadvised\",\"unafraid\",\"unaired\",\"unaligned\",\"unaltered\",\"unarmored\",\"unashamed\",\"unaudited\",\"unawake\",\"unaware\",\"unbaked\",\"unbalance\",\"unbeaten\",\"unbend\",\"unbent\",\"unbiased\",\"unbitten\",\"unblended\",\"unblessed\",\"unblock\",\"unbolted\",\"unbounded\",\"unboxed\",\"unbraided\",\"unbridle\",\"unbroken\",\"unbuckled\",\"unbundle\",\"unburned\",\"unbutton\",\"uncanny\",\"uncapped\",\"uncaring\",\"uncertain\",\"unchain\",\"unchanged\",\"uncharted\",\"uncheck\",\"uncivil\",\"unclad\",\"unclaimed\",\"unclamped\",\"unclasp\",\"uncle\",\"unclip\",\"uncloak\",\"unclog\",\"unclothed\",\"uncoated\",\"uncoiled\",\"uncolored\",\"uncombed\",\"uncommon\",\"uncooked\",\"uncork\",\"uncorrupt\",\"uncounted\",\"uncouple\",\"uncouth\",\"uncover\",\"uncross\",\"uncrown\",\"uncrushed\",\"uncured\",\"uncurious\",\"uncurled\",\"uncut\",\"undamaged\",\"undated\",\"undaunted\",\"undead\",\"undecided\",\"undefined\",\"underage\",\"underarm\",\"undercoat\",\"undercook\",\"undercut\",\"underdog\",\"underdone\",\"underfed\",\"underfeed\",\"underfoot\",\"undergo\",\"undergrad\",\"underhand\",\"underline\",\"underling\",\"undermine\",\"undermost\",\"underpaid\",\"underpass\",\"underpay\",\"underrate\",\"undertake\",\"undertone\",\"undertook\",\"undertow\",\"underuse\",\"underwear\",\"underwent\",\"underwire\",\"undesired\",\"undiluted\",\"undivided\",\"undocked\",\"undoing\",\"undone\",\"undrafted\",\"undress\",\"undrilled\",\"undusted\",\"undying\",\"unearned\",\"unearth\",\"unease\",\"uneasily\",\"uneasy\",\"uneatable\",\"uneaten\",\"unedited\",\"unelected\",\"unending\",\"unengaged\",\"unenvied\",\"unequal\",\"unethical\",\"uneven\",\"unexpired\",\"unexposed\",\"unfailing\",\"unfair\",\"unfasten\",\"unfazed\",\"unfeeling\",\"unfiled\",\"unfilled\",\"unfitted\",\"unfitting\",\"unfixable\",\"unfixed\",\"unflawed\",\"unfocused\",\"unfold\",\"unfounded\",\"unframed\",\"unfreeze\",\"unfrosted\",\"unfrozen\",\"unfunded\",\"unglazed\",\"ungloved\",\"unglue\",\"ungodly\",\"ungraded\",\"ungreased\",\"unguarded\",\"unguided\",\"unhappily\",\"unhappy\",\"unharmed\",\"unhealthy\",\"unheard\",\"unhearing\",\"unheated\",\"unhelpful\",\"unhidden\",\"unhinge\",\"unhitched\",\"unholy\",\"unhook\",\"unicorn\",\"unicycle\",\"unified\",\"unifier\",\"uniformed\",\"uniformly\",\"unify\",\"unimpeded\",\"uninjured\",\"uninstall\",\"uninsured\",\"uninvited\",\"union\",\"uniquely\",\"unisexual\",\"unison\",\"unissued\",\"unit\",\"universal\",\"universe\",\"unjustly\",\"unkempt\",\"unkind\",\"unknotted\",\"unknowing\",\"unknown\",\"unlaced\",\"unlatch\",\"unlawful\",\"unleaded\",\"unlearned\",\"unleash\",\"unless\",\"unleveled\",\"unlighted\",\"unlikable\",\"unlimited\",\"unlined\",\"unlinked\",\"unlisted\",\"unlit\",\"unlivable\",\"unloaded\",\"unloader\",\"unlocked\",\"unlocking\",\"unlovable\",\"unloved\",\"unlovely\",\"unloving\",\"unluckily\",\"unlucky\",\"unmade\",\"unmanaged\",\"unmanned\",\"unmapped\",\"unmarked\",\"unmasked\",\"unmasking\",\"unmatched\",\"unmindful\",\"unmixable\",\"unmixed\",\"unmolded\",\"unmoral\",\"unmovable\",\"unmoved\",\"unmoving\",\"unnamable\",\"unnamed\",\"unnatural\",\"unneeded\",\"unnerve\",\"unnerving\",\"unnoticed\",\"unopened\",\"unopposed\",\"unpack\",\"unpadded\",\"unpaid\",\"unpainted\",\"unpaired\",\"unpaved\",\"unpeeled\",\"unpicked\",\"unpiloted\",\"unpinned\",\"unplanned\",\"unplanted\",\"unpleased\",\"unpledged\",\"unplowed\",\"unplug\",\"unpopular\",\"unproven\",\"unquote\",\"unranked\",\"unrated\",\"unraveled\",\"unreached\",\"unread\",\"unreal\",\"unreeling\",\"unrefined\",\"unrelated\",\"unrented\",\"unrest\",\"unretired\",\"unrevised\",\"unrigged\",\"unripe\",\"unrivaled\",\"unroasted\",\"unrobed\",\"unroll\",\"unruffled\",\"unruly\",\"unrushed\",\"unsaddle\",\"unsafe\",\"unsaid\",\"unsalted\",\"unsaved\",\"unsavory\",\"unscathed\",\"unscented\",\"unscrew\",\"unsealed\",\"unseated\",\"unsecured\",\"unseeing\",\"unseemly\",\"unseen\",\"unselect\",\"unselfish\",\"unsent\",\"unsettled\",\"unshackle\",\"unshaken\",\"unshaved\",\"unshaven\",\"unsheathe\",\"unshipped\",\"unsightly\",\"unsigned\",\"unskilled\",\"unsliced\",\"unsmooth\",\"unsnap\",\"unsocial\",\"unsoiled\",\"unsold\",\"unsolved\",\"unsorted\",\"unspoiled\",\"unspoken\",\"unstable\",\"unstaffed\",\"unstamped\",\"unsteady\",\"unsterile\",\"unstirred\",\"unstitch\",\"unstopped\",\"unstuck\",\"unstuffed\",\"unstylish\",\"unsubtle\",\"unsubtly\",\"unsuited\",\"unsure\",\"unsworn\",\"untagged\",\"untainted\",\"untaken\",\"untamed\",\"untangled\",\"untapped\",\"untaxed\",\"unthawed\",\"unthread\",\"untidy\",\"untie\",\"until\",\"untimed\",\"untimely\",\"untitled\",\"untoasted\",\"untold\",\"untouched\",\"untracked\",\"untrained\",\"untreated\",\"untried\",\"untrimmed\",\"untrue\",\"untruth\",\"unturned\",\"untwist\",\"untying\",\"unusable\",\"unused\",\"unusual\",\"unvalued\",\"unvaried\",\"unvarying\",\"unveiled\",\"unveiling\",\"unvented\",\"unviable\",\"unvisited\",\"unvocal\",\"unwanted\",\"unwarlike\",\"unwary\",\"unwashed\",\"unwatched\",\"unweave\",\"unwed\",\"unwelcome\",\"unwell\",\"unwieldy\",\"unwilling\",\"unwind\",\"unwired\",\"unwitting\",\"unwomanly\",\"unworldly\",\"unworn\",\"unworried\",\"unworthy\",\"unwound\",\"unwoven\",\"unwrapped\",\"unwritten\",\"unzip\",\"upbeat\",\"upchuck\",\"upcoming\",\"upcountry\",\"update\",\"upfront\",\"upgrade\",\"upheaval\",\"upheld\",\"uphill\",\"uphold\",\"uplifted\",\"uplifting\",\"upload\",\"upon\",\"upper\",\"upright\",\"uprising\",\"upriver\",\"uproar\",\"uproot\",\"upscale\",\"upside\",\"upstage\",\"upstairs\",\"upstart\",\"upstate\",\"upstream\",\"upstroke\",\"upswing\",\"uptake\",\"uptight\",\"uptown\",\"upturned\",\"upward\",\"upwind\",\"uranium\",\"urban\",\"urchin\",\"urethane\",\"urgency\",\"urgent\",\"urging\",\"urologist\",\"urology\",\"usable\",\"usage\",\"useable\",\"used\",\"uselessly\",\"user\",\"usher\",\"usual\",\"utensil\",\"utility\",\"utilize\",\"utmost\",\"utopia\",\"utter\",\"vacancy\",\"vacant\",\"vacate\",\"vacation\",\"vagabond\",\"vagrancy\",\"vagrantly\",\"vaguely\",\"vagueness\",\"valiant\",\"valid\",\"valium\",\"valley\",\"valuables\",\"value\",\"vanilla\",\"vanish\",\"vanity\",\"vanquish\",\"vantage\",\"vaporizer\",\"variable\",\"variably\",\"varied\",\"variety\",\"various\",\"varmint\",\"varnish\",\"varsity\",\"varying\",\"vascular\",\"vaseline\",\"vastly\",\"vastness\",\"veal\",\"vegan\",\"veggie\",\"vehicular\",\"velcro\",\"velocity\",\"velvet\",\"vendetta\",\"vending\",\"vendor\",\"veneering\",\"vengeful\",\"venomous\",\"ventricle\",\"venture\",\"venue\",\"venus\",\"verbalize\",\"verbally\",\"verbose\",\"verdict\",\"verify\",\"verse\",\"version\",\"versus\",\"vertebrae\",\"vertical\",\"vertigo\",\"very\",\"vessel\",\"vest\",\"veteran\",\"veto\",\"vexingly\",\"viability\",\"viable\",\"vibes\",\"vice\",\"vicinity\",\"victory\",\"video\",\"viewable\",\"viewer\",\"viewing\",\"viewless\",\"viewpoint\",\"vigorous\",\"village\",\"villain\",\"vindicate\",\"vineyard\",\"vintage\",\"violate\",\"violation\",\"violator\",\"violet\",\"violin\",\"viper\",\"viral\",\"virtual\",\"virtuous\",\"virus\",\"visa\",\"viscosity\",\"viscous\",\"viselike\",\"visible\",\"visibly\",\"vision\",\"visiting\",\"visitor\",\"visor\",\"vista\",\"vitality\",\"vitalize\",\"vitally\",\"vitamins\",\"vivacious\",\"vividly\",\"vividness\",\"vixen\",\"vocalist\",\"vocalize\",\"vocally\",\"vocation\",\"voice\",\"voicing\",\"void\",\"volatile\",\"volley\",\"voltage\",\"volumes\",\"voter\",\"voting\",\"voucher\",\"vowed\",\"vowel\",\"voyage\",\"wackiness\",\"wad\",\"wafer\",\"waffle\",\"waged\",\"wager\",\"wages\",\"waggle\",\"wagon\",\"wake\",\"waking\",\"walk\",\"walmart\",\"walnut\",\"walrus\",\"waltz\",\"wand\",\"wannabe\",\"wanted\",\"wanting\",\"wasabi\",\"washable\",\"washbasin\",\"washboard\",\"washbowl\",\"washcloth\",\"washday\",\"washed\",\"washer\",\"washhouse\",\"washing\",\"washout\",\"washroom\",\"washstand\",\"washtub\",\"wasp\",\"wasting\",\"watch\",\"water\",\"waviness\",\"waving\",\"wavy\",\"whacking\",\"whacky\",\"wham\",\"wharf\",\"wheat\",\"whenever\",\"whiff\",\"whimsical\",\"whinny\",\"whiny\",\"whisking\",\"whoever\",\"whole\",\"whomever\",\"whoopee\",\"whooping\",\"whoops\",\"why\",\"wick\",\"widely\",\"widen\",\"widget\",\"widow\",\"width\",\"wieldable\",\"wielder\",\"wife\",\"wifi\",\"wikipedia\",\"wildcard\",\"wildcat\",\"wilder\",\"wildfire\",\"wildfowl\",\"wildland\",\"wildlife\",\"wildly\",\"wildness\",\"willed\",\"willfully\",\"willing\",\"willow\",\"willpower\",\"wilt\",\"wimp\",\"wince\",\"wincing\",\"wind\",\"wing\",\"winking\",\"winner\",\"winnings\",\"winter\",\"wipe\",\"wired\",\"wireless\",\"wiring\",\"wiry\",\"wisdom\",\"wise\",\"wish\",\"wisplike\",\"wispy\",\"wistful\",\"wizard\",\"wobble\",\"wobbling\",\"wobbly\",\"wok\",\"wolf\",\"wolverine\",\"womanhood\",\"womankind\",\"womanless\",\"womanlike\",\"womanly\",\"womb\",\"woof\",\"wooing\",\"wool\",\"woozy\",\"word\",\"work\",\"worried\",\"worrier\",\"worrisome\",\"worry\",\"worsening\",\"worshiper\",\"worst\",\"wound\",\"woven\",\"wow\",\"wrangle\",\"wrath\",\"wreath\",\"wreckage\",\"wrecker\",\"wrecking\",\"wrench\",\"wriggle\",\"wriggly\",\"wrinkle\",\"wrinkly\",\"wrist\",\"writing\",\"written\",\"wrongdoer\",\"wronged\",\"wrongful\",\"wrongly\",\"wrongness\",\"wrought\",\"xbox\",\"xerox\",\"yahoo\",\"yam\",\"yanking\",\"yapping\",\"yard\",\"yarn\",\"yeah\",\"yearbook\",\"yearling\",\"yearly\",\"yearning\",\"yeast\",\"yelling\",\"yelp\",\"yen\",\"yesterday\",\"yiddish\",\"yield\",\"yin\",\"yippee\",\"yo-yo\",\"yodel\",\"yoga\",\"yogurt\",\"yonder\",\"yoyo\",\"yummy\",\"zap\",\"zealous\",\"zebra\",\"zen\",\"zeppelin\",\"zero\",\"zestfully\",\"zesty\",\"zigzagged\",\"zipfile\",\"zipping\",\"zippy\",\"zips\",\"zit\",\"zodiac\",\"zombie\",\"zone\",\"zoning\",\"zookeeper\",\"zoologist\",\"zoology\",\"zoom\"]});var bE=V(zp=>{\"use strict\";b();Object.defineProperty(zp,\"__esModule\",{value:!0});zp.newSecureWords=void 0;var wK=Np(),yE=mE();async function xK(e=6){let t=[];for(let n=0;n<e;n++)t.push(yE.wordlist[await(0,wK.getSecureRandomNumber)(0,yE.wordlist.length)]);return t}zp.newSecureWords=xK});var vE=V(Dp=>{\"use strict\";b();Object.defineProperty(Dp,\"__esModule\",{value:!0});Dp.newSecurePassphrase=void 0;var CK=Ms();async function SK(e=6){return(await(0,CK.newSecureWords)(e)).join(\"-\")}Dp.newSecurePassphrase=SK});var xE=V(Rs=>{\"use strict\";b();Object.defineProperty(Rs,\"__esModule\",{value:!0});Rs.bitsToBytes=Rs.bytesToBits=Rs.lpad=void 0;function wE(e,t,n){for(;e.length<n;)e=t+e;return e}Rs.lpad=wE;function _K(e){let t=\"\";for(let n=0;n<e.length;n++){let r=e.at(n);t+=wE(r.toString(2),\"0\",8)}return t}Rs.bytesToBits=_K;function TK(e){if(e.length%8!==0)throw Error(\"Uneven bits\");let t=[];for(;e.length>0;)t.push(parseInt(e.slice(0,8),2)),e=e.slice(8);return globalThis.Buffer.from(t)}Rs.bitsToBytes=TK});var b3=V(Lp=>{\"use strict\";b();Object.defineProperty(Lp,\"__esModule\",{value:!0});Lp.wordlist=void 0;var EK=[\"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\"];Lp.wordlist=EK});var _3=V(wn=>{\"use strict\";b();var AK=wn&&wn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(wn,\"__esModule\",{value:!0});wn.mnemonicFromRandomSeed=wn.mnemonicIndexesToBytes=wn.bytesToMnemonics=wn.bytesToMnemonicIndexes=wn.mnemonicNew=wn.mnemonicValidate=wn.mnemonicToHDSeed=wn.mnemonicToWalletKey=wn.mnemonicToPrivateKey=wn.mnemonicToSeed=wn.mnemonicToEntropy=void 0;var CE=AK(Kg()),kK=Np(),BK=zu(),qp=y3(),v3=xE(),jp=b3(),w3=1e5;async function SE(e){let t=await Rh(e);return await MK(t)&&!await C3(t)}function x3(e){return e.map(t=>t.toLowerCase().trim())}async function C3(e){return(await(0,qp.pbkdf2_sha512)(e,\"TON seed version\",Math.max(1,Math.floor(w3/256)),64))[0]==0}async function MK(e){return(await(0,qp.pbkdf2_sha512)(e,\"TON fast seed version\",1,64))[0]==1}async function Rh(e,t){return await(0,BK.hmac_sha512)(e.join(\" \"),t&&t.length>0?t:\"\")}wn.mnemonicToEntropy=Rh;async function S3(e,t,n){let r=await Rh(e,n);return await(0,qp.pbkdf2_sha512)(r,t,w3,64)}wn.mnemonicToSeed=S3;async function _E(e,t){e=x3(e);let n=await S3(e,\"TON default seed\",t),r=CE.default.sign.keyPair.fromSeed(n.slice(0,32));return{publicKey:globalThis.Buffer.from(r.publicKey),secretKey:globalThis.Buffer.from(r.secretKey)}}wn.mnemonicToPrivateKey=_E;async function RK(e,t){let r=(await _E(e,t)).secretKey.slice(0,32),i=CE.default.sign.keyPair.fromSeed(r);return{publicKey:globalThis.Buffer.from(i.publicKey),secretKey:globalThis.Buffer.from(i.secretKey)}}wn.mnemonicToWalletKey=RK;async function UK(e,t){return e=x3(e),await S3(e,\"TON HD Keys seed\",t)}wn.mnemonicToHDSeed=UK;async function TE(e,t){e=x3(e);for(let n of e)if(jp.wordlist.indexOf(n)<0)return!1;return t&&t.length>0&&!await SE(e)?!1:await C3(await Rh(e,t))}wn.mnemonicValidate=TE;async function OK(e=24,t){let n=[];for(;;){n=[];for(let r=0;r<e;r++){let i=await(0,kK.getSecureRandomNumber)(0,jp.wordlist.length);n.push(jp.wordlist[i])}if(!(t&&t.length>0&&!await SE(n))&&await C3(await Rh(n,t)))break}return n}wn.mnemonicNew=OK;function EE(e,t){let n=(0,v3.bytesToBits)(e),r=[];for(let i=0;i<t;i++){let a=n.slice(i*11,i*11+11);r.push(parseInt(a,2))}return r}wn.bytesToMnemonicIndexes=EE;function AE(e,t){let n=EE(e,t),r=[];for(let i of n)r.push(jp.wordlist[i]);return r}wn.bytesToMnemonics=AE;function IK(e){let t=\"\";for(let n of e){if(!Number.isSafeInteger(n)||n<0||n>=2028)throw Error(\"Invalid input\");t+=(0,v3.lpad)(n.toString(2),\"0\",11)}for(;t.length%8!==0;)t=t+\"0\";return(0,v3.bitsToBytes)(t)}wn.mnemonicIndexesToBytes=IK;async function NK(e,t=24,n){let r=Math.ceil(t*11/8),i=e;for(;;){let a=await(0,qp.pbkdf2_sha512)(i,\"TON mnemonic seed\",Math.max(1,Math.floor(w3/256)),r),o=AE(a,t);if(await TE(o,n))return o;i=a}}wn.mnemonicFromRandomSeed=NK});var T3=V(Sr=>{\"use strict\";b();var PK=Sr&&Sr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Sr,\"__esModule\",{value:!0});Sr.openBox=Sr.sealBox=Sr.signVerify=Sr.sign=Sr.keyPairFromSeed=Sr.keyPairFromSecretKey=void 0;var Du=PK(Kg());function zK(e){let t=Du.default.sign.keyPair.fromSecretKey(new Uint8Array(e));return{publicKey:globalThis.Buffer.from(t.publicKey),secretKey:globalThis.Buffer.from(t.secretKey)}}Sr.keyPairFromSecretKey=zK;function DK(e){let t=Du.default.sign.keyPair.fromSeed(new Uint8Array(e));return{publicKey:globalThis.Buffer.from(t.publicKey),secretKey:globalThis.Buffer.from(t.secretKey)}}Sr.keyPairFromSeed=DK;function LK(e,t){return globalThis.Buffer.from(Du.default.sign.detached(new Uint8Array(e),new Uint8Array(t)))}Sr.sign=LK;function jK(e,t,n){return Du.default.sign.detached.verify(new Uint8Array(e),new Uint8Array(t),new Uint8Array(n))}Sr.signVerify=jK;function qK(e,t,n){return globalThis.Buffer.from(Du.default.secretbox(e,t,n))}Sr.sealBox=qK;function HK(e,t,n){let r=Du.default.secretbox.open(e,t,n);return r?globalThis.Buffer.from(r):null}Sr.openBox=HK});var UE=V(Us=>{\"use strict\";b();Object.defineProperty(Us,\"__esModule\",{value:!0});Us.deriveEd25519Path=Us.deriveED25519HardenedKey=Us.getED25519MasterKeyFromSeed=void 0;var BE=zu(),VK=\"ed25519 seed\",kE=2147483648;async function ME(e){let t=await(0,BE.hmac_sha512)(VK,e),n=t.slice(0,32),r=t.slice(32);return{key:n,chainCode:r}}Us.getED25519MasterKeyFromSeed=ME;async function RE(e,t){if(t>=kE)throw Error(\"Key index must be less than offset\");let n=globalThis.Buffer.alloc(4);n.writeUInt32BE(t+kE,0);let r=globalThis.Buffer.concat([globalThis.Buffer.alloc(1,0),e.key,n]),i=await(0,BE.hmac_sha512)(e.chainCode,r),a=i.slice(0,32),o=i.slice(32);return{key:a,chainCode:o}}Us.deriveED25519HardenedKey=RE;async function WK(e,t){let n=await ME(e),r=[...t];for(;r.length>0;){let i=r[0];r=r.slice(1),n=await RE(n,i)}return n.key}Us.deriveEd25519Path=WK});var PE=V(Os=>{\"use strict\";b();Object.defineProperty(Os,\"__esModule\",{value:!0});Os.deriveSymmetricPath=Os.deriveSymmetricHardenedKey=Os.getSymmetricMasterKeyFromSeed=void 0;var OE=zu(),FK=\"Symmetric key seed\";async function IE(e){let t=await(0,OE.hmac_sha512)(FK,e),n=t.slice(32),r=t.slice(0,32);return{key:n,chainCode:r}}Os.getSymmetricMasterKeyFromSeed=IE;async function NE(e,t){let n=globalThis.Buffer.concat([globalThis.Buffer.alloc(1,0),globalThis.Buffer.from(t)]),r=await(0,OE.hmac_sha512)(e.chainCode,n),i=r.slice(32),a=r.slice(0,32);return{key:i,chainCode:a}}Os.deriveSymmetricHardenedKey=NE;async function KK(e,t){let n=await IE(e),r=[...t];for(;r.length>0;){let i=r[0];r=r.slice(1),n=await NE(n,i)}return n.key}Os.deriveSymmetricPath=KK});var qE=V(Is=>{\"use strict\";b();Object.defineProperty(Is,\"__esModule\",{value:!0});Is.deriveMnemonicsPath=Is.deriveMnemonicHardenedKey=Is.getMnemonicsMasterKeyFromSeed=void 0;var $K=_3(),DE=zu(),zE=2147483648,ZK=\"TON Mnemonics HD seed\";async function LE(e){let t=await(0,DE.hmac_sha512)(ZK,e),n=t.slice(0,32),r=t.slice(32);return{key:n,chainCode:r}}Is.getMnemonicsMasterKeyFromSeed=LE;async function jE(e,t){if(t>=zE)throw Error(\"Key index must be less than offset\");let n=globalThis.Buffer.alloc(4);n.writeUInt32BE(t+zE,0);let r=globalThis.Buffer.concat([globalThis.Buffer.alloc(1,0),e.key,n]),i=await(0,DE.hmac_sha512)(e.chainCode,r),a=i.slice(0,32),o=i.slice(32);return{key:a,chainCode:o}}Is.deriveMnemonicHardenedKey=jE;async function YK(e,t,n=24,r){let i=await LE(e),a=[...t];for(;a.length>0;){let o=a[0];a=a.slice(1),i=await jE(i,o)}return await(0,$K.mnemonicFromRandomSeed)(i.key,n,r)}Is.deriveMnemonicsPath=YK});var Ms=V(ze=>{\"use strict\";b();Object.defineProperty(ze,\"__esModule\",{value:!0});ze.getMnemonicsMasterKeyFromSeed=ze.deriveMnemonicHardenedKey=ze.deriveMnemonicsPath=ze.deriveSymmetricPath=ze.deriveSymmetricHardenedKey=ze.getSymmetricMasterKeyFromSeed=ze.deriveEd25519Path=ze.deriveED25519HardenedKey=ze.getED25519MasterKeyFromSeed=ze.signVerify=ze.sign=ze.keyPairFromSecretKey=ze.keyPairFromSeed=ze.openBox=ze.sealBox=ze.mnemonicWordList=ze.mnemonicToHDSeed=ze.mnemonicToSeed=ze.mnemonicToWalletKey=ze.mnemonicToPrivateKey=ze.mnemonicValidate=ze.mnemonicNew=ze.newSecurePassphrase=ze.newSecureWords=ze.getSecureRandomNumber=ze.getSecureRandomWords=ze.getSecureRandomBytes=ze.hmac_sha512=ze.pbkdf2_sha512=ze.sha512_sync=ze.sha512=ze.sha256_sync=ze.sha256=void 0;var HE=dE();Object.defineProperty(ze,\"sha256\",{enumerable:!0,get:function(){return HE.sha256}});Object.defineProperty(ze,\"sha256_sync\",{enumerable:!0,get:function(){return HE.sha256_sync}});var VE=hE();Object.defineProperty(ze,\"sha512\",{enumerable:!0,get:function(){return VE.sha512}});Object.defineProperty(ze,\"sha512_sync\",{enumerable:!0,get:function(){return VE.sha512_sync}});var GK=y3();Object.defineProperty(ze,\"pbkdf2_sha512\",{enumerable:!0,get:function(){return GK.pbkdf2_sha512}});var QK=zu();Object.defineProperty(ze,\"hmac_sha512\",{enumerable:!0,get:function(){return QK.hmac_sha512}});var E3=Np();Object.defineProperty(ze,\"getSecureRandomBytes\",{enumerable:!0,get:function(){return E3.getSecureRandomBytes}});Object.defineProperty(ze,\"getSecureRandomWords\",{enumerable:!0,get:function(){return E3.getSecureRandomWords}});Object.defineProperty(ze,\"getSecureRandomNumber\",{enumerable:!0,get:function(){return E3.getSecureRandomNumber}});var XK=bE();Object.defineProperty(ze,\"newSecureWords\",{enumerable:!0,get:function(){return XK.newSecureWords}});var JK=vE();Object.defineProperty(ze,\"newSecurePassphrase\",{enumerable:!0,get:function(){return JK.newSecurePassphrase}});var Lu=_3();Object.defineProperty(ze,\"mnemonicNew\",{enumerable:!0,get:function(){return Lu.mnemonicNew}});Object.defineProperty(ze,\"mnemonicValidate\",{enumerable:!0,get:function(){return Lu.mnemonicValidate}});Object.defineProperty(ze,\"mnemonicToPrivateKey\",{enumerable:!0,get:function(){return Lu.mnemonicToPrivateKey}});Object.defineProperty(ze,\"mnemonicToWalletKey\",{enumerable:!0,get:function(){return Lu.mnemonicToWalletKey}});Object.defineProperty(ze,\"mnemonicToSeed\",{enumerable:!0,get:function(){return Lu.mnemonicToSeed}});Object.defineProperty(ze,\"mnemonicToHDSeed\",{enumerable:!0,get:function(){return Lu.mnemonicToHDSeed}});var e$=b3();Object.defineProperty(ze,\"mnemonicWordList\",{enumerable:!0,get:function(){return e$.wordlist}});var WE=T3();Object.defineProperty(ze,\"sealBox\",{enumerable:!0,get:function(){return WE.sealBox}});Object.defineProperty(ze,\"openBox\",{enumerable:!0,get:function(){return WE.openBox}});var Hp=T3();Object.defineProperty(ze,\"keyPairFromSeed\",{enumerable:!0,get:function(){return Hp.keyPairFromSeed}});Object.defineProperty(ze,\"keyPairFromSecretKey\",{enumerable:!0,get:function(){return Hp.keyPairFromSecretKey}});Object.defineProperty(ze,\"sign\",{enumerable:!0,get:function(){return Hp.sign}});Object.defineProperty(ze,\"signVerify\",{enumerable:!0,get:function(){return Hp.signVerify}});var A3=UE();Object.defineProperty(ze,\"getED25519MasterKeyFromSeed\",{enumerable:!0,get:function(){return A3.getED25519MasterKeyFromSeed}});Object.defineProperty(ze,\"deriveED25519HardenedKey\",{enumerable:!0,get:function(){return A3.deriveED25519HardenedKey}});Object.defineProperty(ze,\"deriveEd25519Path\",{enumerable:!0,get:function(){return A3.deriveEd25519Path}});var k3=PE();Object.defineProperty(ze,\"getSymmetricMasterKeyFromSeed\",{enumerable:!0,get:function(){return k3.getSymmetricMasterKeyFromSeed}});Object.defineProperty(ze,\"deriveSymmetricHardenedKey\",{enumerable:!0,get:function(){return k3.deriveSymmetricHardenedKey}});Object.defineProperty(ze,\"deriveSymmetricPath\",{enumerable:!0,get:function(){return k3.deriveSymmetricPath}});var B3=qE();Object.defineProperty(ze,\"deriveMnemonicsPath\",{enumerable:!0,get:function(){return B3.deriveMnemonicsPath}});Object.defineProperty(ze,\"deriveMnemonicHardenedKey\",{enumerable:!0,get:function(){return B3.deriveMnemonicHardenedKey}});Object.defineProperty(ze,\"getMnemonicsMasterKeyFromSeed\",{enumerable:!0,get:function(){return B3.getMnemonicsMasterKeyFromSeed}})});var FE=V(Vp=>{\"use strict\";b();Object.defineProperty(Vp,\"__esModule\",{value:!0});Vp.wonderCalculator=void 0;var t$=ko(),Oa=Mu(),Uh=Sp(),n$=Tp(),r$=Bh(),i$=g3(),a$=Ms(),o$=xp(),s$=f3();function l$(e,t,n){let r,i=null;if(e===Oa.CellType.Ordinary){let h=0;for(let g of n)h=h|g.mask.value;r=new Uh.LevelMask(h)}else if(e===Oa.CellType.PrunedBranch)i=(0,n$.exoticPruned)(t,n),r=new Uh.LevelMask(i.mask);else if(e===Oa.CellType.MerkleProof){let h=(0,r$.exoticMerkleProof)(t,n);r=new Uh.LevelMask(n[0].mask.value>>1)}else if(e===Oa.CellType.MerkleUpdate){let h=(0,o$.exoticMerkleUpdate)(t,n);r=new Uh.LevelMask((n[0].mask.value|n[1].mask.value)>>1)}else if(e===Oa.CellType.Library){let h=(0,s$.exoticLibrary)(t,n);r=new Uh.LevelMask}else throw new Error(\"Unsupported exotic type\");let a=[],o=[],s=e===Oa.CellType.PrunedBranch?1:r.hashCount,c=r.hashCount-s;for(let h=0,g=0;h<=r.level;h++){if(!r.isSignificant(h))continue;if(g<c){g++;continue}let y;if(g===c){if(!(h===0||e===Oa.CellType.PrunedBranch))throw Error(\"Invalid\");y=t}else{if(!(h!==0&&e!==Oa.CellType.PrunedBranch))throw Error(\"Invalid: \"+h+\", \"+e);y=new t$.BitString(o[g-c-1],0,256)}let E=0;for(let T of n){let R;e==Oa.CellType.MerkleProof||e==Oa.CellType.MerkleUpdate?R=T.depth(h+1):R=T.depth(h),E=Math.max(E,R)}n.length>0&&E++;let L=(0,i$.getRepr)(t,y,n,h,r.apply(h).value,e),C=(0,a$.sha256_sync)(L),v=g-c;a[v]=E,o[v]=C,g++}let u=[],d=[];if(i)for(let h=0;h<4;h++){let{hashIndex:g}=r.apply(h),{hashIndex:y}=r;g!==y?(u.push(i.pruned[g].hash),d.push(i.pruned[g].depth)):(u.push(o[0]),d.push(a[0]))}else for(let h=0;h<4;h++)u.push(o[r.apply(h).hashIndex]),d.push(a[r.apply(h).hashIndex]);return{mask:r,hashes:u,depths:d}}Vp.wonderCalculator=l$});var KE=V(Wp=>{\"use strict\";b();Object.defineProperty(Wp,\"__esModule\",{value:!0});Wp.topologicalSort=void 0;function c$(e){let t=[e],n=new Map,r=new Set,i=[];for(;t.length>0;){let c=[...t];t=[];for(let u of c){let d=u.hash().toString(\"hex\");if(!n.has(d)){r.add(d),n.set(d,{cell:u,refs:u.refs.map(h=>h.hash().toString(\"hex\"))});for(let h of u.refs)t.push(h)}}}let a=new Set;function o(c){if(!r.has(c))return;if(a.has(c))throw Error(\"Not a DAG\");a.add(c);let u=n.get(c).refs;for(let d=u.length-1;d>=0;d--)o(u[d]);i.push(c),a.delete(c),r.delete(c)}for(;r.size>0;){let c=Array.from(r)[0];o(c)}let s=new Map;for(let c=0;c<i.length;c++)s.set(i[i.length-c-1],c);let l=[];for(let c=i.length-1;c>=0;c--){let u=i[c],d=n.get(u);l.push({cell:d.cell,refs:d.refs.map(h=>s.get(h))})}return l}Wp.topologicalSort=c$});var $E=V(Fp=>{\"use strict\";b();Object.defineProperty(Fp,\"__esModule\",{value:!0});Fp.bitsForNumber=void 0;function u$(e,t){let n=BigInt(e);if(t===\"int\")return n===0n||n===-1n?1:(n>0?n:-n).toString(2).length+1;if(t===\"uint\"){if(n<0)throw Error(`value is negative. Got ${e}`);return n.toString(2).length}else throw Error(`invalid mode. Got ${t}`)}Fp.bitsForNumber=u$});var M3=V(Kp=>{\"use strict\";b();Object.defineProperty(Kp,\"__esModule\",{value:!0});Kp.crc32c=void 0;var Ns=2197175160;function d$(e){let t=-1;for(let r=0;r<e.length;r++)t^=e[r],t=t&1?t>>>1^Ns:t>>>1,t=t&1?t>>>1^Ns:t>>>1,t=t&1?t>>>1^Ns:t>>>1,t=t&1?t>>>1^Ns:t>>>1,t=t&1?t>>>1^Ns:t>>>1,t=t&1?t>>>1^Ns:t>>>1,t=t&1?t>>>1^Ns:t>>>1,t=t&1?t>>>1^Ns:t>>>1;t=t^4294967295;let n=globalThis.Buffer.alloc(4);return n.writeInt32LE(t),n}Kp.crc32c=d$});var JE=V(Ps=>{\"use strict\";b();Object.defineProperty(Ps,\"__esModule\",{value:!0});Ps.serializeBoc=Ps.deserializeBoc=Ps.parseBoc=void 0;var QE=Bo(),U3=ko(),f$=Ts(),h$=KE(),ZE=$E(),g$=Ah(),YE=g3(),p$=Eh(),R3=M3();function GE(e){return m$(e&7)}function m$(e){let t=0;for(let n=0;n<3;n++)t+=e&1,e=e>>1;return t+1}function y$(e,t){let n=e.loadUint(8),r=n%8,i=!!(n&8),a=e.loadUint(8),o=Math.ceil(a/2),s=!!(a%2),l=n>>5,c=(n&16)!=0,d=c?GE(l)*32:0,h=c?GE(l)*2:0;e.skip(d*8),e.skip(h*8);let g=U3.BitString.EMPTY;o>0&&(s?g=e.loadPaddedBits(o*8):g=e.loadBits(o*8));let y=[];for(let E=0;E<r;E++)y.push(e.loadUint(t*8));return{bits:g,refs:y,exotic:i}}function b$(e,t){return 2+Math.ceil(e.bits.length/8)+e.refs.length*t}function XE(e){let t=new QE.BitReader(new U3.BitString(e,0,e.length*8)),n=t.loadUint(32);if(n===1761568243){let r=t.loadUint(8),i=t.loadUint(8),a=t.loadUint(r*8),o=t.loadUint(r*8),s=t.loadUint(r*8),l=t.loadUint(i*8),c=t.loadBuffer(a*i),u=t.loadBuffer(l);return{size:r,offBytes:i,cells:a,roots:o,absent:s,totalCellSize:l,index:c,cellData:u,root:[0]}}else if(n===2898503464){let r=t.loadUint(8),i=t.loadUint(8),a=t.loadUint(r*8),o=t.loadUint(r*8),s=t.loadUint(r*8),l=t.loadUint(i*8),c=t.loadBuffer(a*i),u=t.loadBuffer(l),d=t.loadBuffer(4);if(!(0,R3.crc32c)(e.subarray(0,e.length-4)).equals(d))throw Error(\"Invalid CRC32C\");return{size:r,offBytes:i,cells:a,roots:o,absent:s,totalCellSize:l,index:c,cellData:u,root:[0]}}else if(n===3052313714){let r=t.loadUint(1),i=t.loadUint(1),a=t.loadUint(1),o=t.loadUint(2),s=t.loadUint(3),l=t.loadUint(8),c=t.loadUint(s*8),u=t.loadUint(s*8),d=t.loadUint(s*8),h=t.loadUint(l*8),g=[];for(let L=0;L<u;L++)g.push(t.loadUint(s*8));let y=null;r&&(y=t.loadBuffer(c*l));let E=t.loadBuffer(h);if(i){let L=t.loadBuffer(4);if(!(0,R3.crc32c)(e.subarray(0,e.length-4)).equals(L))throw Error(\"Invalid CRC32C\")}return{size:s,offBytes:l,cells:c,roots:u,absent:d,totalCellSize:h,index:y,cellData:E,root:g}}else throw Error(\"Invalid magic\")}Ps.parseBoc=XE;function v$(e){let t=XE(e),n=new QE.BitReader(new U3.BitString(t.cellData,0,t.cellData.length*8)),r=[];for(let a=0;a<t.cells;a++){let o=y$(n,t.size);r.push({...o,result:null})}for(let a=r.length-1;a>=0;a--){if(r[a].result)throw Error(\"Impossible\");let o=[];for(let s of r[a].refs){if(!r[s].result)throw Error(\"Invalid BOC file\");o.push(r[s].result)}r[a].result=new f$.Cell({bits:r[a].bits,refs:o,exotic:r[a].exotic})}let i=[];for(let a=0;a<t.root.length;a++)i.push(r[t.root[a]].result);return i}Ps.deserializeBoc=v$;function w$(e,t,n,r){let i=(0,YE.getRefsDescriptor)(e.refs,e.mask.value,e.type),a=(0,YE.getBitsDescriptor)(e.bits);r.writeUint(i,8),r.writeUint(a,8),r.writeBuffer((0,p$.bitsToPaddedBuffer)(e.bits));for(let o of t)r.writeUint(o,n*8)}function x$(e,t){let n=(0,h$.topologicalSort)(e),r=n.length,i=t.idx,a=t.crc32,o=!1,s=0,l=Math.max(Math.ceil((0,ZE.bitsForNumber)(r,\"uint\")/8),1),c=0,u=[];for(let E of n){let L=b$(E.cell,l);c+=L,u.push(c)}let d=Math.max(Math.ceil((0,ZE.bitsForNumber)(c,\"uint\")/8),1),h=(6+3*l+d+1*l+(i?r*d:0)+c+(a?4:0))*8,g=new g$.BitBuilder(h);if(g.writeUint(3052313714,32),g.writeBit(i),g.writeBit(a),g.writeBit(o),g.writeUint(s,2),g.writeUint(l,3),g.writeUint(d,8),g.writeUint(r,l*8),g.writeUint(1,l*8),g.writeUint(0,l*8),g.writeUint(c,d*8),g.writeUint(0,l*8),i)for(let E=0;E<r;E++)g.writeUint(u[E],d*8);for(let E=0;E<r;E++)w$(n[E].cell,n[E].refs,l,g);if(a){let E=(0,R3.crc32c)(g.buffer());g.writeBuffer(E)}let y=g.buffer();if(y.length!==h/8)throw Error(\"Internal error\");return y}Ps.serializeBoc=x$});var Ts=V($p=>{\"use strict\";b();var nA;Object.defineProperty($p,\"__esModule\",{value:!0});$p.Cell=void 0;var C$=Il(),S$=ko(),Nl=Mu(),_$=bp(),T$=tE(),eA=FE(),tA=JE(),E$=Bo(),A$=Hn(),Oh=class e{static fromBoc(t){return(0,tA.deserializeBoc)(t)}static fromBase64(t){let n=e.fromBoc(globalThis.Buffer.from(t,\"base64\"));if(n.length!==1)throw new Error(\"Deserialized more than one cell\");return n[0]}static fromHex(t){let n=e.fromBoc(globalThis.Buffer.from(t,\"hex\"));if(n.length!==1)throw new Error(\"Deserialized more than one cell\");return n[0]}constructor(t){this._hashes=[],this._depths=[],this.beginParse=(l=!1)=>{if(this.isExotic&&!l)throw new Error(\"Exotic cells cannot be parsed\");return new _$.Slice(new E$.BitReader(this.bits),this.refs)},this.hash=(l=3)=>this._hashes[Math.min(this._hashes.length-1,l)],this.depth=(l=3)=>this._depths[Math.min(this._depths.length-1,l)],this.level=()=>this.mask.level,this.equals=l=>this.hash().equals(l.hash()),this[nA]=()=>this.toString();let n=S$.BitString.EMPTY;t&&t.bits&&(n=t.bits);let r=[];t&&t.refs&&(r=[...t.refs]);let i,a,o,s=Nl.CellType.Ordinary;if(t&&t.exotic){let l=(0,T$.resolveExotic)(n,r),c=(0,eA.wonderCalculator)(l.type,n,r);o=c.mask,a=c.depths,i=c.hashes,s=l.type}else{if(r.length>4)throw new Error(\"Invalid number of references\");if(n.length>1023)throw new Error(`Bits overflow: ${n.length} > 1023`);let l=(0,eA.wonderCalculator)(Nl.CellType.Ordinary,n,r);o=l.mask,a=l.depths,i=l.hashes,s=Nl.CellType.Ordinary}this.type=s,this.bits=n,this.refs=r,this.mask=o,this._depths=a,this._hashes=i,Object.freeze(this),Object.freeze(this.refs),Object.freeze(this.bits),Object.freeze(this.mask),Object.freeze(this._depths),Object.freeze(this._hashes)}get isExotic(){return this.type!==Nl.CellType.Ordinary}toBoc(t){let n=t&&t.idx!==null&&t.idx!==void 0?t.idx:!1,r=t&&t.crc32!==null&&t.crc32!==void 0?t.crc32:!0;return(0,tA.serializeBoc)(this,{idx:n,crc32:r})}toString(t){let n=t||\"\",r=\"x\";this.isExotic&&(this.type===Nl.CellType.MerkleProof?r=\"p\":this.type===Nl.CellType.MerkleUpdate?r=\"u\":this.type===Nl.CellType.PrunedBranch&&(r=\"p\"));let i=n+(this.isExotic?r:\"x\")+\"{\"+this.bits.toString()+\"}\";for(let a in this.refs){let o=this.refs[a];i+=`\n`+o.toString(n+\" \")}return i}asSlice(){return this.beginParse()}asBuilder(){return(0,A$.beginCell)().storeSlice(this.asSlice())}};$p.Cell=Oh;nA=C$.inspectSymbol;Oh.EMPTY=new Oh});var Hn=V(ju=>{\"use strict\";b();Object.defineProperty(ju,\"__esModule\",{value:!0});ju.Builder=ju.beginCell=void 0;var k$=Ah(),rA=Ts(),iA=u3();function aA(){return new Zp}ju.beginCell=aA;var Zp=class e{constructor(){this._bits=new k$.BitBuilder,this._refs=[]}get bits(){return this._bits.length}get refs(){return this._refs.length}get availableBits(){return 1023-this.bits}get availableRefs(){return 4-this.refs}storeBit(t){return this._bits.writeBit(t),this}storeBits(t){return this._bits.writeBits(t),this}storeBuffer(t,n){if(n!=null&&t.length!==n)throw Error(`Buffer length ${t.length} is not equal to ${n}`);return this._bits.writeBuffer(t),this}storeMaybeBuffer(t,n){return t!==null?(this.storeBit(1),this.storeBuffer(t,n)):this.storeBit(0),this}storeUint(t,n){return this._bits.writeUint(t,n),this}storeMaybeUint(t,n){return t!=null?(this.storeBit(1),this.storeUint(t,n)):this.storeBit(0),this}storeInt(t,n){return this._bits.writeInt(t,n),this}storeMaybeInt(t,n){return t!=null?(this.storeBit(1),this.storeInt(t,n)):this.storeBit(0),this}storeVarUint(t,n){return this._bits.writeVarUint(t,n),this}storeMaybeVarUint(t,n){return t!=null?(this.storeBit(1),this.storeVarUint(t,n)):this.storeBit(0),this}storeVarInt(t,n){return this._bits.writeVarInt(t,n),this}storeMaybeVarInt(t,n){return t!=null?(this.storeBit(1),this.storeVarInt(t,n)):this.storeBit(0),this}storeCoins(t){return this._bits.writeCoins(t),this}storeMaybeCoins(t){return t!=null?(this.storeBit(1),this.storeCoins(t)):this.storeBit(0),this}storeAddress(t){return this._bits.writeAddress(t),this}storeRef(t){if(this._refs.length>=4)throw new Error(\"Too many references\");if(t instanceof rA.Cell)this._refs.push(t);else if(t instanceof e)this._refs.push(t.endCell());else throw new Error(\"Invalid argument\");return this}storeMaybeRef(t){return t?(this.storeBit(1),this.storeRef(t)):this.storeBit(0),this}storeSlice(t){let n=t.clone();for(n.remainingBits>0&&this.storeBits(n.loadBits(n.remainingBits));n.remainingRefs>0;)this.storeRef(n.loadRef());return this}storeMaybeSlice(t){return t?(this.storeBit(1),this.storeSlice(t)):this.storeBit(0),this}storeBuilder(t){return this.storeSlice(t.endCell().beginParse())}storeMaybeBuilder(t){return t?(this.storeBit(1),this.storeBuilder(t)):this.storeBit(0),this}storeWritable(t){return typeof t==\"object\"?t.writeTo(this):t(this),this}storeMaybeWritable(t){return t?(this.storeBit(1),this.storeWritable(t)):this.storeBit(0),this}store(t){return this.storeWritable(t),this}storeStringTail(t){return(0,iA.writeString)(t,this),this}storeMaybeStringTail(t){return t!=null?(this.storeBit(1),(0,iA.writeString)(t,this)):this.storeBit(0),this}storeStringRefTail(t){return this.storeRef(aA().storeStringTail(t)),this}storeMaybeStringRefTail(t){return t!=null?(this.storeBit(1),this.storeStringRefTail(t)):this.storeBit(0),this}storeDict(t,n,r){return t?t.store(this,n,r):this.storeBit(0),this}storeDictDirect(t,n,r){return t.storeDirect(this,n,r),this}endCell(t){return new rA.Cell({bits:this._bits.build(),refs:this._refs,exotic:t?.exotic})}asCell(){return this.endCell()}asSlice(){return this.endCell().beginParse()}};ju.Builder=Zp});var O3=V(zs=>{\"use strict\";b();Object.defineProperty(zs,\"__esModule\",{value:!0});zs.SimpleLibraryValue=zs.storeSimpleLibrary=zs.loadSimpleLibrary=void 0;function oA(e){return{public:e.loadBit(),root:e.loadRef()}}zs.loadSimpleLibrary=oA;function sA(e){return t=>{t.storeBit(e.public),t.storeRef(e.root)}}zs.storeSimpleLibrary=sA;zs.SimpleLibraryValue={serialize(e,t){sA(e)(t)},parse(e){return oA(e)}}});var I3=V(qu=>{\"use strict\";b();Object.defineProperty(qu,\"__esModule\",{value:!0});qu.storeTickTock=qu.loadTickTock=void 0;function B$(e){return{tick:e.loadBit(),tock:e.loadBit()}}qu.loadTickTock=B$;function M$(e){return t=>{t.storeBit(e.tick),t.storeBit(e.tock)}}qu.storeTickTock=M$});var Vu=V(Hu=>{\"use strict\";b();Object.defineProperty(Hu,\"__esModule\",{value:!0});Hu.storeStateInit=Hu.loadStateInit=void 0;var R$=Ro(),U$=O3(),lA=I3();function O$(e){let t;e.loadBit()&&(t=e.loadUint(5));let n;e.loadBit()&&(n=(0,lA.loadTickTock)(e));let r=e.loadMaybeRef(),i=e.loadMaybeRef(),a=e.loadDict(R$.Dictionary.Keys.BigUint(256),U$.SimpleLibraryValue);return a.size===0&&(a=void 0),{splitDepth:t,special:n,code:r,data:i,libraries:a}}Hu.loadStateInit=O$;function I$(e){return t=>{e.splitDepth!==null&&e.splitDepth!==void 0?(t.storeBit(!0),t.storeUint(e.splitDepth,5)):t.storeBit(!1),e.special!==null&&e.special!==void 0?(t.storeBit(!0),t.store((0,lA.storeTickTock)(e.special))):t.storeBit(!1),t.storeMaybeRef(e.code),t.storeMaybeRef(e.data),t.storeDict(e.libraries)}}Hu.storeStateInit=I$});var cA=V(Yp=>{\"use strict\";b();Object.defineProperty(Yp,\"__esModule\",{value:!0});Yp.contractAddress=void 0;var N$=Hn(),P$=Vu(),z$=Ao();function D$(e,t){let n=(0,N$.beginCell)().store((0,P$.storeStateInit)(t)).endCell().hash();return new z$.Address(e,n)}Yp.contractAddress=D$});var dA=V(Ia=>{\"use strict\";b();Object.defineProperty(Ia,\"__esModule\",{value:!0});Ia.parseTuple=Ia.serializeTuple=Ia.parseTupleItem=Ia.serializeTupleItem=void 0;var Ih=Hn(),L$=BigInt(\"-9223372036854775808\"),j$=BigInt(\"9223372036854775807\");function N3(e,t){if(e.type===\"null\")t.storeUint(0,8);else if(e.type===\"int\")e.value<=j$&&e.value>=L$?(t.storeUint(1,8),t.storeInt(e.value,64)):(t.storeUint(256,15),t.storeInt(e.value,257));else if(e.type===\"nan\")t.storeInt(767,16);else if(e.type===\"cell\")t.storeUint(3,8),t.storeRef(e.cell);else if(e.type===\"slice\")t.storeUint(4,8),t.storeUint(0,10),t.storeUint(e.cell.bits.length,10),t.storeUint(0,3),t.storeUint(e.cell.refs.length,3),t.storeRef(e.cell);else if(e.type===\"builder\")t.storeUint(5,8),t.storeRef(e.cell);else if(e.type===\"tuple\"){let n=null,r=null;for(let i=0;i<e.items.length;i++){let a=n;n=r,r=a,i>1&&(n=(0,Ih.beginCell)().storeRef(r).storeRef(n).endCell());let o=(0,Ih.beginCell)();N3(e.items[i],o),r=o.endCell()}t.storeUint(7,8),t.storeUint(e.items.length,16),n&&t.storeRef(n),r&&t.storeRef(r)}else throw Error(\"Invalid value\")}Ia.serializeTupleItem=N3;function Wu(e){let t=e.loadUint(8);if(t===0)return{type:\"null\"};if(t===1)return{type:\"int\",value:e.loadIntBig(64)};if(t===2)return e.loadUint(7)===0?{type:\"int\",value:e.loadIntBig(257)}:(e.loadBit(),{type:\"nan\"});if(t===3)return{type:\"cell\",cell:e.loadRef()};if(t===4){let n=e.loadUint(10),r=e.loadUint(10),i=e.loadUint(3),a=e.loadUint(3),o=e.loadRef().beginParse();o.skip(n);let s=o.loadBits(r-n),l=(0,Ih.beginCell)().storeBits(s);if(i<a){for(let c=0;c<i;c++)o.loadRef();for(let c=0;c<a-i;c++)l.storeRef(o.loadRef())}return{type:\"slice\",cell:l.endCell()}}else{if(t===5)return{type:\"builder\",cell:e.loadRef()};if(t===7){let n=e.loadUint(16),r=[];if(n>1){let i=e.loadRef().beginParse(),a=e.loadRef().beginParse();r.unshift(Wu(a));for(let o=0;o<n-2;o++){let s=i;i=s.loadRef().beginParse(),a=s.loadRef().beginParse(),r.unshift(Wu(a))}r.unshift(Wu(i))}else n===1&&r.push(Wu(e.loadRef().beginParse()));return{type:\"tuple\",items:r}}else throw Error(\"Unsupported stack item\")}}Ia.parseTupleItem=Wu;function uA(e,t){if(e.length>0){let n=(0,Ih.beginCell)();uA(e.slice(0,e.length-1),n),t.storeRef(n.endCell()),N3(e[e.length-1],t)}}function q$(e){let t=(0,Ih.beginCell)();t.storeUint(e.length,24);let n=[...e];return uA(n,t),t.endCell()}Ia.serializeTuple=q$;function H$(e){let t=[],n=e.beginParse(),r=n.loadUint(24);for(let i=0;i<r;i++){let a=n.loadRef();t.unshift(Wu(n)),n=a.beginParse()}return t}Ia.parseTuple=H$});var fA=V(Gp=>{\"use strict\";b();Object.defineProperty(Gp,\"__esModule\",{value:!0});Gp.TupleReader=void 0;var P3=class e{constructor(t){this.items=[...t]}get remaining(){return this.items.length}peek(){if(this.items.length===0)throw Error(\"EOF\");return this.items[0]}pop(){if(this.items.length===0)throw Error(\"EOF\");let t=this.items[0];return this.items.splice(0,1),t}skip(t=1){for(let n=0;n<t;n++)this.pop();return this}readBigNumber(){let t=this.pop();if(t.type!==\"int\")throw Error(\"Not a number\");return t.value}readBigNumberOpt(){let t=this.pop();if(t.type===\"null\")return null;if(t.type!==\"int\")throw Error(\"Not a number\");return t.value}readNumber(){return Number(this.readBigNumber())}readNumberOpt(){let t=this.readBigNumberOpt();return t!==null?Number(t):null}readBoolean(){return this.readNumber()!==0}readBooleanOpt(){let t=this.readNumberOpt();return t!==null?t!==0:null}readAddress(){let t=this.readCell().beginParse().loadAddress();if(t!==null)return t;throw Error(\"Not an address\")}readAddressOpt(){let t=this.readCellOpt();return t!==null?t.beginParse().loadMaybeAddress():null}readCell(){let t=this.pop();if(t.type!==\"cell\"&&t.type!==\"slice\"&&t.type!==\"builder\")throw Error(\"Not a cell: \"+t.type);return t.cell}readCellOpt(){let t=this.pop();if(t.type===\"null\")return null;if(t.type!==\"cell\"&&t.type!==\"slice\"&&t.type!==\"builder\")throw Error(\"Not a cell\");return t.cell}readTuple(){let t=this.pop();if(t.type!==\"tuple\")throw Error(\"Not a tuple\");return new e(t.items)}readTupleOpt(){let t=this.pop();if(t.type===\"null\")return null;if(t.type!==\"tuple\")throw Error(\"Not a tuple\");return new e(t.items)}static readLispList(t){let n=[],r=t;for(;r!==null;){var i=r.pop();if(r.items.length===0||r.items[0].type!==\"tuple\"&&r.items[0].type!==\"null\")throw Error(\"Lisp list consists only from (any, tuple) elements and ends with null\");r=r.readTupleOpt(),n.push(i)}return n}readLispListDirect(){return this.items.length===1&&this.items[0].type===\"null\"?[]:e.readLispList(this)}readLispList(){return e.readLispList(this.readTupleOpt())}readBuffer(){let t=this.readCell().beginParse();if(t.remainingRefs!==0||t.remainingBits%8!==0)throw Error(\"Not a buffer\");return t.loadBuffer(t.remainingBits/8)}readBufferOpt(){let t=this.readCellOpt();if(t!==null){let n=t.beginParse();if(n.remainingRefs!==0||n.remainingBits%8!==0)throw Error(\"Not a buffer\");return n.loadBuffer(n.remainingBits/8)}else return null}readString(){return this.readCell().beginParse().loadStringTail()}readStringOpt(){let t=this.readCellOpt();return t!==null?t.beginParse().loadStringTail():null}};Gp.TupleReader=P3});var hA=V(Qp=>{\"use strict\";b();Object.defineProperty(Qp,\"__esModule\",{value:!0});Qp.TupleBuilder=void 0;var z3=Hn(),D3=Ts(),L3=bp(),j3=class{constructor(){this._tuple=[]}writeNumber(t){t==null?this._tuple.push({type:\"null\"}):this._tuple.push({type:\"int\",value:BigInt(t)})}writeBoolean(t){t==null?this._tuple.push({type:\"null\"}):this._tuple.push({type:\"int\",value:t?-1n:0n})}writeBuffer(t){t==null?this._tuple.push({type:\"null\"}):this._tuple.push({type:\"slice\",cell:(0,z3.beginCell)().storeBuffer(t).endCell()})}writeString(t){t==null?this._tuple.push({type:\"null\"}):this._tuple.push({type:\"slice\",cell:(0,z3.beginCell)().storeStringTail(t).endCell()})}writeCell(t){t==null?this._tuple.push({type:\"null\"}):t instanceof D3.Cell?this._tuple.push({type:\"cell\",cell:t}):t instanceof L3.Slice&&this._tuple.push({type:\"cell\",cell:t.asCell()})}writeSlice(t){t==null?this._tuple.push({type:\"null\"}):t instanceof D3.Cell?this._tuple.push({type:\"slice\",cell:t}):t instanceof L3.Slice&&this._tuple.push({type:\"slice\",cell:t.asCell()})}writeBuilder(t){t==null?this._tuple.push({type:\"null\"}):t instanceof D3.Cell?this._tuple.push({type:\"builder\",cell:t}):t instanceof L3.Slice&&this._tuple.push({type:\"builder\",cell:t.asCell()})}writeTuple(t){t==null?this._tuple.push({type:\"null\"}):this._tuple.push({type:\"tuple\",items:t})}writeAddress(t){t==null?this._tuple.push({type:\"null\"}):this._tuple.push({type:\"slice\",cell:(0,z3.beginCell)().storeAddress(t).endCell()})}build(){return[...this._tuple]}};Qp.TupleBuilder=j3});var q3=V(Fu=>{\"use strict\";b();Object.defineProperty(Fu,\"__esModule\",{value:!0});Fu.fromNano=Fu.toNano=void 0;function V$(e){if(typeof e==\"bigint\")return e*1000000000n;{if(typeof e==\"number\"){if(!Number.isFinite(e))throw Error(\"Invalid number\");if(Math.log10(e)<=6)e=e.toLocaleString(\"en\",{minimumFractionDigits:9,useGrouping:!1});else if(e-Math.trunc(e)===0)e=e.toLocaleString(\"en\",{maximumFractionDigits:0,useGrouping:!1});else throw Error(\"Not enough precision for a number value. Use string value instead\")}let t=!1;for(;e.startsWith(\"-\");)t=!t,e=e.slice(1);if(e===\".\")throw Error(\"Invalid number\");let n=e.split(\".\");if(n.length>2)throw Error(\"Invalid number\");let r=n[0],i=n[1];if(r||(r=\"0\"),i||(i=\"0\"),i.length>9)throw Error(\"Invalid number\");for(;i.length<9;)i+=\"0\";let a=BigInt(r)*1000000000n+BigInt(i);return t&&(a=-a),a}}Fu.toNano=V$;function W$(e){let t=BigInt(e),n=!1;t<0&&(n=!0,t=-t);let i=(t%1000000000n).toString();for(;i.length<9;)i=\"0\"+i;i=i.match(/^([0-9]*[1-9]|0)(0*)/)[1];let s=`${(t/1000000000n).toString()}${i===\"0\"?\"\":`.${i}`}`;return n&&(s=\"-\"+s),s}Fu.fromNano=W$});var V3=V(Pi=>{\"use strict\";b();Object.defineProperty(Pi,\"__esModule\",{value:!0});Pi.packExtraCurrencyCell=Pi.packExtraCurrencyDict=Pi.storeExtraCurrency=Pi.loadMaybeExtraCurrency=Pi.loadExtraCurrency=void 0;var F$=Hn(),Pl=Ro();function gA(e){let t=e instanceof Pl.Dictionary?e:Pl.Dictionary.loadDirect(Pl.Dictionary.Keys.Uint(32),Pl.Dictionary.Values.BigVarUint(5),e),n={};for(let[r,i]of t)n[r]=i;return n}Pi.loadExtraCurrency=gA;function K$(e){let t=e.loadMaybeRef();return t===null?t:gA(t)}Pi.loadMaybeExtraCurrency=K$;function $$(e){return t=>{t.storeDict(H3(e))}}Pi.storeExtraCurrency=$$;function H3(e){let t=Pl.Dictionary.empty(Pl.Dictionary.Keys.Uint(32),Pl.Dictionary.Values.BigVarUint(5));return Object.entries(e).map(([n,r])=>t.set(Number(n),r)),t}Pi.packExtraCurrencyDict=H3;function Z$(e){return(0,F$.beginCell)().storeDictDirect(H3(e)).endCell()}Pi.packExtraCurrencyCell=Z$});var yA=V(Ds=>{\"use strict\";b();Object.defineProperty(Ds,\"__esModule\",{value:!0});Ds.comment=Ds.external=Ds.internal=void 0;var Xp=Ao(),pA=Ts(),mA=Hn(),Y$=q3(),G$=V3();function Q$(e){let t=!0;e.bounce!==null&&e.bounce!==void 0&&(t=e.bounce);let n;if(typeof e.to==\"string\")n=Xp.Address.parse(e.to);else if(Xp.Address.isAddress(e.to))n=e.to;else throw new Error(`Invalid address ${e.to}`);let r;typeof e.value==\"string\"?r=(0,Y$.toNano)(e.value):r=e.value;let i;e.extracurrency&&(i=(0,G$.packExtraCurrencyDict)(e.extracurrency));let a=pA.Cell.EMPTY;return typeof e.body==\"string\"?a=(0,mA.beginCell)().storeUint(0,32).storeStringTail(e.body).endCell():e.body&&(a=e.body),{info:{type:\"internal\",dest:n,value:{coins:r,other:i},bounce:t,ihrDisabled:!0,bounced:!1,ihrFee:0n,forwardFee:0n,createdAt:0,createdLt:0n},init:e.init??void 0,body:a}}Ds.internal=Q$;function X$(e){let t;if(typeof e.to==\"string\")t=Xp.Address.parse(e.to);else if(Xp.Address.isAddress(e.to))t=e.to;else throw new Error(`Invalid address ${e.to}`);return{info:{type:\"external-in\",dest:t,importFee:0n},init:e.init??void 0,body:e.body||pA.Cell.EMPTY}}Ds.external=X$;function J$(e){return(0,mA.beginCell)().storeUint(0,32).storeStringTail(e).endCell()}Ds.comment=J$});var W3=V(Ku=>{\"use strict\";b();Object.defineProperty(Ku,\"__esModule\",{value:!0});Ku.storeAccountState=Ku.loadAccountState=void 0;var bA=Vu();function eZ(e){return e.loadBit()?{type:\"active\",state:(0,bA.loadStateInit)(e)}:e.loadBit()?{type:\"frozen\",stateHash:e.loadUintBig(256)}:{type:\"uninit\"}}Ku.loadAccountState=eZ;function tZ(e){return t=>{e.type===\"active\"?(t.storeBit(!0),t.store((0,bA.storeStateInit)(e.state))):e.type===\"frozen\"?(t.storeBit(!1),t.storeBit(!0),t.storeUint(e.stateHash,256)):e.type===\"uninit\"&&(t.storeBit(!1),t.storeBit(!1))}}Ku.storeAccountState=tZ});var Na=V($u=>{\"use strict\";b();Object.defineProperty($u,\"__esModule\",{value:!0});$u.storeCurrencyCollection=$u.loadCurrencyCollection=void 0;var vA=Ro();function nZ(e){let t=e.loadCoins(),n=e.loadDict(vA.Dictionary.Keys.Uint(32),vA.Dictionary.Values.BigVarUint(5));return n.size===0?{coins:t}:{other:n,coins:t}}$u.loadCurrencyCollection=nZ;function rZ(e){return t=>{t.storeCoins(e.coins),e.other?t.storeDict(e.other):t.storeBit(0)}}$u.storeCurrencyCollection=rZ});var F3=V(Zu=>{\"use strict\";b();Object.defineProperty(Zu,\"__esModule\",{value:!0});Zu.storeAccountStorage=Zu.loadAccountStorage=void 0;var wA=W3(),xA=Na();function iZ(e){return{lastTransLt:e.loadUintBig(64),balance:(0,xA.loadCurrencyCollection)(e),state:(0,wA.loadAccountState)(e)}}Zu.loadAccountStorage=iZ;function aZ(e){return t=>{t.storeUint(e.lastTransLt,64),t.store((0,xA.storeCurrencyCollection)(e.balance)),t.store((0,wA.storeAccountState)(e.state))}}Zu.storeAccountStorage=aZ});var CA=V(Yu=>{\"use strict\";b();Object.defineProperty(Yu,\"__esModule\",{value:!0});Yu.storeStorageExtraInfo=Yu.loadStorageExtraInfo=void 0;function oZ(e){let t=e.loadUint(3);if(t===0)return null;if(t===1)return{dictHash:e.loadUintBig(256)};throw new Error(`Invalid storage extra info header: ${t}`)}Yu.loadStorageExtraInfo=oZ;function sZ(e){return t=>{e===null||typeof e>\"u\"?t.storeUint(0,3):(t.storeUint(1,3),t.storeUint(e.dictHash,256))}}Yu.storeStorageExtraInfo=sZ});var Nh=V(Gu=>{\"use strict\";b();Object.defineProperty(Gu,\"__esModule\",{value:!0});Gu.storeStorageUsed=Gu.loadStorageUsed=void 0;function lZ(e){return{cells:e.loadVarUintBig(3),bits:e.loadVarUintBig(3)}}Gu.loadStorageUsed=lZ;function cZ(e){return t=>{t.storeVarUint(e.cells,3),t.storeVarUint(e.bits,3)}}Gu.storeStorageUsed=cZ});var K3=V(Qu=>{\"use strict\";b();Object.defineProperty(Qu,\"__esModule\",{value:!0});Qu.storeStorageInfo=Qu.loadStorageInfo=void 0;var SA=CA(),_A=Nh();function uZ(e){return{used:(0,_A.loadStorageUsed)(e),storageExtra:(0,SA.loadStorageExtraInfo)(e),lastPaid:e.loadUint(32),duePayment:e.loadMaybeCoins()}}Qu.loadStorageInfo=uZ;function dZ(e){return t=>{t.store((0,_A.storeStorageUsed)(e.used)),t.store((0,SA.storeStorageExtraInfo)(e.storageExtra)),t.storeUint(e.lastPaid,32),t.storeMaybeCoins(e.duePayment)}}Qu.storeStorageInfo=dZ});var $3=V(Xu=>{\"use strict\";b();Object.defineProperty(Xu,\"__esModule\",{value:!0});Xu.storeAccount=Xu.loadAccount=void 0;var TA=F3(),EA=K3();function fZ(e){return{addr:e.loadAddress(),storageStats:(0,EA.loadStorageInfo)(e),storage:(0,TA.loadAccountStorage)(e)}}Xu.loadAccount=fZ;function hZ(e){return t=>{t.storeAddress(e.addr),t.store((0,EA.storeStorageInfo)(e.storageStats)),t.store((0,TA.storeAccountStorage)(e.storage))}}Xu.storeAccount=hZ});var Z3=V(Ju=>{\"use strict\";b();Object.defineProperty(Ju,\"__esModule\",{value:!0});Ju.storeAccountStatus=Ju.loadAccountStatus=void 0;function gZ(e){let t=e.loadUint(2);if(t===0)return\"uninitialized\";if(t===1)return\"frozen\";if(t===2)return\"active\";if(t===3)return\"non-existing\";throw Error(\"Invalid data\")}Ju.loadAccountStatus=gZ;function pZ(e){return t=>{if(e===\"uninitialized\")t.storeUint(0,2);else if(e===\"frozen\")t.storeUint(1,2);else if(e===\"active\")t.storeUint(2,2);else if(e===\"non-existing\")t.storeUint(3,2);else throw Error(\"Invalid data\");return t}}Ju.storeAccountStatus=pZ});var Jp=V(ed=>{\"use strict\";b();Object.defineProperty(ed,\"__esModule\",{value:!0});ed.storeAccountStatusChange=ed.loadAccountStatusChange=void 0;function mZ(e){return e.loadBit()?e.loadBit()?\"deleted\":\"frozen\":\"unchanged\"}ed.loadAccountStatusChange=mZ;function yZ(e){return t=>{if(e==\"unchanged\")t.storeBit(0);else if(e===\"frozen\")t.storeBit(1),t.storeBit(0);else if(e===\"deleted\")t.storeBit(1),t.storeBit(1);else throw Error(\"Invalid account status change\")}}ed.storeAccountStatusChange=yZ});var Y3=V(td=>{\"use strict\";b();Object.defineProperty(td,\"__esModule\",{value:!0});td.storeCommonMessageInfoRelaxed=td.loadCommonMessageInfoRelaxed=void 0;var AA=Na();function bZ(e){if(!e.loadBit()){let a=e.loadBit(),o=e.loadBit(),s=e.loadBit(),l=e.loadMaybeAddress(),c=e.loadAddress(),u=(0,AA.loadCurrencyCollection)(e),d=e.loadCoins(),h=e.loadCoins(),g=e.loadUintBig(64),y=e.loadUint(32);return{type:\"internal\",ihrDisabled:a,bounce:o,bounced:s,src:l,dest:c,value:u,ihrFee:d,forwardFee:h,createdLt:g,createdAt:y}}if(!e.loadBit())throw Error(\"External In message is not possible for CommonMessageInfoRelaxed\");let t=e.loadMaybeAddress(),n=e.loadMaybeExternalAddress(),r=e.loadUintBig(64),i=e.loadUint(32);return{type:\"external-out\",src:t,dest:n,createdLt:r,createdAt:i}}td.loadCommonMessageInfoRelaxed=bZ;function vZ(e){return t=>{if(e.type===\"internal\")t.storeBit(0),t.storeBit(e.ihrDisabled),t.storeBit(e.bounce),t.storeBit(e.bounced),t.storeAddress(e.src),t.storeAddress(e.dest),t.store((0,AA.storeCurrencyCollection)(e.value)),t.storeCoins(e.ihrFee),t.storeCoins(e.forwardFee),t.storeUint(e.createdLt,64),t.storeUint(e.createdAt,32);else if(e.type===\"external-out\")t.storeBit(1),t.storeBit(1),t.storeAddress(e.src),t.storeAddress(e.dest),t.storeUint(e.createdLt,64),t.storeUint(e.createdAt,32);else throw new Error(\"Unknown CommonMessageInfo type\")}}td.storeCommonMessageInfoRelaxed=vZ});var Q3=V(nd=>{\"use strict\";b();Object.defineProperty(nd,\"__esModule\",{value:!0});nd.storeMessageRelaxed=nd.loadMessageRelaxed=void 0;var wZ=Hn(),kA=Y3(),G3=Vu();function xZ(e){let t=(0,kA.loadCommonMessageInfoRelaxed)(e),n=null;e.loadBit()&&(e.loadBit()?n=(0,G3.loadStateInit)(e.loadRef().beginParse()):n=(0,G3.loadStateInit)(e));let r=e.loadBit()?e.loadRef():e.asCell();return{info:t,init:n,body:r}}nd.loadMessageRelaxed=xZ;function CZ(e,t){return n=>{if(n.store((0,kA.storeCommonMessageInfoRelaxed)(e.info)),e.init){n.storeBit(!0);let i=(0,wZ.beginCell)().store((0,G3.storeStateInit)(e.init)),a=!1;t&&t.forceRef?a=!0:n.availableBits-2>=i.bits?a=!1:a=!0,a?(n.storeBit(!0),n.storeRef(i)):(n.storeBit(!1),n.storeBuilder(i))}else n.storeBit(!1);let r=!1;t&&t.forceRef?r=!0:n.availableBits-1>=e.body.bits.length&&n.refs+e.body.refs.length<=4&&!e.body.isExotic?r=!1:r=!0,r?(n.storeBit(!0),n.storeRef(e.body)):(n.storeBit(!1),n.storeBuilder(e.body.asBuilder()))}}nd.storeMessageRelaxed=CZ});var X3=V(rd=>{\"use strict\";b();Object.defineProperty(rd,\"__esModule\",{value:!0});rd.storeLibRef=rd.loadLibRef=void 0;function SZ(e){return e.loadUint(1)===0?{type:\"hash\",libHash:e.loadBuffer(32)}:{type:\"ref\",library:e.loadRef()}}rd.loadLibRef=SZ;function _Z(e){return t=>{e.type===\"hash\"?(t.storeUint(0,1),t.storeBuffer(e.libHash)):(t.storeUint(1,1),t.storeRef(e.library))}}rd.storeLibRef=_Z});var DA=V(Pa=>{\"use strict\";b();Object.defineProperty(Pa,\"__esModule\",{value:!0});Pa.loadOutList=Pa.storeOutList=Pa.loadOutAction=Pa.storeOutAction=void 0;var BA=Q3(),J3=Hn(),MA=Na(),RA=X3();function UA(e){switch(e.type){case\"sendMsg\":return TZ(e);case\"setCode\":return EZ(e);case\"reserve\":return AZ(e);case\"changeLibrary\":return kZ(e);default:throw new Error(`Unknown action type ${e.type}`)}}Pa.storeOutAction=UA;var OA=247711853;function TZ(e){return t=>{t.storeUint(OA,32).storeUint(e.mode,8).storeRef((0,J3.beginCell)().store((0,BA.storeMessageRelaxed)(e.outMsg)).endCell())}}var IA=2907562126;function EZ(e){return t=>{t.storeUint(IA,32).storeRef(e.newCode)}}var NA=921090057;function AZ(e){return t=>{t.storeUint(NA,32).storeUint(e.mode,8).store((0,MA.storeCurrencyCollection)(e.currency))}}var PA=653925844;function kZ(e){return t=>{t.storeUint(PA,32).storeUint(e.mode,7).store((0,RA.storeLibRef)(e.libRef))}}function zA(e){let t=e.loadUint(32);if(t===OA){let n=e.loadUint(8),r=(0,BA.loadMessageRelaxed)(e.loadRef().beginParse());return{type:\"sendMsg\",mode:n,outMsg:r}}if(t===IA)return{type:\"setCode\",newCode:e.loadRef()};if(t===NA){let n=e.loadUint(8),r=(0,MA.loadCurrencyCollection)(e);return{type:\"reserve\",mode:n,currency:r}}if(t===PA){let n=e.loadUint(7),r=(0,RA.loadLibRef)(e);return{type:\"changeLibrary\",mode:n,libRef:r}}throw new Error(`Unknown out action tag 0x${t.toString(16)}`)}Pa.loadOutAction=zA;function BZ(e){let t=e.reduce((n,r)=>(0,J3.beginCell)().storeRef(n).store(UA(r)).endCell(),(0,J3.beginCell)().endCell());return n=>{n.storeSlice(t.beginParse())}}Pa.storeOutList=BZ;function MZ(e){let t=[];for(;e.remainingRefs;){let n=e.loadRef();t.push(zA(e)),e=n.beginParse()}return t.reverse()}Pa.loadOutList=MZ});var e5=V(id=>{\"use strict\";b();Object.defineProperty(id,\"__esModule\",{value:!0});id.storeCommonMessageInfo=id.loadCommonMessageInfo=void 0;var LA=Na();function RZ(e){if(!e.loadBit()){let a=e.loadBit(),o=e.loadBit(),s=e.loadBit(),l=e.loadAddress(),c=e.loadAddress(),u=(0,LA.loadCurrencyCollection)(e),d=e.loadCoins(),h=e.loadCoins(),g=e.loadUintBig(64),y=e.loadUint(32);return{type:\"internal\",ihrDisabled:a,bounce:o,bounced:s,src:l,dest:c,value:u,ihrFee:d,forwardFee:h,createdLt:g,createdAt:y}}if(!e.loadBit()){let a=e.loadMaybeExternalAddress(),o=e.loadAddress(),s=e.loadCoins();return{type:\"external-in\",src:a,dest:o,importFee:s}}let t=e.loadAddress(),n=e.loadMaybeExternalAddress(),r=e.loadUintBig(64),i=e.loadUint(32);return{type:\"external-out\",src:t,dest:n,createdLt:r,createdAt:i}}id.loadCommonMessageInfo=RZ;function UZ(e){return t=>{if(e.type===\"internal\")t.storeBit(0),t.storeBit(e.ihrDisabled),t.storeBit(e.bounce),t.storeBit(e.bounced),t.storeAddress(e.src),t.storeAddress(e.dest),t.store((0,LA.storeCurrencyCollection)(e.value)),t.storeCoins(e.ihrFee),t.storeCoins(e.forwardFee),t.storeUint(e.createdLt,64),t.storeUint(e.createdAt,32);else if(e.type===\"external-in\")t.storeBit(1),t.storeBit(0),t.storeAddress(e.src),t.storeAddress(e.dest),t.storeCoins(e.importFee);else if(e.type===\"external-out\")t.storeBit(1),t.storeBit(1),t.storeAddress(e.src),t.storeAddress(e.dest),t.storeUint(e.createdLt,64),t.storeUint(e.createdAt,32);else throw new Error(\"Unknown CommonMessageInfo type\")}}id.storeCommonMessageInfo=UZ});var t5=V(ad=>{\"use strict\";b();Object.defineProperty(ad,\"__esModule\",{value:!0});ad.storeComputeSkipReason=ad.loadComputeSkipReason=void 0;function OZ(e){let t=e.loadUint(2);if(t===0)return\"no-state\";if(t===1)return\"bad-state\";if(t===2)return\"no-gas\";throw new Error(`Unknown ComputeSkipReason: ${t}`)}ad.loadComputeSkipReason=OZ;function IZ(e){return t=>{if(e===\"no-state\")t.storeUint(0,2);else if(e===\"bad-state\")t.storeUint(1,2);else if(e===\"no-gas\")t.storeUint(2,2);else throw new Error(`Unknown ComputeSkipReason: ${e}`)}}ad.storeComputeSkipReason=IZ});var n5=V(od=>{\"use strict\";b();Object.defineProperty(od,\"__esModule\",{value:!0});od.storeDepthBalanceInfo=od.loadDepthBalanceInfo=void 0;var jA=Na();function NZ(e){return{splitDepth:e.loadUint(5),balance:(0,jA.loadCurrencyCollection)(e)}}od.loadDepthBalanceInfo=NZ;function PZ(e){return t=>{t.storeUint(e.splitDepth,5),t.store((0,jA.storeCurrencyCollection)(e.balance))}}od.storeDepthBalanceInfo=PZ});var r5=V(sd=>{\"use strict\";b();Object.defineProperty(sd,\"__esModule\",{value:!0});sd.storeHashUpdate=sd.loadHashUpdate=void 0;function zZ(e){if(e.loadUint(8)!==114)throw Error(\"Invalid data\");let t=e.loadBuffer(32),n=e.loadBuffer(32);return{oldHash:t,newHash:n}}sd.loadHashUpdate=zZ;function DZ(e){return t=>{t.storeUint(114,8),t.storeBuffer(e.oldHash),t.storeBuffer(e.newHash)}}sd.storeHashUpdate=DZ});var a5=V(em=>{\"use strict\";b();Object.defineProperty(em,\"__esModule\",{value:!0});em.loadMasterchainStateExtra=void 0;var i5=Ro(),LZ=Na();function jZ(e){if(e.loadUint(16)!==52262)throw Error(\"Invalid data\");e.loadBit()&&e.loadRef();let t=e.loadUintBig(256),n=i5.Dictionary.load(i5.Dictionary.Keys.Int(32),i5.Dictionary.Values.Cell(),e),r=(0,LZ.loadCurrencyCollection)(e);return{config:n,configAddress:t,globalBalance:r}}em.loadMasterchainStateExtra=jZ});var s5=V(Ls=>{\"use strict\";b();Object.defineProperty(Ls,\"__esModule\",{value:!0});Ls.MessageValue=Ls.storeMessage=Ls.loadMessage=void 0;var qA=Hn(),HA=e5(),o5=Vu();function VA(e){let t=(0,HA.loadCommonMessageInfo)(e),n=null;e.loadBit()&&(e.loadBit()?n=(0,o5.loadStateInit)(e.loadRef().beginParse()):n=(0,o5.loadStateInit)(e));let r=e.loadBit()?e.loadRef():e.asCell();return{info:t,init:n,body:r}}Ls.loadMessage=VA;function WA(e,t){return n=>{if(n.store((0,HA.storeCommonMessageInfo)(e.info)),e.init){n.storeBit(!0);let i=(0,qA.beginCell)().store((0,o5.storeStateInit)(e.init)),a=!1;t&&t.forceRef?a=!0:a=n.availableBits-2<i.bits+e.body.bits.length,a?(n.storeBit(!0),n.storeRef(i)):(n.storeBit(!1),n.storeBuilder(i))}else n.storeBit(!1);let r=!1;t&&t.forceRef?r=!0:r=n.availableBits-1<e.body.bits.length||n.refs+e.body.refs.length>4,r?(n.storeBit(!0),n.storeRef(e.body)):(n.storeBit(!1),n.storeBuilder(e.body.asBuilder()))}}Ls.storeMessage=WA;Ls.MessageValue={serialize(e,t){t.storeRef((0,qA.beginCell)().store(WA(e)))},parse(e){return VA(e.loadRef().beginParse())}}});var KA=V(tm=>{\"use strict\";b();Object.defineProperty(tm,\"__esModule\",{value:!0});tm.SendMode=void 0;var FA;(function(e){e[e.CARRY_ALL_REMAINING_BALANCE=128]=\"CARRY_ALL_REMAINING_BALANCE\",e[e.CARRY_ALL_REMAINING_INCOMING_VALUE=64]=\"CARRY_ALL_REMAINING_INCOMING_VALUE\",e[e.DESTROY_ACCOUNT_IF_ZERO=32]=\"DESTROY_ACCOUNT_IF_ZERO\",e[e.PAY_GAS_SEPARATELY=1]=\"PAY_GAS_SEPARATELY\",e[e.IGNORE_ERRORS=2]=\"IGNORE_ERRORS\",e[e.NONE=0]=\"NONE\"})(FA||(tm.SendMode=FA={}))});var ZA=V(nm=>{\"use strict\";b();Object.defineProperty(nm,\"__esModule\",{value:!0});nm.ReserveMode=void 0;var $A;(function(e){e[e.THIS_AMOUNT=0]=\"THIS_AMOUNT\",e[e.LEAVE_THIS_AMOUNT=1]=\"LEAVE_THIS_AMOUNT\",e[e.AT_MOST_THIS_AMOUNT=2]=\"AT_MOST_THIS_AMOUNT\",e[e.LEAVE_MAX_THIS_AMOUNT=3]=\"LEAVE_MAX_THIS_AMOUNT\",e[e.BEFORE_BALANCE_PLUS_THIS_AMOUNT=4]=\"BEFORE_BALANCE_PLUS_THIS_AMOUNT\",e[e.LEAVE_BBALANCE_PLUS_THIS_AMOUNT=5]=\"LEAVE_BBALANCE_PLUS_THIS_AMOUNT\",e[e.BEFORE_BALANCE_MINUS_THIS_AMOUNT=12]=\"BEFORE_BALANCE_MINUS_THIS_AMOUNT\",e[e.LEAVE_BEFORE_BALANCE_MINUS_THIS_AMOUNT=13]=\"LEAVE_BEFORE_BALANCE_MINUS_THIS_AMOUNT\"})($A||(nm.ReserveMode=$A={}))});var l5=V(ld=>{\"use strict\";b();Object.defineProperty(ld,\"__esModule\",{value:!0});ld.storeShardAccount=ld.loadShardAccount=void 0;var YA=Hn(),GA=$3();function qZ(e){let t=e.loadRef(),n;if(!t.isExotic){let r=t.beginParse();r.loadBit()&&(n=(0,GA.loadAccount)(r))}return{account:n,lastTransactionHash:e.loadUintBig(256),lastTransactionLt:e.loadUintBig(64)}}ld.loadShardAccount=qZ;function HZ(e){return t=>{e.account?t.storeRef((0,YA.beginCell)().storeBit(!0).store((0,GA.storeAccount)(e.account))):t.storeRef((0,YA.beginCell)().storeBit(!1)),t.storeUint(e.lastTransactionHash,256),t.storeUint(e.lastTransactionLt,64)}}ld.storeShardAccount=HZ});var c5=V(Uo=>{\"use strict\";b();Object.defineProperty(Uo,\"__esModule\",{value:!0});Uo.storeShardAccounts=Uo.loadShardAccounts=Uo.ShardAccountRefValue=void 0;var QA=Ro(),XA=n5(),JA=l5();Uo.ShardAccountRefValue={parse:e=>{let t=(0,XA.loadDepthBalanceInfo)(e),n=(0,JA.loadShardAccount)(e);return{depthBalanceInfo:t,shardAccount:n}},serialize(e,t){t.store((0,XA.storeDepthBalanceInfo)(e.depthBalanceInfo)),t.store((0,JA.storeShardAccount)(e.shardAccount))}};function VZ(e){return QA.Dictionary.load(QA.Dictionary.Keys.BigUint(256),Uo.ShardAccountRefValue,e)}Uo.loadShardAccounts=VZ;function WZ(e){return t=>{t.storeDict(e)}}Uo.storeShardAccounts=WZ});var u5=V(cd=>{\"use strict\";b();Object.defineProperty(cd,\"__esModule\",{value:!0});cd.storeShardIdent=cd.loadShardIdent=void 0;function FZ(e){if(e.loadUint(2)!==0)throw Error(\"Invalid data\");return{shardPrefixBits:e.loadUint(6),workchainId:e.loadInt(32),shardPrefix:e.loadUintBig(64)}}cd.loadShardIdent=FZ;function KZ(e){return t=>{t.storeUint(0,2),t.storeUint(e.shardPrefixBits,6),t.storeInt(e.workchainId,32),t.storeUint(e.shardPrefix,64)}}cd.storeShardIdent=KZ});var ek=V(rm=>{\"use strict\";b();Object.defineProperty(rm,\"__esModule\",{value:!0});rm.loadShardStateUnsplit=void 0;var $Z=a5(),ZZ=c5(),YZ=u5();function GZ(e){if(e.loadUint(32)!==2418257890)throw Error(\"Invalid data\");let t=e.loadInt(32),n=(0,YZ.loadShardIdent)(e),r=e.loadUint(32),i=e.loadUint(32),a=e.loadUint(32),o=e.loadUintBig(64),s=e.loadUint(32);e.loadRef();let l=e.loadBit(),c=e.loadRef(),u;c.isExotic||(u=(0,ZZ.loadShardAccounts)(c.beginParse())),e.loadRef();let d=e.loadBit(),h=null;if(d){let g=e.loadRef();g.isExotic||(h=(0,$Z.loadMasterchainStateExtra)(g.beginParse()))}return{globalId:t,shardId:n,seqno:r,vertSeqNo:i,genUtime:a,genLt:o,minRefMcSeqno:s,beforeSplit:l,accounts:u,extras:h}}rm.loadShardStateUnsplit=GZ});var d5=V(ud=>{\"use strict\";b();Object.defineProperty(ud,\"__esModule\",{value:!0});ud.storeSplitMergeInfo=ud.loadSplitMergeInfo=void 0;function QZ(e){let t=e.loadUint(6),n=e.loadUint(6),r=e.loadUintBig(256),i=e.loadUintBig(256);return{currentShardPrefixLength:t,accountSplitDepth:n,thisAddress:r,siblingAddress:i}}ud.loadSplitMergeInfo=QZ;function XZ(e){return t=>{t.storeUint(e.currentShardPrefixLength,6),t.storeUint(e.accountSplitDepth,6),t.storeUint(e.thisAddress,256),t.storeUint(e.siblingAddress,256)}}ud.storeSplitMergeInfo=XZ});var f5=V(dd=>{\"use strict\";b();Object.defineProperty(dd,\"__esModule\",{value:!0});dd.storeTransactionActionPhase=dd.loadTransactionActionPhase=void 0;var tk=Jp(),nk=Nh();function JZ(e){let t=e.loadBit(),n=e.loadBit(),r=e.loadBit(),i=(0,tk.loadAccountStatusChange)(e),a=e.loadBit()?e.loadCoins():void 0,o=e.loadBit()?e.loadCoins():void 0,s=e.loadInt(32),l=e.loadBit()?e.loadInt(32):void 0,c=e.loadUint(16),u=e.loadUint(16),d=e.loadUint(16),h=e.loadUint(16),g=e.loadUintBig(256),y=(0,nk.loadStorageUsed)(e);return{success:t,valid:n,noFunds:r,statusChange:i,totalFwdFees:a,totalActionFees:o,resultCode:s,resultArg:l,totalActions:c,specActions:u,skippedActions:d,messagesCreated:h,actionListHash:g,totalMessageSize:y}}dd.loadTransactionActionPhase=JZ;function eY(e){return t=>{t.storeBit(e.success),t.storeBit(e.valid),t.storeBit(e.noFunds),t.store((0,tk.storeAccountStatusChange)(e.statusChange)),t.storeMaybeCoins(e.totalFwdFees),t.storeMaybeCoins(e.totalActionFees),t.storeInt(e.resultCode,32),t.storeMaybeInt(e.resultArg,32),t.storeUint(e.totalActions,16),t.storeUint(e.specActions,16),t.storeUint(e.skippedActions,16),t.storeUint(e.messagesCreated,16),t.storeUint(e.actionListHash,256),t.store((0,nk.storeStorageUsed)(e.totalMessageSize))}}dd.storeTransactionActionPhase=eY});var h5=V(fd=>{\"use strict\";b();Object.defineProperty(fd,\"__esModule\",{value:!0});fd.storeTransactionBouncePhase=fd.loadTransactionBouncePhase=void 0;var im=Nh();function tY(e){if(e.loadBit()){let t=(0,im.loadStorageUsed)(e),n=e.loadCoins(),r=e.loadCoins();return{type:\"ok\",messageSize:t,messageFees:n,forwardFees:r}}if(e.loadBit()){let t=(0,im.loadStorageUsed)(e),n=e.loadCoins();return{type:\"no-funds\",messageSize:t,requiredForwardFees:n}}return{type:\"negative-funds\"}}fd.loadTransactionBouncePhase=tY;function nY(e){return t=>{if(e.type===\"ok\")t.storeBit(!0),t.store((0,im.storeStorageUsed)(e.messageSize)),t.storeCoins(e.messageFees),t.storeCoins(e.forwardFees);else if(e.type===\"negative-funds\")t.storeBit(!1),t.storeBit(!1);else if(e.type===\"no-funds\")t.storeBit(!1),t.storeBit(!0),t.store((0,im.storeStorageUsed)(e.messageSize)),t.storeCoins(e.requiredForwardFees);else throw new Error(\"Invalid TransactionBouncePhase type\")}}fd.storeTransactionBouncePhase=nY});var g5=V(hd=>{\"use strict\";b();Object.defineProperty(hd,\"__esModule\",{value:!0});hd.storeTransactionComputePhase=hd.loadTransactionComputePhase=void 0;var rY=Hn(),rk=t5();function iY(e){if(!e.loadBit())return{type:\"skipped\",reason:(0,rk.loadComputeSkipReason)(e)};let t=e.loadBit(),n=e.loadBit(),r=e.loadBit(),i=e.loadCoins(),a=e.loadRef().beginParse(),o=a.loadVarUintBig(3),s=a.loadVarUintBig(3),l=a.loadBit()?a.loadVarUintBig(2):void 0,c=a.loadUint(8),u=a.loadInt(32),d=a.loadBit()?a.loadInt(32):void 0,h=a.loadUint(32),g=a.loadUintBig(256),y=a.loadUintBig(256);return{type:\"vm\",success:t,messageStateUsed:n,accountActivated:r,gasFees:i,gasUsed:o,gasLimit:s,gasCredit:l,mode:c,exitCode:u,exitArg:d,vmSteps:h,vmInitStateHash:g,vmFinalStateHash:y}}hd.loadTransactionComputePhase=iY;function aY(e){return t=>{if(e.type===\"skipped\"){t.storeBit(0),t.store((0,rk.storeComputeSkipReason)(e.reason));return}t.storeBit(1),t.storeBit(e.success),t.storeBit(e.messageStateUsed),t.storeBit(e.accountActivated),t.storeCoins(e.gasFees),t.storeRef((0,rY.beginCell)().storeVarUint(e.gasUsed,3).storeVarUint(e.gasLimit,3).store(n=>e.gasCredit!==void 0&&e.gasCredit!==null?n.storeBit(1).storeVarUint(e.gasCredit,2):n.storeBit(0)).storeUint(e.mode,8).storeInt(e.exitCode,32).store(n=>e.exitArg!==void 0&&e.exitArg!==null?n.storeBit(1).storeInt(e.exitArg,32):n.storeBit(0)).storeUint(e.vmSteps,32).storeUint(e.vmInitStateHash,256).storeUint(e.vmFinalStateHash,256).endCell())}}hd.storeTransactionComputePhase=aY});var p5=V(gd=>{\"use strict\";b();Object.defineProperty(gd,\"__esModule\",{value:!0});gd.storeTransactionCreditPhase=gd.loadTransactionCreditPhase=void 0;var ik=Na();function oY(e){let t=e.loadBit()?e.loadCoins():void 0,n=(0,ik.loadCurrencyCollection)(e);return{dueFeesColelcted:t,credit:n}}gd.loadTransactionCreditPhase=oY;function sY(e){return t=>{e.dueFeesColelcted===null||e.dueFeesColelcted===void 0?t.storeBit(!1):(t.storeBit(!0),t.storeCoins(e.dueFeesColelcted)),t.store((0,ik.storeCurrencyCollection)(e.credit))}}gd.storeTransactionCreditPhase=sY});var m5=V(pd=>{\"use strict\";b();Object.defineProperty(pd,\"__esModule\",{value:!0});pd.storeTransactionsStoragePhase=pd.loadTransactionStoragePhase=void 0;var ak=Jp();function lY(e){let t=e.loadCoins(),n;e.loadBit()&&(n=e.loadCoins());let r=(0,ak.loadAccountStatusChange)(e);return{storageFeesCollected:t,storageFeesDue:n,statusChange:r}}pd.loadTransactionStoragePhase=lY;function cY(e){return t=>{t.storeCoins(e.storageFeesCollected),e.storageFeesDue===null||e.storageFeesDue===void 0?t.storeBit(!1):(t.storeBit(!0),t.storeCoins(e.storageFeesDue)),t.store((0,ak.storeAccountStatusChange)(e.statusChange))}}pd.storeTransactionsStoragePhase=cY});var b5=V(bd=>{\"use strict\";b();Object.defineProperty(bd,\"__esModule\",{value:!0});bd.storeTransactionDescription=bd.loadTransactionDescription=void 0;var y5=Hn(),am=d5(),ok=v5(),md=f5(),sk=h5(),yd=g5(),lk=p5(),js=m5();function uY(e){let t=e.loadUint(4);if(t===0){let n=e.loadBit(),r;e.loadBit()&&(r=(0,js.loadTransactionStoragePhase)(e));let i;e.loadBit()&&(i=(0,lk.loadTransactionCreditPhase)(e));let a=(0,yd.loadTransactionComputePhase)(e),o;e.loadBit()&&(o=(0,md.loadTransactionActionPhase)(e.loadRef().beginParse()));let s=e.loadBit(),l;e.loadBit()&&(l=(0,sk.loadTransactionBouncePhase)(e));let c=e.loadBit();return{type:\"generic\",creditFirst:n,storagePhase:r,creditPhase:i,computePhase:a,actionPhase:o,bouncePhase:l,aborted:s,destroyed:c}}if(t===1)return{type:\"storage\",storagePhase:(0,js.loadTransactionStoragePhase)(e)};if(t===2||t===3){let n=t===3,r=(0,js.loadTransactionStoragePhase)(e),i=(0,yd.loadTransactionComputePhase)(e),a;e.loadBit()&&(a=(0,md.loadTransactionActionPhase)(e.loadRef().beginParse()));let o=e.loadBit(),s=e.loadBit();return{type:\"tick-tock\",isTock:n,storagePhase:r,computePhase:i,actionPhase:a,aborted:o,destroyed:s}}if(t===4){let n=(0,am.loadSplitMergeInfo)(e),r;e.loadBit()&&(r=(0,js.loadTransactionStoragePhase)(e));let i=(0,yd.loadTransactionComputePhase)(e),a;e.loadBit()&&(a=(0,md.loadTransactionActionPhase)(e.loadRef().beginParse()));let o=e.loadBit(),s=e.loadBit();return{type:\"split-prepare\",splitInfo:n,storagePhase:r,computePhase:i,actionPhase:a,aborted:o,destroyed:s}}if(t===5){let n=(0,am.loadSplitMergeInfo)(e),r=(0,ok.loadTransaction)(e.loadRef().beginParse()),i=e.loadBit();return{type:\"split-install\",splitInfo:n,prepareTransaction:r,installed:i}}throw Error(`Unsupported transaction description type ${t}`)}bd.loadTransactionDescription=uY;function dY(e){return t=>{if(e.type===\"generic\")t.storeUint(0,4),t.storeBit(e.creditFirst),e.storagePhase?(t.storeBit(!0),t.store((0,js.storeTransactionsStoragePhase)(e.storagePhase))):t.storeBit(!1),e.creditPhase?(t.storeBit(!0),t.store((0,lk.storeTransactionCreditPhase)(e.creditPhase))):t.storeBit(!1),t.store((0,yd.storeTransactionComputePhase)(e.computePhase)),e.actionPhase?(t.storeBit(!0),t.storeRef((0,y5.beginCell)().store((0,md.storeTransactionActionPhase)(e.actionPhase)))):t.storeBit(!1),t.storeBit(e.aborted),e.bouncePhase?(t.storeBit(!0),t.store((0,sk.storeTransactionBouncePhase)(e.bouncePhase))):t.storeBit(!1),t.storeBit(e.destroyed);else if(e.type===\"storage\")t.storeUint(1,4),t.store((0,js.storeTransactionsStoragePhase)(e.storagePhase));else if(e.type===\"tick-tock\")t.storeUint(e.isTock?3:2,4),t.store((0,js.storeTransactionsStoragePhase)(e.storagePhase)),t.store((0,yd.storeTransactionComputePhase)(e.computePhase)),e.actionPhase?(t.storeBit(!0),t.storeRef((0,y5.beginCell)().store((0,md.storeTransactionActionPhase)(e.actionPhase)))):t.storeBit(!1),t.storeBit(e.aborted),t.storeBit(e.destroyed);else if(e.type===\"split-prepare\")t.storeUint(4,4),t.store((0,am.storeSplitMergeInfo)(e.splitInfo)),e.storagePhase?(t.storeBit(!0),t.store((0,js.storeTransactionsStoragePhase)(e.storagePhase))):t.storeBit(!1),t.store((0,yd.storeTransactionComputePhase)(e.computePhase)),e.actionPhase?(t.storeBit(!0),t.store((0,md.storeTransactionActionPhase)(e.actionPhase))):t.storeBit(!1),t.storeBit(e.aborted),t.storeBit(e.destroyed);else if(e.type===\"split-install\")t.storeUint(5,4),t.store((0,am.storeSplitMergeInfo)(e.splitInfo)),t.storeRef((0,y5.beginCell)().store((0,ok.storeTransaction)(e.prepareTransaction))),t.storeBit(e.installed);else throw Error(`Unsupported transaction description type ${e.type}`)}}bd.storeTransactionDescription=dY});var v5=V(vd=>{\"use strict\";b();Object.defineProperty(vd,\"__esModule\",{value:!0});vd.storeTransaction=vd.loadTransaction=void 0;var om=Hn(),fY=Ro(),sm=Z3(),ck=Na(),uk=r5(),w5=s5(),dk=b5();function hY(e){let t=e.asCell();if(e.loadUint(4)!==7)throw Error(\"Invalid data\");let n=e.loadUintBig(256),r=e.loadUintBig(64),i=e.loadUintBig(256),a=e.loadUintBig(64),o=e.loadUint(32),s=e.loadUint(15),l=(0,sm.loadAccountStatus)(e),c=(0,sm.loadAccountStatus)(e),d=e.loadRef().beginParse(),h=d.loadBit()?(0,w5.loadMessage)(d.loadRef().beginParse()):void 0,g=d.loadDict(fY.Dictionary.Keys.Uint(15),w5.MessageValue);d.endParse();let y=(0,ck.loadCurrencyCollection)(e),E=(0,uk.loadHashUpdate)(e.loadRef().beginParse()),L=(0,dk.loadTransactionDescription)(e.loadRef().beginParse());return{address:n,lt:r,prevTransactionHash:i,prevTransactionLt:a,now:o,outMessagesCount:s,oldStatus:l,endStatus:c,inMessage:h,outMessages:g,totalFees:y,stateUpdate:E,description:L,raw:t,hash:()=>t.hash()}}vd.loadTransaction=hY;function gY(e){return t=>{t.storeUint(7,4),t.storeUint(e.address,256),t.storeUint(e.lt,64),t.storeUint(e.prevTransactionHash,256),t.storeUint(e.prevTransactionLt,64),t.storeUint(e.now,32),t.storeUint(e.outMessagesCount,15),t.store((0,sm.storeAccountStatus)(e.oldStatus)),t.store((0,sm.storeAccountStatus)(e.endStatus));let n=(0,om.beginCell)();e.inMessage?(n.storeBit(!0),n.storeRef((0,om.beginCell)().store((0,w5.storeMessage)(e.inMessage)))):n.storeBit(!1),n.storeDict(e.outMessages),t.storeRef(n),t.store((0,ck.storeCurrencyCollection)(e.totalFees)),t.storeRef((0,om.beginCell)().store((0,uk.storeHashUpdate)(e.stateUpdate))),t.storeRef((0,om.beginCell)().store((0,dk.storeTransactionDescription)(e.description)))}}vd.storeTransaction=gY});var qk=V(Y=>{\"use strict\";b();Object.defineProperty(Y,\"__esModule\",{value:!0});Y.loadSimpleLibrary=Y.loadShardStateUnsplit=Y.storeShardIdent=Y.loadShardIdent=Y.storeShardAccounts=Y.loadShardAccounts=Y.ShardAccountRefValue=Y.storeShardAccount=Y.loadShardAccount=Y.ReserveMode=Y.SendMode=Y.storeMessageRelaxed=Y.loadMessageRelaxed=Y.storeMessage=Y.loadMessage=Y.loadMasterchainStateExtra=Y.storeHashUpdate=Y.loadHashUpdate=Y.storeExtraCurrency=Y.loadMaybeExtraCurrency=Y.loadExtraCurrency=Y.packExtraCurrencyDict=Y.packExtraCurrencyCell=Y.storeDepthBalanceInfo=Y.loadDepthBalanceInfo=Y.storeCurrencyCollection=Y.loadCurrencyCollection=Y.storeComputeSkipReason=Y.loadComputeSkipReason=Y.storeCommonMessageInfoRelaxed=Y.loadCommonMessageInfoRelaxed=Y.storeCommonMessageInfo=Y.loadCommonMessageInfo=Y.storeOutList=Y.loadOutList=Y.storeOutAction=Y.loadOutAction=Y.storeAccountStorage=Y.loadAccountStorage=Y.storeAccountStatusChange=Y.loadAccountStatusChange=Y.storeAccountStatus=Y.loadAccountStatus=Y.storeAccountState=Y.loadAccountState=Y.storeAccount=Y.loadAccount=Y.comment=Y.external=Y.internal=void 0;Y.storeTransactionsStoragePhase=Y.loadTransactionStoragePhase=Y.storeTransactionDescription=Y.loadTransactionDescription=Y.storeTransactionCreditPhase=Y.loadTransactionCreditPhase=Y.storeTransactionComputePhase=Y.loadTransactionComputePhase=Y.storeTransactionBouncePhase=Y.loadTransactionBouncePhase=Y.storeTransactionActionPhase=Y.loadTransactionActionPhase=Y.storeTransaction=Y.loadTransaction=Y.storeTickTock=Y.loadTickTock=Y.storeStorageUsed=Y.loadStorageUsed=Y.storeStorageInfo=Y.loadStorageInfo=Y.storeStateInit=Y.loadStateInit=Y.storeSplitMergeInfo=Y.loadSplitMergeInfo=Y.storeLibRef=Y.loadLibRef=Y.storeSimpleLibrary=void 0;var x5=yA();Object.defineProperty(Y,\"internal\",{enumerable:!0,get:function(){return x5.internal}});Object.defineProperty(Y,\"external\",{enumerable:!0,get:function(){return x5.external}});Object.defineProperty(Y,\"comment\",{enumerable:!0,get:function(){return x5.comment}});var fk=$3();Object.defineProperty(Y,\"loadAccount\",{enumerable:!0,get:function(){return fk.loadAccount}});Object.defineProperty(Y,\"storeAccount\",{enumerable:!0,get:function(){return fk.storeAccount}});var hk=W3();Object.defineProperty(Y,\"loadAccountState\",{enumerable:!0,get:function(){return hk.loadAccountState}});Object.defineProperty(Y,\"storeAccountState\",{enumerable:!0,get:function(){return hk.storeAccountState}});var gk=Z3();Object.defineProperty(Y,\"loadAccountStatus\",{enumerable:!0,get:function(){return gk.loadAccountStatus}});Object.defineProperty(Y,\"storeAccountStatus\",{enumerable:!0,get:function(){return gk.storeAccountStatus}});var pk=Jp();Object.defineProperty(Y,\"loadAccountStatusChange\",{enumerable:!0,get:function(){return pk.loadAccountStatusChange}});Object.defineProperty(Y,\"storeAccountStatusChange\",{enumerable:!0,get:function(){return pk.storeAccountStatusChange}});var mk=F3();Object.defineProperty(Y,\"loadAccountStorage\",{enumerable:!0,get:function(){return mk.loadAccountStorage}});Object.defineProperty(Y,\"storeAccountStorage\",{enumerable:!0,get:function(){return mk.storeAccountStorage}});var lm=DA();Object.defineProperty(Y,\"loadOutAction\",{enumerable:!0,get:function(){return lm.loadOutAction}});Object.defineProperty(Y,\"storeOutAction\",{enumerable:!0,get:function(){return lm.storeOutAction}});Object.defineProperty(Y,\"loadOutList\",{enumerable:!0,get:function(){return lm.loadOutList}});Object.defineProperty(Y,\"storeOutList\",{enumerable:!0,get:function(){return lm.storeOutList}});var yk=e5();Object.defineProperty(Y,\"loadCommonMessageInfo\",{enumerable:!0,get:function(){return yk.loadCommonMessageInfo}});Object.defineProperty(Y,\"storeCommonMessageInfo\",{enumerable:!0,get:function(){return yk.storeCommonMessageInfo}});var bk=Y3();Object.defineProperty(Y,\"loadCommonMessageInfoRelaxed\",{enumerable:!0,get:function(){return bk.loadCommonMessageInfoRelaxed}});Object.defineProperty(Y,\"storeCommonMessageInfoRelaxed\",{enumerable:!0,get:function(){return bk.storeCommonMessageInfoRelaxed}});var vk=t5();Object.defineProperty(Y,\"loadComputeSkipReason\",{enumerable:!0,get:function(){return vk.loadComputeSkipReason}});Object.defineProperty(Y,\"storeComputeSkipReason\",{enumerable:!0,get:function(){return vk.storeComputeSkipReason}});var wk=Na();Object.defineProperty(Y,\"loadCurrencyCollection\",{enumerable:!0,get:function(){return wk.loadCurrencyCollection}});Object.defineProperty(Y,\"storeCurrencyCollection\",{enumerable:!0,get:function(){return wk.storeCurrencyCollection}});var xk=n5();Object.defineProperty(Y,\"loadDepthBalanceInfo\",{enumerable:!0,get:function(){return xk.loadDepthBalanceInfo}});Object.defineProperty(Y,\"storeDepthBalanceInfo\",{enumerable:!0,get:function(){return xk.storeDepthBalanceInfo}});var Ph=V3();Object.defineProperty(Y,\"packExtraCurrencyCell\",{enumerable:!0,get:function(){return Ph.packExtraCurrencyCell}});Object.defineProperty(Y,\"packExtraCurrencyDict\",{enumerable:!0,get:function(){return Ph.packExtraCurrencyDict}});Object.defineProperty(Y,\"loadExtraCurrency\",{enumerable:!0,get:function(){return Ph.loadExtraCurrency}});Object.defineProperty(Y,\"loadMaybeExtraCurrency\",{enumerable:!0,get:function(){return Ph.loadMaybeExtraCurrency}});Object.defineProperty(Y,\"storeExtraCurrency\",{enumerable:!0,get:function(){return Ph.storeExtraCurrency}});var Ck=r5();Object.defineProperty(Y,\"loadHashUpdate\",{enumerable:!0,get:function(){return Ck.loadHashUpdate}});Object.defineProperty(Y,\"storeHashUpdate\",{enumerable:!0,get:function(){return Ck.storeHashUpdate}});var pY=a5();Object.defineProperty(Y,\"loadMasterchainStateExtra\",{enumerable:!0,get:function(){return pY.loadMasterchainStateExtra}});var Sk=s5();Object.defineProperty(Y,\"loadMessage\",{enumerable:!0,get:function(){return Sk.loadMessage}});Object.defineProperty(Y,\"storeMessage\",{enumerable:!0,get:function(){return Sk.storeMessage}});var _k=Q3();Object.defineProperty(Y,\"loadMessageRelaxed\",{enumerable:!0,get:function(){return _k.loadMessageRelaxed}});Object.defineProperty(Y,\"storeMessageRelaxed\",{enumerable:!0,get:function(){return _k.storeMessageRelaxed}});var mY=KA();Object.defineProperty(Y,\"SendMode\",{enumerable:!0,get:function(){return mY.SendMode}});var yY=ZA();Object.defineProperty(Y,\"ReserveMode\",{enumerable:!0,get:function(){return yY.ReserveMode}});var Tk=l5();Object.defineProperty(Y,\"loadShardAccount\",{enumerable:!0,get:function(){return Tk.loadShardAccount}});Object.defineProperty(Y,\"storeShardAccount\",{enumerable:!0,get:function(){return Tk.storeShardAccount}});var C5=c5();Object.defineProperty(Y,\"ShardAccountRefValue\",{enumerable:!0,get:function(){return C5.ShardAccountRefValue}});Object.defineProperty(Y,\"loadShardAccounts\",{enumerable:!0,get:function(){return C5.loadShardAccounts}});Object.defineProperty(Y,\"storeShardAccounts\",{enumerable:!0,get:function(){return C5.storeShardAccounts}});var Ek=u5();Object.defineProperty(Y,\"loadShardIdent\",{enumerable:!0,get:function(){return Ek.loadShardIdent}});Object.defineProperty(Y,\"storeShardIdent\",{enumerable:!0,get:function(){return Ek.storeShardIdent}});var bY=ek();Object.defineProperty(Y,\"loadShardStateUnsplit\",{enumerable:!0,get:function(){return bY.loadShardStateUnsplit}});var Ak=O3();Object.defineProperty(Y,\"loadSimpleLibrary\",{enumerable:!0,get:function(){return Ak.loadSimpleLibrary}});Object.defineProperty(Y,\"storeSimpleLibrary\",{enumerable:!0,get:function(){return Ak.storeSimpleLibrary}});var kk=X3();Object.defineProperty(Y,\"loadLibRef\",{enumerable:!0,get:function(){return kk.loadLibRef}});Object.defineProperty(Y,\"storeLibRef\",{enumerable:!0,get:function(){return kk.storeLibRef}});var Bk=d5();Object.defineProperty(Y,\"loadSplitMergeInfo\",{enumerable:!0,get:function(){return Bk.loadSplitMergeInfo}});Object.defineProperty(Y,\"storeSplitMergeInfo\",{enumerable:!0,get:function(){return Bk.storeSplitMergeInfo}});var Mk=Vu();Object.defineProperty(Y,\"loadStateInit\",{enumerable:!0,get:function(){return Mk.loadStateInit}});Object.defineProperty(Y,\"storeStateInit\",{enumerable:!0,get:function(){return Mk.storeStateInit}});var Rk=K3();Object.defineProperty(Y,\"loadStorageInfo\",{enumerable:!0,get:function(){return Rk.loadStorageInfo}});Object.defineProperty(Y,\"storeStorageInfo\",{enumerable:!0,get:function(){return Rk.storeStorageInfo}});var Uk=Nh();Object.defineProperty(Y,\"loadStorageUsed\",{enumerable:!0,get:function(){return Uk.loadStorageUsed}});Object.defineProperty(Y,\"storeStorageUsed\",{enumerable:!0,get:function(){return Uk.storeStorageUsed}});var Ok=I3();Object.defineProperty(Y,\"loadTickTock\",{enumerable:!0,get:function(){return Ok.loadTickTock}});Object.defineProperty(Y,\"storeTickTock\",{enumerable:!0,get:function(){return Ok.storeTickTock}});var Ik=v5();Object.defineProperty(Y,\"loadTransaction\",{enumerable:!0,get:function(){return Ik.loadTransaction}});Object.defineProperty(Y,\"storeTransaction\",{enumerable:!0,get:function(){return Ik.storeTransaction}});var Nk=f5();Object.defineProperty(Y,\"loadTransactionActionPhase\",{enumerable:!0,get:function(){return Nk.loadTransactionActionPhase}});Object.defineProperty(Y,\"storeTransactionActionPhase\",{enumerable:!0,get:function(){return Nk.storeTransactionActionPhase}});var Pk=h5();Object.defineProperty(Y,\"loadTransactionBouncePhase\",{enumerable:!0,get:function(){return Pk.loadTransactionBouncePhase}});Object.defineProperty(Y,\"storeTransactionBouncePhase\",{enumerable:!0,get:function(){return Pk.storeTransactionBouncePhase}});var zk=g5();Object.defineProperty(Y,\"loadTransactionComputePhase\",{enumerable:!0,get:function(){return zk.loadTransactionComputePhase}});Object.defineProperty(Y,\"storeTransactionComputePhase\",{enumerable:!0,get:function(){return zk.storeTransactionComputePhase}});var Dk=p5();Object.defineProperty(Y,\"loadTransactionCreditPhase\",{enumerable:!0,get:function(){return Dk.loadTransactionCreditPhase}});Object.defineProperty(Y,\"storeTransactionCreditPhase\",{enumerable:!0,get:function(){return Dk.storeTransactionCreditPhase}});var Lk=b5();Object.defineProperty(Y,\"loadTransactionDescription\",{enumerable:!0,get:function(){return Lk.loadTransactionDescription}});Object.defineProperty(Y,\"storeTransactionDescription\",{enumerable:!0,get:function(){return Lk.storeTransactionDescription}});var jk=m5();Object.defineProperty(Y,\"loadTransactionStoragePhase\",{enumerable:!0,get:function(){return jk.loadTransactionStoragePhase}});Object.defineProperty(Y,\"storeTransactionsStoragePhase\",{enumerable:!0,get:function(){return jk.storeTransactionsStoragePhase}})});var Vk=V(cm=>{\"use strict\";b();Object.defineProperty(cm,\"__esModule\",{value:!0});cm.openContract=void 0;var vY=Ao(),Hk=Ts();function wY(e,t){let n,r=null;if(!vY.Address.isAddress(e.address))throw Error(\"Invalid address\");if(n=e.address,e.init){if(!(e.init.code instanceof Hk.Cell))throw Error(\"Invalid init.code\");if(!(e.init.data instanceof Hk.Cell))throw Error(\"Invalid init.data\");r=e.init}let i=t({address:n,init:r});return new Proxy(e,{get(a,o){let s=a[o];return typeof o==\"string\"&&(o.startsWith(\"get\")||o.startsWith(\"send\")||o.startsWith(\"is\"))&&typeof s==\"function\"?(...l)=>s.apply(a,[i,...l]):s}})}cm.openContract=wY});var Wk=V(um=>{\"use strict\";b();Object.defineProperty(um,\"__esModule\",{value:!0});um.ComputeError=void 0;var S5=class e extends Error{constructor(t,n,r){super(t),this.exitCode=n,this.debugLogs=r&&r.debugLogs?r.debugLogs:null,this.logs=r&&r.logs?r.logs:null,Object.setPrototypeOf(this,e.prototype)}};um.ComputeError=S5});var Fk=V(dm=>{\"use strict\";b();Object.defineProperty(dm,\"__esModule\",{value:!0});dm.getMethodId=void 0;var xY=new Int16Array([0,4129,8258,12387,16516,20645,24774,28903,33032,37161,41290,45419,49548,53677,57806,61935,4657,528,12915,8786,21173,17044,29431,25302,37689,33560,45947,41818,54205,50076,62463,58334,9314,13379,1056,5121,25830,29895,17572,21637,42346,46411,34088,38153,58862,62927,50604,54669,13907,9842,5649,1584,30423,26358,22165,18100,46939,42874,38681,34616,63455,59390,55197,51132,18628,22757,26758,30887,2112,6241,10242,14371,51660,55789,59790,63919,35144,39273,43274,47403,23285,19156,31415,27286,6769,2640,14899,10770,56317,52188,64447,60318,39801,35672,47931,43802,27814,31879,19684,23749,11298,15363,3168,7233,60846,64911,52716,56781,44330,48395,36200,40265,32407,28342,24277,20212,15891,11826,7761,3696,65439,61374,57309,53244,48923,44858,40793,36728,37256,33193,45514,41451,53516,49453,61774,57711,4224,161,12482,8419,20484,16421,28742,24679,33721,37784,41979,46042,49981,54044,58239,62302,689,4752,8947,13010,16949,21012,25207,29270,46570,42443,38312,34185,62830,58703,54572,50445,13538,9411,5280,1153,29798,25671,21540,17413,42971,47098,34713,38840,59231,63358,50973,55100,9939,14066,1681,5808,26199,30326,17941,22068,55628,51565,63758,59695,39368,35305,47498,43435,22596,18533,30726,26663,6336,2273,14466,10403,52093,56156,60223,64286,35833,39896,43963,48026,19061,23124,27191,31254,2801,6864,10931,14994,64814,60687,56684,52557,48554,44427,40424,36297,31782,27655,23652,19525,15522,11395,7392,3265,61215,65342,53085,57212,44955,49082,36825,40952,28183,32310,20053,24180,11923,16050,3793,7920]);function CY(e){e instanceof globalThis.Buffer||(e=globalThis.Buffer.from(e));let t=0;for(let n=0;n<e.length;n++){let r=e[n];t=(xY[(t>>8^r)&255]^t<<8)&65535}return t}function SY(e){return CY(e)&65535|65536}dm.getMethodId=SY});var $k=V(wd=>{\"use strict\";b();Object.defineProperty(wd,\"__esModule\",{value:!0});wd.safeSignVerify=wd.safeSign=void 0;var _5=Ms(),_Y=8,TY=64;function Kk(e,t){let n=globalThis.Buffer.from(t);if(n.length>TY)throw Error(\"Seed can\t be longer than 64 bytes\");if(n.length<_Y)throw Error(\"Seed must be at least 8 bytes\");return(0,_5.sha256_sync)(globalThis.Buffer.concat([globalThis.Buffer.from([255,255]),n,e.hash()]))}function EY(e,t,n=\"ton-safe-sign-magic\"){return(0,_5.sign)(Kk(e,n),t)}wd.safeSign=EY;function AY(e,t,n,r=\"ton-safe-sign-magic\"){return(0,_5.signVerify)(Kk(e,r),t,n)}wd.safeSignVerify=AY});var Gt=V(ke=>{\"use strict\";b();var kY=ke&&ke.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(\"get\"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),BY=ke&&ke.__exportStar||function(e,t){for(var n in e)n!==\"default\"&&!Object.prototype.hasOwnProperty.call(t,n)&&kY(t,e,n)};Object.defineProperty(ke,\"__esModule\",{value:!0});ke.safeSignVerify=ke.safeSign=ke.getMethodId=ke.base32Encode=ke.base32Decode=ke.crc32c=ke.crc16=ke.fromNano=ke.toNano=ke.ComputeError=ke.openContract=ke.TupleBuilder=ke.TupleReader=ke.serializeTupleItem=ke.parseTupleItem=ke.serializeTuple=ke.parseTuple=ke.generateMerkleUpdate=ke.generateMerkleProofDirect=ke.generateMerkleProof=ke.exoticPruned=ke.exoticMerkleUpdate=ke.convertToMerkleProof=ke.exoticMerkleProof=ke.Dictionary=ke.Cell=ke.CellType=ke.Slice=ke.beginCell=ke.Builder=ke.BitBuilder=ke.BitReader=ke.BitString=ke.contractAddress=ke.ADNLAddress=ke.ExternalAddress=ke.address=ke.Address=void 0;var Zk=Ao();Object.defineProperty(ke,\"Address\",{enumerable:!0,get:function(){return Zk.Address}});Object.defineProperty(ke,\"address\",{enumerable:!0,get:function(){return Zk.address}});var MY=ip();Object.defineProperty(ke,\"ExternalAddress\",{enumerable:!0,get:function(){return MY.ExternalAddress}});var RY=BT();Object.defineProperty(ke,\"ADNLAddress\",{enumerable:!0,get:function(){return RY.ADNLAddress}});var UY=cA();Object.defineProperty(ke,\"contractAddress\",{enumerable:!0,get:function(){return UY.contractAddress}});var OY=ko();Object.defineProperty(ke,\"BitString\",{enumerable:!0,get:function(){return OY.BitString}});var IY=Bo();Object.defineProperty(ke,\"BitReader\",{enumerable:!0,get:function(){return IY.BitReader}});var NY=Ah();Object.defineProperty(ke,\"BitBuilder\",{enumerable:!0,get:function(){return NY.BitBuilder}});var Yk=Hn();Object.defineProperty(ke,\"Builder\",{enumerable:!0,get:function(){return Yk.Builder}});Object.defineProperty(ke,\"beginCell\",{enumerable:!0,get:function(){return Yk.beginCell}});var PY=bp();Object.defineProperty(ke,\"Slice\",{enumerable:!0,get:function(){return PY.Slice}});var zY=Mu();Object.defineProperty(ke,\"CellType\",{enumerable:!0,get:function(){return zY.CellType}});var DY=Ts();Object.defineProperty(ke,\"Cell\",{enumerable:!0,get:function(){return DY.Cell}});var LY=Ro();Object.defineProperty(ke,\"Dictionary\",{enumerable:!0,get:function(){return LY.Dictionary}});var Gk=Bh();Object.defineProperty(ke,\"exoticMerkleProof\",{enumerable:!0,get:function(){return Gk.exoticMerkleProof}});Object.defineProperty(ke,\"convertToMerkleProof\",{enumerable:!0,get:function(){return Gk.convertToMerkleProof}});var jY=xp();Object.defineProperty(ke,\"exoticMerkleUpdate\",{enumerable:!0,get:function(){return jY.exoticMerkleUpdate}});var qY=Tp();Object.defineProperty(ke,\"exoticPruned\",{enumerable:!0,get:function(){return qY.exoticPruned}});var Qk=dp();Object.defineProperty(ke,\"generateMerkleProof\",{enumerable:!0,get:function(){return Qk.generateMerkleProof}});Object.defineProperty(ke,\"generateMerkleProofDirect\",{enumerable:!0,get:function(){return Qk.generateMerkleProofDirect}});var HY=i3();Object.defineProperty(ke,\"generateMerkleUpdate\",{enumerable:!0,get:function(){return HY.generateMerkleUpdate}});var fm=dA();Object.defineProperty(ke,\"parseTuple\",{enumerable:!0,get:function(){return fm.parseTuple}});Object.defineProperty(ke,\"serializeTuple\",{enumerable:!0,get:function(){return fm.serializeTuple}});Object.defineProperty(ke,\"parseTupleItem\",{enumerable:!0,get:function(){return fm.parseTupleItem}});Object.defineProperty(ke,\"serializeTupleItem\",{enumerable:!0,get:function(){return fm.serializeTupleItem}});var VY=fA();Object.defineProperty(ke,\"TupleReader\",{enumerable:!0,get:function(){return VY.TupleReader}});var WY=hA();Object.defineProperty(ke,\"TupleBuilder\",{enumerable:!0,get:function(){return WY.TupleBuilder}});BY(qk(),ke);var FY=Vk();Object.defineProperty(ke,\"openContract\",{enumerable:!0,get:function(){return FY.openContract}});var KY=Wk();Object.defineProperty(ke,\"ComputeError\",{enumerable:!0,get:function(){return KY.ComputeError}});var Xk=q3();Object.defineProperty(ke,\"toNano\",{enumerable:!0,get:function(){return Xk.toNano}});Object.defineProperty(ke,\"fromNano\",{enumerable:!0,get:function(){return Xk.fromNano}});var $Y=np();Object.defineProperty(ke,\"crc16\",{enumerable:!0,get:function(){return $Y.crc16}});var ZY=M3();Object.defineProperty(ke,\"crc32c\",{enumerable:!0,get:function(){return ZY.crc32c}});var Jk=Xw();Object.defineProperty(ke,\"base32Decode\",{enumerable:!0,get:function(){return Jk.base32Decode}});Object.defineProperty(ke,\"base32Encode\",{enumerable:!0,get:function(){return Jk.base32Encode}});var YY=Fk();Object.defineProperty(ke,\"getMethodId\",{enumerable:!0,get:function(){return YY.getMethodId}});var eB=$k();Object.defineProperty(ke,\"safeSign\",{enumerable:!0,get:function(){return eB.safeSign}});Object.defineProperty(ke,\"safeSignVerify\",{enumerable:!0,get:function(){return eB.safeSignVerify}})});var bB=V(pm=>{\"use strict\";b();Object.defineProperty(pm,\"__esModule\",{value:!0});pm.InMemoryCache=void 0;var B5=class{constructor(){this.cache=new Map,this.set=async(t,n,r)=>{r!==null?this.cache.set(t+\"$$\"+n,r):this.cache.delete(t+\"$$\"+n)},this.get=async(t,n)=>{let r=this.cache.get(t+\"$$\"+n);return r!==void 0?r:null}}};pm.InMemoryCache=B5});var xB=V((wse,wB)=>{\"use strict\";b();var gG=(function(){function e(n,r){if(typeof n!=\"function\")throw new TypeError(\"DataLoader must be constructed with a function which accepts \"+(\"Array<key> and returns Promise<Array<value>>, but got: \"+n+\".\"));this._batchLoadFn=n,this._maxBatchSize=bG(r),this._batchScheduleFn=vG(r),this._cacheKeyFn=wG(r),this._cacheMap=xG(r),this._batch=null,this.name=CG(r)}var t=e.prototype;return t.load=function(r){if(r==null)throw new TypeError(\"The loader.load() function must be called with a value, \"+(\"but got: \"+String(r)+\".\"));var i=mG(this),a=this._cacheMap,o;if(a){o=this._cacheKeyFn(r);var s=a.get(o);if(s){var l=i.cacheHits||(i.cacheHits=[]);return new Promise(function(u){l.push(function(){u(s)})})}}i.keys.push(r);var c=new Promise(function(u,d){i.callbacks.push({resolve:u,reject:d})});return a&&a.set(o,c),c},t.loadMany=function(r){if(!vB(r))throw new TypeError(\"The loader.loadMany() function must be called with Array<key> \"+(\"but got: \"+r+\".\"));for(var i=[],a=0;a<r.length;a++)i.push(this.load(r[a]).catch(function(o){return o}));return Promise.all(i)},t.clear=function(r){var i=this._cacheMap;if(i){var a=this._cacheKeyFn(r);i.delete(a)}return this},t.clearAll=function(){var r=this._cacheMap;return r&&r.clear(),this},t.prime=function(r,i){var a=this._cacheMap;if(a){var o=this._cacheKeyFn(r);if(a.get(o)===void 0){var s;i instanceof Error?(s=Promise.reject(i),s.catch(function(){})):s=Promise.resolve(i),a.set(o,s)}}return this},e})(),pG=typeof process==\"object\"&&typeof process.nextTick==\"function\"?function(e){M5||(M5=Promise.resolve()),M5.then(function(){process.nextTick(e)})}:typeof setImmediate==\"function\"?function(e){setImmediate(e)}:function(e){setTimeout(e)},M5;function mG(e){var t=e._batch;if(t!==null&&!t.hasDispatched&&t.keys.length<e._maxBatchSize)return t;var n={hasDispatched:!1,keys:[],callbacks:[]};return e._batch=n,e._batchScheduleFn(function(){yG(e,n)}),n}function yG(e,t){if(t.hasDispatched=!0,t.keys.length===0){U5(t);return}var n;try{n=e._batchLoadFn(t.keys)}catch(r){return R5(e,t,new TypeError(\"DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function \"+(\"errored synchronously: \"+String(r)+\".\")))}if(!n||typeof n.then!=\"function\")return R5(e,t,new TypeError(\"DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did \"+(\"not return a Promise: \"+String(n)+\".\")));n.then(function(r){if(!vB(r))throw new TypeError(\"DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did \"+(\"not return a Promise of an Array: \"+String(r)+\".\"));if(r.length!==t.keys.length)throw new TypeError(\"DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did not return a Promise of an Array of the same length as the Array of keys.\"+(`\n\nKeys:\n`+String(t.keys))+(`\n\nValues:\n`+String(r)));U5(t);for(var i=0;i<t.callbacks.length;i++){var a=r[i];a instanceof Error?t.callbacks[i].reject(a):t.callbacks[i].resolve(a)}}).catch(function(r){R5(e,t,r)})}function R5(e,t,n){U5(t);for(var r=0;r<t.keys.length;r++)e.clear(t.keys[r]),t.callbacks[r].reject(n)}function U5(e){if(e.cacheHits)for(var t=0;t<e.cacheHits.length;t++)e.cacheHits[t]()}function bG(e){var t=!e||e.batch!==!1;if(!t)return 1;var n=e&&e.maxBatchSize;if(n===void 0)return 1/0;if(typeof n!=\"number\"||n<1)throw new TypeError(\"maxBatchSize must be a positive number: \"+n);return n}function vG(e){var t=e&&e.batchScheduleFn;if(t===void 0)return pG;if(typeof t!=\"function\")throw new TypeError(\"batchScheduleFn must be a function: \"+t);return t}function wG(e){var t=e&&e.cacheKeyFn;if(t===void 0)return function(n){return n};if(typeof t!=\"function\")throw new TypeError(\"cacheKeyFn must be a function: \"+t);return t}function xG(e){var t=!e||e.cache!==!1;if(!t)return null;var n=e&&e.cacheMap;if(n===void 0)return new Map;if(n!==null){var r=[\"get\",\"set\",\"delete\",\"clear\"],i=r.filter(function(a){return n&&typeof n[a]!=\"function\"});if(i.length!==0)throw new TypeError(\"Custom cacheMap missing methods: \"+i.join(\", \"))}return n}function CG(e){return e&&e.name?e.name:null}function vB(e){return typeof e==\"object\"&&e!==null&&typeof e.length==\"number\"&&(e.length===0||e.length>0&&Object.prototype.hasOwnProperty.call(e,e.length-1))}wB.exports=gG});var Z5=V((Cse,sM)=>{\"use strict\";b();function DB(e,t){return function(){return e.apply(t,arguments)}}var{toString:SG}=Object.prototype,{getPrototypeOf:H5}=Object,{iterator:Cm,toStringTag:LB}=Symbol,Sm=(e=>t=>{let n=SG.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ta=e=>(e=e.toLowerCase(),t=>Sm(t)===e),_m=e=>t=>typeof t===e,{isArray:Td}=Array,Cd=_m(\"undefined\");function jh(e){return e!==null&&!Cd(e)&&e.constructor!==null&&!Cd(e.constructor)&&Qr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var jB=ta(\"ArrayBuffer\");function _G(e){let t;return typeof ArrayBuffer<\"u\"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&jB(e.buffer),t}var TG=_m(\"string\"),Qr=_m(\"function\"),qB=_m(\"number\"),qh=e=>e!==null&&typeof e==\"object\",EG=e=>e===!0||e===!1,ym=e=>{if(Sm(e)!==\"object\")return!1;let t=H5(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(LB in e)&&!(Cm in e)},AG=e=>{if(!qh(e)||jh(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},kG=ta(\"Date\"),BG=ta(\"File\"),MG=ta(\"Blob\"),RG=ta(\"FileList\"),UG=e=>qh(e)&&Qr(e.pipe),OG=e=>{let t;return e&&(typeof FormData==\"function\"&&e instanceof FormData||Qr(e.append)&&((t=Sm(e))===\"formdata\"||t===\"object\"&&Qr(e.toString)&&e.toString()===\"[object FormData]\"))},IG=ta(\"URLSearchParams\"),[NG,PG,zG,DG]=[\"ReadableStream\",\"Request\",\"Response\",\"Headers\"].map(ta),LG=e=>e.trim?e.trim():e.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g,\"\");function Hh(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>\"u\")return;let r,i;if(typeof e!=\"object\"&&(e=[e]),Td(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(jh(e))return;let a=n?Object.getOwnPropertyNames(e):Object.keys(e),o=a.length,s;for(r=0;r<o;r++)s=a[r],t.call(null,e[s],s,e)}}function HB(e,t){if(jh(e))return null;t=t.toLowerCase();let n=Object.keys(e),r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}var zl=typeof globalThis<\"u\"?globalThis:typeof self<\"u\"?self:typeof window<\"u\"?window:globalThis,VB=e=>!Cd(e)&&e!==zl;function P5(){let{caseless:e,skipUndefined:t}=VB(this)&&this||{},n={},r=(i,a)=>{let o=e&&HB(n,a)||a;ym(n[o])&&ym(i)?n[o]=P5(n[o],i):ym(i)?n[o]=P5({},i):Td(i)?n[o]=i.slice():(!t||!Cd(i))&&(n[o]=i)};for(let i=0,a=arguments.length;i<a;i++)arguments[i]&&Hh(arguments[i],r);return n}var jG=(e,t,n,{allOwnKeys:r}={})=>(Hh(t,(i,a)=>{n&&Qr(i)?e[a]=DB(i,n):e[a]=i},{allOwnKeys:r}),e),qG=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),HG=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,\"super\",{value:t.prototype}),n&&Object.assign(e.prototype,n)},VG=(e,t,n,r)=>{let i,a,o,s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)o=i[a],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&H5(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},WG=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;let r=e.indexOf(t,n);return r!==-1&&r===n},FG=e=>{if(!e)return null;if(Td(e))return e;let t=e.length;if(!qB(t))return null;let n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},KG=(e=>t=>e&&t instanceof e)(typeof Uint8Array<\"u\"&&H5(Uint8Array)),$G=(e,t)=>{let r=(e&&e[Cm]).call(e),i;for(;(i=r.next())&&!i.done;){let a=i.value;t.call(e,a[0],a[1])}},ZG=(e,t)=>{let n,r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},YG=ta(\"HTMLFormElement\"),GG=e=>e.toLowerCase().replace(/[-_\\s]([a-z\\d])(\\w*)/g,function(n,r,i){return r.toUpperCase()+i}),CB=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),QG=ta(\"RegExp\"),WB=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),r={};Hh(n,(i,a)=>{let o;(o=t(i,a,e))!==!1&&(r[a]=o||i)}),Object.defineProperties(e,r)},XG=e=>{WB(e,(t,n)=>{if(Qr(e)&&[\"arguments\",\"caller\",\"callee\"].indexOf(n)!==-1)return!1;let r=e[n];if(Qr(r)){if(t.enumerable=!1,\"writable\"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error(\"Can not rewrite read-only method '\"+n+\"'\")})}})},JG=(e,t)=>{let n={},r=i=>{i.forEach(a=>{n[a]=!0})};return Td(e)?r(e):r(String(e).split(t)),n},eQ=()=>{},tQ=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function nQ(e){return!!(e&&Qr(e.append)&&e[LB]===\"FormData\"&&e[Cm])}var rQ=e=>{let t=new Array(10),n=(r,i)=>{if(qh(r)){if(t.indexOf(r)>=0)return;if(jh(r))return r;if(!(\"toJSON\"in r)){t[i]=r;let a=Td(r)?[]:{};return Hh(r,(o,s)=>{let l=n(o,i+1);!Cd(l)&&(a[s]=l)}),t[i]=void 0,a}}return r};return n(e,0)},iQ=ta(\"AsyncFunction\"),aQ=e=>e&&(qh(e)||Qr(e))&&Qr(e.then)&&Qr(e.catch),FB=((e,t)=>e?setImmediate:t?((n,r)=>(zl.addEventListener(\"message\",({source:i,data:a})=>{i===zl&&a===n&&r.length&&r.shift()()},!1),i=>{r.push(i),zl.postMessage(n,\"*\")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate==\"function\",Qr(zl.postMessage)),oQ=typeof queueMicrotask<\"u\"?queueMicrotask.bind(zl):typeof process<\"u\"&&process.nextTick||FB,sQ=e=>e!=null&&Qr(e[Cm]),X={isArray:Td,isArrayBuffer:jB,isBuffer:jh,isFormData:OG,isArrayBufferView:_G,isString:TG,isNumber:qB,isBoolean:EG,isObject:qh,isPlainObject:ym,isEmptyObject:AG,isReadableStream:NG,isRequest:PG,isResponse:zG,isHeaders:DG,isUndefined:Cd,isDate:kG,isFile:BG,isBlob:MG,isRegExp:QG,isFunction:Qr,isStream:UG,isURLSearchParams:IG,isTypedArray:KG,isFileList:RG,forEach:Hh,merge:P5,extend:jG,trim:LG,stripBOM:qG,inherits:HG,toFlatObject:VG,kindOf:Sm,kindOfTest:ta,endsWith:WG,toArray:FG,forEachEntry:$G,matchAll:ZG,isHTMLForm:YG,hasOwnProperty:CB,hasOwnProp:CB,reduceDescriptors:WB,freezeMethods:XG,toObjectSet:JG,toCamelCase:GG,noop:eQ,toFiniteNumber:tQ,findKey:HB,global:zl,isContextDefined:VB,isSpecCompliantForm:nQ,toJSONObject:rQ,isAsyncFn:iQ,isThenable:aQ,setImmediate:FB,asap:oQ,isIterable:sQ};function wt(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name=\"AxiosError\",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}X.inherits(wt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:X.toJSONObject(this.config),code:this.code,status:this.status}}});var KB=wt.prototype,$B={};[\"ERR_BAD_OPTION_VALUE\",\"ERR_BAD_OPTION\",\"ECONNABORTED\",\"ETIMEDOUT\",\"ERR_NETWORK\",\"ERR_FR_TOO_MANY_REDIRECTS\",\"ERR_DEPRECATED\",\"ERR_BAD_RESPONSE\",\"ERR_BAD_REQUEST\",\"ERR_CANCELED\",\"ERR_NOT_SUPPORT\",\"ERR_INVALID_URL\"].forEach(e=>{$B[e]={value:e}});Object.defineProperties(wt,$B);Object.defineProperty(KB,\"isAxiosError\",{value:!0});wt.from=(e,t,n,r,i,a)=>{let o=Object.create(KB);X.toFlatObject(e,o,function(u){return u!==Error.prototype},c=>c!==\"isAxiosError\");let s=e&&e.message?e.message:\"Error\",l=t==null&&e?e.code:t;return wt.call(o,s,l,n,r,i),e&&o.cause==null&&Object.defineProperty(o,\"cause\",{value:e,configurable:!0}),o.name=e&&e.name||\"Error\",a&&Object.assign(o,a),o};var lQ=null;function z5(e){return X.isPlainObject(e)||X.isArray(e)}function ZB(e){return X.endsWith(e,\"[]\")?e.slice(0,-2):e}function SB(e,t,n){return e?e.concat(t).map(function(i,a){return i=ZB(i),!n&&a?\"[\"+i+\"]\":i}).join(n?\".\":\"\"):t}function cQ(e){return X.isArray(e)&&!e.some(z5)}var uQ=X.toFlatObject(X,{},null,function(t){return/^is[A-Z]/.test(t)});function Tm(e,t,n){if(!X.isObject(e))throw new TypeError(\"target must be an object\");t=t||new FormData,n=X.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(E,L){return!X.isUndefined(L[E])});let r=n.metaTokens,i=n.visitor||u,a=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<\"u\"&&Blob)&&X.isSpecCompliantForm(t);if(!X.isFunction(i))throw new TypeError(\"visitor must be a function\");function c(y){if(y===null)return\"\";if(X.isDate(y))return y.toISOString();if(X.isBoolean(y))return y.toString();if(!l&&X.isBlob(y))throw new wt(\"Blob is not supported. Use a Buffer instead.\");return X.isArrayBuffer(y)||X.isTypedArray(y)?l&&typeof Blob==\"function\"?new Blob([y]):globalThis.Buffer.from(y):y}function u(y,E,L){let C=y;if(y&&!L&&typeof y==\"object\"){if(X.endsWith(E,\"{}\"))E=r?E:E.slice(0,-2),y=JSON.stringify(y);else if(X.isArray(y)&&cQ(y)||(X.isFileList(y)||X.endsWith(E,\"[]\"))&&(C=X.toArray(y)))return E=ZB(E),C.forEach(function(T,R){!(X.isUndefined(T)||T===null)&&t.append(o===!0?SB([E],R,a):o===null?E:E+\"[]\",c(T))}),!1}return z5(y)?!0:(t.append(SB(L,E,a),c(y)),!1)}let d=[],h=Object.assign(uQ,{defaultVisitor:u,convertValue:c,isVisitable:z5});function g(y,E){if(!X.isUndefined(y)){if(d.indexOf(y)!==-1)throw Error(\"Circular reference detected in \"+E.join(\".\"));d.push(y),X.forEach(y,function(C,v){(!(X.isUndefined(C)||C===null)&&i.call(t,C,X.isString(v)?v.trim():v,E,h))===!0&&g(C,E?E.concat(v):[v])}),d.pop()}}if(!X.isObject(e))throw new TypeError(\"data must be an object\");return g(e),t}function _B(e){let t={\"!\":\"%21\",\"'\":\"%27\",\"(\":\"%28\",\")\":\"%29\",\"~\":\"%7E\",\"%20\":\"+\",\"%00\":\"\\0\"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function V5(e,t){this._pairs=[],e&&Tm(e,this,t)}var YB=V5.prototype;YB.append=function(t,n){this._pairs.push([t,n])};YB.toString=function(t){let n=t?function(r){return t.call(this,r,_B)}:_B;return this._pairs.map(function(i){return n(i[0])+\"=\"+n(i[1])},\"\").join(\"&\")};function dQ(e){return encodeURIComponent(e).replace(/%3A/gi,\":\").replace(/%24/g,\"$\").replace(/%2C/gi,\",\").replace(/%20/g,\"+\")}function GB(e,t,n){if(!t)return e;let r=n&&n.encode||dQ;X.isFunction(n)&&(n={serialize:n});let i=n&&n.serialize,a;if(i?a=i(t,n):a=X.isURLSearchParams(t)?t.toString():new V5(t,n).toString(r),a){let o=e.indexOf(\"#\");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf(\"?\")===-1?\"?\":\"&\")+a}return e}var D5=class{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){X.forEach(this.handlers,function(r){r!==null&&t(r)})}},TB=D5,QB={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},fQ=typeof URLSearchParams<\"u\"?URLSearchParams:V5,hQ=typeof FormData<\"u\"?FormData:null,gQ=typeof Blob<\"u\"?Blob:null,pQ={isBrowser:!0,classes:{URLSearchParams:fQ,FormData:hQ,Blob:gQ},protocols:[\"http\",\"https\",\"file\",\"blob\",\"url\",\"data\"]},W5=typeof window<\"u\"&&typeof document<\"u\",L5=typeof navigator==\"object\"&&navigator||void 0,mQ=W5&&(!L5||[\"ReactNative\",\"NativeScript\",\"NS\"].indexOf(L5.product)<0),yQ=typeof WorkerGlobalScope<\"u\"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==\"function\",bQ=W5&&window.location.href||\"http://localhost\",vQ=Object.freeze({__proto__:null,hasBrowserEnv:W5,hasStandardBrowserWebWorkerEnv:yQ,hasStandardBrowserEnv:mQ,navigator:L5,origin:bQ}),_r={...vQ,...pQ};function wQ(e,t){return Tm(e,new _r.classes.URLSearchParams,{visitor:function(n,r,i,a){return _r.isNode&&X.isBuffer(n)?(this.append(r,n.toString(\"base64\")),!1):a.defaultVisitor.apply(this,arguments)},...t})}function xQ(e){return X.matchAll(/\\w+|\\[(\\w*)]/g,e).map(t=>t[0]===\"[]\"?\"\":t[1]||t[0])}function CQ(e){let t={},n=Object.keys(e),r,i=n.length,a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function XB(e){function t(n,r,i,a){let o=n[a++];if(o===\"__proto__\")return!0;let s=Number.isFinite(+o),l=a>=n.length;return o=!o&&X.isArray(i)?i.length:o,l?(X.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!s):((!i[o]||!X.isObject(i[o]))&&(i[o]=[]),t(n,r,i[o],a)&&X.isArray(i[o])&&(i[o]=CQ(i[o])),!s)}if(X.isFormData(e)&&X.isFunction(e.entries)){let n={};return X.forEachEntry(e,(r,i)=>{t(xQ(r),i,n,0)}),n}return null}function SQ(e,t,n){if(X.isString(e))try{return(t||JSON.parse)(e),X.trim(e)}catch(r){if(r.name!==\"SyntaxError\")throw r}return(n||JSON.stringify)(e)}var F5={transitional:QB,adapter:[\"xhr\",\"http\",\"fetch\"],transformRequest:[function(t,n){let r=n.getContentType()||\"\",i=r.indexOf(\"application/json\")>-1,a=X.isObject(t);if(a&&X.isHTMLForm(t)&&(t=new FormData(t)),X.isFormData(t))return i?JSON.stringify(XB(t)):t;if(X.isArrayBuffer(t)||X.isBuffer(t)||X.isStream(t)||X.isFile(t)||X.isBlob(t)||X.isReadableStream(t))return t;if(X.isArrayBufferView(t))return t.buffer;if(X.isURLSearchParams(t))return n.setContentType(\"application/x-www-form-urlencoded;charset=utf-8\",!1),t.toString();let s;if(a){if(r.indexOf(\"application/x-www-form-urlencoded\")>-1)return wQ(t,this.formSerializer).toString();if((s=X.isFileList(t))||r.indexOf(\"multipart/form-data\")>-1){let l=this.env&&this.env.FormData;return Tm(s?{\"files[]\":t}:t,l&&new l,this.formSerializer)}}return a||i?(n.setContentType(\"application/json\",!1),SQ(t)):t}],transformResponse:[function(t){let n=this.transitional||F5.transitional,r=n&&n.forcedJSONParsing,i=this.responseType===\"json\";if(X.isResponse(t)||X.isReadableStream(t))return t;if(t&&X.isString(t)&&(r&&!this.responseType||i)){let o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t,this.parseReviver)}catch(s){if(o)throw s.name===\"SyntaxError\"?wt.from(s,wt.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:\"XSRF-TOKEN\",xsrfHeaderName:\"X-XSRF-TOKEN\",maxContentLength:-1,maxBodyLength:-1,env:{FormData:_r.classes.FormData,Blob:_r.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:\"application/json, text/plain, */*\",\"Content-Type\":void 0}}};X.forEach([\"delete\",\"get\",\"head\",\"post\",\"put\",\"patch\"],e=>{F5.headers[e]={}});var K5=F5,_Q=X.toObjectSet([\"age\",\"authorization\",\"content-length\",\"content-type\",\"etag\",\"expires\",\"from\",\"host\",\"if-modified-since\",\"if-unmodified-since\",\"last-modified\",\"location\",\"max-forwards\",\"proxy-authorization\",\"referer\",\"retry-after\",\"user-agent\"]),TQ=e=>{let t={},n,r,i;return e&&e.split(`\n`).forEach(function(o){i=o.indexOf(\":\"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||t[n]&&_Q[n])&&(n===\"set-cookie\"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+\", \"+r:r)}),t},EB=Symbol(\"internals\");function Lh(e){return e&&String(e).trim().toLowerCase()}function bm(e){return e===!1||e==null?e:X.isArray(e)?e.map(bm):String(e)}function EQ(e){let t=Object.create(null),n=/([^\\s,;=]+)\\s*(?:=\\s*([^,;]+))?/g,r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}var AQ=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function O5(e,t,n,r,i){if(X.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!X.isString(t)){if(X.isString(r))return t.indexOf(r)!==-1;if(X.isRegExp(r))return r.test(t)}}function kQ(e){return e.trim().toLowerCase().replace(/([a-z\\d])(\\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function BQ(e,t){let n=X.toCamelCase(\" \"+t);[\"get\",\"set\",\"has\"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,a,o){return this[r].call(this,t,i,a,o)},configurable:!0})})}var Sd=class{constructor(t){t&&this.set(t)}set(t,n,r){let i=this;function a(s,l,c){let u=Lh(l);if(!u)throw new Error(\"header name must be a non-empty string\");let d=X.findKey(i,u);(!d||i[d]===void 0||c===!0||c===void 0&&i[d]!==!1)&&(i[d||l]=bm(s))}let o=(s,l)=>X.forEach(s,(c,u)=>a(c,u,l));if(X.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(X.isString(t)&&(t=t.trim())&&!AQ(t))o(TQ(t),n);else if(X.isObject(t)&&X.isIterable(t)){let s={},l,c;for(let u of t){if(!X.isArray(u))throw TypeError(\"Object iterator must return a key-value pair\");s[c=u[0]]=(l=s[c])?X.isArray(l)?[...l,u[1]]:[l,u[1]]:u[1]}o(s,n)}else t!=null&&a(n,t,r);return this}get(t,n){if(t=Lh(t),t){let r=X.findKey(this,t);if(r){let i=this[r];if(!n)return i;if(n===!0)return EQ(i);if(X.isFunction(n))return n.call(this,i,r);if(X.isRegExp(n))return n.exec(i);throw new TypeError(\"parser must be boolean|regexp|function\")}}}has(t,n){if(t=Lh(t),t){let r=X.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||O5(this,this[r],r,n)))}return!1}delete(t,n){let r=this,i=!1;function a(o){if(o=Lh(o),o){let s=X.findKey(r,o);s&&(!n||O5(r,r[s],s,n))&&(delete r[s],i=!0)}}return X.isArray(t)?t.forEach(a):a(t),i}clear(t){let n=Object.keys(this),r=n.length,i=!1;for(;r--;){let a=n[r];(!t||O5(this,this[a],a,t,!0))&&(delete this[a],i=!0)}return i}normalize(t){let n=this,r={};return X.forEach(this,(i,a)=>{let o=X.findKey(r,a);if(o){n[o]=bm(i),delete n[a];return}let s=t?kQ(a):String(a).trim();s!==a&&delete n[a],n[s]=bm(i),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){let n=Object.create(null);return X.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&X.isArray(r)?r.join(\", \"):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+\": \"+n).join(`\n`)}getSetCookie(){return this.get(\"set-cookie\")||[]}get[Symbol.toStringTag](){return\"AxiosHeaders\"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){let r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){let r=(this[EB]=this[EB]={accessors:{}}).accessors,i=this.prototype;function a(o){let s=Lh(o);r[s]||(BQ(i,o),r[s]=!0)}return X.isArray(t)?t.forEach(a):a(t),this}};Sd.accessor([\"Content-Type\",\"Content-Length\",\"Accept\",\"Accept-Encoding\",\"User-Agent\",\"Authorization\"]);X.reduceDescriptors(Sd.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});X.freezeMethods(Sd);var ea=Sd;function I5(e,t){let n=this||K5,r=t||n,i=ea.from(r.headers),a=r.data;return X.forEach(e,function(s){a=s.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function JB(e){return!!(e&&e.__CANCEL__)}function Ed(e,t,n){wt.call(this,e??\"canceled\",wt.ERR_CANCELED,t,n),this.name=\"CanceledError\"}X.inherits(Ed,wt,{__CANCEL__:!0});function eM(e,t,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new wt(\"Request failed with status code \"+n.status,[wt.ERR_BAD_REQUEST,wt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function MQ(e){let t=/^([-+\\w]{1,25})(:?\\/\\/|:)/.exec(e);return t&&t[1]||\"\"}function RQ(e,t){e=e||10;let n=new Array(e),r=new Array(e),i=0,a=0,o;return t=t!==void 0?t:1e3,function(l){let c=Date.now(),u=r[a];o||(o=c),n[i]=l,r[i]=c;let d=a,h=0;for(;d!==i;)h+=n[d++],d=d%e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),c-o<t)return;let g=u&&c-u;return g?Math.round(h*1e3/g):void 0}}function UQ(e,t){let n=0,r=1e3/t,i,a,o=(c,u=Date.now())=>{n=u,i=null,a&&(clearTimeout(a),a=null),e(...c)};return[(...c)=>{let u=Date.now(),d=u-n;d>=r?o(c,u):(i=c,a||(a=setTimeout(()=>{a=null,o(i)},r-d)))},()=>i&&o(i)]}var xm=(e,t,n=3)=>{let r=0,i=RQ(50,250);return UQ(a=>{let o=a.loaded,s=a.lengthComputable?a.total:void 0,l=o-r,c=i(l),u=o<=s;r=o;let d={loaded:o,total:s,progress:s?o/s:void 0,bytes:l,rate:c||void 0,estimated:c&&s&&u?(s-o)/c:void 0,event:a,lengthComputable:s!=null,[t?\"download\":\"upload\"]:!0};e(d)},n)},AB=(e,t)=>{let n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},kB=e=>(...t)=>X.asap(()=>e(...t)),OQ=_r.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,_r.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(_r.origin),_r.navigator&&/(msie|trident)/i.test(_r.navigator.userAgent)):()=>!0,IQ=_r.hasStandardBrowserEnv?{write(e,t,n,r,i,a,o){if(typeof document>\"u\")return;let s=[`${e}=${encodeURIComponent(t)}`];X.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),X.isString(r)&&s.push(`path=${r}`),X.isString(i)&&s.push(`domain=${i}`),a===!0&&s.push(\"secure\"),X.isString(o)&&s.push(`SameSite=${o}`),document.cookie=s.join(\"; \")},read(e){if(typeof document>\"u\")return null;let t=document.cookie.match(new RegExp(\"(?:^|; )\"+e+\"=([^;]*)\"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,\"\",Date.now()-864e5,\"/\")}}:{write(){},read(){return null},remove(){}};function NQ(e){return/^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(e)}function PQ(e,t){return t?e.replace(/\\/?\\/$/,\"\")+\"/\"+t.replace(/^\\/+/,\"\"):e}function tM(e,t,n){let r=!NQ(t);return e&&(r||n==!1)?PQ(e,t):t}var BB=e=>e instanceof ea?{...e}:e;function Dl(e,t){t=t||{};let n={};function r(c,u,d,h){return X.isPlainObject(c)&&X.isPlainObject(u)?X.merge.call({caseless:h},c,u):X.isPlainObject(u)?X.merge({},u):X.isArray(u)?u.slice():u}function i(c,u,d,h){if(X.isUndefined(u)){if(!X.isUndefined(c))return r(void 0,c,d,h)}else return r(c,u,d,h)}function a(c,u){if(!X.isUndefined(u))return r(void 0,u)}function o(c,u){if(X.isUndefined(u)){if(!X.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function s(c,u,d){if(d in t)return r(c,u);if(d in e)return r(void 0,c)}let l={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(c,u,d)=>i(BB(c),BB(u),d,!0)};return X.forEach(Object.keys({...e,...t}),function(u){let d=l[u]||i,h=d(e[u],t[u],u);X.isUndefined(h)&&d!==s||(n[u]=h)}),n}var nM=e=>{let t=Dl({},e),{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:a,headers:o,auth:s}=t;if(t.headers=o=ea.from(o),t.url=GB(tM(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&o.set(\"Authorization\",\"Basic \"+btoa((s.username||\"\")+\":\"+(s.password?unescape(encodeURIComponent(s.password)):\"\"))),X.isFormData(n)){if(_r.hasStandardBrowserEnv||_r.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(X.isFunction(n.getHeaders)){let l=n.getHeaders(),c=[\"content-type\",\"content-length\"];Object.entries(l).forEach(([u,d])=>{c.includes(u.toLowerCase())&&o.set(u,d)})}}if(_r.hasStandardBrowserEnv&&(r&&X.isFunction(r)&&(r=r(t)),r||r!==!1&&OQ(t.url))){let l=i&&a&&IQ.read(a);l&&o.set(i,l)}return t},zQ=typeof XMLHttpRequest<\"u\",DQ=zQ&&function(e){return new Promise(function(n,r){let i=nM(e),a=i.data,o=ea.from(i.headers).normalize(),{responseType:s,onUploadProgress:l,onDownloadProgress:c}=i,u,d,h,g,y;function E(){g&&g(),y&&y(),i.cancelToken&&i.cancelToken.unsubscribe(u),i.signal&&i.signal.removeEventListener(\"abort\",u)}let L=new XMLHttpRequest;L.open(i.method.toUpperCase(),i.url,!0),L.timeout=i.timeout;function C(){if(!L)return;let T=ea.from(\"getAllResponseHeaders\"in L&&L.getAllResponseHeaders()),O={data:!s||s===\"text\"||s===\"json\"?L.responseText:L.response,status:L.status,statusText:L.statusText,headers:T,config:e,request:L};eM(function(B){n(B),E()},function(B){r(B),E()},O),L=null}\"onloadend\"in L?L.onloadend=C:L.onreadystatechange=function(){!L||L.readyState!==4||L.status===0&&!(L.responseURL&&L.responseURL.indexOf(\"file:\")===0)||setTimeout(C)},L.onabort=function(){L&&(r(new wt(\"Request aborted\",wt.ECONNABORTED,e,L)),L=null)},L.onerror=function(R){let O=R&&R.message?R.message:\"Network Error\",re=new wt(O,wt.ERR_NETWORK,e,L);re.event=R||null,r(re),L=null},L.ontimeout=function(){let R=i.timeout?\"timeout of \"+i.timeout+\"ms exceeded\":\"timeout exceeded\",O=i.transitional||QB;i.timeoutErrorMessage&&(R=i.timeoutErrorMessage),r(new wt(R,O.clarifyTimeoutError?wt.ETIMEDOUT:wt.ECONNABORTED,e,L)),L=null},a===void 0&&o.setContentType(null),\"setRequestHeader\"in L&&X.forEach(o.toJSON(),function(R,O){L.setRequestHeader(O,R)}),X.isUndefined(i.withCredentials)||(L.withCredentials=!!i.withCredentials),s&&s!==\"json\"&&(L.responseType=i.responseType),c&&([h,y]=xm(c,!0),L.addEventListener(\"progress\",h)),l&&L.upload&&([d,g]=xm(l),L.upload.addEventListener(\"progress\",d),L.upload.addEventListener(\"loadend\",g)),(i.cancelToken||i.signal)&&(u=T=>{L&&(r(!T||T.type?new Ed(null,e,L):T),L.abort(),L=null)},i.cancelToken&&i.cancelToken.subscribe(u),i.signal&&(i.signal.aborted?u():i.signal.addEventListener(\"abort\",u)));let v=MQ(i.url);if(v&&_r.protocols.indexOf(v)===-1){r(new wt(\"Unsupported protocol \"+v+\":\",wt.ERR_BAD_REQUEST,e));return}L.send(a||null)})},LQ=(e,t)=>{let{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i,a=function(c){if(!i){i=!0,s();let u=c instanceof Error?c:this.reason;r.abort(u instanceof wt?u:new Ed(u instanceof Error?u.message:u))}},o=t&&setTimeout(()=>{o=null,a(new wt(`timeout ${t} of ms exceeded`,wt.ETIMEDOUT))},t),s=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(a):c.removeEventListener(\"abort\",a)}),e=null)};e.forEach(c=>c.addEventListener(\"abort\",a));let{signal:l}=r;return l.unsubscribe=()=>X.asap(s),l}},jQ=LQ,qQ=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},HQ=async function*(e,t){for await(let n of VQ(e))yield*qQ(n,t)},VQ=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},MB=(e,t,n,r)=>{let i=HQ(e,t),a=0,o,s=l=>{o||(o=!0,r&&r(l))};return new ReadableStream({async pull(l){try{let{done:c,value:u}=await i.next();if(c){s(),l.close();return}let d=u.byteLength;if(n){let h=a+=d;n(h)}l.enqueue(new Uint8Array(u))}catch(c){throw s(c),c}},cancel(l){return s(l),i.return()}},{highWaterMark:2})},RB=64*1024,{isFunction:mm}=X,WQ=(({Request:e,Response:t})=>({Request:e,Response:t}))(X.global),{ReadableStream:UB,TextEncoder:OB}=X.global,IB=(e,...t)=>{try{return!!e(...t)}catch{return!1}},FQ=e=>{e=X.merge.call({skipUndefined:!0},WQ,e);let{fetch:t,Request:n,Response:r}=e,i=t?mm(t):typeof fetch==\"function\",a=mm(n),o=mm(r);if(!i)return!1;let s=i&&mm(UB),l=i&&(typeof OB==\"function\"?(y=>E=>y.encode(E))(new OB):async y=>new Uint8Array(await new n(y).arrayBuffer())),c=a&&s&&IB(()=>{let y=!1,E=new n(_r.origin,{body:new UB,method:\"POST\",get duplex(){return y=!0,\"half\"}}).headers.has(\"Content-Type\");return y&&!E}),u=o&&s&&IB(()=>X.isReadableStream(new r(\"\").body)),d={stream:u&&(y=>y.body)};i&&[\"text\",\"arrayBuffer\",\"blob\",\"formData\",\"stream\"].forEach(y=>{!d[y]&&(d[y]=(E,L)=>{let C=E&&E[y];if(C)return C.call(E);throw new wt(`Response type '${y}' is not supported`,wt.ERR_NOT_SUPPORT,L)})});let h=async y=>{if(y==null)return 0;if(X.isBlob(y))return y.size;if(X.isSpecCompliantForm(y))return(await new n(_r.origin,{method:\"POST\",body:y}).arrayBuffer()).byteLength;if(X.isArrayBufferView(y)||X.isArrayBuffer(y))return y.byteLength;if(X.isURLSearchParams(y)&&(y=y+\"\"),X.isString(y))return(await l(y)).byteLength},g=async(y,E)=>{let L=X.toFiniteNumber(y.getContentLength());return L??h(E)};return async y=>{let{url:E,method:L,data:C,signal:v,cancelToken:T,timeout:R,onDownloadProgress:O,onUploadProgress:re,responseType:B,headers:q,withCredentials:z=\"same-origin\",fetchOptions:K}=nM(y),j=t||fetch;B=B?(B+\"\").toLowerCase():\"text\";let N=jQ([v,T&&T.toAbortSignal()],R),pe=null,le=N&&N.unsubscribe&&(()=>{N.unsubscribe()}),se;try{if(re&&c&&L!==\"get\"&&L!==\"head\"&&(se=await g(q,C))!==0){let Qt=new n(E,{method:\"POST\",body:C,duplex:\"half\"}),jt;if(X.isFormData(C)&&(jt=Qt.headers.get(\"content-type\"))&&q.setContentType(jt),Qt.body){let[tn,Le]=AB(se,xm(kB(re)));C=MB(Qt.body,RB,tn,Le)}}X.isString(z)||(z=z?\"include\":\"omit\");let Me=a&&\"credentials\"in n.prototype,I={...K,signal:N,method:L.toUpperCase(),headers:q.normalize().toJSON(),body:C,duplex:\"half\",credentials:Me?z:void 0};pe=a&&new n(E,I);let Fe=await(a?j(pe,K):j(E,I)),Ze=u&&(B===\"stream\"||B===\"response\");if(u&&(O||Ze&&le)){let Qt={};[\"status\",\"statusText\",\"headers\"].forEach(Rn=>{Qt[Rn]=Fe[Rn]});let jt=X.toFiniteNumber(Fe.headers.get(\"content-length\")),[tn,Le]=O&&AB(jt,xm(kB(O),!0))||[];Fe=new r(MB(Fe.body,RB,tn,()=>{Le&&Le(),le&&le()}),Qt)}B=B||\"text\";let Et=await d[X.findKey(d,B)||\"text\"](Fe,y);return!Ze&&le&&le(),await new Promise((Qt,jt)=>{eM(Qt,jt,{data:Et,headers:ea.from(Fe.headers),status:Fe.status,statusText:Fe.statusText,config:y,request:pe})})}catch(Me){throw le&&le(),Me&&Me.name===\"TypeError\"&&/Load failed|fetch/i.test(Me.message)?Object.assign(new wt(\"Network Error\",wt.ERR_NETWORK,y,pe),{cause:Me.cause||Me}):wt.from(Me,Me&&Me.code,y,pe)}}},KQ=new Map,rM=e=>{let t=e&&e.env||{},{fetch:n,Request:r,Response:i}=t,a=[r,i,n],o=a.length,s=o,l,c,u=KQ;for(;s--;)l=a[s],c=u.get(l),c===void 0&&u.set(l,c=s?new Map:FQ(t)),u=c;return c};rM();var $5={http:lQ,xhr:DQ,fetch:{get:rM}};X.forEach($5,(e,t)=>{if(e){try{Object.defineProperty(e,\"name\",{value:t})}catch{}Object.defineProperty(e,\"adapterName\",{value:t})}});var NB=e=>`- ${e}`,$Q=e=>X.isFunction(e)||e===null||e===!1;function ZQ(e,t){e=X.isArray(e)?e:[e];let{length:n}=e,r,i,a={};for(let o=0;o<n;o++){r=e[o];let s;if(i=r,!$Q(r)&&(i=$5[(s=String(r)).toLowerCase()],i===void 0))throw new wt(`Unknown adapter '${s}'`);if(i&&(X.isFunction(i)||(i=i.get(t))))break;a[s||\"#\"+o]=i}if(!i){let o=Object.entries(a).map(([l,c])=>`adapter ${l} `+(c===!1?\"is not supported by the environment\":\"is not available in the build\")),s=n?o.length>1?`since :\n`+o.map(NB).join(`\n`):\" \"+NB(o[0]):\"as no adapter specified\";throw new wt(\"There is no suitable adapter to dispatch the request \"+s,\"ERR_NOT_SUPPORT\")}return i}var iM={getAdapter:ZQ,adapters:$5};function N5(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ed(null,e)}function PB(e){return N5(e),e.headers=ea.from(e.headers),e.data=I5.call(e,e.transformRequest),[\"post\",\"put\",\"patch\"].indexOf(e.method)!==-1&&e.headers.setContentType(\"application/x-www-form-urlencoded\",!1),iM.getAdapter(e.adapter||K5.adapter,e)(e).then(function(r){return N5(e),r.data=I5.call(e,e.transformResponse,r),r.headers=ea.from(r.headers),r},function(r){return JB(r)||(N5(e),r&&r.response&&(r.response.data=I5.call(e,e.transformResponse,r.response),r.response.headers=ea.from(r.response.headers))),Promise.reject(r)})}var aM=\"1.13.2\",Em={};[\"object\",\"boolean\",\"number\",\"function\",\"string\",\"symbol\"].forEach((e,t)=>{Em[e]=function(r){return typeof r===e||\"a\"+(t<1?\"n \":\" \")+e}});var zB={};Em.transitional=function(t,n,r){function i(a,o){return\"[Axios v\"+aM+\"] Transitional option '\"+a+\"'\"+o+(r?\". \"+r:\"\")}return(a,o,s)=>{if(t===!1)throw new wt(i(o,\" has been removed\"+(n?\" in \"+n:\"\")),wt.ERR_DEPRECATED);return n&&!zB[o]&&(zB[o]=!0,console.warn(i(o,\" has been deprecated since v\"+n+\" and will be removed in the near future\"))),t?t(a,o,s):!0}};Em.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function YQ(e,t,n){if(typeof e!=\"object\")throw new wt(\"options must be an object\",wt.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),i=r.length;for(;i-- >0;){let a=r[i],o=t[a];if(o){let s=e[a],l=s===void 0||o(s,a,e);if(l!==!0)throw new wt(\"option \"+a+\" must be \"+l,wt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new wt(\"Unknown option \"+a,wt.ERR_BAD_OPTION)}}var vm={assertOptions:YQ,validators:Em},za=vm.validators,_d=class{constructor(t){this.defaults=t||{},this.interceptors={request:new TB,response:new TB}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;let a=i.stack?i.stack.replace(/^.+\\n/,\"\"):\"\";try{r.stack?a&&!String(r.stack).endsWith(a.replace(/^.+\\n.+\\n/,\"\"))&&(r.stack+=`\n`+a):r.stack=a}catch{}}throw r}}_request(t,n){typeof t==\"string\"?(n=n||{},n.url=t):n=t||{},n=Dl(this.defaults,n);let{transitional:r,paramsSerializer:i,headers:a}=n;r!==void 0&&vm.assertOptions(r,{silentJSONParsing:za.transitional(za.boolean),forcedJSONParsing:za.transitional(za.boolean),clarifyTimeoutError:za.transitional(za.boolean)},!1),i!=null&&(X.isFunction(i)?n.paramsSerializer={serialize:i}:vm.assertOptions(i,{encode:za.function,serialize:za.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),vm.assertOptions(n,{baseUrl:za.spelling(\"baseURL\"),withXsrfToken:za.spelling(\"withXSRFToken\")},!0),n.method=(n.method||this.defaults.method||\"get\").toLowerCase();let o=a&&X.merge(a.common,a[n.method]);a&&X.forEach([\"delete\",\"get\",\"head\",\"post\",\"put\",\"patch\",\"common\"],y=>{delete a[y]}),n.headers=ea.concat(o,a);let s=[],l=!0;this.interceptors.request.forEach(function(E){typeof E.runWhen==\"function\"&&E.runWhen(n)===!1||(l=l&&E.synchronous,s.unshift(E.fulfilled,E.rejected))});let c=[];this.interceptors.response.forEach(function(E){c.push(E.fulfilled,E.rejected)});let u,d=0,h;if(!l){let y=[PB.bind(this),void 0];for(y.unshift(...s),y.push(...c),h=y.length,u=Promise.resolve(n);d<h;)u=u.then(y[d++],y[d++]);return u}h=s.length;let g=n;for(;d<h;){let y=s[d++],E=s[d++];try{g=y(g)}catch(L){E.call(this,L);break}}try{u=PB.call(this,g)}catch(y){return Promise.reject(y)}for(d=0,h=c.length;d<h;)u=u.then(c[d++],c[d++]);return u}getUri(t){t=Dl(this.defaults,t);let n=tM(t.baseURL,t.url,t.allowAbsoluteUrls);return GB(n,t.params,t.paramsSerializer)}};X.forEach([\"delete\",\"get\",\"head\",\"options\"],function(t){_d.prototype[t]=function(n,r){return this.request(Dl(r||{},{method:t,url:n,data:(r||{}).data}))}});X.forEach([\"post\",\"put\",\"patch\"],function(t){function n(r){return function(a,o,s){return this.request(Dl(s||{},{method:t,headers:r?{\"Content-Type\":\"multipart/form-data\"}:{},url:a,data:o}))}}_d.prototype[t]=n(),_d.prototype[t+\"Form\"]=n(!0)});var wm=_d,j5=class e{constructor(t){if(typeof t!=\"function\")throw new TypeError(\"executor must be a function.\");let n;this.promise=new Promise(function(a){n=a});let r=this;this.promise.then(i=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](i);r._listeners=null}),this.promise.then=i=>{let a,o=new Promise(s=>{r.subscribe(s),a=s}).then(i);return o.cancel=function(){r.unsubscribe(a)},o},t(function(a,o,s){r.reason||(r.reason=new Ed(a,o,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;let n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){let t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new e(function(i){t=i}),cancel:t}}},GQ=j5;function QQ(e){return function(n){return e.apply(null,n)}}function XQ(e){return X.isObject(e)&&e.isAxiosError===!0}var q5={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(q5).forEach(([e,t])=>{q5[t]=e});var JQ=q5;function oM(e){let t=new wm(e),n=DB(wm.prototype.request,t);return X.extend(n,wm.prototype,t,{allOwnKeys:!0}),X.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return oM(Dl(e,i))},n}var Qn=oM(K5);Qn.Axios=wm;Qn.CanceledError=Ed;Qn.CancelToken=GQ;Qn.isCancel=JB;Qn.VERSION=aM;Qn.toFormData=Tm;Qn.AxiosError=wt;Qn.Cancel=Qn.CanceledError;Qn.all=function(t){return Promise.all(t)};Qn.spread=QQ;Qn.isAxiosError=XQ;Qn.mergeConfig=Dl;Qn.AxiosHeaders=ea;Qn.formToJSON=e=>XB(X.isHTMLForm(e)?new FormData(e):e);Qn.getAdapter=iM.getAdapter;Qn.HttpStatusCode=JQ;Qn.default=Qn;sM.exports=Qn});var Vh=V(xn=>{\"use strict\";b();Object.defineProperty(xn,\"__esModule\",{value:!0});xn.getParsedType=xn.ZodParsedType=xn.objectUtil=xn.util=void 0;var Y5;(function(e){e.assertEqual=i=>{};function t(i){}e.assertIs=t;function n(i){throw new Error}e.assertNever=n,e.arrayToEnum=i=>{let a={};for(let o of i)a[o]=o;return a},e.getValidEnumValues=i=>{let a=e.objectKeys(i).filter(s=>typeof i[i[s]]!=\"number\"),o={};for(let s of a)o[s]=i[s];return e.objectValues(o)},e.objectValues=i=>e.objectKeys(i).map(function(a){return i[a]}),e.objectKeys=typeof Object.keys==\"function\"?i=>Object.keys(i):i=>{let a=[];for(let o in i)Object.prototype.hasOwnProperty.call(i,o)&&a.push(o);return a},e.find=(i,a)=>{for(let o of i)if(a(o))return o},e.isInteger=typeof Number.isInteger==\"function\"?i=>Number.isInteger(i):i=>typeof i==\"number\"&&Number.isFinite(i)&&Math.floor(i)===i;function r(i,a=\" | \"){return i.map(o=>typeof o==\"string\"?`'${o}'`:o).join(a)}e.joinValues=r,e.jsonStringifyReplacer=(i,a)=>typeof a==\"bigint\"?a.toString():a})(Y5||(xn.util=Y5={}));var lM;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(lM||(xn.objectUtil=lM={}));xn.ZodParsedType=Y5.arrayToEnum([\"string\",\"nan\",\"number\",\"integer\",\"float\",\"boolean\",\"date\",\"bigint\",\"symbol\",\"function\",\"undefined\",\"null\",\"array\",\"object\",\"unknown\",\"promise\",\"void\",\"never\",\"map\",\"set\"]);var eX=e=>{switch(typeof e){case\"undefined\":return xn.ZodParsedType.undefined;case\"string\":return xn.ZodParsedType.string;case\"number\":return Number.isNaN(e)?xn.ZodParsedType.nan:xn.ZodParsedType.number;case\"boolean\":return xn.ZodParsedType.boolean;case\"function\":return xn.ZodParsedType.function;case\"bigint\":return xn.ZodParsedType.bigint;case\"symbol\":return xn.ZodParsedType.symbol;case\"object\":return Array.isArray(e)?xn.ZodParsedType.array:e===null?xn.ZodParsedType.null:e.then&&typeof e.then==\"function\"&&e.catch&&typeof e.catch==\"function\"?xn.ZodParsedType.promise:typeof Map<\"u\"&&e instanceof Map?xn.ZodParsedType.map:typeof Set<\"u\"&&e instanceof Set?xn.ZodParsedType.set:typeof Date<\"u\"&&e instanceof Date?xn.ZodParsedType.date:xn.ZodParsedType.object;default:return xn.ZodParsedType.unknown}};xn.getParsedType=eX});var Am=V(Hs=>{\"use strict\";b();Object.defineProperty(Hs,\"__esModule\",{value:!0});Hs.ZodError=Hs.quotelessJson=Hs.ZodIssueCode=void 0;var cM=Vh();Hs.ZodIssueCode=cM.util.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\"]);var tX=e=>JSON.stringify(e,null,2).replace(/\"([^\"]+)\":/g,\"$1:\");Hs.quotelessJson=tX;var Wh=class e extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};let n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name=\"ZodError\",this.issues=t}format(t){let n=t||function(a){return a.message},r={_errors:[]},i=a=>{for(let o of a.issues)if(o.code===\"invalid_union\")o.unionErrors.map(i);else if(o.code===\"invalid_return_type\")i(o.returnTypeError);else if(o.code===\"invalid_arguments\")i(o.argumentsError);else if(o.path.length===0)r._errors.push(n(o));else{let s=r,l=0;for(;l<o.path.length;){let c=o.path[l];l===o.path.length-1?(s[c]=s[c]||{_errors:[]},s[c]._errors.push(n(o))):s[c]=s[c]||{_errors:[]},s=s[c],l++}}};return i(this),r}static assert(t){if(!(t instanceof e))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,cM.util.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){let n={},r=[];for(let i of this.issues)if(i.path.length>0){let a=i.path[0];n[a]=n[a]||[],n[a].push(t(i))}else r.push(t(i));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}};Hs.ZodError=Wh;Wh.create=e=>new Wh(e)});var Q5=V(G5=>{\"use strict\";b();Object.defineProperty(G5,\"__esModule\",{value:!0});var Tr=Am(),Ll=Vh(),nX=(e,t)=>{let n;switch(e.code){case Tr.ZodIssueCode.invalid_type:e.received===Ll.ZodParsedType.undefined?n=\"Required\":n=`Expected ${e.expected}, received ${e.received}`;break;case Tr.ZodIssueCode.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,Ll.util.jsonStringifyReplacer)}`;break;case Tr.ZodIssueCode.unrecognized_keys:n=`Unrecognized key(s) in object: ${Ll.util.joinValues(e.keys,\", \")}`;break;case Tr.ZodIssueCode.invalid_union:n=\"Invalid input\";break;case Tr.ZodIssueCode.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Ll.util.joinValues(e.options)}`;break;case Tr.ZodIssueCode.invalid_enum_value:n=`Invalid enum value. Expected ${Ll.util.joinValues(e.options)}, received '${e.received}'`;break;case Tr.ZodIssueCode.invalid_arguments:n=\"Invalid function arguments\";break;case Tr.ZodIssueCode.invalid_return_type:n=\"Invalid function return type\";break;case Tr.ZodIssueCode.invalid_date:n=\"Invalid date\";break;case Tr.ZodIssueCode.invalid_string:typeof e.validation==\"object\"?\"includes\"in e.validation?(n=`Invalid input: must include \"${e.validation.includes}\"`,typeof e.validation.position==\"number\"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):\"startsWith\"in e.validation?n=`Invalid input: must start with \"${e.validation.startsWith}\"`:\"endsWith\"in e.validation?n=`Invalid input: must end with \"${e.validation.endsWith}\"`:Ll.util.assertNever(e.validation):e.validation!==\"regex\"?n=`Invalid ${e.validation}`:n=\"Invalid\";break;case Tr.ZodIssueCode.too_small:e.type===\"array\"?n=`Array must contain ${e.exact?\"exactly\":e.inclusive?\"at least\":\"more than\"} ${e.minimum} element(s)`:e.type===\"string\"?n=`String must contain ${e.exact?\"exactly\":e.inclusive?\"at least\":\"over\"} ${e.minimum} character(s)`:e.type===\"number\"?n=`Number must be ${e.exact?\"exactly equal to \":e.inclusive?\"greater than or equal to \":\"greater than \"}${e.minimum}`:e.type===\"bigint\"?n=`Number must be ${e.exact?\"exactly equal to \":e.inclusive?\"greater than or equal to \":\"greater than \"}${e.minimum}`:e.type===\"date\"?n=`Date must be ${e.exact?\"exactly equal to \":e.inclusive?\"greater than or equal to \":\"greater than \"}${new Date(Number(e.minimum))}`:n=\"Invalid input\";break;case Tr.ZodIssueCode.too_big:e.type===\"array\"?n=`Array must contain ${e.exact?\"exactly\":e.inclusive?\"at most\":\"less than\"} ${e.maximum} element(s)`:e.type===\"string\"?n=`String must contain ${e.exact?\"exactly\":e.inclusive?\"at most\":\"under\"} ${e.maximum} character(s)`:e.type===\"number\"?n=`Number must be ${e.exact?\"exactly\":e.inclusive?\"less than or equal to\":\"less than\"} ${e.maximum}`:e.type===\"bigint\"?n=`BigInt must be ${e.exact?\"exactly\":e.inclusive?\"less than or equal to\":\"less than\"} ${e.maximum}`:e.type===\"date\"?n=`Date must be ${e.exact?\"exactly\":e.inclusive?\"smaller than or equal to\":\"smaller than\"} ${new Date(Number(e.maximum))}`:n=\"Invalid input\";break;case Tr.ZodIssueCode.custom:n=\"Invalid input\";break;case Tr.ZodIssueCode.invalid_intersection_types:n=\"Intersection results could not be merged\";break;case Tr.ZodIssueCode.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case Tr.ZodIssueCode.not_finite:n=\"Number must be finite\";break;default:n=t.defaultError,Ll.util.assertNever(e)}return{message:n}};G5.default=nX});var km=V(Vs=>{\"use strict\";b();var rX=Vs&&Vs.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Vs,\"__esModule\",{value:!0});Vs.defaultErrorMap=void 0;Vs.setErrorMap=iX;Vs.getErrorMap=aX;var uM=rX(Q5());Vs.defaultErrorMap=uM.default;var dM=uM.default;function iX(e){dM=e}function aX(){return dM}});var J5=V(cn=>{\"use strict\";b();var oX=cn&&cn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(cn,\"__esModule\",{value:!0});cn.isAsync=cn.isValid=cn.isDirty=cn.isAborted=cn.OK=cn.DIRTY=cn.INVALID=cn.ParseStatus=cn.EMPTY_PATH=cn.makeIssue=void 0;cn.addIssueToContext=cX;var sX=km(),fM=oX(Q5()),lX=e=>{let{data:t,path:n,errorMaps:r,issueData:i}=e,a=[...n,...i.path||[]],o={...i,path:a};if(i.message!==void 0)return{...i,path:a,message:i.message};let s=\"\",l=r.filter(c=>!!c).slice().reverse();for(let c of l)s=c(o,{data:t,defaultError:s}).message;return{...i,path:a,message:s}};cn.makeIssue=lX;cn.EMPTY_PATH=[];function cX(e,t){let n=(0,sX.getErrorMap)(),r=(0,cn.makeIssue)({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===fM.default?void 0:fM.default].filter(i=>!!i)});e.common.issues.push(r)}var X5=class e{constructor(){this.value=\"valid\"}dirty(){this.value===\"valid\"&&(this.value=\"dirty\")}abort(){this.value!==\"aborted\"&&(this.value=\"aborted\")}static mergeArray(t,n){let r=[];for(let i of n){if(i.status===\"aborted\")return cn.INVALID;i.status===\"dirty\"&&t.dirty(),r.push(i.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){let r=[];for(let i of n){let a=await i.key,o=await i.value;r.push({key:a,value:o})}return e.mergeObjectSync(t,r)}static mergeObjectSync(t,n){let r={};for(let i of n){let{key:a,value:o}=i;if(a.status===\"aborted\"||o.status===\"aborted\")return cn.INVALID;a.status===\"dirty\"&&t.dirty(),o.status===\"dirty\"&&t.dirty(),a.value!==\"__proto__\"&&(typeof o.value<\"u\"||i.alwaysSet)&&(r[a.value]=o.value)}return{status:t.value,value:r}}};cn.ParseStatus=X5;cn.INVALID=Object.freeze({status:\"aborted\"});var uX=e=>({status:\"dirty\",value:e});cn.DIRTY=uX;var dX=e=>({status:\"valid\",value:e});cn.OK=dX;var fX=e=>e.status===\"aborted\";cn.isAborted=fX;var hX=e=>e.status===\"dirty\";cn.isDirty=hX;var gX=e=>e.status===\"valid\";cn.isValid=gX;var pX=e=>typeof Promise<\"u\"&&e instanceof Promise;cn.isAsync=pX});var gM=V(hM=>{\"use strict\";b();Object.defineProperty(hM,\"__esModule\",{value:!0})});var mM=V(Bm=>{\"use strict\";b();Object.defineProperty(Bm,\"__esModule\",{value:!0});Bm.errorUtil=void 0;var pM;(function(e){e.errToObj=t=>typeof t==\"string\"?{message:t}:t||{},e.toString=t=>typeof t==\"string\"?t:t?.message})(pM||(Bm.errorUtil=pM={}))});var kM=V(F=>{\"use strict\";b();Object.defineProperty(F,\"__esModule\",{value:!0});F.discriminatedUnion=F.date=F.boolean=F.bigint=F.array=F.any=F.coerce=F.ZodFirstPartyTypeKind=F.late=F.ZodSchema=F.Schema=F.ZodReadonly=F.ZodPipeline=F.ZodBranded=F.BRAND=F.ZodNaN=F.ZodCatch=F.ZodDefault=F.ZodNullable=F.ZodOptional=F.ZodTransformer=F.ZodEffects=F.ZodPromise=F.ZodNativeEnum=F.ZodEnum=F.ZodLiteral=F.ZodLazy=F.ZodFunction=F.ZodSet=F.ZodMap=F.ZodRecord=F.ZodTuple=F.ZodIntersection=F.ZodDiscriminatedUnion=F.ZodUnion=F.ZodObject=F.ZodArray=F.ZodVoid=F.ZodNever=F.ZodUnknown=F.ZodAny=F.ZodNull=F.ZodUndefined=F.ZodSymbol=F.ZodDate=F.ZodBoolean=F.ZodBigInt=F.ZodNumber=F.ZodString=F.ZodType=void 0;F.NEVER=F.void=F.unknown=F.union=F.undefined=F.tuple=F.transformer=F.symbol=F.string=F.strictObject=F.set=F.record=F.promise=F.preprocess=F.pipeline=F.ostring=F.optional=F.onumber=F.oboolean=F.object=F.number=F.nullable=F.null=F.never=F.nativeEnum=F.nan=F.map=F.literal=F.lazy=F.intersection=F.instanceof=F.function=F.enum=F.effect=void 0;F.datetimeRegex=xM;F.custom=SM;var Ae=Am(),Mm=km(),Ye=mM(),$=J5(),Be=Vh(),Di=class{constructor(t,n,r,i){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=i}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},yM=(e,t)=>{if((0,$.isValid)(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;let n=new Ae.ZodError(e.common.issues);return this._error=n,this._error}}};function xt(e){if(!e)return{};let{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw new Error(`Can't use \"invalid_type_error\" or \"required_error\" in conjunction with custom error map.`);return t?{errorMap:t,description:i}:{errorMap:(o,s)=>{let{message:l}=e;return o.code===\"invalid_enum_value\"?{message:l??s.defaultError}:typeof s.data>\"u\"?{message:l??r??s.defaultError}:o.code!==\"invalid_type\"?{message:s.defaultError}:{message:l??n??s.defaultError}},description:i}}var Ct=class{get description(){return this._def.description}_getType(t){return(0,Be.getParsedType)(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:(0,Be.getParsedType)(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new $.ParseStatus,ctx:{common:t.parent.common,data:t.data,parsedType:(0,Be.getParsedType)(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){let n=this._parse(t);if((0,$.isAsync)(n))throw new Error(\"Synchronous parse encountered promise.\");return n}_parseAsync(t){let n=this._parse(t);return Promise.resolve(n)}parse(t,n){let r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){let r={common:{issues:[],async:n?.async??!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:(0,Be.getParsedType)(t)},i=this._parseSync({data:t,path:r.path,parent:r});return yM(r,i)}\"~validate\"(t){let n={common:{issues:[],async:!!this[\"~standard\"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:(0,Be.getParsedType)(t)};if(!this[\"~standard\"].async)try{let r=this._parseSync({data:t,path:[],parent:n});return(0,$.isValid)(r)?{value:r.value}:{issues:n.common.issues}}catch(r){r?.message?.toLowerCase()?.includes(\"encountered\")&&(this[\"~standard\"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:n}).then(r=>(0,$.isValid)(r)?{value:r.value}:{issues:n.common.issues})}async parseAsync(t,n){let r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){let r={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:(0,Be.getParsedType)(t)},i=this._parse({data:t,path:r.path,parent:r}),a=await((0,$.isAsync)(i)?i:Promise.resolve(i));return yM(r,a)}refine(t,n){let r=i=>typeof n==\"string\"||typeof n>\"u\"?{message:n}:typeof n==\"function\"?n(i):n;return this._refinement((i,a)=>{let o=t(i),s=()=>a.addIssue({code:Ae.ZodIssueCode.custom,...r(i)});return typeof Promise<\"u\"&&o instanceof Promise?o.then(l=>l?!0:(s(),!1)):o?!0:(s(),!1)})}refinement(t,n){return this._refinement((r,i)=>t(r)?!0:(i.addIssue(typeof n==\"function\"?n(r,i):n),!1))}_refinement(t){return new vi({schema:this,typeName:it.ZodEffects,effect:{type:\"refinement\",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,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),this[\"~standard\"]={version:1,vendor:\"zod\",validate:n=>this[\"~validate\"](n)}}optional(){return zi.create(this,this._def)}nullable(){return La.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return No.create(this)}promise(){return Ks.create(this,this._def)}or(t){return Kl.create([this,t],this._def)}and(t){return $l.create(this,t,this._def)}transform(t){return new vi({...xt(this._def),schema:this,typeName:it.ZodEffects,effect:{type:\"transform\",transform:t}})}default(t){let n=typeof t==\"function\"?t:()=>t;return new Xl({...xt(this._def),innerType:this,defaultValue:n,typeName:it.ZodDefault})}brand(){return new Fh({typeName:it.ZodBranded,type:this,...xt(this._def)})}catch(t){let n=typeof t==\"function\"?t:()=>t;return new Jl({...xt(this._def),innerType:this,catchValue:n,typeName:it.ZodCatch})}describe(t){let n=this.constructor;return new n({...this._def,description:t})}pipe(t){return Kh.create(this,t)}readonly(){return ec.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}};F.ZodType=Ct;F.Schema=Ct;F.ZodSchema=Ct;var mX=/^c[^\\s-]{8,}$/i,yX=/^[0-9a-z]+$/,bX=/^[0-9A-HJKMNP-TV-Z]{26}$/i,vX=/^[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,wX=/^[a-z0-9_-]{21}$/i,xX=/^[A-Za-z0-9-_]+\\.[A-Za-z0-9-_]+\\.[A-Za-z0-9-_]*$/,CX=/^[-+]?P(?!$)(?:(?:[-+]?\\d+Y)|(?:[-+]?\\d+[.,]\\d+Y$))?(?:(?:[-+]?\\d+M)|(?:[-+]?\\d+[.,]\\d+M$))?(?:(?:[-+]?\\d+W)|(?:[-+]?\\d+[.,]\\d+W$))?(?:(?:[-+]?\\d+D)|(?:[-+]?\\d+[.,]\\d+D$))?(?:T(?=[\\d+-])(?:(?:[-+]?\\d+H)|(?:[-+]?\\d+[.,]\\d+H$))?(?:(?:[-+]?\\d+M)|(?:[-+]?\\d+[.,]\\d+M$))?(?:[-+]?\\d+(?:[.,]\\d+)?S)?)??$/,SX=/^(?!\\.)(?!.*\\.\\.)([A-Z0-9_'+\\-\\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\\-]*\\.)+[A-Z]{2,}$/i,_X=\"^(\\\\p{Extended_Pictographic}|\\\\p{Emoji_Component})+$\",e4,TX=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,EX=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\/(3[0-2]|[12]?[0-9])$/,AX=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,kX=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,BX=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,MX=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,vM=\"((\\\\d\\\\d[2468][048]|\\\\d\\\\d[13579][26]|\\\\d\\\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\\\d|30)|(02)-(0[1-9]|1\\\\d|2[0-8])))\",RX=new RegExp(`^${vM}$`);function wM(e){let t=\"[0-5]\\\\d\";e.precision?t=`${t}\\\\.\\\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\\\.\\\\d+)?`);let n=e.precision?\"+\":\"?\";return`([01]\\\\d|2[0-3]):[0-5]\\\\d(:${t})${n}`}function UX(e){return new RegExp(`^${wM(e)}$`)}function xM(e){let t=`${vM}T${wM(e)}`,n=[];return n.push(e.local?\"Z?\":\"Z\"),e.offset&&n.push(\"([+-]\\\\d{2}:?\\\\d{2})\"),t=`${t}(${n.join(\"|\")})`,new RegExp(`^${t}$`)}function OX(e,t){return!!((t===\"v4\"||!t)&&TX.test(e)||(t===\"v6\"||!t)&&AX.test(e))}function IX(e,t){if(!xX.test(e))return!1;try{let[n]=e.split(\".\");if(!n)return!1;let r=n.replace(/-/g,\"+\").replace(/_/g,\"/\").padEnd(n.length+(4-n.length%4)%4,\"=\"),i=JSON.parse(atob(r));return!(typeof i!=\"object\"||i===null||\"typ\"in i&&i?.typ!==\"JWT\"||!i.alg||t&&i.alg!==t)}catch{return!1}}function NX(e,t){return!!((t===\"v4\"||!t)&&EX.test(e)||(t===\"v6\"||!t)&&kX.test(e))}var Ws=class e extends Ct{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==Be.ZodParsedType.string){let a=this._getOrReturnCtx(t);return(0,$.addIssueToContext)(a,{code:Ae.ZodIssueCode.invalid_type,expected:Be.ZodParsedType.string,received:a.parsedType}),$.INVALID}let r=new $.ParseStatus,i;for(let a of this._def.checks)if(a.kind===\"min\")t.data.length<a.value&&(i=this._getOrReturnCtx(t,i),(0,$.addIssueToContext)(i,{code:Ae.ZodIssueCode.too_small,minimum:a.value,type:\"string\",inclusive:!0,exact:!1,message:a.message}),r.dirty());else if(a.kind===\"max\")t.data.length>a.value&&(i=this._getOrReturnCtx(t,i),(0,$.addIssueToContext)(i,{code:Ae.ZodIssueCode.too_big,maximum:a.value,type:\"string\",inclusive:!0,exact:!1,message:a.message}),r.dirty());else if(a.kind===\"length\"){let o=t.data.length>a.value,s=t.data.length<a.value;(o||s)&&(i=this._getOrReturnCtx(t,i),o?(0,$.addIssueToContext)(i,{code:Ae.ZodIssueCode.too_big,maximum:a.value,type:\"string\",inclusive:!0,exact:!0,message:a.message}):s&&(0,$.addIssueToContext)(i,{code:Ae.ZodIssueCode.too_small,minimum:a.value,type:\"string\",inclusive:!0,exact:!0,message:a.message}),r.dirty())}else if(a.kind===\"email\")SX.test(t.data)||(i=this._getOrReturnCtx(t,i),(0,$.addIssueToContext)(i,{validation:\"email\",code:Ae.ZodIssueCode.invalid_string,message:a.message}),r.dirty());else if(a.kind===\"emoji\")e4||(e4=new RegExp(_X,\"u\")),e4.test(t.data)||(i=this._getOrReturnCtx(t,i),(0,$.addIssueToContext)(i,{validation:\"emoji\",code:Ae.ZodIssueCode.invalid_string,message:a.message}),r.dirty());else if(a.kind===\"uuid\")vX.test(t.data)||(i=this._getOrReturnCtx(t,i),(0,$.addIssueToContext)(i,{validation:\"uuid\",code:Ae.ZodIssueCode.invalid_string,message:a.message}),r.dirty());else if(a.kind===\"nanoid\")wX.test(t.data)||(i=this._getOrReturnCtx(t,i),(0,$.addIssueToContext)(i,{validation:\"nanoid\",code:Ae.ZodIssueCode.invalid_string,message:a.message}),r.dirty());else if(a.kind===\"cuid\")mX.test(t.data)||(i=this._getOrReturnCtx(t,i),(0,$.addIssueToContext)(i,{validation:\"cuid\",code:Ae.ZodIssueCode.invalid_string,message:a.message}),r.dirty());else if(a.kind===\"cuid2\")yX.test(t.data)||(i=this._getOrReturnCtx(t,i),(0,$.addIssueToContext)(i,{validation:\"cuid2\",code:Ae.ZodIssueCode.invalid_string,message:a.message}),r.dirty());else if(a.kind===\"ulid\")bX.test(t.data)||(i=this._getOrReturnCtx(t,i),(0,$.addIssueToContext)(i,{validation:\"ulid\",code:Ae.ZodIssueCode.invalid_string,message:a.message}),r.dirty());else if(a.kind===\"url\")try{new URL(t.data)}catch{i=this._getOrReturnCtx(t,i),(0,$.addIssueToContext)(i,{validation:\"url\",code:Ae.ZodIssueCode.invalid_string,message:a.message}),r.dirty()}else a.kind===\"regex\"?(a.regex.lastIndex=0,a.regex.test(t.data)||(i=this._getOrReturnCtx(t,i),(0,$.addIssueToContext)(i,{validation:\"regex\",code:Ae.ZodIssueCode.invalid_string,message:a.message}),r.dirty())):a.kind===\"trim\"?t.data=t.data.trim():a.kind===\"includes\"?t.data.includes(a.value,a.position)||(i=this._getOrReturnCtx(t,i),(0,$.addIssueToContext)(i,{code:Ae.ZodIssueCode.invalid_string,validation:{includes:a.value,position:a.position},message:a.message}),r.dirty()):a.kind===\"toLowerCase\"?t.data=t.data.toLowerCase():a.kind===\"toUpperCase\"?t.data=t.data.toUpperCase():a.kind===\"startsWith\"?t.data.startsWith(a.value)||(i=this._getOrReturnCtx(t,i),(0,$.addIssueToContext)(i,{code:Ae.ZodIssueCode.invalid_string,validation:{startsWith:a.value},message:a.message}),r.dirty()):a.kind===\"endsWith\"?t.data.endsWith(a.value)||(i=this._getOrReturnCtx(t,i),(0,$.addIssueToContext)(i,{code:Ae.ZodIssueCode.invalid_string,validation:{endsWith:a.value},message:a.message}),r.dirty()):a.kind===\"datetime\"?xM(a).test(t.data)||(i=this._getOrReturnCtx(t,i),(0,$.addIssueToContext)(i,{code:Ae.ZodIssueCode.invalid_string,validation:\"datetime\",message:a.message}),r.dirty()):a.kind===\"date\"?RX.test(t.data)||(i=this._getOrReturnCtx(t,i),(0,$.addIssueToContext)(i,{code:Ae.ZodIssueCode.invalid_string,validation:\"date\",message:a.message}),r.dirty()):a.kind===\"time\"?UX(a).test(t.data)||(i=this._getOrReturnCtx(t,i),(0,$.addIssueToContext)(i,{code:Ae.ZodIssueCode.invalid_string,validation:\"time\",message:a.message}),r.dirty()):a.kind===\"duration\"?CX.test(t.data)||(i=this._getOrReturnCtx(t,i),(0,$.addIssueToContext)(i,{validation:\"duration\",code:Ae.ZodIssueCode.invalid_string,message:a.message}),r.dirty()):a.kind===\"ip\"?OX(t.data,a.version)||(i=this._getOrReturnCtx(t,i),(0,$.addIssueToContext)(i,{validation:\"ip\",code:Ae.ZodIssueCode.invalid_string,message:a.message}),r.dirty()):a.kind===\"jwt\"?IX(t.data,a.alg)||(i=this._getOrReturnCtx(t,i),(0,$.addIssueToContext)(i,{validation:\"jwt\",code:Ae.ZodIssueCode.invalid_string,message:a.message}),r.dirty()):a.kind===\"cidr\"?NX(t.data,a.version)||(i=this._getOrReturnCtx(t,i),(0,$.addIssueToContext)(i,{validation:\"cidr\",code:Ae.ZodIssueCode.invalid_string,message:a.message}),r.dirty()):a.kind===\"base64\"?BX.test(t.data)||(i=this._getOrReturnCtx(t,i),(0,$.addIssueToContext)(i,{validation:\"base64\",code:Ae.ZodIssueCode.invalid_string,message:a.message}),r.dirty()):a.kind===\"base64url\"?MX.test(t.data)||(i=this._getOrReturnCtx(t,i),(0,$.addIssueToContext)(i,{validation:\"base64url\",code:Ae.ZodIssueCode.invalid_string,message:a.message}),r.dirty()):Be.util.assertNever(a);return{status:r.value,value:t.data}}_regex(t,n,r){return this.refinement(i=>t.test(i),{validation:n,code:Ae.ZodIssueCode.invalid_string,...Ye.errorUtil.errToObj(r)})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:\"email\",...Ye.errorUtil.errToObj(t)})}url(t){return this._addCheck({kind:\"url\",...Ye.errorUtil.errToObj(t)})}emoji(t){return this._addCheck({kind:\"emoji\",...Ye.errorUtil.errToObj(t)})}uuid(t){return this._addCheck({kind:\"uuid\",...Ye.errorUtil.errToObj(t)})}nanoid(t){return this._addCheck({kind:\"nanoid\",...Ye.errorUtil.errToObj(t)})}cuid(t){return this._addCheck({kind:\"cuid\",...Ye.errorUtil.errToObj(t)})}cuid2(t){return this._addCheck({kind:\"cuid2\",...Ye.errorUtil.errToObj(t)})}ulid(t){return this._addCheck({kind:\"ulid\",...Ye.errorUtil.errToObj(t)})}base64(t){return this._addCheck({kind:\"base64\",...Ye.errorUtil.errToObj(t)})}base64url(t){return this._addCheck({kind:\"base64url\",...Ye.errorUtil.errToObj(t)})}jwt(t){return this._addCheck({kind:\"jwt\",...Ye.errorUtil.errToObj(t)})}ip(t){return this._addCheck({kind:\"ip\",...Ye.errorUtil.errToObj(t)})}cidr(t){return this._addCheck({kind:\"cidr\",...Ye.errorUtil.errToObj(t)})}datetime(t){return typeof t==\"string\"?this._addCheck({kind:\"datetime\",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:\"datetime\",precision:typeof t?.precision>\"u\"?null:t?.precision,offset:t?.offset??!1,local:t?.local??!1,...Ye.errorUtil.errToObj(t?.message)})}date(t){return this._addCheck({kind:\"date\",message:t})}time(t){return typeof t==\"string\"?this._addCheck({kind:\"time\",precision:null,message:t}):this._addCheck({kind:\"time\",precision:typeof t?.precision>\"u\"?null:t?.precision,...Ye.errorUtil.errToObj(t?.message)})}duration(t){return this._addCheck({kind:\"duration\",...Ye.errorUtil.errToObj(t)})}regex(t,n){return this._addCheck({kind:\"regex\",regex:t,...Ye.errorUtil.errToObj(n)})}includes(t,n){return this._addCheck({kind:\"includes\",value:t,position:n?.position,...Ye.errorUtil.errToObj(n?.message)})}startsWith(t,n){return this._addCheck({kind:\"startsWith\",value:t,...Ye.errorUtil.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:\"endsWith\",value:t,...Ye.errorUtil.errToObj(n)})}min(t,n){return this._addCheck({kind:\"min\",value:t,...Ye.errorUtil.errToObj(n)})}max(t,n){return this._addCheck({kind:\"max\",value:t,...Ye.errorUtil.errToObj(n)})}length(t,n){return this._addCheck({kind:\"length\",value:t,...Ye.errorUtil.errToObj(n)})}nonempty(t){return this.min(1,Ye.errorUtil.errToObj(t))}trim(){return new e({...this._def,checks:[...this._def.checks,{kind:\"trim\"}]})}toLowerCase(){return new e({...this._def,checks:[...this._def.checks,{kind:\"toLowerCase\"}]})}toUpperCase(){return new e({...this._def,checks:[...this._def.checks,{kind:\"toUpperCase\"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind===\"datetime\")}get isDate(){return!!this._def.checks.find(t=>t.kind===\"date\")}get isTime(){return!!this._def.checks.find(t=>t.kind===\"time\")}get isDuration(){return!!this._def.checks.find(t=>t.kind===\"duration\")}get isEmail(){return!!this._def.checks.find(t=>t.kind===\"email\")}get isURL(){return!!this._def.checks.find(t=>t.kind===\"url\")}get isEmoji(){return!!this._def.checks.find(t=>t.kind===\"emoji\")}get isUUID(){return!!this._def.checks.find(t=>t.kind===\"uuid\")}get isNANOID(){return!!this._def.checks.find(t=>t.kind===\"nanoid\")}get isCUID(){return!!this._def.checks.find(t=>t.kind===\"cuid\")}get isCUID2(){return!!this._def.checks.find(t=>t.kind===\"cuid2\")}get isULID(){return!!this._def.checks.find(t=>t.kind===\"ulid\")}get isIP(){return!!this._def.checks.find(t=>t.kind===\"ip\")}get isCIDR(){return!!this._def.checks.find(t=>t.kind===\"cidr\")}get isBase64(){return!!this._def.checks.find(t=>t.kind===\"base64\")}get isBase64url(){return!!this._def.checks.find(t=>t.kind===\"base64url\")}get minLength(){let t=null;for(let n of this._def.checks)n.kind===\"min\"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(let n of this._def.checks)n.kind===\"max\"&&(t===null||n.value<t)&&(t=n.value);return t}};F.ZodString=Ws;Ws.create=e=>new Ws({checks:[],typeName:it.ZodString,coerce:e?.coerce??!1,...xt(e)});function PX(e,t){let n=(e.toString().split(\".\")[1]||\"\").length,r=(t.toString().split(\".\")[1]||\"\").length,i=n>r?n:r,a=Number.parseInt(e.toFixed(i).replace(\".\",\"\")),o=Number.parseInt(t.toFixed(i).replace(\".\",\"\"));return a%o/10**i}var jl=class e extends Ct{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==Be.ZodParsedType.number){let a=this._getOrReturnCtx(t);return(0,$.addIssueToContext)(a,{code:Ae.ZodIssueCode.invalid_type,expected:Be.ZodParsedType.number,received:a.parsedType}),$.INVALID}let r,i=new $.ParseStatus;for(let a of this._def.checks)a.kind===\"int\"?Be.util.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),(0,$.addIssueToContext)(r,{code:Ae.ZodIssueCode.invalid_type,expected:\"integer\",received:\"float\",message:a.message}),i.dirty()):a.kind===\"min\"?(a.inclusive?t.data<a.value:t.data<=a.value)&&(r=this._getOrReturnCtx(t,r),(0,$.addIssueToContext)(r,{code:Ae.ZodIssueCode.too_small,minimum:a.value,type:\"number\",inclusive:a.inclusive,exact:!1,message:a.message}),i.dirty()):a.kind===\"max\"?(a.inclusive?t.data>a.value:t.data>=a.value)&&(r=this._getOrReturnCtx(t,r),(0,$.addIssueToContext)(r,{code:Ae.ZodIssueCode.too_big,maximum:a.value,type:\"number\",inclusive:a.inclusive,exact:!1,message:a.message}),i.dirty()):a.kind===\"multipleOf\"?PX(t.data,a.value)!==0&&(r=this._getOrReturnCtx(t,r),(0,$.addIssueToContext)(r,{code:Ae.ZodIssueCode.not_multiple_of,multipleOf:a.value,message:a.message}),i.dirty()):a.kind===\"finite\"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),(0,$.addIssueToContext)(r,{code:Ae.ZodIssueCode.not_finite,message:a.message}),i.dirty()):Be.util.assertNever(a);return{status:i.value,value:t.data}}gte(t,n){return this.setLimit(\"min\",t,!0,Ye.errorUtil.toString(n))}gt(t,n){return this.setLimit(\"min\",t,!1,Ye.errorUtil.toString(n))}lte(t,n){return this.setLimit(\"max\",t,!0,Ye.errorUtil.toString(n))}lt(t,n){return this.setLimit(\"max\",t,!1,Ye.errorUtil.toString(n))}setLimit(t,n,r,i){return new e({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:Ye.errorUtil.toString(i)}]})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:\"int\",message:Ye.errorUtil.toString(t)})}positive(t){return this._addCheck({kind:\"min\",value:0,inclusive:!1,message:Ye.errorUtil.toString(t)})}negative(t){return this._addCheck({kind:\"max\",value:0,inclusive:!1,message:Ye.errorUtil.toString(t)})}nonpositive(t){return this._addCheck({kind:\"max\",value:0,inclusive:!0,message:Ye.errorUtil.toString(t)})}nonnegative(t){return this._addCheck({kind:\"min\",value:0,inclusive:!0,message:Ye.errorUtil.toString(t)})}multipleOf(t,n){return this._addCheck({kind:\"multipleOf\",value:t,message:Ye.errorUtil.toString(n)})}finite(t){return this._addCheck({kind:\"finite\",message:Ye.errorUtil.toString(t)})}safe(t){return this._addCheck({kind:\"min\",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Ye.errorUtil.toString(t)})._addCheck({kind:\"max\",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Ye.errorUtil.toString(t)})}get minValue(){let t=null;for(let n of this._def.checks)n.kind===\"min\"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(let n of this._def.checks)n.kind===\"max\"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind===\"int\"||t.kind===\"multipleOf\"&&Be.util.isInteger(t.value))}get isFinite(){let t=null,n=null;for(let r of this._def.checks){if(r.kind===\"finite\"||r.kind===\"int\"||r.kind===\"multipleOf\")return!0;r.kind===\"min\"?(n===null||r.value>n)&&(n=r.value):r.kind===\"max\"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(n)&&Number.isFinite(t)}};F.ZodNumber=jl;jl.create=e=>new jl({checks:[],typeName:it.ZodNumber,coerce:e?.coerce||!1,...xt(e)});var ql=class e extends Ct{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==Be.ZodParsedType.bigint)return this._getInvalidInput(t);let r,i=new $.ParseStatus;for(let a of this._def.checks)a.kind===\"min\"?(a.inclusive?t.data<a.value:t.data<=a.value)&&(r=this._getOrReturnCtx(t,r),(0,$.addIssueToContext)(r,{code:Ae.ZodIssueCode.too_small,type:\"bigint\",minimum:a.value,inclusive:a.inclusive,message:a.message}),i.dirty()):a.kind===\"max\"?(a.inclusive?t.data>a.value:t.data>=a.value)&&(r=this._getOrReturnCtx(t,r),(0,$.addIssueToContext)(r,{code:Ae.ZodIssueCode.too_big,type:\"bigint\",maximum:a.value,inclusive:a.inclusive,message:a.message}),i.dirty()):a.kind===\"multipleOf\"?t.data%a.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),(0,$.addIssueToContext)(r,{code:Ae.ZodIssueCode.not_multiple_of,multipleOf:a.value,message:a.message}),i.dirty()):Be.util.assertNever(a);return{status:i.value,value:t.data}}_getInvalidInput(t){let n=this._getOrReturnCtx(t);return(0,$.addIssueToContext)(n,{code:Ae.ZodIssueCode.invalid_type,expected:Be.ZodParsedType.bigint,received:n.parsedType}),$.INVALID}gte(t,n){return this.setLimit(\"min\",t,!0,Ye.errorUtil.toString(n))}gt(t,n){return this.setLimit(\"min\",t,!1,Ye.errorUtil.toString(n))}lte(t,n){return this.setLimit(\"max\",t,!0,Ye.errorUtil.toString(n))}lt(t,n){return this.setLimit(\"max\",t,!1,Ye.errorUtil.toString(n))}setLimit(t,n,r,i){return new e({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:Ye.errorUtil.toString(i)}]})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:\"min\",value:BigInt(0),inclusive:!1,message:Ye.errorUtil.toString(t)})}negative(t){return this._addCheck({kind:\"max\",value:BigInt(0),inclusive:!1,message:Ye.errorUtil.toString(t)})}nonpositive(t){return this._addCheck({kind:\"max\",value:BigInt(0),inclusive:!0,message:Ye.errorUtil.toString(t)})}nonnegative(t){return this._addCheck({kind:\"min\",value:BigInt(0),inclusive:!0,message:Ye.errorUtil.toString(t)})}multipleOf(t,n){return this._addCheck({kind:\"multipleOf\",value:t,message:Ye.errorUtil.toString(n)})}get minValue(){let t=null;for(let n of this._def.checks)n.kind===\"min\"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(let n of this._def.checks)n.kind===\"max\"&&(t===null||n.value<t)&&(t=n.value);return t}};F.ZodBigInt=ql;ql.create=e=>new ql({checks:[],typeName:it.ZodBigInt,coerce:e?.coerce??!1,...xt(e)});var Hl=class extends Ct{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==Be.ZodParsedType.boolean){let r=this._getOrReturnCtx(t);return(0,$.addIssueToContext)(r,{code:Ae.ZodIssueCode.invalid_type,expected:Be.ZodParsedType.boolean,received:r.parsedType}),$.INVALID}return(0,$.OK)(t.data)}};F.ZodBoolean=Hl;Hl.create=e=>new Hl({typeName:it.ZodBoolean,coerce:e?.coerce||!1,...xt(e)});var Vl=class e extends Ct{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==Be.ZodParsedType.date){let a=this._getOrReturnCtx(t);return(0,$.addIssueToContext)(a,{code:Ae.ZodIssueCode.invalid_type,expected:Be.ZodParsedType.date,received:a.parsedType}),$.INVALID}if(Number.isNaN(t.data.getTime())){let a=this._getOrReturnCtx(t);return(0,$.addIssueToContext)(a,{code:Ae.ZodIssueCode.invalid_date}),$.INVALID}let r=new $.ParseStatus,i;for(let a of this._def.checks)a.kind===\"min\"?t.data.getTime()<a.value&&(i=this._getOrReturnCtx(t,i),(0,$.addIssueToContext)(i,{code:Ae.ZodIssueCode.too_small,message:a.message,inclusive:!0,exact:!1,minimum:a.value,type:\"date\"}),r.dirty()):a.kind===\"max\"?t.data.getTime()>a.value&&(i=this._getOrReturnCtx(t,i),(0,$.addIssueToContext)(i,{code:Ae.ZodIssueCode.too_big,message:a.message,inclusive:!0,exact:!1,maximum:a.value,type:\"date\"}),r.dirty()):Be.util.assertNever(a);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:\"min\",value:t.getTime(),message:Ye.errorUtil.toString(n)})}max(t,n){return this._addCheck({kind:\"max\",value:t.getTime(),message:Ye.errorUtil.toString(n)})}get minDate(){let t=null;for(let n of this._def.checks)n.kind===\"min\"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(let n of this._def.checks)n.kind===\"max\"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}};F.ZodDate=Vl;Vl.create=e=>new Vl({checks:[],coerce:e?.coerce||!1,typeName:it.ZodDate,...xt(e)});var kd=class extends Ct{_parse(t){if(this._getType(t)!==Be.ZodParsedType.symbol){let r=this._getOrReturnCtx(t);return(0,$.addIssueToContext)(r,{code:Ae.ZodIssueCode.invalid_type,expected:Be.ZodParsedType.symbol,received:r.parsedType}),$.INVALID}return(0,$.OK)(t.data)}};F.ZodSymbol=kd;kd.create=e=>new kd({typeName:it.ZodSymbol,...xt(e)});var Wl=class extends Ct{_parse(t){if(this._getType(t)!==Be.ZodParsedType.undefined){let r=this._getOrReturnCtx(t);return(0,$.addIssueToContext)(r,{code:Ae.ZodIssueCode.invalid_type,expected:Be.ZodParsedType.undefined,received:r.parsedType}),$.INVALID}return(0,$.OK)(t.data)}};F.ZodUndefined=Wl;Wl.create=e=>new Wl({typeName:it.ZodUndefined,...xt(e)});var Fl=class extends Ct{_parse(t){if(this._getType(t)!==Be.ZodParsedType.null){let r=this._getOrReturnCtx(t);return(0,$.addIssueToContext)(r,{code:Ae.ZodIssueCode.invalid_type,expected:Be.ZodParsedType.null,received:r.parsedType}),$.INVALID}return(0,$.OK)(t.data)}};F.ZodNull=Fl;Fl.create=e=>new Fl({typeName:it.ZodNull,...xt(e)});var Fs=class extends Ct{constructor(){super(...arguments),this._any=!0}_parse(t){return(0,$.OK)(t.data)}};F.ZodAny=Fs;Fs.create=e=>new Fs({typeName:it.ZodAny,...xt(e)});var Io=class extends Ct{constructor(){super(...arguments),this._unknown=!0}_parse(t){return(0,$.OK)(t.data)}};F.ZodUnknown=Io;Io.create=e=>new Io({typeName:it.ZodUnknown,...xt(e)});var na=class extends Ct{_parse(t){let n=this._getOrReturnCtx(t);return(0,$.addIssueToContext)(n,{code:Ae.ZodIssueCode.invalid_type,expected:Be.ZodParsedType.never,received:n.parsedType}),$.INVALID}};F.ZodNever=na;na.create=e=>new na({typeName:it.ZodNever,...xt(e)});var Bd=class extends Ct{_parse(t){if(this._getType(t)!==Be.ZodParsedType.undefined){let r=this._getOrReturnCtx(t);return(0,$.addIssueToContext)(r,{code:Ae.ZodIssueCode.invalid_type,expected:Be.ZodParsedType.void,received:r.parsedType}),$.INVALID}return(0,$.OK)(t.data)}};F.ZodVoid=Bd;Bd.create=e=>new Bd({typeName:it.ZodVoid,...xt(e)});var No=class e extends Ct{_parse(t){let{ctx:n,status:r}=this._processInputParams(t),i=this._def;if(n.parsedType!==Be.ZodParsedType.array)return(0,$.addIssueToContext)(n,{code:Ae.ZodIssueCode.invalid_type,expected:Be.ZodParsedType.array,received:n.parsedType}),$.INVALID;if(i.exactLength!==null){let o=n.data.length>i.exactLength.value,s=n.data.length<i.exactLength.value;(o||s)&&((0,$.addIssueToContext)(n,{code:o?Ae.ZodIssueCode.too_big:Ae.ZodIssueCode.too_small,minimum:s?i.exactLength.value:void 0,maximum:o?i.exactLength.value:void 0,type:\"array\",inclusive:!0,exact:!0,message:i.exactLength.message}),r.dirty())}if(i.minLength!==null&&n.data.length<i.minLength.value&&((0,$.addIssueToContext)(n,{code:Ae.ZodIssueCode.too_small,minimum:i.minLength.value,type:\"array\",inclusive:!0,exact:!1,message:i.minLength.message}),r.dirty()),i.maxLength!==null&&n.data.length>i.maxLength.value&&((0,$.addIssueToContext)(n,{code:Ae.ZodIssueCode.too_big,maximum:i.maxLength.value,type:\"array\",inclusive:!0,exact:!1,message:i.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((o,s)=>i.type._parseAsync(new Di(n,o,n.path,s)))).then(o=>$.ParseStatus.mergeArray(r,o));let a=[...n.data].map((o,s)=>i.type._parseSync(new Di(n,o,n.path,s)));return $.ParseStatus.mergeArray(r,a)}get element(){return this._def.type}min(t,n){return new e({...this._def,minLength:{value:t,message:Ye.errorUtil.toString(n)}})}max(t,n){return new e({...this._def,maxLength:{value:t,message:Ye.errorUtil.toString(n)}})}length(t,n){return new e({...this._def,exactLength:{value:t,message:Ye.errorUtil.toString(n)}})}nonempty(t){return this.min(1,t)}};F.ZodArray=No;No.create=(e,t)=>new No({type:e,minLength:null,maxLength:null,exactLength:null,typeName:it.ZodArray,...xt(t)});function Ad(e){if(e instanceof Xr){let t={};for(let n in e.shape){let r=e.shape[n];t[n]=zi.create(Ad(r))}return new Xr({...e._def,shape:()=>t})}else return e instanceof No?new No({...e._def,type:Ad(e.element)}):e instanceof zi?zi.create(Ad(e.unwrap())):e instanceof La?La.create(Ad(e.unwrap())):e instanceof Da?Da.create(e.items.map(t=>Ad(t))):e}var Xr=class e extends Ct{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let t=this._def.shape(),n=Be.util.objectKeys(t);return this._cached={shape:t,keys:n},this._cached}_parse(t){if(this._getType(t)!==Be.ZodParsedType.object){let c=this._getOrReturnCtx(t);return(0,$.addIssueToContext)(c,{code:Ae.ZodIssueCode.invalid_type,expected:Be.ZodParsedType.object,received:c.parsedType}),$.INVALID}let{status:r,ctx:i}=this._processInputParams(t),{shape:a,keys:o}=this._getCached(),s=[];if(!(this._def.catchall instanceof na&&this._def.unknownKeys===\"strip\"))for(let c in i.data)o.includes(c)||s.push(c);let l=[];for(let c of o){let u=a[c],d=i.data[c];l.push({key:{status:\"valid\",value:c},value:u._parse(new Di(i,d,i.path,c)),alwaysSet:c in i.data})}if(this._def.catchall instanceof na){let c=this._def.unknownKeys;if(c===\"passthrough\")for(let u of s)l.push({key:{status:\"valid\",value:u},value:{status:\"valid\",value:i.data[u]}});else if(c===\"strict\")s.length>0&&((0,$.addIssueToContext)(i,{code:Ae.ZodIssueCode.unrecognized_keys,keys:s}),r.dirty());else if(c!==\"strip\")throw new Error(\"Internal ZodObject error: invalid unknownKeys value.\")}else{let c=this._def.catchall;for(let u of s){let d=i.data[u];l.push({key:{status:\"valid\",value:u},value:c._parse(new Di(i,d,i.path,u)),alwaysSet:u in i.data})}}return i.common.async?Promise.resolve().then(async()=>{let c=[];for(let u of l){let d=await u.key,h=await u.value;c.push({key:d,value:h,alwaysSet:u.alwaysSet})}return c}).then(c=>$.ParseStatus.mergeObjectSync(r,c)):$.ParseStatus.mergeObjectSync(r,l)}get shape(){return this._def.shape()}strict(t){return Ye.errorUtil.errToObj,new e({...this._def,unknownKeys:\"strict\",...t!==void 0?{errorMap:(n,r)=>{let i=this._def.errorMap?.(n,r).message??r.defaultError;return n.code===\"unrecognized_keys\"?{message:Ye.errorUtil.errToObj(t).message??i}:{message:i}}}:{}})}strip(){return new e({...this._def,unknownKeys:\"strip\"})}passthrough(){return new e({...this._def,unknownKeys:\"passthrough\"})}extend(t){return new e({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new e({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:it.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new e({...this._def,catchall:t})}pick(t){let n={};for(let r of Be.util.objectKeys(t))t[r]&&this.shape[r]&&(n[r]=this.shape[r]);return new e({...this._def,shape:()=>n})}omit(t){let n={};for(let r of Be.util.objectKeys(this.shape))t[r]||(n[r]=this.shape[r]);return new e({...this._def,shape:()=>n})}deepPartial(){return Ad(this)}partial(t){let n={};for(let r of Be.util.objectKeys(this.shape)){let i=this.shape[r];t&&!t[r]?n[r]=i:n[r]=i.optional()}return new e({...this._def,shape:()=>n})}required(t){let n={};for(let r of Be.util.objectKeys(this.shape))if(t&&!t[r])n[r]=this.shape[r];else{let a=this.shape[r];for(;a instanceof zi;)a=a._def.innerType;n[r]=a}return new e({...this._def,shape:()=>n})}keyof(){return CM(Be.util.objectKeys(this.shape))}};F.ZodObject=Xr;Xr.create=(e,t)=>new Xr({shape:()=>e,unknownKeys:\"strip\",catchall:na.create(),typeName:it.ZodObject,...xt(t)});Xr.strictCreate=(e,t)=>new Xr({shape:()=>e,unknownKeys:\"strict\",catchall:na.create(),typeName:it.ZodObject,...xt(t)});Xr.lazycreate=(e,t)=>new Xr({shape:e,unknownKeys:\"strip\",catchall:na.create(),typeName:it.ZodObject,...xt(t)});var Kl=class extends Ct{_parse(t){let{ctx:n}=this._processInputParams(t),r=this._def.options;function i(a){for(let s of a)if(s.result.status===\"valid\")return s.result;for(let s of a)if(s.result.status===\"dirty\")return n.common.issues.push(...s.ctx.common.issues),s.result;let o=a.map(s=>new Ae.ZodError(s.ctx.common.issues));return(0,$.addIssueToContext)(n,{code:Ae.ZodIssueCode.invalid_union,unionErrors:o}),$.INVALID}if(n.common.async)return Promise.all(r.map(async a=>{let o={...n,common:{...n.common,issues:[]},parent:null};return{result:await a._parseAsync({data:n.data,path:n.path,parent:o}),ctx:o}})).then(i);{let a,o=[];for(let l of r){let c={...n,common:{...n.common,issues:[]},parent:null},u=l._parseSync({data:n.data,path:n.path,parent:c});if(u.status===\"valid\")return u;u.status===\"dirty\"&&!a&&(a={result:u,ctx:c}),c.common.issues.length&&o.push(c.common.issues)}if(a)return n.common.issues.push(...a.ctx.common.issues),a.result;let s=o.map(l=>new Ae.ZodError(l));return(0,$.addIssueToContext)(n,{code:Ae.ZodIssueCode.invalid_union,unionErrors:s}),$.INVALID}}get options(){return this._def.options}};F.ZodUnion=Kl;Kl.create=(e,t)=>new Kl({options:e,typeName:it.ZodUnion,...xt(t)});var Oo=e=>e instanceof Zl?Oo(e.schema):e instanceof vi?Oo(e.innerType()):e instanceof Yl?[e.value]:e instanceof Gl?e.options:e instanceof Ql?Be.util.objectValues(e.enum):e instanceof Xl?Oo(e._def.innerType):e instanceof Wl?[void 0]:e instanceof Fl?[null]:e instanceof zi?[void 0,...Oo(e.unwrap())]:e instanceof La?[null,...Oo(e.unwrap())]:e instanceof Fh||e instanceof ec?Oo(e.unwrap()):e instanceof Jl?Oo(e._def.innerType):[],Rm=class e extends Ct{_parse(t){let{ctx:n}=this._processInputParams(t);if(n.parsedType!==Be.ZodParsedType.object)return(0,$.addIssueToContext)(n,{code:Ae.ZodIssueCode.invalid_type,expected:Be.ZodParsedType.object,received:n.parsedType}),$.INVALID;let r=this.discriminator,i=n.data[r],a=this.optionsMap.get(i);return a?n.common.async?a._parseAsync({data:n.data,path:n.path,parent:n}):a._parseSync({data:n.data,path:n.path,parent:n}):((0,$.addIssueToContext)(n,{code:Ae.ZodIssueCode.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),$.INVALID)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,r){let i=new Map;for(let a of n){let o=Oo(a.shape[t]);if(!o.length)throw new Error(`A discriminator value for key \\`${t}\\` could not be extracted from all schema options`);for(let s of o){if(i.has(s))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(s)}`);i.set(s,a)}}return new e({typeName:it.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:i,...xt(r)})}};F.ZodDiscriminatedUnion=Rm;function t4(e,t){let n=(0,Be.getParsedType)(e),r=(0,Be.getParsedType)(t);if(e===t)return{valid:!0,data:e};if(n===Be.ZodParsedType.object&&r===Be.ZodParsedType.object){let i=Be.util.objectKeys(t),a=Be.util.objectKeys(e).filter(s=>i.indexOf(s)!==-1),o={...e,...t};for(let s of a){let l=t4(e[s],t[s]);if(!l.valid)return{valid:!1};o[s]=l.data}return{valid:!0,data:o}}else if(n===Be.ZodParsedType.array&&r===Be.ZodParsedType.array){if(e.length!==t.length)return{valid:!1};let i=[];for(let a=0;a<e.length;a++){let o=e[a],s=t[a],l=t4(o,s);if(!l.valid)return{valid:!1};i.push(l.data)}return{valid:!0,data:i}}else return n===Be.ZodParsedType.date&&r===Be.ZodParsedType.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}var $l=class extends Ct{_parse(t){let{status:n,ctx:r}=this._processInputParams(t),i=(a,o)=>{if((0,$.isAborted)(a)||(0,$.isAborted)(o))return $.INVALID;let s=t4(a.value,o.value);return s.valid?(((0,$.isDirty)(a)||(0,$.isDirty)(o))&&n.dirty(),{status:n.value,value:s.data}):((0,$.addIssueToContext)(r,{code:Ae.ZodIssueCode.invalid_intersection_types}),$.INVALID)};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(([a,o])=>i(a,o)):i(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}};F.ZodIntersection=$l;$l.create=(e,t,n)=>new $l({left:e,right:t,typeName:it.ZodIntersection,...xt(n)});var Da=class e extends Ct{_parse(t){let{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Be.ZodParsedType.array)return(0,$.addIssueToContext)(r,{code:Ae.ZodIssueCode.invalid_type,expected:Be.ZodParsedType.array,received:r.parsedType}),$.INVALID;if(r.data.length<this._def.items.length)return(0,$.addIssueToContext)(r,{code:Ae.ZodIssueCode.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:\"array\"}),$.INVALID;!this._def.rest&&r.data.length>this._def.items.length&&((0,$.addIssueToContext)(r,{code:Ae.ZodIssueCode.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:\"array\"}),n.dirty());let a=[...r.data].map((o,s)=>{let l=this._def.items[s]||this._def.rest;return l?l._parse(new Di(r,o,r.path,s)):null}).filter(o=>!!o);return r.common.async?Promise.all(a).then(o=>$.ParseStatus.mergeArray(n,o)):$.ParseStatus.mergeArray(n,a)}get items(){return this._def.items}rest(t){return new e({...this._def,rest:t})}};F.ZodTuple=Da;Da.create=(e,t)=>{if(!Array.isArray(e))throw new Error(\"You must pass an array of schemas to z.tuple([ ... ])\");return new Da({items:e,typeName:it.ZodTuple,rest:null,...xt(t)})};var Um=class e extends Ct{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){let{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Be.ZodParsedType.object)return(0,$.addIssueToContext)(r,{code:Ae.ZodIssueCode.invalid_type,expected:Be.ZodParsedType.object,received:r.parsedType}),$.INVALID;let i=[],a=this._def.keyType,o=this._def.valueType;for(let s in r.data)i.push({key:a._parse(new Di(r,s,r.path,s)),value:o._parse(new Di(r,r.data[s],r.path,s)),alwaysSet:s in r.data});return r.common.async?$.ParseStatus.mergeObjectAsync(n,i):$.ParseStatus.mergeObjectSync(n,i)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof Ct?new e({keyType:t,valueType:n,typeName:it.ZodRecord,...xt(r)}):new e({keyType:Ws.create(),valueType:t,typeName:it.ZodRecord,...xt(n)})}};F.ZodRecord=Um;var Md=class extends Ct{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){let{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Be.ZodParsedType.map)return(0,$.addIssueToContext)(r,{code:Ae.ZodIssueCode.invalid_type,expected:Be.ZodParsedType.map,received:r.parsedType}),$.INVALID;let i=this._def.keyType,a=this._def.valueType,o=[...r.data.entries()].map(([s,l],c)=>({key:i._parse(new Di(r,s,r.path,[c,\"key\"])),value:a._parse(new Di(r,l,r.path,[c,\"value\"]))}));if(r.common.async){let s=new Map;return Promise.resolve().then(async()=>{for(let l of o){let c=await l.key,u=await l.value;if(c.status===\"aborted\"||u.status===\"aborted\")return $.INVALID;(c.status===\"dirty\"||u.status===\"dirty\")&&n.dirty(),s.set(c.value,u.value)}return{status:n.value,value:s}})}else{let s=new Map;for(let l of o){let c=l.key,u=l.value;if(c.status===\"aborted\"||u.status===\"aborted\")return $.INVALID;(c.status===\"dirty\"||u.status===\"dirty\")&&n.dirty(),s.set(c.value,u.value)}return{status:n.value,value:s}}}};F.ZodMap=Md;Md.create=(e,t,n)=>new Md({valueType:t,keyType:e,typeName:it.ZodMap,...xt(n)});var Rd=class e extends Ct{_parse(t){let{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Be.ZodParsedType.set)return(0,$.addIssueToContext)(r,{code:Ae.ZodIssueCode.invalid_type,expected:Be.ZodParsedType.set,received:r.parsedType}),$.INVALID;let i=this._def;i.minSize!==null&&r.data.size<i.minSize.value&&((0,$.addIssueToContext)(r,{code:Ae.ZodIssueCode.too_small,minimum:i.minSize.value,type:\"set\",inclusive:!0,exact:!1,message:i.minSize.message}),n.dirty()),i.maxSize!==null&&r.data.size>i.maxSize.value&&((0,$.addIssueToContext)(r,{code:Ae.ZodIssueCode.too_big,maximum:i.maxSize.value,type:\"set\",inclusive:!0,exact:!1,message:i.maxSize.message}),n.dirty());let a=this._def.valueType;function o(l){let c=new Set;for(let u of l){if(u.status===\"aborted\")return $.INVALID;u.status===\"dirty\"&&n.dirty(),c.add(u.value)}return{status:n.value,value:c}}let s=[...r.data.values()].map((l,c)=>a._parse(new Di(r,l,r.path,c)));return r.common.async?Promise.all(s).then(l=>o(l)):o(s)}min(t,n){return new e({...this._def,minSize:{value:t,message:Ye.errorUtil.toString(n)}})}max(t,n){return new e({...this._def,maxSize:{value:t,message:Ye.errorUtil.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}};F.ZodSet=Rd;Rd.create=(e,t)=>new Rd({valueType:e,minSize:null,maxSize:null,typeName:it.ZodSet,...xt(t)});var Om=class e extends Ct{constructor(){super(...arguments),this.validate=this.implement}_parse(t){let{ctx:n}=this._processInputParams(t);if(n.parsedType!==Be.ZodParsedType.function)return(0,$.addIssueToContext)(n,{code:Ae.ZodIssueCode.invalid_type,expected:Be.ZodParsedType.function,received:n.parsedType}),$.INVALID;function r(s,l){return(0,$.makeIssue)({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,(0,Mm.getErrorMap)(),Mm.defaultErrorMap].filter(c=>!!c),issueData:{code:Ae.ZodIssueCode.invalid_arguments,argumentsError:l}})}function i(s,l){return(0,$.makeIssue)({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,(0,Mm.getErrorMap)(),Mm.defaultErrorMap].filter(c=>!!c),issueData:{code:Ae.ZodIssueCode.invalid_return_type,returnTypeError:l}})}let a={errorMap:n.common.contextualErrorMap},o=n.data;if(this._def.returns instanceof Ks){let s=this;return(0,$.OK)(async function(...l){let c=new Ae.ZodError([]),u=await s._def.args.parseAsync(l,a).catch(g=>{throw c.addIssue(r(l,g)),c}),d=await Reflect.apply(o,this,u);return await s._def.returns._def.type.parseAsync(d,a).catch(g=>{throw c.addIssue(i(d,g)),c})})}else{let s=this;return(0,$.OK)(function(...l){let c=s._def.args.safeParse(l,a);if(!c.success)throw new Ae.ZodError([r(l,c.error)]);let u=Reflect.apply(o,this,c.data),d=s._def.returns.safeParse(u,a);if(!d.success)throw new Ae.ZodError([i(u,d.error)]);return d.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new e({...this._def,args:Da.create(t).rest(Io.create())})}returns(t){return new e({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,n,r){return new e({args:t||Da.create([]).rest(Io.create()),returns:n||Io.create(),typeName:it.ZodFunction,...xt(r)})}};F.ZodFunction=Om;var Zl=class extends Ct{get schema(){return this._def.getter()}_parse(t){let{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}};F.ZodLazy=Zl;Zl.create=(e,t)=>new Zl({getter:e,typeName:it.ZodLazy,...xt(t)});var Yl=class extends Ct{_parse(t){if(t.data!==this._def.value){let n=this._getOrReturnCtx(t);return(0,$.addIssueToContext)(n,{received:n.data,code:Ae.ZodIssueCode.invalid_literal,expected:this._def.value}),$.INVALID}return{status:\"valid\",value:t.data}}get value(){return this._def.value}};F.ZodLiteral=Yl;Yl.create=(e,t)=>new Yl({value:e,typeName:it.ZodLiteral,...xt(t)});function CM(e,t){return new Gl({values:e,typeName:it.ZodEnum,...xt(t)})}var Gl=class e extends Ct{_parse(t){if(typeof t.data!=\"string\"){let n=this._getOrReturnCtx(t),r=this._def.values;return(0,$.addIssueToContext)(n,{expected:Be.util.joinValues(r),received:n.parsedType,code:Ae.ZodIssueCode.invalid_type}),$.INVALID}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){let n=this._getOrReturnCtx(t),r=this._def.values;return(0,$.addIssueToContext)(n,{received:n.data,code:Ae.ZodIssueCode.invalid_enum_value,options:r}),$.INVALID}return(0,$.OK)(t.data)}get options(){return this._def.values}get enum(){let t={};for(let n of this._def.values)t[n]=n;return t}get Values(){let t={};for(let n of this._def.values)t[n]=n;return t}get Enum(){let t={};for(let n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return e.create(t,{...this._def,...n})}exclude(t,n=this._def){return e.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}};F.ZodEnum=Gl;Gl.create=CM;var Ql=class extends Ct{_parse(t){let n=Be.util.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==Be.ZodParsedType.string&&r.parsedType!==Be.ZodParsedType.number){let i=Be.util.objectValues(n);return(0,$.addIssueToContext)(r,{expected:Be.util.joinValues(i),received:r.parsedType,code:Ae.ZodIssueCode.invalid_type}),$.INVALID}if(this._cache||(this._cache=new Set(Be.util.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){let i=Be.util.objectValues(n);return(0,$.addIssueToContext)(r,{received:r.data,code:Ae.ZodIssueCode.invalid_enum_value,options:i}),$.INVALID}return(0,$.OK)(t.data)}get enum(){return this._def.values}};F.ZodNativeEnum=Ql;Ql.create=(e,t)=>new Ql({values:e,typeName:it.ZodNativeEnum,...xt(t)});var Ks=class extends Ct{unwrap(){return this._def.type}_parse(t){let{ctx:n}=this._processInputParams(t);if(n.parsedType!==Be.ZodParsedType.promise&&n.common.async===!1)return(0,$.addIssueToContext)(n,{code:Ae.ZodIssueCode.invalid_type,expected:Be.ZodParsedType.promise,received:n.parsedType}),$.INVALID;let r=n.parsedType===Be.ZodParsedType.promise?n.data:Promise.resolve(n.data);return(0,$.OK)(r.then(i=>this._def.type.parseAsync(i,{path:n.path,errorMap:n.common.contextualErrorMap})))}};F.ZodPromise=Ks;Ks.create=(e,t)=>new Ks({type:e,typeName:it.ZodPromise,...xt(t)});var vi=class extends Ct{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===it.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){let{status:n,ctx:r}=this._processInputParams(t),i=this._def.effect||null,a={addIssue:o=>{(0,$.addIssueToContext)(r,o),o.fatal?n.abort():n.dirty()},get path(){return r.path}};if(a.addIssue=a.addIssue.bind(a),i.type===\"preprocess\"){let o=i.transform(r.data,a);if(r.common.async)return Promise.resolve(o).then(async s=>{if(n.value===\"aborted\")return $.INVALID;let l=await this._def.schema._parseAsync({data:s,path:r.path,parent:r});return l.status===\"aborted\"?$.INVALID:l.status===\"dirty\"||n.value===\"dirty\"?(0,$.DIRTY)(l.value):l});{if(n.value===\"aborted\")return $.INVALID;let s=this._def.schema._parseSync({data:o,path:r.path,parent:r});return s.status===\"aborted\"?$.INVALID:s.status===\"dirty\"||n.value===\"dirty\"?(0,$.DIRTY)(s.value):s}}if(i.type===\"refinement\"){let o=s=>{let l=i.refinement(s,a);if(r.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error(\"Async refinement encountered during synchronous parse operation. Use .parseAsync instead.\");return s};if(r.common.async===!1){let s=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return s.status===\"aborted\"?$.INVALID:(s.status===\"dirty\"&&n.dirty(),o(s.value),{status:n.value,value:s.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(s=>s.status===\"aborted\"?$.INVALID:(s.status===\"dirty\"&&n.dirty(),o(s.value).then(()=>({status:n.value,value:s.value}))))}if(i.type===\"transform\")if(r.common.async===!1){let o=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!(0,$.isValid)(o))return $.INVALID;let s=i.transform(o.value,a);if(s instanceof Promise)throw new Error(\"Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.\");return{status:n.value,value:s}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(o=>(0,$.isValid)(o)?Promise.resolve(i.transform(o.value,a)).then(s=>({status:n.value,value:s})):$.INVALID);Be.util.assertNever(i)}};F.ZodEffects=vi;F.ZodTransformer=vi;vi.create=(e,t,n)=>new vi({schema:e,typeName:it.ZodEffects,effect:t,...xt(n)});vi.createWithPreprocess=(e,t,n)=>new vi({schema:t,effect:{type:\"preprocess\",transform:e},typeName:it.ZodEffects,...xt(n)});var zi=class extends Ct{_parse(t){return this._getType(t)===Be.ZodParsedType.undefined?(0,$.OK)(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}};F.ZodOptional=zi;zi.create=(e,t)=>new zi({innerType:e,typeName:it.ZodOptional,...xt(t)});var La=class extends Ct{_parse(t){return this._getType(t)===Be.ZodParsedType.null?(0,$.OK)(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}};F.ZodNullable=La;La.create=(e,t)=>new La({innerType:e,typeName:it.ZodNullable,...xt(t)});var Xl=class extends Ct{_parse(t){let{ctx:n}=this._processInputParams(t),r=n.data;return n.parsedType===Be.ZodParsedType.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}};F.ZodDefault=Xl;Xl.create=(e,t)=>new Xl({innerType:e,typeName:it.ZodDefault,defaultValue:typeof t.default==\"function\"?t.default:()=>t.default,...xt(t)});var Jl=class extends Ct{_parse(t){let{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},i=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return(0,$.isAsync)(i)?i.then(a=>({status:\"valid\",value:a.status===\"valid\"?a.value:this._def.catchValue({get error(){return new Ae.ZodError(r.common.issues)},input:r.data})})):{status:\"valid\",value:i.status===\"valid\"?i.value:this._def.catchValue({get error(){return new Ae.ZodError(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}};F.ZodCatch=Jl;Jl.create=(e,t)=>new Jl({innerType:e,typeName:it.ZodCatch,catchValue:typeof t.catch==\"function\"?t.catch:()=>t.catch,...xt(t)});var Ud=class extends Ct{_parse(t){if(this._getType(t)!==Be.ZodParsedType.nan){let r=this._getOrReturnCtx(t);return(0,$.addIssueToContext)(r,{code:Ae.ZodIssueCode.invalid_type,expected:Be.ZodParsedType.nan,received:r.parsedType}),$.INVALID}return{status:\"valid\",value:t.data}}};F.ZodNaN=Ud;Ud.create=e=>new Ud({typeName:it.ZodNaN,...xt(e)});F.BRAND=Symbol(\"zod_brand\");var Fh=class extends Ct{_parse(t){let{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}};F.ZodBranded=Fh;var Kh=class e extends Ct{_parse(t){let{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{let a=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return a.status===\"aborted\"?$.INVALID:a.status===\"dirty\"?(n.dirty(),(0,$.DIRTY)(a.value)):this._def.out._parseAsync({data:a.value,path:r.path,parent:r})})();{let i=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return i.status===\"aborted\"?$.INVALID:i.status===\"dirty\"?(n.dirty(),{status:\"dirty\",value:i.value}):this._def.out._parseSync({data:i.value,path:r.path,parent:r})}}static create(t,n){return new e({in:t,out:n,typeName:it.ZodPipeline})}};F.ZodPipeline=Kh;var ec=class extends Ct{_parse(t){let n=this._def.innerType._parse(t),r=i=>((0,$.isValid)(i)&&(i.value=Object.freeze(i.value)),i);return(0,$.isAsync)(n)?n.then(i=>r(i)):r(n)}unwrap(){return this._def.innerType}};F.ZodReadonly=ec;ec.create=(e,t)=>new ec({innerType:e,typeName:it.ZodReadonly,...xt(t)});function bM(e,t){let n=typeof e==\"function\"?e(t):typeof e==\"string\"?{message:e}:e;return typeof n==\"string\"?{message:n}:n}function SM(e,t={},n){return e?Fs.create().superRefine((r,i)=>{let a=e(r);if(a instanceof Promise)return a.then(o=>{if(!o){let s=bM(t,r),l=s.fatal??n??!0;i.addIssue({code:\"custom\",...s,fatal:l})}});if(!a){let o=bM(t,r),s=o.fatal??n??!0;i.addIssue({code:\"custom\",...o,fatal:s})}}):Fs.create()}F.late={object:Xr.lazycreate};var it;(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\"})(it||(F.ZodFirstPartyTypeKind=it={}));var zX=(e,t={message:`Input not instance of ${e.name}`})=>SM(n=>n instanceof e,t);F.instanceof=zX;var _M=Ws.create;F.string=_M;var TM=jl.create;F.number=TM;var DX=Ud.create;F.nan=DX;var LX=ql.create;F.bigint=LX;var EM=Hl.create;F.boolean=EM;var jX=Vl.create;F.date=jX;var qX=kd.create;F.symbol=qX;var HX=Wl.create;F.undefined=HX;var VX=Fl.create;F.null=VX;var WX=Fs.create;F.any=WX;var FX=Io.create;F.unknown=FX;var KX=na.create;F.never=KX;var $X=Bd.create;F.void=$X;var ZX=No.create;F.array=ZX;var YX=Xr.create;F.object=YX;var GX=Xr.strictCreate;F.strictObject=GX;var QX=Kl.create;F.union=QX;var XX=Rm.create;F.discriminatedUnion=XX;var JX=$l.create;F.intersection=JX;var eJ=Da.create;F.tuple=eJ;var tJ=Um.create;F.record=tJ;var nJ=Md.create;F.map=nJ;var rJ=Rd.create;F.set=rJ;var iJ=Om.create;F.function=iJ;var aJ=Zl.create;F.lazy=aJ;var oJ=Yl.create;F.literal=oJ;var sJ=Gl.create;F.enum=sJ;var lJ=Ql.create;F.nativeEnum=lJ;var cJ=Ks.create;F.promise=cJ;var AM=vi.create;F.effect=AM;F.transformer=AM;var uJ=zi.create;F.optional=uJ;var dJ=La.create;F.nullable=dJ;var fJ=vi.createWithPreprocess;F.preprocess=fJ;var hJ=Kh.create;F.pipeline=hJ;var gJ=()=>_M().optional();F.ostring=gJ;var pJ=()=>TM().optional();F.onumber=pJ;var mJ=()=>EM().optional();F.oboolean=mJ;F.coerce={string:(e=>Ws.create({...e,coerce:!0})),number:(e=>jl.create({...e,coerce:!0})),boolean:(e=>Hl.create({...e,coerce:!0})),bigint:(e=>ql.create({...e,coerce:!0})),date:(e=>Vl.create({...e,coerce:!0}))};F.NEVER=$.INVALID});var n4=V(Li=>{\"use strict\";b();var yJ=Li&&Li.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(\"get\"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),Od=Li&&Li.__exportStar||function(e,t){for(var n in e)n!==\"default\"&&!Object.prototype.hasOwnProperty.call(t,n)&&yJ(t,e,n)};Object.defineProperty(Li,\"__esModule\",{value:!0});Od(km(),Li);Od(J5(),Li);Od(gM(),Li);Od(Vh(),Li);Od(kM(),Li);Od(Am(),Li)});var r4=V(Jr=>{\"use strict\";b();var BM=Jr&&Jr.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(\"get\"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),bJ=Jr&&Jr.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,\"default\",{enumerable:!0,value:t})}):function(e,t){e.default=t}),vJ=Jr&&Jr.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!==\"default\"&&Object.prototype.hasOwnProperty.call(e,n)&&BM(t,e,n);return bJ(t,e),t},wJ=Jr&&Jr.__exportStar||function(e,t){for(var n in e)n!==\"default\"&&!Object.prototype.hasOwnProperty.call(t,n)&&BM(t,e,n)};Object.defineProperty(Jr,\"__esModule\",{value:!0});Jr.z=void 0;var MM=vJ(n4());Jr.z=MM;wJ(n4(),Jr);Jr.default=MM});var RM=V((Wse,xJ)=>{xJ.exports={name:\"@ton/ton\",version:\"16.1.0\",repository:\"https://github.com/ton-org/ton.git\",author:\"Whales Corp. <developers@whalescorp.com>\",license:\"MIT\",main:\"dist/index.js\",files:[\"dist\"],scripts:{docs:\"rm -fr docs && typedoc src/index.ts\",build:\"rm -fr dist && tsc --declaration\",test:\"jest --verbose --runInBand\",release:\"yarn build && yarn release-it --npm.yarn1\"},devDependencies:{\"@release-it/keep-a-changelog\":\"^5.0.0\",\"@ton/core\":\"^0.62.0\",\"@ton/crypto\":\"3.2.0\",\"@ton/emulator\":\"^2.1.1\",\"@types/jest\":\"^27.0.1\",\"@types/node\":\"^16.7.10\",buffer:\"^6.0.3\",expect:\"^27.1.0\",jest:\"^27.1.0\",\"jest-mock\":\"^27.1.0\",karma:\"^6.3.4\",\"karma-chrome-launcher\":\"^3.1.0\",\"karma-jasmine\":\"^4.0.1\",\"karma-typescript\":\"^5.5.2\",\"karma-webpack\":\"^5.0.0\",prando:\"^6.0.1\",\"release-it\":\"^17.1.1\",\"ts-jest\":\"^27.0.5\",\"ts-loader\":\"^9.2.5\",\"ts-node\":\"^10.7.0\",typedoc:\"^0.23.24\",typescript:\"^5.6.3\",webpack:\"^5.51.2\"},dependencies:{axios:\"^1.6.7\",dataloader:\"^2.0.0\",\"symbol.inspect\":\"1.0.1\",teslabot:\"^1.3.0\",zod:\"^3.21.4\"},peerDependencies:{\"@ton/core\":\">=0.62.0 <1.0.0\",\"@ton/crypto\":\">=3.2.0\"},publishConfig:{access:\"public\",registry:\"https://registry.npmjs.org/\"},\"release-it\":{github:{release:!0},plugins:{\"@release-it/keep-a-changelog\":{filename:\"CHANGELOG.md\"}}},packageManager:\"yarn@3.4.1\"}});var o4=V(Nd=>{\"use strict\";b();var PM=Nd&&Nd.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Nd,\"__esModule\",{value:!0});Nd.HttpApi=void 0;var CJ=bB(),UM=PM(xB()),SJ=PM(Z5()),_e=r4(),_J=RM().version,Id=_e.z.object({\"@type\":_e.z.literal(\"ton.blockIdExt\"),workchain:_e.z.number(),shard:_e.z.string(),seqno:_e.z.number(),root_hash:_e.z.string(),file_hash:_e.z.string()}),TJ=_e.z.object({balance:_e.z.union([_e.z.number(),_e.z.string()]),extra_currencies:_e.z.optional(_e.z.array(_e.z.object({\"@type\":_e.z.literal(\"extraCurrency\"),id:_e.z.number(),amount:_e.z.string()}))),state:_e.z.union([_e.z.literal(\"active\"),_e.z.literal(\"uninitialized\"),_e.z.literal(\"frozen\")]),data:_e.z.string(),code:_e.z.string(),last_transaction_id:_e.z.object({\"@type\":_e.z.literal(\"internal.transactionId\"),lt:_e.z.string(),hash:_e.z.string()}),block_id:Id,sync_utime:_e.z.number()}),EJ=_e.z.object({\"@type\":_e.z.literal(\"ok\")}),AJ=_e.z.object({\"@type\":_e.z.literal(\"query.fees\"),source_fees:_e.z.object({\"@type\":_e.z.literal(\"fees\"),in_fwd_fee:_e.z.number(),storage_fee:_e.z.number(),gas_fee:_e.z.number(),fwd_fee:_e.z.number()})}),kJ=_e.z.object({gas_used:_e.z.number(),exit_code:_e.z.number(),stack:_e.z.array(_e.z.unknown())}),BJ=_e.z.union([_e.z.object({\"@type\":_e.z.literal(\"msg.dataRaw\"),body:_e.z.string()}),_e.z.object({\"@type\":_e.z.literal(\"msg.dataText\"),text:_e.z.string()}),_e.z.object({\"@type\":_e.z.literal(\"msg.dataDecryptedText\"),text:_e.z.string()}),_e.z.object({\"@type\":_e.z.literal(\"msg.dataEncryptedText\"),text:_e.z.string()})]),OM=_e.z.object({source:_e.z.string(),destination:_e.z.string(),value:_e.z.string(),fwd_fee:_e.z.string(),ihr_fee:_e.z.string(),created_lt:_e.z.string(),body_hash:_e.z.string(),msg_data:BJ,message:_e.z.string().optional()}),i4=_e.z.object({data:_e.z.string(),utime:_e.z.number(),transaction_id:_e.z.object({lt:_e.z.string(),hash:_e.z.string()}),fee:_e.z.string(),storage_fee:_e.z.string(),other_fee:_e.z.string(),in_msg:_e.z.union([_e.z.undefined(),OM]),out_msgs:_e.z.array(OM)}),IM=_e.z.array(i4),MJ=_e.z.object({state_root_hash:_e.z.string(),last:Id,init:Id}),RJ=_e.z.object({shards:_e.z.array(Id)}),UJ=_e.z.object({\"@type\":_e.z.literal(\"blocks.shortTxId\"),mode:_e.z.number(),account:_e.z.string(),lt:_e.z.string(),hash:_e.z.string()}),NM=_e.z.object({id:Id,req_count:_e.z.number(),incomplete:_e.z.boolean(),transactions:_e.z.array(UJ)}),Im=class{constructor(t,n,r,i){this.namespace=t,this.cache=n,this.codec=r,this.keyEncoder=i}async get(t){let n=await this.cache.get(this.namespace,this.keyEncoder(t));if(n){let r=this.codec.safeParse(JSON.parse(n));if(r.success)return r.data}return null}async set(t,n){n!==null?await this.cache.set(this.namespace,this.keyEncoder(t),JSON.stringify(n)):await this.cache.set(this.namespace,this.keyEncoder(t),null)}},a4=class{constructor(t,n){this.endpoint=t,this.cache=new CJ.InMemoryCache,this.parameters={timeout:n?.timeout||3e4,apiKey:n?.apiKey,adapter:n?.adapter},this.shardCache=new Im(\"ton-shard\",this.cache,_e.z.array(Id),r=>r+\"\"),this.shardLoader=new UM.default(async r=>await Promise.all(r.map(async i=>{let a=await this.shardCache.get(i);if(a)return a;let o=(await this.doCall(\"shards\",{seqno:i},RJ)).shards;return await this.shardCache.set(i,o),o}))),this.shardTransactionsCache=new Im(\"ton-shard-tx\",this.cache,NM,r=>r.workchain+\":\"+r.shard+\":\"+r.seqno),this.shardTransactionsLoader=new UM.default(async r=>await Promise.all(r.map(async i=>{let a=await this.shardTransactionsCache.get(i);if(a)return a;let o=await this.doCall(\"getBlockTransactions\",{workchain:i.workchain,seqno:i.seqno,shard:i.shard},NM);return await this.shardTransactionsCache.set(i,o),o})),{cacheKeyFn:r=>r.workchain+\":\"+r.shard+\":\"+r.seqno})}getAddressInformation(t){return this.doCall(\"getAddressInformation\",{address:t.toString()},TJ)}async getTransactions(t,n){let r=n.inclusive;delete n.inclusive;let i;n.hash&&(i=globalThis.Buffer.from(n.hash,\"base64\").toString(\"hex\"));let a=n.limit;n.hash&&n.lt&&r!==!0&&a++;let o=await this.doCall(\"getTransactions\",{address:t.toString(),...n,limit:a,hash:i},IM);return o.length>a&&(o=o.slice(0,a)),n.hash&&n.lt&&r!==!0&&o.shift(),o}async getMasterchainInfo(){return await this.doCall(\"getMasterchainInfo\",{},MJ)}async getShards(t){return await this.shardLoader.load(t)}async getBlockTransactions(t,n,r){return await this.shardTransactionsLoader.load({workchain:t,seqno:n,shard:r})}async getTransaction(t,n,r){let i=globalThis.Buffer.from(r,\"base64\").toString(\"hex\"),o=(await this.doCall(\"getTransactions\",{address:t.toString(),lt:n,hash:i,limit:1},IM)).find(s=>s.transaction_id.lt===n&&s.transaction_id.hash===r);return o||null}async callGetMethod(t,n,r){return await this.doCall(\"runGetMethod\",{address:t.toString(),method:n,stack:OJ(r)},kJ)}async sendBoc(t){await this.doCall(\"sendBoc\",{boc:t.toString(\"base64\")},EJ)}async estimateFee(t,n){return await this.doCall(\"estimateFee\",{address:t.toString(),body:n.body.toBoc().toString(\"base64\"),init_data:n.initData?n.initData.toBoc().toString(\"base64\"):\"\",init_code:n.initCode?n.initCode.toBoc().toString(\"base64\"):\"\",ignore_chksig:n.ignoreSignature},AJ)}async tryLocateResultTx(t,n,r){return await this.doCall(\"tryLocateResultTx\",{source:t.toString(),destination:n.toString(),created_lt:r},i4)}async tryLocateSourceTx(t,n,r){return await this.doCall(\"tryLocateSourceTx\",{source:t.toString(),destination:n.toString(),created_lt:r},i4)}async doCall(t,n,r){let i={\"Content-Type\":\"application/json\",\"X-Ton-Client-Version\":_J};this.parameters.apiKey&&(i[\"X-API-Key\"]=this.parameters.apiKey);let a=await SJ.default.post(this.endpoint,JSON.stringify({id:\"1\",jsonrpc:\"2.0\",method:t,params:n}),{headers:i,timeout:this.parameters.timeout,adapter:this.parameters.adapter});if(a.status!==200||!a.data.ok)throw Error(\"Received error: \"+JSON.stringify(a.data));let o=r.safeParse(a.data.result);if(o.success)return o.data;throw Error(\"Malformed response: \"+o.error.format()._errors.join(\", \"))}};Nd.HttpApi=a4;function OJ(e){let t=[];for(let n of e)if(n.type===\"int\")t.push([\"num\",n.value.toString()]);else if(n.type===\"cell\")t.push([\"tvm.Cell\",n.cell.toBoc().toString(\"base64\")]);else if(n.type===\"slice\")t.push([\"tvm.Slice\",n.cell.toBoc().toString(\"base64\")]);else if(n.type===\"builder\")t.push([\"tvm.Builder\",n.cell.toBoc().toString(\"base64\")]);else throw Error(\"Unsupported stack item type: \"+n.type);return t}});var DM=V(Nm=>{\"use strict\";b();Object.defineProperty(Nm,\"__esModule\",{value:!0});Nm.TonClient=void 0;var IJ=o4(),Cn=Gt(),s4=class{constructor(t){this.parameters={endpoint:t.endpoint},this.api=new IJ.HttpApi(this.parameters.endpoint,{timeout:t.timeout,apiKey:t.apiKey,adapter:t.httpAdapter})}async getBalance(t){return(await this.getContractState(t)).balance}async runMethod(t,n,r=[]){let i=await this.api.callGetMethod(t,n,r);if(i.exit_code!==0)throw Error(\"Unable to execute get method. Got exit_code: \"+i.exit_code);return{gas_used:i.gas_used,stack:zM(i.stack)}}async callGetMethod(t,n,r=[]){return this.runMethod(t,n,r)}async runMethodWithError(t,n,r=[]){let i=await this.api.callGetMethod(t,n,r);return{gas_used:i.gas_used,stack:zM(i.stack),exit_code:i.exit_code}}async callGetMethodWithError(t,n,r=[]){return this.runMethodWithError(t,n,r)}async getTransactions(t,n){let r=await this.api.getTransactions(t,n),i=[];for(let a of r)i.push((0,Cn.loadTransaction)(Cn.Cell.fromBoc(globalThis.Buffer.from(a.data,\"base64\"))[0].beginParse()));return i}async getTransaction(t,n,r){let i=await this.api.getTransaction(t,n,r);return i?(0,Cn.loadTransaction)(Cn.Cell.fromBoc(globalThis.Buffer.from(i.data,\"base64\"))[0].beginParse()):null}async tryLocateResultTx(t,n,r){let i=await this.api.tryLocateResultTx(t,n,r);return(0,Cn.loadTransaction)(Cn.Cell.fromBase64(i.data).beginParse())}async tryLocateSourceTx(t,n,r){let i=await this.api.tryLocateSourceTx(t,n,r);return(0,Cn.loadTransaction)(Cn.Cell.fromBase64(i.data).beginParse())}async getMasterchainInfo(){let t=await this.api.getMasterchainInfo();return{workchain:t.init.workchain,shard:t.last.shard,initSeqno:t.init.seqno,latestSeqno:t.last.seqno}}async getWorkchainShards(t){return(await this.api.getShards(t)).map(r=>({workchain:r.workchain,shard:r.shard,seqno:r.seqno}))}async getShardTransactions(t,n,r){let i=await this.api.getBlockTransactions(t,n,r);if(i.incomplete)throw Error(\"Unsupported\");return i.transactions.map(a=>({account:Cn.Address.parseRaw(a.account),lt:a.lt,hash:a.hash}))}async sendMessage(t){let n=(0,Cn.beginCell)().store((0,Cn.storeMessage)(t)).endCell().toBoc();await this.api.sendBoc(n)}async sendFile(t){await this.api.sendBoc(t)}async estimateExternalMessageFee(t,n){return await this.api.estimateFee(t,{body:n.body,initCode:n.initCode,initData:n.initData,ignoreSignature:n.ignoreSignature})}async sendExternalMessage(t,n){if(await this.isContractDeployed(t.address)||!t.init){let r=(0,Cn.external)({to:t.address,body:n});await this.sendMessage(r)}else{let r=(0,Cn.external)({to:t.address,init:t.init,body:n});await this.sendMessage(r)}}async isContractDeployed(t){return(await this.getContractState(t)).state===\"active\"}async getContractState(t){let n=await this.api.getAddressInformation(t),r=BigInt(n.balance),i=n.state;return{balance:r,extra_currencies:n.extra_currencies,state:i,code:n.code!==\"\"?globalThis.Buffer.from(n.code,\"base64\"):null,data:n.data!==\"\"?globalThis.Buffer.from(n.data,\"base64\"):null,lastTransaction:n.last_transaction_id.lt!==\"0\"?{lt:n.last_transaction_id.lt,hash:n.last_transaction_id.hash}:null,blockId:{workchain:n.block_id.workchain,shard:n.block_id.shard,seqno:n.block_id.seqno},timestampt:n.sync_utime}}open(t){return(0,Cn.openContract)(t,n=>l4(this,n.address,n.init))}provider(t,n){return l4(this,t,n??null)}};Nm.TonClient=s4;function tc(e){let t=e[\"@type\"];switch(t){case\"tvm.list\":case\"tvm.tuple\":return e.elements.map(tc);case\"tvm.cell\":return Cn.Cell.fromBoc(globalThis.Buffer.from(e.bytes,\"base64\"))[0];case\"tvm.slice\":return Cn.Cell.fromBoc(globalThis.Buffer.from(e.bytes,\"base64\"))[0];case\"tvm.stackEntryCell\":return tc(e.cell);case\"tvm.stackEntrySlice\":return tc(e.slice);case\"tvm.stackEntryTuple\":return tc(e.tuple);case\"tvm.stackEntryList\":return tc(e.list);case\"tvm.stackEntryNumber\":return tc(e.number);case\"tvm.numberDecimal\":return BigInt(e.number);default:throw Error(\"Unsupported item type: \"+t)}}function NJ(e){if(e[0]===\"num\"){let t=e[1];return t.startsWith(\"-\")?{type:\"int\",value:-BigInt(t.slice(1))}:{type:\"int\",value:BigInt(t)}}else{if(e[0]===\"null\")return{type:\"null\"};if(e[0]===\"cell\")return{type:\"cell\",cell:Cn.Cell.fromBoc(globalThis.Buffer.from(e[1].bytes,\"base64\"))[0]};if(e[0]===\"slice\")return{type:\"slice\",cell:Cn.Cell.fromBoc(globalThis.Buffer.from(e[1].bytes,\"base64\"))[0]};if(e[0]===\"builder\")return{type:\"builder\",cell:Cn.Cell.fromBoc(globalThis.Buffer.from(e[1].bytes,\"base64\"))[0]};if(e[0]===\"tuple\"||e[0]===\"list\")return e[1].elements.length===0?{type:\"null\"}:{type:\"tuple\",items:e[1].elements.map(tc)};throw Error(\"Unsupported stack item type: \"+e[0])}}function zM(e){let t=[];for(let n of e)t.push(NJ(n));return new Cn.TupleReader(t)}function l4(e,t,n){return{async getState(){let r=await e.getContractState(t),i=r.balance,a=r.lastTransaction?{lt:BigInt(r.lastTransaction.lt),hash:globalThis.Buffer.from(r.lastTransaction.hash,\"base64\")}:null,o=null,s;if(r.state===\"active\")s={type:\"active\",code:r.code?r.code:null,data:r.data?r.data:null};else if(r.state===\"uninitialized\")s={type:\"uninit\"};else if(r.state===\"frozen\")s={type:\"frozen\",stateHash:globalThis.Buffer.alloc(0)};else throw Error(\"Unsupported state\");if(r.extra_currencies&&r.extra_currencies.length>0){o={};for(let l of r.extra_currencies)o[l.id]=BigInt(l.amount)}return{balance:i,extracurrency:o,last:a,state:s}},async get(r,i){if(typeof r!=\"string\")throw new Error(\"Method name must be a string for TonClient provider\");return{stack:(await e.runMethod(t,r,i)).stack}},async external(r){let i=null;n&&!await e.isContractDeployed(t)&&(i=n);let a=(0,Cn.external)({to:t,init:i,body:r}),o=(0,Cn.beginCell)().store((0,Cn.storeMessage)(a)).endCell().toBoc();await e.sendFile(o)},async internal(r,i){let a=null;n&&!await e.isContractDeployed(t)&&(a=n);let o=!0;i.bounce!==null&&i.bounce!==void 0&&(o=i.bounce);let s;typeof i.value==\"string\"?s=(0,Cn.toNano)(i.value):s=i.value;let l=null;typeof i.body==\"string\"?l=(0,Cn.comment)(i.body):i.body&&(l=i.body),await r.send({to:t,value:s,bounce:o,sendMode:i.sendMode,extracurrency:i.extracurrency,init:a,body:l})},open(r){return(0,Cn.openContract)(r,i=>l4(e,i.address,i.init??null))},getTransactions(r,i,a,o){return e.getTransactions(r,{limit:o??100,lt:i.toString(),hash:a.toString(\"base64\"),inclusive:!0})}}}});var LM=V(c4=>{\"use strict\";b();Object.defineProperty(c4,\"__esModule\",{value:!0});c4.toUrlSafe=PJ;function PJ(e){for(;e.indexOf(\"/\")>=0;)e=e.replace(\"/\",\"_\");for(;e.indexOf(\"+\")>=0;)e=e.replace(\"+\",\"-\");for(;e.indexOf(\"=\")>=0;)e=e.replace(\"=\",\"\");return e}});var KM=V(ja=>{\"use strict\";b();var Pm=ja&&ja.__classPrivateFieldSet||function(e,t,n,r,i){if(r===\"m\")throw new TypeError(\"Private method is not writable\");if(r===\"a\"&&!i)throw new TypeError(\"Private accessor was defined without a setter\");if(typeof t==\"function\"?e!==t||!i:!t.has(e))throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");return r===\"a\"?i.call(e,n):i?i.value=n:t.set(e,n),n},ut=ja&&ja.__classPrivateFieldGet||function(e,t,n,r){if(n===\"a\"&&!r)throw new TypeError(\"Private accessor was defined without a getter\");if(typeof t==\"function\"?e!==t||!r:!t.has(e))throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");return n===\"m\"?r:n===\"a\"?r.call(e):r?r.value:t.get(e)},zJ=ja&&ja.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},ei,ti,ni,Ir;Object.defineProperty(ja,\"__esModule\",{value:!0});ja.TonClient4=void 0;var DJ=zJ(Z5()),Nr=Gt(),u4=LM(),A=r4(),d4=class{constructor(t){ei.set(this,void 0),ti.set(this,void 0),ni.set(this,void 0),Ir.set(this,void 0),Pm(this,Ir,DJ.default.create(),\"f\"),Pm(this,ei,t.endpoint,\"f\"),Pm(this,ti,t.timeout||5e3,\"f\"),Pm(this,ni,t.httpAdapter,\"f\"),t.requestInterceptor&&ut(this,Ir,\"f\").interceptors.request.use(t.requestInterceptor)}async getLastBlock(){let t=await ut(this,Ir,\"f\").get(ut(this,ei,\"f\")+\"/block/latest\",{adapter:ut(this,ni,\"f\"),timeout:ut(this,ti,\"f\")}),n=LJ.safeParse(t.data);if(!n.success)throw Error(\"Mailformed response: \"+n.error.format()._errors.join(\", \"));return n.data}async getBlock(t){let n=await ut(this,Ir,\"f\").get(ut(this,ei,\"f\")+\"/block/\"+t,{adapter:ut(this,ni,\"f\"),timeout:ut(this,ti,\"f\")}),r=jM.safeParse(n.data);if(!r.success)throw Error(\"Mailformed response\");if(!r.data.exist)throw Error(\"Block is out of scope\");return r.data.block}async getBlockByUtime(t){let n=await ut(this,Ir,\"f\").get(ut(this,ei,\"f\")+\"/block/utime/\"+t,{adapter:ut(this,ni,\"f\"),timeout:ut(this,ti,\"f\")}),r=jM.safeParse(n.data);if(!r.success)throw Error(\"Mailformed response\");if(!r.data.exist)throw Error(\"Block is out of scope\");return r.data.block}async getAccount(t,n){let r=await ut(this,Ir,\"f\").get(ut(this,ei,\"f\")+\"/block/\"+t+\"/\"+n.toString({urlSafe:!0}),{adapter:ut(this,ni,\"f\"),timeout:ut(this,ti,\"f\")}),i=jJ.safeParse(r.data);if(!i.success)throw Error(\"Mailformed response\");return i.data}async getAccountLite(t,n){let r=await ut(this,Ir,\"f\").get(ut(this,ei,\"f\")+\"/block/\"+t+\"/\"+n.toString({urlSafe:!0})+\"/lite\",{adapter:ut(this,ni,\"f\"),timeout:ut(this,ti,\"f\")}),i=qJ.safeParse(r.data);if(!i.success)throw Error(\"Mailformed response\");return i.data}async isContractDeployed(t,n){return(await this.getAccountLite(t,n)).account.state.type===\"active\"}async isAccountChanged(t,n,r){let i=await ut(this,Ir,\"f\").get(ut(this,ei,\"f\")+\"/block/\"+t+\"/\"+n.toString({urlSafe:!0})+\"/changed/\"+r.toString(10),{adapter:ut(this,ni,\"f\"),timeout:ut(this,ti,\"f\")}),a=HJ.safeParse(i.data);if(!a.success)throw Error(\"Mailformed response\");return a.data}async getAccountTransactions(t,n,r){let i=await ut(this,Ir,\"f\").get(ut(this,ei,\"f\")+\"/account/\"+t.toString({urlSafe:!0})+\"/tx/\"+n.toString(10)+\"/\"+(0,u4.toUrlSafe)(r.toString(\"base64\")),{adapter:ut(this,ni,\"f\"),timeout:ut(this,ti,\"f\")}),a=KJ.safeParse(i.data);if(!a.success)throw Error(\"Mailformed response\");let o=a.data,s=[],l=Nr.Cell.fromBoc(globalThis.Buffer.from(o.boc,\"base64\"));for(let c=0;c<o.blocks.length;c++)s.push({block:o.blocks[c],tx:(0,Nr.loadTransaction)(l[c].beginParse())});return s}async getAccountTransactionsParsed(t,n,r,i=20){let a=await ut(this,Ir,\"f\").get(ut(this,ei,\"f\")+\"/account/\"+t.toString({urlSafe:!0})+\"/tx/parsed/\"+n.toString(10)+\"/\"+(0,u4.toUrlSafe)(r.toString(\"base64\")),{adapter:ut(this,ni,\"f\"),timeout:ut(this,ti,\"f\"),params:{count:i}}),o=tee.safeParse(a.data);if(!o.success)throw Error(\"Mailformed response\");return o.data}async getConfig(t,n){let r=\"\";n&&n.length>0&&(r=\"/\"+[...n].sort().join(\",\"));let i=await ut(this,Ir,\"f\").get(ut(this,ei,\"f\")+\"/block/\"+t+\"/config\"+r,{adapter:ut(this,ni,\"f\"),timeout:ut(this,ti,\"f\")}),a=WJ.safeParse(i.data);if(!a.success)throw Error(\"Mailformed response\");return a.data}async runMethod(t,n,r,i){let a=i&&i.length>0?\"/\"+(0,u4.toUrlSafe)((0,Nr.serializeTuple)(i).toBoc({idx:!1,crc32:!1}).toString(\"base64\")):\"\",o=ut(this,ei,\"f\")+\"/block/\"+t+\"/\"+n.toString({urlSafe:!0})+\"/run/\"+encodeURIComponent(r)+a,s=await ut(this,Ir,\"f\").get(o,{adapter:ut(this,ni,\"f\"),timeout:ut(this,ti,\"f\")}),l=VJ.safeParse(s.data);if(!l.success)throw Error(\"Mailformed response\");let c=l.data.resultRaw?(0,Nr.parseTuple)(Nr.Cell.fromBoc(globalThis.Buffer.from(l.data.resultRaw,\"base64\"))[0]):[];return{exitCode:l.data.exitCode,result:c,resultRaw:l.data.resultRaw,block:l.data.block,shardBlock:l.data.shardBlock,reader:new Nr.TupleReader(c)}}async sendMessage(t){let n=await ut(this,Ir,\"f\").post(ut(this,ei,\"f\")+\"/send\",{boc:t.toString(\"base64\")},{adapter:ut(this,ni,\"f\"),timeout:ut(this,ti,\"f\")});if(!FJ.safeParse(n.data).success)throw Error(\"Mailformed response\");return{status:n.data.status}}open(t){return(0,Nr.openContract)(t,n=>$h(this,null,n.address,n.init))}openAt(t,n){return(0,Nr.openContract)(n,r=>$h(this,t,r.address,r.init))}provider(t,n){return $h(this,null,t,n??null)}providerAt(t,n,r){return $h(this,t,n,r??null)}};ja.TonClient4=d4;ei=new WeakMap,ti=new WeakMap,ni=new WeakMap,Ir=new WeakMap;function $h(e,t,n,r){return{async getState(){let i=t;i===null&&(i=(await e.getLastBlock()).last.seqno);let a=await e.getAccount(i,n),o=a.account.last?{lt:BigInt(a.account.last.lt),hash:globalThis.Buffer.from(a.account.last.hash,\"base64\")}:null,s;if(a.account.state.type===\"active\")s={type:\"active\",code:a.account.state.code?globalThis.Buffer.from(a.account.state.code,\"base64\"):null,data:a.account.state.data?globalThis.Buffer.from(a.account.state.data,\"base64\"):null};else if(a.account.state.type===\"uninit\")s={type:\"uninit\"};else if(a.account.state.type===\"frozen\")s={type:\"frozen\",stateHash:globalThis.Buffer.from(a.account.state.stateHash,\"base64\")};else throw Error(\"Unsupported state\");let l=null;if(a.account.balance.currencies){l={};let c=a.account.balance.currencies;for(let[u,d]of Object.entries(c))l[Number(u)]=BigInt(d)}return{balance:BigInt(a.account.balance.coins),extracurrency:l,last:o,state:s}},async get(i,a){if(typeof i!=\"string\")throw new Error(\"Method name must be a string for TonClient4 provider\");let o=t;o===null&&(o=(await e.getLastBlock()).last.seqno);let s=await e.runMethod(o,n,i,a);if(s.exitCode!==0&&s.exitCode!==1)throw Error(\"Exit code: \"+s.exitCode);return{stack:new Nr.TupleReader(s.result)}},async external(i){let a=await e.getLastBlock(),o=null;r&&(await e.getAccountLite(a.last.seqno,n)).account.state.type!==\"active\"&&(o=r);let s=(0,Nr.external)({to:n,init:o,body:i}),l=(0,Nr.beginCell)().store((0,Nr.storeMessage)(s)).endCell().toBoc();await e.sendMessage(l)},async internal(i,a){let o=await e.getLastBlock(),s=null;r&&(await e.getAccountLite(o.last.seqno,n)).account.state.type!==\"active\"&&(s=r);let l=!0;a.bounce!==null&&a.bounce!==void 0&&(l=a.bounce);let c;typeof a.value==\"string\"?c=(0,Nr.toNano)(a.value):c=a.value;let u=null;typeof a.body==\"string\"?u=(0,Nr.comment)(a.body):a.body&&(u=a.body),await i.send({to:n,value:c,extracurrency:a.extracurrency,bounce:l,sendMode:a.sendMode,init:s,body:u})},open(i){return(0,Nr.openContract)(i,a=>$h(e,t,a.address,a.init??null))},async getTransactions(i,a,o,s){let l=typeof s==\"number\";if(l&&s<=0)return[];let c=[];do{let u=await e.getAccountTransactions(i,a,o),d=u[0].tx,[h,g]=[d.lt,d.hash()];if(c.length>0&&h===a&&g.equals(o)&&u.shift(),u.length===0)break;let E=u[u.length-1].tx,[L,C]=[E.lt,E.hash()];if(L===a&&C.equals(o))break;c.push(...u.map(v=>v.tx)),a=L,o=C}while(l&&c.length<s);return l&&(c=c.slice(0,s)),c}}}var LJ=A.z.object({last:A.z.object({seqno:A.z.number(),shard:A.z.string(),workchain:A.z.number(),fileHash:A.z.string(),rootHash:A.z.string()}),init:A.z.object({fileHash:A.z.string(),rootHash:A.z.string()}),stateRootHash:A.z.string(),now:A.z.number()}),jM=A.z.union([A.z.object({exist:A.z.literal(!1)}),A.z.object({exist:A.z.literal(!0),block:A.z.object({shards:A.z.array(A.z.object({workchain:A.z.number(),seqno:A.z.number(),shard:A.z.string(),rootHash:A.z.string(),fileHash:A.z.string(),transactions:A.z.array(A.z.object({account:A.z.string(),hash:A.z.string(),lt:A.z.string()}))}))})})]),WM=A.z.object({lastPaid:A.z.number(),duePayment:A.z.union([A.z.null(),A.z.string()]),used:A.z.object({bits:A.z.number(),cells:A.z.number(),publicCells:A.z.number().optional()})}),jJ=A.z.object({account:A.z.object({state:A.z.union([A.z.object({type:A.z.literal(\"uninit\")}),A.z.object({type:A.z.literal(\"active\"),code:A.z.union([A.z.string(),A.z.null()]),data:A.z.union([A.z.string(),A.z.null()])}),A.z.object({type:A.z.literal(\"frozen\"),stateHash:A.z.string()})]),balance:A.z.object({coins:A.z.string(),currencies:A.z.record(A.z.string(),A.z.string())}),last:A.z.union([A.z.null(),A.z.object({lt:A.z.string(),hash:A.z.string()})]),storageStat:A.z.union([A.z.null(),WM])}),block:A.z.object({workchain:A.z.number(),seqno:A.z.number(),shard:A.z.string(),rootHash:A.z.string(),fileHash:A.z.string()})}),qJ=A.z.object({account:A.z.object({state:A.z.union([A.z.object({type:A.z.literal(\"uninit\")}),A.z.object({type:A.z.literal(\"active\"),codeHash:A.z.string(),dataHash:A.z.string()}),A.z.object({type:A.z.literal(\"frozen\"),stateHash:A.z.string()})]),balance:A.z.object({coins:A.z.string(),currencies:A.z.record(A.z.string(),A.z.string())}),last:A.z.union([A.z.null(),A.z.object({lt:A.z.string(),hash:A.z.string()})]),storageStat:A.z.union([A.z.null(),WM])})}),HJ=A.z.object({changed:A.z.boolean(),block:A.z.object({workchain:A.z.number(),seqno:A.z.number(),shard:A.z.string(),rootHash:A.z.string(),fileHash:A.z.string()})}),VJ=A.z.object({exitCode:A.z.number(),resultRaw:A.z.union([A.z.string(),A.z.null()]),block:A.z.object({workchain:A.z.number(),seqno:A.z.number(),shard:A.z.string(),rootHash:A.z.string(),fileHash:A.z.string()}),shardBlock:A.z.object({workchain:A.z.number(),seqno:A.z.number(),shard:A.z.string(),rootHash:A.z.string(),fileHash:A.z.string()})}),WJ=A.z.object({config:A.z.object({cell:A.z.string(),address:A.z.string(),globalBalance:A.z.object({coins:A.z.string()})})}),FJ=A.z.object({status:A.z.number()}),FM=A.z.array(A.z.object({workchain:A.z.number(),seqno:A.z.number(),shard:A.z.string(),rootHash:A.z.string(),fileHash:A.z.string()})),KJ=A.z.object({blocks:FM,boc:A.z.string()}),qM=A.z.object({bits:A.z.number(),data:A.z.string()}),$J=A.z.union([A.z.object({type:A.z.literal(\"internal\"),value:A.z.string(),dest:A.z.string(),src:A.z.string(),bounced:A.z.boolean(),bounce:A.z.boolean(),ihrDisabled:A.z.boolean(),createdAt:A.z.number(),createdLt:A.z.string(),fwdFee:A.z.string(),ihrFee:A.z.string()}),A.z.object({type:A.z.literal(\"external-in\"),dest:A.z.string(),src:A.z.union([qM,A.z.null()]),importFee:A.z.string()}),A.z.object({type:A.z.literal(\"external-out\"),dest:A.z.union([qM,A.z.null()])})]),ZJ=A.z.object({splitDepth:A.z.union([A.z.number(),A.z.null()]),code:A.z.union([A.z.string(),A.z.null()]),data:A.z.union([A.z.string(),A.z.null()]),special:A.z.union([A.z.object({tick:A.z.boolean(),tock:A.z.boolean()}),A.z.null()])}),HM=A.z.object({body:A.z.string(),info:$J,init:A.z.union([ZJ,A.z.null()])}),VM=A.z.union([A.z.literal(\"uninitialized\"),A.z.literal(\"frozen\"),A.z.literal(\"active\"),A.z.literal(\"non-existing\")]),YJ=A.z.union([A.z.object({type:A.z.literal(\"comment\"),comment:A.z.string()}),A.z.object({type:A.z.literal(\"payload\"),cell:A.z.string()})]),GJ=A.z.union([A.z.object({kind:A.z.literal(\"ton\"),amount:A.z.string()}),A.z.object({kind:A.z.literal(\"token\"),amount:A.z.string()})]),QJ=A.z.union([A.z.literal(\"jetton::excesses\"),A.z.literal(\"jetton::transfer\"),A.z.literal(\"jetton::transfer_notification\"),A.z.literal(\"deposit\"),A.z.literal(\"deposit::ok\"),A.z.literal(\"withdraw\"),A.z.literal(\"withdraw::all\"),A.z.literal(\"withdraw::delayed\"),A.z.literal(\"withdraw::ok\"),A.z.literal(\"airdrop\")]),XJ=A.z.object({type:QJ,options:A.z.optional(A.z.record(A.z.string()))}),JJ=A.z.object({address:A.z.string(),comment:A.z.optional(A.z.string()),items:A.z.array(GJ),op:A.z.optional(XJ)}),eee=A.z.object({address:A.z.string(),lt:A.z.string(),hash:A.z.string(),prevTransaction:A.z.object({lt:A.z.string(),hash:A.z.string()}),time:A.z.number(),outMessagesCount:A.z.number(),oldStatus:VM,newStatus:VM,fees:A.z.string(),update:A.z.object({oldHash:A.z.string(),newHash:A.z.string()}),inMessage:A.z.union([HM,A.z.null()]),outMessages:A.z.array(HM),parsed:A.z.object({seqno:A.z.union([A.z.number(),A.z.null()]),body:A.z.union([YJ,A.z.null()]),status:A.z.union([A.z.literal(\"success\"),A.z.literal(\"failed\"),A.z.literal(\"pending\")]),dest:A.z.union([A.z.string(),A.z.null()]),kind:A.z.union([A.z.literal(\"out\"),A.z.literal(\"in\")]),amount:A.z.string(),resolvedAddress:A.z.string(),bounced:A.z.boolean(),mentioned:A.z.array(A.z.string())}),operation:JJ}),tee=A.z.object({blocks:FM,transactions:A.z.array(eee)})});var h4=V(zm=>{\"use strict\";b();Object.defineProperty(zm,\"__esModule\",{value:!0});zm.loadWalletIdV5Beta=nee;zm.storeWalletIdV5Beta=ree;var f4=Gt(),$M={v5:0};function nee(e){let t=new f4.BitReader(new f4.BitString(typeof e==\"bigint\"?globalThis.Buffer.from(e.toString(16),\"hex\"):e instanceof f4.Slice?e.loadBuffer(10):e,0,80)),n=t.loadInt(32),r=t.loadInt(8),i=t.loadUint(8),a=t.loadUint(32),o=Object.entries($M).find(([s,l])=>l===i)?.[0];if(o===void 0)throw new Error(`Can't deserialize walletId: unknown wallet version ${i}`);return{networkGlobalId:n,workchain:r,walletVersion:o,subwalletNumber:a}}function ree(e){return t=>{t.storeInt(e.networkGlobalId,32),t.storeInt(e.workchain,8),t.storeUint($M[e.walletVersion],8),t.storeUint(e.subwalletNumber,32)}}});var g4=V(Lm=>{\"use strict\";b();Object.defineProperty(Lm,\"__esModule\",{value:!0});Lm.WalletContractV5Beta=void 0;var qa=Gt(),ZM=ra(),YM=h4(),Dm=class e{static create(t){let n={networkGlobalId:t.walletId?.networkGlobalId??-239,workchain:t?.walletId?.workchain??0,subwalletNumber:t?.walletId?.subwalletNumber??0,walletVersion:t?.walletId?.walletVersion??\"v5\"};return new e(n,t.publicKey)}constructor(t,n){this.walletId=t,this.publicKey=n,this.walletId=t;let r=qa.Cell.fromBoc(globalThis.Buffer.from(\"te6cckEBAQEAIwAIQgLkzzsvTG1qYeoPK1RH0mZ4WyavNjfbLe7mvNGqgm80Eg3NjhE=\",\"base64\"))[0],i=(0,qa.beginCell)().storeInt(0,33).store((0,YM.storeWalletIdV5Beta)(this.walletId)).storeBuffer(this.publicKey,32).storeBit(0).endCell();this.init={code:r,data:i},this.address=(0,qa.contractAddress)(this.walletId.workchain,{code:r,data:i})}async getBalance(t){return(await t.getState()).balance}async getSeqno(t){return(await t.getState()).state.type===\"active\"?(await t.get(\"seqno\",[])).stack.readNumber():0}async getExtensions(t){return(await t.getState()).state.type===\"active\"?(await t.get(\"get_extensions\",[])).stack.readCellOpt():null}async getExtensionsArray(t){let n=await this.getExtensions(t);if(!n)return[];let r=qa.Dictionary.loadDirect(qa.Dictionary.Keys.BigUint(256),qa.Dictionary.Values.BigInt(8),n);return r.keys().map(i=>{let a=r.get(i),o=i^a+1n;return qa.Address.parseRaw(`${a}:${o.toString(16).padStart(64,\"0\")}`)})}async getIsSecretKeyAuthEnabled(t){return(await t.get(\"get_is_signature_auth_allowed\",[])).stack.readNumber()!==0}async send(t,n){await t.external(n)}async sendTransfer(t,n){let r=await this.createTransfer(n);await this.send(t,r)}async sendAddExtension(t,n){let r=await this.createAddExtension(n);await this.send(t,r)}async sendRemoveExtension(t,n){let r=await this.createRemoveExtension(n);await this.send(t,r)}async sendActionsBatch(t,n){let r=await this.createRequest(n);await this.send(t,r)}createActions(t){return t.messages.map(r=>({type:\"sendMsg\",mode:t.sendMode,outMsg:r}))}createTransfer(t){return this.createRequest({...t,actions:this.createActions({messages:t.messages,sendMode:t.sendMode})})}createAddExtension(t){return this.createRequest({...t,actions:[{type:\"addExtension\",address:t.extensionAddress}]})}createRemoveExtension(t){return this.createRequest({...t,actions:[{type:\"removeExtension\",address:t.extensionAddress}]})}createRequest(t){return t.authType===\"extension\"?(0,ZM.createWalletTransferV5Beta)(t):(0,ZM.createWalletTransferV5Beta)({...t,walletId:(0,YM.storeWalletIdV5Beta)(this.walletId)})}sender(t,n){return{send:async r=>{let i=await this.getSeqno(t),a=this.createTransfer({seqno:i,secretKey:n,sendMode:r.sendMode??qa.SendMode.PAY_GAS_SEPARATELY+qa.SendMode.IGNORE_ERRORS,messages:[(0,qa.internal)({to:r.to,value:r.value,extracurrency:r.extracurrency,init:r.init,body:r.body,bounce:r.bounce})]});await this.send(t,a)}}}};Lm.WalletContractV5Beta=Dm;Dm.OpCodes={auth_extension:1702392942,auth_signed_external:1936287598,auth_signed_internal:1936289396}});var p4=V(jm=>{\"use strict\";b();Object.defineProperty(jm,\"__esModule\",{value:!0});jm.isOutActionExtended=GM;jm.isOutActionBasic=iee;function GM(e){return e.type===\"setIsPublicKeyEnabled\"||e.type===\"addExtension\"||e.type===\"removeExtension\"}function iee(e){return!GM(e)}});var m4=V(Pd=>{\"use strict\";b();Object.defineProperty(Pd,\"__esModule\",{value:!0});Pd.storeOutActionExtendedV5Beta=tR;Pd.loadOutActionV5BetaExtended=nR;Pd.storeOutListExtendedV5Beta=rR;Pd.loadOutListExtendedV5Beta=lee;var qm=Gt(),QM=p4(),XM=550222170;function aee(e){return t=>{t.storeUint(XM,32).storeUint(e.isEnabled?1:0,1)}}var JM=474012575;function oee(e){return t=>{t.storeUint(JM,32).storeAddress(e.address)}}var eR=1588524196;function see(e){return t=>{t.storeUint(eR,32).storeAddress(e.address)}}function tR(e){switch(e.type){case\"setIsPublicKeyEnabled\":return aee(e);case\"addExtension\":return oee(e);case\"removeExtension\":return see(e);default:throw new Error(\"Unknown action type\"+e?.type)}}function nR(e){let t=e.loadUint(32);switch(t){case XM:return{type:\"setIsPublicKeyEnabled\",isEnabled:!!e.loadUint(1)};case JM:return{type:\"addExtension\",address:e.loadAddress()};case eR:return{type:\"removeExtension\",address:e.loadAddress()};default:throw new Error(`Unknown extended out action tag 0x${t.toString(16)}`)}}function rR(e){let[t,...n]=e;if(!t||!(0,QM.isOutActionExtended)(t)){if(e.some(QM.isOutActionExtended))throw new Error(\"Can't serialize actions list: all extended actions must be placed before out actions\");return r=>{r.storeUint(0,1).storeRef((0,qm.beginCell)().store((0,qm.storeOutList)(e)).endCell())}}return r=>{r.storeUint(1,1).store(tR(t)).storeRef((0,qm.beginCell)().store(rR(n)).endCell())}}function lee(e){let t=[];for(;e.loadUint(1);){let r=nR(e);t.push(r),e=e.loadRef().beginParse()}let n=(0,qm.loadOutList)(e.loadRef().beginParse());if(n.some(r=>r.type===\"setCode\"))throw new Error(\"Can't deserialize actions list: only sendMsg actions are allowed for wallet v5\");return t.concat(n)}});var iR=V(y4=>{\"use strict\";b();Object.defineProperty(y4,\"__esModule\",{value:!0});y4.signPayload=uee;var cee=Ms();function uee(e,t,n){return\"secretKey\"in e?n((0,cee.sign)(t.endCell().hash(),e.secretKey),t):e.signer(t.endCell()).then(r=>n(r,t))}});var b4=V(Zh=>{\"use strict\";b();Object.defineProperty(Zh,\"__esModule\",{value:!0});Zh.isWalletIdV5R1ClientContext=aR;Zh.loadWalletIdV5R1=dee;Zh.storeWalletIdV5R1=fee;var zd=Gt();function aR(e){return typeof e!=\"number\"}var oR={v5r1:0};function dee(e,t){let n=new zd.BitReader(new zd.BitString(typeof e==\"bigint\"?globalThis.Buffer.from(e.toString(16).padStart(8,\"0\"),\"hex\"):e instanceof zd.Slice?e.loadBuffer(4):e,0,32)).loadInt(32),r=BigInt(n)^BigInt(t),i=(0,zd.beginCell)().storeInt(r,32).endCell().beginParse();if(i.loadUint(1)){let o=i.loadInt(8),s=i.loadUint(8),l=i.loadUint(15),c=Object.entries(oR).find(([u,d])=>d===s)?.[0];if(c===void 0)throw new Error(`Can't deserialize walletId: unknown wallet version ${s}`);return{networkGlobalId:t,context:{walletVersion:c,workchain:o,subwalletNumber:l}}}else{let o=i.loadUint(31);return{networkGlobalId:t,context:o}}}function fee(e){return t=>{let n;return aR(e.context)?n=(0,zd.beginCell)().storeUint(1,1).storeInt(e.context.workchain,8).storeUint(oR[e.context.walletVersion],8).storeUint(e.context.subwalletNumber,15).endCell().beginParse().loadInt(32):n=(0,zd.beginCell)().storeUint(0,1).storeUint(e.context,31).endCell().beginParse().loadInt(32),t.storeInt(BigInt(e.networkGlobalId)^BigInt(n),32)}}});var w4=V(Vm=>{\"use strict\";b();Object.defineProperty(Vm,\"__esModule\",{value:!0});Vm.WalletContractV5R1=void 0;var Ha=Gt(),sR=ra(),v4=b4(),Hm=class e{static create(t){let n=0;return\"workchain\"in t&&t.workchain!=null&&(n=t.workchain),t.walletId?.context&&(0,v4.isWalletIdV5R1ClientContext)(t.walletId.context)&&t.walletId.context.workchain!=null&&(n=t.walletId.context.workchain),new e(n,t.publicKey,{networkGlobalId:t.walletId?.networkGlobalId??-239,context:t.walletId?.context??{workchain:0,walletVersion:\"v5r1\",subwalletNumber:0}})}constructor(t,n,r){this.publicKey=n,this.walletId=r,this.walletId=r;let i=Ha.Cell.fromBoc(globalThis.Buffer.from(\"b5ee9c7241021401000281000114ff00f4a413f4bcf2c80b01020120020d020148030402dcd020d749c120915b8f6320d70b1f2082106578746ebd21821073696e74bdb0925f03e082106578746eba8eb48020d72101d074d721fa4030fa44f828fa443058bd915be0ed44d0810141d721f4058307f40e6fa1319130e18040d721707fdb3ce03120d749810280b99130e070e2100f020120050c020120060902016e07080019adce76a2684020eb90eb85ffc00019af1df6a2684010eb90eb858fc00201480a0b0017b325fb51341c75c875c2c7e00011b262fb513435c280200019be5f0f6a2684080a0eb90fa02c0102f20e011e20d70b1f82107369676ebaf2e08a7f0f01e68ef0eda2edfb218308d722028308d723208020d721d31fd31fd31fed44d0d200d31f20d31fd3ffd70a000af90140ccf9109a28945f0adb31e1f2c087df02b35007b0f2d0845125baf2e0855036baf2e086f823bbf2d0882292f800de01a47fc8ca00cb1f01cf16c9ed542092f80fde70db3cd81003f6eda2edfb02f404216e926c218e4c0221d73930709421c700b38e2d01d72820761e436c20d749c008f2e09320d74ac002f2e09320d71d06c712c2005230b0f2d089d74cd7393001a4e86c128407bbf2e093d74ac000f2e093ed55e2d20001c000915be0ebd72c08142091709601d72c081c12e25210b1e30f20d74a111213009601fa4001fa44f828fa443058baf2e091ed44d0810141d718f405049d7fc8ca0040048307f453f2e08b8e14038307f45bf2e08c22d70a00216e01b3b0f2d090e2c85003cf1612f400c9ed54007230d72c08248e2d21f2e092d200ed44d0d2005113baf2d08f54503091319c01810140d721d70a00f2e08ee2c8ca0058cf16c9ed5493f2c08de20010935bdb31e1d74cd0b4d6c35e\",\"hex\"))[0],a=(0,Ha.beginCell)().storeUint(1,1).storeUint(0,32).store((0,v4.storeWalletIdV5R1)(this.walletId)).storeBuffer(this.publicKey,32).storeBit(0).endCell();this.init={code:i,data:a},this.address=(0,Ha.contractAddress)(t,{code:i,data:a})}async getBalance(t){return(await t.getState()).balance}async getSeqno(t){return(await t.getState()).state.type===\"active\"?(await t.get(\"seqno\",[])).stack.readNumber():0}async getExtensions(t){return(await t.getState()).state.type===\"active\"?(await t.get(\"get_extensions\",[])).stack.readCellOpt():null}async getExtensionsArray(t){let n=await this.getExtensions(t);return n?Ha.Dictionary.loadDirect(Ha.Dictionary.Keys.BigUint(256),Ha.Dictionary.Values.BigInt(1),n).keys().map(i=>{let a=this.address.workChain;return Ha.Address.parseRaw(`${a}:${i.toString(16).padStart(64,\"0\")}`)}):[]}async getIsSecretKeyAuthEnabled(t){return(await t.get(\"is_signature_allowed\",[])).stack.readBoolean()}async send(t,n){await t.external(n)}async sendTransfer(t,n){let r=await this.createTransfer(n);await this.send(t,r)}async sendAddExtension(t,n){let r=await this.createAddExtension(n);await this.send(t,r)}async sendRemoveExtension(t,n){let r=await this.createRemoveExtension(n);await this.send(t,r)}createActions(t){return t.messages.map(r=>({type:\"sendMsg\",mode:t.sendMode,outMsg:r}))}createTransfer(t){return this.createRequest({actions:this.createActions({messages:t.messages,sendMode:t.sendMode}),...t})}createAddExtension(t){return this.createRequest({actions:[{type:\"addExtension\",address:t.extensionAddress}],...t})}createRemoveExtension(t){return this.createRequest({actions:[{type:\"removeExtension\",address:t.extensionAddress}],...t})}createRequest(t){return t.authType===\"extension\"?(0,sR.createWalletTransferV5R1)(t):(0,sR.createWalletTransferV5R1)({...t,walletId:(0,v4.storeWalletIdV5R1)(this.walletId)})}sender(t,n){return{send:async r=>{let i=await this.getSeqno(t),a=this.createTransfer({seqno:i,secretKey:n,sendMode:r.sendMode??Ha.SendMode.PAY_GAS_SEPARATELY+Ha.SendMode.IGNORE_ERRORS,messages:[(0,Ha.internal)({to:r.to,value:r.value,extracurrency:r.extracurrency,init:r.init,body:r.body,bounce:r.bounce})]});await this.send(t,a)}}}};Vm.WalletContractV5R1=Hm;Hm.OpCodes={auth_extension:1702392942,auth_signed_external:1936287598,auth_signed_internal:1936289396}});var S4=V($s=>{\"use strict\";b();Object.defineProperty($s,\"__esModule\",{value:!0});$s.storeOutActionExtendedV5R1=C4;$s.loadOutActionExtendedV5R1=x4;$s.storeOutListExtendedV5R1=mee;$s.loadOutListExtendedV5R1=yee;$s.toSafeV5R1SendMode=hR;$s.patchV5R1ActionsSendMode=bee;var Yh=Gt(),lR=p4(),cR=4;function hee(e){return t=>{t.storeUint(cR,8).storeUint(e.isEnabled?1:0,1)}}var uR=2;function gee(e){return t=>{t.storeUint(uR,8).storeAddress(e.address)}}var dR=3;function pee(e){return t=>{t.storeUint(dR,8).storeAddress(e.address)}}function C4(e){switch(e.type){case\"setIsPublicKeyEnabled\":return hee(e);case\"addExtension\":return gee(e);case\"removeExtension\":return pee(e);default:throw new Error(\"Unknown action type\"+e?.type)}}function x4(e){let t=e.loadUint(8);switch(t){case cR:return{type:\"setIsPublicKeyEnabled\",isEnabled:!!e.loadUint(1)};case uR:return{type:\"addExtension\",address:e.loadAddress()};case dR:return{type:\"removeExtension\",address:e.loadAddress()};default:throw new Error(`Unknown extended out action tag 0x${t.toString(16)}`)}}function mee(e){let t=e.filter(lR.isOutActionExtended),n=e.filter(lR.isOutActionBasic);return r=>{let i=n.length?(0,Yh.beginCell)().store((0,Yh.storeOutList)(n)):null;if(r.storeMaybeRef(i),t.length===0)r.storeUint(0,1);else{let[a,...o]=t;r.storeUint(1,1).store(C4(a)),o.length>0&&r.storeRef(fR(o))}}}function fR(e){let[t,...n]=e,r=(0,Yh.beginCell)().store(C4(t));return n.length>0&&(r=r.storeRef(fR(n))),r.endCell()}function yee(e){let t=[],n=e.loadMaybeRef();if(n){let r=(0,Yh.loadOutList)(n.beginParse());if(r.some(i=>i.type!==\"sendMsg\"))throw new Error(\"Can't deserialize actions list: only sendMsg actions are allowed for wallet v5r1\");t.push(...r)}if(e.loadBoolean()){let r=x4(e);t.push(r)}for(;e.remainingRefs>0;){e=e.loadRef().beginParse();let r=x4(e);t.push(r)}return t}function hR(e,t){return t===\"internal\"||t===\"extension\"?e:e|Yh.SendMode.IGNORE_ERRORS}function bee(e,t){return e.map(n=>n.type===\"sendMsg\"?{...n,mode:hR(n.mode,t)}:n)}});var _4=V(Wm=>{\"use strict\";b();Object.defineProperty(Wm,\"__esModule\",{value:!0});Wm.storeExtendedAction=vee;Wm.loadExtendedAction=wee;var Po=Gt();function vee(e){return t=>{switch(e.type){case\"sendMsg\":t.storeUint(0,8);for(let n of e.messages)t.storeUint(e.sendMode??Po.SendMode.NONE,8),t.storeRef((0,Po.beginCell)().store((0,Po.storeMessageRelaxed)(n)));break;case\"addAndDeployPlugin\":t.storeUint(1,8),t.storeInt(e.workchain,8),t.storeCoins(e.forwardAmount),t.storeRef((0,Po.beginCell)().store((0,Po.storeStateInit)(e.stateInit))),t.storeRef(e.body);break;case\"addPlugin\":t.storeUint(2,8),t.storeInt(e.address.workChain,8),t.storeBuffer(e.address.hash),t.storeCoins(e.forwardAmount),t.storeUint(e.queryId??0n,64);break;case\"removePlugin\":t.storeUint(3,8),t.storeInt(e.address.workChain,8),t.storeBuffer(e.address.hash),t.storeCoins(e.forwardAmount),t.storeUint(e.queryId??0n,64);break;default:throw new Error(\"Unsupported plugin action\")}}}function wee(e){let t=e.loadUint(8);switch(t){case 0:{let n=[],r;for(;e.remainingRefs>0;){if(e.remainingBits<8)throw new Error(\"Invalid sendMsg action: insufficient bits for send mode\");let i=e.loadUint(8),a=e.loadRef(),o=(0,Po.loadMessageRelaxed)(a.beginParse());if(r===void 0)r=i;else if(r!==i)throw new Error(\"Invalid sendMsg action: mixed send modes are not supported\");n.push(o)}return{type:\"sendMsg\",messages:n,sendMode:r}}case 1:{let n=e.loadInt(8),r=e.loadCoins(),i=(0,Po.loadStateInit)(e.loadRef().beginParse()),a=e.loadRef();return{type:\"addAndDeployPlugin\",workchain:n,stateInit:i,body:a,forwardAmount:r}}case 2:{let n=e.loadInt(8),r=e.loadBuffer(32),i=e.loadCoins(),a=e.loadUintBig(64);return{type:\"addPlugin\",address:new Po.Address(n,r),forwardAmount:i,queryId:a===0n?void 0:a}}case 3:{let n=e.loadInt(8),r=e.loadBuffer(32),i=e.loadCoins(),a=e.loadUintBig(64);return{type:\"removePlugin\",address:new Po.Address(n,r),forwardAmount:i,queryId:a===0n?void 0:a}}default:throw new Error(`Unsupported action with opcode ${t}`)}}});var ra=V(Zs=>{\"use strict\";b();Object.defineProperty(Zs,\"__esModule\",{value:!0});Zs.createWalletTransferV1=Cee;Zs.createWalletTransferV2=See;Zs.createWalletTransferV3=_ee;Zs.createWalletTransferV4=Tee;Zs.createWalletTransferV5Beta=Eee;Zs.createWalletTransferV5R1=Aee;var lr=Gt(),pR=Ms(),T4=g4(),gR=m4(),Fm=iR(),E4=w4(),A4=S4(),xee=_4();function mR(e,t){return(0,lr.beginCell)().storeBuffer(e).storeBuilder(t).endCell()}function yR(e,t){return(0,lr.beginCell)().storeBuilder(t).storeBuffer(e).endCell()}function Cee(e){let t=(0,lr.beginCell)().storeUint(e.seqno,32);e.message&&(t.storeUint(e.sendMode,8),t.storeRef((0,lr.beginCell)().store((0,lr.storeMessageRelaxed)(e.message))));let n=(0,pR.sign)(t.endCell().hash(),e.secretKey);return(0,lr.beginCell)().storeBuffer(n).storeBuilder(t).endCell()}function See(e){if(e.messages.length>4)throw Error(\"Maximum number of messages in a single transfer is 4\");let t=(0,lr.beginCell)().storeUint(e.seqno,32);if(e.seqno===0)for(let i=0;i<32;i++)t.storeBit(1);else t.storeUint(e.timeout||Math.floor(Date.now()/1e3)+60,32);for(let i of e.messages)t.storeUint(e.sendMode,8),t.storeRef((0,lr.beginCell)().store((0,lr.storeMessageRelaxed)(i)));let n=(0,pR.sign)(t.endCell().hash(),e.secretKey);return(0,lr.beginCell)().storeBuffer(n).storeBuilder(t).endCell()}function _ee(e){if(e.messages.length>4)throw Error(\"Maximum number of messages in a single transfer is 4\");let t=(0,lr.beginCell)().storeUint(e.walletId,32);if(e.seqno===0)for(let n=0;n<32;n++)t.storeBit(1);else t.storeUint(e.timeout||Math.floor(Date.now()/1e3)+60,32);t.storeUint(e.seqno,32);for(let n of e.messages)t.storeUint(e.sendMode,8),t.storeRef((0,lr.beginCell)().store((0,lr.storeMessageRelaxed)(n)));return(0,Fm.signPayload)(e,t,mR)}function Tee(e){let t=(0,lr.beginCell)().storeUint(e.walletId,32);if(e.seqno===0)for(let n=0;n<32;n++)t.storeBit(1);else t.storeUint(e.timeout||Math.floor(Date.now()/1e3)+60,32);return t.storeUint(e.seqno,32),t.store((0,xee.storeExtendedAction)(e.action)),(0,Fm.signPayload)(e,t,mR)}function Eee(e){if(e.actions.length>255)throw Error(\"Maximum number of OutActions in a single request is 255\");if(e.authType===\"extension\")return(0,lr.beginCell)().storeUint(T4.WalletContractV5Beta.OpCodes.auth_extension,32).store((0,gR.storeOutListExtendedV5Beta)(e.actions)).endCell();let t=(0,lr.beginCell)().storeUint(e.authType===\"internal\"?T4.WalletContractV5Beta.OpCodes.auth_signed_internal:T4.WalletContractV5Beta.OpCodes.auth_signed_external,32).store(e.walletId);if(e.seqno===0)for(let n=0;n<32;n++)t.storeBit(1);else t.storeUint(e.timeout||Math.floor(Date.now()/1e3)+60,32);return t.storeUint(e.seqno,32).store((0,gR.storeOutListExtendedV5Beta)(e.actions)),(0,Fm.signPayload)(e,t,yR)}function Aee(e){if(e.actions.length>255)throw Error(\"Maximum number of OutActions in a single request is 255\");if(e={...e},e.authType===\"extension\")return(0,lr.beginCell)().storeUint(E4.WalletContractV5R1.OpCodes.auth_extension,32).storeUint(e.queryId??0,64).store((0,A4.storeOutListExtendedV5R1)(e.actions)).endCell();e.actions=(0,A4.patchV5R1ActionsSendMode)(e.actions,e.authType);let t=(0,lr.beginCell)().storeUint(e.authType===\"internal\"?E4.WalletContractV5R1.OpCodes.auth_signed_internal:E4.WalletContractV5R1.OpCodes.auth_signed_external,32).store(e.walletId);if(e.seqno===0)for(let n=0;n<32;n++)t.storeBit(1);else t.storeUint(e.timeout||Math.floor(Date.now()/1e3)+60,32);return t.storeUint(e.seqno,32).store((0,A4.storeOutListExtendedV5R1)(e.actions)),(0,Fm.signPayload)(e,t,yR)}});var bR=V(Km=>{\"use strict\";b();Object.defineProperty(Km,\"__esModule\",{value:!0});Km.WalletContractV1R1=void 0;var Dd=Gt(),kee=ra(),k4=class e{static create(t){return new e(t.workchain,t.publicKey)}constructor(t,n){this.workchain=t,this.publicKey=n;let r=Dd.Cell.fromBoc(globalThis.Buffer.from(\"te6cckEBAQEARAAAhP8AIN2k8mCBAgDXGCDXCx/tRNDTH9P/0VESuvKhIvkBVBBE+RDyovgAAdMfMSDXSpbTB9QC+wDe0aTIyx/L/8ntVEH98Ik=\",\"base64\"))[0],i=(0,Dd.beginCell)().storeUint(0,32).storeBuffer(n).endCell();this.init={code:r,data:i},this.address=(0,Dd.contractAddress)(t,{code:r,data:i})}async getBalance(t){return(await t.getState()).balance}async getSeqno(t){let n=await t.getState();return n.state.type===\"active\"?Dd.Cell.fromBoc(n.state.data)[0].beginParse().loadUint(32):0}async send(t,n){await t.external(n)}async sendTransfer(t,n){let r=this.createTransfer(n);await this.send(t,r)}createTransfer(t){let n=Dd.SendMode.PAY_GAS_SEPARATELY;return t.sendMode!==null&&t.sendMode!==void 0&&(n=t.sendMode),(0,kee.createWalletTransferV1)({seqno:t.seqno,sendMode:n,secretKey:t.secretKey,message:t.message})}sender(t,n){return{send:async r=>{let i=await this.getSeqno(t),a=this.createTransfer({seqno:i,secretKey:n,sendMode:r.sendMode,message:(0,Dd.internal)({to:r.to,value:r.value,extracurrency:r.extracurrency,init:r.init,body:r.body,bounce:r.bounce})});await this.send(t,a)}}}};Km.WalletContractV1R1=k4});var vR=V($m=>{\"use strict\";b();Object.defineProperty($m,\"__esModule\",{value:!0});$m.WalletContractV1R2=void 0;var Gh=Gt(),Bee=ra(),B4=class e{static create(t){return new e(t.workchain,t.publicKey)}constructor(t,n){this.workchain=t,this.publicKey=n;let r=Gh.Cell.fromBoc(globalThis.Buffer.from(\"te6cckEBAQEAUwAAov8AIN0gggFMl7qXMO1E0NcLH+Ck8mCBAgDXGCDXCx/tRNDTH9P/0VESuvKhIvkBVBBE+RDyovgAAdMfMSDXSpbTB9QC+wDe0aTIyx/L/8ntVNDieG8=\",\"base64\"))[0],i=(0,Gh.beginCell)().storeUint(0,32).storeBuffer(n).endCell();this.init={code:r,data:i},this.address=(0,Gh.contractAddress)(t,{code:r,data:i})}async getBalance(t){return(await t.getState()).balance}async getSeqno(t){return(await t.getState()).state.type===\"active\"?(await t.get(\"seqno\",[])).stack.readNumber():0}async send(t,n){await t.external(n)}async sendTransfer(t,n){let r=this.createTransfer(n);await this.send(t,r)}createTransfer(t){let n=Gh.SendMode.PAY_GAS_SEPARATELY;return t.sendMode!==null&&t.sendMode!==void 0&&(n=t.sendMode),(0,Bee.createWalletTransferV1)({seqno:t.seqno,sendMode:n,secretKey:t.secretKey,message:t.message})}sender(t,n){return{send:async r=>{let i=await this.getSeqno(t),a=this.createTransfer({seqno:i,secretKey:n,sendMode:r.sendMode,message:(0,Gh.internal)({to:r.to,value:r.value,extracurrency:r.extracurrency,init:r.init,body:r.body,bounce:r.bounce})});await this.send(t,a)}}}};$m.WalletContractV1R2=B4});var wR=V(Zm=>{\"use strict\";b();Object.defineProperty(Zm,\"__esModule\",{value:!0});Zm.WalletContractV1R3=void 0;var Qh=Gt(),Mee=ra(),M4=class e{static create(t){return new e(t.workchain,t.publicKey)}constructor(t,n){this.workchain=t,this.publicKey=n;let r=Qh.Cell.fromBoc(globalThis.Buffer.from(\"te6cckEBAQEAXwAAuv8AIN0gggFMl7ohggEznLqxnHGw7UTQ0x/XC//jBOCk8mCBAgDXGCDXCx/tRNDTH9P/0VESuvKhIvkBVBBE+RDyovgAAdMfMSDXSpbTB9QC+wDe0aTIyx/L/8ntVLW4bkI=\",\"base64\"))[0],i=(0,Qh.beginCell)().storeUint(0,32).storeBuffer(n).endCell();this.init={code:r,data:i},this.address=(0,Qh.contractAddress)(t,{code:r,data:i})}async getBalance(t){return(await t.getState()).balance}async getSeqno(t){return(await t.getState()).state.type===\"active\"?(await t.get(\"seqno\",[])).stack.readNumber():0}async send(t,n){await t.external(n)}async sendTransfer(t,n){let r=this.createTransfer(n);await this.send(t,r)}createTransfer(t){let n=Qh.SendMode.PAY_GAS_SEPARATELY;return t.sendMode!==null&&t.sendMode!==void 0&&(n=t.sendMode),(0,Mee.createWalletTransferV1)({seqno:t.seqno,sendMode:n,secretKey:t.secretKey,message:t.message})}sender(t,n){return{send:async r=>{let i=await this.getSeqno(t),a=this.createTransfer({seqno:i,secretKey:n,sendMode:r.sendMode,message:(0,Qh.internal)({to:r.to,value:r.value,init:r.init,body:r.body,bounce:r.bounce})});await this.send(t,a)}}}};Zm.WalletContractV1R3=M4});var xR=V(Ym=>{\"use strict\";b();Object.defineProperty(Ym,\"__esModule\",{value:!0});Ym.WalletContractV2R1=void 0;var Xh=Gt(),Ree=ra(),R4=class e{static create(t){return new e(t.workchain,t.publicKey)}constructor(t,n){this.workchain=t,this.publicKey=n;let r=Xh.Cell.fromBoc(globalThis.Buffer.from(\"te6cckEBAQEAVwAAqv8AIN0gggFMl7qXMO1E0NcLH+Ck8mCDCNcYINMf0x8B+CO78mPtRNDTH9P/0VExuvKhA/kBVBBC+RDyovgAApMg10qW0wfUAvsA6NGkyMsfy//J7VShNwu2\",\"base64\"))[0],i=(0,Xh.beginCell)().storeUint(0,32).storeBuffer(n).endCell();this.init={code:r,data:i},this.address=(0,Xh.contractAddress)(t,{code:r,data:i})}async getBalance(t){return(await t.getState()).balance}async getSeqno(t){return(await t.getState()).state.type===\"active\"?(await t.get(\"seqno\",[])).stack.readNumber():0}async send(t,n){await t.external(n)}async sendTransfer(t,n){let r=this.createTransfer(n);await this.send(t,r)}createTransfer(t){let n=Xh.SendMode.PAY_GAS_SEPARATELY;return t.sendMode!==null&&t.sendMode!==void 0&&(n=t.sendMode),(0,Ree.createWalletTransferV2)({seqno:t.seqno,sendMode:n,secretKey:t.secretKey,messages:t.messages,timeout:t.timeout})}sender(t,n){return{send:async r=>{let i=await this.getSeqno(t),a=this.createTransfer({seqno:i,secretKey:n,sendMode:r.sendMode,messages:[(0,Xh.internal)({to:r.to,value:r.value,extracurrency:r.extracurrency,init:r.init,body:r.body,bounce:r.bounce})]});await this.send(t,a)}}}};Ym.WalletContractV2R1=R4});var CR=V(Gm=>{\"use strict\";b();Object.defineProperty(Gm,\"__esModule\",{value:!0});Gm.WalletContractV2R2=void 0;var Jh=Gt(),Uee=ra(),U4=class e{static create(t){return new e(t.workchain,t.publicKey)}constructor(t,n){this.workchain=t,this.publicKey=n;let r=Jh.Cell.fromBoc(globalThis.Buffer.from(\"te6cckEBAQEAYwAAwv8AIN0gggFMl7ohggEznLqxnHGw7UTQ0x/XC//jBOCk8mCDCNcYINMf0x8B+CO78mPtRNDTH9P/0VExuvKhA/kBVBBC+RDyovgAApMg10qW0wfUAvsA6NGkyMsfy//J7VQETNeh\",\"base64\"))[0],i=(0,Jh.beginCell)().storeUint(0,32).storeBuffer(n).endCell();this.init={code:r,data:i},this.address=(0,Jh.contractAddress)(t,{code:r,data:i})}async getBalance(t){return(await t.getState()).balance}async getSeqno(t){return(await t.getState()).state.type===\"active\"?(await t.get(\"seqno\",[])).stack.readNumber():0}async send(t,n){await t.external(n)}async sendTransfer(t,n){let r=this.createTransfer(n);await this.send(t,r)}createTransfer(t){let n=Jh.SendMode.PAY_GAS_SEPARATELY;return t.sendMode!==null&&t.sendMode!==void 0&&(n=t.sendMode),(0,Uee.createWalletTransferV2)({seqno:t.seqno,sendMode:n,secretKey:t.secretKey,messages:t.messages,timeout:t.timeout})}sender(t,n){return{send:async r=>{let i=await this.getSeqno(t),a=this.createTransfer({seqno:i,secretKey:n,sendMode:r.sendMode,messages:[(0,Jh.internal)({to:r.to,value:r.value,extracurrency:r.extracurrency,init:r.init,body:r.body,bounce:r.bounce})]});await this.send(t,a)}}}};Gm.WalletContractV2R2=U4});var SR=V(Qm=>{\"use strict\";b();Object.defineProperty(Qm,\"__esModule\",{value:!0});Qm.WalletContractV3R1=void 0;var e0=Gt(),Oee=ra(),O4=class e{static create(t){return new e(t.workchain,t.publicKey,t.walletId)}constructor(t,n,r){this.workchain=t,this.publicKey=n,r!=null?this.walletId=r:this.walletId=698983191+t;let i=e0.Cell.fromBoc(globalThis.Buffer.from(\"te6cckEBAQEAYgAAwP8AIN0gggFMl7qXMO1E0NcLH+Ck8mCDCNcYINMf0x/TH/gjE7vyY+1E0NMf0x/T/9FRMrryoVFEuvKiBPkBVBBV+RDyo/gAkyDXSpbTB9QC+wDo0QGkyMsfyx/L/8ntVD++buA=\",\"base64\"))[0],a=(0,e0.beginCell)().storeUint(0,32).storeUint(this.walletId,32).storeBuffer(n).endCell();this.init={code:i,data:a},this.address=(0,e0.contractAddress)(t,{code:i,data:a})}async getBalance(t){return(await t.getState()).balance}async getSeqno(t){return(await t.getState()).state.type===\"active\"?(await t.get(\"seqno\",[])).stack.readNumber():0}async send(t,n){await t.external(n)}async sendTransfer(t,n){let r=this.createTransfer(n);await this.send(t,r)}createTransfer(t){return(0,Oee.createWalletTransferV3)({...t,sendMode:t.sendMode??e0.SendMode.PAY_GAS_SEPARATELY,walletId:this.walletId})}sender(t,n){return{send:async r=>{let i=await this.getSeqno(t),a=this.createTransfer({seqno:i,secretKey:n,sendMode:r.sendMode,messages:[(0,e0.internal)({to:r.to,value:r.value,extracurrency:r.extracurrency,init:r.init,body:r.body,bounce:r.bounce})]});await this.send(t,a)}}}};Qm.WalletContractV3R1=O4});var _R=V(Xm=>{\"use strict\";b();Object.defineProperty(Xm,\"__esModule\",{value:!0});Xm.WalletContractV3R2=void 0;var t0=Gt(),Iee=ra(),I4=class e{static create(t){return new e(t.workchain,t.publicKey,t.walletId)}constructor(t,n,r){this.workchain=t,this.publicKey=n,r!=null?this.walletId=r:this.walletId=698983191+t;let i=t0.Cell.fromBoc(globalThis.Buffer.from(\"te6cckEBAQEAcQAA3v8AIN0gggFMl7ohggEznLqxn3Gw7UTQ0x/THzHXC//jBOCk8mCDCNcYINMf0x/TH/gjE7vyY+1E0NMf0x/T/9FRMrryoVFEuvKiBPkBVBBV+RDyo/gAkyDXSpbTB9QC+wDo0QGkyMsfyx/L/8ntVBC9ba0=\",\"base64\"))[0],a=(0,t0.beginCell)().storeUint(0,32).storeUint(this.walletId,32).storeBuffer(n).endCell();this.init={code:i,data:a},this.address=(0,t0.contractAddress)(t,{code:i,data:a})}async getBalance(t){return(await t.getState()).balance}async getSeqno(t){return(await t.getState()).state.type===\"active\"?(await t.get(\"seqno\",[])).stack.readNumber():0}async send(t,n){await t.external(n)}async sendTransfer(t,n){let r=this.createTransfer(n);await this.send(t,r)}createTransfer(t){return(0,Iee.createWalletTransferV3)({...t,sendMode:t.sendMode??t0.SendMode.PAY_GAS_SEPARATELY,walletId:this.walletId})}sender(t,n){return{send:async r=>{let i=await this.getSeqno(t),a=this.createTransfer({seqno:i,secretKey:n,sendMode:r.sendMode,messages:[(0,t0.internal)({to:r.to,value:r.value,extracurrency:r.extracurrency,init:r.init,body:r.body,bounce:r.bounce})]});await this.send(t,a)}}}};Xm.WalletContractV3R2=I4});var TR=V(Jm=>{\"use strict\";b();Object.defineProperty(Jm,\"__esModule\",{value:!0});Jm.WalletContractV4=void 0;var Ys=Gt(),Nee=ra(),N4=class e{static create(t){return new e(t.workchain,t.publicKey,t.walletId)}constructor(t,n,r){this.workchain=t,this.publicKey=n,r!=null?this.walletId=r:this.walletId=698983191+t;let i=Ys.Cell.fromBoc(globalThis.Buffer.from(\"te6ccgECFAEAAtQAART/APSkE/S88sgLAQIBIAIDAgFIBAUE+PKDCNcYINMf0x/THwL4I7vyZO1E0NMf0x/T//QE0VFDuvKhUVG68qIF+QFUEGT5EPKj+AAkpMjLH1JAyx9SMMv/UhD0AMntVPgPAdMHIcAAn2xRkyDXSpbTB9QC+wDoMOAhwAHjACHAAuMAAcADkTDjDQOkyMsfEssfy/8QERITAubQAdDTAyFxsJJfBOAi10nBIJJfBOAC0x8hghBwbHVnvSKCEGRzdHK9sJJfBeAD+kAwIPpEAcjKB8v/ydDtRNCBAUDXIfQEMFyBAQj0Cm+hMbOSXwfgBdM/yCWCEHBsdWe6kjgw4w0DghBkc3RyupJfBuMNBgcCASAICQB4AfoA9AQw+CdvIjBQCqEhvvLgUIIQcGx1Z4MesXCAGFAEywUmzxZY+gIZ9ADLaRfLH1Jgyz8gyYBA+wAGAIpQBIEBCPRZMO1E0IEBQNcgyAHPFvQAye1UAXKwjiOCEGRzdHKDHrFwgBhQBcsFUAPPFiP6AhPLassfyz/JgED7AJJfA+ICASAKCwBZvSQrb2omhAgKBrkPoCGEcNQICEekk30pkQzmkD6f+YN4EoAbeBAUiYcVnzGEAgFYDA0AEbjJftRNDXCx+AA9sp37UTQgQFA1yH0BDACyMoHy//J0AGBAQj0Cm+hMYAIBIA4PABmtznaiaEAga5Drhf/AABmvHfaiaEAQa5DrhY/AAG7SB/oA1NQi+QAFyMoHFcv/ydB3dIAYyMsFywIizxZQBfoCFMtrEszMyXP7AMhAFIEBCPRR8qcCAHCBAQjXGPoA0z/IVCBHgQEI9FHyp4IQbm90ZXB0gBjIywXLAlAGzxZQBPoCFMtqEssfyz/Jc/sAAgBsgQEI1xj6ANM/MFIkgQEI9Fnyp4IQZHN0cnB0gBjIywXLAlAFzxZQA/oCE8tqyx8Syz/Jc/sAAAr0AMntVA==\",\"base64\"))[0],a=(0,Ys.beginCell)().storeUint(0,32).storeUint(this.walletId,32).storeBuffer(this.publicKey).storeBit(0).endCell();this.init={code:i,data:a},this.address=(0,Ys.contractAddress)(t,{code:i,data:a})}async getBalance(t){return(await t.getState()).balance}async getSeqno(t){return(await t.getState()).state.type===\"active\"?(await t.get(\"seqno\",[])).stack.readNumber():0}async getIsPluginInstalled(t,n){if((await t.getState()).state.type!==\"active\")return!1;let i=BigInt(n.workChain),a=BigInt(\"0x\"+n.hash.toString(\"hex\"));return(await t.get(\"is_plugin_installed\",[{type:\"int\",value:i},{type:\"int\",value:a}])).stack.readBoolean()}async getPluginsArray(t){return(await t.getState()).state.type!==\"active\"?[]:(await t.get(\"get_plugin_list\",[])).stack.readLispList().map(i=>{if(i.type!==\"tuple\")throw Error(\"Not a tuple\");let a=new Ys.TupleReader(i.items),o=a.readNumber(),l=a.readBigNumber().toString(16).padStart(64,\"0\");return Ys.Address.parseRaw(`${o}:${l}`)})}async send(t,n){await t.external(n)}async sendTransfer(t,n){let r=this.createTransfer(n);await this.send(t,r)}createTransfer(t){return this.createRequest({seqno:t.seqno,timeout:t.timeout,action:{type:\"sendMsg\",messages:t.messages,sendMode:t.sendMode},...\"secretKey\"in t?{secretKey:t.secretKey}:{signer:t.signer}})}async sendRequest(t,n){let r=await this.createRequest(n);await this.send(t,r)}createRequest(t){return(0,Nee.createWalletTransferV4)({...t,walletId:this.walletId})}sender(t,n){return{send:async r=>{let i=await this.getSeqno(t),a=this.createTransfer({seqno:i,secretKey:n,sendMode:r.sendMode,messages:[(0,Ys.internal)({to:r.to,value:r.value,extracurrency:r.extracurrency,init:r.init,body:r.body,bounce:r.bounce})]});await this.send(t,a)}}}async sendAddPlugin(t,n){let r=await this.createAddPlugin(n);return await this.send(t,r)}async sendRemovePlugin(t,n){let r=await this.createRemovePlugin(n);return await this.send(t,r)}async sendAddAndDeployPlugin(t,n){let r=await this.createAddAndDeployPlugin(n);return await this.send(t,r)}createAddPlugin(t){return this.createRequest({action:{type:\"addPlugin\",address:t.address,forwardAmount:t.forwardAmount,queryId:t.queryId},...t})}createRemovePlugin(t){return this.createRequest({action:{type:\"removePlugin\",address:t.address,forwardAmount:t.forwardAmount,queryId:t.queryId},...t})}createAddAndDeployPlugin(t){return this.createRequest({action:{type:\"addAndDeployPlugin\",workchain:t.workchain,stateInit:t.stateInit,body:t.body,forwardAmount:t.forwardAmount},...t})}async sendPluginRequestFunds(t,n,r){await t.internal(n,{value:r.forwardAmount,body:this.createPluginRequestFundsMessage(r),sendMode:r.sendMode})}createPluginRequestFundsMessage(t){return(0,Ys.beginCell)().storeUint(1886156135,32).storeUint(t.queryId??0,64).storeCoins(t.toncoinsToWithdraw).storeDict(null).endCell()}async sendPluginRemovePlugin(t,n,r,i){await t.internal(n,{value:r,body:this.createPluginRemovePluginMessage(i)})}createPluginRemovePluginMessage(t){return(0,Ys.beginCell)().storeUint(1685288050,32).storeUint(t??0,64).endCell()}};Jm.WalletContractV4=N4});var AR=V(Gs=>{\"use strict\";b();var Pee=Gs&&Gs.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(\"get\"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),ER=Gs&&Gs.__exportStar||function(e,t){for(var n in e)n!==\"default\"&&!Object.prototype.hasOwnProperty.call(t,n)&&Pee(t,e,n)};Object.defineProperty(Gs,\"__esModule\",{value:!0});ER(TR(),Gs);ER(_4(),Gs)});var kR=V(zo=>{\"use strict\";b();var zee=zo&&zo.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(\"get\"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),P4=zo&&zo.__exportStar||function(e,t){for(var n in e)n!==\"default\"&&!Object.prototype.hasOwnProperty.call(t,n)&&zee(t,e,n)};Object.defineProperty(zo,\"__esModule\",{value:!0});P4(g4(),zo);P4(m4(),zo);P4(h4(),zo)});var BR=V(Do=>{\"use strict\";b();var Dee=Do&&Do.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(\"get\"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),z4=Do&&Do.__exportStar||function(e,t){for(var n in e)n!==\"default\"&&!Object.prototype.hasOwnProperty.call(t,n)&&Dee(t,e,n)};Object.defineProperty(Do,\"__esModule\",{value:!0});z4(w4(),Do);z4(S4(),Do);z4(b4(),Do)});var MR=V(ey=>{\"use strict\";b();Object.defineProperty(ey,\"__esModule\",{value:!0});ey.JettonMaster=void 0;var Lee=Gt(),D4=class e{static create(t){return new e(t)}constructor(t){this.address=t}async getWalletAddress(t,n){return(await t.get(\"get_wallet_address\",[{type:\"slice\",cell:(0,Lee.beginCell)().storeAddress(n).endCell()}])).stack.readAddress()}async getJettonData(t){let n=await t.get(\"get_jetton_data\",[]),r=n.stack.readBigNumber(),i=n.stack.readBoolean(),a=n.stack.readAddress(),o=n.stack.readCell(),s=n.stack.readCell();return{totalSupply:r,mintable:i,adminAddress:a,content:o,walletCode:s}}};ey.JettonMaster=D4});var RR=V(ty=>{\"use strict\";b();Object.defineProperty(ty,\"__esModule\",{value:!0});ty.JettonWallet=void 0;var L4=class e{static create(t){return new e(t)}constructor(t){this.address=t}async getBalance(t){return(await t.getState()).state.type!==\"active\"?0n:(await t.get(\"get_wallet_data\",[])).stack.readBigNumber()}};ty.JettonWallet=L4});var q4=V(ry=>{\"use strict\";b();Object.defineProperty(ry,\"__esModule\",{value:!0});ry.MultisigOrder=void 0;var UR=Ms(),ny=Gt(),j4=class e{constructor(t){this.signatures={},this.payload=t}static fromCell(t){let n=t.beginParse(),r=n.loadMaybeRef()?.beginParse(),i=n.asCell(),a=new e(i);if(r){for(;r.remainingBits>0;){let o=r.loadBuffer(64),s=r.loadUint(8);a.signatures[s]=o,r.remainingRefs>0?r=r.loadRef().asSlice():r.skip(1)}r.endParse()}return a}static fromPayload(t){return new e(t)}addSignature(t,n,r){let i=this.payload.hash();if(!(0,UR.signVerify)(i,n,r.owners.get(t).slice(0,-1)))throw Error(\"invalid signature\");this.signatures[t]=n}sign(t,n){let r=this.payload.hash();return this.signatures[t]=(0,UR.sign)(r,n),r}unionSignatures(t){this.signatures=Object.assign({},this.signatures,t.signatures)}clearSignatures(){this.signatures={}}toCell(t){let n=(0,ny.beginCell)().storeBit(0);for(let r in this.signatures){let i=this.signatures[r];n=(0,ny.beginCell)().storeBit(1).storeRef((0,ny.beginCell)().storeBuffer(i).storeUint(parseInt(r),8).storeBuilder(n).endCell())}return(0,ny.beginCell)().storeUint(t,8).storeBuilder(n).storeBuilder(this.payload.asBuilder()).endCell()}};ry.MultisigOrder=j4});var OR=V(iy=>{\"use strict\";b();Object.defineProperty(iy,\"__esModule\",{value:!0});iy.MultisigOrderBuilder=void 0;var n0=Gt(),jee=q4(),H4=class{constructor(t,n){this.messages=(0,n0.beginCell)(),this.queryId=0n,this.walletId=t,this.queryOffset=n||7200}addMessage(t,n){if(this.messages.refs>=4)throw Error(\"only 4 refs are allowed\");this.updateQueryId(),this.messages.storeUint(n,8),this.messages.storeRef((0,n0.beginCell)().store((0,n0.storeMessageRelaxed)(t)).endCell())}clearMessages(){this.messages=(0,n0.beginCell)()}build(){return jee.MultisigOrder.fromPayload((0,n0.beginCell)().storeUint(this.walletId,32).storeUint(this.queryId,64).storeBuilder(this.messages).endCell())}updateQueryId(){let t=BigInt(Math.floor(Date.now()/1e3+this.queryOffset));this.queryId=t<<32n}};iy.MultisigOrderBuilder=H4});var NR=V(ay=>{\"use strict\";b();Object.defineProperty(ay,\"__esModule\",{value:!0});ay.MultisigWallet=void 0;var IR=Ms(),Pr=Gt(),qee=Pr.Cell.fromBase64(\"te6ccgECKwEABBgAART/APSkE/S88sgLAQIBIAIDAgFIBAUE2vIgxwCOgzDbPOCDCNcYIPkBAdMH2zwiwAAToVNxePQOb6Hyn9s8VBq6+RDyoAb0BCD5AQHTH1EYuvKq0z9wUwHwCgHCCAGDCryx8mhTFYBA9A5voSCYDqQgwgryZw7f+COqH1NAufJhVCOjU04gIyEiAgLMBgcCASAMDQIBIAgJAgFmCgsAA9GEAiPymAvHoHN9CYbZ5S7Z4BPHohwhJQAtAKkItdJEqCTItdKlwLUAdAT8ArobBKAATwhbpEx4CBukTDgAdAg10rDAJrUAvALyFjPFszJ4HHXI8gBzxb0AMmACASAODwIBIBQVARW77ZbVA0cFUg2zyCoCAUgQEQIBIBITAXOxHXQgwjXGCD5AQHTB4IB1MTtQ9hTIHj0Dm+h8p/XC/9eMfkQ8qCuAfQEIW6TW3Ey4PkBWNs8AaQBgJwA9rtqA6ADoAPoCAXoCEfyAgPyA3XlP+AXkegAA54tkwAAXrhlXP8EA1WZ2oexAAgEgFhcCASAYGQFRtyVbZ4YmRmpGEAgegc30McJNhFpAADMaYeYuAFrgJhwLb+4cC3d0bhAjAYm1WZtnhqvgb+2xxsoicAgej430pBHEoFpAADHDhBACGuQkuuBk9kUWE5kAOeLKhACQCB6IYFImHFImHFImXEA2YlzNijAjAgEgGhsAF7UGtc4QQDVZnah7EAIBIBwdAgOZOB4fARGsGm2eL4G2CUAjABWt+UEAzJV2oewYQAENqTbPBVfBYCMAFa3f3CCAarM7UPYgAiDbPALyZfgAUENxQxPbPO1UIyoACtP/0wcwBKDbPC+uUyCw8mISsQKkJbNTHLmwJYEA4aojoCi8sPJpggGGoPgBBZcCERACPj4wjo0REB/bPEDXePRDEL0F4lQWW1Rz51YQU9zbPFRxClR6vCQlKCYAIO1E0NMf0wfTB9M/9AT0BNEAXgGOGjDSAAHyo9MH0wdQA9cBIPkBBfkBFbrypFAD4GwhIddKqgIi10m68qtwVCATAAwByMv/ywcE1ts87VT4D3AlblOJvrGYEG4QLVDHXwePGzBUJANQTds8UFWgRlAQSRA6SwlTuds8UFQWf+L4AAeDJaGOLCaAQPSWb6UglDBTA7neII4WODk5CNIAAZfTBzAW8AcFkTDifwgHBZJsMeKz5jAGKicoKQBgcI4pA9CDCNcY0wf0BDBTFnj0Dm+h8qXXC/9URUT5EPKmrlIgsVIDvRShI27mbCIyAH5SML6OIF8D+ACTItdKmALTB9QC+wAC6DJwyMoAQBSAQPRDAvAHjhdxyMsAFMsHEssHWM8BWM8WQBOAQPRDAeIBII6KEEUQNEMA2zztVJJfBuIqABzIyx/LB8sHyz/0APQAyQ==\"),V4=class e{constructor(t,n,r,i,a){this.provider=null,this.owners=Pr.Dictionary.empty(),this.workchain=n,this.walletId=r,this.k=i;for(let o=0;o<t.length;o+=1)this.owners.set(o,globalThis.Buffer.concat([t[o],globalThis.Buffer.alloc(1)]));this.init={code:qee,data:(0,Pr.beginCell)().storeUint(this.walletId,32).storeUint(this.owners.size,8).storeUint(this.k,8).storeUint(0,64).storeDict(this.owners,Pr.Dictionary.Keys.Uint(8),Pr.Dictionary.Values.Buffer(33)).storeBit(0).endCell()},this.address=a?.address||(0,Pr.contractAddress)(n,this.init),a?.provider?this.provider=a.provider:a?.client&&(this.provider=a.client.provider(this.address,{code:this.init.code,data:this.init.data}))}static async fromAddress(t,n){let r;if(n.provider)r=n.provider;else{if(!n.client)throw Error(\"Either provider or client must be specified\");r=n.client.provider(t,{code:null,data:null})}let i=(await r.getState()).state;if(i.type!==\"active\")throw Error(\"Contract must be active\");let a=Pr.Cell.fromBoc(i.data)[0].beginParse(),o=a.loadUint(32);a.skip(8);let s=a.loadUint(8);a.skip(64);let l=a.loadDict(Pr.Dictionary.Keys.Uint(8),Pr.Dictionary.Values.Buffer(33)),c=[];for(let[u,d]of l){let h=d.subarray(0,32);c.push(h)}return new e(c,t.workChain,o,s,{address:t,provider:r,client:n.client})}async deployExternal(t){if(!t&&!this.provider)throw Error(\"you must specify provider if there is no such property in MultisigWallet instance\");t||(t=this.provider),await t.external(Pr.Cell.EMPTY)}async deployInternal(t,n=1000000000n){await t.send({sendMode:Pr.SendMode.PAY_GAS_SEPARATELY+Pr.SendMode.IGNORE_ERRORS,to:this.address,value:n,init:this.init,body:Pr.Cell.EMPTY,bounce:!0})}async sendOrder(t,n,r){if(!r&&!this.provider)throw Error(\"you must specify provider if there is no such property in MultisigWallet instance\");r||(r=this.provider);let i=(0,IR.keyPairFromSecretKey)(n).publicKey,a=this.getOwnerIdByPubkey(i),o=t.toCell(a),s=(0,IR.sign)(o.hash(),n);o=(0,Pr.beginCell)().storeBuffer(s).storeSlice(o.asSlice()).endCell(),await r.external(o)}async sendOrderWithoutSecretKey(t,n,r,i){if(!i&&!this.provider)throw Error(\"you must specify provider if there is no such property in MultisigWallet instance\");i||(i=this.provider);let a=t.toCell(r);a=(0,Pr.beginCell)().storeBuffer(n).storeSlice(a.asSlice()).endCell(),await i.external(a)}getOwnerIdByPubkey(t){for(let[n,r]of this.owners)if(r.subarray(0,32).equals(t))return n;throw Error(\"public key is not an owner\")}};ay.MultisigWallet=V4});var PR=V(oy=>{\"use strict\";b();Object.defineProperty(oy,\"__esModule\",{value:!0});oy.ElectorContract=void 0;var ji=Gt(),Hee={serialize(e,t){throw Error(\"not implemented\")},parse(e){let t=new ji.Address(-1,e.loadBuffer(32)),n=e.loadUintBig(64),r=e.loadCoins();return{address:t,weight:n,stake:r}}},Vee={serialize(e,t){throw Error(\"not implemented\")},parse(e){let t=e.loadCoins();e.skip(64);let n=new ji.Address(-1,e.loadBuffer(32)),r=e.loadBuffer(32);return{stake:t,address:n,adnl:r}}},W4=class e{static create(){return new e}constructor(){this.address=ji.Address.parseRaw(\"-1:3333333333333333333333333333333333333333333333333333333333333333\")}async getReturnedStake(t,n){if(n.workChain!==-1)throw Error(\"Only masterchain addresses could have stake\");return(await t.get(\"compute_returned_stake\",[{type:\"int\",value:BigInt(\"0x\"+n.hash.toString(\"hex\"))}])).stack.readBigNumber()}async getPastElectionsList(t){let n=await t.get(\"past_elections_list\",[]),r=new ji.TupleReader(n.stack.readLispList()),i=[];for(;r.remaining>0;){let a=r.readTuple(),o=a.readNumber(),s=a.readNumber();a.pop();let l=a.readNumber();i.push({id:o,unfreezeAt:s,stakeHeld:l})}return i}async getPastElections(t){let n=await t.get(\"past_elections\",[]),r=new ji.TupleReader(n.stack.readLispList()),i=[];for(;r.remaining>0;){let a=r.readTuple(),o=a.readNumber(),s=a.readNumber(),l=a.readNumber();a.pop();let c=a.readCell(),u=a.readBigNumber(),d=a.readBigNumber(),h=new Map,g=c.beginParse().loadDictDirect(ji.Dictionary.Keys.Buffer(32),Hee);for(let[y,E]of g)h.set(BigInt(\"0x\"+y.toString(\"hex\")).toString(10),{address:E.address,weight:E.weight,stake:E.stake});i.push({id:o,unfreezeAt:s,stakeHeld:l,totalStake:u,bonuses:d,frozen:h})}return i}async getElectionEntities(t){let n=await t.getState();if(n.state.type!==\"active\")throw Error(\"Unexpected error\");let i=ji.Cell.fromBoc(n.state.data)[0].beginParse();if(!i.loadBit())return null;let a=i.loadRef().beginParse(),o=a.loadUint(32),s=a.loadUint(32),l=a.loadCoins(),c=a.loadCoins(),u=a.loadDict(ji.Dictionary.Keys.Buffer(32),Vee),d=[];if(u)for(let[h,g]of u)d.push({pubkey:h,stake:g.stake,address:g.address,adnl:g.adnl});return{minStake:l,allStakes:c,endElectionsTime:s,startWorkTime:o,entities:d}}async getActiveElectionId(t){let r=(await t.get(\"active_election_id\",[])).stack.readNumber();return r>0?r:null}async getComplaints(t,n){let r=new ji.TupleBuilder;r.writeNumber(n);let i=await t.get(\"list_complaints\",r.build());if(i.stack.peek().type===\"null\")return[];let a=new ji.TupleReader(i.stack.readLispList()),o=[];for(;a.remaining>0;){let s=a.readTuple(),l=s.readBigNumber(),c=s.readTuple(),u=c.readTuple(),d=globalThis.Buffer.from(u.readBigNumber().toString(16),\"hex\"),h=u.readCell(),g=u.readNumber(),y=u.readNumber(),E=new ji.Address(-1,globalThis.Buffer.from(u.readBigNumber().toString(16),\"hex\")),L=u.readBigNumber(),C=u.readBigNumber(),v=u.readBigNumber(),T=[],R=new ji.TupleReader(c.readLispList());for(;R.remaining>0;)T.push(R.readNumber());let O=c.readBigNumber(),re=c.readBigNumber();o.push({id:l,publicKey:d,createdAt:g,severity:y,paid:L,suggestedFine:C,suggestedFinePart:v,rewardAddress:E,votes:T,remainingWeight:re,vsetId:O})}return o}};oy.ElectorContract=W4});var XR=V(Rt=>{\"use strict\";b();Object.defineProperty(Rt,\"__esModule\",{value:!0});Rt.configParseMasterAddress=Qs;Rt.parseValidatorSet=LR;Rt.parseBridge=jR;Rt.configParseMasterAddressRequired=r0;Rt.configParse5=$4;Rt.configParse6=qR;Rt.configParse7=HR;Rt.configParse9=VR;Rt.configParse10=WR;Rt.configParse13=FR;Rt.configParse14=KR;Rt.configParse15=Z4;Rt.configParse16=Y4;Rt.configParse17=G4;Rt.configParse18=Q4;Rt.configParse8=X4;Rt.configParse40=J4;Rt.configParseWorkchainDescriptor=$R;Rt.configParse12=e6;Rt.configParseValidatorSet=wi;Rt.configParseBridge=rc;Rt.loadJettonBridgeParams=sy;Rt.configParseGasLimitsPrices=i0;Rt.configParseBlockLimits=F4;Rt.configParseMsgPrices=a0;Rt.configParse28=t6;Rt.configParse29=n6;Rt.configParse31=ZR;Rt.configParse44=YR;Rt.configParse45=GR;Rt.parseProposalSetup=K4;Rt.parseVotingSetup=r6;Rt.loadConfigParamById=Yee;Rt.loadConfigParamsAsSlice=Gee;Rt.parseFullConfig=Qee;Rt.parseFullerConfig=Xee;var zt=Gt();function Qs(e){return e?new zt.Address(-1,e.loadBuffer(32)):null}function zR(e){if(e.loadUint(32)!==2390828938)throw Error(\"Invalid publicKey\");return e.loadBuffer(32)}var DR={serialize(e,t){throw Error(\"not implemented\")},parse(e){let t=e.loadUint(8);if(t===83)return{publicKey:zR(e),weight:e.loadUintBig(64),adnlAddress:null};if(t===115)return{publicKey:zR(e),weight:e.loadUintBig(64),adnlAddress:e.loadBuffer(32)};throw Error(\"Invalid validator description dict\")}};function LR(e){let t=e.loadUint(8);if(t===17){let n=e.loadUint(32),r=e.loadUint(32),i=e.loadUint(16),a=e.loadUint(16),o=e.loadDictDirect(zt.Dictionary.Keys.Uint(16),DR);return{timeSince:n,timeUntil:r,total:i,main:a,totalWeight:null,list:o}}else if(t===18){let n=e.loadUint(32),r=e.loadUint(32),i=e.loadUint(16),a=e.loadUint(16),o=e.loadUintBig(64),s=e.loadDict(zt.Dictionary.Keys.Uint(16),DR);return{timeSince:n,timeUntil:r,total:i,main:a,totalWeight:o,list:s}}return null}function jR(e){let t=new zt.Address(-1,e.loadBuffer(32)),n=new zt.Address(-1,e.loadBuffer(32)),r=e.loadDict(zt.Dictionary.Keys.Buffer(32),zt.Dictionary.Values.Buffer(32)),i=new Map;for(let[o,s]of r)i.set(new zt.Address(-1,o).toString(),s);let a=e.loadBuffer(32);return{bridgeAddress:t,oracleMultisigAddress:n,oracles:i,externalChainAddress:a}}function r0(e){if(!e)throw Error(\"Invalid master address\");return Qs(e)}function $4(e){if(!e)throw Error(\"No config5 slice\");if(e.loadUint(8)===1){let n=e.loadBit()?new zt.Address(-1,e.loadBuffer(32)):null,r=e.loadUint(32),i=e.loadUint(32);return{blackholeAddr:n,feeBurnNominator:r,feeBurnDenominator:i}}throw new Error(\"Invalid config5\")}function qR(e){if(!e)return null;let t=e.loadCoins(),n=e.loadCoins();return{mintNewPrice:t,mintAddPrice:n}}function HR(e){if(!e)throw Error(\"No config7 slice\");return{toMint:(0,zt.loadExtraCurrency)(e.loadRef())}}function VR(e){if(!e)throw Error(\"No config9 slice\");return new Set(e.loadDictDirect(zt.Dictionary.Keys.Int(32),zt.Dictionary.Values.Uint(0)).keys())}function WR(e){if(!e)throw Error(\"No config10 slice\");return new Set(e.loadDictDirect(zt.Dictionary.Keys.Int(32),zt.Dictionary.Values.Uint(0)).keys())}function FR(e){if(!e)throw Error(\"No config13 slice\");if(e.loadUint(8)!==26)throw new Error(\"Invalid config13\");let n=e.loadCoins(),r=e.loadCoins(),i=e.loadCoins();return{deposit:n,bitPrice:r,cellPrice:i}}function KR(e){if(!e)throw Error(\"No config14 slice\");if(e.loadUint(8)!==107)throw new Error(\"Invalid config14\");let n=e.loadCoins(),r=e.loadCoins();return{masterchainBlockFee:n,workchainBlockFee:r}}function Z4(e){if(!e)throw Error(\"No config15 slice\");let t=e.loadUint(32),n=e.loadUint(32),r=e.loadUint(32),i=e.loadUint(32);return{validatorsElectedFor:t,electorsStartBefore:n,electorsEndBefore:r,stakeHeldFor:i}}function Y4(e){if(!e)throw Error(\"No config16 slice\");let t=e.loadUint(16),n=e.loadUint(16),r=e.loadUint(16);return{maxValidators:t,maxMainValidators:n,minValidators:r}}function G4(e){if(!e)throw Error(\"No config17 slice\");let t=e.loadCoins(),n=e.loadCoins(),r=e.loadCoins(),i=e.loadUint(32);return{minStake:t,maxStake:n,minTotalStake:r,maxStakeFactor:i}}var Wee={serialize(e,t){throw Error(\"not implemented\")},parse(e){if(e.loadUint(8)!==204)throw Error(\"Invalid storage prices dict\");let n=e.loadUint(32),r=e.loadUintBig(64),i=e.loadUintBig(64),a=e.loadUintBig(64),o=e.loadUintBig(64);return{utime_since:n,bit_price_ps:r,cell_price_ps:i,mc_bit_price_ps:a,mc_cell_price_ps:o}}};function Q4(e){if(!e)throw Error(\"No config18 slice\");return e.loadDictDirect(zt.Dictionary.Keys.Buffer(4),Wee).values()}function X4(e){if(!e)return{version:0,capabilities:0n};let t=e.loadUint(32),n=e.loadUintBig(64);return{version:t,capabilities:n}}function J4(e){if(!e)return null;if(e.loadUint(8)!==1)throw Error(\"Invalid config40\");let n=e.loadCoins(),r=e.loadCoins(),i=e.loadUint(16),a=e.loadUint(16),o=e.loadUint(16),s=e.loadUint(16),l=e.loadUint(16),c=e.loadUint(16),u=e.loadUint(16),d=e.loadUint(16),h=e.loadUint(16);return{defaultFlatFine:n,defaultProportionaFine:r,severityFlatMult:i,severityProportionalMult:a,unfunishableInterval:o,longInterval:s,longFlatMult:l,longProportionalMult:c,mediumInterval:u,mediumFlatMult:d,mediumProportionalMult:h}}function $R(e){let t=e.loadUint(8);if(!(t==166||t==167))throw Error(\"Invalid workchain descriptor\");let n=e.loadUint(32),r=e.loadUint(8),i=e.loadUint(8),a=e.loadUint(8),o=e.loadBit(),s=e.loadBit(),l=e.loadBit(),c=e.loadUint(13),u=e.loadBuffer(32),d=e.loadBuffer(32),h=e.loadUint(32);if(!e.loadUint(4))throw Error(\"Not basic workchain descriptor\");let g=e.loadInt(32),y=e.loadUintBig(64),E;if(t==167){let L=Fee(e),C=e.loadUint(8);if(C>63)throw RangeError(`Invalid persistent_state_split_depth: ${C} expected <= 63`);E={split_merge_timings:L,persistent_state_split_depth:C}}return{enabledSince:n,actialMinSplit:r,min_split:i,max_split:a,basic:o,active:s,accept_msgs:l,flags:c,zerostateRootHash:u,zerostateFileHash:d,version:h,format:{vmVersion:g,vmMode:y},workchain_v2:E}}function Fee(e){if(e.loadUint(4)!==0)throw Error(\"Invalid WcSplitMergeTimings tag expected 0!\");return{split_merge_delay:e.loadUint(32),split_merge_interval:e.loadUint(32),min_split_merge_interval:e.loadUint(32),max_split_merge_delay:e.loadUint(32)}}var Kee={serialize(e,t){throw Error(\"not implemented\")},parse(e){return $R(e)}};function e6(e){if(!e)throw Error(\"No config12 slice\");let t=e.loadDict(zt.Dictionary.Keys.Uint(32),Kee);if(t)return t;throw Error(\"No workchains exist\")}function wi(e){return e?LR(e):null}function rc(e){return e?jR(e):null}function sy(e){if(!e)return null;let t=e.loadUint(8);if(t===0){let n=new zt.Address(-1,e.loadBuffer(32)),r=new zt.Address(-1,e.loadBuffer(32)),a=[...e.loadDict(zt.Dictionary.Keys.Buffer(32),zt.Dictionary.Values.Buffer(32))].map(l=>({addr:new zt.Address(-1,l[0]),pubkey:l[1]})),o=e.loadUint(8),s=e.loadCoins();return{bridgeAddress:n,oracleAddress:r,oracles:a,flags:o,bridgeBurnFee:s}}if(t===1){let n=new zt.Address(-1,e.loadBuffer(32)),r=new zt.Address(-1,e.loadBuffer(32)),a=[...e.loadDict(zt.Dictionary.Keys.Buffer(32),zt.Dictionary.Values.Buffer(32))].map(E=>({addr:new zt.Address(-1,E[0]),pubkey:E[1]})),o=e.loadUint(8),s=e.loadRef().beginParse(),l=s.loadCoins(),c=s.loadCoins(),u=s.loadCoins(),d=s.loadCoins(),h=s.loadCoins(),g=s.loadCoins(),y=e.loadBuffer(32);return{bridgeAddress:n,oracleAddress:r,oracles:a,flags:o,jettonBridgePrices:{bridgeBurnFee:l,bridgeMintFee:c,walletMinTonsForStorage:u,walletGasConsumption:d,minterMinTonsForStorage:h,discoverGasConsumption:g},externalChainAddress:y}}throw new Error(\"Invalid msg prices param\")}function $ee(e){let t=e.loadUint(8);if(t===222){let n=e.loadUintBig(64),r=e.loadUintBig(64),i=e.loadUintBig(64),a=e.loadUintBig(64),o=e.loadUintBig(64),s=e.loadUintBig(64),l=e.loadUintBig(64);return{gasPrice:n,gasLimit:r,specialGasLimit:i,gasCredit:a,blockGasLimit:o,freezeDueLimit:s,deleteDueLimit:l}}else if(t===221){let n=e.loadUintBig(64),r=e.loadUintBig(64),i=e.loadUintBig(64),a=e.loadUintBig(64),o=e.loadUintBig(64),s=e.loadUintBig(64);return{gasPrice:n,gasLimit:r,gasCredit:i,blockGasLimit:a,freezeDueLimit:o,deleteDueLimit:s}}else throw Error(\"Invalid gas limits internal\")}function i0(e){if(!e)throw Error(\"No gas limits slice\");if(e.loadUint(8)===209){let n=e.loadUintBig(64),r=e.loadUintBig(64),i=$ee(e);return{flatLimit:n,flatGasPrice:r,other:i}}else throw Error(\"Invalid gas limits\")}function nc(e){if(e.loadUint(8)!==195)throw Error(\"Invalid params limit slice\");let n=e.loadUint(32),r=e.loadUint(32),i=e.loadUint(32);if(n>r||r>i)throw Error(\"Incosistent limitParams\");return{underload:n,softLimit:r,hardLimit:i}}function F4(e){if(!e)throw Error(\"No block limits slice\");let t=e.loadUint(8);if(t===93){let n=nc(e),r=nc(e),i=nc(e);return{bytes:n,gas:r,ltDelta:i}}if(t===94){let n=nc(e),r=nc(e),i=nc(e),a=nc(e);if(e.loadUint(8)!==211)throw Error(\"Invalid importedMsgQueue\");let s=e.loadUint(32),l=e.loadUint(32);return{bytes:n,gas:r,ltDelta:i,collatedData:a,importedMsgQueue:{maxBytes:s,maxMsgs:l}}}throw Error(\"Invalid block limits\")}function a0(e){if(!e)throw new Error(\"No msg prices slice\");if(e.loadUint(8)!==234)throw new Error(\"Invalid msg prices param\");return{lumpPrice:e.loadUintBig(64),bitPrice:e.loadUintBig(64),cellPrice:e.loadUintBig(64),ihrPriceFactor:e.loadUint(32),firstFrac:e.loadUint(16),nextFrac:e.loadUint(16)}}function t6(e){if(!e)throw new Error(\"No config28 slice\");let t=e.loadUint(8);if(t===193){let n=e.loadUint(32),r=e.loadUint(32),i=e.loadUint(32),a=e.loadUint(32);return{masterCatchainLifetime:n,shardCatchainLifetime:r,shardValidatorsLifetime:i,shardValidatorsCount:a}}if(t===194){let n=e.loadUint(7),r=e.loadBit(),i=e.loadUint(32),a=e.loadUint(32),o=e.loadUint(32),s=e.loadUint(32);return{flags:n,suffleMasterValidators:r,masterCatchainLifetime:i,shardCatchainLifetime:a,shardValidatorsLifetime:o,shardValidatorsCount:s}}throw new Error(\"Invalid config28\")}function n6(e){if(!e)throw new Error(\"No config29 slice\");let t=e.loadUint(8);if(t===214){let n=e.loadUint(32),r=e.loadUint(32),i=e.loadUint(32),a=e.loadUint(32),o=e.loadUint(32),s=e.loadUint(32),l=e.loadUint(32),c=e.loadUint(32);return{roundCandidates:n,nextCandidateDelay:r,consensusTimeout:i,fastAttempts:a,attemptDuration:o,catchainMaxDeps:s,maxBlockBytes:l,maxColaltedBytes:c}}else if(t===215){let n=e.loadUint(7),r=e.loadBit(),i=e.loadUint(8),a=e.loadUint(32),o=e.loadUint(32),s=e.loadUint(32),l=e.loadUint(32),c=e.loadUint(32),u=e.loadUint(32),d=e.loadUint(32);return{flags:n,newCatchainIds:r,roundCandidates:i,nextCandidateDelay:a,consensusTimeout:o,fastAttempts:s,attemptDuration:l,catchainMaxDeps:c,maxBlockBytes:u,maxColaltedBytes:d}}else if(t===216){let n=e.loadUint(7),r=e.loadBit(),i=e.loadUint(8),a=e.loadUint(32),o=e.loadUint(32),s=e.loadUint(32),l=e.loadUint(32),c=e.loadUint(32),u=e.loadUint(32),d=e.loadUint(32),h=e.loadUint(16);return{flags:n,newCatchainIds:r,roundCandidates:i,nextCandidateDelay:a,consensusTimeout:o,fastAttempts:s,attemptDuration:l,catchainMaxDeps:c,maxBlockBytes:u,maxColaltedBytes:d,protoVersion:h}}else if(t===217){let n=e.loadUint(7),r=e.loadBit(),i=e.loadUint(8),a=e.loadUint(32),o=e.loadUint(32),s=e.loadUint(32),l=e.loadUint(32),c=e.loadUint(32),u=e.loadUint(32),d=e.loadUint(32),h=e.loadUint(16),g=e.loadUint(32);return{flags:n,newCatchainIds:r,roundCandidates:i,nextCandidateDelay:a,consensusTimeout:o,fastAttempts:s,attemptDuration:l,catchainMaxDeps:c,maxBlockBytes:u,maxColaltedBytes:d,protoVersion:h,catchainMaxBlocksCoeff:g}}throw new Error(\"Invalid config29\")}function ZR(e){if(!e)throw Error(\"No config31 slice\");return[...e.loadDict(zt.Dictionary.Keys.Buffer(32),zt.Dictionary.Values.Uint(0))].map(n=>new zt.Address(-1,n[0]))}function YR(e){if(!e)throw Error(\"No config44 slice\");if(e.loadUint(8)!==0)throw new Error(\"Invalid config44\");let n=e.loadDict(zt.Dictionary.Keys.Buffer(36),zt.Dictionary.Values.Uint(0)),r=e.loadUint(32);return{addresses:[...n].map(a=>new zt.Address(a[0].readInt32BE(),a[0].subarray(4))),suspendedUntil:r}}var Zee={serialize:()=>{throw Error(\"not implemented\")},parse:e=>{if(e.loadUint(8)!==176)throw new Error(\"Invalid precompiled contracts dict\");return e.loadUintBig(64)}};function GR(e){if(!e)throw Error(\"No config45 slice\");if(e.loadUint(8)!==192)throw new Error(\"Invalid config45\");return[...e.loadDict(zt.Dictionary.Keys.Buffer(32),Zee)].map(r=>({hash:r[0],gasUsed:r[1]}))}function K4(e){if(e.loadUint(8)!==54)throw new Error(\"Invalid proposal setup\");let n=e.loadUint(8),r=e.loadUint(8),i=e.loadUint(8),a=e.loadUint(8),o=e.loadUint(32),s=e.loadUint(32),l=e.loadUint(32),c=e.loadUint(32);return{minTotalRounds:n,maxTotalRounds:r,minWins:i,maxLoses:a,minStoreSec:o,maxStoreSec:s,bitPrice:l,cellPrice:c}}function r6(e){if(!e)throw new Error(\"No voting setup\");if(e.loadUint(8)!==145)throw new Error(\"Invalid voting setup\");let n=K4(e.loadRef().beginParse()),r=K4(e.loadRef().beginParse());return{normalParams:n,criticalParams:r}}function QR(e){return zt.Cell.fromBase64(e).beginParse().loadDictDirect(zt.Dictionary.Keys.Int(32),zt.Dictionary.Values.Cell())}function Yee(e,t){return QR(e).get(t)}function Gee(e){let t=QR(e),n=new Map;for(let[r,i]of t)n.set(r,i.beginParse());return n}function Qee(e){return{configAddress:r0(e.get(0)),electorAddress:r0(e.get(1)),minterAddress:Qs(e.get(2)),feeCollectorAddress:Qs(e.get(3)),dnsRootAddress:Qs(e.get(4)),burningConfig:$4(e.get(5)),globalVersion:X4(e.get(8)),workchains:e6(e.get(12)),voting:r6(e.get(11)),validators:{...Z4(e.get(15)),...Y4(e.get(16)),...G4(e.get(17))},storagePrices:Q4(e.get(18)),gasPrices:{masterchain:i0(e.get(20)),workchain:i0(e.get(21))},msgPrices:{masterchain:a0(e.get(24)),workchain:a0(e.get(25))},validatorSets:{prevValidators:wi(e.get(32)),prevTempValidators:wi(e.get(33)),currentValidators:wi(e.get(34)),currentTempValidators:wi(e.get(35)),nextValidators:wi(e.get(36)),nextTempValidators:wi(e.get(37))},validatorsPunish:J4(e.get(40)),bridges:{ethereum:rc(e.get(71)),binance:rc(e.get(72)),polygon:rc(e.get(73))},catchain:t6(e.get(28)),consensus:n6(e.get(29))}}function Xee(e){return{configAddress:r0(e.get(0)),electorAddress:r0(e.get(1)),minterAddress:Qs(e.get(2)),feeCollectorAddress:Qs(e.get(3)),dnsRootAddress:Qs(e.get(4)),burningConfig:$4(e.get(5)),extraCurrenciesMintPrices:qR(e.get(6)),extraCurrencies:HR(e.get(7)),globalVersion:X4(e.get(8)),configMandatoryParams:VR(e.get(9)),configCriticalParams:WR(e.get(10)),voting:r6(e.get(11)),workchains:e6(e.get(12)),complaintCost:FR(e.get(13)),blockCreationRewards:KR(e.get(14)),validators:{...Z4(e.get(15)),...Y4(e.get(16)),...G4(e.get(17))},storagePrices:Q4(e.get(18)),gasPrices:{masterchain:i0(e.get(20)),workchain:i0(e.get(21))},blockLimits:{masterchain:F4(e.get(22)),workchain:F4(e.get(23))},msgPrices:{masterchain:a0(e.get(24)),workchain:a0(e.get(25))},catchain:t6(e.get(28)),consensus:n6(e.get(29)),fundamentalSmcAddr:ZR(e.get(31)),validatorSets:{prevValidators:wi(e.get(32)),prevTempValidators:wi(e.get(33)),currentValidators:wi(e.get(34)),currentTempValidators:wi(e.get(35)),nextValidators:wi(e.get(36)),nextTempValidators:wi(e.get(37))},validatorsPunish:J4(e.get(40)),suspended:YR(e.get(44)),precompiledContracts:GR(e.get(45)),bridges:{ethereum:rc(e.get(71)),binance:rc(e.get(72)),polygon:rc(e.get(73))},tokenBridges:{ethereum:sy(e.get(79)),binance:sy(e.get(81)),polygon:sy(e.get(82))}}}});var eU=V(ic=>{\"use strict\";b();Object.defineProperty(ic,\"__esModule\",{value:!0});ic.computeStorageFees=Jee;ic.computeFwdFees=a6;ic.computeGasPrices=ete;ic.computeExternalMessageFees=tte;ic.computeMessageForwardFees=nte;var i6=Gt();function Jee(e){let{lastPaid:t,now:n,storagePrices:r,storageStat:i,special:a,masterchain:o}=e;if(n<=t||r.length===0||n<r[0].utime_since||a)return BigInt(0);let s=Math.max(t,r[0].utime_since),l=BigInt(0);for(let c=0;c<r.length&&s<n;c++){let u=c<r.length-1?Math.min(n,r[c+1].utime_since):n,d=BigInt(0);if(s<u){let h=u-s;d+=BigInt(i.cells)*(o?r[c].mc_cell_price_ps:r[c].cell_price_ps),d+=BigInt(i.bits)*(o?r[c].mc_bit_price_ps:r[c].bit_price_ps),d=d*BigInt(h)}s=u,l+=d}return JR(l)}function a6(e,t,n){return e.lumpPrice+JR(e.bitPrice*n+e.cellPrice*t)}function ete(e,t){return e<=t.flatLimit?t.flatPrice:t.flatPrice+(t.price*(e-t.flatLimit)>>16n)}function tte(e,t){let n=ly(t);return n.bits-=t.bits.length,n.cells-=1,a6(e,BigInt(n.cells),BigInt(n.bits))}function nte(e,t){let n=(0,i6.loadMessageRelaxed)(t.beginParse()),r={bits:0,cells:0};if(n.init){let l=new i6.Cell().asBuilder();(0,i6.storeStateInit)(n.init)(l);let c=l.endCell(),u=ly(c);u.bits-=c.bits.length,u.cells-=1,r.bits+=u.bits,r.cells+=u.cells}let i=ly(n.body);i.bits-=n.body.bits.length,i.cells-=1,r.bits+=i.bits,r.cells+=i.cells;let a=a6(e,BigInt(r.cells),BigInt(r.bits)),o=a*BigInt(e.firstFrac)>>16n,s=a-o;return{fees:o,remaining:s}}function ly(e){let t=e.bits.length,n=1;for(let r of e.refs){let i=ly(r);n+=i.cells,t+=i.bits}return{bits:t,cells:n}}function JR(e){let t=e%65536n,n=e>>16n;return t!==0n&&(n+=1n),n}});var tU=V(ve=>{\"use strict\";b();var rte=ve&&ve.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(\"get\"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),ite=ve&&ve.__exportStar||function(e,t){for(var n in e)n!==\"default\"&&!Object.prototype.hasOwnProperty.call(t,n)&&rte(t,e,n)};Object.defineProperty(ve,\"__esModule\",{value:!0});ve.computeStorageFees=ve.computeMessageForwardFees=ve.computeGasPrices=ve.computeFwdFees=ve.computeExternalMessageFees=ve.loadConfigParamsAsSlice=ve.loadConfigParamById=ve.parseFullerConfig=ve.parseFullConfig=ve.parseVotingSetup=ve.parseValidatorSet=ve.parseProposalSetup=ve.parseBridge=ve.configParseWorkchainDescriptor=ve.configParseValidatorSet=ve.configParseMsgPrices=ve.configParseMasterAddressRequired=ve.configParseMasterAddress=ve.configParseGasLimitsPrices=ve.configParseBridge=ve.configParse40=ve.configParse29=ve.configParse28=ve.configParse18=ve.configParse17=ve.configParse16=ve.configParse15=ve.configParse13=ve.configParse12=ve.configParse8=ve.configParse5=ve.ElectorContract=ve.MultisigWallet=ve.MultisigOrderBuilder=ve.MultisigOrder=ve.JettonWallet=ve.JettonMaster=ve.WalletContractV5R1=ve.WalletContractV5Beta=ve.WalletContractV4=ve.WalletContractV3R2=ve.WalletContractV3R1=ve.WalletContractV2R2=ve.WalletContractV2R1=ve.WalletContractV1R3=ve.WalletContractV1R2=ve.WalletContractV1R1=ve.TonClient4=ve.TonClient=ve.HttpApi=void 0;ite(Gt(),ve);var ate=o4();Object.defineProperty(ve,\"HttpApi\",{enumerable:!0,get:function(){return ate.HttpApi}});var ote=DM();Object.defineProperty(ve,\"TonClient\",{enumerable:!0,get:function(){return ote.TonClient}});var ste=KM();Object.defineProperty(ve,\"TonClient4\",{enumerable:!0,get:function(){return ste.TonClient4}});var lte=bR();Object.defineProperty(ve,\"WalletContractV1R1\",{enumerable:!0,get:function(){return lte.WalletContractV1R1}});var cte=vR();Object.defineProperty(ve,\"WalletContractV1R2\",{enumerable:!0,get:function(){return cte.WalletContractV1R2}});var ute=wR();Object.defineProperty(ve,\"WalletContractV1R3\",{enumerable:!0,get:function(){return ute.WalletContractV1R3}});var dte=xR();Object.defineProperty(ve,\"WalletContractV2R1\",{enumerable:!0,get:function(){return dte.WalletContractV2R1}});var fte=CR();Object.defineProperty(ve,\"WalletContractV2R2\",{enumerable:!0,get:function(){return fte.WalletContractV2R2}});var hte=SR();Object.defineProperty(ve,\"WalletContractV3R1\",{enumerable:!0,get:function(){return hte.WalletContractV3R1}});var gte=_R();Object.defineProperty(ve,\"WalletContractV3R2\",{enumerable:!0,get:function(){return gte.WalletContractV3R2}});var pte=AR();Object.defineProperty(ve,\"WalletContractV4\",{enumerable:!0,get:function(){return pte.WalletContractV4}});var mte=kR();Object.defineProperty(ve,\"WalletContractV5Beta\",{enumerable:!0,get:function(){return mte.WalletContractV5Beta}});var yte=BR();Object.defineProperty(ve,\"WalletContractV5R1\",{enumerable:!0,get:function(){return yte.WalletContractV5R1}});var bte=MR();Object.defineProperty(ve,\"JettonMaster\",{enumerable:!0,get:function(){return bte.JettonMaster}});var vte=RR();Object.defineProperty(ve,\"JettonWallet\",{enumerable:!0,get:function(){return vte.JettonWallet}});var wte=q4();Object.defineProperty(ve,\"MultisigOrder\",{enumerable:!0,get:function(){return wte.MultisigOrder}});var xte=OR();Object.defineProperty(ve,\"MultisigOrderBuilder\",{enumerable:!0,get:function(){return xte.MultisigOrderBuilder}});var Cte=NR();Object.defineProperty(ve,\"MultisigWallet\",{enumerable:!0,get:function(){return Cte.MultisigWallet}});var Ste=PR();Object.defineProperty(ve,\"ElectorContract\",{enumerable:!0,get:function(){return Ste.ElectorContract}});var Sn=XR();Object.defineProperty(ve,\"configParse5\",{enumerable:!0,get:function(){return Sn.configParse5}});Object.defineProperty(ve,\"configParse8\",{enumerable:!0,get:function(){return Sn.configParse8}});Object.defineProperty(ve,\"configParse12\",{enumerable:!0,get:function(){return Sn.configParse12}});Object.defineProperty(ve,\"configParse13\",{enumerable:!0,get:function(){return Sn.configParse13}});Object.defineProperty(ve,\"configParse15\",{enumerable:!0,get:function(){return Sn.configParse15}});Object.defineProperty(ve,\"configParse16\",{enumerable:!0,get:function(){return Sn.configParse16}});Object.defineProperty(ve,\"configParse17\",{enumerable:!0,get:function(){return Sn.configParse17}});Object.defineProperty(ve,\"configParse18\",{enumerable:!0,get:function(){return Sn.configParse18}});Object.defineProperty(ve,\"configParse28\",{enumerable:!0,get:function(){return Sn.configParse28}});Object.defineProperty(ve,\"configParse29\",{enumerable:!0,get:function(){return Sn.configParse29}});Object.defineProperty(ve,\"configParse40\",{enumerable:!0,get:function(){return Sn.configParse40}});Object.defineProperty(ve,\"configParseBridge\",{enumerable:!0,get:function(){return Sn.configParseBridge}});Object.defineProperty(ve,\"configParseGasLimitsPrices\",{enumerable:!0,get:function(){return Sn.configParseGasLimitsPrices}});Object.defineProperty(ve,\"configParseMasterAddress\",{enumerable:!0,get:function(){return Sn.configParseMasterAddress}});Object.defineProperty(ve,\"configParseMasterAddressRequired\",{enumerable:!0,get:function(){return Sn.configParseMasterAddressRequired}});Object.defineProperty(ve,\"configParseMsgPrices\",{enumerable:!0,get:function(){return Sn.configParseMsgPrices}});Object.defineProperty(ve,\"configParseValidatorSet\",{enumerable:!0,get:function(){return Sn.configParseValidatorSet}});Object.defineProperty(ve,\"configParseWorkchainDescriptor\",{enumerable:!0,get:function(){return Sn.configParseWorkchainDescriptor}});Object.defineProperty(ve,\"parseBridge\",{enumerable:!0,get:function(){return Sn.parseBridge}});Object.defineProperty(ve,\"parseProposalSetup\",{enumerable:!0,get:function(){return Sn.parseProposalSetup}});Object.defineProperty(ve,\"parseValidatorSet\",{enumerable:!0,get:function(){return Sn.parseValidatorSet}});Object.defineProperty(ve,\"parseVotingSetup\",{enumerable:!0,get:function(){return Sn.parseVotingSetup}});Object.defineProperty(ve,\"parseFullConfig\",{enumerable:!0,get:function(){return Sn.parseFullConfig}});Object.defineProperty(ve,\"parseFullerConfig\",{enumerable:!0,get:function(){return Sn.parseFullerConfig}});Object.defineProperty(ve,\"loadConfigParamById\",{enumerable:!0,get:function(){return Sn.loadConfigParamById}});Object.defineProperty(ve,\"loadConfigParamsAsSlice\",{enumerable:!0,get:function(){return Sn.loadConfigParamsAsSlice}});var o0=eU();Object.defineProperty(ve,\"computeExternalMessageFees\",{enumerable:!0,get:function(){return o0.computeExternalMessageFees}});Object.defineProperty(ve,\"computeFwdFees\",{enumerable:!0,get:function(){return o0.computeFwdFees}});Object.defineProperty(ve,\"computeGasPrices\",{enumerable:!0,get:function(){return o0.computeGasPrices}});Object.defineProperty(ve,\"computeMessageForwardFees\",{enumerable:!0,get:function(){return o0.computeMessageForwardFees}});Object.defineProperty(ve,\"computeStorageFees\",{enumerable:!0,get:function(){return o0.computeStorageFees}})});b();var lU=yn(_9(),1);b();var ri=yn(tl(),1);b();var $w=yn(ga(),1),Ur=yn(tl(),1);b();b();b();var tu=yn(B9(),1),Vf=yn(Kg(),1),pa;(function(e){e[e.UNKNOWN_ERROR=0]=\"UNKNOWN_ERROR\",e[e.BAD_REQUEST_ERROR=1]=\"BAD_REQUEST_ERROR\",e[e.MANIFEST_NOT_FOUND_ERROR=2]=\"MANIFEST_NOT_FOUND_ERROR\",e[e.MANIFEST_CONTENT_ERROR=3]=\"MANIFEST_CONTENT_ERROR\",e[e.UNKNOWN_APP_ERROR=100]=\"UNKNOWN_APP_ERROR\",e[e.USER_REJECTS_ERROR=300]=\"USER_REJECTS_ERROR\",e[e.METHOD_NOT_SUPPORTED=400]=\"METHOD_NOT_SUPPORTED\"})(pa||(pa={}));var nu;(function(e){e[e.UNKNOWN_ERROR=0]=\"UNKNOWN_ERROR\",e[e.METHOD_NOT_SUPPORTED=400]=\"METHOD_NOT_SUPPORTED\"})(nu||(nu={}));var ps;(function(e){e[e.UNKNOWN_ERROR=0]=\"UNKNOWN_ERROR\",e[e.BAD_REQUEST_ERROR=1]=\"BAD_REQUEST_ERROR\",e[e.UNKNOWN_APP_ERROR=100]=\"UNKNOWN_APP_ERROR\",e[e.USER_REJECTS_ERROR=300]=\"USER_REJECTS_ERROR\",e[e.METHOD_NOT_SUPPORTED=400]=\"METHOD_NOT_SUPPORTED\"})(ps||(ps={}));var ms;(function(e){e[e.UNKNOWN_ERROR=0]=\"UNKNOWN_ERROR\",e[e.BAD_REQUEST_ERROR=1]=\"BAD_REQUEST_ERROR\",e[e.UNKNOWN_APP_ERROR=100]=\"UNKNOWN_APP_ERROR\",e[e.USER_REJECTS_ERROR=300]=\"USER_REJECTS_ERROR\",e[e.METHOD_NOT_SUPPORTED=400]=\"METHOD_NOT_SUPPORTED\"})(ms||(ms={}));var M9;(function(e){e[e.UNKNOWN_ERROR=0]=\"UNKNOWN_ERROR\",e[e.BAD_REQUEST_ERROR=1]=\"BAD_REQUEST_ERROR\",e[e.UNKNOWN_APP_ERROR=100]=\"UNKNOWN_APP_ERROR\",e[e.METHOD_NOT_SUPPORTED=400]=\"METHOD_NOT_SUPPORTED\"})(M9||(M9={}));var Cl;(function(e){e.MAINNET=\"-239\",e.TESTNET=\"-3\"})(Cl||(Cl={}));function HN(e,t){let n=tu.default.encodeBase64(e);return t?encodeURIComponent(n):n}function VN(e,t){return t&&(e=decodeURIComponent(e)),tu.default.decodeBase64(e)}function WN(e,t=!1){let n;return e instanceof Uint8Array?n=e:(typeof e!=\"string\"&&(e=JSON.stringify(e)),n=tu.default.decodeUTF8(e)),HN(n,t)}function FN(e,t=!1){let n=VN(e,t);return{toString(){return tu.default.encodeUTF8(n)},toObject(){try{return JSON.parse(tu.default.encodeUTF8(n))}catch{return null}},toUint8Array(){return n}}}var Ff={encode:WN,decode:FN};function KN(e,t){let n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}function $N(e,t){if(t>=e.length)throw new Error(\"Index is out of buffer\");let n=e.slice(0,t),r=e.slice(t);return[n,r]}function av(e){let t=\"\";return e.forEach(n=>{t+=(\"0\"+(n&255).toString(16)).slice(-2)}),t}function Wf(e){if(e.length%2!==0)throw new Error(`Cannot convert ${e} to bytesArray`);let t=new Uint8Array(e.length/2);for(let n=0;n<e.length;n+=2)t[n/2]=parseInt(e.slice(n,n+2),16);return t}var ma=class{constructor(t){this.nonceLength=24,this.keyPair=t?this.createKeypairFromString(t):this.createKeypair(),this.sessionId=av(this.keyPair.publicKey)}createKeypair(){return Vf.default.box.keyPair()}createKeypairFromString(t){return{publicKey:Wf(t.publicKey),secretKey:Wf(t.secretKey)}}createNonce(){return Vf.default.randomBytes(this.nonceLength)}encrypt(t,n){let r=new TextEncoder().encode(t),i=this.createNonce(),a=Vf.default.box(r,i,n,this.keyPair.secretKey);return KN(i,a)}decrypt(t,n){let[r,i]=$N(t,this.nonceLength),a=Vf.default.box.open(i,r,n,this.keyPair.secretKey);if(!a)throw new Error(`Decryption error: \n message: ${t.toString()} \n sender pubkey: ${n.toString()} \n keypair pubkey: ${this.keyPair.publicKey.toString()} \n keypair secretkey: ${this.keyPair.secretKey.toString()}`);return new TextDecoder().decode(a)}stringifyKeypair(){return{publicKey:av(this.keyPair.publicKey),secretKey:av(this.keyPair.secretKey)}}};b();b();function R9(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function Ne(e,t,n,r){function i(a){return a instanceof n?a:new n(function(o){o(a)})}return new(n||(n=Promise))(function(a,o){function s(u){try{c(r.next(u))}catch(d){o(d)}}function l(u){try{c(r.throw(u))}catch(d){o(d)}}function c(u){u.done?a(u.value):i(u.value).then(s,l)}c((r=r.apply(e,t||[])).next())})}var He=class e extends Error{get info(){return\"\"}constructor(t,n){super(t,n),this.message=`${e.prefix} ${this.constructor.name}${this.info?\": \"+this.info:\"\"}${t?`\n`+t:\"\"}`,Object.setPrototypeOf(this,e.prototype)}};He.prefix=\"[TON_CONNECT_SDK_ERROR]\";var sv=class e extends He{get info(){return\"Passed DappMetadata is in incorrect format.\"}constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}},Gg=class e extends He{get info(){return\"Passed `tonconnect-manifest.json` contains errors. Check format of your manifest. See more https://github.com/ton-connect/docs/blob/main/requests-responses.md#app-manifest\"}constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}},Qg=class e extends He{get info(){return\"Manifest not found. Make sure you added `tonconnect-manifest.json` to the root of your app or passed correct manifestUrl. See more https://github.com/ton-connect/docs/blob/main/requests-responses.md#app-manifest\"}constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}},lv=class e extends He{get info(){return\"Wallet connection called but wallet already connected. To avoid the error, disconnect the wallet before doing a new connection.\"}constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}},Xg=class e extends He{get info(){return\"Send transaction or other protocol methods called while wallet is not connected.\"}constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}},cv=class e extends He{get info(){return\"There is an attempt to connect to the injected wallet while it is not exists in the webpage.\"}constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}},ya=class e extends He{get info(){return\"Wallet doesn't support requested feature method.\"}constructor(t,n){super(t,n),Object.setPrototypeOf(this,e.prototype)}},iu=class e extends He{get info(){return\"Missing required features. You need to update your wallet.\"}constructor(t,n){super(t,n),Object.setPrototypeOf(this,e.prototype)}};function ZN(e){return\"jsBridgeKey\"in e}var Yf=class e extends He{get info(){return\"User rejects the action in the wallet.\"}constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}},Gf=class e extends He{get info(){return\"Request to the wallet contains errors.\"}constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}},Qf=class e extends He{get info(){return\"App tries to send rpc request to the injected wallet while not connected.\"}constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}};var uv=class e extends He{get info(){return\"An error occurred while fetching the wallets list.\"}constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}},Fi=class e extends He{get info(){return\"Passed address is in incorrect format.\"}constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}},Jg=class e extends He{get info(){return\"Passed hex is in incorrect format.\"}constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}},Ki=class e extends He{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}},U9={[pa.UNKNOWN_ERROR]:Ki,[pa.USER_REJECTS_ERROR]:Yf,[pa.BAD_REQUEST_ERROR]:Gf,[pa.UNKNOWN_APP_ERROR]:Qf,[pa.MANIFEST_NOT_FOUND_ERROR]:Qg,[pa.MANIFEST_CONTENT_ERROR]:Gg},dv=class{parseError(t){let n=Ki;return t.code in U9&&(n=U9[t.code]||Ki),new n(t.message)}},YN=new dv,e1=class{isError(t){return\"error\"in t}},O9={[ps.UNKNOWN_ERROR]:Ki,[ps.USER_REJECTS_ERROR]:Yf,[ps.BAD_REQUEST_ERROR]:Gf,[ps.UNKNOWN_APP_ERROR]:Qf},fv=class extends e1{convertToRpcRequest(t){return{method:\"sendTransaction\",params:[JSON.stringify(t)]}}parseAndThrowError(t){let n=Ki;throw t.error.code in O9&&(n=O9[t.error.code]||Ki),new n(t.error.message)}convertFromRpcResponse(t){return{boc:t.result}}},$g=new fv,I9={[ms.UNKNOWN_ERROR]:Ki,[ms.USER_REJECTS_ERROR]:Yf,[ms.BAD_REQUEST_ERROR]:Gf,[ms.UNKNOWN_APP_ERROR]:Qf},hv=class extends e1{convertToRpcRequest(t){return{method:\"signData\",params:[JSON.stringify(t)]}}parseAndThrowError(t){let n=Ki;throw t.error.code in I9&&(n=I9[t.error.code]||Ki),new n(t.error.message)}convertFromRpcResponse(t){return t.result}},Zg=new hv,gv=class{constructor(t,n){this.storage=t,this.storeKey=\"ton-connect-storage_http-bridge-gateway::\"+n}storeLastEventId(t){return Ne(this,void 0,void 0,function*(){return this.storage.setItem(this.storeKey,t)})}removeLastEventId(){return Ne(this,void 0,void 0,function*(){return this.storage.removeItem(this.storeKey)})}getLastEventId(){return Ne(this,void 0,void 0,function*(){let t=yield this.storage.getItem(this.storeKey);return t||null})}};function GN(e){return e.slice(-1)===\"/\"?e.slice(0,-1):e}function z9(e,t){return GN(e)+\"/\"+t}function wa(e){if(!e)return!1;let t=new URL(e);return t.protocol===\"tg:\"||t.hostname===\"t.me\"}function n1(e){return e.replaceAll(\".\",\"%2E\").replaceAll(\"-\",\"%2D\").replaceAll(\"_\",\"%5F\").replaceAll(\"&\",\"-\").replaceAll(\"=\",\"__\").replaceAll(\"%\",\"--\")}function D9(e,t){return Ne(this,void 0,void 0,function*(){return new Promise((n,r)=>{var i,a;if(!((i=void 0)===null||i===void 0)&&i.aborted){r(new He(\"Delay aborted\"));return}let o=setTimeout(()=>n(),e);(a=void 0)===null||a===void 0||a.addEventListener(\"abort\",()=>{clearTimeout(o),r(new He(\"Delay aborted\"))})})})}function Oi(e){let t=new AbortController;return e?.aborted?t.abort():e?.addEventListener(\"abort\",()=>t.abort(),{once:!0}),t}function Kf(e,t){return Ne(this,void 0,void 0,function*(){var n,r;let i=(n=t?.attempts)!==null&&n!==void 0?n:10,a=(r=t?.delayMs)!==null&&r!==void 0?r:200,o=Oi(t?.signal);if(typeof e!=\"function\")throw new He(`Expected a function, got ${typeof e}`);let s=0,l;for(;s<i;){if(o.signal.aborted)throw new He(`Aborted after attempts ${s}`);try{return yield e({signal:o.signal})}catch(c){l=c,s++,s<i&&(yield D9(a))}}throw l})}function nr(...e){try{[...e]}catch{}}function go(...e){try{console.error(\"[TON_CONNECT_SDK]\",...e)}catch{}}function QN(...e){try{console.warn(\"[TON_CONNECT_SDK]\",...e)}catch{}}function XN(e,t){let n=null,r=null,i=null,a=null,o=null,s=(d,...h)=>Ne(this,void 0,void 0,function*(){if(a=d??null,o?.abort(),o=Oi(d),o.signal.aborted)throw new He(\"Resource creation was aborted\");r=h??null;let g=e(o.signal,...h);i=g;let y=yield g;if(i!==g&&y!==n)throw yield t(y),new He(\"Resource creation was aborted by a new resource creation\");return n=y,n});return{create:s,current:()=>n??null,dispose:()=>Ne(this,void 0,void 0,function*(){try{let d=n;n=null;let h=i;i=null;try{o?.abort()}catch{}yield Promise.allSettled([d?t(d):Promise.resolve(),h?t(yield h):Promise.resolve()])}catch{}}),recreate:d=>Ne(this,void 0,void 0,function*(){let h=n,g=i,y=r,E=a;if(yield D9(d),h===n&&g===i&&y===r&&E===a)return yield s(a,...y??[]);throw new He(\"Resource recreation was aborted by a new resource creation\")})}}function JN(e,t){let n=t?.timeout,r=t?.signal,i=Oi(r);return new Promise((a,o)=>Ne(this,void 0,void 0,function*(){if(i.signal.aborted){o(new He(\"Operation aborted\"));return}let s;typeof n<\"u\"&&(s=setTimeout(()=>{i.abort(),o(new He(`Timeout after ${n}ms`))},n)),i.signal.addEventListener(\"abort\",()=>{clearTimeout(s),o(new He(\"Operation aborted\"))},{once:!0});let l={timeout:n,abort:i.signal};yield e((...c)=>{clearTimeout(s),a(...c)},()=>{clearTimeout(s),o()},l)}))}var $f=class{get isReady(){let t=this.eventSource.current();return t?.readyState===EventSource.OPEN}get isClosed(){let t=this.eventSource.current();return t?.readyState!==EventSource.OPEN}get isConnecting(){let t=this.eventSource.current();return t?.readyState===EventSource.CONNECTING}constructor(t,n,r,i,a){this.bridgeUrl=n,this.sessionId=r,this.listener=i,this.errorsListener=a,this.ssePath=\"events\",this.postPath=\"message\",this.heartbeatMessage=\"heartbeat\",this.defaultTtl=300,this.defaultReconnectDelay=2e3,this.defaultResendDelay=5e3,this.eventSource=XN((o,s)=>Ne(this,void 0,void 0,function*(){let l={bridgeUrl:this.bridgeUrl,ssePath:this.ssePath,sessionId:this.sessionId,bridgeGatewayStorage:this.bridgeGatewayStorage,errorHandler:this.errorsHandler.bind(this),messageHandler:this.messagesHandler.bind(this),signal:o,openingDeadlineMS:s};return yield eP(l)}),o=>Ne(this,void 0,void 0,function*(){o.close()})),this.bridgeGatewayStorage=new gv(t,n)}registerSession(t){return Ne(this,void 0,void 0,function*(){yield this.eventSource.create(t?.signal,t?.openingDeadlineMS)})}send(t,n,r,i){return Ne(this,void 0,void 0,function*(){var a;let o={};typeof i==\"number\"?o.ttl=i:(o.ttl=i?.ttl,o.signal=i?.signal,o.attempts=i?.attempts);let s=new URL(z9(this.bridgeUrl,this.postPath));s.searchParams.append(\"client_id\",this.sessionId),s.searchParams.append(\"to\",n),s.searchParams.append(\"ttl\",(o?.ttl||this.defaultTtl).toString()),s.searchParams.append(\"topic\",r);let l=Ff.encode(t);yield Kf(c=>Ne(this,void 0,void 0,function*(){let u=yield this.post(s,l,c.signal);if(!u.ok)throw new He(`Bridge send failed, status ${u.status}`)}),{attempts:(a=o?.attempts)!==null&&a!==void 0?a:Number.MAX_SAFE_INTEGER,delayMs:this.defaultResendDelay,signal:o?.signal})})}pause(){this.eventSource.dispose().catch(t=>go(`Bridge pause failed, ${t}`))}unPause(){return Ne(this,void 0,void 0,function*(){yield this.eventSource.recreate(0)})}close(){return Ne(this,void 0,void 0,function*(){yield this.eventSource.dispose().catch(t=>go(`Bridge close failed, ${t}`))})}setListener(t){this.listener=t}setErrorsListener(t){this.errorsListener=t}post(t,n,r){return Ne(this,void 0,void 0,function*(){let i=yield fetch(t,{method:\"post\",body:n,signal:r});if(!i.ok)throw new He(`Bridge send failed, status ${i.status}`);return i})}errorsHandler(t,n){return Ne(this,void 0,void 0,function*(){if(this.isConnecting)throw t.close(),new He(\"Bridge error, failed to connect\");if(this.isReady){try{this.errorsListener(n)}catch{}return}if(this.isClosed)return t.close(),nr(`Bridge reconnecting, ${this.defaultReconnectDelay}ms delay`),yield this.eventSource.recreate(this.defaultReconnectDelay);throw new He(\"Bridge error, unknown state\")})}messagesHandler(t){return Ne(this,void 0,void 0,function*(){if(t.data===this.heartbeatMessage||(yield this.bridgeGatewayStorage.storeLastEventId(t.lastEventId),this.isClosed))return;let n;try{n=JSON.parse(t.data)}catch{throw new He(`Bridge message parse failed, message ${t.data}`)}this.listener(n)})}};function eP(e){return Ne(this,void 0,void 0,function*(){return yield JN((t,n,r)=>Ne(this,void 0,void 0,function*(){var i;let o=Oi(r.signal).signal;if(o.aborted){n(new He(\"Bridge connection aborted\"));return}let s=new URL(z9(e.bridgeUrl,e.ssePath));s.searchParams.append(\"client_id\",e.sessionId);let l=yield e.bridgeGatewayStorage.getLastEventId();if(l&&s.searchParams.append(\"last_event_id\",l),o.aborted){n(new He(\"Bridge connection aborted\"));return}let c=new EventSource(s.toString());c.onerror=u=>Ne(this,void 0,void 0,function*(){if(o.aborted){c.close(),n(new He(\"Bridge connection aborted\"));return}try{let d=yield e.errorHandler(c,u);d!==c&&c.close(),d&&d!==c&&t(d)}catch(d){c.close(),n(d)}}),c.onopen=()=>{if(o.aborted){c.close(),n(new He(\"Bridge connection aborted\"));return}t(c)},c.onmessage=u=>{if(o.aborted){c.close(),n(new He(\"Bridge connection aborted\"));return}e.messageHandler(u)},(i=e.signal)===null||i===void 0||i.addEventListener(\"abort\",()=>{c.close(),n(new He(\"Bridge connection aborted\"))})}),{timeout:e.openingDeadlineMS,signal:e.signal})})}var tP=300*1e3;function Zf(e){return!(\"connectEvent\"in e)}function nP(e){return!(\"connectEvent\"in e)}function rP(e){var t;return Date.now()-((t=e.createdAt)!==null&&t!==void 0?t:0)>tP}var Sl=class{constructor(t){this.storage=t,this.storeKey=\"ton-connect-storage_bridge-connection\"}storeConnection(t){return Ne(this,void 0,void 0,function*(){if(t.type===\"injected\")return this.storage.setItem(this.storeKey,JSON.stringify(t));if(!Zf(t)){let r={sessionKeyPair:t.session.sessionCrypto.stringifyKeypair(),walletPublicKey:t.session.walletPublicKey,bridgeUrl:t.session.bridgeUrl},i={type:\"http\",connectEvent:t.connectEvent,session:r,lastWalletEventId:t.lastWalletEventId,nextRpcRequestId:t.nextRpcRequestId};return this.storage.setItem(this.storeKey,JSON.stringify(i))}let n={type:\"http\",connectionSource:t.connectionSource,sessionCrypto:t.sessionCrypto.stringifyKeypair(),createdAt:Date.now()};return this.storage.setItem(this.storeKey,JSON.stringify(n))})}removeConnection(){return Ne(this,void 0,void 0,function*(){return this.storage.removeItem(this.storeKey)})}getConnection(){return Ne(this,void 0,void 0,function*(){let t=yield this.storage.getItem(this.storeKey);if(!t)return null;let n=JSON.parse(t);if(n.type===\"injected\")return n;if(!nP(n)){let r=new ma(n.session.sessionKeyPair);return{type:\"http\",connectEvent:n.connectEvent,lastWalletEventId:n.lastWalletEventId,nextRpcRequestId:n.nextRpcRequestId,session:{sessionCrypto:r,bridgeUrl:n.session.bridgeUrl,walletPublicKey:n.session.walletPublicKey}}}return rP(n)?(yield this.removeConnection(),null):{type:\"http\",sessionCrypto:new ma(n.sessionCrypto),connectionSource:n.connectionSource}})}getHttpConnection(){return Ne(this,void 0,void 0,function*(){let t=yield this.getConnection();if(!t)throw new He(\"Trying to read HTTP connection source while nothing is stored\");if(t.type===\"injected\")throw new He(\"Trying to read HTTP connection source while injected connection is stored\");return t})}getHttpPendingConnection(){return Ne(this,void 0,void 0,function*(){let t=yield this.getConnection();if(!t)throw new He(\"Trying to read HTTP connection source while nothing is stored\");if(t.type===\"injected\")throw new He(\"Trying to read HTTP connection source while injected connection is stored\");if(!Zf(t))throw new He(\"Trying to read HTTP-pending connection while http connection is stored\");return t})}getInjectedConnection(){return Ne(this,void 0,void 0,function*(){let t=yield this.getConnection();if(!t)throw new He(\"Trying to read Injected bridge connection source while nothing is stored\");if(t?.type===\"http\")throw new He(\"Trying to read Injected bridge connection source while HTTP connection is stored\");return t})}storedConnectionType(){return Ne(this,void 0,void 0,function*(){let t=yield this.storage.getItem(this.storeKey);return t?JSON.parse(t).type:null})}storeLastWalletEventId(t){return Ne(this,void 0,void 0,function*(){let n=yield this.getConnection();if(n&&n.type===\"http\"&&!Zf(n))return n.lastWalletEventId=t,this.storeConnection(n)})}getLastWalletEventId(){return Ne(this,void 0,void 0,function*(){let t=yield this.getConnection();if(t&&\"lastWalletEventId\"in t)return t.lastWalletEventId})}increaseNextRpcRequestId(){return Ne(this,void 0,void 0,function*(){let t=yield this.getConnection();if(t&&\"nextRpcRequestId\"in t){let n=t.nextRpcRequestId||0;return t.nextRpcRequestId=n+1,this.storeConnection(t)}})}getNextRpcRequestId(){return Ne(this,void 0,void 0,function*(){let t=yield this.getConnection();return t&&\"nextRpcRequestId\"in t&&t.nextRpcRequestId||0})}},L9=2,t1=class e{static fromStorage(t){return Ne(this,void 0,void 0,function*(){let r=yield new Sl(t).getHttpConnection();return Zf(r)?new e(t,r.connectionSource):new e(t,{bridgeUrl:r.session.bridgeUrl})})}constructor(t,n){this.storage=t,this.walletConnectionSource=n,this.type=\"http\",this.standardUniversalLink=\"tc://\",this.pendingRequests=new Map,this.session=null,this.gateway=null,this.pendingGateways=[],this.listeners=[],this.defaultOpeningDeadlineMS=12e3,this.defaultRetryTimeoutMS=2e3,this.connectionStorage=new Sl(t)}connect(t,n){var r;let i=Oi(n?.signal);(r=this.abortController)===null||r===void 0||r.abort(),this.abortController=i,this.closeGateways();let a=new ma;this.session={sessionCrypto:a,bridgeUrl:\"bridgeUrl\"in this.walletConnectionSource?this.walletConnectionSource.bridgeUrl:\"\"},this.connectionStorage.storeConnection({type:\"http\",connectionSource:this.walletConnectionSource,sessionCrypto:a}).then(()=>Ne(this,void 0,void 0,function*(){i.signal.aborted||(yield Kf(s=>{var l;return this.openGateways(a,{openingDeadlineMS:(l=n?.openingDeadlineMS)!==null&&l!==void 0?l:this.defaultOpeningDeadlineMS,signal:s?.signal})},{attempts:Number.MAX_SAFE_INTEGER,delayMs:this.defaultRetryTimeoutMS,signal:i.signal}))}));let o=\"universalLink\"in this.walletConnectionSource&&this.walletConnectionSource.universalLink?this.walletConnectionSource.universalLink:this.standardUniversalLink;return this.generateUniversalLink(o,t)}restoreConnection(t){return Ne(this,void 0,void 0,function*(){var n,r;let i=Oi(t?.signal);if((n=this.abortController)===null||n===void 0||n.abort(),this.abortController=i,i.signal.aborted)return;this.closeGateways();let a=yield this.connectionStorage.getHttpConnection();if(!a||i.signal.aborted)return;let o=(r=t?.openingDeadlineMS)!==null&&r!==void 0?r:this.defaultOpeningDeadlineMS;if(Zf(a))return this.session={sessionCrypto:a.sessionCrypto,bridgeUrl:\"bridgeUrl\"in this.walletConnectionSource?this.walletConnectionSource.bridgeUrl:\"\"},yield this.openGateways(a.sessionCrypto,{openingDeadlineMS:o,signal:i?.signal});if(Array.isArray(this.walletConnectionSource))throw new He(\"Internal error. Connection source is array while WalletConnectionSourceHTTP was expected.\");if(this.session=a.session,this.gateway&&(nr(\"Gateway is already opened, closing previous gateway\"),yield this.gateway.close()),this.gateway=new $f(this.storage,this.walletConnectionSource.bridgeUrl,a.session.sessionCrypto.sessionId,this.gatewayListener.bind(this),this.gatewayErrorsListener.bind(this)),!i.signal.aborted){this.listeners.forEach(s=>s(a.connectEvent));try{yield Kf(s=>this.gateway.registerSession({openingDeadlineMS:o,signal:s.signal}),{attempts:Number.MAX_SAFE_INTEGER,delayMs:this.defaultRetryTimeoutMS,signal:i.signal})}catch{yield this.disconnect({signal:i.signal});return}}})}sendRequest(t,n){let r={};return typeof n==\"function\"?r.onRequestSent=n:(r.onRequestSent=n?.onRequestSent,r.signal=n?.signal,r.attempts=n?.attempts),new Promise((i,a)=>Ne(this,void 0,void 0,function*(){var o;if(!this.gateway||!this.session||!(\"walletPublicKey\"in this.session))throw new He(\"Trying to send bridge request without session\");let s=(yield this.connectionStorage.getNextRpcRequestId()).toString();yield this.connectionStorage.increaseNextRpcRequestId(),nr(\"Send http-bridge request:\",Object.assign(Object.assign({},t),{id:s}));let l=this.session.sessionCrypto.encrypt(JSON.stringify(Object.assign(Object.assign({},t),{id:s})),Wf(this.session.walletPublicKey));try{yield this.gateway.send(l,this.session.walletPublicKey,t.method,{attempts:r?.attempts,signal:r?.signal}),(o=r?.onRequestSent)===null||o===void 0||o.call(r),this.pendingRequests.set(s.toString(),i)}catch(c){a(c)}}))}closeConnection(){this.closeGateways(),this.listeners=[],this.session=null,this.gateway=null}disconnect(t){return Ne(this,void 0,void 0,function*(){return new Promise(n=>Ne(this,void 0,void 0,function*(){let r=!1,i=null,a=()=>{r||(r=!0,this.removeBridgeAndSession().then(n))};try{this.closeGateways();let o=Oi(t?.signal);i=setTimeout(()=>{o.abort()},this.defaultOpeningDeadlineMS),yield this.sendRequest({method:\"disconnect\",params:[]},{onRequestSent:a,signal:o.signal,attempts:1})}catch(o){nr(\"Disconnect error:\",o),r||this.removeBridgeAndSession().then(n)}finally{i&&clearTimeout(i),a()}}))})}listen(t){return this.listeners.push(t),()=>this.listeners=this.listeners.filter(n=>n!==t)}pause(){var t;(t=this.gateway)===null||t===void 0||t.pause(),this.pendingGateways.forEach(n=>n.pause())}unPause(){return Ne(this,void 0,void 0,function*(){let t=this.pendingGateways.map(n=>n.unPause());this.gateway&&t.push(this.gateway.unPause()),yield Promise.all(t)})}pendingGatewaysListener(t,n,r){return Ne(this,void 0,void 0,function*(){if(!this.pendingGateways.includes(t)){yield t.close();return}return this.closeGateways({except:t}),this.gateway&&(nr(\"Gateway is already opened, closing previous gateway\"),yield this.gateway.close()),this.session.bridgeUrl=n,this.gateway=t,this.gateway.setErrorsListener(this.gatewayErrorsListener.bind(this)),this.gateway.setListener(this.gatewayListener.bind(this)),this.gatewayListener(r)})}gatewayListener(t){return Ne(this,void 0,void 0,function*(){let n=JSON.parse(this.session.sessionCrypto.decrypt(Ff.decode(t.message).toUint8Array(),Wf(t.from)));if(nr(\"Wallet message received:\",n),!(\"event\"in n)){let i=n.id.toString(),a=this.pendingRequests.get(i);if(!a){nr(`Response id ${i} doesn't match any request's id`);return}a(n),this.pendingRequests.delete(i);return}if(n.id!==void 0){let i=yield this.connectionStorage.getLastWalletEventId();if(i!==void 0&&n.id<=i){go(`Received event id (=${n.id}) must be greater than stored last wallet event id (=${i}) `);return}n.event!==\"connect\"&&(yield this.connectionStorage.storeLastWalletEventId(n.id))}let r=this.listeners;n.event===\"connect\"&&(yield this.updateSession(n,t.from)),n.event===\"disconnect\"&&(nr(\"Removing bridge and session: received disconnect event\"),yield this.removeBridgeAndSession()),r.forEach(i=>i(n))})}gatewayErrorsListener(t){return Ne(this,void 0,void 0,function*(){throw new He(`Bridge error ${JSON.stringify(t)}`)})}updateSession(t,n){return Ne(this,void 0,void 0,function*(){this.session=Object.assign(Object.assign({},this.session),{walletPublicKey:n});let r=t.payload.items.find(a=>a.name===\"ton_addr\"),i=Object.assign(Object.assign({},t),{payload:Object.assign(Object.assign({},t.payload),{items:[r]})});yield this.connectionStorage.storeConnection({type:\"http\",session:this.session,lastWalletEventId:t.id,connectEvent:i,nextRpcRequestId:0})})}removeBridgeAndSession(){return Ne(this,void 0,void 0,function*(){this.closeConnection(),yield this.connectionStorage.removeConnection()})}generateUniversalLink(t,n){return wa(t)?this.generateTGUniversalLink(t,n):this.generateRegularUniversalLink(t,n)}generateRegularUniversalLink(t,n){let r=new URL(t);return r.searchParams.append(\"v\",L9.toString()),r.searchParams.append(\"id\",this.session.sessionCrypto.sessionId),r.searchParams.append(\"r\",JSON.stringify(n)),r.toString()}generateTGUniversalLink(t,n){let i=this.generateRegularUniversalLink(\"about:blank\",n).split(\"?\")[1],a=\"tonconnect-\"+n1(i),o=this.convertToDirectLink(t),s=new URL(o);return s.searchParams.append(\"startapp\",a),s.toString()}convertToDirectLink(t){let n=new URL(t);return n.searchParams.has(\"attach\")&&(n.searchParams.delete(\"attach\"),n.pathname+=\"/start\"),n.toString()}openGateways(t,n){return Ne(this,void 0,void 0,function*(){if(Array.isArray(this.walletConnectionSource)){this.pendingGateways.map(r=>r.close().catch()),this.pendingGateways=this.walletConnectionSource.map(r=>{let i=new $f(this.storage,r.bridgeUrl,t.sessionId,()=>{},()=>{});return i.setListener(a=>this.pendingGatewaysListener(i,r.bridgeUrl,a)),i}),yield Promise.allSettled(this.pendingGateways.map(r=>Kf(i=>{var a;return this.pendingGateways.some(o=>o===r)?r.registerSession({openingDeadlineMS:(a=n?.openingDeadlineMS)!==null&&a!==void 0?a:this.defaultOpeningDeadlineMS,signal:i.signal}):r.close()},{attempts:Number.MAX_SAFE_INTEGER,delayMs:this.defaultRetryTimeoutMS,signal:n?.signal})));return}else return this.gateway&&(nr(\"Gateway is already opened, closing previous gateway\"),yield this.gateway.close()),this.gateway=new $f(this.storage,this.walletConnectionSource.bridgeUrl,t.sessionId,this.gatewayListener.bind(this),this.gatewayErrorsListener.bind(this)),yield this.gateway.registerSession({openingDeadlineMS:n?.openingDeadlineMS,signal:n?.signal})})}closeGateways(t){var n;(n=this.gateway)===null||n===void 0||n.close(),this.pendingGateways.filter(r=>r!==t?.except).forEach(r=>r.close()),this.pendingGateways=[]}};function N9(e,t){return j9(e,[t])}function j9(e,t){return!e||typeof e!=\"object\"?!1:t.every(n=>n in e)}function iP(e){try{return!N9(e,\"tonconnect\")||!N9(e.tonconnect,\"walletInfo\")?!1:j9(e.tonconnect.walletInfo,[\"name\",\"app_name\",\"image\",\"about_url\",\"platforms\"])}catch{return!1}}var pv=class e{static getInstance(){return e.instance||(e.instance=new e),e.instance}constructor(){this.storage={}}get length(){return Object.keys(this.storage).length}clear(){this.storage={}}getItem(t){var n;return(n=this.storage[t])!==null&&n!==void 0?n:null}key(t){var n;let r=Object.keys(this.storage);return t<0||t>=r.length?null:(n=r[t])!==null&&n!==void 0?n:null}removeItem(t){delete this.storage[t]}setItem(t,n){this.storage[t]=n}};function r1(){if(!(typeof window>\"u\"))return window}function aP(){if(!(typeof document>\"u\"))return document}function oP(){var e;let t=(e=r1())===null||e===void 0?void 0:e.location.origin;return t?t+\"/tonconnect-manifest.json\":\"\"}function sP(){if(lP())return localStorage;if(cP())throw new He(\"`localStorage` is unavailable, but it is required for TonConnect. For more details, see https://github.com/ton-connect/sdk/tree/main/packages/sdk#init-connector\");return pv.getInstance()}function lP(){try{return typeof localStorage<\"u\"}catch{return!1}}function cP(){return typeof process<\"u\"&&process.versions!=null&&process.versions.node!=null}function uP(){try{return typeof window<\"u\"&&window.location?window.location.hostname:null}catch{return null}}function dP(){let e=r1();if(!e)return[];try{return Object.entries(e)}catch{return[]}}var ba=class e{static fromStorage(t){return Ne(this,void 0,void 0,function*(){let r=yield new Sl(t).getInjectedConnection();return new e(t,r.jsBridgeKey)})}static isWalletInjected(t){return e.isWindowContainsWallet(this.window,t)}static isInsideWalletBrowser(t){return e.isWindowContainsWallet(this.window,t)?this.window[t].tonconnect.isWalletBrowser:!1}static getCurrentlyInjectedWallets(){return this.window?dP().filter(([r,i])=>iP(i)).map(([r,i])=>({name:i.tonconnect.walletInfo.name,appName:i.tonconnect.walletInfo.app_name,aboutUrl:i.tonconnect.walletInfo.about_url,imageUrl:i.tonconnect.walletInfo.image,tondns:i.tonconnect.walletInfo.tondns,jsBridgeKey:r,injected:!0,embedded:i.tonconnect.isWalletBrowser,platforms:i.tonconnect.walletInfo.platforms,features:i.tonconnect.walletInfo.features})):[]}static isWindowContainsWallet(t,n){return!!t&&n in t&&typeof t[n]==\"object\"&&\"tonconnect\"in t[n]}constructor(t,n){this.injectedWalletKey=n,this.type=\"injected\",this.unsubscribeCallback=null,this.listenSubscriptions=!1,this.listeners=[];let r=e.window;if(!e.isWindowContainsWallet(r,n))throw new cv;this.connectionStorage=new Sl(t),this.injectedWallet=r[n].tonconnect}connect(t){this._connect(L9,t)}restoreConnection(){return Ne(this,void 0,void 0,function*(){try{nr(\"Injected Provider restoring connection...\");let t=yield this.injectedWallet.restoreConnection();nr(\"Injected Provider restoring connection response\",t),t.event===\"connect\"?(this.makeSubscriptions(),this.listeners.forEach(n=>n(t))):yield this.connectionStorage.removeConnection()}catch(t){yield this.connectionStorage.removeConnection(),console.error(t)}})}closeConnection(){this.listenSubscriptions&&this.injectedWallet.disconnect(),this.closeAllListeners()}disconnect(){return Ne(this,void 0,void 0,function*(){return new Promise(t=>{let n=()=>{this.closeAllListeners(),this.connectionStorage.removeConnection().then(t)};try{this.injectedWallet.disconnect(),n()}catch(r){nr(r),this.sendRequest({method:\"disconnect\",params:[]},n)}})})}closeAllListeners(){var t;this.listenSubscriptions=!1,this.listeners=[],(t=this.unsubscribeCallback)===null||t===void 0||t.call(this)}listen(t){return this.listeners.push(t),()=>this.listeners=this.listeners.filter(n=>n!==t)}sendRequest(t,n){return Ne(this,void 0,void 0,function*(){var r;let i={};typeof n==\"function\"?i.onRequestSent=n:(i.onRequestSent=n?.onRequestSent,i.signal=n?.signal);let a=(yield this.connectionStorage.getNextRpcRequestId()).toString();yield this.connectionStorage.increaseNextRpcRequestId(),nr(\"Send injected-bridge request:\",Object.assign(Object.assign({},t),{id:a}));let o=this.injectedWallet.send(Object.assign(Object.assign({},t),{id:a}));return o.then(s=>nr(\"Wallet message received:\",s)),(r=i?.onRequestSent)===null||r===void 0||r.call(i),o})}_connect(t,n){return Ne(this,void 0,void 0,function*(){try{nr(`Injected Provider connect request: protocolVersion: ${t}, message:`,n);let r=yield this.injectedWallet.connect(t,n);nr(\"Injected Provider connect response:\",r),r.event===\"connect\"&&(yield this.updateSession(),this.makeSubscriptions()),this.listeners.forEach(i=>i(r))}catch(r){nr(\"Injected Provider connect error:\",r);let i={event:\"connect_error\",payload:{code:0,message:r?.toString()}};this.listeners.forEach(a=>a(i))}})}makeSubscriptions(){this.listenSubscriptions=!0,this.unsubscribeCallback=this.injectedWallet.listen(t=>{nr(\"Wallet message received:\",t),this.listenSubscriptions&&this.listeners.forEach(n=>n(t)),t.event===\"disconnect\"&&this.disconnect()})}updateSession(){return this.connectionStorage.storeConnection({type:\"injected\",jsBridgeKey:this.injectedWalletKey,nextRpcRequestId:0})}};ba.window=r1();var mv=class{constructor(){this.localStorage=sP()}getItem(t){return Ne(this,void 0,void 0,function*(){return this.localStorage.getItem(t)})}removeItem(t){return Ne(this,void 0,void 0,function*(){this.localStorage.removeItem(t)})}setItem(t,n){return Ne(this,void 0,void 0,function*(){this.localStorage.setItem(t,n)})}};function ys(e){return fP(e)&&e.injected}function eh(e){return ys(e)&&e.embedded}function fP(e){return\"jsBridgeKey\"in e}function i1(e){return\"bridgeUrl\"in e}var hP=[{app_name:\"telegram-wallet\",name:\"Wallet\",image:\"https://wallet.tg/images/logo-288.png\",about_url:\"https://wallet.tg/\",universal_url:\"https://t.me/wallet?attach=wallet\",bridge:[{type:\"sse\",url:\"https://walletbot.me/tonconnect-bridge/bridge\"}],platforms:[\"ios\",\"android\",\"macos\",\"windows\",\"linux\"],features:[{name:\"SendTransaction\",maxMessages:255,extraCurrencySupported:!0},{name:\"SignData\",types:[\"text\",\"binary\",\"cell\"]}]},{app_name:\"tonkeeper\",name:\"Tonkeeper\",image:\"https://tonkeeper.com/assets/tonconnect-icon.png\",tondns:\"tonkeeper.ton\",about_url:\"https://tonkeeper.com\",universal_url:\"https://app.tonkeeper.com/ton-connect\",deepLink:\"tonkeeper-tc://\",bridge:[{type:\"sse\",url:\"https://bridge.tonapi.io/bridge\"},{type:\"js\",key:\"tonkeeper\"}],platforms:[\"ios\",\"android\",\"chrome\",\"firefox\",\"macos\"],features:[{name:\"SendTransaction\",maxMessages:255,extraCurrencySupported:!0},{name:\"SignData\",types:[\"text\",\"binary\",\"cell\"]}]},{app_name:\"mytonwallet\",name:\"MyTonWallet\",image:\"https://static.mytonwallet.io/icon-256.png\",about_url:\"https://mytonwallet.io\",universal_url:\"https://connect.mytonwallet.org\",deepLink:\"mytonwallet-tc://\",bridge:[{type:\"js\",key:\"mytonwallet\"},{type:\"sse\",url:\"https://tonconnectbridge.mytonwallet.org/bridge/\"}],platforms:[\"chrome\",\"windows\",\"macos\",\"linux\",\"ios\",\"android\",\"firefox\"],features:[{name:\"SendTransaction\",maxMessages:255,extraCurrencySupported:!1},{name:\"SignData\",types:[\"text\",\"binary\",\"cell\"]}]},{app_name:\"tonhub\",name:\"Tonhub\",image:\"https://tonhub.com/tonconnect_logo.png\",about_url:\"https://tonhub.com\",universal_url:\"https://tonhub.com/ton-connect\",bridge:[{type:\"js\",key:\"tonhub\"},{type:\"sse\",url:\"https://connect.tonhubapi.com/tonconnect\"}],platforms:[\"ios\",\"android\"],features:[{name:\"SendTransaction\",maxMessages:255,extraCurrencySupported:!0},{name:\"SignData\",types:[\"text\",\"binary\",\"cell\"]}]},{app_name:\"bitgetTonWallet\",name:\"Bitget Wallet\",image:\"https://raw.githubusercontent.com/bitgetwallet/download/refs/heads/main/logo/png/bitget_wallet_logo_288_mini.png\",about_url:\"https://web3.bitget.com\",deepLink:\"bitkeep://\",bridge:[{type:\"js\",key:\"bitgetTonWallet\"},{type:\"sse\",url:\"https://ton-connect-bridge.bgwapi.io/bridge\"}],platforms:[\"ios\",\"android\",\"chrome\"],universal_url:\"https://bkcode.vip/ton-connect\",features:[{name:\"SendTransaction\",maxMessages:4,extraCurrencySupported:!1}]},{app_name:\"okxMiniWallet\",name:\"OKX Mini Wallet\",image:\"https://static.okx.com/cdn/assets/imgs/2411/8BE1A4A434D8F58A.png\",about_url:\"https://www.okx.com/web3\",universal_url:\"https://t.me/OKX_WALLET_BOT?attach=wallet\",bridge:[{type:\"sse\",url:\"https://www.okx.com/tonbridge/discover/rpc/bridge\"}],platforms:[\"ios\",\"android\",\"macos\",\"windows\",\"linux\"],features:[{name:\"SendTransaction\",maxMessages:4,extraCurrencySupported:!1}]},{app_name:\"binanceWeb3TonWallet\",name:\"Binance Wallet\",image:\"https://public.bnbstatic.com/static/binance-w3w/ton-provider/binancew3w.png\",about_url:\"https://www.binance.com/en/web3wallet\",deepLink:\"bnc://app.binance.com/cedefi/ton-connect\",bridge:[{type:\"js\",key:\"binancew3w\"},{type:\"sse\",url:\"https://wallet.binance.com/tonbridge/bridge\"}],platforms:[\"ios\",\"android\",\"macos\",\"windows\",\"linux\"],universal_url:\"https://app.binance.com/cedefi/ton-connect\",features:[{name:\"SendTransaction\",maxMessages:4,extraCurrencySupported:!1}]},{app_name:\"fintopio-tg\",name:\"Fintopio\",image:\"https://raw.githubusercontent.com/fintopio/ton-pub/refs/heads/main/logos/tonconnect-icon.png\",about_url:\"https://fintopio.com\",universal_url:\"https://t.me/fintopio?attach=wallet\",bridge:[{type:\"sse\",url:\"https://wallet-bridge.fintopio.com/bridge\"}],platforms:[\"ios\",\"android\",\"macos\",\"windows\",\"linux\"],features:[{name:\"SendTransaction\",maxMessages:4,extraCurrencySupported:!1}]},{app_name:\"okxTonWallet\",name:\"OKX Wallet\",image:\"https://static.okx.com/cdn/assets/imgs/247/58E63FEA47A2B7D7.png\",about_url:\"https://www.okx.com/web3\",universal_url:\"https://www.okx.com/download?appendQuery=true&deeplink=okx://web3/wallet/tonconnect\",bridge:[{type:\"js\",key:\"okxTonWallet\"},{type:\"sse\",url:\"https://www.okx.com/tonbridge/discover/rpc/bridge\"}],platforms:[\"chrome\",\"safari\",\"firefox\",\"ios\",\"android\"],features:[{name:\"SendTransaction\",maxMessages:4,extraCurrencySupported:!1}]},{app_name:\"hot\",name:\"HOT\",image:\"https://raw.githubusercontent.com/hot-dao/media/main/logo.png\",about_url:\"https://hot-labs.org/\",universal_url:\"https://t.me/herewalletbot?attach=wallet\",bridge:[{type:\"sse\",url:\"https://sse-bridge.hot-labs.org\"},{type:\"js\",key:\"hotWallet\"}],platforms:[\"ios\",\"android\",\"macos\",\"windows\",\"linux\"],features:[{name:\"SendTransaction\",maxMessages:4,extraCurrencySupported:!1}]},{app_name:\"bybitTonWallet\",name:\"Bybit Wallet\",image:\"https://raw.githubusercontent.com/bybit-web3/bybit-web3.github.io/main/docs/images/bybit-logo.png\",about_url:\"https://www.bybit.com/web3\",universal_url:\"https://app.bybit.com/ton-connect\",deepLink:\"bybitapp://\",bridge:[{type:\"js\",key:\"bybitTonWallet\"},{type:\"sse\",url:\"https://api-node.bybit.com/spot/api/web3/bridge/ton/bridge\"}],platforms:[\"ios\",\"android\",\"chrome\"],features:[{name:\"SendTransaction\",maxMessages:4,extraCurrencySupported:!1}]},{app_name:\"dewallet\",name:\"DeWallet\",image:\"https://raw.githubusercontent.com/delab-team/manifests-images/main/WalletAvatar.png\",about_url:\"https://delabwallet.com\",universal_url:\"https://t.me/dewallet?attach=wallet\",bridge:[{type:\"sse\",url:\"https://bridge.dewallet.pro/bridge\"}],platforms:[\"ios\",\"android\",\"macos\",\"windows\",\"linux\"],features:[{name:\"SendTransaction\",maxMessages:4,extraCurrencySupported:!1}]},{app_name:\"safepalwallet\",name:\"SafePal\",image:\"https://s.pvcliping.com/web/public_image/SafePal_x288.png\",tondns:\"\",about_url:\"https://www.safepal.com\",universal_url:\"https://link.safepal.io/ton-connect\",deepLink:\"safepal-tc://\",bridge:[{type:\"sse\",url:\"https://ton-bridge.safepal.com/tonbridge/v1/bridge\"},{type:\"js\",key:\"safepalwallet\"}],platforms:[\"ios\",\"android\",\"chrome\",\"firefox\"],features:[{name:\"SendTransaction\",maxMessages:1,extraCurrencySupported:!1}]},{app_name:\"GateWallet\",name:\"GateWallet\",image:\"https://img.gatedataimg.com/prd-ordinal-imgs/036f07bb8730716e/gateio-0925.png\",about_url:\"https://www.gate.io/\",bridge:[{type:\"js\",key:\"gatetonwallet\"},{type:\"sse\",url:\"https://dapp.gateio.services/tonbridge_api/bridge/v1\"}],platforms:[\"ios\",\"android\"],universal_url:\"https://gate.onelink.me/Hls0/web3?gate_web3_wallet_universal_type=ton_connect\",features:[{name:\"SendTransaction\",maxMessages:4,extraCurrencySupported:!1}]},{app_name:\"openmask\",name:\"OpenMask\",image:\"https://raw.githubusercontent.com/OpenProduct/openmask-extension/main/public/openmask-logo-288.png\",about_url:\"https://www.openmask.app/\",bridge:[{type:\"js\",key:\"openmask\"}],platforms:[\"chrome\"],features:[{name:\"SendTransaction\",maxMessages:4,extraCurrencySupported:!1}]},{app_name:\"BitgetWeb3\",name:\"BitgetWeb3\",image:\"https://img.bitgetimg.com/image/third/1731638059795.png\",about_url:\"\\u200Bhttps://www.bitget.com\",universal_url:\"https://t.me/BitgetOfficialBot?attach=wallet\",bridge:[{type:\"sse\",url:\"https://ton-connect-bridge.bgwapi.io/bridge\"}],platforms:[\"ios\",\"android\",\"windows\",\"macos\",\"linux\"],features:[{name:\"SendTransaction\",maxMessages:4,extraCurrencySupported:!1}]},{app_name:\"xtonwallet\",name:\"XTONWallet\",image:\"https://xtonwallet.com/assets/img/icon-256-back.png\",about_url:\"https://xtonwallet.com\",bridge:[{type:\"js\",key:\"xtonwallet\"}],platforms:[\"chrome\",\"firefox\"],features:[{name:\"SendTransaction\",maxMessages:1,extraCurrencySupported:!1}]},{app_name:\"tonwallet\",name:\"TON Wallet\",image:\"https://wallet.ton.org/assets/ui/qr-logo.png\",about_url:\"https://chrome.google.com/webstore/detail/ton-wallet/nphplpgoakhhjchkkhmiggakijnkhfnd\",bridge:[{type:\"js\",key:\"tonwallet\"}],platforms:[\"chrome\"],features:[{name:\"SendTransaction\",maxMessages:4,extraCurrencySupported:!1}]},{app_name:\"bitgetWalletLite\",name:\"Bitget Wallet Lite\",image:\"https://raw.githubusercontent.com/bitgetwallet/download/refs/heads/main/logo/png/bitget_wallet_lite_logo_288.png\",about_url:\"https://web3.bitget.com\",universal_url:\"https://t.me/BitgetWallet_TGBot?attach=wallet\",bridge:[{type:\"sse\",url:\"https://ton-connect-bridge.bgwapi.io/bridge\"}],platforms:[\"ios\",\"android\",\"macos\",\"windows\",\"linux\"],features:[{name:\"SendTransaction\",maxMessages:255,extraCurrencySupported:!1}]},{app_name:\"tomoWallet\",name:\"Tomo Wallet\",image:\"https://pub.tomo.inc/logo.png\",about_url:\"https://www.tomo.inc/\",universal_url:\"https://t.me/tomowalletbot?attach=wallet\",bridge:[{type:\"sse\",url:\"https://go-bridge.tomo.inc/bridge\"}],platforms:[\"ios\",\"android\",\"macos\",\"windows\",\"linux\"],features:[{name:\"SendTransaction\",maxMessages:4,extraCurrencySupported:!1}]},{app_name:\"miraiapp-tg\",name:\"Mirai Mini App\",image:\"https://cdn.mirailabs.co/miraihub/miraiapp-tg-icon-288.png\",about_url:\"https://mirai.app\",universal_url:\"https://t.me/MiraiAppBot?attach=wallet\",bridge:[{type:\"sse\",url:\"https://bridge.mirai.app\"}],platforms:[\"ios\",\"android\",\"macos\",\"windows\",\"linux\"],features:[{name:\"SendTransaction\",maxMessages:255,extraCurrencySupported:!1},{name:\"SignData\",types:[\"text\",\"binary\",\"cell\"]}]},{app_name:\"Architec.ton\",name:\"Architec.ton\",image:\"https://raw.githubusercontent.com/Architec-Ton/wallet-tma/refs/heads/dev/public/images/arcwallet_logo.png\",about_url:\"https://architecton.tech\",universal_url:\"https://t.me/architec_ton_bot?attach=wallet\",bridge:[{type:\"sse\",url:\"https://tc.architecton.su/bridge\"}],platforms:[\"ios\",\"android\",\"macos\",\"windows\",\"linux\"],features:[{name:\"SendTransaction\",maxMessages:255,extraCurrencySupported:!1}]},{app_name:\"tokenpocket\",name:\"TokenPocket\",image:\"https://hk.tpstatic.net/logo/tokenpocket.png\",about_url:\"https://www.tokenpocket.pro\",universal_url:\"https://tp-lab.tptool.pro/ton-connect/\",bridge:[{type:\"js\",key:\"tokenpocket\"},{type:\"sse\",url:\"https://ton-connect.mytokenpocket.vip/bridge\"}],platforms:[\"ios\",\"android\"],features:[{name:\"SendTransaction\",maxMessages:4,extraCurrencySupported:!1}]},{app_name:\"uxuyWallet\",name:\"UXUY Wallet\",image:\"https://chain-cdn.uxuy.com/logo/square_288.png\",about_url:\"https://docs.uxuy.com\",universal_url:\"https://t.me/UXUYbot?attach=wallet\",bridge:[{type:\"sse\",url:\"https://bridge.uxuy.me/bridge\"}],platforms:[\"ios\",\"android\",\"macos\",\"windows\",\"linux\"],features:[{name:\"SendTransaction\",maxMessages:4,extraCurrencySupported:!1}]},{app_name:\"tonkeeper-pro\",name:\"Tonkeeper Pro\",image:\"https://tonkeeper.com/assets/tonconnect-icon-pro.png\",tondns:\"tonkeeper.ton\",about_url:\"https://tonkeeper.com/pro\",universal_url:\"https://app.tonkeeper.com/pro/ton-connect\",deepLink:\"tonkeeper-pro-tc://\",bridge:[{type:\"sse\",url:\"https://bridge.tonapi.io/bridge\"}],platforms:[\"ios\",\"macos\",\"windows\",\"linux\"],features:[{name:\"SendTransaction\",maxMessages:255,extraCurrencySupported:!0},{name:\"SignData\",types:[\"text\",\"binary\",\"cell\"]}]},{app_name:\"nicegramWallet\",name:\"Nicegram Wallet\",image:\"https://static.nicegram.app/icon.png\",about_url:\"https://nicegram.app\",universal_url:\"https://nicegram.app/tc\",deepLink:\"nicegram-tc://\",bridge:[{type:\"sse\",url:\"https://tc.nicegram.app/bridge\"},{type:\"js\",key:\"nicegramWallet\"}],platforms:[\"ios\",\"android\"],features:[{name:\"SendTransaction\",maxMessages:255,extraCurrencySupported:!1}]},{app_name:\"echoooTonWallet\",name:\"EchoooWallet\",image:\"https://cdn.echooo.xyz/front-end/source/images/logo/echooo-ton.png\",about_url:\"https://www.echooo.xyz\",universal_url:\"https://www.echooo.xyz/ton-connect\",deepLink:\"echooo://\",bridge:[{type:\"js\",key:\"echoooTonWallet\"},{type:\"sse\",url:\"https://ton-connect-bridge.echooo.link/bridge\"}],platforms:[\"ios\",\"android\"],features:[{name:\"SendTransaction\",maxMessages:255,extraCurrencySupported:!1}]},{app_name:\"blitzwallet\",name:\"BLITZ wallet\",image:\"https://blitzwallet.cfd/wallet/public/logo.png\",about_url:\"https://blitzwallet.cfd\",universal_url:\"https://t.me/blitz_wallet_bot?attach=wallet\",bridge:[{type:\"sse\",url:\"https://blitzwallet.cfd/bridge/\"}],platforms:[\"ios\",\"android\",\"macos\",\"windows\",\"linux\"],features:[{name:\"SendTransaction\",maxMessages:4,extraCurrencySupported:!1}]},{app_name:\"koloWeb3Wallet\",name:\"Kolo\",image:\"https://raw.githubusercontent.com/onidev1/tc-assets/refs/heads/main/kolo_logo_288.png\",about_url:\"https://kolo.xyz\",universal_url:\"https://t.me/kolo?attach=wallet\",bridge:[{type:\"sse\",url:\"https://web3-bridge.kolo.in/bridge\"}],platforms:[\"ios\",\"android\",\"macos\",\"windows\",\"linux\"],features:[{name:\"SendTransaction\",maxMessages:255,extraCurrencySupported:!1}]},{app_name:\"imToken\",name:\"imToken\",image:\"https://aws-v2-cdn.token.im/orbit/token-v2/icons/logo-ton-connect.png\",about_url:\"https://token.im\",universal_url:\"https://connect.token.im/link/ton-connect\",deepLink:\"imtokenv2://link/ton-connect\",bridge:[{type:\"sse\",url:\"https://connect.token.im/tonbridge\"},{type:\"js\",key:\"imToken\"}],platforms:[\"ios\",\"android\"],features:[{name:\"SendTransaction\",maxMessages:255,extraCurrencySupported:!1}]},{app_name:\"cactuslink\",name:\"Cactus Link\",image:\"https://downloads.mycactus.com/288_cactus_link.png\",about_url:\"https://www.mycactus.com/defi-connector\",bridge:[{type:\"js\",key:\"cactuslink_ton\"}],platforms:[\"chrome\"],features:[{name:\"SendTransaction\",maxMessages:4,extraCurrencySupported:!1},{name:\"SignData\",types:[\"text\",\"binary\"]}]},{app_name:\"onekey\",name:\"OneKey\",image:\"https://uni.onekey-asset.com/static/logo/onekey-x288.png\",about_url:\"https://onekey.so\",bridge:[{type:\"js\",key:\"onekeyTonWallet\"}],platforms:[\"chrome\"],features:[{name:\"SendTransaction\",maxMessages:4,extraCurrencySupported:!1}]}],gP=!1;function ru(){return gP}var Xf=class{constructor(t){var n;this.walletsListDTOCache=null,this.walletsListDTOCacheCreationTimestamp=null,ru()?this.walletsListSource=\"https://raw.githubusercontent.com/ton-connect/wallets-list-staging/refs/heads/main/wallets-v2.json\":this.walletsListSource=(n=t?.walletsListSource)!==null&&n!==void 0?n:\"https://config.ton.org/wallets-v2.json\",this.cacheTTLMs=t?.cacheTTLMs}getWallets(){return Ne(this,void 0,void 0,function*(){let[t,n]=yield Promise.all([this.fetchWalletsListDTO(),this.getCurrentlyInjectedWallets()]);return this.mergeWalletsLists(this.walletConfigDTOListToWalletConfigList(t),n)})}getEmbeddedWallet(){return Ne(this,void 0,void 0,function*(){let n=(yield this.getWallets()).filter(eh);return n.length===1?n[0]:null})}fetchWalletsListDTO(){return Ne(this,void 0,void 0,function*(){return this.cacheTTLMs&&this.walletsListDTOCacheCreationTimestamp&&Date.now()>this.walletsListDTOCacheCreationTimestamp+this.cacheTTLMs&&(this.walletsListDTOCache=null),this.walletsListDTOCache||(this.walletsListDTOCache=this.fetchWalletsListFromSource(),this.walletsListDTOCache.then(()=>{this.walletsListDTOCacheCreationTimestamp=Date.now()}).catch(()=>{this.walletsListDTOCache=null,this.walletsListDTOCacheCreationTimestamp=null})),this.walletsListDTOCache})}fetchWalletsListFromSource(){return Ne(this,void 0,void 0,function*(){let t=[];try{if(t=yield(yield fetch(this.walletsListSource)).json(),!Array.isArray(t))throw new uv(\"Wrong wallets list format, wallets list must be an array.\");let r=t.filter(i=>!this.isCorrectWalletConfigDTO(i));r.length&&(go(`Wallet(s) ${r.map(i=>i?.name||\"unknown\").join(\", \")} config format is wrong. They were removed from the wallets list.`),t=t.filter(i=>this.isCorrectWalletConfigDTO(i)))}catch(n){go(n),t=hP}return t})}getCurrentlyInjectedWallets(){if(!ru())return[];try{return ba.getCurrentlyInjectedWallets()}catch(t){return go(t),[]}}walletConfigDTOListToWalletConfigList(t){return t.map(n=>{let r={name:n.name,appName:n.app_name,imageUrl:n.image,aboutUrl:n.about_url,tondns:n.tondns,platforms:n.platforms,features:n.features};return n.bridge.forEach(i=>{if(i.type===\"sse\"&&(r.bridgeUrl=i.url,r.universalLink=n.universal_url,r.deepLink=n.deepLink),i.type===\"js\"){let a=i.key;r.jsBridgeKey=a,r.injected=ba.isWalletInjected(a),r.embedded=ba.isInsideWalletBrowser(a)}}),r})}mergeWalletsLists(t,n){return[...new Set(t.concat(n).map(i=>i.name)).values()].map(i=>{let a=t.find(s=>s.name===i),o=n.find(s=>s.name===i);return Object.assign(Object.assign({},a&&Object.assign({},a)),o&&Object.assign({},o))})}isCorrectWalletConfigDTO(t){if(!t||typeof t!=\"object\")return!1;let n=\"name\"in t,r=\"app_name\"in t,i=\"image\"in t,a=\"about_url\"in t,o=\"platforms\"in t;if(!n||!i||!a||!o||!r||!t.platforms||!Array.isArray(t.platforms)||!t.platforms.length||!(\"bridge\"in t)||!Array.isArray(t.bridge)||!t.bridge.length)return!1;let s=t.bridge;if(s.some(u=>!u||typeof u!=\"object\"||!(\"type\"in u)))return!1;let l=s.find(u=>u.type===\"sse\");if(l&&(!(typeof l==\"object\"&&\"url\"in l)||!l.url||!t.universal_url))return!1;let c=s.find(u=>u.type===\"js\");return!(c&&(typeof c!=\"object\"||!(\"key\"in c)||!c.key))}};function pP(e,t){let n=e.includes(\"SendTransaction\"),r=yv(e,\"SendTransaction\"),i={minMessages:t.requiredMessagesNumber,extraCurrencyRequired:t.requireExtraCurrencies};if(!n&&!r)throw new ya(\"Wallet doesn't support SendTransaction feature.\",{cause:{requiredFeature:{featureName:\"SendTransaction\",value:i}}});if(t.requireExtraCurrencies&&(!r||!r.extraCurrencySupported))throw new ya(\"Wallet is not able to handle such SendTransaction request. Extra currencies support is required.\",{cause:{requiredFeature:{featureName:\"SendTransaction\",value:i}}});if(r&&r.maxMessages!==void 0){if(r.maxMessages<t.requiredMessagesNumber)throw new ya(`Wallet is not able to handle such SendTransaction request. Max support messages number is ${r.maxMessages}, but ${t.requiredMessagesNumber} is required.`,{cause:{requiredFeature:{featureName:\"SendTransaction\",value:i}}});return}QN(\"Connected wallet didn't provide information about max allowed messages in the SendTransaction request. Request may be rejected by the wallet.\")}function mP(e,t){let n=e.find(i=>i&&typeof i==\"object\"&&i.name===\"SignData\");if(!n)throw new ya(\"Wallet doesn't support SignData feature.\",{cause:{requiredFeature:{featureName:\"SignData\",value:{types:t.requiredTypes}}}});let r=t.requiredTypes.filter(i=>!n.types.includes(i));if(r.length)throw new ya(`Wallet doesn't support required SignData types: ${r.join(\", \")}.`,{cause:{requiredFeature:{featureName:\"SignData\",value:{types:r}}}})}function th(e,t){if(typeof t!=\"object\")return!0;let{sendTransaction:n,signData:r}=t;if(n){let i=yv(e,\"SendTransaction\");if(!i||!yP(i,n))return!1}if(r){let i=yv(e,\"SignData\");if(!i||!bP(i,r))return!1}return!0}function yv(e,t){return e.find(n=>n&&typeof n==\"object\"&&n.name===t)}function yP(e,t){let n=t.minMessages===void 0||t.minMessages<=e.maxMessages,r=!t.extraCurrencyRequired||e.extraCurrencySupported;return!!(n&&r)}function bP(e,t){return t.types.every(n=>e.types.includes(n))}function Cv(){return{type:\"request-version\"}}function Sv(e){return{type:\"response-version\",version:e}}function bs(e){return{ton_connect_sdk_lib:e.ton_connect_sdk_lib,ton_connect_ui_lib:e.ton_connect_ui_lib}}function mo(e,t){var n,r,i,a,o,s,l,c;let d=((n=t?.connectItems)===null||n===void 0?void 0:n.tonProof)&&\"proof\"in t.connectItems.tonProof?\"ton_proof\":\"ton_addr\";return{wallet_address:(i=(r=t?.account)===null||r===void 0?void 0:r.address)!==null&&i!==void 0?i:null,wallet_type:(a=t?.device.appName)!==null&&a!==void 0?a:null,wallet_version:(o=t?.device.appVersion)!==null&&o!==void 0?o:null,auth_type:d,custom_data:Object.assign({chain_id:(l=(s=t?.account)===null||s===void 0?void 0:s.chain)!==null&&l!==void 0?l:null,provider:(c=t?.provider)!==null&&c!==void 0?c:null},bs(e))}}function _v(e){return{type:\"connection-started\",custom_data:bs(e)}}function Tv(e,t){return Object.assign({type:\"connection-completed\",is_success:!0},mo(e,t))}function Ev(e,t,n){return{type:\"connection-error\",is_success:!1,error_message:t,error_code:n??null,custom_data:bs(e)}}function Av(e){return{type:\"connection-restoring-started\",custom_data:bs(e)}}function kv(e,t){return Object.assign({type:\"connection-restoring-completed\",is_success:!0},mo(e,t))}function Bv(e,t){return{type:\"connection-restoring-error\",is_success:!1,error_message:t,custom_data:bs(e)}}function Mv(e,t){var n,r,i,a;return{valid_until:(n=String(t.validUntil))!==null&&n!==void 0?n:null,from:(a=(r=t.from)!==null&&r!==void 0?r:(i=e?.account)===null||i===void 0?void 0:i.address)!==null&&a!==void 0?a:null,messages:t.messages.map(o=>{var s,l;return{address:(s=o.address)!==null&&s!==void 0?s:null,amount:(l=o.amount)!==null&&l!==void 0?l:null}})}}function Rv(e,t,n){return Object.assign(Object.assign({type:\"transaction-sent-for-signature\"},mo(e,t)),Mv(t,n))}function Uv(e,t,n,r){return Object.assign(Object.assign({type:\"transaction-signed\",is_success:!0,signed_transaction:r.boc},mo(e,t)),Mv(t,n))}function Ov(e,t,n,r,i){return Object.assign(Object.assign({type:\"transaction-signing-failed\",is_success:!1,error_message:r,error_code:i??null},mo(e,t)),Mv(t,n))}function Iv(e,t,n){return Object.assign({type:\"sign-data-request-initiated\",data:n},mo(e,t))}function Nv(e,t,n,r){return Object.assign({type:\"sign-data-request-completed\",is_success:!0,data:n,signed_data:r},mo(e,t))}function Pv(e,t,n,r,i){return Object.assign({type:\"sign-data-request-failed\",is_success:!1,data:n,error_message:r,error_code:i??null},mo(e,t))}function zv(e,t,n){return Object.assign({type:\"disconnection\",scope:n},mo(e,t))}var Jf=class{constructor(){this.window=r1()}dispatchEvent(t,n){return Ne(this,void 0,void 0,function*(){var r;let i=new CustomEvent(t,{detail:n});(r=this.window)===null||r===void 0||r.dispatchEvent(i)})}addEventListener(t,n,r){return Ne(this,void 0,void 0,function*(){var i;return(i=this.window)===null||i===void 0||i.addEventListener(t,n,r),()=>{var a;return(a=this.window)===null||a===void 0?void 0:a.removeEventListener(t,n)}})}},bv=class{get version(){return bs({ton_connect_sdk_lib:this.tonConnectSdkVersion,ton_connect_ui_lib:this.tonConnectUiVersion})}constructor(t){var n;this.eventPrefix=\"ton-connect-\",this.tonConnectUiVersion=null,this.eventDispatcher=(n=t?.eventDispatcher)!==null&&n!==void 0?n:new Jf,this.tonConnectSdkVersion=t.tonConnectSdkVersion,this.init().catch()}init(){return Ne(this,void 0,void 0,function*(){try{yield this.setRequestVersionHandler(),this.tonConnectUiVersion=yield this.requestTonConnectUiVersion()}catch{}})}setRequestVersionHandler(){return Ne(this,void 0,void 0,function*(){yield this.eventDispatcher.addEventListener(\"ton-connect-request-version\",()=>Ne(this,void 0,void 0,function*(){yield this.eventDispatcher.dispatchEvent(\"ton-connect-response-version\",Sv(this.tonConnectSdkVersion))}))})}requestTonConnectUiVersion(){return Ne(this,void 0,void 0,function*(){return new Promise((t,n)=>Ne(this,void 0,void 0,function*(){try{yield this.eventDispatcher.addEventListener(\"ton-connect-ui-response-version\",r=>{t(r.detail.version)},{once:!0}),yield this.eventDispatcher.dispatchEvent(\"ton-connect-ui-request-version\",Cv())}catch(r){n(r)}}))})}dispatchUserActionEvent(t){try{this.eventDispatcher.dispatchEvent(`${this.eventPrefix}${t.type}`,t).catch()}catch{}}trackConnectionStarted(...t){try{let n=_v(this.version,...t);this.dispatchUserActionEvent(n)}catch{}}trackConnectionCompleted(...t){try{let n=Tv(this.version,...t);this.dispatchUserActionEvent(n)}catch{}}trackConnectionError(...t){try{let n=Ev(this.version,...t);this.dispatchUserActionEvent(n)}catch{}}trackConnectionRestoringStarted(...t){try{let n=Av(this.version,...t);this.dispatchUserActionEvent(n)}catch{}}trackConnectionRestoringCompleted(...t){try{let n=kv(this.version,...t);this.dispatchUserActionEvent(n)}catch{}}trackConnectionRestoringError(...t){try{let n=Bv(this.version,...t);this.dispatchUserActionEvent(n)}catch{}}trackDisconnection(...t){try{let n=zv(this.version,...t);this.dispatchUserActionEvent(n)}catch{}}trackTransactionSentForSignature(...t){try{let n=Rv(this.version,...t);this.dispatchUserActionEvent(n)}catch{}}trackTransactionSigned(...t){try{let n=Uv(this.version,...t);this.dispatchUserActionEvent(n)}catch{}}trackTransactionSigningFailed(...t){try{let n=Ov(this.version,...t);this.dispatchUserActionEvent(n)}catch{}}trackDataSentForSignature(...t){try{let n=Iv(this.version,...t);this.dispatchUserActionEvent(n)}catch{}}trackDataSigned(...t){try{let n=Nv(this.version,...t);this.dispatchUserActionEvent(n)}catch{}}trackDataSigningFailed(...t){try{let n=Pv(this.version,...t);this.dispatchUserActionEvent(n)}catch{}}},vP=\"3.3.1\",P9=17,q9=81,vv=128;function a1(e,t=!1){let{wc:n,hex:r}=V9(e),i=q9;t&&(i|=vv);let a=new Int8Array(34);a[0]=i,a[1]=n,a.set(r,2);let o=new Uint8Array(36);return o.set(a),o.set(W9(a),34),Ff.encode(o).replace(/\\+/g,\"-\").replace(/\\//g,\"_\")}function H9(e){try{return xP(e),!0}catch{return!1}}function wP(e){try{return V9(e),!0}catch{return!1}}function xP(e){let t=e.replace(/-/g,\"+\").replace(/_/g,\"/\"),n;try{n=Ff.decode(t).toUint8Array()}catch{throw new Fi(`Invalid base64 encoding in address: ${e}`)}if(n.length!==36)throw new Fi(`Invalid address length: ${e}`);let r=n.slice(0,34),i=n.slice(34,36),a=W9(r);if(!i.every((d,h)=>d===a[h]))throw new Fi(`Invalid checksum in address: ${e}`);let o=r[0],s=!1,l=!1;if(o&vv&&(s=!0,o=o^vv),o!==P9&&o!==q9)throw new Fi(`Unknown address tag: ${o}`);l=o===P9;let c=null;r[1]===255?c=-1:c=r[1];let u=r.slice(2);if(c!==0&&c!==-1)throw new Fi(`Invalid workchain: ${c}`);return{wc:c,hex:Array.from(u).map(d=>d.toString(16).padStart(2,\"0\")).join(\"\"),testOnly:s,isBounceable:l}}function V9(e){if(!e.includes(\":\"))throw new Fi(`Wrong address ${e}. Address must include \":\".`);let t=e.split(\":\");if(t.length!==2)throw new Fi(`Wrong address ${e}. Address must include \":\" only once.`);let n=parseInt(t[0]);if(n!==0&&n!==-1)throw new Fi(`Wrong address ${e}. WC must be eq 0 or -1, but ${n} received.`);let r=t[1];if(r?.length!==64)throw new Fi(`Wrong address ${e}. Hex part must be 64bytes length, but ${r?.length} received.`);return{wc:n,hex:CP(r)}}function W9(e){let n=0,r=new Uint8Array(e.length+2);r.set(e);for(let i of r){let a=128;for(;a>0;)n<<=1,i&a&&(n+=1),a>>=1,n>65535&&(n&=65535,n^=4129)}return new Uint8Array([Math.floor(n/256),n%256])}var wv={};for(let e=0;e<=255;e++){let t=e.toString(16);t.length<2&&(t=\"0\"+t),wv[t]=e}function CP(e){e=e.toLowerCase();let t=e.length;if(t%2!==0)throw new Jg(\"Hex string must have length a multiple of 2: \"+e);let n=t/2,r=new Uint8Array(n);for(let i=0;i<n;i++){let a=i*2,o=e.substring(a,a+2);if(!wv.hasOwnProperty(o))throw new Jg(\"Invalid hex character: \"+o);r[i]=wv[o]}return r}var F9=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/,SP=/^[A-Za-z0-9\\-_]+$/,_P=\"te6cc\",TP=/^-?\\d+$/,EP=/^\\d+$/,AP=128,kP=128,BP=222;function Yg(e){return typeof e==\"number\"&&!isNaN(e)}function Mr(e){return typeof e==\"string\"&&e.length>0}function o1(e){return Mr(e)&&(wP(e)||H9(e))}function s1(e){return Mr(e)&&/^-?\\d+$/.test(e)}function xv(e){return typeof e==\"string\"&&(F9.test(e)||SP.test(e))&&e.startsWith(_P)}function ho(e){return typeof e==\"object\"&&e!==null&&!Array.isArray(e)}function MP(e){return Array.isArray(e)}function po(e,t){return Object.keys(e).some(n=>!t.includes(n))}function RP(e){if(!ho(e))return\"Request must be an object\";if(po(e,[\"validUntil\",\"network\",\"from\",\"messages\"]))return\"Request contains extra properties\";if(e.validUntil){if(!Yg(e.validUntil))return\"Incorrect 'validUntil'\";let n=Math.floor(Date.now()/1e3),r=n+300;e.validUntil>r&&console.warn(`validUntil (${e.validUntil}) is more than 5 minutes from now (${n})`)}if(e.network!==void 0&&!s1(e.network))return\"Invalid 'network' format\";if(e.from!==void 0&&!o1(e.from))return\"Invalid 'from' address format\";if(!MP(e.messages)||e.messages.length===0)return\"'messages' is required\";for(let n=0;n<e.messages.length;n++){let r=e.messages[n],i=UP(r,n);if(i)return i}return null}function UP(e,t){if(!ho(e))return`Message at index ${t} must be an object`;if(po(e,[\"address\",\"amount\",\"stateInit\",\"payload\",\"extraCurrency\"]))return`Message at index ${t} contains extra properties`;if(!Mr(e.address))return`'address' is required in message at index ${t}`;if(!H9(e.address))return`Wrong 'address' format in message at index ${t}`;if(!Mr(e.amount))return`'amount' is required in message at index ${t}`;if(!/^[0-9]+$/.test(e.amount))return`Incorrect 'amount' in message at index ${t}`;if(e.stateInit!==void 0&&(!Mr(e.stateInit)||!xv(e.stateInit)))return`Invalid 'stateInit' in message at index ${t}`;if(e.payload!==void 0&&(!Mr(e.payload)||!xv(e.payload)))return`Invalid 'payload' in message at index ${t}`;if(e.extraCurrency!==void 0){if(!ho(e.extraCurrency))return`Invalid 'extraCurrency' in message at index ${t}`;for(let[r,i]of Object.entries(e.extraCurrency))if(!TP.test(r)||typeof i!=\"string\"||!EP.test(i))return`Invalid 'extraCurrency' format in message at index ${t}`}return null}function OP(e){if(!ho(e))return\"Request must be an object\";if(po(e,[\"tonProof\"]))return\"Request contains extra properties\";if(e.tonProof!==void 0){if(typeof e.tonProof!=\"string\")return\"Invalid 'tonProof'\";let n=e.tonProof;if(n.length===0)return\"Empty 'tonProof' payload\";let r=uP();if(!r)return null;let i=new TextEncoder().encode(r).length;if(i>AP)return\"Current domain exceeds 128 bytes limit\";let a=new TextEncoder().encode(n).length;if(a>kP)return\"'tonProof' payload exceeds 128 bytes limit\";if(i+a>BP)return\"'tonProof' domain + payload exceeds 222 bytes limit\"}return null}function IP(e){if(!ho(e))return\"Payload must be an object\";if(!Mr(e.type))return\"'type' is required\";switch(e.type){case\"text\":return NP(e);case\"binary\":return PP(e);case\"cell\":return zP(e);default:return\"Invalid 'type' value\"}}function NP(e){return po(e,[\"type\",\"text\",\"network\",\"from\"])?\"Text payload contains extra properties\":Mr(e.text)?e.network!==void 0&&!s1(e.network)?\"Invalid 'network' format\":e.from!==void 0&&!o1(e.from)?\"Invalid 'from'\":null:\"'text' is required\"}function PP(e){return po(e,[\"type\",\"bytes\",\"network\",\"from\"])?\"Binary payload contains extra properties\":Mr(e.bytes)?e.network!==void 0&&!s1(e.network)?\"Invalid 'network' format\":e.from!==void 0&&!o1(e.from)?\"Invalid 'from'\":null:\"'bytes' is required\"}function zP(e){return po(e,[\"type\",\"schema\",\"cell\",\"network\",\"from\"])?\"Cell payload contains extra properties\":Mr(e.schema)?Mr(e.cell)?xv(e.cell)?e.network!==void 0&&!s1(e.network)?\"Invalid 'network' format\":e.from!==void 0&&!o1(e.from)?\"Invalid 'from'\":null:\"Invalid 'cell' format (must be valid base64)\":\"'cell' is required\":\"'schema' is required\"}function DP(e){if(!ho(e))return\"ton_proof item must be an object\";if(po(e,[\"error\",\"proof\",\"name\"]))return\"ton_proof item contains extra properties\";let n=Object.prototype.hasOwnProperty.call(e,\"proof\"),r=Object.prototype.hasOwnProperty.call(e,\"error\");if(!n&&!r)return\"'ton_proof' item must contain either 'proof' or 'error'\";if(n&&r)return\"'ton_proof' item must contain either 'proof' or 'error', not both\";if(n){let i=e.proof;if(!ho(i))return\"Invalid 'proof' object\";if(po(i,[\"timestamp\",\"domain\",\"payload\",\"signature\"]))return\"ton_proof item contains extra properties\";if(!Yg(i.timestamp))return\"Invalid 'proof.timestamp'\";let o=i.domain;if(!ho(o))return\"Invalid 'proof.domain'\";if(!Yg(o.lengthBytes))return\"Invalid 'proof.domain.lengthBytes'\";if(!Mr(o.value))return\"Invalid 'proof.domain.value'\";try{if((typeof TextEncoder<\"u\"?new TextEncoder().encode(o.value).length:o.value.length)!==o.lengthBytes)return\"'proof.domain.lengthBytes' does not match 'proof.domain.value'\"}catch{}if(!Mr(i.payload))return\"Invalid 'proof.payload'\";if(!Mr(i.signature)||!F9.test(i.signature))return\"Invalid 'proof.signature' format\"}if(r){let i=e.error;if(!ho(i))return\"Invalid 'error' object\";if(po(i,[\"code\",\"message\"]))return\"ton_proof error contains extra properties\";if(!Yg(i.code))return\"Invalid 'error.code'\";if(!Mr(i.message))return\"Invalid 'error.message'\"}return null}function ov(e){if(typeof e!=\"string\")return;let t=e.length+(4-e.length%4)%4;return e.replace(/-/g,\"+\").replace(/_/g,\"/\").padEnd(t,\"=\")}var va=class{static getWallets(){return this.walletsList.getWallets()}get connected(){return this._wallet!==null}get account(){var t;return((t=this._wallet)===null||t===void 0?void 0:t.account)||null}get wallet(){return this._wallet}set wallet(t){this._wallet=t,this.statusChangeSubscriptions.forEach(n=>n(this._wallet))}constructor(t){if(this.walletsList=new Xf,this._wallet=null,this.provider=null,this.statusChangeSubscriptions=[],this.statusChangeErrorSubscriptions=[],this.dappSettings={manifestUrl:t?.manifestUrl||oP(),storage:t?.storage||new mv},this.walletsRequiredFeatures=t?.walletsRequiredFeatures,this.walletsList=new Xf({walletsListSource:t?.walletsListSource,cacheTTLMs:t?.walletsListCacheTTLMs}),this.tracker=new bv({eventDispatcher:t?.eventDispatcher,tonConnectSdkVersion:vP}),!this.dappSettings.manifestUrl)throw new sv(\"Dapp tonconnect-manifest.json must be specified if window.location.origin is undefined. See more https://github.com/ton-connect/docs/blob/main/requests-responses.md#app-manifest\");this.bridgeConnectionStorage=new Sl(this.dappSettings.storage),t?.disableAutoPauseConnection||this.addWindowFocusAndBlurSubscriptions()}getWallets(){return this.walletsList.getWallets()}onStatusChange(t,n){return this.statusChangeSubscriptions.push(t),n&&this.statusChangeErrorSubscriptions.push(n),()=>{this.statusChangeSubscriptions=this.statusChangeSubscriptions.filter(r=>r!==t),n&&(this.statusChangeErrorSubscriptions=this.statusChangeErrorSubscriptions.filter(r=>r!==n))}}connect(t,n){var r,i;let a={};if(typeof n==\"object\"&&\"tonProof\"in n&&(a.request=n),typeof n==\"object\"&&(\"openingDeadlineMS\"in n||\"signal\"in n||\"request\"in n)&&(a.request=n?.request,a.openingDeadlineMS=n?.openingDeadlineMS,a.signal=n?.signal),a.request){let s=OP(a.request);if(s)if(ru())console.error(\"ConnectAdditionalRequest validation failed: \"+s);else throw new He(\"ConnectAdditionalRequest validation failed: \"+s)}if(this.connected)throw new lv;let o=Oi(a?.signal);if((r=this.abortController)===null||r===void 0||r.abort(),this.abortController=o,o.signal.aborted)throw new He(\"Connection was aborted\");return(i=this.provider)===null||i===void 0||i.closeConnection(),this.provider=this.createProvider(t),o.signal.addEventListener(\"abort\",()=>{var s;(s=this.provider)===null||s===void 0||s.closeConnection(),this.provider=null}),this.tracker.trackConnectionStarted(),this.provider.connect(this.createConnectRequest(a?.request),{openingDeadlineMS:a?.openingDeadlineMS,signal:o.signal})}restoreConnection(t){return Ne(this,void 0,void 0,function*(){var n,r;this.tracker.trackConnectionRestoringStarted();let i=Oi(t?.signal);if((n=this.abortController)===null||n===void 0||n.abort(),this.abortController=i,i.signal.aborted){this.tracker.trackConnectionRestoringError(\"Connection restoring was aborted\");return}let[a,o]=yield Promise.all([this.bridgeConnectionStorage.storedConnectionType(),this.walletsList.getEmbeddedWallet()]);if(i.signal.aborted){this.tracker.trackConnectionRestoringError(\"Connection restoring was aborted\");return}let s=null;try{switch(a){case\"http\":s=yield t1.fromStorage(this.dappSettings.storage);break;case\"injected\":s=yield ba.fromStorage(this.dappSettings.storage);break;default:if(o)s=this.createProvider(o);else return}}catch{this.tracker.trackConnectionRestoringError(\"Provider is not restored\"),yield this.bridgeConnectionStorage.removeConnection(),s?.closeConnection(),s=null;return}if(i.signal.aborted){s?.closeConnection(),this.tracker.trackConnectionRestoringError(\"Connection restoring was aborted\");return}if(!s){go(\"Provider is not restored\"),this.tracker.trackConnectionRestoringError(\"Provider is not restored\");return}(r=this.provider)===null||r===void 0||r.closeConnection(),this.provider=s,s.listen(this.walletEventsListener.bind(this));let l=()=>{this.tracker.trackConnectionRestoringError(\"Connection restoring was aborted\"),s?.closeConnection(),s=null};i.signal.addEventListener(\"abort\",l);let c=Kf(d=>Ne(this,void 0,void 0,function*(){yield s?.restoreConnection({openingDeadlineMS:t?.openingDeadlineMS,signal:d.signal}),i.signal.removeEventListener(\"abort\",l),this.connected?this.tracker.trackConnectionRestoringCompleted(this.wallet):this.tracker.trackConnectionRestoringError(\"Connection restoring failed\")}),{attempts:Number.MAX_SAFE_INTEGER,delayMs:2e3,signal:t?.signal}),u=new Promise(d=>setTimeout(()=>d(),12e3));return Promise.race([c,u])})}sendTransaction(t,n){return Ne(this,void 0,void 0,function*(){let r={};typeof n==\"function\"?r.onRequestSent=n:(r.onRequestSent=n?.onRequestSent,r.signal=n?.signal);let i=RP(t);if(i)if(ru())console.error(\"SendTransactionRequest validation failed: \"+i);else throw new He(\"SendTransactionRequest validation failed: \"+i);let a=Oi(r?.signal);if(a.signal.aborted)throw new He(\"Transaction sending was aborted\");this.checkConnection();let o=t.messages.length,s=t.messages.some(E=>E.extraCurrency&&Object.keys(E.extraCurrency).length>0);pP(this.wallet.device.features,{requiredMessagesNumber:o,requireExtraCurrencies:s}),this.tracker.trackTransactionSentForSignature(this.wallet,t);let{validUntil:l,messages:c}=t,u=R9(t,[\"validUntil\",\"messages\"]),d=t.from||this.account.address,h=t.network||this.account.chain,g=yield this.provider.sendRequest($g.convertToRpcRequest(Object.assign(Object.assign({},u),{from:d,network:h,valid_until:l,messages:c.map(E=>{var{extraCurrency:L,payload:C,stateInit:v}=E,T=R9(E,[\"extraCurrency\",\"payload\",\"stateInit\"]);return Object.assign(Object.assign({},T),{payload:ov(C),stateInit:ov(v),extra_currency:L})})})),{onRequestSent:r.onRequestSent,signal:a.signal});if($g.isError(g))return this.tracker.trackTransactionSigningFailed(this.wallet,t,g.error.message,g.error.code),$g.parseAndThrowError(g);let y=$g.convertFromRpcResponse(g);return this.tracker.trackTransactionSigned(this.wallet,t,y),y})}signData(t,n){return Ne(this,void 0,void 0,function*(){let r=Oi(n?.signal);if(r.signal.aborted)throw new He(\"data sending was aborted\");let i=IP(t);if(i)if(ru())console.error(\"SignDataPayload validation failed: \"+i);else throw new He(\"SignDataPayload validation failed: \"+i);this.checkConnection(),mP(this.wallet.device.features,{requiredTypes:[t.type]}),this.tracker.trackDataSentForSignature(this.wallet,t);let a=t.from||this.account.address,o=t.network||this.account.chain,s=yield this.provider.sendRequest(Zg.convertToRpcRequest(Object.assign(Object.assign(Object.assign({},t),t.type===\"cell\"?{cell:ov(t.cell)}:{}),{from:a,network:o})),{onRequestSent:n?.onRequestSent,signal:r.signal});if(Zg.isError(s))return this.tracker.trackDataSigningFailed(this.wallet,t,s.error.message,s.error.code),Zg.parseAndThrowError(s);let l=Zg.convertFromRpcResponse(s);return this.tracker.trackDataSigned(this.wallet,t,l),l})}disconnect(t){return Ne(this,void 0,void 0,function*(){var n;if(!this.connected)throw new Xg;let r=Oi(t?.signal),i=this.abortController;if(this.abortController=r,r.signal.aborted)throw new He(\"Disconnect was aborted\");this.onWalletDisconnected(\"dapp\"),yield(n=this.provider)===null||n===void 0?void 0:n.disconnect({signal:r.signal}),i?.abort()})}getSessionId(){return Ne(this,void 0,void 0,function*(){if(!this.provider||!this.connected)return null;try{let t=yield this.bridgeConnectionStorage.getConnection();return!t||t.type===\"injected\"?null:\"sessionCrypto\"in t?t.sessionCrypto.sessionId:t.session.sessionCrypto.sessionId}catch{return null}})}pauseConnection(){var t;((t=this.provider)===null||t===void 0?void 0:t.type)===\"http\"&&this.provider.pause()}unPauseConnection(){var t;return((t=this.provider)===null||t===void 0?void 0:t.type)!==\"http\"?Promise.resolve():this.provider.unPause()}addWindowFocusAndBlurSubscriptions(){let t=aP();if(t)try{t.addEventListener(\"visibilitychange\",()=>{t.hidden?this.pauseConnection():this.unPauseConnection().catch(()=>{})})}catch(n){go(\"Cannot subscribe to the document.visibilitychange: \",n)}}createProvider(t){let n;return!Array.isArray(t)&&ZN(t)?n=new ba(this.dappSettings.storage,t.jsBridgeKey):n=new t1(this.dappSettings.storage,t),n.listen(this.walletEventsListener.bind(this)),n}walletEventsListener(t){switch(t.event){case\"connect\":this.onWalletConnected(t.payload);break;case\"connect_error\":this.tracker.trackConnectionError(t.payload.message,t.payload.code);let n=YN.parseError(t.payload);this.onWalletConnectError(n);break;case\"disconnect\":this.onWalletDisconnected(\"wallet\")}}onWalletConnected(t){var n;let r=t.items.find(s=>s.name===\"ton_addr\"),i=t.items.find(s=>s.name===\"ton_proof\");if(!r)throw new He(\"ton_addr connection item was not found\");if(!th(t.device.features,this.walletsRequiredFeatures)){(n=this.provider)===null||n===void 0||n.disconnect(),this.onWalletConnectError(new iu(\"Wallet does not support required features\",{cause:{connectEvent:t}}));return}let o={device:t.device,provider:this.provider.type,account:{address:r.address,chain:r.network,walletStateInit:r.walletStateInit,publicKey:r.publicKey}};if(i){let s=DP(i),l;if(s)ru()&&console.error(\"TonProofItem validation failed: \"+s),l={name:\"ton_proof\",error:{code:nu.UNKNOWN_ERROR,message:s}};else try{if(\"proof\"in i)l={name:\"ton_proof\",proof:{timestamp:i.proof.timestamp,domain:{lengthBytes:i.proof.domain.lengthBytes,value:i.proof.domain.value},payload:i.proof.payload,signature:i.proof.signature}};else if(\"error\"in i)l={name:\"ton_proof\",error:{code:i.error.code,message:i.error.message}};else throw new He(\"Invalid data format\")}catch{l={name:\"ton_proof\",error:{code:nu.UNKNOWN_ERROR,message:\"Invalid data format\"}}}o.connectItems={tonProof:l}}this.wallet=o,this.tracker.trackConnectionCompleted(o)}onWalletConnectError(t){if(this.statusChangeErrorSubscriptions.forEach(n=>n(t)),nr(t),t instanceof Qg||t instanceof Gg)throw go(t),t}onWalletDisconnected(t){this.tracker.trackDisconnection(this.wallet,t),this.wallet=null}checkConnection(){if(!this.connected)throw new Xg}createConnectRequest(t){let n=[{name:\"ton_addr\"}];return t?.tonProof&&n.push({name:\"ton_proof\",payload:t.tonProof}),{manifestUrl:this.dappSettings.manifestUrl,items:n}}};va.walletsList=new Xf;va.isWalletInjected=e=>ba.isWalletInjected(e);va.isInsideWalletBrowser=e=>ba.isInsideWalletBrowser(e);var Q_=yn(K9(),1),X_=yn(G9(),1),lh=yn(Q9(),1),XP=Object.defineProperty,JP=Object.defineProperties,ez=Object.getOwnPropertyDescriptors,v1=Object.getOwnPropertySymbols,Z_=Object.prototype.hasOwnProperty,Y_=Object.prototype.propertyIsEnumerable,X9=(e,t,n)=>t in e?XP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Lt=(e,t)=>{for(var n in t||(t={}))Z_.call(t,n)&&X9(e,n,t[n]);if(v1)for(var n of v1(t))Y_.call(t,n)&&X9(e,n,t[n]);return e},pr=(e,t)=>JP(e,ez(t)),G_=(e,t)=>{var n={};for(var r in e)Z_.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&v1)for(var r of v1(e))t.indexOf(r)<0&&Y_.call(e,r)&&(n[r]=e[r]);return n},vt=(e,t,n)=>new Promise((r,i)=>{var a=l=>{try{s(n.next(l))}catch(c){i(c)}},o=l=>{try{s(n.throw(l))}catch(c){i(c)}},s=l=>l.done?r(l.value):Promise.resolve(l.value).then(a,o);s((n=n.apply(e,t)).next())}),J9,e_,t_,n_,r_,i_,a_,o_,tz=!1,nz=(e,t)=>e===t,Gi=Symbol(\"solid-proxy\"),J_=typeof Proxy==\"function\",w1=Symbol(\"solid-track\"),x1={equals:nz},e7=u7,_o=1,C1=2,t7={owned:null,cleanups:null,context:null,owner:null},Dv={},$t=null,Lv=null,rz=null,ln=null,xr=null,xo=null,H1=0;function ch(e,t){let n=ln,r=$t,i=e.length===0,a=t===void 0?r:t,o=i?t7:{owned:null,cleanups:null,context:a?a.context:null,owner:a},s=i?e:()=>e(()=>kn(()=>fh(o)));$t=o,ln=null;try{return Ta(s,!0)}finally{ln=n,$t=r}}function Je(e,t){t=t?Object.assign({},x1,t):x1;let n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0},r=i=>(typeof i==\"function\"&&(i=i(n.value)),c7(n,i));return[l7.bind(n),r]}function n7(e,t,n){let r=W1(e,t,!0,_o);Cu(r)}function kt(e,t,n){let r=W1(e,t,!1,_o);Cu(r)}function Kn(e,t,n){e7=fz;let r=W1(e,t,!1,_o);(!n||!n.render)&&(r.user=!0),xo?xo.push(r):Cu(r)}function dt(e,t,n){n=n?Object.assign({},x1,n):x1;let r=W1(e,t,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,Cu(r),l7.bind(r)}function iz(e){return e&&typeof e==\"object\"&&\"then\"in e}function az(e,t,n){let r,i,a;r=!0,i=e,a={};let o=null,s=Dv,l=!1,c=\"initialValue\"in a,u=typeof r==\"function\"&&dt(r),d=new Set,[h,g]=(a.storage||Je)(a.initialValue),[y,E]=Je(void 0),[L,C]=Je(void 0,{equals:!1}),[v,T]=Je(c?\"ready\":\"unresolved\");function R(z,K,j,N){return o===z&&(o=null,N!==void 0&&(c=!0),(z===s||K===s)&&a.onHydrated&&queueMicrotask(()=>a.onHydrated(N,{value:K})),s=Dv,O(K,j)),K}function O(z,K){Ta(()=>{K===void 0&&g(()=>z),T(K!==void 0?\"errored\":c?\"ready\":\"unresolved\"),E(K);for(let j of d.keys())j.decrement();d.clear()},!1)}function re(){let z=cz,K=h(),j=y();if(j!==void 0&&!o)throw j;return ln&&ln.user,K}function B(z=!0){if(z!==!1&&l)return;l=!1;let K=u?u():r;if(K==null||K===!1){R(o,kn(h));return}let j,N=s!==Dv?s:kn(()=>{try{return i(K,{value:h(),refetching:z})}catch(pe){j=pe}});if(j!==void 0){R(o,void 0,m1(j),K);return}else if(!iz(N))return R(o,N,void 0,K),N;return o=N,\"v\"in N?(N.s===1?R(o,N.v,void 0,K):R(o,void 0,m1(N.v),K),N):(l=!0,queueMicrotask(()=>l=!1),Ta(()=>{T(c?\"refreshing\":\"pending\"),C()},!1),N.then(pe=>R(N,pe,void 0,K),pe=>R(N,void 0,m1(pe),K)))}Object.defineProperties(re,{state:{get:()=>v()},error:{get:()=>y()},loading:{get(){let z=v();return z===\"pending\"||z===\"refreshing\"}},latest:{get(){if(!c)return re();let z=y();if(z&&!o)throw z;return h()}}});let q=$t;return u?n7(()=>(q=$t,B(!1))):B(!1),[re,{refetch:z=>a7(q,()=>B(z)),mutate:g}]}function aw(e){return Ta(e,!1)}function kn(e){if(ln===null)return e();let t=ln;ln=null;try{return e()}finally{ln=t}}function oz(e,t,n){let r=Array.isArray(e),i;return a=>{let o;if(r){o=Array(e.length);for(let l=0;l<e.length;l++)o[l]=e[l]()}else o=e();let s=kn(()=>t(o,i,a));return i=o,s}}function r7(e){Kn(()=>kn(e))}function Rr(e){return $t===null||($t.cleanups===null?$t.cleanups=[e]:$t.cleanups.push(e)),e}function ow(){return ln}function i7(){return $t}function a7(e,t){let n=$t,r=ln;$t=e,ln=null;try{return Ta(t,!0)}catch(i){kw(i)}finally{$t=n,ln=r}}function sz(e){let t=ln,n=$t;return Promise.resolve().then(()=>{ln=t,$t=n,Ta(e,!1),ln=$t=null})}var[lz,_ne]=Je(!1);function o7(){return[lz,sz]}function V1(e,t){let n=Symbol(\"context\");return{id:n,Provider:hz(n),defaultValue:e}}function Cr(e){let t;return $t&&$t.context&&(t=$t.context[e.id])!==void 0?t:e.defaultValue}function s7(e){let t=dt(e),n=dt(()=>sw(t()));return n.toArray=()=>{let r=n();return Array.isArray(r)?r:r!=null?[r]:[]},n}var cz;function l7(){if(this.sources&&this.state)if(this.state===_o)Cu(this);else{let e=xr;xr=null,Ta(()=>_1(this),!1),xr=e}if(ln){let e=this.observers?this.observers.length:0;ln.sources?(ln.sources.push(this),ln.sourceSlots.push(e)):(ln.sources=[this],ln.sourceSlots=[e]),this.observers?(this.observers.push(ln),this.observerSlots.push(ln.sources.length-1)):(this.observers=[ln],this.observerSlots=[ln.sources.length-1])}return this.value}function c7(e,t,n){let r=e.value;return(!e.comparator||!e.comparator(r,t))&&(e.value=t,e.observers&&e.observers.length&&Ta(()=>{for(let i=0;i<e.observers.length;i+=1){let a=e.observers[i],o=Lv&&Lv.running;o&&Lv.disposed.has(a),(o?!a.tState:!a.state)&&(a.pure?xr.push(a):xo.push(a),a.observers&&d7(a)),o||(a.state=_o)}if(xr.length>1e6)throw xr=[],new Error},!1)),t}function Cu(e){if(!e.fn)return;fh(e);let t=H1;uz(e,e.value,t)}function uz(e,t,n){let r,i=$t,a=ln;ln=$t=e;try{r=e.fn(t)}catch(o){return e.pure&&(e.state=_o,e.owned&&e.owned.forEach(fh),e.owned=null),e.updatedAt=n+1,kw(o)}finally{ln=a,$t=i}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&\"observers\"in e?c7(e,r):e.value=r,e.updatedAt=n)}function W1(e,t,n,r=_o,i){let a={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:$t,context:$t?$t.context:null,pure:n};return $t===null||$t!==t7&&($t.owned?$t.owned.push(a):$t.owned=[a]),a}function S1(e){if(e.state===0)return;if(e.state===C1)return _1(e);if(e.suspense&&kn(e.suspense.inFallback))return e.suspense.effects.push(e);let t=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<H1);)e.state&&t.push(e);for(let n=t.length-1;n>=0;n--)if(e=t[n],e.state===_o)Cu(e);else if(e.state===C1){let r=xr;xr=null,Ta(()=>_1(e,t[0]),!1),xr=r}}function Ta(e,t){if(xr)return e();let n=!1;t||(xr=[]),xo?n=!0:xo=[],H1++;try{let r=e();return dz(n),r}catch(r){n||(xo=null),xr=null,kw(r)}}function dz(e){if(xr&&(u7(xr),xr=null),e)return;let t=xo;xo=null,t.length&&Ta(()=>e7(t),!1)}function u7(e){for(let t=0;t<e.length;t++)S1(e[t])}function fz(e){let t,n=0;for(t=0;t<e.length;t++){let r=e[t];r.user?e[n++]=r:S1(r)}for(t=0;t<n;t++)S1(e[t])}function _1(e,t){e.state=0;for(let n=0;n<e.sources.length;n+=1){let r=e.sources[n];if(r.sources){let i=r.state;i===_o?r!==t&&(!r.updatedAt||r.updatedAt<H1)&&S1(r):i===C1&&_1(r,t)}}}function d7(e){for(let t=0;t<e.observers.length;t+=1){let n=e.observers[t];n.state||(n.state=C1,n.pure?xr.push(n):xo.push(n),n.observers&&d7(n))}}function fh(e){let t;if(e.sources)for(;e.sources.length;){let n=e.sources.pop(),r=e.sourceSlots.pop(),i=n.observers;if(i&&i.length){let a=i.pop(),o=n.observerSlots.pop();r<i.length&&(a.sourceSlots[o]=r,i[r]=a,n.observerSlots[r]=o)}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)fh(e.tOwned[t]);delete e.tOwned}if(e.owned){for(t=e.owned.length-1;t>=0;t--)fh(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}e.state=0}function m1(e){return e instanceof Error?e:new Error(typeof e==\"string\"?e:\"Unknown error\",{cause:e})}function kw(e,t=$t){throw m1(e)}function sw(e){if(typeof e==\"function\"&&!e.length)return sw(e());if(Array.isArray(e)){let t=[];for(let n=0;n<e.length;n++){let r=sw(e[n]);Array.isArray(r)?t.push.apply(t,r):t.push(r)}return t}return e}function hz(e,t){return function(r){let i;return kt(()=>i=kn(()=>($t.context=pr(Lt({},$t.context),{[e]:r.value}),s7(()=>r.children))),void 0),i}}var gz=Symbol(\"fallback\");function s_(e){for(let t=0;t<e.length;t++)e[t]()}function pz(e,t,n={}){let r=[],i=[],a=[],o=0,s=t.length>1?[]:null;return Rr(()=>s_(a)),()=>{let l=e()||[],c=l.length,u,d;return l[w1],kn(()=>{let g,y,E,L,C,v,T,R,O;if(c===0)o!==0&&(s_(a),a=[],r=[],i=[],o=0,s&&(s=[])),n.fallback&&(r=[gz],i[0]=ch(re=>(a[0]=re,n.fallback())),o=1);else if(o===0){for(i=new Array(c),d=0;d<c;d++)r[d]=l[d],i[d]=ch(h);o=c}else{for(E=new Array(c),L=new Array(c),s&&(C=new Array(c)),v=0,T=Math.min(o,c);v<T&&r[v]===l[v];v++);for(T=o-1,R=c-1;T>=v&&R>=v&&r[T]===l[R];T--,R--)E[R]=i[T],L[R]=a[T],s&&(C[R]=s[T]);for(g=new Map,y=new Array(R+1),d=R;d>=v;d--)O=l[d],u=g.get(O),y[d]=u===void 0?-1:u,g.set(O,d);for(u=v;u<=T;u++)O=r[u],d=g.get(O),d!==void 0&&d!==-1?(E[d]=i[u],L[d]=a[u],s&&(C[d]=s[u]),d=y[d],g.set(O,d)):a[u]();for(d=v;d<c;d++)d in E?(i[d]=E[d],a[d]=L[d],s&&(s[d]=C[d],s[d](d))):i[d]=ch(h);i=i.slice(0,o=c),r=l.slice(0)}return i});function h(g){if(a[d]=g,s){let[y,E]=Je(d);return s[d]=E,t(l[d],y)}return t(l[d])}}}function p(e,t){return kn(()=>e(t||{}))}function u1(){return!0}var lw={get(e,t,n){return t===Gi?n:e.get(t)},has(e,t){return t===Gi?!0:e.has(t)},set:u1,deleteProperty:u1,getOwnPropertyDescriptor(e,t){return{configurable:!0,enumerable:!0,get(){return e.get(t)},set:u1,deleteProperty:u1}},ownKeys(e){return e.keys()}};function jv(e){return(e=typeof e==\"function\"?e():e)?e:{}}function mz(){for(let e=0,t=this.length;e<t;++e){let n=this[e]();if(n!==void 0)return n}}function Ca(...e){let t=!1;for(let o=0;o<e.length;o++){let s=e[o];t=t||!!s&&Gi in s,e[o]=typeof s==\"function\"?(t=!0,dt(s)):s}if(J_&&t)return new Proxy({get(o){for(let s=e.length-1;s>=0;s--){let l=jv(e[s])[o];if(l!==void 0)return l}},has(o){for(let s=e.length-1;s>=0;s--)if(o in jv(e[s]))return!0;return!1},keys(){let o=[];for(let s=0;s<e.length;s++)o.push(...Object.keys(jv(e[s])));return[...new Set(o)]}},lw);let n={},r=Object.create(null);for(let o=e.length-1;o>=0;o--){let s=e[o];if(!s)continue;let l=Object.getOwnPropertyNames(s);for(let c=l.length-1;c>=0;c--){let u=l[c];if(u===\"__proto__\"||u===\"constructor\")continue;let d=Object.getOwnPropertyDescriptor(s,u);if(!r[u])r[u]=d.get?{enumerable:!0,configurable:!0,get:mz.bind(n[u]=[d.get.bind(s)])}:d.value!==void 0?d:void 0;else{let h=n[u];h&&(d.get?h.push(d.get.bind(s)):d.value!==void 0&&h.push(()=>d.value))}}}let i={},a=Object.keys(r);for(let o=a.length-1;o>=0;o--){let s=a[o],l=r[s];l&&l.get?Object.defineProperty(i,s,l):i[s]=l?l.value:void 0}return i}function Bw(e,...t){if(J_&&Gi in e){let i=new Set(t.length>1?t.flat():t[0]),a=t.map(o=>new Proxy({get(s){return o.includes(s)?e[s]:void 0},has(s){return o.includes(s)&&s in e},keys(){return o.filter(s=>s in e)}},lw));return a.push(new Proxy({get(o){return i.has(o)?void 0:e[o]},has(o){return i.has(o)?!1:o in e},keys(){return Object.keys(e).filter(o=>!i.has(o))}},lw)),a}let n={},r=t.map(()=>({}));for(let i of Object.getOwnPropertyNames(e)){let a=Object.getOwnPropertyDescriptor(e,i),o=!a.get&&!a.set&&a.enumerable&&a.writable&&a.configurable,s=!1,l=0;for(let c of t)c.includes(i)&&(s=!0,o?r[l][i]=a.value:Object.defineProperty(r[l],i,a)),++l;s||(o?n[i]=a.value:Object.defineProperty(n,i,a))}return[...r,n]}var f7=e=>`Stale read from <${e}>.`;function pu(e){let t=\"fallback\"in e&&{fallback:()=>e.fallback};return dt(pz(()=>e.each,e.children,t||void 0))}function tt(e){let t=e.keyed,n=dt(()=>e.when,void 0,void 0),r=t?n:dt(n,void 0,{equals:(i,a)=>!i==!a});return dt(()=>{let i=r();if(i){let a=e.children;return typeof a==\"function\"&&a.length>0?kn(()=>a(t?i:()=>{if(!kn(r))throw f7(\"Show\");return n()})):a}return e.fallback},void 0,void 0)}function Co(e){let t=s7(()=>e.children),n=dt(()=>{let r=t(),i=Array.isArray(r)?r:[r],a=()=>{};for(let o=0;o<i.length;o++){let s=o,l=i[o],c=a,u=dt(()=>c()?void 0:l.when,void 0,void 0),d=l.keyed?u:dt(u,void 0,{equals:(h,g)=>!h==!g});a=()=>c()||(d()?[s,u,l]:void 0)}return a});return dt(()=>{let r=n()();if(!r)return e.fallback;let[i,a,o]=r,s=o.children;return typeof s==\"function\"&&s.length>0?kn(()=>s(o.keyed?a():()=>{var c;if(((c=kn(n)())==null?void 0:c[0])!==i)throw f7(\"Match\");return a()})):s},void 0,void 0)}function Pt(e){return e}var yz=[\"allowfullscreen\",\"async\",\"autofocus\",\"autoplay\",\"checked\",\"controls\",\"default\",\"disabled\",\"formnovalidate\",\"hidden\",\"indeterminate\",\"inert\",\"ismap\",\"loop\",\"multiple\",\"muted\",\"nomodule\",\"novalidate\",\"open\",\"playsinline\",\"readonly\",\"required\",\"reversed\",\"seamless\",\"selected\"],bz=new Set([\"className\",\"value\",\"readOnly\",\"noValidate\",\"formNoValidate\",\"isMap\",\"noModule\",\"playsInline\",...yz]),vz=new Set([\"innerHTML\",\"textContent\",\"innerText\",\"children\"]),wz=Object.assign(Object.create(null),{className:\"class\",htmlFor:\"for\"}),xz=Object.assign(Object.create(null),{class:\"className\",novalidate:{$:\"noValidate\",FORM:1},formnovalidate:{$:\"formNoValidate\",BUTTON:1,INPUT:1},ismap:{$:\"isMap\",IMG:1},nomodule:{$:\"noModule\",SCRIPT:1},playsinline:{$:\"playsInline\",VIDEO:1},readonly:{$:\"readOnly\",INPUT:1,TEXTAREA:1}});function Cz(e,t){let n=xz[e];return typeof n==\"object\"?n[t]?n.$:void 0:n}var Sz=new Set([\"beforeinput\",\"click\",\"dblclick\",\"contextmenu\",\"focusin\",\"focusout\",\"input\",\"keydown\",\"keyup\",\"mousedown\",\"mousemove\",\"mouseout\",\"mouseover\",\"mouseup\",\"pointerdown\",\"pointermove\",\"pointerout\",\"pointerover\",\"pointerup\",\"touchend\",\"touchmove\",\"touchstart\"]),_z=new Set([\"altGlyph\",\"altGlyphDef\",\"altGlyphItem\",\"animate\",\"animateColor\",\"animateMotion\",\"animateTransform\",\"circle\",\"clipPath\",\"color-profile\",\"cursor\",\"defs\",\"desc\",\"ellipse\",\"feBlend\",\"feColorMatrix\",\"feComponentTransfer\",\"feComposite\",\"feConvolveMatrix\",\"feDiffuseLighting\",\"feDisplacementMap\",\"feDistantLight\",\"feDropShadow\",\"feFlood\",\"feFuncA\",\"feFuncB\",\"feFuncG\",\"feFuncR\",\"feGaussianBlur\",\"feImage\",\"feMerge\",\"feMergeNode\",\"feMorphology\",\"feOffset\",\"fePointLight\",\"feSpecularLighting\",\"feSpotLight\",\"feTile\",\"feTurbulence\",\"filter\",\"font\",\"font-face\",\"font-face-format\",\"font-face-name\",\"font-face-src\",\"font-face-uri\",\"foreignObject\",\"g\",\"glyph\",\"glyphRef\",\"hkern\",\"image\",\"line\",\"linearGradient\",\"marker\",\"mask\",\"metadata\",\"missing-glyph\",\"mpath\",\"path\",\"pattern\",\"polygon\",\"polyline\",\"radialGradient\",\"rect\",\"set\",\"stop\",\"svg\",\"switch\",\"symbol\",\"text\",\"textPath\",\"tref\",\"tspan\",\"use\",\"view\",\"vkern\"]),Tz={xlink:\"http://www.w3.org/1999/xlink\",xml:\"http://www.w3.org/XML/1998/namespace\"},Xe=e=>dt(()=>e());function Ez(e,t,n){let r=n.length,i=t.length,a=r,o=0,s=0,l=t[i-1].nextSibling,c=null;for(;o<i||s<a;){if(t[o]===n[s]){o++,s++;continue}for(;t[i-1]===n[a-1];)i--,a--;if(i===o){let u=a<r?s?n[s-1].nextSibling:n[a-s]:l;for(;s<a;)e.insertBefore(n[s++],u)}else if(a===s)for(;o<i;)(!c||!c.has(t[o]))&&t[o].remove(),o++;else if(t[o]===n[a-1]&&n[s]===t[i-1]){let u=t[--i].nextSibling;e.insertBefore(n[s++],t[o++].nextSibling),e.insertBefore(n[--a],u),t[i]=n[a]}else{if(!c){c=new Map;let d=s;for(;d<a;)c.set(n[d],d++)}let u=c.get(t[o]);if(u!=null)if(s<u&&u<a){let d=o,h=1,g;for(;++d<i&&d<a&&!((g=c.get(t[d]))==null||g!==u+h);)h++;if(h>u-s){let y=t[o];for(;s<u;)e.insertBefore(n[s++],y)}else e.replaceChild(n[s++],t[o++])}else o++;else t[o++].remove()}}}var l_=\"_$DX_DELEGATE\";function Az(e,t,n,r={}){let i;return ch(a=>{i=a,t===document?e():sr(t,e(),t.firstChild?null:void 0,n)},r.owner),()=>{i(),t.textContent=\"\"}}function Bt(e,t,n,r){let i,a=()=>{let s=r?document.createElementNS(\"http://www.w3.org/1998/Math/MathML\",\"template\"):document.createElement(\"template\");return s.innerHTML=e,n?s.content.firstChild.firstChild:r?s.firstChild:s.content.firstChild},o=t?()=>kn(()=>document.importNode(i||(i=a()),!0)):()=>(i||(i=a())).cloneNode(!0);return o.cloneNode=o,o}function kz(e,t=window.document){let n=t[l_]||(t[l_]=new Set);for(let r=0,i=e.length;r<i;r++){let a=e[r];n.has(a)||(n.add(a),t.addEventListener(a,Pz))}}function $e(e,t,n){n==null?e.removeAttribute(t):e.setAttribute(t,n)}function Bz(e,t,n,r){r==null?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,r)}function Mz(e,t,n){n?e.setAttribute(t,\"\"):e.removeAttribute(t)}function Mw(e,t){t==null?e.removeAttribute(\"class\"):e.className=t}function Rz(e,t,n,r){if(r)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){let i=n[0];e.addEventListener(t,n[0]=a=>i.call(e,n[1],a))}else e.addEventListener(t,n,typeof n!=\"function\"&&n)}function Uz(e,t,n={}){let r=Object.keys(t||{}),i=Object.keys(n),a,o;for(a=0,o=i.length;a<o;a++){let s=i[a];!s||s===\"undefined\"||t[s]||(c_(e,s,!1),delete n[s])}for(a=0,o=r.length;a<o;a++){let s=r[a],l=!!t[s];!s||s===\"undefined\"||n[s]===l||!l||(c_(e,s,!0),n[s]=l)}return n}function Oz(e,t,n){if(!t)return n?$e(e,\"style\"):t;let r=e.style;if(typeof t==\"string\")return r.cssText=t;typeof n==\"string\"&&(r.cssText=n=void 0),n||(n={}),t||(t={});let i,a;for(a in n)t[a]==null&&r.removeProperty(a),delete n[a];for(a in t)i=t[a],i!==n[a]&&(r.setProperty(a,i),n[a]=i);return n}function h7(e,t={},n,r){let i={};return kt(()=>i.children=hh(e,t.children,i.children)),kt(()=>typeof t.ref==\"function\"&&kl(t.ref,e)),kt(()=>Iz(e,t,n,!0,i,!0)),i}function kl(e,t,n){return kn(()=>e(t,n))}function sr(e,t,n,r){if(n!==void 0&&!r&&(r=[]),typeof t!=\"function\")return hh(e,t,r,n);kt(i=>hh(e,t(),i,n),r)}function Iz(e,t,n,r,i={},a=!1){t||(t={});for(let o in i)if(!(o in t)){if(o===\"children\")continue;i[o]=u_(e,o,null,i[o],n,a,t)}for(let o in t){if(o===\"children\")continue;let s=t[o];i[o]=u_(e,o,s,i[o],n,a,t)}}function Nz(e){return e.toLowerCase().replace(/-([a-z])/g,(t,n)=>n.toUpperCase())}function c_(e,t,n){let r=t.trim().split(/\\s+/);for(let i=0,a=r.length;i<a;i++)e.classList.toggle(r[i],n)}function u_(e,t,n,r,i,a,o){let s,l,c,u,d;if(t===\"style\")return Oz(e,n,r);if(t===\"classList\")return Uz(e,n,r);if(n===r)return r;if(t===\"ref\")a||n(e);else if(t.slice(0,3)===\"on:\"){let h=t.slice(3);r&&e.removeEventListener(h,r,typeof r!=\"function\"&&r),n&&e.addEventListener(h,n,typeof n!=\"function\"&&n)}else if(t.slice(0,10)===\"oncapture:\"){let h=t.slice(10);r&&e.removeEventListener(h,r,!0),n&&e.addEventListener(h,n,!0)}else if(t.slice(0,2)===\"on\"){let h=t.slice(2).toLowerCase(),g=Sz.has(h);if(!g&&r){let y=Array.isArray(r)?r[0]:r;e.removeEventListener(h,y)}(g||n)&&(Rz(e,h,n,g),g&&kz([h]))}else if(t.slice(0,5)===\"attr:\")$e(e,t.slice(5),n);else if(t.slice(0,5)===\"bool:\")Mz(e,t.slice(5),n);else if((d=t.slice(0,5)===\"prop:\")||(c=vz.has(t))||!i&&((u=Cz(t,e.tagName))||(l=bz.has(t)))||(s=e.nodeName.includes(\"-\")||\"is\"in o))d&&(t=t.slice(5),l=!0),t===\"class\"||t===\"className\"?Mw(e,n):s&&!l&&!c?e[Nz(t)]=n:e[u||t]=n;else{let h=i&&t.indexOf(\":\")>-1&&Tz[t.split(\":\")[0]];h?Bz(e,h,t,n):$e(e,wz[t]||t,n)}return n}function Pz(e){let t=e.target,n=`$$${e.type}`,r=e.target,i=e.currentTarget,a=l=>Object.defineProperty(e,\"target\",{configurable:!0,value:l}),o=()=>{let l=t[n];if(l&&!t.disabled){let c=t[`${n}Data`];if(c!==void 0?l.call(t,c,e):l.call(t,e),e.cancelBubble)return}return t.host&&typeof t.host!=\"string\"&&!t.host._$host&&t.contains(e.target)&&a(t.host),!0},s=()=>{for(;o()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,\"currentTarget\",{configurable:!0,get(){return t||document}}),e.composedPath){let l=e.composedPath();a(l[0]);for(let c=0;c<l.length-2&&(t=l[c],!!o());c++){if(t._$host){t=t._$host,s();break}if(t.parentNode===i)break}}else s();a(r)}function hh(e,t,n,r,i){for(;typeof n==\"function\";)n=n();if(t===n)return n;let a=typeof t,o=r!==void 0;if(e=o&&n[0]&&n[0].parentNode||e,a===\"string\"||a===\"number\"){if(a===\"number\"&&(t=t.toString(),t===n))return n;if(o){let s=n[0];s&&s.nodeType===3?s.data!==t&&(s.data=t):s=document.createTextNode(t),n=ou(e,n,r,s)}else n!==\"\"&&typeof n==\"string\"?n=e.firstChild.data=t:n=e.textContent=t}else if(t==null||a===\"boolean\")n=ou(e,n,r);else{if(a===\"function\")return kt(()=>{let s=t();for(;typeof s==\"function\";)s=s();n=hh(e,s,n,r)}),()=>n;if(Array.isArray(t)){let s=[],l=n&&Array.isArray(n);if(cw(s,t,n,i))return kt(()=>n=hh(e,s,n,r,!0)),()=>n;if(s.length===0){if(n=ou(e,n,r),o)return n}else l?n.length===0?d_(e,s,r):Ez(e,n,s):(n&&ou(e),d_(e,s));n=s}else if(t.nodeType){if(Array.isArray(n)){if(o)return n=ou(e,n,r,t);ou(e,n,null,t)}else n==null||n===\"\"||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}}return n}function cw(e,t,n,r){let i=!1;for(let a=0,o=t.length;a<o;a++){let s=t[a],l=n&&n[e.length],c;if(!(s==null||s===!0||s===!1))if((c=typeof s)==\"object\"&&s.nodeType)e.push(s);else if(Array.isArray(s))i=cw(e,s,l)||i;else if(c===\"function\")if(r){for(;typeof s==\"function\";)s=s();i=cw(e,Array.isArray(s)?s:[s],Array.isArray(l)?l:[l])||i}else e.push(s),i=!0;else{let u=String(s);l&&l.nodeType===3&&l.data===u?e.push(l):e.push(document.createTextNode(u))}}return i}function d_(e,t,n=null){for(let r=0,i=t.length;r<i;r++)e.insertBefore(t[r],n)}function ou(e,t,n,r){if(n===void 0)return e.textContent=\"\";let i=r||document.createTextNode(\"\");if(t.length){let a=!1;for(let o=t.length-1;o>=0;o--){let s=t[o];if(i!==s){let l=s.parentNode===e;!a&&!o?l?e.replaceChild(i,s):e.insertBefore(i,n):l&&s.remove()}else a=!0}}else e.insertBefore(i,n);return[i]}var zz=\"http://www.w3.org/2000/svg\";function g7(e,t=!1){return t?document.createElementNS(zz,e):document.createElement(e)}function p7(e){let{useShadow:t}=e,n=document.createTextNode(\"\"),r=()=>e.mount||document.body,i=i7(),a;return Kn(()=>{a||(a=a7(i,()=>dt(()=>e.children)));let o=r();if(o instanceof HTMLHeadElement){let[s,l]=Je(!1),c=()=>l(!0);ch(u=>sr(o,()=>s()?u():a(),null)),Rr(c)}else{let s=g7(e.isSVG?\"g\":\"div\",e.isSVG),l=t&&s.attachShadow?s.attachShadow({mode:\"open\"}):s;Object.defineProperty(s,\"_$host\",{get(){return n.parentNode},configurable:!0}),sr(l,a),o.appendChild(s),e.ref&&e.ref(s),Rr(()=>o.removeChild(s))}},void 0,{render:!0}),n}function Dz(e,t){let n=dt(e);return dt(()=>{let r=n();switch(typeof r){case\"function\":return kn(()=>r(t));case\"string\":let i=_z.has(r),a=g7(r,i);return h7(a,t,i),a}})}function mu(e){let[,t]=Bw(e,[\"component\"]);return Dz(()=>e.component,t)}var In=(e=>(e.DARK=\"DARK\",e.LIGHT=\"LIGHT\",e))(In||{}),Lz={data:\"\"},jz=e=>typeof window==\"object\"?((e?e.querySelector(\"#_goober\"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement(\"style\")),{innerHTML:\" \",id:\"_goober\"})).firstChild:e||Lz,qz=/(?:([\\u0080-\\uFFFF\\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\\s*)/g,Hz=/\\/\\*[^]*?\\*\\/| +/g,f_=/\\n+/g,_l=(e,t)=>{let n=\"\",r=\"\",i=\"\";for(let a in e){let o=e[a];a[0]==\"@\"?a[1]==\"i\"?n=a+\" \"+o+\";\":r+=a[1]==\"f\"?_l(o,a):a+\"{\"+_l(o,a[1]==\"k\"?\"\":t)+\"}\":typeof o==\"object\"?r+=_l(o,t?t.replace(/([^,])+/g,s=>a.replace(/(^:.*)|([^,])+/g,l=>/&/.test(l)?l.replace(/&/g,s):s?s+\" \"+l:l)):a):o!=null&&(a=/^--/.test(a)?a:a.replace(/[A-Z]/g,\"-$&\").toLowerCase(),i+=_l.p?_l.p(a,o):a+\":\"+o+\";\")}return n+(t&&i?t+\"{\"+i+\"}\":i)+r},yo={},m7=e=>{if(typeof e==\"object\"){let t=\"\";for(let n in e)t+=n+m7(e[n]);return t}return e},Vz=(e,t,n,r,i)=>{let a=m7(e),o=yo[a]||(yo[a]=(l=>{let c=0,u=11;for(;c<l.length;)u=101*u+l.charCodeAt(c++)>>>0;return\"go\"+u})(a));if(!yo[o]){let l=a!==e?e:(c=>{let u,d,h=[{}];for(;u=qz.exec(c.replace(Hz,\"\"));)u[4]?h.shift():u[3]?(d=u[3].replace(f_,\" \").trim(),h.unshift(h[0][d]=h[0][d]||{})):h[0][u[1]]=u[2].replace(f_,\" \").trim();return h[0]})(e);yo[o]=_l(i?{[\"@keyframes \"+o]:l}:l,n?\"\":\".\"+o)}let s=n&&yo.g?yo.g:null;return n&&(yo.g=yo[o]),((l,c,u,d)=>{d?c.data=c.data.replace(d,l):c.data.indexOf(l)===-1&&(c.data=u?l+c.data:c.data+l)})(yo[o],t,r,s),o},Wz=(e,t,n)=>e.reduce((r,i,a)=>{let o=t[a];if(o&&o.call){let s=o(n),l=s&&s.props&&s.props.className||/^go/.test(s)&&s;o=l?\".\"+l:s&&typeof s==\"object\"?s.props?\"\":_l(s,\"\"):s===!1?\"\":s}return r+i+(o??\"\")},\"\");function So(e){let t=this||{},n=e.call?e(t.p):e;return Vz(n.unshift?n.raw?Wz(n,[].slice.call(arguments,1),t.p):n.reduce((r,i)=>Object.assign(r,i&&i.call?i(t.p):i),{}):n,jz(t.target),t.g,t.o,t.k)}So.bind({g:1});var Fz=So.bind({k:1}),Rw=V1();function Kz(e){return p(Rw.Provider,{value:e.theme,get children(){return e.children}})}function pn(){return Cr(Rw)}function y7(e){let t=this||{};return(...n)=>{let r=i=>{let a=Cr(Rw),o=Ca(i,{theme:a}),s=Ca(o,{get class(){let g=o.class,y=\"class\"in o&&/^go[0-9]+/.test(g),E=So.apply({target:t.target,o:y,p:o,g:t.g},n);return[g,E].filter(Boolean).join(\" \")}}),[l,c]=Bw(s,[\"as\",\"theme\"]),u=c,d=l.as||e,h;return typeof d==\"function\"?h=d(u):t.g==1?(h=document.createElement(d),h7(h,u)):h=mu(Ca({component:d},u)),h};return r.class=i=>kn(()=>So.apply({target:t.target,p:i,g:t.g},n)),r}}var G=new Proxy(y7,{get(e,t){return e(t)}});function $z(){let e=y7.call({g:1},\"div\").apply(null,arguments);return function(n){return e(n),null}}var vo=\"tc-root\",T1=\"tc-disable-scroll\",qv=\"tc-using-mouse\",Zz=()=>{document.body.addEventListener(\"mousedown\",()=>document.body.classList.add(qv)),document.body.addEventListener(\"keydown\",t=>{t.key===\"Tab\"&&document.body.classList.remove(qv)});let e=$z`\n ${vo} * {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n \n font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', Arial, Tahoma, Verdana, sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale; \n -webkit-tap-highlight-color: transparent;\n }\n \n ${vo} img {\n -webkit-user-select: none;\n -webkit-touch-callout: none;\n } \n \n ${vo} *:focus {\n outline: #08f auto 2px;\n }\n \n ${vo} li {\n list-style: none;\n }\n \n ${vo} button {\n outline: none;\n }\n \n body.${T1} {\n position: fixed; \n overflow-y: scroll;\n right: 0;\n left: 0;\n }\n \n body.${qv} ${vo} *:focus {\n outline: none;\n }\n`;return p(e,{})};function Yz(e){e[0]===\"#\"&&(e=e.slice(1));let t=parseInt(e,16),n=t>>16&255,r=t>>8&255,i=t&255;return[n,r,i].join(\",\")}function Ul(e,t){return e[0]===\"#\"&&(e=Yz(e)),`rgba(${e}, ${t})`}function Sa(e){return e.toString()+\"px\"}var uw=class e{constructor(){this.storage={}}static getInstance(){return e.instance||(e.instance=new e),e.instance}get length(){return Object.keys(this.storage).length}clear(){this.storage={}}getItem(t){var n;return(n=this.storage[t])!=null?n:null}key(t){var n;let r=Object.keys(this.storage);return t<0||t>=r.length?null:(n=r[t])!=null?n:null}removeItem(t){delete this.storage[t]}setItem(t,n){this.storage[t]=n}},vn=class e extends He{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}};function y1(...e){try{[...e]}catch{}}function Gz(...e){try{console.error(\"[TON_CONNECT_UI]\",...e)}catch{}}function Qz(...e){try{console.warn(\"[TON_CONNECT_UI]\",...e)}catch{}}function uh(e,t=\"_self\"){y1(\"openLink\",e,t),window.open(e,t,\"noopener noreferrer\")}function gn(e){uh(e,\"_blank\")}function ws(e,t){let n=()=>{Tt(\"safari\")||$i(\"android\")&&Tt(\"firefox\")||t()},r=setTimeout(()=>n(),200);window.addEventListener(\"blur\",()=>clearTimeout(r),{once:!0}),uh(e,\"_self\")}function Xz(){return window.matchMedia&&window.matchMedia(\"(prefers-color-scheme: light)\").matches?In.LIGHT:In.DARK}function Jz(e){let t=n=>e(n.matches?In.DARK:In.LIGHT);return window.matchMedia(\"(prefers-color-scheme: dark)\").addEventListener(\"change\",t),()=>window.matchMedia(\"(prefers-color-scheme: dark)\").removeEventListener(\"change\",t)}function eD(){document.documentElement.scrollHeight!==document.documentElement.clientHeight&&(document.body.style.top=Sa(-document.documentElement.scrollTop),document.body.classList.add(T1))}function tD(){document.body.classList.contains(T1)&&(document.body.classList.remove(T1),document.documentElement.scrollTo({top:-parseFloat(getComputedStyle(document.body).top)}),document.body.style.top=\"auto\")}function nD(){document.body.hasAttribute(\"ontouchstart\")||document.body.setAttribute(\"ontouchstart\",\"\")}function rD(){customElements.get(\"tc-root\")||customElements.define(vo,class extends HTMLElement{})}function b7(e){return vt(this,null,function*(){yield new Promise(t=>requestAnimationFrame(t)),e()})}function iD(e){return vt(this,null,function*(){return yield new Promise(t=>requestAnimationFrame(t)),e()})}function v7(e){document.readyState!==\"complete\"?window.addEventListener(\"load\",()=>b7(()=>v7(e)),{once:!0}):e.forEach(t=>{let n=new window.Image;n.src=t})}function Aa(){if(typeof window<\"u\")return window}function Uw(){if(aD())return localStorage;if(oD())throw new vn(\"`localStorage` is unavailable, but it is required for TonConnect. For more details, see https://github.com/ton-connect/sdk/tree/main/packages/sdk#init-connector\");return uw.getInstance()}function aD(){try{return typeof localStorage<\"u\"}catch{return!1}}function oD(){return typeof process<\"u\"&&process.versions!=null&&process.versions.node!=null}function Ow(){var e,t,n;let r=new Q_.default().getResult(),i=(e=r.os.name)==null?void 0:e.toLowerCase(),a=(t=r.device.model)==null?void 0:t.toLowerCase(),o;switch(!0){case a===\"ipad\":o=\"ipad\";break;case i===\"ios\":o=\"ios\";break;case i===\"android\":o=\"android\";break;case i===\"mac os\":o=\"macos\";break;case i===\"linux\":o=\"linux\";break;case i?.includes(\"windows\"):o=\"windows\";break}let s=(n=r.browser.name)==null?void 0:n.toLowerCase(),l;switch(!0){case s===\"chrome\":l=\"chrome\";break;case s===\"firefox\":l=\"firefox\";break;case s?.includes(\"safari\"):l=\"safari\";break;case s?.includes(\"opera\"):l=\"opera\";break}return{os:o,browser:l}}function $i(...e){return e.includes(Ow().os)}function Tt(...e){return e.includes(Ow().browser)}function d1(e,t){let n=new URL(e);return t+n.search}var dw=class{constructor(){this.storageKey=\"ton-connect-ui_wallet-info\",this.localStorage=Uw()}setWalletInfo(t){this.localStorage.setItem(this.storageKey,JSON.stringify(t))}getWalletInfo(){let t=this.localStorage.getItem(this.storageKey);return t?JSON.parse(t):null}removeWalletInfo(){this.localStorage.removeItem(this.storageKey)}},fw=class{constructor(){this.storageKey=\"ton-connect-ui_preferred-wallet\",this.localStorage=Uw()}setPreferredWalletAppName(t){this.localStorage.setItem(this.storageKey,t)}getPreferredWalletAppName(){return this.localStorage.getItem(this.storageKey)||void 0}},E1=class{constructor(){this.storageKey=\"ton-connect-ui_last-selected-wallet-info\",this.localStorage=Uw()}setLastSelectedWalletInfo(t){this.localStorage.setItem(this.storageKey,JSON.stringify(t))}getLastSelectedWalletInfo(){let t=this.localStorage.getItem(this.storageKey);return t?JSON.parse(t):null}removeLastSelectedWalletInfo(){this.localStorage.removeItem(this.storageKey)}},[gh,Hv]=Je({status:\"closed\",closeReason:null}),h_=dt(()=>gh().status===\"opened\"),[A1,g_]=Je({status:\"closed\",closeReason:null}),p_=dt(()=>A1().status===\"opened\"),sD=dt(()=>{let e=A1();return e.status===\"opened\"?e.walletInfo:null}),lu=typeof window<\"u\"?new E1:void 0,[lD,cD]=Je(lu?.getLastSelectedWalletInfo()||null),mr=e=>{lu||(lu=new E1),e?lu.setLastSelectedWalletInfo(e):lu.removeLastSelectedWalletInfo(),cD(e)},[Ii,bo]=Je(null),uD={close:\"Close\",openWallet:\"Open wallet\",copyLink:\"Copy Link\",linkCopied:\"Link Copied\",copied:\"Copied\",yourWallet:\"Your Wallet\",retry:\"Retry\",get:\"GET\",mobile:\"Mobile\",browserExtension:\"Browser Extension\",desktop:\"Desktop\"},dD={connectWallet:\"Connect Wallet\",dropdown:{copy:\"Copy address\",copied:\"Address copied!\",disconnect:\"Disconnect\"}},fD={confirm:{header:\"Open {{ name }} to\\xA0confirm the\\xA0transaction.\"},transactionSent:{header:\"Transaction sent\",text:\"Your transaction\\xA0will be\\xA0processed in\\xA0a\\xA0few seconds.\"},transactionCanceled:{header:\"Transaction canceled\",text:\"There will be no changes to\\xA0your account.\"},dataSigned:{header:\"Data signed\"},signDataCanceled:{header:\"Sign data canceled\"}},hD={walletOn:\"Wallet in\",recent:\"Recent\",installed:\"Installed\",popular:\"Popular\"},gD={loading:\"Loading wallets\",wallets:\"Wallets\",mobileUniversalModal:{connectYourWallet:\"Connect your TON\\xA0wallet\",openWalletOnTelegramOrSelect:\"Use Wallet in Telegram or choose other application\",openWalletOnTelegram:\"Connect Wallet in Telegram\",chooseOtherApplication:\"Choose other application\",openLink:\"Open Link\",scan:\"Scan with your mobile\\xA0wallet\"},desktopUniversalModal:{connectYourWallet:\"Connect your TON wallet\",scan:\"Scan with your mobile wallet\",availableWallets:\"Available wallets\"},mobileConnectionModal:{showQR:\"Show QR Code\",scanQR:\"Scan the\\xA0QR code below with your phone\\u2019s\\xA0or\\xA0{{ name }}\\u2019s camera\",missingFeatures:\"Please update {{ name }}, your version does not support required features for this dApp\",notSupportedWallet:\"{{ name }} doesn\\u2019t support the requested action. Please connect another wallet that supports it\",continueIn:\"Continue in {{ name }}\\u2026\",updateWallet:\"Update {{ name }}\",chooseAnotherWallet:\"Choose Another Wallet\",connectionDeclined:\"Connection declined\"},desktopConnectionModal:{scanQR:\"Scan the\\xA0QR code below with your phone\\u2019s\\xA0or\\xA0{{ name }}\\u2019s camera\",continueInExtension:\"Continue in\\xA0{{ name }} browser extension\\u2026\",dontHaveExtension:\"Seems you don't have installed {{ name }}\\xA0browser\\xA0extension\",missingFeatures:\"Please update {{ name }}, your version does not support required features for this dApp\",notSupportedWallet:\"{{ name }} doesn\\u2019t support the requested action. Please connect another wallet that supports it\",getWallet:\"Get {{ name }}\",updateWallet:\"Update {{ name }}\",chooseAnotherWallet:\"Choose Another Wallet\",continueOnDesktop:\"Continue in\\xA0{{ name }} on desktop\\u2026\",openWalletOnTelegram:\"Connect Wallet in Telegram on desktop\",connectionDeclined:\"Connection declined\"},infoModal:{whatIsAWallet:\"What is a wallet\",secureDigitalAssets:\"Secure digital assets storage\",walletProtects:\"A wallet protects and manages your digital assets\\xA0including TON, tokens and collectables.\",controlIdentity:\"Control your Web3 identity\",manageIdentity:\"Manage your digital identity and access decentralized applications with ease. Maintain control over your data and engage securely in\\xA0the\\xA0blockchain ecosystem.\",effortlessCryptoTransactions:\"Effortless crypto transactions\",easilySend:\"Easily send, receive, monitor your cryptocurrencies.\\xA0Streamline your operations with\\xA0decentralized applications.\",getAWallet:\"Get a Wallet\"},restoreModal:{title:\"Restore\",step1:{title:\"Find your current recovery phrase\",text:\"Open your wallet settings and locate the\\xA0recovery\\xA0phrase\"},step2:{title:\"Copy your recovery phrase\",text:\"Write it down or copy it to a safe place\"},step3:{title:\"Restore in a supported wallet\",text:\"Enter the recovery phrase to access your wallet\"}},allWallets:{walletsBelowNotSupported:\"The wallets below don\\u2019t support all features of\\xA0the connected service. You can use your recovery phrase in one of the supported wallets above.\",walletNotSupportService:\"{{ name }} doesn\\u2019t support connected service\"},featureNotSupported:{wallet:{title:\"{{ name }} doesn\\u2019t support the requested\\xA0action\",description:\"Install a supported wallet from the list below, restore it with your recovery phrase, then connect it and try again.\",info:\"Learn how to restore your wallet\"},version:{description:\"Your current version of {{ name }} or wallet contract type doesn't support the required features. Please update it to continue.\",updateButton:\"Update {{ name }}\",aboutW5:\"About W5\"},disconnect:{title:\"Confirm Disconnect\",description:\"You will be disconnected from your current wallet and redirected to connect {{ name }}.\",button:\"Disconnect\"}}},pD={confirmTransaction:{header:\"Confirm the\\xA0transaction in\\xA0{{ name }}\",text:\"It will only take a\\xA0moment.\"},signData:{header:\"Sign the\\xA0data in\\xA0{{ name }}\",text:\"It will only take a\\xA0moment.\"},transactionSent:\"$notifications.transactionSent\",transactionCanceled:\"$notifications.transactionCanceled\",dataSigned:\"$notifications.dataSigned\",signDataCanceled:\"$notifications.signDataCanceled\"},mD={common:uD,button:dD,notifications:fD,walletItem:hD,walletModal:gD,actionModal:pD},yD={close:\"\\u0417\\u0430\\u043A\\u0440\\u044B\\u0442\\u044C\",openWallet:\"\\u041E\\u0442\\u043A\\u0440\\u044B\\u0442\\u044C \\u043A\\u043E\\u0448\\u0435\\u043B\\u0451\\u043A\",copyLink:\"\\u0421\\u043A\\u043E\\u043F\\u0438\\u0440\\u043E\\u0432\\u0430\\u0442\\u044C\",linkCopied:\"\\u0421\\u0441\\u044B\\u043B\\u043A\\u0430 \\u0441\\u043A\\u043E\\u043F\\u0438\\u0440\\u043E\\u0432\\u0430\\u043D\\u0430\",copied:\"\\u0421\\u043A\\u043E\\u043F\\u0438\\u0440\\u043E\\u0432\\u0430\\u043D\\u043E\",yourWallet:\"\\u0412\\u0430\\u0448 \\u043A\\u043E\\u0448\\u0435\\u043B\\u0451\\u043A\",retry:\"\\u041F\\u043E\\u0432\\u0442\\u043E\\u0440\\u0438\\u0442\\u044C\",get:\"\\u0421\\u043A\\u0430\\u0447\\u0430\\u0442\\u044C\",mobile:\"\\u041C\\u043E\\u0431\\u0438\\u043B\\u044C\\u043D\\u044B\\u0439\",browserExtension:\"\\u0420\\u0430\\u0441\\u0448\\u0438\\u0440\\u0435\\u043D\\u0438\\u0435\",desktop:\"\\u0414\\u0435\\u0441\\u043A\\u0442\\u043E\\u043F\"},bD={connectWallet:\"\\u041F\\u043E\\u0434\\u043A\\u043B\\u044E\\u0447\\u0438\\u0442\\u044C \\u043A\\u043E\\u0448\\u0435\\u043B\\u0451\\u043A\",dropdown:{copy:\"\\u0421\\u043A\\u043E\\u043F\\u0438\\u0440\\u043E\\u0432\\u0430\\u0442\\u044C \\u0430\\u0434\\u0440\\u0435\\u0441\",copied:\"\\u0410\\u0434\\u0440\\u0435\\u0441 \\u0441\\u043A\\u043E\\u043F\\u0438\\u0440\\u043E\\u0432\\u0430\\u043D!\",disconnect:\"\\u041E\\u0442\\u043A\\u043B\\u044E\\u0447\\u0438\\u0442\\u044C \\u043A\\u043E\\u0448\\u0435\\u043B\\u0451\\u043A\"}},vD={confirm:{header:\"\\u041E\\u0442\\u043A\\u0440\\u043E\\u0439\\u0442\\u0435 {{ name }}, \\u0447\\u0442\\u043E\\u0431\\u044B\\xA0\\u043F\\u043E\\u0434\\u0442\\u0432\\u0435\\u0440\\u0434\\u0438\\u0442\\u044C \\u0442\\u0440\\u0430\\u043D\\u0437\\u0430\\u043A\\u0446\\u0438\\u044E.\"},transactionSent:{header:\"\\u0422\\u0440\\u0430\\u043D\\u0437\\u0430\\u043A\\u0446\\u0438\\u044F \\u043E\\u0442\\u043F\\u0440\\u0430\\u0432\\u043B\\u0435\\u043D\\u0430\",text:\"\\u0412\\u0430\\u0448\\u0430 \\u0442\\u0440\\u0430\\u043D\\u0437\\u0430\\u043A\\u0446\\u0438\\u044F\\xA0\\u0431\\u0443\\u0434\\u0435\\u0442 \\u043E\\u0431\\u0440\\u0430\\u0431\\u043E\\u0442\\u0430\\u043D\\u0430 \\u0447\\u0435\\u0440\\u0435\\u0437\\xA0\\u043D\\u0435\\u0441\\u043A\\u043E\\u043B\\u044C\\u043A\\u043E \\u0441\\u0435\\u043A\\u0443\\u043D\\u0434.\"},transactionCanceled:{header:\"\\u0422\\u0440\\u0430\\u043D\\u0437\\u0430\\u043A\\u0446\\u0438\\u044F \\u043E\\u0442\\u043C\\u0435\\u043D\\u0435\\u043D\\u0430\",text:\"\\u0421\\u043E\\u0441\\u0442\\u043E\\u044F\\u043D\\u0438\\u0435 \\u0432\\u0430\\u0448\\u0435\\u0433\\u043E \\u0441\\u0447\\u0451\\u0442\\u0430 \\u043D\\u0435\\xA0\\u0438\\u0437\\u043C\\u0435\\u043D\\u0438\\u0442\\u0441\\u044F.\"},dataSigned:{header:\"\\u0414\\u0430\\u043D\\u043D\\u044B\\u0435 \\u043F\\u043E\\u0434\\u043F\\u0438\\u0441\\u0430\\u043D\\u044B\"},signDataCanceled:{header:\"\\u041F\\u043E\\u0434\\u043F\\u0438\\u0441\\u044C \\u0434\\u0430\\u043D\\u043D\\u044B\\u0445 \\u043E\\u0442\\u043C\\u0435\\u043D\\u0435\\u043D\\u0430\"}},wD={walletOn:\"Wallet \\u0432\",recent:\"\\u041D\\u0435\\u0434\\u0430\\u0432\\u043D\\u0438\\u0439\",installed:\"\\u0423\\u0441\\u0442\\u0430\\u043D\\u043E\\u0432\\u043B\\u0435\\u043D\",popular:\"\\u041F\\u043E\\u043F\\u0443\\u043B\\u044F\\u0440\\u0435\\u043D\"},xD={loading:\"\\u041A\\u043E\\u0448\\u0435\\u043B\\u044C\\u043A\\u0438 \\u0437\\u0430\\u0433\\u0440\\u0443\\u0436\\u0430\\u044E\\u0442\\u0441\\u044F\",wallets:\"\\u041A\\u043E\\u0448\\u0435\\u043B\\u044C\\u043A\\u0438\",mobileUniversalModal:{connectYourWallet:\"\\u041F\\u043E\\u0434\\u043A\\u043B\\u044E\\u0447\\u0438\\u0442\\u0435 TON\\xA0\\u043A\\u043E\\u0448\\u0435\\u043B\\u0451\\u043A\",openWalletOnTelegramOrSelect:\"\\u041F\\u043E\\u0434\\u043A\\u043B\\u044E\\u0447\\u0438\\u0442\\u0435 Wallet \\u0432\\xA0Telegram \\u0438\\u043B\\u0438\\xA0\\u0432\\u044B\\u0431\\u0435\\u0440\\u0435\\u0442\\u0435 \\u0434\\u0440\\u0443\\u0433\\u043E\\u0435 \\u043F\\u0440\\u0438\\u043B\\u043E\\u0436\\u0435\\u043D\\u0438\\u0435\",openWalletOnTelegram:\"\\u041E\\u0442\\u043A\\u0440\\u044B\\u0442\\u044C Wallet \\u0432 Telegram\",chooseOtherApplication:\"\\u0412\\u044B\\u0431\\u0435\\u0440\\u0438\\u0442\\u0435 \\u0434\\u0440\\u0443\\u0433\\u043E\\u0435 \\u043F\\u0440\\u0438\\u043B\\u043E\\u0436\\u0435\\u043D\\u0438\\u0435\",openLink:\"\\u041E\\u0442\\u043A\\u0440\\u044B\\u0442\\u044C\",scan:\"\\u041E\\u0442\\u0441\\u043A\\u0430\\u043D\\u0438\\u0440\\u0443\\u0439\\u0442\\u0435 \\u043A\\u0430\\u043C\\u0435\\u0440\\u043E\\u0439 \\u0432\\u0430\\u0448\\u0435\\u0433\\u043E\\xA0\\u0442\\u0435\\u043B\\u0435\\u0444\\u043E\\u043D\\u0430\"},desktopUniversalModal:{connectYourWallet:\"\\u041F\\u043E\\u0434\\u043A\\u043B\\u044E\\u0447\\u0438\\u0442\\u0435 TON \\u043A\\u043E\\u0448\\u0435\\u043B\\u0451\\u043A\",scan:\"\\u041E\\u0442\\u0441\\u043A\\u0430\\u043D\\u0438\\u0440\\u0443\\u0439\\u0442\\u0435 QR-\\u043A\\u043E\\u0434 \\u043A\\u0430\\u043C\\u0435\\u0440\\u043E\\u0439 \\u0432\\u0430\\u0448\\u0435\\u0433\\u043E\\xA0\\u0442\\u0435\\u043B\\u0435\\u0444\\u043E\\u043D\\u0430\",availableWallets:\"\\u0414\\u043E\\u0441\\u0442\\u0443\\u043F\\u043D\\u044B\\u0435 \\u043A\\u043E\\u0448\\u0435\\u043B\\u044C\\u043A\\u0438\"},mobileConnectionModal:{showQR:\"\\u041F\\u043E\\u043A\\u0430\\u0437\\u0430\\u0442\\u044C QR-\\u043A\\u043E\\u0434\",scanQR:\"\\u041E\\u0442\\u0441\\u043A\\u0430\\u043D\\u0438\\u0440\\u0443\\u0439\\u0442\\u0435 QR-\\u043A\\u043E\\u0434 \\u043D\\u0438\\u0436\\u0435 \\u043A\\u0430\\u043C\\u0435\\u0440\\u043E\\u0439 \\u0432\\xA0\\u043F\\u0440\\u0438\\u043B\\u043E\\u0436\\u0435\\u043D\\u0438\\u0438 {{ name }}, \\u0438\\u043B\\u0438\\xA0\\u043A\\u0430\\u043C\\u0435\\u0440\\u043E\\u0439 \\u0442\\u0435\\u043B\\u0435\\u0444\\u043E\\u043D\\u0430\",missingFeatures:\"\\u041E\\u0431\\u043D\\u043E\\u0432\\u0438\\u0442\\u0435 {{ name }}, \\u0432\\u0430\\u0448\\u0430 \\u0432\\u0435\\u0440\\u0441\\u0438\\u044F \\u043D\\u0435 \\u043F\\u043E\\u0434\\u0434\\u0435\\u0440\\u0436\\u0438\\u0432\\u0430\\u0435\\u0442 \\u043D\\u0435\\u043E\\u0431\\u0445\\u043E\\u0434\\u0438\\u043C\\u044B\\u0435 \\u0444\\u0443\\u043D\\u043A\\u0446\\u0438\\u0438 \\u0434\\u043B\\u044F \\u044D\\u0442\\u043E\\u0433\\u043E dApp\",notSupportedWallet:\"{{ name }} \\u043D\\u0435 \\u043F\\u043E\\u0434\\u0434\\u0435\\u0440\\u0436\\u0438\\u0432\\u0430\\u0435\\u0442 \\u0437\\u0430\\u043F\\u0440\\u043E\\u0448\\u0435\\u043D\\u043D\\u043E\\u0435 \\u0434\\u0435\\u0439\\u0441\\u0442\\u0432\\u0438\\u0435. \\u041F\\u043E\\u0436\\u0430\\u043B\\u0443\\u0439\\u0441\\u0442\\u0430, \\u043F\\u043E\\u0434\\u043A\\u043B\\u044E\\u0447\\u0438\\u0442\\u0435 \\u0434\\u0440\\u0443\\u0433\\u043E\\u0439 \\u043A\\u043E\\u0448\\u0435\\u043B\\u0451\\u043A, \\u043A\\u043E\\u0442\\u043E\\u0440\\u044B\\u0439 \\u043F\\u043E\\u0434\\u0434\\u0435\\u0440\\u0436\\u0438\\u0432\\u0430\\u0435\\u0442 \\u044D\\u0442\\u043E\",continueIn:\"\\u041F\\u0440\\u043E\\u0434\\u043E\\u043B\\u0436\\u0438\\u0442\\u0435 \\u0432 {{ name }}\\u2026\",updateWallet:\"\\u041E\\u0431\\u043D\\u043E\\u0432\\u0438\\u0442\\u044C {{ name }}\",chooseAnotherWallet:\"\\u0412\\u044B\\u0431\\u0440\\u0430\\u0442\\u044C \\u0434\\u0440\\u0443\\u0433\\u043E\\u0439 \\u043A\\u043E\\u0448\\u0435\\u043B\\u0451\\u043A\",connectionDeclined:\"\\u041F\\u043E\\u0434\\u043A\\u043B\\u044E\\u0447\\u0435\\u043D\\u0438\\u0435 \\u043E\\u0442\\u043A\\u043B\\u043E\\u043D\\u0435\\u043D\\u043E\"},desktopConnectionModal:{scanQR:\"\\u041E\\u0442\\u0441\\u043A\\u0430\\u043D\\u0438\\u0440\\u0443\\u0439\\u0442\\u0435 QR-\\u043A\\u043E\\u0434 \\u043D\\u0438\\u0436\\u0435 \\u043A\\u0430\\u043C\\u0435\\u0440\\u043E\\u0439 \\u0432\\xA0\\u043F\\u0440\\u0438\\u043B\\u043E\\u0436\\u0435\\u043D\\u0438\\u0438 {{ name }}, \\u0438\\u043B\\u0438\\xA0\\u043A\\u0430\\u043C\\u0435\\u0440\\u043E\\u0439 \\u0442\\u0435\\u043B\\u0435\\u0444\\u043E\\u043D\\u0430\",continueInExtension:\"\\u041E\\u0442\\u043A\\u0440\\u043E\\u0439\\u0442\\u0435 \\u0431\\u0440\\u0430\\u0443\\u0437\\u0435\\u0440\\u043D\\u043E\\u0435 \\u0440\\u0430\\u0441\\u0448\\u0438\\u0440\\u0435\\u043D\\u0438\\u0435 {{ name }}\",dontHaveExtension:\"\\u041F\\u043E\\u0445\\u043E\\u0436\\u0435, \\u0443 \\u0432\\u0430\\u0441 \\u043D\\u0435\\xA0\\u0443\\u0441\\u0442\\u0430\\u043D\\u043E\\u0432\\u043B\\u0435\\u043D\\u043E \\u0431\\u0440\\u0430\\u0443\\u0437\\u0435\\u0440\\u043D\\u043E\\u0435\\xA0\\u0440\\u0430\\u0441\\u0448\\u0438\\u0440\\u0435\\u043D\\u0438\\u0435\\xA0{{ name }}\",missingFeatures:\"\\u041E\\u0431\\u043D\\u043E\\u0432\\u0438\\u0442\\u0435 {{ name }}, \\u0432\\u0430\\u0448\\u0430 \\u0432\\u0435\\u0440\\u0441\\u0438\\u044F \\u043D\\u0435 \\u043F\\u043E\\u0434\\u0434\\u0435\\u0440\\u0436\\u0438\\u0432\\u0430\\u0435\\u0442 \\u043D\\u0435\\u043E\\u0431\\u0445\\u043E\\u0434\\u0438\\u043C\\u044B\\u0435 \\u0444\\u0443\\u043D\\u043A\\u0446\\u0438\\u0438 \\u0434\\u043B\\u044F \\u044D\\u0442\\u043E\\u0433\\u043E dApp\",notSupportedWallet:\"{{ name }} \\u043D\\u0435 \\u043F\\u043E\\u0434\\u0434\\u0435\\u0440\\u0436\\u0438\\u0432\\u0430\\u0435\\u0442 \\u0437\\u0430\\u043F\\u0440\\u043E\\u0448\\u0435\\u043D\\u043D\\u043E\\u0435 \\u0434\\u0435\\u0439\\u0441\\u0442\\u0432\\u0438\\u0435. \\u041F\\u043E\\u0436\\u0430\\u043B\\u0443\\u0439\\u0441\\u0442\\u0430, \\u043F\\u043E\\u0434\\u043A\\u043B\\u044E\\u0447\\u0438\\u0442\\u0435 \\u0434\\u0440\\u0443\\u0433\\u043E\\u0439 \\u043A\\u043E\\u0448\\u0435\\u043B\\u0451\\u043A, \\u043A\\u043E\\u0442\\u043E\\u0440\\u044B\\u0439 \\u043F\\u043E\\u0434\\u0434\\u0435\\u0440\\u0436\\u0438\\u0432\\u0430\\u0435\\u0442 \\u044D\\u0442\\u043E\",getWallet:\"\\u0421\\u043A\\u0430\\u0447\\u0430\\u0442\\u044C {{ name }}\",updateWallet:\"\\u041E\\u0431\\u043D\\u043E\\u0432\\u0438\\u0442\\u044C {{ name }}\",chooseAnotherWallet:\"\\u0412\\u044B\\u0431\\u0440\\u0430\\u0442\\u044C \\u0434\\u0440\\u0443\\u0433\\u043E\\u0439 \\u043A\\u043E\\u0448\\u0435\\u043B\\u0451\\u043A\",continueOnDesktop:\"\\u041E\\u0442\\u043A\\u0440\\u043E\\u0439\\u0442\\u0435 {{ name }} \\u043D\\u0430\\xA0\\u043A\\u043E\\u043C\\u043F\\u044C\\u044E\\u0442\\u0435\\u0440\\u0435\\u2026\",openWalletOnTelegram:\"\\u041E\\u0442\\u043A\\u0440\\u044B\\u0442\\u044C Wallet \\u0432\\xA0Telegram\",connectionDeclined:\"\\u041F\\u043E\\u0434\\u043A\\u043B\\u044E\\u0447\\u0435\\u043D\\u0438\\u0435 \\u043E\\u0442\\u043A\\u043B\\u043E\\u043D\\u0435\\u043D\\u043E\"},infoModal:{whatIsAWallet:\"\\u0427\\u0442\\u043E \\u0442\\u0430\\u043A\\u043E\\u0435 \\u043A\\u043E\\u0448\\u0435\\u043B\\u0451\\u043A?\",secureDigitalAssets:\"\\u041D\\u0430\\u0434\\u0435\\u0436\\u043D\\u043E\\u0435 \\u0445\\u0440\\u0430\\u043D\\u0438\\u043B\\u0438\\u0449\\u0435 \\u0446\\u0438\\u0444\\u0440\\u043E\\u0432\\u044B\\u0445 \\u0430\\u043A\\u0442\\u0438\\u0432\\u043E\\u0432\",walletProtects:\"\\u041A\\u043E\\u0448\\u0435\\u043B\\u0451\\u043A \\u0437\\u0430\\u0449\\u0438\\u0449\\u0430\\u0435\\u0442 \\u0432\\u0430\\u0448\\u0438 \\u0446\\u0438\\u0444\\u0440\\u043E\\u0432\\u044B\\u0435 \\u0430\\u043A\\u0442\\u0438\\u0432\\u044B, \\u0432\\u043A\\u043B\\u044E\\u0447\\u0430\\u044F TON, \\u0442\\u043E\\u043A\\u0435\\u043D\\u044B \\u0438\\xA0\\u043F\\u0440\\u0435\\u0434\\u043C\\u0435\\u0442\\u044B \\u043A\\u043E\\u043B\\u043B\\u0435\\u043A\\u0446\\u0438\\u043E\\u043D\\u0438\\u0440\\u043E\\u0432\\u0430\\u043D\\u0438\\u044F, \\u0438\\xA0\\u0443\\u043F\\u0440\\u0430\\u0432\\u043B\\u044F\\u0435\\u0442 \\u0438\\u043C\\u0438.\",controlIdentity:\"\\u041A\\u043E\\u043D\\u0442\\u0440\\u043E\\u043B\\u044C \\u0441\\u0432\\u043E\\u0435\\u0439 \\u043B\\u0438\\u0447\\u043D\\u043E\\u0441\\u0442\\u0438 Web3\",manageIdentity:\"\\u0423\\u043F\\u0440\\u0430\\u0432\\u043B\\u044F\\u0439\\u0442\\u0435 \\u0441\\u0432\\u043E\\u0435\\u0439 \\u0446\\u0438\\u0444\\u0440\\u043E\\u0432\\u043E\\u0439 \\u0438\\u0434\\u0435\\u043D\\u0442\\u0438\\u0444\\u0438\\u043A\\u0430\\u0446\\u0438\\u0435\\u0439 \\u0438\\xA0\\u0441\\xA0\\u043B\\u0435\\u0433\\u043A\\u043E\\u0441\\u0442\\u044C\\u044E \\u043F\\u043E\\u043B\\u0443\\u0447\\u0430\\u0439\\u0442\\u0435 \\u0434\\u043E\\u0441\\u0442\\u0443\\u043F \\u043A\\xA0\\u0434\\u0435\\u0446\\u0435\\u043D\\u0442\\u0440\\u0430\\u043B\\u0438\\u0437\\u043E\\u0432\\u0430\\u043D\\u043D\\u044B\\u043C \\u043F\\u0440\\u0438\\u043B\\u043E\\u0436\\u0435\\u043D\\u0438\\u044F\\u043C. \\u0421\\u043E\\u0445\\u0440\\u0430\\u043D\\u044F\\u0439\\u0442\\u0435 \\u043A\\u043E\\u043D\\u0442\\u0440\\u043E\\u043B\\u044C \\u043D\\u0430\\u0434\\xA0\\u0441\\u0432\\u043E\\u0438\\u043C\\u0438 \\u0434\\u0430\\u043D\\u043D\\u044B\\u043C\\u0438 \\u0438\\xA0\\u0431\\u0435\\u0437\\u043E\\u043F\\u0430\\u0441\\u043D\\u043E \\u0443\\u0447\\u0430\\u0441\\u0442\\u0432\\u0443\\u0439\\u0442\\u0435 \\u0432\\xA0\\u044D\\u043A\\u043E\\u0441\\u0438\\u0441\\u0442\\u0435\\u043C\\u0435\\xA0\\u0431\\u043B\\u043E\\u043A\\u0447\\u0435\\u0439\\u043D\\u0430.\",effortlessCryptoTransactions:\"\\u041F\\u0440\\u043E\\u0441\\u0442\\u044B\\u0435 \\u043A\\u0440\\u0438\\u043F\\u0442\\u043E\\u0442\\u0440\\u0430\\u043D\\u0437\\u0430\\u043A\\u0446\\u0438\\u0438\",easilySend:\"\\u041B\\u0435\\u0433\\u043A\\u043E \\u043E\\u0442\\u043F\\u0440\\u0430\\u0432\\u043B\\u044F\\u0439\\u0442\\u0435, \\u043F\\u043E\\u043B\\u0443\\u0447\\u0430\\u0439\\u0442\\u0435 \\u0438\\xA0\\u043E\\u0442\\u0441\\u043B\\u0435\\u0436\\u0438\\u0432\\u0430\\u0439\\u0442\\u0435 \\u0441\\u0432\\u043E\\u0438 \\u043A\\u0440\\u0438\\u043F\\u0442\\u043E\\u0432\\u0430\\u043B\\u044E\\u0442\\u044B. \\u041E\\u043F\\u0442\\u0438\\u043C\\u0438\\u0437\\u0438\\u0440\\u0443\\u0439\\u0442\\u0435 \\u0441\\u0432\\u043E\\u0438 \\u043E\\u043F\\u0435\\u0440\\u0430\\u0446\\u0438\\u0438 \\u0441\\xA0\\u043F\\u043E\\u043C\\u043E\\u0449\\u044C\\u044E \\u0434\\u0435\\u0446\\u0435\\u043D\\u0442\\u0440\\u0430\\u043B\\u0438\\u0437\\u043E\\u0432\\u0430\\u043D\\u043D\\u044B\\u0445 \\u043F\\u0440\\u0438\\u043B\\u043E\\u0436\\u0435\\u043D\\u0438\\u0439.\",getAWallet:\"\\u0421\\u043A\\u0430\\u0447\\u0430\\u0442\\u044C \\u043A\\u043E\\u0448\\u0435\\u043B\\u0451\\u043A\"},restoreModal:{title:\"\\u0412\\u043E\\u0441\\u0441\\u0442\\u0430\\u043D\\u043E\\u0432\\u043B\\u0435\\u043D\\u0438\\u0435\",step1:{title:\"\\u041D\\u0430\\u0439\\u0434\\u0438\\u0442\\u0435 \\u0432\\u0430\\u0448\\u0443 \\u0442\\u0435\\u043A\\u0443\\u0449\\u0443\\u044E \\u0444\\u0440\\u0430\\u0437\\u0443 \\u0432\\u043E\\u0441\\u0441\\u0442\\u0430\\u043D\\u043E\\u0432\\u043B\\u0435\\u043D\\u0438\\u044F\",text:\"\\u041E\\u0442\\u043A\\u0440\\u043E\\u0439\\u0442\\u0435 \\u043D\\u0430\\u0441\\u0442\\u0440\\u043E\\u0439\\u043A\\u0438 \\u043A\\u043E\\u0448\\u0435\\u043B\\u044C\\u043A\\u0430 \\u0438 \\u043D\\u0430\\u0439\\u0434\\u0438\\u0442\\u0435 \\u0444\\u0440\\u0430\\u0437\\u0443\\xA0\\u0432\\u043E\\u0441\\u0441\\u0442\\u0430\\u043D\\u043E\\u0432\\u043B\\u0435\\u043D\\u0438\\u044F\"},step2:{title:\"\\u0421\\u043A\\u043E\\u043F\\u0438\\u0440\\u0443\\u0439\\u0442\\u0435 \\u0432\\u0430\\u0448\\u0443 \\u0444\\u0440\\u0430\\u0437\\u0443 \\u0432\\u043E\\u0441\\u0441\\u0442\\u0430\\u043D\\u043E\\u0432\\u043B\\u0435\\u043D\\u0438\\u044F\",text:\"\\u0417\\u0430\\u043F\\u0438\\u0448\\u0438\\u0442\\u0435 \\u0435\\u0451 \\u0438\\u043B\\u0438 \\u0441\\u043E\\u0445\\u0440\\u0430\\u043D\\u0438\\u0442\\u0435 \\u0432 \\u0431\\u0435\\u0437\\u043E\\u043F\\u0430\\u0441\\u043D\\u043E\\u043C \\u043C\\u0435\\u0441\\u0442\\u0435\"},step3:{title:\"\\u0412\\u043E\\u0441\\u0441\\u0442\\u0430\\u043D\\u043E\\u0432\\u0438\\u0442\\u0435 \\u0432 \\u043F\\u043E\\u0434\\u0434\\u0435\\u0440\\u0436\\u0438\\u0432\\u0430\\u0435\\u043C\\u043E\\u043C \\u043A\\u043E\\u0448\\u0435\\u043B\\u044C\\u043A\\u0435\",text:\"\\u0412\\u0432\\u0435\\u0434\\u0438\\u0442\\u0435 \\u0444\\u0440\\u0430\\u0437\\u0443 \\u0432\\u043E\\u0441\\u0441\\u0442\\u0430\\u043D\\u043E\\u0432\\u043B\\u0435\\u043D\\u0438\\u044F \\u0434\\u043B\\u044F \\u0434\\u043E\\u0441\\u0442\\u0443\\u043F\\u0430\\xA0\\u043A\\xA0\\u0432\\u0430\\u0448\\u0435\\u043C\\u0443\\xA0\\u043A\\u043E\\u0448\\u0435\\u043B\\u044C\\u043A\\u0443\"}},allWallets:{walletsBelowNotSupported:\"\\u041A\\u043E\\u0448\\u0435\\u043B\\u044C\\u043A\\u0438 \\u043D\\u0438\\u0436\\u0435 \\u043D\\u0435 \\u043F\\u043E\\u0434\\u0434\\u0435\\u0440\\u0436\\u0438\\u0432\\u0430\\u044E\\u0442 \\u0432\\u0441\\u0435 \\u0444\\u0443\\u043D\\u043A\\u0446\\u0438\\u0438 \\u043F\\u043E\\u0434\\u043A\\u043B\\u044E\\u0447\\u0451\\u043D\\u043D\\u043E\\u0433\\u043E \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\\u0430. \\u0412\\u044B \\u043C\\u043E\\u0436\\u0435\\u0442\\u0435 \\u0438\\u0441\\u043F\\u043E\\u043B\\u044C\\u0437\\u043E\\u0432\\u0430\\u0442\\u044C \\u0441\\u0432\\u043E\\u044E \\u0444\\u0440\\u0430\\u0437\\u0443 \\u0432\\u043E\\u0441\\u0441\\u0442\\u0430\\u043D\\u043E\\u0432\\u043B\\u0435\\u043D\\u0438\\u044F \\u0432 \\u043E\\u0434\\u043D\\u043E\\u043C \\u0438\\u0437 \\u043F\\u043E\\u0434\\u0434\\u0435\\u0440\\u0436\\u0438\\u0432\\u0430\\u0435\\u043C\\u044B\\u0445 \\u0432\\u044B\\u0448\\u0435 \\u043A\\u043E\\u0448\\u0435\\u043B\\u044C\\u043A\\u043E\\u0432.\",walletNotSupportService:\"{{ name }} \\u043D\\u0435 \\u043F\\u043E\\u0434\\u0434\\u0435\\u0440\\u0436\\u0438\\u0432\\u0430\\u0435\\u0442 \\u043F\\u043E\\u0434\\u043A\\u043B\\u044E\\u0447\\u0451\\u043D\\u043D\\u044B\\u0439 \\u0441\\u0435\\u0440\\u0432\\u0438\\u0441\"},featureNotSupported:{wallet:{title:\"{{ name }} \\u043D\\u0435 \\u043F\\u043E\\u0434\\u0434\\u0435\\u0440\\u0436\\u0438\\u0432\\u0430\\u0435\\u0442 \\u0437\\u0430\\u043F\\u0440\\u043E\\u0448\\u0435\\u043D\\u043D\\u043E\\u0435\\xA0\\u0434\\u0435\\u0439\\u0441\\u0442\\u0432\\u0438\\u0435\",description:\"\\u0423\\u0441\\u0442\\u0430\\u043D\\u043E\\u0432\\u0438\\u0442\\u0435 \\u043F\\u043E\\u0434\\u0434\\u0435\\u0440\\u0436\\u0438\\u0432\\u0430\\u0435\\u043C\\u044B\\u0439 \\u043A\\u043E\\u0448\\u0435\\u043B\\u0451\\u043A \\u0438\\u0437 \\u0441\\u043F\\u0438\\u0441\\u043A\\u0430 \\u043D\\u0438\\u0436\\u0435, \\u0432\\u043E\\u0441\\u0441\\u0442\\u0430\\u043D\\u043E\\u0432\\u0438\\u0442\\u0435 \\u0435\\u0433\\u043E \\u0441 \\u043F\\u043E\\u043C\\u043E\\u0449\\u044C\\u044E \\u0444\\u0440\\u0430\\u0437\\u044B \\u0432\\u043E\\u0441\\u0441\\u0442\\u0430\\u043D\\u043E\\u0432\\u043B\\u0435\\u043D\\u0438\\u044F, \\u0437\\u0430\\u0442\\u0435\\u043C \\u043F\\u043E\\u0434\\u043A\\u043B\\u044E\\u0447\\u0438\\u0442\\u0435\\u0441\\u044C \\u0438 \\u043F\\u043E\\u043F\\u0440\\u043E\\u0431\\u0443\\u0439\\u0442\\u0435 \\u0441\\u043D\\u043E\\u0432\\u0430.\",info:\"\\u0423\\u0437\\u043D\\u0430\\u0442\\u044C, \\u043A\\u0430\\u043A \\u0432\\u043E\\u0441\\u0441\\u0442\\u0430\\u043D\\u043E\\u0432\\u0438\\u0442\\u044C \\u043A\\u043E\\u0448\\u0435\\u043B\\u0451\\u043A\"},version:{description:\"\\u0422\\u0435\\u043A\\u0443\\u0449\\u0430\\u044F \\u0432\\u0435\\u0440\\u0441\\u0438\\u044F {{ name }} \\u0438\\u043B\\u0438 \\u0442\\u0438\\u043F \\u043A\\u043E\\u043D\\u0442\\u0440\\u0430\\u043A\\u0442\\u0430 \\u043A\\u043E\\u0448\\u0435\\u043B\\u044C\\u043A\\u0430 \\u043D\\u0435 \\u043F\\u043E\\u0434\\u0434\\u0435\\u0440\\u0436\\u0438\\u0432\\u0430\\u0435\\u0442 \\u043D\\u0435\\u043E\\u0431\\u0445\\u043E\\u0434\\u0438\\u043C\\u044B\\u0435 \\u0444\\u0443\\u043D\\u043A\\u0446\\u0438\\u0438. \\u041E\\u0431\\u043D\\u043E\\u0432\\u0438\\u0442\\u0435 \\u043A\\u043E\\u0448\\u0435\\u043B\\u0451\\u043A, \\u0447\\u0442\\u043E\\u0431\\u044B \\u043F\\u0440\\u043E\\u0434\\u043E\\u043B\\u0436\\u0438\\u0442\\u044C.\",updateButton:\"\\u041E\\u0431\\u043D\\u043E\\u0432\\u0438\\u0442\\u044C {{ name }}\",aboutW5:\"\\u041F\\u0440\\u043E W5\"},disconnect:{title:\"\\u041F\\u043E\\u0434\\u0442\\u0432\\u0435\\u0440\\u0434\\u0438\\u0442\\u0435 \\u043E\\u0442\\u043A\\u043B\\u044E\\u0447\\u0435\\u043D\\u0438\\u0435\",description:\"\\u0412\\u044B \\u0431\\u0443\\u0434\\u0435\\u0442\\u0435 \\u043E\\u0442\\u043A\\u043B\\u044E\\u0447\\u0435\\u043D\\u044B \\u043E\\u0442 \\u0442\\u0435\\u043A\\u0443\\u0449\\u0435\\u0433\\u043E \\u043A\\u043E\\u0448\\u0435\\u043B\\u044C\\u043A\\u0430 \\u0438 \\u043F\\u0435\\u0440\\u0435\\u043D\\u0430\\u043F\\u0440\\u0430\\u0432\\u043B\\u0435\\u043D\\u044B \\u043D\\u0430 \\u043F\\u043E\\u0434\\u043A\\u043B\\u044E\\u0447\\u0435\\u043D\\u0438\\u0435 {{ name }}.\",button:\"\\u041E\\u0442\\u043A\\u043B\\u044E\\u0447\\u0438\\u0442\\u044C\\u0441\\u044F\"}}},CD={confirmTransaction:{header:\"\\u041F\\u043E\\u0434\\u0442\\u0432\\u0435\\u0440\\u0434\\u0438\\u0442\\u0435 \\u0434\\u0435\\u0439\\u0441\\u0442\\u0432\\u0438\\u0435 \\u0432\\xA0{{ name }}\",text:\"\\u042D\\u0442\\u043E \\u0437\\u0430\\u0439\\u043C\\u0435\\u0442 \\u043F\\u0430\\u0440\\u0443 \\u0441\\u0435\\u043A\\u0443\\u043D\\u0434.\"},signData:{header:\"\\u041F\\u043E\\u0434\\u043F\\u0438\\u0448\\u0438\\u0442\\u0435 \\u0434\\u0430\\u043D\\u043D\\u044B\\u0435 \\u0432\\xA0{{ name }}\",text:\"\\u042D\\u0442\\u043E \\u0437\\u0430\\u0439\\u043C\\u0435\\u0442 \\u043F\\u0430\\u0440\\u0443 \\u0441\\u0435\\u043A\\u0443\\u043D\\u0434.\"},transactionSent:\"$notifications.transactionSent\",transactionCanceled:\"$notifications.transactionCanceled\",dataSigned:\"$notifications.dataSigned\",signDataCanceled:\"$notifications.signDataCanceled\"},SD={common:yD,button:bD,notifications:vD,walletItem:wD,walletModal:xD,actionModal:CD},_D={en:m_(mD),ru:m_(SD)};function m_(e){let n=r=>{Object.entries(r).forEach(([i,a])=>{if(typeof a==\"object\"&&a)return n(a);if(typeof a==\"string\"){if(a[0]===\"$\"){let o=a.slice(1).split(\".\"),s=e;o.forEach(l=>{if(l in s)s=s[l];else throw new Error(`Cannot parse translations: there is no property ${l} in translation`)}),r[i]=s}a.slice(0,2)===\"\\\\$\"&&(r[i]=a.slice(1))}})};return n(e),e}var Su=V1(),hw=Symbol(\"store-raw\"),uu=Symbol(\"store-node\"),wo=Symbol(\"store-has\"),w7=Symbol(\"store-self\");function x7(e){let t=e[Gi];if(!t&&(Object.defineProperty(e,Gi,{value:t=new Proxy(e,AD)}),!Array.isArray(e))){let n=Object.keys(e),r=Object.getOwnPropertyDescriptors(e);for(let i=0,a=n.length;i<a;i++){let o=n[i];r[o].get&&Object.defineProperty(e,o,{enumerable:r[o].enumerable,get:r[o].get.bind(t)})}}return t}function k1(e){let t;return e!=null&&typeof e==\"object\"&&(e[Gi]||!(t=Object.getPrototypeOf(e))||t===Object.prototype||Array.isArray(e))}function yu(e,t=new Set){let n,r,i,a;if(n=e!=null&&e[hw])return n;if(!k1(e)||t.has(e))return e;if(Array.isArray(e)){Object.isFrozen(e)?e=e.slice(0):t.add(e);for(let o=0,s=e.length;o<s;o++)i=e[o],(r=yu(i,t))!==i&&(e[o]=r)}else{Object.isFrozen(e)?e=Object.assign({},e):t.add(e);let o=Object.keys(e),s=Object.getOwnPropertyDescriptors(e);for(let l=0,c=o.length;l<c;l++)a=o[l],!s[a].get&&(i=e[a],(r=yu(i,t))!==i&&(e[a]=r))}return e}function B1(e,t){let n=e[t];return n||Object.defineProperty(e,t,{value:n=Object.create(null)}),n}function ph(e,t,n){if(e[t])return e[t];let[r,i]=Je(n,{equals:!1,internal:!0});return r.$=i,e[t]=r}function TD(e,t){let n=Reflect.getOwnPropertyDescriptor(e,t);return!n||n.get||!n.configurable||t===Gi||t===uu||(delete n.value,delete n.writable,n.get=()=>e[Gi][t]),n}function C7(e){ow()&&ph(B1(e,uu),w7)()}function ED(e){return C7(e),Reflect.ownKeys(e)}var AD={get(e,t,n){if(t===hw)return e;if(t===Gi)return n;if(t===w1)return C7(e),n;let r=B1(e,uu),i=r[t],a=i?i():e[t];if(t===uu||t===wo||t===\"__proto__\")return a;if(!i){let o=Object.getOwnPropertyDescriptor(e,t);ow()&&(typeof a!=\"function\"||e.hasOwnProperty(t))&&!(o&&o.get)&&(a=ph(r,t,a)())}return k1(a)?x7(a):a},has(e,t){return t===hw||t===Gi||t===w1||t===uu||t===wo||t===\"__proto__\"?!0:(ow()&&ph(B1(e,wo),t)(),t in e)},set(){return!0},deleteProperty(){return!0},ownKeys:ED,getOwnPropertyDescriptor:TD};function M1(e,t,n,r=!1){if(!r&&e[t]===n)return;let i=e[t],a=e.length;n===void 0?(delete e[t],e[wo]&&e[wo][t]&&i!==void 0&&e[wo][t].$()):(e[t]=n,e[wo]&&e[wo][t]&&i===void 0&&e[wo][t].$());let o=B1(e,uu),s;if((s=ph(o,t,i))&&s.$(()=>n),Array.isArray(e)&&e.length!==a){for(let l=e.length;l<a;l++)(s=o[l])&&s.$();(s=ph(o,\"length\",a))&&s.$(e.length)}(s=o[w7])&&s.$()}function S7(e,t){let n=Object.keys(t);for(let r=0;r<n.length;r+=1){let i=n[r];M1(e,i,t[i])}}function kD(e,t){if(typeof t==\"function\"&&(t=t(e)),t=yu(t),Array.isArray(t)){if(e===t)return;let n=0,r=t.length;for(;n<r;n++){let i=t[n];e[n]!==i&&M1(e,n,i)}M1(e,\"length\",r)}else S7(e,t)}function ah(e,t,n=[]){let r,i=e;if(t.length>1){r=t.shift();let o=typeof r,s=Array.isArray(e);if(Array.isArray(r)){for(let l=0;l<r.length;l++)ah(e,[r[l]].concat(t),n);return}else if(s&&o===\"function\"){for(let l=0;l<e.length;l++)r(e[l],l)&&ah(e,[l].concat(t),n);return}else if(s&&o===\"object\"){let{from:l=0,to:c=e.length-1,by:u=1}=r;for(let d=l;d<=c;d+=u)ah(e,[d].concat(t),n);return}else if(t.length>1){ah(e[r],t,[r].concat(n));return}i=e[r],n=[r].concat(n)}let a=t[0];typeof a==\"function\"&&(a=a(i,n),a===i)||r===void 0&&a==null||(a=yu(a),r===void 0||k1(i)&&k1(a)&&!Array.isArray(a)?S7(i,a):M1(e,r,a))}function Iw(...[e,t]){let n=yu(e||{}),r=Array.isArray(n),i=x7(n);function a(...o){aw(()=>{r&&o.length===1?kD(n,o[0]):ah(n,o)})}return[i,a]}var _7={constant:{black:\"#000000\",white:\"#FFFFFF\"},connectButton:{background:\"#0098EA\",foreground:\"#FFFFFF\"},accent:\"#0098EA\",telegramButton:\"#0098EA\",icon:{primary:\"#0F0F0F\",secondary:\"#7A8999\",tertiary:\"#C1CAD2\",success:\"#29CC6A\",error:\"#F5A73B\"},background:{primary:\"#FFFFFF\",secondary:\"#F1F3F5\",segment:\"#FFFFFF\",tint:\"#F1F3F5\",qr:\"#F1F3F5\"},text:{primary:\"#0F0F0F\",secondary:\"#6A7785\"}},BD={constant:{black:\"#000000\",white:\"#FFFFFF\"},connectButton:{background:\"#0098EA\",foreground:\"#FFFFFF\"},accent:\"#E5E5EA\",telegramButton:\"#31A6F5\",icon:{primary:\"#E5E5EA\",secondary:\"#909099\",tertiary:\"#434347\",success:\"#29CC6A\",error:\"#F5A73B\"},background:{primary:\"#121214\",secondary:\"#18181A\",segment:\"#262629\",tint:\"#222224\",qr:\"#FFFFFF\"},text:{primary:\"#E5E5EA\",secondary:\"#7D7D85\"}};function y_(e){return Object.prototype.toString.call(e)===\"[object Object]\"}function MD(e){var t,n;return y_(e)===!1?!1:(t=e.constructor,t===void 0?!0:(n=t.prototype,!(y_(n)===!1||n.hasOwnProperty(\"isPrototypeOf\")===!1)))}function xs(e,t){return e?(0,X_.default)(t,e,{arrayMerge:(r,i,a)=>i,isMergeableObject:MD}):t}var[RD,Nw]=Iw({theme:In.LIGHT,colors:_7,borderRadius:\"m\"}),T7={[In.LIGHT]:_7,[In.DARK]:BD},xa={[In.LIGHT]:void 0,[In.DARK]:void 0};function Vv(e,t){t&&(xa[In.DARK]=xs(t[In.DARK],xa[In.DARK]),xa[In.LIGHT]=xs(t[In.LIGHT],xa[In.LIGHT])),Nw({theme:e,colors:xs(xa[e],T7[e])})}function UD(e){Nw({borderRadius:e})}function OD(e){xa[In.DARK]=xs(e[In.DARK],xa[In.DARK]),xa[In.LIGHT]=xs(e[In.LIGHT],xa[In.LIGHT]),Nw(t=>({colors:xs(xa[t.theme],T7[t.theme])}))}var ID=G.div`\n background-color: ${e=>e.theme.colors.background.secondary};\n`,Ol=e=>{let t,[n,r]=Je(null);return Kn(()=>{let i=new window.Image;return i.src=e.src,i.alt=e.alt||\"\",i.setAttribute(\"draggable\",\"false\"),e.class&&i.classList.add(e.class),i.complete?r(i):(i.addEventListener(\"load\",()=>r(i)),()=>i.removeEventListener(\"load\",()=>r(i)))}),[p(tt,{get when(){return n()},get children(){return n()}}),p(tt,{get when(){return!n()},get children(){return p(ID,{get class(){return e.class},ref(i){var a=t;typeof a==\"function\"?a(i):t=i}})}})]},Bl={};try{let e=location.hash.toString();Bl=ND(e)}catch{}var bu=\"unknown\";Bl?.tgWebAppPlatform&&(bu=(J9=Bl.tgWebAppPlatform)!=null?J9:\"unknown\");if(bu===\"unknown\"){let e=Aa();bu=(n_=(t_=(e_=e?.Telegram)==null?void 0:e_.WebApp)==null?void 0:t_.platform)!=null?n_:\"unknown\"}var R1=\"6.0\";Bl?.tgWebAppVersion&&(R1=Bl.tgWebAppVersion);if(!R1){let e=Aa();R1=(a_=(i_=(r_=e?.Telegram)==null?void 0:r_.WebApp)==null?void 0:i_.version)!=null?a_:\"6.0\"}function Tl(...e){return e.includes(bu)}function Zi(){var e;return bu!==\"unknown\"||!!((e=Aa())!=null&&e.TelegramWebviewProxy)}function E7(){var e;let t=!!((e=Aa())!=null&&e.TelegramWebview);return(Zi()||t)&&bu===\"unknown\"}function U1(){k7(\"web_app_expand\",{})}function gw(e,t){let n=new URL(e);if(n.protocol!==\"http:\"&&n.protocol!==\"https:\"){if(t)return t();throw new vn(`Url protocol is not supported: ${n}`)}if(n.hostname!==\"t.me\"){if(t)return t();throw new vn(`Url host is not supported: ${n}`)}let r=n.pathname+n.search;A7()||DD(\"6.1\")?k7(\"web_app_open_tg_link\",{path_full:r}):gn(\"https://t.me\"+r)}function A7(){try{let e=Aa();return e?e.parent!=null&&e!==e.parent:!1}catch{return!1}}function k7(e,t){try{let n=Aa();if(!n)throw new vn(\"Can't post event to parent window: window is not defined\");if(n.TelegramWebviewProxy!==void 0)y1(\"postEvent\",e,t),n.TelegramWebviewProxy.postEvent(e,JSON.stringify(t));else if(n.external&&\"notify\"in n.external)y1(\"postEvent\",e,t),n.external.notify(JSON.stringify({eventType:e,eventData:t}));else if(A7()){let i=JSON.stringify({eventType:e,eventData:t});y1(\"postEvent\",e,t),n.parent.postMessage(i,\"*\")}else throw new vn(\"Can't post event to TMA\")}catch(n){Gz(`Can't post event to parent window: ${n}`)}}function ND(e){e=e.replace(/^#/,\"\");let t={};if(!e.length)return t;if(e.indexOf(\"=\")<0&&e.indexOf(\"?\")<0)return t._path=O1(e),t;let n=e.indexOf(\"?\");if(n>=0){let i=e.substr(0,n);t._path=O1(i),e=e.substr(n+1)}let r=PD(e);for(let i in r)t[i]=r[i];return t}function O1(e){try{return e=e.replace(/\\+/g,\"%20\"),decodeURIComponent(e)}catch{return e}}function PD(e){let t={};if(!e.length)return t;let n=e.split(\"&\"),r,i,a,o;for(r=0;r<n.length;r++)i=n[r].split(\"=\"),a=O1(i[0]),o=i[1]==null?null:O1(i[1]),t[a]=o;return t}function zD(e,t){typeof e!=\"string\"&&(e=\"\");let n=e.replace(/^\\s+|\\s+$/g,\"\").split(\".\"),r=t.replace(/^\\s+|\\s+$/g,\"\").split(\".\"),i,a,o,s;for(i=Math.max(n.length,r.length),a=0;a<i;a++)if(o=parseInt(n[a])||0,s=parseInt(r[a])||0,o!==s)return o>s?1:-1;return 0}function DD(e){return zD(R1,e)>=0}var El={mobile:440,tablet:1020};function cu(e){let t=Aa();if(!t)return e===\"desktop\";if(Tl(\"weba\"))return!0;let n=t.innerWidth;switch(e){case\"desktop\":return n>El.tablet;case\"tablet\":return n>El.mobile;default:case\"mobile\":return n<=El.mobile||$i(\"ios\",\"android\",\"ipad\")}}function yi(e){switch(e){case\"mobile\":return`@media (max-width: ${El.mobile}px)`;case\"tablet\":return`@media (max-width: ${El.tablet}px) (min-width: ${El.mobile}px)`;default:case\"desktop\":return`@media (min-width: ${El.tablet}px)`}}var yh=\"@media (hover: none)\",bh=\"@media not all and (hover: none)\",LD={m:\"100vh\",s:\"8px\",none:\"0\"},Wv={s:.02,m:.04},jD=G.button`\n display: ${e=>e.leftIcon||e.rightIcon?\"flex\":\"inline-block\"};\n gap: ${e=>e.leftIcon||e.rightIcon?\"6px\":\"unset\"};\n align-items: ${e=>e.leftIcon||e.rightIcon?\"center\":\"unset\"};\n justify-content: ${e=>e.leftIcon||e.rightIcon?\"space-between\":\"unset\"};\n background-color: ${e=>e.appearance===\"flat\"?\"transparent\":e.appearance===\"secondary\"?e.theme.colors.background.tint:Ul(e.theme.colors.accent,.12)};\n color: ${e=>e.appearance===\"secondary\"?e.theme.colors.text.primary:e.theme.colors.accent};\n\n padding: ${e=>e.appearance===\"flat\"?\"0\":\"9px 16px\"};\n padding-left: ${e=>e.leftIcon&&e.appearance!==\"flat\"?\"12px\":\"16px\"};\n padding-right: ${e=>e.rightIcon&&e.appearance!==\"flat\"?\"12px\":\"16px\"};\n border: none;\n border-radius: ${e=>LD[e.theme.borderRadius]};\n cursor: ${e=>e.disabled?\"not-allowed\":\"pointer\"};\n\n font-size: 14px;\n font-weight: 510;\n line-height: 18px;\n\n transition: transform 0.125s ease-in-out;\n\n ${bh} {\n &:hover {\n transform: ${e=>e.disabled?\"unset\":`scale(${1+Wv[e.scale]})`};\n }\n }\n\n &:active {\n transform: ${e=>e.disabled?\"unset\":`scale(${1-Wv[e.scale]})`};\n }\n\n ${yh} {\n &:active {\n transform: ${e=>e.disabled?\"unset\":`scale(${1-Wv[e.scale]*2})`};\n }\n }\n`;function vh(e){let t=kn(()=>Object.keys(e).filter(r=>r.startsWith(\"data-\"))),[n]=Bw(e,t);return n}var en=e=>{let t=vh(e);return p(jD,Ca({type:\"button\",get appearance(){return e.appearance||\"primary\"},get class(){return e.class},onClick:n=>{var r;return(r=e.onClick)==null?void 0:r.call(e,n)},onMouseEnter:n=>{var r;return(r=e.onMouseEnter)==null?void 0:r.call(e,n)},onMouseLeave:n=>{var r;return(r=e.onMouseLeave)==null?void 0:r.call(e,n)},ref(n){var r=e.ref;typeof r==\"function\"?r(n):e.ref=n},get disabled(){return e.disabled},get scale(){return e.scale||\"m\"},get leftIcon(){return!!e.leftIcon},get rightIcon(){return!!e.rightIcon},\"data-tc-button\":\"true\"},t,{get children(){return[Xe(()=>e.leftIcon),Xe(()=>e.children),Xe(()=>e.rightIcon)]}}))},qD=()=>{},b_=(e,t)=>t();function HD(e,t){let n=kn(e),r=n?[n]:[],{onEnter:i=b_,onExit:a=b_}=t,[o,s]=Je(t.appear?[]:r),[l]=o7(),c,u=!1;function d(y,E){if(!y)return E&&E();u=!0,a(y,()=>{aw(()=>{u=!1,s(L=>L.filter(C=>C!==y)),E&&E()})})}function h(y){let E=c;if(!E)return y&&y();c=void 0,s(L=>[E,...L]),i(E,y??qD)}let g=t.mode===\"out-in\"?(y=>u||d(y,h)):t.mode===\"in-out\"?(y=>h(()=>d(y))):(y=>{d(y),h()});return n7(y=>{let E=e();return kn(l)?(l(),y):(E!==y&&(c=E,aw(()=>kn(()=>g(y)))),E)},t.appear?void 0:n),o}function VD(e,t){let n=kn(e),{onChange:r}=t,i=new Set(t.appear?void 0:n),a=new WeakSet,[o,s]=Je([],{equals:!1}),[l]=o7(),c=d=>{s(h=>(h.push.apply(h,d),h));for(let h of d)a.delete(h)},u=(d,h,g)=>d.splice(g,0,h);return dt(d=>{let h=o(),g=e();if(g[w1],kn(l))return l(),d;if(h.length){let y=d.filter(E=>!h.includes(E));return h.length=0,r({list:y,added:[],removed:[],unchanged:y,finishRemoved:c}),y}return kn(()=>{let y=new Set(g),E=g.slice(),L=[],C=[],v=[];for(let R of g)(i.has(R)?v:L).push(R);let T=!L.length;for(let R=0;R<d.length;R++){let O=d[R];y.has(O)||(a.has(O)||(C.push(O),a.add(O)),u(E,O,R)),T&&O!==E[R]&&(T=!1)}return!C.length&&T?d:(r({list:E,added:L,removed:C,unchanged:v,finishRemoved:c}),i=y,E)})},t.appear?[]:n.slice())}var I1=e=>e instanceof Element;function pw(e,t){if(t(e))return e;if(typeof e==\"function\"&&!e.length)return pw(e(),t);if(Array.isArray(e)){let n=[];for(let r of e){let i=pw(r,t);i&&(Array.isArray(i)?n.push.apply(n,i):n.push(i))}return n.length?n:null}return null}function WD(e,t=I1,n=I1){let r=dt(e),i=dt(()=>pw(r(),t));return i.toArray=()=>{let a=i();return Array.isArray(a)?a:a?[a]:[]},i}function mw(e,t){if(t(e))return e;if(typeof e==\"function\"&&!e.length)return mw(e(),t);if(Array.isArray(e))for(let n of e){let r=mw(n,t);if(r)return r}return null}function FD(e,t=I1,n=I1){let r=dt(e);return dt(()=>mw(r(),t))}function B7(e){return dt(()=>{let t=e.name||\"s\";return{enterActive:(e.enterActiveClass||t+\"-enter-active\").split(\" \"),enter:(e.enterClass||t+\"-enter\").split(\" \"),enterTo:(e.enterToClass||t+\"-enter-to\").split(\" \"),exitActive:(e.exitActiveClass||t+\"-exit-active\").split(\" \"),exit:(e.exitClass||t+\"-exit\").split(\" \"),exitTo:(e.exitToClass||t+\"-exit-to\").split(\" \"),move:(e.moveClass||t+\"-move\").split(\" \")}})}function M7(e){requestAnimationFrame(()=>requestAnimationFrame(e))}function R7(e,t,n,r){let{onBeforeEnter:i,onEnter:a,onAfterEnter:o}=t;i?.(n),n.classList.add(...e.enter),n.classList.add(...e.enterActive),queueMicrotask(()=>{if(!n.parentNode)return r?.();a?.(n,()=>s())}),M7(()=>{n.classList.remove(...e.enter),n.classList.add(...e.enterTo),(!a||a.length<2)&&(n.addEventListener(\"transitionend\",s),n.addEventListener(\"animationend\",s))});function s(l){(!l||l.target===n)&&(r?.(),n.removeEventListener(\"transitionend\",s),n.removeEventListener(\"animationend\",s),n.classList.remove(...e.enterActive),n.classList.remove(...e.enterTo),o?.(n))}}function U7(e,t,n,r){let{onBeforeExit:i,onExit:a,onAfterExit:o}=t;if(!n.parentNode)return r?.();i?.(n),n.classList.add(...e.exit),n.classList.add(...e.exitActive),a?.(n,()=>s()),M7(()=>{n.classList.remove(...e.exit),n.classList.add(...e.exitTo),(!a||a.length<2)&&(n.addEventListener(\"transitionend\",s),n.addEventListener(\"animationend\",s))});function s(l){(!l||l.target===n)&&(r?.(),n.removeEventListener(\"transitionend\",s),n.removeEventListener(\"animationend\",s),n.classList.remove(...e.exitActive),n.classList.remove(...e.exitTo),o?.(n))}}var KD={inout:\"in-out\",outin:\"out-in\"},F1=e=>{let t=B7(e);return HD(FD(()=>e.children),{mode:KD[e.mode],appear:e.appear,onEnter(n,r){R7(t(),e,n,r)},onExit(n,r){U7(t(),e,n,r)}})},$D=e=>{let t=B7(e);return VD(WD(()=>e.children).toArray,{appear:e.appear,onChange({added:n,removed:r,finishRemoved:i,list:a}){let o=t();for(let l of n)R7(o,e,l);let s=[];for(let l of a)l.isConnected&&(l instanceof HTMLElement||l instanceof SVGElement)&&s.push({el:l,rect:l.getBoundingClientRect()});queueMicrotask(()=>{let l=[];for(let{el:c,rect:u}of s)if(c.isConnected){let d=c.getBoundingClientRect(),h=u.left-d.left,g=u.top-d.top;(h||g)&&(c.style.transform=`translate(${h}px, ${g}px)`,c.style.transitionDuration=\"0s\",l.push(c))}document.body.offsetHeight;for(let c of l){let u=function(d){(d.target===c||/transform$/.test(d.propertyName))&&(c.removeEventListener(\"transitionend\",u),c.classList.remove(...o.move))};c.classList.add(...o.move),c.style.transform=c.style.transitionDuration=\"\",c.addEventListener(\"transitionend\",u)}});for(let l of r)U7(o,e,l,()=>i([l]))}})};function ZD(e,t){let n=r=>{var i;return!e.contains(r.target)&&((i=t())==null?void 0:i())};document.body.addEventListener(\"click\",n),Rr(()=>document.body.removeEventListener(\"click\",n))}function YD(e,t){let n=r=>{var i,a;r.key===\"Escape\"&&((i=document.activeElement)==null||i.blur(),(a=t())==null||a())};document.body.addEventListener(\"keydown\",n),Rr(()=>document.body.removeEventListener(\"keydown\",n))}function GD(e,t){let{isEnabled:n,onClose:r}=t();if(!n||!(Ow().os===\"android\"))return;window.history.pushState(QD,\"\");let a=o=>{o.preventDefault(),r()};window.addEventListener(\"popstate\",a,{once:!0}),Rr(()=>{window.removeEventListener(\"popstate\",a),b7(()=>{var o;((o=window.history.state)==null?void 0:o[O7])===!0&&window.history.back()})})}var O7=\"androidBackHandler\",QD={[O7]:!0},XD=Bt('<svg><path fill-rule=evenodd clip-rule=evenodd d=\"M10.2122 14.3407C10.5384 14.0854 10.5959 13.614 10.3406 13.2878L6.20237 8.00003L10.3406 2.71227C10.5959 2.38607 10.5384 1.91469 10.2122 1.6594C9.88604 1.40412 9.41465 1.46161 9.15937 1.7878L4.65937 7.5378C4.44688 7.80932 4.44688 8.19074 4.65937 8.46226L9.15937 14.2123C9.41465 14.5385 9.88604 14.5959 10.2122 14.3407Z\"></svg>',!1,!0,!1),JD={left:0,top:90,right:180,bottom:270},I7=e=>{let t=pn(),n=()=>e.fill||t.colors.icon.secondary,r=()=>e.direction||\"left\",i=G(\"svg\")`\n transform: rotate(${a=>JD[a.svgDirection]}deg);\n transition: transform 0.1s ease-in-out;\n `;return p(i,{xmlns:\"http://www.w3.org/2000/svg\",width:\"16\",height:\"16\",viewBox:\"0 0 16 16\",fill:\"none\",get svgDirection(){return r()},get children(){var a=XD();return kt(()=>$e(a,\"fill\",n())),a}})},eL=Bt('<svg xmlns=http://www.w3.org/2000/svg width=16 height=16 viewBox=\"0 0 16 16\"fill=none><path fill-rule=evenodd clip-rule=evenodd d=\"M2.71966 2.71968C3.01255 2.42678 3.48743 2.42677 3.78032 2.71966L8.00002 6.93925L12.2197 2.71967C12.5126 2.42677 12.9874 2.42678 13.2803 2.71967C13.5732 3.01257 13.5732 3.48744 13.2803 3.78033L9.06068 7.99991L13.2803 12.2197C13.5732 12.5126 13.5732 12.9874 13.2803 13.2803C12.9874 13.5732 12.5126 13.5732 12.2197 13.2803L8.00002 9.06057L3.78033 13.2803C3.48744 13.5732 3.01257 13.5732 2.71967 13.2803C2.42678 12.9874 2.42677 12.5126 2.71967 12.2197L6.93936 7.99991L2.71968 3.78034C2.42678 3.48745 2.42677 3.01257 2.71966 2.71968Z\">'),tL=e=>{let t=pn(),n=()=>e.fill||t.colors.icon.secondary;return(()=>{var r=eL(),i=r.firstChild;return kt(()=>$e(i,\"fill\",n())),r})()},nL=G.button`\n padding: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 32px;\n height: 32px;\n border-radius: 50%;\n background-color: ${e=>e.theme.colors.background.tint};\n border: none;\n cursor: pointer;\n\n transition: transform 0.125s ease-in-out;\n\n ${bh} {\n &:hover {\n transform: scale(1.04);\n }\n }\n\n &:active {\n transform: scale(0.96);\n }\n\n ${yh} {\n &:active {\n transform: scale(0.92);\n }\n }\n`,To=e=>{let t=vh(e),n=()=>e.icon||\"close\";return p(nL,Ca({get class(){return e.class},onClick:()=>e.onClick(),\"data-tc-icon-button\":\"true\"},t,{get children(){return[p(tt,{get when(){return!!e.children},get children(){return e.children}}),p(tt,{get when(){return!e.children},get children(){return p(Co,{get children(){return[p(Pt,{get when(){return n()===\"close\"},get children(){return p(tL,{get fill(){return e.fill}})}}),p(Pt,{get when(){return n()===\"arrow\"},get children(){return p(I7,{get fill(){return e.fill}})}}),p(Pt,{get when(){return n()===\"question\"},get children(){return p(cj,{get fill(){return e.fill}})}}),p(Pt,{get when(){return typeof n()!=\"string\"},get children(){return n()}})]}})}})]}}))},du={m:\"24px\",s:\"16px\",none:\"0\"},rL=G.div`\n display: flex;\n position: fixed;\n z-index: 1000;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.4);\n padding: 20px 0;\n overflow-y: auto;\n\n ${yi(\"mobile\")} {\n padding-bottom: 0;\n }\n`,iL=So`\n box-shadow:\n 0 4px 16px rgba(0, 0, 0, 0.08),\n 0 16px 64px rgba(0, 0, 0, 0.16);\n width: fit-content;\n margin: auto;\n\n ${yi(\"mobile\")} {\n width: 100%;\n height: fit-content;\n margin: auto 0 0 0;\n }\n`,aL=G.div`\n position: relative;\n min-height: 100px;\n width: 416px;\n padding: 44px 56px 24px;\n\n box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.04);\n\n background-color: ${e=>e.theme.colors.background.primary};\n border-radius: ${e=>du[e.theme.borderRadius]};\n\n ${yi(\"mobile\")} {\n width: 100%;\n }\n`,oL=G(To)`\n position: absolute;\n right: 16px;\n top: 16px;\n`,sL=G.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 16px 16px 16px 18px;\n border-radius: 0 0 ${e=>du[e.theme.borderRadius]}\n ${e=>du[e.theme.borderRadius]};\n`,lL=G(To)`\n background-color: ${e=>Ul(e.theme.colors.icon.secondary,.12)};\n`,yw=class{constructor(){this.currentTime=0}},N7=class oh{constructor(){this.currentTime=0,this.playbackRate=1,this.startTime=null,this.timeline=new yw,this.finished=Promise.resolve(this),this.effect=null,this.id=\"\",this.pending=!1,this.playState=\"finished\",this.replaceState=\"active\",this.ready=Promise.resolve(this),this.oncancel=null,this.onfinish=null,this.onremove=null}static create(){return oh._instance||(Qz(\"Animation is not supported in this environment: please consider using the `web-animations-js` polyfill to provide a fallback implementation of the Web Animations API.\"),oh._instance=new oh),oh._instance}cancel(){}finish(){}pause(){}play(){}reverse(){}addEventListener(t,n,r){}dispatchEvent(t){return!1}removeEventListener(t,n,r){}updatePlaybackRate(t){}commitStyles(){}persist(){}};N7._instance=null;var cL=N7;function Ni(e,t,n){return\"animate\"in e?e.animate(t,n):cL.create()}var uL=Bt(\"<div>\"),dL=ZD,fL=YD,hL=GD,P7=e=>{let t=pn(),n=vh(e);return Kn(()=>{e.opened?eD():tD()}),p(F1,{onBeforeEnter:r=>{let i=cu(\"mobile\")?200:100;Ni(r,[{opacity:0},{opacity:1}],{duration:i}),cu(\"mobile\")&&Ni(r.firstElementChild,[{transform:\"translateY(390px)\"},{transform:\"translateY(0)\"}],{duration:i})},onExit:(r,i)=>{let a=cu(\"mobile\")?200:100,o=Ni(r,[{opacity:1},{opacity:0}],{duration:a});if(cu(\"mobile\")){let s=Ni(r.firstElementChild,[{transform:\"translateY(0)\"},{transform:\"translateY(390px)\"}],{duration:a});Promise.all([o.finished,s.finished]).then(i)}else o.finished.then(i)},get children(){return p(tt,{get when(){return e.opened},get children(){return p(rL,Ca({\"data-tc-modal\":\"true\"},n,{get children(){var r=uL();return kl(hL,r,()=>({isEnabled:e.enableAndroidBackHandler,onClose:()=>e.onClose()})),kl(fL,r,()=>()=>e.onClose()),kl(dL,r,()=>()=>e.onClose()),sr(r,p(aL,{get class(){return e.class},get children(){return[p(oL,{icon:\"close\",onClick:()=>e.onClose()}),Xe(()=>e.children)]}}),null),sr(r,p(tt,{get when(){return e.onClickQuestion&&e.showFooter},get children(){return p(sL,{get children(){return[p(sj,{}),p(lL,{get onClick(){return e.onClickQuestion},icon:\"question\"})]}})}}),null),kt(()=>Mw(r,(0,lh.default)(iL,So`\n border-radius: ${du[t.borderRadius]};\n background-color: ${t.colors.background.tint};\n\n ${yi(\"mobile\")} {\n border-radius: ${du[t.borderRadius]}\n ${du[t.borderRadius]} 0 0;\n }\n `))),r}}))}})}})},gL={m:\"22px\",s:\"12px\",none:\"0\"},pL={m:\"18px\",s:\"8px\",none:\"0\"},mL=G.div`\n display: grid;\n grid-template: 1fr / 1fr 1fr;\n width: fit-content;\n justify-items: center;\n gap: 4px;\n\n position: relative;\n padding: 4px;\n border-radius: ${e=>gL[e.theme.borderRadius]};\n\n background-color: ${e=>e.theme.colors.background.secondary};\n`,yL=G.div`\n position: absolute;\n top: 4px;\n left: 4px;\n\n height: calc(100% - 8px);\n width: calc(50% - 4px);\n\n border-radius: ${e=>pL[e.theme.borderRadius]};\n background-color: ${e=>e.theme.colors.background.segment};\n\n transform: ${e=>e.right?\"translateX(100%)\":\"translateX(0)\"};\n\n transition: transform 0.13s ease-in-out;\n`,v_=G.input`\n display: none;\n`,w_=G.label`\n padding: 9px 12px;\n z-index: 1;\n\n cursor: ${e=>e.isActive?\"default\":\"pointer\"};\n\n transition: transform 0.13s ease-in-out;\n\n &:hover {\n transform: ${e=>e.isActive?\"none\":\"scale(1.025)\"};\n }\n\n > * {\n ${e=>e.isActive?\"\":`color: ${e.theme.colors.text.secondary};`}\n }\n`,bL=e=>{let t=\"tabBar\"+Math.floor(Math.random()*1e4);return p(mL,{get class(){return e.class},\"data-tc-tab-bar\":\"true\",get children(){return[p(yL,{get right(){return e.selectedTabIndex===1}}),p(w_,{get isActive(){return e.selectedTabIndex===0},get children(){return[p(v_,{type:\"radio\",name:t,get checked(){return e.selectedTabIndex===0},onInput:()=>{var n;return(n=e.onSelectedTabIndexChange)==null?void 0:n.call(e,0)}}),Xe(()=>e.tab1)]}}),p(w_,{get isActive(){return e.selectedTabIndex===1},get children(){return[p(v_,{type:\"radio\",get checked(){return e.selectedTabIndex===1},name:t,onInput:()=>{var n;return(n=e.onSelectedTabIndexChange)==null?void 0:n.call(e,1)}}),Xe(()=>e.tab2)]}})]}})},vL={m:\"16px\",s:\"12px\",none:\"0\"},wL={m:\"12px\",s:\"8px\",none:\"0\"},z7=256,bw=60,x_=48,C_=24,b1=G.div`\n width: 52px;\n height: 52px;\n background: transparent;\n position: absolute;\n right: 0;\n bottom: 0;\n\n display: flex;\n align-items: center;\n justify-content: center;\n transition: transform 0.125s ease-in-out;\n`,xL=G.button`\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n background-color: ${e=>e.theme.colors.background.qr};\n border-radius: ${e=>vL[e.theme.borderRadius]};\n padding: ${Sa(C_)} 0;\n height: ${Sa(z7+C_*2)};\n width: 100%;\n\n overflow: hidden;\n cursor: pointer;\n border: none;\n\n ${bh} {\n &:hover {\n ${b1.class} {\n transform: scale(1.04);\n }\n }\n }\n\n &:active {\n ${b1.class} {\n transform: scale(0.96);\n }\n }\n\n ${yh} {\n &:active {\n ${b1.class} {\n transform: scale(0.92);\n }\n }\n }\n`,CL=G.div`\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n margin: 0 auto;\n\n > div:first-child {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n rect {\n fill: transparent;\n }\n\n path {\n fill: ${e=>e.theme.colors.constant.black};\n }\n`,SL=G.div`\n position: absolute;\n width: ${Sa(bw)};\n height: ${Sa(bw)};\n background: ${e=>e.theme.colors.background.qr};\n\n display: flex;\n align-items: center;\n justify-content: center;\n`,_L=G(Ol)`\n width: ${e=>Sa(e.size)};\n height: ${e=>Sa(e.size)};\n border-radius: ${e=>wL[e.theme.borderRadius]};\n background-color: ${e=>e.theme.colors.background.qr};\n`,TL=G.div`\n position: absolute;\n bottom: 14px;\n left: 50%;\n transform: translate(-50%, 0);\n\n display: flex;\n gap: 6px;\n align-items: center;\n border-radius: 18px;\n min-width: 126px;\n padding: 9px 16px 9px 10px;\n\n filter: drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.08));\n background-color: ${e=>e.theme.colors.background.segment};\n`;function EL(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,\"default\")?e.default:e}var Fv={exports:{}},S_;function AL(){return S_||(S_=1,(function(e,t){var n=(function(){var r=function(O,re){var B=236,q=17,z=O,K=a[re],j=null,N=0,pe=null,le=[],se={},Me=function(oe,ce){N=z*4+17,j=(function(ie){for(var ue=new Array(ie),ye=0;ye<ie;ye+=1){ue[ye]=new Array(ie);for(var Re=0;Re<ie;Re+=1)ue[ye][Re]=null}return ue})(N),I(0,0),I(N-7,0),I(0,N-7),Et(),Ze(),jt(oe,ce),z>=7&&Qt(oe),pe==null&&(pe=Rn(z,K,le)),tn(pe,ce)},I=function(oe,ce){for(var ie=-1;ie<=7;ie+=1)if(!(oe+ie<=-1||N<=oe+ie))for(var ue=-1;ue<=7;ue+=1)ce+ue<=-1||N<=ce+ue||(0<=ie&&ie<=6&&(ue==0||ue==6)||0<=ue&&ue<=6&&(ie==0||ie==6)||2<=ie&&ie<=4&&2<=ue&&ue<=4?j[oe+ie][ce+ue]=!0:j[oe+ie][ce+ue]=!1)},Fe=function(){for(var oe=0,ce=0,ie=0;ie<8;ie+=1){Me(!0,ie);var ue=s.getLostPoint(se);(ie==0||oe>ue)&&(oe=ue,ce=ie)}return ce},Ze=function(){for(var oe=8;oe<N-8;oe+=1)j[oe][6]==null&&(j[oe][6]=oe%2==0);for(var ce=8;ce<N-8;ce+=1)j[6][ce]==null&&(j[6][ce]=ce%2==0)},Et=function(){for(var oe=s.getPatternPosition(z),ce=0;ce<oe.length;ce+=1)for(var ie=0;ie<oe.length;ie+=1){var ue=oe[ce],ye=oe[ie];if(j[ue][ye]==null)for(var Re=-2;Re<=2;Re+=1)for(var et=-2;et<=2;et+=1)Re==-2||Re==2||et==-2||et==2||Re==0&&et==0?j[ue+Re][ye+et]=!0:j[ue+Re][ye+et]=!1}},Qt=function(oe){for(var ce=s.getBCHTypeNumber(z),ie=0;ie<18;ie+=1){var ue=!oe&&(ce>>ie&1)==1;j[Math.floor(ie/3)][ie%3+N-8-3]=ue}for(var ie=0;ie<18;ie+=1){var ue=!oe&&(ce>>ie&1)==1;j[ie%3+N-8-3][Math.floor(ie/3)]=ue}},jt=function(oe,ce){for(var ie=K<<3|ce,ue=s.getBCHTypeInfo(ie),ye=0;ye<15;ye+=1){var Re=!oe&&(ue>>ye&1)==1;ye<6?j[ye][8]=Re:ye<8?j[ye+1][8]=Re:j[N-15+ye][8]=Re}for(var ye=0;ye<15;ye+=1){var Re=!oe&&(ue>>ye&1)==1;ye<8?j[8][N-ye-1]=Re:ye<9?j[8][15-ye-1+1]=Re:j[8][15-ye-1]=Re}j[N-8][8]=!oe},tn=function(oe,ce){for(var ie=-1,ue=N-1,ye=7,Re=0,et=s.getMaskFunction(ce),Ge=N-1;Ge>0;Ge-=2)for(Ge==6&&(Ge-=1);;){for(var Ut=0;Ut<2;Ut+=1)if(j[ue][Ge-Ut]==null){var fn=!1;Re<oe.length&&(fn=(oe[Re]>>>ye&1)==1);var Ve=et(ue,Ge-Ut);Ve&&(fn=!fn),j[ue][Ge-Ut]=fn,ye-=1,ye==-1&&(Re+=1,ye=7)}if(ue+=ie,ue<0||N<=ue){ue-=ie,ie=-ie;break}}},Le=function(oe,ce){for(var ie=0,ue=0,ye=0,Re=new Array(ce.length),et=new Array(ce.length),Ge=0;Ge<ce.length;Ge+=1){var Ut=ce[Ge].dataCount,fn=ce[Ge].totalCount-Ut;ue=Math.max(ue,Ut),ye=Math.max(ye,fn),Re[Ge]=new Array(Ut);for(var Ve=0;Ve<Re[Ge].length;Ve+=1)Re[Ge][Ve]=255&oe.getBuffer()[Ve+ie];ie+=Ut;var Nn=s.getErrorCorrectPolynomial(fn),Un=c(Re[Ge],Nn.getLength()-1),Er=Un.mod(Nn);et[Ge]=new Array(Nn.getLength()-1);for(var Ve=0;Ve<et[Ge].length;Ve+=1){var Dr=Ve+Er.getLength()-et[Ge].length;et[Ge][Ve]=Dr>=0?Er.getAt(Dr):0}}for(var D=0,Ve=0;Ve<ce.length;Ve+=1)D+=ce[Ve].totalCount;for(var _=new Array(D),U=0,Ve=0;Ve<ue;Ve+=1)for(var Ge=0;Ge<ce.length;Ge+=1)Ve<Re[Ge].length&&(_[U]=Re[Ge][Ve],U+=1);for(var Ve=0;Ve<ye;Ve+=1)for(var Ge=0;Ge<ce.length;Ge+=1)Ve<et[Ge].length&&(_[U]=et[Ge][Ve],U+=1);return _},Rn=function(oe,ce,ie){for(var ue=u.getRSBlocks(oe,ce),ye=d(),Re=0;Re<ie.length;Re+=1){var et=ie[Re];ye.put(et.getMode(),4),ye.put(et.getLength(),s.getLengthInBits(et.getMode(),oe)),et.write(ye)}for(var Ge=0,Re=0;Re<ue.length;Re+=1)Ge+=ue[Re].dataCount;if(ye.getLengthInBits()>Ge*8)throw\"code length overflow. (\"+ye.getLengthInBits()+\">\"+Ge*8+\")\";for(ye.getLengthInBits()+4<=Ge*8&&ye.put(0,4);ye.getLengthInBits()%8!=0;)ye.putBit(!1);for(;!(ye.getLengthInBits()>=Ge*8||(ye.put(B,8),ye.getLengthInBits()>=Ge*8));)ye.put(q,8);return Le(ye,ue)};se.addData=function(oe,ce){ce=ce||\"Byte\";var ie=null;switch(ce){case\"Numeric\":ie=h(oe);break;case\"Alphanumeric\":ie=g(oe);break;case\"Byte\":ie=y(oe);break;case\"Kanji\":ie=E(oe);break;default:throw\"mode:\"+ce}le.push(ie),pe=null},se.isDark=function(oe,ce){if(oe<0||N<=oe||ce<0||N<=ce)throw oe+\",\"+ce;return j[oe][ce]},se.getModuleCount=function(){return N},se.make=function(){if(z<1){for(var oe=1;oe<40;oe++){for(var ce=u.getRSBlocks(oe,K),ie=d(),ue=0;ue<le.length;ue++){var ye=le[ue];ie.put(ye.getMode(),4),ie.put(ye.getLength(),s.getLengthInBits(ye.getMode(),oe)),ye.write(ie)}for(var Re=0,ue=0;ue<ce.length;ue++)Re+=ce[ue].dataCount;if(ie.getLengthInBits()<=Re*8)break}z=oe}Me(!1,Fe())},se.createTableTag=function(oe,ce){oe=oe||2,ce=typeof ce>\"u\"?oe*4:ce;var ie=\"\";ie+='<table style=\"',ie+=\" border-width: 0px; border-style: none;\",ie+=\" border-collapse: collapse;\",ie+=\" padding: 0px; margin: \"+ce+\"px;\",ie+='\">',ie+=\"<tbody>\";for(var ue=0;ue<se.getModuleCount();ue+=1){ie+=\"<tr>\";for(var ye=0;ye<se.getModuleCount();ye+=1)ie+='<td style=\"',ie+=\" border-width: 0px; border-style: none;\",ie+=\" border-collapse: collapse;\",ie+=\" padding: 0px; margin: 0px;\",ie+=\" width: \"+oe+\"px;\",ie+=\" height: \"+oe+\"px;\",ie+=\" background-color: \",ie+=se.isDark(ue,ye)?\"#000000\":\"#ffffff\",ie+=\";\",ie+='\"/>';ie+=\"</tr>\"}return ie+=\"</tbody>\",ie+=\"</table>\",ie},se.createSvgTag=function(oe,ce,ie,ue){var ye={};typeof arguments[0]==\"object\"&&(ye=arguments[0],oe=ye.cellSize,ce=ye.margin,ie=ye.alt,ue=ye.title),oe=oe||2,ce=typeof ce>\"u\"?oe*4:ce,ie=typeof ie==\"string\"?{text:ie}:ie||{},ie.text=ie.text||null,ie.id=ie.text?ie.id||\"qrcode-description\":null,ue=typeof ue==\"string\"?{text:ue}:ue||{},ue.text=ue.text||null,ue.id=ue.text?ue.id||\"qrcode-title\":null;var Re=se.getModuleCount()*oe+ce*2,et,Ge,Ut,fn,Ve=\"\",Nn;for(Nn=\"l\"+oe+\",0 0,\"+oe+\" -\"+oe+\",0 0,-\"+oe+\"z \",Ve+='<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"',Ve+=ye.scalable?\"\":' width=\"'+Re+'px\" height=\"'+Re+'px\"',Ve+=' viewBox=\"0 0 '+Re+\" \"+Re+'\" ',Ve+=' preserveAspectRatio=\"xMinYMin meet\"',Ve+=ue.text||ie.text?' role=\"img\" aria-labelledby=\"'+cr([ue.id,ie.id].join(\" \").trim())+'\"':\"\",Ve+=\">\",Ve+=ue.text?'<title id=\"'+cr(ue.id)+'\">'+cr(ue.text)+\"</title>\":\"\",Ve+=ie.text?'<description id=\"'+cr(ie.id)+'\">'+cr(ie.text)+\"</description>\":\"\",Ve+='<rect width=\"100%\" height=\"100%\" fill=\"white\" cx=\"0\" cy=\"0\"/>',Ve+='<path d=\"',Ut=0;Ut<se.getModuleCount();Ut+=1)for(fn=Ut*oe+ce,et=0;et<se.getModuleCount();et+=1)se.isDark(Ut,et)&&(Ge=et*oe+ce,Ve+=\"M\"+Ge+\",\"+fn+Nn);return Ve+='\" stroke=\"transparent\" fill=\"black\"/>',Ve+=\"</svg>\",Ve},se.createDataURL=function(oe,ce){oe=oe||2,ce=typeof ce>\"u\"?oe*4:ce;var ie=se.getModuleCount()*oe+ce*2,ue=ce,ye=ie-ce;return R(ie,ie,function(Re,et){if(ue<=Re&&Re<ye&&ue<=et&&et<ye){var Ge=Math.floor((Re-ue)/oe),Ut=Math.floor((et-ue)/oe);return se.isDark(Ut,Ge)?0:1}else return 1})},se.createImgTag=function(oe,ce,ie){oe=oe||2,ce=typeof ce>\"u\"?oe*4:ce;var ue=se.getModuleCount()*oe+ce*2,ye=\"\";return ye+=\"<img\",ye+=' src=\"',ye+=se.createDataURL(oe,ce),ye+='\"',ye+=' width=\"',ye+=ue,ye+='\"',ye+=' height=\"',ye+=ue,ye+='\"',ie&&(ye+=' alt=\"',ye+=cr(ie),ye+='\"'),ye+=\"/>\",ye};var cr=function(oe){for(var ce=\"\",ie=0;ie<oe.length;ie+=1){var ue=oe.charAt(ie);switch(ue){case\"<\":ce+=\"<\";break;case\">\":ce+=\">\";break;case\"&\":ce+=\"&\";break;case'\"':ce+=\""\";break;default:ce+=ue;break}}return ce},ii=function(oe){var ce=1;oe=typeof oe>\"u\"?ce*2:oe;var ie=se.getModuleCount()*ce+oe*2,ue=oe,ye=ie-oe,Re,et,Ge,Ut,fn,Ve={\"\\u2588\\u2588\":\"\\u2588\",\"\\u2588 \":\"\\u2580\",\" \\u2588\":\"\\u2584\",\" \":\" \"},Nn={\"\\u2588\\u2588\":\"\\u2580\",\"\\u2588 \":\"\\u2580\",\" \\u2588\":\" \",\" \":\" \"},Un=\"\";for(Re=0;Re<ie;Re+=2){for(Ge=Math.floor((Re-ue)/ce),Ut=Math.floor((Re+1-ue)/ce),et=0;et<ie;et+=1)fn=\"\\u2588\",ue<=et&&et<ye&&ue<=Re&&Re<ye&&se.isDark(Ge,Math.floor((et-ue)/ce))&&(fn=\" \"),ue<=et&&et<ye&&ue<=Re+1&&Re+1<ye&&se.isDark(Ut,Math.floor((et-ue)/ce))?fn+=\" \":fn+=\"\\u2588\",Un+=oe<1&&Re+1>=ye?Nn[fn]:Ve[fn];Un+=`\n`}return ie%2&&oe>0?Un.substring(0,Un.length-ie-1)+Array(ie+1).join(\"\\u2580\"):Un.substring(0,Un.length-1)};return se.createASCII=function(oe,ce){if(oe=oe||1,oe<2)return ii(ce);oe-=1,ce=typeof ce>\"u\"?oe*2:ce;var ie=se.getModuleCount()*oe+ce*2,ue=ce,ye=ie-ce,Re,et,Ge,Ut,fn=Array(oe+1).join(\"\\u2588\\u2588\"),Ve=Array(oe+1).join(\" \"),Nn=\"\",Un=\"\";for(Re=0;Re<ie;Re+=1){for(Ge=Math.floor((Re-ue)/oe),Un=\"\",et=0;et<ie;et+=1)Ut=1,ue<=et&&et<ye&&ue<=Re&&Re<ye&&se.isDark(Ge,Math.floor((et-ue)/oe))&&(Ut=0),Un+=Ut?fn:Ve;for(Ge=0;Ge<oe;Ge+=1)Nn+=Un+`\n`}return Nn.substring(0,Nn.length-1)},se.renderTo2dContext=function(oe,ce){ce=ce||2;for(var ie=se.getModuleCount(),ue=0;ue<ie;ue++)for(var ye=0;ye<ie;ye++)oe.fillStyle=se.isDark(ue,ye)?\"black\":\"white\",oe.fillRect(ue*ce,ye*ce,ce,ce)},se};r.stringToBytesFuncs={default:function(O){for(var re=[],B=0;B<O.length;B+=1){var q=O.charCodeAt(B);re.push(q&255)}return re}},r.stringToBytes=r.stringToBytesFuncs.default,r.createStringToBytes=function(O,re){var B=(function(){for(var z=v(O),K=function(){var Ze=z.read();if(Ze==-1)throw\"eof\";return Ze},j=0,N={};;){var pe=z.read();if(pe==-1)break;var le=K(),se=K(),Me=K(),I=String.fromCharCode(pe<<8|le),Fe=se<<8|Me;N[I]=Fe,j+=1}if(j!=re)throw j+\" != \"+re;return N})(),q=63;return function(z){for(var K=[],j=0;j<z.length;j+=1){var N=z.charCodeAt(j);if(N<128)K.push(N);else{var pe=B[z.charAt(j)];typeof pe==\"number\"?(pe&255)==pe?K.push(pe):(K.push(pe>>>8),K.push(pe&255)):K.push(q)}}return K}};var i={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},a={L:1,M:0,Q:3,H:2},o={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},s=(function(){var O=[[],[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]],re=1335,B=7973,q=21522,z={},K=function(j){for(var N=0;j!=0;)N+=1,j>>>=1;return N};return z.getBCHTypeInfo=function(j){for(var N=j<<10;K(N)-K(re)>=0;)N^=re<<K(N)-K(re);return(j<<10|N)^q},z.getBCHTypeNumber=function(j){for(var N=j<<12;K(N)-K(B)>=0;)N^=B<<K(N)-K(B);return j<<12|N},z.getPatternPosition=function(j){return O[j-1]},z.getMaskFunction=function(j){switch(j){case o.PATTERN000:return function(N,pe){return(N+pe)%2==0};case o.PATTERN001:return function(N,pe){return N%2==0};case o.PATTERN010:return function(N,pe){return pe%3==0};case o.PATTERN011:return function(N,pe){return(N+pe)%3==0};case o.PATTERN100:return function(N,pe){return(Math.floor(N/2)+Math.floor(pe/3))%2==0};case o.PATTERN101:return function(N,pe){return N*pe%2+N*pe%3==0};case o.PATTERN110:return function(N,pe){return(N*pe%2+N*pe%3)%2==0};case o.PATTERN111:return function(N,pe){return(N*pe%3+(N+pe)%2)%2==0};default:throw\"bad maskPattern:\"+j}},z.getErrorCorrectPolynomial=function(j){for(var N=c([1],0),pe=0;pe<j;pe+=1)N=N.multiply(c([1,l.gexp(pe)],0));return N},z.getLengthInBits=function(j,N){if(1<=N&&N<10)switch(j){case i.MODE_NUMBER:return 10;case i.MODE_ALPHA_NUM:return 9;case i.MODE_8BIT_BYTE:return 8;case i.MODE_KANJI:return 8;default:throw\"mode:\"+j}else if(N<27)switch(j){case i.MODE_NUMBER:return 12;case i.MODE_ALPHA_NUM:return 11;case i.MODE_8BIT_BYTE:return 16;case i.MODE_KANJI:return 10;default:throw\"mode:\"+j}else if(N<41)switch(j){case i.MODE_NUMBER:return 14;case i.MODE_ALPHA_NUM:return 13;case i.MODE_8BIT_BYTE:return 16;case i.MODE_KANJI:return 12;default:throw\"mode:\"+j}else throw\"type:\"+N},z.getLostPoint=function(j){for(var N=j.getModuleCount(),pe=0,le=0;le<N;le+=1)for(var se=0;se<N;se+=1){for(var Me=0,I=j.isDark(le,se),Fe=-1;Fe<=1;Fe+=1)if(!(le+Fe<0||N<=le+Fe))for(var Ze=-1;Ze<=1;Ze+=1)se+Ze<0||N<=se+Ze||Fe==0&&Ze==0||I==j.isDark(le+Fe,se+Ze)&&(Me+=1);Me>5&&(pe+=3+Me-5)}for(var le=0;le<N-1;le+=1)for(var se=0;se<N-1;se+=1){var Et=0;j.isDark(le,se)&&(Et+=1),j.isDark(le+1,se)&&(Et+=1),j.isDark(le,se+1)&&(Et+=1),j.isDark(le+1,se+1)&&(Et+=1),(Et==0||Et==4)&&(pe+=3)}for(var le=0;le<N;le+=1)for(var se=0;se<N-6;se+=1)j.isDark(le,se)&&!j.isDark(le,se+1)&&j.isDark(le,se+2)&&j.isDark(le,se+3)&&j.isDark(le,se+4)&&!j.isDark(le,se+5)&&j.isDark(le,se+6)&&(pe+=40);for(var se=0;se<N;se+=1)for(var le=0;le<N-6;le+=1)j.isDark(le,se)&&!j.isDark(le+1,se)&&j.isDark(le+2,se)&&j.isDark(le+3,se)&&j.isDark(le+4,se)&&!j.isDark(le+5,se)&&j.isDark(le+6,se)&&(pe+=40);for(var Qt=0,se=0;se<N;se+=1)for(var le=0;le<N;le+=1)j.isDark(le,se)&&(Qt+=1);var jt=Math.abs(100*Qt/N/N-50)/5;return pe+=jt*10,pe},z})(),l=(function(){for(var O=new Array(256),re=new Array(256),B=0;B<8;B+=1)O[B]=1<<B;for(var B=8;B<256;B+=1)O[B]=O[B-4]^O[B-5]^O[B-6]^O[B-8];for(var B=0;B<255;B+=1)re[O[B]]=B;var q={};return q.glog=function(z){if(z<1)throw\"glog(\"+z+\")\";return re[z]},q.gexp=function(z){for(;z<0;)z+=255;for(;z>=256;)z-=255;return O[z]},q})();function c(O,re){if(typeof O.length>\"u\")throw O.length+\"/\"+re;var B=(function(){for(var z=0;z<O.length&&O[z]==0;)z+=1;for(var K=new Array(O.length-z+re),j=0;j<O.length-z;j+=1)K[j]=O[j+z];return K})(),q={};return q.getAt=function(z){return B[z]},q.getLength=function(){return B.length},q.multiply=function(z){for(var K=new Array(q.getLength()+z.getLength()-1),j=0;j<q.getLength();j+=1)for(var N=0;N<z.getLength();N+=1)K[j+N]^=l.gexp(l.glog(q.getAt(j))+l.glog(z.getAt(N)));return c(K,0)},q.mod=function(z){if(q.getLength()-z.getLength()<0)return q;for(var K=l.glog(q.getAt(0))-l.glog(z.getAt(0)),j=new Array(q.getLength()),N=0;N<q.getLength();N+=1)j[N]=q.getAt(N);for(var N=0;N<z.getLength();N+=1)j[N]^=l.gexp(l.glog(z.getAt(N))+K);return c(j,0).mod(z)},q}var u=(function(){var O=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],re=function(z,K){var j={};return j.totalCount=z,j.dataCount=K,j},B={},q=function(z,K){switch(K){case a.L:return O[(z-1)*4+0];case a.M:return O[(z-1)*4+1];case a.Q:return O[(z-1)*4+2];case a.H:return O[(z-1)*4+3];default:return}};return B.getRSBlocks=function(z,K){var j=q(z,K);if(typeof j>\"u\")throw\"bad rs block @ typeNumber:\"+z+\"/errorCorrectionLevel:\"+K;for(var N=j.length/3,pe=[],le=0;le<N;le+=1)for(var se=j[le*3+0],Me=j[le*3+1],I=j[le*3+2],Fe=0;Fe<se;Fe+=1)pe.push(re(Me,I));return pe},B})(),d=function(){var O=[],re=0,B={};return B.getBuffer=function(){return O},B.getAt=function(q){var z=Math.floor(q/8);return(O[z]>>>7-q%8&1)==1},B.put=function(q,z){for(var K=0;K<z;K+=1)B.putBit((q>>>z-K-1&1)==1)},B.getLengthInBits=function(){return re},B.putBit=function(q){var z=Math.floor(re/8);O.length<=z&&O.push(0),q&&(O[z]|=128>>>re%8),re+=1},B},h=function(O){var re=i.MODE_NUMBER,B=O,q={};q.getMode=function(){return re},q.getLength=function(j){return B.length},q.write=function(j){for(var N=B,pe=0;pe+2<N.length;)j.put(z(N.substring(pe,pe+3)),10),pe+=3;pe<N.length&&(N.length-pe==1?j.put(z(N.substring(pe,pe+1)),4):N.length-pe==2&&j.put(z(N.substring(pe,pe+2)),7))};var z=function(j){for(var N=0,pe=0;pe<j.length;pe+=1)N=N*10+K(j.charAt(pe));return N},K=function(j){if(\"0\"<=j&&j<=\"9\")return j.charCodeAt(0)-48;throw\"illegal char :\"+j};return q},g=function(O){var re=i.MODE_ALPHA_NUM,B=O,q={};q.getMode=function(){return re},q.getLength=function(K){return B.length},q.write=function(K){for(var j=B,N=0;N+1<j.length;)K.put(z(j.charAt(N))*45+z(j.charAt(N+1)),11),N+=2;N<j.length&&K.put(z(j.charAt(N)),6)};var z=function(K){if(\"0\"<=K&&K<=\"9\")return K.charCodeAt(0)-48;if(\"A\"<=K&&K<=\"Z\")return K.charCodeAt(0)-65+10;switch(K){case\" \":return 36;case\"$\":return 37;case\"%\":return 38;case\"*\":return 39;case\"+\":return 40;case\"-\":return 41;case\".\":return 42;case\"/\":return 43;case\":\":return 44;default:throw\"illegal char :\"+K}};return q},y=function(O){var re=i.MODE_8BIT_BYTE,B=r.stringToBytes(O),q={};return q.getMode=function(){return re},q.getLength=function(z){return B.length},q.write=function(z){for(var K=0;K<B.length;K+=1)z.put(B[K],8)},q},E=function(O){var re=i.MODE_KANJI,B=r.stringToBytesFuncs.SJIS;if(!B)throw\"sjis not supported.\";(function(K,j){var N=B(K);if(N.length!=2||(N[0]<<8|N[1])!=j)throw\"sjis not supported.\"})(\"\\u53CB\",38726);var q=B(O),z={};return z.getMode=function(){return re},z.getLength=function(K){return~~(q.length/2)},z.write=function(K){for(var j=q,N=0;N+1<j.length;){var pe=(255&j[N])<<8|255&j[N+1];if(33088<=pe&&pe<=40956)pe-=33088;else if(57408<=pe&&pe<=60351)pe-=49472;else throw\"illegal char at \"+(N+1)+\"/\"+pe;pe=(pe>>>8&255)*192+(pe&255),K.put(pe,13),N+=2}if(N<j.length)throw\"illegal char at \"+(N+1)},z},L=function(){var O=[],re={};return re.writeByte=function(B){O.push(B&255)},re.writeShort=function(B){re.writeByte(B),re.writeByte(B>>>8)},re.writeBytes=function(B,q,z){q=q||0,z=z||B.length;for(var K=0;K<z;K+=1)re.writeByte(B[K+q])},re.writeString=function(B){for(var q=0;q<B.length;q+=1)re.writeByte(B.charCodeAt(q))},re.toByteArray=function(){return O},re.toString=function(){var B=\"\";B+=\"[\";for(var q=0;q<O.length;q+=1)q>0&&(B+=\",\"),B+=O[q];return B+=\"]\",B},re},C=function(){var O=0,re=0,B=0,q=\"\",z={},K=function(N){q+=String.fromCharCode(j(N&63))},j=function(N){if(!(N<0)){if(N<26)return 65+N;if(N<52)return 97+(N-26);if(N<62)return 48+(N-52);if(N==62)return 43;if(N==63)return 47}throw\"n:\"+N};return z.writeByte=function(N){for(O=O<<8|N&255,re+=8,B+=1;re>=6;)K(O>>>re-6),re-=6},z.flush=function(){if(re>0&&(K(O<<6-re),O=0,re=0),B%3!=0)for(var N=3-B%3,pe=0;pe<N;pe+=1)q+=\"=\"},z.toString=function(){return q},z},v=function(O){var re=O,B=0,q=0,z=0,K={};K.read=function(){for(;z<8;){if(B>=re.length){if(z==0)return-1;throw\"unexpected end of file./\"+z}var N=re.charAt(B);if(B+=1,N==\"=\")return z=0,-1;if(N.match(/^\\s$/))continue;q=q<<6|j(N.charCodeAt(0)),z+=6}var pe=q>>>z-8&255;return z-=8,pe};var j=function(N){if(65<=N&&N<=90)return N-65;if(97<=N&&N<=122)return N-97+26;if(48<=N&&N<=57)return N-48+52;if(N==43)return 62;if(N==47)return 63;throw\"c:\"+N};return K},T=function(O,re){var B=O,q=re,z=new Array(O*re),K={};K.setPixel=function(le,se,Me){z[se*B+le]=Me},K.write=function(le){le.writeString(\"GIF87a\"),le.writeShort(B),le.writeShort(q),le.writeByte(128),le.writeByte(0),le.writeByte(0),le.writeByte(0),le.writeByte(0),le.writeByte(0),le.writeByte(255),le.writeByte(255),le.writeByte(255),le.writeString(\",\"),le.writeShort(0),le.writeShort(0),le.writeShort(B),le.writeShort(q),le.writeByte(0);var se=2,Me=N(se);le.writeByte(se);for(var I=0;Me.length-I>255;)le.writeByte(255),le.writeBytes(Me,I,255),I+=255;le.writeByte(Me.length-I),le.writeBytes(Me,I,Me.length-I),le.writeByte(0),le.writeString(\";\")};var j=function(le){var se=le,Me=0,I=0,Fe={};return Fe.write=function(Ze,Et){if(Ze>>>Et)throw\"length over\";for(;Me+Et>=8;)se.writeByte(255&(Ze<<Me|I)),Et-=8-Me,Ze>>>=8-Me,I=0,Me=0;I=Ze<<Me|I,Me=Me+Et},Fe.flush=function(){Me>0&&se.writeByte(I)},Fe},N=function(le){for(var se=1<<le,Me=(1<<le)+1,I=le+1,Fe=pe(),Ze=0;Ze<se;Ze+=1)Fe.add(String.fromCharCode(Ze));Fe.add(String.fromCharCode(se)),Fe.add(String.fromCharCode(Me));var Et=L(),Qt=j(Et);Qt.write(se,I);var jt=0,tn=String.fromCharCode(z[jt]);for(jt+=1;jt<z.length;){var Le=String.fromCharCode(z[jt]);jt+=1,Fe.contains(tn+Le)?tn=tn+Le:(Qt.write(Fe.indexOf(tn),I),Fe.size()<4095&&(Fe.size()==1<<I&&(I+=1),Fe.add(tn+Le)),tn=Le)}return Qt.write(Fe.indexOf(tn),I),Qt.write(Me,I),Qt.flush(),Et.toByteArray()},pe=function(){var le={},se=0,Me={};return Me.add=function(I){if(Me.contains(I))throw\"dup key:\"+I;le[I]=se,se+=1},Me.size=function(){return se},Me.indexOf=function(I){return le[I]},Me.contains=function(I){return typeof le[I]<\"u\"},Me};return K},R=function(O,re,B){for(var q=T(O,re),z=0;z<re;z+=1)for(var K=0;K<O;K+=1)q.setPixel(K,z,B(K,z));var j=L();q.write(j);for(var N=C(),pe=j.toByteArray(),le=0;le<pe.length;le+=1)N.writeByte(pe[le]);return N.flush(),\"data:image/gif;base64,\"+N};return r})();(function(){n.stringToBytesFuncs[\"UTF-8\"]=function(r){function i(a){for(var o=[],s=0;s<a.length;s++){var l=a.charCodeAt(s);l<128?o.push(l):l<2048?o.push(192|l>>6,128|l&63):l<55296||l>=57344?o.push(224|l>>12,128|l>>6&63,128|l&63):(s++,l=65536+((l&1023)<<10|a.charCodeAt(s)&1023),o.push(240|l>>18,128|l>>12&63,128|l>>6&63,128|l&63))}return o}return i(r)}})(),(function(r){e.exports=r()})(function(){return n})})(Fv)),Fv.exports}var kL=AL(),BL=EL(kL);function K1(e){return vt(this,null,function*(){try{if(!navigator?.clipboard)throw new vn(\"Clipboard API not available\");return yield navigator.clipboard.writeText(e)}catch{}ML(e)})}function ML(e){let t=document.createElement(\"textarea\");t.value=e,t.style.top=\"0\",t.style.left=\"0\",t.style.position=\"fixed\",document.body.appendChild(t),t.focus(),t.select();try{document.execCommand(\"copy\")}finally{document.body.removeChild(t)}}var RL=Bt(\"<div>\"),$1=e=>{let t,n,r,[i,a]=Je(!1),[o,s]=Je(x_);Kn(()=>{let h=BL(0,\"L\");h.addData(e.sourceUrl),h.make(),t.innerHTML=h.createSvgTag(4,0);let g=t.firstElementChild.clientWidth,y=Math.round(z7/g*1e5)/1e5;if(r){let E=Math.ceil(bw/(y*4))*4,L=Sa(Math.ceil((g-E)/8)*4);r.style.top=L,r.style.left=L,r.style.height=Sa(E),r.style.width=Sa(E),s(Math.round(x_/y))}n.style.transform=`scale(${y})`});let l=null;return p(xL,{get class(){return e.class},onClick:()=>{a(!0),K1(e.sourceUrl),l!=null&&clearTimeout(l),l=setTimeout(()=>a(!1),1500)},get children(){return[p(CL,{ref(u){var d=n;typeof d==\"function\"?d(u):n=u},get children(){return[(()=>{var u=RL(),d=t;return typeof d==\"function\"?kl(d,u):t=u,u})(),p(tt,{get when(){return e.imageUrl},get children(){return p(SL,{ref(u){var d=r;typeof d==\"function\"?d(u):r=u},get children(){return p(_L,{get src(){return e.imageUrl},alt:\"\",get size(){return o()}})}})}})]}}),p(F1,{onBeforeEnter:u=>{Ni(u,[{opacity:0,transform:\"translate(-50%, 44px)\"},{opacity:1,transform:\"translate(-50%, 0)\"}],{duration:150,easing:\"ease-out\"})},onExit:(u,d)=>{Ni(u,[{opacity:1,transform:\"translate(-50%, 0)\"},{opacity:0,transform:\"translate(-50%, 44px)\"}],{duration:150,easing:\"ease-out\"}).finished.then(()=>{d()})},get children(){return p(tt,{get when(){return i()&&!e.disableCopy},get children(){return p(TL,{get children(){return[p(Y1,{size:\"xs\"}),p($r,{translationKey:\"common.linkCopied\",children:\"Link Copied\"})]}})}})}}),p(tt,{get when(){return!e.disableCopy},get children(){return p(b1,{get children(){return p(Bj,{})}})}})]}})},vw=(e,t,n)=>{let r=t.trim().split(\".\").reduce((i,a)=>i?i[a]:void 0,e);return r!==void 0?r:n},UL=(e,t,n=/{{(.*?)}}/g)=>e.replace(n,(r,i)=>vw(t,i,\"\")),OL=(e={},t=navigator.language in e?navigator.language:Object.keys(e)[0])=>{let[n,r]=Je(t),[i,a]=Iw(e);return[(l,c,u)=>{let d=vw(i[n()],l,u||\"\");return typeof d==\"function\"?d(c):typeof d==\"string\"?UL(d,c||{}):d},{add(l,c){a(l,u=>Object.assign(u||{},c))},locale:l=>l?r(l):n(),dict:l=>vw(i,l)}]},D7=V1({}),Ji=()=>Cr(D7),IL=G.div`\n font-style: normal;\n font-weight: ${e=>e.fontWeight};\n font-size: ${e=>e.fontSize};\n line-height: ${e=>e.lineHeight};\n\n color: ${e=>e.color};\n`,$r=e=>{let t=pn(),[n]=Ji(),r,i=()=>e.color||t.colors.text.primary,a=Ca({fontSize:\"14px\",fontWeight:\"510\",lineHeight:\"130%\"},e);return Kn(()=>{r&&a.cursor!==\"unset\"&&getComputedStyle(r).cursor!==\"pointer\"&&(r.style.cursor=\"default\")}),p(IL,{get fontSize(){return a.fontSize},get fontWeight(){return a.fontWeight},get lineHeight(){return a.lineHeight},get color(){return i()},get class(){return a.class},ref(o){var s=r;typeof s==\"function\"?s(o):r=o},\"data-tc-text\":\"true\",get children(){var o;return Xe(()=>!!a.translationKey)()?n(a.translationKey,a.translationValues,(o=a.children)==null?void 0:o.toString()):a.children}})},NL=G.div`\n position: relative;\n\n &::after {\n content: '';\n display: block;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n border: 0.5px solid rgba(0, 0, 0, 0.08);\n border-radius: inherit;\n }\n`,PL=G(Ol)`\n width: 100%;\n height: 100%;\n border-radius: inherit;\n`,L7=e=>p(NL,{get class(){return e.class},get children(){return[p(PL,{get src(){return e.src}}),Xe(()=>e.badge)]}}),zL={m:\"16px\",s:\"12px\",none:\"0\"},DL={m:\"6px\",s:\"6px\",none:\"0\"},LL=G.ul`\n display: flex;\n gap: 0;\n width: 100%;\n overflow-x: auto;\n padding: 8px 12px 16px 12px;\n margin: 0;\n list-style: none;\n flex-wrap: nowrap;\n\n &&::-webkit-scrollbar {\n display: none;\n }\n -ms-overflow-style: none;\n scrollbar-width: none;\n\n > li {\n display: flex;\n flex: 1;\n min-width: 78px;\n height: fit-content;\n }\n\n > li > button {\n width: 100%;\n }\n`,jL=G.button`\n position: relative;\n cursor: pointer;\n border: none;\n background-color: unset;\n padding: 8px 4px;\n min-width: 78px;\n display: flex;\n flex-direction: column;\n align-items: center;\n\n transition: transform 0.125s ease-in-out;\n\n ${bh} {\n &:hover {\n transform: scale(1.04);\n }\n }\n\n &:active {\n transform: scale(0.96);\n }\n\n ${yh} {\n &:active {\n transform: scale(0.92);\n }\n }\n`,qL=G(L7)`\n width: 60px;\n height: 60px;\n border-radius: ${e=>zL[e.theme.borderRadius]};\n margin-bottom: 8px;\n position: relative;\n`,HL=G(Ol)`\n position: absolute;\n right: -6px;\n bottom: -6px;\n width: 24px;\n height: 24px;\n border-radius: ${e=>DL[e.theme.borderRadius]};\n box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);\n`,VL=G($r)`\n max-width: 90px;\n font-weight: 510;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n\n ${yi(\"mobile\")} {\n max-width: 80px;\n }\n`,WL=G($r)`\n font-weight: ${e=>e.colorPrimary?\"510\":\"400\"};\n max-width: 90px;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n color: ${e=>e.colorPrimary?e.theme.colors.text.primary:e.theme.colors.text.secondary};\n\n ${yi(\"mobile\")} {\n max-width: 80px;\n }\n`,FL=Bt(\"<div>\"),N1=e=>{let t=null,n=()=>{let r=t?.querySelector(\"div\");if(r&&r.scrollWidth>r.clientWidth){let i=0,a=-.4,o=.05;for(;r.scrollWidth>r.clientWidth&&i>=a;)i-=o,r.style.letterSpacing=`${i}px`;i!==0&&(i-=o,r.style.letterSpacing=`${i}px`)}};return r7(()=>n()),Kn(()=>{n()}),p(jL,{get class(){return e.class},onClick:()=>e.onClick(),\"data-tc-wallet-item\":\"true\",get children(){return[Xe(()=>Xe(()=>typeof e.icon==\"string\")()?p(qL,{get src(){return e.icon},get badge(){return Xe(()=>!!e.badgeUrl)()&&p(HL,{get src(){return e.badgeUrl}})}}):e.icon),(()=>{var r=FL();return kl(i=>t=i,r),sr(r,p(VL,{get children(){return e.name}})),r})(),Xe(()=>Xe(()=>!!e.secondLine)()&&p(WL,{get colorPrimary(){var r;return(r=e.secondLineColorPrimary)!=null?r:!0},get children(){return e.secondLine}}))]}})},KL=G.h1`\n font-style: normal;\n font-weight: 590;\n font-size: 20px;\n line-height: 28px;\n\n text-align: center;\n\n color: ${e=>e.theme.colors.text.primary};\n\n margin-top: 0;\n margin-bottom: 0;\n\n cursor: default;\n`,bi=e=>{let[t]=Ji();return p(KL,{get class(){return e.class},\"data-tc-h1\":\"true\",get children(){var n;return Xe(()=>!!e.translationKey)()?t(e.translationKey,e.translationValues,(n=e.children)==null?void 0:n.toString()):e.children}})},$L=G.h2`\n font-style: normal;\n font-weight: 400;\n font-size: 16px;\n line-height: 22px;\n\n text-align: center;\n\n color: ${e=>e.theme.colors.text.secondary};\n\n margin-top: 0;\n margin-bottom: 32px;\n\n cursor: default;\n`,ka=e=>{let[t]=Ji();return p($L,{get class(){return e.class},\"data-tc-h2\":\"true\",get children(){var n;return Xe(()=>!!e.translationKey)()?t(e.translationKey,e.translationValues,(n=e.children)==null?void 0:n.toString()):e.children}})},ZL=G.h3`\n font-style: normal;\n font-weight: 510;\n font-size: 16px;\n line-height: 20px;\n\n color: ${e=>e.theme.colors.text.primary};\n\n margin-top: 0;\n margin-bottom: 0;\n\n cursor: default;\n`,Z1=e=>{let[t]=Ji();return p(ZL,{\"data-tc-h3\":\"true\",get class(){return e.class},get children(){var n;return Xe(()=>!!e.translationKey)()?t(e.translationKey,e.translationValues,(n=e.children)==null?void 0:n.toString()):e.children}})},YL=Bt('<svg width=24 height=24 viewBox=\"0 0 24 24\"fill=none xmlns=http://www.w3.org/2000/svg><path fill-rule=evenodd clip-rule=evenodd d=\"M14.1839 17.7069C13.6405 18.6507 13.3688 19.1226 13.0591 19.348C12.4278 19.8074 11.5723 19.8074 10.941 19.348C10.6312 19.1226 10.3595 18.6507 9.81613 17.7069L5.52066 10.2464C4.76864 8.94024 4.39263 8.28717 4.33762 7.75894C4.2255 6.68236 4.81894 5.65591 5.80788 5.21589C6.29309 5 7.04667 5 8.55383 5H15.4462C16.9534 5 17.7069 5 18.1922 5.21589C19.1811 5.65591 19.7745 6.68236 19.6624 7.75894C19.6074 8.28717 19.2314 8.94024 18.4794 10.2464L14.1839 17.7069ZM11.1 16.3412L6.56139 8.48002C6.31995 8.06185 6.19924 7.85276 6.18146 7.68365C6.14523 7.33896 6.33507 7.01015 6.65169 6.86919C6.80703 6.80002 7.04847 6.80002 7.53133 6.80002H7.53134L11.1 6.80002V16.3412ZM12.9 16.3412L17.4387 8.48002C17.6801 8.06185 17.8008 7.85276 17.8186 7.68365C17.8548 7.33896 17.665 7.01015 17.3484 6.86919C17.193 6.80002 16.9516 6.80002 16.4687 6.80002L12.9 6.80002V16.3412Z\">'),GL=e=>{let t=pn(),n=()=>e.fill||t.colors.icon.primary;return(()=>{var r=YL(),i=r.firstChild;return kt(()=>$e(i,\"fill\",n())),r})()},QL=Bt('<svg xmlns=http://www.w3.org/2000/svg width=16 height=16 viewBox=\"0 0 16 16\"fill=none><g clip-path=url(#clip0_3783_2045)><circle cx=8 cy=8.00098 r=8></circle><path d=\"M4.75 8.50098L7 10.751L11.75 6.00098\"stroke-width=1.5 stroke-linecap=round stroke-linejoin=round></path></g><defs><clipPath id=clip0_3783_2045><rect width=16 height=16 fill=white transform=\"translate(0 0.000976562)\">'),XL=Bt('<svg width=24 height=24 viewBox=\"0 0 24 24\"fill=none xmlns=http://www.w3.org/2000/svg><circle cx=12 cy=12 r=11></circle><path d=\"M17.1364 9.6364C17.4879 9.28493 17.4879 8.71508 17.1364 8.36361C16.7849 8.01214 16.2151 8.01214 15.8636 8.36361L10 14.2272L8.1364 12.3636C7.78493 12.0121 7.21508 12.0121 6.86361 12.3636C6.51214 12.7151 6.51214 13.2849 6.86361 13.6364L9.36361 16.1364C9.71508 16.4879 10.2849 16.4879 10.6364 16.1364L17.1364 9.6364Z\">'),JL=Bt('<svg width=72 height=72 viewBox=\"0 0 72 72\"fill=none xmlns=http://www.w3.org/2000/svg><circle cx=36 cy=36 r=33></circle><path d=\"M50.9142 28.4142C51.6953 27.6332 51.6953 26.3668 50.9142 25.5858C50.1332 24.8047 48.8668 24.8047 48.0858 25.5858L30 43.6716L23.9142 37.5858C23.1332 36.8047 21.8668 36.8047 21.0858 37.5858C20.3047 38.3668 20.3047 39.6332 21.0858 40.4142L28.5858 47.9142C29.3668 48.6953 30.6332 48.6953 31.4142 47.9142L50.9142 28.4142Z\">'),Y1=e=>{let t=pn(),n=()=>e.size||\"s\",r=()=>e.fill||t.colors.icon.success;return Xe(()=>Xe(()=>n()===\"xs\")()?(()=>{var i=QL(),a=i.firstChild,o=a.firstChild,s=o.nextSibling;return kt(l=>{var c=e.class,u=r(),d=t.colors.constant.white;return c!==l.e&&$e(i,\"class\",l.e=c),u!==l.t&&$e(o,\"fill\",l.t=u),d!==l.a&&$e(s,\"stroke\",l.a=d),l},{e:void 0,t:void 0,a:void 0}),i})():Xe(()=>n()===\"s\")()?(()=>{var i=XL(),a=i.firstChild,o=a.nextSibling;return kt(s=>{var l=e.class,c=r(),u=t.colors.constant.white;return l!==s.e&&$e(i,\"class\",s.e=l),c!==s.t&&$e(a,\"fill\",s.t=c),u!==s.a&&$e(o,\"fill\",s.a=u),s},{e:void 0,t:void 0,a:void 0}),i})():(()=>{var i=JL(),a=i.firstChild,o=a.nextSibling;return kt(s=>{var l=e.class,c=r(),u=t.colors.constant.white;return l!==s.e&&$e(i,\"class\",s.e=l),c!==s.t&&$e(a,\"fill\",s.t=c),u!==s.a&&$e(o,\"fill\",s.a=u),s},{e:void 0,t:void 0,a:void 0}),i})())},ej=Bt('<svg width=72 height=72 viewBox=\"0 0 72 72\"fill=none xmlns=http://www.w3.org/2000/svg><circle cx=36 cy=36 r=33></circle><path d=\"M24.0858 26.9142C23.3047 26.1332 23.3047 24.8668 24.0858 24.0858C24.8668 23.3047 26.1332 23.3047 26.9142 24.0858L36 33.1716L45.0858 24.0858C45.8668 23.3047 47.1332 23.3047 47.9142 24.0858C48.6953 24.8668 48.6953 26.1332 47.9142 26.9142L38.8284 36L47.9142 45.0858C48.6953 45.8668 48.6953 47.1332 47.9142 47.9142C47.1332 48.6953 45.8668 48.6953 45.0858 47.9142L36 38.8284L26.9142 47.9142C26.1332 48.6953 24.8668 48.6953 24.0858 47.9142C23.3047 47.1332 23.3047 45.8668 24.0858 45.0858L33.1716 36L24.0858 26.9142Z\">'),tj=Bt('<svg xmlns=http://www.w3.org/2000/svg width=48 height=48 viewBox=\"0 0 48 48\"fill=none><circle cx=24 cy=24.001 r=22></circle><path d=\"M24 24.001L31.5 16.501M24 24.001L16.5 16.501M24 24.001L16.5 31.501M24 24.001L31.5 31.501\"stroke-width=3 stroke-linecap=round stroke-linejoin=round>'),nj=Bt('<svg width=24 height=24 viewBox=\"0 0 24 24\"fill=none xmlns=http://www.w3.org/2000/svg><circle cx=12 cy=12 r=11></circle><path d=\"M7.86361 9.1364C7.51214 8.78493 7.51214 8.21508 7.86361 7.86361C8.21508 7.51214 8.78493 7.51214 9.1364 7.86361L12 10.7272L14.8636 7.86361C15.2151 7.51214 15.7849 7.51214 16.1364 7.86361C16.4879 8.21508 16.4879 8.78493 16.1364 9.1364L13.2728 12L16.1364 14.8636C16.4879 15.2151 16.4879 15.7849 16.1364 16.1364C15.7849 16.4879 15.2151 16.4879 14.8636 16.1364L12 13.2728L9.1364 16.1364C8.78493 16.4879 8.21508 16.4879 7.86361 16.1364C7.51214 15.7849 7.51214 15.2151 7.86361 14.8636L10.7272 12L7.86361 9.1364Z\">'),_s=e=>{let t=pn(),n=()=>e.size||\"m\",r=()=>e.fill||t.colors.icon.error;return Xe(()=>Xe(()=>n()===\"m\")()?(()=>{var i=ej(),a=i.firstChild,o=a.nextSibling;return kt(s=>{var l=e.class,c=r(),u=t.colors.constant.white;return l!==s.e&&$e(i,\"class\",s.e=l),c!==s.t&&$e(a,\"fill\",s.t=c),u!==s.a&&$e(o,\"fill\",s.a=u),s},{e:void 0,t:void 0,a:void 0}),i})():Xe(()=>n()===\"s\")()?(()=>{var i=tj(),a=i.firstChild,o=a.nextSibling;return kt(s=>{var l=e.class,c=r(),u=t.colors.constant.white;return l!==s.e&&$e(i,\"class\",s.e=l),c!==s.t&&$e(a,\"fill\",s.t=c),u!==s.a&&$e(o,\"stroke\",s.a=u),s},{e:void 0,t:void 0,a:void 0}),i})():(()=>{var i=nj(),a=i.firstChild,o=a.nextSibling;return kt(s=>{var l=e.class,c=r(),u=t.colors.constant.white;return l!==s.e&&$e(i,\"class\",s.e=l),c!==s.t&&$e(a,\"fill\",s.t=c),u!==s.a&&$e(o,\"fill\",s.a=u),s},{e:void 0,t:void 0,a:void 0}),i})())},rj=Bt('<svg width=24 height=24 viewBox=\"0 0 24 24\"fill=none xmlns=http://www.w3.org/2000/svg><path d=\"M15.55 5.85123C18.9459 7.81184 20.1094 12.1541 18.1488 15.55C16.1882 18.9459 11.8459 20.1094 8.44998 18.1488C8.01952 17.9003 7.46909 18.0478 7.22056 18.4782C6.97203 18.9087 7.11952 19.4591 7.54998 19.7076C11.8068 22.1653 17.2499 20.7068 19.7076 16.45C22.1653 12.1932 20.7068 6.75005 16.45 4.29239C12.1932 1.83472 6.75003 3.29321 4.29236 7.55001C4.04383 7.98047 4.19132 8.53091 4.62178 8.77943C5.05224 9.02796 5.60268 8.88048 5.8512 8.45001C7.81181 5.05413 12.1541 3.89062 15.55 5.85123Z\">'),ij=Bt('<svg xmlns=http://www.w3.org/2000/svg width=44 height=44 viewBox=\"0 0 44 44\"fill=none><path fill-rule=evenodd clip-rule=evenodd d=\"M22 2.99951C11.5066 2.99951 3 11.5061 3 21.9995C3 32.4929 11.5066 40.9995 22 40.9995C22.8284 40.9995 23.5 41.6711 23.5 42.4995C23.5 43.3279 22.8284 43.9995 22 43.9995C9.84974 43.9995 0 34.1498 0 21.9995C0 9.84925 9.84974 -0.000488281 22 -0.000488281C34.1503 -0.000488281 44 9.84925 44 21.9995C44 22.8279 43.3284 23.4995 42.5 23.4995C41.6716 23.4995 41 22.8279 41 21.9995C41 11.5061 32.4934 2.99951 22 2.99951Z\">'),aj=Bt('<svg width=72 height=72 viewBox=\"0 0 72 72\"fill=none xmlns=http://www.w3.org/2000/svg><path d=\"M24 56.7846C35.479 63.412 50.1572 59.479 56.7846 47.9999C63.412 36.5209 59.479 21.8427 48 15.2153C36.521 8.58791 21.8428 12.5209 15.2154 23.9999\"stroke-width=4 stroke-linecap=round stroke-linejoin=round>'),Ba=e=>{let t=pn(),n=()=>e.size||\"xs\",r=()=>e.fill||t.colors.icon.tertiary,i=Fz`\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n `,a=So`\n animation: ${i} 1s linear infinite;\n `;return Xe(()=>Xe(()=>n()===\"xs\")()?(()=>{var o=rj(),s=o.firstChild;return kt(l=>{var c=(0,lh.default)(a,e.class),u=r();return c!==l.e&&$e(o,\"class\",l.e=c),u!==l.t&&$e(s,\"fill\",l.t=u),l},{e:void 0,t:void 0}),o})():Xe(()=>n()===\"s\")()?(()=>{var o=ij(),s=o.firstChild;return kt(l=>{var c=(0,lh.default)(a,e.class),u=r();return c!==l.e&&$e(o,\"class\",l.e=c),u!==l.t&&$e(s,\"fill\",l.t=u),l},{e:void 0,t:void 0}),o})():(()=>{var o=aj(),s=o.firstChild;return kt(l=>{var c=(0,lh.default)(a,e.class),u=r();return c!==l.e&&$e(o,\"class\",l.e=c),u!==l.t&&$e(s,\"stroke\",l.t=u),l},{e:void 0,t:void 0}),o})())},oj=Bt('<svg width=158 height=28 viewBox=\"0 0 158 28\"fill=none xmlns=http://www.w3.org/2000/svg><path fill-rule=evenodd clip-rule=evenodd d=\"M28 14.001C28 21.733 21.732 28.001 14 28.001C6.26801 28.001 0 21.733 0 14.001C0 6.26899 6.26801 0.000976562 14 0.000976562C21.732 0.000976562 28 6.26899 28 14.001ZM9.21931 8.00098H18.7801H18.7813C20.538 8.00098 21.6522 9.89966 20.7691 11.4302L14.8672 21.6576C14.4822 22.3254 13.5172 22.3254 13.1322 21.6576L7.23158 11.4302C6.34721 9.89726 7.4614 8.00098 9.21931 8.00098ZM13.1262 18.5882V9.74806H9.21811C8.78976 9.74806 8.53708 10.2029 8.74163 10.5578L11.8423 16.1035L13.1262 18.5882ZM16.1559 16.1047L19.2554 10.5566C19.4599 10.2017 19.2073 9.74685 18.7789 9.74685H14.8709V18.5906L16.1559 16.1047Z\"fill=#0098EA></path><path d=\"M18.7802 8.00098H9.21936C7.46145 8.00098 6.34727 9.89726 7.23164 11.4302L13.1322 21.6576C13.5173 22.3254 14.4823 22.3254 14.8673 21.6576L20.7691 11.4302C21.6523 9.89966 20.5381 8.00098 18.7814 8.00098H18.7802ZM13.1274 18.5906L11.8424 16.1035L8.74168 10.5578C8.53714 10.2029 8.78981 9.74806 9.21816 9.74806H13.1262V18.5918L13.1274 18.5906ZM19.2555 10.5566L16.156 16.1047L14.8709 18.5906V9.74685H18.779C19.2073 9.74685 19.46 10.2017 19.2555 10.5566Z\"fill=white></path><path fill-rule=evenodd clip-rule=evenodd d=\"M51.7483 22.1967C55.7182 22.1967 58.9609 18.954 58.9609 14.9841C58.9609 11.0142 55.7182 7.77148 51.7483 7.77148C47.7588 7.77148 44.5357 11.0142 44.5357 14.9841C44.5357 18.954 47.7588 22.1967 51.7483 22.1967ZM51.7483 19.1702C49.4686 19.1702 47.6802 17.2442 47.6802 14.9841C47.6802 12.724 49.4686 10.798 51.7483 10.798C54.0084 10.798 55.7968 12.724 55.7968 14.9841C55.7968 17.2442 54.0084 19.1702 51.7483 19.1702ZM37.0698 21.9609H40.2142V10.9946H44.2843V8.00732H33V10.9946H37.0698V21.9609ZM69.9379 8.00732H73.0823V21.9609H70.3899L63.59 13.3333V21.9609H60.4652V8.00732H63.1576L69.9379 16.6153V8.00732ZM79.2259 14.9887C79.2259 10.9202 82.351 7.77539 86.4982 7.77539C89.8592 7.77539 92.5519 9.95709 93.2202 12.6891H90.7437C90.154 11.0971 88.4637 9.9964 86.4982 9.9964C83.5893 9.9964 81.5452 12.1781 81.5452 14.9887C81.5452 17.7994 83.5893 19.9811 86.4982 19.9811C88.4637 19.9811 90.154 18.8804 90.7437 17.2884H93.2202C92.5519 20.0204 89.8592 22.2021 86.4982 22.2021C82.351 22.2021 79.2259 19.0573 79.2259 14.9887ZM104.584 17.0525C104.584 19.9025 102.343 22.1628 99.4342 22.1628C96.5253 22.1628 94.2846 19.9025 94.2846 17.0525C94.2846 14.2025 96.5253 11.9422 99.4342 11.9422C102.343 11.9422 104.584 14.2025 104.584 17.0525ZM96.4663 17.0525C96.4663 18.8018 97.6849 20.158 99.4342 20.158C101.164 20.158 102.382 18.8018 102.382 17.0525C102.382 15.3032 101.164 13.947 99.4342 13.947C97.6849 13.947 96.4663 15.3032 96.4663 17.0525ZM108.626 12.1388H106.463V21.9662H108.626V17.1311C108.626 15.0281 109.726 13.9077 111.161 13.9077C112.419 13.9077 113.205 14.8512 113.205 16.4039V21.9662H115.367V16.0501C115.367 13.5539 113.893 11.9422 111.613 11.9422C110.335 11.9422 109.215 12.4926 108.626 13.4753V12.1388ZM117.839 12.1388H120.001V13.4753C120.59 12.4926 121.711 11.9422 122.988 11.9422C125.268 11.9422 126.742 13.5539 126.742 16.0501V21.9662H124.58V16.4039C124.58 14.8512 123.794 13.9077 122.536 13.9077C121.101 13.9077 120.001 15.0281 120.001 17.1311V21.9662H117.839V12.1388ZM133.558 22.1628C136.054 22.1628 137.823 20.728 138.373 18.8804H136.113C135.661 19.8238 134.717 20.2563 133.636 20.2563C131.887 20.2563 130.747 19.077 130.668 17.5832H138.491C138.688 14.2419 136.585 11.9422 133.577 11.9422C130.551 11.9422 128.526 14.1436 128.526 17.0525C128.526 20.0007 130.629 22.1628 133.558 22.1628ZM130.747 16.0501C131.042 14.5367 132.162 13.7505 133.518 13.7505C134.717 13.7505 135.838 14.4581 136.172 16.0501H130.747ZM149.851 18.3694C149.32 20.5511 147.453 22.1628 144.859 22.1628C141.871 22.1628 139.709 19.8828 139.709 17.0525C139.709 14.2222 141.871 11.9422 144.859 11.9422C147.453 11.9422 149.32 13.5539 149.851 15.7356H147.571C147.178 14.6743 146.215 13.9077 144.859 13.9077C143.109 13.9077 141.91 15.2246 141.91 17.0525C141.91 18.8804 143.109 20.1973 144.859 20.1973C146.215 20.1973 147.178 19.4307 147.571 18.3694H149.851ZM155.75 22.0645C156.418 22.0645 156.929 21.9859 157.362 21.8483V19.9221C157.047 20.0401 156.615 20.1187 156.202 20.1187C155.082 20.1187 154.551 19.6666 154.551 18.448V14.065H157.362V12.1388H154.551V9.40675H152.389V12.1388H150.345V14.065H152.389V18.8018C152.389 21.0228 153.863 22.0645 155.75 22.0645Z\">'),sj=()=>{let e=pn(),t=()=>e.theme===In.DARK?e.colors.constant.white:e.colors.constant.black;return(()=>{var n=oj(),r=n.firstChild,i=r.nextSibling,a=i.nextSibling;return kt(()=>$e(a,\"fill\",t())),n})()},lj=Bt('<svg xmlns=http://www.w3.org/2000/svg width=16 height=16 viewBox=\"0 0 16 16\"fill=none><path fill-rule=evenodd clip-rule=evenodd d=\"M5.56608 4.42584C5.82527 3.32158 6.8176 2.5 8.00001 2.5C9.38072 2.5 10.5 3.61929 10.5 5C10.5 5.63026 10.3391 6.0386 10.1264 6.34455C9.90018 6.66993 9.58561 6.92478 9.18864 7.20877C9.12579 7.25372 9.05873 7.30025 8.9887 7.34883C8.27392 7.84472 7.25001 8.55507 7.25001 10V10.25C7.25001 10.6642 7.5858 11 8.00001 11C8.41422 11 8.75001 10.6642 8.75001 10.25V10C8.75001 9.36502 9.10777 9.1096 9.94554 8.51149L10.0614 8.42873C10.4769 8.13147 10.9748 7.75194 11.358 7.20076C11.7547 6.63015 12 5.91973 12 5C12 2.79086 10.2091 1 8.00001 1C6.10564 1 4.5205 2.31615 4.10577 4.08308C4.01112 4.48634 4.26129 4.88997 4.66454 4.98462C5.0678 5.07927 5.47143 4.8291 5.56608 4.42584ZM8.00001 15C8.60752 15 9.10001 14.5075 9.10001 13.9C9.10001 13.2925 8.60752 12.8 8.00001 12.8C7.39249 12.8 6.90001 13.2925 6.90001 13.9C6.90001 14.5075 7.39249 15 8.00001 15Z\">'),cj=e=>{let t=pn(),n=()=>e.fill||t.colors.icon.secondary;return(()=>{var r=lj(),i=r.firstChild;return kt(()=>$e(i,\"fill\",n())),r})()},uj=Bt('<svg xmlns=http://www.w3.org/2000/svg width=16 height=16 viewBox=\"0 0 16 16\"fill=none><path fill-rule=evenodd clip-rule=evenodd d=\"M9.98156 8.75C9.84854 11.4328 9.01206 13.5 8 13.5C6.98794 13.5 6.15146 11.4328 6.01844 8.75H9.98156ZM11.4832 8.75C11.4217 10.1155 11.1929 11.3869 10.8239 12.4017C10.7734 12.5405 10.7188 12.6789 10.6595 12.8154C12.1454 11.993 13.2103 10.5029 13.4493 8.75H11.4832ZM13.4493 7.25H11.4832C11.4217 5.88453 11.1929 4.61314 10.8239 3.5983C10.7734 3.4595 10.7188 3.32111 10.6595 3.18459C12.1454 4.00697 13.2103 5.49709 13.4493 7.25ZM9.98156 7.25H6.01844C6.15144 4.56764 6.98769 2.50062 7.99955 2.5H8C9.01206 2.5 9.84854 4.56724 9.98156 7.25ZM4.51678 7.25C4.57826 5.88453 4.80706 4.61314 5.1761 3.5983C5.22657 3.4595 5.28124 3.32111 5.3405 3.18459C3.85463 4.00697 2.78972 5.49709 2.55071 7.25H4.51678ZM2.55071 8.75C2.78972 10.5029 3.85463 11.993 5.3405 12.8154C5.28124 12.6789 5.22657 12.5405 5.1761 12.4017C4.80706 11.3869 4.57826 10.1155 4.51678 8.75H2.55071ZM15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8Z\">'),dj=e=>{let t=pn(),n=()=>e.fill||t.colors.icon.primary;return(()=>{var r=uj(),i=r.firstChild;return kt(()=>$e(i,\"fill\",n())),r})()},fj=Bt('<svg xmlns=http://www.w3.org/2000/svg width=16 height=16 viewBox=\"0 0 16 16\"fill=none><path fill-rule=evenodd clip-rule=evenodd d=\"M2.5 4.8C2.5 3.11984 2.5 2.27976 2.82698 1.63803C3.1146 1.07354 3.57354 0.614601 4.13803 0.32698C4.77976 0 5.61984 0 7.3 0H8.7C10.3802 0 11.2202 0 11.862 0.32698C12.4265 0.614601 12.8854 1.07354 13.173 1.63803C13.5 2.27976 13.5 3.11984 13.5 4.8V11.2C13.5 12.8802 13.5 13.7202 13.173 14.362C12.8854 14.9265 12.4265 15.3854 11.862 15.673C11.2202 16 10.3802 16 8.7 16H7.3C5.61984 16 4.77976 16 4.13803 15.673C3.57354 15.3854 3.1146 14.9265 2.82698 14.362C2.5 13.7202 2.5 12.8802 2.5 11.2V4.8ZM4 3.9C4 3.05992 4 2.63988 4.16349 2.31901C4.3073 2.03677 4.53677 1.8073 4.81901 1.66349C5.13988 1.5 5.55992 1.5 6.4 1.5H9.6C10.4401 1.5 10.8601 1.5 11.181 1.66349C11.4632 1.8073 11.6927 2.03677 11.8365 2.31901C12 2.63988 12 3.05992 12 3.9V12.1C12 12.9401 12 13.3601 11.8365 13.681C11.6927 13.9632 11.4632 14.1927 11.181 14.3365C10.8601 14.5 10.4401 14.5 9.6 14.5H6.4C5.55992 14.5 5.13988 14.5 4.81901 14.3365C4.53677 14.1927 4.3073 13.9632 4.16349 13.681C4 13.3601 4 12.9401 4 12.1V3.9ZM7 2.5C6.58579 2.5 6.25 2.83579 6.25 3.25C6.25 3.66421 6.58579 4 7 4H9C9.41421 4 9.75 3.66421 9.75 3.25C9.75 2.83579 9.41421 2.5 9 2.5H7Z\">'),hj=e=>{let t=pn(),n=()=>e.fill||t.colors.icon.primary;return(()=>{var r=fj(),i=r.firstChild;return kt(()=>$e(i,\"fill\",n())),r})()},gj=Bt('<svg xmlns=http://www.w3.org/2000/svg width=16 height=16 viewBox=\"0 0 16 16\"fill=none><path fill-rule=evenodd clip-rule=evenodd d=\"M1.5 6.8C1.5 5.11984 1.5 4.27976 1.82698 3.63803C2.1146 3.07354 2.57354 2.6146 3.13803 2.32698C3.77976 2 4.61984 2 6.3 2H9.7C11.3802 2 12.2202 2 12.862 2.32698C13.4265 2.6146 13.8854 3.07354 14.173 3.63803C14.5 4.27976 14.5 5.11984 14.5 6.8V11.5H15.25C15.6642 11.5 16 11.8358 16 12.25C16 12.6642 15.6642 13 15.25 13H0.75C0.335786 13 0 12.6642 0 12.25C0 11.8358 0.335786 11.5 0.75 11.5H1.5V6.8ZM3 11.5H13V5.9C13 5.05992 13 4.63988 12.8365 4.31901C12.6927 4.03677 12.4632 3.8073 12.181 3.66349C11.8601 3.5 11.4401 3.5 10.6 3.5H5.4C4.55992 3.5 4.13988 3.5 3.81901 3.66349C3.53677 3.8073 3.3073 4.03677 3.16349 4.31901C3 4.63988 3 5.05992 3 5.9V11.5Z\">'),pj=e=>{let t=pn(),n=()=>e.fill||t.colors.icon.primary;return(()=>{var r=gj(),i=r.firstChild;return kt(()=>$e(i,\"fill\",n())),r})()},mj=Bt('<svg xmlns=http://www.w3.org/2000/svg width=17 height=16 viewBox=\"0 0 17 16\"fill=none><g clip-path=url(#clip0_3676_1603)><path fill-rule=evenodd clip-rule=evenodd d=\"M15.5 1.25049C15.5 0.836275 15.1642 0.500488 14.75 0.500488C14.3358 0.500488 14 0.836275 14 1.25049V3.67012C12.7187 2.04487 10.7318 1.00049 8.5 1.00049C4.63401 1.00049 1.5 4.1345 1.5 8.00049C1.5 11.8665 4.63401 15.0005 8.5 15.0005C11.6844 15.0005 14.3703 12.8748 15.2199 9.96661C15.3361 9.56902 15.1079 9.15254 14.7103 9.03638C14.3127 8.92023 13.8962 9.14838 13.7801 9.54597C13.1123 11.8319 11 13.5005 8.5 13.5005C5.46243 13.5005 3 11.0381 3 8.00049C3 4.96292 5.46243 2.50049 8.5 2.50049C10.321 2.50049 11.9363 3.3855 12.9377 4.75049H10.5C10.0858 4.75049 9.75 5.08627 9.75 5.50049C9.75 5.9147 10.0858 6.25049 10.5 6.25049H14.75C15.1642 6.25049 15.5 5.9147 15.5 5.50049V1.25049Z\"></path></g><defs><clipPath id=clip0_3676_1603><rect width=16 height=16 fill=white transform=\"translate(0.5 0.000488281)\">'),fu=e=>{let t=pn(),n=()=>e.fill||t.colors.accent;return(()=>{var r=mj(),i=r.firstChild,a=i.firstChild;return kt(()=>$e(a,\"fill\",n())),r})()},yj=Bt('<svg xmlns=http://www.w3.org/2000/svg width=16 height=16 viewBox=\"0 0 16 16\"fill=none><path fill-rule=evenodd clip-rule=evenodd d=\"M13 4.06119V6.75053C13 7.16474 13.3358 7.50053 13.75 7.50053C14.1642 7.50053 14.5 7.16474 14.5 6.75053V2.75053L14.5 2.72807C14.5001 2.63191 14.5003 2.49627 14.4842 2.37627C14.4638 2.22503 14.4063 1.99261 14.2071 1.79342C14.0079 1.59423 13.7755 1.5367 13.6243 1.51637C13.5043 1.50023 13.3686 1.50039 13.2725 1.50051L13.25 1.50053H9.25C8.83579 1.50053 8.5 1.83631 8.5 2.25053C8.5 2.66474 8.83579 3.00053 9.25 3.00053H11.9393L7.21967 7.7202C6.92678 8.01309 6.92678 8.48796 7.21967 8.78086C7.51256 9.07375 7.98744 9.07375 8.28033 8.78086L13 4.06119ZM5.85 1.50053H5.81903H5.81899C5.21528 1.50052 4.71702 1.50051 4.31113 1.53367C3.88956 1.56812 3.50203 1.64204 3.13803 1.82751C2.57354 2.11513 2.1146 2.57407 1.82698 3.13856C1.64151 3.50256 1.56759 3.89009 1.53315 4.31166C1.49998 4.71755 1.49999 5.21581 1.5 5.81953V5.81955V5.85053V10.1505V10.1815V10.1815C1.49999 10.7852 1.49998 11.2835 1.53315 11.6894C1.56759 12.111 1.64151 12.4985 1.82698 12.8625C2.1146 13.427 2.57354 13.8859 3.13803 14.1735C3.50203 14.359 3.88956 14.4329 4.31113 14.4674C4.71702 14.5005 5.21527 14.5005 5.81897 14.5005H5.81901H5.85H10.15H10.181H10.181C10.7847 14.5005 11.283 14.5005 11.6889 14.4674C12.1104 14.4329 12.498 14.359 12.862 14.1735C13.4265 13.8859 13.8854 13.427 14.173 12.8625C14.3585 12.4985 14.4324 12.111 14.4669 11.6894C14.5 11.2835 14.5 10.7853 14.5 10.1816V10.1815V10.1505V9.75053C14.5 9.33631 14.1642 9.00053 13.75 9.00053C13.3358 9.00053 13 9.33631 13 9.75053V10.1505C13 10.793 12.9994 11.2297 12.9718 11.5672C12.945 11.8961 12.8963 12.0642 12.8365 12.1815C12.6927 12.4638 12.4632 12.6932 12.181 12.837C12.0637 12.8968 11.8955 12.9455 11.5667 12.9724C11.2292 12.9999 10.7924 13.0005 10.15 13.0005H5.85C5.20757 13.0005 4.77085 12.9999 4.43328 12.9724C4.10447 12.9455 3.93632 12.8968 3.81902 12.837C3.53677 12.6932 3.3073 12.4638 3.16349 12.1815C3.10372 12.0642 3.05503 11.8961 3.02816 11.5672C3.00058 11.2297 3 10.793 3 10.1505V5.85053C3 5.20809 3.00058 4.77137 3.02816 4.43381C3.05503 4.10499 3.10372 3.93684 3.16349 3.81954C3.3073 3.5373 3.53677 3.30783 3.81902 3.16402C3.93632 3.10425 4.10447 3.05556 4.43328 3.02869C4.77085 3.00111 5.20757 3.00053 5.85 3.00053H6.25C6.66422 3.00053 7 2.66474 7 2.25053C7 1.83631 6.66422 1.50053 6.25 1.50053H5.85Z\">'),hu=e=>{let t=pn(),n=()=>e.fill||t.colors.accent;return(()=>{var r=yj(),i=r.firstChild;return kt(()=>$e(i,\"fill\",n())),r})()},bj=Bt('<svg xmlns=http://www.w3.org/2000/svg width=17 height=16 viewBox=\"0 0 17 16\"fill=none><g clip-path=url(#clip0_3676_1274)><path fill-rule=evenodd clip-rule=evenodd d=\"M1.82698 2.63901C1.5 3.28074 1.5 4.12082 1.5 5.80098V8.80098V9.00098V10.201C1.5 11.8811 1.5 12.7212 1.82698 13.3629C2.1146 13.9274 2.57354 14.3864 3.13803 14.674C3.77976 15.001 4.61984 15.001 6.3 15.001H11.7C13.3802 15.001 14.2202 15.001 14.862 14.674C15.4265 14.3864 15.8854 13.9274 16.173 13.3629C16.5 12.7212 16.5 11.8811 16.5 10.201V8.80098C16.5 7.12082 16.5 6.28074 16.173 5.63901C15.8854 5.07452 15.4265 4.61558 14.862 4.32796C14.743 4.26733 14.6172 4.21795 14.4805 4.17772C14.4501 3.49449 14.3722 3.02994 14.173 2.63901C13.8854 2.07452 13.4265 1.61558 12.862 1.32796C12.2202 1.00098 11.3802 1.00098 9.7 1.00098H6.3C4.61984 1.00098 3.77976 1.00098 3.13803 1.32796C2.57354 1.61558 2.1146 2.07452 1.82698 2.63901ZM12.9861 4.00942C12.9684 3.7108 12.9281 3.49982 12.8365 3.31999C12.6927 3.03775 12.4632 2.80828 12.181 2.66447C11.8601 2.50098 11.4401 2.50098 10.6 2.50098H5.4C4.55992 2.50098 4.13988 2.50098 3.81901 2.66447C3.53677 2.80828 3.3073 3.03775 3.16349 3.31999C3.03615 3.56991 3.00799 3.88 3.00177 4.40188C3.04646 4.37612 3.09189 4.35146 3.13803 4.32796C3.77976 4.00098 4.61984 4.00098 6.3 4.00098H11.7C12.1966 4.00098 12.6197 4.00098 12.9861 4.00942ZM3 7.90098V8.10098C3 8.47468 3 8.76527 3.01439 9.00098H3V11.101C3 11.9411 3 12.3611 3.16349 12.682C3.3073 12.9642 3.53677 13.1937 3.81901 13.3375C4.13988 13.501 4.55992 13.501 5.4 13.501H12.6C13.4401 13.501 13.8601 13.501 14.181 13.3375C14.4632 13.1937 14.6927 12.9642 14.8365 12.682C15 12.3611 15 11.9411 15 11.101V7.90098C15 7.0609 15 6.64086 14.8365 6.31999C14.6927 6.03775 14.4632 5.80828 14.181 5.66447C13.8601 5.50098 13.4401 5.50098 12.6 5.50098H5.4C4.55992 5.50098 4.13988 5.50098 3.81901 5.66447C3.53677 5.80828 3.3073 6.03775 3.16349 6.31999C3 6.64086 3 7.0609 3 7.90098ZM10.5 9.75098C10.5 9.33676 10.8358 9.00098 11.25 9.00098H12.75C13.1642 9.00098 13.5 9.33676 13.5 9.75098C13.5 10.1652 13.1642 10.501 12.75 10.501H11.25C10.8358 10.501 10.5 10.1652 10.5 9.75098Z\"></path></g><defs><clipPath id=clip0_3676_1274><rect width=16 height=16 fill=white transform=\"translate(0.5 0.000976562)\">'),vj=e=>{let t=pn(),n=()=>e.fill||t.colors.accent;return(()=>{var r=bj(),i=r.firstChild,a=i.firstChild;return kt(()=>$e(a,\"fill\",n())),r})()},wj=Bt('<svg xmlns=http://www.w3.org/2000/svg width=48 height=48 viewBox=\"0 0 48 48\"fill=none><path fill-rule=evenodd clip-rule=evenodd d=\"M39.6319 16.8719C38.3212 16.2041 36.7002 16.0478 34 16.0112V11C34 5.47715 29.5228 1 24 1C18.4772 1 14 5.47715 14 11V16.0112C11.2998 16.0478 9.6788 16.2041 8.36808 16.8719C6.86278 17.6389 5.63893 18.8628 4.87195 20.3681C4 22.0794 4 24.3196 4 28.8V32.2C4 36.6804 4 38.9206 4.87195 40.6319C5.63893 42.1372 6.86278 43.3611 8.36808 44.1281C10.0794 45 12.3196 45 16.8 45H31.2C35.6804 45 37.9206 45 39.6319 44.1281C41.1372 43.3611 42.3611 42.1372 43.1281 40.6319C44 38.9206 44 36.6804 44 32.2V28.8C44 24.3196 44 22.0794 43.1281 20.3681C42.3611 18.8628 41.1372 17.6389 39.6319 16.8719ZM31 11V16H17V11C17 7.13401 20.134 4 24 4C27.866 4 31 7.13401 31 11ZM7.54497 21.73C7 22.7996 7 24.1997 7 27V34C7 36.8003 7 38.2004 7.54497 39.27C8.02433 40.2108 8.78924 40.9757 9.73005 41.455C10.7996 42 12.1997 42 15 42H33C35.8003 42 37.2004 42 38.27 41.455C39.2108 40.9757 39.9757 40.2108 40.455 39.27C41 38.2004 41 36.8003 41 34V27C41 24.1997 41 22.7996 40.455 21.73C39.9757 20.7892 39.2108 20.0243 38.27 19.545C37.2004 19 35.8003 19 33 19H15C12.1997 19 10.7996 19 9.73005 19.545C8.78924 20.0243 8.02433 20.7892 7.54497 21.73ZM24 24C23.1716 24 22.5 24.6716 22.5 25.5V29.5C22.5 30.3284 23.1716 31 24 31C24.8284 31 25.5 30.3284 25.5 29.5V25.5C25.5 24.6716 24.8284 24 24 24Z\">'),xj=e=>{let t=pn(),n=()=>e.fill||t.colors.icon.secondary;return(()=>{var r=wj(),i=r.firstChild;return kt(a=>{var o=e.class,s=n();return o!==a.e&&$e(r,\"class\",a.e=o),s!==a.t&&$e(i,\"fill\",a.t=s),a},{e:void 0,t:void 0}),r})()},Cj=Bt('<svg xmlns=http://www.w3.org/2000/svg width=48 height=48 viewBox=\"0 0 48 48\"fill=none><path fill-rule=evenodd clip-rule=evenodd d=\"M37.485 37.3849C40.894 33.9506 43 29.2212 43 24C43 13.5066 34.4934 5 24 5C13.5066 5 5 13.5066 5 24C5 29.2213 7.1061 33.9507 10.5151 37.385C13.3583 32.9438 18.3354 30 24.0001 30C29.6647 30 34.6418 32.9437 37.485 37.3849ZM35.1809 39.3635C32.9143 35.5532 28.7554 33 24.0001 33C19.2448 33 15.0858 35.5533 12.8193 39.3636C15.9564 41.6506 19.8206 43 24 43C28.1795 43 32.0437 41.6505 35.1809 39.3635ZM24 46C36.1503 46 46 36.1503 46 24C46 11.8497 36.1503 2 24 2C11.8497 2 2 11.8497 2 24C2 36.1503 11.8497 46 24 46ZM24 24C26.7614 24 29 21.7614 29 19C29 16.2386 26.7614 14 24 14C21.2386 14 19 16.2386 19 19C19 21.7614 21.2386 24 24 24ZM24 27C28.4183 27 32 23.4183 32 19C32 14.5817 28.4183 11 24 11C19.5817 11 16 14.5817 16 19C16 23.4183 19.5817 27 24 27Z\">'),Sj=e=>{let t=pn(),n=()=>e.fill||t.colors.icon.secondary;return(()=>{var r=Cj(),i=r.firstChild;return kt(a=>{var o=e.class,s=n();return o!==a.e&&$e(r,\"class\",a.e=o),s!==a.t&&$e(i,\"fill\",a.t=s),a},{e:void 0,t:void 0}),r})()},_j=Bt('<svg xmlns=http://www.w3.org/2000/svg width=48 height=48 viewBox=\"0 0 48 48\"fill=none><path fill-rule=evenodd clip-rule=evenodd d=\"M34.5607 4.43934C33.9749 3.85355 33.0251 3.85355 32.4393 4.43934C31.8536 5.02513 31.8536 5.97487 32.4393 6.56066L37.8787 12H10.5C9.67157 12 9 12.6716 9 13.5C9 14.3284 9.67157 15 10.5 15H37.8787L32.4393 20.4393C31.8536 21.0251 31.8536 21.9749 32.4393 22.5607C33.0251 23.1464 33.9749 23.1464 34.5607 22.5607L42.5607 14.5607C43.1464 13.9749 43.1464 13.0251 42.5607 12.4393L34.5607 4.43934ZM13.4393 25.4393C14.0251 24.8536 14.9749 24.8536 15.5607 25.4393C16.1464 26.0251 16.1464 26.9749 15.5607 27.5607L10.1213 33H37.5C38.3284 33 39 33.6716 39 34.5C39 35.3284 38.3284 36 37.5 36H10.1213L15.5607 41.4393C16.1464 42.0251 16.1464 42.9749 15.5607 43.5607C14.9749 44.1464 14.0251 44.1464 13.4393 43.5607L5.43934 35.5607C4.85355 34.9749 4.85355 34.0251 5.43934 33.4393L13.4393 25.4393Z\">'),Tj=e=>{let t=pn(),n=()=>e.fill||t.colors.icon.secondary;return(()=>{var r=_j(),i=r.firstChild;return kt(a=>{var o=e.class,s=n();return o!==a.e&&$e(r,\"class\",a.e=o),s!==a.t&&$e(i,\"fill\",a.t=s),a},{e:void 0,t:void 0}),r})()},Ej=Bt('<svg xmlns=http://www.w3.org/2000/svg width=28 height=28 viewBox=\"0 0 28 28\"fill=none><path fill-rule=evenodd clip-rule=evenodd d=\"M1.75 12.002C1.75 9.20169 1.75 7.80156 2.29497 6.732C2.77433 5.79119 3.53924 5.02629 4.48005 4.54692C5.54961 4.00195 6.94974 4.00195 9.75 4.00195H17.25C20.0503 4.00195 21.4504 4.00195 22.52 4.54692C23.4608 5.02629 24.2257 5.79119 24.705 6.732C24.8256 6.96861 24.9195 7.2214 24.9926 7.50195H21.5C19.6377 7.50195 18.7065 7.50195 17.9609 7.77334C16.711 8.22828 15.7263 9.21291 15.2714 10.4629C15 11.2085 15 12.1396 15 14.002C15 15.8643 15 16.7954 15.2714 17.541C15.7263 18.791 16.711 19.7756 17.9609 20.2306C18.7065 20.502 19.6377 20.502 21.5 20.502H24.9926C24.9195 20.7825 24.8256 21.0353 24.705 21.2719C24.2257 22.2127 23.4608 22.9776 22.52 23.457C21.4504 24.002 20.0503 24.002 17.25 24.002H9.75C6.94974 24.002 5.54961 24.002 4.48005 23.457C3.53924 22.9776 2.77433 22.2127 2.29497 21.2719C1.75 20.2023 1.75 18.8022 1.75 16.002V12.002ZM16.4999 13.802C16.4999 12.1218 16.4999 11.2817 16.8269 10.64C17.1145 10.0755 17.5735 9.61656 18.138 9.32894C18.7797 9.00196 19.6198 9.00196 21.2999 9.00196H23.1999C24.8801 9.00196 25.7202 9.00196 26.3619 9.32894C26.9264 9.61656 27.3853 10.0755 27.673 10.64C27.9999 11.2817 27.9999 12.1218 27.9999 13.802V14.202C27.9999 15.8821 27.9999 16.7222 27.673 17.3639C27.3853 17.9284 26.9264 18.3874 26.3619 18.675C25.7202 19.002 24.8801 19.002 23.1999 19.002H21.2999C19.6198 19.002 18.7797 19.002 18.138 18.675C17.5735 18.3874 17.1145 17.9284 16.8269 17.3639C16.4999 16.7222 16.4999 15.8821 16.4999 14.202V13.802ZM22.4999 14.002C22.4999 14.9685 21.7164 15.752 20.7499 15.752C19.7834 15.752 18.9999 14.9685 18.9999 14.002C18.9999 13.0355 19.7834 12.252 20.7499 12.252C21.7164 12.252 22.4999 13.0355 22.4999 14.002Z\">'),Aj=e=>{let t=pn(),n=()=>e.fill||t.colors.constant.white;return(()=>{var r=Ej(),i=r.firstChild;return kt(a=>{var o=e.class,s=n();return o!==a.e&&$e(r,\"class\",a.e=o),s!==a.t&&$e(i,\"fill\",a.t=s),a},{e:void 0,t:void 0}),r})()},kj=Bt('<svg xmlns=http://www.w3.org/2000/svg width=28 height=28 viewBox=\"0 0 28 28\"><path fill-rule=evenodd clip-rule=evenodd d=\"M10.0001 10.0001C10.0016 8.02333 10.0267 6.98719 10.436 6.18404C10.8195 5.43139 11.4314 4.81947 12.184 4.43597C13.0397 4 14.1598 4 16.4 4H17.6C19.8402 4 20.9603 4 21.816 4.43597C22.5686 4.81947 23.1805 5.43139 23.564 6.18404C24 7.03969 24 8.15979 24 10.4V11.6C24 13.8402 24 14.9603 23.564 15.816C23.1805 16.5686 22.5686 17.1805 21.816 17.564C21.0128 17.9733 19.9767 17.9984 17.9999 17.9999C17.9984 19.9767 17.9733 21.0128 17.564 21.816C17.1805 22.5686 16.5686 23.1805 15.816 23.564C14.9603 24 13.8402 24 11.6 24H10.4C8.15979 24 7.03969 24 6.18404 23.564C5.43139 23.1805 4.81947 22.5686 4.43597 21.816C4 20.9603 4 19.8402 4 17.6V16.4C4 14.1598 4 13.0397 4.43597 12.184C4.81947 11.4314 5.43139 10.8195 6.18404 10.436C6.98719 10.0267 8.02333 10.0016 10.0001 10.0001ZM10 11.5H9.5C8.09987 11.5 7.3998 11.5 6.86502 11.7725C6.39462 12.0122 6.01217 12.3946 5.77248 12.865C5.5 13.3998 5.5 14.0999 5.5 15.5V18.5C5.5 19.9001 5.5 20.6002 5.77248 21.135C6.01217 21.6054 6.39462 21.9878 6.86502 22.2275C7.3998 22.5 8.09987 22.5 9.5 22.5H12.5C13.9001 22.5 14.6002 22.5 15.135 22.2275C15.6054 21.9878 15.9878 21.6054 16.2275 21.135C16.5 20.6002 16.5 19.9001 16.5 18.5V18H16.4C14.1598 18 13.0397 18 12.184 17.564C11.4314 17.1805 10.8195 16.5686 10.436 15.816C10 14.9603 10 13.8402 10 11.6V11.5ZM11.5 9.5C11.5 8.09987 11.5 7.3998 11.7725 6.86502C12.0122 6.39462 12.3946 6.01217 12.865 5.77248C13.3998 5.5 14.0999 5.5 15.5 5.5H18.5C19.9001 5.5 20.6002 5.5 21.135 5.77248C21.6054 6.01217 21.9878 6.39462 22.2275 6.86502C22.5 7.3998 22.5 8.09987 22.5 9.5V12.5C22.5 13.9001 22.5 14.6002 22.2275 15.135C21.9878 15.6054 21.6054 15.9878 21.135 16.2275C20.6002 16.5 19.9001 16.5 18.5 16.5H15.5C14.0999 16.5 13.3998 16.5 12.865 16.2275C12.3946 15.9878 12.0122 15.6054 11.7725 15.135C11.5 14.6002 11.5 13.9001 11.5 12.5V9.5Z\">'),Bj=e=>{let t=pn(),n=()=>e.fill||t.colors.icon.secondary;return(()=>{var r=kj(),i=r.firstChild;return kt(a=>{var o=n(),s=n();return o!==a.e&&$e(r,\"fill\",a.e=o),s!==a.t&&$e(i,\"fill\",a.t=s),a},{e:void 0,t:void 0}),r})()},Mj=Bt('<svg xmlns=http://www.w3.org/2000/svg width=16 height=17 viewBox=\"0 0 16 17\"fill=none><path fill-rule=evenodd clip-rule=evenodd d=\"M1 4.12695C1 3.07754 1 2.55284 1.19202 2.14684C1.38986 1.72856 1.7266 1.39181 2.14489 1.19397C2.55088 1.00195 3.07559 1.00195 4.125 1.00195C5.17441 1.00195 5.69912 1.00195 6.10511 1.19397C6.5234 1.39181 6.86014 1.72856 7.05798 2.14684C7.25 2.55284 7.25 3.07754 7.25 4.12695C7.25 5.17636 7.25 5.70107 7.05798 6.10706C6.86014 6.52535 6.5234 6.8621 6.10511 7.05993C5.69912 7.25195 5.17441 7.25195 4.125 7.25195C3.07559 7.25195 2.55088 7.25195 2.14489 7.05993C1.7266 6.8621 1.38986 6.52535 1.19202 6.10706C1 5.70107 1 5.17636 1 4.12695ZM2.5 3.30195C2.5 3.02193 2.5 2.88191 2.5545 2.77496C2.60243 2.68088 2.67892 2.60439 2.773 2.55645C2.87996 2.50195 3.01997 2.50195 3.3 2.50195H4.95C5.23003 2.50195 5.37004 2.50195 5.477 2.55645C5.57108 2.60439 5.64757 2.68088 5.6955 2.77496C5.75 2.88191 5.75 3.02193 5.75 3.30195V4.95195C5.75 5.23198 5.75 5.37199 5.6955 5.47895C5.64757 5.57303 5.57108 5.64952 5.477 5.69746C5.37004 5.75195 5.23003 5.75195 4.95 5.75195H3.3C3.01997 5.75195 2.87996 5.75195 2.773 5.69746C2.67892 5.64952 2.60243 5.57303 2.5545 5.47895C2.5 5.37199 2.5 5.23198 2.5 4.95195V3.30195ZM1 11.877C1 10.8275 1 10.3028 1.19202 9.89684C1.38986 9.47856 1.7266 9.14181 2.14489 8.94397C2.55088 8.75195 3.07559 8.75195 4.125 8.75195C5.17441 8.75195 5.69912 8.75195 6.10511 8.94397C6.5234 9.14181 6.86014 9.47856 7.05798 9.89684C7.25 10.3028 7.25 10.8275 7.25 11.877C7.25 12.9264 7.25 13.4511 7.05798 13.8571C6.86014 14.2753 6.5234 14.6121 6.10511 14.8099C5.69912 15.002 5.17441 15.002 4.125 15.002C3.07559 15.002 2.55088 15.002 2.14489 14.8099C1.7266 14.6121 1.38986 14.2753 1.19202 13.8571C1 13.4511 1 12.9264 1 11.877ZM2.5 11.052C2.5 10.7719 2.5 10.6319 2.5545 10.525C2.60243 10.4309 2.67892 10.3544 2.773 10.3064C2.87996 10.252 3.01997 10.252 3.3 10.252H4.95C5.23003 10.252 5.37004 10.252 5.477 10.3064C5.57108 10.3544 5.64757 10.4309 5.6955 10.525C5.75 10.6319 5.75 10.7719 5.75 11.052V12.702C5.75 12.982 5.75 13.122 5.6955 13.2289C5.64757 13.323 5.57108 13.3995 5.477 13.4475C5.37004 13.502 5.23003 13.502 4.95 13.502H3.3C3.01997 13.502 2.87996 13.502 2.773 13.4475C2.67892 13.3995 2.60243 13.323 2.5545 13.2289C2.5 13.122 2.5 12.982 2.5 12.702V11.052ZM8.94202 2.14684C8.75 2.55284 8.75 3.07754 8.75 4.12695C8.75 5.17636 8.75 5.70107 8.94202 6.10706C9.13986 6.52535 9.4766 6.8621 9.89489 7.05993C10.3009 7.25195 10.8256 7.25195 11.875 7.25195C12.9244 7.25195 13.4491 7.25195 13.8551 7.05993C14.2734 6.8621 14.6101 6.52535 14.808 6.10706C15 5.70107 15 5.17636 15 4.12695C15 3.07754 15 2.55284 14.808 2.14684C14.6101 1.72856 14.2734 1.39181 13.8551 1.19397C13.4491 1.00195 12.9244 1.00195 11.875 1.00195C10.8256 1.00195 10.3009 1.00195 9.89489 1.19397C9.4766 1.39181 9.13986 1.72856 8.94202 2.14684ZM10.3045 2.77496C10.25 2.88191 10.25 3.02193 10.25 3.30195V4.95195C10.25 5.23198 10.25 5.37199 10.3045 5.47895C10.3524 5.57303 10.4289 5.64952 10.523 5.69746C10.63 5.75195 10.77 5.75195 11.05 5.75195H12.7C12.98 5.75195 13.12 5.75195 13.227 5.69746C13.3211 5.64952 13.3976 5.57303 13.4455 5.47895C13.5 5.37199 13.5 5.23198 13.5 4.95195V3.30195C13.5 3.02193 13.5 2.88191 13.4455 2.77496C13.3976 2.68088 13.3211 2.60439 13.227 2.55645C13.12 2.50195 12.98 2.50195 12.7 2.50195H11.05C10.77 2.50195 10.63 2.50195 10.523 2.55645C10.4289 2.60439 10.3524 2.68088 10.3045 2.77496ZM8.80727 9.13518C8.75 9.26242 8.75 9.4256 8.75 9.75195C8.75 10.0783 8.75 10.2415 8.80727 10.3687C8.87245 10.5136 8.9884 10.6295 9.13323 10.6947C9.26047 10.752 9.42365 10.752 9.75 10.752C10.0764 10.752 10.2395 10.752 10.3668 10.6947C10.5116 10.6295 10.6276 10.5136 10.6927 10.3687C10.75 10.2415 10.75 10.0783 10.75 9.75195C10.75 9.4256 10.75 9.26242 10.6927 9.13518C10.6276 8.99035 10.5116 8.8744 10.3668 8.80922C10.2395 8.75195 10.0764 8.75195 9.75 8.75195C9.42365 8.75195 9.26047 8.75195 9.13323 8.80922C8.9884 8.8744 8.87245 8.99035 8.80727 9.13518ZM10.87 11.8771C10.87 11.546 10.87 11.3805 10.9289 11.2517C10.9938 11.1098 11.1077 10.9959 11.2497 10.931C11.3784 10.8721 11.5439 10.8721 11.875 10.8721C12.2061 10.8721 12.3716 10.8721 12.5003 10.931C12.6423 10.9959 12.7562 11.1098 12.8211 11.2517C12.88 11.3805 12.88 11.546 12.88 11.8771C12.88 12.2081 12.88 12.3737 12.8211 12.5024C12.7562 12.6444 12.6423 12.7583 12.5003 12.8232C12.3716 12.8821 12.2061 12.8821 11.875 12.8821C11.5439 12.8821 11.3784 12.8821 11.2497 12.8232C11.1077 12.7583 10.9938 12.6444 10.9289 12.5024C10.87 12.3737 10.87 12.2081 10.87 11.8771ZM8.80727 13.3852C8.75 13.5124 8.75 13.6756 8.75 14.002C8.75 14.3283 8.75 14.4915 8.80727 14.6187C8.87245 14.7636 8.9884 14.8795 9.13323 14.9447C9.26047 15.002 9.42365 15.002 9.75 15.002C10.0764 15.002 10.2395 15.002 10.3668 14.9447C10.5116 14.8795 10.6276 14.7636 10.6927 14.6187C10.75 14.4915 10.75 14.3283 10.75 14.002C10.75 13.6756 10.75 13.5124 10.6927 13.3852C10.6276 13.2404 10.5116 13.1244 10.3668 13.0592C10.2395 13.002 10.0764 13.002 9.75 13.002C9.42365 13.002 9.26047 13.002 9.13323 13.0592C8.9884 13.1244 8.87245 13.2404 8.80727 13.3852ZM13 9.75195C13 9.4256 13 9.26242 13.0573 9.13518C13.1224 8.99035 13.2384 8.8744 13.3832 8.80922C13.5105 8.75195 13.6736 8.75195 14 8.75195C14.3264 8.75195 14.4895 8.75195 14.6168 8.80922C14.7616 8.8744 14.8776 8.99035 14.9427 9.13518C15 9.26242 15 9.4256 15 9.75195C15 10.0783 15 10.2415 14.9427 10.3687C14.8776 10.5136 14.7616 10.6295 14.6168 10.6947C14.4895 10.752 14.3264 10.752 14 10.752C13.6736 10.752 13.5105 10.752 13.3832 10.6947C13.2384 10.6295 13.1224 10.5136 13.0573 10.3687C13 10.2415 13 10.0783 13 9.75195ZM13.0573 13.3852C13 13.5124 13 13.6756 13 14.002C13 14.3283 13 14.4915 13.0573 14.6187C13.1224 14.7636 13.2384 14.8795 13.3832 14.9447C13.5105 15.002 13.6736 15.002 14 15.002C14.3264 15.002 14.4895 15.002 14.6168 14.9447C14.7616 14.8795 14.8776 14.7636 14.9427 14.6187C15 14.4915 15 14.3283 15 14.002C15 13.6756 15 13.5124 14.9427 13.3852C14.8776 13.2404 14.7616 13.1244 14.6168 13.0592C14.4895 13.002 14.3264 13.002 14 13.002C13.6736 13.002 13.5105 13.002 13.3832 13.0592C13.2384 13.1244 13.1224 13.2404 13.0573 13.3852Z\">'),ww=e=>{let t=pn(),n=()=>e.fill||t.colors.icon.secondary;return(()=>{var r=Mj(),i=r.firstChild;return kt(()=>$e(i,\"fill\",n())),r})()},Rj={m:\"16px\",s:\"12px\",none:\"0\"},Uj={m:\"6px\",s:\"6px\",none:\"0\"},Oj=G.div`\n width: 60px;\n height: 60px;\n padding: 8px;\n margin-bottom: 8px;\n border-radius: ${e=>Rj[e.theme.borderRadius]};\n background-color: ${e=>e.theme.colors.background.tint};\n display: grid;\n grid-template: 1fr 1fr / 1fr 1fr;\n gap: 4px;\n`,Ij=G(L7)`\n width: 20px;\n height: 20px;\n border-radius: ${e=>Uj[e.theme.borderRadius]};\n`,j7=e=>p(N1,{get name(){return e.labelLine1},get secondLine(){return e.labelLine2},get icon(){return p(Oj,{get children(){return p(pu,{each:[0,1,2,3],children:t=>p(Ij,{get src(){return e.images[t]}})})}})},onClick:()=>e.onClick()}),Yi=\"telegram-wallet\",wh={TON:\"https://raw.githubusercontent.com/ton-connect/sdk/main/assets/ton-icon-48.png\",TG:\"https://raw.githubusercontent.com/ton-connect/sdk/main/assets/tg.png\"},q7=e=>{let[t]=Ji(),n=()=>{if(e.wallet.appName!==Yi){if(\"isPreferred\"in e.wallet&&e.wallet.isPreferred)return t(\"walletItem.recent\",{},\"Recent\");if(ys(e.wallet))return t(\"walletItem.installed\",{},\"Installed\");if(e.wallet.name===\"Tonkeeper\")return t(\"walletItem.popular\",{},\"Popular\")}};return Xe(()=>Xe(()=>e.wallet.appName===Yi)()?p(N1,{get icon(){return e.wallet.imageUrl},get name(){return t(\"walletItem.walletOn\",{},\"Wallet in\")},secondLine:\"Telegram\",get badgeUrl(){return wh.TG},onClick:()=>e.onClick(),get class(){return e.class}}):p(N1,{get icon(){return e.wallet.imageUrl},get name(){return e.wallet.name},get secondLine(){return n()},secondLineColorPrimary:!1,onClick:()=>e.onClick(),get class(){return e.class}}))},Nj=G.div`\n width: 100%;\n overflow-y: auto;\n max-height: ${e=>e.maxHeight};\n\n scrollbar-width: none;\n &&::-webkit-scrollbar {\n display: none;\n }\n\n &&::-webkit-scrollbar-track {\n background: transparent;\n }\n\n &&::-webkit-scrollbar-thumb {\n display: none;\n }\n`,Pj=G.div`\n height: 1px;\n margin: 0 -24px;\n width: calc(100% + 48px);\n opacity: 0.08;\n background: ${e=>e.isShown?e.theme.colors.icon.secondary:\"transparent\"};\n transition: background 0.15s ease-in-out;\n\n ${yi(\"mobile\")} {\n width: 100%;\n margin: 0;\n }\n`,[zj,Dj]=Je(((o_=Aa())==null?void 0:o_.innerHeight)||0);Aa()&&window.addEventListener(\"resize\",()=>Dj(window.innerHeight));var[vu,Lj]=Je(cu(\"mobile\")),P1=()=>Lj(cu(\"mobile\"));Aa()&&(window.addEventListener(\"resize\",()=>P1()),window.addEventListener(\"load\",()=>P1(),{once:!0}));var Pw=e=>{let[t,n]=Je(!1),r=o=>{n(o.target.scrollTop>0)},i=()=>vu()?150:200,a=()=>e.maxHeight!==void 0?`${e.maxHeight}px`:`${zj()-i()}px`;return[p(Pj,{get isShown(){return t()}}),p(Nj,{get maxHeight(){return a()},onScroll:r,get class(){return e.class},get children(){return e.children}})]},jj=G.a`\n display: block;\n text-decoration: unset;\n`,Cs=e=>p(jj,Ca({get href(){return e.href},get target(){return e.blank?\"_blank\":\"_self\"},get class(){return e.class}},()=>e.blank?{rel:\"noreferrer noopener\"}:{},{get children(){return e.children}})),Eo=V1(),qj=Bt('<svg width=24 height=24 viewBox=\"0 0 24 24\"fill=none xmlns=http://www.w3.org/2000/svg><path fill-rule=evenodd clip-rule=evenodd d=\"M7.76228 2.09998H10.2378C11.0458 2.09997 11.7067 2.09996 12.2438 2.14384C12.7997 2.18926 13.3017 2.28614 13.7706 2.52505C14.5045 2.89896 15.1011 3.49558 15.475 4.22941C15.7139 4.6983 15.8108 5.20038 15.8562 5.75629C15.9001 6.29337 15.9001 6.95422 15.9001 7.76227V8.1H16.2377C17.0457 8.09999 17.7066 8.09998 18.2437 8.14386C18.7996 8.18928 19.3017 8.28616 19.7705 8.52507C20.5044 8.89898 21.101 9.4956 21.4749 10.2294C21.7138 10.6983 21.8107 11.2004 21.8561 11.7563C21.9 12.2934 21.9 12.9542 21.9 13.7623V16.2377C21.9 17.0458 21.9 17.7066 21.8561 18.2437C21.8107 18.7996 21.7138 19.3017 21.4749 19.7706C21.101 20.5044 20.5044 21.101 19.7705 21.4749C19.3017 21.7138 18.7996 21.8107 18.2437 21.8561C17.7066 21.9 17.0458 21.9 16.2378 21.9H13.7623C12.9543 21.9 12.2934 21.9 11.7563 21.8561C11.2004 21.8107 10.6983 21.7138 10.2294 21.4749C9.49561 21.101 8.89898 20.5044 8.52508 19.7706C8.28616 19.3017 8.18928 18.7996 8.14386 18.2437C8.09998 17.7066 8.09999 17.0458 8.1 16.2377V15.9H7.76227C6.95426 15.9 6.29335 15.9 5.75629 15.8561C5.20038 15.8107 4.6983 15.7138 4.22941 15.4749C3.49558 15.101 2.89896 14.5044 2.52505 13.7705C2.28614 13.3017 2.18926 12.7996 2.14384 12.2437C2.09996 11.7066 2.09997 11.0458 2.09998 10.2377V7.76228C2.09997 6.95424 2.09996 6.29336 2.14384 5.75629C2.18926 5.20038 2.28614 4.6983 2.52505 4.22941C2.89896 3.49558 3.49558 2.89896 4.22941 2.52505C4.6983 2.28614 5.20038 2.18926 5.75629 2.14384C6.29336 2.09996 6.95425 2.09997 7.76228 2.09998ZM8.1 14.1V13.7623C8.09999 12.9542 8.09998 12.2934 8.14386 11.7563C8.18928 11.2004 8.28616 10.6983 8.52508 10.2294C8.89898 9.4956 9.49561 8.89898 10.2294 8.52507C10.6983 8.28616 11.2004 8.18928 11.7563 8.14386C12.2934 8.09998 12.9542 8.09999 13.7623 8.1H14.1001V7.79998C14.1001 6.94505 14.0994 6.35798 14.0622 5.90287C14.0259 5.45827 13.9593 5.21944 13.8712 5.0466C13.6699 4.65146 13.3486 4.3302 12.9535 4.12886C12.7806 4.04079 12.5418 3.97419 12.0972 3.93786C11.6421 3.90068 11.055 3.89998 10.2001 3.89998H7.79998C6.94505 3.89998 6.35798 3.90068 5.90287 3.93786C5.45827 3.97419 5.21944 4.04079 5.0466 4.12886C4.65146 4.3302 4.3302 4.65146 4.12886 5.0466C4.04079 5.21944 3.97419 5.45827 3.93786 5.90287C3.90068 6.35798 3.89998 6.94505 3.89998 7.79998V10.2C3.89998 11.0549 3.90068 11.642 3.93786 12.0971C3.97419 12.5417 4.04079 12.7805 4.12886 12.9534C4.3302 13.3485 4.65146 13.6698 5.0466 13.8711C5.21944 13.9592 5.45827 14.0258 5.90287 14.0621C6.35798 14.0993 6.94505 14.1 7.79998 14.1H8.1ZM11.0466 10.1289C11.2195 10.0408 11.4583 9.97421 11.9029 9.93788C12.358 9.9007 12.9451 9.9 13.8 9.9H16.2C17.0549 9.9 17.642 9.9007 18.0971 9.93788C18.5417 9.97421 18.7805 10.0408 18.9534 10.1289C19.3485 10.3302 19.6698 10.6515 19.8711 11.0466C19.9592 11.2195 20.0258 11.4583 20.0621 11.9029C20.0993 12.358 20.1 12.9451 20.1 13.8V16.2C20.1 17.0549 20.0993 17.642 20.0621 18.0971C20.0258 18.5417 19.9592 18.7805 19.8711 18.9534C19.6698 19.3485 19.3485 19.6698 18.9534 19.8711C18.7805 19.9592 18.5417 20.0258 18.0971 20.0621C17.642 20.0993 17.0549 20.1 16.2 20.1H13.8C12.9451 20.1 12.358 20.0993 11.9029 20.0621C11.4583 20.0258 11.2195 19.9592 11.0466 19.8711C10.6515 19.6698 10.3302 19.3485 10.1289 18.9534C10.0408 18.7805 9.97421 18.5417 9.93788 18.0971C9.9007 17.642 9.9 17.0549 9.9 16.2V13.8C9.9 12.9451 9.9007 12.358 9.93788 11.9029C9.97421 11.4583 10.0408 11.2195 10.1289 11.0466C10.3302 10.6515 10.6515 10.3302 11.0466 10.1289Z\">'),Hj=e=>{let t=pn(),n=()=>e.fill||t.colors.icon.primary;return(()=>{var r=qj(),i=r.firstChild;return kt(a=>{var o=e.class,s=n();return o!==a.e&&$e(r,\"class\",a.e=o),s!==a.t&&$e(i,\"fill\",a.t=s),a},{e:void 0,t:void 0}),r})()},Vj=Bt('<svg width=24 height=24 viewBox=\"0 0 24 24\"fill=none xmlns=http://www.w3.org/2000/svg><path d=\"M8.7624 3.10001C7.95435 3.1 7.29349 3.09999 6.75642 3.14387C6.2005 3.18929 5.69842 3.28617 5.22954 3.52508C4.4957 3.89899 3.89908 4.49561 3.52517 5.22944C3.28626 5.69833 3.18938 6.20041 3.14396 6.75632C3.10008 7.2934 3.10009 7.95424 3.1001 8.76229V15.2377C3.10009 16.0458 3.10008 16.7066 3.14396 17.2437C3.18938 17.7996 3.28626 18.3017 3.52517 18.7706C3.89908 19.5044 4.4957 20.101 5.22954 20.4749C5.69842 20.7138 6.2005 20.8107 6.75642 20.8561C7.29349 20.9 7.95434 20.9 8.76239 20.9H12.0001C12.4972 20.9 12.9001 20.4971 12.9001 20C12.9001 19.503 12.4972 19.1 12.0001 19.1H8.8001C7.94517 19.1 7.3581 19.0993 6.90299 19.0621C6.45839 19.0258 6.21956 18.9592 6.04672 18.8711C5.65158 18.6698 5.33032 18.3485 5.12898 17.9534C5.04092 17.7805 4.97431 17.5417 4.93798 17.0971C4.9008 16.642 4.9001 16.0549 4.9001 15.2V8.80001C4.9001 7.94508 4.9008 7.35801 4.93798 6.9029C4.97431 6.4583 5.04092 6.21947 5.12898 6.04663C5.33032 5.65149 5.65158 5.33023 6.04672 5.12889C6.21956 5.04082 6.45839 4.97422 6.90299 4.93789C7.3581 4.90071 7.94517 4.90001 8.8001 4.90001H12.0001C12.4972 4.90001 12.9001 4.49706 12.9001 4.00001C12.9001 3.50295 12.4972 3.10001 12.0001 3.10001H8.7624Z\"></path><path d=\"M17.6364 7.3636C17.2849 7.01212 16.7151 7.01212 16.3636 7.3636C16.0121 7.71507 16.0121 8.28492 16.3636 8.63639L18.8272 11.1H9.00001C8.50295 11.1 8.10001 11.5029 8.10001 12C8.10001 12.497 8.50295 12.9 9.00001 12.9H18.8272L16.3636 15.3636C16.0121 15.7151 16.0121 16.2849 16.3636 16.6364C16.7151 16.9879 17.2849 16.9879 17.6364 16.6364L21.6364 12.6364C21.9879 12.2849 21.9879 11.7151 21.6364 11.3636L17.6364 7.3636Z\">'),Wj=e=>{let t=pn(),n=()=>e.fill||t.colors.icon.primary;return(()=>{var r=Vj(),i=r.firstChild,a=i.nextSibling;return kt(o=>{var s=n(),l=n();return s!==o.e&&$e(i,\"fill\",o.e=s),l!==o.t&&$e(a,\"fill\",o.t=l),o},{e:void 0,t:void 0}),r})()},Fj={m:\"8px\",s:\"4px\",none:\"0\"},Kj={m:\"16px\",s:\"8px\",none:\"0\"},$j=G.div`\n width: 256px;\n box-shadow: 0 4px 24px rgba(0, 0, 0, 0.16);\n border-radius: ${e=>Kj[e.theme.borderRadius]};\n\n background-color: ${e=>e.theme.colors.background.primary}\n \n color: ${e=>e.theme.colors.text.primary}\n`,Zj=G.ul`\n background-color: ${e=>e.theme.colors.background.primary};\n padding: 8px;\n`,__=G.button`\n display: flex;\n align-items: center;\n gap: 8px;\n height: 40px;\n padding-left: 8px;\n width: 100%;\n\n background-color: ${e=>e.theme.colors.background.primary};\n border: none;\n border-radius: ${e=>Fj[e.theme.borderRadius]};\n cursor: pointer;\n\n transition:\n background-color,\n transform 0.1s ease-in-out;\n\n &:hover {\n background-color: ${e=>e.theme.colors.background.secondary};\n }\n\n &:active {\n transform: scale(0.96);\n }\n`,T_=Bt(\"<li>\"),Kv=e=>p($r,{get translationKey(){return e.translationKey},fontSize:\"15px\",fontWeight:\"590\",get children(){return e.children}}),Yj=e=>{let t=Cr(Eo),[n,r]=Je(!1),i=()=>vt(null,null,function*(){let o=a1(t.account.address,t.account.chain===Cl.TESTNET);yield K1(o),r(!0),setTimeout(()=>r(!1),1e3)}),a=()=>{t.disconnect(),e.onClose()};return p($j,{ref(o){var s=e.ref;typeof s==\"function\"?s(o):e.ref=o},get class(){return e.class},\"data-tc-dropdown\":\"true\",get children(){return p(Zj,{get children(){return[(()=>{var o=T_();return sr(o,p(__,{onClick:()=>i(),get children(){return[p(Hj,{}),p(tt,{get when(){return!n()},get children(){return p(Kv,{translationKey:\"button.dropdown.copy\",children:\"Copy address\"})}}),p(tt,{get when(){return n()},get children(){return p(Kv,{translationKey:\"button.dropdown.copied\",children:\"Address copied!\"})}})]}})),o})(),(()=>{var o=T_();return sr(o,p(__,{onClick:()=>a(),get children(){return[p(Wj,{}),p(Kv,{translationKey:\"button.dropdown.disconnect\",children:\"Disconnect\"})]}})),o})()]}})}})},Gj={m:\"16px\",s:\"8px\",none:\"0\"},Qj=G.div`\n width: 256px;\n padding: 12px 16px;\n display: flex;\n gap: 9px;\n\n background-color: ${e=>e.theme.colors.background.primary};\n box-shadow: 0 4px 24px rgba(0, 0, 0, 0.16);\n border-radius: ${e=>Gj[e.theme.borderRadius]};\n`,Xj=G.div`\n width: 192px;\n\n > h3 {\n font-size: 15px;\n }\n`,Jj=G($r)`\n margin-top: 4px;\n color: ${e=>e.theme.colors.text.secondary};\n`,xh=e=>{let t=vh(e);return p(Qj,Ca({get class(){return e.class},\"data-tc-notification\":\"true\"},t,{get children(){return[p(Xj,{get children(){return[p(Z1,{get translationKey(){return e.header.translationKey},get translationValues(){return e.header.translationValues},get children(){return e.children}}),p(tt,{get when(){return e.text},get children(){return p(Jj,{get translationKey(){return e.text.translationKey},get translationValues(){return e.text.translationValues}})}})]}}),Xe(()=>e.icon)]}}))},eq=G(Ba)`\n align-self: center;\n`,tq=e=>{let t=Cr(Eo),[n]=Ji(),r=()=>t.wallet&&\"name\"in t.wallet?t.wallet.name:n(\"common.yourWallet\",{},\"Your wallet\");return p(xh,{get header(){return{translationKey:\"notifications.confirm.header\",translationValues:{name:r()}}},get class(){return e.class},get icon(){return p(eq,{})},\"data-tc-notification-confirm\":\"true\",children:\"Confirm operation in your wallet\"})},nq=G(_s)`\n margin-top: 2px;\n`,rq=e=>p(xh,{header:{translationKey:\"notifications.transactionCanceled.header\"},text:{translationKey:\"notifications.transactionCanceled.text\"},get icon(){return p(nq,{size:\"xs\"})},get class(){return e.class},\"data-tc-notification-tx-cancelled\":\"true\",children:\"Transaction cancelled\"}),H7=G(Y1)`\n margin-top: 2px;\n`,iq=e=>p(xh,{header:{translationKey:\"notifications.transactionSent.header\"},text:{translationKey:\"notifications.transactionSent.text\"},get icon(){return p(H7,{})},get class(){return e.class},\"data-tc-notification-tx-sent\":\"true\",children:\"Transaction sent\"}),ih=So`\n transform: translateY(-8px);\n margin-bottom: 12px;\n`,aq={timeout:4500},[$v,oq]=Je(null);function sq(e){let{timeout:t}=Lt(Lt({},aq),e),[n,r]=Je([]),[i,a]=Je([]);return Kn(oz(Ii,o=>{var s,l;if(!o||!o.showNotification){r(g=>g.filter(y=>y.action!==\"confirm-transaction\"));return}if($v()===o)return;let c=((s=$v())==null?void 0:s.name)===\"confirm-transaction\"&&o.name===\"confirm-transaction\",u=((l=$v())==null?void 0:l.name)===\"confirm-sign-data\"&&o.name===\"confirm-sign-data\";if(c||u)return;oq(o),r(g=>g.filter(y=>y.action!==\"confirm-transaction\"&&y.action!==\"confirm-sign-data\"));let d={action:o.name};r(g=>[...g,d]);let h=setTimeout(()=>{r(g=>g.filter(y=>y!==d)),a(g=>g.filter(y=>y!==h))},t);a(g=>[...g,h])})),Rr(()=>{i().forEach(o=>clearTimeout(o))}),n}var lq=G(_s)`\n margin-top: 2px;\n`,cq=e=>p(xh,{header:{translationKey:\"notifications.signDataCanceled.header\"},get icon(){return p(lq,{size:\"xs\"})},get class(){return e.class},\"data-tc-notification-sign-data-cancelled\":\"true\",children:\"Sign data canceled\"}),uq=e=>p(xh,{header:{translationKey:\"notifications.dataSigned.header\"},get icon(){return p(H7,{})},get class(){return e.class},\"data-tc-notification-data-signed\":\"true\",children:\"Data signed\"}),dq=Bt(\"<div data-tc-list-notifications=true>\"),fq=e=>{let t=sq();return(()=>{var n=dq();return sr(n,p($D,{onBeforeEnter:r=>{Ni(r,[{opacity:0,transform:\"translateY(0)\"},{opacity:1,transform:\"translateY(-8px)\"}],{duration:200})},onExit:(r,i)=>{Ni(r,[{opacity:1,transform:\"translateY(-8px)\"},{opacity:0,transform:\"translateY(-30px)\"}],{duration:200}).finished.then(i)},get children(){return p(pu,{get each(){return t()},children:r=>p(Co,{get children(){return[p(Pt,{get when(){return r.action===\"transaction-sent\"},get children(){return p(iq,{class:ih})}}),p(Pt,{get when(){return r.action===\"transaction-canceled\"},get children(){return p(rq,{class:ih})}}),p(Pt,{get when(){return r.action===\"data-signed\"},get children(){return p(uq,{class:ih})}}),p(Pt,{get when(){return r.action===\"sign-data-canceled\"},get children(){return p(cq,{class:ih})}}),p(Pt,{get when(){return r.action===\"confirm-transaction\"||r.action===\"confirm-sign-data\"},get children(){return p(tq,{class:ih})}})]}})})}})),kt(()=>Mw(n,e.class)),n})()},V7=G(en)`\n background-color: ${e=>e.theme.colors.connectButton.background};\n color: ${e=>e.theme.colors.connectButton.foreground};\n box-shadow: ${e=>`0 4px 24px ${Ul(e.theme.colors.constant.black,.16)}`};\n padding: 8px 16px 8px 12px;\n\n display: flex;\n align-items: center;\n gap: 4px;\n height: 40px;\n`,hq=G(V7)`\n padding: 12px 16px;\n min-width: 148px;\n justify-content: center;\n background-color: ${e=>e.theme.colors.background.primary};\n`,gq=G(en)`\n min-width: 148px;\n height: 40px;\n\n background-color: ${e=>e.theme.colors.background.primary};\n color: ${e=>e.theme.colors.connectButton.foreground};\n box-shadow: ${e=>`0 4px 24px ${Ul(e.theme.colors.constant.black,.16)}`};\n\n display: flex;\n align-items: center;\n justify-content: center;\n`,pq=G(Ba)`\n height: 18px;\n width: 18px;\n`,mq=G.div`\n width: fit-content;\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n`,yq=G(Yj)`\n box-sizing: border-box;\n overflow: hidden;\n margin-top: 12px;\n`,bq=G(fq)`\n > div:first-child {\n margin-top: 20px;\n }\n`,z1=Math.min,Ml=Math.max,D1=Math.round,f1=Math.floor,_a=e=>({x:e,y:e}),vq={left:\"right\",right:\"left\",bottom:\"top\",top:\"bottom\"},wq={start:\"end\",end:\"start\"};function E_(e,t,n){return Ml(e,z1(t,n))}function zw(e,t){return typeof e==\"function\"?e(t):e}function wu(e){return e.split(\"-\")[0]}function Dw(e){return e.split(\"-\")[1]}function W7(e){return e===\"x\"?\"y\":\"x\"}function F7(e){return e===\"y\"?\"height\":\"width\"}var xq=new Set([\"top\",\"bottom\"]);function Al(e){return xq.has(wu(e))?\"y\":\"x\"}function K7(e){return W7(Al(e))}function Cq(e,t,n){n===void 0&&(n=!1);let r=Dw(e),i=K7(e),a=F7(i),o=i===\"x\"?r===(n?\"end\":\"start\")?\"right\":\"left\":r===\"start\"?\"bottom\":\"top\";return t.reference[a]>t.floating[a]&&(o=L1(o)),[o,L1(o)]}function Sq(e){let t=L1(e);return[xw(e),t,xw(t)]}function xw(e){return e.replace(/start|end/g,t=>wq[t])}var A_=[\"left\",\"right\"],k_=[\"right\",\"left\"],_q=[\"top\",\"bottom\"],Tq=[\"bottom\",\"top\"];function Eq(e,t,n){switch(e){case\"top\":case\"bottom\":return n?t?k_:A_:t?A_:k_;case\"left\":case\"right\":return t?_q:Tq;default:return[]}}function Aq(e,t,n,r){let i=Dw(e),a=Eq(wu(e),n===\"start\",r);return i&&(a=a.map(o=>o+\"-\"+i),t&&(a=a.concat(a.map(xw)))),a}function L1(e){return e.replace(/left|right|bottom|top/g,t=>vq[t])}function kq(e){return Lt({top:0,right:0,bottom:0,left:0},e)}function Bq(e){return typeof e!=\"number\"?kq(e):{top:e,right:e,bottom:e,left:e}}function j1(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function B_(e,t,n){let{reference:r,floating:i}=e,a=Al(t),o=K7(t),s=F7(o),l=wu(t),c=a===\"y\",u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2,g;switch(l){case\"top\":g={x:u,y:r.y-i.height};break;case\"bottom\":g={x:u,y:r.y+r.height};break;case\"right\":g={x:r.x+r.width,y:d};break;case\"left\":g={x:r.x-i.width,y:d};break;default:g={x:r.x,y:r.y}}switch(Dw(t)){case\"start\":g[o]-=h*(n&&c?-1:1);break;case\"end\":g[o]+=h*(n&&c?-1:1);break}return g}var Mq=(e,t,n)=>vt(null,null,function*(){let{placement:r=\"bottom\",strategy:i=\"absolute\",middleware:a=[],platform:o}=n,s=a.filter(Boolean),l=yield o.isRTL==null?void 0:o.isRTL(t),c=yield o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=B_(c,r,l),h=r,g={},y=0;for(let E=0;E<s.length;E++){let{name:L,fn:C}=s[E],{x:v,y:T,data:R,reset:O}=yield C({x:u,y:d,initialPlacement:r,placement:h,strategy:i,middlewareData:g,rects:c,platform:o,elements:{reference:e,floating:t}});u=v??u,d=T??d,g=pr(Lt({},g),{[L]:Lt(Lt({},g[L]),R)}),O&&y<=50&&(y++,typeof O==\"object\"&&(O.placement&&(h=O.placement),O.rects&&(c=O.rects===!0?yield o.getElementRects({reference:e,floating:t,strategy:i}):O.rects),{x:u,y:d}=B_(c,h,l)),E=-1)}return{x:u,y:d,placement:h,strategy:i,middlewareData:g}});function $7(e,t){return vt(this,null,function*(){var n;t===void 0&&(t={});let{x:r,y:i,platform:a,rects:o,elements:s,strategy:l}=e,{boundary:c=\"clippingAncestors\",rootBoundary:u=\"viewport\",elementContext:d=\"floating\",altBoundary:h=!1,padding:g=0}=zw(t,e),y=Bq(g),L=s[h?d===\"floating\"?\"reference\":\"floating\":d],C=j1(yield a.getClippingRect({element:(n=yield a.isElement==null?void 0:a.isElement(L))==null||n?L:L.contextElement||(yield a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),v=d===\"floating\"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,T=yield a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating),R=(yield a.isElement==null?void 0:a.isElement(T))?(yield a.getScale==null?void 0:a.getScale(T))||{x:1,y:1}:{x:1,y:1},O=j1(a.convertOffsetParentRelativeRectToViewportRelativeRect?yield a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:T,strategy:l}):v);return{top:(C.top-O.top+y.top)/R.y,bottom:(O.bottom-C.bottom+y.bottom)/R.y,left:(C.left-O.left+y.left)/R.x,right:(O.right-C.right+y.right)/R.x}})}var Rq=function(e){return e===void 0&&(e={}),{name:\"flip\",options:e,fn(t){return vt(this,null,function*(){var n,r;let{placement:i,middlewareData:a,rects:o,initialPlacement:s,platform:l,elements:c}=t,u=zw(e,t),{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:g,fallbackStrategy:y=\"bestFit\",fallbackAxisSideDirection:E=\"none\",flipAlignment:L=!0}=u,C=G_(u,[\"mainAxis\",\"crossAxis\",\"fallbackPlacements\",\"fallbackStrategy\",\"fallbackAxisSideDirection\",\"flipAlignment\"]);if((n=a.arrow)!=null&&n.alignmentOffset)return{};let v=wu(i),T=Al(s),R=wu(s)===s,O=yield l.isRTL==null?void 0:l.isRTL(c.floating),re=g||(R||!L?[L1(s)]:Sq(s)),B=E!==\"none\";!g&&B&&re.push(...Aq(s,L,E,O));let q=[s,...re],z=yield $7(t,C),K=[],j=((r=a.flip)==null?void 0:r.overflows)||[];if(d&&K.push(z[v]),h){let se=Cq(i,o,O);K.push(z[se[0]],z[se[1]])}if(j=[...j,{placement:i,overflows:K}],!K.every(se=>se<=0)){var N,pe;let se=(((N=a.flip)==null?void 0:N.index)||0)+1,Me=q[se];if(Me&&(!(h===\"alignment\"?T!==Al(Me):!1)||j.every(Ze=>Al(Ze.placement)===T?Ze.overflows[0]>0:!0)))return{data:{index:se,overflows:j},reset:{placement:Me}};let I=(pe=j.filter(Fe=>Fe.overflows[0]<=0).sort((Fe,Ze)=>Fe.overflows[1]-Ze.overflows[1])[0])==null?void 0:pe.placement;if(!I)switch(y){case\"bestFit\":{var le;let Fe=(le=j.filter(Ze=>{if(B){let Et=Al(Ze.placement);return Et===T||Et===\"y\"}return!0}).map(Ze=>[Ze.placement,Ze.overflows.filter(Et=>Et>0).reduce((Et,Qt)=>Et+Qt,0)]).sort((Ze,Et)=>Ze[1]-Et[1])[0])==null?void 0:le[0];Fe&&(I=Fe);break}case\"initialPlacement\":I=s;break}if(i!==I)return{reset:{placement:I}}}return{}})}}},Uq=function(e){return e===void 0&&(e={}),{name:\"shift\",options:e,fn(t){return vt(this,null,function*(){let{x:n,y:r,placement:i}=t,a=zw(e,t),{mainAxis:o=!0,crossAxis:s=!1,limiter:l={fn:C=>{let{x:v,y:T}=C;return{x:v,y:T}}}}=a,c=G_(a,[\"mainAxis\",\"crossAxis\",\"limiter\"]),u={x:n,y:r},d=yield $7(t,c),h=Al(wu(i)),g=W7(h),y=u[g],E=u[h];if(o){let C=g===\"y\"?\"top\":\"left\",v=g===\"y\"?\"bottom\":\"right\",T=y+d[C],R=y-d[v];y=E_(T,y,R)}if(s){let C=h===\"y\"?\"top\":\"left\",v=h===\"y\"?\"bottom\":\"right\",T=E+d[C],R=E-d[v];E=E_(T,E,R)}let L=l.fn(pr(Lt({},t),{[g]:y,[h]:E}));return pr(Lt({},L),{data:{x:L.x-n,y:L.y-r,enabled:{[g]:o,[h]:s}}})})}}};function G1(){return typeof window<\"u\"}function _u(e){return Z7(e)?(e.nodeName||\"\").toLowerCase():\"#document\"}function mi(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ma(e){var t;return(t=(Z7(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Z7(e){return G1()?e instanceof Node||e instanceof mi(e).Node:!1}function Qi(e){return G1()?e instanceof Element||e instanceof mi(e).Element:!1}function Ea(e){return G1()?e instanceof HTMLElement||e instanceof mi(e).HTMLElement:!1}function M_(e){return!G1()||typeof ShadowRoot>\"u\"?!1:e instanceof ShadowRoot||e instanceof mi(e).ShadowRoot}var Oq=new Set([\"inline\",\"contents\"]);function Ch(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=Xi(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Oq.has(i)}var Iq=new Set([\"table\",\"td\",\"th\"]);function Nq(e){return Iq.has(_u(e))}var Pq=[\":popover-open\",\":modal\"];function Q1(e){return Pq.some(t=>{try{return e.matches(t)}catch{return!1}})}var zq=[\"transform\",\"translate\",\"scale\",\"rotate\",\"perspective\"],Dq=[\"transform\",\"translate\",\"scale\",\"rotate\",\"perspective\",\"filter\"],Lq=[\"paint\",\"layout\",\"strict\",\"content\"];function Lw(e){let t=jw(),n=Qi(e)?Xi(e):e;return zq.some(r=>n[r]?n[r]!==\"none\":!1)||(n.containerType?n.containerType!==\"normal\":!1)||!t&&(n.backdropFilter?n.backdropFilter!==\"none\":!1)||!t&&(n.filter?n.filter!==\"none\":!1)||Dq.some(r=>(n.willChange||\"\").includes(r))||Lq.some(r=>(n.contain||\"\").includes(r))}function jq(e){let t=Ss(e);for(;Ea(t)&&!xu(t);){if(Lw(t))return t;if(Q1(t))return null;t=Ss(t)}return null}function jw(){return typeof CSS>\"u\"||!CSS.supports?!1:CSS.supports(\"-webkit-backdrop-filter\",\"none\")}var qq=new Set([\"html\",\"body\",\"#document\"]);function xu(e){return qq.has(_u(e))}function Xi(e){return mi(e).getComputedStyle(e)}function X1(e){return Qi(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ss(e){if(_u(e)===\"html\")return e;let t=e.assignedSlot||e.parentNode||M_(e)&&e.host||Ma(e);return M_(t)?t.host:t}function Y7(e){let t=Ss(e);return xu(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ea(t)&&Ch(t)?t:Y7(t)}function mh(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);let i=Y7(e),a=i===((r=e.ownerDocument)==null?void 0:r.body),o=mi(i);if(a){let s=Cw(o);return t.concat(o,o.visualViewport||[],Ch(i)?i:[],s&&n?mh(s):[])}return t.concat(i,mh(i,[],n))}function Cw(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function G7(e){let t=Xi(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=Ea(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=D1(n)!==a||D1(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function qw(e){return Qi(e)?e:e.contextElement}function gu(e){let t=qw(e);if(!Ea(t))return _a(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=G7(t),o=(a?D1(n.width):n.width)/r,s=(a?D1(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var Hq=_a(0);function Q7(e){let t=mi(e);return!jw()||!t.visualViewport?Hq:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Vq(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==mi(e)?!1:t}function Rl(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=qw(e),o=_a(1);t&&(r?Qi(r)&&(o=gu(r)):o=gu(e));let s=Vq(a,n,r)?Q7(a):_a(0),l=(i.left+s.x)/o.x,c=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let h=mi(a),g=r&&Qi(r)?mi(r):r,y=h,E=Cw(y);for(;E&&r&&g!==y;){let L=gu(E),C=E.getBoundingClientRect(),v=Xi(E),T=C.left+(E.clientLeft+parseFloat(v.paddingLeft))*L.x,R=C.top+(E.clientTop+parseFloat(v.paddingTop))*L.y;l*=L.x,c*=L.y,u*=L.x,d*=L.y,l+=T,c+=R,y=mi(E),E=Cw(y)}}return j1({width:u,height:d,x:l,y:c})}function Hw(e,t){let n=X1(e).scrollLeft;return t?t.left+n:Rl(Ma(e)).left+n}function X7(e,t,n){n===void 0&&(n=!1);let r=e.getBoundingClientRect(),i=r.left+t.scrollLeft-(n?0:Hw(e,r)),a=r.top+t.scrollTop;return{x:i,y:a}}function Wq(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===\"fixed\",o=Ma(r),s=t?Q1(t.floating):!1;if(r===o||s&&a)return n;let l={scrollLeft:0,scrollTop:0},c=_a(1),u=_a(0),d=Ea(r);if((d||!d&&!a)&&((_u(r)!==\"body\"||Ch(o))&&(l=X1(r)),Ea(r))){let g=Rl(r);c=gu(r),u.x=g.x+r.clientLeft,u.y=g.y+r.clientTop}let h=o&&!d&&!a?X7(o,l,!0):_a(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+h.x,y:n.y*c.y-l.scrollTop*c.y+u.y+h.y}}function Fq(e){return Array.from(e.getClientRects())}function Kq(e){let t=Ma(e),n=X1(e),r=e.ownerDocument.body,i=Ml(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=Ml(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+Hw(e),s=-n.scrollTop;return Xi(r).direction===\"rtl\"&&(o+=Ml(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}function $q(e,t){let n=mi(e),r=Ma(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,l=0;if(i){a=i.width,o=i.height;let c=jw();(!c||c&&t===\"fixed\")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:a,height:o,x:s,y:l}}var Zq=new Set([\"absolute\",\"fixed\"]);function Yq(e,t){let n=Rl(e,!0,t===\"fixed\"),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Ea(e)?gu(e):_a(1),o=e.clientWidth*a.x,s=e.clientHeight*a.y,l=i*a.x,c=r*a.y;return{width:o,height:s,x:l,y:c}}function R_(e,t,n){let r;if(t===\"viewport\")r=$q(e,n);else if(t===\"document\")r=Kq(Ma(e));else if(Qi(t))r=Yq(t,n);else{let i=Q7(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return j1(r)}function J7(e,t){let n=Ss(e);return n===t||!Qi(n)||xu(n)?!1:Xi(n).position===\"fixed\"||J7(n,t)}function Gq(e,t){let n=t.get(e);if(n)return n;let r=mh(e,[],!1).filter(s=>Qi(s)&&_u(s)!==\"body\"),i=null,a=Xi(e).position===\"fixed\",o=a?Ss(e):e;for(;Qi(o)&&!xu(o);){let s=Xi(o),l=Lw(o);!l&&s.position===\"fixed\"&&(i=null),(a?!l&&!i:!l&&s.position===\"static\"&&!!i&&Zq.has(i.position)||Ch(o)&&!l&&J7(e,o))?r=r.filter(u=>u!==o):i=s,o=Ss(o)}return t.set(e,r),r}function Qq(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,o=[...n===\"clippingAncestors\"?Q1(t)?[]:Gq(t,this._c):[].concat(n),r],s=o[0],l=o.reduce((c,u)=>{let d=R_(t,u,i);return c.top=Ml(d.top,c.top),c.right=z1(d.right,c.right),c.bottom=z1(d.bottom,c.bottom),c.left=Ml(d.left,c.left),c},R_(t,s,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Xq(e){let{width:t,height:n}=G7(e);return{width:t,height:n}}function Jq(e,t,n){let r=Ea(t),i=Ma(t),a=n===\"fixed\",o=Rl(e,!0,a,t),s={scrollLeft:0,scrollTop:0},l=_a(0);function c(){l.x=Hw(i)}if(r||!r&&!a)if((_u(t)!==\"body\"||Ch(i))&&(s=X1(t)),r){let g=Rl(t,!0,a,t);l.x=g.x+t.clientLeft,l.y=g.y+t.clientTop}else i&&c();a&&!r&&i&&c();let u=i&&!r&&!a?X7(i,s):_a(0),d=o.left+s.scrollLeft-l.x-u.x,h=o.top+s.scrollTop-l.y-u.y;return{x:d,y:h,width:o.width,height:o.height}}function Zv(e){return Xi(e).position===\"static\"}function U_(e,t){if(!Ea(e)||Xi(e).position===\"fixed\")return null;if(t)return t(e);let n=e.offsetParent;return Ma(e)===n&&(n=n.ownerDocument.body),n}function eT(e,t){let n=mi(e);if(Q1(e))return n;if(!Ea(e)){let i=Ss(e);for(;i&&!xu(i);){if(Qi(i)&&!Zv(i))return i;i=Ss(i)}return n}let r=U_(e,t);for(;r&&Nq(r)&&Zv(r);)r=U_(r,t);return r&&xu(r)&&Zv(r)&&!Lw(r)?n:r||jq(e)||n}var eH=function(e){return vt(this,null,function*(){let t=this.getOffsetParent||eT,n=this.getDimensions,r=yield n(e.floating);return{reference:Jq(e.reference,yield t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}})};function tH(e){return Xi(e).direction===\"rtl\"}var nH={convertOffsetParentRelativeRectToViewportRelativeRect:Wq,getDocumentElement:Ma,getClippingRect:Qq,getOffsetParent:eT,getElementRects:eH,getClientRects:Fq,getDimensions:Xq,getScale:gu,isElement:Qi,isRTL:tH};function tT(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function rH(e,t){let n=null,r,i=Ma(e);function a(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function o(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),a();let c=e.getBoundingClientRect(),{left:u,top:d,width:h,height:g}=c;if(s||t(),!h||!g)return;let y=f1(d),E=f1(i.clientWidth-(u+h)),L=f1(i.clientHeight-(d+g)),C=f1(u),T={rootMargin:-y+\"px \"+-E+\"px \"+-L+\"px \"+-C+\"px\",threshold:Ml(0,z1(1,l))||1},R=!0;function O(re){let B=re[0].intersectionRatio;if(B!==l){if(!R)return o();B?o(!1,B):r=setTimeout(()=>{o(!1,1e-7)},1e3)}B===1&&!tT(c,e.getBoundingClientRect())&&o(),R=!1}try{n=new IntersectionObserver(O,pr(Lt({},T),{root:i.ownerDocument}))}catch{n=new IntersectionObserver(O,T)}n.observe(e)}return o(!0),a}function iH(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==\"function\",layoutShift:s=typeof IntersectionObserver==\"function\",animationFrame:l=!1}=r,c=qw(e),u=i||a?[...c?mh(c):[],...mh(t)]:[];u.forEach(C=>{i&&C.addEventListener(\"scroll\",n,{passive:!0}),a&&C.addEventListener(\"resize\",n)});let d=c&&s?rH(c,n):null,h=-1,g=null;o&&(g=new ResizeObserver(C=>{let[v]=C;v&&v.target===c&&g&&(g.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var T;(T=g)==null||T.observe(t)})),n()}),c&&!l&&g.observe(c),g.observe(t));let y,E=l?Rl(e):null;l&&L();function L(){let C=Rl(e);E&&!tT(E,C)&&n(),E=C,y=requestAnimationFrame(L)}return n(),()=>{var C;u.forEach(v=>{i&&v.removeEventListener(\"scroll\",n),a&&v.removeEventListener(\"resize\",n)}),d?.(),(C=g)==null||C.disconnect(),g=null,l&&cancelAnimationFrame(y)}}var aH=Uq,oH=Rq,sH=(e,t,n)=>{let r=new Map,i=Lt({platform:nH},n),a=pr(Lt({},i.platform),{_c:r});return Mq(e,t,pr(Lt({},i),{platform:a}))};function lH(e,t,n){let r=()=>{var d;return(d=n?.placement)!=null?d:\"bottom\"},i=()=>{var d;return(d=n?.strategy)!=null?d:\"absolute\"},[a,o]=Je({x:null,y:null,placement:r(),strategy:i(),middlewareData:{}}),[s,l]=Je();Kn(()=>{let d=s();if(d)throw d.value});let c=dt(()=>(e(),t(),{}));function u(){let d=e(),h=t();if(d&&h){let g=c();sH(d,h,{middleware:n?.middleware,placement:r(),strategy:i()}).then(y=>{g===c()&&o(y)},y=>{l(y)})}}return Kn(()=>{let d=e(),h=t();if(r(),i(),d&&h)if(n!=null&&n.whileElementsMounted){let g=n.whileElementsMounted(d,h,u);g&&Rr(g)}else u()}),{get x(){return a().x},get y(){return a().y},get placement(){return a().placement},get strategy(){return a().strategy},get middlewareData(){return a().middlewareData},update:u}}var cH=Bt(\"<tc-root data-tc-dropdown-container=true>\",!0,!1,!1),uH=()=>{let e=pn(),t=Cr(Su),n=Cr(Eo),[r,i]=Je(!1),[a,o]=Je(t.account),[s,l]=Je(!t.account),c,[u,d]=Je(),[h,g]=Je(),y=lH(h,u,{whileElementsMounted:iH,placement:\"bottom-end\",middleware:[oH(),aH()]}),E=()=>{let v=a();if(v){let T=a1(v.address,v.chain===Cl.TESTNET);return T.slice(0,4)+\"\\u2026\"+T.slice(-4)}return\"\"};n.connectionRestored.then(()=>l(!1));let L=t.onStatusChange(v=>{if(!v){i(!1),o(null),l(!1);return}o(v.account),l(!1)}),C=v=>{if(!a()||!r())return;let T=h().contains(v.target),R=c.contains(v.target);!T&&!R&&i(!1)};return r7(()=>{document.body.addEventListener(\"click\",C)}),Rr(()=>{document.body.removeEventListener(\"click\",C),L()}),p(mu,{component:vo,get children(){return[p(tt,{get when(){return s()},get children(){return p(gq,{disabled:!0,\"data-tc-connect-button-loading\":\"true\",get children(){return p(pq,{})}})}}),p(tt,{get when(){return!s()},get children(){return[p(tt,{get when(){return!a()},get children(){return p(V7,{onClick:()=>n.openModal(),\"data-tc-connect-button\":\"true\",scale:\"s\",get children(){return[p(GL,{get fill(){return e.colors.connectButton.foreground}}),p($r,{translationKey:\"button.connectWallet\",fontSize:\"15px\",lineHeight:\"18px\",fontWeight:\"590\",get color(){return e.colors.connectButton.foreground},children:\"Connect wallet\"})]}})}}),p(tt,{get when(){return a()},get children(){return p(mq,{get children(){return[p(hq,{onClick:()=>i(v=>!v),ref:g,\"data-tc-dropdown-button\":\"true\",scale:\"s\",get children(){return[p($r,{fontSize:\"15px\",fontWeight:\"590\",lineHeight:\"18px\",get children(){return E()}}),p(I7,{direction:\"bottom\"})]}}),p(p7,{get children(){var v=cH();return kl(d,v),v.style.setProperty(\"z-index\",\"999\"),v._$owner=i7(),sr(v,p(F1,{onBeforeEnter:T=>{Ni(T,[{opacity:0,transform:\"translateY(-8px)\"},{opacity:1,transform:\"translateY(0)\"}],{duration:150})},onExit:(T,R)=>{Ni(T,[{opacity:1,transform:\"translateY(0)\"},{opacity:0,transform:\"translateY(-8px)\"}],{duration:150}).finished.then(R)},get children(){return p(tt,{get when(){return r()},get children(){return p(yq,{get hidden(){return!r()},onClose:()=>i(!1),ref(T){var R=c;typeof R==\"function\"?R(T):c=T}})}})}}),null),sr(v,p(bq,{}),null),kt(T=>{var R,O,re=y.strategy,B=`${(R=y.y)!=null?R:0}px`,q=`${(O=y.x)!=null?O:0}px`;return re!==T.e&&((T.e=re)!=null?v.style.setProperty(\"position\",re):v.style.removeProperty(\"position\")),B!==T.t&&((T.t=B)!=null?v.style.setProperty(\"top\",B):v.style.removeProperty(\"top\")),q!==T.a&&((T.a=q)!=null?v.style.setProperty(\"left\",q):v.style.removeProperty(\"left\")),T},{e:void 0,t:void 0,a:void 0}),v}})]}})}})]}})]}})},nT=G(P7)`\n padding-left: 24px;\n padding-right: 24px;\n padding-top: 18px;\n padding-bottom: 0;\n\n ${yi(\"mobile\")} {\n padding-left: 0;\n padding-right: 0;\n }\n`,rT=G(bi)`\n margin-top: 12px;\n\n ${yi(\"mobile\")} {\n padding: 0 10px;\n }\n`,iT=G.div`\n margin: 30px 0;\n width: 100%;\n display: flex;\n justify-content: center;\n\n ${yi(\"mobile\")} {\n height: 160px;\n align-items: center;\n }\n`;G($r)`\n min-width: 84px;\n text-align: center;\n font-weight: 590;\n`;G(bL)`\n margin: 0 auto 22px;\n`;var[Vt,h1]=Iw({buttonRootId:null,language:\"en\",returnStrategy:\"back\",twaReturnUrl:void 0,walletsListConfiguration:{},enableAndroidBackHandler:!0});function dH(e){return[...new Set(e)]}function fH(e,t,n){return t.map(r=>{let i=n.find(a=>a[e]===r[e]);return n=n.filter(a=>a[e]!==r[e]),i===void 0?r:i}).concat(n)}function hH(e){return\"jsBridgeKey\"in e?pr(Lt({},e),{injected:va.isWalletInjected(e.jsBridgeKey),embedded:va.isInsideWalletBrowser(e.jsBridgeKey)}):e}function Vw(e,t){var n;return t&&(n=t.includeWallets)!=null&&n.length&&(e=fH(\"name\",e,t.includeWallets.map(hH))),e}function O_(e){return e.platforms.some(t=>[\"macos\",\"linux\",\"windows\"].includes(t))}function dh(e){return e.platforms.some(t=>[\"ios\",\"android\"].includes(t))}function I_(e){return e.platforms.some(t=>[\"chrome\",\"firefox\",\"safari\"].includes(t))}function vs(e,t){return t?e.name.toLowerCase()===t.toLowerCase()||e.appName.toLowerCase()===t.toLowerCase():!1}var gH=G.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n`,pH=G(bi)`\n margin-bottom: 18px;\n`;G.div`\n height: 1px;\n margin: 0 -24px;\n width: calc(100% + 48px);\n opacity: 0.12;\n background: ${e=>e.isShown?e.theme.colors.icon.secondary:\"transparent\"};\n transition: background 0.15s ease-in-out;\n\n ${yi(\"mobile\")} {\n width: 100%;\n }\n`;var N_=G.ul`\n display: grid;\n grid-template-columns: repeat(auto-fit, 92px);\n grid-template-rows: auto;\n align-content: flex-start;\n row-gap: 8px;\n width: 100%;\n padding: 0 0 16px;\n align-self: flex-start;\n max-width: 400px;\n margin: 0 auto;\n list-style: none;\n\n > li {\n display: block;\n height: fit-content;\n }\n\n ${yi(\"mobile\")} {\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n gap: 0;\n padding: 8px 12px 16px;\n max-width: none;\n\n > li {\n min-width: 78px;\n display: flex;\n }\n\n > li > * {\n width: 100%;\n }\n }\n`;G(en)`\n display: block;\n margin: 0 auto 1px;\n font-size: 15px;\n`;var mH=G(To)`\n position: absolute;\n top: 16px;\n left: 16px;\n`,P_=G(q7)`\n opacity: ${e=>e.withOpacity?\"0.4\":\"1\"};\n`,yH=G.div`\n display: grid;\n grid-template-columns: auto 28px;\n gap: 16px;\n padding: 16px;\n margin-bottom: 16px;\n border-radius: 16px;\n color: ${e=>e.theme.colors.text.secondary};\n background: ${e=>e.theme.colors.background.tint};\n\n ${yi(\"mobile\")} {\n margin-left: 16px;\n margin-right: 16px;\n }\n`,bH=G(ka)`\n color: ${e=>e.theme.colors.text.secondary};\n text-align: left;\n margin: 0;\n`,vH=G.div`\n position: absolute;\n bottom: 14px;\n left: 50%;\n transform: translate(-50%, 0);\n\n text-wrap: nowrap;\n display: flex;\n gap: 6px;\n align-items: center;\n border-radius: 18px;\n min-width: 126px;\n padding: 9px 16px 9px 10px;\n\n filter: drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.08));\n background-color: ${e=>e.theme.colors.background.segment};\n`,wH=Bt('<svg width=16 height=16 viewBox=\"0 0 16 16\"fill=none xmlns=http://www.w3.org/2000/svg><g clip-path=url(#clip0_5122_10355)><circle cx=8 cy=8 r=8></circle><circle cx=8 cy=11 r=1></circle><path d=\"M7.04994 4.99875C7.02277 4.45542 7.45598 4 8 4C8.54402 4 8.97723 4.45541 8.95006 4.99875L8.78745 8.25094C8.76647 8.67055 8.42014 9 8 9C7.57986 9 7.23353 8.67055 7.21255 8.25094L7.04994 4.99875Z\"></path></g><defs><clipPath id=clip0_5122_10355><rect width=16 height=16>'),xH=Bt('<svg xmlns=http://www.w3.org/2000/svg width=28 height=28 viewBox=\"0 0 28 28\"fill=none><circle cx=14 cy=14 r=12></circle><circle cx=14 cy=18.9 r=1.4></circle><path d=\"M12.6658 8.89845C12.63 8.13698 13.2377 7.5 14 7.5C14.7623 7.5 15.37 8.13698 15.3342 8.89845L15.047 15.0013C15.0207 15.5604 14.5597 16.0002 14 16.0002C13.4403 16.0002 12.9793 15.5604 12.953 15.0013L12.6658 8.89845Z\">'),CH=e=>{let t=pn(),n=()=>e.size,r=()=>e.fill||t.colors.icon.error;return Xe(()=>Xe(()=>n()===\"16\")()?(()=>{var i=wH(),a=i.firstChild,o=a.firstChild,s=o.nextSibling,l=s.nextSibling,c=a.nextSibling,u=c.firstChild,d=u.firstChild;return kt(h=>{var g=r(),y=t.colors.constant.white,E=t.colors.constant.white,L=t.colors.constant.white;return g!==h.e&&$e(o,\"fill\",h.e=g),y!==h.t&&$e(s,\"fill\",h.t=y),E!==h.a&&$e(l,\"fill\",h.a=E),L!==h.o&&$e(d,\"fill\",h.o=L),h},{e:void 0,t:void 0,a:void 0,o:void 0}),i})():Xe(()=>n()===\"28\")()?(()=>{var i=xH(),a=i.firstChild,o=a.nextSibling,s=o.nextSibling;return kt(l=>{var c=e.class,u=r(),d=t.colors.constant.white,h=t.colors.constant.white;return c!==l.e&&$e(i,\"class\",l.e=c),u!==l.t&&$e(a,\"fill\",l.t=u),d!==l.a&&$e(o,\"fill\",l.a=d),h!==l.o&&$e(s,\"fill\",l.o=h),l},{e:void 0,t:void 0,a:void 0,o:void 0}),i})():null)},z_=Bt(\"<li>\"),SH=e=>{let t=()=>vu()?void 0:510,[n,r]=Je(null),i=null,a=u=>{r(u),i!=null&&clearTimeout(i),i=setTimeout(()=>r(null),1500)},o=u=>{if(!u.isSupportRequiredFeatures&&e.featureCheckMode===\"strict\"){a(u);return}e.onSelect(u)},s=()=>vu()?e.walletsList.filter(dh):e.walletsList,l=()=>s().filter(u=>u.isSupportRequiredFeatures),c=()=>s().filter(u=>!u.isSupportRequiredFeatures);return p(gH,{\"data-tc-wallets-modal-list\":\"true\",get children(){return[p(mH,{icon:\"arrow\",onClick:()=>e.onBack()}),p(pH,{translationKey:\"walletModal.wallets\",children:\"Wallets\"}),p(Pw,{get maxHeight(){return t()},get children(){return[p(N_,{get children(){return p(pu,{get each(){return l()},children:u=>(()=>{var d=z_();return sr(d,p(P_,{wallet:u,onClick:()=>e.onSelect(u)})),d})()})}}),p(tt,{get when(){return c().length>0&&e.featureCheckMode!==\"hide\"},get children(){return[p(yH,{get children(){return[p(bH,{translationKey:\"walletModal.allWallets.walletsBelowNotSupported\",children:\"The wallets below don\\u2019t support all features of the connected service. You can use your recovery phrase in one of the supported wallets above.\"}),p(CH,{size:\"28\"})]}}),p(N_,{get children(){return p(pu,{get each(){return c()},children:u=>(()=>{var d=z_();return sr(d,p(P_,{wallet:u,onClick:()=>o(u),get withOpacity(){return e.featureCheckMode===\"strict\"}})),d})()})}}),p(F1,{onBeforeEnter:u=>{Ni(u,[{opacity:0,transform:\"translate(-50%, 44px)\"},{opacity:1,transform:\"translate(-50%, 0)\"}],{duration:150,easing:\"ease-out\"})},onExit:(u,d)=>{Ni(u,[{opacity:1,transform:\"translate(-50%, 0)\"},{opacity:0,transform:\"translate(-50%, 44px)\"}],{duration:150,easing:\"ease-out\"}).finished.then(()=>{d()})},get children(){return p(tt,{get when(){return n()},get children(){return p(vH,{get children(){return[p(_s,{size:\"xs\"}),p($r,{translationKey:\"walletModal.allWallets.walletNotSupportService\",get translationValues(){return{name:n().name}},get children(){return[Xe(()=>n().name),\" doesn\\u2019t support connected service\"]}})]}})}})}})]}})]}})]}})},_H={m:\"16px\",s:\"12px\",none:\"0\"},TH={m:\"6px\",s:\"6px\",none:\"0\"},EH=G.div`\n display: flex;\n flex-direction: column;\n`,AH=G.div`\n flex: 1;\n margin-top: ${e=>e.qr?\"0\":\"18px\"};\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n min-height: 232px;\n`,kH=G($1)`\n margin-bottom: 24px;\n`,BH=G(bi)`\n max-width: 288px;\n margin: 0 auto 2px;\n`,MH=G(ka)`\n max-width: 288px;\n text-align: center;\n margin: 0 auto 20px;\n`,RH=G(To)`\n position: absolute;\n top: 16px;\n left: 16px;\n`,sh=G.div`\n display: flex;\n justify-content: center;\n gap: 8px;\n padding-bottom: 16px;\n`,UH=G(sh)`\n padding-bottom: 0;\n`,Yv=G(en)`\n margin-bottom: 24px;\n`,OH=G(Ba)`\n margin-bottom: 18px;\n margin-top: 2px;\n`,IH=G(_s)`\n margin-bottom: 16px;\n`,su=G(ka)`\n color: ${e=>e.theme.colors.text.secondary};\n text-align: center;\n margin-bottom: 20px;\n`,NH=G(en)`\n margin-top: -8px;\n margin-bottom: 24px;\n width: 100%;\n padding: 12px 12px 12px 20px;\n border-radius: ${e=>_H[e.theme.borderRadius]};\n font-size: 16px;\n line-height: 20px;\n`,PH=G(Ol)`\n width: 32px;\n height: 32px;\n border-radius: ${e=>TH[e.theme.borderRadius]};\n`,nn=e=>{let[t]=Ji();return Xe(()=>{var n;return t(e.translationKey,e.translationValues,(n=e.children)==null?void 0:n.toString())})};function sn(e,t){let n;typeof t==\"string\"?n=t:n=Zi()?t.twaReturnUrl||t.returnStrategy:\"none\";let r=Sw(e,\"ret\",n);if(!wa(e))return r;let i=r.slice(r.lastIndexOf(\"&\")+1);return r.slice(0,r.lastIndexOf(\"&\"))+\"-\"+n1(i)}function Sh(e,t){t=Lt({},t);let n=oT(e),r=new URL(n);if(r.searchParams.has(\"startapp\")||r.searchParams.append(\"startapp\",\"tonconnect\"),E7()){t.returnStrategy=\"back\";let i=sn(r.toString(),t.returnStrategy);gn(i)}else if(Zi())if(Tl(\"ios\",\"android\",\"macos\",\"tdesktop\",\"web\")){t.returnStrategy=\"back\";let i=sn(r.toString(),t.returnStrategy);gw(i)}else Tl(\"weba\")?gw(sn(r.toString(),t)):gn(sn(r.toString(),t));else if($i(\"ios\")){t.returnStrategy===\"back\"&&(Tt(\"safari\")?t.returnStrategy=\"back\":Tt(\"chrome\")?t.returnStrategy=\"googlechrome://\":Tt(\"firefox\")?t.returnStrategy=\"firefox://\":Tt(\"opera\")?t.returnStrategy=\"opera-http://\":t.returnStrategy=location.href);let i=Tt(\"chrome\"),a=Tt(\"firefox\");if((i||a)&&!t.forceRedirect){let s=sn(r.toString(),t.returnStrategy),l=g1(s);ws(l,()=>gn(s))}else{let s=sn(r.toString(),t.returnStrategy);gn(s)}}else if($i(\"android\")){t.returnStrategy=\"back\";let i=Tt(\"chrome\"),a=Tt(\"firefox\");if((i||a)&&!t.forceRedirect){let s=sn(r.toString(),t.returnStrategy),l=g1(s);ws(l,()=>gn(s))}else{let s=sn(r.toString(),t.returnStrategy);gn(s)}}else if($i(\"ipad\")){t.returnStrategy===\"back\"&&(Tt(\"safari\")?t.returnStrategy=\"back\":Tt(\"chrome\")?t.returnStrategy=\"googlechrome://\":Tt(\"firefox\")?t.returnStrategy=\"firefox://\":Tt(\"opera\")?t.returnStrategy=\"opera-http://\":t.returnStrategy=location.href);let i=Tt(\"chrome\"),a=Tt(\"firefox\"),o=(i||a)&&!t.forceRedirect,s=sn(r.toString(),t.returnStrategy);if(o){let l=g1(s);ws(l,()=>gn(s))}else gn(s)}else if($i(\"macos\",\"windows\",\"linux\")){t.returnStrategy=\"back\",t.twaReturnUrl=void 0;let i=sn(r.toString(),t.returnStrategy);if(t.forceRedirect)gn(i);else{let a=g1(i);ws(a,()=>gn(i))}}else gn(sn(r.toString(),t))}function _h(e,t,n,r){if(n=Lt({},n),E7())if($i(\"ios\",\"android\"))n.returnStrategy===\"back\"&&(n.returnStrategy=\"tg://resolve\"),r(\"universal-link\"),uh(sn(e,n.returnStrategy),\"_self\");else{r(\"universal-link\");let i=sn(e,n.returnStrategy);gn(i)}else if(Zi())if(Tl(\"ios\",\"android\")){n.returnStrategy===\"back\"&&(n.returnStrategy=\"tg://resolve\"),r(\"universal-link\");let i=sn(e,n.returnStrategy);gw(i,()=>{r(\"universal-link\"),gn(i)})}else if(Tl(\"macos\",\"tdesktop\")){n.returnStrategy===\"back\"&&(n.returnStrategy=\"tg://resolve\");let i=sn(e,n.returnStrategy);!!t&&!n.forceRedirect?(r(\"custom-deeplink\"),ws(d1(i,t),()=>{r(\"universal-link\"),gn(i)})):(r(\"universal-link\"),gn(i))}else if(Tl(\"weba\")){n.returnStrategy===\"back\"&&(Tt(\"safari\")?n.returnStrategy=location.href:Tt(\"chrome\")?n.returnStrategy=\"googlechrome://\":Tt(\"firefox\")?n.returnStrategy=\"firefox://\":Tt(\"opera\")?n.returnStrategy=\"opera-http://\":n.returnStrategy=location.href);let i=sn(e,n.returnStrategy);!!t&&!n.forceRedirect?(r(\"custom-deeplink\"),ws(d1(i,t),()=>{r(\"universal-link\"),gn(i)})):(r(\"universal-link\"),gn(i))}else if(Tl(\"web\")){n.returnStrategy===\"back\"&&(Tt(\"safari\")?n.returnStrategy=location.href:Tt(\"chrome\")?n.returnStrategy=\"googlechrome://\":Tt(\"firefox\")?n.returnStrategy=\"firefox://\":Tt(\"opera\")?n.returnStrategy=\"opera-http://\":n.returnStrategy=location.href);let i=sn(e,n.returnStrategy);!!t&&!n.forceRedirect?(r(\"custom-deeplink\"),ws(d1(i,t),()=>{r(\"universal-link\"),gn(i)})):(r(\"universal-link\"),gn(i))}else{r(\"universal-link\");let i=sn(e,n.returnStrategy);gn(i)}else if($i(\"ios\"))n.returnStrategy===\"back\"&&(Tt(\"safari\")?n.returnStrategy=\"none\":Tt(\"chrome\")?n.returnStrategy=\"googlechrome://\":Tt(\"firefox\")?n.returnStrategy=\"firefox://\":Tt(\"opera\")?n.returnStrategy=\"opera-http://\":n.returnStrategy=location.href),Tt(\"chrome\")?(r(\"universal-link\"),uh(sn(e,n.returnStrategy),\"_self\")):(r(\"universal-link\"),gn(sn(e,n.returnStrategy)));else if($i(\"android\"))n.returnStrategy===\"back\"&&(Tt(\"chrome\")?n.returnStrategy=\"googlechrome://\":Tt(\"firefox\")?n.returnStrategy=\"firefox://\":Tt(\"opera\")?n.returnStrategy=\"opera-http://\":n.returnStrategy=location.href),r(\"universal-link\"),gn(sn(e,n.returnStrategy));else if($i(\"ipad\"))n.returnStrategy===\"back\"&&(Tt(\"safari\")?n.returnStrategy=\"none\":Tt(\"chrome\")?n.returnStrategy=\"googlechrome://\":Tt(\"firefox\")?n.returnStrategy=\"firefox://\":Tt(\"opera\")?n.returnStrategy=\"opera-http://\":n.returnStrategy=location.href),Tt(\"chrome\")?(r(\"universal-link\"),uh(sn(e,n.returnStrategy),\"_self\")):(r(\"universal-link\"),gn(sn(e,n.returnStrategy)));else if($i(\"macos\",\"windows\",\"linux\")){n.returnStrategy===\"back\"&&(Tt(\"safari\")?n.returnStrategy=\"none\":Tt(\"chrome\")?n.returnStrategy=\"googlechrome://\":Tt(\"firefox\")?n.returnStrategy=\"firefox://\":Tt(\"opera\")?n.returnStrategy=\"opera-http://\":n.returnStrategy=\"none\");let i=sn(e,n.returnStrategy);!!t&&!n.forceRedirect?(r(\"custom-deeplink\"),ws(d1(i,t),()=>{r(\"universal-link\"),gn(i)})):(r(\"universal-link\"),gn(i))}else r(\"universal-link\"),gn(sn(e,n.returnStrategy))}function aT(e,t){if(!t)return e;if(!wa(e))return Sw(e,\"id\",t);let n=oT(e),r=new URL(n);r.searchParams.has(\"startapp\")||r.searchParams.append(\"startapp\",\"tonconnect\");let i=Sw(r.toString(),\"id\",t),a=i.slice(i.lastIndexOf(\"&\")+1);return i.slice(0,i.lastIndexOf(\"&\"))+\"-v__2-\"+n1(a)}function Sw(e,t,n){let r=new URL(e);return r.searchParams.append(t,n),r.toString()}function oT(e){let t=new URL(e);return t.searchParams.has(\"attach\")&&(t.searchParams.delete(\"attach\"),t.pathname+=\"/start\"),t.toString()}function g1(e){let t=new URL(e),[,n,r]=t.pathname.split(\"/\"),i=t.searchParams.get(\"startapp\");return`tg://resolve?domain=${n}&appname=${r}&startapp=${i}`}var sT=e=>{let[t,n]=Je(\"mobile\"),[r,i]=Je(null);Kn(()=>{var L;i((L=e.defaultError)!=null?L:null)});let[a,o]=Je(),[s,l]=Je(!0),c=Cr(Su),u=c.onStatusChange(()=>{},L=>{if(L instanceof iu){i(\"missing-features\");return}e.wallet.appName!==Yi&&i(\"connection-declined\")});Rr(u);let d=()=>{try{let L=c.connect({universalLink:e.wallet.universalLink,bridgeUrl:e.wallet.bridgeUrl},e.additionalRequest);o(L)}catch{}};Kn(()=>{kn(t)!==\"extension\"&&(dh(e.wallet)||O_(e.wallet))&&d()});let h=()=>{i(null),t()===\"extension\"&&d(),n(\"mobile\"),mr(pr(Lt({},e.wallet),{openMethod:\"qrcode\"}))},g=()=>{if(i(null),t()===\"extension\"&&d(),n(\"desktop\"),wa(a()))y();else{let L=!s();l(!1),_h(a(),e.wallet.deepLink,{returnStrategy:Vt.returnStrategy,forceRedirect:L},C=>{mr(pr(Lt({},e.wallet),{openMethod:C}))})}},y=()=>{let L=!s();l(!1),mr(pr(Lt({},e.wallet),{openMethod:\"universal-link\"})),Sh(a(),{returnStrategy:Vt.returnStrategy,twaReturnUrl:Vt.twaReturnUrl,forceRedirect:L})},E=()=>{i(null),n(\"extension\"),ys(e.wallet)&&(mr(e.wallet),c.connect({jsBridgeKey:e.wallet.jsBridgeKey},e.additionalRequest))};return dh(e.wallet)?h():I_(e.wallet)?E():g(),p(EH,{\"data-tc-wallets-modal-connection-desktop\":\"true\",get children(){return[p(tt,{get when(){return!e.backDisabled},get children(){return p(RH,{icon:\"arrow\",onClick:()=>e.onBackClick()})}}),p(BH,{get children(){return e.wallet.name}}),p(tt,{get when(){return Xe(()=>t()===\"mobile\")()&&!r()},get children(){return p(MH,{translationKey:\"walletModal.desktopConnectionModal.scanQR\",get translationValues(){return{name:e.wallet.name}},get children(){return[\"Scan the QR code below with your phone\\u2019s or \",Xe(()=>e.wallet.name),\"\\u2019s camera\"]}})}}),p(AH,{get qr(){return t()===\"mobile\"},get children(){return p(Co,{get children(){return[p(Pt,{get when(){return r()},get children(){return[p(IH,{size:\"s\"}),p(Co,{get children(){return[p(Pt,{get when(){return r()===\"missing-features\"},get children(){return p(su,{translationKey:\"walletModal.desktopConnectionModal.missingFeatures\",get translationValues(){return{name:e.wallet.name}},children:\"Please update Wallet, your version does not support required features for this dApp\"})}}),p(Pt,{get when(){return r()===\"connection-declined\"},get children(){return p(su,{translationKey:\"walletModal.desktopConnectionModal.connectionDeclined\",children:\"Connection declined\"})}}),p(Pt,{get when(){return r()===\"not-supported\"},get children(){return p(su,{translationKey:\"walletModal.desktopConnectionModal.notSupportedWallet\",get translationValues(){return{name:e.wallet.name}},get children(){return[Xe(()=>e.wallet.name),\" doesn\\u2019t support the requested action. Please connect another wallet that supports it.\"]}})}})]}}),p(sh,{get children(){return[p(tt,{get when(){return r()!==\"not-supported\"},get children(){return p(en,{get leftIcon(){return p(fu,{})},get onClick(){return t()===\"extension\"?E:g},get children(){return p(nn,{translationKey:\"common.retry\",children:\"Retry\"})}})}}),p(tt,{get when(){return r()===\"missing-features\"},get children(){return p(Cs,{get href(){return e.wallet.aboutUrl},blank:!0,get children(){return p(en,{get leftIcon(){return p(hu,{})},get children(){return p(nn,{translationKey:\"walletModal.desktopConnectionModal.updateWallet\",get translationValues(){return{name:e.wallet.name}},get children(){return[\"Update \",Xe(()=>e.wallet.name)]}})}})}})}}),p(tt,{get when(){return r()===\"not-supported\"},get children(){return p(en,{onClick:()=>e.onBackClick(),get children(){return p(nn,{translationKey:\"walletModal.desktopConnectionModal.chooseAnotherWallet\",children:\"Choose Another Wallet\"})}})}})]}})]}}),p(Pt,{get when(){return t()===\"mobile\"},get children(){return p(kH,{disableCopy:!1,get sourceUrl(){return sn(a(),\"none\")},get imageUrl(){return e.wallet.imageUrl}})}}),p(Pt,{get when(){return t()===\"extension\"},get children(){return[p(tt,{get when(){return ys(e.wallet)},get children(){return[p(OH,{size:\"s\"}),p(su,{translationKey:\"walletModal.desktopConnectionModal.continueInExtension\",get translationValues(){return{name:e.wallet.name}},get children(){return[\"Continue in \",Xe(()=>e.wallet.name),\" browser extension\\u2026\"]}}),p(sh,{get children(){return p(en,{get leftIcon(){return p(fu,{})},onClick:E,get children(){return p(nn,{translationKey:\"common.retry\",children:\"Retry\"})}})}})]}}),p(tt,{get when(){return!ys(e.wallet)},get children(){return[p(su,{translationKey:\"walletModal.desktopConnectionModal.dontHaveExtension\",get translationValues(){return{name:e.wallet.name}},get children(){return[\"Seems you don't have installed \",Xe(()=>e.wallet.name),\" browser extension\"]}}),p(sh,{get children(){return p(Cs,{get href(){return e.wallet.aboutUrl},blank:!0,get children(){return p(en,{get rightIcon(){return p(hu,{})},onClick:E,get children(){return p(nn,{translationKey:\"walletModal.desktopConnectionModal.getWallet\",get translationValues(){return{name:e.wallet.name}},get children(){return[\"Get \",Xe(()=>e.wallet.name)]}})}})}})}})]}})]}}),p(Pt,{get when(){return t()===\"desktop\"},get children(){return[p(Ba,{size:\"m\"}),p(su,{translationKey:\"walletModal.desktopConnectionModal.continueOnDesktop\",get translationValues(){return{name:e.wallet.name}},get children(){return[\"Continue in \",Xe(()=>e.wallet.name),\" on desktop\\u2026\"]}}),p(sh,{get children(){return[p(en,{get leftIcon(){return p(fu,{})},onClick:g,get children(){return p(nn,{translationKey:\"common.retry\",children:\"Retry\"})}}),p(Cs,{get href(){return e.wallet.aboutUrl},blank:!0,get children(){return p(en,{get rightIcon(){return p(hu,{})},get children(){return p(nn,{translationKey:\"walletModal.desktopConnectionModal.getWallet\",get translationValues(){return{name:e.wallet.name}},get children(){return[\"Get \",Xe(()=>e.wallet.name)]}})}})}})]}})]}})]}})}}),p(tt,{get when(){return e.wallet.appName===Yi},get children(){return p(NH,{get rightIcon(){return p(PH,{get src(){return wh.TG}})},scale:\"s\",onClick:y,get children(){return p(nn,{translationKey:\"walletModal.desktopConnectionModal.openWalletOnTelegram\",children:\"Open Wallet in Telegram on desktop\"})}})}}),p(tt,{get when(){return e.wallet.appName!==Yi},get children(){return p(UH,{get children(){return[p(tt,{get when(){return Xe(()=>t()!==\"mobile\")()&&dh(e.wallet)},get children(){return p(Yv,{appearance:\"secondary\",get leftIcon(){return p(hj,{})},onClick:h,get children(){return p(nn,{translationKey:\"common.mobile\",children:\"Mobile\"})}})}}),p(tt,{get when(){return Xe(()=>t()!==\"extension\")()&&I_(e.wallet)},get children(){return p(Yv,{appearance:\"secondary\",get leftIcon(){return p(dj,{})},onClick:E,get children(){return p(nn,{translationKey:\"common.browserExtension\",children:\"Browser Extension\"})}})}}),p(tt,{get when(){return Xe(()=>t()!==\"desktop\")()&&O_(e.wallet)},get children(){return p(Yv,{appearance:\"secondary\",get leftIcon(){return p(pj,{})},onClick:g,get children(){return p(nn,{translationKey:\"common.desktop\",children:\"Desktop\"})}})}})]}})}})]}})},zH=G.div``,DH=G(To)`\n position: absolute;\n top: 16px;\n left: 16px;\n`,LH=G(bi)`\n margin-bottom: 18px;\n`,Gv=G.div`\n padding: 16px 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n`,Qv=So`\n margin-bottom: 12px;\n`,Xv=G(Z1)`\n text-align: center;\n margin-bottom: 4px;\n`,Jv=G($r)`\n text-align: center;\n max-width: 352px;\n color: ${e=>e.theme.colors.text.secondary};\n`,jH=G.div`\n padding: 16px 24px 24px;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n`,qH={GET_A_WALLET:\"https://ton.org/wallets?filters[wallet_features][slug][$in]=dapp-auth&pagination[limit]=-1\"},lT=e=>p(zH,{\"data-tc-wallets-modal-info\":\"true\",get children(){return[p(DH,{icon:\"arrow\",onClick:()=>e.onBackClick()}),p(LH,{translationKey:\"walletModal.infoModal.whatIsAWallet\",children:\"What is a wallet\"}),p(Pw,{get children(){return[p(Gv,{get children(){return[p(xj,{class:Qv}),p(Xv,{translationKey:\"walletModal.infoModal.secureDigitalAssets\",children:\"Secure digital assets storage\"}),p(Jv,{translationKey:\"walletModal.infoModal.walletProtects\",children:\"A wallet protects and manages your digital assets including TON, tokens and collectables.\"})]}}),p(Gv,{get children(){return[p(Sj,{class:Qv}),p(Xv,{translationKey:\"walletModal.infoModal.controlIdentity\",children:\"Control your Web3 identity\"}),p(Jv,{translationKey:\"walletModal.infoModal.manageIdentity\",children:\"Manage your digital identity and access decentralized applications with ease. Maintain control over your data and engage securely in the blockchain ecosystem.\"})]}}),p(Gv,{get children(){return[p(Tj,{class:Qv}),p(Xv,{translationKey:\"walletModal.infoModal.effortlessCryptoTransactions\",children:\"Effortless crypto transactions\"}),p(Jv,{translationKey:\"walletModal.infoModal.easilySend\",children:\"Easily send, receive, monitor your cryptocurrencies. Streamline your operations with decentralized applications.\"})]}}),p(jH,{get children(){return p(Cs,{get href(){return qH.GET_A_WALLET},blank:!0,get children(){return p(en,{get rightIcon(){return p(vj,{})},get children(){return p(nn,{translationKey:\"walletModal.infoModal.getAWallet\",children:\"Get a Wallet\"})}})}})}})]}})]}}),HH=G.div``,VH=G.div`\n flex: 1;\n margin-top: 18px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n min-height: 232px;\n`,WH=G(bi)`\n max-width: 262px;\n margin: 0 auto 8px;\n`,FH=G(To)`\n position: absolute;\n top: 16px;\n left: 16px;\n`,KH=G.div`\n padding: 16px;\n display: flex;\n align-items: center;\n gap: 12px;\n border-top: 0.5px solid ${e=>Ul(e.theme.colors.icon.secondary,.2)};\n`,$H=G(Ol)`\n width: 36px;\n height: 36px;\n border-radius: 10px;\n`,ZH=G(Cs)`\n margin-left: auto;\n`,YH=G(Ba)`\n margin-bottom: 18px;\n margin-top: 2px;\n`,GH=G(_s)`\n margin-bottom: 16px;\n`,p1=G(ka)`\n color: ${e=>e.theme.colors.text.secondary};\n text-align: center;\n margin-bottom: 20px;\n`,D_=G.div`\n display: flex;\n justify-content: center;\n gap: 8px;\n padding-bottom: 16px;\n`,QH={m:\"16px\",s:\"8px\",none:\"0\"},XH=G(bi)`\n margin-bottom: 2px;\n padding: 0 52px;\n`,JH=G(ka)`\n margin-bottom: 20px;\n padding: 0 64px;\n`,eV=G.div`\n padding: 0 24px 16px;\n`,tV=G.div`\n display: flex;\n flex-direction: row;\n gap: 16px;\n padding: 0 24px 24px;\n margin-top: 0;\n`,L_=G(en)`\n width: 100%;\n height: 56px;\n border-radius: ${e=>QH[e.theme.borderRadius]};\n background-color: ${e=>Ul(e.theme.colors.accent,.12)};\n color: ${e=>e.theme.colors.accent};\n font-size: 16px;\n line-height: 20px;\n font-weight: 500;\n padding: 17px 20px 19px 20px;\n`,nV=e=>[p(XH,{get children(){return e.walletInfo.name}}),p(JH,{translationKey:\"walletModal.mobileConnectionModal.scanQR\",get translationValues(){return{name:e.walletInfo.name}},get children(){return[\"Scan the QR code below with your phone\\u2019s or \",Xe(()=>e.walletInfo.name),\"\\u2019s camera\"]}}),p(eV,{get children(){return p($1,{get imageUrl(){return e.walletInfo.imageUrl},get sourceUrl(){return sn(e.universalLink,\"none\")},disableCopy:!0})}}),p(tV,{get children(){return[p(L_,{appearance:\"secondary\",onClick:()=>{var t;return(t=e.onOpenLink)==null?void 0:t.call(e)},get children(){return p(nn,{translationKey:\"walletModal.mobileUniversalModal.openLink\",children:\"Open Link\"})}}),p(L_,{appearance:\"secondary\",onClick:()=>{var t;return(t=e.onCopy)==null?void 0:t.call(e)},get children(){return p(nn,{get translationKey(){return e.isCopiedShown!==void 0?\"common.copied\":\"common.copyLink\"},get children(){return e.isCopiedShown!==void 0?\"Copied\":\"Copy Link\"}})}})]}})],cT=e=>{let t=pn(),[n,r]=Je(!0),[i,a]=Je(!1),[o,s]=Je(null);Kn(()=>{var T;s((T=e.defaultError)!=null?T:null)});let l=Cr(Su),c=l.onStatusChange(()=>{},()=>{s(null)}),u=dt(()=>l.connect({universalLink:e.wallet.universalLink,bridgeUrl:e.wallet.bridgeUrl},e.additionalRequest)),d=()=>{mr(pr(Lt({},e.wallet),{openMethod:\"universal-link\"})),Sh(u(),{returnStrategy:Vt.returnStrategy,twaReturnUrl:Vt.twaReturnUrl,forceRedirect:!0})},h=()=>{let T=u();if(wa(T))return d();s(null);let R=!n();r(!1),_h(u(),e.wallet.deepLink,{returnStrategy:Vt.returnStrategy,forceRedirect:R},O=>{mr(pr(Lt({},e.wallet),{openMethod:O}))})},[g,y]=Je(void 0),E=()=>vt(null,null,function*(){g()!==void 0&&clearTimeout(g()),yield K1(u());let T=setTimeout(()=>y(void 0),1500);y(T)}),L=()=>{s(null),a(!0),mr(pr(Lt({},e.wallet),{openMethod:\"qrcode\"}))},C=()=>{a(!1),mr(pr(Lt({},e.wallet),{openMethod:\"universal-link\"}))},v=()=>{i()?C():e.onBackClick()};return Rr(c),h(),p(HH,{\"data-tc-wallets-modal-connection-mobile\":\"true\",get children(){return[p(tt,{get when(){return!e.backDisabled||i()},get children(){return p(FH,{icon:\"arrow\",onClick:v})}}),p(tt,{get when(){return i()},get children(){return p(nV,{get universalLink(){return u()},get walletInfo(){return e.wallet},onOpenLink:h,onCopy:E,get isCopiedShown(){return g()}})}}),p(tt,{get when(){return!i()},get children(){return[p(WH,{get children(){return e.wallet.name}}),p(VH,{get children(){return[p(tt,{get when(){return o()},get children(){return[p(GH,{size:\"s\"}),p(Co,{get children(){return[p(Pt,{get when(){return o()===\"missing-features\"},get children(){return p(p1,{translationKey:\"walletModal.mobileConnectionModal.missingFeatures\",get translationValues(){return{name:e.wallet.name}},children:\"Please update Wallet, your version does not support required features for this dApp\"})}}),p(Pt,{get when(){return o()===\"connection-declined\"},get children(){return p(p1,{translationKey:\"walletModal.mobileConnectionModal.connectionDeclined\",children:\"Connection declined\"})}}),p(Pt,{get when(){return o()===\"not-supported\"},get children(){return p(p1,{translationKey:\"walletModal.mobileConnectionModal.notSupportedWallet\",get translationValues(){return{name:e.wallet.name}},get children(){return[Xe(()=>e.wallet.name),\" doesn\\u2019t support the requested action. Please connect another wallet that supports it.\"]}})}})]}}),p(D_,{get children(){return p(Co,{get children(){return[p(Pt,{get when(){return o()===\"missing-features\"},get children(){return[p(en,{get leftIcon(){return p(fu,{})},onClick:h,get children(){return p(nn,{translationKey:\"common.retry\",children:\"Retry\"})}}),p(Cs,{get href(){return e.wallet.aboutUrl},blank:!0,get children(){return p(en,{get leftIcon(){return p(hu,{})},get children(){return p(nn,{translationKey:\"walletModal.mobileConnectionModal.updateWallet\",get translationValues(){return{name:e.wallet.name}},get children(){return[\"Update \",Xe(()=>e.wallet.name)]}})}})}})]}}),p(Pt,{get when(){return o()===\"not-supported\"},get children(){return p(en,{onClick:()=>e.onBackClick(),get children(){return p(nn,{translationKey:\"walletModal.mobileConnectionModal.chooseAnotherWallet\",children:\"Choose Another Wallet\"})}})}}),p(Pt,{get when(){return o()===\"connection-declined\"},get children(){return[p(en,{get leftIcon(){return p(fu,{})},onClick:h,get children(){return p(nn,{translationKey:\"common.retry\",children:\"Retry\"})}}),p(en,{get leftIcon(){return p(ww,{get fill(){return t.colors.accent}})},onClick:L,get children(){return p(nn,{translationKey:\"walletModal.mobileConnectionModal.showQR\",children:\"Show QR Code\"})}})]}})]}})}})]}}),p(tt,{get when(){return!o()},get children(){return[p(YH,{size:\"s\"}),p(p1,{translationKey:\"walletModal.mobileConnectionModal.continueIn\",get translationValues(){return{name:e.wallet.name}},get children(){return[\"Continue in \",Xe(()=>e.wallet.name),\"\\u2026\"]}}),p(D_,{get children(){return[p(en,{get leftIcon(){return p(fu,{})},onClick:h,get children(){return p(nn,{translationKey:\"common.retry\",children:\"Retry\"})}}),p(en,{get leftIcon(){return p(ww,{get fill(){return t.colors.accent}})},onClick:L,get children(){return p(nn,{translationKey:\"walletModal.mobileConnectionModal.showQR\",children:\"Show QR Code\"})}})]}})]}})]}}),p(KH,{get children(){return[p($H,{get src(){return e.wallet.imageUrl}}),p(Z1,{get children(){return e.wallet.name}}),p(ZH,{get href(){return e.wallet.aboutUrl},blank:!0,get children(){return p(en,{get children(){return p(nn,{translationKey:\"common.get\",children:\"GET\"})}})}})]}})]}})]}})},rV={m:\"16px\",s:\"12px\",none:\"0\"},iV={m:\"6px\",s:\"6px\",none:\"0\"};G.li`\n width: 82px;\n min-width: 82px;\n height: 124px;\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 8px 4px;\n\n text-align: center;\n cursor: pointer;\n\n transition: transform 0.1s ease-in-out;\n\n ${bh} {\n &:hover {\n transform: scale(1.04);\n }\n }\n\n &:active {\n transform: scale(0.96);\n }\n\n ${yh} {\n &:active {\n transform: scale(0.92);\n }\n }\n`;var aV=G(bi)`\n margin-top: 38px;\n margin-bottom: 4px;\n padding: 0 24px;\n`,j_=G(ka)`\n margin: ${e=>{var t;return(t=e.margin)!=null?t:\"0 0 28px 0\"}};\n padding: ${e=>{var t;return(t=e.padding)!=null?t:\"0 24px\"}};\n min-height: ${e=>{var t;return(t=e.padding)!=null?t:\"44px\"}};\n max-width: ${e=>e.maxWidth}px;\n margin-left: ${e=>e.maxWidth?\"auto\":\"0px\"};\n margin-right: ${e=>e.maxWidth?\"auto\":\"0px\"};\n`;G(en)`\n display: block;\n margin: 0 auto;\n`;var oV=G(en)`\n margin: 0 28px 24px;\n width: calc(100% - 56px);\n border-radius: ${e=>rV[e.theme.borderRadius]};\n padding: 14px 16px 14px 14px;\n background-color: ${e=>e.theme.colors.telegramButton};\n\n color: ${e=>e.theme.colors.constant.white};\n font-weight: 500;\n font-size: 16px;\n line-height: 20px;\n\n @media (max-width: 375px) {\n margin: 0 16px 24px;\n width: calc(100% - 32px);\n }\n`,sV=G(Ol)`\n background-color: transparent;\n border-radius: ${e=>iV[e.theme.borderRadius]};\n width: 24px;\n height: 24px;\n`,q_=G(To)`\n position: absolute;\n top: 16px;\n left: 16px;\n`,lV={m:\"16px\",s:\"8px\",none:\"0\"},cV=G(bi)`\n margin-bottom: 2px;\n padding: 0 52px;\n`,uV=G(ka)`\n margin-bottom: 20px;\n padding: 0 64px;\n`,dV=G.div`\n padding: 0 24px 16px;\n`,fV=G.div`\n display: flex;\n flex-direction: row;\n gap: 16px;\n padding: 0 24px 24px;\n margin-top: 0;\n`,H_=G(en)`\n width: 100%;\n height: 56px;\n border-radius: ${e=>lV[e.theme.borderRadius]};\n background-color: ${e=>Ul(e.theme.colors.accent,.12)};\n color: ${e=>e.theme.colors.accent};\n font-size: 16px;\n line-height: 20px;\n font-weight: 500;\n padding: 17px 20px 19px 20px;\n`,hV=e=>[p(cV,{translationKey:\"walletModal.mobileUniversalModal.connectYourWallet\",children:\"Connect your TON wallet\"}),p(uV,{translationKey:\"walletModal.mobileUniversalModal.scan\",children:\"Scan with your mobile wallet\"}),p(dV,{get children(){return p($1,{get imageUrl(){return wh.TON},get sourceUrl(){return sn(e.universalLink,\"none\")},disableCopy:!0})}}),p(fV,{get children(){return[p(H_,{appearance:\"secondary\",onClick:()=>e.onOpenLink(),get children(){return p(nn,{translationKey:\"walletModal.mobileUniversalModal.openLink\",children:\"Open Link\"})}}),p(H_,{appearance:\"secondary\",onClick:()=>e.onCopy(),get children(){return p(nn,{get translationKey(){return e.isCopiedShown!==void 0?\"common.copied\":\"common.copyLink\"},get children(){return e.isCopiedShown!==void 0?\"Copied\":\"Copy Link\"}})}})]}})];function uT(e){let t=new Set(e.filter(i1).map(n=>n.bridgeUrl));return Array.from(t).map(n=>({bridgeUrl:n}))}function dT(e,t){let n=new Set(e?.map(i=>i.bridgeUrl)),r=new Set(t?.map(i=>i.bridgeUrl));return n.size===r.size&&[...n].every(i=>r.has(i))}var V_=Bt(\"<li>\"),gV=Bt(\"<div data-tc-wallets-modal-universal-mobile=true>\"),pV=e=>{let[t,n]=Je(!1),[r,i]=Je(!0),[a,o]=Je(null),s=Vt.connector,l=()=>e.walletsList.filter(B=>dh(B)&&B.appName!==Yi),c=()=>l().length>7,u=dt(()=>uT(e.walletsList),null,{equals:dT}),d=dt(()=>{var B,q;return(q=(B=e.walletsList.find(z=>z.appName===Yi))==null?void 0:B.isSupportRequiredFeatures)!=null?q:!1},null),h=()=>(a()||o(s.connect(u(),e.additionalRequest)),a());mr({openMethod:\"universal-link\"});let[g,y]=Je(void 0),E=()=>vt(null,null,function*(){g()!==void 0&&clearTimeout(g()),yield K1(h());let B=setTimeout(()=>y(void 0),1500);y(B)}),L=()=>{let B=!r();i(!1),_h(h(),void 0,{returnStrategy:Vt.returnStrategy,forceRedirect:B},q=>{mr({openMethod:q})})},C=()=>{o(null);let B=e.walletsList.find(K=>K.appName===Yi);if(!B||!i1(B))throw new vn(\"@wallet bot not found in the wallets list\");let q=s.connect({bridgeUrl:B.bridgeUrl,universalLink:B.universalLink},e.additionalRequest),z=!r();i(!1),Sh(q,{returnStrategy:Vt.returnStrategy,twaReturnUrl:Vt.twaReturnUrl,forceRedirect:z})},v=()=>{n(!0),mr({openMethod:\"qrcode\"})},T=()=>{n(!1),mr({openMethod:\"universal-link\"})},R=dt(()=>l().filter(B=>B.isSupportRequiredFeatures),null),O=dt(()=>R().slice(0,3),null),re=dt(()=>l().filter(B=>!O().find(q=>q.appName===B.appName)).slice(0,4),null);return(()=>{var B=gV();return sr(B,p(tt,{get when(){return t()},get children(){return[p(q_,{icon:\"arrow\",onClick:T}),p(hV,{get universalLink(){return h()},get isCopiedShown(){return g()},onOpenLink:L,onCopy:E})]}}),null),sr(B,p(tt,{get when(){return!t()},get children(){return[p(q_,{get icon(){return p(ww,{})},onClick:v}),p(aV,{translationKey:\"walletModal.mobileUniversalModal.connectYourWallet\",children:\"Connect your TON wallet\"}),p(tt,{get when(){return d()},get children(){return[p(j_,{translationKey:\"walletModal.mobileUniversalModal.openWalletOnTelegramOrSelect\",maxWidth:320,children:\"Use Wallet in Telegram or choose other application\"}),p(oV,{get leftIcon(){return p(Aj,{})},get rightIcon(){return p(sV,{get src(){return wh.TG}})},onClick:C,scale:\"s\",get children(){return p(nn,{translationKey:\"walletModal.mobileUniversalModal.openWalletOnTelegram\",children:\"Connect Wallet in Telegram\"})}})]}}),p(j_,{translationKey:\"walletModal.mobileUniversalModal.chooseOtherApplication\",maxWidth:342,padding:\"0 24px 8px 24px\",margin:\"0\",children:\"Choose other application\"}),p(LL,{get children(){return[p(pu,{get each(){return Xe(()=>!!c())()?O():R()},children:q=>(()=>{var z=V_();return sr(z,p(N1,{get icon(){return q.imageUrl},get name(){return q.name},onClick:()=>e.onSelect(q)})),z})()}),p(tt,{get when(){return c()},get children(){var q=V_();return sr(q,p(j7,{labelLine1:\"View all\",labelLine2:\"wallets\",get images(){return re().map(z=>z.imageUrl)},onClick:()=>e.onSelectAllWallets()})),q}})]}})]}}),null),B})()},fT={m:\"16px\",s:\"8px\",none:\"0\"},mV={m:\"8px\",s:\"4px\",none:\"0\"},yV=G.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n padding-bottom: 16px;\n`,bV=G(ka)`\n max-width: 320px;\n margin-top: 2px;\n margin-bottom: 20px;\n`,vV=G(ka)`\n margin-bottom: 16px;\n`,wV=G($1)`\n margin-bottom: 24px;\n`,xV=G.ul`\n display: flex;\n`;G.div`\n display: flex;\n gap: 16px;\n width: 100%;\n`;G(en)`\n position: relative;\n font-size: 16px;\n line-height: 20px;\n width: 100%;\n padding: 0 16px;\n height: 56px;\n border-radius: ${e=>fT[e.theme.borderRadius]};\n\n &:hover {\n ${e=>e.disableEventsAnimation?\"transform: unset;\":\"\"}\n }\n\n &:active {\n ${e=>e.disableEventsAnimation?\"transform: unset;\":\"\"}\n }\n`;G.ul`\n position: absolute;\n bottom: 100%;\n left: 0;\n margin: 0;\n padding: 8px;\n width: 188px;\n transform: translateY(-16px);\n\n background-color: ${e=>e.theme.colors.background.primary};\n border-radius: ${e=>fT[e.theme.borderRadius]};\n box-shadow: 0 4px 24px rgba(0, 0, 0, 0.16);\n`;G.li`\n padding: 8px;\n\n display: flex;\n align-items: center;\n gap: 8px;\n\n cursor: pointer;\n border-radius: ${e=>mV[e.theme.borderRadius]};\n\n transition:\n background-color,\n transform 0.1s ease-in-out;\n\n &:hover {\n background-color: ${e=>e.theme.colors.background.secondary};\n }\n\n &:active {\n transform: scale(0.96);\n }\n`;G(Ol)`\n width: 24px;\n height: 24px;\n\n border-radius: 6px;\n`;G.div`\n margin-top: 23px;\n margin-bottom: 1px;\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n`;G($r)`\n color: ${e=>e.theme.colors.text.secondary};\n font-size: 16px;\n`;var CV=Bt(\"<li>\"),SV=e=>{let[t,n]=Je(!1),r=Vt.connector,i=dt(()=>uT(e.walletsList),null,{equals:dT});mr({openMethod:\"qrcode\"});let a=dt(()=>r.connect(i(),e.additionalRequest)),o=dt(()=>e.walletsList.filter(c=>c.isSupportRequiredFeatures),null),s=dt(()=>o().slice(0,3),null),l=dt(()=>e.walletsList.filter(c=>!s().find(u=>u.appName===c.appName)).slice(0,4),null);return p(yV,{onClick:()=>n(!1),\"data-tc-wallets-modal-universal-desktop\":\"true\",get children(){return[p(bi,{translationKey:\"walletModal.desktopUniversalModal.connectYourWallet\",children:\"Connect your wallet\"}),p(bV,{translationKey:\"walletModal.desktopUniversalModal.scan\",children:\"Scan with your mobile wallet\"}),p(wV,{get sourceUrl(){return sn(a(),\"none\")},get disableCopy(){return t()},get imageUrl(){return wh.TON}}),p(vV,{translationKey:\"walletModal.desktopUniversalModal.availableWallets\",children:\"Available wallets\"}),p(xV,{get children(){return[p(pu,{get each(){return s()},children:c=>(()=>{var u=CV();return sr(u,p(q7,{wallet:c,onClick:()=>e.onSelect(c)})),u})()}),p(j7,{labelLine1:\"View all\",labelLine2:\"wallets\",get images(){return l().map(c=>c.imageUrl)},onClick:()=>e.onSelectAllWallets()})]}})]}})},_V={m:\"16px\",s:\"8px\",none:\"0\"},TV=G(bi)`\n max-width: 288px;\n margin: 0 auto 38px;\n`,W_=G.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n`,EV=G(To)`\n position: absolute;\n top: 16px;\n left: 16px;\n`,F_=G(bi)`\n text-align: center;\n font-size: 20px;\n line-height: 28px;\n`,AV=G($r)`\n margin-top: 12px;\n margin-bottom: 24px;\n text-align: center;\n max-width: 360px;\n font-weight: 400;\n color: ${e=>e.theme.colors.text.secondary};\n`;G.button`\n background: transparent;\n border: none;\n padding: 0;\n margin: 0;\n color: ${e=>e.theme.colors.accent};\n text-decoration: underline;\n cursor: pointer;\n font: inherit;\n`;var ew=G.div`\n margin-bottom: 46px;\n`,K_=G(_s)`\n margin-bottom: 16px;\n`;G.ul`\n display: flex;\n gap: 8px;\n margin-bottom: 24px;\n list-style: none;\n padding: 0;\n`;var kV=G(en)`\n max-width: 320px;\n width: 100%;\n height: 48px;\n font-size: 16px;\n line-height: 20px;\n border-radius: ${e=>_V[e.theme.borderRadius]};\n margin-bottom: 28px;\n`,BV=G(ka)`\n color: ${e=>e.theme.colors.text.secondary};\n text-align: center;\n margin-bottom: 20px;\n`,MV=G.div`\n display: flex;\n justify-content: center;\n gap: 8px;\n padding-bottom: 31px;\n`,RV=G.div`\n margin: 0 8px 16px 8px;\n`,UV=G(To)`\n position: absolute;\n top: 16px;\n left: 16px;\n`,OV=G(bi)`\n margin-bottom: 18px;\n text-align: center;\n`,tw=G.div`\n padding: 16px 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n`;G.div`\n margin-bottom: 12px;\n`;var nw=G(Z1)`\n text-align: center;\n margin-bottom: 4px;\n`,rw=G($r)`\n text-align: center;\n max-width: 352px;\n color: ${e=>e.theme.colors.text.secondary};\n`,iw=G.div`\n width: 44px;\n height: 44px;\n border-radius: 20px;\n background-color: ${e=>{var t;return(t=e.theme)==null?void 0:t.colors.icon.secondary}};\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 12px;\n font-weight: 700;\n font-size: 22px;\n color: ${e=>{var t;return(t=e.theme)==null?void 0:t.colors.text.primary}};\n`,IV=e=>p(RV,{\"data-tc-wallets-modal-restore\":\"true\",get children(){return[p(UV,{icon:\"arrow\",get onClick(){return e.onBackClick}}),p(OV,{translationKey:\"walletModal.restoreInfoModal.title\",children:\"Restore\"}),p(Pw,{get children(){return[p(tw,{get children(){return[p(iw,{children:\"1\"}),p(nw,{translationKey:\"walletModal.restoreModal.step1.title\",children:\"Find your current recovery phrase\"}),p(rw,{translationKey:\"walletModal.restoreModal.step1.text\",children:\"Open your wallet settings and locate the\\xA0recovery\\xA0phrase\"})]}}),p(tw,{get children(){return[p(iw,{children:\"2\"}),p(nw,{translationKey:\"walletModal.restoreModal.step2.title\",children:\"Copy your recovery phrase\"}),p(rw,{translationKey:\"walletModal.restoreModal.step2.text\",children:\"Write it down or copy it to a safe place\"})]}}),p(tw,{get children(){return[p(iw,{children:\"3\"}),p(nw,{translationKey:\"walletModal.restoreModal.step3.title\",children:\"Restore in a supported wallet from\\xA0the\\xA0list\\xA0below\"}),p(rw,{translationKey:\"walletModal.restoreModal.step3.text\",children:\"Enter the recovery phrase to access your wallet\"})]}})]}})]}}),NV=e=>{let[t,n]=Je(null),[r,i]=Je(!1),a=dt(()=>e.walletsList.find(c=>c.appName===e.currentWallet.device.appName||c.name===e.currentWallet.device.appName)),o=dt(()=>{var c,u,d,h;return((u=(c=a())==null?void 0:c.appName)!=null?u:e.currentWallet.device.appName)===Yi?\"Wallet in Telegram\":(h=(d=a())==null?void 0:d.name)!=null?h:e.currentWallet.device.appName}),s=dt(()=>{let c=a();if(!c?.features)return!1;let u=e.walletsModalState.requiredFeature,d=u?{[u.featureName]:u.value}:{},h=th(c.features,d),g=th(e.currentWallet.device.features,d);return h&&!g}),l=()=>vt(null,null,function*(){yield e.onDisconnect(),e.onSelect(t())});return p(W_,{get children(){return p(Co,{get children(){return[p(Pt,{get when(){return r()},get children(){return p(IV,{onBackClick:()=>i(!1)})}}),p(Pt,{get when(){return t()},get children(){return[p(ew,{}),p(W_,{get children(){return[p(EV,{icon:\"arrow\",onClick:()=>n(null)}),p(F_,{translationKey:\"walletModal.featureNotSupported.disconnect.title\",children:\"Confirm Disconnect\"}),p(AV,{translationKey:\"walletModal.featureNotSupported.disconnect.description\",get translationValues(){return{name:t().name}},get children(){return[\"You will be disconnected from your current wallet and redirected to connect \",Xe(()=>{var c;return(c=t())==null?void 0:c.name}),\".\"]}}),p(kV,{onClick:()=>l(),get children(){return p(nn,{translationKey:\"walletModal.featureNotSupported.disconnect.button\",children:\"Disconnect\"})}})]}})]}}),p(Pt,{get when(){return s()},get children(){return[p(TV,{get children(){return o()}}),p(K_,{size:\"s\"}),p(BV,{translationKey:\"walletModal.featureNotSupported.version.description\",get translationValues(){return{name:o()}},get children(){return[\"Your current version of \",Xe(()=>o()),\" or wallet contract type doesn't support the required features. Please update it to continue.\"]}}),p(MV,{get children(){return[p(Cs,{get href(){return a().aboutUrl},blank:!0,get children(){return p(en,{get leftIcon(){return p(hu,{})},get children(){return p(nn,{translationKey:\"walletModal.featureNotSupported.version.updateButton\",get translationValues(){return{name:o()}},get children(){return[\"Update \",Xe(()=>o())]}})}})}}),p(Cs,{href:\"https://tonkeeper.helpscoutdocs.com/article/102-w5\",blank:!0,get children(){return p(en,{get leftIcon(){return p(hu,{})},get children(){return p(nn,{translationKey:\"walletModal.featureNotSupported.version.aboutW5\",children:\"About W5\"})}})}})]}})]}}),p(Pt,{when:!0,get children(){return[p(ew,{}),p(K_,{size:\"s\"}),p(F_,{translationKey:\"walletModal.featureNotSupported.wallet.title\",get translationValues(){return{name:o()}},get children(){return[Xe(()=>o()),\" doesn\\u2019t support the requested\\xA0action\"]}}),p(ew,{})]}})]}})}})},PV=()=>{let{locale:e}=Ji()[1];Kn(()=>e(Vt.language)),Kn(()=>{h_()?(P1(),i()):(o(null),u(\"universal\"),h(!1))});let t=Cr(Su),n=Cr(Eo),[r,{refetch:i}]=az(()=>n.getWallets()),[a,o]=Je(null),[s,l]=Je(null),[c,u]=Je(\"universal\"),[d,h]=Je(!1),g=dt(()=>{let B=gh();return\"type\"in B&&B.type===\"wallet-not-support-feature\"}),y=dt(()=>{var B;if(r.state!==\"ready\")return null;let q=Vw(r(),Vt.walletsListConfiguration),z=q.filter(ys),K=q.filter(I=>!ys(I));q=(z||[]).concat(K);let j=Vt.preferredWalletAppName,N=q.find(I=>vs(I,j)),pe=q.filter(I=>vs(I,j)).length>=2;j&&N&&!pe&&(q=[pr(Lt({},N),{isPreferred:!0})].concat(q.filter(I=>!vs(I,j))));let le=q.find(I=>vs(I,Yi));le&&(q=[le].concat(q.filter(I=>!vs(I,Yi))));let se=(B=n?.walletsRequiredFeatures)!=null?B:n?.walletsPreferredFeatures;return q.map(I=>{var Fe;return pr(Lt({},I),{isSupportRequiredFeatures:se?th((Fe=I.features)!=null?Fe:[],se):!0})})}),E=()=>{var B;return((B=Vt.connectRequestParameters)==null?void 0:B.state)===\"loading\"},L=dt(()=>{var B;if(!E())return(B=Vt.connectRequestParameters)==null?void 0:B.value}),C=B=>{n.closeModal(B)},v=t.onStatusChange(B=>{B&&C(\"wallet-selected\")},B=>{var q;if(B instanceof iu){let z=B.cause.connectEvent.device.appName.toLowerCase(),K=(q=y())==null?void 0:q.find(N=>N.appName.toLowerCase()===z);if(!K)throw new He(\"Wallet not found\");let j=K.isSupportRequiredFeatures?\"missing-features\":\"not-supported\";l(j),o(K)}}),T=()=>{u(\"all-wallets\")},R=()=>{u(\"universal\")},O=B=>{o(B),qn.openWalletsModal()},re=()=>{o(null),l(null)};return Rr(()=>{o(null),l(null),h(!1)}),Rr(v),p(nT,{get opened(){return h_()},get enableAndroidBackHandler(){return Vt.enableAndroidBackHandler},onClose:()=>C(\"action-cancelled\"),onClickQuestion:()=>h(B=>!B),get showFooter(){return!g()},\"data-tc-wallets-modal-container\":\"true\",get children(){return[p(tt,{get when(){return d()},get children(){return p(lT,{onBackClick:()=>h(!1)})}}),p(tt,{get when(){return!d()},get children(){return[p(tt,{get when(){return E()||!y()},get children(){return[p(rT,{translationKey:\"walletModal.loading\",children:\"Wallets list is loading\"}),p(iT,{get children(){return p(Ba,{size:\"m\"})}})]}}),p(tt,{get when(){return Xe(()=>!E())()&&y()},get children(){return p(Co,{get children(){return[p(Pt,{get when(){return g()},get children(){return p(NV,{get walletsList(){return y()},get currentWallet(){return n?.wallet},onSelect:O,onSelectAllWallets:T,onDisconnect:()=>t.disconnect(),get walletsModalState(){return gh()},onClose:()=>C(\"action-cancelled\")})}}),p(Pt,{get when(){return a()},get children(){return p(mu,{get component(){return vu()?cT:sT},get wallet(){return a()},get additionalRequest(){return L()},onBackClick:re,get defaultError(){return s()}})}}),p(Pt,{get when(){return c()===\"universal\"},get children(){return p(mu,{get component(){return vu()?pV:SV},onSelect:o,get walletsList(){return y()},get additionalRequest(){return L()},onSelectAllWallets:T})}}),p(Pt,{get when(){return c()===\"all-wallets\"},get children(){return p(SH,{get walletsList(){return y()},get featureCheckMode(){return n?.walletsRequiredFeatures?\"strict\":\"soft\"},onBack:R,onSelect:o})}})]}})}})]}})]}})},zV=G.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n padding-bottom: 8px;\n`,DV=G(bi)`\n margin-top: 16px;\n`,LV=G($r)`\n font-weight: 510;\n font-size: 16px;\n line-height: 20px;\n text-align: center;\n max-width: 250px;\n\n color: ${e=>e.theme.colors.text.secondary};\n`,jV=G(en)`\n min-width: 112px;\n margin-top: 32px;\n`,qV=G(Ba)`\n height: 16px;\n width: 16px;\n`,$_=G(en)`\n margin-top: 32px;\n`,Tu=e=>{let t=vh(e),n=Cr(Eo),[r,i]=Je(!0),[a,o]=Je(!1),[s,l]=Je(!1),[c,u]=Je(!1);Kn(()=>{let y=Ii();o(!!y&&(\"sent\"in y&&y.sent||y.name===\"transaction-sent\")),l(!!y&&(\"signed\"in y&&y.signed||y.name===\"data-signed\")),u(!!y&&(y.name===\"transaction-canceled\"||y.name===\"sign-data-canceled\"))});let d;n?.wallet&&\"universalLink\"in n.wallet&&(n.wallet.openMethod===\"universal-link\"||wa(n.wallet.universalLink)&&Zi())&&(d=n.wallet.universalLink);let h;n?.wallet&&\"deepLink\"in n.wallet&&(n.wallet.openMethod===\"custom-deeplink\"||wa(n.wallet.deepLink)&&Zi())&&(h=n.wallet.deepLink);let g=()=>{let y=Ii(),E=\"returnStrategy\"in y?y.returnStrategy:Vt.returnStrategy,L=!r();i(!1);let C=aT(d,y.sessionId);wa(d)?Sh(C,{returnStrategy:E,twaReturnUrl:\"twaReturnUrl\"in y?y.twaReturnUrl:Vt.twaReturnUrl,forceRedirect:L}):_h(C,h,{returnStrategy:E,forceRedirect:L},()=>{})};return p(zV,Ca(t,{get children(){return[Xe(()=>e.icon),p(DV,{get translationKey(){return e.headerTranslationKey},get translationValues(){return e.headerTranslationValues}}),p(LV,{get translationKey(){return e.textTranslationKey},get translationValues(){return e.textTranslationValues}}),p(tt,{get when(){return!a()&&!s()&&!c()&&(e.showButton===\"open-wallet\"&&d||e.showButton!==\"open-wallet\")},get children(){return p(jV,{disabled:!0,\"data-tc-connect-button-loading\":\"true\",get children(){return p(qV,{})}})}}),p(tt,{get when(){return a()||s()},get children(){return[p(tt,{get when(){return e.showButton!==\"open-wallet\"},get children(){return p($_,{onClick:()=>e.onClose(),get children(){return p(nn,{translationKey:\"common.close\",children:\"Close\"})}})}}),p(tt,{get when(){return e.showButton===\"open-wallet\"&&d},get children(){return p($_,{onClick:g,get children(){return p(nn,{translationKey:\"common.openWallet\",children:\"Open wallet\"})}})}})]}})]}}))},HV=e=>{let t=Cr(Eo),[n]=Ji(),r=()=>t.wallet&&\"name\"in t.wallet?t.wallet.name:n(\"common.yourWallet\",{},\"Your wallet\");return p(Tu,{headerTranslationKey:\"actionModal.confirmTransaction.header\",get headerTranslationValues(){return{name:r()}},textTranslationKey:\"actionModal.confirmTransaction.text\",get icon(){return p(Ba,{size:\"m\"})},onClose:()=>e.onClose(),showButton:\"open-wallet\",\"data-tc-confirm-modal\":\"true\"})},VV=e=>p(Tu,{headerTranslationKey:\"actionModal.transactionCanceled.header\",textTranslationKey:\"actionModal.transactionCanceled.text\",get icon(){return p(_s,{size:\"m\"})},onClose:()=>e.onClose(),\"data-tc-transaction-canceled-modal\":\"true\"}),WV=e=>p(Tu,{headerTranslationKey:\"actionModal.transactionSent.header\",textTranslationKey:\"actionModal.transactionSent.text\",get icon(){return p(Y1,{size:\"m\"})},showButton:\"open-wallet\",onClose:()=>e.onClose(),\"data-tc-transaction-sent-modal\":\"true\"}),FV=e=>{let t=Cr(Eo),[n]=Ji(),r=()=>t.wallet&&\"name\"in t.wallet?t.wallet.name:n(\"common.yourWallet\",{},\"Your wallet\");return p(Tu,{headerTranslationKey:\"actionModal.signData.header\",get headerTranslationValues(){return{name:r()}},textTranslationKey:\"actionModal.signData.text\",get icon(){return p(Ba,{size:\"m\"})},onClose:()=>e.onClose(),showButton:\"open-wallet\",\"data-tc-sign-data-confirm-modal\":\"true\"})},KV=e=>p(Tu,{headerTranslationKey:\"actionModal.signDataCanceled.header\",get icon(){return p(_s,{size:\"m\"})},onClose:()=>e.onClose(),\"data-tc-sign-data-canceled-modal\":\"true\"}),$V=e=>p(Tu,{headerTranslationKey:\"actionModal.dataSigned.header\",get icon(){return p(Y1,{size:\"m\"})},onClose:()=>e.onClose(),\"data-tc-data-signed-modal\":\"true\"}),ZV=()=>p(P7,{get opened(){var e;return Xe(()=>Ii()!==null)()&&((e=Ii())==null?void 0:e.openModal)===!0},get enableAndroidBackHandler(){return Vt.enableAndroidBackHandler},onClose:()=>bo(null),showFooter:!1,\"data-tc-actions-modal-container\":\"true\",get children(){return p(Co,{get children(){return[p(Pt,{get when(){return Ii().name===\"transaction-sent\"},get children(){return p(WV,{onClose:()=>bo(null)})}}),p(Pt,{get when(){return Ii().name===\"transaction-canceled\"},get children(){return p(VV,{onClose:()=>bo(null)})}}),p(Pt,{get when(){return Ii().name===\"confirm-transaction\"},get children(){return p(HV,{onClose:()=>bo(null)})}}),p(Pt,{get when(){return Ii().name===\"data-signed\"},get children(){return p($V,{onClose:()=>bo(null)})}}),p(Pt,{get when(){return Ii().name===\"sign-data-canceled\"},get children(){return p(KV,{onClose:()=>bo(null)})}}),p(Pt,{get when(){return Ii().name===\"confirm-sign-data\"},get children(){return p(FV,{onClose:()=>bo(null)})}})]}})}}),YV=()=>{let{locale:e}=Ji()[1];Kn(()=>e(Vt.language)),Kn(()=>{p_()&&P1()});let t=Cr(Su),n=Cr(Eo),[r,i]=Je(!1),a=()=>{var c;return((c=Vt.connectRequestParameters)==null?void 0:c.state)===\"loading\"},o=dt(()=>{var c;if(!a())return(c=Vt.connectRequestParameters)==null?void 0:c.value}),s=c=>{n.closeSingleWalletModal(c)},l=t.onStatusChange(c=>{c&&s(\"wallet-selected\")});return Rr(l),Rr(()=>{i(!1)}),p(nT,{get opened(){return p_()},get enableAndroidBackHandler(){return Vt.enableAndroidBackHandler},onClose:()=>s(\"action-cancelled\"),onClickQuestion:()=>i(c=>!c),showFooter:!0,\"data-tc-wallets-modal-container\":\"true\",get children(){return[p(tt,{get when(){return r()},get children(){return p(lT,{onBackClick:()=>i(!1)})}}),p(tt,{get when(){return!r()},get children(){return[p(tt,{get when(){return a()},get children(){return[p(rT,{translationKey:\"walletModal.loading\",children:\"Wallets list is loading\"}),p(iT,{get children(){return p(Ba,{size:\"m\"})}})]}}),p(tt,{get when(){return!a()},get children(){return p(mu,{get component(){return vu()?cT:sT},get wallet(){return sD()},get additionalRequest(){return o()},onBackClick:()=>{},backDisabled:!0})}})]}})]}})},GV=e=>{let t=OL(_D,Vt.language);return rD(),nD(),p(D7.Provider,{value:t,get children(){return p(Eo.Provider,{get value(){return e.tonConnectUI},get children(){return p(Su.Provider,{get value(){return Vt.connector},get children(){return[p(Zz,{}),p(Kz,{theme:RD,get children(){return[p(tt,{get when(){return Vt.buttonRootId},get children(){return p(p7,{get mount(){return document.getElementById(Vt.buttonRootId)},get children(){return p(uH,{})}})}}),p(mu,{component:vo,get children(){return[p(PV,{}),p(YV,{}),p(ZV,{})]}})]}})]}})}})}})},qn={openWalletsModal:()=>void setTimeout(()=>Hv({status:\"opened\",closeReason:null})),closeWalletsModal:e=>void setTimeout(()=>Hv({status:\"closed\",closeReason:e})),openSingleWalletModal:e=>{setTimeout(()=>g_({status:\"opened\",closeReason:null,walletInfo:e}))},closeSingleWalletModal:e=>void setTimeout(()=>g_({status:\"closed\",closeReason:e})),openWalletNotSupportFeatureModal:e=>void setTimeout(()=>Hv({status:\"opened\",closeReason:null,type:\"wallet-not-support-feature\",requiredFeature:e.requiredFeature})),setAction:e=>void setTimeout(()=>bo(e)),clearAction:()=>void setTimeout(()=>bo(null)),getSelectedWalletInfo:()=>lD(),removeSelectedWalletInfo:()=>mr(null),renderApp:(e,t)=>Az(()=>p(GV,{tonConnectUI:t}),document.getElementById(e))},_w=class{constructor(t){this.consumers=[],this.state=gh(),this.connector=t.connector,this.tracker=t.tracker,this.setConnectRequestParametersCallback=t.setConnectRequestParametersCallback,Kn(()=>{let n=gh();this.state=n,this.consumers.forEach(r=>r(n))})}open(){return vt(this,null,function*(){this.tracker.trackConnectionStarted();let n=(yield this.connector.getWallets()).find(eh);return n?this.connectEmbeddedWallet(n):this.openWalletsModal()})}close(t=\"action-cancelled\"){t===\"action-cancelled\"&&this.tracker.trackConnectionError(\"Connection was cancelled\"),qn.closeWalletsModal(t)}onStateChange(t){return this.consumers.push(t),()=>{this.consumers=this.consumers.filter(n=>n!==t)}}connectEmbeddedWallet(t){let n=i=>{mr(t),this.connector.connect({jsBridgeKey:t.jsBridgeKey},i)},r=Vt.connectRequestParameters;r?.state===\"loading\"?this.setConnectRequestParametersCallback(n):n(r?.value)}openWalletsModal(){return vt(this,null,function*(){return Zi()&&U1(),qn.openWalletsModal(),new Promise(t=>{let n=this.onStateChange(r=>{let{status:i}=r;i===\"opened\"&&(n(),t())})})})}},Tw=class{constructor(t){this.consumers=[],this.connector=t.connector,Kn(()=>{let n=Ii();this.consumers.forEach(r=>r(n))})}onStateChange(t){return this.consumers.push(t),()=>{this.consumers=this.consumers.filter(n=>n!==t)}}},Ew=class{constructor(t){this.consumers=[],this.state=A1(),this.connector=t.connector,this.tracker=t.tracker,this.setConnectRequestParametersCallback=t.setConnectRequestParametersCallback,Kn(()=>{let n=A1();this.state=n,this.consumers.forEach(r=>r(n))})}open(t){return vt(this,null,function*(){this.tracker.trackConnectionStarted();let n=yield this.connector.getWallets(),r=Vw(n,Vt.walletsListConfiguration),i=r.find(eh);if(!!i)return this.connectEmbeddedWallet(i);let s=r.filter(i1).find(u=>vs(u,t));if(!!s)return this.openSingleWalletModal(s);let c=`Trying to open modal window with unknown wallet \"${t}\".`;throw this.tracker.trackConnectionError(c),new vn(c)})}close(t=\"action-cancelled\"){t===\"action-cancelled\"&&this.tracker.trackConnectionError(\"Connection was cancelled\"),qn.closeSingleWalletModal(\"action-cancelled\")}onStateChange(t){return this.consumers.push(t),()=>{this.consumers=this.consumers.filter(n=>n!==t)}}connectEmbeddedWallet(t){let n=i=>{mr(t),this.connector.connect({jsBridgeKey:t.jsBridgeKey},i)},r=Vt.connectRequestParameters;r?.state===\"loading\"?this.setConnectRequestParametersCallback(n):n(r?.value)}openSingleWalletModal(t){return vt(this,null,function*(){return Zi()&&U1(),qn.openSingleWalletModal(t),new Promise(n=>{let r=this.onStateChange(i=>{let{status:a}=i;a===\"opened\"&&(r(),n())})})})}},Aw=class{constructor(t){var n;this.eventPrefix=\"ton-connect-ui-\",this.tonConnectSdkVersion=null,this.eventDispatcher=(n=t?.eventDispatcher)!=null?n:new Jf,this.tonConnectUiVersion=t.tonConnectUiVersion,this.init().catch()}get version(){return bs({ton_connect_sdk_lib:this.tonConnectSdkVersion,ton_connect_ui_lib:this.tonConnectUiVersion})}init(){return vt(this,null,function*(){try{yield this.setRequestVersionHandler(),this.tonConnectSdkVersion=yield this.requestTonConnectSdkVersion()}catch{}})}setRequestVersionHandler(){return vt(this,null,function*(){yield this.eventDispatcher.addEventListener(\"ton-connect-ui-request-version\",()=>vt(this,null,function*(){yield this.eventDispatcher.dispatchEvent(\"ton-connect-ui-response-version\",Sv(this.tonConnectUiVersion))}))})}requestTonConnectSdkVersion(){return vt(this,null,function*(){return new Promise((t,n)=>vt(this,null,function*(){try{yield this.eventDispatcher.addEventListener(\"ton-connect-response-version\",r=>{t(r.detail.version)},{once:!0}),yield this.eventDispatcher.dispatchEvent(\"ton-connect-request-version\",Cv())}catch(r){n(r)}}))})}dispatchUserActionEvent(t){var n;try{(n=this.eventDispatcher)==null||n.dispatchEvent(`${this.eventPrefix}${t.type}`,t).catch()}catch{}}trackConnectionStarted(...t){try{let n=_v(this.version,...t);this.dispatchUserActionEvent(n)}catch{}}trackConnectionCompleted(...t){try{let n=Tv(this.version,...t);this.dispatchUserActionEvent(n)}catch{}}trackConnectionError(...t){try{let n=Ev(this.version,...t);this.dispatchUserActionEvent(n)}catch{}}trackConnectionRestoringStarted(...t){try{let n=Av(this.version,...t);this.dispatchUserActionEvent(n)}catch{}}trackConnectionRestoringCompleted(...t){try{let n=kv(this.version,...t);this.dispatchUserActionEvent(n)}catch{}}trackConnectionRestoringError(...t){try{let n=Bv(this.version,...t);this.dispatchUserActionEvent(n)}catch{}}trackDisconnection(...t){try{let n=zv(this.version,...t);this.dispatchUserActionEvent(n)}catch{}}trackTransactionSentForSignature(...t){try{let n=Rv(this.version,...t);this.dispatchUserActionEvent(n)}catch{}}trackTransactionSigned(...t){try{let n=Uv(this.version,...t);this.dispatchUserActionEvent(n)}catch{}}trackTransactionSigningFailed(...t){try{let n=Ov(this.version,...t);this.dispatchUserActionEvent(n)}catch{}}trackDataSentForSignature(...t){try{let n=Iv(this.version,...t);this.dispatchUserActionEvent(n)}catch{}}trackDataSigned(...t){try{let n=Nv(this.version,...t);this.dispatchUserActionEvent(n)}catch{}}trackDataSigningFailed(...t){try{let n=Pv(this.version,...t);this.dispatchUserActionEvent(n)}catch{}}},QV=\"2.3.1\",q1=class{constructor(t){if(this.walletInfoStorage=new dw,this.preferredWalletStorage=new fw,this.walletInfo=null,this.systemThemeChangeUnsubscribe=null,this.connectionRestored=Promise.resolve(!1),t&&\"connector\"in t&&t.connector)this.connector=t.connector;else if(t&&\"manifestUrl\"in t&&t.manifestUrl)this.connector=new va({manifestUrl:t.manifestUrl,eventDispatcher:t.eventDispatcher,walletsRequiredFeatures:t.walletsRequiredFeatures});else throw new vn(\"You have to specify a `manifestUrl` or a `connector` in the options.\");this.tracker=new Aw({eventDispatcher:t?.eventDispatcher,tonConnectUiVersion:QV}),this.modal=new _w({connector:this.connector,tracker:this.tracker,setConnectRequestParametersCallback:i=>{this.connectRequestParametersCallback=i}}),this.singleWalletModal=new Ew({connector:this.connector,tracker:this.tracker,setConnectRequestParametersCallback:i=>{this.connectRequestParametersCallback=i}}),this.transactionModal=new Tw({connector:this.connector}),this._walletsRequiredFeatures=t.walletsRequiredFeatures,this._walletsPreferredFeatures=t.walletsPreferredFeatures,this.walletsList=this.getWallets(),this.walletsList.then(i=>v7(dH(i.map(a=>a.imageUrl))));let n=this.normalizeWidgetRoot(t?.widgetRootId);this.subscribeToWalletChange(),t?.restoreConnection!==!1&&(this.connectionRestored=iD(()=>vt(this,null,function*(){return this.tracker.trackConnectionRestoringStarted(),yield this.connector.restoreConnection(),this.connector.connected?this.tracker.trackConnectionRestoringCompleted(this.wallet):(this.tracker.trackConnectionRestoringError(\"Connection was not restored\"),this.walletInfoStorage.removeWalletInfo()),this.connector.connected}))),this.uiOptions=xs(t,{uiPreferences:{theme:\"SYSTEM\"}});let r=this.preferredWalletStorage.getPreferredWalletAppName();h1({connector:this.connector,preferredWalletAppName:r}),qn.renderApp(n,this)}static getWallets(){return va.getWallets()}get walletsRequiredFeatures(){return this._walletsRequiredFeatures}get walletsPreferredFeatures(){return this._walletsPreferredFeatures}get connected(){return this.connector.connected}get account(){return this.connector.account}get wallet(){return this.connector.wallet?Lt(Lt({},this.connector.wallet),this.walletInfo):null}set uiOptions(t){var n,r,i,a,o;this.checkButtonRootExist(t.buttonRootId),this.actionsConfiguration=t.actionsConfiguration,\"walletsRequiredFeatures\"in t&&(this._walletsRequiredFeatures=t.walletsRequiredFeatures),\"walletsPreferredFeatures\"in t&&(this._walletsPreferredFeatures=t.walletsPreferredFeatures),(n=t.uiPreferences)!=null&&n.theme?((r=t.uiPreferences)==null?void 0:r.theme)!==\"SYSTEM\"?((i=this.systemThemeChangeUnsubscribe)==null||i.call(this),Vv(t.uiPreferences.theme,t.uiPreferences.colorsSet)):(Vv(Xz(),t.uiPreferences.colorsSet),this.systemThemeChangeUnsubscribe||(this.systemThemeChangeUnsubscribe=Jz(Vv))):(a=t.uiPreferences)!=null&&a.colorsSet&&OD(t.uiPreferences.colorsSet),(o=t.uiPreferences)!=null&&o.borderRadius&&UD(t.uiPreferences.borderRadius),h1(s=>{var l,c;let u=xs(Lt(Lt(Lt(Lt({},t.language&&{language:t.language}),!!((l=t.actionsConfiguration)!=null&&l.returnStrategy)&&{returnStrategy:t.actionsConfiguration.returnStrategy}),!!((c=t.actionsConfiguration)!=null&&c.twaReturnUrl)&&{twaReturnUrl:t.actionsConfiguration.twaReturnUrl}),!!t.walletsListConfiguration&&{walletsListConfiguration:t.walletsListConfiguration}),yu(s));return t.buttonRootId!==void 0&&(u.buttonRootId=t.buttonRootId),t.enableAndroidBackHandler!==void 0&&(u.enableAndroidBackHandler=t.enableAndroidBackHandler),u})}setConnectRequestParameters(t){var n;h1({connectRequestParameters:t}),(t?.state===\"ready\"||!t)&&((n=this.connectRequestParametersCallback)==null||n.call(this,t?.value))}getWallets(){return vt(this,null,function*(){return this.connector.getWallets()})}onStatusChange(t,n){return this.connector.onStatusChange(r=>vt(this,null,function*(){if(r){let i=yield this.getSelectedWalletInfo(r);t(Lt(Lt({},r),i||this.walletInfoStorage.getWalletInfo()))}else t(r)}),n)}openModal(){return vt(this,null,function*(){return this.modal.open()})}closeModal(t){this.modal.close(t)}onModalStateChange(t){return this.modal.onStateChange(t)}get modalState(){return this.modal.state}openSingleWalletModal(t){return vt(this,null,function*(){return this.singleWalletModal.open(t)})}closeSingleWalletModal(t){this.singleWalletModal.close(t)}onSingleWalletModalStateChange(t){return this.singleWalletModal.onStateChange(t)}get singleWalletModalState(){return this.singleWalletModal.state}connectWallet(){return vt(this,null,function*(){let n=(yield this.getWallets()).find(eh);return n?yield this.connectEmbeddedWallet(n):yield this.connectExternalWallet()})}disconnect(){return this.tracker.trackDisconnection(this.wallet,\"dapp\"),qn.clearAction(),qn.removeSelectedWalletInfo(),this.walletInfoStorage.removeWalletInfo(),this.connector.disconnect()}sendTransaction(t,n){return vt(this,null,function*(){if(this.tracker.trackTransactionSentForSignature(this.wallet,t),!this.connected)throw this.tracker.trackTransactionSigningFailed(this.wallet,t,\"Wallet was not connected\"),new vn(\"Connect wallet to send a transaction.\");Zi()&&U1();let{notifications:r,modals:i,returnStrategy:a,twaReturnUrl:o}=this.getModalsAndNotificationsConfiguration(n),s=yield this.getSessionId();qn.setAction({name:\"confirm-transaction\",showNotification:r.includes(\"before\"),openModal:i.includes(\"before\"),sent:!1,sessionId:s||void 0});let l=new AbortController,c=()=>{var d;if(l.signal.aborted)return;qn.setAction({name:\"confirm-transaction\",showNotification:r.includes(\"before\"),openModal:i.includes(\"before\"),sent:!0,sessionId:s||void 0}),this.redirectAfterRequestSent({returnStrategy:a,twaReturnUrl:o,sessionId:s||void 0});let h=!0,g=()=>vt(this,null,function*(){if(l.signal.aborted)return;let y=!h;h=!1,yield this.redirectAfterRequestSent({returnStrategy:a,twaReturnUrl:o,forceRedirect:y,sessionId:s||void 0})});(d=n?.onRequestSent)==null||d.call(n,g)},u=this.onTransactionModalStateChange(d=>{d?.openModal||(u(),d||l.abort())});try{let d=yield this.waitForSendTransaction({transaction:t,signal:l.signal},c);return this.tracker.trackTransactionSigned(this.wallet,t,d),qn.setAction({name:\"transaction-sent\",showNotification:r.includes(\"success\"),openModal:i.includes(\"success\")}),d}catch(d){throw d instanceof ya?(qn.clearAction(),qn.openWalletNotSupportFeatureModal(d.cause),d):(qn.setAction({name:\"transaction-canceled\",showNotification:r.includes(\"error\"),openModal:i.includes(\"error\")}),d instanceof He?d:(console.error(d),new vn(\"Unhandled error:\"+d)))}finally{u()}})}signData(t,n){return vt(this,null,function*(){if(this.tracker.trackDataSentForSignature(this.wallet,t),!this.connected)throw this.tracker.trackDataSigningFailed(this.wallet,t,\"Wallet was not connected\"),new vn(\"Connect wallet to send a transaction.\");Zi()&&U1();let{notifications:r,modals:i,returnStrategy:a,twaReturnUrl:o}=this.getModalsAndNotificationsConfiguration(),s=yield this.getSessionId();qn.setAction({name:\"confirm-sign-data\",showNotification:r.includes(\"before\"),openModal:i.includes(\"before\"),signed:!1,sessionId:s||void 0});let l=new AbortController,c=()=>{var d;if(l.signal.aborted)return;qn.setAction({name:\"confirm-sign-data\",showNotification:r.includes(\"before\"),openModal:i.includes(\"before\"),signed:!0,sessionId:s||void 0}),this.redirectAfterRequestSent({returnStrategy:a,twaReturnUrl:o,sessionId:s||void 0});let h=!0,g=()=>{if(l.signal.aborted)return;let y=!h;h=!1,this.redirectAfterRequestSent({returnStrategy:a,twaReturnUrl:o,forceRedirect:y,sessionId:s||void 0})};(d=n?.onRequestSent)==null||d.call(n,g)},u=this.onTransactionModalStateChange(d=>{d?.openModal||(u(),d||l.abort())});try{let d=yield this.waitForSignData({data:t,signal:new AbortController().signal},c);return this.tracker.trackDataSigned(this.wallet,t,d),qn.setAction({name:\"data-signed\",showNotification:r.includes(\"success\"),openModal:i.includes(\"success\")}),d}catch(d){throw d instanceof ya?(qn.clearAction(),qn.openWalletNotSupportFeatureModal(d.cause),d):(qn.setAction({name:\"sign-data-canceled\",showNotification:r.includes(\"error\"),openModal:i.includes(\"error\")}),d instanceof He?d:(console.error(d),new vn(\"Unhandled error:\"+d)))}finally{u()}})}getSessionId(){return vt(this,null,function*(){var t,n;if(!this.connected)return null;try{let r=(t=this.connector.dappSettings)==null?void 0:t.storage;if(r){let i=yield r.getItem(\"ton-connect-storage_bridge-connection\");if(i){let a=JSON.parse(i);if(a.type===\"http\"&&a.sessionCrypto)return new ma(a.sessionCrypto).sessionId;if(a.type===\"http\"&&((n=a.session)!=null&&n.sessionKeyPair))return new ma(a.session.sessionKeyPair).sessionId}}}catch{}return null})}redirectAfterRequestSent({returnStrategy:t,twaReturnUrl:n,forceRedirect:r,sessionId:i}){if(this.walletInfo&&\"universalLink\"in this.walletInfo&&(this.walletInfo.openMethod===\"universal-link\"||this.walletInfo.openMethod===\"custom-deeplink\")){let a=aT(this.walletInfo.universalLink,i);wa(this.walletInfo.universalLink)?Sh(a,{returnStrategy:t,twaReturnUrl:n||Vt.twaReturnUrl,forceRedirect:r||!1}):_h(a,this.walletInfo.deepLink,{returnStrategy:t,forceRedirect:r||!1},()=>{})}}connectEmbeddedWallet(t){return vt(this,null,function*(){let n=i=>{mr(t),this.connector.connect({jsBridgeKey:t.jsBridgeKey},i)},r=Vt.connectRequestParameters;return r?.state===\"loading\"?this.connectRequestParametersCallback=n:n(r?.value),yield this.waitForWalletConnection({ignoreErrors:!1})})}connectExternalWallet(){return vt(this,null,function*(){let t=new AbortController;qn.openWalletsModal();let n=this.onModalStateChange(r=>{let{status:i,closeReason:a}=r;i!==\"opened\"&&(n(),a===\"action-cancelled\"&&t.abort())});return yield this.waitForWalletConnection({ignoreErrors:!0,signal:t.signal})})}waitForWalletConnection(t){return vt(this,null,function*(){return new Promise((n,r)=>{this.tracker.trackConnectionStarted();let{ignoreErrors:i=!1,signal:a=null}=t;if(a&&a.aborted)return this.tracker.trackConnectionError(\"Connection was cancelled\"),r(new vn(\"Wallet was not connected\"));let o=c=>vt(this,null,function*(){if(c)this.tracker.trackConnectionCompleted(c),l(),n(c);else{if(this.tracker.trackConnectionError(\"Connection was cancelled\"),i)return;l(),r(new vn(\"Wallet was not connected\"))}}),s=c=>{this.tracker.trackConnectionError(c.message),!i&&(l(),r(c))},l=this.onStatusChange(c=>o(c),c=>s(c));a&&a.addEventListener(\"abort\",()=>{l(),r(new vn(\"Wallet was not connected\"))},{once:!0})})})}waitForSendTransaction(t,n){return vt(this,null,function*(){return new Promise((r,i)=>{let{transaction:a,signal:o}=t;if(o.aborted)return this.tracker.trackTransactionSigningFailed(this.wallet,a,\"Transaction was cancelled\"),i(new vn(\"Transaction was not sent\"));let s=u=>vt(this,null,function*(){r(u)}),l=u=>{i(u)},c=()=>{this.tracker.trackTransactionSigningFailed(this.wallet,a,\"Transaction was cancelled\"),i(new vn(\"Transaction was not sent\"))};o.addEventListener(\"abort\",c,{once:!0}),this.connector.sendTransaction(a,{onRequestSent:n,signal:o}).then(u=>(o.removeEventListener(\"abort\",c),s(u))).catch(u=>(o.removeEventListener(\"abort\",c),l(u)))})})}waitForSignData(t,n){return vt(this,null,function*(){return new Promise((r,i)=>{let{data:a,signal:o}=t;if(o.aborted)return this.tracker.trackDataSigningFailed(this.wallet,a,\"SignData was cancelled\"),i(new vn(\"SignData was not sent\"));let s=u=>vt(this,null,function*(){r(u)}),l=u=>{i(u)},c=()=>{this.tracker.trackDataSigningFailed(this.wallet,a,\"SignData was cancelled\"),i(new vn(\"SignData was not sent\"))};o.addEventListener(\"abort\",c,{once:!0}),this.connector.signData(a,{onRequestSent:n,signal:o}).then(u=>s(u)).catch(u=>l(u))})})}onTransactionModalStateChange(t){return this.transactionModal.onStateChange(t)}subscribeToWalletChange(){this.connector.onStatusChange(t=>vt(this,null,function*(){var n;t?(yield this.updateWalletInfo(t),this.setPreferredWalletAppName(((n=this.walletInfo)==null?void 0:n.appName)||t.device.appName)):this.walletInfoStorage.removeWalletInfo()}))}setPreferredWalletAppName(t){this.preferredWalletStorage.setPreferredWalletAppName(t),h1({preferredWalletAppName:t})}getSelectedWalletInfo(t){return vt(this,null,function*(){let n=qn.getSelectedWalletInfo();if(!n)return null;let r;if(\"name\"in n)r=n;else{let a=Vw(yield this.walletsList,Vt.walletsListConfiguration).find(o=>vs(o,t.device.appName));if(!a)throw new vn(`Cannot find WalletInfo for the '${t.device.appName}' wallet`);r=Lt(Lt({},a),n)}return r})}updateWalletInfo(t){return vt(this,null,function*(){let n=yield this.getSelectedWalletInfo(t);if(n){this.walletInfo=n,this.walletInfoStorage.setWalletInfo(n);return}let r=this.walletInfoStorage.getWalletInfo();if(r){this.walletInfo=r;return}this.walletInfo=(yield this.walletsList).find(i=>vs(i,t.device.appName))||null})}normalizeWidgetRoot(t){if(!t||!document.getElementById(t)){t=\"tc-widget-root\";let n=document.createElement(\"div\");n.id=t,document.body.appendChild(n)}return t}checkButtonRootExist(t){if(t!=null&&!document.getElementById(t))throw new vn(`${t} element not found in the document.`)}getModalsAndNotificationsConfiguration(t){var n,r,i,a,o,s;let l=[\"before\",\"success\",\"error\"],c=l;(n=this.actionsConfiguration)!=null&&n.notifications&&((r=this.actionsConfiguration)==null?void 0:r.notifications)!==\"all\"&&(c=this.actionsConfiguration.notifications),t?.notifications&&(t.notifications===\"all\"?c=l:c=t.notifications);let u=[\"before\"];(i=this.actionsConfiguration)!=null&&i.modals&&(this.actionsConfiguration.modals===\"all\"?u=l:u=this.actionsConfiguration.modals),t?.modals&&(t.modals===\"all\"?u=l:u=t.modals);let d=t?.returnStrategy||((a=this.actionsConfiguration)==null?void 0:a.returnStrategy)||\"back\",h=t?.twaReturnUrl||((o=this.actionsConfiguration)==null?void 0:o.twaReturnUrl),g=t?.skipRedirectToWallet||((s=this.actionsConfiguration)==null?void 0:s.skipRedirectToWallet)||\"ios\";return Zi()&&(g=\"never\"),{notifications:c,modals:u,returnStrategy:d,twaReturnUrl:h,skipRedirectToWallet:g}}};var XV=Object.defineProperty,J1=Object.getOwnPropertySymbols,pT=Object.prototype.hasOwnProperty,mT=Object.prototype.propertyIsEnumerable,hT=(e,t,n)=>t in e?XV(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,JV=(e,t)=>{for(var n in t||(t={}))pT.call(t,n)&&hT(e,n,t[n]);if(J1)for(var n of J1(t))mT.call(t,n)&&hT(e,n,t[n]);return e},eW=(e,t)=>{var n={};for(var r in e)pT.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&J1)for(var r of J1(e))t.indexOf(r)<0&&mT.call(e,r)&&(n[r]=e[r]);return n};function yT(){return typeof window<\"u\"}function tW(){return!yT()}var bT=(0,Ur.createContext)(null),Ww=null,nW=e=>{var t=e,{children:n}=t,r=eW(t,[\"children\"]);return yT()&&!Ww&&(Ww=new q1(r)),(0,$w.jsx)(bT.Provider,{value:Ww,children:n})},vT=(0,Ur.memo)(nW),Fw=class e extends vn{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}},Kw=class e extends Fw{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}};function rW(e){if(!e)throw new Kw(\"You should add <TonConnectUIProvider> on the top of the app to use TonConnect\");return!0}function Eu(){let e=(0,Ur.useContext)(bT),t=(0,Ur.useCallback)(n=>{e&&(e.uiOptions=n)},[e]);return tW()?[null,()=>{}]:(rW(e),[e,t])}var gT=\"ton-connect-button\",iW=({className:e,style:t})=>{let[n,r]=Eu();return(0,Ur.useEffect)(()=>(r({buttonRootId:gT}),()=>r({buttonRootId:null})),[r]),(0,$w.jsx)(\"div\",{id:gT,className:e,style:JV({width:\"fit-content\"},t)})},Mne=(0,Ur.memo)(iW);function wT(){let[e]=Eu(),[t,n]=(0,Ur.useState)(e?.wallet||null);return(0,Ur.useEffect)(()=>{if(e)return n(e.wallet),e.onStatusChange(r=>{n(r)})},[e]),t}var oU=yn(Gt(),1);b();b();b();var hm=yn(Gt(),1),GY=Object.defineProperty,QY=(e,t,n)=>t in e?GY(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tB=(e,t,n)=>QY(e,typeof t!=\"symbol\"?t+\"\":t,n),xd=\"ton:mainnet\",zh=\"ton:testnet\",XY=[xd,zh],JY=\"https://toncenter.com/api/v2/jsonRPC\",eG=\"https://testnet.toncenter.com/api/v2/jsonRPC\",tG=\"https://mainnet-v4.tonhubapi.com\",nG=\"https://testnet-v4.tonhubapi.com\",Roe={[xd]:JY,[zh]:eG},Uoe={[xd]:tG,[zh]:nG},rG=260734629;var nB=100000000n,rB=1n;var iB=\"exact\";function aB(e){if(e.startsWith(\"ton:\")){if(!XY.includes(e))throw new Error(`Unsupported TON network: ${e}`);return e}let n={ton:xd,\"ton-mainnet\":xd,mainnet:xd,\"ton-testnet\":zh,testnet:zh}[e.toLowerCase()];if(!n)throw new Error(`Unsupported TON network: ${e}`);return n}function oB(e){return hm.Address.parse(e)}function sB(){let e=BigInt(Date.now()),t=BigInt(Math.floor(Math.random()*1e6));return e*1000000n+t}function lB(e){let t=(0,hm.beginCell)().storeUint(rG,32).storeUint(e.queryId,64).storeCoins(e.amount).storeAddress(e.destination).storeAddress(e.responseDestination).storeBit(!1);return t.storeCoins(e.forwardAmount??1n),e.forwardPayload?t.storeBit(!0).storeRef(e.forwardPayload):t.storeBit(!1),t.endCell()}var gm=yn(Gt(),1),cB=class{constructor(e,t,n={}){this.signer=e,this.getJettonWalletAddress=t,this.config=n,tB(this,\"scheme\",iB)}async createPaymentPayload(e,t){let n=aB(t.network);if(!t.asset)throw new Error(\"Asset (Jetton master address) is required\");if(!t.payTo)throw new Error(\"PayTo address is required\");if(!t.amount)throw new Error(\"Amount is required\");let r=t.asset,i=oB(t.payTo),a=await this.getJettonWalletAddress(this.signer.address.toString(),r),o=gm.Address.parse(a),s=await this.signer.getSeqno(),c=Math.floor(Date.now()/1e3)+t.maxTimeoutSeconds,u=sB(),d=BigInt(t.amount),h=lB({queryId:u,amount:d,destination:i,responseDestination:this.signer.address,forwardAmount:this.config.forwardAmount??rB}),g=this.config.gasAmount??nB,E=(await this.signer.signMessage({to:o,value:g,body:h,sendMode:gm.SendMode.PAY_GAS_SEPARATELY,timeout:t.maxTimeoutSeconds})).toBoc().toString(\"base64\"),L={from:this.signer.address.toString({bounceable:!0}),to:t.payTo,jettonMaster:r,jettonAmount:d.toString(),tonAmount:g.toString(),validUntil:c,seqno:s,queryId:u.toString()};return{t402Version:e,payload:{signedBoc:E,authorization:L}}}};function T5(e,t){let n=new cB(t.signer,t.getJettonWalletAddress,t.schemeConfig);return t.networks&&t.networks.length>0?t.networks.forEach(r=>{e.register(r,n)}):e.register(\"ton:*\",n),t.policies&&t.policies.forEach(r=>{e.registerPolicy(r)}),e}b();b();b();var E5=2;b();var A5=(e,t)=>{let n=e.get(t);if(!n)for(let[r,i]of e.entries()){let a=r.replace(/[.*+?^${}()|[\\]\\\\]/g,\"\\\\$&\").replace(/\\\\\\*/g,\".*\");if(new RegExp(`^${a}$`).test(t)){n=i;break}}return n},uB=(e,t,n)=>A5(e,n)?.get(t);b();var iG=Object.defineProperty,aG=(e,t,n)=>t in e?iG(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var qs=(e,t,n)=>aG(e,typeof t!=\"symbol\"?t+\"\":t,n);var dB=class fB{constructor(t){qs(this,\"paymentRequirementsSelector\"),qs(this,\"registeredClientSchemes\",new Map),qs(this,\"policies\",[]),qs(this,\"beforePaymentCreationHooks\",[]),qs(this,\"afterPaymentCreationHooks\",[]),qs(this,\"onPaymentCreationFailureHooks\",[]),this.paymentRequirementsSelector=t||((n,r)=>r[0])}static fromConfig(t){let n=new fB(t.paymentRequirementsSelector);return t.schemes.forEach(r=>{r.t402Version===1?n.registerV1(r.network,r.client):n.register(r.network,r.client)}),t.policies?.forEach(r=>{n.registerPolicy(r)}),n}register(t,n){return this._registerScheme(E5,t,n)}registerV1(t,n){return this._registerScheme(1,t,n)}registerPolicy(t){return this.policies.push(t),this}onBeforePaymentCreation(t){return this.beforePaymentCreationHooks.push(t),this}onAfterPaymentCreation(t){return this.afterPaymentCreationHooks.push(t),this}onPaymentCreationFailure(t){return this.onPaymentCreationFailureHooks.push(t),this}async createPaymentPayload(t){let n=this.registeredClientSchemes.get(t.t402Version);if(!n)throw new Error(`No client registered for t402 version: ${t.t402Version}`);let r=this.selectPaymentRequirements(t.t402Version,t.accepts),i={paymentRequired:t,selectedRequirements:r};for(let a of this.beforePaymentCreationHooks){let o=await a(i);if(o&&\"abort\"in o&&o.abort)throw new Error(`Payment creation aborted: ${o.reason}`)}try{let a=uB(n,r.scheme,r.network);if(!a)throw new Error(`No client registered for scheme: ${r.scheme} and network: ${r.network}`);let o=await a.createPaymentPayload(t.t402Version,r),s;o.t402Version==1?s=o:s={...o,extensions:t.extensions,resource:t.resource,accepted:r};let l={...i,paymentPayload:s};for(let c of this.afterPaymentCreationHooks)await c(l);return s}catch(a){let o={...i,error:a};for(let s of this.onPaymentCreationFailureHooks){let l=await s(o);if(l&&\"recovered\"in l&&l.recovered)return l.payload}throw a}}selectPaymentRequirements(t,n){let r=this.registeredClientSchemes.get(t);if(!r)throw new Error(`No client registered for t402 version: ${t}`);let i=n.filter(o=>{let s=A5(r,o.network);return s?s.has(o.scheme):!1});if(i.length===0)throw new Error(`No network/scheme registered for t402 version: ${t} which comply with the payment requirements. ${JSON.stringify({t402Version:t,paymentRequirements:n,t402Versions:Array.from(this.registeredClientSchemes.keys()),networks:Array.from(r.keys()),schemes:Array.from(r.values()).map(o=>Array.from(o.keys())).flat()})}`);let a=i;for(let o of this.policies)if(a=o(t,a),a.length===0)throw new Error(`All payment requirements were filtered out by policies for t402 version: ${t}`);return this.paymentRequirementsSelector(t,a)}_registerScheme(t,n,r){this.registeredClientSchemes.has(t)||this.registeredClientSchemes.set(t,new Map);let i=this.registeredClientSchemes.get(t);i.has(n)||i.set(n,new Map);let a=i.get(n);return a.has(r.scheme)||a.set(r.scheme,r),this}};b();var k5=yn(ga(),1);function hB({className:e=\"\"}){return(0,k5.jsx)(\"div\",{className:`spinner ${e}`,children:(0,k5.jsx)(\"div\",{})})}b();var oG={1:\"Ethereum\",10:\"Optimism\",56:\"BNB Smart Chain\",100:\"Gnosis\",137:\"Polygon\",250:\"Fantom\",324:\"zkSync Era\",5e3:\"Mantle\",8453:\"Base\",42161:\"Arbitrum One\",42170:\"Arbitrum Nova\",43114:\"Avalanche\",42220:\"Celo\",59144:\"Linea\",534352:\"Scroll\",81457:\"Blast\",34443:\"Mode\",7777777:\"Zora\",11155111:\"Sepolia\",84532:\"Base Sepolia\",421614:\"Arbitrum Sepolia\",11155420:\"OP Sepolia\",80002:\"Polygon Amoy\",97:\"BNB Testnet\",43113:\"Avalanche Fuji\",59141:\"Linea Sepolia\",534351:\"Scroll Sepolia\",300:\"zkSync Sepolia\",5003:\"Mantle Sepolia\",168587773:\"Blast Sepolia\",999999999:\"Zora Sepolia\"};var sG={MAINNET:\"5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp\",DEVNET:\"EtWTRABZaYq6iMfeYKouRu166VU2xqa1\"},lG={MAINNET:\"mainnet\",TESTNET:\"testnet\"},gB={MAINNET:\"mainnet\",NILE:\"nile\",SHASTA:\"shasta\"},cG={MAINNET:\"1\",TESTNET:\"2147483648\"},pB={NOBLE_MAINNET:\"noble-1\",NOBLE_TESTNET:\"grand-1\"},uG={MAINNET:\"mainnet\",TESTNET:\"testnet\"};function mB(e){if(e.startsWith(\"eip155:\")){let t=parseInt(e.split(\":\")[1]);return oG[t]??`Chain ${t}`}if(e.startsWith(\"solana:\"))return e.split(\":\")[1]===sG.DEVNET?\"Solana Devnet\":\"Solana Mainnet\";if(e.startsWith(\"ton:\"))return e.split(\":\")[1]===lG.TESTNET?\"TON Testnet\":\"TON Mainnet\";if(e.startsWith(\"tron:\")){let t=e.split(\":\")[1];return t===gB.NILE?\"TRON Nile Testnet\":t===gB.SHASTA?\"TRON Shasta Testnet\":\"TRON Mainnet\"}if(e.startsWith(\"stacks:\"))return e.split(\":\")[1]===cG.TESTNET?\"Stacks Testnet\":\"Stacks Mainnet\";if(e.startsWith(\"cosmos:\")){let t=e.split(\":\")[1];return t===pB.NOBLE_MAINNET?\"Noble\":t===pB.NOBLE_TESTNET?\"Noble Testnet\":`Cosmos ${t}`}return e.startsWith(\"near:\")?e.split(\":\")[1]===uG.TESTNET?\"NEAR Testnet\":\"NEAR Mainnet\":e}b();var Gr=yn(ga(),1),Dh=[{key:\"connect\",label:\"Connect\"},{key:\"sign\",label:\"Sign\"},{key:\"submit\",label:\"Submit\"},{key:\"confirm\",label:\"Confirm\"}];function dG(e){return Dh.findIndex(t=>t.key===e)}function fG(){return(0,Gr.jsx)(\"svg\",{width:\"14\",height:\"14\",viewBox:\"0 0 14 14\",fill:\"none\",\"aria-hidden\":\"true\",children:(0,Gr.jsx)(\"path\",{d:\"M11.5 4L5.5 10L2.5 7\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}function hG(){return(0,Gr.jsx)(\"svg\",{width:\"14\",height:\"14\",viewBox:\"0 0 14 14\",fill:\"none\",className:\"progress-spinner\",\"aria-hidden\":\"true\",children:(0,Gr.jsx)(\"circle\",{cx:\"7\",cy:\"7\",r:\"5\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeDasharray:\"20\",strokeDashoffset:\"10\"})})}function yB({currentStep:e,isProcessing:t=!1,hasError:n=!1}){let r=dG(e);return(0,Gr.jsx)(\"div\",{className:\"payment-progress\",role:\"progressbar\",\"aria-valuenow\":r+1,\"aria-valuemin\":1,\"aria-valuemax\":Dh.length,\"aria-label\":`Payment progress: ${Dh[r].label}`,children:Dh.map((i,a)=>{let o=a<r,s=a===r,l=a>r,c=\"progress-step\";return o&&(c+=\" completed\"),s&&(c+=\" current\"),s&&t&&(c+=\" processing\"),s&&n&&(c+=\" error\"),l&&(c+=\" pending\"),(0,Gr.jsxs)(\"div\",{className:c,children:[(0,Gr.jsx)(\"div\",{className:\"progress-step-indicator\",children:o?(0,Gr.jsx)(fG,{}):s&&t?(0,Gr.jsx)(hG,{}):(0,Gr.jsx)(\"span\",{className:\"progress-step-number\",children:a+1})}),(0,Gr.jsx)(\"span\",{className:\"progress-step-label\",children:i.label}),a<Dh.length-1&&(0,Gr.jsx)(\"div\",{className:`progress-connector ${o?\"completed\":\"\"}`,\"aria-hidden\":\"true\"})]},i.key)})})}b();var Ld=yn(tl(),1),l0=yn(Gt(),1);b();var u6=yn(tU(),1);b();var zr={MAINNET:\"ton:mainnet\",TESTNET:\"ton:testnet\"},o6={[zr.MAINNET]:\"EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs\",[zr.TESTNET]:\"kQBqSpvo4S87mX9tTc4FX3Sfqf4uSp3Tx-Fz4RBUfTRWBx\"},s6={[zr.MAINNET]:\"https://toncenter.com/api/v2/jsonRPC\",[zr.TESTNET]:\"https://testnet.toncenter.com/api/v2/jsonRPC\"};var l6=null,c6=null;function _te(){return l6||(l6=new u6.TonClient({endpoint:s6[zr.MAINNET]})),l6}function Tte(){return c6||(c6=new u6.TonClient({endpoint:s6[zr.TESTNET]})),c6}function s0(e){return e===zr.MAINNET?_te():Tte()}async function Ete(e,t,n){try{let r=s0(n),i=l0.Address.parse(t),a=l0.Address.parse(e),o=(0,l0.beginCell)().storeAddress(a).endCell(),l=(await r.runMethod(i,\"get_wallet_address\",[{type:\"slice\",cell:o}])).stack.readAddress();return(await r.getContractState(l)).state!==\"active\"?0n:(await r.runMethod(l,\"get_wallet_data\",[])).stack.readBigNumber()}catch(r){return console.error(\"Failed to fetch Jetton balance:\",r),0n}}function Ate(e,t=6){let n=BigInt(10**t),r=e/n,o=(e%n).toString().padStart(t,\"0\").replace(/0+$/,\"\").padEnd(2,\"0\");return`${r}.${o}`}function nU({address:e,paymentRequired:t,onStatus:n}){let[r,i]=(0,Ld.useState)(null),[a,o]=(0,Ld.useState)(!1),s=t.accepts[0],l=s?.network||zr.TESTNET,c=s?.asset||o6[l]||o6[zr.TESTNET],u=(0,Ld.useCallback)(async g=>{let y=g||e;if(!y)return null;o(!0),n?.(\"Fetching USDT balance...\");try{let E=await Ete(y,c,l);return i(E),n?.(\"\"),E}catch(E){return console.error(\"Failed to fetch balance:\",E),n?.(\"Failed to fetch balance\"),null}finally{o(!1)}},[e,c,l,n]),d=(0,Ld.useCallback)(()=>{i(null)},[]),h=r!==null?Ate(r):null;return{balance:r,formattedBalance:h,isFetching:a,refreshBalance:u,resetBalance:d}}b();var rU=yn(tl(),1);var Va=yn(Gt(),1);function kte(e,t,n){let r=Va.Address.parse(t.account.address),i=s0(n);return{get address(){return r},async getSeqno(){try{return(await i.runMethod(r,\"seqno\",[])).stack.readNumber()}catch{return 0}},async signMessage(a){let{to:o,value:s,body:l,bounce:c=!0,timeout:u=60}=a;(0,Va.internal)({to:o,value:s,body:l,bounce:c});let h={validUntil:Math.floor(Date.now()/1e3)+u,messages:[{address:o.toString(),amount:s.toString(),payload:l.toBoc().toString(\"base64\")}]},g=await e.sendTransaction(h),y=globalThis.Buffer.from(g.boc,\"base64\");return Va.Cell.fromBoc(y)[0]}}}function iU(e,t){let[n]=Eu();return(0,rU.useMemo)(()=>e?kte(n,e,t):null,[n,e,t])}function aU(e){let t=s0(e);return async(n,r)=>{let i=Va.Address.parse(r),a=Va.Address.parse(n),o=(0,Va.beginCell)().storeAddress(a).endCell();return(await t.runMethod(i,\"get_wallet_address\",[{type:\"slice\",cell:o}])).stack.readAddress().toString()}}var Zt=yn(ga(),1);function Bte({paymentRequired:e,onSuccessfulResponse:t}){let[n]=Eu(),r=wT(),[i,a]=(0,ri.useState)(\"\"),[o,s]=(0,ri.useState)(!1),[l,c]=(0,ri.useState)(!0),[u,d]=(0,ri.useState)(\"connect\"),[h,g]=(0,ri.useState)(!1),y=window.t402,E=y.amount,L=e.accepts[0];if(!L)throw new Error(\"No payment requirements in paymentRequired.accepts\");let C=L.network,v=mB(C),T=C===zr.MAINNET,R=T?zr.MAINNET:zr.TESTNET,O=r?.account?.address?oU.Address.parse(r.account.address).toString({bounceable:!1}):null,{balance:re,formattedBalance:B,isFetching:q,refreshBalance:z,resetBalance:K}=nU({address:O,paymentRequired:e,onStatus:a}),j=iU(r,R);(0,ri.useEffect)(()=>{O&&z(O)},[O,z]),(0,ri.useEffect)(()=>{r?u===\"connect\"&&d(\"sign\"):d(\"connect\")},[r,u]);let N=(0,ri.useCallback)(async()=>{a(\"Connecting to wallet...\");try{await n.openModal()}catch(Me){console.error(\"Failed to connect wallet\",Me),a(Me instanceof Error?Me.message:\"Failed to connect wallet.\")}},[n]),pe=(0,ri.useCallback)(async()=>{try{await n.disconnect(),K(),a(\"\")}catch(Me){console.error(\"Failed to disconnect\",Me),a(Me instanceof Error?Me.message:\"Failed to disconnect.\")}},[n,K]),le=(0,ri.useCallback)(async()=>{if(y){if(!j||!O){a(\"Connect a TON wallet before paying.\");return}s(!0),g(!0);try{if(re===null||re===0n){a(\"Checking USDT balance...\");let Et=await z();if(!Et||Et===0n)throw new Error(`Insufficient balance. Make sure you have USDT on ${v}.`)}d(\"sign\"),a(\"Creating payment signature...\");let Me=new dB;T5(Me,{signer:j,getJettonWalletAddress:aU(R)});let I=await Me.createPaymentPayload(e),Fe=btoa(JSON.stringify(I));d(\"submit\"),a(\"Requesting content with payment...\");let Ze=await fetch(y.currentUrl,{headers:{\"PAYMENT-SIGNATURE\":Fe,\"Access-Control-Expose-Headers\":\"PAYMENT-RESPONSE\"}});if(Ze.ok)d(\"confirm\"),g(!1),await t(Ze);else throw new Error(`Request failed: ${Ze.status} ${Ze.statusText}`)}catch(Me){a(Me instanceof Error?Me.message:\"Payment failed.\"),g(!1)}finally{s(!1)}}},[y,j,O,re,z,v,R,e,t]);(0,ri.useEffect)(()=>{r&&a(\"\")},[r]);let se=O?`${O.slice(0,6)}...${O.slice(-4)}`:\"-\";return(0,Zt.jsxs)(\"div\",{className:\"container gap-8\",children:[(0,Zt.jsxs)(\"div\",{className:\"header\",children:[(0,Zt.jsx)(\"h1\",{className:\"title\",children:\"Payment Required\"}),(0,Zt.jsxs)(\"p\",{children:[e.resource?.description&&`${e.resource.description}.`,\" To access this content, please pay $\",E,\" \",v,\" USDT.\"]}),!T&&(0,Zt.jsxs)(\"p\",{className:\"instructions\",children:[\"Need TON Testnet USDT?\",\" \",(0,Zt.jsxs)(\"a\",{href:\"https://t.me/testgiver_ton_bot\",target:\"_blank\",rel:\"noopener noreferrer\",children:[\"Get testnet TON \",(0,Zt.jsx)(\"u\",{children:\"here\"})]}),\" \",\"and use a testnet DEX.\"]})]}),(0,Zt.jsxs)(\"div\",{className:\"content w-full\",children:[r&&(0,Zt.jsx)(yB,{currentStep:u,isProcessing:h,hasError:!!i&&!o}),(0,Zt.jsxs)(\"div\",{className:\"payment-details\",children:[(0,Zt.jsxs)(\"div\",{className:\"payment-row\",children:[(0,Zt.jsx)(\"span\",{className:\"payment-label\",children:\"Wallet:\"}),(0,Zt.jsx)(\"span\",{className:\"payment-value\",children:se})]}),(0,Zt.jsxs)(\"div\",{className:\"payment-row\",children:[(0,Zt.jsx)(\"span\",{className:\"payment-label\",children:\"Available balance:\"}),(0,Zt.jsx)(\"span\",{className:\"payment-value\",children:O?(0,Zt.jsx)(\"button\",{className:\"balance-button\",onClick:()=>c(Me=>!Me),children:!l&&B?`$${B} USDT`:q?\"Loading...\":\"\\u2022\\u2022\\u2022\\u2022\\u2022 USDT\"}):\"-\"})]}),(0,Zt.jsxs)(\"div\",{className:\"payment-row\",children:[(0,Zt.jsx)(\"span\",{className:\"payment-label\",children:\"Amount:\"}),(0,Zt.jsxs)(\"span\",{className:\"payment-value\",children:[\"$\",E,\" USDT\"]})]}),(0,Zt.jsxs)(\"div\",{className:\"payment-row\",children:[(0,Zt.jsx)(\"span\",{className:\"payment-label\",children:\"Network:\"}),(0,Zt.jsx)(\"span\",{className:\"payment-value\",children:v})]})]}),(0,Zt.jsxs)(\"div\",{className:\"cta-container\",children:[r?(0,Zt.jsx)(\"button\",{className:\"button button-secondary\",onClick:pe,children:\"Disconnect\"}):(0,Zt.jsx)(\"button\",{className:\"button button-primary\",onClick:N,children:\"Connect wallet\"}),r&&(0,Zt.jsx)(\"button\",{className:\"button button-primary\",onClick:le,disabled:o,children:o?(0,Zt.jsx)(hB,{}):\"Pay now\"})]}),i&&(0,Zt.jsx)(\"div\",{className:\"status\",children:i})]})]})}function sU({paymentRequired:e,onSuccessfulResponse:t}){let r=window.t402.tonConnectManifestUrl||\"https://t402.io/tonconnect-manifest.json\";return(0,Zt.jsx)(vT,{manifestUrl:r,children:(0,Zt.jsx)(Bte,{paymentRequired:e,onSuccessfulResponse:t})})}var cU=yn(ga(),1);window.addEventListener(\"load\",()=>{let e=document.getElementById(\"root\");if(!e){console.error(\"Root element not found\");return}let n=window.t402.paymentRequired;if(!n?.accepts?.[0]){console.error(\"No payment requirements found\");return}(0,lU.createRoot)(e).render((0,cU.jsx)(sU,{paymentRequired:n,onSuccessfulResponse:async i=>{let a=i.headers.get(\"content-type\");if(a&&a.includes(\"text/html\"))document.documentElement.innerHTML=await i.text();else{let o=await i.blob(),s=window.URL.createObjectURL(o);window.location.href=s}}}))});})();\n/*! Bundled license information:\n\nieee754/index.js:\n (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)\n\nbuffer/index.js:\n (*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh <https://feross.org>\n * @license MIT\n *)\n\nscheduler/cjs/scheduler.production.js:\n (**\n * @license React\n * scheduler.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *)\n\nreact/cjs/react.production.js:\n (**\n * @license React\n * react.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *)\n\nreact-dom/cjs/react-dom.production.js:\n (**\n * @license React\n * react-dom.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *)\n\nreact-dom/cjs/react-dom-client.production.js:\n (**\n * @license React\n * react-dom-client.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *)\n\nreact/cjs/react-jsx-runtime.production.js:\n (**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *)\n\nclassnames/index.js:\n (*!\n \tCopyright (c) 2018 Jed Watson.\n \tLicensed under the MIT License (MIT), see\n \thttp://jedwatson.github.io/classnames\n *)\n\naxios/dist/browser/axios.cjs:\n (*! Axios v1.13.2 Copyright (c) 2025 Matt Zabriskie and contributors *)\n\n@tonconnect/ui/lib/index.mjs:\n (*!\n * is-plain-object <https://github.com/jonschlinkert/is-plain-object>\n *\n * Copyright (c) 2014-2017, Jon Schlinkert.\n * Released under the MIT License.\n *)\n*/\n</script></body></html>"
|