seitu 0.2.0 → 0.2.1

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/dist/react.js CHANGED
@@ -1,1783 +1,267 @@
1
1
  import * as e from "react";
2
- var t = Object.create, n = Object.defineProperty, r = Object.getOwnPropertyDescriptor, i = Object.getOwnPropertyNames, a = Object.getPrototypeOf, o = Object.prototype.hasOwnProperty, s = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), c = (e, t, a, s) => {
3
- if (t && typeof t == "object" || typeof t == "function") for (var c = i(t), l = 0, u = c.length, d; l < u; l++) d = c[l], !o.call(e, d) && d !== a && n(e, d, {
4
- get: ((e) => t[e]).bind(null, d),
5
- enumerable: !(s = r(t, d)) || s.enumerable
6
- });
7
- return e;
8
- }, l = (e, r, i) => (i = e == null ? {} : t(a(e)), c(r || !e || !e.__esModule ? n(i, "default", {
9
- value: e,
10
- enumerable: !0
11
- }) : i, e)), u = s(((e, t) => {
12
- var n = Object.prototype.toString;
13
- t.exports = function(e) {
14
- var t = n.call(e), r = t === "[object Arguments]";
15
- return r ||= t !== "[object Array]" && typeof e == "object" && !!e && typeof e.length == "number" && e.length >= 0 && n.call(e.callee) === "[object Function]", r;
16
- };
17
- })), d = s(((e, t) => {
18
- var n;
19
- if (!Object.keys) {
20
- var r = Object.prototype.hasOwnProperty, i = Object.prototype.toString, a = u(), o = Object.prototype.propertyIsEnumerable, s = !o.call({ toString: null }, "toString"), c = o.call(function() {}, "prototype"), l = [
21
- "toString",
22
- "toLocaleString",
23
- "valueOf",
24
- "hasOwnProperty",
25
- "isPrototypeOf",
26
- "propertyIsEnumerable",
27
- "constructor"
28
- ], d = function(e) {
29
- var t = e.constructor;
30
- return t && t.prototype === e;
31
- }, f = {
32
- $applicationCache: !0,
33
- $console: !0,
34
- $external: !0,
35
- $frame: !0,
36
- $frameElement: !0,
37
- $frames: !0,
38
- $innerHeight: !0,
39
- $innerWidth: !0,
40
- $onmozfullscreenchange: !0,
41
- $onmozfullscreenerror: !0,
42
- $outerHeight: !0,
43
- $outerWidth: !0,
44
- $pageXOffset: !0,
45
- $pageYOffset: !0,
46
- $parent: !0,
47
- $scrollLeft: !0,
48
- $scrollTop: !0,
49
- $scrollX: !0,
50
- $scrollY: !0,
51
- $self: !0,
52
- $webkitIndexedDB: !0,
53
- $webkitStorageInfo: !0,
54
- $window: !0
55
- }, p = function() {
56
- if (typeof window > "u") return !1;
57
- for (var e in window) try {
58
- if (!f["$" + e] && r.call(window, e) && window[e] !== null && typeof window[e] == "object") try {
59
- d(window[e]);
60
- } catch {
61
- return !0;
62
- }
63
- } catch {
64
- return !0;
65
- }
66
- return !1;
67
- }(), m = function(e) {
68
- if (typeof window > "u" || !p) return d(e);
69
- try {
70
- return d(e);
71
- } catch {
72
- return !1;
73
- }
74
- };
75
- n = function(e) {
76
- var t = typeof e == "object" && !!e, n = i.call(e) === "[object Function]", o = a(e), u = t && i.call(e) === "[object String]", d = [];
77
- if (!t && !n && !o) throw TypeError("Object.keys called on a non-object");
78
- var f = c && n;
79
- if (u && e.length > 0 && !r.call(e, 0)) for (var p = 0; p < e.length; ++p) d.push(String(p));
80
- if (o && e.length > 0) for (var h = 0; h < e.length; ++h) d.push(String(h));
81
- else for (var g in e) !(f && g === "prototype") && r.call(e, g) && d.push(String(g));
82
- if (s) for (var _ = m(e), v = 0; v < l.length; ++v) !(_ && l[v] === "constructor") && r.call(e, l[v]) && d.push(l[v]);
83
- return d;
84
- };
85
- }
86
- t.exports = n;
87
- })), f = s(((e, t) => {
88
- var n = Array.prototype.slice, r = u(), i = Object.keys, a = i ? function(e) {
89
- return i(e);
90
- } : d(), o = Object.keys;
91
- a.shim = function() {
92
- return Object.keys ? function() {
93
- var e = Object.keys(arguments);
94
- return e && e.length === arguments.length;
95
- }(1, 2) || (Object.keys = function(e) {
96
- return r(e) ? o(n.call(e)) : o(e);
97
- }) : Object.keys = a, Object.keys || a;
98
- }, t.exports = a;
99
- })), p = s(((e, t) => {
100
- var n = Object.defineProperty || !1;
101
- if (n) try {
102
- n({}, "a", { value: 1 });
103
- } catch {
104
- n = !1;
105
- }
106
- t.exports = n;
107
- })), m = s(((e, t) => {
108
- t.exports = SyntaxError;
109
- })), h = s(((e, t) => {
110
- t.exports = TypeError;
111
- })), g = s(((e, t) => {
112
- t.exports = Object.getOwnPropertyDescriptor;
113
- })), _ = s(((e, t) => {
114
- var n = g();
115
- if (n) try {
116
- n([], "length");
117
- } catch {
118
- n = null;
119
- }
120
- t.exports = n;
121
- })), v = s(((e, t) => {
122
- var n = p(), r = m(), i = h(), a = _();
123
- t.exports = function(e, t, o) {
124
- if (!e || typeof e != "object" && typeof e != "function") throw new i("`obj` must be an object or a function`");
125
- if (typeof t != "string" && typeof t != "symbol") throw new i("`property` must be a string or a symbol`");
126
- if (arguments.length > 3 && typeof arguments[3] != "boolean" && arguments[3] !== null) throw new i("`nonEnumerable`, if provided, must be a boolean or null");
127
- if (arguments.length > 4 && typeof arguments[4] != "boolean" && arguments[4] !== null) throw new i("`nonWritable`, if provided, must be a boolean or null");
128
- if (arguments.length > 5 && typeof arguments[5] != "boolean" && arguments[5] !== null) throw new i("`nonConfigurable`, if provided, must be a boolean or null");
129
- if (arguments.length > 6 && typeof arguments[6] != "boolean") throw new i("`loose`, if provided, must be a boolean");
130
- var s = arguments.length > 3 ? arguments[3] : null, c = arguments.length > 4 ? arguments[4] : null, l = arguments.length > 5 ? arguments[5] : null, u = arguments.length > 6 ? arguments[6] : !1, d = !!a && a(e, t);
131
- if (n) n(e, t, {
132
- configurable: l === null && d ? d.configurable : !l,
133
- enumerable: s === null && d ? d.enumerable : !s,
134
- value: o,
135
- writable: c === null && d ? d.writable : !c
136
- });
137
- else if (u || !s && !c && !l) e[t] = o;
138
- else throw new r("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
139
- };
140
- })), y = s(((e, t) => {
141
- var n = p(), r = function() {
142
- return !!n;
143
- };
144
- r.hasArrayLengthDefineBug = function() {
145
- if (!n) return null;
146
- try {
147
- return n([], "length", { value: 1 }).length !== 1;
148
- } catch {
149
- return !0;
150
- }
151
- }, t.exports = r;
152
- })), b = s(((e, t) => {
153
- var n = f(), r = typeof Symbol == "function" && typeof Symbol("foo") == "symbol", i = Object.prototype.toString, a = Array.prototype.concat, o = v(), s = function(e) {
154
- return typeof e == "function" && i.call(e) === "[object Function]";
155
- }, c = y()(), l = function(e, t, n, r) {
156
- if (t in e) {
157
- if (r === !0) {
158
- if (e[t] === n) return;
159
- } else if (!s(r) || !r()) return;
160
- }
161
- c ? o(e, t, n, !0) : o(e, t, n);
162
- }, u = function(e, t) {
163
- var i = arguments.length > 2 ? arguments[2] : {}, o = n(t);
164
- r && (o = a.call(o, Object.getOwnPropertySymbols(t)));
165
- for (var s = 0; s < o.length; s += 1) l(e, o[s], t[o[s]], i[o[s]]);
166
- };
167
- u.supportsDescriptors = !!c, t.exports = u;
168
- })), x = s(((e, t) => {
169
- t.exports = Object;
170
- })), S = s(((e, t) => {
171
- t.exports = Error;
172
- })), C = s(((e, t) => {
173
- t.exports = EvalError;
174
- })), ee = s(((e, t) => {
175
- t.exports = RangeError;
176
- })), w = s(((e, t) => {
177
- t.exports = ReferenceError;
178
- })), T = s(((e, t) => {
179
- t.exports = URIError;
180
- })), E = s(((e, t) => {
181
- t.exports = Math.abs;
182
- })), D = s(((e, t) => {
183
- t.exports = Math.floor;
184
- })), O = s(((e, t) => {
185
- t.exports = Math.max;
186
- })), k = s(((e, t) => {
187
- t.exports = Math.min;
188
- })), A = s(((e, t) => {
189
- t.exports = Math.pow;
190
- })), j = s(((e, t) => {
191
- t.exports = Math.round;
192
- })), M = s(((e, t) => {
193
- t.exports = Number.isNaN || function(e) {
194
- return e !== e;
195
- };
196
- })), N = s(((e, t) => {
197
- var n = M();
198
- t.exports = function(e) {
199
- return n(e) || e === 0 ? e : e < 0 ? -1 : 1;
200
- };
201
- })), P = s(((e, t) => {
202
- t.exports = function() {
203
- if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") return !1;
204
- if (typeof Symbol.iterator == "symbol") return !0;
205
- var e = {}, t = Symbol("test"), n = Object(t);
206
- if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(n) !== "[object Symbol]") return !1;
207
- var r = 42;
208
- for (var i in e[t] = r, e) return !1;
209
- if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0) return !1;
210
- var a = Object.getOwnPropertySymbols(e);
211
- if (a.length !== 1 || a[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t)) return !1;
212
- if (typeof Object.getOwnPropertyDescriptor == "function") {
213
- var o = Object.getOwnPropertyDescriptor(e, t);
214
- if (o.value !== r || o.enumerable !== !0) return !1;
215
- }
216
- return !0;
217
- };
218
- })), F = s(((e, t) => {
219
- var n = typeof Symbol < "u" && Symbol, r = P();
220
- t.exports = function() {
221
- return typeof n != "function" || typeof Symbol != "function" || typeof n("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : r();
222
- };
223
- })), I = s(((e, t) => {
224
- t.exports = typeof Reflect < "u" && Reflect.getPrototypeOf || null;
225
- })), L = s(((e, t) => {
226
- t.exports = x().getPrototypeOf || null;
227
- })), R = s(((e, t) => {
228
- var n = "Function.prototype.bind called on incompatible ", r = Object.prototype.toString, i = Math.max, a = "[object Function]", o = function(e, t) {
229
- for (var n = [], r = 0; r < e.length; r += 1) n[r] = e[r];
230
- for (var i = 0; i < t.length; i += 1) n[i + e.length] = t[i];
231
- return n;
232
- }, s = function(e, t) {
233
- for (var n = [], r = t || 0, i = 0; r < e.length; r += 1, i += 1) n[i] = e[r];
234
- return n;
235
- }, c = function(e, t) {
236
- for (var n = "", r = 0; r < e.length; r += 1) n += e[r], r + 1 < e.length && (n += t);
237
- return n;
238
- };
239
- t.exports = function(e) {
240
- var t = this;
241
- if (typeof t != "function" || r.apply(t) !== a) throw TypeError(n + t);
242
- for (var l = s(arguments, 1), u, d = function() {
243
- if (this instanceof u) {
244
- var n = t.apply(this, o(l, arguments));
245
- return Object(n) === n ? n : this;
246
- }
247
- return t.apply(e, o(l, arguments));
248
- }, f = i(0, t.length - l.length), p = [], m = 0; m < f; m++) p[m] = "$" + m;
249
- if (u = Function("binder", "return function (" + c(p, ",") + "){ return binder.apply(this,arguments); }")(d), t.prototype) {
250
- var h = function() {};
251
- h.prototype = t.prototype, u.prototype = new h(), h.prototype = null;
252
- }
253
- return u;
254
- };
255
- })), z = s(((e, t) => {
256
- var n = R();
257
- t.exports = Function.prototype.bind || n;
258
- })), B = s(((e, t) => {
259
- t.exports = Function.prototype.call;
260
- })), V = s(((e, t) => {
261
- t.exports = Function.prototype.apply;
262
- })), H = s(((e, t) => {
263
- t.exports = typeof Reflect < "u" && Reflect && Reflect.apply;
264
- })), te = s(((e, t) => {
265
- var n = z(), r = V(), i = B();
266
- t.exports = H() || n.call(i, r);
267
- })), U = s(((e, t) => {
268
- var n = z(), r = h(), i = B(), a = te();
269
- t.exports = function(e) {
270
- if (e.length < 1 || typeof e[0] != "function") throw new r("a function is required");
271
- return a(n, i, e);
272
- };
273
- })), ne = s(((e, t) => {
274
- var n = U(), r = _(), i;
275
- try {
276
- i = [].__proto__ === Array.prototype;
277
- } catch (e) {
278
- if (!e || typeof e != "object" || !("code" in e) || e.code !== "ERR_PROTO_ACCESS") throw e;
279
- }
280
- var a = !!i && r && r(Object.prototype, "__proto__"), o = Object, s = o.getPrototypeOf;
281
- t.exports = a && typeof a.get == "function" ? n([a.get]) : typeof s == "function" ? function(e) {
282
- return s(e == null ? e : o(e));
283
- } : !1;
284
- })), re = s(((e, t) => {
285
- var n = I(), r = L(), i = ne();
286
- t.exports = n ? function(e) {
287
- return n(e);
288
- } : r ? function(e) {
289
- if (!e || typeof e != "object" && typeof e != "function") throw TypeError("getProto: not an object");
290
- return r(e);
291
- } : i ? function(e) {
292
- return i(e);
293
- } : null;
294
- })), ie = s(((e, t) => {
295
- var n = Function.prototype.call, r = Object.prototype.hasOwnProperty;
296
- t.exports = z().call(n, r);
297
- })), W = s(((e, t) => {
298
- var n, r = x(), i = S(), a = C(), o = ee(), s = w(), c = m(), l = h(), u = T(), d = E(), f = D(), g = O(), v = k(), y = A(), b = j(), M = N(), P = Function, R = function(e) {
299
- try {
300
- return P("\"use strict\"; return (" + e + ").constructor;")();
301
- } catch {}
302
- }, H = _(), te = p(), U = function() {
303
- throw new l();
304
- }, ne = H ? function() {
305
- try {
306
- return arguments.callee, U;
307
- } catch {
308
- try {
309
- return H(arguments, "callee").get;
310
- } catch {
311
- return U;
312
- }
313
- }
314
- }() : U, W = F()(), G = re(), ae = L(), K = I(), q = V(), J = B(), Y = {}, oe = typeof Uint8Array > "u" || !G ? n : G(Uint8Array), X = {
315
- __proto__: null,
316
- "%AggregateError%": typeof AggregateError > "u" ? n : AggregateError,
317
- "%Array%": Array,
318
- "%ArrayBuffer%": typeof ArrayBuffer > "u" ? n : ArrayBuffer,
319
- "%ArrayIteratorPrototype%": W && G ? G([][Symbol.iterator]()) : n,
320
- "%AsyncFromSyncIteratorPrototype%": n,
321
- "%AsyncFunction%": Y,
322
- "%AsyncGenerator%": Y,
323
- "%AsyncGeneratorFunction%": Y,
324
- "%AsyncIteratorPrototype%": Y,
325
- "%Atomics%": typeof Atomics > "u" ? n : Atomics,
326
- "%BigInt%": typeof BigInt > "u" ? n : BigInt,
327
- "%BigInt64Array%": typeof BigInt64Array > "u" ? n : BigInt64Array,
328
- "%BigUint64Array%": typeof BigUint64Array > "u" ? n : BigUint64Array,
329
- "%Boolean%": Boolean,
330
- "%DataView%": typeof DataView > "u" ? n : DataView,
331
- "%Date%": Date,
332
- "%decodeURI%": decodeURI,
333
- "%decodeURIComponent%": decodeURIComponent,
334
- "%encodeURI%": encodeURI,
335
- "%encodeURIComponent%": encodeURIComponent,
336
- "%Error%": i,
337
- "%eval%": eval,
338
- "%EvalError%": a,
339
- "%Float16Array%": typeof Float16Array > "u" ? n : Float16Array,
340
- "%Float32Array%": typeof Float32Array > "u" ? n : Float32Array,
341
- "%Float64Array%": typeof Float64Array > "u" ? n : Float64Array,
342
- "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? n : FinalizationRegistry,
343
- "%Function%": P,
344
- "%GeneratorFunction%": Y,
345
- "%Int8Array%": typeof Int8Array > "u" ? n : Int8Array,
346
- "%Int16Array%": typeof Int16Array > "u" ? n : Int16Array,
347
- "%Int32Array%": typeof Int32Array > "u" ? n : Int32Array,
348
- "%isFinite%": isFinite,
349
- "%isNaN%": isNaN,
350
- "%IteratorPrototype%": W && G ? G(G([][Symbol.iterator]())) : n,
351
- "%JSON%": typeof JSON == "object" ? JSON : n,
352
- "%Map%": typeof Map > "u" ? n : Map,
353
- "%MapIteratorPrototype%": typeof Map > "u" || !W || !G ? n : G(new Map()[Symbol.iterator]()),
354
- "%Math%": Math,
355
- "%Number%": Number,
356
- "%Object%": r,
357
- "%Object.getOwnPropertyDescriptor%": H,
358
- "%parseFloat%": parseFloat,
359
- "%parseInt%": parseInt,
360
- "%Promise%": typeof Promise > "u" ? n : Promise,
361
- "%Proxy%": typeof Proxy > "u" ? n : Proxy,
362
- "%RangeError%": o,
363
- "%ReferenceError%": s,
364
- "%Reflect%": typeof Reflect > "u" ? n : Reflect,
365
- "%RegExp%": RegExp,
366
- "%Set%": typeof Set > "u" ? n : Set,
367
- "%SetIteratorPrototype%": typeof Set > "u" || !W || !G ? n : G(new Set()[Symbol.iterator]()),
368
- "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? n : SharedArrayBuffer,
369
- "%String%": String,
370
- "%StringIteratorPrototype%": W && G ? G(""[Symbol.iterator]()) : n,
371
- "%Symbol%": W ? Symbol : n,
372
- "%SyntaxError%": c,
373
- "%ThrowTypeError%": ne,
374
- "%TypedArray%": oe,
375
- "%TypeError%": l,
376
- "%Uint8Array%": typeof Uint8Array > "u" ? n : Uint8Array,
377
- "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? n : Uint8ClampedArray,
378
- "%Uint16Array%": typeof Uint16Array > "u" ? n : Uint16Array,
379
- "%Uint32Array%": typeof Uint32Array > "u" ? n : Uint32Array,
380
- "%URIError%": u,
381
- "%WeakMap%": typeof WeakMap > "u" ? n : WeakMap,
382
- "%WeakRef%": typeof WeakRef > "u" ? n : WeakRef,
383
- "%WeakSet%": typeof WeakSet > "u" ? n : WeakSet,
384
- "%Function.prototype.call%": J,
385
- "%Function.prototype.apply%": q,
386
- "%Object.defineProperty%": te,
387
- "%Object.getPrototypeOf%": ae,
388
- "%Math.abs%": d,
389
- "%Math.floor%": f,
390
- "%Math.max%": g,
391
- "%Math.min%": v,
392
- "%Math.pow%": y,
393
- "%Math.round%": b,
394
- "%Math.sign%": M,
395
- "%Reflect.getPrototypeOf%": K
396
- };
397
- if (G) try {
398
- null.error;
399
- } catch (e) {
400
- X["%Error.prototype%"] = G(G(e));
401
- }
402
- var se = function e(t) {
403
- var n;
404
- if (t === "%AsyncFunction%") n = R("async function () {}");
405
- else if (t === "%GeneratorFunction%") n = R("function* () {}");
406
- else if (t === "%AsyncGeneratorFunction%") n = R("async function* () {}");
407
- else if (t === "%AsyncGenerator%") {
408
- var r = e("%AsyncGeneratorFunction%");
409
- r && (n = r.prototype);
410
- } else if (t === "%AsyncIteratorPrototype%") {
411
- var i = e("%AsyncGenerator%");
412
- i && G && (n = G(i.prototype));
413
- }
414
- return X[t] = n, n;
415
- }, ce = {
416
- __proto__: null,
417
- "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
418
- "%ArrayPrototype%": ["Array", "prototype"],
419
- "%ArrayProto_entries%": [
420
- "Array",
421
- "prototype",
422
- "entries"
423
- ],
424
- "%ArrayProto_forEach%": [
425
- "Array",
426
- "prototype",
427
- "forEach"
428
- ],
429
- "%ArrayProto_keys%": [
430
- "Array",
431
- "prototype",
432
- "keys"
433
- ],
434
- "%ArrayProto_values%": [
435
- "Array",
436
- "prototype",
437
- "values"
438
- ],
439
- "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
440
- "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
441
- "%AsyncGeneratorPrototype%": [
442
- "AsyncGeneratorFunction",
443
- "prototype",
444
- "prototype"
445
- ],
446
- "%BooleanPrototype%": ["Boolean", "prototype"],
447
- "%DataViewPrototype%": ["DataView", "prototype"],
448
- "%DatePrototype%": ["Date", "prototype"],
449
- "%ErrorPrototype%": ["Error", "prototype"],
450
- "%EvalErrorPrototype%": ["EvalError", "prototype"],
451
- "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
452
- "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
453
- "%FunctionPrototype%": ["Function", "prototype"],
454
- "%Generator%": ["GeneratorFunction", "prototype"],
455
- "%GeneratorPrototype%": [
456
- "GeneratorFunction",
457
- "prototype",
458
- "prototype"
459
- ],
460
- "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
461
- "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
462
- "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
463
- "%JSONParse%": ["JSON", "parse"],
464
- "%JSONStringify%": ["JSON", "stringify"],
465
- "%MapPrototype%": ["Map", "prototype"],
466
- "%NumberPrototype%": ["Number", "prototype"],
467
- "%ObjectPrototype%": ["Object", "prototype"],
468
- "%ObjProto_toString%": [
469
- "Object",
470
- "prototype",
471
- "toString"
472
- ],
473
- "%ObjProto_valueOf%": [
474
- "Object",
475
- "prototype",
476
- "valueOf"
477
- ],
478
- "%PromisePrototype%": ["Promise", "prototype"],
479
- "%PromiseProto_then%": [
480
- "Promise",
481
- "prototype",
482
- "then"
483
- ],
484
- "%Promise_all%": ["Promise", "all"],
485
- "%Promise_reject%": ["Promise", "reject"],
486
- "%Promise_resolve%": ["Promise", "resolve"],
487
- "%RangeErrorPrototype%": ["RangeError", "prototype"],
488
- "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
489
- "%RegExpPrototype%": ["RegExp", "prototype"],
490
- "%SetPrototype%": ["Set", "prototype"],
491
- "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
492
- "%StringPrototype%": ["String", "prototype"],
493
- "%SymbolPrototype%": ["Symbol", "prototype"],
494
- "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
495
- "%TypedArrayPrototype%": ["TypedArray", "prototype"],
496
- "%TypeErrorPrototype%": ["TypeError", "prototype"],
497
- "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
498
- "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
499
- "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
500
- "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
501
- "%URIErrorPrototype%": ["URIError", "prototype"],
502
- "%WeakMapPrototype%": ["WeakMap", "prototype"],
503
- "%WeakSetPrototype%": ["WeakSet", "prototype"]
504
- }, Z = z(), le = ie(), ue = Z.call(J, Array.prototype.concat), de = Z.call(q, Array.prototype.splice), Q = Z.call(J, String.prototype.replace), $ = Z.call(J, String.prototype.slice), fe = Z.call(J, RegExp.prototype.exec), pe = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, me = /\\(\\)?/g, he = function(e) {
505
- var t = $(e, 0, 1), n = $(e, -1);
506
- if (t === "%" && n !== "%") throw new c("invalid intrinsic syntax, expected closing `%`");
507
- if (n === "%" && t !== "%") throw new c("invalid intrinsic syntax, expected opening `%`");
508
- var r = [];
509
- return Q(e, pe, function(e, t, n, i) {
510
- r[r.length] = n ? Q(i, me, "$1") : t || e;
511
- }), r;
512
- }, ge = function(e, t) {
513
- var n = e, r;
514
- if (le(ce, n) && (r = ce[n], n = "%" + r[0] + "%"), le(X, n)) {
515
- var i = X[n];
516
- if (i === Y && (i = se(n)), i === void 0 && !t) throw new l("intrinsic " + e + " exists, but is not available. Please file an issue!");
517
- return {
518
- alias: r,
519
- name: n,
520
- value: i
521
- };
522
- }
523
- throw new c("intrinsic " + e + " does not exist!");
524
- };
525
- t.exports = function(e, t) {
526
- if (typeof e != "string" || e.length === 0) throw new l("intrinsic name must be a non-empty string");
527
- if (arguments.length > 1 && typeof t != "boolean") throw new l("\"allowMissing\" argument must be a boolean");
528
- if (fe(/^%?[^%]*%?$/, e) === null) throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
529
- var n = he(e), r = n.length > 0 ? n[0] : "", i = ge("%" + r + "%", t), a = i.name, o = i.value, s = !1, u = i.alias;
530
- u && (r = u[0], de(n, ue([0, 1], u)));
531
- for (var d = 1, f = !0; d < n.length; d += 1) {
532
- var p = n[d], m = $(p, 0, 1), h = $(p, -1);
533
- if ((m === "\"" || m === "'" || m === "`" || h === "\"" || h === "'" || h === "`") && m !== h) throw new c("property names with quotes must have matching quotes");
534
- if ((p === "constructor" || !f) && (s = !0), r += "." + p, a = "%" + r + "%", le(X, a)) o = X[a];
535
- else if (o != null) {
536
- if (!(p in o)) {
537
- if (!t) throw new l("base intrinsic for " + e + " exists, but the property is not available.");
538
- return;
539
- }
540
- if (H && d + 1 >= n.length) {
541
- var g = H(o, p);
542
- f = !!g, o = f && "get" in g && !("originalValue" in g.get) ? g.get : o[p];
543
- } else f = le(o, p), o = o[p];
544
- f && !s && (X[a] = o);
545
- }
546
- }
547
- return o;
548
- };
549
- })), G = s(((e, t) => {
550
- var n = W(), r = v(), i = y()(), a = _(), o = h(), s = n("%Math.floor%");
551
- t.exports = function(e, t) {
552
- if (typeof e != "function") throw new o("`fn` is not a function");
553
- if (typeof t != "number" || t < 0 || t > 4294967295 || s(t) !== t) throw new o("`length` must be a positive 32-bit integer");
554
- var n = arguments.length > 2 && !!arguments[2], c = !0, l = !0;
555
- if ("length" in e && a) {
556
- var u = a(e, "length");
557
- u && !u.configurable && (c = !1), u && !u.writable && (l = !1);
558
- }
559
- return (c || l || !n) && (i ? r(e, "length", t, !0, !0) : r(e, "length", t)), e;
560
- };
561
- })), ae = s(((e, t) => {
562
- var n = z(), r = V(), i = te();
563
- t.exports = function() {
564
- return i(n, r, arguments);
565
- };
566
- })), K = s(((e, t) => {
567
- var n = G(), r = p(), i = U(), a = ae();
568
- t.exports = function(e) {
569
- var t = i(arguments), r = e.length - (arguments.length - 1);
570
- return n(t, 1 + (r > 0 ? r : 0), !0);
571
- }, r ? r(t.exports, "apply", { value: a }) : t.exports.apply = a;
572
- })), q = s(((e, t) => {
573
- var n = W(), r = U(), i = r([n("%String.prototype.indexOf%")]);
574
- t.exports = function(e, t) {
575
- var a = n(e, !!t);
576
- return typeof a == "function" && i(e, ".prototype.") > -1 ? r([a]) : a;
577
- };
578
- })), J = s(((e, t) => {
579
- var n = f(), r = P()(), i = q(), a = x(), o = i("Array.prototype.push"), s = i("Object.prototype.propertyIsEnumerable"), c = r ? a.getOwnPropertySymbols : null;
580
- t.exports = function(e, t) {
581
- if (e == null) throw TypeError("target must be an object");
582
- var i = a(e);
583
- if (arguments.length === 1) return i;
584
- for (var l = 1; l < arguments.length; ++l) {
585
- var u = a(arguments[l]), d = n(u), f = r && (a.getOwnPropertySymbols || c);
586
- if (f) for (var p = f(u), m = 0; m < p.length; ++m) {
587
- var h = p[m];
588
- s(u, h) && o(d, h);
589
- }
590
- for (var g = 0; g < d.length; ++g) {
591
- var _ = d[g];
592
- s(u, _) && (i[_] = u[_]);
593
- }
594
- }
595
- return i;
596
- };
597
- })), Y = s(((e, t) => {
598
- var n = J(), r = function() {
599
- if (!Object.assign) return !1;
600
- for (var e = "abcdefghijklmnopqrst", t = e.split(""), n = {}, r = 0; r < t.length; ++r) n[t[r]] = t[r];
601
- var i = Object.assign({}, n), a = "";
602
- for (var o in i) a += o;
603
- return e !== a;
604
- }, i = function() {
605
- if (!Object.assign || !Object.preventExtensions) return !1;
606
- var e = Object.preventExtensions({ 1: 2 });
607
- try {
608
- Object.assign(e, "xy");
609
- } catch {
610
- return e[1] === "y";
611
- }
612
- return !1;
613
- };
614
- t.exports = function() {
615
- return !Object.assign || r() || i() ? n : Object.assign;
616
- };
617
- })), oe = s(((e, t) => {
618
- var n = b(), r = Y();
619
- t.exports = function() {
620
- var e = r();
621
- return n(Object, { assign: e }, { assign: function() {
622
- return Object.assign !== e;
623
- } }), e;
624
- };
625
- })), X = s(((e, t) => {
626
- var n = b(), r = K(), i = J(), a = Y(), o = oe(), s = r.apply(a()), c = function(e, t) {
627
- return s(Object, arguments);
628
- };
629
- n(c, {
630
- getPolyfill: a,
631
- implementation: i,
632
- shim: o
633
- }), t.exports = c;
634
- })), se = s(((e, t) => {
635
- var n = W(), r = K(), i = r(n("String.prototype.indexOf"));
636
- t.exports = function(e, t) {
637
- var a = n(e, !!t);
638
- return typeof a == "function" && i(e, ".prototype.") > -1 ? r(a) : a;
639
- };
640
- })), ce = s(((e, t) => {
641
- var n = function() {
642
- return typeof function() {}.name == "string";
643
- }, r = Object.getOwnPropertyDescriptor;
644
- if (r) try {
645
- r([], "length");
646
- } catch {
647
- r = null;
648
- }
649
- n.functionsHaveConfigurableNames = function() {
650
- if (!n() || !r) return !1;
651
- var e = r(function() {}, "name");
652
- return !!e && !!e.configurable;
653
- };
654
- var i = Function.prototype.bind;
655
- n.boundFunctionsHaveNames = function() {
656
- return n() && typeof i == "function" && function() {}.bind().name !== "";
657
- }, t.exports = n;
658
- })), Z = s(((e, t) => {
659
- var n = v(), r = y()(), i = ce().functionsHaveConfigurableNames(), a = h();
660
- t.exports = function(e, t) {
661
- if (typeof e != "function") throw new a("`fn` is not a function");
662
- return (!(arguments.length > 2 && arguments[2]) || i) && (r ? n(e, "name", t, !0, !0) : n(e, "name", t)), e;
663
- };
664
- })), le = s(((e, t) => {
665
- var n = Z(), r = h(), i = Object;
666
- t.exports = n(function() {
667
- if (this == null || this !== i(this)) throw new r("RegExp.prototype.flags getter called on non-object");
668
- var e = "";
669
- return this.hasIndices && (e += "d"), this.global && (e += "g"), this.ignoreCase && (e += "i"), this.multiline && (e += "m"), this.dotAll && (e += "s"), this.unicode && (e += "u"), this.unicodeSets && (e += "v"), this.sticky && (e += "y"), e;
670
- }, "get flags", !0);
671
- })), ue = s(((e, t) => {
672
- var n = le(), r = b().supportsDescriptors, i = Object.getOwnPropertyDescriptor;
673
- t.exports = function() {
674
- if (r && /a/gim.flags === "gim") {
675
- var e = i(RegExp.prototype, "flags");
676
- if (e && typeof e.get == "function" && "dotAll" in RegExp.prototype && "hasIndices" in RegExp.prototype) {
677
- var t = "", a = {};
678
- if (Object.defineProperty(a, "hasIndices", { get: function() {
679
- t += "d";
680
- } }), Object.defineProperty(a, "sticky", { get: function() {
681
- t += "y";
682
- } }), e.get.call(a), t === "dy") return e.get;
683
- }
684
- }
685
- return n;
2
+ var { getOwnPropertyNames: t, getOwnPropertySymbols: n } = Object, { hasOwnProperty: r } = Object.prototype;
3
+ function i(e, t) {
4
+ return function(n, r, i) {
5
+ return e(n, r, i) && t(n, r, i);
686
6
  };
687
- })), de = s(((e, t) => {
688
- var n = b().supportsDescriptors, r = ue(), i = _(), a = Object.defineProperty, o = S(), s = re(), c = /a/;
689
- t.exports = function() {
690
- if (!n || !s) throw new o("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");
691
- var e = r(), t = s(c), l = i(t, "flags");
692
- return (!l || l.get !== e) && a(t, "flags", {
693
- configurable: !0,
694
- enumerable: !1,
695
- get: e
696
- }), e;
697
- };
698
- })), Q = s(((e, t) => {
699
- var n = b(), r = K(), i = le(), a = ue(), o = de(), s = r(a());
700
- n(s, {
701
- getPolyfill: a,
702
- implementation: i,
703
- shim: o
704
- }), t.exports = s;
705
- })), $ = s(((e, t) => {
706
- var n = P();
707
- t.exports = function() {
708
- return n() && !!Symbol.toStringTag;
709
- };
710
- })), fe = s(((e, t) => {
711
- var n = $()(), r = q()("Object.prototype.toString"), i = function(e) {
712
- return n && e && typeof e == "object" && Symbol.toStringTag in e ? !1 : r(e) === "[object Arguments]";
713
- }, a = function(e) {
714
- return i(e) ? !0 : typeof e == "object" && !!e && "length" in e && typeof e.length == "number" && e.length >= 0 && r(e) !== "[object Array]" && "callee" in e && r(e.callee) === "[object Function]";
715
- }, o = function() {
716
- return i(arguments);
717
- }();
718
- i.isLegacyArguments = a, t.exports = o ? i : a;
719
- })), pe = s(((e, t) => {
720
- t.exports = {};
721
- })), me = s(((e, t) => {
722
- var n = typeof Map == "function" && Map.prototype, r = Object.getOwnPropertyDescriptor && n ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, i = n && r && typeof r.get == "function" ? r.get : null, a = n && Map.prototype.forEach, o = typeof Set == "function" && Set.prototype, s = Object.getOwnPropertyDescriptor && o ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, c = o && s && typeof s.get == "function" ? s.get : null, l = o && Set.prototype.forEach, u = typeof WeakMap == "function" && WeakMap.prototype ? WeakMap.prototype.has : null, d = typeof WeakSet == "function" && WeakSet.prototype ? WeakSet.prototype.has : null, f = typeof WeakRef == "function" && WeakRef.prototype ? WeakRef.prototype.deref : null, p = Boolean.prototype.valueOf, m = Object.prototype.toString, h = Function.prototype.toString, g = String.prototype.match, _ = String.prototype.slice, v = String.prototype.replace, y = String.prototype.toUpperCase, b = String.prototype.toLowerCase, x = RegExp.prototype.test, S = Array.prototype.concat, C = Array.prototype.join, ee = Array.prototype.slice, w = Math.floor, T = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, E = Object.getOwnPropertySymbols, D = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, O = typeof Symbol == "function" && typeof Symbol.iterator == "object", k = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === O || "symbol") ? Symbol.toStringTag : null, A = Object.prototype.propertyIsEnumerable, j = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(e) {
723
- return e.__proto__;
724
- } : null);
725
- function M(e, t) {
726
- if (e === Infinity || e === -Infinity || e !== e || e && e > -1e3 && e < 1e3 || x.call(/e/, t)) return t;
727
- var n = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
728
- if (typeof e == "number") {
729
- var r = e < 0 ? -w(-e) : w(e);
730
- if (r !== e) {
731
- var i = String(r), a = _.call(t, i.length + 1);
732
- return v.call(i, n, "$&_") + "." + v.call(v.call(a, /([0-9]{3})/g, "$&_"), /_$/, "");
733
- }
734
- }
735
- return v.call(t, n, "$&_");
736
- }
737
- var N = pe(), P = N.custom, F = W(P) ? P : null, I = {
738
- __proto__: null,
739
- double: "\"",
740
- single: "'"
741
- }, L = {
742
- __proto__: null,
743
- double: /(["\\])/g,
744
- single: /(['\\])/g
745
- };
746
- t.exports = function e(t, n, r, o) {
747
- var s = n || {};
748
- if (K(s, "quoteStyle") && !K(I, s.quoteStyle)) throw TypeError("option \"quoteStyle\" must be \"single\" or \"double\"");
749
- if (K(s, "maxStringLength") && (typeof s.maxStringLength == "number" ? s.maxStringLength < 0 && s.maxStringLength !== Infinity : s.maxStringLength !== null)) throw TypeError("option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`");
750
- var u = K(s, "customInspect") ? s.customInspect : !0;
751
- if (typeof u != "boolean" && u !== "symbol") throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
752
- if (K(s, "indent") && s.indent !== null && s.indent !== " " && !(parseInt(s.indent, 10) === s.indent && s.indent > 0)) throw TypeError("option \"indent\" must be \"\\t\", an integer > 0, or `null`");
753
- if (K(s, "numericSeparator") && typeof s.numericSeparator != "boolean") throw TypeError("option \"numericSeparator\", if provided, must be `true` or `false`");
754
- var d = s.numericSeparator;
755
- if (t === void 0) return "undefined";
756
- if (t === null) return "null";
757
- if (typeof t == "boolean") return t ? "true" : "false";
758
- if (typeof t == "string") return ue(t, s);
759
- if (typeof t == "number") {
760
- if (t === 0) return Infinity / t > 0 ? "0" : "-0";
761
- var f = String(t);
762
- return d ? M(t, f) : f;
763
- }
764
- if (typeof t == "bigint") {
765
- var m = String(t) + "n";
766
- return d ? M(t, m) : m;
767
- }
768
- var h = s.depth === void 0 ? 5 : s.depth;
769
- if (r === void 0 && (r = 0), r >= h && h > 0 && typeof t == "object") return V(t) ? "[Array]" : "[Object]";
770
- var g = he(s, r);
771
- if (o === void 0) o = [];
772
- else if (Y(o, t) >= 0) return "[Circular]";
773
- function y(t, n, i) {
774
- if (n && (o = ee.call(o), o.push(n)), i) {
775
- var a = { depth: s.depth };
776
- return K(s, "quoteStyle") && (a.quoteStyle = s.quoteStyle), e(t, a, r + 1, o);
777
- }
778
- return e(t, s, r + 1, o);
779
- }
780
- if (typeof t == "function" && !te(t)) {
781
- var x = J(t), w = _e(t, y);
782
- return "[Function" + (x ? ": " + x : " (anonymous)") + "]" + (w.length > 0 ? " { " + C.call(w, ", ") + " }" : "");
783
- }
784
- if (W(t)) {
785
- var E = O ? v.call(String(t), /^(Symbol\(.*\))_[^)]*$/, "$1") : D.call(t);
786
- return typeof t == "object" && !O ? Q(E) : E;
787
- }
788
- if (le(t)) {
789
- for (var P = "<" + b.call(String(t.nodeName)), L = t.attributes || [], B = 0; B < L.length; B++) P += " " + L[B].name + "=" + R(z(L[B].value), "double", s);
790
- return P += ">", t.childNodes && t.childNodes.length && (P += "..."), P += "</" + b.call(String(t.nodeName)) + ">", P;
791
- }
792
- if (V(t)) {
793
- if (t.length === 0) return "[]";
794
- var ae = _e(t, y);
795
- return g && !me(ae) ? "[" + ge(ae, g) + "]" : "[ " + C.call(ae, ", ") + " ]";
796
- }
797
- if (U(t)) {
798
- var de = _e(t, y);
799
- return !("cause" in Error.prototype) && "cause" in t && !A.call(t, "cause") ? "{ [" + String(t) + "] " + C.call(S.call("[cause]: " + y(t.cause), de), ", ") + " }" : de.length === 0 ? "[" + String(t) + "]" : "{ [" + String(t) + "] " + C.call(de, ", ") + " }";
800
- }
801
- if (typeof t == "object" && u) {
802
- if (F && typeof t[F] == "function" && N) return N(t, { depth: h - r });
803
- if (u !== "symbol" && typeof t.inspect == "function") return t.inspect();
804
- }
805
- if (oe(t)) {
806
- var pe = [];
807
- return a && a.call(t, function(e, n) {
808
- pe.push(y(n, t, !0) + " => " + y(e, t));
809
- }), fe("Map", i.call(t), pe, g);
810
- }
811
- if (ce(t)) {
812
- var ve = [];
813
- return l && l.call(t, function(e) {
814
- ve.push(y(e, t));
815
- }), fe("Set", c.call(t), ve, g);
816
- }
817
- if (X(t)) return $("WeakMap");
818
- if (Z(t)) return $("WeakSet");
819
- if (se(t)) return $("WeakRef");
820
- if (re(t)) return Q(y(Number(t)));
821
- if (G(t)) return Q(y(T.call(t)));
822
- if (ie(t)) return Q(p.call(t));
823
- if (ne(t)) return Q(y(String(t)));
824
- if (typeof window < "u" && t === window) return "{ [object Window] }";
825
- if (typeof globalThis < "u" && t === globalThis || typeof global < "u" && t === global) return "{ [object globalThis] }";
826
- if (!H(t) && !te(t)) {
827
- var ye = _e(t, y), be = j ? j(t) === Object.prototype : t instanceof Object || t.constructor === Object, xe = t instanceof Object ? "" : "null prototype", Se = !be && k && Object(t) === t && k in t ? _.call(q(t), 8, -1) : xe ? "Object" : "", Ce = (be || typeof t.constructor != "function" ? "" : t.constructor.name ? t.constructor.name + " " : "") + (Se || xe ? "[" + C.call(S.call([], Se || [], xe || []), ": ") + "] " : "");
828
- return ye.length === 0 ? Ce + "{}" : g ? Ce + "{" + ge(ye, g) + "}" : Ce + "{ " + C.call(ye, ", ") + " }";
829
- }
830
- return String(t);
831
- };
832
- function R(e, t, n) {
833
- var r = I[n.quoteStyle || t];
834
- return r + e + r;
835
- }
836
- function z(e) {
837
- return v.call(String(e), /"/g, "&quot;");
838
- }
839
- function B(e) {
840
- return !k || !(typeof e == "object" && (k in e || e[k] !== void 0));
841
- }
842
- function V(e) {
843
- return q(e) === "[object Array]" && B(e);
844
- }
845
- function H(e) {
846
- return q(e) === "[object Date]" && B(e);
847
- }
848
- function te(e) {
849
- return q(e) === "[object RegExp]" && B(e);
850
- }
851
- function U(e) {
852
- return q(e) === "[object Error]" && B(e);
853
- }
854
- function ne(e) {
855
- return q(e) === "[object String]" && B(e);
856
- }
857
- function re(e) {
858
- return q(e) === "[object Number]" && B(e);
859
- }
860
- function ie(e) {
861
- return q(e) === "[object Boolean]" && B(e);
862
- }
863
- function W(e) {
864
- if (O) return e && typeof e == "object" && e instanceof Symbol;
865
- if (typeof e == "symbol") return !0;
866
- if (!e || typeof e != "object" || !D) return !1;
867
- try {
868
- return D.call(e), !0;
869
- } catch {}
870
- return !1;
871
- }
872
- function G(e) {
873
- if (!e || typeof e != "object" || !T) return !1;
874
- try {
875
- return T.call(e), !0;
876
- } catch {}
877
- return !1;
878
- }
879
- var ae = Object.prototype.hasOwnProperty || function(e) {
880
- return e in this;
7
+ }
8
+ function a(e) {
9
+ return function(t, n, r) {
10
+ if (!t || !n || typeof t != "object" || typeof n != "object") return e(t, n, r);
11
+ let { cache: i } = r, a = i.get(t), o = i.get(n);
12
+ if (a && o) return a === n && o === t;
13
+ i.set(t, n), i.set(n, t);
14
+ let s = e(t, n, r);
15
+ return i.delete(t), i.delete(n), s;
881
16
  };
882
- function K(e, t) {
883
- return ae.call(e, t);
884
- }
885
- function q(e) {
886
- return m.call(e);
887
- }
888
- function J(e) {
889
- if (e.name) return e.name;
890
- var t = g.call(h.call(e), /^function\s*([\w$]+)/);
891
- return t ? t[1] : null;
892
- }
893
- function Y(e, t) {
894
- if (e.indexOf) return e.indexOf(t);
895
- for (var n = 0, r = e.length; n < r; n++) if (e[n] === t) return n;
896
- return -1;
897
- }
898
- function oe(e) {
899
- if (!i || !e || typeof e != "object") return !1;
900
- try {
901
- i.call(e);
902
- try {
903
- c.call(e);
904
- } catch {
905
- return !0;
906
- }
907
- return e instanceof Map;
908
- } catch {}
909
- return !1;
910
- }
911
- function X(e) {
912
- if (!u || !e || typeof e != "object") return !1;
913
- try {
914
- u.call(e, u);
915
- try {
916
- d.call(e, d);
917
- } catch {
918
- return !0;
919
- }
920
- return e instanceof WeakMap;
921
- } catch {}
922
- return !1;
923
- }
924
- function se(e) {
925
- if (!f || !e || typeof e != "object") return !1;
926
- try {
927
- return f.call(e), !0;
928
- } catch {}
929
- return !1;
930
- }
931
- function ce(e) {
932
- if (!c || !e || typeof e != "object") return !1;
933
- try {
934
- c.call(e);
935
- try {
936
- i.call(e);
937
- } catch {
938
- return !0;
17
+ }
18
+ function o(e) {
19
+ return t(e).concat(n(e));
20
+ }
21
+ var s = Object.hasOwn || ((e, t) => r.call(e, t)), c = "__v", l = "__o", u = "_owner", { getOwnPropertyDescriptor: d, keys: f } = Object, p = Object.is || function(e, t) {
22
+ return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
23
+ };
24
+ function m(e, t) {
25
+ return e === t;
26
+ }
27
+ function h(e, t) {
28
+ return e.byteLength === t.byteLength && E(new Uint8Array(e), new Uint8Array(t));
29
+ }
30
+ function g(e, t, n) {
31
+ let r = e.length;
32
+ if (t.length !== r) return !1;
33
+ for (; r-- > 0;) if (!n.equals(e[r], t[r], r, r, e, t, n)) return !1;
34
+ return !0;
35
+ }
36
+ function _(e, t) {
37
+ return e.byteLength === t.byteLength && E(new Uint8Array(e.buffer, e.byteOffset, e.byteLength), new Uint8Array(t.buffer, t.byteOffset, t.byteLength));
38
+ }
39
+ function v(e, t) {
40
+ return p(e.getTime(), t.getTime());
41
+ }
42
+ function y(e, t) {
43
+ return e.name === t.name && e.message === t.message && e.cause === t.cause && e.stack === t.stack;
44
+ }
45
+ function b(e, t, n) {
46
+ let r = e.size;
47
+ if (r !== t.size) return !1;
48
+ if (!r) return !0;
49
+ let i = Array(r), a = e.entries(), o, s, c = 0;
50
+ for (; (o = a.next()) && !o.done;) {
51
+ let r = t.entries(), a = !1, l = 0;
52
+ for (; (s = r.next()) && !s.done;) {
53
+ if (i[l]) {
54
+ l++;
55
+ continue;
939
56
  }
940
- return e instanceof Set;
941
- } catch {}
942
- return !1;
943
- }
944
- function Z(e) {
945
- if (!d || !e || typeof e != "object") return !1;
946
- try {
947
- d.call(e, d);
948
- try {
949
- u.call(e, u);
950
- } catch {
951
- return !0;
57
+ let r = o.value, u = s.value;
58
+ if (n.equals(r[0], u[0], c, l, e, t, n) && n.equals(r[1], u[1], r[0], u[0], e, t, n)) {
59
+ a = i[l] = !0;
60
+ break;
952
61
  }
953
- return e instanceof WeakSet;
954
- } catch {}
955
- return !1;
956
- }
957
- function le(e) {
958
- return !e || typeof e != "object" ? !1 : typeof HTMLElement < "u" && e instanceof HTMLElement ? !0 : typeof e.nodeName == "string" && typeof e.getAttribute == "function";
959
- }
960
- function ue(e, t) {
961
- if (e.length > t.maxStringLength) {
962
- var n = e.length - t.maxStringLength, r = "... " + n + " more character" + (n > 1 ? "s" : "");
963
- return ue(_.call(e, 0, t.maxStringLength), t) + r;
964
- }
965
- var i = L[t.quoteStyle || "single"];
966
- return i.lastIndex = 0, R(v.call(v.call(e, i, "\\$1"), /[\x00-\x1f]/g, de), "single", t);
967
- }
968
- function de(e) {
969
- var t = e.charCodeAt(0), n = {
970
- 8: "b",
971
- 9: "t",
972
- 10: "n",
973
- 12: "f",
974
- 13: "r"
975
- }[t];
976
- return n ? "\\" + n : "\\x" + (t < 16 ? "0" : "") + y.call(t.toString(16));
977
- }
978
- function Q(e) {
979
- return "Object(" + e + ")";
980
- }
981
- function $(e) {
982
- return e + " { ? }";
983
- }
984
- function fe(e, t, n, r) {
985
- var i = r ? ge(n, r) : C.call(n, ", ");
986
- return e + " (" + t + ") {" + i + "}";
987
- }
988
- function me(e) {
989
- for (var t = 0; t < e.length; t++) if (Y(e[t], "\n") >= 0) return !1;
990
- return !0;
991
- }
992
- function he(e, t) {
993
- var n;
994
- if (e.indent === " ") n = " ";
995
- else if (typeof e.indent == "number" && e.indent > 0) n = C.call(Array(e.indent + 1), " ");
996
- else return null;
997
- return {
998
- base: n,
999
- prev: C.call(Array(t + 1), n)
1000
- };
1001
- }
1002
- function ge(e, t) {
1003
- if (e.length === 0) return "";
1004
- var n = "\n" + t.prev + t.base;
1005
- return n + C.call(e, "," + n) + "\n" + t.prev;
1006
- }
1007
- function _e(e, t) {
1008
- var n = V(e), r = [];
1009
- if (n) {
1010
- r.length = e.length;
1011
- for (var i = 0; i < e.length; i++) r[i] = K(e, i) ? t(e[i], e) : "";
1012
- }
1013
- var a = typeof E == "function" ? E(e) : [], o;
1014
- if (O) {
1015
- o = {};
1016
- for (var s = 0; s < a.length; s++) o["$" + a[s]] = a[s];
62
+ l++;
1017
63
  }
1018
- for (var c in e) K(e, c) && (n && String(Number(c)) === c && c < e.length || O && o["$" + c] instanceof Symbol || (x.call(/[^\w$]/, c) ? r.push(t(c, e) + ": " + t(e[c], e)) : r.push(c + ": " + t(e[c], e))));
1019
- if (typeof E == "function") for (var l = 0; l < a.length; l++) A.call(e, a[l]) && r.push("[" + t(a[l]) + "]: " + t(e[a[l]], e));
1020
- return r;
64
+ if (!a) return !1;
65
+ c++;
1021
66
  }
1022
- })), he = s(((e, t) => {
1023
- var n = me(), r = h(), i = function(e, t, n) {
1024
- for (var r = e, i; (i = r.next) != null; r = i) if (i.key === t) return r.next = i.next, n || (i.next = e.next, e.next = i), i;
1025
- }, a = function(e, t) {
1026
- if (e) {
1027
- var n = i(e, t);
1028
- return n && n.value;
1029
- }
1030
- }, o = function(e, t, n) {
1031
- var r = i(e, t);
1032
- r ? r.value = n : e.next = {
1033
- key: t,
1034
- next: e.next,
1035
- value: n
1036
- };
1037
- }, s = function(e, t) {
1038
- return e ? !!i(e, t) : !1;
1039
- }, c = function(e, t) {
1040
- if (e) return i(e, t, !0);
1041
- };
1042
- t.exports = function() {
1043
- var e, t = {
1044
- assert: function(e) {
1045
- if (!t.has(e)) throw new r("Side channel does not contain " + n(e));
1046
- },
1047
- delete: function(t) {
1048
- var n = e && e.next, r = c(e, t);
1049
- return r && n && n === r && (e = void 0), !!r;
1050
- },
1051
- get: function(t) {
1052
- return a(e, t);
1053
- },
1054
- has: function(t) {
1055
- return s(e, t);
1056
- },
1057
- set: function(t, n) {
1058
- e ||= { next: void 0 }, o(e, t, n);
1059
- }
1060
- };
1061
- return t;
1062
- };
1063
- })), ge = s(((e, t) => {
1064
- var n = W(), r = q(), i = me(), a = h(), o = n("%Map%", !0), s = r("Map.prototype.get", !0), c = r("Map.prototype.set", !0), l = r("Map.prototype.has", !0), u = r("Map.prototype.delete", !0), d = r("Map.prototype.size", !0);
1065
- t.exports = !!o && function() {
1066
- var e, t = {
1067
- assert: function(e) {
1068
- if (!t.has(e)) throw new a("Side channel does not contain " + i(e));
1069
- },
1070
- delete: function(t) {
1071
- if (e) {
1072
- var n = u(e, t);
1073
- return d(e) === 0 && (e = void 0), n;
1074
- }
1075
- return !1;
1076
- },
1077
- get: function(t) {
1078
- if (e) return s(e, t);
1079
- },
1080
- has: function(t) {
1081
- return e ? l(e, t) : !1;
1082
- },
1083
- set: function(t, n) {
1084
- e ||= new o(), c(e, t, n);
1085
- }
1086
- };
1087
- return t;
1088
- };
1089
- })), _e = s(((e, t) => {
1090
- var n = W(), r = q(), i = me(), a = ge(), o = h(), s = n("%WeakMap%", !0), c = r("WeakMap.prototype.get", !0), l = r("WeakMap.prototype.set", !0), u = r("WeakMap.prototype.has", !0), d = r("WeakMap.prototype.delete", !0);
1091
- t.exports = s ? function() {
1092
- var e, t, n = {
1093
- assert: function(e) {
1094
- if (!n.has(e)) throw new o("Side channel does not contain " + i(e));
1095
- },
1096
- delete: function(n) {
1097
- if (s && n && (typeof n == "object" || typeof n == "function")) {
1098
- if (e) return d(e, n);
1099
- } else if (a && t) return t.delete(n);
1100
- return !1;
1101
- },
1102
- get: function(n) {
1103
- return s && n && (typeof n == "object" || typeof n == "function") && e ? c(e, n) : t && t.get(n);
1104
- },
1105
- has: function(n) {
1106
- return s && n && (typeof n == "object" || typeof n == "function") && e ? u(e, n) : !!t && t.has(n);
1107
- },
1108
- set: function(n, r) {
1109
- s && n && (typeof n == "object" || typeof n == "function") ? (e ||= new s(), l(e, n, r)) : a && (t ||= a(), t.set(n, r));
1110
- }
1111
- };
1112
- return n;
1113
- } : a;
1114
- })), ve = s(((e, t) => {
1115
- var n = h(), r = me(), i = he(), a = ge(), o = _e() || a || i;
1116
- t.exports = function() {
1117
- var e, t = {
1118
- assert: function(e) {
1119
- if (!t.has(e)) throw new n("Side channel does not contain " + r(e));
1120
- },
1121
- delete: function(t) {
1122
- return !!e && e.delete(t);
1123
- },
1124
- get: function(t) {
1125
- return e && e.get(t);
1126
- },
1127
- has: function(t) {
1128
- return !!e && e.has(t);
1129
- },
1130
- set: function(t, n) {
1131
- e ||= o(), e.set(t, n);
1132
- }
1133
- };
1134
- return t;
1135
- };
1136
- })), ye = s(((e, t) => {
1137
- var n = ie(), r = ve()(), i = h(), a = {
1138
- assert: function(e, t) {
1139
- if (!e || typeof e != "object" && typeof e != "function") throw new i("`O` is not an object");
1140
- if (typeof t != "string") throw new i("`slot` must be a string");
1141
- if (r.assert(e), !a.has(e, t)) throw new i("`" + t + "` is not present on `O`");
1142
- },
1143
- get: function(e, t) {
1144
- if (!e || typeof e != "object" && typeof e != "function") throw new i("`O` is not an object");
1145
- if (typeof t != "string") throw new i("`slot` must be a string");
1146
- var n = r.get(e);
1147
- return n && n["$" + t];
1148
- },
1149
- has: function(e, t) {
1150
- if (!e || typeof e != "object" && typeof e != "function") throw new i("`O` is not an object");
1151
- if (typeof t != "string") throw new i("`slot` must be a string");
1152
- var a = r.get(e);
1153
- return !!a && n(a, "$" + t);
1154
- },
1155
- set: function(e, t, n) {
1156
- if (!e || typeof e != "object" && typeof e != "function") throw new i("`O` is not an object");
1157
- if (typeof t != "string") throw new i("`slot` must be a string");
1158
- var a = r.get(e);
1159
- a || (a = {}, r.set(e, a)), a["$" + t] = n;
1160
- }
1161
- };
1162
- Object.freeze && Object.freeze(a), t.exports = a;
1163
- })), be = s(((e, t) => {
1164
- var n = ye(), r = m(), i = typeof StopIteration == "object" ? StopIteration : null;
1165
- t.exports = function(e) {
1166
- if (!i) throw new r("this environment lacks StopIteration");
1167
- n.set(e, "[[Done]]", !1);
1168
- var t = { next: function() {
1169
- var e = n.get(this, "[[Iterator]]"), t = !!n.get(e, "[[Done]]");
1170
- try {
1171
- return {
1172
- done: t,
1173
- value: t ? void 0 : e.next()
1174
- };
1175
- } catch (t) {
1176
- if (n.set(e, "[[Done]]", !0), t !== i) throw t;
1177
- return {
1178
- done: !0,
1179
- value: void 0
1180
- };
1181
- }
1182
- } };
1183
- return n.set(t, "[[Iterator]]", e), t;
1184
- };
1185
- })), xe = s(((e, t) => {
1186
- var n = {}.toString;
1187
- t.exports = Array.isArray || function(e) {
1188
- return n.call(e) == "[object Array]";
1189
- };
1190
- })), Se = s(((e, t) => {
1191
- var n = q(), r = n("String.prototype.valueOf"), i = function(e) {
1192
- try {
1193
- return r(e), !0;
1194
- } catch {
1195
- return !1;
1196
- }
1197
- }, a = n("Object.prototype.toString"), o = "[object String]", s = $()();
1198
- t.exports = function(e) {
1199
- return typeof e == "string" ? !0 : !e || typeof e != "object" ? !1 : s ? i(e) : a(e) === o;
1200
- };
1201
- })), Ce = s(((e, t) => {
1202
- var n = typeof Map == "function" && Map.prototype ? Map : null, r = typeof Set == "function" && Set.prototype ? Set : null, i;
1203
- n || (i = function(e) {
1204
- return !1;
1205
- });
1206
- var a = n ? Map.prototype.has : null, o = r ? Set.prototype.has : null;
1207
- !i && !a && (i = function(e) {
1208
- return !1;
1209
- }), t.exports = i || function(e) {
1210
- if (!e || typeof e != "object") return !1;
1211
- try {
1212
- if (a.call(e), o) try {
1213
- o.call(e);
1214
- } catch {
1215
- return !0;
1216
- }
1217
- return e instanceof n;
1218
- } catch {}
1219
- return !1;
1220
- };
1221
- })), we = s(((e, t) => {
1222
- var n = typeof Map == "function" && Map.prototype ? Map : null, r = typeof Set == "function" && Set.prototype ? Set : null, i;
1223
- r || (i = function(e) {
1224
- return !1;
1225
- });
1226
- var a = n ? Map.prototype.has : null, o = r ? Set.prototype.has : null;
1227
- !i && !o && (i = function(e) {
1228
- return !1;
1229
- }), t.exports = i || function(e) {
1230
- if (!e || typeof e != "object") return !1;
1231
- try {
1232
- if (o.call(e), a) try {
1233
- a.call(e);
1234
- } catch {
1235
- return !0;
1236
- }
1237
- return e instanceof r;
1238
- } catch {}
1239
- return !1;
1240
- };
1241
- })), Te = s(((e, t) => {
1242
- var n = fe(), r = be();
1243
- if (F()() || P()()) {
1244
- var i = Symbol.iterator;
1245
- t.exports = function(e) {
1246
- if (e != null && e[i] !== void 0) return e[i]();
1247
- if (n(e)) return Array.prototype[i].call(e);
1248
- };
1249
- } else {
1250
- var a = xe(), o = Se(), s = W(), c = s("%Map%", !0), l = s("%Set%", !0), u = se(), d = u("Array.prototype.push"), f = u("String.prototype.charCodeAt"), p = u("String.prototype.slice"), m = function(e, t) {
1251
- var n = e.length;
1252
- if (t + 1 >= n) return t + 1;
1253
- var r = f(e, t);
1254
- if (r < 55296 || r > 56319) return t + 1;
1255
- var i = f(e, t + 1);
1256
- return i < 56320 || i > 57343 ? t + 1 : t + 2;
1257
- }, h = function(e) {
1258
- var t = 0;
1259
- return { next: function() {
1260
- var n = t >= e.length, r;
1261
- return n || (r = e[t], t += 1), {
1262
- done: n,
1263
- value: r
1264
- };
1265
- } };
1266
- }, g = function(e, t) {
1267
- if (a(e) || n(e)) return h(e);
1268
- if (o(e)) {
1269
- var r = 0;
1270
- return { next: function() {
1271
- var t = m(e, r), n = p(e, r, t);
1272
- return r = t, {
1273
- done: t > e.length,
1274
- value: n
1275
- };
1276
- } };
67
+ return !0;
68
+ }
69
+ function x(e, t, n) {
70
+ let r = f(e), i = r.length;
71
+ if (f(t).length !== i) return !1;
72
+ for (; i-- > 0;) if (!O(e, t, n, r[i])) return !1;
73
+ return !0;
74
+ }
75
+ function S(e, t, n) {
76
+ let r = o(e), i = r.length;
77
+ if (o(t).length !== i) return !1;
78
+ let a, s, c;
79
+ for (; i-- > 0;) if (a = r[i], !O(e, t, n, a) || (s = d(e, a), c = d(t, a), (s || c) && (!s || !c || s.configurable !== c.configurable || s.enumerable !== c.enumerable || s.writable !== c.writable))) return !1;
80
+ return !0;
81
+ }
82
+ function C(e, t) {
83
+ return p(e.valueOf(), t.valueOf());
84
+ }
85
+ function w(e, t) {
86
+ return e.source === t.source && e.flags === t.flags;
87
+ }
88
+ function T(e, t, n) {
89
+ let r = e.size;
90
+ if (r !== t.size) return !1;
91
+ if (!r) return !0;
92
+ let i = Array(r), a = e.values(), o, s;
93
+ for (; (o = a.next()) && !o.done;) {
94
+ let r = t.values(), a = !1, c = 0;
95
+ for (; (s = r.next()) && !s.done;) {
96
+ if (!i[c] && n.equals(o.value, s.value, o.value, s.value, e, t, n)) {
97
+ a = i[c] = !0;
98
+ break;
1277
99
  }
1278
- if (t && e["_es6-shim iterator_"] !== void 0) return e["_es6-shim iterator_"]();
1279
- };
1280
- if (!c && !l) t.exports = function(e) {
1281
- if (e != null) return g(e, !0);
1282
- };
1283
- else {
1284
- var _ = Ce(), v = we(), y = u("Map.prototype.forEach", !0), b = u("Set.prototype.forEach", !0);
1285
- if (typeof process > "u" || !process.versions || !process.versions.node) var x = u("Map.prototype.iterator", !0), S = u("Set.prototype.iterator", !0);
1286
- var C = u("Map.prototype.@@iterator", !0) || u("Map.prototype._es6-shim iterator_", !0), ee = u("Set.prototype.@@iterator", !0) || u("Set.prototype._es6-shim iterator_", !0), w = function(e) {
1287
- if (_(e)) {
1288
- if (x) return r(x(e));
1289
- if (C) return C(e);
1290
- if (y) {
1291
- var t = [];
1292
- return y(e, function(e, n) {
1293
- d(t, [n, e]);
1294
- }), h(t);
1295
- }
1296
- }
1297
- if (v(e)) {
1298
- if (S) return r(S(e));
1299
- if (ee) return ee(e);
1300
- if (b) {
1301
- var n = [];
1302
- return b(e, function(e) {
1303
- d(n, e);
1304
- }), h(n);
1305
- }
1306
- }
1307
- };
1308
- t.exports = function(e) {
1309
- return w(e) || g(e);
1310
- };
100
+ c++;
1311
101
  }
102
+ if (!a) return !1;
1312
103
  }
1313
- })), Ee = s(((e, t) => {
1314
- var n = function(e) {
1315
- return e !== e;
1316
- };
1317
- t.exports = function(e, t) {
1318
- return e === 0 && t === 0 ? 1 / e == 1 / t : !!(e === t || n(e) && n(t));
1319
- };
1320
- })), De = s(((e, t) => {
1321
- var n = Ee();
1322
- t.exports = function() {
1323
- return typeof Object.is == "function" ? Object.is : n;
1324
- };
1325
- })), Oe = s(((e, t) => {
1326
- var n = De(), r = b();
1327
- t.exports = function() {
1328
- var e = n();
1329
- return r(Object, { is: e }, { is: function() {
1330
- return Object.is !== e;
1331
- } }), e;
1332
- };
1333
- })), ke = s(((e, t) => {
1334
- var n = b(), r = K(), i = Ee(), a = De(), o = Oe(), s = r(a(), Object);
1335
- n(s, {
1336
- getPolyfill: a,
1337
- implementation: i,
1338
- shim: o
1339
- }), t.exports = s;
1340
- })), Ae = s(((e, t) => {
1341
- var n = K(), r = q(), i = W()("%ArrayBuffer%", !0), a = r("ArrayBuffer.prototype.byteLength", !0), o = r("Object.prototype.toString"), s = !!i && !a && new i(0).slice, c = !!s && n(s);
1342
- t.exports = a || c ? function(e) {
1343
- if (!e || typeof e != "object") return !1;
1344
- try {
1345
- return a ? a(e) : c(e, 0), !0;
1346
- } catch {
1347
- return !1;
1348
- }
1349
- } : i ? function(e) {
1350
- return o(e) === "[object ArrayBuffer]";
1351
- } : function(e) {
1352
- return !1;
1353
- };
1354
- })), je = s(((e, t) => {
1355
- var n = q(), r = n("Date.prototype.getDay"), i = function(e) {
1356
- try {
1357
- return r(e), !0;
1358
- } catch {
1359
- return !1;
1360
- }
1361
- }, a = n("Object.prototype.toString"), o = "[object Date]", s = $()();
1362
- t.exports = function(e) {
1363
- return typeof e != "object" || !e ? !1 : s ? i(e) : a(e) === o;
104
+ return !0;
105
+ }
106
+ function E(e, t) {
107
+ let n = e.byteLength;
108
+ if (t.byteLength !== n || e.byteOffset !== t.byteOffset) return !1;
109
+ for (; n-- > 0;) if (e[n] !== t[n]) return !1;
110
+ return !0;
111
+ }
112
+ function D(e, t) {
113
+ return e.hostname === t.hostname && e.pathname === t.pathname && e.protocol === t.protocol && e.port === t.port && e.hash === t.hash && e.username === t.username && e.password === t.password;
114
+ }
115
+ function O(e, t, n, r) {
116
+ return (r === u || r === l || r === c) && (e.$$typeof || t.$$typeof) ? !0 : s(t, r) && n.equals(e[r], t[r], r, r, e, t, n);
117
+ }
118
+ var k = Object.prototype.toString;
119
+ function A(e) {
120
+ let t = P(e), { areArraysEqual: n, areDatesEqual: r, areFunctionsEqual: i, areMapsEqual: a, areNumbersEqual: o, areObjectsEqual: s, areRegExpsEqual: c, areSetsEqual: l, getUnsupportedCustomComparator: u } = e;
121
+ return function(e, d, f) {
122
+ if (e === d) return !0;
123
+ if (e == null || d == null) return !1;
124
+ let p = typeof e;
125
+ if (p !== typeof d) return !1;
126
+ if (p !== "object") return p === "number" || p === "bigint" ? o(e, d, f) : p === "function" ? i(e, d, f) : !1;
127
+ let m = e.constructor;
128
+ if (m !== d.constructor) return !1;
129
+ if (m === Object) return s(e, d, f);
130
+ if (m === Array) return n(e, d, f);
131
+ if (m === Date) return r(e, d, f);
132
+ if (m === RegExp) return c(e, d, f);
133
+ if (m === Map) return a(e, d, f);
134
+ if (m === Set) return l(e, d, f);
135
+ if (m === Promise) return !1;
136
+ if (Array.isArray(e)) return n(e, d, f);
137
+ let h = k.call(e), g = t[h];
138
+ if (g) return g(e, d, f);
139
+ let _ = u && u(e, d, f, h);
140
+ return _ ? _(e, d, f) : !1;
1364
141
  };
1365
- })), Me = s(((e, t) => {
1366
- var n = q(), r = $()(), i = ie(), a = _(), o;
1367
- if (r) {
1368
- var s = n("RegExp.prototype.exec"), c = {}, l = function() {
1369
- throw c;
1370
- }, u = {
1371
- toString: l,
1372
- valueOf: l
1373
- };
1374
- typeof Symbol.toPrimitive == "symbol" && (u[Symbol.toPrimitive] = l), o = function(e) {
1375
- if (!e || typeof e != "object") return !1;
1376
- var t = a(e, "lastIndex");
1377
- if (!(t && i(t, "value"))) return !1;
1378
- try {
1379
- s(e, u);
1380
- } catch (e) {
1381
- return e === c;
1382
- }
1383
- };
1384
- } else {
1385
- var d = n("Object.prototype.toString"), f = "[object RegExp]";
1386
- o = function(e) {
1387
- return !e || typeof e != "object" && typeof e != "function" ? !1 : d(e) === f;
1388
- };
142
+ }
143
+ function j({ circular: e, createCustomConfig: t, strict: n }) {
144
+ let r = {
145
+ areArrayBuffersEqual: h,
146
+ areArraysEqual: n ? S : g,
147
+ areDataViewsEqual: _,
148
+ areDatesEqual: v,
149
+ areErrorsEqual: y,
150
+ areFunctionsEqual: m,
151
+ areMapsEqual: n ? i(b, S) : b,
152
+ areNumbersEqual: p,
153
+ areObjectsEqual: n ? S : x,
154
+ arePrimitiveWrappersEqual: C,
155
+ areRegExpsEqual: w,
156
+ areSetsEqual: n ? i(T, S) : T,
157
+ areTypedArraysEqual: n ? i(E, S) : E,
158
+ areUrlsEqual: D,
159
+ getUnsupportedCustomComparator: void 0
160
+ };
161
+ if (t && (r = Object.assign({}, r, t(r))), e) {
162
+ let e = a(r.areArraysEqual), t = a(r.areMapsEqual), n = a(r.areObjectsEqual), i = a(r.areSetsEqual);
163
+ r = Object.assign({}, r, {
164
+ areArraysEqual: e,
165
+ areMapsEqual: t,
166
+ areObjectsEqual: n,
167
+ areSetsEqual: i
168
+ });
1389
169
  }
1390
- t.exports = o;
1391
- })), Ne = s(((e, t) => {
1392
- var n = q()("SharedArrayBuffer.prototype.byteLength", !0);
1393
- t.exports = n ? function(e) {
1394
- if (!e || typeof e != "object") return !1;
1395
- try {
1396
- return n(e), !0;
1397
- } catch {
1398
- return !1;
1399
- }
1400
- } : function(e) {
1401
- return !1;
1402
- };
1403
- })), Pe = s(((e, t) => {
1404
- var n = q(), r = n("Number.prototype.toString"), i = function(e) {
1405
- try {
1406
- return r(e), !0;
1407
- } catch {
1408
- return !1;
1409
- }
1410
- }, a = n("Object.prototype.toString"), o = "[object Number]", s = $()();
1411
- t.exports = function(e) {
1412
- return typeof e == "number" ? !0 : !e || typeof e != "object" ? !1 : s ? i(e) : a(e) === o;
1413
- };
1414
- })), Fe = s(((e, t) => {
1415
- var n = q(), r = n("Boolean.prototype.toString"), i = n("Object.prototype.toString"), a = function(e) {
1416
- try {
1417
- return r(e), !0;
1418
- } catch {
1419
- return !1;
1420
- }
1421
- }, o = "[object Boolean]", s = $()();
1422
- t.exports = function(e) {
1423
- return typeof e == "boolean" ? !0 : typeof e != "object" || !e ? !1 : s ? a(e) : i(e) === o;
1424
- };
1425
- })), Ie = s(((e, t) => {
1426
- var n = q(), r = Me(), i = n("RegExp.prototype.exec"), a = h();
1427
- t.exports = function(e) {
1428
- if (!r(e)) throw new a("`regex` must be a RegExp");
1429
- return function(t) {
1430
- return i(e, t) !== null;
1431
- };
1432
- };
1433
- })), Le = s(((e, t) => {
1434
- var n = q(), r = n("Object.prototype.toString"), i = F()(), a = Ie();
1435
- if (i) {
1436
- var o = n("Symbol.prototype.toString"), s = a(/^Symbol\(.*\)$/), c = function(e) {
1437
- return typeof e.valueOf() == "symbol" ? s(o(e)) : !1;
1438
- };
1439
- t.exports = function(e) {
1440
- if (typeof e == "symbol") return !0;
1441
- if (!e || typeof e != "object" || r(e) !== "[object Symbol]") return !1;
1442
- try {
1443
- return c(e);
1444
- } catch {
1445
- return !1;
1446
- }
1447
- };
1448
- } else t.exports = function(e) {
1449
- return !1;
1450
- };
1451
- })), Re = s(((e, t) => {
1452
- var n = typeof BigInt < "u" && BigInt;
1453
- t.exports = function() {
1454
- return typeof n == "function" && typeof BigInt == "function" && typeof n(42) == "bigint" && typeof BigInt(42) == "bigint";
1455
- };
1456
- })), ze = s(((e, t) => {
1457
- if (Re()()) {
1458
- var n = BigInt.prototype.valueOf, r = function(e) {
1459
- try {
1460
- return n.call(e), !0;
1461
- } catch {}
1462
- return !1;
1463
- };
1464
- t.exports = function(e) {
1465
- return e == null || typeof e == "boolean" || typeof e == "string" || typeof e == "number" || typeof e == "symbol" || typeof e == "function" ? !1 : typeof e == "bigint" ? !0 : r(e);
1466
- };
1467
- } else t.exports = function(e) {
1468
- return !1;
1469
- };
1470
- })), Be = s(((e, t) => {
1471
- var n = Se(), r = Pe(), i = Fe(), a = Le(), o = ze();
1472
- t.exports = function(e) {
1473
- if (e == null || typeof e != "object" && typeof e != "function") return null;
1474
- if (n(e)) return "String";
1475
- if (r(e)) return "Number";
1476
- if (i(e)) return "Boolean";
1477
- if (a(e)) return "Symbol";
1478
- if (o(e)) return "BigInt";
1479
- };
1480
- })), Ve = s(((e, t) => {
1481
- var n = typeof WeakMap == "function" && WeakMap.prototype ? WeakMap : null, r = typeof WeakSet == "function" && WeakSet.prototype ? WeakSet : null, i;
1482
- n || (i = function(e) {
1483
- return !1;
1484
- });
1485
- var a = n ? n.prototype.has : null, o = r ? r.prototype.has : null;
1486
- !i && !a && (i = function(e) {
1487
- return !1;
1488
- }), t.exports = i || function(e) {
1489
- if (!e || typeof e != "object") return !1;
1490
- try {
1491
- if (a.call(e, a), o) try {
1492
- o.call(e, o);
1493
- } catch {
1494
- return !0;
1495
- }
1496
- return e instanceof n;
1497
- } catch {}
1498
- return !1;
1499
- };
1500
- })), He = s(((e, t) => {
1501
- var n = W(), r = q(), i = n("%WeakSet%", !0), a = r("WeakSet.prototype.has", !0);
1502
- if (a) {
1503
- var o = r("WeakMap.prototype.has", !0);
1504
- t.exports = function(e) {
1505
- if (!e || typeof e != "object") return !1;
1506
- try {
1507
- if (a(e, a), o) try {
1508
- o(e, o);
1509
- } catch {
1510
- return !0;
1511
- }
1512
- return e instanceof i;
1513
- } catch {}
1514
- return !1;
1515
- };
1516
- } else t.exports = function(e) {
1517
- return !1;
1518
- };
1519
- })), Ue = s(((e, t) => {
1520
- var n = Ce(), r = we(), i = Ve(), a = He();
1521
- t.exports = function(e) {
1522
- if (e && typeof e == "object") {
1523
- if (n(e)) return "Map";
1524
- if (r(e)) return "Set";
1525
- if (i(e)) return "WeakMap";
1526
- if (a(e)) return "WeakSet";
1527
- }
1528
- return !1;
170
+ return r;
171
+ }
172
+ function M(e) {
173
+ return function(t, n, r, i, a, o, s) {
174
+ return e(t, n, s);
1529
175
  };
1530
- })), We = s(((e, t) => {
1531
- var n = Function.prototype.toString, r = typeof Reflect == "object" && Reflect !== null && Reflect.apply, i, a;
1532
- if (typeof r == "function" && typeof Object.defineProperty == "function") try {
1533
- i = Object.defineProperty({}, "length", { get: function() {
1534
- throw a;
1535
- } }), a = {}, r(function() {
1536
- throw 42;
1537
- }, null, i);
1538
- } catch (e) {
1539
- e !== a && (r = null);
1540
- }
1541
- else r = null;
1542
- var o = /^\s*class\b/, s = function(e) {
1543
- try {
1544
- var t = n.call(e);
1545
- return o.test(t);
1546
- } catch {
1547
- return !1;
1548
- }
1549
- }, c = function(e) {
1550
- try {
1551
- return s(e) ? !1 : (n.call(e), !0);
1552
- } catch {
1553
- return !1;
1554
- }
1555
- }, l = Object.prototype.toString, u = "[object Object]", d = "[object Function]", f = "[object GeneratorFunction]", p = "[object HTMLAllCollection]", m = "[object HTML document.all class]", h = "[object HTMLCollection]", g = typeof Symbol == "function" && !!Symbol.toStringTag, _ = !(0 in [,]), v = function() {
1556
- return !1;
176
+ }
177
+ function N({ circular: e, comparator: t, createState: n, equals: r, strict: i }) {
178
+ if (n) return function(a, o) {
179
+ let { cache: s = e ? new WeakMap() : void 0, meta: c } = n();
180
+ return t(a, o, {
181
+ cache: s,
182
+ equals: r,
183
+ meta: c,
184
+ strict: i
185
+ });
1557
186
  };
1558
- if (typeof document == "object") {
1559
- var y = document.all;
1560
- l.call(y) === l.call(document.all) && (v = function(e) {
1561
- if ((_ || !e) && (e === void 0 || typeof e == "object")) try {
1562
- var t = l.call(e);
1563
- return (t === p || t === m || t === h || t === u) && e("") == null;
1564
- } catch {}
1565
- return !1;
187
+ if (e) return function(e, n) {
188
+ return t(e, n, {
189
+ cache: new WeakMap(),
190
+ equals: r,
191
+ meta: void 0,
192
+ strict: i
1566
193
  });
1567
- }
1568
- t.exports = r ? function(e) {
1569
- if (v(e)) return !0;
1570
- if (!e || typeof e != "function" && typeof e != "object") return !1;
1571
- try {
1572
- r(e, null, i);
1573
- } catch (e) {
1574
- if (e !== a) return !1;
1575
- }
1576
- return !s(e) && c(e);
1577
- } : function(e) {
1578
- if (v(e)) return !0;
1579
- if (!e || typeof e != "function" && typeof e != "object") return !1;
1580
- if (g) return c(e);
1581
- if (s(e)) return !1;
1582
- var t = l.call(e);
1583
- return t !== d && t !== f && !/^\[object HTML/.test(t) ? !1 : c(e);
1584
194
  };
1585
- })), Ge = s(((e, t) => {
1586
- var n = We(), r = Object.prototype.toString, i = Object.prototype.hasOwnProperty, a = function(e, t, n) {
1587
- for (var r = 0, a = e.length; r < a; r++) i.call(e, r) && (n == null ? t(e[r], r, e) : t.call(n, e[r], r, e));
1588
- }, o = function(e, t, n) {
1589
- for (var r = 0, i = e.length; r < i; r++) n == null ? t(e.charAt(r), r, e) : t.call(n, e.charAt(r), r, e);
1590
- }, s = function(e, t, n) {
1591
- for (var r in e) i.call(e, r) && (n == null ? t(e[r], r, e) : t.call(n, e[r], r, e));
195
+ let a = {
196
+ cache: void 0,
197
+ equals: r,
198
+ meta: void 0,
199
+ strict: i
1592
200
  };
1593
- function c(e) {
1594
- return r.call(e) === "[object Array]";
1595
- }
1596
- t.exports = function(e, t, r) {
1597
- if (!n(t)) throw TypeError("iterator must be a function");
1598
- var i;
1599
- arguments.length >= 3 && (i = r), c(e) ? a(e, t, i) : typeof e == "string" ? o(e, t, i) : s(e, t, i);
201
+ return function(e, n) {
202
+ return t(e, n, a);
1600
203
  };
1601
- })), Ke = s(((e, t) => {
1602
- t.exports = [
1603
- "Float16Array",
1604
- "Float32Array",
1605
- "Float64Array",
1606
- "Int8Array",
1607
- "Int16Array",
1608
- "Int32Array",
1609
- "Uint8Array",
1610
- "Uint8ClampedArray",
1611
- "Uint16Array",
1612
- "Uint32Array",
1613
- "BigInt64Array",
1614
- "BigUint64Array"
1615
- ];
1616
- })), qe = s(((e, t) => {
1617
- var n = Ke(), r = typeof globalThis > "u" ? global : globalThis;
1618
- t.exports = function() {
1619
- for (var e = [], t = 0; t < n.length; t++) typeof r[n[t]] == "function" && (e[e.length] = n[t]);
1620
- return e;
204
+ }
205
+ function P({ areArrayBuffersEqual: e, areArraysEqual: t, areDataViewsEqual: n, areDatesEqual: r, areErrorsEqual: i, areFunctionsEqual: a, areMapsEqual: o, areNumbersEqual: s, areObjectsEqual: c, arePrimitiveWrappersEqual: l, areRegExpsEqual: u, areSetsEqual: d, areTypedArraysEqual: f, areUrlsEqual: p }) {
206
+ return {
207
+ "[object Arguments]": c,
208
+ "[object Array]": t,
209
+ "[object ArrayBuffer]": e,
210
+ "[object AsyncGeneratorFunction]": a,
211
+ "[object BigInt]": s,
212
+ "[object BigInt64Array]": f,
213
+ "[object BigUint64Array]": f,
214
+ "[object Boolean]": l,
215
+ "[object DataView]": n,
216
+ "[object Date]": r,
217
+ "[object Error]": i,
218
+ "[object Float16Array]": f,
219
+ "[object Float32Array]": f,
220
+ "[object Float64Array]": f,
221
+ "[object Function]": a,
222
+ "[object GeneratorFunction]": a,
223
+ "[object Int8Array]": f,
224
+ "[object Int16Array]": f,
225
+ "[object Int32Array]": f,
226
+ "[object Map]": o,
227
+ "[object Number]": l,
228
+ "[object Object]": (e, t, n) => typeof e.then != "function" && typeof t.then != "function" && c(e, t, n),
229
+ "[object RegExp]": u,
230
+ "[object Set]": d,
231
+ "[object String]": l,
232
+ "[object URL]": p,
233
+ "[object Uint8Array]": f,
234
+ "[object Uint8ClampedArray]": f,
235
+ "[object Uint16Array]": f,
236
+ "[object Uint32Array]": f
1621
237
  };
1622
- })), Je = s(((e, t) => {
1623
- var n = Ge(), r = qe(), i = K(), a = q(), o = _(), s = re(), c = a("Object.prototype.toString"), l = $()(), u = typeof globalThis > "u" ? global : globalThis, d = r(), f = a("String.prototype.slice"), p = a("Array.prototype.indexOf", !0) || function(e, t) {
1624
- for (var n = 0; n < e.length; n += 1) if (e[n] === t) return n;
1625
- return -1;
1626
- }, m = { __proto__: null };
1627
- l && o && s ? n(d, function(e) {
1628
- var t = new u[e]();
1629
- if (Symbol.toStringTag in t && s) {
1630
- var n = s(t), r = o(n, Symbol.toStringTag);
1631
- if (!r && n && (r = o(s(n), Symbol.toStringTag)), r && r.get) {
1632
- var a = i(r.get);
1633
- m["$" + e] = a;
1634
- }
1635
- }
1636
- }) : n(d, function(e) {
1637
- var t = new u[e](), n = t.slice || t.set;
1638
- if (n) {
1639
- var r = i(n);
1640
- m["$" + e] = r;
1641
- }
238
+ }
239
+ var F = I();
240
+ I({ strict: !0 }), I({ circular: !0 }), I({
241
+ circular: !0,
242
+ strict: !0
243
+ }), I({ createInternalComparator: () => p }), I({
244
+ strict: !0,
245
+ createInternalComparator: () => p
246
+ }), I({
247
+ circular: !0,
248
+ createInternalComparator: () => p
249
+ }), I({
250
+ circular: !0,
251
+ createInternalComparator: () => p,
252
+ strict: !0
253
+ });
254
+ function I(e = {}) {
255
+ let { circular: t = !1, createInternalComparator: n, createState: r, strict: i = !1 } = e, a = A(j(e));
256
+ return N({
257
+ circular: t,
258
+ comparator: a,
259
+ createState: r,
260
+ equals: n ? n(a) : M(a),
261
+ strict: i
1642
262
  });
1643
- var h = function(e) {
1644
- var t = !1;
1645
- return n(m, function(n, r) {
1646
- if (!t) try {
1647
- "$" + n(e) === r && (t = f(r, 1));
1648
- } catch {}
1649
- }), t;
1650
- }, g = function(e) {
1651
- var t = !1;
1652
- return n(m, function(n, r) {
1653
- if (!t) try {
1654
- n(e), t = f(r, 1);
1655
- } catch {}
1656
- }), t;
1657
- };
1658
- t.exports = function(e) {
1659
- if (!e || typeof e != "object") return !1;
1660
- if (!l) {
1661
- var t = f(c(e), 8, -1);
1662
- return p(d, t) > -1 ? t : t === "Object" ? g(e) : !1;
1663
- }
1664
- return o ? h(e) : null;
1665
- };
1666
- })), Ye = s(((e, t) => {
1667
- var n = q()("ArrayBuffer.prototype.byteLength", !0), r = Ae();
1668
- t.exports = function(e) {
1669
- return r(e) ? n ? n(e) : e.byteLength : NaN;
1670
- };
1671
- })), Xe = l(s(((e, t) => {
1672
- var n = X(), r = se(), i = Q(), a = W(), o = Te(), s = ve(), c = ke(), l = fe(), u = xe(), d = Ae(), p = je(), m = Me(), h = Ne(), g = f(), _ = Be(), v = Ue(), y = Je(), b = Ye(), x = r("SharedArrayBuffer.prototype.byteLength", !0), S = r("Date.prototype.getTime"), C = Object.getPrototypeOf, ee = r("Object.prototype.toString"), w = a("%Set%", !0), T = r("Map.prototype.has", !0), E = r("Map.prototype.get", !0), D = r("Map.prototype.size", !0), O = r("Set.prototype.add", !0), k = r("Set.prototype.delete", !0), A = r("Set.prototype.has", !0), j = r("Set.prototype.size", !0);
1673
- function M(e, t, n, r) {
1674
- for (var i = o(e), a; (a = i.next()) && !a.done;) if (L(t, a.value, n, r)) return k(e, a.value), !0;
1675
- return !1;
1676
- }
1677
- function N(e) {
1678
- if (e === void 0) return null;
1679
- if (typeof e != "object") return typeof e == "symbol" ? !1 : typeof e == "string" || typeof e == "number" ? +e == +e : !0;
1680
- }
1681
- function P(e, t, r, i, a, o) {
1682
- var s = N(r);
1683
- if (s != null) return s;
1684
- var c = E(t, s), l = n({}, a, { strict: !1 });
1685
- return c === void 0 && !T(t, s) || !L(i, c, l, o) ? !1 : !T(e, s) && L(i, c, l, o);
1686
- }
1687
- function F(e, t, n) {
1688
- var r = N(n);
1689
- return r ?? (A(t, r) && !A(e, r));
1690
- }
1691
- function I(e, t, n, r, i, a) {
1692
- for (var s = o(e), c, l; (c = s.next()) && !c.done;) if (l = c.value, L(n, l, i, a) && L(r, E(t, l), i, a)) return k(e, l), !0;
1693
- return !1;
1694
- }
1695
- function L(e, t, n, r) {
1696
- var i = n || {};
1697
- if (i.strict ? c(e, t) : e === t) return !0;
1698
- if (_(e) !== _(t)) return !1;
1699
- if (!e || !t || typeof e != "object" && typeof t != "object") return i.strict ? c(e, t) : e == t;
1700
- var a = r.has(e), o = r.has(t), s;
1701
- if (a && o) {
1702
- if (r.get(e) === r.get(t)) return !0;
1703
- } else s = {};
1704
- return a || r.set(e, s), o || r.set(t, s), V(e, t, i, r);
1705
- }
1706
- function R(e) {
1707
- return !e || typeof e != "object" || typeof e.length != "number" || typeof e.copy != "function" || typeof e.slice != "function" || e.length > 0 && typeof e[0] != "number" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
1708
- }
1709
- function z(e, t, n, r) {
1710
- if (j(e) !== j(t)) return !1;
1711
- for (var i = o(e), a = o(t), s, c, l; (s = i.next()) && !s.done;) if (s.value && typeof s.value == "object") l ||= new w(), O(l, s.value);
1712
- else if (!A(t, s.value)) {
1713
- if (n.strict || !F(e, t, s.value)) return !1;
1714
- l ||= new w(), O(l, s.value);
1715
- }
1716
- if (l) {
1717
- for (; (c = a.next()) && !c.done;) if (c.value && typeof c.value == "object") {
1718
- if (!M(l, c.value, n.strict, r)) return !1;
1719
- } else if (!n.strict && !A(e, c.value) && !M(l, c.value, n.strict, r)) return !1;
1720
- return j(l) === 0;
1721
- }
1722
- return !0;
1723
- }
1724
- function B(e, t, r, i) {
1725
- if (D(e) !== D(t)) return !1;
1726
- for (var a = o(e), s = o(t), c, l, u, d, f, p; (c = a.next()) && !c.done;) if (d = c.value[0], f = c.value[1], d && typeof d == "object") u ||= new w(), O(u, d);
1727
- else if (p = E(t, d), p === void 0 && !T(t, d) || !L(f, p, r, i)) {
1728
- if (r.strict || !P(e, t, d, f, r, i)) return !1;
1729
- u ||= new w(), O(u, d);
1730
- }
1731
- if (u) {
1732
- for (; (l = s.next()) && !l.done;) if (d = l.value[0], p = l.value[1], d && typeof d == "object") {
1733
- if (!I(u, e, d, p, r, i)) return !1;
1734
- } else if (!r.strict && (!e.has(d) || !L(E(e, d), p, r, i)) && !I(u, e, d, p, n({}, r, { strict: !1 }), i)) return !1;
1735
- return j(u) === 0;
1736
- }
1737
- return !0;
1738
- }
1739
- function V(e, t, n, r) {
1740
- var a, o;
1741
- if (typeof e != typeof t || e == null || t == null || ee(e) !== ee(t) || l(e) !== l(t) || u(e) !== u(t)) return !1;
1742
- var s = e instanceof Error, c = t instanceof Error;
1743
- if (s !== c || (s || c) && (e.name !== t.name || e.message !== t.message)) return !1;
1744
- var f = m(e), _ = m(t);
1745
- if (f !== _ || (f || _) && (e.source !== t.source || i(e) !== i(t))) return !1;
1746
- var w = p(e), T = p(t);
1747
- if (w !== T || (w || T) && S(e) !== S(t) || n.strict && C && C(e) !== C(t)) return !1;
1748
- var E = y(e), D = y(t);
1749
- if (E !== D) return !1;
1750
- if (E || D) {
1751
- if (e.length !== t.length) return !1;
1752
- for (a = 0; a < e.length; a++) if (e[a] !== t[a]) return !1;
1753
- return !0;
1754
- }
1755
- var O = R(e), k = R(t);
1756
- if (O !== k) return !1;
1757
- if (O || k) {
1758
- if (e.length !== t.length) return !1;
1759
- for (a = 0; a < e.length; a++) if (e[a] !== t[a]) return !1;
1760
- return !0;
1761
- }
1762
- var A = d(e), j = d(t);
1763
- if (A !== j) return !1;
1764
- if (A || j) return b(e) === b(t) ? typeof Uint8Array == "function" && L(new Uint8Array(e), new Uint8Array(t), n, r) : !1;
1765
- var M = h(e), N = h(t);
1766
- if (M !== N) return !1;
1767
- if (M || N) return x(e) === x(t) ? typeof Uint8Array == "function" && L(new Uint8Array(e), new Uint8Array(t), n, r) : !1;
1768
- if (typeof e != typeof t) return !1;
1769
- var P = g(e), F = g(t);
1770
- if (P.length !== F.length) return !1;
1771
- for (P.sort(), F.sort(), a = P.length - 1; a >= 0; a--) if (P[a] != F[a]) return !1;
1772
- for (a = P.length - 1; a >= 0; a--) if (o = P[a], !L(e[o], t[o], n, r)) return !1;
1773
- var I = v(e), V = v(t);
1774
- return I === V ? I === "Set" || V === "Set" ? z(e, t, n, r) : I === "Map" ? B(e, t, n, r) : !0 : !1;
1775
- }
1776
- t.exports = function(e, t, n) {
1777
- return L(e, t, n, s());
1778
- };
1779
- }))(), 1);
1780
- function Ze(t, n) {
263
+ }
264
+ function L(t, n) {
1781
265
  let { selector: r, deps: i = [] } = n ?? {}, a = typeof t == "function", o = e.useRef(t);
1782
266
  if (!a && t !== o.current) throw Error("useSubscription detected a new object on re-render. Either create the subscription outside the component or wrap it in a factory: useSubscription(() => yourSubscription(...))");
1783
267
  o.current = t;
@@ -1786,9 +270,12 @@ function Ze(t, n) {
1786
270
  let l = e.useMemo(() => c.current(), i);
1787
271
  if (!l.get || !l.subscribe) throw Error("Subscription is not valid. It must have a get and subscribe method.");
1788
272
  let [u, d] = e.useState(() => r ? r(l.get()) : l.get()), f = e.useEffectEvent(() => u);
1789
- return e.useEffect(() => l.subscribe((e) => {
1790
- let t = r ? r(e) : e;
1791
- (0, Xe.default)(t, f()) || d(t);
1792
- }), [l, r]), u;
273
+ return e.useEffect(() => {
274
+ let e = (e) => {
275
+ let t = r ? r(e) : e;
276
+ F(t, f()) || d(t);
277
+ }, t = l.subscribe(e);
278
+ return e(l.get()), t;
279
+ }, [l, r]), u;
1793
280
  }
1794
- export { Ze as useSubscription };
281
+ export { L as useSubscription };