@reown/appkit-cdn 0.0.3
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.
- package/LICENSE +190 -0
- package/dist/W3MFrameProviderSingleton-BpWUndnw.cjs +11014 -0
- package/dist/W3MFrameProviderSingleton-CuVI_88U.js +65026 -0
- package/dist/ethers.cjs +1 -0
- package/dist/ethers.js +17800 -0
- package/dist/hooks.module-BmccViTi.cjs +1 -0
- package/dist/hooks.module-C2zxEs4Z.js +764 -0
- package/dist/index--u0BBJui.js +128 -0
- package/dist/index-B5dlb2GK.cjs +1 -0
- package/dist/index-BGcCLdgU.js +3175 -0
- package/dist/index-BgSdiVHK.cjs +64 -0
- package/dist/index-BzzLy8QO.js +2055 -0
- package/dist/index-CEbNT_sk.cjs +41 -0
- package/dist/index-Cbfs_-YJ.js +254 -0
- package/dist/index-CjczsdX0.js +9034 -0
- package/dist/index-CytFwM4F.cjs +1 -0
- package/dist/index-DIBheNE_.js +250 -0
- package/dist/index-DTZ3zFoi.js +931 -0
- package/dist/index-DoNvH4sY.cjs +1 -0
- package/dist/index-DxKsnlAL.cjs +7 -0
- package/dist/index-_fb0kPJf.js +161 -0
- package/dist/index-e2XnZub2.cjs +1 -0
- package/dist/index-qHZ88Aei.cjs +47 -0
- package/dist/index.es-Dzy36BN7.js +11685 -0
- package/dist/index.es-wptiKBWB.cjs +43 -0
- package/dist/metamask-sdk-CH4ak2WC.cjs +217 -0
- package/dist/metamask-sdk-vSsaK2qA.js +40484 -0
- package/dist/native-DUnMHCku.cjs +1 -0
- package/dist/native-DZv9b0EL.js +16 -0
- package/dist/w3m-modal-Cb8iN1Y9.js +290 -0
- package/dist/w3m-modal-pgEnMCmq.cjs +149 -0
- package/dist/wagmi-Cz2I9r-O.cjs +47 -0
- package/dist/wagmi-Dnkdlm7T.js +26712 -0
- package/dist/wagmi.cjs +1 -0
- package/dist/wagmi.js +9 -0
- package/package.json +38 -0
|
@@ -0,0 +1,764 @@
|
|
|
1
|
+
import { B as D, bc as tn, ba as Zt } from "./W3MFrameProviderSingleton-CuVI_88U.js";
|
|
2
|
+
const { Transform: xn } = tn;
|
|
3
|
+
var $n = (t) => class en extends xn {
|
|
4
|
+
constructor(n, _, o, i, c) {
|
|
5
|
+
super(c), this._rate = n, this._capacity = _, this._delimitedSuffix = o, this._hashBitLength = i, this._options = c, this._state = new t(), this._state.initialize(n, _), this._finalized = !1;
|
|
6
|
+
}
|
|
7
|
+
_transform(n, _, o) {
|
|
8
|
+
let i = null;
|
|
9
|
+
try {
|
|
10
|
+
this.update(n, _);
|
|
11
|
+
} catch (c) {
|
|
12
|
+
i = c;
|
|
13
|
+
}
|
|
14
|
+
o(i);
|
|
15
|
+
}
|
|
16
|
+
_flush(n) {
|
|
17
|
+
let _ = null;
|
|
18
|
+
try {
|
|
19
|
+
this.push(this.digest());
|
|
20
|
+
} catch (o) {
|
|
21
|
+
_ = o;
|
|
22
|
+
}
|
|
23
|
+
n(_);
|
|
24
|
+
}
|
|
25
|
+
update(n, _) {
|
|
26
|
+
if (!D.isBuffer(n) && typeof n != "string")
|
|
27
|
+
throw new TypeError("Data must be a string or a buffer");
|
|
28
|
+
if (this._finalized)
|
|
29
|
+
throw new Error("Digest already called");
|
|
30
|
+
return D.isBuffer(n) || (n = D.from(n, _)), this._state.absorb(n), this;
|
|
31
|
+
}
|
|
32
|
+
digest(n) {
|
|
33
|
+
if (this._finalized)
|
|
34
|
+
throw new Error("Digest already called");
|
|
35
|
+
this._finalized = !0, this._delimitedSuffix && this._state.absorbLastFewBits(this._delimitedSuffix);
|
|
36
|
+
let _ = this._state.squeeze(this._hashBitLength / 8);
|
|
37
|
+
return n !== void 0 && (_ = _.toString(n)), this._resetState(), _;
|
|
38
|
+
}
|
|
39
|
+
// remove result from memory
|
|
40
|
+
_resetState() {
|
|
41
|
+
return this._state.initialize(this._rate, this._capacity), this;
|
|
42
|
+
}
|
|
43
|
+
// because sometimes we need hash right now and little later
|
|
44
|
+
_clone() {
|
|
45
|
+
const n = new en(this._rate, this._capacity, this._delimitedSuffix, this._hashBitLength, this._options);
|
|
46
|
+
return this._state.copy(n._state), n._finalized = this._finalized, n;
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
const { Transform: zn } = tn;
|
|
50
|
+
var Cn = (t) => class nn extends zn {
|
|
51
|
+
constructor(n, _, o, i) {
|
|
52
|
+
super(i), this._rate = n, this._capacity = _, this._delimitedSuffix = o, this._options = i, this._state = new t(), this._state.initialize(n, _), this._finalized = !1;
|
|
53
|
+
}
|
|
54
|
+
_transform(n, _, o) {
|
|
55
|
+
let i = null;
|
|
56
|
+
try {
|
|
57
|
+
this.update(n, _);
|
|
58
|
+
} catch (c) {
|
|
59
|
+
i = c;
|
|
60
|
+
}
|
|
61
|
+
o(i);
|
|
62
|
+
}
|
|
63
|
+
_flush() {
|
|
64
|
+
}
|
|
65
|
+
_read(n) {
|
|
66
|
+
this.push(this.squeeze(n));
|
|
67
|
+
}
|
|
68
|
+
update(n, _) {
|
|
69
|
+
if (!D.isBuffer(n) && typeof n != "string")
|
|
70
|
+
throw new TypeError("Data must be a string or a buffer");
|
|
71
|
+
if (this._finalized)
|
|
72
|
+
throw new Error("Squeeze already called");
|
|
73
|
+
return D.isBuffer(n) || (n = D.from(n, _)), this._state.absorb(n), this;
|
|
74
|
+
}
|
|
75
|
+
squeeze(n, _) {
|
|
76
|
+
this._finalized || (this._finalized = !0, this._state.absorbLastFewBits(this._delimitedSuffix));
|
|
77
|
+
let o = this._state.squeeze(n);
|
|
78
|
+
return _ !== void 0 && (o = o.toString(_)), o;
|
|
79
|
+
}
|
|
80
|
+
_resetState() {
|
|
81
|
+
return this._state.initialize(this._rate, this._capacity), this;
|
|
82
|
+
}
|
|
83
|
+
_clone() {
|
|
84
|
+
const n = new nn(this._rate, this._capacity, this._delimitedSuffix, this._options);
|
|
85
|
+
return this._state.copy(n._state), n._finalized = this._finalized, n;
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
const En = $n, Pn = Cn;
|
|
89
|
+
var Hn = function(t) {
|
|
90
|
+
const e = En(t), n = Pn(t);
|
|
91
|
+
return function(_, o) {
|
|
92
|
+
switch (typeof _ == "string" ? _.toLowerCase() : _) {
|
|
93
|
+
case "keccak224":
|
|
94
|
+
return new e(1152, 448, null, 224, o);
|
|
95
|
+
case "keccak256":
|
|
96
|
+
return new e(1088, 512, null, 256, o);
|
|
97
|
+
case "keccak384":
|
|
98
|
+
return new e(832, 768, null, 384, o);
|
|
99
|
+
case "keccak512":
|
|
100
|
+
return new e(576, 1024, null, 512, o);
|
|
101
|
+
case "sha3-224":
|
|
102
|
+
return new e(1152, 448, 6, 224, o);
|
|
103
|
+
case "sha3-256":
|
|
104
|
+
return new e(1088, 512, 6, 256, o);
|
|
105
|
+
case "sha3-384":
|
|
106
|
+
return new e(832, 768, 6, 384, o);
|
|
107
|
+
case "sha3-512":
|
|
108
|
+
return new e(576, 1024, 6, 512, o);
|
|
109
|
+
case "shake128":
|
|
110
|
+
return new n(1344, 256, 31, o);
|
|
111
|
+
case "shake256":
|
|
112
|
+
return new n(1088, 512, 31, o);
|
|
113
|
+
default:
|
|
114
|
+
throw new Error("Invald algorithm: " + _);
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
}, _n = {};
|
|
118
|
+
const Oe = [1, 0, 32898, 0, 32906, 2147483648, 2147516416, 2147483648, 32907, 0, 2147483649, 0, 2147516545, 2147483648, 32777, 2147483648, 138, 0, 136, 0, 2147516425, 0, 2147483658, 0, 2147516555, 0, 139, 2147483648, 32905, 2147483648, 32771, 2147483648, 32770, 2147483648, 128, 2147483648, 32778, 0, 2147483658, 2147483648, 2147516545, 2147483648, 32896, 2147483648, 2147483649, 0, 2147516424, 2147483648];
|
|
119
|
+
_n.p1600 = function(t) {
|
|
120
|
+
for (let e = 0; e < 24; ++e) {
|
|
121
|
+
const n = t[0] ^ t[10] ^ t[20] ^ t[30] ^ t[40], _ = t[1] ^ t[11] ^ t[21] ^ t[31] ^ t[41], o = t[2] ^ t[12] ^ t[22] ^ t[32] ^ t[42], i = t[3] ^ t[13] ^ t[23] ^ t[33] ^ t[43], c = t[4] ^ t[14] ^ t[24] ^ t[34] ^ t[44], u = t[5] ^ t[15] ^ t[25] ^ t[35] ^ t[45], a = t[6] ^ t[16] ^ t[26] ^ t[36] ^ t[46], l = t[7] ^ t[17] ^ t[27] ^ t[37] ^ t[47], h = t[8] ^ t[18] ^ t[28] ^ t[38] ^ t[48], r = t[9] ^ t[19] ^ t[29] ^ t[39] ^ t[49];
|
|
122
|
+
let f = h ^ (o << 1 | i >>> 31), s = r ^ (i << 1 | o >>> 31);
|
|
123
|
+
const b = t[0] ^ f, k = t[1] ^ s, g = t[10] ^ f, p = t[11] ^ s, v = t[20] ^ f, z = t[21] ^ s, S = t[30] ^ f, E = t[31] ^ s, C = t[40] ^ f, F = t[41] ^ s;
|
|
124
|
+
f = n ^ (c << 1 | u >>> 31), s = _ ^ (u << 1 | c >>> 31);
|
|
125
|
+
const P = t[2] ^ f, q = t[3] ^ s, w = t[12] ^ f, H = t[13] ^ s, ie = t[22] ^ f, re = t[23] ^ s, se = t[32] ^ f, ce = t[33] ^ s, ue = t[42] ^ f, le = t[43] ^ s;
|
|
126
|
+
f = o ^ (a << 1 | l >>> 31), s = i ^ (l << 1 | a >>> 31);
|
|
127
|
+
const fe = t[4] ^ f, ae = t[5] ^ s, he = t[14] ^ f, pe = t[15] ^ s, de = t[24] ^ f, ve = t[25] ^ s, me = t[34] ^ f, ye = t[35] ^ s, ge = t[44] ^ f, be = t[45] ^ s;
|
|
128
|
+
f = c ^ (h << 1 | r >>> 31), s = u ^ (r << 1 | h >>> 31);
|
|
129
|
+
const ke = t[6] ^ f, we = t[7] ^ s, Se = t[16] ^ f, xe = t[17] ^ s, $e = t[26] ^ f, ze = t[27] ^ s, Ce = t[36] ^ f, Ee = t[37] ^ s, Pe = t[46] ^ f, He = t[47] ^ s;
|
|
130
|
+
f = a ^ (n << 1 | _ >>> 31), s = l ^ (_ << 1 | n >>> 31);
|
|
131
|
+
const Te = t[8] ^ f, De = t[9] ^ s, Ne = t[18] ^ f, Ue = t[19] ^ s, qe = t[28] ^ f, Le = t[29] ^ s, Be = t[38] ^ f, Fe = t[39] ^ s, Me = t[48] ^ f, Ae = t[49] ^ s, J = b, Q = k, X = p << 4 | g >>> 28, Y = g << 4 | p >>> 28, Z = v << 3 | z >>> 29, tt = z << 3 | v >>> 29, et = E << 9 | S >>> 23, nt = S << 9 | E >>> 23, _t = C << 18 | F >>> 14, ot = F << 18 | C >>> 14, it = P << 1 | q >>> 31, rt = q << 1 | P >>> 31, st = H << 12 | w >>> 20, ct = w << 12 | H >>> 20, ut = ie << 10 | re >>> 22, lt = re << 10 | ie >>> 22, ft = ce << 13 | se >>> 19, at = se << 13 | ce >>> 19, ht = ue << 2 | le >>> 30, pt = le << 2 | ue >>> 30, dt = ae << 30 | fe >>> 2, vt = fe << 30 | ae >>> 2, mt = he << 6 | pe >>> 26, yt = pe << 6 | he >>> 26, gt = ve << 11 | de >>> 21, bt = de << 11 | ve >>> 21, kt = me << 15 | ye >>> 17, wt = ye << 15 | me >>> 17, St = be << 29 | ge >>> 3, xt = ge << 29 | be >>> 3, $t = ke << 28 | we >>> 4, zt = we << 28 | ke >>> 4, Ct = xe << 23 | Se >>> 9, Et = Se << 23 | xe >>> 9, Pt = $e << 25 | ze >>> 7, Ht = ze << 25 | $e >>> 7, Tt = Ce << 21 | Ee >>> 11, Dt = Ee << 21 | Ce >>> 11, Nt = He << 24 | Pe >>> 8, Ut = Pe << 24 | He >>> 8, qt = Te << 27 | De >>> 5, Lt = De << 27 | Te >>> 5, Bt = Ne << 20 | Ue >>> 12, Ft = Ue << 20 | Ne >>> 12, Mt = Le << 7 | qe >>> 25, At = qe << 7 | Le >>> 25, Ot = Be << 8 | Fe >>> 24, Wt = Fe << 8 | Be >>> 24, jt = Me << 14 | Ae >>> 18, It = Ae << 14 | Me >>> 18;
|
|
132
|
+
t[0] = J ^ ~st & gt, t[1] = Q ^ ~ct & bt, t[10] = $t ^ ~Bt & Z, t[11] = zt ^ ~Ft & tt, t[20] = it ^ ~mt & Pt, t[21] = rt ^ ~yt & Ht, t[30] = qt ^ ~X & ut, t[31] = Lt ^ ~Y & lt, t[40] = dt ^ ~Ct & Mt, t[41] = vt ^ ~Et & At, t[2] = st ^ ~gt & Tt, t[3] = ct ^ ~bt & Dt, t[12] = Bt ^ ~Z & ft, t[13] = Ft ^ ~tt & at, t[22] = mt ^ ~Pt & Ot, t[23] = yt ^ ~Ht & Wt, t[32] = X ^ ~ut & kt, t[33] = Y ^ ~lt & wt, t[42] = Ct ^ ~Mt & et, t[43] = Et ^ ~At & nt, t[4] = gt ^ ~Tt & jt, t[5] = bt ^ ~Dt & It, t[14] = Z ^ ~ft & St, t[15] = tt ^ ~at & xt, t[24] = Pt ^ ~Ot & _t, t[25] = Ht ^ ~Wt & ot, t[34] = ut ^ ~kt & Nt, t[35] = lt ^ ~wt & Ut, t[44] = Mt ^ ~et & ht, t[45] = At ^ ~nt & pt, t[6] = Tt ^ ~jt & J, t[7] = Dt ^ ~It & Q, t[16] = ft ^ ~St & $t, t[17] = at ^ ~xt & zt, t[26] = Ot ^ ~_t & it, t[27] = Wt ^ ~ot & rt, t[36] = kt ^ ~Nt & qt, t[37] = wt ^ ~Ut & Lt, t[46] = et ^ ~ht & dt, t[47] = nt ^ ~pt & vt, t[8] = jt ^ ~J & st, t[9] = It ^ ~Q & ct, t[18] = St ^ ~$t & Bt, t[19] = xt ^ ~zt & Ft, t[28] = _t ^ ~it & mt, t[29] = ot ^ ~rt & yt, t[38] = Nt ^ ~qt & X, t[39] = Ut ^ ~Lt & Y, t[48] = ht ^ ~dt & Ct, t[49] = pt ^ ~vt & Et, t[0] ^= Oe[e * 2], t[1] ^= Oe[e * 2 + 1];
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
const V = _n;
|
|
136
|
+
function B() {
|
|
137
|
+
this.state = [
|
|
138
|
+
0,
|
|
139
|
+
0,
|
|
140
|
+
0,
|
|
141
|
+
0,
|
|
142
|
+
0,
|
|
143
|
+
0,
|
|
144
|
+
0,
|
|
145
|
+
0,
|
|
146
|
+
0,
|
|
147
|
+
0,
|
|
148
|
+
0,
|
|
149
|
+
0,
|
|
150
|
+
0,
|
|
151
|
+
0,
|
|
152
|
+
0,
|
|
153
|
+
0,
|
|
154
|
+
0,
|
|
155
|
+
0,
|
|
156
|
+
0,
|
|
157
|
+
0,
|
|
158
|
+
0,
|
|
159
|
+
0,
|
|
160
|
+
0,
|
|
161
|
+
0,
|
|
162
|
+
0
|
|
163
|
+
], this.blockSize = null, this.count = 0, this.squeezing = !1;
|
|
164
|
+
}
|
|
165
|
+
B.prototype.initialize = function(t, e) {
|
|
166
|
+
for (let n = 0; n < 50; ++n)
|
|
167
|
+
this.state[n] = 0;
|
|
168
|
+
this.blockSize = t / 8, this.count = 0, this.squeezing = !1;
|
|
169
|
+
};
|
|
170
|
+
B.prototype.absorb = function(t) {
|
|
171
|
+
for (let e = 0; e < t.length; ++e)
|
|
172
|
+
this.state[~~(this.count / 4)] ^= t[e] << 8 * (this.count % 4), this.count += 1, this.count === this.blockSize && (V.p1600(this.state), this.count = 0);
|
|
173
|
+
};
|
|
174
|
+
B.prototype.absorbLastFewBits = function(t) {
|
|
175
|
+
this.state[~~(this.count / 4)] ^= t << 8 * (this.count % 4), t & 128 && this.count === this.blockSize - 1 && V.p1600(this.state), this.state[~~((this.blockSize - 1) / 4)] ^= 128 << 8 * ((this.blockSize - 1) % 4), V.p1600(this.state), this.count = 0, this.squeezing = !0;
|
|
176
|
+
};
|
|
177
|
+
B.prototype.squeeze = function(t) {
|
|
178
|
+
this.squeezing || this.absorbLastFewBits(1);
|
|
179
|
+
const e = D.alloc(t);
|
|
180
|
+
for (let n = 0; n < t; ++n)
|
|
181
|
+
e[n] = this.state[~~(this.count / 4)] >>> 8 * (this.count % 4) & 255, this.count += 1, this.count === this.blockSize && (V.p1600(this.state), this.count = 0);
|
|
182
|
+
return e;
|
|
183
|
+
};
|
|
184
|
+
B.prototype.copy = function(t) {
|
|
185
|
+
for (let e = 0; e < 50; ++e)
|
|
186
|
+
t.state[e] = this.state[e];
|
|
187
|
+
t.blockSize = this.blockSize, t.count = this.count, t.squeezing = this.squeezing;
|
|
188
|
+
};
|
|
189
|
+
var Tn = B, t_ = Hn(Tn);
|
|
190
|
+
function on(t) {
|
|
191
|
+
var e, n, _ = "";
|
|
192
|
+
if (typeof t == "string" || typeof t == "number")
|
|
193
|
+
_ += t;
|
|
194
|
+
else if (typeof t == "object")
|
|
195
|
+
if (Array.isArray(t))
|
|
196
|
+
for (e = 0; e < t.length; e++)
|
|
197
|
+
t[e] && (n = on(t[e])) && (_ && (_ += " "), _ += n);
|
|
198
|
+
else
|
|
199
|
+
for (e in t)
|
|
200
|
+
t[e] && (_ && (_ += " "), _ += e);
|
|
201
|
+
return _;
|
|
202
|
+
}
|
|
203
|
+
function We() {
|
|
204
|
+
for (var t, e, n = 0, _ = ""; n < arguments.length; )
|
|
205
|
+
(t = arguments[n++]) && (e = on(t)) && (_ && (_ += " "), _ += e);
|
|
206
|
+
return _;
|
|
207
|
+
}
|
|
208
|
+
const Dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
209
|
+
__proto__: null,
|
|
210
|
+
clsx: We,
|
|
211
|
+
default: We
|
|
212
|
+
}, Symbol.toStringTag, { value: "Module" })), e_ = /* @__PURE__ */ Zt(Dn);
|
|
213
|
+
var W, m, rn, sn, T, je, cn, Vt, te, Kt, Gt, un, O = {}, ln = [], Nn = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, G = Array.isArray;
|
|
214
|
+
function x(t, e) {
|
|
215
|
+
for (var n in e)
|
|
216
|
+
t[n] = e[n];
|
|
217
|
+
return t;
|
|
218
|
+
}
|
|
219
|
+
function fn(t) {
|
|
220
|
+
var e = t.parentNode;
|
|
221
|
+
e && e.removeChild(t);
|
|
222
|
+
}
|
|
223
|
+
function Jt(t, e, n) {
|
|
224
|
+
var _, o, i, c = {};
|
|
225
|
+
for (i in e)
|
|
226
|
+
i == "key" ? _ = e[i] : i == "ref" ? o = e[i] : c[i] = e[i];
|
|
227
|
+
if (arguments.length > 2 && (c.children = arguments.length > 3 ? W.call(arguments, 2) : n), typeof t == "function" && t.defaultProps != null)
|
|
228
|
+
for (i in t.defaultProps)
|
|
229
|
+
c[i] === void 0 && (c[i] = t.defaultProps[i]);
|
|
230
|
+
return M(t, c, _, o, null);
|
|
231
|
+
}
|
|
232
|
+
function M(t, e, n, _, o) {
|
|
233
|
+
var i = { type: t, props: e, key: n, ref: _, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: o ?? ++rn, __i: -1, __u: 0 };
|
|
234
|
+
return o == null && m.vnode != null && m.vnode(i), i;
|
|
235
|
+
}
|
|
236
|
+
function Un() {
|
|
237
|
+
return { current: null };
|
|
238
|
+
}
|
|
239
|
+
function j(t) {
|
|
240
|
+
return t.children;
|
|
241
|
+
}
|
|
242
|
+
function A(t, e) {
|
|
243
|
+
this.props = t, this.context = e;
|
|
244
|
+
}
|
|
245
|
+
function N(t, e) {
|
|
246
|
+
if (e == null)
|
|
247
|
+
return t.__ ? N(t.__, t.__i + 1) : null;
|
|
248
|
+
for (var n; e < t.__k.length; e++)
|
|
249
|
+
if ((n = t.__k[e]) != null && n.__e != null)
|
|
250
|
+
return n.__e;
|
|
251
|
+
return typeof t.type == "function" ? N(t) : null;
|
|
252
|
+
}
|
|
253
|
+
function an(t) {
|
|
254
|
+
var e, n;
|
|
255
|
+
if ((t = t.__) != null && t.__c != null) {
|
|
256
|
+
for (t.__e = t.__c.base = null, e = 0; e < t.__k.length; e++)
|
|
257
|
+
if ((n = t.__k[e]) != null && n.__e != null) {
|
|
258
|
+
t.__e = t.__c.base = n.__e;
|
|
259
|
+
break;
|
|
260
|
+
}
|
|
261
|
+
return an(t);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
function Qt(t) {
|
|
265
|
+
(!t.__d && (t.__d = !0) && T.push(t) && !K.__r++ || je !== m.debounceRendering) && ((je = m.debounceRendering) || cn)(K);
|
|
266
|
+
}
|
|
267
|
+
function K() {
|
|
268
|
+
var t, e, n, _, o, i, c, u;
|
|
269
|
+
for (T.sort(Vt); t = T.shift(); )
|
|
270
|
+
t.__d && (e = T.length, _ = void 0, i = (o = (n = t).__v).__e, c = [], u = [], n.__P && ((_ = x({}, o)).__v = o.__v + 1, m.vnode && m.vnode(_), ee(n.__P, _, o, n.__n, n.__P.namespaceURI, 32 & o.__u ? [i] : null, c, i ?? N(o), !!(32 & o.__u), u), _.__v = o.__v, _.__.__k[_.__i] = _, vn(c, _, u), _.__e != i && an(_)), T.length > e && T.sort(Vt));
|
|
271
|
+
K.__r = 0;
|
|
272
|
+
}
|
|
273
|
+
function hn(t, e, n, _, o, i, c, u, a, l, h) {
|
|
274
|
+
var r, f, s, b, k, g = _ && _.__k || ln, p = e.length;
|
|
275
|
+
for (n.__d = a, qn(n, e, g), a = n.__d, r = 0; r < p; r++)
|
|
276
|
+
(s = n.__k[r]) != null && typeof s != "boolean" && typeof s != "function" && (f = s.__i === -1 ? O : g[s.__i] || O, s.__i = r, ee(t, s, f, o, i, c, u, a, l, h), b = s.__e, s.ref && f.ref != s.ref && (f.ref && ne(f.ref, null, s), h.push(s.ref, s.__c || b, s)), k == null && b != null && (k = b), 65536 & s.__u || f.__k === s.__k ? a = pn(s, a, t) : typeof s.type == "function" && s.__d !== void 0 ? a = s.__d : b && (a = b.nextSibling), s.__d = void 0, s.__u &= -196609);
|
|
277
|
+
n.__d = a, n.__e = k;
|
|
278
|
+
}
|
|
279
|
+
function qn(t, e, n) {
|
|
280
|
+
var _, o, i, c, u, a = e.length, l = n.length, h = l, r = 0;
|
|
281
|
+
for (t.__k = [], _ = 0; _ < a; _++)
|
|
282
|
+
c = _ + r, (o = t.__k[_] = (o = e[_]) == null || typeof o == "boolean" || typeof o == "function" ? null : typeof o == "string" || typeof o == "number" || typeof o == "bigint" || o.constructor == String ? M(null, o, null, null, null) : G(o) ? M(j, { children: o }, null, null, null) : o.constructor === void 0 && o.__b > 0 ? M(o.type, o.props, o.key, o.ref ? o.ref : null, o.__v) : o) != null ? (o.__ = t, o.__b = t.__b + 1, u = Ln(o, n, c, h), o.__i = u, i = null, u !== -1 && (h--, (i = n[u]) && (i.__u |= 131072)), i == null || i.__v === null ? (u == -1 && r--, typeof o.type != "function" && (o.__u |= 65536)) : u !== c && (u == c - 1 ? r-- : u == c + 1 ? r++ : u > c ? h > a - c ? r += u - c : r-- : u < c && (u == c - r ? r -= u - c : r++), u !== _ + r && (o.__u |= 65536))) : (i = n[c]) && i.key == null && i.__e && !(131072 & i.__u) && (i.__e == t.__d && (t.__d = N(i)), Xt(i, i, !1), n[c] = null, h--);
|
|
283
|
+
if (h)
|
|
284
|
+
for (_ = 0; _ < l; _++)
|
|
285
|
+
(i = n[_]) != null && !(131072 & i.__u) && (i.__e == t.__d && (t.__d = N(i)), Xt(i, i));
|
|
286
|
+
}
|
|
287
|
+
function pn(t, e, n) {
|
|
288
|
+
var _, o;
|
|
289
|
+
if (typeof t.type == "function") {
|
|
290
|
+
for (_ = t.__k, o = 0; _ && o < _.length; o++)
|
|
291
|
+
_[o] && (_[o].__ = t, e = pn(_[o], e, n));
|
|
292
|
+
return e;
|
|
293
|
+
}
|
|
294
|
+
t.__e != e && (e && t.type && !n.contains(e) && (e = N(t)), n.insertBefore(t.__e, e || null), e = t.__e);
|
|
295
|
+
do
|
|
296
|
+
e = e && e.nextSibling;
|
|
297
|
+
while (e != null && e.nodeType === 8);
|
|
298
|
+
return e;
|
|
299
|
+
}
|
|
300
|
+
function dn(t, e) {
|
|
301
|
+
return e = e || [], t == null || typeof t == "boolean" || (G(t) ? t.some(function(n) {
|
|
302
|
+
dn(n, e);
|
|
303
|
+
}) : e.push(t)), e;
|
|
304
|
+
}
|
|
305
|
+
function Ln(t, e, n, _) {
|
|
306
|
+
var o = t.key, i = t.type, c = n - 1, u = n + 1, a = e[n];
|
|
307
|
+
if (a === null || a && o == a.key && i === a.type && !(131072 & a.__u))
|
|
308
|
+
return n;
|
|
309
|
+
if (_ > (a != null && !(131072 & a.__u) ? 1 : 0))
|
|
310
|
+
for (; c >= 0 || u < e.length; ) {
|
|
311
|
+
if (c >= 0) {
|
|
312
|
+
if ((a = e[c]) && !(131072 & a.__u) && o == a.key && i === a.type)
|
|
313
|
+
return c;
|
|
314
|
+
c--;
|
|
315
|
+
}
|
|
316
|
+
if (u < e.length) {
|
|
317
|
+
if ((a = e[u]) && !(131072 & a.__u) && o == a.key && i === a.type)
|
|
318
|
+
return u;
|
|
319
|
+
u++;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
return -1;
|
|
323
|
+
}
|
|
324
|
+
function Ie(t, e, n) {
|
|
325
|
+
e[0] === "-" ? t.setProperty(e, n ?? "") : t[e] = n == null ? "" : typeof n != "number" || Nn.test(e) ? n : n + "px";
|
|
326
|
+
}
|
|
327
|
+
function I(t, e, n, _, o) {
|
|
328
|
+
var i;
|
|
329
|
+
t:
|
|
330
|
+
if (e === "style")
|
|
331
|
+
if (typeof n == "string")
|
|
332
|
+
t.style.cssText = n;
|
|
333
|
+
else {
|
|
334
|
+
if (typeof _ == "string" && (t.style.cssText = _ = ""), _)
|
|
335
|
+
for (e in _)
|
|
336
|
+
n && e in n || Ie(t.style, e, "");
|
|
337
|
+
if (n)
|
|
338
|
+
for (e in n)
|
|
339
|
+
_ && n[e] === _[e] || Ie(t.style, e, n[e]);
|
|
340
|
+
}
|
|
341
|
+
else if (e[0] === "o" && e[1] === "n")
|
|
342
|
+
i = e !== (e = e.replace(/(PointerCapture)$|Capture$/i, "$1")), e = e.toLowerCase() in t || e === "onFocusOut" || e === "onFocusIn" ? e.toLowerCase().slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + i] = n, n ? _ ? n.u = _.u : (n.u = te, t.addEventListener(e, i ? Gt : Kt, i)) : t.removeEventListener(e, i ? Gt : Kt, i);
|
|
343
|
+
else {
|
|
344
|
+
if (o == "http://www.w3.org/2000/svg")
|
|
345
|
+
e = e.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
|
346
|
+
else if (e != "width" && e != "height" && e != "href" && e != "list" && e != "form" && e != "tabIndex" && e != "download" && e != "rowSpan" && e != "colSpan" && e != "role" && e != "popover" && e in t)
|
|
347
|
+
try {
|
|
348
|
+
t[e] = n ?? "";
|
|
349
|
+
break t;
|
|
350
|
+
} catch {
|
|
351
|
+
}
|
|
352
|
+
typeof n == "function" || (n == null || n === !1 && e[4] !== "-" ? t.removeAttribute(e) : t.setAttribute(e, e == "popover" && n == 1 ? "" : n));
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
function Re(t) {
|
|
356
|
+
return function(e) {
|
|
357
|
+
if (this.l) {
|
|
358
|
+
var n = this.l[e.type + t];
|
|
359
|
+
if (e.t == null)
|
|
360
|
+
e.t = te++;
|
|
361
|
+
else if (e.t < n.u)
|
|
362
|
+
return;
|
|
363
|
+
return n(m.event ? m.event(e) : e);
|
|
364
|
+
}
|
|
365
|
+
};
|
|
366
|
+
}
|
|
367
|
+
function ee(t, e, n, _, o, i, c, u, a, l) {
|
|
368
|
+
var h, r, f, s, b, k, g, p, v, z, S, E, C, F, P, q, w = e.type;
|
|
369
|
+
if (e.constructor !== void 0)
|
|
370
|
+
return null;
|
|
371
|
+
128 & n.__u && (a = !!(32 & n.__u), i = [u = e.__e = n.__e]), (h = m.__b) && h(e);
|
|
372
|
+
t:
|
|
373
|
+
if (typeof w == "function")
|
|
374
|
+
try {
|
|
375
|
+
if (p = e.props, v = "prototype" in w && w.prototype.render, z = (h = w.contextType) && _[h.__c], S = h ? z ? z.props.value : h.__ : _, n.__c ? g = (r = e.__c = n.__c).__ = r.__E : (v ? e.__c = r = new w(p, S) : (e.__c = r = new A(p, S), r.constructor = w, r.render = Fn), z && z.sub(r), r.props = p, r.state || (r.state = {}), r.context = S, r.__n = _, f = r.__d = !0, r.__h = [], r._sb = []), v && r.__s == null && (r.__s = r.state), v && w.getDerivedStateFromProps != null && (r.__s == r.state && (r.__s = x({}, r.__s)), x(r.__s, w.getDerivedStateFromProps(p, r.__s))), s = r.props, b = r.state, r.__v = e, f)
|
|
376
|
+
v && w.getDerivedStateFromProps == null && r.componentWillMount != null && r.componentWillMount(), v && r.componentDidMount != null && r.__h.push(r.componentDidMount);
|
|
377
|
+
else {
|
|
378
|
+
if (v && w.getDerivedStateFromProps == null && p !== s && r.componentWillReceiveProps != null && r.componentWillReceiveProps(p, S), !r.__e && (r.shouldComponentUpdate != null && r.shouldComponentUpdate(p, r.__s, S) === !1 || e.__v === n.__v)) {
|
|
379
|
+
for (e.__v !== n.__v && (r.props = p, r.state = r.__s, r.__d = !1), e.__e = n.__e, e.__k = n.__k, e.__k.forEach(function(H) {
|
|
380
|
+
H && (H.__ = e);
|
|
381
|
+
}), E = 0; E < r._sb.length; E++)
|
|
382
|
+
r.__h.push(r._sb[E]);
|
|
383
|
+
r._sb = [], r.__h.length && c.push(r);
|
|
384
|
+
break t;
|
|
385
|
+
}
|
|
386
|
+
r.componentWillUpdate != null && r.componentWillUpdate(p, r.__s, S), v && r.componentDidUpdate != null && r.__h.push(function() {
|
|
387
|
+
r.componentDidUpdate(s, b, k);
|
|
388
|
+
});
|
|
389
|
+
}
|
|
390
|
+
if (r.context = S, r.props = p, r.__P = t, r.__e = !1, C = m.__r, F = 0, v) {
|
|
391
|
+
for (r.state = r.__s, r.__d = !1, C && C(e), h = r.render(r.props, r.state, r.context), P = 0; P < r._sb.length; P++)
|
|
392
|
+
r.__h.push(r._sb[P]);
|
|
393
|
+
r._sb = [];
|
|
394
|
+
} else
|
|
395
|
+
do
|
|
396
|
+
r.__d = !1, C && C(e), h = r.render(r.props, r.state, r.context), r.state = r.__s;
|
|
397
|
+
while (r.__d && ++F < 25);
|
|
398
|
+
r.state = r.__s, r.getChildContext != null && (_ = x(x({}, _), r.getChildContext())), v && !f && r.getSnapshotBeforeUpdate != null && (k = r.getSnapshotBeforeUpdate(s, b)), hn(t, G(q = h != null && h.type === j && h.key == null ? h.props.children : h) ? q : [q], e, n, _, o, i, c, u, a, l), r.base = e.__e, e.__u &= -161, r.__h.length && c.push(r), g && (r.__E = r.__ = null);
|
|
399
|
+
} catch (H) {
|
|
400
|
+
if (e.__v = null, a || i != null) {
|
|
401
|
+
for (e.__u |= a ? 160 : 32; u && u.nodeType === 8 && u.nextSibling; )
|
|
402
|
+
u = u.nextSibling;
|
|
403
|
+
i[i.indexOf(u)] = null, e.__e = u;
|
|
404
|
+
} else
|
|
405
|
+
e.__e = n.__e, e.__k = n.__k;
|
|
406
|
+
m.__e(H, e, n);
|
|
407
|
+
}
|
|
408
|
+
else
|
|
409
|
+
i == null && e.__v === n.__v ? (e.__k = n.__k, e.__e = n.__e) : e.__e = Bn(n.__e, e, n, _, o, i, c, a, l);
|
|
410
|
+
(h = m.diffed) && h(e);
|
|
411
|
+
}
|
|
412
|
+
function vn(t, e, n) {
|
|
413
|
+
e.__d = void 0;
|
|
414
|
+
for (var _ = 0; _ < n.length; _++)
|
|
415
|
+
ne(n[_], n[++_], n[++_]);
|
|
416
|
+
m.__c && m.__c(e, t), t.some(function(o) {
|
|
417
|
+
try {
|
|
418
|
+
t = o.__h, o.__h = [], t.some(function(i) {
|
|
419
|
+
i.call(o);
|
|
420
|
+
});
|
|
421
|
+
} catch (i) {
|
|
422
|
+
m.__e(i, o.__v);
|
|
423
|
+
}
|
|
424
|
+
});
|
|
425
|
+
}
|
|
426
|
+
function Bn(t, e, n, _, o, i, c, u, a) {
|
|
427
|
+
var l, h, r, f, s, b, k, g = n.props, p = e.props, v = e.type;
|
|
428
|
+
if (v === "svg" ? o = "http://www.w3.org/2000/svg" : v === "math" ? o = "http://www.w3.org/1998/Math/MathML" : o || (o = "http://www.w3.org/1999/xhtml"), i != null) {
|
|
429
|
+
for (l = 0; l < i.length; l++)
|
|
430
|
+
if ((s = i[l]) && "setAttribute" in s == !!v && (v ? s.localName === v : s.nodeType === 3)) {
|
|
431
|
+
t = s, i[l] = null;
|
|
432
|
+
break;
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
if (t == null) {
|
|
436
|
+
if (v === null)
|
|
437
|
+
return document.createTextNode(p);
|
|
438
|
+
t = document.createElementNS(o, v, p.is && p), i = null, u = !1;
|
|
439
|
+
}
|
|
440
|
+
if (v === null)
|
|
441
|
+
g === p || u && t.data === p || (t.data = p);
|
|
442
|
+
else {
|
|
443
|
+
if (i = i && W.call(t.childNodes), g = n.props || O, !u && i != null)
|
|
444
|
+
for (g = {}, l = 0; l < t.attributes.length; l++)
|
|
445
|
+
g[(s = t.attributes[l]).name] = s.value;
|
|
446
|
+
for (l in g)
|
|
447
|
+
if (s = g[l], l != "children") {
|
|
448
|
+
if (l == "dangerouslySetInnerHTML")
|
|
449
|
+
r = s;
|
|
450
|
+
else if (l !== "key" && !(l in p)) {
|
|
451
|
+
if (l == "value" && "defaultValue" in p || l == "checked" && "defaultChecked" in p)
|
|
452
|
+
continue;
|
|
453
|
+
I(t, l, null, s, o);
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
for (l in p)
|
|
457
|
+
s = p[l], l == "children" ? f = s : l == "dangerouslySetInnerHTML" ? h = s : l == "value" ? b = s : l == "checked" ? k = s : l === "key" || u && typeof s != "function" || g[l] === s || I(t, l, s, g[l], o);
|
|
458
|
+
if (h)
|
|
459
|
+
u || r && (h.__html === r.__html || h.__html === t.innerHTML) || (t.innerHTML = h.__html), e.__k = [];
|
|
460
|
+
else if (r && (t.innerHTML = ""), hn(t, G(f) ? f : [f], e, n, _, v === "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, i, c, i ? i[0] : n.__k && N(n, 0), u, a), i != null)
|
|
461
|
+
for (l = i.length; l--; )
|
|
462
|
+
i[l] != null && fn(i[l]);
|
|
463
|
+
u || (l = "value", b !== void 0 && (b !== t[l] || v === "progress" && !b || v === "option" && b !== g[l]) && I(t, l, b, g[l], o), l = "checked", k !== void 0 && k !== t[l] && I(t, l, k, g[l], o));
|
|
464
|
+
}
|
|
465
|
+
return t;
|
|
466
|
+
}
|
|
467
|
+
function ne(t, e, n) {
|
|
468
|
+
try {
|
|
469
|
+
if (typeof t == "function") {
|
|
470
|
+
var _ = typeof t.__u == "function";
|
|
471
|
+
_ && t.__u(), _ && e == null || (t.__u = t(e));
|
|
472
|
+
} else
|
|
473
|
+
t.current = e;
|
|
474
|
+
} catch (o) {
|
|
475
|
+
m.__e(o, n);
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
function Xt(t, e, n) {
|
|
479
|
+
var _, o;
|
|
480
|
+
if (m.unmount && m.unmount(t), (_ = t.ref) && (_.current && _.current !== t.__e || ne(_, null, e)), (_ = t.__c) != null) {
|
|
481
|
+
if (_.componentWillUnmount)
|
|
482
|
+
try {
|
|
483
|
+
_.componentWillUnmount();
|
|
484
|
+
} catch (i) {
|
|
485
|
+
m.__e(i, e);
|
|
486
|
+
}
|
|
487
|
+
_.base = _.__P = null;
|
|
488
|
+
}
|
|
489
|
+
if (_ = t.__k)
|
|
490
|
+
for (o = 0; o < _.length; o++)
|
|
491
|
+
_[o] && Xt(_[o], e, n || typeof t.type != "function");
|
|
492
|
+
n || t.__e == null || fn(t.__e), t.__c = t.__ = t.__e = t.__d = void 0;
|
|
493
|
+
}
|
|
494
|
+
function Fn(t, e, n) {
|
|
495
|
+
return this.constructor(t, n);
|
|
496
|
+
}
|
|
497
|
+
function mn(t, e, n) {
|
|
498
|
+
var _, o, i, c;
|
|
499
|
+
m.__ && m.__(t, e), o = (_ = typeof n == "function") ? null : n && n.__k || e.__k, i = [], c = [], ee(e, t = (!_ && n || e).__k = Jt(j, null, [t]), o || O, O, e.namespaceURI, !_ && n ? [n] : o ? null : e.firstChild ? W.call(e.childNodes) : null, i, !_ && n ? n : o ? o.__e : e.firstChild, _, c), vn(i, t, c);
|
|
500
|
+
}
|
|
501
|
+
function yn(t, e) {
|
|
502
|
+
mn(t, e, yn);
|
|
503
|
+
}
|
|
504
|
+
function Mn(t, e, n) {
|
|
505
|
+
var _, o, i, c, u = x({}, t.props);
|
|
506
|
+
for (i in t.type && t.type.defaultProps && (c = t.type.defaultProps), e)
|
|
507
|
+
i == "key" ? _ = e[i] : i == "ref" ? o = e[i] : u[i] = e[i] === void 0 && c !== void 0 ? c[i] : e[i];
|
|
508
|
+
return arguments.length > 2 && (u.children = arguments.length > 3 ? W.call(arguments, 2) : n), M(t.type, u, _ || t.key, o || t.ref, null);
|
|
509
|
+
}
|
|
510
|
+
function An(t, e) {
|
|
511
|
+
var n = { __c: e = "__cC" + un++, __: t, Consumer: function(_, o) {
|
|
512
|
+
return _.children(o);
|
|
513
|
+
}, Provider: function(_) {
|
|
514
|
+
var o, i;
|
|
515
|
+
return this.getChildContext || (o = [], (i = {})[e] = this, this.getChildContext = function() {
|
|
516
|
+
return i;
|
|
517
|
+
}, this.componentWillUnmount = function() {
|
|
518
|
+
o = null;
|
|
519
|
+
}, this.shouldComponentUpdate = function(c) {
|
|
520
|
+
this.props.value !== c.value && o.some(function(u) {
|
|
521
|
+
u.__e = !0, Qt(u);
|
|
522
|
+
});
|
|
523
|
+
}, this.sub = function(c) {
|
|
524
|
+
o.push(c);
|
|
525
|
+
var u = c.componentWillUnmount;
|
|
526
|
+
c.componentWillUnmount = function() {
|
|
527
|
+
o && o.splice(o.indexOf(c), 1), u && u.call(c);
|
|
528
|
+
};
|
|
529
|
+
}), _.children;
|
|
530
|
+
} };
|
|
531
|
+
return n.Provider.__ = n.Consumer.contextType = n;
|
|
532
|
+
}
|
|
533
|
+
W = ln.slice, m = { __e: function(t, e, n, _) {
|
|
534
|
+
for (var o, i, c; e = e.__; )
|
|
535
|
+
if ((o = e.__c) && !o.__)
|
|
536
|
+
try {
|
|
537
|
+
if ((i = o.constructor) && i.getDerivedStateFromError != null && (o.setState(i.getDerivedStateFromError(t)), c = o.__d), o.componentDidCatch != null && (o.componentDidCatch(t, _ || {}), c = o.__d), c)
|
|
538
|
+
return o.__E = o;
|
|
539
|
+
} catch (u) {
|
|
540
|
+
t = u;
|
|
541
|
+
}
|
|
542
|
+
throw t;
|
|
543
|
+
} }, rn = 0, sn = function(t) {
|
|
544
|
+
return t != null && t.constructor == null;
|
|
545
|
+
}, A.prototype.setState = function(t, e) {
|
|
546
|
+
var n;
|
|
547
|
+
n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = x({}, this.state), typeof t == "function" && (t = t(x({}, n), this.props)), t && x(n, t), t != null && this.__v && (e && this._sb.push(e), Qt(this));
|
|
548
|
+
}, A.prototype.forceUpdate = function(t) {
|
|
549
|
+
this.__v && (this.__e = !0, t && this.__h.push(t), Qt(this));
|
|
550
|
+
}, A.prototype.render = j, T = [], cn = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Vt = function(t, e) {
|
|
551
|
+
return t.__v.__b - e.__v.__b;
|
|
552
|
+
}, K.__r = 0, te = 0, Kt = Re(!1), Gt = Re(!0), un = 0;
|
|
553
|
+
const On = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
554
|
+
__proto__: null,
|
|
555
|
+
Component: A,
|
|
556
|
+
Fragment: j,
|
|
557
|
+
cloneElement: Mn,
|
|
558
|
+
createContext: An,
|
|
559
|
+
createElement: Jt,
|
|
560
|
+
createRef: Un,
|
|
561
|
+
h: Jt,
|
|
562
|
+
hydrate: yn,
|
|
563
|
+
get isValidElement() {
|
|
564
|
+
return sn;
|
|
565
|
+
},
|
|
566
|
+
get options() {
|
|
567
|
+
return m;
|
|
568
|
+
},
|
|
569
|
+
render: mn,
|
|
570
|
+
toChildArray: dn
|
|
571
|
+
}, Symbol.toStringTag, { value: "Module" })), n_ = /* @__PURE__ */ Zt(On);
|
|
572
|
+
var $, d, Rt, Ve, L = 0, gn = [], y = m, Ke = y.__b, Ge = y.__r, Je = y.diffed, Qe = y.__c, Xe = y.unmount, Ye = y.__;
|
|
573
|
+
function U(t, e) {
|
|
574
|
+
y.__h && y.__h(d, t, L || e), L = 0;
|
|
575
|
+
var n = d.__H || (d.__H = { __: [], __h: [] });
|
|
576
|
+
return t >= n.__.length && n.__.push({}), n.__[t];
|
|
577
|
+
}
|
|
578
|
+
function bn(t) {
|
|
579
|
+
return L = 1, kn(Sn, t);
|
|
580
|
+
}
|
|
581
|
+
function kn(t, e, n) {
|
|
582
|
+
var _ = U($++, 2);
|
|
583
|
+
if (_.t = t, !_.__c && (_.__ = [n ? n(e) : Sn(void 0, e), function(u) {
|
|
584
|
+
var a = _.__N ? _.__N[0] : _.__[0], l = _.t(a, u);
|
|
585
|
+
a !== l && (_.__N = [l, _.__[1]], _.__c.setState({}));
|
|
586
|
+
}], _.__c = d, !d.u)) {
|
|
587
|
+
var o = function(u, a, l) {
|
|
588
|
+
if (!_.__c.__H)
|
|
589
|
+
return !0;
|
|
590
|
+
var h = _.__c.__H.__.filter(function(f) {
|
|
591
|
+
return !!f.__c;
|
|
592
|
+
});
|
|
593
|
+
if (h.every(function(f) {
|
|
594
|
+
return !f.__N;
|
|
595
|
+
}))
|
|
596
|
+
return !i || i.call(this, u, a, l);
|
|
597
|
+
var r = !1;
|
|
598
|
+
return h.forEach(function(f) {
|
|
599
|
+
if (f.__N) {
|
|
600
|
+
var s = f.__[0];
|
|
601
|
+
f.__ = f.__N, f.__N = void 0, s !== f.__[0] && (r = !0);
|
|
602
|
+
}
|
|
603
|
+
}), !(!r && _.__c.props === u) && (!i || i.call(this, u, a, l));
|
|
604
|
+
};
|
|
605
|
+
d.u = !0;
|
|
606
|
+
var i = d.shouldComponentUpdate, c = d.componentWillUpdate;
|
|
607
|
+
d.componentWillUpdate = function(u, a, l) {
|
|
608
|
+
if (this.__e) {
|
|
609
|
+
var h = i;
|
|
610
|
+
i = void 0, o(u, a, l), i = h;
|
|
611
|
+
}
|
|
612
|
+
c && c.call(this, u, a, l);
|
|
613
|
+
}, d.shouldComponentUpdate = o;
|
|
614
|
+
}
|
|
615
|
+
return _.__N || _.__;
|
|
616
|
+
}
|
|
617
|
+
function Wn(t, e) {
|
|
618
|
+
var n = U($++, 3);
|
|
619
|
+
!y.__s && oe(n.__H, e) && (n.__ = t, n.i = e, d.__H.__h.push(n));
|
|
620
|
+
}
|
|
621
|
+
function wn(t, e) {
|
|
622
|
+
var n = U($++, 4);
|
|
623
|
+
!y.__s && oe(n.__H, e) && (n.__ = t, n.i = e, d.__h.push(n));
|
|
624
|
+
}
|
|
625
|
+
function jn(t) {
|
|
626
|
+
return L = 5, _e(function() {
|
|
627
|
+
return { current: t };
|
|
628
|
+
}, []);
|
|
629
|
+
}
|
|
630
|
+
function In(t, e, n) {
|
|
631
|
+
L = 6, wn(function() {
|
|
632
|
+
return typeof t == "function" ? (t(e()), function() {
|
|
633
|
+
return t(null);
|
|
634
|
+
}) : t ? (t.current = e(), function() {
|
|
635
|
+
return t.current = null;
|
|
636
|
+
}) : void 0;
|
|
637
|
+
}, n == null ? n : n.concat(t));
|
|
638
|
+
}
|
|
639
|
+
function _e(t, e) {
|
|
640
|
+
var n = U($++, 7);
|
|
641
|
+
return oe(n.__H, e) && (n.__ = t(), n.__H = e, n.__h = t), n.__;
|
|
642
|
+
}
|
|
643
|
+
function Rn(t, e) {
|
|
644
|
+
return L = 8, _e(function() {
|
|
645
|
+
return t;
|
|
646
|
+
}, e);
|
|
647
|
+
}
|
|
648
|
+
function Vn(t) {
|
|
649
|
+
var e = d.context[t.__c], n = U($++, 9);
|
|
650
|
+
return n.c = t, e ? (n.__ == null && (n.__ = !0, e.sub(d)), e.props.value) : t.__;
|
|
651
|
+
}
|
|
652
|
+
function Kn(t, e) {
|
|
653
|
+
y.useDebugValue && y.useDebugValue(e ? e(t) : t);
|
|
654
|
+
}
|
|
655
|
+
function Gn(t) {
|
|
656
|
+
var e = U($++, 10), n = bn();
|
|
657
|
+
return e.__ = t, d.componentDidCatch || (d.componentDidCatch = function(_, o) {
|
|
658
|
+
e.__ && e.__(_, o), n[1](_);
|
|
659
|
+
}), [n[0], function() {
|
|
660
|
+
n[1](void 0);
|
|
661
|
+
}];
|
|
662
|
+
}
|
|
663
|
+
function Jn() {
|
|
664
|
+
var t = U($++, 11);
|
|
665
|
+
if (!t.__) {
|
|
666
|
+
for (var e = d.__v; e !== null && !e.__m && e.__ !== null; )
|
|
667
|
+
e = e.__;
|
|
668
|
+
var n = e.__m || (e.__m = [0, 0]);
|
|
669
|
+
t.__ = "P" + n[0] + "-" + n[1]++;
|
|
670
|
+
}
|
|
671
|
+
return t.__;
|
|
672
|
+
}
|
|
673
|
+
function Qn() {
|
|
674
|
+
for (var t; t = gn.shift(); )
|
|
675
|
+
if (t.__P && t.__H)
|
|
676
|
+
try {
|
|
677
|
+
t.__H.__h.forEach(R), t.__H.__h.forEach(Yt), t.__H.__h = [];
|
|
678
|
+
} catch (e) {
|
|
679
|
+
t.__H.__h = [], y.__e(e, t.__v);
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
y.__b = function(t) {
|
|
683
|
+
d = null, Ke && Ke(t);
|
|
684
|
+
}, y.__ = function(t, e) {
|
|
685
|
+
t && e.__k && e.__k.__m && (t.__m = e.__k.__m), Ye && Ye(t, e);
|
|
686
|
+
}, y.__r = function(t) {
|
|
687
|
+
Ge && Ge(t), $ = 0;
|
|
688
|
+
var e = (d = t.__c).__H;
|
|
689
|
+
e && (Rt === d ? (e.__h = [], d.__h = [], e.__.forEach(function(n) {
|
|
690
|
+
n.__N && (n.__ = n.__N), n.i = n.__N = void 0;
|
|
691
|
+
})) : (e.__h.forEach(R), e.__h.forEach(Yt), e.__h = [], $ = 0)), Rt = d;
|
|
692
|
+
}, y.diffed = function(t) {
|
|
693
|
+
Je && Je(t);
|
|
694
|
+
var e = t.__c;
|
|
695
|
+
e && e.__H && (e.__H.__h.length && (gn.push(e) !== 1 && Ve === y.requestAnimationFrame || ((Ve = y.requestAnimationFrame) || Xn)(Qn)), e.__H.__.forEach(function(n) {
|
|
696
|
+
n.i && (n.__H = n.i), n.i = void 0;
|
|
697
|
+
})), Rt = d = null;
|
|
698
|
+
}, y.__c = function(t, e) {
|
|
699
|
+
e.some(function(n) {
|
|
700
|
+
try {
|
|
701
|
+
n.__h.forEach(R), n.__h = n.__h.filter(function(_) {
|
|
702
|
+
return !_.__ || Yt(_);
|
|
703
|
+
});
|
|
704
|
+
} catch (_) {
|
|
705
|
+
e.some(function(o) {
|
|
706
|
+
o.__h && (o.__h = []);
|
|
707
|
+
}), e = [], y.__e(_, n.__v);
|
|
708
|
+
}
|
|
709
|
+
}), Qe && Qe(t, e);
|
|
710
|
+
}, y.unmount = function(t) {
|
|
711
|
+
Xe && Xe(t);
|
|
712
|
+
var e, n = t.__c;
|
|
713
|
+
n && n.__H && (n.__H.__.forEach(function(_) {
|
|
714
|
+
try {
|
|
715
|
+
R(_);
|
|
716
|
+
} catch (o) {
|
|
717
|
+
e = o;
|
|
718
|
+
}
|
|
719
|
+
}), n.__H = void 0, e && y.__e(e, n.__v));
|
|
720
|
+
};
|
|
721
|
+
var Ze = typeof requestAnimationFrame == "function";
|
|
722
|
+
function Xn(t) {
|
|
723
|
+
var e, n = function() {
|
|
724
|
+
clearTimeout(_), Ze && cancelAnimationFrame(e), setTimeout(t);
|
|
725
|
+
}, _ = setTimeout(n, 100);
|
|
726
|
+
Ze && (e = requestAnimationFrame(n));
|
|
727
|
+
}
|
|
728
|
+
function R(t) {
|
|
729
|
+
var e = d, n = t.__c;
|
|
730
|
+
typeof n == "function" && (t.__c = void 0, n()), d = e;
|
|
731
|
+
}
|
|
732
|
+
function Yt(t) {
|
|
733
|
+
var e = d;
|
|
734
|
+
t.__c = t.__(), d = e;
|
|
735
|
+
}
|
|
736
|
+
function oe(t, e) {
|
|
737
|
+
return !t || t.length !== e.length || e.some(function(n, _) {
|
|
738
|
+
return n !== t[_];
|
|
739
|
+
});
|
|
740
|
+
}
|
|
741
|
+
function Sn(t, e) {
|
|
742
|
+
return typeof e == "function" ? e(t) : e;
|
|
743
|
+
}
|
|
744
|
+
const Yn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
745
|
+
__proto__: null,
|
|
746
|
+
useCallback: Rn,
|
|
747
|
+
useContext: Vn,
|
|
748
|
+
useDebugValue: Kn,
|
|
749
|
+
useEffect: Wn,
|
|
750
|
+
useErrorBoundary: Gn,
|
|
751
|
+
useId: Jn,
|
|
752
|
+
useImperativeHandle: In,
|
|
753
|
+
useLayoutEffect: wn,
|
|
754
|
+
useMemo: _e,
|
|
755
|
+
useReducer: kn,
|
|
756
|
+
useRef: jn,
|
|
757
|
+
useState: bn
|
|
758
|
+
}, Symbol.toStringTag, { value: "Module" })), __ = /* @__PURE__ */ Zt(Yn);
|
|
759
|
+
export {
|
|
760
|
+
n_ as a,
|
|
761
|
+
__ as b,
|
|
762
|
+
t_ as j,
|
|
763
|
+
e_ as r
|
|
764
|
+
};
|