@signaldb/oby 1.0.0 → 2.0.0-beta.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/index.mjs CHANGED
@@ -1,54 +1,54 @@
1
- import { createReactivityAdapter as Et } from "@signaldb/core";
2
- const xe = Symbol("Cached"), ce = Symbol("Observable"), Ge = Symbol("Observable.Boolean"), $e = Symbol("Observable.Frozen"), Te = Symbol("Observable.Readable"), Be = Symbol("Observable.Writable"), ne = Symbol("Store"), je = Symbol("Store.Keys"), We = Symbol("Store.Observable"), de = Symbol("Store.Target"), Pe = Symbol("Store.Values"), Ie = Symbol("Store.Untracked"), H = Symbol("Suspense"), Xe = Symbol("Uncached"), Ne = Symbol("Untracked"), Ze = Symbol("Untracked.Unwrapped"), wt = (e) => Q(e) ? e : [e], Ot = (e) => e instanceof Error ? e : typeof e == "string" ? new Error(e) : new Error("Unknown error"), { is: G } = Object, { isArray: Q } = Array, yt = (e, t) => {
1
+ import { createReactivityAdapter as At } from "@signaldb/core";
2
+ const Ee = Symbol("Cached"), te = Symbol("Observable"), Je = Symbol("Observable.Boolean"), Ye = Symbol("Observable.Frozen"), we = Symbol("Observable.Readable"), Oe = Symbol("Observable.Writable"), X = Symbol("Store"), Fe = Symbol("Store.Keys"), Ve = Symbol("Store.Observable"), ce = Symbol("Store.Target"), Re = Symbol("Store.Values"), _e = Symbol("Store.Untracked"), q = Symbol("Suspense"), ze = Symbol("Uncached"), me = Symbol("Untracked"), He = Symbol("Untracked.Unwrapped"), dt = (e) => K(e) ? e : [e], pt = (e) => e instanceof Error ? e : typeof e == "string" ? new Error(e) : new Error("Unknown error"), { is: J } = Object, { isArray: K } = Array, bt = (e, t) => {
3
3
  if (e.length !== t.length)
4
4
  return !1;
5
5
  for (let s = 0, n = e.length; s < n; s++) {
6
6
  const r = e[s], i = t[s];
7
- if (!G(r, i))
7
+ if (!J(r, i))
8
8
  return !1;
9
9
  }
10
10
  return !0;
11
- }, _ = (e) => typeof e == "function", Le = (e) => e !== null && typeof e == "object", _t = (e) => typeof e == "symbol", Ce = () => {
12
- }, ke = () => !1;
13
- function Rt() {
11
+ }, E = (e) => typeof e == "function", Me = (e) => e !== null && typeof e == "object", St = (e) => typeof e == "symbol", xe = () => {
12
+ }, Ge = () => !1;
13
+ function gt() {
14
14
  if (arguments.length)
15
15
  throw new Error("A readonly Observable can not be updated");
16
16
  return this;
17
17
  }
18
- function mt() {
18
+ function yt() {
19
19
  if (arguments.length)
20
20
  throw new Error("A readonly Observable can not be updated");
21
21
  return this.get();
22
22
  }
23
- function Mt(e) {
24
- return arguments.length ? _(e) ? this.C(e) : this.set(e) : this.get();
23
+ function Et(e) {
24
+ return arguments.length ? E(e) ? this.C(e) : this.set(e) : this.get();
25
25
  }
26
- const C = (e) => {
27
- const t = Rt.bind(e);
28
- return t[ce] = !0, t[$e] = !0, t;
29
- }, F = (e) => {
30
- const t = mt.bind(e);
31
- return t[ce] = !0, t[Te] = e, t;
32
- }, et = (e) => {
33
- const t = Mt.bind(e);
34
- return t[ce] = !0, t[Be] = e, t;
35
- }, Je = 0, Ae = 1, be = 2, ge = 3, tt = C(!1), xt = C(!0), Ke = new Proxy({}, new Proxy({}, { get() {
26
+ const P = (e) => {
27
+ const t = gt.bind(e);
28
+ return t[te] = !0, t[Ye] = !0, t;
29
+ }, D = (e) => {
30
+ const t = yt.bind(e);
31
+ return t[te] = !0, t[we] = e, t;
32
+ }, $e = (e) => {
33
+ const t = Et.bind(e);
34
+ return t[te] = !0, t[Oe] = e, t;
35
+ }, Ke = 0, oe = 1, ue = 2, le = 3, je = P(!1), wt = P(!0), Te = new Proxy({}, new Proxy({}, { get() {
36
36
  throw new Error("Unavailable value");
37
- } })), st = function() {
38
- }, Re = (e, t) => {
37
+ } })), We = function() {
38
+ }, Se = (e, t) => {
39
39
  if (e instanceof Array)
40
40
  for (let s = 0, n = e.length; s < n; s++)
41
41
  t(e[s]);
42
42
  else e && t(e);
43
- }, fe = (e, t) => {
43
+ }, re = (e, t) => {
44
44
  if (e instanceof Array)
45
45
  for (let s = e.length - 1; s >= 0; s--)
46
46
  t(e[s]);
47
47
  else e && t(e);
48
- }, ue = (e, t, s) => {
48
+ }, se = (e, t, s) => {
49
49
  const n = e[t];
50
50
  n instanceof Array ? n.push(s) : n ? e[t] = [n, s] : e[t] = s;
51
- }, q = (e, t, s) => {
51
+ }, U = (e, t, s) => {
52
52
  const n = e[t];
53
53
  if (n instanceof Set)
54
54
  n.add(s);
@@ -59,70 +59,65 @@ const C = (e) => {
59
59
  }
60
60
  } else
61
61
  e[t] = s;
62
- }, J = (e, t, s) => {
62
+ }, v = (e, t, s) => {
63
63
  const n = e[t];
64
64
  n instanceof Set ? n.delete(s) : n === s && (e[t] = void 0);
65
- }, re = (e, t) => {
65
+ }, Z = (e, t) => {
66
66
  if (e instanceof Set)
67
67
  for (const s of e)
68
68
  t(s);
69
69
  else e && t(e);
70
- }, Tt = (e) => e.call(e), me = (e) => e.Q(!0);
71
- class le {
70
+ }, Ot = (e) => e.call(e), ge = (e) => e.Q(!0);
71
+ class ne {
72
72
  constructor() {
73
73
  this.disposed = !1, this.B = void 0, this.S = void 0, this.D = void 0, this.K = void 0, this.T = void 0, this.U = void 0;
74
74
  }
75
75
  /* API */
76
76
  catch(t, s) {
77
- var r;
78
77
  const { S: n } = this;
79
78
  if (n)
80
79
  return n(t), !0;
81
- if ((r = this.parent) != null && r.catch(t, !0))
80
+ if (this.parent?.catch(t, !0))
82
81
  return !0;
83
82
  if (s)
84
83
  return !1;
85
84
  throw t;
86
85
  }
87
86
  Q(t) {
88
- fe(this.D, me), fe(this.K, me), fe(this.U, me), fe(this.B, Tt), this.B = void 0, this.disposed = t, this.S = void 0, this.K = void 0, this.U = void 0;
87
+ re(this.D, ge), re(this.K, ge), re(this.U, ge), re(this.B, Ot), this.B = void 0, this.disposed = t, this.S = void 0, this.K = void 0, this.U = void 0;
89
88
  }
90
89
  get(t) {
91
- var s;
92
- return (s = this.context) == null ? void 0 : s[t];
90
+ return this.context?.[t];
93
91
  }
94
92
  E(t, s, n) {
95
- const r = g, i = Y;
96
- Fe(s), Se(n);
93
+ const r = A, i = H;
94
+ ve(s), he(n);
97
95
  try {
98
96
  return t();
99
- } catch (o) {
100
- return this.catch(Ot(o), !1), Ke;
97
+ } catch (c) {
98
+ return this.catch(pt(c), !1), Te;
101
99
  } finally {
102
- Fe(r), Se(i);
100
+ ve(r), he(i);
103
101
  }
104
102
  }
105
103
  }
106
- class nt extends le {
104
+ class Xe extends ne {
107
105
  constructor() {
108
106
  super(...arguments), this.context = {};
109
107
  }
110
108
  }
111
- let W, rt = new nt(), Y, g = rt;
112
- const Ye = (e) => W = e, Se = (e) => Y = e, Fe = (e) => g = e;
113
- let ae = 0, Ve = Ce;
114
- const Bt = async (e) => {
115
- ae || Ye(new Promise((t) => Ve = t));
109
+ let F, Ze = new Xe(), H, A = Ze;
110
+ const Ue = (e) => F = e, he = (e) => H = e, ve = (e) => A = e;
111
+ let ie = 0, De = xe;
112
+ const Rt = async (e) => {
113
+ ie || Ue(new Promise((t) => De = t));
116
114
  try {
117
- return ae += 1, await e();
115
+ return ie += 1, await e();
118
116
  } finally {
119
- ae -= 1, ae || (Ye(void 0), Ve());
117
+ ie -= 1, ie || (Ue(void 0), De());
120
118
  }
121
- }, it = (e) => _(e) && Ge in e, ie = (e) => {
122
- var t, s;
123
- return _(e) && ($e in e || !!((s = (t = e[Te]) == null ? void 0 : t.parent) != null && s.disposed));
124
- }, Ue = (e) => _(e) && (Ne in e || Ze in e);
125
- let Pt = class {
119
+ }, ke = (e) => E(e) && Je in e, k = (e) => E(e) && (Ye in e || !!e[we]?.parent?.disposed), Be = (e) => E(e) && (me in e || He in e);
120
+ let _t = class {
126
121
  constructor() {
127
122
  this.A1 = [], this.M = 0, this.A2 = !1, this.N = () => {
128
123
  if (!this.A2 && !this.M && this.A1.length)
@@ -145,31 +140,30 @@ let Pt = class {
145
140
  };
146
141
  }
147
142
  };
148
- const te = new Pt();
149
- class N {
143
+ const j = new _t();
144
+ class T {
150
145
  /* CONSTRUCTOR */
151
146
  constructor(t, s, n) {
152
- this.K = /* @__PURE__ */ new Set(), this.value = t, n && (this.parent = n), (s == null ? void 0 : s.equals) !== void 0 && (this.equals = s.equals || ke);
147
+ this.K = /* @__PURE__ */ new Set(), this.value = t, n && (this.parent = n), s?.equals !== void 0 && (this.equals = s.equals || Ge);
153
148
  }
154
149
  /* API */
155
150
  get() {
156
- var t, s;
157
- return (t = this.parent) != null && t.disposed || ((s = this.parent) == null || s.C(), Y == null || Y.A.L(this)), this.value;
151
+ return this.parent?.disposed || (this.parent?.C(), H?.A.L(this)), this.value;
158
152
  }
159
153
  set(t) {
160
- const s = this.equals || G;
161
- return (this.value === st || !s(t, this.value)) && (this.value = t, te.M += 1, this.I(ge), te.M -= 1, te.N()), t;
154
+ const s = this.equals || J;
155
+ return (this.value === We || !s(t, this.value)) && (this.value = t, j.M += 1, this.I(le), j.M -= 1, j.N()), t;
162
156
  }
163
157
  I(t) {
164
158
  for (const s of this.K)
165
- (s.J !== Ae || s.A.has(this)) && (s.sync ? (s.J = Math.max(s.J, t), te.F(s)) : s.I(t));
159
+ (s.J !== oe || s.A.has(this)) && (s.sync ? (s.J = Math.max(s.J, t), j.F(s)) : s.I(t));
166
160
  }
167
161
  C(t) {
168
162
  const s = t(this.value);
169
163
  return this.set(s);
170
164
  }
171
165
  }
172
- class It {
166
+ class mt {
173
167
  /* CONSTRUCTOR */
174
168
  constructor(t) {
175
169
  this.observer = t, this.A = [], this.P = 0;
@@ -205,21 +199,20 @@ class It {
205
199
  this.P += 1;
206
200
  return;
207
201
  }
208
- const o = n.indexOf(t);
209
- if (o >= 0 && o < r)
202
+ const c = n.indexOf(t);
203
+ if (c >= 0 && c < r)
210
204
  return;
211
205
  r < i - 1 ? this.R() : r === i - 1 && n[r].K.delete(s);
212
206
  }
213
- t.K.add(s), n[this.P++] = t, r === 128 && (s.A = new Nt(s, n));
207
+ t.K.add(s), n[this.P++] = t, r === 128 && (s.A = new Mt(s, n));
214
208
  }
215
209
  C() {
216
- var s;
217
210
  const { A: t } = this;
218
- for (let n = 0, r = t.length; n < r; n++)
219
- (s = t[n].parent) == null || s.C();
211
+ for (let s = 0, n = t.length; s < n; s++)
212
+ t[s].parent?.C();
220
213
  }
221
214
  }
222
- class Nt {
215
+ class Mt {
223
216
  /* CONSTRUCTOR */
224
217
  constructor(t, s) {
225
218
  this.observer = t, this.A = new Set(s);
@@ -244,22 +237,21 @@ class Nt {
244
237
  r !== i && n.add(t);
245
238
  }
246
239
  C() {
247
- var t;
248
- for (const s of this.A)
249
- (t = s.parent) == null || t.C();
240
+ for (const t of this.A)
241
+ t.parent?.C();
250
242
  }
251
243
  }
252
- class ve extends le {
244
+ class Pe extends ne {
253
245
  /* CONSTRUCTOR */
254
246
  constructor() {
255
- super(), this.parent = g, this.context = g.context, this.J = ge, this.A = new It(this), g !== rt && ue(this.parent, "K", this);
247
+ super(), this.parent = A, this.context = A.context, this.J = le, this.A = new mt(this), A !== Ze && se(this.parent, "K", this);
256
248
  }
257
249
  /* API */
258
250
  Q(t) {
259
251
  this.A.Q(t), super.Q(t);
260
252
  }
261
253
  H(t) {
262
- this.Q(!1), this.J = Ae;
254
+ this.Q(!1), this.J = oe;
263
255
  try {
264
256
  return this.E(t, this, this);
265
257
  } finally {
@@ -273,66 +265,66 @@ class ve extends le {
273
265
  throw new Error("Abstract method");
274
266
  }
275
267
  C() {
276
- this.disposed || (this.J === be && this.A.C(), this.J === ge ? (this.J = Ae, this.run(), this.J === Ae ? this.J = Je : this.C()) : this.J = Je);
268
+ this.disposed || (this.J === ue && this.A.C(), this.J === le ? (this.J = oe, this.run(), this.J === oe ? this.J = Ke : this.C()) : this.J = Ke);
277
269
  }
278
270
  }
279
- class Lt extends ve {
271
+ class xt extends Pe {
280
272
  /* CONSTRUCTOR */
281
273
  constructor(t, s) {
282
- super(), this.fn = t, this.observable = new N(st, s, this), (s == null ? void 0 : s.sync) === !0 && (this.sync = !0, this.C());
274
+ super(), this.fn = t, this.observable = new T(We, s, this), s?.sync === !0 && (this.sync = !0, this.C());
283
275
  }
284
276
  /* API */
285
277
  run() {
286
278
  const t = super.H(this.fn);
287
- !this.disposed && this.A.empty() && (this.disposed = !0), t !== Ke && this.observable.set(t);
279
+ !this.disposed && this.A.empty() && (this.disposed = !0), t !== Te && this.observable.set(t);
288
280
  }
289
281
  I(t) {
290
282
  const s = this.J;
291
- s >= t || (this.J = t, s !== be && this.observable.I(be));
283
+ s >= t || (this.J = t, s !== ue && this.observable.I(ue));
292
284
  }
293
285
  }
294
- const L = (e, t) => {
295
- if (ie(e))
286
+ const B = (e, t) => {
287
+ if (k(e))
296
288
  return e;
297
- if (Ue(e))
298
- return C(e());
289
+ if (Be(e))
290
+ return P(e());
299
291
  {
300
- const s = new Lt(e, t);
301
- return F(s.observable);
292
+ const s = new xt(e, t);
293
+ return D(s.observable);
302
294
  }
303
- }, De = (e) => {
304
- if (_(e)) {
305
- if (ie(e) || Ue(e))
295
+ }, Ie = (e) => {
296
+ if (E(e)) {
297
+ if (k(e) || Be(e))
306
298
  return !!e();
307
- if (it(e))
299
+ if (ke(e))
308
300
  return e;
309
301
  {
310
- const t = L(() => !!e());
311
- return t[Ge] = !0, t;
302
+ const t = B(() => !!e());
303
+ return t[Je] = !0, t;
312
304
  }
313
305
  } else
314
306
  return !!e;
315
- }, D = (e) => {
316
- ue(g, "B", e);
307
+ }, C = (e) => {
308
+ se(A, "B", e);
317
309
  };
318
- class Ct extends le {
310
+ class Tt extends ne {
319
311
  /* CONSTRUCTOR */
320
312
  constructor(t) {
321
- super(), this.parent = g, this.context = { ...g.context, ...t }, ue(this.parent, "D", this);
313
+ super(), this.parent = A, this.context = { ...A.context, ...t }, se(this.parent, "D", this);
322
314
  }
323
315
  /* API */
324
316
  E(t) {
325
317
  return super.E(t, this, void 0);
326
318
  }
327
319
  }
328
- function Kt(e, t) {
329
- return _t(e) ? g.context[e] : new Ct(e).E(t || Ce);
320
+ function Bt(e, t) {
321
+ return St(e) ? A.context[e] : new Tt(e).E(t || xe);
330
322
  }
331
- const Ut = () => {
332
- const e = new N(!1);
333
- return D(() => e.set(!0)), F(e);
323
+ const Pt = () => {
324
+ const e = new T(!1);
325
+ return C(() => e.set(!0)), D(e);
334
326
  };
335
- class vt {
327
+ class It {
336
328
  constructor() {
337
329
  this.A1 = [], this.A2 = !1, this.A3 = !1, this.N = () => {
338
330
  if (!this.A2 && this.A1.length)
@@ -353,7 +345,7 @@ class vt {
353
345
  }, this.resolve = () => {
354
346
  queueMicrotask(() => {
355
347
  queueMicrotask(() => {
356
- W ? W.finally(this.resolve) : (this.A3 = !1, this.N());
348
+ F ? F.finally(this.resolve) : (this.A3 = !1, this.N());
357
349
  });
358
350
  });
359
351
  }, this.F = (t) => {
@@ -361,70 +353,68 @@ class vt {
361
353
  };
362
354
  }
363
355
  }
364
- const pe = new vt();
365
- class ot extends ve {
356
+ const fe = new It();
357
+ class et extends Pe {
366
358
  /* CONSTRUCTOR */
367
359
  constructor(t, s) {
368
- if (super(), this.fn = t, (s == null ? void 0 : s.suspense) !== !1) {
369
- const n = this.get(H);
360
+ if (super(), this.fn = t, s?.suspense !== !1) {
361
+ const n = this.get(q);
370
362
  n && (this.suspense = n);
371
363
  }
372
- (s == null ? void 0 : s.sync) === !0 && (this.sync = !0), (s == null ? void 0 : s.sync) === "init" ? (this.init = !0, this.C()) : this.F();
364
+ s?.sync === !0 && (this.sync = !0), s?.sync === "init" ? (this.init = !0, this.C()) : this.F();
373
365
  }
374
366
  /* API */
375
367
  run() {
376
368
  const t = super.H(this.fn);
377
- _(t) && ue(this, "B", t);
369
+ E(t) && se(this, "B", t);
378
370
  }
379
371
  F() {
380
- var t;
381
- (t = this.suspense) != null && t.suspended || (this.sync ? this.C() : pe.F(this));
372
+ this.suspense?.suspended || (this.sync ? this.C() : fe.F(this));
382
373
  }
383
374
  I(t) {
384
375
  const s = this.J;
385
376
  s >= t || (this.J = t, (!this.sync || s !== 2 && s !== 3) && this.F());
386
377
  }
387
378
  C() {
388
- var t;
389
- (t = this.suspense) != null && t.suspended || super.C();
379
+ this.suspense?.suspended || super.C();
390
380
  }
391
381
  }
392
- const we = (e, t) => {
393
- const s = new ot(e, t);
382
+ const Ae = (e, t) => {
383
+ const s = new et(e, t);
394
384
  return () => s.Q(!0);
395
385
  };
396
- function O(e) {
397
- if (_(e))
398
- return Ze in e ? O(e()) : Ne in e ? C(O(e())) : ce in e ? e : L(() => O(e()));
386
+ function S(e) {
387
+ if (E(e))
388
+ return He in e ? S(e()) : me in e ? P(S(e())) : te in e ? e : B(() => S(e()));
399
389
  if (e instanceof Array) {
400
390
  const t = new Array(e.length);
401
391
  for (let s = 0, n = t.length; s < n; s++)
402
- t[s] = O(e[s]);
392
+ t[s] = S(e[s]);
403
393
  return t;
404
394
  } else
405
395
  return e;
406
396
  }
407
- class Oe extends le {
397
+ class de extends ne {
408
398
  /* CONSTRUCTOR */
409
399
  constructor(t) {
410
- super(), this.parent = g, this.context = g.context, t && this.get(H) && (this.A0 = !0, q(this.parent, "T", this));
400
+ super(), this.parent = A, this.context = A.context, t && this.get(q) && (this.A0 = !0, U(this.parent, "T", this));
411
401
  }
412
402
  /* API */
413
403
  Q(t) {
414
- this.A0 && J(this.parent, "T", this), super.Q(t);
404
+ this.A0 && v(this.parent, "T", this), super.Q(t);
415
405
  }
416
406
  E(t) {
417
407
  const s = () => this.Q(!0), n = () => t(s);
418
408
  return super.E(n, this, void 0);
419
409
  }
420
410
  }
421
- const Dt = C(-1);
422
- let Qt = class extends Oe {
411
+ const Nt = P(-1);
412
+ let Lt = class extends de {
423
413
  };
424
- class qt {
414
+ class Ct {
425
415
  /* CONSTRUCTOR */
426
416
  constructor(t) {
427
- this.parent = g, this.suspense = g.get(H), this.A5 = /* @__PURE__ */ new Map(), this.A6 = !1, this.A7 = 0, this.A8 = 0, this.A9 = 0, this.cleanup = () => {
417
+ this.parent = A, this.suspense = A.get(q), this.A5 = /* @__PURE__ */ new Map(), this.A6 = !1, this.A7 = 0, this.A8 = 0, this.A9 = 0, this.cleanup = () => {
428
418
  if (!this.A7 || this.A7 === this.A8)
429
419
  return;
430
420
  const { A5: s, A6: n } = this;
@@ -434,62 +424,59 @@ class qt {
434
424
  r.Q(!0);
435
425
  }), this.A5 = /* @__PURE__ */ new Map()));
436
426
  }, this.Q = () => {
437
- this.suspense && J(this.parent, "T", this.T), this.A7 = this.A5.size, this.A8 = 0, this.A9 = 0, this.cleanup();
427
+ this.suspense && v(this.parent, "T", this.T), this.A7 = this.A5.size, this.A8 = 0, this.A9 = 0, this.cleanup();
438
428
  }, this.AA = () => {
439
429
  this.A6 = !this.A6, this.A8 = 0, this.A9 = 0;
440
430
  }, this.O = (s) => {
441
431
  this.A9 = s.length, this.cleanup(), this.A7 = this.A9, this.A8 = 0;
442
432
  }, this.map = (s) => {
443
- var A;
444
433
  this.AA();
445
- const { A5: n, A6: r, fn: i, AB: o } = this, u = new Array(s.length);
446
- let c = !0, h = !0, l = 0;
447
- for (let f = 0, S = s.length; f < S; f++) {
448
- const d = s[f], b = n.get(d);
449
- if (b && b.A6 !== r)
450
- h = !1, l += 1, b.A6 = r, (A = b.index) == null || A.set(f), u[f] = b.G;
434
+ const { A5: n, A6: r, fn: i, AB: c } = this, u = new Array(s.length);
435
+ let o = !0, l = !0, p = 0;
436
+ for (let a = 0, d = s.length; a < d; a++) {
437
+ const g = s[a], h = n.get(g);
438
+ if (h && h.A6 !== r)
439
+ l = !1, p += 1, h.A6 = r, h.index?.set(a), u[a] = h.G;
451
440
  else {
452
- c = !1;
453
- const p = new Qt(!1);
454
- b && D(() => p.Q(!0)), p.E(() => {
455
- let y = Dt;
456
- o && (p.index = new N(f), y = F(p.index));
457
- const j = u[f] = O(i(d, y));
458
- p.A6 = r, p.G = j, b || n.set(d, p);
441
+ o = !1;
442
+ const w = new Lt(!1);
443
+ h && C(() => w.Q(!0)), w.E(() => {
444
+ let y = Nt;
445
+ c && (w.index = new T(a), y = D(w.index));
446
+ const _ = u[a] = S(i(g, y));
447
+ w.A6 = r, w.G = _, h || n.set(g, w);
459
448
  });
460
449
  }
461
450
  }
462
- return this.A8 = l, this.O(s), c && (u[xe] = !0), h && (u[Xe] = !0), u;
463
- }, this.T = () => Array.from(this.A5.values()), this.fn = t, this.AB = t.length > 1, this.suspense && q(this.parent, "T", this.T);
451
+ return this.A8 = p, this.O(s), o && (u[Ee] = !0), l && (u[ze] = !0), u;
452
+ }, this.T = () => Array.from(this.A5.values()), this.fn = t, this.AB = t.length > 1, this.suspense && U(this.parent, "T", this.T);
464
453
  }
465
454
  }
466
- const Qe = (e) => _(e) && ce in e;
467
- function X(e, t = !0) {
468
- return (t ? _ : Qe)(e) ? e() : e;
455
+ const Ne = (e) => E(e) && te in e;
456
+ function V(e, t = !0) {
457
+ return (t ? E : Ne)(e) ? e() : e;
469
458
  }
470
- class ct extends le {
459
+ class tt extends ne {
471
460
  /* CONSTRUCTOR */
472
461
  constructor() {
473
- var t;
474
- super(), this.parent = g, this.context = { ...g.context, [H]: this }, ue(this.parent, "U", this), this.suspended = ((t = g.get(H)) == null ? void 0 : t.suspended) || 0;
462
+ super(), this.parent = A, this.context = { ...A.context, [q]: this }, se(this.parent, "U", this), this.suspended = A.get(q)?.suspended || 0;
475
463
  }
476
464
  /* API */
477
465
  A4(t) {
478
- var c;
479
466
  if (!this.suspended && !t)
480
467
  return;
481
468
  const s = this.suspended, n = s + (t ? 1 : -1);
482
469
  if (this.suspended = n, !!s == !!n)
483
470
  return;
484
- (c = this.observable) == null || c.set(!!n);
485
- const r = (h) => {
486
- Re(h.D, r), Re(h.K, i), Re(h.U, u), re(h.T, o);
487
- }, i = (h) => {
488
- h instanceof ot && (h.J === be || h.J === ge) && (h.init ? h.C() : h.F()), r(h);
489
- }, o = (h) => {
490
- _(h) ? h().forEach(r) : r(h);
491
- }, u = (h) => {
492
- h.A4(t);
471
+ this.observable?.set(!!n);
472
+ const r = (o) => {
473
+ Se(o.D, r), Se(o.K, i), Se(o.U, u), Z(o.T, c);
474
+ }, i = (o) => {
475
+ o instanceof et && (o.J === ue || o.J === le) && (o.init ? o.C() : o.F()), r(o);
476
+ }, c = (o) => {
477
+ E(o) ? o().forEach(r) : r(o);
478
+ }, u = (o) => {
479
+ o.A4(t);
493
480
  };
494
481
  r(this);
495
482
  }
@@ -497,136 +484,134 @@ class ct extends le {
497
484
  return super.E(t, this, void 0);
498
485
  }
499
486
  }
500
- const ut = (e, t) => {
501
- const s = new ct(), n = De(e);
502
- return we(() => s.A4(X(n)), { sync: !0 }), s.E(t);
503
- }, Jt = C(-1);
504
- class Yt extends Oe {
487
+ const st = (e, t) => {
488
+ const s = new tt(), n = Ie(e);
489
+ return Ae(() => s.A4(V(n)), { sync: !0 }), s.E(t);
490
+ }, Kt = P(-1);
491
+ class Ut extends de {
505
492
  }
506
- class Ft {
493
+ class vt {
507
494
  /* CONSTRUCTOR */
508
495
  constructor(t, s) {
509
- this.parent = g, this.suspense = g.get(H), this.A5 = /* @__PURE__ */ new Map(), this.AC = [], this.AD = 0, this.cleanup = () => {
496
+ this.parent = A, this.suspense = A.get(q), this.A5 = /* @__PURE__ */ new Map(), this.AC = [], this.AD = 0, this.cleanup = () => {
510
497
  let n = 0, r = Math.max(0, this.pooled ? this.AD - this.AC.length : 0);
511
498
  this.A5.forEach((i) => {
512
- var o;
513
- r > 0 && n++ < r ? ((o = i.suspended) == null || o.set(!0), this.AC.push(i)) : i.Q(!0);
499
+ r > 0 && n++ < r ? (i.suspended?.set(!0), this.AC.push(i)) : i.Q(!0);
514
500
  });
515
501
  }, this.Q = () => {
516
- this.suspense && J(this.parent, "T", this.T), this.A5.forEach((n) => {
502
+ this.suspense && v(this.parent, "T", this.T), this.A5.forEach((n) => {
517
503
  n.Q(!0);
518
504
  }), this.AC.forEach((n) => {
519
505
  n.Q(!0);
520
506
  });
521
507
  }, this.map = (n) => {
522
- var d, b, p, y, j, he;
523
- const { A5: r, fn: i, AB: o } = this, u = /* @__PURE__ */ new Map(), c = new Array(n.length), h = this.AC, l = this.pooled;
524
- let A = !0, f = !0, S = [];
508
+ const { A5: r, fn: i, AB: c } = this, u = /* @__PURE__ */ new Map(), o = new Array(n.length), l = this.AC, p = this.pooled;
509
+ let a = !0, d = !0, g = [];
525
510
  if (r.size)
526
- for (let M = 0, E = n.length; M < E; M++) {
527
- const x = n[M], T = r.get(x);
528
- T ? (f = !1, r.delete(x), u.set(x, T), (d = T.index) == null || d.set(M), c[M] = T.G) : S.push(M);
511
+ for (let h = 0, w = n.length; h < w; h++) {
512
+ const y = n[h], _ = r.get(y);
513
+ _ ? (d = !1, r.delete(y), u.set(y, _), _.index?.set(h), o[h] = _.G) : g.push(h);
529
514
  }
530
515
  else
531
- S = new Array(c.length);
532
- e: for (let M = 0, E = S.length; M < E; M++) {
533
- const x = S[M] || M, T = n[x], V = u.has(T);
534
- if (!V)
535
- for (const [k, z] of r.entries()) {
536
- r.delete(k), u.set(T, z), (b = z.index) == null || b.set(x), (p = z.value) == null || p.set(T), c[x] = z.G;
516
+ g = new Array(o.length);
517
+ e: for (let h = 0, w = g.length; h < w; h++) {
518
+ const y = g[h] || h, _ = n[y], Le = u.has(_);
519
+ if (!Le)
520
+ for (const [G, Q] of r.entries()) {
521
+ r.delete(G), u.set(_, Q), Q.index?.set(y), Q.value?.set(_), o[y] = Q.G;
537
522
  continue e;
538
523
  }
539
- A = !1;
540
- let R;
541
- l && h.length ? (R = h.pop(), (y = R.index) == null || y.set(x), (j = R.value) == null || j.set(T), (he = R.suspended) == null || he.set(!1), c[x] = R.G) : (R = new Yt(!1), R.E(() => {
542
- let k = Jt;
543
- o && (R.index = new N(x), k = F(R.index));
544
- const z = R.value = new N(T), _e = l ? new N(!1) : void 0, qe = L(() => X(z.get())), pt = c[x] = _e ? ut(() => _e.get(), () => O(i(qe, k))) : O(i(qe, k));
545
- R.value = z, R.G = pt, R.suspended = _e;
546
- })), V ? D(() => R.Q(!0)) : u.set(T, R);
524
+ a = !1;
525
+ let O;
526
+ p && l.length ? (O = l.pop(), O.index?.set(y), O.value?.set(_), O.suspended?.set(!1), o[y] = O.G) : (O = new Ut(!1), O.E(() => {
527
+ let G = Kt;
528
+ c && (O.index = new T(y), G = D(O.index));
529
+ const Q = O.value = new T(_), be = p ? new T(!1) : void 0, Ce = B(() => V(Q.get())), at = o[y] = be ? st(() => be.get(), () => S(i(Ce, G))) : S(i(Ce, G));
530
+ O.value = Q, O.G = at, O.suspended = be;
531
+ })), Le ? C(() => O.Q(!0)) : u.set(_, O);
547
532
  }
548
- return this.AD = Math.max(this.AD, c.length), this.cleanup(), this.A5 = u, A && (c[xe] = !0), f && (c[Xe] = !0), c;
549
- }, this.T = () => [...this.A5.values(), ...this.AC.values()], this.fn = t, this.AB = t.length > 1, this.pooled = s, this.suspense && q(this.parent, "T", this.T);
533
+ return this.AD = Math.max(this.AD, o.length), this.cleanup(), this.A5 = u, a && (o[Ee] = !0), d && (o[ze] = !0), o;
534
+ }, this.T = () => [...this.A5.values(), ...this.AC.values()], this.fn = t, this.AB = t.length > 1, this.pooled = s, this.suspense && U(this.parent, "T", this.T);
550
535
  }
551
536
  }
552
- const B = (e) => Le(e) && ne in e;
553
- function K(e) {
554
- if (_(e)) {
555
- const t = Y;
537
+ const m = (e) => Me(e) && X in e;
538
+ function I(e) {
539
+ if (E(e)) {
540
+ const t = H;
556
541
  if (t)
557
542
  try {
558
- return Se(void 0), e();
543
+ return he(void 0), e();
559
544
  } finally {
560
- Se(t);
545
+ he(t);
561
546
  }
562
547
  else
563
548
  return e();
564
549
  } else
565
550
  return e;
566
551
  }
567
- function Vt(e, t, s = [], n) {
568
- if (Q(e) && !B(e)) {
569
- const r = !!(n != null && n.unkeyed);
570
- return C(K(() => e.length ? e.map((i, o) => O(t(r && !Qe(i) ? C(i) : i, o))) : O(s)));
552
+ function Dt(e, t, s = [], n) {
553
+ if (K(e) && !m(e)) {
554
+ const r = !!n?.unkeyed;
555
+ return P(I(() => e.length ? e.map((i, c) => S(t(r && !Ne(i) ? P(i) : i, c))) : S(s)));
571
556
  } else {
572
- const { Q: r, map: i } = n != null && n.unkeyed ? new Ft(t, !!n.pooled) : new qt(t);
573
- D(r);
574
- const o = L(() => X(e) ?? [], {
575
- equals: (u, c) => !!u && !!c && !u.length && !c.length && !B(u) && !B(c)
557
+ const { Q: r, map: i } = n?.unkeyed ? new vt(t, !!n.pooled) : new Ct(t);
558
+ C(r);
559
+ const c = B(() => V(e) ?? [], {
560
+ equals: (u, o) => !!u && !!o && !u.length && !o.length && !m(u) && !m(o)
576
561
  });
577
- return L(() => {
578
- const u = o();
579
- return B(u) && u[Pe], K(() => {
580
- const c = i(u);
581
- return c != null && c.length ? c : O(s);
562
+ return B(() => {
563
+ const u = c();
564
+ return m(u) && u[Re], I(() => {
565
+ const o = i(u);
566
+ return o?.length ? o : S(s);
582
567
  });
583
568
  }, {
584
- equals: (u, c) => Q(u) && !!u[xe] && Q(c) && yt(u, c)
569
+ equals: (u, o) => K(u) && !!u[Ee] && K(o) && bt(u, o)
585
570
  });
586
571
  }
587
572
  }
588
- const lt = (e) => (K(e), e), Me = (e, t, s) => {
573
+ const nt = (e) => (I(e), e), ye = (e, t, s) => {
589
574
  for (let n = 0, r = t.length; n < r; n++) {
590
575
  const i = t[n];
591
576
  if (i.length === 1)
592
577
  return i[0];
593
- if (G(i[0], e))
578
+ if (J(i[0], e))
594
579
  return i[1];
595
580
  }
596
581
  return s;
597
582
  };
598
- function ht(e, t, s) {
599
- if (_(e) && !ie(e) && !Ue(e)) {
600
- if (it(e))
601
- return L(() => O(Me(e(), t, s)));
602
- const r = lt(L(() => Me(e(), t, s)));
603
- return ie(r) ? C(O(r())) : L(() => O(X(r)));
583
+ function rt(e, t, s) {
584
+ if (E(e) && !k(e) && !Be(e)) {
585
+ if (ke(e))
586
+ return B(() => S(ye(e(), t, s)));
587
+ const r = nt(B(() => ye(e(), t, s)));
588
+ return k(r) ? P(S(r())) : B(() => S(V(r)));
604
589
  } else {
605
- const r = Me(X(e), t, s);
606
- return C(O(r));
590
+ const r = ye(V(e), t, s);
591
+ return P(S(r));
607
592
  }
608
593
  }
609
- const ft = (e, t, s) => {
610
- const n = De(e);
611
- return ht(n, [[!0, t], [s]]);
594
+ const it = (e, t, s) => {
595
+ const n = Ie(e);
596
+ return rt(n, [[!0, t], [s]]);
612
597
  };
613
- function zt(e, t, s) {
614
- return ft(e, t, s);
598
+ function Qt(e, t, s) {
599
+ return it(e, t, s);
615
600
  }
616
- const at = () => !!W || pe.A3 || pe.A2 || te.A2;
617
- function At(e, t) {
618
- return et(new N(e, t));
601
+ const ot = () => !!F || fe.A3 || fe.A2 || j.A2;
602
+ function ct(e, t) {
603
+ return $e(new T(e, t));
619
604
  }
620
- const dt = () => {
621
- const e = g instanceof nt, t = g instanceof Oe, s = g instanceof ct, n = g instanceof ve;
605
+ const ut = () => {
606
+ const e = A instanceof Xe, t = A instanceof de, s = A instanceof tt, n = A instanceof Pe;
622
607
  return { isSuperRoot: e, isRoot: t, isSuspense: s, isComputation: n };
623
- }, Ht = (e) => _(e) && Be in e, Gt = (e) => _(e) ? e[Te] || e[Be] || Ke : e, $t = (e) => Ht(e) ? F(Gt(e)) : e, jt = (e) => new Oe(!0).E(e);
624
- class Wt extends Map {
608
+ }, qt = (e) => E(e) && Oe in e, Jt = (e) => E(e) ? e[we] || e[Oe] || Te : e, Yt = (e) => qt(e) ? D(Jt(e)) : e, Ft = (e) => new de(!0).E(e);
609
+ class Vt extends Map {
625
610
  constructor() {
626
611
  super(...arguments), this.disposed = !1;
627
612
  }
628
613
  }
629
- class Xt extends N {
614
+ class zt extends T {
630
615
  constructor() {
631
616
  super(...arguments), this.AE = 1;
632
617
  }
@@ -635,34 +620,33 @@ class Xt extends N {
635
620
  this.AF.disposed || (this.AE -= 1, !this.AE && this.AF.delete(this.AG));
636
621
  }
637
622
  }
638
- const Zt = (e) => {
639
- if (e = lt(L(e)), ie(e)) {
640
- const r = K(e);
641
- return (i) => i === r ? xt : tt;
642
- }
643
- let t = new Wt(), s = K(e);
644
- return we(() => {
645
- var o, u;
623
+ const Ht = (e) => {
624
+ if (e = nt(B(e)), k(e)) {
625
+ const r = I(e);
626
+ return (i) => i === r ? wt : je;
627
+ }
628
+ let t = new Vt(), s = I(e);
629
+ return Ae(() => {
646
630
  const r = s, i = e();
647
- G(r, i) || (s = i, (o = t.get(r)) == null || o.set(!1), (u = t.get(i)) == null || u.set(!0));
648
- }, { suspense: !1, sync: !0 }), D(() => {
631
+ J(r, i) || (s = i, t.get(r)?.set(!1), t.get(i)?.set(!0));
632
+ }, { suspense: !1, sync: !0 }), C(() => {
649
633
  t.disposed = !0;
650
634
  }), (r) => {
651
635
  let i = t.get(r);
652
- return i ? i.AE += 1 : (i = new Xt(r === s), i.AF = t, i.AG = r, t.set(r, i)), D(i), F(i);
636
+ return i ? i.AE += 1 : (i = new zt(r === s), i.AF = t, i.AG = r, t.set(r, i)), C(i), D(i);
653
637
  };
654
638
  };
655
- class U extends Map {
639
+ class N extends Map {
656
640
  AH(t, s) {
657
641
  return super.set(t, s), s;
658
642
  }
659
643
  }
660
- class ye {
644
+ class pe {
661
645
  constructor() {
662
646
  this.AE = 0;
663
647
  }
664
648
  listen() {
665
- this.AE += 1, D(this);
649
+ this.AE += 1, C(this);
666
650
  }
667
651
  call() {
668
652
  this.AE -= 1, !this.AE && this.Q();
@@ -670,7 +654,7 @@ class ye {
670
654
  Q() {
671
655
  }
672
656
  }
673
- class kt extends ye {
657
+ class Gt extends pe {
674
658
  constructor(t, s) {
675
659
  super(), this.parent = t, this.observable = s;
676
660
  }
@@ -678,7 +662,7 @@ class kt extends ye {
678
662
  this.parent.keys = void 0;
679
663
  }
680
664
  }
681
- class es extends ye {
665
+ class $t extends pe {
682
666
  constructor(t, s) {
683
667
  super(), this.parent = t, this.observable = s;
684
668
  }
@@ -686,33 +670,31 @@ class es extends ye {
686
670
  this.parent.values = void 0;
687
671
  }
688
672
  }
689
- class ts extends ye {
673
+ class jt extends pe {
690
674
  constructor(t, s, n) {
691
675
  super(), this.parent = t, this.key = s, this.observable = n;
692
676
  }
693
677
  Q() {
694
- var t;
695
- (t = this.parent.has) == null || t.delete(this.key);
678
+ this.parent.has?.delete(this.key);
696
679
  }
697
680
  }
698
- class ss extends ye {
681
+ class Wt extends pe {
699
682
  constructor(t, s, n, r) {
700
683
  super(), this.parent = t, this.key = s, this.observable = n, this.AI = r;
701
684
  }
702
685
  Q() {
703
- var t;
704
- (t = this.parent.AJ) == null || t.delete(this.key);
686
+ this.parent.AJ?.delete(this.key);
705
687
  }
706
688
  }
707
- const m = {
689
+ const R = {
708
690
  /* VARIABLES */
709
691
  AK: 0,
710
692
  AL: /* @__PURE__ */ new Set(),
711
693
  AM: /* @__PURE__ */ new Set(),
712
694
  /* API */
713
695
  AN: () => {
714
- const { AL: e, AM: t } = m, s = /* @__PURE__ */ new Set(), n = (r) => {
715
- s.has(r) || (s.add(r), re(r.AO, n), re(r.AP, (i) => {
696
+ const { AL: e, AM: t } = R, s = /* @__PURE__ */ new Set(), n = (r) => {
697
+ s.has(r) || (s.add(r), Z(r.AO, n), Z(r.AP, (i) => {
716
698
  e.add(i);
717
699
  }));
718
700
  };
@@ -723,378 +705,373 @@ const m = {
723
705
  };
724
706
  },
725
707
  V: (e) => {
726
- m.AM.add(e), I.F();
708
+ R.AM.add(e), x.F();
727
709
  },
728
710
  reset: () => {
729
- m.AL = /* @__PURE__ */ new Set(), m.AM = /* @__PURE__ */ new Set();
711
+ R.AL = /* @__PURE__ */ new Set(), R.AM = /* @__PURE__ */ new Set();
730
712
  }
731
- }, w = {
713
+ }, b = {
732
714
  /* VARIABLES */
733
715
  AK: 0,
734
716
  AM: /* @__PURE__ */ new Map(),
735
717
  /* API */
736
718
  AN: () => {
737
- const { AM: e } = w;
719
+ const { AM: e } = b;
738
720
  return () => {
739
721
  e.forEach((t, s) => {
740
722
  const n = Array.from(t);
741
- re(s.AQ, (r) => {
723
+ Z(s.AQ, (r) => {
742
724
  r(n);
743
725
  });
744
726
  });
745
727
  };
746
728
  },
747
729
  V: (e, t) => {
748
- const s = w.AM.get(e) || /* @__PURE__ */ new Set();
749
- s.add(t), w.AM.set(e, s), I.F();
730
+ const s = b.AM.get(e) || /* @__PURE__ */ new Set();
731
+ s.add(t), b.AM.set(e, s), x.F();
750
732
  },
751
733
  AR: (e, t, s) => {
752
734
  if (t.AO) {
753
735
  const n = /* @__PURE__ */ new Set(), r = (i) => {
754
- n.has(i) || (n.add(i), re(i.AO, (o) => {
755
- o.AO || w.V(o, i.store), r(o);
736
+ n.has(i) || (n.add(i), Z(i.AO, (c) => {
737
+ c.AO || b.V(c, i.store), r(c);
756
738
  }));
757
739
  };
758
740
  r(e || t);
759
741
  } else {
760
- const n = (e == null ? void 0 : e.store) || K(() => t.store[s]);
761
- w.V(t, n);
742
+ const n = e?.store || I(() => t.store[s]);
743
+ b.V(t, n);
762
744
  }
763
745
  },
764
746
  reset: () => {
765
- w.AM = /* @__PURE__ */ new Map();
747
+ b.AM = /* @__PURE__ */ new Map();
766
748
  }
767
- }, I = {
749
+ }, x = {
768
750
  /* VARIABLES */
769
751
  AK: !1,
770
752
  /* API */
771
753
  N: () => {
772
- const e = m.AN(), t = w.AN();
773
- I.reset(), e(), t();
754
+ const e = R.AN(), t = b.AN();
755
+ x.reset(), e(), t();
774
756
  },
775
757
  AS: () => {
776
- at() ? W ? W.finally(I.AS) : setTimeout(I.AS, 0) : I.N();
758
+ ot() ? F ? F.finally(x.AS) : setTimeout(x.AS, 0) : x.N();
777
759
  },
778
760
  reset: () => {
779
- I.AK = !1, m.reset(), w.reset();
761
+ x.AK = !1, R.reset(), b.reset();
780
762
  },
781
763
  F: () => {
782
- I.AK || (I.AK = !0, queueMicrotask(I.AS));
764
+ x.AK || (x.AK = !0, queueMicrotask(x.AS));
783
765
  }
784
- }, Z = /* @__PURE__ */ new WeakMap(), ns = /* @__PURE__ */ new Set([ne, je, We, de, Pe]), rs = /* @__PURE__ */ new Set(["__proto__", "__defineGetter__", "__defineSetter__", "__lookupGetter__", "__lookupSetter__", "prototype", "constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toSource", "toString", "valueOf"]), bt = {
766
+ }, z = /* @__PURE__ */ new WeakMap(), Xt = /* @__PURE__ */ new Set([X, Fe, Ve, ce, Re]), Zt = /* @__PURE__ */ new Set(["__proto__", "__defineGetter__", "__defineSetter__", "__lookupGetter__", "__lookupSetter__", "prototype", "constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toSource", "toString", "valueOf"]), lt = {
785
767
  /* API */
786
768
  get: (e, t) => {
787
- var c, h;
788
- if (ns.has(t)) {
789
- if (t === ne)
769
+ if (Xt.has(t)) {
770
+ if (t === X)
790
771
  return !0;
791
- if (t === de)
772
+ if (t === ce)
792
773
  return e;
793
- if (t === je) {
794
- if (ee()) {
795
- const l = P(e);
796
- l.keys || (l.keys = ze(l)), l.keys.listen(), l.keys.observable.get();
774
+ if (t === Fe) {
775
+ if ($()) {
776
+ const o = M(e);
777
+ o.keys || (o.keys = Qe(o)), o.keys.listen(), o.keys.observable.get();
797
778
  }
798
779
  return;
799
780
  }
800
- if (t === Pe) {
801
- if (ee()) {
802
- const l = P(e);
803
- l.values || (l.values = os(l)), l.values.listen(), l.values.observable.get();
781
+ if (t === Re) {
782
+ if ($()) {
783
+ const o = M(e);
784
+ o.values || (o.values = es(o)), o.values.listen(), o.values.observable.get();
804
785
  }
805
786
  return;
806
787
  }
807
- if (t === We)
808
- return (l) => {
809
- var y;
810
- l = typeof l == "number" ? String(l) : l;
811
- const A = P(e), f = (y = A.AT) == null ? void 0 : y.get(l);
812
- if (f)
813
- return f.bind(A.store);
814
- A.AJ || (A.AJ = new U());
815
- const S = e[l], d = A.AJ.get(l) || A.AJ.AH(l, He(A, l, S)), b = A.equals ? { equals: A.equals } : void 0;
816
- return d.observable || (d.observable = oe(A, S, b)), F(d.observable);
788
+ if (t === Ve)
789
+ return (o) => {
790
+ o = typeof o == "number" ? String(o) : o;
791
+ const l = M(e), p = l.AT?.get(o);
792
+ if (p)
793
+ return p.bind(l.store);
794
+ l.AJ || (l.AJ = new N());
795
+ const a = e[o], d = l.AJ.get(o) || l.AJ.AH(o, qe(l, o, a)), g = l.equals ? { equals: l.equals } : void 0;
796
+ return d.observable || (d.observable = ee(l, a, g)), D(d.observable);
817
797
  };
818
798
  }
819
- if (rs.has(t))
799
+ if (Zt.has(t))
820
800
  return e[t];
821
- const s = P(e), n = (c = s.AT) == null ? void 0 : c.get(t), r = n || e[t];
822
- s.AJ || (s.AJ = new U());
823
- const i = ee(), o = se(r), u = i || o ? s.AJ.get(t) || s.AJ.AH(t, He(s, t, r)) : void 0;
824
- if (u != null && u.AI && q(u.AI, "AO", s), u && i) {
825
- const l = s.equals ? { equals: s.equals } : void 0;
826
- u.listen(), u.observable || (u.observable = oe(s, r, l)), u.observable.get();
801
+ const s = M(e), n = s.AT?.get(t), r = n || e[t];
802
+ s.AJ || (s.AJ = new N());
803
+ const i = $(), c = W(r), u = i || c ? s.AJ.get(t) || s.AJ.AH(t, qe(s, t, r)) : void 0;
804
+ if (u?.AI && U(u.AI, "AO", s), u && i) {
805
+ const o = s.equals ? { equals: s.equals } : void 0;
806
+ u.listen(), u.observable || (u.observable = ee(s, r, o)), u.observable.get();
827
807
  }
828
808
  return n ? n.call(s.store) : typeof r == "function" && r === Array.prototype[t] ? function() {
829
809
  return r.apply(s.store, arguments);
830
- } : ((h = u == null ? void 0 : u.AI) == null ? void 0 : h.store) || r;
810
+ } : u?.AI?.store || r;
831
811
  },
832
812
  set: (e, t, s) => {
833
- var i, o, u, c, h, l, A, f, S, d;
834
- s = v(s);
835
- const n = P(e), r = (i = n.AU) == null ? void 0 : i.get(t);
813
+ s = L(s);
814
+ const n = M(e), r = n.AU?.get(t);
836
815
  if (r)
837
816
  r.call(n.store, s);
838
817
  else {
839
- const b = Q(e), p = e[t], y = !!p || t in e, j = n.equals || G;
840
- if (y && j(s, p) && (t !== "length" || !b))
818
+ const i = K(e), c = e[t], u = !!c || t in e, o = n.equals || J;
819
+ if (u && o(s, c) && (t !== "length" || !i))
841
820
  return !0;
842
- const he = b && e.length;
821
+ const l = i && e.length;
843
822
  e[t] = s;
844
- const M = b && e.length;
845
- b && t !== "length" && he !== M && ((c = (u = (o = n.AJ) == null ? void 0 : o.get("length")) == null ? void 0 : u.observable) == null || c.set(M)), (h = n.values) == null || h.observable.set(0), y || ((l = n.keys) == null || l.observable.set(0), (f = (A = n.has) == null ? void 0 : A.get(t)) == null || f.observable.set(!0));
846
- const E = (S = n.AJ) == null ? void 0 : S.get(t);
847
- if (E != null && E.AI && J(E.AI, "AO", n), E && ((d = E.observable) == null || d.set(s), E.AI = se(s) ? Z.get(s) || Ee(s, t, n) : void 0), E != null && E.AI && q(E.AI, "AO", n), w.AK && w.AR(E == null ? void 0 : E.AI, n, t), m.AK && m.V(n), b && t === "length") {
848
- const x = Number(p), T = Number(s);
849
- for (let V = T; V < x; V++)
850
- V in e || bt.deleteProperty(e, `${V}`, !0);
823
+ const p = i && e.length;
824
+ i && t !== "length" && l !== p && n.AJ?.get("length")?.observable?.set(p), n.values?.observable.set(0), u || (n.keys?.observable.set(0), n.has?.get(t)?.observable.set(!0));
825
+ const a = n.AJ?.get(t);
826
+ if (a?.AI && v(a.AI, "AO", n), a && (a.observable?.set(s), a.AI = W(s) ? z.get(s) || ae(s, t, n) : void 0), a?.AI && U(a.AI, "AO", n), b.AK && b.AR(a?.AI, n, t), R.AK && R.V(n), i && t === "length") {
827
+ const d = Number(c), g = Number(s);
828
+ for (let h = g; h < d; h++)
829
+ h in e || lt.deleteProperty(e, `${h}`, !0);
851
830
  }
852
831
  }
853
832
  return !0;
854
833
  },
855
834
  deleteProperty: (e, t, s) => {
856
- var u, c, h, l, A, f, S, d;
857
835
  const n = t in e;
858
836
  if (!s && !n)
859
837
  return !0;
860
838
  if (!Reflect.deleteProperty(e, t))
861
839
  return !1;
862
- const i = P(e);
863
- (u = i.AT) == null || u.delete(t), (c = i.AU) == null || c.delete(t), (h = i.keys) == null || h.observable.set(0), (l = i.values) == null || l.observable.set(0), (f = (A = i.has) == null ? void 0 : A.get(t)) == null || f.observable.set(!1);
864
- const o = (S = i.AJ) == null ? void 0 : S.get(t);
865
- return w.AK && w.AR(o == null ? void 0 : o.AI, i, t), o != null && o.AI && J(o.AI, "AO", i), o && ((d = o.observable) == null || d.set(void 0), o.AI = void 0), m.AK && m.V(i), !0;
840
+ const i = M(e);
841
+ i.AT?.delete(t), i.AU?.delete(t), i.keys?.observable.set(0), i.values?.observable.set(0), i.has?.get(t)?.observable.set(!1);
842
+ const c = i.AJ?.get(t);
843
+ return b.AK && b.AR(c?.AI, i, t), c?.AI && v(c.AI, "AO", i), c && (c.observable?.set(void 0), c.AI = void 0), R.AK && R.V(i), !0;
866
844
  },
867
845
  defineProperty: (e, t, s) => {
868
- var h, l, A, f, S, d, b, p;
869
- const n = P(e), r = n.equals || G, i = t in e, o = Reflect.getOwnPropertyDescriptor(e, t);
870
- if ("value" in s && B(s.value) && (s = { ...s, value: v(s.value) }), o && fs(o, s, r))
846
+ const n = M(e), r = n.equals || J, i = t in e, c = Reflect.getOwnPropertyDescriptor(e, t);
847
+ if ("value" in s && m(s.value) && (s = { ...s, value: L(s.value) }), c && is(c, s, r))
871
848
  return !0;
872
849
  if (!Reflect.defineProperty(e, t, s))
873
850
  return !1;
874
- s.get ? s.get && (n.AT || (n.AT = new U()), n.AT.set(t, s.get)) : (h = n.AT) == null || h.delete(t), s.set ? s.set && (n.AU || (n.AU = new U()), n.AU.set(t, s.set)) : (l = n.AU) == null || l.delete(t), i !== !!s.enumerable && ((A = n.keys) == null || A.observable.set(0)), (S = (f = n.has) == null ? void 0 : f.get(t)) == null || S.observable.set(!0);
875
- const c = (d = n.AJ) == null ? void 0 : d.get(t);
876
- if (w.AK && w.AR(c == null ? void 0 : c.AI, n, t), c != null && c.AI && J(c.AI, "AO", n), c)
851
+ s.get ? s.get && (n.AT || (n.AT = new N()), n.AT.set(t, s.get)) : n.AT?.delete(t), s.set ? s.set && (n.AU || (n.AU = new N()), n.AU.set(t, s.set)) : n.AU?.delete(t), i !== !!s.enumerable && n.keys?.observable.set(0), n.has?.get(t)?.observable.set(!0);
852
+ const o = n.AJ?.get(t);
853
+ if (b.AK && b.AR(o?.AI, n, t), o?.AI && v(o.AI, "AO", n), o)
877
854
  if ("get" in s)
878
- (b = c.observable) == null || b.set(s.get), c.AI = void 0;
855
+ o.observable?.set(s.get), o.AI = void 0;
879
856
  else {
880
- const y = s.value;
881
- (p = c.observable) == null || p.set(y), c.AI = se(y) ? Z.get(y) || Ee(y, t, n) : void 0;
857
+ const l = s.value;
858
+ o.observable?.set(l), o.AI = W(l) ? z.get(l) || ae(l, t, n) : void 0;
882
859
  }
883
- return c != null && c.AI && q(c.AI, "AO", n), w.AK && w.AR(c == null ? void 0 : c.AI, n, t), m.AK && m.V(n), !0;
860
+ return o?.AI && U(o.AI, "AO", n), b.AK && b.AR(o?.AI, n, t), R.AK && R.V(n), !0;
884
861
  },
885
862
  has: (e, t) => {
886
- if (t === ne || t === de)
863
+ if (t === X || t === ce)
887
864
  return !0;
888
865
  const s = t in e;
889
- if (ee()) {
890
- const n = P(e);
891
- n.has || (n.has = new U());
892
- const r = n.has.get(t) || n.has.AH(t, cs(n, t, s));
866
+ if ($()) {
867
+ const n = M(e);
868
+ n.has || (n.has = new N());
869
+ const r = n.has.get(t) || n.has.AH(t, ts(n, t, s));
893
870
  r.listen(), r.observable.get();
894
871
  }
895
872
  return s;
896
873
  },
897
874
  ownKeys: (e) => {
898
875
  const t = Reflect.ownKeys(e);
899
- if (ee()) {
900
- const s = P(e);
901
- s.keys || (s.keys = ze(s)), s.keys.listen(), s.keys.observable.get();
876
+ if ($()) {
877
+ const s = M(e);
878
+ s.keys || (s.keys = Qe(s)), s.keys.listen(), s.keys.observable.get();
902
879
  }
903
880
  return t;
904
881
  }
905
- }, is = {
882
+ }, kt = {
906
883
  /* API */
907
- has: (e, t) => t === Ie ? !0 : t in e
908
- }, Ee = (e, t, s, n) => {
909
- if (B(e))
910
- return P(v(e));
911
- const r = as(e, t, s) ? e : new Proxy(e, bt), i = us(e), o = { AO: s, store: r };
884
+ has: (e, t) => t === _e ? !0 : t in e
885
+ }, ae = (e, t, s, n) => {
886
+ if (m(e))
887
+ return M(L(e));
888
+ const r = os(e, t, s) ? e : new Proxy(e, lt), i = ss(e), c = { AO: s, store: r };
912
889
  if (i) {
913
- const { AT: u, AU: c } = i;
914
- u && (o.AT = u), c && (o.AU = c);
890
+ const { AT: u, AU: o } = i;
891
+ u && (c.AT = u), o && (c.AU = o);
915
892
  }
916
- return n === !1 ? o.equals = ke : n ? o.equals = n : s != null && s.equals && (o.equals = s.equals), Z.set(e, o), o;
917
- }, P = (e) => {
918
- const t = Z.get(e);
893
+ return n === !1 ? c.equals = Ge : n ? c.equals = n : s?.equals && (c.equals = s.equals), z.set(e, c), c;
894
+ }, M = (e) => {
895
+ const t = z.get(e);
919
896
  if (!t)
920
897
  throw new Error("Impossible");
921
898
  return t;
922
- }, gt = (e) => P(v(e)), ze = (e) => {
923
- const t = oe(e, 0, { equals: !1 });
924
- return new kt(e, t);
925
- }, os = (e) => {
926
- const t = oe(e, 0, { equals: !1 });
927
- return new es(e, t);
928
- }, cs = (e, t, s) => {
929
- const n = oe(e, s);
930
- return new ts(e, t, n);
931
- }, oe = (e, t, s) => new N(t, s), He = (e, t, s) => {
932
- const r = se(s) ? Z.get(s) || Ee(s, t, e) : void 0, i = new ss(e, t, void 0, r);
933
- return e.AJ || (e.AJ = new U()), e.AJ.set(t, i), i;
934
- }, us = (e) => {
935
- if (Q(e))
899
+ }, ht = (e) => M(L(e)), Qe = (e) => {
900
+ const t = ee(e, 0, { equals: !1 });
901
+ return new Gt(e, t);
902
+ }, es = (e) => {
903
+ const t = ee(e, 0, { equals: !1 });
904
+ return new $t(e, t);
905
+ }, ts = (e, t, s) => {
906
+ const n = ee(e, s);
907
+ return new jt(e, t, n);
908
+ }, ee = (e, t, s) => new T(t, s), qe = (e, t, s) => {
909
+ const r = W(s) ? z.get(s) || ae(s, t, e) : void 0, i = new Wt(e, t, void 0, r);
910
+ return e.AJ || (e.AJ = new N()), e.AJ.set(t, i), i;
911
+ }, ss = (e) => {
912
+ if (K(e))
936
913
  return;
937
914
  let t, s;
938
915
  const n = Object.keys(e);
939
916
  for (let r = 0, i = n.length; r < i; r++) {
940
- const o = n[r], u = Object.getOwnPropertyDescriptor(e, o);
917
+ const c = n[r], u = Object.getOwnPropertyDescriptor(e, c);
941
918
  if (!u)
942
919
  continue;
943
- const { get: c, set: h } = u;
944
- c && (t || (t = new U()), t.set(o, c)), h && (s || (s = new U()), s.set(o, h)), c && !h && (s || (s = new U()), s.set(o, As));
920
+ const { get: o, set: l } = u;
921
+ o && (t || (t = new N()), t.set(c, o)), l && (s || (s = new N()), s.set(c, l)), o && !l && (s || (s = new N()), s.set(c, cs));
945
922
  }
946
923
  if (!(!t && !s))
947
924
  return { AT: t, AU: s };
948
- }, ls = (e, t) => B(e) ? e : (Z.get(e) || Ee(e, void 0, void 0, t == null ? void 0 : t.equals)).store, v = (e) => B(e) ? e[de] : e, hs = (e) => !Le(e) || St(e) ? e : new Proxy(e, is), fs = (e, t, s) => !!e.configurable == !!t.configurable && !!e.enumerable == !!t.enumerable && !!e.writable == !!t.writable && s(e.value, t.value) && e.get === t.get && e.set === t.set, as = (e, t, s) => {
925
+ }, ns = (e, t) => m(e) ? e : (z.get(e) || ae(e, void 0, void 0, t?.equals)).store, L = (e) => m(e) ? e[ce] : e, rs = (e) => !Me(e) || ft(e) ? e : new Proxy(e, kt), is = (e, t, s) => !!e.configurable == !!t.configurable && !!e.enumerable == !!t.enumerable && !!e.writable == !!t.writable && s(e.value, t.value) && e.get === t.get && e.set === t.set, os = (e, t, s) => {
949
926
  if (Object.isFrozen(e))
950
927
  return !0;
951
928
  if (!s || t === void 0)
952
929
  return !1;
953
- const n = $.unwrap(s.store), r = Reflect.getOwnPropertyDescriptor(n, t);
954
- return !(r != null && r.configurable || r != null && r.writable);
955
- }, ee = () => !!Y, se = (e) => {
930
+ const n = Y.unwrap(s.store), r = Reflect.getOwnPropertyDescriptor(n, t);
931
+ return !(r?.configurable || r?.writable);
932
+ }, $ = () => !!H, W = (e) => {
956
933
  if (e === null || typeof e != "object")
957
934
  return !1;
958
- if (ne in e)
935
+ if (X in e)
959
936
  return !0;
960
- if (Ie in e)
937
+ if (_e in e)
961
938
  return !1;
962
- if (Q(e))
939
+ if (K(e))
963
940
  return !0;
964
941
  const t = Object.getPrototypeOf(e);
965
942
  return t === null ? !0 : Object.getPrototypeOf(t) === null;
966
- }, St = (e) => e === null || typeof e != "object" ? !1 : Ie in e, As = () => {
943
+ }, ft = (e) => e === null || typeof e != "object" ? !1 : _e in e, cs = () => {
967
944
  throw new TypeError("Cannot set property value of #<Object> which has only a getter");
968
- }, $ = (e, t) => !Le(e) || St(e) ? e : ls(e, t);
969
- $.on = (e, t) => {
970
- const s = B(e) ? [e] : wt(e), n = s.filter(_), r = s.filter(B).map(gt);
971
- m.AK += 1;
972
- const i = n.map((o) => {
945
+ }, Y = (e, t) => !Me(e) || ft(e) ? e : ns(e, t);
946
+ Y.on = (e, t) => {
947
+ const s = m(e) ? [e] : dt(e), n = s.filter(E), r = s.filter(m).map(ht);
948
+ R.AK += 1;
949
+ const i = n.map((c) => {
973
950
  let u = !1;
974
- return we(() => {
975
- u && (m.AL.add(t), I.F()), u = !0, o();
951
+ return Ae(() => {
952
+ u && (R.AL.add(t), x.F()), u = !0, c();
976
953
  }, { suspense: !1, sync: !0 });
977
954
  });
978
- return r.forEach((o) => {
979
- q(o, "AP", t);
955
+ return r.forEach((c) => {
956
+ U(c, "AP", t);
980
957
  }), () => {
981
- m.AK -= 1, i.forEach((o) => {
982
- o();
983
- }), r.forEach((o) => {
984
- J(o, "AP", t);
958
+ R.AK -= 1, i.forEach((c) => {
959
+ c();
960
+ }), r.forEach((c) => {
961
+ v(c, "AP", t);
985
962
  });
986
963
  };
987
964
  };
988
- $._onRoots = (e, t) => {
989
- if (!B(e))
990
- return Ce;
991
- const s = gt(e);
965
+ Y._onRoots = (e, t) => {
966
+ if (!m(e))
967
+ return xe;
968
+ const s = ht(e);
992
969
  if (s.AO)
993
970
  throw new Error("Only top-level stores are supported");
994
- return w.AK += 1, q(s, "AQ", t), () => {
995
- w.AK -= 1, J(s, "AQ", t);
971
+ return b.AK += 1, U(s, "AQ", t), () => {
972
+ b.AK -= 1, v(s, "AQ", t);
996
973
  };
997
974
  };
998
- $.reconcile = /* @__PURE__ */ (() => {
999
- const e = (r) => Q(r) ? 1 : se(r) ? 2 : 0, t = (r, i) => {
1000
- const o = v(r), u = v(i);
975
+ Y.reconcile = /* @__PURE__ */ (() => {
976
+ const e = (r) => K(r) ? 1 : W(r) ? 2 : 0, t = (r, i) => {
977
+ const c = L(r), u = L(i);
1001
978
  s(r, i);
1002
- const c = e(o), h = e(u);
1003
- return (c === 1 || h === 1) && (r.length = i.length), r;
979
+ const o = e(c), l = e(u);
980
+ return (o === 1 || l === 1) && (r.length = i.length), r;
1004
981
  }, s = (r, i) => {
1005
- const o = v(r), u = v(i), c = Object.keys(o), h = Object.keys(u);
1006
- for (let l = 0, A = h.length; l < A; l++) {
1007
- const f = h[l], S = o[f], d = u[f];
1008
- if (G(S, d))
1009
- S === void 0 && !(f in o) && (r[f] = void 0);
982
+ const c = L(r), u = L(i), o = Object.keys(c), l = Object.keys(u);
983
+ for (let p = 0, a = l.length; p < a; p++) {
984
+ const d = l[p], g = c[d], h = u[d];
985
+ if (J(g, h))
986
+ g === void 0 && !(d in c) && (r[d] = void 0);
1010
987
  else {
1011
- const b = e(S), p = e(d);
1012
- b && b === p ? (s(r[f], d), b === 1 && (r[f].length = d.length)) : r[f] = d;
988
+ const w = e(g), y = e(h);
989
+ w && w === y ? (s(r[d], h), w === 1 && (r[d].length = h.length)) : r[d] = h;
1013
990
  }
1014
991
  }
1015
- for (let l = 0, A = c.length; l < A; l++) {
1016
- const f = c[l];
1017
- f in u || delete r[f];
992
+ for (let p = 0, a = o.length; p < a; p++) {
993
+ const d = o[p];
994
+ d in u || delete r[d];
1018
995
  }
1019
996
  return r;
1020
997
  };
1021
- return (r, i) => K(() => t(r, i));
998
+ return (r, i) => I(() => t(r, i));
1022
999
  })();
1023
- $.untrack = (e) => hs(e);
1024
- $.unwrap = (e) => v(e);
1025
- const ds = () => {
1026
- const e = g.get(H);
1000
+ Y.untrack = (e) => rs(e);
1001
+ Y.unwrap = (e) => L(e);
1002
+ const us = () => {
1003
+ const e = A.get(q);
1027
1004
  if (!e)
1028
- return tt;
1029
- const t = e.observable || (e.observable = new N(!!e.suspended));
1030
- return F(t);
1031
- }, bs = () => {
1032
- pe.N();
1033
- }, gs = (e, t) => {
1034
- const s = At();
1035
- return L(() => {
1005
+ return je;
1006
+ const t = e.observable || (e.observable = new T(!!e.suspended));
1007
+ return D(t);
1008
+ }, ls = () => {
1009
+ fe.N();
1010
+ }, hs = (e, t) => {
1011
+ const s = ct();
1012
+ return B(() => {
1036
1013
  const n = s();
1037
- return n ? O(t({ error: n, reset: () => s(void 0) })) : (g.S = s, O(e));
1014
+ return n ? S(t({ error: n, reset: () => s(void 0) })) : (A.S = s, S(e));
1038
1015
  });
1039
1016
  };
1040
- function Ss(e) {
1041
- const t = _(e) ? (...s) => K(() => e(...s)) : () => e;
1042
- return t[Ne] = !0, t;
1017
+ function fs(e) {
1018
+ const t = E(e) ? (...s) => I(() => e(...s)) : () => e;
1019
+ return t[me] = !0, t;
1043
1020
  }
1044
- const ps = () => {
1045
- const e = g, t = Y;
1021
+ const as = () => {
1022
+ const e = A, t = H;
1046
1023
  return (s) => e.E(() => s(), e, t);
1047
1024
  };
1048
- function a(e, t) {
1049
- return et(new N(e, t));
1025
+ function f(e, t) {
1026
+ return $e(new T(e, t));
1050
1027
  }
1051
- a.batch = Bt;
1052
- a.boolean = De;
1053
- a.cleanup = D;
1054
- a.context = Kt;
1055
- a.disposed = Ut;
1056
- a.effect = we;
1057
- a.for = Vt;
1058
- a.get = X;
1059
- a.if = zt;
1060
- a.isBatching = at;
1061
- a.isObservable = Qe;
1062
- a.isStore = B;
1063
- a.memo = L;
1064
- a.observable = At;
1065
- a.owner = dt;
1066
- a.readonly = $t;
1067
- a.resolve = O;
1068
- a.root = jt;
1069
- a.selector = Zt;
1070
- a.store = $;
1071
- a.suspended = ds;
1072
- a.suspense = ut;
1073
- a.switch = ht;
1074
- a.ternary = ft;
1075
- a.tick = bs;
1076
- a.tryCatch = gs;
1077
- a.untrack = K;
1078
- a.untracked = Ss;
1079
- a.with = ps;
1080
- const ys = Et({
1028
+ f.batch = Rt;
1029
+ f.boolean = Ie;
1030
+ f.cleanup = C;
1031
+ f.context = Bt;
1032
+ f.disposed = Pt;
1033
+ f.effect = Ae;
1034
+ f.for = Dt;
1035
+ f.get = V;
1036
+ f.if = Qt;
1037
+ f.isBatching = ot;
1038
+ f.isObservable = Ne;
1039
+ f.isStore = m;
1040
+ f.memo = B;
1041
+ f.observable = ct;
1042
+ f.owner = ut;
1043
+ f.readonly = Yt;
1044
+ f.resolve = S;
1045
+ f.root = Ft;
1046
+ f.selector = Ht;
1047
+ f.store = Y;
1048
+ f.suspended = us;
1049
+ f.suspense = st;
1050
+ f.switch = rt;
1051
+ f.ternary = it;
1052
+ f.tick = ls;
1053
+ f.tryCatch = hs;
1054
+ f.untrack = I;
1055
+ f.untracked = fs;
1056
+ f.with = as;
1057
+ const bs = At({
1081
1058
  create: () => {
1082
- const e = a(0);
1059
+ const e = f(0);
1083
1060
  return {
1084
1061
  depend: () => {
1085
1062
  e();
1086
1063
  },
1087
1064
  notify: () => {
1088
- e(K(() => e() + 1));
1065
+ e(I(() => e() + 1));
1089
1066
  }
1090
1067
  };
1091
1068
  },
1092
- isInScope: () => !!dt(),
1069
+ isInScope: () => !!ut(),
1093
1070
  onDispose: (e) => {
1094
- D(e);
1071
+ C(e);
1095
1072
  }
1096
1073
  });
1097
1074
  export {
1098
- ys as default
1075
+ bs as default
1099
1076
  };
1100
1077
  //# sourceMappingURL=index.mjs.map