@pyefi/widget 0.1.1 → 0.1.2

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.
@@ -1,15 +1,1040 @@
1
- import { jsxs as i, jsx as e, Fragment as N } from "react/jsx-runtime";
2
- import { createContext as tt, useContext as nt, useRef as K, useState as he, useMemo as Y, useEffect as j, useCallback as Qe } from "react";
3
- import { useWallet as ge, useConnection as Ae, ConnectionProvider as rt, WalletProvider as ot } from "@solana/wallet-adapter-react";
4
- import { PhantomWalletAdapter as it, SolflareWalletAdapter as lt, TorusWalletAdapter as at, LedgerWalletAdapter as st, WalletConnectWalletAdapter as dt } from "@solana/wallet-adapter-wallets";
5
- import { WalletAdapterNetwork as ct } from "@solana/wallet-adapter-base";
6
- import { buildPtLookup as We, maturities as V, getPyeConfig as pt, fetchEpochSyncedNowTs as be, lookupBondByVoteAccount as Ne, estimateRtFromStake as xe, applyTradingFee as Ye, PYE_TRADING_FEE_BPS as je, checkSellLiquidity as ut, executeStakeDeposit as ht, executeRtSell as gt, executeDepositAndSell as yt, fetchBalances as Ve, fetchUserStakeAccounts as Ge, allowedLockups as mt, validators as ke, executeRedeem as ft, configurePyeSDK as bt } from "@pyefi/sdk";
7
- import { useBalanceStore as W, useWalletStore as J, useMarketStore as ve, useApyStore as xt, PyeSDKProvider as At, WalletSyncer as kt, BalanceSyncer as vt, MarketSyncer as wt, ApySyncer as St } from "@pyefi/sdk/react";
8
- import { createStore as Ct } from "zustand/vanilla";
9
- import { immer as Et } from "zustand/middleware/immer";
10
- import { useStore as Lt } from "zustand";
11
- import { createPortal as Mt } from "react-dom";
12
- const De = {
1
+ import { jsxs as f, jsx as i, Fragment as te } from "react/jsx-runtime";
2
+ import { createContext as St, useContext as vt, useRef as ge, useState as We, useMemo as le, useEffect as ae, useCallback as dt } from "react";
3
+ import { useWallet as Ye, useConnection as Ze, ConnectionProvider as Bt, WalletProvider as Et } from "@solana/wallet-adapter-react";
4
+ import { PhantomWalletAdapter as It, SolflareWalletAdapter as Ct, TorusWalletAdapter as Rt, LedgerWalletAdapter as Ft, WalletConnectWalletAdapter as Lt } from "@solana/wallet-adapter-wallets";
5
+ import { WalletAdapterNetwork as Mt } from "@solana/wallet-adapter-base";
6
+ import { buildPtLookup as ut, maturities as se, getPyeConfig as Dt, fetchEpochSyncedNowTs as Ke, lookupBondByVoteAccount as pt, estimateRtFromStake as ze, applyTradingFee as ht, PYE_TRADING_FEE_BPS as ft, checkSellLiquidity as Tt, executeStakeDeposit as Pt, executeRtSell as Ot, executeDepositAndSell as Nt, fetchBalances as yt, fetchUserStakeAccounts as gt, allowedLockups as Ut, validators as Xe, executeRedeem as Ht, configurePyeSDK as Wt } from "@pyefi/sdk";
7
+ import { useBalanceStore as ee, useWalletStore as me, useMarketStore as $e, useApyStore as Yt, PyeSDKProvider as Qt, WalletSyncer as jt, BalanceSyncer as Vt, MarketSyncer as Gt, ApySyncer as Jt } from "@pyefi/sdk/react";
8
+ import { createStore as qt } from "zustand/vanilla";
9
+ import { immer as Kt } from "zustand/middleware/immer";
10
+ import { useStore as zt } from "zustand";
11
+ import { createPortal as Zt } from "react-dom";
12
+ var Ge = {}, Pe = {}, _e;
13
+ function Xt() {
14
+ if (_e) return Pe;
15
+ _e = 1, Pe.byteLength = a, Pe.toByteArray = b, Pe.fromByteArray = L;
16
+ for (var c = [], l = [], u = typeof Uint8Array < "u" ? Uint8Array : Array, w = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", m = 0, p = w.length; m < p; ++m)
17
+ c[m] = w[m], l[w.charCodeAt(m)] = m;
18
+ l[45] = 62, l[95] = 63;
19
+ function y(S) {
20
+ var I = S.length;
21
+ if (I % 4 > 0)
22
+ throw new Error("Invalid string. Length must be a multiple of 4");
23
+ var R = S.indexOf("=");
24
+ R === -1 && (R = I);
25
+ var g = R === I ? 0 : 4 - R % 4;
26
+ return [R, g];
27
+ }
28
+ function a(S) {
29
+ var I = y(S), R = I[0], g = I[1];
30
+ return (R + g) * 3 / 4 - g;
31
+ }
32
+ function v(S, I, R) {
33
+ return (I + R) * 3 / 4 - R;
34
+ }
35
+ function b(S) {
36
+ var I, R = y(S), g = R[0], k = R[1], M = new u(v(S, g, k)), P = 0, N = k > 0 ? g - 4 : g, T;
37
+ for (T = 0; T < N; T += 4)
38
+ I = l[S.charCodeAt(T)] << 18 | l[S.charCodeAt(T + 1)] << 12 | l[S.charCodeAt(T + 2)] << 6 | l[S.charCodeAt(T + 3)], M[P++] = I >> 16 & 255, M[P++] = I >> 8 & 255, M[P++] = I & 255;
39
+ return k === 2 && (I = l[S.charCodeAt(T)] << 2 | l[S.charCodeAt(T + 1)] >> 4, M[P++] = I & 255), k === 1 && (I = l[S.charCodeAt(T)] << 10 | l[S.charCodeAt(T + 1)] << 4 | l[S.charCodeAt(T + 2)] >> 2, M[P++] = I >> 8 & 255, M[P++] = I & 255), M;
40
+ }
41
+ function x(S) {
42
+ return c[S >> 18 & 63] + c[S >> 12 & 63] + c[S >> 6 & 63] + c[S & 63];
43
+ }
44
+ function B(S, I, R) {
45
+ for (var g, k = [], M = I; M < R; M += 3)
46
+ g = (S[M] << 16 & 16711680) + (S[M + 1] << 8 & 65280) + (S[M + 2] & 255), k.push(x(g));
47
+ return k.join("");
48
+ }
49
+ function L(S) {
50
+ for (var I, R = S.length, g = R % 3, k = [], M = 16383, P = 0, N = R - g; P < N; P += M)
51
+ k.push(B(S, P, P + M > N ? N : P + M));
52
+ return g === 1 ? (I = S[R - 1], k.push(
53
+ c[I >> 2] + c[I << 4 & 63] + "=="
54
+ )) : g === 2 && (I = (S[R - 2] << 8) + S[R - 1], k.push(
55
+ c[I >> 10] + c[I >> 4 & 63] + c[I << 2 & 63] + "="
56
+ )), k.join("");
57
+ }
58
+ return Pe;
59
+ }
60
+ var He = {};
61
+ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
62
+ var et;
63
+ function $t() {
64
+ return et || (et = 1, He.read = function(c, l, u, w, m) {
65
+ var p, y, a = m * 8 - w - 1, v = (1 << a) - 1, b = v >> 1, x = -7, B = u ? m - 1 : 0, L = u ? -1 : 1, S = c[l + B];
66
+ for (B += L, p = S & (1 << -x) - 1, S >>= -x, x += a; x > 0; p = p * 256 + c[l + B], B += L, x -= 8)
67
+ ;
68
+ for (y = p & (1 << -x) - 1, p >>= -x, x += w; x > 0; y = y * 256 + c[l + B], B += L, x -= 8)
69
+ ;
70
+ if (p === 0)
71
+ p = 1 - b;
72
+ else {
73
+ if (p === v)
74
+ return y ? NaN : (S ? -1 : 1) * (1 / 0);
75
+ y = y + Math.pow(2, w), p = p - b;
76
+ }
77
+ return (S ? -1 : 1) * y * Math.pow(2, p - w);
78
+ }, He.write = function(c, l, u, w, m, p) {
79
+ var y, a, v, b = p * 8 - m - 1, x = (1 << b) - 1, B = x >> 1, L = m === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, S = w ? 0 : p - 1, I = w ? 1 : -1, R = l < 0 || l === 0 && 1 / l < 0 ? 1 : 0;
80
+ for (l = Math.abs(l), isNaN(l) || l === 1 / 0 ? (a = isNaN(l) ? 1 : 0, y = x) : (y = Math.floor(Math.log(l) / Math.LN2), l * (v = Math.pow(2, -y)) < 1 && (y--, v *= 2), y + B >= 1 ? l += L / v : l += L * Math.pow(2, 1 - B), l * v >= 2 && (y++, v /= 2), y + B >= x ? (a = 0, y = x) : y + B >= 1 ? (a = (l * v - 1) * Math.pow(2, m), y = y + B) : (a = l * Math.pow(2, B - 1) * Math.pow(2, m), y = 0)); m >= 8; c[u + S] = a & 255, S += I, a /= 256, m -= 8)
81
+ ;
82
+ for (y = y << m | a, b += m; b > 0; c[u + S] = y & 255, S += I, y /= 256, b -= 8)
83
+ ;
84
+ c[u + S - I] |= R * 128;
85
+ }), He;
86
+ }
87
+ /*!
88
+ * The buffer module from node.js, for the browser.
89
+ *
90
+ * @author Feross Aboukhadijeh <https://feross.org>
91
+ * @license MIT
92
+ */
93
+ var tt;
94
+ function _t() {
95
+ return tt || (tt = 1, (function(c) {
96
+ const l = Xt(), u = $t(), w = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
97
+ c.Buffer = a, c.SlowBuffer = M, c.INSPECT_MAX_BYTES = 50;
98
+ const m = 2147483647;
99
+ c.kMaxLength = m, a.TYPED_ARRAY_SUPPORT = p(), !a.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
100
+ "This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."
101
+ );
102
+ function p() {
103
+ try {
104
+ const r = new Uint8Array(1), e = { foo: function() {
105
+ return 42;
106
+ } };
107
+ return Object.setPrototypeOf(e, Uint8Array.prototype), Object.setPrototypeOf(r, e), r.foo() === 42;
108
+ } catch {
109
+ return !1;
110
+ }
111
+ }
112
+ Object.defineProperty(a.prototype, "parent", {
113
+ enumerable: !0,
114
+ get: function() {
115
+ if (a.isBuffer(this))
116
+ return this.buffer;
117
+ }
118
+ }), Object.defineProperty(a.prototype, "offset", {
119
+ enumerable: !0,
120
+ get: function() {
121
+ if (a.isBuffer(this))
122
+ return this.byteOffset;
123
+ }
124
+ });
125
+ function y(r) {
126
+ if (r > m)
127
+ throw new RangeError('The value "' + r + '" is invalid for option "size"');
128
+ const e = new Uint8Array(r);
129
+ return Object.setPrototypeOf(e, a.prototype), e;
130
+ }
131
+ function a(r, e, t) {
132
+ if (typeof r == "number") {
133
+ if (typeof e == "string")
134
+ throw new TypeError(
135
+ 'The "string" argument must be of type string. Received type number'
136
+ );
137
+ return B(r);
138
+ }
139
+ return v(r, e, t);
140
+ }
141
+ a.poolSize = 8192;
142
+ function v(r, e, t) {
143
+ if (typeof r == "string")
144
+ return L(r, e);
145
+ if (ArrayBuffer.isView(r))
146
+ return I(r);
147
+ if (r == null)
148
+ throw new TypeError(
149
+ "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof r
150
+ );
151
+ if (Z(r, ArrayBuffer) || r && Z(r.buffer, ArrayBuffer) || typeof SharedArrayBuffer < "u" && (Z(r, SharedArrayBuffer) || r && Z(r.buffer, SharedArrayBuffer)))
152
+ return R(r, e, t);
153
+ if (typeof r == "number")
154
+ throw new TypeError(
155
+ 'The "value" argument must not be of type number. Received type number'
156
+ );
157
+ const n = r.valueOf && r.valueOf();
158
+ if (n != null && n !== r)
159
+ return a.from(n, e, t);
160
+ const s = g(r);
161
+ if (s) return s;
162
+ if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof r[Symbol.toPrimitive] == "function")
163
+ return a.from(r[Symbol.toPrimitive]("string"), e, t);
164
+ throw new TypeError(
165
+ "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof r
166
+ );
167
+ }
168
+ a.from = function(r, e, t) {
169
+ return v(r, e, t);
170
+ }, Object.setPrototypeOf(a.prototype, Uint8Array.prototype), Object.setPrototypeOf(a, Uint8Array);
171
+ function b(r) {
172
+ if (typeof r != "number")
173
+ throw new TypeError('"size" argument must be of type number');
174
+ if (r < 0)
175
+ throw new RangeError('The value "' + r + '" is invalid for option "size"');
176
+ }
177
+ function x(r, e, t) {
178
+ return b(r), r <= 0 ? y(r) : e !== void 0 ? typeof t == "string" ? y(r).fill(e, t) : y(r).fill(e) : y(r);
179
+ }
180
+ a.alloc = function(r, e, t) {
181
+ return x(r, e, t);
182
+ };
183
+ function B(r) {
184
+ return b(r), y(r < 0 ? 0 : k(r) | 0);
185
+ }
186
+ a.allocUnsafe = function(r) {
187
+ return B(r);
188
+ }, a.allocUnsafeSlow = function(r) {
189
+ return B(r);
190
+ };
191
+ function L(r, e) {
192
+ if ((typeof e != "string" || e === "") && (e = "utf8"), !a.isEncoding(e))
193
+ throw new TypeError("Unknown encoding: " + e);
194
+ const t = P(r, e) | 0;
195
+ let n = y(t);
196
+ const s = n.write(r, e);
197
+ return s !== t && (n = n.slice(0, s)), n;
198
+ }
199
+ function S(r) {
200
+ const e = r.length < 0 ? 0 : k(r.length) | 0, t = y(e);
201
+ for (let n = 0; n < e; n += 1)
202
+ t[n] = r[n] & 255;
203
+ return t;
204
+ }
205
+ function I(r) {
206
+ if (Z(r, Uint8Array)) {
207
+ const e = new Uint8Array(r);
208
+ return R(e.buffer, e.byteOffset, e.byteLength);
209
+ }
210
+ return S(r);
211
+ }
212
+ function R(r, e, t) {
213
+ if (e < 0 || r.byteLength < e)
214
+ throw new RangeError('"offset" is outside of buffer bounds');
215
+ if (r.byteLength < e + (t || 0))
216
+ throw new RangeError('"length" is outside of buffer bounds');
217
+ let n;
218
+ return e === void 0 && t === void 0 ? n = new Uint8Array(r) : t === void 0 ? n = new Uint8Array(r, e) : n = new Uint8Array(r, e, t), Object.setPrototypeOf(n, a.prototype), n;
219
+ }
220
+ function g(r) {
221
+ if (a.isBuffer(r)) {
222
+ const e = k(r.length) | 0, t = y(e);
223
+ return t.length === 0 || r.copy(t, 0, 0, e), t;
224
+ }
225
+ if (r.length !== void 0)
226
+ return typeof r.length != "number" || Te(r.length) ? y(0) : S(r);
227
+ if (r.type === "Buffer" && Array.isArray(r.data))
228
+ return S(r.data);
229
+ }
230
+ function k(r) {
231
+ if (r >= m)
232
+ throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + m.toString(16) + " bytes");
233
+ return r | 0;
234
+ }
235
+ function M(r) {
236
+ return +r != r && (r = 0), a.alloc(+r);
237
+ }
238
+ a.isBuffer = function(e) {
239
+ return e != null && e._isBuffer === !0 && e !== a.prototype;
240
+ }, a.compare = function(e, t) {
241
+ if (Z(e, Uint8Array) && (e = a.from(e, e.offset, e.byteLength)), Z(t, Uint8Array) && (t = a.from(t, t.offset, t.byteLength)), !a.isBuffer(e) || !a.isBuffer(t))
242
+ throw new TypeError(
243
+ 'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
244
+ );
245
+ if (e === t) return 0;
246
+ let n = e.length, s = t.length;
247
+ for (let d = 0, h = Math.min(n, s); d < h; ++d)
248
+ if (e[d] !== t[d]) {
249
+ n = e[d], s = t[d];
250
+ break;
251
+ }
252
+ return n < s ? -1 : s < n ? 1 : 0;
253
+ }, a.isEncoding = function(e) {
254
+ switch (String(e).toLowerCase()) {
255
+ case "hex":
256
+ case "utf8":
257
+ case "utf-8":
258
+ case "ascii":
259
+ case "latin1":
260
+ case "binary":
261
+ case "base64":
262
+ case "ucs2":
263
+ case "ucs-2":
264
+ case "utf16le":
265
+ case "utf-16le":
266
+ return !0;
267
+ default:
268
+ return !1;
269
+ }
270
+ }, a.concat = function(e, t) {
271
+ if (!Array.isArray(e))
272
+ throw new TypeError('"list" argument must be an Array of Buffers');
273
+ if (e.length === 0)
274
+ return a.alloc(0);
275
+ let n;
276
+ if (t === void 0)
277
+ for (t = 0, n = 0; n < e.length; ++n)
278
+ t += e[n].length;
279
+ const s = a.allocUnsafe(t);
280
+ let d = 0;
281
+ for (n = 0; n < e.length; ++n) {
282
+ let h = e[n];
283
+ if (Z(h, Uint8Array))
284
+ d + h.length > s.length ? (a.isBuffer(h) || (h = a.from(h)), h.copy(s, d)) : Uint8Array.prototype.set.call(
285
+ s,
286
+ h,
287
+ d
288
+ );
289
+ else if (a.isBuffer(h))
290
+ h.copy(s, d);
291
+ else
292
+ throw new TypeError('"list" argument must be an Array of Buffers');
293
+ d += h.length;
294
+ }
295
+ return s;
296
+ };
297
+ function P(r, e) {
298
+ if (a.isBuffer(r))
299
+ return r.length;
300
+ if (ArrayBuffer.isView(r) || Z(r, ArrayBuffer))
301
+ return r.byteLength;
302
+ if (typeof r != "string")
303
+ throw new TypeError(
304
+ 'The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof r
305
+ );
306
+ const t = r.length, n = arguments.length > 2 && arguments[2] === !0;
307
+ if (!n && t === 0) return 0;
308
+ let s = !1;
309
+ for (; ; )
310
+ switch (e) {
311
+ case "ascii":
312
+ case "latin1":
313
+ case "binary":
314
+ return t;
315
+ case "utf8":
316
+ case "utf-8":
317
+ return Ee(r).length;
318
+ case "ucs2":
319
+ case "ucs-2":
320
+ case "utf16le":
321
+ case "utf-16le":
322
+ return t * 2;
323
+ case "hex":
324
+ return t >>> 1;
325
+ case "base64":
326
+ return he(r).length;
327
+ default:
328
+ if (s)
329
+ return n ? -1 : Ee(r).length;
330
+ e = ("" + e).toLowerCase(), s = !0;
331
+ }
332
+ }
333
+ a.byteLength = P;
334
+ function N(r, e, t) {
335
+ let n = !1;
336
+ if ((e === void 0 || e < 0) && (e = 0), e > this.length || ((t === void 0 || t > this.length) && (t = this.length), t <= 0) || (t >>>= 0, e >>>= 0, t <= e))
337
+ return "";
338
+ for (r || (r = "utf8"); ; )
339
+ switch (r) {
340
+ case "hex":
341
+ return we(this, e, t);
342
+ case "utf8":
343
+ case "utf-8":
344
+ return ne(this, e, t);
345
+ case "ascii":
346
+ return ue(this, e, t);
347
+ case "latin1":
348
+ case "binary":
349
+ return $(this, e, t);
350
+ case "base64":
351
+ return re(this, e, t);
352
+ case "ucs2":
353
+ case "ucs-2":
354
+ case "utf16le":
355
+ case "utf-16le":
356
+ return ve(this, e, t);
357
+ default:
358
+ if (n) throw new TypeError("Unknown encoding: " + r);
359
+ r = (r + "").toLowerCase(), n = !0;
360
+ }
361
+ }
362
+ a.prototype._isBuffer = !0;
363
+ function T(r, e, t) {
364
+ const n = r[e];
365
+ r[e] = r[t], r[t] = n;
366
+ }
367
+ a.prototype.swap16 = function() {
368
+ const e = this.length;
369
+ if (e % 2 !== 0)
370
+ throw new RangeError("Buffer size must be a multiple of 16-bits");
371
+ for (let t = 0; t < e; t += 2)
372
+ T(this, t, t + 1);
373
+ return this;
374
+ }, a.prototype.swap32 = function() {
375
+ const e = this.length;
376
+ if (e % 4 !== 0)
377
+ throw new RangeError("Buffer size must be a multiple of 32-bits");
378
+ for (let t = 0; t < e; t += 4)
379
+ T(this, t, t + 3), T(this, t + 1, t + 2);
380
+ return this;
381
+ }, a.prototype.swap64 = function() {
382
+ const e = this.length;
383
+ if (e % 8 !== 0)
384
+ throw new RangeError("Buffer size must be a multiple of 64-bits");
385
+ for (let t = 0; t < e; t += 8)
386
+ T(this, t, t + 7), T(this, t + 1, t + 6), T(this, t + 2, t + 5), T(this, t + 3, t + 4);
387
+ return this;
388
+ }, a.prototype.toString = function() {
389
+ const e = this.length;
390
+ return e === 0 ? "" : arguments.length === 0 ? ne(this, 0, e) : N.apply(this, arguments);
391
+ }, a.prototype.toLocaleString = a.prototype.toString, a.prototype.equals = function(e) {
392
+ if (!a.isBuffer(e)) throw new TypeError("Argument must be a Buffer");
393
+ return this === e ? !0 : a.compare(this, e) === 0;
394
+ }, a.prototype.inspect = function() {
395
+ let e = "";
396
+ const t = c.INSPECT_MAX_BYTES;
397
+ return e = this.toString("hex", 0, t).replace(/(.{2})/g, "$1 ").trim(), this.length > t && (e += " ... "), "<Buffer " + e + ">";
398
+ }, w && (a.prototype[w] = a.prototype.inspect), a.prototype.compare = function(e, t, n, s, d) {
399
+ if (Z(e, Uint8Array) && (e = a.from(e, e.offset, e.byteLength)), !a.isBuffer(e))
400
+ throw new TypeError(
401
+ 'The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof e
402
+ );
403
+ if (t === void 0 && (t = 0), n === void 0 && (n = e ? e.length : 0), s === void 0 && (s = 0), d === void 0 && (d = this.length), t < 0 || n > e.length || s < 0 || d > this.length)
404
+ throw new RangeError("out of range index");
405
+ if (s >= d && t >= n)
406
+ return 0;
407
+ if (s >= d)
408
+ return -1;
409
+ if (t >= n)
410
+ return 1;
411
+ if (t >>>= 0, n >>>= 0, s >>>= 0, d >>>= 0, this === e) return 0;
412
+ let h = d - s, D = n - t;
413
+ const W = Math.min(h, D), H = this.slice(s, d), Y = e.slice(t, n);
414
+ for (let U = 0; U < W; ++U)
415
+ if (H[U] !== Y[U]) {
416
+ h = H[U], D = Y[U];
417
+ break;
418
+ }
419
+ return h < D ? -1 : D < h ? 1 : 0;
420
+ };
421
+ function q(r, e, t, n, s) {
422
+ if (r.length === 0) return -1;
423
+ if (typeof t == "string" ? (n = t, t = 0) : t > 2147483647 ? t = 2147483647 : t < -2147483648 && (t = -2147483648), t = +t, Te(t) && (t = s ? 0 : r.length - 1), t < 0 && (t = r.length + t), t >= r.length) {
424
+ if (s) return -1;
425
+ t = r.length - 1;
426
+ } else if (t < 0)
427
+ if (s) t = 0;
428
+ else return -1;
429
+ if (typeof e == "string" && (e = a.from(e, n)), a.isBuffer(e))
430
+ return e.length === 0 ? -1 : F(r, e, t, n, s);
431
+ if (typeof e == "number")
432
+ return e = e & 255, typeof Uint8Array.prototype.indexOf == "function" ? s ? Uint8Array.prototype.indexOf.call(r, e, t) : Uint8Array.prototype.lastIndexOf.call(r, e, t) : F(r, [e], t, n, s);
433
+ throw new TypeError("val must be string, number or Buffer");
434
+ }
435
+ function F(r, e, t, n, s) {
436
+ let d = 1, h = r.length, D = e.length;
437
+ if (n !== void 0 && (n = String(n).toLowerCase(), n === "ucs2" || n === "ucs-2" || n === "utf16le" || n === "utf-16le")) {
438
+ if (r.length < 2 || e.length < 2)
439
+ return -1;
440
+ d = 2, h /= 2, D /= 2, t /= 2;
441
+ }
442
+ function W(Y, U) {
443
+ return d === 1 ? Y[U] : Y.readUInt16BE(U * d);
444
+ }
445
+ let H;
446
+ if (s) {
447
+ let Y = -1;
448
+ for (H = t; H < h; H++)
449
+ if (W(r, H) === W(e, Y === -1 ? 0 : H - Y)) {
450
+ if (Y === -1 && (Y = H), H - Y + 1 === D) return Y * d;
451
+ } else
452
+ Y !== -1 && (H -= H - Y), Y = -1;
453
+ } else
454
+ for (t + D > h && (t = h - D), H = t; H >= 0; H--) {
455
+ let Y = !0;
456
+ for (let U = 0; U < D; U++)
457
+ if (W(r, H + U) !== W(e, U)) {
458
+ Y = !1;
459
+ break;
460
+ }
461
+ if (Y) return H;
462
+ }
463
+ return -1;
464
+ }
465
+ a.prototype.includes = function(e, t, n) {
466
+ return this.indexOf(e, t, n) !== -1;
467
+ }, a.prototype.indexOf = function(e, t, n) {
468
+ return q(this, e, t, n, !0);
469
+ }, a.prototype.lastIndexOf = function(e, t, n) {
470
+ return q(this, e, t, n, !1);
471
+ };
472
+ function j(r, e, t, n) {
473
+ t = Number(t) || 0;
474
+ const s = r.length - t;
475
+ n ? (n = Number(n), n > s && (n = s)) : n = s;
476
+ const d = e.length;
477
+ n > d / 2 && (n = d / 2);
478
+ let h;
479
+ for (h = 0; h < n; ++h) {
480
+ const D = parseInt(e.substr(h * 2, 2), 16);
481
+ if (Te(D)) return h;
482
+ r[t + h] = D;
483
+ }
484
+ return h;
485
+ }
486
+ function Q(r, e, t, n) {
487
+ return V(Ee(e, r.length - t), r, t, n);
488
+ }
489
+ function K(r, e, t, n) {
490
+ return V(E(e), r, t, n);
491
+ }
492
+ function ce(r, e, t, n) {
493
+ return V(he(e), r, t, n);
494
+ }
495
+ function Se(r, e, t, n) {
496
+ return V(be(e, r.length - t), r, t, n);
497
+ }
498
+ a.prototype.write = function(e, t, n, s) {
499
+ if (t === void 0)
500
+ s = "utf8", n = this.length, t = 0;
501
+ else if (n === void 0 && typeof t == "string")
502
+ s = t, n = this.length, t = 0;
503
+ else if (isFinite(t))
504
+ t = t >>> 0, isFinite(n) ? (n = n >>> 0, s === void 0 && (s = "utf8")) : (s = n, n = void 0);
505
+ else
506
+ throw new Error(
507
+ "Buffer.write(string, encoding, offset[, length]) is no longer supported"
508
+ );
509
+ const d = this.length - t;
510
+ if ((n === void 0 || n > d) && (n = d), e.length > 0 && (n < 0 || t < 0) || t > this.length)
511
+ throw new RangeError("Attempt to write outside buffer bounds");
512
+ s || (s = "utf8");
513
+ let h = !1;
514
+ for (; ; )
515
+ switch (s) {
516
+ case "hex":
517
+ return j(this, e, t, n);
518
+ case "utf8":
519
+ case "utf-8":
520
+ return Q(this, e, t, n);
521
+ case "ascii":
522
+ case "latin1":
523
+ case "binary":
524
+ return K(this, e, t, n);
525
+ case "base64":
526
+ return ce(this, e, t, n);
527
+ case "ucs2":
528
+ case "ucs-2":
529
+ case "utf16le":
530
+ case "utf-16le":
531
+ return Se(this, e, t, n);
532
+ default:
533
+ if (h) throw new TypeError("Unknown encoding: " + s);
534
+ s = ("" + s).toLowerCase(), h = !0;
535
+ }
536
+ }, a.prototype.toJSON = function() {
537
+ return {
538
+ type: "Buffer",
539
+ data: Array.prototype.slice.call(this._arr || this, 0)
540
+ };
541
+ };
542
+ function re(r, e, t) {
543
+ return e === 0 && t === r.length ? l.fromByteArray(r) : l.fromByteArray(r.slice(e, t));
544
+ }
545
+ function ne(r, e, t) {
546
+ t = Math.min(r.length, t);
547
+ const n = [];
548
+ let s = e;
549
+ for (; s < t; ) {
550
+ const d = r[s];
551
+ let h = null, D = d > 239 ? 4 : d > 223 ? 3 : d > 191 ? 2 : 1;
552
+ if (s + D <= t) {
553
+ let W, H, Y, U;
554
+ switch (D) {
555
+ case 1:
556
+ d < 128 && (h = d);
557
+ break;
558
+ case 2:
559
+ W = r[s + 1], (W & 192) === 128 && (U = (d & 31) << 6 | W & 63, U > 127 && (h = U));
560
+ break;
561
+ case 3:
562
+ W = r[s + 1], H = r[s + 2], (W & 192) === 128 && (H & 192) === 128 && (U = (d & 15) << 12 | (W & 63) << 6 | H & 63, U > 2047 && (U < 55296 || U > 57343) && (h = U));
563
+ break;
564
+ case 4:
565
+ W = r[s + 1], H = r[s + 2], Y = r[s + 3], (W & 192) === 128 && (H & 192) === 128 && (Y & 192) === 128 && (U = (d & 15) << 18 | (W & 63) << 12 | (H & 63) << 6 | Y & 63, U > 65535 && U < 1114112 && (h = U));
566
+ }
567
+ }
568
+ h === null ? (h = 65533, D = 1) : h > 65535 && (h -= 65536, n.push(h >>> 10 & 1023 | 55296), h = 56320 | h & 1023), n.push(h), s += D;
569
+ }
570
+ return de(n);
571
+ }
572
+ const z = 4096;
573
+ function de(r) {
574
+ const e = r.length;
575
+ if (e <= z)
576
+ return String.fromCharCode.apply(String, r);
577
+ let t = "", n = 0;
578
+ for (; n < e; )
579
+ t += String.fromCharCode.apply(
580
+ String,
581
+ r.slice(n, n += z)
582
+ );
583
+ return t;
584
+ }
585
+ function ue(r, e, t) {
586
+ let n = "";
587
+ t = Math.min(r.length, t);
588
+ for (let s = e; s < t; ++s)
589
+ n += String.fromCharCode(r[s] & 127);
590
+ return n;
591
+ }
592
+ function $(r, e, t) {
593
+ let n = "";
594
+ t = Math.min(r.length, t);
595
+ for (let s = e; s < t; ++s)
596
+ n += String.fromCharCode(r[s]);
597
+ return n;
598
+ }
599
+ function we(r, e, t) {
600
+ const n = r.length;
601
+ (!e || e < 0) && (e = 0), (!t || t < 0 || t > n) && (t = n);
602
+ let s = "";
603
+ for (let d = e; d < t; ++d)
604
+ s += At[r[d]];
605
+ return s;
606
+ }
607
+ function ve(r, e, t) {
608
+ const n = r.slice(e, t);
609
+ let s = "";
610
+ for (let d = 0; d < n.length - 1; d += 2)
611
+ s += String.fromCharCode(n[d] + n[d + 1] * 256);
612
+ return s;
613
+ }
614
+ a.prototype.slice = function(e, t) {
615
+ const n = this.length;
616
+ e = ~~e, t = t === void 0 ? n : ~~t, e < 0 ? (e += n, e < 0 && (e = 0)) : e > n && (e = n), t < 0 ? (t += n, t < 0 && (t = 0)) : t > n && (t = n), t < e && (t = e);
617
+ const s = this.subarray(e, t);
618
+ return Object.setPrototypeOf(s, a.prototype), s;
619
+ };
620
+ function O(r, e, t) {
621
+ if (r % 1 !== 0 || r < 0) throw new RangeError("offset is not uint");
622
+ if (r + e > t) throw new RangeError("Trying to access beyond buffer length");
623
+ }
624
+ a.prototype.readUintLE = a.prototype.readUIntLE = function(e, t, n) {
625
+ e = e >>> 0, t = t >>> 0, n || O(e, t, this.length);
626
+ let s = this[e], d = 1, h = 0;
627
+ for (; ++h < t && (d *= 256); )
628
+ s += this[e + h] * d;
629
+ return s;
630
+ }, a.prototype.readUintBE = a.prototype.readUIntBE = function(e, t, n) {
631
+ e = e >>> 0, t = t >>> 0, n || O(e, t, this.length);
632
+ let s = this[e + --t], d = 1;
633
+ for (; t > 0 && (d *= 256); )
634
+ s += this[e + --t] * d;
635
+ return s;
636
+ }, a.prototype.readUint8 = a.prototype.readUInt8 = function(e, t) {
637
+ return e = e >>> 0, t || O(e, 1, this.length), this[e];
638
+ }, a.prototype.readUint16LE = a.prototype.readUInt16LE = function(e, t) {
639
+ return e = e >>> 0, t || O(e, 2, this.length), this[e] | this[e + 1] << 8;
640
+ }, a.prototype.readUint16BE = a.prototype.readUInt16BE = function(e, t) {
641
+ return e = e >>> 0, t || O(e, 2, this.length), this[e] << 8 | this[e + 1];
642
+ }, a.prototype.readUint32LE = a.prototype.readUInt32LE = function(e, t) {
643
+ return e = e >>> 0, t || O(e, 4, this.length), (this[e] | this[e + 1] << 8 | this[e + 2] << 16) + this[e + 3] * 16777216;
644
+ }, a.prototype.readUint32BE = a.prototype.readUInt32BE = function(e, t) {
645
+ return e = e >>> 0, t || O(e, 4, this.length), this[e] * 16777216 + (this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3]);
646
+ }, a.prototype.readBigUInt64LE = fe(function(e) {
647
+ e = e >>> 0, pe(e, "offset");
648
+ const t = this[e], n = this[e + 7];
649
+ (t === void 0 || n === void 0) && J(e, this.length - 8);
650
+ const s = t + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24, d = this[++e] + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + n * 2 ** 24;
651
+ return BigInt(s) + (BigInt(d) << BigInt(32));
652
+ }), a.prototype.readBigUInt64BE = fe(function(e) {
653
+ e = e >>> 0, pe(e, "offset");
654
+ const t = this[e], n = this[e + 7];
655
+ (t === void 0 || n === void 0) && J(e, this.length - 8);
656
+ const s = t * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + this[++e], d = this[++e] * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + n;
657
+ return (BigInt(s) << BigInt(32)) + BigInt(d);
658
+ }), a.prototype.readIntLE = function(e, t, n) {
659
+ e = e >>> 0, t = t >>> 0, n || O(e, t, this.length);
660
+ let s = this[e], d = 1, h = 0;
661
+ for (; ++h < t && (d *= 256); )
662
+ s += this[e + h] * d;
663
+ return d *= 128, s >= d && (s -= Math.pow(2, 8 * t)), s;
664
+ }, a.prototype.readIntBE = function(e, t, n) {
665
+ e = e >>> 0, t = t >>> 0, n || O(e, t, this.length);
666
+ let s = t, d = 1, h = this[e + --s];
667
+ for (; s > 0 && (d *= 256); )
668
+ h += this[e + --s] * d;
669
+ return d *= 128, h >= d && (h -= Math.pow(2, 8 * t)), h;
670
+ }, a.prototype.readInt8 = function(e, t) {
671
+ return e = e >>> 0, t || O(e, 1, this.length), this[e] & 128 ? (255 - this[e] + 1) * -1 : this[e];
672
+ }, a.prototype.readInt16LE = function(e, t) {
673
+ e = e >>> 0, t || O(e, 2, this.length);
674
+ const n = this[e] | this[e + 1] << 8;
675
+ return n & 32768 ? n | 4294901760 : n;
676
+ }, a.prototype.readInt16BE = function(e, t) {
677
+ e = e >>> 0, t || O(e, 2, this.length);
678
+ const n = this[e + 1] | this[e] << 8;
679
+ return n & 32768 ? n | 4294901760 : n;
680
+ }, a.prototype.readInt32LE = function(e, t) {
681
+ return e = e >>> 0, t || O(e, 4, this.length), this[e] | this[e + 1] << 8 | this[e + 2] << 16 | this[e + 3] << 24;
682
+ }, a.prototype.readInt32BE = function(e, t) {
683
+ return e = e >>> 0, t || O(e, 4, this.length), this[e] << 24 | this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3];
684
+ }, a.prototype.readBigInt64LE = fe(function(e) {
685
+ e = e >>> 0, pe(e, "offset");
686
+ const t = this[e], n = this[e + 7];
687
+ (t === void 0 || n === void 0) && J(e, this.length - 8);
688
+ const s = this[e + 4] + this[e + 5] * 2 ** 8 + this[e + 6] * 2 ** 16 + (n << 24);
689
+ return (BigInt(s) << BigInt(32)) + BigInt(t + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24);
690
+ }), a.prototype.readBigInt64BE = fe(function(e) {
691
+ e = e >>> 0, pe(e, "offset");
692
+ const t = this[e], n = this[e + 7];
693
+ (t === void 0 || n === void 0) && J(e, this.length - 8);
694
+ const s = (t << 24) + // Overflow
695
+ this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + this[++e];
696
+ return (BigInt(s) << BigInt(32)) + BigInt(this[++e] * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + n);
697
+ }), a.prototype.readFloatLE = function(e, t) {
698
+ return e = e >>> 0, t || O(e, 4, this.length), u.read(this, e, !0, 23, 4);
699
+ }, a.prototype.readFloatBE = function(e, t) {
700
+ return e = e >>> 0, t || O(e, 4, this.length), u.read(this, e, !1, 23, 4);
701
+ }, a.prototype.readDoubleLE = function(e, t) {
702
+ return e = e >>> 0, t || O(e, 8, this.length), u.read(this, e, !0, 52, 8);
703
+ }, a.prototype.readDoubleBE = function(e, t) {
704
+ return e = e >>> 0, t || O(e, 8, this.length), u.read(this, e, !1, 52, 8);
705
+ };
706
+ function G(r, e, t, n, s, d) {
707
+ if (!a.isBuffer(r)) throw new TypeError('"buffer" argument must be a Buffer instance');
708
+ if (e > s || e < d) throw new RangeError('"value" argument is out of bounds');
709
+ if (t + n > r.length) throw new RangeError("Index out of range");
710
+ }
711
+ a.prototype.writeUintLE = a.prototype.writeUIntLE = function(e, t, n, s) {
712
+ if (e = +e, t = t >>> 0, n = n >>> 0, !s) {
713
+ const D = Math.pow(2, 8 * n) - 1;
714
+ G(this, e, t, n, D, 0);
715
+ }
716
+ let d = 1, h = 0;
717
+ for (this[t] = e & 255; ++h < n && (d *= 256); )
718
+ this[t + h] = e / d & 255;
719
+ return t + n;
720
+ }, a.prototype.writeUintBE = a.prototype.writeUIntBE = function(e, t, n, s) {
721
+ if (e = +e, t = t >>> 0, n = n >>> 0, !s) {
722
+ const D = Math.pow(2, 8 * n) - 1;
723
+ G(this, e, t, n, D, 0);
724
+ }
725
+ let d = n - 1, h = 1;
726
+ for (this[t + d] = e & 255; --d >= 0 && (h *= 256); )
727
+ this[t + d] = e / h & 255;
728
+ return t + n;
729
+ }, a.prototype.writeUint8 = a.prototype.writeUInt8 = function(e, t, n) {
730
+ return e = +e, t = t >>> 0, n || G(this, e, t, 1, 255, 0), this[t] = e & 255, t + 1;
731
+ }, a.prototype.writeUint16LE = a.prototype.writeUInt16LE = function(e, t, n) {
732
+ return e = +e, t = t >>> 0, n || G(this, e, t, 2, 65535, 0), this[t] = e & 255, this[t + 1] = e >>> 8, t + 2;
733
+ }, a.prototype.writeUint16BE = a.prototype.writeUInt16BE = function(e, t, n) {
734
+ return e = +e, t = t >>> 0, n || G(this, e, t, 2, 65535, 0), this[t] = e >>> 8, this[t + 1] = e & 255, t + 2;
735
+ }, a.prototype.writeUint32LE = a.prototype.writeUInt32LE = function(e, t, n) {
736
+ return e = +e, t = t >>> 0, n || G(this, e, t, 4, 4294967295, 0), this[t + 3] = e >>> 24, this[t + 2] = e >>> 16, this[t + 1] = e >>> 8, this[t] = e & 255, t + 4;
737
+ }, a.prototype.writeUint32BE = a.prototype.writeUInt32BE = function(e, t, n) {
738
+ return e = +e, t = t >>> 0, n || G(this, e, t, 4, 4294967295, 0), this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = e & 255, t + 4;
739
+ };
740
+ function Le(r, e, t, n, s) {
741
+ De(e, n, s, r, t, 7);
742
+ let d = Number(e & BigInt(4294967295));
743
+ r[t++] = d, d = d >> 8, r[t++] = d, d = d >> 8, r[t++] = d, d = d >> 8, r[t++] = d;
744
+ let h = Number(e >> BigInt(32) & BigInt(4294967295));
745
+ return r[t++] = h, h = h >> 8, r[t++] = h, h = h >> 8, r[t++] = h, h = h >> 8, r[t++] = h, t;
746
+ }
747
+ function ie(r, e, t, n, s) {
748
+ De(e, n, s, r, t, 7);
749
+ let d = Number(e & BigInt(4294967295));
750
+ r[t + 7] = d, d = d >> 8, r[t + 6] = d, d = d >> 8, r[t + 5] = d, d = d >> 8, r[t + 4] = d;
751
+ let h = Number(e >> BigInt(32) & BigInt(4294967295));
752
+ return r[t + 3] = h, h = h >> 8, r[t + 2] = h, h = h >> 8, r[t + 1] = h, h = h >> 8, r[t] = h, t + 8;
753
+ }
754
+ a.prototype.writeBigUInt64LE = fe(function(e, t = 0) {
755
+ return Le(this, e, t, BigInt(0), BigInt("0xffffffffffffffff"));
756
+ }), a.prototype.writeBigUInt64BE = fe(function(e, t = 0) {
757
+ return ie(this, e, t, BigInt(0), BigInt("0xffffffffffffffff"));
758
+ }), a.prototype.writeIntLE = function(e, t, n, s) {
759
+ if (e = +e, t = t >>> 0, !s) {
760
+ const W = Math.pow(2, 8 * n - 1);
761
+ G(this, e, t, n, W - 1, -W);
762
+ }
763
+ let d = 0, h = 1, D = 0;
764
+ for (this[t] = e & 255; ++d < n && (h *= 256); )
765
+ e < 0 && D === 0 && this[t + d - 1] !== 0 && (D = 1), this[t + d] = (e / h >> 0) - D & 255;
766
+ return t + n;
767
+ }, a.prototype.writeIntBE = function(e, t, n, s) {
768
+ if (e = +e, t = t >>> 0, !s) {
769
+ const W = Math.pow(2, 8 * n - 1);
770
+ G(this, e, t, n, W - 1, -W);
771
+ }
772
+ let d = n - 1, h = 1, D = 0;
773
+ for (this[t + d] = e & 255; --d >= 0 && (h *= 256); )
774
+ e < 0 && D === 0 && this[t + d + 1] !== 0 && (D = 1), this[t + d] = (e / h >> 0) - D & 255;
775
+ return t + n;
776
+ }, a.prototype.writeInt8 = function(e, t, n) {
777
+ return e = +e, t = t >>> 0, n || G(this, e, t, 1, 127, -128), e < 0 && (e = 255 + e + 1), this[t] = e & 255, t + 1;
778
+ }, a.prototype.writeInt16LE = function(e, t, n) {
779
+ return e = +e, t = t >>> 0, n || G(this, e, t, 2, 32767, -32768), this[t] = e & 255, this[t + 1] = e >>> 8, t + 2;
780
+ }, a.prototype.writeInt16BE = function(e, t, n) {
781
+ return e = +e, t = t >>> 0, n || G(this, e, t, 2, 32767, -32768), this[t] = e >>> 8, this[t + 1] = e & 255, t + 2;
782
+ }, a.prototype.writeInt32LE = function(e, t, n) {
783
+ return e = +e, t = t >>> 0, n || G(this, e, t, 4, 2147483647, -2147483648), this[t] = e & 255, this[t + 1] = e >>> 8, this[t + 2] = e >>> 16, this[t + 3] = e >>> 24, t + 4;
784
+ }, a.prototype.writeInt32BE = function(e, t, n) {
785
+ return e = +e, t = t >>> 0, n || G(this, e, t, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1), this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = e & 255, t + 4;
786
+ }, a.prototype.writeBigInt64LE = fe(function(e, t = 0) {
787
+ return Le(this, e, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
788
+ }), a.prototype.writeBigInt64BE = fe(function(e, t = 0) {
789
+ return ie(this, e, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
790
+ });
791
+ function oe(r, e, t, n, s, d) {
792
+ if (t + n > r.length) throw new RangeError("Index out of range");
793
+ if (t < 0) throw new RangeError("Index out of range");
794
+ }
795
+ function Oe(r, e, t, n, s) {
796
+ return e = +e, t = t >>> 0, s || oe(r, e, t, 4), u.write(r, e, t, n, 23, 4), t + 4;
797
+ }
798
+ a.prototype.writeFloatLE = function(e, t, n) {
799
+ return Oe(this, e, t, !0, n);
800
+ }, a.prototype.writeFloatBE = function(e, t, n) {
801
+ return Oe(this, e, t, !1, n);
802
+ };
803
+ function Me(r, e, t, n, s) {
804
+ return e = +e, t = t >>> 0, s || oe(r, e, t, 8), u.write(r, e, t, n, 52, 8), t + 8;
805
+ }
806
+ a.prototype.writeDoubleLE = function(e, t, n) {
807
+ return Me(this, e, t, !0, n);
808
+ }, a.prototype.writeDoubleBE = function(e, t, n) {
809
+ return Me(this, e, t, !1, n);
810
+ }, a.prototype.copy = function(e, t, n, s) {
811
+ if (!a.isBuffer(e)) throw new TypeError("argument should be a Buffer");
812
+ if (n || (n = 0), !s && s !== 0 && (s = this.length), t >= e.length && (t = e.length), t || (t = 0), s > 0 && s < n && (s = n), s === n || e.length === 0 || this.length === 0) return 0;
813
+ if (t < 0)
814
+ throw new RangeError("targetStart out of bounds");
815
+ if (n < 0 || n >= this.length) throw new RangeError("Index out of range");
816
+ if (s < 0) throw new RangeError("sourceEnd out of bounds");
817
+ s > this.length && (s = this.length), e.length - t < s - n && (s = e.length - t + n);
818
+ const d = s - n;
819
+ return this === e && typeof Uint8Array.prototype.copyWithin == "function" ? this.copyWithin(t, n, s) : Uint8Array.prototype.set.call(
820
+ e,
821
+ this.subarray(n, s),
822
+ t
823
+ ), d;
824
+ }, a.prototype.fill = function(e, t, n, s) {
825
+ if (typeof e == "string") {
826
+ if (typeof t == "string" ? (s = t, t = 0, n = this.length) : typeof n == "string" && (s = n, n = this.length), s !== void 0 && typeof s != "string")
827
+ throw new TypeError("encoding must be a string");
828
+ if (typeof s == "string" && !a.isEncoding(s))
829
+ throw new TypeError("Unknown encoding: " + s);
830
+ if (e.length === 1) {
831
+ const h = e.charCodeAt(0);
832
+ (s === "utf8" && h < 128 || s === "latin1") && (e = h);
833
+ }
834
+ } else typeof e == "number" ? e = e & 255 : typeof e == "boolean" && (e = Number(e));
835
+ if (t < 0 || this.length < t || this.length < n)
836
+ throw new RangeError("Out of range index");
837
+ if (n <= t)
838
+ return this;
839
+ t = t >>> 0, n = n === void 0 ? this.length : n >>> 0, e || (e = 0);
840
+ let d;
841
+ if (typeof e == "number")
842
+ for (d = t; d < n; ++d)
843
+ this[d] = e;
844
+ else {
845
+ const h = a.isBuffer(e) ? e : a.from(e, s), D = h.length;
846
+ if (D === 0)
847
+ throw new TypeError('The value "' + e + '" is invalid for argument "value"');
848
+ for (d = 0; d < n - t; ++d)
849
+ this[d + t] = h[d % D];
850
+ }
851
+ return this;
852
+ };
853
+ const _ = {};
854
+ function Be(r, e, t) {
855
+ _[r] = class extends t {
856
+ constructor() {
857
+ super(), Object.defineProperty(this, "message", {
858
+ value: e.apply(this, arguments),
859
+ writable: !0,
860
+ configurable: !0
861
+ }), this.name = `${this.name} [${r}]`, this.stack, delete this.name;
862
+ }
863
+ get code() {
864
+ return r;
865
+ }
866
+ set code(s) {
867
+ Object.defineProperty(this, "code", {
868
+ configurable: !0,
869
+ enumerable: !0,
870
+ value: s,
871
+ writable: !0
872
+ });
873
+ }
874
+ toString() {
875
+ return `${this.name} [${r}]: ${this.message}`;
876
+ }
877
+ };
878
+ }
879
+ Be(
880
+ "ERR_BUFFER_OUT_OF_BOUNDS",
881
+ function(r) {
882
+ return r ? `${r} is outside of buffer bounds` : "Attempt to access memory outside buffer bounds";
883
+ },
884
+ RangeError
885
+ ), Be(
886
+ "ERR_INVALID_ARG_TYPE",
887
+ function(r, e) {
888
+ return `The "${r}" argument must be of type number. Received type ${typeof e}`;
889
+ },
890
+ TypeError
891
+ ), Be(
892
+ "ERR_OUT_OF_RANGE",
893
+ function(r, e, t) {
894
+ let n = `The value of "${r}" is out of range.`, s = t;
895
+ return Number.isInteger(t) && Math.abs(t) > 2 ** 32 ? s = Ne(String(t)) : typeof t == "bigint" && (s = String(t), (t > BigInt(2) ** BigInt(32) || t < -(BigInt(2) ** BigInt(32))) && (s = Ne(s)), s += "n"), n += ` It must be ${e}. Received ${s}`, n;
896
+ },
897
+ RangeError
898
+ );
899
+ function Ne(r) {
900
+ let e = "", t = r.length;
901
+ const n = r[0] === "-" ? 1 : 0;
902
+ for (; t >= n + 4; t -= 3)
903
+ e = `_${r.slice(t - 3, t)}${e}`;
904
+ return `${r.slice(0, t)}${e}`;
905
+ }
906
+ function je(r, e, t) {
907
+ pe(e, "offset"), (r[e] === void 0 || r[e + t] === void 0) && J(e, r.length - (t + 1));
908
+ }
909
+ function De(r, e, t, n, s, d) {
910
+ if (r > t || r < e) {
911
+ const h = typeof e == "bigint" ? "n" : "";
912
+ let D;
913
+ throw e === 0 || e === BigInt(0) ? D = `>= 0${h} and < 2${h} ** ${(d + 1) * 8}${h}` : D = `>= -(2${h} ** ${(d + 1) * 8 - 1}${h}) and < 2 ** ${(d + 1) * 8 - 1}${h}`, new _.ERR_OUT_OF_RANGE("value", D, r);
914
+ }
915
+ je(n, s, d);
916
+ }
917
+ function pe(r, e) {
918
+ if (typeof r != "number")
919
+ throw new _.ERR_INVALID_ARG_TYPE(e, "number", r);
920
+ }
921
+ function J(r, e, t) {
922
+ throw Math.floor(r) !== r ? (pe(r, t), new _.ERR_OUT_OF_RANGE("offset", "an integer", r)) : e < 0 ? new _.ERR_BUFFER_OUT_OF_BOUNDS() : new _.ERR_OUT_OF_RANGE(
923
+ "offset",
924
+ `>= 0 and <= ${e}`,
925
+ r
926
+ );
927
+ }
928
+ const Ve = /[^+/0-9A-Za-z-_]/g;
929
+ function Ue(r) {
930
+ if (r = r.split("=")[0], r = r.trim().replace(Ve, ""), r.length < 2) return "";
931
+ for (; r.length % 4 !== 0; )
932
+ r = r + "=";
933
+ return r;
934
+ }
935
+ function Ee(r, e) {
936
+ e = e || 1 / 0;
937
+ let t;
938
+ const n = r.length;
939
+ let s = null;
940
+ const d = [];
941
+ for (let h = 0; h < n; ++h) {
942
+ if (t = r.charCodeAt(h), t > 55295 && t < 57344) {
943
+ if (!s) {
944
+ if (t > 56319) {
945
+ (e -= 3) > -1 && d.push(239, 191, 189);
946
+ continue;
947
+ } else if (h + 1 === n) {
948
+ (e -= 3) > -1 && d.push(239, 191, 189);
949
+ continue;
950
+ }
951
+ s = t;
952
+ continue;
953
+ }
954
+ if (t < 56320) {
955
+ (e -= 3) > -1 && d.push(239, 191, 189), s = t;
956
+ continue;
957
+ }
958
+ t = (s - 55296 << 10 | t - 56320) + 65536;
959
+ } else s && (e -= 3) > -1 && d.push(239, 191, 189);
960
+ if (s = null, t < 128) {
961
+ if ((e -= 1) < 0) break;
962
+ d.push(t);
963
+ } else if (t < 2048) {
964
+ if ((e -= 2) < 0) break;
965
+ d.push(
966
+ t >> 6 | 192,
967
+ t & 63 | 128
968
+ );
969
+ } else if (t < 65536) {
970
+ if ((e -= 3) < 0) break;
971
+ d.push(
972
+ t >> 12 | 224,
973
+ t >> 6 & 63 | 128,
974
+ t & 63 | 128
975
+ );
976
+ } else if (t < 1114112) {
977
+ if ((e -= 4) < 0) break;
978
+ d.push(
979
+ t >> 18 | 240,
980
+ t >> 12 & 63 | 128,
981
+ t >> 6 & 63 | 128,
982
+ t & 63 | 128
983
+ );
984
+ } else
985
+ throw new Error("Invalid code point");
986
+ }
987
+ return d;
988
+ }
989
+ function E(r) {
990
+ const e = [];
991
+ for (let t = 0; t < r.length; ++t)
992
+ e.push(r.charCodeAt(t) & 255);
993
+ return e;
994
+ }
995
+ function be(r, e) {
996
+ let t, n, s;
997
+ const d = [];
998
+ for (let h = 0; h < r.length && !((e -= 2) < 0); ++h)
999
+ t = r.charCodeAt(h), n = t >> 8, s = t % 256, d.push(s), d.push(n);
1000
+ return d;
1001
+ }
1002
+ function he(r) {
1003
+ return l.toByteArray(Ue(r));
1004
+ }
1005
+ function V(r, e, t, n) {
1006
+ let s;
1007
+ for (s = 0; s < n && !(s + t >= e.length || s >= r.length); ++s)
1008
+ e[s + t] = r[s];
1009
+ return s;
1010
+ }
1011
+ function Z(r, e) {
1012
+ return r instanceof e || r != null && r.constructor != null && r.constructor.name != null && r.constructor.name === e.name;
1013
+ }
1014
+ function Te(r) {
1015
+ return r !== r;
1016
+ }
1017
+ const At = (function() {
1018
+ const r = "0123456789abcdef", e = new Array(256);
1019
+ for (let t = 0; t < 16; ++t) {
1020
+ const n = t * 16;
1021
+ for (let s = 0; s < 16; ++s)
1022
+ e[n + s] = r[t] + r[s];
1023
+ }
1024
+ return e;
1025
+ })();
1026
+ function fe(r) {
1027
+ return typeof BigInt > "u" ? kt : r;
1028
+ }
1029
+ function kt() {
1030
+ throw new Error("BigInt not supported");
1031
+ }
1032
+ })(Ge)), Ge;
1033
+ }
1034
+ var er = _t();
1035
+ const rt = globalThis;
1036
+ typeof rt.Buffer > "u" && (rt.Buffer = er.Buffer);
1037
+ const nt = {
13
1038
  screen: "yield-forward-intro",
14
1039
  screenHistory: [],
15
1040
  selectedStakeAccountPubkey: null,
@@ -34,100 +1059,100 @@ const De = {
34
1059
  redeemAmountSol: null,
35
1060
  redeemTxSignature: null
36
1061
  };
37
- function Rt() {
38
- return Ct()(
39
- Et((r) => ({
40
- ...De,
41
- navigate(n) {
42
- r((o) => {
43
- o.screenHistory.push(o.screen), o.screen = n;
1062
+ function tr() {
1063
+ return qt()(
1064
+ Kt((c) => ({
1065
+ ...nt,
1066
+ navigate(l) {
1067
+ c((u) => {
1068
+ u.screenHistory.push(u.screen), u.screen = l;
44
1069
  });
45
1070
  },
46
1071
  goBack() {
47
- r((n) => {
48
- const o = n.screenHistory.pop();
49
- o && (n.screen = o), n.txStatus === "error" && (n.txStatus = "idle", n.txStep = "idle", n.txError = null), n.redeemError = null;
1072
+ c((l) => {
1073
+ const u = l.screenHistory.pop();
1074
+ u && (l.screen = u), l.txStatus === "error" && (l.txStatus = "idle", l.txStep = "idle", l.txError = null), l.redeemError = null;
50
1075
  });
51
1076
  },
52
- selectStakeAccount(n, o, d, u, l, h) {
53
- r((g) => {
54
- g.selectedStakeAccountPubkey = n, g.selectedStakeAccountBalance = o, g.selectedValidatorName = d ?? null, g.selectedValidatorIcon = u ?? null, g.selectedValidatorVoteAccount = l ?? null, g.selectedValidatorAltPubkey = h ?? null;
1077
+ selectStakeAccount(l, u, w, m, p, y) {
1078
+ c((a) => {
1079
+ a.selectedStakeAccountPubkey = l, a.selectedStakeAccountBalance = u, a.selectedValidatorName = w ?? null, a.selectedValidatorIcon = m ?? null, a.selectedValidatorVoteAccount = p ?? null, a.selectedValidatorAltPubkey = y ?? null;
55
1080
  });
56
1081
  },
57
- setDepositAmount(n) {
58
- r((o) => {
59
- o.depositAmount = n;
1082
+ setDepositAmount(l) {
1083
+ c((u) => {
1084
+ u.depositAmount = l;
60
1085
  });
61
1086
  },
62
- setSelectedMaturity(n) {
63
- r((o) => {
64
- o.selectedMaturityId = n;
1087
+ setSelectedMaturity(l) {
1088
+ c((u) => {
1089
+ u.selectedMaturityId = l;
65
1090
  });
66
1091
  },
67
- setAdvancedOpen(n) {
68
- r((o) => {
69
- o.advancedOpen = n;
1092
+ setAdvancedOpen(l) {
1093
+ c((u) => {
1094
+ u.advancedOpen = l;
70
1095
  });
71
1096
  },
72
- setSlippageBps(n) {
73
- r((o) => {
74
- o.slippageBps = n;
1097
+ setSlippageBps(l) {
1098
+ c((u) => {
1099
+ u.slippageBps = l;
75
1100
  });
76
1101
  },
77
- setSellAmountSol(n) {
78
- r((o) => {
79
- o.sellAmountSol = n;
1102
+ setSellAmountSol(l) {
1103
+ c((u) => {
1104
+ u.sellAmountSol = l;
80
1105
  });
81
1106
  },
82
- setRedeemingMint(n) {
83
- r((o) => {
84
- o.redeemingMint = n;
1107
+ setRedeemingMint(l) {
1108
+ c((u) => {
1109
+ u.redeemingMint = l;
85
1110
  });
86
1111
  },
87
- setRedeemError(n) {
88
- r((o) => {
89
- o.redeemError = n;
1112
+ setRedeemError(l) {
1113
+ c((u) => {
1114
+ u.redeemError = l;
90
1115
  });
91
1116
  },
92
- setRedeemAmountSol(n) {
93
- r((o) => {
94
- o.redeemAmountSol = n;
1117
+ setRedeemAmountSol(l) {
1118
+ c((u) => {
1119
+ u.redeemAmountSol = l;
95
1120
  });
96
1121
  },
97
- setRedeemTxSignature(n) {
98
- r((o) => {
99
- o.redeemTxSignature = n;
1122
+ setRedeemTxSignature(l) {
1123
+ c((u) => {
1124
+ u.redeemTxSignature = l;
100
1125
  });
101
1126
  },
102
- setTxStep(n) {
103
- r((o) => {
104
- o.txStep = n;
1127
+ setTxStep(l) {
1128
+ c((u) => {
1129
+ u.txStep = l;
105
1130
  });
106
1131
  },
107
- setTxStatus(n, o, d) {
108
- r((u) => {
109
- u.txStatus = n, u.txSignature = o ?? null, u.txError = d ?? null, n === "idle" && (u.txStep = "idle", u.depositTxSignature = null, u.sellTxSignature = null);
1132
+ setTxStatus(l, u, w) {
1133
+ c((m) => {
1134
+ m.txStatus = l, m.txSignature = u ?? null, m.txError = w ?? null, l === "idle" && (m.txStep = "idle", m.depositTxSignature = null, m.sellTxSignature = null);
110
1135
  });
111
1136
  },
112
1137
  reset() {
113
- r(() => ({ ...De }));
1138
+ c(() => ({ ...nt }));
114
1139
  },
115
1140
  resetForWalletChange() {
116
- r((n) => {
117
- n.selectedStakeAccountPubkey = null, n.selectedStakeAccountBalance = 0, n.selectedValidatorName = null, n.selectedValidatorIcon = null, n.selectedValidatorVoteAccount = null, n.selectedValidatorAltPubkey = null, n.depositAmount = "", n.selectedMaturityId = null, n.txStatus = "idle", n.txStep = "idle", n.depositTxSignature = null, n.sellTxSignature = null, n.txSignature = null, n.txError = null, n.sellAmountSol = null, n.redeemingMint = null, n.redeemError = null, n.redeemAmountSol = null, n.redeemTxSignature = null, (n.screen === "choose-amount" || n.screen === "choose-duration" || n.screen === "review-quote" || n.screen === "complete" || n.screen === "redeem-complete" || n.screen === "redeem-list") && (n.screen = "welcome", n.screenHistory = []);
1141
+ c((l) => {
1142
+ l.selectedStakeAccountPubkey = null, l.selectedStakeAccountBalance = 0, l.selectedValidatorName = null, l.selectedValidatorIcon = null, l.selectedValidatorVoteAccount = null, l.selectedValidatorAltPubkey = null, l.depositAmount = "", l.selectedMaturityId = null, l.txStatus = "idle", l.txStep = "idle", l.depositTxSignature = null, l.sellTxSignature = null, l.txSignature = null, l.txError = null, l.sellAmountSol = null, l.redeemingMint = null, l.redeemError = null, l.redeemAmountSol = null, l.redeemTxSignature = null, (l.screen === "choose-amount" || l.screen === "choose-duration" || l.screen === "review-quote" || l.screen === "complete" || l.screen === "redeem-complete" || l.screen === "redeem-list") && (l.screen = "welcome", l.screenHistory = []);
118
1143
  });
119
1144
  }
120
1145
  }))
121
1146
  );
122
1147
  }
123
- const Ke = tt(null);
124
- function f(r) {
125
- const n = nt(Ke);
126
- if (!n)
1148
+ const mt = St(null);
1149
+ function C(c) {
1150
+ const l = vt(mt);
1151
+ if (!l)
127
1152
  throw new Error("useWidgetStore must be used within WidgetStoreProvider");
128
- return Lt(n, r);
1153
+ return zt(l, c);
129
1154
  }
130
- const t = {
1155
+ const o = {
131
1156
  bg: "var(--c-bg)",
132
1157
  surface: "var(--c-surface)",
133
1158
  raised: "var(--c-raised)",
@@ -140,7 +1165,7 @@ const t = {
140
1165
  green: "#0d9c5e",
141
1166
  purple: "var(--c-brand)",
142
1167
  red: "#D93B3B"
143
- }, It = `
1168
+ }, rr = `
144
1169
  [data-theme] *, [data-theme] *::before, [data-theme] *::after { box-sizing: border-box; }
145
1170
  :root, [data-theme="pye-light"] {
146
1171
  --c-bg: #e6e3e0;
@@ -268,359 +1293,359 @@ const t = {
268
1293
  @media (prefers-reduced-motion: reduce) {
269
1294
  .pye-step-in { animation: none; }
270
1295
  }
271
- `, Dt = "'Inter', sans-serif", a = (r, n = t.primary, o = 400) => ({
1296
+ `, nr = "'Inter', sans-serif", A = (c, l = o.primary, u = 400) => ({
272
1297
  fontFamily: "'Inter', sans-serif",
273
- fontSize: r,
274
- fontWeight: o,
275
- color: n,
1298
+ fontSize: c,
1299
+ fontWeight: u,
1300
+ color: l,
276
1301
  lineHeight: 1.5,
277
1302
  margin: 0,
278
1303
  fontFeatureSettings: "'zero' 1"
279
- }), U = (r, n = t.primary, o = 400) => ({
280
- fontFamily: Dt,
281
- fontSize: r,
282
- fontWeight: o,
283
- color: n,
1304
+ }), ke = (c, l = o.primary, u = 400) => ({
1305
+ fontFamily: nr,
1306
+ fontSize: c,
1307
+ fontWeight: u,
1308
+ color: l,
284
1309
  lineHeight: 1.2,
285
1310
  fontFeatureSettings: "'zero' 1",
286
1311
  margin: 0
287
- }), Je = 0.85;
288
- function O(r, n = 4) {
289
- if (r === 0) return "0";
290
- const o = r < 1 ? Math.max(n, -Math.floor(Math.log10(Math.abs(r))) + 1) : n;
291
- return r.toFixed(o);
1312
+ }), xt = 0.85;
1313
+ function X(c, l = 4) {
1314
+ if (c === 0) return "0";
1315
+ const u = c < 1 ? Math.max(l, -Math.floor(Math.log10(Math.abs(c))) + 1) : l;
1316
+ return c.toFixed(u);
292
1317
  }
293
- const Bt = !1, Pt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYwAAEDRJREFUeAHtXXmQHGUV/3X3nLuzs3eym4schpgAkUOjJRQgRYGEQygOCwxHIVJyFAIiBoo/kJKrDMo/SBRQtBAUwUIIR3EJRJBLQBIghIQsIcnuJntldnbu7va9r2eSEGY3O9s9Mz3b3y81tdnZmd7Zfr93fO+9733Kylu2mpDwLFRIeBqSAB6HJIDHIQngcUgCeBySAB6HJIDHIQngcUgCeBySAB6HJIDHIQngcUgCeBySAB6HJIDHIQngcUgCeBySAB6HJIDHIQngcUgCeBw+SDgHZfcX0WpdA/3WkgAlwmSh0iObNZDNAJmMKb5XFIUeu2WuFF5PD8MwoWlAMKQgEFShusjuSgKMARaoYQB6zkQiYcLUgUijivYOHzpm+NDe6UNLqw91ERWBkArNpwgiWCaAXk8PJkkqmUM8ZqB3Sw6fb8pga1dWfB8MKwjXVZcNitwY8kUILaY7kkoYSI6YaGzTMG9BAPsfFETnTD8JraAzZt4c5P+/x5cvXnCv/yiWwOOxHDasTeGt1Qn09+qItmjw+fa4ZIUgCZAHC57NeWzAQFuHhoO/FcaiQ0OIRP3WC0zDeemoTAoVg30ZvPBYHOvWpDCFrEolSeBpF1DQ9uGdBgzdxGFHhPGt79SjXgidfmDwQ0fZwNeHjuYWH864qIXIl8ODKwcwPGSgsUWtCBE8aQGEbye5Dvbr5M81HLk0gvkH1InnhdOvUvjOv1VR/Xj/zWE8/pedFbEGnrIAhaCuf7uOuQv8OPWCKDqmhyGiO2aEgqpCxI65LBYvqcd+84NYect2NDb7LGKW63d6xQLwTeyjYGvWPD9OPjuKxtaAxQZWsSoLv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UZokFqYEQKgQEXtO/Ly7OY9AWw0NLXJWT+wq6bI4qNKHysB8Cm7OEsq4TymxkZENK/Wo+7Z49BDEXT2DqBvzxOINwXbduUvE30sBYDJImNtdmKUEoSFmo65FZ42IYpB8Ym27u3QQvXZFvdRo4+tAGxRMPr4KLMtqom2BOAxpy0BeMxpSwAec9oSgMectgTgMactAXjMaUsAHnPaEoDHnLYE4DGnLQF4zGlLAB5z2hKAx5z+P352FSSkh4qJAAAAAElFTkSuQmCC";
294
- function Ft() {
295
- return /* @__PURE__ */ i("svg", { width: "33", height: "16", viewBox: "0 0 33.0001 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", style: { display: "block", flexShrink: 0 }, children: [
296
- /* @__PURE__ */ e("path", { d: "M32.9338 2.19869V4.83327H24.0205V6.46108H32.4867V8.92786H24.0205V10.7068H33.0001V13.3918H20.707V2.19869H32.9338Z", fill: "var(--fill-0, #24201C)" }),
297
- /* @__PURE__ */ e("path", { d: "M23.9528 1.65254C21.8438 0.595304 19.4691 0 16.9568 0C14.4445 0 12.1791 0.567895 10.1067 1.58001C9.97635 1.64385 9.89253 1.77655 9.89253 1.92329V16L24.0043 1.70335C23.9924 1.68196 23.9749 1.66424 23.9528 1.65254Z", fill: "url(#pye-radial)" }),
298
- /* @__PURE__ */ e("path", { d: "M24.0043 1.70338L9.89253 16H14.27C14.4832 16 14.6878 15.9141 14.8386 15.7614L24.0218 6.45812L24.0211 1.76589C24.0211 1.74349 24.0149 1.7221 24.0043 1.70338Z", fill: "url(#pye-linear)" }),
299
- /* @__PURE__ */ e("path", { d: "M0.000119395 2.25921H8.83059C9.15069 2.25921 9.41601 2.26489 9.62589 2.27592C9.83544 2.28728 10.007 2.29832 10.1394 2.30935C10.272 2.32071 10.4152 2.33742 10.57 2.35982C11.0891 2.43837 11.5227 2.56104 11.8705 2.72883C12.2184 2.89663 12.4946 3.13729 12.6988 3.45048C12.9031 3.76368 13.0467 4.16378 13.1295 4.65045C13.2123 5.13712 13.2536 5.73844 13.2536 6.45441C13.2536 7.08114 13.2232 7.61527 13.1625 8.05682C13.1018 8.49903 13.0021 8.87373 12.8642 9.18124C12.7259 9.48909 12.5437 9.73777 12.3174 9.92796C12.091 10.1182 11.8121 10.2749 11.4808 10.3979C11.2927 10.4651 11.0967 10.5183 10.8928 10.5574C10.6882 10.5968 10.4426 10.6272 10.1555 10.6496C9.86811 10.672 9.52029 10.6891 9.11175 10.7001C8.70288 10.7115 8.20062 10.7168 7.60398 10.7168H3.36315V13.452H0.000119395V2.25921ZM7.57164 7.91443C7.95807 7.91443 8.26167 7.91175 8.48277 7.90607C8.70354 7.90072 8.87745 7.89203 9.0045 7.881C9.13122 7.86997 9.22527 7.85326 9.28599 7.83053C9.34671 7.80813 9.4104 7.77471 9.4764 7.72992C9.63084 7.62931 9.73875 7.48959 9.79947 7.31043C9.86019 7.13161 9.89055 6.84616 9.89055 6.45475C9.89055 6.06334 9.84897 5.75582 9.76614 5.5653C9.68331 5.37511 9.53151 5.24107 9.31041 5.16253C9.25497 5.14013 9.20283 5.12342 9.153 5.11205C9.10317 5.10102 9.02298 5.09267 8.91276 5.08698C8.80221 5.0813 8.64216 5.07595 8.43228 5.07027C8.2224 5.06492 7.9353 5.06192 7.57065 5.06192H3.36315V7.91476H7.57131L7.57164 7.91443Z", fill: "var(--fill-0, #24201C)" }),
300
- /* @__PURE__ */ i("defs", { children: [
301
- /* @__PURE__ */ i("radialGradient", { id: "pye-radial", cx: "0", cy: "0", r: "1", gradientUnits: "userSpaceOnUse", gradientTransform: "translate(16.9047 16.0398) scale(15.743 15.9459)", children: [
302
- /* @__PURE__ */ e("stop", { stopColor: "#D59EFF" }),
303
- /* @__PURE__ */ e("stop", { offset: "0.14", stopColor: "#C881FF" }),
304
- /* @__PURE__ */ e("stop", { offset: "0.44", stopColor: "#AF48FF" }),
305
- /* @__PURE__ */ e("stop", { offset: "0.66", stopColor: "#9F24FF" }),
306
- /* @__PURE__ */ e("stop", { offset: "0.78", stopColor: "#9A17FF" }),
307
- /* @__PURE__ */ e("stop", { offset: "1", stopColor: "#662D91" })
1318
+ const ir = !1, or = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYwAAEDRJREFUeAHtXXmQHGUV/3X3nLuzs3eym4schpgAkUOjJRQgRYGEQygOCwxHIVJyFAIiBoo/kJKrDMo/SBRQtBAUwUIIR3EJRJBLQBIghIQsIcnuJntldnbu7va9r2eSEGY3O9s9Mz3b3y81tdnZmd7Zfr93fO+9733Kylu2mpDwLFRIeBqSAB6HJIDHIQngcUgCeBySAB6HJIDHIQngcUgCeBySAB6HJIDHIQngcUgCeBySAB6HJIDHIQngcUgCeBySAB6HJIDHIQngcUgCeBw+SDgHZfcX0WpdA/3WkgAlwmSh0iObNZDNAJmMKb5XFIUeu2WuFF5PD8MwoWlAMKQgEFShusjuSgKMARaoYQB6zkQiYcLUgUijivYOHzpm+NDe6UNLqw91ERWBkArNpwgiWCaAXk8PJkkqmUM8ZqB3Sw6fb8pga1dWfB8MKwjXVZcNitwY8kUILaY7kkoYSI6YaGzTMG9BAPsfFETnTD8JraAzZt4c5P+/x5cvXnCv/yiWwOOxHDasTeGt1Qn09+qItmjw+fa4ZIUgCZAHC57NeWzAQFuHhoO/FcaiQ0OIRP3WC0zDeemoTAoVg30ZvPBYHOvWpDCFrEolSeBpF1DQ9uGdBgzdxGFHhPGt79SjXgidfmDwQ0fZwNeHjuYWH864qIXIl8ODKwcwPGSgsUWtCBE8aQGEbye5Dvbr5M81HLk0gvkH1InnhdOvUvjOv1VR/Xj/zWE8/pedFbEGnrIAhaCuf7uOuQv8OPWCKDqmhyGiO2aEgqpCxI65LBYvqcd+84NYect2NDb7LGKW63d6xQLwTeyjYGvWPD9OPjuKxtaAxQZWsSoLvhhM+lAmxQcrlncj2q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ly7OY9AWw0NLXJWT+wq6bI4qNKHysB8Cm7OEsq4TymxkZENK/Wo+7Z49BDEXT2DqBvzxOINwXbduUvE30sBYDJImNtdmKUEoSFmo65FZ42IYpB8Ym27u3QQvXZFvdRo4+tAGxRMPr4KLMtqom2BOAxpy0BeMxpSwAec9oSgMectgTgMactAXjMaUsAHnPaEoDHnLYE4DGnLQF4zGlLAB5z2hKAx5z+P352FSSkh4qJAAAAAElFTkSuQmCC";
1319
+ function sr() {
1320
+ return /* @__PURE__ */ f("svg", { width: "33", height: "16", viewBox: "0 0 33.0001 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", style: { display: "block", flexShrink: 0 }, children: [
1321
+ /* @__PURE__ */ i("path", { d: "M32.9338 2.19869V4.83327H24.0205V6.46108H32.4867V8.92786H24.0205V10.7068H33.0001V13.3918H20.707V2.19869H32.9338Z", fill: "var(--fill-0, #24201C)" }),
1322
+ /* @__PURE__ */ i("path", { d: "M23.9528 1.65254C21.8438 0.595304 19.4691 0 16.9568 0C14.4445 0 12.1791 0.567895 10.1067 1.58001C9.97635 1.64385 9.89253 1.77655 9.89253 1.92329V16L24.0043 1.70335C23.9924 1.68196 23.9749 1.66424 23.9528 1.65254Z", fill: "url(#pye-radial)" }),
1323
+ /* @__PURE__ */ i("path", { d: "M24.0043 1.70338L9.89253 16H14.27C14.4832 16 14.6878 15.9141 14.8386 15.7614L24.0218 6.45812L24.0211 1.76589C24.0211 1.74349 24.0149 1.7221 24.0043 1.70338Z", fill: "url(#pye-linear)" }),
1324
+ /* @__PURE__ */ i("path", { d: "M0.000119395 2.25921H8.83059C9.15069 2.25921 9.41601 2.26489 9.62589 2.27592C9.83544 2.28728 10.007 2.29832 10.1394 2.30935C10.272 2.32071 10.4152 2.33742 10.57 2.35982C11.0891 2.43837 11.5227 2.56104 11.8705 2.72883C12.2184 2.89663 12.4946 3.13729 12.6988 3.45048C12.9031 3.76368 13.0467 4.16378 13.1295 4.65045C13.2123 5.13712 13.2536 5.73844 13.2536 6.45441C13.2536 7.08114 13.2232 7.61527 13.1625 8.05682C13.1018 8.49903 13.0021 8.87373 12.8642 9.18124C12.7259 9.48909 12.5437 9.73777 12.3174 9.92796C12.091 10.1182 11.8121 10.2749 11.4808 10.3979C11.2927 10.4651 11.0967 10.5183 10.8928 10.5574C10.6882 10.5968 10.4426 10.6272 10.1555 10.6496C9.86811 10.672 9.52029 10.6891 9.11175 10.7001C8.70288 10.7115 8.20062 10.7168 7.60398 10.7168H3.36315V13.452H0.000119395V2.25921ZM7.57164 7.91443C7.95807 7.91443 8.26167 7.91175 8.48277 7.90607C8.70354 7.90072 8.87745 7.89203 9.0045 7.881C9.13122 7.86997 9.22527 7.85326 9.28599 7.83053C9.34671 7.80813 9.4104 7.77471 9.4764 7.72992C9.63084 7.62931 9.73875 7.48959 9.79947 7.31043C9.86019 7.13161 9.89055 6.84616 9.89055 6.45475C9.89055 6.06334 9.84897 5.75582 9.76614 5.5653C9.68331 5.37511 9.53151 5.24107 9.31041 5.16253C9.25497 5.14013 9.20283 5.12342 9.153 5.11205C9.10317 5.10102 9.02298 5.09267 8.91276 5.08698C8.80221 5.0813 8.64216 5.07595 8.43228 5.07027C8.2224 5.06492 7.9353 5.06192 7.57065 5.06192H3.36315V7.91476H7.57131L7.57164 7.91443Z", fill: "var(--fill-0, #24201C)" }),
1325
+ /* @__PURE__ */ f("defs", { children: [
1326
+ /* @__PURE__ */ f("radialGradient", { id: "pye-radial", cx: "0", cy: "0", r: "1", gradientUnits: "userSpaceOnUse", gradientTransform: "translate(16.9047 16.0398) scale(15.743 15.9459)", children: [
1327
+ /* @__PURE__ */ i("stop", { stopColor: "#D59EFF" }),
1328
+ /* @__PURE__ */ i("stop", { offset: "0.14", stopColor: "#C881FF" }),
1329
+ /* @__PURE__ */ i("stop", { offset: "0.44", stopColor: "#AF48FF" }),
1330
+ /* @__PURE__ */ i("stop", { offset: "0.66", stopColor: "#9F24FF" }),
1331
+ /* @__PURE__ */ i("stop", { offset: "0.78", stopColor: "#9A17FF" }),
1332
+ /* @__PURE__ */ i("stop", { offset: "1", stopColor: "#662D91" })
308
1333
  ] }),
309
- /* @__PURE__ */ i("linearGradient", { id: "pye-linear", x1: "16.9572", y1: "16", x2: "16.9572", y2: "1.73781", gradientUnits: "userSpaceOnUse", children: [
310
- /* @__PURE__ */ e("stop", { stopColor: "#331647" }),
311
- /* @__PURE__ */ e("stop", { offset: "0.33", stopColor: "#6B2F98" }),
312
- /* @__PURE__ */ e("stop", { offset: "0.54", stopColor: "#8A3CC4" }),
313
- /* @__PURE__ */ e("stop", { offset: "0.89", stopColor: "#AE4CF8" }),
314
- /* @__PURE__ */ e("stop", { offset: "1", stopColor: "#B34FFF" })
1334
+ /* @__PURE__ */ f("linearGradient", { id: "pye-linear", x1: "16.9572", y1: "16", x2: "16.9572", y2: "1.73781", gradientUnits: "userSpaceOnUse", children: [
1335
+ /* @__PURE__ */ i("stop", { stopColor: "#331647" }),
1336
+ /* @__PURE__ */ i("stop", { offset: "0.33", stopColor: "#6B2F98" }),
1337
+ /* @__PURE__ */ i("stop", { offset: "0.54", stopColor: "#8A3CC4" }),
1338
+ /* @__PURE__ */ i("stop", { offset: "0.89", stopColor: "#AE4CF8" }),
1339
+ /* @__PURE__ */ i("stop", { offset: "1", stopColor: "#B34FFF" })
315
1340
  ] })
316
1341
  ] })
317
1342
  ] });
318
1343
  }
319
- function Ht({ name: r, size: n = 32 }) {
320
- const o = { Phantom: Pt, Backpack: Tt, Metamask: Ot }, d = { Phantom: "#AB9FF2", Backpack: "#E33B3B", Metamask: "#F5841F" }, u = o[r];
321
- return u ? /* @__PURE__ */ e("img", { src: u, alt: r, style: {
322
- width: n,
323
- height: n,
1344
+ function cr({ name: c, size: l = 32 }) {
1345
+ const u = { Phantom: or, Backpack: lr, Metamask: ar }, w = { Phantom: "#AB9FF2", Backpack: "#E33B3B", Metamask: "#F5841F" }, m = u[c];
1346
+ return m ? /* @__PURE__ */ i("img", { src: m, alt: c, style: {
1347
+ width: l,
1348
+ height: l,
324
1349
  borderRadius: 8,
325
1350
  flexShrink: 0,
326
1351
  objectFit: "cover",
327
1352
  boxShadow: "0px 4px 8px 0px rgba(0,0,0,0.07)"
328
- } }) : /* @__PURE__ */ e("div", { style: {
329
- width: n,
330
- height: n,
1353
+ } }) : /* @__PURE__ */ i("div", { style: {
1354
+ width: l,
1355
+ height: l,
331
1356
  borderRadius: 8,
332
1357
  flexShrink: 0,
333
- background: d[r] || "#ccc",
1358
+ background: w[c] || "#ccc",
334
1359
  display: "flex",
335
1360
  alignItems: "center",
336
1361
  justifyContent: "center"
337
- }, children: /* @__PURE__ */ e("span", { style: a(11, "#fff", 700), children: r[0] }) });
1362
+ }, children: /* @__PURE__ */ i("span", { style: A(11, "#fff", 700), children: c[0] }) });
338
1363
  }
339
- function re({ children: r }) {
340
- return /* @__PURE__ */ e("div", { style: {
1364
+ function Ie({ children: c }) {
1365
+ return /* @__PURE__ */ i("div", { style: {
341
1366
  width: "min(420px, calc(100vw - 32px))",
342
1367
  height: 600,
343
1368
  borderRadius: 10,
344
1369
  boxShadow: "0px 4px 8px rgba(0,0,0,0.07)",
345
1370
  display: "flex",
346
1371
  flexDirection: "column",
347
- background: t.surface
348
- }, children: r });
1372
+ background: o.surface
1373
+ }, children: c });
349
1374
  }
350
- function ie({ children: r, padding: n = 24, style: o }) {
351
- return /* @__PURE__ */ i("div", { style: {
1375
+ function Re({ children: c, padding: l = 24, style: u }) {
1376
+ return /* @__PURE__ */ f("div", { style: {
352
1377
  flex: 1,
353
1378
  display: "flex",
354
1379
  flexDirection: "column",
355
1380
  minHeight: 0,
356
- background: t.surface,
357
- borderTop: `1px solid ${t.highlight}`,
358
- ...o
1381
+ background: o.surface,
1382
+ borderTop: `1px solid ${o.highlight}`,
1383
+ ...u
359
1384
  }, children: [
360
- /* @__PURE__ */ e("div", { style: {
1385
+ /* @__PURE__ */ i("div", { style: {
361
1386
  flex: 1,
362
1387
  display: "flex",
363
1388
  flexDirection: "column",
364
- padding: n,
1389
+ padding: l,
365
1390
  gap: 16,
366
1391
  minHeight: 0,
367
1392
  overflowY: "auto"
368
- }, children: r }),
369
- /* @__PURE__ */ e("div", { style: { height: 0, borderTop: `1px solid ${t.shadow}`, flexShrink: 0 } })
1393
+ }, children: c }),
1394
+ /* @__PURE__ */ i("div", { style: { height: 0, borderTop: `1px solid ${o.shadow}`, flexShrink: 0 } })
370
1395
  ] });
371
1396
  }
372
- function q() {
373
- return /* @__PURE__ */ e("div", { style: { flex: 1 } });
1397
+ function xe() {
1398
+ return /* @__PURE__ */ i("div", { style: { flex: 1 } });
374
1399
  }
375
- function Be({ step: r, total: n, onBack: o, hideStep: d, label: u, tooltipText: l }) {
376
- const h = !d && r != null && n != null && n > 0, g = h ? Math.round(r / n * 100) : 0, b = /* @__PURE__ */ e("button", { onClick: o, style: {
1400
+ function it({ step: c, total: l, onBack: u, hideStep: w, label: m, tooltipText: p }) {
1401
+ const y = !w && c != null && l != null && l > 0, a = y ? Math.round(c / l * 100) : 0, v = /* @__PURE__ */ i("button", { onClick: u, style: {
377
1402
  background: "none",
378
1403
  border: "none",
379
1404
  cursor: "pointer",
380
1405
  padding: 0,
381
1406
  display: "flex",
382
1407
  alignItems: "center",
383
- visibility: o ? "visible" : "hidden",
384
- color: t.secondary,
1408
+ visibility: u ? "visible" : "hidden",
1409
+ color: o.secondary,
385
1410
  flexShrink: 0
386
- }, children: /* @__PURE__ */ e("svg", { width: "18", height: "18", viewBox: "0 0 16 16", fill: "none", style: { display: "block" }, children: /* @__PURE__ */ e("path", { d: "M13 8H3M3 8L7 4M3 8L7 12", stroke: "currentColor", strokeWidth: "1.25", strokeLinecap: "round", strokeLinejoin: "round" }) }) });
387
- return /* @__PURE__ */ i("div", { style: {
1411
+ }, children: /* @__PURE__ */ i("svg", { width: "18", height: "18", viewBox: "0 0 16 16", fill: "none", style: { display: "block" }, children: /* @__PURE__ */ i("path", { d: "M13 8H3M3 8L7 4M3 8L7 12", stroke: "currentColor", strokeWidth: "1.25", strokeLinecap: "round", strokeLinejoin: "round" }) }) });
1412
+ return /* @__PURE__ */ f("div", { style: {
388
1413
  display: "flex",
389
1414
  alignItems: "center",
390
1415
  gap: 14,
391
1416
  padding: "20px 24px",
392
1417
  flexShrink: 0,
393
- background: t.surface,
394
- borderTop: `1px solid ${t.highlight}`,
395
- boxShadow: `inset 0 -1px 0 ${t.shadow}`,
1418
+ background: o.surface,
1419
+ borderTop: `1px solid ${o.highlight}`,
1420
+ boxShadow: `inset 0 -1px 0 ${o.shadow}`,
396
1421
  borderRadius: "10px 10px 0 0"
397
1422
  }, children: [
398
- b,
399
- !h && u && /* @__PURE__ */ i("div", { style: { display: "flex", alignItems: "center", gap: 6 }, children: [
400
- /* @__PURE__ */ e("span", { style: { ...a(15, t.primary, 500) }, children: u }),
401
- l && /* @__PURE__ */ e(Z, { position: "below", text: l })
1423
+ v,
1424
+ !y && m && /* @__PURE__ */ f("div", { style: { display: "flex", alignItems: "center", gap: 6 }, children: [
1425
+ /* @__PURE__ */ i("span", { style: { ...A(15, o.primary, 500) }, children: m }),
1426
+ p && /* @__PURE__ */ i(Ae, { position: "below", text: p })
402
1427
  ] }),
403
- h && /* @__PURE__ */ i("div", { style: { flex: 1, display: "flex", alignItems: "center", gap: 10 }, children: [
404
- /* @__PURE__ */ e("div", { style: {
1428
+ y && /* @__PURE__ */ f("div", { style: { flex: 1, display: "flex", alignItems: "center", gap: 10 }, children: [
1429
+ /* @__PURE__ */ i("div", { style: {
405
1430
  flex: 1,
406
1431
  height: 3,
407
- background: t.shadow,
1432
+ background: o.shadow,
408
1433
  borderRadius: 2,
409
1434
  overflow: "hidden"
410
- }, children: /* @__PURE__ */ e("div", { style: {
1435
+ }, children: /* @__PURE__ */ i("div", { style: {
411
1436
  height: "100%",
412
- width: `${g}%`,
413
- background: t.purple,
1437
+ width: `${a}%`,
1438
+ background: o.purple,
414
1439
  borderRadius: 2,
415
1440
  transition: "width 0.25s ease"
416
1441
  } }) }),
417
- /* @__PURE__ */ i("span", { style: {
418
- ...a(13, t.secondary),
1442
+ /* @__PURE__ */ f("span", { style: {
1443
+ ...A(13, o.secondary),
419
1444
  lineHeight: 1,
420
1445
  whiteSpace: "nowrap",
421
1446
  fontVariantNumeric: "tabular-nums"
422
1447
  }, children: [
423
- r,
1448
+ c,
424
1449
  "/",
425
- n
1450
+ l
426
1451
  ] })
427
1452
  ] })
428
1453
  ] });
429
1454
  }
430
- function ye({ title: r, subtitle: n }) {
431
- return /* @__PURE__ */ i("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
432
- /* @__PURE__ */ e("p", { style: a(18, t.primary, 500), children: r }),
433
- n && /* @__PURE__ */ e("p", { style: a(14, t.secondary), children: n })
1455
+ function Qe({ title: c, subtitle: l }) {
1456
+ return /* @__PURE__ */ f("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
1457
+ /* @__PURE__ */ i("p", { style: A(18, o.primary, 500), children: c }),
1458
+ l && /* @__PURE__ */ i("p", { style: A(14, o.secondary), children: l })
434
1459
  ] });
435
1460
  }
436
- function Z({ text: r, bg: n, position: o = "above" }) {
437
- const d = n ?? t.raised, u = o === "below", l = K(null), [h, g] = he(null), b = () => {
438
- const p = l.current;
439
- if (!p) return;
440
- const x = p.getBoundingClientRect();
441
- g({
442
- top: u ? x.bottom + 8 : x.top - 8,
443
- left: x.left + x.width / 2
1461
+ function Ae({ text: c, bg: l, position: u = "above" }) {
1462
+ const w = l ?? o.raised, m = u === "below", p = ge(null), [y, a] = We(null), v = () => {
1463
+ const x = p.current;
1464
+ if (!x) return;
1465
+ const B = x.getBoundingClientRect();
1466
+ a({
1467
+ top: m ? B.bottom + 8 : B.top - 8,
1468
+ left: B.left + B.width / 2
444
1469
  });
445
- }, c = h ? Mt(
446
- /* @__PURE__ */ i("div", { style: {
1470
+ }, b = y ? Zt(
1471
+ /* @__PURE__ */ f("div", { style: {
447
1472
  position: "fixed",
448
- top: u ? h.top : void 0,
449
- bottom: u ? void 0 : `calc(100vh - ${h.top}px)`,
450
- left: h.left,
1473
+ top: m ? y.top : void 0,
1474
+ bottom: m ? void 0 : `calc(100vh - ${y.top}px)`,
1475
+ left: y.left,
451
1476
  transform: "translateX(-50%)",
452
1477
  width: 210,
453
- background: d,
454
- borderTop: `1px solid ${t.highlight}`,
455
- boxShadow: `0 4px 16px rgba(0,0,0,0.15), inset 0 -1px 0 ${t.shadow}`,
1478
+ background: w,
1479
+ borderTop: `1px solid ${o.highlight}`,
1480
+ boxShadow: `0 4px 16px rgba(0,0,0,0.15), inset 0 -1px 0 ${o.shadow}`,
456
1481
  borderRadius: 8,
457
1482
  padding: "8px 10px",
458
1483
  zIndex: 1e4,
459
1484
  pointerEvents: "none"
460
1485
  }, children: [
461
- /* @__PURE__ */ e("p", { style: { ...a(11, t.secondary), lineHeight: 1.5 }, children: r }),
462
- /* @__PURE__ */ e("div", { style: {
1486
+ /* @__PURE__ */ i("p", { style: { ...A(11, o.secondary), lineHeight: 1.5 }, children: c }),
1487
+ /* @__PURE__ */ i("div", { style: {
463
1488
  position: "absolute",
464
- ...u ? { top: -4 } : { bottom: -4 },
1489
+ ...m ? { top: -4 } : { bottom: -4 },
465
1490
  left: "50%",
466
1491
  transform: "translateX(-50%) rotate(45deg)",
467
1492
  width: 8,
468
1493
  height: 8,
469
- background: d,
470
- boxShadow: u ? `-1px -1px 0 ${t.shadow}` : `1px 1px 0 ${t.shadow}`
1494
+ background: w,
1495
+ boxShadow: m ? `-1px -1px 0 ${o.shadow}` : `1px 1px 0 ${o.shadow}`
471
1496
  } })
472
1497
  ] }),
473
1498
  document.body
474
1499
  ) : null;
475
- return /* @__PURE__ */ i(
1500
+ return /* @__PURE__ */ f(
476
1501
  "div",
477
1502
  {
478
- ref: l,
479
- onMouseEnter: b,
480
- onMouseLeave: () => g(null),
1503
+ ref: p,
1504
+ onMouseEnter: v,
1505
+ onMouseLeave: () => a(null),
481
1506
  style: { position: "relative", display: "inline-flex", flexShrink: 0 },
482
1507
  children: [
483
- /* @__PURE__ */ e(
1508
+ /* @__PURE__ */ i(
484
1509
  "div",
485
1510
  {
486
1511
  style: {
487
1512
  width: 16,
488
1513
  height: 16,
489
1514
  borderRadius: "50%",
490
- background: d,
491
- borderTop: `1px solid ${t.highlight}`,
492
- boxShadow: `inset 0 -1px 0 ${t.shadow}`,
1515
+ background: w,
1516
+ borderTop: `1px solid ${o.highlight}`,
1517
+ boxShadow: `inset 0 -1px 0 ${o.shadow}`,
493
1518
  display: "flex",
494
1519
  alignItems: "center",
495
1520
  justifyContent: "center",
496
1521
  cursor: "default",
497
1522
  flexShrink: 0
498
1523
  },
499
- children: /* @__PURE__ */ e("span", { style: { ...a(9, t.muted), lineHeight: 1, userSelect: "none", fontWeight: 500 }, children: "?" })
1524
+ children: /* @__PURE__ */ i("span", { style: { ...A(9, o.muted), lineHeight: 1, userSelect: "none", fontWeight: 500 }, children: "?" })
500
1525
  }
501
1526
  ),
502
- c
1527
+ b
503
1528
  ]
504
1529
  }
505
1530
  );
506
1531
  }
507
- function qe({ children: r }) {
508
- return /* @__PURE__ */ e("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: r });
1532
+ function wt({ children: c }) {
1533
+ return /* @__PURE__ */ i("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: c });
509
1534
  }
510
- function Qt({ icon: r, label: n, sub: o, amount: d, selected: u, onClick: l }) {
511
- const h = u ? t.bg : t.raised, g = u ? `inset 0 1px 0 ${t.shadow}, inset 0 -1px 0 ${t.highlight}` : `inset 0 1px 0 ${t.highlight}, inset 0 -1px 0 ${t.shadow}`;
512
- return /* @__PURE__ */ i(
1535
+ function dr({ icon: c, label: l, sub: u, amount: w, selected: m, onClick: p }) {
1536
+ const y = m ? o.bg : o.raised, a = m ? `inset 0 1px 0 ${o.shadow}, inset 0 -1px 0 ${o.highlight}` : `inset 0 1px 0 ${o.highlight}, inset 0 -1px 0 ${o.shadow}`;
1537
+ return /* @__PURE__ */ f(
513
1538
  "div",
514
1539
  {
515
- className: u ? void 0 : "pye-hoverable",
516
- onClick: l,
1540
+ className: m ? void 0 : "pye-hoverable",
1541
+ onClick: p,
517
1542
  style: {
518
1543
  display: "flex",
519
1544
  alignItems: "center",
520
1545
  justifyContent: "space-between",
521
1546
  padding: 12,
522
1547
  borderRadius: 8,
523
- background: h,
524
- boxShadow: g,
1548
+ background: y,
1549
+ boxShadow: a,
525
1550
  cursor: "pointer",
526
1551
  transition: "background 0.1s"
527
1552
  },
528
1553
  children: [
529
- /* @__PURE__ */ i("div", { style: { display: "flex", alignItems: "center", gap: 12 }, children: [
530
- r,
531
- /* @__PURE__ */ i("div", { children: [
532
- /* @__PURE__ */ e("p", { style: a(15, t.primary), children: n }),
533
- /* @__PURE__ */ e("p", { style: a(14, t.secondary), children: o })
1554
+ /* @__PURE__ */ f("div", { style: { display: "flex", alignItems: "center", gap: 12 }, children: [
1555
+ c,
1556
+ /* @__PURE__ */ f("div", { children: [
1557
+ /* @__PURE__ */ i("p", { style: A(15, o.primary), children: l }),
1558
+ /* @__PURE__ */ i("p", { style: A(14, o.secondary), children: u })
534
1559
  ] })
535
1560
  ] }),
536
- d && /* @__PURE__ */ i("div", { style: { textAlign: "right" }, children: [
537
- /* @__PURE__ */ e("p", { style: a(15, t.primary), children: d }),
538
- /* @__PURE__ */ e("p", { style: a(14, t.secondary), children: "SOL" })
1561
+ w && /* @__PURE__ */ f("div", { style: { textAlign: "right" }, children: [
1562
+ /* @__PURE__ */ i("p", { style: A(15, o.primary), children: w }),
1563
+ /* @__PURE__ */ i("p", { style: A(14, o.secondary), children: "SOL" })
539
1564
  ] })
540
1565
  ]
541
1566
  }
542
1567
  );
543
1568
  }
544
- function Pe() {
545
- return /* @__PURE__ */ i("div", { style: {
1569
+ function ot() {
1570
+ return /* @__PURE__ */ f("div", { style: {
546
1571
  display: "flex",
547
1572
  alignItems: "center",
548
1573
  gap: 12,
549
1574
  padding: 16,
550
1575
  borderRadius: 10,
551
1576
  minHeight: 76,
552
- background: t.raised,
553
- borderTop: `1px solid ${t.highlight}`,
554
- boxShadow: `inset 0 -1px 0 ${t.shadow}`
1577
+ background: o.raised,
1578
+ borderTop: `1px solid ${o.highlight}`,
1579
+ boxShadow: `inset 0 -1px 0 ${o.shadow}`
555
1580
  }, children: [
556
- /* @__PURE__ */ e("div", { className: "pye-skeleton", style: { width: 44, height: 44, borderRadius: 10, flexShrink: 0 } }),
557
- /* @__PURE__ */ i("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: 8, minWidth: 0 }, children: [
558
- /* @__PURE__ */ e("div", { className: "pye-skeleton", style: { width: "55%", height: 14 } }),
559
- /* @__PURE__ */ e("div", { className: "pye-skeleton", style: { width: "75%", height: 12 } })
1581
+ /* @__PURE__ */ i("div", { className: "pye-skeleton", style: { width: 44, height: 44, borderRadius: 10, flexShrink: 0 } }),
1582
+ /* @__PURE__ */ f("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: 8, minWidth: 0 }, children: [
1583
+ /* @__PURE__ */ i("div", { className: "pye-skeleton", style: { width: "55%", height: 14 } }),
1584
+ /* @__PURE__ */ i("div", { className: "pye-skeleton", style: { width: "75%", height: 12 } })
560
1585
  ] })
561
1586
  ] });
562
1587
  }
563
- function le({ label: r, onClick: n, disabled: o, purple: d }) {
564
- return d ? /* @__PURE__ */ e(
1588
+ function Fe({ label: c, onClick: l, disabled: u, purple: w }) {
1589
+ return w ? /* @__PURE__ */ i(
565
1590
  "button",
566
1591
  {
567
1592
  className: "pye-cta-purple",
568
- onClick: o ? void 0 : n,
569
- disabled: o,
1593
+ onClick: u ? void 0 : l,
1594
+ disabled: u,
570
1595
  style: {
571
1596
  width: "100%",
572
1597
  height: 40,
573
1598
  borderRadius: 6,
574
1599
  border: "none",
575
1600
  borderTop: "1px solid var(--c-brand-hi)",
576
- cursor: o ? "not-allowed" : "pointer",
577
- background: t.purple,
578
- ...a(15, "var(--c-brand-text)"),
1601
+ cursor: u ? "not-allowed" : "pointer",
1602
+ background: o.purple,
1603
+ ...A(15, "var(--c-brand-text)"),
579
1604
  boxShadow: "inset 0 -1px 0 var(--c-brand-sh)",
580
- opacity: o ? 0.5 : 1,
1605
+ opacity: u ? 0.5 : 1,
581
1606
  transition: "filter 0.1s, opacity 0.1s",
582
1607
  flexShrink: 0
583
1608
  },
584
- children: r
1609
+ children: c
585
1610
  }
586
- ) : /* @__PURE__ */ e(
1611
+ ) : /* @__PURE__ */ i(
587
1612
  "button",
588
1613
  {
589
1614
  className: "pye-cta-default",
590
- onClick: n,
591
- disabled: o,
1615
+ onClick: l,
1616
+ disabled: u,
592
1617
  style: {
593
1618
  width: "100%",
594
1619
  height: 40,
595
1620
  borderRadius: 6,
596
1621
  border: "none",
597
- borderTop: `1px solid ${t.highlight}`,
598
- cursor: o ? "not-allowed" : "pointer",
599
- background: t.raised,
600
- ...a(15, t.primary),
601
- boxShadow: `inset 0 -1px 0 ${t.shadow}`,
602
- opacity: o ? 0.5 : 1,
1622
+ borderTop: `1px solid ${o.highlight}`,
1623
+ cursor: u ? "not-allowed" : "pointer",
1624
+ background: o.raised,
1625
+ ...A(15, o.primary),
1626
+ boxShadow: `inset 0 -1px 0 ${o.shadow}`,
1627
+ opacity: u ? 0.5 : 1,
603
1628
  transition: "background 0.1s, opacity 0.1s",
604
1629
  flexShrink: 0
605
1630
  },
606
- children: r
1631
+ children: c
607
1632
  }
608
1633
  );
609
1634
  }
610
- function ze({ label: r, onClose: n }) {
611
- return /* @__PURE__ */ i("div", { style: {
1635
+ function bt({ label: c, onClose: l }) {
1636
+ return /* @__PURE__ */ f("div", { style: {
612
1637
  height: 48,
613
1638
  display: "flex",
614
1639
  alignItems: "center",
615
1640
  padding: "0 24px",
616
1641
  flexShrink: 0,
617
1642
  gap: 8,
618
- background: t.surface,
1643
+ background: o.surface,
619
1644
  borderRadius: "10px 10px 0 0",
620
- borderTop: `1px solid ${t.highlight}`,
621
- boxShadow: `inset 0 -1px 0 ${t.shadow}`
1645
+ borderTop: `1px solid ${o.highlight}`,
1646
+ boxShadow: `inset 0 -1px 0 ${o.shadow}`
622
1647
  }, children: [
623
- /* @__PURE__ */ e("div", { style: {
1648
+ /* @__PURE__ */ i("div", { style: {
624
1649
  width: 20,
625
1650
  height: 20,
626
1651
  borderRadius: "50%",
@@ -629,9 +1654,9 @@ function ze({ label: r, onClose: n }) {
629
1654
  display: "flex",
630
1655
  alignItems: "center",
631
1656
  justifyContent: "center"
632
- }, children: /* @__PURE__ */ e("svg", { width: "10", height: "10", viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ e("path", { d: "M3 8.5L6.5 12L13 5", stroke: "#0d9c5e", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }) }),
633
- /* @__PURE__ */ e("p", { style: { ...a(15, t.primary), flex: 1 }, children: r }),
634
- /* @__PURE__ */ e("button", { onClick: n, style: {
1657
+ }, children: /* @__PURE__ */ i("svg", { width: "10", height: "10", viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ i("path", { d: "M3 8.5L6.5 12L13 5", stroke: "#0d9c5e", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }) }),
1658
+ /* @__PURE__ */ i("p", { style: { ...A(15, o.primary), flex: 1 }, children: c }),
1659
+ /* @__PURE__ */ i("button", { onClick: l, style: {
635
1660
  background: "none",
636
1661
  border: "none",
637
1662
  cursor: "pointer",
@@ -644,43 +1669,43 @@ function ze({ label: r, onClose: n }) {
644
1669
  justifyContent: "center",
645
1670
  borderRadius: 8,
646
1671
  flexShrink: 0
647
- }, children: /* @__PURE__ */ e("svg", { width: "12", height: "12", viewBox: "0 0 14 14", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1 1L13 13M13 1L1 13", stroke: t.secondary, strokeWidth: "1", strokeLinecap: "round" }) }) })
1672
+ }, children: /* @__PURE__ */ i("svg", { width: "12", height: "12", viewBox: "0 0 14 14", fill: "none", children: /* @__PURE__ */ i("path", { d: "M1 1L13 13M13 1L1 13", stroke: o.secondary, strokeWidth: "1", strokeLinecap: "round" }) }) })
648
1673
  ] });
649
1674
  }
650
- function oe() {
651
- return /* @__PURE__ */ e("div", { style: {
1675
+ function Ce() {
1676
+ return /* @__PURE__ */ i("div", { style: {
652
1677
  height: 44,
653
1678
  display: "flex",
654
1679
  alignItems: "center",
655
1680
  justifyContent: "center",
656
1681
  gap: 8,
657
1682
  flexShrink: 0,
658
- background: t.surface,
659
- borderTop: `1px solid ${t.highlight}`,
660
- boxShadow: `inset 0 -1px 0 ${t.shadow}`,
1683
+ background: o.surface,
1684
+ borderTop: `1px solid ${o.highlight}`,
1685
+ boxShadow: `inset 0 -1px 0 ${o.shadow}`,
661
1686
  borderRadius: "0 0 10px 10px"
662
- }, children: /* @__PURE__ */ i("a", { href: "https://pye.fi/", target: "_blank", rel: "noopener noreferrer", style: { display: "flex", alignItems: "center", gap: 8, textDecoration: "none" }, children: [
663
- /* @__PURE__ */ e("span", { style: a(15, t.secondary), children: "Powered by" }),
664
- /* @__PURE__ */ e(Ft, {})
1687
+ }, children: /* @__PURE__ */ f("a", { href: "https://pye.fi/", target: "_blank", rel: "noopener noreferrer", style: { display: "flex", alignItems: "center", gap: 8, textDecoration: "none" }, children: [
1688
+ /* @__PURE__ */ i("span", { style: A(15, o.secondary), children: "Powered by" }),
1689
+ /* @__PURE__ */ i(sr, {})
665
1690
  ] }) });
666
1691
  }
667
- function Wt({ message: r }) {
668
- return r ? /* @__PURE__ */ e("p", { style: { ...a(14, t.red), marginTop: 4 }, children: r }) : null;
1692
+ function ur({ message: c }) {
1693
+ return c ? /* @__PURE__ */ i("p", { style: { ...A(14, o.red), marginTop: 4 }, children: c }) : null;
669
1694
  }
670
- const Te = 1e9;
671
- function me({
672
- icon: r,
673
- label: n,
674
- sub: o,
675
- subColor: d,
676
- onClick: u,
677
- disabled: l
1695
+ const lt = 1e9;
1696
+ function Je({
1697
+ icon: c,
1698
+ label: l,
1699
+ sub: u,
1700
+ subColor: w,
1701
+ onClick: m,
1702
+ disabled: p
678
1703
  }) {
679
- return /* @__PURE__ */ i(
1704
+ return /* @__PURE__ */ f(
680
1705
  "div",
681
1706
  {
682
- className: l ? void 0 : "pye-hoverable",
683
- onClick: l ? void 0 : u,
1707
+ className: p ? void 0 : "pye-hoverable",
1708
+ onClick: p ? void 0 : m,
684
1709
  style: {
685
1710
  display: "flex",
686
1711
  alignItems: "center",
@@ -688,31 +1713,31 @@ function me({
688
1713
  padding: 16,
689
1714
  borderRadius: 10,
690
1715
  minHeight: 76,
691
- background: t.raised,
692
- borderTop: `1px solid ${t.highlight}`,
693
- boxShadow: `inset 0 -1px 0 ${t.shadow}`,
694
- cursor: l ? "not-allowed" : "pointer",
695
- opacity: l ? 0.5 : 1,
1716
+ background: o.raised,
1717
+ borderTop: `1px solid ${o.highlight}`,
1718
+ boxShadow: `inset 0 -1px 0 ${o.shadow}`,
1719
+ cursor: p ? "not-allowed" : "pointer",
1720
+ opacity: p ? 0.5 : 1,
696
1721
  transition: "background 0.1s"
697
1722
  },
698
1723
  children: [
699
- r,
700
- /* @__PURE__ */ i("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: 2, minWidth: 0 }, children: [
701
- /* @__PURE__ */ e("p", { style: a(15, t.primary, 600), children: n }),
702
- /* @__PURE__ */ e("p", { style: a(14, d ?? t.secondary), children: o })
1724
+ c,
1725
+ /* @__PURE__ */ f("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: 2, minWidth: 0 }, children: [
1726
+ /* @__PURE__ */ i("p", { style: A(15, o.primary, 600), children: l }),
1727
+ /* @__PURE__ */ i("p", { style: A(14, w ?? o.secondary), children: u })
703
1728
  ] }),
704
- /* @__PURE__ */ e("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", style: { flexShrink: 0 }, children: /* @__PURE__ */ e("path", { d: "M6 4L10 8L6 12", stroke: t.muted, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) })
1729
+ /* @__PURE__ */ i("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", style: { flexShrink: 0 }, children: /* @__PURE__ */ i("path", { d: "M6 4L10 8L6 12", stroke: o.muted, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) })
705
1730
  ]
706
1731
  }
707
1732
  );
708
1733
  }
709
- function Nt({ address: r, onSwitch: n }) {
710
- const o = `${r.slice(0, 4)}...${r.slice(-4)}`;
711
- return /* @__PURE__ */ i(
1734
+ function pr({ address: c, onSwitch: l }) {
1735
+ const u = `${c.slice(0, 4)}...${c.slice(-4)}`;
1736
+ return /* @__PURE__ */ f(
712
1737
  "button",
713
1738
  {
714
1739
  className: "pye-hoverable",
715
- onClick: n,
1740
+ onClick: l,
716
1741
  style: {
717
1742
  display: "flex",
718
1743
  alignItems: "center",
@@ -720,30 +1745,30 @@ function Nt({ address: r, onSwitch: n }) {
720
1745
  padding: 20,
721
1746
  borderRadius: 10,
722
1747
  width: "100%",
723
- background: t.raised,
724
- borderTop: `1px solid ${t.highlight}`,
725
- boxShadow: `inset 0 -1px 0 ${t.shadow}`,
1748
+ background: o.raised,
1749
+ borderTop: `1px solid ${o.highlight}`,
1750
+ boxShadow: `inset 0 -1px 0 ${o.shadow}`,
726
1751
  border: "none",
727
1752
  cursor: "pointer",
728
1753
  transition: "background 0.1s"
729
1754
  },
730
1755
  children: [
731
- /* @__PURE__ */ i("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
732
- /* @__PURE__ */ e("div", { style: {
1756
+ /* @__PURE__ */ f("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
1757
+ /* @__PURE__ */ i("div", { style: {
733
1758
  width: 4,
734
1759
  height: 4,
735
1760
  borderRadius: 9,
736
- background: t.green
1761
+ background: o.green
737
1762
  } }),
738
- /* @__PURE__ */ e("span", { style: { ...a(15, t.primary), fontVariantNumeric: "tabular-nums" }, children: o })
1763
+ /* @__PURE__ */ i("span", { style: { ...A(15, o.primary), fontVariantNumeric: "tabular-nums" }, children: u })
739
1764
  ] }),
740
- /* @__PURE__ */ e("span", { style: a(15, t.secondary), children: "Switch" })
1765
+ /* @__PURE__ */ i("span", { style: A(15, o.secondary), children: "Switch" })
741
1766
  ]
742
1767
  }
743
1768
  );
744
1769
  }
745
- function Yt() {
746
- return /* @__PURE__ */ e("div", { style: {
1770
+ function hr() {
1771
+ return /* @__PURE__ */ i("div", { style: {
747
1772
  flexShrink: 0,
748
1773
  width: 44,
749
1774
  height: 44,
@@ -754,31 +1779,31 @@ function Yt() {
754
1779
  display: "flex",
755
1780
  alignItems: "center",
756
1781
  justifyContent: "center"
757
- }, children: /* @__PURE__ */ i("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", style: { color: "var(--c-brand)" }, children: [
758
- /* @__PURE__ */ e("circle", { cx: "8", cy: "8", r: "5", stroke: "currentColor", strokeWidth: "1.5" }),
759
- /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "5", stroke: "currentColor", strokeWidth: "1.5", fill: "none" })
1782
+ }, children: /* @__PURE__ */ f("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", style: { color: "var(--c-brand)" }, children: [
1783
+ /* @__PURE__ */ i("circle", { cx: "8", cy: "8", r: "5", stroke: "currentColor", strokeWidth: "1.5" }),
1784
+ /* @__PURE__ */ i("circle", { cx: "12", cy: "12", r: "5", stroke: "currentColor", strokeWidth: "1.5", fill: "none" })
760
1785
  ] }) });
761
1786
  }
762
- function jt() {
763
- return /* @__PURE__ */ e("div", { style: {
1787
+ function fr() {
1788
+ return /* @__PURE__ */ i("div", { style: {
764
1789
  flexShrink: 0,
765
1790
  width: 44,
766
1791
  height: 44,
767
1792
  borderRadius: 10,
768
- background: `color-mix(in srgb, ${t.secondary} 15%, transparent)`,
1793
+ background: `color-mix(in srgb, ${o.secondary} 15%, transparent)`,
769
1794
  borderTop: "1px solid rgba(255,255,255,0.2)",
770
1795
  boxShadow: "0 4px 8px rgba(0,0,0,0.07), inset 0 -1px 0 rgba(0,0,0,0.2)",
771
1796
  display: "flex",
772
1797
  alignItems: "center",
773
1798
  justifyContent: "center"
774
- }, children: /* @__PURE__ */ i("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", style: { color: t.secondary }, children: [
775
- /* @__PURE__ */ e("path", { d: "M4 3h8a2 2 0 0 1 2 2v12H6a2 2 0 0 1-2-2V3z", stroke: "currentColor", strokeWidth: "1.5", strokeLinejoin: "round" }),
776
- /* @__PURE__ */ e("path", { d: "M4 15a2 2 0 0 1 2-2h8", stroke: "currentColor", strokeWidth: "1.5" }),
777
- /* @__PURE__ */ e("path", { d: "M7 7h4M7 10h3", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
1799
+ }, children: /* @__PURE__ */ f("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", style: { color: o.secondary }, children: [
1800
+ /* @__PURE__ */ i("path", { d: "M4 3h8a2 2 0 0 1 2 2v12H6a2 2 0 0 1-2-2V3z", stroke: "currentColor", strokeWidth: "1.5", strokeLinejoin: "round" }),
1801
+ /* @__PURE__ */ i("path", { d: "M4 15a2 2 0 0 1 2-2h8", stroke: "currentColor", strokeWidth: "1.5" }),
1802
+ /* @__PURE__ */ i("path", { d: "M7 7h4M7 10h3", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
778
1803
  ] }) });
779
1804
  }
780
- function Vt() {
781
- return /* @__PURE__ */ e("div", { style: {
1805
+ function yr() {
1806
+ return /* @__PURE__ */ i("div", { style: {
782
1807
  flexShrink: 0,
783
1808
  width: 44,
784
1809
  height: 44,
@@ -789,234 +1814,234 @@ function Vt() {
789
1814
  display: "flex",
790
1815
  alignItems: "center",
791
1816
  justifyContent: "center"
792
- }, children: /* @__PURE__ */ i("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", style: { color: "#0d9c5e" }, children: [
793
- /* @__PURE__ */ e("rect", { x: "3", y: "5", width: "14", height: "11", rx: "2", stroke: "currentColor", strokeWidth: "1.5" }),
794
- /* @__PURE__ */ e("path", { d: "M3 9H17", stroke: "currentColor", strokeWidth: "1.5" }),
795
- /* @__PURE__ */ e("circle", { cx: "13", cy: "12.5", r: "1", fill: "currentColor" })
1817
+ }, children: /* @__PURE__ */ f("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", style: { color: "#0d9c5e" }, children: [
1818
+ /* @__PURE__ */ i("rect", { x: "3", y: "5", width: "14", height: "11", rx: "2", stroke: "currentColor", strokeWidth: "1.5" }),
1819
+ /* @__PURE__ */ i("path", { d: "M3 9H17", stroke: "currentColor", strokeWidth: "1.5" }),
1820
+ /* @__PURE__ */ i("circle", { cx: "13", cy: "12.5", r: "1", fill: "currentColor" })
796
1821
  ] }) });
797
1822
  }
798
- function Gt({ validatorName: r }) {
799
- const n = f((m) => m.navigate), o = W((m) => m.walletBalances), d = W((m) => m.userStakeAccounts), u = W((m) => m.userStakeAccountsLoading), l = J((m) => m.publicKey), { disconnect: h } = ge(), g = We(), { totalPtSol: b, maturedPtSol: c } = Y(() => {
800
- const m = Date.now() / 1e3;
801
- let S = 0, E = 0;
802
- for (const [C, I] of Object.entries(o)) {
803
- if (I <= 0) continue;
804
- const B = g.get(C);
805
- if (!B) continue;
806
- const A = I / Te;
807
- S += A;
808
- const R = Number(V[B.maturityId].maturity_timestamp);
809
- m >= R && (E += A);
810
- }
811
- return { totalPtSol: S, maturedPtSol: E };
812
- }, [o, g]), p = Y(() => {
813
- let m = 0;
814
- for (const S of d)
815
- S.state === "active" && (m += S.lamports);
816
- return m / Te;
817
- }, [d]), x = b > 0, k = p > 0, v = Object.values(o).some((m) => m > 0), w = u && d.length === 0 && !v, M = x ? c > 0 ? `${O(c)} PT ready to redeem` : `${O(b)} PT locked` : "No PT positions", s = k ? `${O(p, 2)} SOL across active stake` : "No active stake";
818
- return /* @__PURE__ */ i(ie, { style: { borderRadius: "10px 10px 0 0" }, children: [
819
- /* @__PURE__ */ i("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
820
- /* @__PURE__ */ e("p", { style: { ...U(32, t.primary), letterSpacing: "-0.02em", lineHeight: 1.5 }, children: "Welcome back" }),
821
- /* @__PURE__ */ e("p", { style: a(15, t.secondary), children: w ? "Loading your positions…" : x && k ? "We found active staked SOL positions and PTs ready to redeem. What would you like to do?" : x ? "We found PTs ready to redeem. What would you like to do?" : k ? "We found active staked SOL positions. Sell your future rewards upfront." : `Stake SOL with ${r ?? "your validator"} to get started.` })
1823
+ function gr({ validatorName: c }) {
1824
+ const l = C((k) => k.navigate), u = ee((k) => k.walletBalances), w = ee((k) => k.userStakeAccounts), m = ee((k) => k.userStakeAccountsLoading), p = me((k) => k.publicKey), { disconnect: y } = Ye(), a = ut(), { totalPtSol: v, maturedPtSol: b } = le(() => {
1825
+ const k = Date.now() / 1e3;
1826
+ let M = 0, P = 0;
1827
+ for (const [N, T] of Object.entries(u)) {
1828
+ if (T <= 0) continue;
1829
+ const q = a.get(N);
1830
+ if (!q) continue;
1831
+ const F = T / lt;
1832
+ M += F;
1833
+ const j = Number(se[q.maturityId].maturity_timestamp);
1834
+ k >= j && (P += F);
1835
+ }
1836
+ return { totalPtSol: M, maturedPtSol: P };
1837
+ }, [u, a]), x = le(() => {
1838
+ let k = 0;
1839
+ for (const M of w)
1840
+ M.state === "active" && (k += M.lamports);
1841
+ return k / lt;
1842
+ }, [w]), B = v > 0, L = x > 0, S = Object.values(u).some((k) => k > 0), I = m && w.length === 0 && !S, R = B ? b > 0 ? `${X(b)} PT ready to redeem` : `${X(v)} PT locked` : "No PT positions", g = L ? `${X(x, 2)} SOL across active stake` : "No active stake";
1843
+ return /* @__PURE__ */ f(Re, { style: { borderRadius: "10px 10px 0 0" }, children: [
1844
+ /* @__PURE__ */ f("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
1845
+ /* @__PURE__ */ i("p", { style: { ...ke(32, o.primary), letterSpacing: "-0.02em", lineHeight: 1.5 }, children: "Welcome back" }),
1846
+ /* @__PURE__ */ i("p", { style: A(15, o.secondary), children: I ? "Loading your positions…" : B && L ? "We found active staked SOL positions and PTs ready to redeem. What would you like to do?" : B ? "We found PTs ready to redeem. What would you like to do?" : L ? "We found active staked SOL positions. Sell your future rewards upfront." : `Stake SOL with ${c ?? "your validator"} to get started.` })
822
1847
  ] }),
823
- /* @__PURE__ */ e("div", { style: { display: "flex", flexDirection: "column", gap: 10, marginTop: 8 }, children: w ? /* @__PURE__ */ i(N, { children: [
824
- /* @__PURE__ */ e(Pe, {}),
825
- /* @__PURE__ */ e(Pe, {})
826
- ] }) : /* @__PURE__ */ i(N, { children: [
827
- /* @__PURE__ */ e(
828
- me,
1848
+ /* @__PURE__ */ i("div", { style: { display: "flex", flexDirection: "column", gap: 10, marginTop: 8 }, children: I ? /* @__PURE__ */ f(te, { children: [
1849
+ /* @__PURE__ */ i(ot, {}),
1850
+ /* @__PURE__ */ i(ot, {})
1851
+ ] }) : /* @__PURE__ */ f(te, { children: [
1852
+ /* @__PURE__ */ i(
1853
+ Je,
829
1854
  {
830
- icon: /* @__PURE__ */ e(Vt, {}),
1855
+ icon: /* @__PURE__ */ i(yr, {}),
831
1856
  label: "Sell future rewards",
832
- sub: s,
833
- disabled: !k,
834
- onClick: () => n("select-position")
1857
+ sub: g,
1858
+ disabled: !L,
1859
+ onClick: () => l("select-position")
835
1860
  }
836
1861
  ),
837
- /* @__PURE__ */ e(
838
- me,
1862
+ /* @__PURE__ */ i(
1863
+ Je,
839
1864
  {
840
- icon: /* @__PURE__ */ e(Yt, {}),
1865
+ icon: /* @__PURE__ */ i(hr, {}),
841
1866
  label: "Redeem PTs",
842
- sub: M,
843
- subColor: c > 0 ? t.green : void 0,
844
- disabled: !x,
845
- onClick: () => n("redeem-list")
1867
+ sub: R,
1868
+ subColor: b > 0 ? o.green : void 0,
1869
+ disabled: !B,
1870
+ onClick: () => l("redeem-list")
846
1871
  }
847
1872
  ),
848
- /* @__PURE__ */ e(
849
- me,
1873
+ /* @__PURE__ */ i(
1874
+ Je,
850
1875
  {
851
- icon: /* @__PURE__ */ e(jt, {}),
1876
+ icon: /* @__PURE__ */ i(fr, {}),
852
1877
  label: "Learn more",
853
1878
  sub: "Read the docs",
854
1879
  onClick: () => window.open("https://docs.pye.fi/", "_blank", "noopener,noreferrer")
855
1880
  }
856
1881
  )
857
1882
  ] }) }),
858
- /* @__PURE__ */ e(q, {}),
859
- l && /* @__PURE__ */ e(
860
- Nt,
1883
+ /* @__PURE__ */ i(xe, {}),
1884
+ p && /* @__PURE__ */ i(
1885
+ pr,
861
1886
  {
862
- address: l,
1887
+ address: p,
863
1888
  onSwitch: () => {
864
- h().catch(() => {
1889
+ y().catch(() => {
865
1890
  });
866
1891
  }
867
1892
  }
868
1893
  )
869
1894
  ] });
870
1895
  }
871
- function Kt({ name: r, iconUrl: n, connecting: o, onConnect: d }) {
872
- const u = o === r, l = o != null && !u;
873
- return /* @__PURE__ */ i(
1896
+ function mr({ name: c, iconUrl: l, connecting: u, onConnect: w }) {
1897
+ const m = u === c, p = u != null && !m;
1898
+ return /* @__PURE__ */ f(
874
1899
  "div",
875
1900
  {
876
- className: o ? void 0 : "pye-hoverable",
877
- onClick: () => !o && d(r),
1901
+ className: u ? void 0 : "pye-hoverable",
1902
+ onClick: () => !u && w(c),
878
1903
  style: {
879
1904
  display: "flex",
880
1905
  alignItems: "center",
881
1906
  justifyContent: "space-between",
882
1907
  padding: 12,
883
1908
  borderRadius: 8,
884
- background: t.raised,
885
- boxShadow: `inset 0 1px 0 ${t.highlight}, inset 0 -1px 0 ${t.shadow}`,
886
- cursor: o ? "default" : "pointer",
887
- opacity: l ? 0.4 : 1,
1909
+ background: o.raised,
1910
+ boxShadow: `inset 0 1px 0 ${o.highlight}, inset 0 -1px 0 ${o.shadow}`,
1911
+ cursor: u ? "default" : "pointer",
1912
+ opacity: p ? 0.4 : 1,
888
1913
  transition: "background 0.1s, opacity 0.2s"
889
1914
  },
890
1915
  children: [
891
- /* @__PURE__ */ i("div", { style: { display: "flex", alignItems: "center", gap: 12 }, children: [
892
- n ? /* @__PURE__ */ e("img", { src: n, alt: "", style: { width: 32, height: 32, borderRadius: 8, objectFit: "cover" } }) : /* @__PURE__ */ e(Ht, { name: r, size: 32 }),
893
- /* @__PURE__ */ e("p", { style: a(15, t.primary), children: r })
1916
+ /* @__PURE__ */ f("div", { style: { display: "flex", alignItems: "center", gap: 12 }, children: [
1917
+ l ? /* @__PURE__ */ i("img", { src: l, alt: "", style: { width: 32, height: 32, borderRadius: 8, objectFit: "cover" } }) : /* @__PURE__ */ i(cr, { name: c, size: 32 }),
1918
+ /* @__PURE__ */ i("p", { style: A(15, o.primary), children: c })
894
1919
  ] }),
895
- /* @__PURE__ */ e("p", { style: a(14, u ? t.purple : t.secondary), children: u ? "Connecting…" : "Detected" })
1920
+ /* @__PURE__ */ i("p", { style: A(14, m ? o.purple : o.secondary), children: m ? "Connecting…" : "Detected" })
896
1921
  ]
897
1922
  }
898
1923
  );
899
1924
  }
900
- function Jt() {
901
- const { wallets: r, wallet: n, select: o, connecting: d } = ge(), u = f((p) => p.navigate), l = J((p) => p.status);
902
- j(() => {
903
- l === "connected" && u("welcome");
904
- }, [l, u]);
905
- const h = d ? (n == null ? void 0 : n.adapter.name) ?? null : null, b = [...Array.from(
906
- new Map(r.map((p) => [p.adapter.name, p])).values()
907
- )].sort((p, x) => {
908
- const k = p.readyState === "Installed" ? 0 : 1, v = x.readyState === "Installed" ? 0 : 1;
909
- return k - v;
910
- }), c = (p) => {
911
- const x = r.find((k) => k.adapter.name === p);
912
- x && o(x.adapter.name);
1925
+ function xr() {
1926
+ const { wallets: c, wallet: l, select: u, connecting: w } = Ye(), m = C((x) => x.navigate), p = me((x) => x.status);
1927
+ ae(() => {
1928
+ p === "connected" && m("welcome");
1929
+ }, [p, m]);
1930
+ const y = w ? (l == null ? void 0 : l.adapter.name) ?? null : null, v = [...Array.from(
1931
+ new Map(c.map((x) => [x.adapter.name, x])).values()
1932
+ )].sort((x, B) => {
1933
+ const L = x.readyState === "Installed" ? 0 : 1, S = B.readyState === "Installed" ? 0 : 1;
1934
+ return L - S;
1935
+ }), b = (x) => {
1936
+ const B = c.find((L) => L.adapter.name === x);
1937
+ B && u(B.adapter.name);
913
1938
  };
914
- return /* @__PURE__ */ i(N, { children: [
915
- /* @__PURE__ */ e(
916
- ye,
1939
+ return /* @__PURE__ */ f(te, { children: [
1940
+ /* @__PURE__ */ i(
1941
+ Qe,
917
1942
  {
918
1943
  title: "Connect your wallet",
919
1944
  subtitle: "Connect to see your existing stake and SOL balance."
920
1945
  }
921
1946
  ),
922
- /* @__PURE__ */ e(qe, { children: b.map((p) => /* @__PURE__ */ e(
923
- Kt,
1947
+ /* @__PURE__ */ i(wt, { children: v.map((x) => /* @__PURE__ */ i(
1948
+ mr,
924
1949
  {
925
- name: p.adapter.name,
926
- iconUrl: p.adapter.icon,
927
- connecting: h,
928
- onConnect: c
1950
+ name: x.adapter.name,
1951
+ iconUrl: x.adapter.icon,
1952
+ connecting: y,
1953
+ onConnect: b
929
1954
  },
930
- p.adapter.name
1955
+ x.adapter.name
931
1956
  )) }),
932
- /* @__PURE__ */ e(q, {})
1957
+ /* @__PURE__ */ i(xe, {})
933
1958
  ] });
934
1959
  }
935
- const qt = 0.07, fe = 100;
936
- function zt() {
937
- const r = f((c) => c.navigate), o = J((c) => c.status) === "connected", d = ve((c) => c.markets), u = xt((c) => c.apyByVoteAccount), l = Y(() => {
938
- const c = pt();
939
- if (c.voteAccount && u[c.voteAccount] != null)
940
- return u[c.voteAccount];
941
- const p = Object.values(u);
942
- return p.length > 0 ? p.reduce((x, k) => x + k, 0) / p.length : qt;
943
- }, [u]), { sellToday: h, holdToUnlock: g, maturityLabel: b } = Y(() => {
944
- let c = null;
945
- for (const [M, s] of Object.entries(d))
946
- if (M.endsWith("-q32026-RT") && s.bestBidPrice != null) {
947
- c = s.bestBidPrice;
1960
+ const wr = 0.07, qe = 100;
1961
+ function br() {
1962
+ const c = C((b) => b.navigate), u = me((b) => b.status) === "connected", w = $e((b) => b.markets), m = Yt((b) => b.apyByVoteAccount), p = le(() => {
1963
+ const b = Dt();
1964
+ if (b.voteAccount && m[b.voteAccount] != null)
1965
+ return m[b.voteAccount];
1966
+ const x = Object.values(m);
1967
+ return x.length > 0 ? x.reduce((B, L) => B + L, 0) / x.length : wr;
1968
+ }, [m]), { sellToday: y, holdToUnlock: a, maturityLabel: v } = le(() => {
1969
+ let b = null;
1970
+ for (const [R, g] of Object.entries(w))
1971
+ if (R.endsWith("-q32026-RT") && g.bestBidPrice != null) {
1972
+ b = g.bestBidPrice;
948
1973
  break;
949
1974
  }
950
- const p = Number(V.q32026.maturity_timestamp), x = Date.now() / 1e3, k = Math.max(0, (p - x) / (365 * 24 * 60 * 60)), v = l * k * fe;
1975
+ const x = Number(se.q32026.maturity_timestamp), B = Date.now() / 1e3, L = Math.max(0, (x - B) / (365 * 24 * 60 * 60)), S = p * L * qe;
951
1976
  return {
952
- sellToday: c != null ? c * fe : v * 0.96,
953
- holdToUnlock: v,
954
- maturityLabel: V.q32026.human_readable
1977
+ sellToday: b != null ? b * qe : S * 0.96,
1978
+ holdToUnlock: S,
1979
+ maturityLabel: se.q32026.human_readable
955
1980
  };
956
- }, [d, l]);
957
- return /* @__PURE__ */ i(N, { children: [
958
- /* @__PURE__ */ e("p", { style: { ...U(45, t.primary), letterSpacing: "-0.02em" }, children: "Get your future staking rewards today." }),
959
- /* @__PURE__ */ e(q, {}),
960
- /* @__PURE__ */ i("div", { style: { display: "flex", flexDirection: "column", gap: 24 }, children: [
961
- /* @__PURE__ */ i("div", { style: { display: "flex", flexDirection: "column", gap: 12 }, children: [
962
- /* @__PURE__ */ i("p", { style: a(12, t.primary), children: [
1981
+ }, [w, p]);
1982
+ return /* @__PURE__ */ f(te, { children: [
1983
+ /* @__PURE__ */ i("p", { style: { ...ke(45, o.primary), letterSpacing: "-0.02em" }, children: "Get your future staking rewards today." }),
1984
+ /* @__PURE__ */ i(xe, {}),
1985
+ /* @__PURE__ */ f("div", { style: { display: "flex", flexDirection: "column", gap: 24 }, children: [
1986
+ /* @__PURE__ */ f("div", { style: { display: "flex", flexDirection: "column", gap: 12 }, children: [
1987
+ /* @__PURE__ */ f("p", { style: A(12, o.primary), children: [
963
1988
  "Example: Stake ",
964
- fe,
1989
+ qe,
965
1990
  " SOL for 6 months"
966
1991
  ] }),
967
- /* @__PURE__ */ i("div", { style: { display: "flex", gap: 8 }, children: [
968
- /* @__PURE__ */ i("div", { style: {
1992
+ /* @__PURE__ */ f("div", { style: { display: "flex", gap: 8 }, children: [
1993
+ /* @__PURE__ */ f("div", { style: {
969
1994
  flex: 1,
970
1995
  borderRadius: 6,
971
1996
  padding: 12,
972
- background: t.raised,
973
- borderTop: `1px solid ${t.highlight}`,
974
- boxShadow: `0 4px 8px rgba(0,0,0,0.07), inset 0 -1px 0 ${t.shadow}`
1997
+ background: o.raised,
1998
+ borderTop: `1px solid ${o.highlight}`,
1999
+ boxShadow: `0 4px 8px rgba(0,0,0,0.07), inset 0 -1px 0 ${o.shadow}`
975
2000
  }, children: [
976
- /* @__PURE__ */ e("p", { style: a(12, t.secondary), children: "Sell rewards today" }),
977
- /* @__PURE__ */ i("p", { style: { ...U(24, t.green), fontVariantNumeric: "lining-nums tabular-nums", lineHeight: 1.2, margin: "4px 0 2px" }, children: [
2001
+ /* @__PURE__ */ i("p", { style: A(12, o.secondary), children: "Sell rewards today" }),
2002
+ /* @__PURE__ */ f("p", { style: { ...ke(24, o.green), fontVariantNumeric: "lining-nums tabular-nums", lineHeight: 1.2, margin: "4px 0 2px" }, children: [
978
2003
  "+",
979
- O(h),
2004
+ X(y),
980
2005
  " SOL"
981
2006
  ] }),
982
- /* @__PURE__ */ e("p", { style: a(12, t.secondary), children: "Yours now" })
2007
+ /* @__PURE__ */ i("p", { style: A(12, o.secondary), children: "Yours now" })
983
2008
  ] }),
984
- /* @__PURE__ */ i("div", { style: {
2009
+ /* @__PURE__ */ f("div", { style: {
985
2010
  flex: 1,
986
2011
  borderRadius: 6,
987
2012
  padding: 12,
988
- background: t.lowered,
989
- borderTop: `1px solid ${t.shadow}`,
990
- boxShadow: `inset 0 -1px 0 ${t.highlight}`
2013
+ background: o.lowered,
2014
+ borderTop: `1px solid ${o.shadow}`,
2015
+ boxShadow: `inset 0 -1px 0 ${o.highlight}`
991
2016
  }, children: [
992
- /* @__PURE__ */ e("p", { style: a(12, t.secondary), children: "Hold to unlock" }),
993
- /* @__PURE__ */ i("p", { style: { ...U(24, t.primary), fontVariantNumeric: "lining-nums tabular-nums", lineHeight: 1.2, margin: "4px 0 2px" }, children: [
2017
+ /* @__PURE__ */ i("p", { style: A(12, o.secondary), children: "Hold to unlock" }),
2018
+ /* @__PURE__ */ f("p", { style: { ...ke(24, o.primary), fontVariantNumeric: "lining-nums tabular-nums", lineHeight: 1.2, margin: "4px 0 2px" }, children: [
994
2019
  "+",
995
- O(g)
2020
+ X(a)
996
2021
  ] }),
997
- /* @__PURE__ */ i("p", { style: a(12, t.secondary), children: [
2022
+ /* @__PURE__ */ f("p", { style: A(12, o.secondary), children: [
998
2023
  "Available ",
999
- b
2024
+ v
1000
2025
  ] })
1001
2026
  ] })
1002
2027
  ] })
1003
2028
  ] }),
1004
- /* @__PURE__ */ i("div", { style: { display: "flex", flexDirection: "column", alignItems: "center", gap: 12 }, children: [
1005
- /* @__PURE__ */ e(
1006
- le,
2029
+ /* @__PURE__ */ f("div", { style: { display: "flex", flexDirection: "column", alignItems: "center", gap: 12 }, children: [
2030
+ /* @__PURE__ */ i(
2031
+ Fe,
1007
2032
  {
1008
- label: o ? "Continue" : "Connect Wallet",
1009
- onClick: () => r(o ? "select-position" : "connect-wallet"),
2033
+ label: u ? "Continue" : "Connect Wallet",
2034
+ onClick: () => c(u ? "select-position" : "connect-wallet"),
1010
2035
  purple: !0
1011
2036
  }
1012
2037
  ),
1013
- /* @__PURE__ */ e(
2038
+ /* @__PURE__ */ i(
1014
2039
  "a",
1015
2040
  {
1016
2041
  href: "https://docs.pye.fi/",
1017
2042
  target: "_blank",
1018
2043
  rel: "noopener noreferrer",
1019
- style: { ...a(12, t.secondary), textDecoration: "none" },
2044
+ style: { ...A(12, o.secondary), textDecoration: "none" },
1020
2045
  children: "Learn more — read the docs"
1021
2046
  }
1022
2047
  )
@@ -1024,30 +2049,30 @@ function zt() {
1024
2049
  ] })
1025
2050
  ] });
1026
2051
  }
1027
- const Oe = 1e9;
1028
- function Zt() {
1029
- const r = f((l) => l.navigate), n = f((l) => l.selectStakeAccount), d = W((l) => l.userStakeAccounts).filter((l) => l.state === "active"), u = (l, h, g, b, c, p) => {
1030
- n(l, h / Oe, g, b, c, p), r("choose-amount");
2052
+ const at = 1e9;
2053
+ function Ar() {
2054
+ const c = C((p) => p.navigate), l = C((p) => p.selectStakeAccount), w = ee((p) => p.userStakeAccounts).filter((p) => p.state === "active"), m = (p, y, a, v, b, x) => {
2055
+ l(p, y / at, a, v, b, x), c("choose-amount");
1031
2056
  };
1032
- return /* @__PURE__ */ i(N, { children: [
1033
- /* @__PURE__ */ e(
1034
- ye,
2057
+ return /* @__PURE__ */ f(te, { children: [
2058
+ /* @__PURE__ */ i(
2059
+ Qe,
1035
2060
  {
1036
2061
  title: "Select a position",
1037
2062
  subtitle: "We'll sell the future rewards from this position upfront."
1038
2063
  }
1039
2064
  ),
1040
- /* @__PURE__ */ e("div", { style: { flex: 1, overflowY: "auto", minHeight: 0 }, children: /* @__PURE__ */ e(qe, { children: d.map((l) => /* @__PURE__ */ e(
1041
- Qt,
2065
+ /* @__PURE__ */ i("div", { style: { flex: 1, overflowY: "auto", minHeight: 0 }, children: /* @__PURE__ */ i(wt, { children: w.map((p) => /* @__PURE__ */ i(
2066
+ dr,
1042
2067
  {
1043
- icon: /* @__PURE__ */ e(
2068
+ icon: /* @__PURE__ */ i(
1044
2069
  "img",
1045
2070
  {
1046
- src: l.validatorLogo ?? l.validatorIcon,
1047
- alt: l.validatorName,
1048
- onError: (h) => {
1049
- const g = h.currentTarget;
1050
- g.src !== l.validatorIcon && (g.src = l.validatorIcon);
2071
+ src: p.validatorLogo ?? p.validatorIcon,
2072
+ alt: p.validatorName,
2073
+ onError: (y) => {
2074
+ const a = y.currentTarget;
2075
+ a.src !== p.validatorIcon && (a.src = p.validatorIcon);
1051
2076
  },
1052
2077
  style: {
1053
2078
  width: 36,
@@ -1060,15 +2085,15 @@ function Zt() {
1060
2085
  }
1061
2086
  ),
1062
2087
  label: "Staked SOL",
1063
- sub: l.validatorName || `${l.pubkey.slice(0, 8)}...`,
1064
- amount: (l.lamports / Oe).toFixed(4),
1065
- onClick: () => u(l.pubkey, l.lamports, l.validatorName, l.validatorIcon, l.validatorVoteAccount, l.validatorAltPubkey)
2088
+ sub: p.validatorName || `${p.pubkey.slice(0, 8)}...`,
2089
+ amount: (p.lamports / at).toFixed(4),
2090
+ onClick: () => m(p.pubkey, p.lamports, p.validatorName, p.validatorIcon, p.validatorVoteAccount, p.validatorAltPubkey)
1066
2091
  },
1067
- l.pubkey
2092
+ p.pubkey
1068
2093
  )) }) })
1069
2094
  ] });
1070
2095
  }
1071
- const Ut = `
2096
+ const kr = `
1072
2097
  .pye-amount-slider {
1073
2098
  -webkit-appearance: none;
1074
2099
  appearance: none;
@@ -1116,38 +2141,38 @@ const Ut = `
1116
2141
  cursor: pointer;
1117
2142
  }
1118
2143
  `;
1119
- function Xt() {
1120
- const r = f((A) => A.navigate), n = f((A) => A.depositAmount), o = f((A) => A.setDepositAmount), d = f((A) => A.selectedStakeAccountBalance), u = f((A) => A.selectedStakeAccountPubkey), l = f((A) => A.selectedValidatorName), h = d, g = parseFloat(n) || 0, b = [0.25, 0.5, 0.75, 1], c = K(null);
1121
- j(() => () => {
1122
- c.current != null && cancelAnimationFrame(c.current);
2144
+ function Sr() {
2145
+ const c = C((F) => F.navigate), l = C((F) => F.depositAmount), u = C((F) => F.setDepositAmount), w = C((F) => F.selectedStakeAccountBalance), m = C((F) => F.selectedStakeAccountPubkey), p = C((F) => F.selectedValidatorName), y = w, a = parseFloat(l) || 0, v = [0.25, 0.5, 0.75, 1], b = ge(null);
2146
+ ae(() => () => {
2147
+ b.current != null && cancelAnimationFrame(b.current);
1123
2148
  }, []);
1124
- const p = (A) => (Math.floor(A * 1e4) / 1e4).toFixed(4), x = (A) => {
1125
- var F;
1126
- c.current != null && cancelAnimationFrame(c.current);
1127
- const R = g;
1128
- if (Math.abs(A - R) < 1e-9) return;
1129
- if ((F = window.matchMedia) == null ? void 0 : F.call(window, "(prefers-reduced-motion: reduce)").matches) {
1130
- o(p(A));
2149
+ const x = (F) => (Math.floor(F * 1e4) / 1e4).toFixed(4), B = (F) => {
2150
+ var z;
2151
+ b.current != null && cancelAnimationFrame(b.current);
2152
+ const j = a;
2153
+ if (Math.abs(F - j) < 1e-9) return;
2154
+ if ((z = window.matchMedia) == null ? void 0 : z.call(window, "(prefers-reduced-motion: reduce)").matches) {
2155
+ u(x(F));
1131
2156
  return;
1132
2157
  }
1133
- const D = 500, X = performance.now(), ce = (_) => 1 - Math.pow(1 - _, 3);
1134
- let z = "";
1135
- const $ = (_) => {
1136
- const ee = Math.min(1, (_ - X) / D), Q = R + (A - R) * ce(ee), ae = p(Q);
1137
- ae !== z && (z = ae, o(ae)), ee < 1 ? c.current = requestAnimationFrame($) : c.current = null;
2158
+ const K = 500, ce = performance.now(), Se = (de) => 1 - Math.pow(1 - de, 3);
2159
+ let re = "";
2160
+ const ne = (de) => {
2161
+ const ue = Math.min(1, (de - ce) / K), $ = j + (F - j) * Se(ue), we = x($);
2162
+ we !== re && (re = we, u(we)), ue < 1 ? b.current = requestAnimationFrame(ne) : b.current = null;
1138
2163
  };
1139
- c.current = requestAnimationFrame($);
1140
- }, k = u === "liquid-sol", v = 0.01;
1141
- let w = null, M = null;
1142
- n && g <= 0 && (w = "Amount must be greater than 0"), n && g > h && (w = `Maximum available is ${h} SOL`), !w && k && g > 0 && g >= h - v && (M = "This leaves very little SOL for transaction fees");
1143
- const s = !!n && !w && g > 0, m = h > 0 ? h : 1, S = Math.min(g, m), E = h > 0 ? Math.min(100, S / h * 100) : 0, C = Math.max(1e-4, h / 1e3), I = O(h), B = l ? `${l} balance detected: ${I} SOL.` : `Balance detected: ${I} SOL.`;
1144
- return /* @__PURE__ */ i(N, { children: [
1145
- /* @__PURE__ */ e("style", { children: Ut }),
1146
- /* @__PURE__ */ e(ye, { title: "How much of your stake do you want to sell rewards for?", subtitle: B }),
1147
- /* @__PURE__ */ i("div", { style: {
1148
- background: t.raised,
1149
- borderTop: `1px solid ${t.highlight}`,
1150
- boxShadow: `inset 0 -1px 0 ${t.shadow}`,
2164
+ b.current = requestAnimationFrame(ne);
2165
+ }, L = m === "liquid-sol", S = 0.01;
2166
+ let I = null, R = null;
2167
+ l && a <= 0 && (I = "Amount must be greater than 0"), l && a > y && (I = `Maximum available is ${y} SOL`), !I && L && a > 0 && a >= y - S && (R = "This leaves very little SOL for transaction fees");
2168
+ const g = !!l && !I && a > 0, k = y > 0 ? y : 1, M = Math.min(a, k), P = y > 0 ? Math.min(100, M / y * 100) : 0, N = Math.max(1e-4, y / 1e3), T = X(y), q = p ? `${p} balance detected: ${T} SOL.` : `Balance detected: ${T} SOL.`;
2169
+ return /* @__PURE__ */ f(te, { children: [
2170
+ /* @__PURE__ */ i("style", { children: kr }),
2171
+ /* @__PURE__ */ i(Qe, { title: "How much of your stake do you want to sell rewards for?", subtitle: q }),
2172
+ /* @__PURE__ */ f("div", { style: {
2173
+ background: o.raised,
2174
+ borderTop: `1px solid ${o.highlight}`,
2175
+ boxShadow: `inset 0 -1px 0 ${o.shadow}`,
1151
2176
  borderRadius: 8,
1152
2177
  padding: 16,
1153
2178
  marginTop: 8,
@@ -1155,102 +2180,102 @@ function Xt() {
1155
2180
  flexDirection: "column",
1156
2181
  gap: 16
1157
2182
  }, children: [
1158
- /* @__PURE__ */ i("div", { style: {
2183
+ /* @__PURE__ */ f("div", { style: {
1159
2184
  display: "flex",
1160
2185
  alignItems: "center",
1161
2186
  justifyContent: "space-between",
1162
- background: t.bg,
2187
+ background: o.bg,
1163
2188
  borderRadius: 8,
1164
2189
  padding: "8px 16px",
1165
- borderTop: `1px solid ${w ? t.red : t.shadow}`,
1166
- boxShadow: w ? `inset 0 -1px 0 ${t.highlight}, 0 0 0 1px ${t.red}` : `inset 0 -1px 0 ${t.highlight}`
2190
+ borderTop: `1px solid ${I ? o.red : o.shadow}`,
2191
+ boxShadow: I ? `inset 0 -1px 0 ${o.highlight}, 0 0 0 1px ${o.red}` : `inset 0 -1px 0 ${o.highlight}`
1167
2192
  }, children: [
1168
- /* @__PURE__ */ e(
2193
+ /* @__PURE__ */ i(
1169
2194
  "input",
1170
2195
  {
1171
2196
  type: "number",
1172
- value: n,
1173
- onChange: (A) => o(A.target.value),
2197
+ value: l,
2198
+ onChange: (F) => u(F.target.value),
1174
2199
  min: 1e-4,
1175
- max: h,
2200
+ max: y,
1176
2201
  placeholder: "0",
1177
2202
  style: {
1178
2203
  background: "none",
1179
2204
  border: "none",
1180
2205
  outline: "none",
1181
- ...a(24, t.green, 500),
2206
+ ...A(24, o.green, 500),
1182
2207
  width: "100%",
1183
2208
  fontVariantNumeric: "tabular-nums"
1184
2209
  }
1185
2210
  }
1186
2211
  ),
1187
- /* @__PURE__ */ e("span", { style: a(15, t.secondary), children: "SOL" })
2212
+ /* @__PURE__ */ i("span", { style: A(15, o.secondary), children: "SOL" })
1188
2213
  ] }),
1189
- /* @__PURE__ */ e(
2214
+ /* @__PURE__ */ i(
1190
2215
  "input",
1191
2216
  {
1192
2217
  type: "range",
1193
2218
  className: "pye-amount-slider",
1194
2219
  min: 0,
1195
- max: m,
1196
- step: C,
1197
- value: S,
1198
- onChange: (A) => {
1199
- const R = p(parseFloat(A.target.value));
1200
- R !== n && o(R);
2220
+ max: k,
2221
+ step: N,
2222
+ value: M,
2223
+ onChange: (F) => {
2224
+ const j = x(parseFloat(F.target.value));
2225
+ j !== l && u(j);
1201
2226
  },
1202
- style: { "--pye-slider-pct": `${E}%` }
2227
+ style: { "--pye-slider-pct": `${P}%` }
1203
2228
  }
1204
2229
  ),
1205
- /* @__PURE__ */ e("div", { style: { display: "flex", gap: 8 }, children: b.map((A) => /* @__PURE__ */ i(
2230
+ /* @__PURE__ */ i("div", { style: { display: "flex", gap: 8 }, children: v.map((F) => /* @__PURE__ */ f(
1206
2231
  "button",
1207
2232
  {
1208
2233
  type: "button",
1209
2234
  className: "pye-pill",
1210
2235
  onClick: () => {
1211
- const R = A === 1 ? k ? Math.max(0, h - v) : h : h * A;
1212
- x(R);
2236
+ const j = F === 1 ? L ? Math.max(0, y - S) : y : y * F;
2237
+ B(j);
1213
2238
  },
1214
2239
  style: {
1215
2240
  flex: 1,
1216
2241
  borderRadius: 8,
1217
2242
  border: "none",
1218
- borderTop: `1px solid ${t.highlight}`,
2243
+ borderTop: `1px solid ${o.highlight}`,
1219
2244
  cursor: "pointer",
1220
- background: t.surface,
1221
- ...a(14, t.secondary),
1222
- boxShadow: `inset 0 -1px 0 ${t.shadow}`,
2245
+ background: o.surface,
2246
+ ...A(14, o.secondary),
2247
+ boxShadow: `inset 0 -1px 0 ${o.shadow}`,
1223
2248
  padding: "8px 4px",
1224
2249
  transition: "background 0.1s"
1225
2250
  },
1226
2251
  children: [
1227
- A * 100,
2252
+ F * 100,
1228
2253
  "%"
1229
2254
  ]
1230
2255
  },
1231
- A
2256
+ F
1232
2257
  )) })
1233
2258
  ] }),
1234
- /* @__PURE__ */ e(Wt, { message: w ?? "" }),
1235
- !w && M && /* @__PURE__ */ e("p", { style: { ...a(14, t.red), marginTop: 4 }, children: M }),
1236
- /* @__PURE__ */ e(q, {}),
1237
- /* @__PURE__ */ e(
1238
- le,
2259
+ /* @__PURE__ */ i(ur, { message: I ?? "" }),
2260
+ !I && R && /* @__PURE__ */ i("p", { style: { ...A(14, o.red), marginTop: 4 }, children: R }),
2261
+ /* @__PURE__ */ i(xe, {}),
2262
+ /* @__PURE__ */ i(
2263
+ Fe,
1239
2264
  {
1240
2265
  label: "Continue",
1241
- onClick: () => r("choose-duration"),
1242
- disabled: !s,
2266
+ onClick: () => c("choose-duration"),
2267
+ disabled: !g,
1243
2268
  purple: !0
1244
2269
  }
1245
2270
  )
1246
2271
  ] });
1247
2272
  }
1248
- const $t = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
1249
- function G({ value: r, style: n, duration: o = 1200, stagger: d = 80 }) {
1250
- var g;
1251
- const u = typeof window < "u" && ((g = window.matchMedia) == null ? void 0 : g.call(window, "(prefers-reduced-motion: reduce)").matches), l = [...r];
1252
- let h = 0;
1253
- return /* @__PURE__ */ e(
2273
+ const vr = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
2274
+ function ye({ value: c, style: l, duration: u = 1200, stagger: w = 80 }) {
2275
+ var a;
2276
+ const m = typeof window < "u" && ((a = window.matchMedia) == null ? void 0 : a.call(window, "(prefers-reduced-motion: reduce)").matches), p = [...c];
2277
+ let y = 0;
2278
+ return /* @__PURE__ */ i(
1254
2279
  "span",
1255
2280
  {
1256
2281
  style: {
@@ -1258,30 +2283,30 @@ function G({ value: r, style: n, duration: o = 1200, stagger: d = 80 }) {
1258
2283
  alignItems: "baseline",
1259
2284
  fontVariantNumeric: "lining-nums tabular-nums",
1260
2285
  whiteSpace: "pre",
1261
- ...n
2286
+ ...l
1262
2287
  },
1263
- children: l.map((b, c) => {
1264
- if (!/\d/.test(b))
1265
- return /* @__PURE__ */ e("span", { children: b }, c);
1266
- const p = u ? 0 : h * d;
1267
- return h++, /* @__PURE__ */ e(
1268
- _t,
2288
+ children: p.map((v, b) => {
2289
+ if (!/\d/.test(v))
2290
+ return /* @__PURE__ */ i("span", { children: v }, b);
2291
+ const x = m ? 0 : y * w;
2292
+ return y++, /* @__PURE__ */ i(
2293
+ Br,
1269
2294
  {
1270
- digit: Number(b),
1271
- delay: p,
1272
- duration: u ? 0 : o
2295
+ digit: Number(v),
2296
+ delay: x,
2297
+ duration: m ? 0 : u
1273
2298
  },
1274
- c
2299
+ b
1275
2300
  );
1276
2301
  })
1277
2302
  }
1278
2303
  );
1279
2304
  }
1280
- function _t({ digit: r, delay: n, duration: o }) {
1281
- const [d, u] = he(0), l = K(null);
1282
- return j(() => (l.current = requestAnimationFrame(() => u(r)), () => {
1283
- l.current != null && cancelAnimationFrame(l.current);
1284
- }), [r]), /* @__PURE__ */ e(
2305
+ function Br({ digit: c, delay: l, duration: u }) {
2306
+ const [w, m] = We(0), p = ge(null);
2307
+ return ae(() => (p.current = requestAnimationFrame(() => m(c)), () => {
2308
+ p.current != null && cancelAnimationFrame(p.current);
2309
+ }), [c]), /* @__PURE__ */ i(
1285
2310
  "span",
1286
2311
  {
1287
2312
  "aria-hidden": !0,
@@ -1292,78 +2317,78 @@ function _t({ digit: r, delay: n, duration: o }) {
1292
2317
  overflow: "hidden",
1293
2318
  verticalAlign: "baseline"
1294
2319
  },
1295
- children: /* @__PURE__ */ e(
2320
+ children: /* @__PURE__ */ i(
1296
2321
  "span",
1297
2322
  {
1298
2323
  style: {
1299
2324
  display: "flex",
1300
2325
  flexDirection: "column",
1301
- transform: `translateY(-${d}em)`,
1302
- transition: o === 0 ? "none" : `transform ${o}ms cubic-bezier(0.2, 0.9, 0.2, 1) ${n}ms`,
2326
+ transform: `translateY(-${w}em)`,
2327
+ transition: u === 0 ? "none" : `transform ${u}ms cubic-bezier(0.2, 0.9, 0.2, 1) ${l}ms`,
1303
2328
  willChange: "transform"
1304
2329
  },
1305
- children: $t.map((h) => /* @__PURE__ */ e("span", { style: { height: "1em", lineHeight: 1 }, children: h }, h))
2330
+ children: vr.map((y) => /* @__PURE__ */ i("span", { style: { height: "1em", lineHeight: 1 }, children: y }, y))
1306
2331
  }
1307
2332
  )
1308
2333
  }
1309
2334
  );
1310
2335
  }
1311
- const en = {
2336
+ const Er = {
1312
2337
  q22026: { label: "30 Jun 2026", pts: null },
1313
2338
  q32026: { label: "30 Sep 2026", pts: "2x points" },
1314
2339
  q42026: { label: "31 Dec 2026", pts: "3x points" },
1315
2340
  q12026: { label: "31 Mar 2026", pts: null }
1316
- }, tn = ["q12026", "q22026", "q32026", "q42026"], nn = 2880 * 60;
1317
- function rn() {
1318
- const r = Date.now() / 1e3;
1319
- return tn.filter((n) => Number(V[n].maturity_timestamp) - r > nn);
2341
+ }, Ir = ["q12026", "q22026", "q32026", "q42026"], Cr = 2880 * 60;
2342
+ function Rr() {
2343
+ const c = Date.now() / 1e3;
2344
+ return Ir.filter((l) => Number(se[l].maturity_timestamp) - c > Cr);
1320
2345
  }
1321
- function on() {
1322
- const { connection: r } = Ae(), n = f((s) => s.navigate), o = f((s) => s.selectedMaturityId), d = f((s) => s.setSelectedMaturity), u = f((s) => s.depositAmount), l = f((s) => s.selectedValidatorVoteAccount), h = ve((s) => s.markets), [g, b] = he(null);
1323
- j(() => {
1324
- be(r).then(b).catch(() => {
1325
- b(Date.now() / 1e3);
2346
+ function Fr() {
2347
+ const { connection: c } = Ze(), l = C((g) => g.navigate), u = C((g) => g.selectedMaturityId), w = C((g) => g.setSelectedMaturity), m = C((g) => g.depositAmount), p = C((g) => g.selectedValidatorVoteAccount), y = $e((g) => g.markets), [a, v] = We(null);
2348
+ ae(() => {
2349
+ Ke(c).then(v).catch(() => {
2350
+ v(Date.now() / 1e3);
1326
2351
  });
1327
- }, [r]);
1328
- const c = Y(() => rn(), []), p = Y(() => {
1329
- if (!l) return null;
1330
- for (const s of c) {
1331
- const m = Ne(l, s);
1332
- if (m) return m.validatorId;
2352
+ }, [c]);
2353
+ const b = le(() => Rr(), []), x = le(() => {
2354
+ if (!p) return null;
2355
+ for (const g of b) {
2356
+ const k = pt(p, g);
2357
+ if (k) return k.validatorId;
1333
2358
  }
1334
2359
  return null;
1335
- }, [l, c]);
1336
- j(() => {
1337
- !o && c.length > 0 && d(c[0]);
1338
- }, [o, d, c]);
1339
- const x = parseFloat(u) || 0, k = g ?? Date.now() / 1e3, v = c.map((s) => {
1340
- var X;
1341
- const m = en[s] ?? {
1342
- label: ((X = V[s]) == null ? void 0 : X.human_readable) ?? s,
2360
+ }, [p, b]);
2361
+ ae(() => {
2362
+ !u && b.length > 0 && w(b[0]);
2363
+ }, [u, w, b]);
2364
+ const B = parseFloat(m) || 0, L = a ?? Date.now() / 1e3, S = b.map((g) => {
2365
+ var ce;
2366
+ const k = Er[g] ?? {
2367
+ label: ((ce = se[g]) == null ? void 0 : ce.human_readable) ?? g,
1343
2368
  pts: null
1344
- }, S = p ? `${p}-${s}-RT` : Object.keys(h).find((ce) => ce.endsWith(`-${s}-RT`)), E = S ? h[S] ?? null : null, C = (E == null ? void 0 : E.bestBidPrice) ?? null, I = V[s], B = xe({
1345
- amountSol: x,
1346
- maturity: I,
1347
- nowTs: k
1348
- }), A = Number(I.maturity_timestamp), R = Math.max(0, (A - k) / (365.25 * 86400)), L = C != null ? C * B : x * (Je / 100) * R, D = Ye(L);
1349
- return { matId: s, ...m, bestBid: C, grossYield: L, netYield: D };
1350
- }), w = (je / 100).toFixed(2), M = v.find((s) => s.matId === o);
1351
- return /* @__PURE__ */ i(N, { children: [
1352
- /* @__PURE__ */ i("div", { style: { display: "flex", flexDirection: "column", gap: 4 }, children: [
1353
- /* @__PURE__ */ i("div", { style: { display: "flex", alignItems: "center", gap: 6 }, children: [
1354
- /* @__PURE__ */ e("p", { style: a(18, t.primary, 500), children: "Choose a staking duration" }),
1355
- /* @__PURE__ */ e(Z, { position: "below", text: "Lock your stake until the chosen date. All staking rewards for the period are sold to you upfront today. Your full SOL stake is returned at maturity." })
2369
+ }, M = x ? `${x}-${g}-RT` : Object.keys(y).find((Se) => Se.endsWith(`-${g}-RT`)), P = M ? y[M] ?? null : null, N = (P == null ? void 0 : P.bestBidPrice) ?? null, T = se[g], q = ze({
2370
+ amountSol: B,
2371
+ maturity: T,
2372
+ nowTs: L
2373
+ }), F = Number(T.maturity_timestamp), j = Math.max(0, (F - L) / (365.25 * 86400)), Q = N != null ? N * q : B * (xt / 100) * j, K = ht(Q);
2374
+ return { matId: g, ...k, bestBid: N, grossYield: Q, netYield: K };
2375
+ }), I = (ft / 100).toFixed(2), R = S.find((g) => g.matId === u);
2376
+ return /* @__PURE__ */ f(te, { children: [
2377
+ /* @__PURE__ */ f("div", { style: { display: "flex", flexDirection: "column", gap: 4 }, children: [
2378
+ /* @__PURE__ */ f("div", { style: { display: "flex", alignItems: "center", gap: 6 }, children: [
2379
+ /* @__PURE__ */ i("p", { style: A(18, o.primary, 500), children: "Choose a staking duration" }),
2380
+ /* @__PURE__ */ i(Ae, { position: "below", text: "Lock your stake until the chosen date. All staking rewards for the period are sold to you upfront today. Your full SOL stake is returned at maturity." })
1356
2381
  ] }),
1357
- /* @__PURE__ */ e("p", { style: a(14, t.secondary), children: "All rewards for the period are paid to you today. Your stake is returned in full at the end." })
2382
+ /* @__PURE__ */ i("p", { style: A(14, o.secondary), children: "All rewards for the period are paid to you today. Your stake is returned in full at the end." })
1358
2383
  ] }),
1359
- /* @__PURE__ */ i("div", { style: { display: "flex", flexDirection: "column", gap: 12 }, children: [
1360
- /* @__PURE__ */ e("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: v.map((s) => {
1361
- const m = o === s.matId;
1362
- return /* @__PURE__ */ i(
2384
+ /* @__PURE__ */ f("div", { style: { display: "flex", flexDirection: "column", gap: 12 }, children: [
2385
+ /* @__PURE__ */ i("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: S.map((g) => {
2386
+ const k = u === g.matId;
2387
+ return /* @__PURE__ */ f(
1363
2388
  "div",
1364
2389
  {
1365
- className: m ? "pye-pill pye-pill--selected" : "pye-pill",
1366
- onClick: () => d(s.matId),
2390
+ className: k ? "pye-pill pye-pill--selected" : "pye-pill",
2391
+ onClick: () => w(g.matId),
1367
2392
  style: {
1368
2393
  width: "100%",
1369
2394
  minHeight: 48,
@@ -1373,346 +2398,346 @@ function on() {
1373
2398
  padding: "10px 16px",
1374
2399
  borderRadius: 8,
1375
2400
  cursor: "pointer",
1376
- background: m ? t.bg : t.raised,
1377
- borderTop: `1px solid ${m ? t.shadow : t.highlight}`,
1378
- boxShadow: m ? `inset 0 -1px 0 ${t.highlight}` : `inset 0 -1px 0 ${t.shadow}`,
2401
+ background: k ? o.bg : o.raised,
2402
+ borderTop: `1px solid ${k ? o.shadow : o.highlight}`,
2403
+ boxShadow: k ? `inset 0 -1px 0 ${o.highlight}` : `inset 0 -1px 0 ${o.shadow}`,
1379
2404
  transition: "background 0.1s"
1380
2405
  },
1381
2406
  children: [
1382
- /* @__PURE__ */ e("span", { style: a(15, m ? t.primary : t.secondary, m ? 500 : 400), children: s.label }),
1383
- Bt
2407
+ /* @__PURE__ */ i("span", { style: A(15, k ? o.primary : o.secondary, k ? 500 : 400), children: g.label }),
2408
+ ir
1384
2409
  ]
1385
2410
  },
1386
- s.matId
2411
+ g.matId
1387
2412
  );
1388
2413
  }) }),
1389
- M && /* @__PURE__ */ i(
2414
+ R && /* @__PURE__ */ f(
1390
2415
  "div",
1391
2416
  {
1392
2417
  style: {
1393
- background: t.lowered,
2418
+ background: o.lowered,
1394
2419
  borderRadius: 8,
1395
2420
  padding: 12,
1396
- borderTop: `1px solid ${t.shadow}`,
1397
- boxShadow: `inset 0 -1px 0 ${t.highlight}`,
2421
+ borderTop: `1px solid ${o.shadow}`,
2422
+ boxShadow: `inset 0 -1px 0 ${o.highlight}`,
1398
2423
  display: "flex",
1399
2424
  flexDirection: "column",
1400
2425
  gap: 4
1401
2426
  },
1402
2427
  children: [
1403
- /* @__PURE__ */ e("p", { style: a(14, t.secondary), children: "You receive today" }),
1404
- /* @__PURE__ */ e("div", { style: { display: "flex", alignItems: "baseline", gap: 8 }, children: M.netYield < 1e-4 ? /* @__PURE__ */ e(
2428
+ /* @__PURE__ */ i("p", { style: A(14, o.secondary), children: "You receive today" }),
2429
+ /* @__PURE__ */ i("div", { style: { display: "flex", alignItems: "baseline", gap: 8 }, children: R.netYield < 1e-4 ? /* @__PURE__ */ i(
1405
2430
  "p",
1406
2431
  {
1407
2432
  style: {
1408
- ...U(32, t.green),
2433
+ ...ke(32, o.green),
1409
2434
  lineHeight: 1.2,
1410
2435
  fontVariantNumeric: "lining-nums tabular-nums"
1411
2436
  },
1412
2437
  children: "< 0.0001 SOL"
1413
2438
  }
1414
- ) : /* @__PURE__ */ e(
1415
- G,
2439
+ ) : /* @__PURE__ */ i(
2440
+ ye,
1416
2441
  {
1417
- value: `+${O(M.netYield, 3)} SOL`,
1418
- style: { ...U(32, t.green), lineHeight: 1.2 }
2442
+ value: `+${X(R.netYield, 3)} SOL`,
2443
+ style: { ...ke(32, o.green), lineHeight: 1.2 }
1419
2444
  }
1420
2445
  ) }),
1421
- /* @__PURE__ */ i("p", { style: a(12, t.muted), children: [
2446
+ /* @__PURE__ */ f("p", { style: A(12, o.muted), children: [
1422
2447
  "Quote includes a ",
1423
- w,
2448
+ I,
1424
2449
  "% Pye protocol fee."
1425
2450
  ] })
1426
2451
  ]
1427
2452
  }
1428
2453
  )
1429
2454
  ] }),
1430
- /* @__PURE__ */ e(q, {}),
1431
- /* @__PURE__ */ e(
1432
- le,
2455
+ /* @__PURE__ */ i(xe, {}),
2456
+ /* @__PURE__ */ i(
2457
+ Fe,
1433
2458
  {
1434
2459
  label: "Review",
1435
- onClick: () => n("review-quote"),
1436
- disabled: !o,
2460
+ onClick: () => l("review-quote"),
2461
+ disabled: !u,
1437
2462
  purple: !0
1438
2463
  }
1439
2464
  )
1440
2465
  ] });
1441
2466
  }
1442
- function ln({
1443
- value: r,
1444
- onChange: n
2467
+ function Lr({
2468
+ value: c,
2469
+ onChange: l
1445
2470
  }) {
1446
- const o = K(null), d = 0, u = 5, l = (r - d) / (u - d) * 100, h = (p) => {
1447
- const x = o.current.getBoundingClientRect(), k = Math.max(0, Math.min(p - x.left, x.width)), v = d + k / x.width * (u - d);
1448
- return Math.round(v * 100) / 100;
1449
- }, g = (p) => {
1450
- p.preventDefault(), o.current.setPointerCapture(p.pointerId), n(h(p.clientX));
1451
- }, b = (p) => {
1452
- p.buttons !== 0 && n(h(p.clientX));
1453
- }, c = r > 3 ? "#D93B3B" : "#0d9c5e";
1454
- return /* @__PURE__ */ i("div", { style: { display: "flex", flexDirection: "column", gap: 4 }, children: [
1455
- /* @__PURE__ */ i(
2471
+ const u = ge(null), w = 0, m = 5, p = (c - w) / (m - w) * 100, y = (x) => {
2472
+ const B = u.current.getBoundingClientRect(), L = Math.max(0, Math.min(x - B.left, B.width)), S = w + L / B.width * (m - w);
2473
+ return Math.round(S * 100) / 100;
2474
+ }, a = (x) => {
2475
+ x.preventDefault(), u.current.setPointerCapture(x.pointerId), l(y(x.clientX));
2476
+ }, v = (x) => {
2477
+ x.buttons !== 0 && l(y(x.clientX));
2478
+ }, b = c > 3 ? "#D93B3B" : "#0d9c5e";
2479
+ return /* @__PURE__ */ f("div", { style: { display: "flex", flexDirection: "column", gap: 4 }, children: [
2480
+ /* @__PURE__ */ f(
1456
2481
  "div",
1457
2482
  {
1458
- ref: o,
1459
- onPointerDown: g,
1460
- onPointerMove: b,
2483
+ ref: u,
2484
+ onPointerDown: a,
2485
+ onPointerMove: v,
1461
2486
  style: { position: "relative", height: 12, display: "flex", alignItems: "center", cursor: "pointer", userSelect: "none" },
1462
2487
  children: [
1463
- /* @__PURE__ */ e("div", { style: {
2488
+ /* @__PURE__ */ i("div", { style: {
1464
2489
  position: "absolute",
1465
2490
  left: 0,
1466
- width: `${l}%`,
2491
+ width: `${p}%`,
1467
2492
  height: 8,
1468
- background: c,
1469
- borderRadius: l > 98 ? "999px" : "999px 0 0 999px",
2493
+ background: b,
2494
+ borderRadius: p > 98 ? "999px" : "999px 0 0 999px",
1470
2495
  borderTop: "1px solid rgba(255,255,255,0.3)",
1471
2496
  boxShadow: "inset 0 -1px 0 rgba(0,0,0,0.2)",
1472
- minWidth: l > 0 ? 4 : 0
2497
+ minWidth: p > 0 ? 4 : 0
1473
2498
  } }),
1474
- /* @__PURE__ */ e("div", { style: {
2499
+ /* @__PURE__ */ i("div", { style: {
1475
2500
  position: "absolute",
1476
- left: `${l}%`,
2501
+ left: `${p}%`,
1477
2502
  right: 0,
1478
2503
  height: 8,
1479
- background: t.bg,
1480
- borderRadius: l < 2 ? "999px" : "0 999px 999px 0",
1481
- borderTop: `1px solid ${t.shadow}`,
1482
- boxShadow: `inset 0 -1px 0 ${t.highlight}`
2504
+ background: o.bg,
2505
+ borderRadius: p < 2 ? "999px" : "0 999px 999px 0",
2506
+ borderTop: `1px solid ${o.shadow}`,
2507
+ boxShadow: `inset 0 -1px 0 ${o.highlight}`
1483
2508
  } }),
1484
- /* @__PURE__ */ e("div", { style: {
2509
+ /* @__PURE__ */ i("div", { style: {
1485
2510
  position: "absolute",
1486
- left: `calc(${l}% - 8px)`,
2511
+ left: `calc(${p}% - 8px)`,
1487
2512
  width: 16,
1488
2513
  height: 16,
1489
2514
  borderRadius: "50%",
1490
2515
  background: "#fdfcfc",
1491
- borderTop: `1px solid ${t.highlight}`,
1492
- boxShadow: `inset 0 -1px 0 ${t.shadow}`,
2516
+ borderTop: `1px solid ${o.highlight}`,
2517
+ boxShadow: `inset 0 -1px 0 ${o.shadow}`,
1493
2518
  zIndex: 1,
1494
2519
  flexShrink: 0
1495
2520
  } })
1496
2521
  ]
1497
2522
  }
1498
2523
  ),
1499
- /* @__PURE__ */ e("div", { style: { display: "flex", justifyContent: "space-between" }, children: ["0%", "1%", "2%", "3%", "4%", "5%"].map((p) => /* @__PURE__ */ e("span", { style: {
1500
- ...a(14, t.secondary),
2524
+ /* @__PURE__ */ i("div", { style: { display: "flex", justifyContent: "space-between" }, children: ["0%", "1%", "2%", "3%", "4%", "5%"].map((x) => /* @__PURE__ */ i("span", { style: {
2525
+ ...A(14, o.secondary),
1501
2526
  textTransform: "uppercase",
1502
2527
  letterSpacing: "0.04em",
1503
2528
  width: 24,
1504
- textAlign: p === "0%" ? "left" : p === "5%" ? "right" : "center"
1505
- }, children: p }, p)) })
2529
+ textAlign: x === "0%" ? "left" : x === "5%" ? "right" : "center"
2530
+ }, children: x }, x)) })
1506
2531
  ] });
1507
2532
  }
1508
- function an(r) {
1509
- var g;
1510
- const n = r.split("-");
1511
- if (n.length < 3) return null;
1512
- n.pop();
1513
- const o = n.pop(), d = n.join("-"), l = (g = mt()[d]) == null ? void 0 : g[o];
1514
- if (!l) return null;
1515
- const h = ke[d];
2533
+ function Mr(c) {
2534
+ var a;
2535
+ const l = c.split("-");
2536
+ if (l.length < 3) return null;
2537
+ l.pop();
2538
+ const u = l.pop(), w = l.join("-"), p = (a = Ut()[w]) == null ? void 0 : a[u];
2539
+ if (!p) return null;
2540
+ const y = Xe[w];
1516
2541
  return {
1517
- validatorId: d,
1518
- maturityId: o,
1519
- bondPubkey: l.pubkey,
1520
- principalTokenMint: l.pt_address,
1521
- yieldTokenMint: l.rt_address,
1522
- voteAccount: (h == null ? void 0 : h.vote_account) ?? ""
2542
+ validatorId: w,
2543
+ maturityId: u,
2544
+ bondPubkey: p.pubkey,
2545
+ principalTokenMint: p.pt_address,
2546
+ yieldTokenMint: p.rt_address,
2547
+ voteAccount: (y == null ? void 0 : y.vote_account) ?? ""
1523
2548
  };
1524
2549
  }
1525
- function sn() {
1526
- var Me, Re;
1527
- const { connection: r } = Ae(), n = ge(), [o, d] = he(null);
1528
- j(() => {
1529
- be(r).then(d).catch(() => {
1530
- d(Date.now() / 1e3);
2550
+ function Dr() {
2551
+ var Ue, Ee;
2552
+ const { connection: c } = Ze(), l = Ye(), [u, w] = We(null);
2553
+ ae(() => {
2554
+ Ke(c).then(w).catch(() => {
2555
+ w(Date.now() / 1e3);
1531
2556
  });
1532
- }, [r]);
1533
- const u = f((y) => y.navigate), l = f((y) => y.txStatus), h = f((y) => y.txStep), g = f((y) => y.txError), b = f((y) => y.setTxStatus), c = f((y) => y.setTxStep), p = f((y) => y.setSellAmountSol), x = f((y) => y.advancedOpen), k = f((y) => y.setAdvancedOpen), v = f((y) => y.slippageBps), w = f((y) => y.setSlippageBps), M = f((y) => y.depositAmount), s = f((y) => y.selectedMaturityId), m = f((y) => y.selectedStakeAccountPubkey), S = f((y) => y.selectedStakeAccountBalance), E = f((y) => y.selectedValidatorAltPubkey), C = ve((y) => y.markets), I = W((y) => y.userStakeAccounts), B = W((y) => y.setWalletBalances), A = W((y) => y.setUserStakeAccounts), R = J((y) => y.setBalanceLamports), L = parseFloat(M) || 0, D = s ? V[s] : null, X = (D == null ? void 0 : D.human_readable) ?? "Sep 30, 2026";
1534
- D && { JUN: "Q3", SEP: "Q4", DEC: "Q1", MAR: "Q2" }[D.month];
1535
- const z = m !== "liquid-sol" ? I.find((y) => y.pubkey === m) : null, $ = z == null ? void 0 : z.validatorVoteAccount, F = $ && s ? Ne($, s) : null, _ = F == null ? void 0 : F.validatorId, ee = s ? _ ? `${_}-${s}-RT` : Object.keys(C).find((y) => y.endsWith(`-${s}-RT`)) : null, Q = ee ? C[ee] ?? null : null, ae = o ?? Date.now() / 1e3, pe = D ? xe({
1536
- amountSol: L,
1537
- maturity: D,
1538
- nowTs: ae
1539
- }) : 0, P = (Me = Q == null ? void 0 : Q.bids) != null && Me.length ? ut(Q.bids, pe) : null, we = (P == null ? void 0 : P.isSufficientLiquidity) ?? !1, Se = (P == null ? void 0 : P.slippageBps) ?? 0, te = (P == null ? void 0 : P.expectedFillPrice) != null ? P.expectedFillPrice * pe : pe * (Je / 100), ne = Ye(te), Ze = te - ne, Ce = (je / 100).toFixed(2), ue = v / 100, Ee = l === "loading", Ue = m === "liquid-sol" || m !== null && I.some((y) => y.pubkey === m), Xe = !!m && !!s && !Ee && we && Ue, Le = F ? null : ee ?? (s ? Object.keys(C).find((y) => y.endsWith(`-${s}-PT`)) : null), $e = Le ? an(Le) : null, H = F ? {
1540
- validatorId: F.validatorId,
1541
- maturityId: s,
1542
- bondPubkey: F.pubkey,
1543
- principalTokenMint: F.pt_address,
1544
- yieldTokenMint: F.rt_address,
1545
- voteAccount: $
1546
- } : $e, _e = Qe(async () => {
1547
- if (!m || !s) return;
1548
- if (!H) throw new Error("Could not resolve bond data for this market");
1549
- if (!Q) throw new Error("No RT market found for this maturity");
1550
- if (!D) throw new Error("No maturity selected");
1551
- b("loading"), c("depositing");
1552
- const y = Math.max(te * (1 - ue / 100), 0), se = await be(r).catch(
2557
+ }, [c]);
2558
+ const m = C((E) => E.navigate), p = C((E) => E.txStatus), y = C((E) => E.txStep), a = C((E) => E.txError), v = C((E) => E.setTxStatus), b = C((E) => E.setTxStep), x = C((E) => E.setSellAmountSol), B = C((E) => E.advancedOpen), L = C((E) => E.setAdvancedOpen), S = C((E) => E.slippageBps), I = C((E) => E.setSlippageBps), R = C((E) => E.depositAmount), g = C((E) => E.selectedMaturityId), k = C((E) => E.selectedStakeAccountPubkey), M = C((E) => E.selectedStakeAccountBalance), P = C((E) => E.selectedValidatorAltPubkey), N = $e((E) => E.markets), T = ee((E) => E.userStakeAccounts), q = ee((E) => E.setWalletBalances), F = ee((E) => E.setUserStakeAccounts), j = me((E) => E.setBalanceLamports), Q = parseFloat(R) || 0, K = g ? se[g] : null, ce = (K == null ? void 0 : K.human_readable) ?? "Sep 30, 2026";
2559
+ K && { JUN: "Q3", SEP: "Q4", DEC: "Q1", MAR: "Q2" }[K.month];
2560
+ const re = k !== "liquid-sol" ? T.find((E) => E.pubkey === k) : null, ne = re == null ? void 0 : re.validatorVoteAccount, z = ne && g ? pt(ne, g) : null, de = z == null ? void 0 : z.validatorId, ue = g ? de ? `${de}-${g}-RT` : Object.keys(N).find((E) => E.endsWith(`-${g}-RT`)) : null, $ = ue ? N[ue] ?? null : null, we = u ?? Date.now() / 1e3, ve = K ? ze({
2561
+ amountSol: Q,
2562
+ maturity: K,
2563
+ nowTs: we
2564
+ }) : 0, O = (Ue = $ == null ? void 0 : $.bids) != null && Ue.length ? Tt($.bids, ve) : null, G = (O == null ? void 0 : O.isSufficientLiquidity) ?? !1, Le = (O == null ? void 0 : O.slippageBps) ?? 0, ie = (O == null ? void 0 : O.expectedFillPrice) != null ? O.expectedFillPrice * ve : ve * (xt / 100), oe = ht(ie), Oe = ie - oe, Me = (ft / 100).toFixed(2), _ = S / 100, Be = p === "loading", Ne = k === "liquid-sol" || k !== null && T.some((E) => E.pubkey === k), je = !!k && !!g && !Be && G && Ne, De = z ? null : ue ?? (g ? Object.keys(N).find((E) => E.endsWith(`-${g}-PT`)) : null), pe = De ? Mr(De) : null, J = z ? {
2565
+ validatorId: z.validatorId,
2566
+ maturityId: g,
2567
+ bondPubkey: z.pubkey,
2568
+ principalTokenMint: z.pt_address,
2569
+ yieldTokenMint: z.rt_address,
2570
+ voteAccount: ne
2571
+ } : pe, Ve = dt(async () => {
2572
+ if (!k || !g) return;
2573
+ if (!J) throw new Error("Could not resolve bond data for this market");
2574
+ if (!$) throw new Error("No RT market found for this maturity");
2575
+ if (!K) throw new Error("No maturity selected");
2576
+ v("loading"), b("depositing");
2577
+ const E = Math.max(ie * (1 - _ / 100), 0), be = await Ke(c).catch(
1553
2578
  () => Date.now() / 1e3
1554
- ), de = xe({
1555
- amountSol: L,
1556
- maturity: D,
1557
- nowTs: se
2579
+ ), he = ze({
2580
+ amountSol: Q,
2581
+ maturity: K,
2582
+ nowTs: be
1558
2583
  });
1559
2584
  try {
1560
- if (m === "liquid-sol") {
1561
- await ht({
1562
- connection: r,
1563
- wallet: n,
1564
- bondPubkey: H.bondPubkey,
1565
- principalTokenMint: H.principalTokenMint,
1566
- yieldTokenMint: H.yieldTokenMint,
1567
- validatorVoteAccount: H.voteAccount,
1568
- amountSol: L
1569
- }), c("selling");
1570
- const T = await gt({
1571
- connection: r,
1572
- wallet: n,
1573
- marketPubkey: Q.marketPubkey,
1574
- rtMint: H.yieldTokenMint,
1575
- orderSizeTokens: de,
1576
- minReceiveTokens: y,
1577
- expectedSolOut: te
2585
+ if (k === "liquid-sol") {
2586
+ await Pt({
2587
+ connection: c,
2588
+ wallet: l,
2589
+ bondPubkey: J.bondPubkey,
2590
+ principalTokenMint: J.principalTokenMint,
2591
+ yieldTokenMint: J.yieldTokenMint,
2592
+ validatorVoteAccount: J.voteAccount,
2593
+ amountSol: Q
2594
+ }), b("selling");
2595
+ const V = await Ot({
2596
+ connection: c,
2597
+ wallet: l,
2598
+ marketPubkey: $.marketPubkey,
2599
+ rtMint: J.yieldTokenMint,
2600
+ orderSizeTokens: he,
2601
+ minReceiveTokens: E,
2602
+ expectedSolOut: ie
1578
2603
  });
1579
- c("complete"), p(ne), b("success", T.signature), u("complete");
2604
+ b("complete"), x(oe), v("success", V.signature), m("complete");
1580
2605
  } else {
1581
- if (!E)
2606
+ if (!P)
1582
2607
  throw new Error(
1583
2608
  "Sell Yield is not yet enabled for this validator. An Address Lookup Table hasn't been deployed yet — please contact the Pye team."
1584
2609
  );
1585
- const T = await yt({
1586
- connection: r,
1587
- wallet: n,
1588
- bondPubkey: H.bondPubkey,
1589
- principalTokenMint: H.principalTokenMint,
1590
- yieldTokenMint: H.yieldTokenMint,
1591
- validatorVoteAccount: H.voteAccount,
1592
- stakeAccountPubkey: m,
1593
- amountSol: L,
1594
- rtAmountToSell: de,
1595
- stakeBalanceSol: S,
1596
- marketPubkey: Q.marketPubkey,
1597
- minReceiveTokens: y,
1598
- expectedSolOut: te,
1599
- altPubkey: E
2610
+ const V = await Nt({
2611
+ connection: c,
2612
+ wallet: l,
2613
+ bondPubkey: J.bondPubkey,
2614
+ principalTokenMint: J.principalTokenMint,
2615
+ yieldTokenMint: J.yieldTokenMint,
2616
+ validatorVoteAccount: J.voteAccount,
2617
+ stakeAccountPubkey: k,
2618
+ amountSol: Q,
2619
+ rtAmountToSell: he,
2620
+ stakeBalanceSol: M,
2621
+ marketPubkey: $.marketPubkey,
2622
+ minReceiveTokens: E,
2623
+ expectedSolOut: ie,
2624
+ altPubkey: P
1600
2625
  });
1601
- c("complete"), p(ne), b("success", T.signature), u("complete");
2626
+ b("complete"), x(oe), v("success", V.signature), m("complete");
1602
2627
  }
1603
- } catch (T) {
1604
- b(
2628
+ } catch (V) {
2629
+ v(
1605
2630
  "error",
1606
2631
  null,
1607
- T instanceof Error ? T.message : "Transaction failed"
2632
+ V instanceof Error ? V.message : "Transaction failed"
1608
2633
  );
1609
2634
  } finally {
1610
- const T = n.publicKey;
1611
- r.getBalance(T, "confirmed").then(R).catch(() => {
1612
- }), Ve(r, T).then(B).catch(() => {
1613
- }), Ge(r, T).then(A).catch(() => {
2635
+ const V = l.publicKey;
2636
+ c.getBalance(V, "confirmed").then(j).catch(() => {
2637
+ }), yt(c, V).then(q).catch(() => {
2638
+ }), gt(c, V).then(F).catch(() => {
1614
2639
  });
1615
2640
  }
1616
2641
  }, [
2642
+ $,
2643
+ J,
2644
+ re,
2645
+ k,
2646
+ g,
2647
+ P,
2648
+ c,
2649
+ l,
1617
2650
  Q,
1618
- H,
1619
- z,
1620
- m,
1621
- s,
1622
- E,
1623
- r,
1624
- n,
1625
- L,
1626
- D,
1627
- S,
1628
- ne,
1629
- te,
1630
- ue,
2651
+ K,
2652
+ M,
2653
+ oe,
2654
+ ie,
2655
+ _,
2656
+ v,
1631
2657
  b,
1632
- c,
1633
- p,
1634
- u,
1635
- R,
1636
- B,
1637
- A
2658
+ x,
2659
+ m,
2660
+ j,
2661
+ q,
2662
+ F
1638
2663
  ]);
1639
- return /* @__PURE__ */ i(N, { children: [
1640
- /* @__PURE__ */ e(ye, { title: "Approve in your wallet" }),
2664
+ return /* @__PURE__ */ f(te, { children: [
2665
+ /* @__PURE__ */ i(Qe, { title: "Approve in your wallet" }),
1641
2666
  (() => {
1642
- const y = [
2667
+ const E = [
1643
2668
  {
1644
2669
  key: "receive",
1645
- left: /* @__PURE__ */ i("div", { style: { display: "flex", alignItems: "center", gap: 6, minWidth: 0 }, children: [
1646
- /* @__PURE__ */ e("p", { style: a(14, t.secondary), children: "You receive today" }),
1647
- /* @__PURE__ */ e(Z, { text: "Estimated upfront payout based on current market rates, net of fees. The final amount is confirmed when your order fills on the Pye orderbook." })
2670
+ left: /* @__PURE__ */ f("div", { style: { display: "flex", alignItems: "center", gap: 6, minWidth: 0 }, children: [
2671
+ /* @__PURE__ */ i("p", { style: A(14, o.secondary), children: "You receive today" }),
2672
+ /* @__PURE__ */ i(Ae, { text: "Estimated upfront payout based on current market rates, net of fees. The final amount is confirmed when your order fills on the Pye orderbook." })
1648
2673
  ] }),
1649
- right: /* @__PURE__ */ e(
1650
- G,
2674
+ right: /* @__PURE__ */ i(
2675
+ ye,
1651
2676
  {
1652
- value: `+${O(ne)} SOL`,
1653
- style: { ...a(15, t.green, 500), whiteSpace: "nowrap", flexShrink: 0, fontVariantNumeric: "tabular-nums" }
2677
+ value: `+${X(oe)} SOL`,
2678
+ style: { ...A(15, o.green, 500), whiteSpace: "nowrap", flexShrink: 0, fontVariantNumeric: "tabular-nums" }
1654
2679
  }
1655
2680
  )
1656
2681
  },
1657
2682
  {
1658
2683
  key: "stake",
1659
- left: /* @__PURE__ */ e("p", { style: a(14, t.secondary), children: "Stake amount" }),
1660
- right: /* @__PURE__ */ e(
1661
- G,
2684
+ left: /* @__PURE__ */ i("p", { style: A(14, o.secondary), children: "Stake amount" }),
2685
+ right: /* @__PURE__ */ i(
2686
+ ye,
1662
2687
  {
1663
- value: `${L} SOL`,
1664
- style: { ...a(14, t.primary), whiteSpace: "nowrap", flexShrink: 0, fontVariantNumeric: "tabular-nums" }
2688
+ value: `${Q} SOL`,
2689
+ style: { ...A(14, o.primary), whiteSpace: "nowrap", flexShrink: 0, fontVariantNumeric: "tabular-nums" }
1665
2690
  }
1666
2691
  )
1667
2692
  },
1668
2693
  {
1669
2694
  key: "pt",
1670
- left: /* @__PURE__ */ i("div", { style: { display: "flex", alignItems: "center", gap: 6, minWidth: 0 }, children: [
1671
- /* @__PURE__ */ e("p", { style: a(14, t.secondary), children: "PTs you'll receive" }),
1672
- /* @__PURE__ */ e(Z, { text: "Your PT is a token receipt for your staked SOL. At the redeem date, redeem it 1:1 for your full stake." })
2695
+ left: /* @__PURE__ */ f("div", { style: { display: "flex", alignItems: "center", gap: 6, minWidth: 0 }, children: [
2696
+ /* @__PURE__ */ i("p", { style: A(14, o.secondary), children: "PTs you'll receive" }),
2697
+ /* @__PURE__ */ i(Ae, { text: "Your PT is a token receipt for your staked SOL. At the redeem date, redeem it 1:1 for your full stake." })
1673
2698
  ] }),
1674
- right: /* @__PURE__ */ e(
1675
- G,
2699
+ right: /* @__PURE__ */ i(
2700
+ ye,
1676
2701
  {
1677
- value: `${L} PT`,
1678
- style: { ...a(14, t.primary), whiteSpace: "nowrap", flexShrink: 0, fontVariantNumeric: "tabular-nums" }
2702
+ value: `${Q} PT`,
2703
+ style: { ...A(14, o.primary), whiteSpace: "nowrap", flexShrink: 0, fontVariantNumeric: "tabular-nums" }
1679
2704
  }
1680
2705
  )
1681
2706
  },
1682
2707
  {
1683
2708
  key: "redeem",
1684
- left: /* @__PURE__ */ e("p", { style: a(14, t.secondary), children: "Redeem date" }),
1685
- right: /* @__PURE__ */ e("p", { style: { ...a(14, t.primary), whiteSpace: "nowrap", flexShrink: 0 }, children: X })
2709
+ left: /* @__PURE__ */ i("p", { style: A(14, o.secondary), children: "Redeem date" }),
2710
+ right: /* @__PURE__ */ i("p", { style: { ...A(14, o.primary), whiteSpace: "nowrap", flexShrink: 0 }, children: ce })
1686
2711
  },
1687
2712
  {
1688
2713
  key: "fee",
1689
- left: /* @__PURE__ */ i("div", { style: { display: "flex", alignItems: "center", gap: 6, minWidth: 0 }, children: [
1690
- /* @__PURE__ */ i("p", { style: a(14, t.secondary), children: [
2714
+ left: /* @__PURE__ */ f("div", { style: { display: "flex", alignItems: "center", gap: 6, minWidth: 0 }, children: [
2715
+ /* @__PURE__ */ f("p", { style: A(14, o.secondary), children: [
1691
2716
  "Pye protocol fee (",
1692
- Ce,
2717
+ Me,
1693
2718
  "%)"
1694
2719
  ] }),
1695
- /* @__PURE__ */ e(Z, { text: `A ${Ce}% fee is taken from the SOL proceeds of your sale and routed to the Pye treasury.` })
2720
+ /* @__PURE__ */ i(Ae, { text: `A ${Me}% fee is taken from the SOL proceeds of your sale and routed to the Pye treasury.` })
1696
2721
  ] }),
1697
- right: /* @__PURE__ */ e(
1698
- G,
2722
+ right: /* @__PURE__ */ i(
2723
+ ye,
1699
2724
  {
1700
- value: `−${O(Ze)} SOL`,
1701
- style: { ...a(14, t.primary), whiteSpace: "nowrap", flexShrink: 0, fontVariantNumeric: "tabular-nums" }
2725
+ value: `−${X(Oe)} SOL`,
2726
+ style: { ...A(14, o.primary), whiteSpace: "nowrap", flexShrink: 0, fontVariantNumeric: "tabular-nums" }
1702
2727
  }
1703
2728
  )
1704
2729
  }
1705
2730
  ];
1706
- return /* @__PURE__ */ e("div", { style: { display: "flex", flexDirection: "column", gap: 0 }, children: y.map((se, de) => {
1707
- const T = de === 0, Ie = de === y.length - 1, et = T && Ie ? 8 : T ? "8px 8px 0 0" : Ie ? "0 0 8px 8px" : 0;
1708
- return /* @__PURE__ */ i(
2731
+ return /* @__PURE__ */ i("div", { style: { display: "flex", flexDirection: "column", gap: 0 }, children: E.map((be, he) => {
2732
+ const V = he === 0, Z = he === E.length - 1, Te = V && Z ? 8 : V ? "8px 8px 0 0" : Z ? "0 0 8px 8px" : 0;
2733
+ return /* @__PURE__ */ f(
1709
2734
  "div",
1710
2735
  {
1711
2736
  style: {
1712
- background: t.lowered,
1713
- borderTop: `1px solid ${t.shadow}`,
1714
- boxShadow: `inset 0 -1px 0 ${t.highlight}`,
1715
- borderRadius: et,
2737
+ background: o.lowered,
2738
+ borderTop: `1px solid ${o.shadow}`,
2739
+ boxShadow: `inset 0 -1px 0 ${o.highlight}`,
2740
+ borderRadius: Te,
1716
2741
  padding: "12px 12px",
1717
2742
  display: "flex",
1718
2743
  alignItems: "center",
@@ -1720,18 +2745,18 @@ function sn() {
1720
2745
  gap: 12
1721
2746
  },
1722
2747
  children: [
1723
- se.left,
1724
- se.right
2748
+ be.left,
2749
+ be.right
1725
2750
  ]
1726
2751
  },
1727
- se.key
2752
+ be.key
1728
2753
  );
1729
2754
  }) });
1730
2755
  })(),
1731
- /* @__PURE__ */ i(
2756
+ /* @__PURE__ */ f(
1732
2757
  "div",
1733
2758
  {
1734
- onClick: () => k(!x),
2759
+ onClick: () => L(!B),
1735
2760
  style: {
1736
2761
  display: "flex",
1737
2762
  alignItems: "center",
@@ -1741,50 +2766,50 @@ function sn() {
1741
2766
  userSelect: "none"
1742
2767
  },
1743
2768
  children: [
1744
- /* @__PURE__ */ e("span", { style: a(14, t.secondary), children: "Advanced" }),
1745
- /* @__PURE__ */ e("svg", { width: "10", height: "6", viewBox: "0 0 10 6", fill: "none", style: {
1746
- transform: x ? "rotate(180deg)" : "none",
2769
+ /* @__PURE__ */ i("span", { style: A(14, o.secondary), children: "Advanced" }),
2770
+ /* @__PURE__ */ i("svg", { width: "10", height: "6", viewBox: "0 0 10 6", fill: "none", style: {
2771
+ transform: B ? "rotate(180deg)" : "none",
1747
2772
  transition: "transform 0.2s"
1748
- }, children: /* @__PURE__ */ e("path", { d: "M1 1L5 5L9 1", stroke: t.secondary, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) })
2773
+ }, children: /* @__PURE__ */ i("path", { d: "M1 1L5 5L9 1", stroke: o.secondary, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) })
1749
2774
  ]
1750
2775
  }
1751
2776
  ),
1752
- /* @__PURE__ */ e("div", { style: {
2777
+ /* @__PURE__ */ i("div", { style: {
1753
2778
  display: "grid",
1754
- gridTemplateRows: x ? "1fr" : "0fr",
2779
+ gridTemplateRows: B ? "1fr" : "0fr",
1755
2780
  transition: "grid-template-rows 280ms cubic-bezier(0.2,0.9,0.2,1)"
1756
- }, children: /* @__PURE__ */ e("div", { style: {
2781
+ }, children: /* @__PURE__ */ i("div", { style: {
1757
2782
  overflow: "hidden",
1758
- opacity: x ? 1 : 0,
2783
+ opacity: B ? 1 : 0,
1759
2784
  transition: "opacity 200ms cubic-bezier(0.2,0.9,0.2,1)"
1760
- }, children: /* @__PURE__ */ e("div", { style: {
1761
- background: t.raised,
2785
+ }, children: /* @__PURE__ */ i("div", { style: {
2786
+ background: o.raised,
1762
2787
  borderRadius: 8,
1763
2788
  padding: 12,
1764
- borderTop: `1px solid ${t.highlight}`,
1765
- boxShadow: `inset 0 -1px 0 ${t.shadow}`,
2789
+ borderTop: `1px solid ${o.highlight}`,
2790
+ boxShadow: `inset 0 -1px 0 ${o.shadow}`,
1766
2791
  display: "flex",
1767
2792
  flexDirection: "column",
1768
2793
  gap: 16
1769
- }, children: /* @__PURE__ */ i("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
1770
- /* @__PURE__ */ i("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
1771
- /* @__PURE__ */ i("span", { style: { display: "flex", alignItems: "center", gap: 4 }, children: [
1772
- /* @__PURE__ */ e("span", { style: a(14, t.secondary), children: "Max slippage tolerance" }),
1773
- /* @__PURE__ */ e(Z, { bg: t.highlight, text: "Slippage is the maximum difference between the quoted price and the price you actually receive. A higher tolerance means your order is more likely to fill, but you may receive slightly less SOL." })
2794
+ }, children: /* @__PURE__ */ f("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
2795
+ /* @__PURE__ */ f("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
2796
+ /* @__PURE__ */ f("span", { style: { display: "flex", alignItems: "center", gap: 4 }, children: [
2797
+ /* @__PURE__ */ i("span", { style: A(14, o.secondary), children: "Max slippage tolerance" }),
2798
+ /* @__PURE__ */ i(Ae, { bg: o.highlight, text: "Slippage is the maximum difference between the quoted price and the price you actually receive. A higher tolerance means your order is more likely to fill, but you may receive slightly less SOL." })
1774
2799
  ] }),
1775
- Se > 0 && /* @__PURE__ */ i("span", { style: a(14, t.secondary), children: [
2800
+ Le > 0 && /* @__PURE__ */ f("span", { style: A(14, o.secondary), children: [
1776
2801
  "Est. slippage: ",
1777
- (Se / 100).toFixed(2),
2802
+ (Le / 100).toFixed(2),
1778
2803
  "%"
1779
2804
  ] })
1780
2805
  ] }),
1781
- /* @__PURE__ */ i("div", { style: { display: "flex", alignItems: "baseline", gap: 4 }, children: [
1782
- /* @__PURE__ */ e("span", { style: { ...a(18, t.primary), transition: "color 0.15s" }, children: ue.toFixed(2) }),
1783
- /* @__PURE__ */ e("span", { style: a(14, t.secondary), children: "% max slippage" })
2806
+ /* @__PURE__ */ f("div", { style: { display: "flex", alignItems: "baseline", gap: 4 }, children: [
2807
+ /* @__PURE__ */ i("span", { style: { ...A(18, o.primary), transition: "color 0.15s" }, children: _.toFixed(2) }),
2808
+ /* @__PURE__ */ i("span", { style: A(14, o.secondary), children: "% max slippage" })
1784
2809
  ] }),
1785
- /* @__PURE__ */ e(ln, { value: ue, onChange: (y) => w(Math.round(y * 100)) })
2810
+ /* @__PURE__ */ i(Lr, { value: _, onChange: (E) => I(Math.round(E * 100)) })
1786
2811
  ] }) }) }) }),
1787
- !we && pe > 0 && /* @__PURE__ */ i("div", { style: {
2812
+ !G && ve > 0 && /* @__PURE__ */ f("div", { style: {
1788
2813
  background: "rgba(255,181,77,0.15)",
1789
2814
  borderTop: "1px solid rgba(255,255,255,0.2)",
1790
2815
  boxShadow: "inset 0 -1px 0 rgba(0,0,0,0.08)",
@@ -1794,69 +2819,69 @@ function sn() {
1794
2819
  flexDirection: "column",
1795
2820
  gap: 2
1796
2821
  }, children: [
1797
- /* @__PURE__ */ e("p", { style: { ...a(14, t.primary), fontWeight: 500 }, children: "Insufficient liquidity" }),
1798
- /* @__PURE__ */ i("p", { style: a(14, t.secondary), children: [
2822
+ /* @__PURE__ */ i("p", { style: { ...A(14, o.primary), fontWeight: 500 }, children: "Insufficient liquidity" }),
2823
+ /* @__PURE__ */ f("p", { style: A(14, o.secondary), children: [
1799
2824
  "Only ",
1800
- ((Re = P == null ? void 0 : P.totalAvailableSize) == null ? void 0 : Re.toFixed(2)) ?? "0",
2825
+ ((Ee = O == null ? void 0 : O.totalAvailableSize) == null ? void 0 : Ee.toFixed(2)) ?? "0",
1801
2826
  " RT available on the order book. Your order may partially fill or not fill at all."
1802
2827
  ] })
1803
2828
  ] }),
1804
- l === "error" && g && /* @__PURE__ */ e("div", { style: {
1805
- ...a(14, t.red),
1806
- background: `${t.red}12`,
2829
+ p === "error" && a && /* @__PURE__ */ i("div", { style: {
2830
+ ...A(14, o.red),
2831
+ background: `${o.red}12`,
1807
2832
  borderRadius: 6,
1808
2833
  padding: "8px 12px"
1809
- }, children: g }),
1810
- /* @__PURE__ */ e(q, {}),
1811
- /* @__PURE__ */ e(
1812
- le,
2834
+ }, children: a }),
2835
+ /* @__PURE__ */ i(xe, {}),
2836
+ /* @__PURE__ */ i(
2837
+ Fe,
1813
2838
  {
1814
- label: Ee ? h === "selling" ? "Selling rewards..." : "Confirming..." : `Sell Rewards — get ${O(ne, 3)} SOL`,
1815
- onClick: _e,
1816
- disabled: !Xe,
2839
+ label: Be ? y === "selling" ? "Selling rewards..." : "Confirming..." : `Sell Rewards — get ${X(oe, 3)} SOL`,
2840
+ onClick: Ve,
2841
+ disabled: !je,
1817
2842
  purple: !0
1818
2843
  }
1819
2844
  )
1820
2845
  ] });
1821
2846
  }
1822
- const Fe = 1e9;
1823
- function dn({ position: r, onRedeem: n, isRedeeming: o }) {
1824
- return /* @__PURE__ */ i("div", { style: {
2847
+ const st = 1e9;
2848
+ function Tr({ position: c, onRedeem: l, isRedeeming: u }) {
2849
+ return /* @__PURE__ */ f("div", { style: {
1825
2850
  display: "flex",
1826
2851
  alignItems: "center",
1827
2852
  gap: 8,
1828
2853
  padding: "12px 16px",
1829
- background: t.surface,
1830
- borderTop: `1px solid ${t.highlight}`,
1831
- boxShadow: `inset 0 -1px 0 ${t.shadow}`
2854
+ background: o.surface,
2855
+ borderTop: `1px solid ${o.highlight}`,
2856
+ boxShadow: `inset 0 -1px 0 ${o.shadow}`
1832
2857
  }, children: [
1833
- /* @__PURE__ */ e(
2858
+ /* @__PURE__ */ i(
1834
2859
  "img",
1835
2860
  {
1836
- src: r.validatorPtIcon,
1837
- alt: `${r.validatorName} PT`,
2861
+ src: c.validatorPtIcon,
2862
+ alt: `${c.validatorName} PT`,
1838
2863
  style: { width: 32, height: 32, borderRadius: 8, flexShrink: 0, objectFit: "cover" }
1839
2864
  }
1840
2865
  ),
1841
- /* @__PURE__ */ i("div", { style: { flex: 1, minWidth: 0 }, children: [
1842
- /* @__PURE__ */ i("p", { style: a(15, t.primary), children: [
1843
- O(r.ptAmount),
2866
+ /* @__PURE__ */ f("div", { style: { flex: 1, minWidth: 0 }, children: [
2867
+ /* @__PURE__ */ f("p", { style: A(15, o.primary), children: [
2868
+ X(c.ptAmount),
1844
2869
  " PT"
1845
2870
  ] }),
1846
- /* @__PURE__ */ i("p", { style: a(14, t.secondary), children: [
1847
- r.validatorName,
2871
+ /* @__PURE__ */ f("p", { style: A(14, o.secondary), children: [
2872
+ c.validatorName,
1848
2873
  " · ",
1849
- r.maturityLabel
2874
+ c.maturityLabel
1850
2875
  ] })
1851
2876
  ] }),
1852
- /* @__PURE__ */ i("div", { style: { display: "flex", alignItems: "center", gap: 8, flexShrink: 0 }, children: [
1853
- /* @__PURE__ */ e("p", { style: { ...a(14, r.isMatured ? t.green : t.secondary), whiteSpace: "nowrap" }, children: r.isMatured ? "Unlocked" : `${r.daysLeft}d left` }),
1854
- /* @__PURE__ */ e(
2877
+ /* @__PURE__ */ f("div", { style: { display: "flex", alignItems: "center", gap: 8, flexShrink: 0 }, children: [
2878
+ /* @__PURE__ */ i("p", { style: { ...A(14, c.isMatured ? o.green : o.secondary), whiteSpace: "nowrap" }, children: c.isMatured ? "Unlocked" : `${c.daysLeft}d left` }),
2879
+ /* @__PURE__ */ i(
1855
2880
  "button",
1856
2881
  {
1857
2882
  className: "pye-redeem-btn",
1858
- onClick: r.isMatured && !o ? () => n(r) : void 0,
1859
- disabled: !r.isMatured || o,
2883
+ onClick: c.isMatured && !u ? () => l(c) : void 0,
2884
+ disabled: !c.isMatured || u,
1860
2885
  style: {
1861
2886
  height: 26,
1862
2887
  width: 72,
@@ -1864,83 +2889,83 @@ function dn({ position: r, onRedeem: n, isRedeeming: o }) {
1864
2889
  border: "none",
1865
2890
  padding: "0 10px",
1866
2891
  borderTop: "1px solid var(--c-brand-hi)",
1867
- cursor: r.isMatured ? o ? "wait" : "pointer" : "not-allowed",
1868
- background: t.purple,
1869
- ...a(14, "var(--c-brand-text)"),
2892
+ cursor: c.isMatured ? u ? "wait" : "pointer" : "not-allowed",
2893
+ background: o.purple,
2894
+ ...A(14, "var(--c-brand-text)"),
1870
2895
  boxShadow: "inset 0 -1px 0 var(--c-brand-sh)",
1871
2896
  transition: "filter 0.1s",
1872
- opacity: r.isMatured ? o ? 0.7 : 1 : 0.5,
2897
+ opacity: c.isMatured ? u ? 0.7 : 1 : 0.5,
1873
2898
  whiteSpace: "nowrap"
1874
2899
  },
1875
- children: o ? "..." : "Redeem"
2900
+ children: u ? "..." : "Redeem"
1876
2901
  }
1877
2902
  )
1878
2903
  ] })
1879
2904
  ] });
1880
2905
  }
1881
- function cn() {
1882
- const { connection: r } = Ae(), n = ge(), o = W((s) => s.walletBalances), d = f((s) => s.navigate), u = f((s) => s.redeemingMint), l = f((s) => s.setRedeemingMint), h = f((s) => s.redeemError), g = f((s) => s.setRedeemError), b = f((s) => s.setRedeemAmountSol), c = f((s) => s.setRedeemTxSignature), p = W((s) => s.setWalletBalances), x = W((s) => s.setUserStakeAccounts), k = J((s) => s.setBalanceLamports), v = We(), w = Y(() => {
1883
- const s = Date.now() / 1e3, m = [];
1884
- for (const [S, E] of Object.entries(o)) {
1885
- if (E <= 0) continue;
1886
- const C = v.get(S);
1887
- if (!C) continue;
1888
- const I = V[C.maturityId], B = Number(I.maturity_timestamp), A = s >= B, R = A ? 0 : Math.ceil((B * 1e3 - Date.now()) / (1e3 * 60 * 60 * 24)), L = ke[C.validatorId];
1889
- m.push({
1890
- ptMint: S,
1891
- validatorId: C.validatorId,
1892
- maturityId: C.maturityId,
1893
- bond: C.bond,
1894
- ptAmount: E / Fe,
1895
- ptAmountLamports: E,
1896
- maturityTimestamp: B,
1897
- maturityLabel: I.human_readable,
1898
- isMatured: A,
1899
- daysLeft: R,
1900
- validatorName: (L == null ? void 0 : L.name) ?? C.validatorId,
1901
- validatorPtIcon: (L == null ? void 0 : L.pt_sol) ?? ""
2906
+ function Pr() {
2907
+ const { connection: c } = Ze(), l = Ye(), u = ee((g) => g.walletBalances), w = C((g) => g.navigate), m = C((g) => g.redeemingMint), p = C((g) => g.setRedeemingMint), y = C((g) => g.redeemError), a = C((g) => g.setRedeemError), v = C((g) => g.setRedeemAmountSol), b = C((g) => g.setRedeemTxSignature), x = ee((g) => g.setWalletBalances), B = ee((g) => g.setUserStakeAccounts), L = me((g) => g.setBalanceLamports), S = ut(), I = le(() => {
2908
+ const g = Date.now() / 1e3, k = [];
2909
+ for (const [M, P] of Object.entries(u)) {
2910
+ if (P <= 0) continue;
2911
+ const N = S.get(M);
2912
+ if (!N) continue;
2913
+ const T = se[N.maturityId], q = Number(T.maturity_timestamp), F = g >= q, j = F ? 0 : Math.ceil((q * 1e3 - Date.now()) / (1e3 * 60 * 60 * 24)), Q = Xe[N.validatorId];
2914
+ k.push({
2915
+ ptMint: M,
2916
+ validatorId: N.validatorId,
2917
+ maturityId: N.maturityId,
2918
+ bond: N.bond,
2919
+ ptAmount: P / st,
2920
+ ptAmountLamports: P,
2921
+ maturityTimestamp: q,
2922
+ maturityLabel: T.human_readable,
2923
+ isMatured: F,
2924
+ daysLeft: j,
2925
+ validatorName: (Q == null ? void 0 : Q.name) ?? N.validatorId,
2926
+ validatorPtIcon: (Q == null ? void 0 : Q.pt_sol) ?? ""
1902
2927
  });
1903
2928
  }
1904
- return m.sort((S, E) => S.maturityTimestamp - E.maturityTimestamp), m;
1905
- }, [o, v]), M = Qe(async (s) => {
1906
- g(null), l(s.ptMint);
2929
+ return k.sort((M, P) => M.maturityTimestamp - P.maturityTimestamp), k;
2930
+ }, [u, S]), R = dt(async (g) => {
2931
+ a(null), p(g.ptMint);
1907
2932
  try {
1908
- const { signature: m } = await ft({
1909
- connection: r,
1910
- wallet: n,
1911
- bondPubkey: s.bond.pubkey,
1912
- principalTokenMint: s.bond.pt_address,
1913
- yieldTokenMint: s.bond.rt_address,
1914
- ptAmountLamports: s.ptAmountLamports,
2933
+ const { signature: k } = await Ht({
2934
+ connection: c,
2935
+ wallet: l,
2936
+ bondPubkey: g.bond.pubkey,
2937
+ principalTokenMint: g.bond.pt_address,
2938
+ yieldTokenMint: g.bond.rt_address,
2939
+ ptAmountLamports: g.ptAmountLamports,
1915
2940
  rtAmountLamports: 0
1916
2941
  });
1917
- b(s.ptAmountLamports / Fe), c(m), d("redeem-complete");
1918
- } catch (m) {
1919
- g(m instanceof Error ? m.message : "Redeem failed");
2942
+ v(g.ptAmountLamports / st), b(k), w("redeem-complete");
2943
+ } catch (k) {
2944
+ a(k instanceof Error ? k.message : "Redeem failed");
1920
2945
  } finally {
1921
- l(null);
1922
- const m = n.publicKey;
1923
- r.getBalance(m, "confirmed").then(k).catch(() => {
1924
- }), Ve(r, m).then(p).catch(() => {
1925
- }), Ge(r, m).then(x).catch(() => {
2946
+ p(null);
2947
+ const k = l.publicKey;
2948
+ c.getBalance(k, "confirmed").then(L).catch(() => {
2949
+ }), yt(c, k).then(x).catch(() => {
2950
+ }), gt(c, k).then(B).catch(() => {
1926
2951
  });
1927
2952
  }
1928
- }, [r, n, g, l, b, c, d, k, p, x]);
1929
- return /* @__PURE__ */ e(ie, { padding: 0, style: { borderTop: "none" }, children: /* @__PURE__ */ i("div", { style: { flex: 1, display: "flex", flexDirection: "column" }, children: [
1930
- h && /* @__PURE__ */ e("div", { style: {
2953
+ }, [c, l, a, p, v, b, w, L, x, B]);
2954
+ return /* @__PURE__ */ i(Re, { padding: 0, style: { borderTop: "none" }, children: /* @__PURE__ */ f("div", { style: { flex: 1, display: "flex", flexDirection: "column" }, children: [
2955
+ y && /* @__PURE__ */ i("div", { style: {
1931
2956
  padding: "8px 16px",
1932
- background: `${t.red}12`,
1933
- ...a(14, t.red)
1934
- }, children: h }),
1935
- w.length > 0 ? /* @__PURE__ */ e("div", { style: { flex: 1, overflowY: "auto", minHeight: 0 }, children: w.map((s) => /* @__PURE__ */ e(
1936
- dn,
2957
+ background: `${o.red}12`,
2958
+ ...A(14, o.red)
2959
+ }, children: y }),
2960
+ I.length > 0 ? /* @__PURE__ */ i("div", { style: { flex: 1, overflowY: "auto", minHeight: 0 }, children: I.map((g) => /* @__PURE__ */ i(
2961
+ Tr,
1937
2962
  {
1938
- position: s,
1939
- onRedeem: M,
1940
- isRedeeming: u === s.ptMint
2963
+ position: g,
2964
+ onRedeem: R,
2965
+ isRedeeming: m === g.ptMint
1941
2966
  },
1942
- s.ptMint
1943
- )) }) : /* @__PURE__ */ i("div", { style: {
2967
+ g.ptMint
2968
+ )) }) : /* @__PURE__ */ f("div", { style: {
1944
2969
  flex: 1,
1945
2970
  display: "flex",
1946
2971
  flexDirection: "column",
@@ -1950,77 +2975,77 @@ function cn() {
1950
2975
  padding: 24,
1951
2976
  textAlign: "center"
1952
2977
  }, children: [
1953
- /* @__PURE__ */ e("p", { style: a(15, t.primary), children: "No active positions" }),
1954
- /* @__PURE__ */ e("p", { style: a(14, t.secondary), children: "Sell future rewards to create a position." })
2978
+ /* @__PURE__ */ i("p", { style: A(15, o.primary), children: "No active positions" }),
2979
+ /* @__PURE__ */ i("p", { style: A(14, o.secondary), children: "Sell future rewards to create a position." })
1955
2980
  ] })
1956
2981
  ] }) });
1957
2982
  }
1958
- function pn() {
1959
- const r = f((p) => p.reset), n = f((p) => p.txSignature), o = f((p) => p.depositAmount), d = f((p) => p.selectedMaturityId), u = f((p) => p.sellAmountSol), l = parseFloat(o) || 0, h = u ?? 0, g = d ? V[d] : null, b = (g == null ? void 0 : g.human_readable) ?? "Sep 30, 2026", c = n ? `https://solscan.io/tx/${n}` : "https://solscan.io";
1960
- return /* @__PURE__ */ i(N, { children: [
1961
- /* @__PURE__ */ e(ze, { label: "Transaction confirmed", onClose: () => r() }),
1962
- /* @__PURE__ */ i(ie, { children: [
1963
- /* @__PURE__ */ e("p", { style: a(14, t.secondary), children: "Your future staking rewards have been sold upfront." }),
2983
+ function Or() {
2984
+ const c = C((x) => x.reset), l = C((x) => x.txSignature), u = C((x) => x.depositAmount), w = C((x) => x.selectedMaturityId), m = C((x) => x.sellAmountSol), p = parseFloat(u) || 0, y = m ?? 0, a = w ? se[w] : null, v = (a == null ? void 0 : a.human_readable) ?? "Sep 30, 2026", b = l ? `https://solscan.io/tx/${l}` : "https://solscan.io";
2985
+ return /* @__PURE__ */ f(te, { children: [
2986
+ /* @__PURE__ */ i(bt, { label: "Transaction confirmed", onClose: () => c() }),
2987
+ /* @__PURE__ */ f(Re, { children: [
2988
+ /* @__PURE__ */ i("p", { style: A(14, o.secondary), children: "Your future staking rewards have been sold upfront." }),
1964
2989
  (() => {
1965
- const p = [
2990
+ const x = [
1966
2991
  {
1967
2992
  key: "received",
1968
- left: /* @__PURE__ */ e("p", { style: a(14, t.secondary), children: "Rewards sold upfront" }),
1969
- right: /* @__PURE__ */ e(
1970
- G,
2993
+ left: /* @__PURE__ */ i("p", { style: A(14, o.secondary), children: "Rewards sold upfront" }),
2994
+ right: /* @__PURE__ */ i(
2995
+ ye,
1971
2996
  {
1972
- value: `+${O(h)} SOL`,
1973
- style: { ...a(15, t.green, 500), whiteSpace: "nowrap", flexShrink: 0, fontVariantNumeric: "tabular-nums" }
2997
+ value: `+${X(y)} SOL`,
2998
+ style: { ...A(15, o.green, 500), whiteSpace: "nowrap", flexShrink: 0, fontVariantNumeric: "tabular-nums" }
1974
2999
  }
1975
3000
  )
1976
3001
  },
1977
3002
  {
1978
3003
  key: "pt",
1979
- left: /* @__PURE__ */ i("div", { style: { display: "flex", alignItems: "center", gap: 6, minWidth: 0 }, children: [
1980
- /* @__PURE__ */ e("p", { style: a(14, t.secondary), children: "PT received" }),
1981
- /* @__PURE__ */ e(Z, { text: "A PT (Principal Token) is a 1:1 tokenised claim on your staked SOL. It accrues no rewards — those were sold upfront. Redeem it at maturity to get your full stake back." })
3004
+ left: /* @__PURE__ */ f("div", { style: { display: "flex", alignItems: "center", gap: 6, minWidth: 0 }, children: [
3005
+ /* @__PURE__ */ i("p", { style: A(14, o.secondary), children: "PT received" }),
3006
+ /* @__PURE__ */ i(Ae, { text: "A PT (Principal Token) is a 1:1 tokenised claim on your staked SOL. It accrues no rewards — those were sold upfront. Redeem it at maturity to get your full stake back." })
1982
3007
  ] }),
1983
- right: /* @__PURE__ */ e(
1984
- G,
3008
+ right: /* @__PURE__ */ i(
3009
+ ye,
1985
3010
  {
1986
- value: `+${l} PT`,
1987
- style: { ...a(14, t.primary), whiteSpace: "nowrap", flexShrink: 0, fontVariantNumeric: "tabular-nums" }
3011
+ value: `+${p} PT`,
3012
+ style: { ...A(14, o.primary), whiteSpace: "nowrap", flexShrink: 0, fontVariantNumeric: "tabular-nums" }
1988
3013
  }
1989
3014
  )
1990
3015
  },
1991
3016
  {
1992
3017
  key: "stake",
1993
- left: /* @__PURE__ */ e("p", { style: a(14, t.secondary), children: "Stake returned" }),
1994
- right: /* @__PURE__ */ e("p", { style: { ...a(14, t.primary), whiteSpace: "nowrap", flexShrink: 0 }, children: b })
3018
+ left: /* @__PURE__ */ i("p", { style: A(14, o.secondary), children: "Stake returned" }),
3019
+ right: /* @__PURE__ */ i("p", { style: { ...A(14, o.primary), whiteSpace: "nowrap", flexShrink: 0 }, children: v })
1995
3020
  },
1996
3021
  {
1997
3022
  key: "tx",
1998
- left: /* @__PURE__ */ e("p", { style: a(14, t.secondary), children: "Transaction" }),
1999
- right: /* @__PURE__ */ i(
3023
+ left: /* @__PURE__ */ i("p", { style: A(14, o.secondary), children: "Transaction" }),
3024
+ right: /* @__PURE__ */ f(
2000
3025
  "a",
2001
3026
  {
2002
- href: c,
3027
+ href: b,
2003
3028
  target: "_blank",
2004
3029
  rel: "noreferrer",
2005
- style: { ...a(14, t.purple), textDecoration: "none", display: "flex", alignItems: "center", gap: 4, flexShrink: 0 },
3030
+ style: { ...A(14, o.purple), textDecoration: "none", display: "flex", alignItems: "center", gap: 4, flexShrink: 0 },
2006
3031
  children: [
2007
3032
  "Solscan",
2008
- /* @__PURE__ */ e("svg", { width: "11", height: "11", viewBox: "0 0 12 12", fill: "none", children: /* @__PURE__ */ e("path", { d: "M7 1h4v4M11 1L5.5 6.5M5 2H2a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V8", stroke: "currentColor", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" }) })
3033
+ /* @__PURE__ */ i("svg", { width: "11", height: "11", viewBox: "0 0 12 12", fill: "none", children: /* @__PURE__ */ i("path", { d: "M7 1h4v4M11 1L5.5 6.5M5 2H2a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V8", stroke: "currentColor", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" }) })
2009
3034
  ]
2010
3035
  }
2011
3036
  )
2012
3037
  }
2013
3038
  ];
2014
- return /* @__PURE__ */ e("div", { style: { display: "flex", flexDirection: "column", gap: 0 }, children: p.map((x, k) => {
2015
- const v = k === 0, w = k === p.length - 1, M = v && w ? 8 : v ? "8px 8px 0 0" : w ? "0 0 8px 8px" : 0;
2016
- return /* @__PURE__ */ i(
3039
+ return /* @__PURE__ */ i("div", { style: { display: "flex", flexDirection: "column", gap: 0 }, children: x.map((B, L) => {
3040
+ const S = L === 0, I = L === x.length - 1, R = S && I ? 8 : S ? "8px 8px 0 0" : I ? "0 0 8px 8px" : 0;
3041
+ return /* @__PURE__ */ f(
2017
3042
  "div",
2018
3043
  {
2019
3044
  style: {
2020
- background: t.lowered,
2021
- borderTop: `1px solid ${t.shadow}`,
2022
- boxShadow: `inset 0 -1px 0 ${t.highlight}`,
2023
- borderRadius: M,
3045
+ background: o.lowered,
3046
+ borderTop: `1px solid ${o.shadow}`,
3047
+ boxShadow: `inset 0 -1px 0 ${o.highlight}`,
3048
+ borderRadius: R,
2024
3049
  padding: "12px 12px",
2025
3050
  display: "flex",
2026
3051
  alignItems: "center",
@@ -2028,298 +3053,298 @@ function pn() {
2028
3053
  gap: 12
2029
3054
  },
2030
3055
  children: [
2031
- x.left,
2032
- x.right
3056
+ B.left,
3057
+ B.right
2033
3058
  ]
2034
3059
  },
2035
- x.key
3060
+ B.key
2036
3061
  );
2037
3062
  }) });
2038
3063
  })(),
2039
- /* @__PURE__ */ i("div", { style: {
2040
- background: t.raised,
2041
- borderTop: `1px solid ${t.highlight}`,
2042
- boxShadow: `inset 0 -1px 0 ${t.shadow}`,
3064
+ /* @__PURE__ */ f("div", { style: {
3065
+ background: o.raised,
3066
+ borderTop: `1px solid ${o.highlight}`,
3067
+ boxShadow: `inset 0 -1px 0 ${o.shadow}`,
2043
3068
  borderRadius: 8,
2044
3069
  padding: 12,
2045
3070
  display: "flex",
2046
3071
  alignItems: "flex-start",
2047
3072
  gap: 10
2048
3073
  }, children: [
2049
- /* @__PURE__ */ i("svg", { width: "14", height: "14", viewBox: "0 0 16 16", fill: "none", style: { flexShrink: 0, marginTop: 2 }, children: [
2050
- /* @__PURE__ */ e("circle", { cx: "8", cy: "8", r: "6.5", stroke: t.secondary, strokeWidth: "1.2" }),
2051
- /* @__PURE__ */ e("path", { d: "M8 7.5v3.5M8 5v.5", stroke: t.secondary, strokeWidth: "1.4", strokeLinecap: "round" })
3074
+ /* @__PURE__ */ f("svg", { width: "14", height: "14", viewBox: "0 0 16 16", fill: "none", style: { flexShrink: 0, marginTop: 2 }, children: [
3075
+ /* @__PURE__ */ i("circle", { cx: "8", cy: "8", r: "6.5", stroke: o.secondary, strokeWidth: "1.2" }),
3076
+ /* @__PURE__ */ i("path", { d: "M8 7.5v3.5M8 5v.5", stroke: o.secondary, strokeWidth: "1.4", strokeLinecap: "round" })
2052
3077
  ] }),
2053
- /* @__PURE__ */ i("p", { style: a(12, t.secondary), children: [
3078
+ /* @__PURE__ */ f("p", { style: A(12, o.secondary), children: [
2054
3079
  "Your PT tokens may be hidden in your wallet — enable them via ",
2055
- /* @__PURE__ */ e("span", { style: { color: t.primary }, children: "Manage Tokens" }),
3080
+ /* @__PURE__ */ i("span", { style: { color: o.primary }, children: "Manage Tokens" }),
2056
3081
  " to see your balance."
2057
3082
  ] })
2058
3083
  ] }),
2059
- /* @__PURE__ */ e(q, {}),
2060
- /* @__PURE__ */ i("div", { style: {
2061
- background: t.raised,
2062
- borderTop: `1px solid ${t.highlight}`,
2063
- boxShadow: `inset 0 -1px 0 ${t.shadow}`,
3084
+ /* @__PURE__ */ i(xe, {}),
3085
+ /* @__PURE__ */ f("div", { style: {
3086
+ background: o.raised,
3087
+ borderTop: `1px solid ${o.highlight}`,
3088
+ boxShadow: `inset 0 -1px 0 ${o.shadow}`,
2064
3089
  borderRadius: 8,
2065
3090
  padding: 12,
2066
3091
  display: "flex",
2067
3092
  alignItems: "center",
2068
3093
  gap: 12
2069
3094
  }, children: [
2070
- /* @__PURE__ */ i("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: 4 }, children: [
2071
- /* @__PURE__ */ e("p", { style: a(14, t.primary), children: "Learn more about Pye" }),
2072
- /* @__PURE__ */ i(
3095
+ /* @__PURE__ */ f("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: 4 }, children: [
3096
+ /* @__PURE__ */ i("p", { style: A(14, o.primary), children: "Learn more about Pye" }),
3097
+ /* @__PURE__ */ f(
2073
3098
  "a",
2074
3099
  {
2075
3100
  href: "https://docs.pye.fi/how-pye-works",
2076
3101
  target: "_blank",
2077
3102
  rel: "noreferrer",
2078
- style: { ...a(11, t.secondary), textDecoration: "none", display: "flex", alignItems: "center", gap: 4 },
3103
+ style: { ...A(11, o.secondary), textDecoration: "none", display: "flex", alignItems: "center", gap: 4 },
2079
3104
  children: [
2080
3105
  "Read the docs",
2081
- /* @__PURE__ */ e("svg", { width: "11", height: "11", viewBox: "0 0 12 12", fill: "none", children: /* @__PURE__ */ e("path", { d: "M7 1h4v4M11 1L5.5 6.5M5 2H2a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V8", stroke: "currentColor", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" }) })
3106
+ /* @__PURE__ */ i("svg", { width: "11", height: "11", viewBox: "0 0 12 12", fill: "none", children: /* @__PURE__ */ i("path", { d: "M7 1h4v4M11 1L5.5 6.5M5 2H2a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V8", stroke: "currentColor", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" }) })
2082
3107
  ]
2083
3108
  }
2084
3109
  )
2085
3110
  ] }),
2086
- /* @__PURE__ */ i("div", { style: { display: "flex", gap: 8, flexShrink: 0, alignSelf: "center" }, children: [
2087
- /* @__PURE__ */ e(
3111
+ /* @__PURE__ */ f("div", { style: { display: "flex", gap: 8, flexShrink: 0, alignSelf: "center" }, children: [
3112
+ /* @__PURE__ */ i(
2088
3113
  "a",
2089
3114
  {
2090
3115
  href: "https://t.me/pyefi",
2091
3116
  target: "_blank",
2092
3117
  rel: "noreferrer",
2093
- style: { display: "flex", alignItems: "center", justifyContent: "center", width: 28, height: 28, borderRadius: 8, background: t.highlight, borderTop: `1px solid ${t.highlight}`, boxShadow: `inset 0 -1px 0 ${t.shadow}`, textDecoration: "none" },
2094
- children: /* @__PURE__ */ e("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: t.secondary, children: /* @__PURE__ */ e("path", { d: "M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z" }) })
3118
+ style: { display: "flex", alignItems: "center", justifyContent: "center", width: 28, height: 28, borderRadius: 8, background: o.highlight, borderTop: `1px solid ${o.highlight}`, boxShadow: `inset 0 -1px 0 ${o.shadow}`, textDecoration: "none" },
3119
+ children: /* @__PURE__ */ i("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: o.secondary, children: /* @__PURE__ */ i("path", { d: "M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z" }) })
2095
3120
  }
2096
3121
  ),
2097
- /* @__PURE__ */ e(
3122
+ /* @__PURE__ */ i(
2098
3123
  "a",
2099
3124
  {
2100
3125
  href: "https://x.com/pyefinance",
2101
3126
  target: "_blank",
2102
3127
  rel: "noreferrer",
2103
- style: { display: "flex", alignItems: "center", justifyContent: "center", width: 28, height: 28, borderRadius: 8, background: t.highlight, borderTop: `1px solid ${t.highlight}`, boxShadow: `inset 0 -1px 0 ${t.shadow}`, textDecoration: "none" },
2104
- children: /* @__PURE__ */ e("svg", { width: "13", height: "13", viewBox: "0 0 24 24", fill: t.secondary, children: /* @__PURE__ */ e("path", { d: "M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-4.714-6.231-5.401 6.231H2.744l7.73-8.835L1.254 2.25H8.08l4.253 5.622 5.912-5.622zm-1.161 17.52h1.833L7.084 4.126H5.117z" }) })
3128
+ style: { display: "flex", alignItems: "center", justifyContent: "center", width: 28, height: 28, borderRadius: 8, background: o.highlight, borderTop: `1px solid ${o.highlight}`, boxShadow: `inset 0 -1px 0 ${o.shadow}`, textDecoration: "none" },
3129
+ children: /* @__PURE__ */ i("svg", { width: "13", height: "13", viewBox: "0 0 24 24", fill: o.secondary, children: /* @__PURE__ */ i("path", { d: "M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-4.714-6.231-5.401 6.231H2.744l7.73-8.835L1.254 2.25H8.08l4.253 5.622 5.912-5.622zm-1.161 17.52h1.833L7.084 4.126H5.117z" }) })
2105
3130
  }
2106
3131
  )
2107
3132
  ] })
2108
3133
  ] }),
2109
- /* @__PURE__ */ e(le, { label: "Sell more rewards", onClick: () => r() })
3134
+ /* @__PURE__ */ i(Fe, { label: "Sell more rewards", onClick: () => c() })
2110
3135
  ] })
2111
3136
  ] });
2112
3137
  }
2113
- function un() {
2114
- const r = f((l) => l.reset), n = f((l) => l.redeemAmountSol), o = f((l) => l.redeemTxSignature), d = n ?? 12.5, u = o ? `https://solscan.io/tx/${o}` : "https://solscan.io";
2115
- return /* @__PURE__ */ i(N, { children: [
2116
- /* @__PURE__ */ e(ze, { label: "Redeem confirmed", onClose: () => r() }),
2117
- /* @__PURE__ */ i(ie, { children: [
2118
- /* @__PURE__ */ e("p", { style: a(14, t.secondary), children: "Your staked SOL has been returned to your wallet." }),
2119
- /* @__PURE__ */ i("div", { style: { display: "flex", flexDirection: "column" }, children: [
2120
- /* @__PURE__ */ i("div", { style: {
2121
- background: t.lowered,
2122
- borderTop: `1px solid ${t.shadow}`,
2123
- boxShadow: `inset 0 -1px 0 ${t.highlight}`,
3138
+ function Nr() {
3139
+ const c = C((p) => p.reset), l = C((p) => p.redeemAmountSol), u = C((p) => p.redeemTxSignature), w = l ?? 12.5, m = u ? `https://solscan.io/tx/${u}` : "https://solscan.io";
3140
+ return /* @__PURE__ */ f(te, { children: [
3141
+ /* @__PURE__ */ i(bt, { label: "Redeem confirmed", onClose: () => c() }),
3142
+ /* @__PURE__ */ f(Re, { children: [
3143
+ /* @__PURE__ */ i("p", { style: A(14, o.secondary), children: "Your staked SOL has been returned to your wallet." }),
3144
+ /* @__PURE__ */ f("div", { style: { display: "flex", flexDirection: "column" }, children: [
3145
+ /* @__PURE__ */ f("div", { style: {
3146
+ background: o.lowered,
3147
+ borderTop: `1px solid ${o.shadow}`,
3148
+ boxShadow: `inset 0 -1px 0 ${o.highlight}`,
2124
3149
  borderRadius: "8px 8px 0 0",
2125
3150
  padding: 12,
2126
3151
  display: "flex",
2127
3152
  flexDirection: "column",
2128
3153
  gap: 12
2129
3154
  }, children: [
2130
- /* @__PURE__ */ e("p", { style: a(14, t.secondary), children: "Staked SOL returned" }),
2131
- /* @__PURE__ */ e(
2132
- G,
3155
+ /* @__PURE__ */ i("p", { style: A(14, o.secondary), children: "Staked SOL returned" }),
3156
+ /* @__PURE__ */ i(
3157
+ ye,
2133
3158
  {
2134
- value: `${O(d)} SOL`,
2135
- style: { ...U(32, t.green), lineHeight: 1.2 }
3159
+ value: `${X(w)} SOL`,
3160
+ style: { ...ke(32, o.green), lineHeight: 1.2 }
2136
3161
  }
2137
3162
  )
2138
3163
  ] }),
2139
- /* @__PURE__ */ i("div", { style: {
2140
- background: t.lowered,
2141
- borderTop: `1px solid ${t.shadow}`,
2142
- boxShadow: `inset 0 -1px 0 ${t.highlight}`,
3164
+ /* @__PURE__ */ f("div", { style: {
3165
+ background: o.lowered,
3166
+ borderTop: `1px solid ${o.shadow}`,
3167
+ boxShadow: `inset 0 -1px 0 ${o.highlight}`,
2143
3168
  borderRadius: "0 0 8px 8px",
2144
3169
  padding: 12,
2145
3170
  display: "flex",
2146
3171
  justifyContent: "space-between",
2147
3172
  alignItems: "center"
2148
3173
  }, children: [
2149
- /* @__PURE__ */ e("p", { style: a(14, t.secondary), children: "Received as a stake account" }),
2150
- /* @__PURE__ */ i(
3174
+ /* @__PURE__ */ i("p", { style: A(14, o.secondary), children: "Received as a stake account" }),
3175
+ /* @__PURE__ */ f(
2151
3176
  "a",
2152
3177
  {
2153
- href: u,
3178
+ href: m,
2154
3179
  target: "_blank",
2155
3180
  rel: "noreferrer",
2156
- style: { ...a(14, t.purple), textDecoration: "none", display: "flex", alignItems: "center", gap: 4 },
3181
+ style: { ...A(14, o.purple), textDecoration: "none", display: "flex", alignItems: "center", gap: 4 },
2157
3182
  children: [
2158
3183
  "Solscan",
2159
- /* @__PURE__ */ e("svg", { width: "11", height: "11", viewBox: "0 0 12 12", fill: "none", children: /* @__PURE__ */ e("path", { d: "M7 1h4v4M11 1L5.5 6.5M5 2H2a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V8", stroke: "currentColor", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" }) })
3184
+ /* @__PURE__ */ i("svg", { width: "11", height: "11", viewBox: "0 0 12 12", fill: "none", children: /* @__PURE__ */ i("path", { d: "M7 1h4v4M11 1L5.5 6.5M5 2H2a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V8", stroke: "currentColor", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" }) })
2160
3185
  ]
2161
3186
  }
2162
3187
  )
2163
3188
  ] })
2164
3189
  ] }),
2165
- /* @__PURE__ */ i("div", { style: {
2166
- background: t.raised,
2167
- borderTop: `1px solid ${t.highlight}`,
2168
- boxShadow: `inset 0 -1px 0 ${t.shadow}`,
3190
+ /* @__PURE__ */ f("div", { style: {
3191
+ background: o.raised,
3192
+ borderTop: `1px solid ${o.highlight}`,
3193
+ boxShadow: `inset 0 -1px 0 ${o.shadow}`,
2169
3194
  borderRadius: 8,
2170
3195
  padding: 12,
2171
3196
  display: "flex",
2172
3197
  flexDirection: "column",
2173
3198
  gap: 12
2174
3199
  }, children: [
2175
- /* @__PURE__ */ e("p", { style: a(14, t.primary), children: /* @__PURE__ */ e("strong", { style: { fontWeight: 600 }, children: "What to do next" }) }),
2176
- /* @__PURE__ */ e("p", { style: a(14, t.secondary), children: "Two more steps to make it liquid." }),
2177
- /* @__PURE__ */ i("div", { style: { display: "flex", gap: 10 }, children: [
2178
- /* @__PURE__ */ e("div", { style: {
3200
+ /* @__PURE__ */ i("p", { style: A(14, o.primary), children: /* @__PURE__ */ i("strong", { style: { fontWeight: 600 }, children: "What to do next" }) }),
3201
+ /* @__PURE__ */ i("p", { style: A(14, o.secondary), children: "Two more steps to make it liquid." }),
3202
+ /* @__PURE__ */ f("div", { style: { display: "flex", gap: 10 }, children: [
3203
+ /* @__PURE__ */ i("div", { style: {
2179
3204
  width: 20,
2180
3205
  height: 20,
2181
3206
  borderRadius: "50%",
2182
3207
  flexShrink: 0,
2183
- background: t.lowered,
2184
- borderTop: `1px solid ${t.shadow}`,
2185
- boxShadow: `inset 0 -1px 0 ${t.highlight}`,
3208
+ background: o.lowered,
3209
+ borderTop: `1px solid ${o.shadow}`,
3210
+ boxShadow: `inset 0 -1px 0 ${o.highlight}`,
2186
3211
  display: "flex",
2187
3212
  alignItems: "center",
2188
3213
  justifyContent: "center",
2189
- ...a(11, t.secondary)
3214
+ ...A(11, o.secondary)
2190
3215
  }, children: "1" }),
2191
- /* @__PURE__ */ i("div", { style: { display: "flex", flexDirection: "column", gap: 2 }, children: [
2192
- /* @__PURE__ */ e("p", { style: a(14, t.primary), children: "Deactivate the stake account" }),
2193
- /* @__PURE__ */ e("p", { style: a(11, t.secondary), children: "Deactivate in your wallet app. Takes ~1 epoch (~2 days)." })
3216
+ /* @__PURE__ */ f("div", { style: { display: "flex", flexDirection: "column", gap: 2 }, children: [
3217
+ /* @__PURE__ */ i("p", { style: A(14, o.primary), children: "Deactivate the stake account" }),
3218
+ /* @__PURE__ */ i("p", { style: A(11, o.secondary), children: "Deactivate in your wallet app. Takes ~1 epoch (~2 days)." })
2194
3219
  ] })
2195
3220
  ] }),
2196
- /* @__PURE__ */ i("div", { style: { display: "flex", gap: 10 }, children: [
2197
- /* @__PURE__ */ e("div", { style: {
3221
+ /* @__PURE__ */ f("div", { style: { display: "flex", gap: 10 }, children: [
3222
+ /* @__PURE__ */ i("div", { style: {
2198
3223
  width: 20,
2199
3224
  height: 20,
2200
3225
  borderRadius: "50%",
2201
3226
  flexShrink: 0,
2202
- background: t.lowered,
2203
- borderTop: `1px solid ${t.shadow}`,
2204
- boxShadow: `inset 0 -1px 0 ${t.highlight}`,
3227
+ background: o.lowered,
3228
+ borderTop: `1px solid ${o.shadow}`,
3229
+ boxShadow: `inset 0 -1px 0 ${o.highlight}`,
2205
3230
  display: "flex",
2206
3231
  alignItems: "center",
2207
3232
  justifyContent: "center",
2208
- ...a(11, t.secondary)
3233
+ ...A(11, o.secondary)
2209
3234
  }, children: "2" }),
2210
- /* @__PURE__ */ i("div", { style: { display: "flex", flexDirection: "column", gap: 2 }, children: [
2211
- /* @__PURE__ */ e("p", { style: a(14, t.primary), children: "Withdraw to liquid SOL" }),
2212
- /* @__PURE__ */ e("p", { style: a(11, t.secondary), children: "Once deactivated, withdraw to get liquid SOL." })
3235
+ /* @__PURE__ */ f("div", { style: { display: "flex", flexDirection: "column", gap: 2 }, children: [
3236
+ /* @__PURE__ */ i("p", { style: A(14, o.primary), children: "Withdraw to liquid SOL" }),
3237
+ /* @__PURE__ */ i("p", { style: A(11, o.secondary), children: "Once deactivated, withdraw to get liquid SOL." })
2213
3238
  ] })
2214
3239
  ] })
2215
3240
  ] }),
2216
- /* @__PURE__ */ e(q, {}),
2217
- /* @__PURE__ */ e(le, { label: "Done", onClick: () => r() })
3241
+ /* @__PURE__ */ i(xe, {}),
3242
+ /* @__PURE__ */ i(Fe, { label: "Done", onClick: () => c() })
2218
3243
  ] })
2219
3244
  ] });
2220
3245
  }
2221
- const hn = {
3246
+ const Ur = {
2222
3247
  "select-position": { step: 1, total: 4 },
2223
3248
  "choose-amount": { step: 2, total: 4 },
2224
3249
  "choose-duration": { step: 3, total: 4 },
2225
3250
  "review-quote": { step: 4, total: 4 }
2226
- }, gn = "Each PT (Principal Token) is a 1:1 tokenised claim on your staked SOL. It accrues no rewards — those were sold upfront. Redeem at maturity to receive your full SOL stake back.";
2227
- function He({ screen: r, children: n }) {
2228
- return /* @__PURE__ */ i(re, { children: [
2229
- /* @__PURE__ */ e(ie, { style: { borderRadius: "10px 10px 0 0", borderTop: "none" }, children: /* @__PURE__ */ e("div", { className: "pye-step-in", children: n }, r) }),
2230
- /* @__PURE__ */ e(oe, {})
3251
+ }, Hr = "Each PT (Principal Token) is a 1:1 tokenised claim on your staked SOL. It accrues no rewards — those were sold upfront. Redeem at maturity to receive your full SOL stake back.";
3252
+ function ct({ screen: c, children: l }) {
3253
+ return /* @__PURE__ */ f(Ie, { children: [
3254
+ /* @__PURE__ */ i(Re, { style: { borderRadius: "10px 10px 0 0", borderTop: "none" }, children: /* @__PURE__ */ i("div", { className: "pye-step-in", children: l }, c) }),
3255
+ /* @__PURE__ */ i(Ce, {})
2231
3256
  ] });
2232
3257
  }
2233
- function yn({ validatorName: r }) {
2234
- const n = f((c) => c.screen), o = f((c) => c.goBack), d = f((c) => c.reset), u = f((c) => c.navigate), l = J((c) => c.publicKey), h = J((c) => c.status), g = K(null);
2235
- if (j(() => {
2236
- const c = h === "connected", p = n === "yield-forward-intro" || n === "connect-wallet";
2237
- c && p ? u("welcome") : !c && !p && d();
2238
- }, [h, n, u, d]), j(() => {
2239
- if (!l) {
2240
- g.current = null;
3258
+ function Wr({ validatorName: c }) {
3259
+ const l = C((b) => b.screen), u = C((b) => b.goBack), w = C((b) => b.reset), m = C((b) => b.navigate), p = me((b) => b.publicKey), y = me((b) => b.status), a = ge(null);
3260
+ if (ae(() => {
3261
+ const b = y === "connected", x = l === "yield-forward-intro" || l === "connect-wallet";
3262
+ b && x ? m("welcome") : !b && !x && w();
3263
+ }, [y, l, m, w]), ae(() => {
3264
+ if (!p) {
3265
+ a.current = null;
2241
3266
  return;
2242
3267
  }
2243
- g.current && g.current !== l && (d(), u("welcome")), g.current = l;
2244
- }, [l, d, u]), n === "complete")
2245
- return /* @__PURE__ */ i(re, { children: [
2246
- /* @__PURE__ */ e(pn, {}),
2247
- /* @__PURE__ */ e(oe, {})
3268
+ a.current && a.current !== p && (w(), m("welcome")), a.current = p;
3269
+ }, [p, w, m]), l === "complete")
3270
+ return /* @__PURE__ */ f(Ie, { children: [
3271
+ /* @__PURE__ */ i(Or, {}),
3272
+ /* @__PURE__ */ i(Ce, {})
2248
3273
  ] });
2249
- if (n === "redeem-complete")
2250
- return /* @__PURE__ */ i(re, { children: [
2251
- /* @__PURE__ */ e(un, {}),
2252
- /* @__PURE__ */ e(oe, {})
3274
+ if (l === "redeem-complete")
3275
+ return /* @__PURE__ */ f(Ie, { children: [
3276
+ /* @__PURE__ */ i(Nr, {}),
3277
+ /* @__PURE__ */ i(Ce, {})
2253
3278
  ] });
2254
- if (n === "welcome")
2255
- return /* @__PURE__ */ i(re, { children: [
2256
- /* @__PURE__ */ e(Gt, { validatorName: r }),
2257
- /* @__PURE__ */ e(oe, {})
3279
+ if (l === "welcome")
3280
+ return /* @__PURE__ */ f(Ie, { children: [
3281
+ /* @__PURE__ */ i(gr, { validatorName: c }),
3282
+ /* @__PURE__ */ i(Ce, {})
2258
3283
  ] });
2259
- if (n === "yield-forward-intro")
2260
- return /* @__PURE__ */ e(He, { screen: n, children: /* @__PURE__ */ e(zt, {}) });
2261
- if (n === "connect-wallet")
2262
- return /* @__PURE__ */ e(He, { screen: n, children: /* @__PURE__ */ e(Jt, {}) });
2263
- if (n === "redeem-list")
2264
- return /* @__PURE__ */ i(re, { children: [
2265
- /* @__PURE__ */ e(Be, { hideStep: !0, label: "Your positions", tooltipText: gn, onBack: o }),
2266
- /* @__PURE__ */ e(cn, {}),
2267
- /* @__PURE__ */ e(oe, {})
3284
+ if (l === "yield-forward-intro")
3285
+ return /* @__PURE__ */ i(ct, { screen: l, children: /* @__PURE__ */ i(br, {}) });
3286
+ if (l === "connect-wallet")
3287
+ return /* @__PURE__ */ i(ct, { screen: l, children: /* @__PURE__ */ i(xr, {}) });
3288
+ if (l === "redeem-list")
3289
+ return /* @__PURE__ */ f(Ie, { children: [
3290
+ /* @__PURE__ */ i(it, { hideStep: !0, label: "Your positions", tooltipText: Hr, onBack: u }),
3291
+ /* @__PURE__ */ i(Pr, {}),
3292
+ /* @__PURE__ */ i(Ce, {})
2268
3293
  ] });
2269
- const b = hn[n];
2270
- return /* @__PURE__ */ i(re, { children: [
2271
- /* @__PURE__ */ e(
2272
- Be,
3294
+ const v = Ur[l];
3295
+ return /* @__PURE__ */ f(Ie, { children: [
3296
+ /* @__PURE__ */ i(
3297
+ it,
2273
3298
  {
2274
- step: b == null ? void 0 : b.step,
2275
- total: b == null ? void 0 : b.total,
2276
- hideStep: !(b != null && b.step),
2277
- onBack: o
3299
+ step: v == null ? void 0 : v.step,
3300
+ total: v == null ? void 0 : v.total,
3301
+ hideStep: !(v != null && v.step),
3302
+ onBack: u
2278
3303
  }
2279
3304
  ),
2280
- /* @__PURE__ */ e(ie, { children: /* @__PURE__ */ i("div", { className: "pye-step-in", children: [
2281
- n === "select-position" && /* @__PURE__ */ e(Zt, {}),
2282
- n === "choose-amount" && /* @__PURE__ */ e(Xt, {}),
2283
- n === "choose-duration" && /* @__PURE__ */ e(on, {}),
2284
- n === "review-quote" && /* @__PURE__ */ e(sn, {})
2285
- ] }, n) }),
2286
- /* @__PURE__ */ e(oe, {})
3305
+ /* @__PURE__ */ i(Re, { children: /* @__PURE__ */ f("div", { className: "pye-step-in", children: [
3306
+ l === "select-position" && /* @__PURE__ */ i(Ar, {}),
3307
+ l === "choose-amount" && /* @__PURE__ */ i(Sr, {}),
3308
+ l === "choose-duration" && /* @__PURE__ */ i(Fr, {}),
3309
+ l === "review-quote" && /* @__PURE__ */ i(Dr, {})
3310
+ ] }, l) }),
3311
+ /* @__PURE__ */ i(Ce, {})
2287
3312
  ] });
2288
3313
  }
2289
- function mn() {
2290
- const r = J((d) => d.publicKey), n = f((d) => d.resetForWalletChange), o = K(null);
2291
- return j(() => {
2292
- const d = r ? String(r) : null;
2293
- o.current !== null && o.current !== d && n(), o.current = d;
2294
- }, [r, n]), null;
3314
+ function Yr() {
3315
+ const c = me((w) => w.publicKey), l = C((w) => w.resetForWalletChange), u = ge(null);
3316
+ return ae(() => {
3317
+ const w = c ? String(c) : null;
3318
+ u.current !== null && u.current !== w && l(), u.current = w;
3319
+ }, [c, l]), null;
2295
3320
  }
2296
- const fn = "7b89b9d2ef5d0298961c3eeb879793b0";
2297
- function bn(r) {
2298
- if (r) {
2299
- for (const n of Object.values(ke))
2300
- if (n.vote_account === r) return n.name;
3321
+ const Qr = "7b89b9d2ef5d0298961c3eeb879793b0";
3322
+ function jr(c) {
3323
+ if (c) {
3324
+ for (const l of Object.values(Xe))
3325
+ if (l.vote_account === c) return l.name;
2301
3326
  }
2302
3327
  }
2303
- function In({
2304
- rpcUrl: r,
2305
- supabaseUrl: n,
2306
- supabaseAnonKey: o,
2307
- voteAccount: d,
2308
- theme: u = "pye-light",
2309
- onClose: l
3328
+ function rn({
3329
+ rpcUrl: c,
3330
+ supabaseUrl: l,
3331
+ supabaseAnonKey: u,
3332
+ voteAccount: w,
3333
+ theme: m = "pye-light",
3334
+ onClose: p
2310
3335
  }) {
2311
- const h = K(!1);
2312
- h.current || (bt({ rpcUrl: r, supabaseUrl: n, supabaseAnonKey: o, voteAccount: d }), h.current = !0);
2313
- const g = Y(() => bn(d), [d]), b = Y(
3336
+ const y = ge(!1);
3337
+ y.current || (Wt({ rpcUrl: c, supabaseUrl: l, supabaseAnonKey: u, voteAccount: w }), y.current = !0);
3338
+ const a = le(() => jr(w), [w]), v = le(
2314
3339
  () => [
2315
- new it(),
2316
- new lt(),
2317
- new at(),
2318
- new st(),
2319
- new dt({
2320
- network: ct.Mainnet,
3340
+ new It(),
3341
+ new Ct(),
3342
+ new Rt(),
3343
+ new Ft(),
3344
+ new Lt({
3345
+ network: Mt.Mainnet,
2321
3346
  options: {
2322
- projectId: fn,
3347
+ projectId: Qr,
2323
3348
  metadata: {
2324
3349
  name: "Pye",
2325
3350
  description: "Earn staking rewards upfront",
@@ -2330,22 +3355,22 @@ function In({
2330
3355
  })
2331
3356
  ],
2332
3357
  []
2333
- ), c = K(void 0);
2334
- return c.current || (c.current = Rt()), /* @__PURE__ */ i("div", { "data-theme": u, children: [
2335
- /* @__PURE__ */ e("style", { children: It }),
2336
- /* @__PURE__ */ e(rt, { endpoint: r, children: /* @__PURE__ */ e(ot, { wallets: b, autoConnect: !0, children: /* @__PURE__ */ i(At, { children: [
2337
- /* @__PURE__ */ e(kt, {}),
2338
- /* @__PURE__ */ e(vt, {}),
2339
- /* @__PURE__ */ e(wt, {}),
2340
- /* @__PURE__ */ e(St, {}),
2341
- /* @__PURE__ */ i(Ke.Provider, { value: c.current, children: [
2342
- /* @__PURE__ */ e(mn, {}),
2343
- /* @__PURE__ */ e(yn, { validatorName: g })
3358
+ ), b = ge(void 0);
3359
+ return b.current || (b.current = tr()), /* @__PURE__ */ f("div", { "data-theme": m, children: [
3360
+ /* @__PURE__ */ i("style", { children: rr }),
3361
+ /* @__PURE__ */ i(Bt, { endpoint: c, children: /* @__PURE__ */ i(Et, { wallets: v, autoConnect: !0, children: /* @__PURE__ */ f(Qt, { children: [
3362
+ /* @__PURE__ */ i(jt, {}),
3363
+ /* @__PURE__ */ i(Vt, {}),
3364
+ /* @__PURE__ */ i(Gt, {}),
3365
+ /* @__PURE__ */ i(Jt, {}),
3366
+ /* @__PURE__ */ f(mt.Provider, { value: b.current, children: [
3367
+ /* @__PURE__ */ i(Yr, {}),
3368
+ /* @__PURE__ */ i(Wr, { validatorName: a })
2344
3369
  ] })
2345
3370
  ] }) }) })
2346
3371
  ] });
2347
3372
  }
2348
3373
  export {
2349
- In as PyeWidget
3374
+ rn as PyeWidget
2350
3375
  };
2351
3376
  //# sourceMappingURL=pye-widget.es.js.map