@sticky-studio-npm/ui-core 0.1.55 → 0.1.58

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.
@@ -100,7 +100,7 @@ var zr = typeof Proxy < "u", Wr = /* @__PURE__ */ Object.toString();
100
100
  function Xn() {
101
101
  zr || p(process.env.NODE_ENV !== "production" ? "`Proxy` objects are not available in the current environment. Please configure MobX to enable a fallback implementation.`" : "Proxy not available");
102
102
  }
103
- function Fe(e) {
103
+ function Ke(e) {
104
104
  process.env.NODE_ENV !== "production" && f.verifyProxies && p("MobX is currently configured to be able to run in ES5 mode, but in ES5 MobX won't be able to " + e);
105
105
  }
106
106
  function ee() {
@@ -113,9 +113,9 @@ function sn(e) {
113
113
  return t = !0, e.apply(this, arguments);
114
114
  };
115
115
  }
116
- var Be = function() {
116
+ var xe = function() {
117
117
  };
118
- function V(e) {
118
+ function D(e) {
119
119
  return typeof e == "function";
120
120
  }
121
121
  function Ne(e) {
@@ -166,7 +166,7 @@ function Ce(e, t) {
166
166
  return wt(n) && n[r] === !0;
167
167
  };
168
168
  }
169
- function Me(e) {
169
+ function Ie(e) {
170
170
  return e != null && Object.prototype.toString.call(e) === "[object Map]";
171
171
  }
172
172
  function Zr(e) {
@@ -186,7 +186,7 @@ function Xr(e) {
186
186
  return St.propertyIsEnumerable.call(e, n);
187
187
  })) : t;
188
188
  }
189
- var Re = typeof Reflect < "u" && Reflect.ownKeys ? Reflect.ownKeys : Qn ? function(e) {
189
+ var Pe = typeof Reflect < "u" && Reflect.ownKeys ? Reflect.ownKeys : Qn ? function(e) {
190
190
  return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e));
191
191
  } : (
192
192
  /* istanbul ignore next */
@@ -198,12 +198,12 @@ function Gt(e) {
198
198
  function er(e) {
199
199
  return e === null ? null : typeof e == "object" ? "" + e : e;
200
200
  }
201
- function z(e, t) {
201
+ function G(e, t) {
202
202
  return St.hasOwnProperty.call(e, t);
203
203
  }
204
204
  var Yr = Object.getOwnPropertyDescriptors || function(t) {
205
205
  var r = {};
206
- return Re(t).forEach(function(n) {
206
+ return Pe(t).forEach(function(n) {
207
207
  r[n] = pt(t, n);
208
208
  }), r;
209
209
  };
@@ -229,7 +229,7 @@ function ke(e, t, r) {
229
229
  writable: !1
230
230
  }), e;
231
231
  }
232
- function xe(e, t) {
232
+ function Re(e, t) {
233
233
  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
234
234
  if (r) return (r = r.call(e)).next.bind(r);
235
235
  if (Array.isArray(e) || (r = ti(e)) || t) {
@@ -295,14 +295,14 @@ function oe(e) {
295
295
  return Object.assign(t, e);
296
296
  }
297
297
  function Je(e, t, r) {
298
- if (z(e, R) || Ye(e, R, fe({}, e[R])), process.env.NODE_ENV !== "production" && _t(r) && !z(e[R], t)) {
298
+ if (G(e, R) || Ye(e, R, fe({}, e[R])), process.env.NODE_ENV !== "production" && _t(r) && !G(e[R], t)) {
299
299
  var n = e.constructor.name + ".prototype." + t.toString();
300
300
  p("'" + n + "' is decorated with 'override', but no such decorated member was found on prototype.");
301
301
  }
302
302
  ni(e, r, t), _t(r) || (e[R][t] = r);
303
303
  }
304
304
  function ni(e, t, r) {
305
- if (process.env.NODE_ENV !== "production" && !_t(t) && z(e[R], r)) {
305
+ if (process.env.NODE_ENV !== "production" && !_t(t) && G(e[R], r)) {
306
306
  var n = e.constructor.name + ".prototype." + r.toString(), i = e[R][r].annotationType_, s = t.annotationType_;
307
307
  p("Cannot apply '@" + s + "' to '" + n + "':" + (`
308
308
  The field is already decorated with '@` + i + "'.") + `
@@ -311,7 +311,7 @@ Use '@override' decorator for methods overridden by subclass.`);
311
311
  }
312
312
  }
313
313
  function ri(e) {
314
- return z(e, R) || Ye(e, R, fe({}, e[R])), e[R];
314
+ return G(e, R) || Ye(e, R, fe({}, e[R])), e[R];
315
315
  }
316
316
  function Qe(e) {
317
317
  return typeof e == "object" && typeof e.kind == "string";
@@ -319,7 +319,7 @@ function Qe(e) {
319
319
  function Ct(e, t) {
320
320
  process.env.NODE_ENV !== "production" && !t.includes(e.kind) && p("The decorator applied to '" + String(e.name) + "' cannot be used on a " + e.kind + " element");
321
321
  }
322
- var b = /* @__PURE__ */ Symbol("mobx administration"), _e = /* @__PURE__ */ (function() {
322
+ var _ = /* @__PURE__ */ Symbol("mobx administration"), _e = /* @__PURE__ */ (function() {
323
323
  function e(r) {
324
324
  r === void 0 && (r = process.env.NODE_ENV !== "production" ? "Atom@" + ee() : "Atom"), this.name_ = void 0, this.flags_ = 0, this.observers_ = /* @__PURE__ */ new Set(), this.lastAccessedBy_ = 0, this.lowestObserverState_ = E.NOT_TRACKING_, this.onBOL = void 0, this.onBUOL = void 0, this.name_ = r;
325
325
  }
@@ -335,7 +335,7 @@ var b = /* @__PURE__ */ Symbol("mobx administration"), _e = /* @__PURE__ */ (fun
335
335
  }, t.reportObserved = function() {
336
336
  return br(this);
337
337
  }, t.reportChanged = function() {
338
- q(), mr(this), H();
338
+ K(), mr(this), q();
339
339
  }, t.toString = function() {
340
340
  return this.name_;
341
341
  }, ke(e, [{
@@ -369,9 +369,9 @@ _e.isPendingUnobservationMask_ = 2;
369
369
  _e.diffValueMask_ = 4;
370
370
  var on = /* @__PURE__ */ Ce("Atom", _e);
371
371
  function nr(e, t, r) {
372
- t === void 0 && (t = Be), r === void 0 && (r = Be);
372
+ t === void 0 && (t = xe), r === void 0 && (r = xe);
373
373
  var n = new _e(e);
374
- return t !== Be && hs(n, t), r !== Be && Ar(n, r), n;
374
+ return t !== xe && hs(n, t), r !== xe && Ar(n, r), n;
375
375
  }
376
376
  function ii(e, t) {
377
377
  return Mr(e, t);
@@ -384,36 +384,36 @@ var ht = {
384
384
  default: si
385
385
  };
386
386
  function Ae(e, t, r) {
387
- return Xe(e) ? e : Array.isArray(e) ? N.array(e, {
387
+ return Xe(e) ? e : Array.isArray(e) ? S.array(e, {
388
388
  name: r
389
- }) : j(e) ? N.object(e, void 0, {
389
+ }) : j(e) ? S.object(e, void 0, {
390
390
  name: r
391
- }) : Me(e) ? N.map(e, {
391
+ }) : Ie(e) ? S.map(e, {
392
392
  name: r
393
- }) : ue(e) ? N.set(e, {
393
+ }) : ue(e) ? S.set(e, {
394
394
  name: r
395
- }) : typeof e == "function" && !Pe(e) && !Ze(e) ? Yn(e) ? Te(e) : We(r, e) : e;
395
+ }) : typeof e == "function" && !Te(e) && !Ze(e) ? Yn(e) ? je(e) : We(r, e) : e;
396
396
  }
397
397
  function oi(e, t, r) {
398
- if (e == null || Ue(e) || Bt(e) || be(e) || re(e))
398
+ if (e == null || $e(e) || Bt(e) || be(e) || re(e))
399
399
  return e;
400
400
  if (Array.isArray(e))
401
- return N.array(e, {
401
+ return S.array(e, {
402
402
  name: r,
403
403
  deep: !1
404
404
  });
405
405
  if (j(e))
406
- return N.object(e, void 0, {
406
+ return S.object(e, void 0, {
407
407
  name: r,
408
408
  deep: !1
409
409
  });
410
- if (Me(e))
411
- return N.map(e, {
410
+ if (Ie(e))
411
+ return S.map(e, {
412
412
  name: r,
413
413
  deep: !1
414
414
  });
415
415
  if (ue(e))
416
- return N.set(e, {
416
+ return S.set(e, {
417
417
  name: r,
418
418
  deep: !1
419
419
  });
@@ -444,7 +444,7 @@ function ci(e, t, r, n) {
444
444
  return this.extend_(e, t, r, !1) === null ? 0 : 1;
445
445
  if (n === e.target_)
446
446
  return this.extend_(e, t, r, !1) === null ? 0 : 2;
447
- if (Pe(r.value))
447
+ if (Te(r.value))
448
448
  return 1;
449
449
  var s = rr(e, this, t, r, !1);
450
450
  return se(n, t, s), 2;
@@ -456,17 +456,17 @@ function li(e, t, r, n) {
456
456
  function fi(e, t) {
457
457
  process.env.NODE_ENV !== "production" && Ct(t, ["method", "field"]);
458
458
  var r = t.kind, n = t.name, i = t.addInitializer, s = this, o = function(l) {
459
- var d, v, h, _;
460
- return Se((d = (v = s.options_) == null ? void 0 : v.name) != null ? d : n.toString(), l, (h = (_ = s.options_) == null ? void 0 : _.autoAction) != null ? h : !1);
459
+ var d, v, h, b;
460
+ return Se((d = (v = s.options_) == null ? void 0 : v.name) != null ? d : n.toString(), l, (h = (b = s.options_) == null ? void 0 : b.autoAction) != null ? h : !1);
461
461
  };
462
462
  if (r == "field")
463
463
  return function(u) {
464
464
  var l, d = u;
465
- return Pe(d) || (d = o(d)), (l = s.options_) != null && l.bound && (d = d.bind(this), d.isMobxAction = !0), d;
465
+ return Te(d) || (d = o(d)), (l = s.options_) != null && l.bound && (d = d.bind(this), d.isMobxAction = !0), d;
466
466
  };
467
467
  if (r == "method") {
468
468
  var a;
469
- return Pe(e) || (e = o(e)), (a = this.options_) != null && a.bound && i(function() {
469
+ return Te(e) || (e = o(e)), (a = this.options_) != null && a.bound && i(function() {
470
470
  var u = this, l = u[n].bind(u);
471
471
  l.isMobxAction = !0, u[n] = l;
472
472
  }), e;
@@ -476,7 +476,7 @@ function fi(e, t) {
476
476
  }
477
477
  function di(e, t, r, n) {
478
478
  var i = t.annotationType_, s = n.value;
479
- process.env.NODE_ENV !== "production" && !V(s) && p("Cannot apply '" + i + "' to '" + e.name_ + "." + r.toString() + "':" + (`
479
+ process.env.NODE_ENV !== "production" && !D(s) && p("Cannot apply '" + i + "' to '" + e.name_ + "." + r.toString() + "':" + (`
480
480
  '` + i + "' can only be used on properties with a function value."));
481
481
  }
482
482
  function rr(e, t, r, n, i) {
@@ -484,8 +484,8 @@ function rr(e, t, r, n, i) {
484
484
  i === void 0 && (i = f.safeDescriptors), di(e, t, r, n);
485
485
  var h = n.value;
486
486
  if ((s = t.options_) != null && s.bound) {
487
- var _;
488
- h = h.bind((_ = e.proxy_) != null ? _ : e.target_);
487
+ var b;
488
+ h = h.bind((b = e.proxy_) != null ? b : e.target_);
489
489
  }
490
490
  return {
491
491
  value: Se(
@@ -518,7 +518,7 @@ function pi(e, t, r, n) {
518
518
  var i;
519
519
  if (n === e.target_)
520
520
  return this.extend_(e, t, r, !1) === null ? 0 : 2;
521
- if ((i = this.options_) != null && i.bound && (!z(e.target_, t) || !Ze(e.target_[t])) && this.extend_(e, t, r, !1) === null)
521
+ if ((i = this.options_) != null && i.bound && (!G(e.target_, t) || !Ze(e.target_[t])) && this.extend_(e, t, r, !1) === null)
522
522
  return 0;
523
523
  if (Ze(r.value))
524
524
  return 1;
@@ -533,20 +533,20 @@ function hi(e, t) {
533
533
  var r;
534
534
  process.env.NODE_ENV !== "production" && Ct(t, ["method"]);
535
535
  var n = t.name, i = t.addInitializer;
536
- return Ze(e) || (e = Te(e)), (r = this.options_) != null && r.bound && i(function() {
536
+ return Ze(e) || (e = je(e)), (r = this.options_) != null && r.bound && i(function() {
537
537
  var s = this, o = s[n].bind(s);
538
538
  o.isMobXFlow = !0, s[n] = o;
539
539
  }), e;
540
540
  }
541
541
  function _i(e, t, r, n) {
542
542
  var i = t.annotationType_, s = n.value;
543
- process.env.NODE_ENV !== "production" && !V(s) && p("Cannot apply '" + i + "' to '" + e.name_ + "." + r.toString() + "':" + (`
543
+ process.env.NODE_ENV !== "production" && !D(s) && p("Cannot apply '" + i + "' to '" + e.name_ + "." + r.toString() + "':" + (`
544
544
  '` + i + "' can only be used on properties with a generator function value."));
545
545
  }
546
546
  function sr(e, t, r, n, i, s) {
547
547
  s === void 0 && (s = f.safeDescriptors), _i(e, t, r, n);
548
548
  var o = n.value;
549
- if (Ze(o) || (o = Te(o)), i) {
549
+ if (Ze(o) || (o = je(o)), i) {
550
550
  var a;
551
551
  o = o.bind((a = e.proxy_) != null ? a : e.target_), o.isMobXFlow = !0;
552
552
  }
@@ -584,13 +584,13 @@ function gi(e, t) {
584
584
  process.env.NODE_ENV !== "production" && Ct(t, ["getter"]);
585
585
  var r = this, n = t.name, i = t.addInitializer;
586
586
  return i(function() {
587
- var s = Ve(this)[b], o = fe({}, r.options_, {
587
+ var s = Ve(this)[_], o = fe({}, r.options_, {
588
588
  get: e,
589
589
  context: this
590
590
  });
591
- o.name || (o.name = process.env.NODE_ENV !== "production" ? s.name_ + "." + n.toString() : "ObservableObject." + n.toString()), s.values_.set(n, new Z(o));
591
+ o.name || (o.name = process.env.NODE_ENV !== "production" ? s.name_ + "." + n.toString() : "ObservableObject." + n.toString()), s.values_.set(n, new W(o));
592
592
  }), function() {
593
- return this[b].getObservablePropValue_(n);
593
+ return this[_].getObservablePropValue_(n);
594
594
  };
595
595
  }
596
596
  function yi(e, t, r, n) {
@@ -622,16 +622,16 @@ function Ni(e, t) {
622
622
  }
623
623
  var r = this, n = t.kind, i = t.name, s = /* @__PURE__ */ new WeakSet();
624
624
  function o(a, u) {
625
- var l, d, v = Ve(a)[b], h = new Oe(u, (l = (d = r.options_) == null ? void 0 : d.enhancer) != null ? l : Ae, process.env.NODE_ENV !== "production" ? v.name_ + "." + i.toString() : "ObservableObject." + i.toString(), !1);
625
+ var l, d, v = Ve(a)[_], h = new Oe(u, (l = (d = r.options_) == null ? void 0 : d.enhancer) != null ? l : Ae, process.env.NODE_ENV !== "production" ? v.name_ + "." + i.toString() : "ObservableObject." + i.toString(), !1);
626
626
  v.values_.set(i, h), s.add(a);
627
627
  }
628
628
  if (n == "accessor")
629
629
  return {
630
630
  get: function() {
631
- return s.has(this) || o(this, e.get.call(this)), this[b].getObservablePropValue_(i);
631
+ return s.has(this) || o(this, e.get.call(this)), this[_].getObservablePropValue_(i);
632
632
  },
633
633
  set: function(u) {
634
- return s.has(this) || o(this, u), this[b].setObservablePropValue_(i, u);
634
+ return s.has(this) || o(this, u), this[_].setObservablePropValue_(i, u);
635
635
  },
636
636
  init: function(u) {
637
637
  return s.has(this) || o(this, u), u;
@@ -670,13 +670,13 @@ function Ci(e, t, r, n) {
670
670
  if (n !== e.target_ && typeof r.value == "function") {
671
671
  var a;
672
672
  if (Yn(r.value)) {
673
- var u, l = (u = this.options_) != null && u.autoBind ? Te.bound : Te;
673
+ var u, l = (u = this.options_) != null && u.autoBind ? je.bound : je;
674
674
  return l.make_(e, t, r, n);
675
675
  }
676
676
  var d = (a = this.options_) != null && a.autoBind ? We.bound : We;
677
677
  return d.make_(e, t, r, n);
678
678
  }
679
- var v = ((i = this.options_) == null ? void 0 : i.deep) === !1 ? N.ref : N;
679
+ var v = ((i = this.options_) == null ? void 0 : i.deep) === !1 ? S.ref : S;
680
680
  if (typeof r.value == "function" && (s = this.options_) != null && s.autoBind) {
681
681
  var h;
682
682
  r.value = r.value.bind((h = e.proxy_) != null ? h : e.target_);
@@ -696,7 +696,7 @@ function Di(e, t, r, n) {
696
696
  var o;
697
697
  r.value = r.value.bind((o = e.proxy_) != null ? o : e.target_);
698
698
  }
699
- var a = ((s = this.options_) == null ? void 0 : s.deep) === !1 ? N.ref : N;
699
+ var a = ((s = this.options_) == null ? void 0 : s.deep) === !1 ? S.ref : S;
700
700
  return a.extend_(e, t, r, n);
701
701
  }
702
702
  function Vi(e, t) {
@@ -720,13 +720,13 @@ var Wt = /* @__PURE__ */ Vt(Li), Pi = /* @__PURE__ */ Vt(Bi, {
720
720
  enhancer: ai
721
721
  }), ur = /* @__PURE__ */ oe(Wt);
722
722
  function it(e) {
723
- return e.deep === !0 ? Ae : e.deep === !1 ? Dt : ki(e.defaultDecorator);
723
+ return e.deep === !0 ? Ae : e.deep === !1 ? Dt : Ii(e.defaultDecorator);
724
724
  }
725
725
  function Mi(e) {
726
726
  var t;
727
727
  return e ? (t = e.defaultDecorator) != null ? t : or(e) : void 0;
728
728
  }
729
- function ki(e) {
729
+ function Ii(e) {
730
730
  var t, r;
731
731
  return e && (t = (r = e.options_) == null ? void 0 : r.enhancer) != null ? t : Ae;
732
732
  }
@@ -737,17 +737,17 @@ function cr(e, t, r) {
737
737
  Je(e, t, Wt);
738
738
  return;
739
739
  }
740
- return Xe(e) ? e : j(e) ? N.object(e, t, r) : Array.isArray(e) ? N.array(e, t) : Me(e) ? N.map(e, t) : ue(e) ? N.set(e, t) : typeof e == "object" && e !== null ? e : N.box(e, t);
740
+ return Xe(e) ? e : j(e) ? S.object(e, t, r) : Array.isArray(e) ? S.array(e, t) : Ie(e) ? S.map(e, t) : ue(e) ? S.set(e, t) : typeof e == "object" && e !== null ? e : S.box(e, t);
741
741
  }
742
742
  Wn(cr, ur);
743
- var Ii = {
743
+ var ki = {
744
744
  box: function(t, r) {
745
745
  var n = rt(r);
746
746
  return new Oe(t, it(n), n.name, !0, n.equals);
747
747
  },
748
748
  array: function(t, r) {
749
749
  var n = rt(r);
750
- return (f.useProxies === !1 || n.proxy === !1 ? Is : Vs)(t, it(n), n.name);
750
+ return (f.useProxies === !1 || n.proxy === !1 ? ks : Vs)(t, it(n), n.name);
751
751
  },
752
752
  map: function(t, r) {
753
753
  var n = rt(r);
@@ -766,7 +766,7 @@ var Ii = {
766
766
  shallow: /* @__PURE__ */ oe(Ti),
767
767
  deep: ur,
768
768
  struct: /* @__PURE__ */ oe(ji)
769
- }, N = /* @__PURE__ */ Wn(cr, Ii), lr = "computed", Ui = "computed.struct", Zt = /* @__PURE__ */ an(lr), $i = /* @__PURE__ */ an(Ui, {
769
+ }, S = /* @__PURE__ */ Wn(cr, ki), lr = "computed", Ui = "computed.struct", Zt = /* @__PURE__ */ an(lr), $i = /* @__PURE__ */ an(Ui, {
770
770
  equals: ht.structural
771
771
  }), ye = function(t, r) {
772
772
  if (Qe(r))
@@ -775,9 +775,9 @@ var Ii = {
775
775
  return Je(t, r, Zt);
776
776
  if (j(t))
777
777
  return oe(an(lr, t));
778
- process.env.NODE_ENV !== "production" && (V(t) || p("First argument to `computed` should be an expression."), V(r) && p("A setter as second argument is no longer supported, use `{ set: fn }` option instead"));
778
+ process.env.NODE_ENV !== "production" && (D(t) || p("First argument to `computed` should be an expression."), D(r) && p("A setter as second argument is no longer supported, use `{ set: fn }` option instead"));
779
779
  var n = j(r) ? r : {};
780
- return n.get = t, n.name || (n.name = t.name || ""), new Z(n);
780
+ return n.get = t, n.name || (n.name = t.name || ""), new W(n);
781
781
  };
782
782
  Object.assign(ye, Zt);
783
783
  ye.struct = /* @__PURE__ */ oe($i);
@@ -789,7 +789,7 @@ var bn, mn, bt = 0, Fi = 1, Ki = (bn = (mn = /* @__PURE__ */ pt(function() {
789
789
  enumerable: !1
790
790
  };
791
791
  function Se(e, t, r, n) {
792
- r === void 0 && (r = !1), process.env.NODE_ENV !== "production" && (V(t) || p("`action` can only be invoked on functions"), (typeof e != "string" || !e) && p("actions should have valid names, got: '" + e + "'"));
792
+ r === void 0 && (r = !1), process.env.NODE_ENV !== "production" && (D(t) || p("`action` can only be invoked on functions"), (typeof e != "string" || !e) && p("actions should have valid names, got: '" + e + "'"));
793
793
  function i() {
794
794
  return qi(e, r, t, n || this, arguments);
795
795
  }
@@ -820,7 +820,7 @@ function Hi(e, t, r, n) {
820
820
  });
821
821
  }
822
822
  var a = f.trackingDerivation, u = !t || !a;
823
- q();
823
+ K();
824
824
  var l = f.allowStateChanges;
825
825
  u && (De(), l = un(!0));
826
826
  var d = ln(!0), v = {
@@ -836,7 +836,7 @@ function Hi(e, t, r, n) {
836
836
  return bt = v.actionId_, v;
837
837
  }
838
838
  function Gi(e) {
839
- bt !== e.actionId_ && p(30), bt = e.parentActionId_, e.error_ !== void 0 && (f.suppressReactionErrors = !0), cn(e.prevAllowStateChanges_), He(e.prevAllowStateReads_), H(), e.runAsAction_ && le(e.prevDerivation_), process.env.NODE_ENV !== "production" && e.notifySpy_ && k({
839
+ bt !== e.actionId_ && p(30), bt = e.parentActionId_, e.error_ !== void 0 && (f.suppressReactionErrors = !0), cn(e.prevAllowStateChanges_), He(e.prevAllowStateReads_), q(), e.runAsAction_ && le(e.prevDerivation_), process.env.NODE_ENV !== "production" && e.notifySpy_ && I({
840
840
  time: Date.now() - e.startTime_
841
841
  }), f.suppressReactionErrors = !1;
842
842
  }
@@ -873,11 +873,11 @@ var zi = "create", Oe = /* @__PURE__ */ (function(e) {
873
873
  debugObjectName: this.name_,
874
874
  newValue: i,
875
875
  oldValue: s
876
- }), this.setNewValue_(i), process.env.NODE_ENV !== "production" && o && k();
876
+ }), this.setNewValue_(i), process.env.NODE_ENV !== "production" && o && I();
877
877
  }
878
878
  }, r.prepareNewValue_ = function(i) {
879
- if (ie(this), F(this)) {
880
- var s = K(this, {
879
+ if (ie(this), $(this)) {
880
+ var s = F(this, {
881
881
  object: this,
882
882
  type: Y,
883
883
  newValue: i
@@ -919,9 +919,9 @@ var zi = "create", Oe = /* @__PURE__ */ (function(e) {
919
919
  }, r[Symbol.toPrimitive] = function() {
920
920
  return this.valueOf();
921
921
  }, t;
922
- })(_e), Z = /* @__PURE__ */ (function() {
922
+ })(_e), W = /* @__PURE__ */ (function() {
923
923
  function e(r) {
924
- this.dependenciesState_ = E.NOT_TRACKING_, this.observing_ = [], this.newObserving_ = null, this.observers_ = /* @__PURE__ */ new Set(), this.runId_ = 0, this.lastAccessedBy_ = 0, this.lowestObserverState_ = E.UP_TO_DATE_, this.unboundDepsCount_ = 0, this.value_ = new mt(null), this.name_ = void 0, this.triggeredBy_ = void 0, this.flags_ = 0, this.derivation = void 0, this.setter_ = void 0, this.isTracing_ = W.NONE, this.scope_ = void 0, this.equals_ = void 0, this.requiresReaction_ = void 0, this.keepAlive_ = void 0, this.onBOL = void 0, this.onBUOL = void 0, r.get || p(31), this.derivation = r.get, this.name_ = r.name || (process.env.NODE_ENV !== "production" ? "ComputedValue@" + ee() : "ComputedValue"), r.set && (this.setter_ = Se(process.env.NODE_ENV !== "production" ? this.name_ + "-setter" : "ComputedValue-setter", r.set)), this.equals_ = r.equals || (r.compareStructural || r.struct ? ht.structural : ht.default), this.scope_ = r.context, this.requiresReaction_ = r.requiresReaction, this.keepAlive_ = !!r.keepAlive;
924
+ this.dependenciesState_ = E.NOT_TRACKING_, this.observing_ = [], this.newObserving_ = null, this.observers_ = /* @__PURE__ */ new Set(), this.runId_ = 0, this.lastAccessedBy_ = 0, this.lowestObserverState_ = E.UP_TO_DATE_, this.unboundDepsCount_ = 0, this.value_ = new mt(null), this.name_ = void 0, this.triggeredBy_ = void 0, this.flags_ = 0, this.derivation = void 0, this.setter_ = void 0, this.isTracing_ = z.NONE, this.scope_ = void 0, this.equals_ = void 0, this.requiresReaction_ = void 0, this.keepAlive_ = void 0, this.onBOL = void 0, this.onBUOL = void 0, r.get || p(31), this.derivation = r.get, this.name_ = r.name || (process.env.NODE_ENV !== "production" ? "ComputedValue@" + ee() : "ComputedValue"), r.set && (this.setter_ = Se(process.env.NODE_ENV !== "production" ? this.name_ + "-setter" : "ComputedValue-setter", r.set)), this.equals_ = r.equals || (r.compareStructural || r.struct ? ht.structural : ht.default), this.scope_ = r.context, this.requiresReaction_ = r.requiresReaction, this.keepAlive_ = !!r.keepAlive;
925
925
  }
926
926
  var t = e.prototype;
927
927
  return t.onBecomeStale_ = function() {
@@ -937,7 +937,7 @@ var zi = "create", Oe = /* @__PURE__ */ (function(e) {
937
937
  }, t.get = function() {
938
938
  if (this.isComputing && p(32, this.name_, this.derivation), f.inBatch === 0 && // !globalState.trackingDerivatpion &&
939
939
  this.observers_.size === 0 && !this.keepAlive_)
940
- Xt(this) && (this.warnAboutUntrackedRead_(), q(), this.value_ = this.computeValue_(!1), H());
940
+ Xt(this) && (this.warnAboutUntrackedRead_(), K(), this.value_ = this.computeValue_(!1), q());
941
941
  else if (br(this), Xt(this)) {
942
942
  var n = f.trackingContext;
943
943
  this.keepAlive_ && !n && (f.trackingContext = this), this.trackAndCompute() && Qi(this), f.trackingContext = n;
@@ -984,7 +984,7 @@ var zi = "create", Oe = /* @__PURE__ */ (function(e) {
984
984
  }
985
985
  return cn(i), this.isComputing = !1, s;
986
986
  }, t.suspend_ = function() {
987
- this.keepAlive_ || (Yt(this), this.value_ = void 0, process.env.NODE_ENV !== "production" && this.isTracing_ !== W.NONE && console.log("[mobx.trace] Computed value '" + this.name_ + "' was suspended and it will recompute on the next access."));
987
+ this.keepAlive_ || (Yt(this), this.value_ = void 0, process.env.NODE_ENV !== "production" && this.isTracing_ !== z.NONE && console.log("[mobx.trace] Computed value '" + this.name_ + "' was suspended and it will recompute on the next access."));
988
988
  }, t.observe_ = function(n, i) {
989
989
  var s = this, o = !0, a = void 0;
990
990
  return ls(function() {
@@ -1003,7 +1003,7 @@ var zi = "create", Oe = /* @__PURE__ */ (function(e) {
1003
1003
  o = !1, a = u;
1004
1004
  });
1005
1005
  }, t.warnAboutUntrackedRead_ = function() {
1006
- process.env.NODE_ENV !== "production" && (this.isTracing_ !== W.NONE && console.log("[mobx.trace] Computed value '" + this.name_ + "' is being read outside a reactive context. Doing a full recompute."), (typeof this.requiresReaction_ == "boolean" ? this.requiresReaction_ : f.computedRequiresReaction) && console.warn("[mobx] Computed value '" + this.name_ + "' is being read outside a reactive context. Doing a full recompute."));
1006
+ process.env.NODE_ENV !== "production" && (this.isTracing_ !== z.NONE && console.log("[mobx.trace] Computed value '" + this.name_ + "' is being read outside a reactive context. Doing a full recompute."), (typeof this.requiresReaction_ == "boolean" ? this.requiresReaction_ : f.computedRequiresReaction) && console.warn("[mobx] Computed value '" + this.name_ + "' is being read outside a reactive context. Doing a full recompute."));
1007
1007
  }, t.toString = function() {
1008
1008
  return this.name_ + "[" + this.derivation.toString() + "]";
1009
1009
  }, t.valueOf = function() {
@@ -1052,19 +1052,19 @@ var zi = "create", Oe = /* @__PURE__ */ (function(e) {
1052
1052
  }
1053
1053
  }]);
1054
1054
  })();
1055
- Z.isComputingMask_ = 1;
1056
- Z.isRunningSetterMask_ = 2;
1057
- Z.isBeingObservedMask_ = 4;
1058
- Z.isPendingUnobservationMask_ = 8;
1059
- Z.diffValueMask_ = 16;
1060
- var Lt = /* @__PURE__ */ Ce("ComputedValue", Z), E;
1055
+ W.isComputingMask_ = 1;
1056
+ W.isRunningSetterMask_ = 2;
1057
+ W.isBeingObservedMask_ = 4;
1058
+ W.isPendingUnobservationMask_ = 8;
1059
+ W.diffValueMask_ = 16;
1060
+ var Lt = /* @__PURE__ */ Ce("ComputedValue", W), E;
1061
1061
  (function(e) {
1062
1062
  e[e.NOT_TRACKING_ = -1] = "NOT_TRACKING_", e[e.UP_TO_DATE_ = 0] = "UP_TO_DATE_", e[e.POSSIBLY_STALE_ = 1] = "POSSIBLY_STALE_", e[e.STALE_ = 2] = "STALE_";
1063
1063
  })(E || (E = {}));
1064
- var W;
1064
+ var z;
1065
1065
  (function(e) {
1066
1066
  e[e.NONE = 0] = "NONE", e[e.LOG = 1] = "LOG", e[e.BREAK = 2] = "BREAK";
1067
- })(W || (W = {}));
1067
+ })(z || (z = {}));
1068
1068
  var mt = function(t) {
1069
1069
  this.cause = void 0, this.cause = t;
1070
1070
  };
@@ -1204,15 +1204,15 @@ function hr(e, t) {
1204
1204
  function _r(e) {
1205
1205
  e.isPendingUnobservation === !1 && (e.isPendingUnobservation = !0, f.pendingUnobservations.push(e));
1206
1206
  }
1207
- function q() {
1207
+ function K() {
1208
1208
  f.inBatch++;
1209
1209
  }
1210
- function H() {
1210
+ function q() {
1211
1211
  if (--f.inBatch === 0) {
1212
1212
  Or();
1213
1213
  for (var e = f.pendingUnobservations, t = 0; t < e.length; t++) {
1214
1214
  var r = e[t];
1215
- r.isPendingUnobservation = !1, r.observers_.size === 0 && (r.isBeingObserved && (r.isBeingObserved = !1, r.onBUO()), r instanceof Z && r.suspend_());
1215
+ r.isPendingUnobservation = !1, r.observers_.size === 0 && (r.isBeingObserved && (r.isBeingObserved = !1, r.onBUO()), r instanceof W && r.suspend_());
1216
1216
  }
1217
1217
  f.pendingUnobservations = [];
1218
1218
  }
@@ -1224,12 +1224,12 @@ function br(e) {
1224
1224
  }
1225
1225
  function mr(e) {
1226
1226
  e.lowestObserverState_ !== E.STALE_ && (e.lowestObserverState_ = E.STALE_, e.observers_.forEach(function(t) {
1227
- t.dependenciesState_ === E.UP_TO_DATE_ && (process.env.NODE_ENV !== "production" && t.isTracing_ !== W.NONE && gr(t, e), t.onBecomeStale_()), t.dependenciesState_ = E.STALE_;
1227
+ t.dependenciesState_ === E.UP_TO_DATE_ && (process.env.NODE_ENV !== "production" && t.isTracing_ !== z.NONE && gr(t, e), t.onBecomeStale_()), t.dependenciesState_ = E.STALE_;
1228
1228
  }));
1229
1229
  }
1230
1230
  function Qi(e) {
1231
1231
  e.lowestObserverState_ !== E.STALE_ && (e.lowestObserverState_ = E.STALE_, e.observers_.forEach(function(t) {
1232
- t.dependenciesState_ === E.POSSIBLY_STALE_ ? (t.dependenciesState_ = E.STALE_, process.env.NODE_ENV !== "production" && t.isTracing_ !== W.NONE && gr(t, e)) : t.dependenciesState_ === E.UP_TO_DATE_ && (e.lowestObserverState_ = E.UP_TO_DATE_);
1232
+ t.dependenciesState_ === E.POSSIBLY_STALE_ ? (t.dependenciesState_ = E.STALE_, process.env.NODE_ENV !== "production" && t.isTracing_ !== z.NONE && gr(t, e)) : t.dependenciesState_ === E.UP_TO_DATE_ && (e.lowestObserverState_ = E.UP_TO_DATE_);
1233
1233
  }));
1234
1234
  }
1235
1235
  function es(e) {
@@ -1238,7 +1238,7 @@ function es(e) {
1238
1238
  }));
1239
1239
  }
1240
1240
  function gr(e, t) {
1241
- if (console.log("[mobx.trace] '" + e.name_ + "' is invalidated due to a change in: '" + t.name_ + "'"), e.isTracing_ === W.BREAK) {
1241
+ if (console.log("[mobx.trace] '" + e.name_ + "' is invalidated due to a change in: '" + t.name_ + "'"), e.isTracing_ === z.BREAK) {
1242
1242
  var r = [];
1243
1243
  yr(Cr(e), r, 1), new Function(`debugger;
1244
1244
  /*
@@ -1248,7 +1248,7 @@ You are entering this break point because derivation '` + e.name_ + "' is being
1248
1248
  Just follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update
1249
1249
  The stackframe you are looking for is at least ~6-8 stack-frames up.
1250
1250
 
1251
- ` + (e instanceof Z ? e.derivation.toString().replace(/[*]\//g, "/") : "") + `
1251
+ ` + (e instanceof W ? e.derivation.toString().replace(/[*]\//g, "/") : "") + `
1252
1252
 
1253
1253
  The dependencies for this derivation are:
1254
1254
 
@@ -1269,7 +1269,7 @@ function yr(e, t, r) {
1269
1269
  }
1270
1270
  var de = /* @__PURE__ */ (function() {
1271
1271
  function e(r, n, i, s) {
1272
- r === void 0 && (r = process.env.NODE_ENV !== "production" ? "Reaction@" + ee() : "Reaction"), this.name_ = void 0, this.onInvalidate_ = void 0, this.errorHandler_ = void 0, this.requiresObservable_ = void 0, this.observing_ = [], this.newObserving_ = [], this.dependenciesState_ = E.NOT_TRACKING_, this.runId_ = 0, this.unboundDepsCount_ = 0, this.flags_ = 0, this.isTracing_ = W.NONE, this.name_ = r, this.onInvalidate_ = n, this.errorHandler_ = i, this.requiresObservable_ = s;
1272
+ r === void 0 && (r = process.env.NODE_ENV !== "production" ? "Reaction@" + ee() : "Reaction"), this.name_ = void 0, this.onInvalidate_ = void 0, this.errorHandler_ = void 0, this.requiresObservable_ = void 0, this.observing_ = [], this.newObserving_ = [], this.dependenciesState_ = E.NOT_TRACKING_, this.runId_ = 0, this.unboundDepsCount_ = 0, this.flags_ = 0, this.isTracing_ = z.NONE, this.name_ = r, this.onInvalidate_ = n, this.errorHandler_ = i, this.requiresObservable_ = s;
1273
1273
  }
1274
1274
  var t = e.prototype;
1275
1275
  return t.onBecomeStale_ = function() {
@@ -1278,7 +1278,7 @@ var de = /* @__PURE__ */ (function() {
1278
1278
  this.isScheduled || (this.isScheduled = !0, f.pendingReactions.push(this), Or());
1279
1279
  }, t.runReaction_ = function() {
1280
1280
  if (!this.isDisposed) {
1281
- q(), this.isScheduled = !1;
1281
+ K(), this.isScheduled = !1;
1282
1282
  var n = f.trackingContext;
1283
1283
  if (f.trackingContext = this, Xt(this)) {
1284
1284
  this.isTrackPending = !0;
@@ -1291,11 +1291,11 @@ var de = /* @__PURE__ */ (function() {
1291
1291
  this.reportExceptionInDerivation_(i);
1292
1292
  }
1293
1293
  }
1294
- f.trackingContext = n, H();
1294
+ f.trackingContext = n, q();
1295
1295
  }
1296
1296
  }, t.track = function(n) {
1297
1297
  if (!this.isDisposed) {
1298
- q();
1298
+ K();
1299
1299
  var i = B(), s;
1300
1300
  process.env.NODE_ENV !== "production" && i && (s = Date.now(), M({
1301
1301
  name: this.name_,
@@ -1304,9 +1304,9 @@ var de = /* @__PURE__ */ (function() {
1304
1304
  var o = f.trackingContext;
1305
1305
  f.trackingContext = this;
1306
1306
  var a = fr(this, n, void 0);
1307
- f.trackingContext = o, this.isRunning = !1, this.isTrackPending = !1, this.isDisposed && Yt(this), ut(a) && this.reportExceptionInDerivation_(a.cause), process.env.NODE_ENV !== "production" && i && k({
1307
+ f.trackingContext = o, this.isRunning = !1, this.isTrackPending = !1, this.isDisposed && Yt(this), ut(a) && this.reportExceptionInDerivation_(a.cause), process.env.NODE_ENV !== "production" && i && I({
1308
1308
  time: Date.now() - s
1309
- }), H();
1309
+ }), q();
1310
1310
  }
1311
1311
  }, t.reportExceptionInDerivation_ = function(n) {
1312
1312
  var i = this;
@@ -1326,12 +1326,12 @@ var de = /* @__PURE__ */ (function() {
1326
1326
  return o(n, i);
1327
1327
  });
1328
1328
  }, t.dispose = function() {
1329
- this.isDisposed || (this.isDisposed = !0, this.isRunning || (q(), Yt(this), H()));
1329
+ this.isDisposed || (this.isDisposed = !0, this.isRunning || (K(), Yt(this), q()));
1330
1330
  }, t.getDisposer_ = function(n) {
1331
1331
  var i = this, s = function o() {
1332
1332
  i.dispose(), n == null || n.removeEventListener == null || n.removeEventListener("abort", o);
1333
1333
  };
1334
- return n == null || n.addEventListener == null || n.addEventListener("abort", s), s[b] = this, s;
1334
+ return n == null || n.addEventListener == null || n.addEventListener("abort", s), s[_] = this, s;
1335
1335
  }, t.toString = function() {
1336
1336
  return "Reaction[" + this.name_ + "]";
1337
1337
  }, t.trace = function(n) {
@@ -1427,7 +1427,7 @@ var rs = {
1427
1427
  type: "report-end",
1428
1428
  spyReportEnd: !0
1429
1429
  };
1430
- function k(e) {
1430
+ function I(e) {
1431
1431
  process.env.NODE_ENV !== "production" && we(e ? fe({}, e, {
1432
1432
  type: "report-end",
1433
1433
  spyReportEnd: !0
@@ -1451,9 +1451,9 @@ var fn = "action", ss = "action.bound", Er = "autoAction", os = "autoAction.boun
1451
1451
  });
1452
1452
  function Nr(e) {
1453
1453
  var t = function(n, i) {
1454
- if (V(n))
1454
+ if (D(n))
1455
1455
  return Se(n.name || as, n, e);
1456
- if (V(i))
1456
+ if (D(i))
1457
1457
  return Se(n, i, e);
1458
1458
  if (Qe(i))
1459
1459
  return (e ? en : Qt).decorate_20223_(n, i);
@@ -1474,12 +1474,12 @@ var We = /* @__PURE__ */ Nr(!0);
1474
1474
  Object.assign(We, en);
1475
1475
  C.bound = /* @__PURE__ */ oe(us);
1476
1476
  We.bound = /* @__PURE__ */ oe(cs);
1477
- function Pe(e) {
1478
- return V(e) && e.isMobxAction === !0;
1477
+ function Te(e) {
1478
+ return D(e) && e.isMobxAction === !0;
1479
1479
  }
1480
1480
  function ls(e, t) {
1481
1481
  var r, n, i, s;
1482
- t === void 0 && (t = Zn), process.env.NODE_ENV !== "production" && (V(e) || p("Autorun expects a function as first argument"), Pe(e) && p("Autorun does not accept actions since actions are untrackable"));
1482
+ t === void 0 && (t = Zn), process.env.NODE_ENV !== "production" && (D(e) || p("Autorun expects a function as first argument"), Te(e) && p("Autorun does not accept actions since actions are untrackable"));
1483
1483
  var o = (r = (n = t) == null ? void 0 : n.name) != null ? r : process.env.NODE_ENV !== "production" ? e.name || "Autorun@" + ee() : "Autorun", a = !t.scheduler && !t.delay, u;
1484
1484
  if (a)
1485
1485
  u = new de(o, function() {
@@ -1514,7 +1514,7 @@ function Ar(e, t, r) {
1514
1514
  return Sr(vs, e, t, r);
1515
1515
  }
1516
1516
  function Sr(e, t, r, n) {
1517
- var i = je(t), s = V(n) ? n : r, o = e + "L";
1517
+ var i = Me(t), s = D(n) ? n : r, o = e + "L";
1518
1518
  return i[o] ? i[o].add(s) : i[o] = /* @__PURE__ */ new Set([s]), function() {
1519
1519
  var a = i[o];
1520
1520
  a && (a.delete(s), a.size === 0 && delete i[o]);
@@ -1536,8 +1536,8 @@ function wr(e, t, r, n) {
1536
1536
  process.env.NODE_ENV !== "production" && (arguments.length > 4 && p("'extendObservable' expected 2-4 arguments"), typeof e != "object" && p("'extendObservable' expects an object as first argument"), be(e) && p("'extendObservable' should not be used on maps, use map.merge instead"), j(t) || p("'extendObservable' only accepts plain objects as second argument"), (Xe(t) || Xe(r)) && p("Extending an object with another observable (object) is not supported"));
1537
1537
  var i = Yr(t);
1538
1538
  return me(function() {
1539
- var s = Ve(e, n)[b];
1540
- Re(i).forEach(function(o) {
1539
+ var s = Ve(e, n)[_];
1540
+ Pe(i).forEach(function(o) {
1541
1541
  s.extend_(
1542
1542
  o,
1543
1543
  i[o],
@@ -1548,7 +1548,7 @@ function wr(e, t, r, n) {
1548
1548
  }), e;
1549
1549
  }
1550
1550
  function Cr(e, t) {
1551
- return Dr(je(e, t));
1551
+ return Dr(Me(e, t));
1552
1552
  }
1553
1553
  function Dr(e) {
1554
1554
  var t = {
@@ -1566,66 +1566,66 @@ function Vr() {
1566
1566
  Vr.prototype = /* @__PURE__ */ Object.create(Error.prototype);
1567
1567
  var Rt = /* @__PURE__ */ ir("flow"), Os = /* @__PURE__ */ ir("flow.bound", {
1568
1568
  bound: !0
1569
- }), Te = /* @__PURE__ */ Object.assign(function(t, r) {
1569
+ }), je = /* @__PURE__ */ Object.assign(function(t, r) {
1570
1570
  if (Qe(r))
1571
1571
  return Rt.decorate_20223_(t, r);
1572
1572
  if (Ne(r))
1573
1573
  return Je(t, r, Rt);
1574
1574
  process.env.NODE_ENV !== "production" && arguments.length !== 1 && p("Flow expects single argument with generator function");
1575
1575
  var n = t, i = n.name || "<unnamed flow>", s = function() {
1576
- var a = this, u = arguments, l = ++ys, d = C(i + " - runid: " + l + " - init", n).apply(a, u), v, h = void 0, _ = new Promise(function(m, y) {
1577
- var O = 0;
1576
+ var a = this, u = arguments, l = ++ys, d = C(i + " - runid: " + l + " - init", n).apply(a, u), v, h = void 0, b = new Promise(function(m, y) {
1577
+ var N = 0;
1578
1578
  v = y;
1579
- function A(w) {
1579
+ function O(A) {
1580
1580
  h = void 0;
1581
- var x;
1581
+ var L;
1582
1582
  try {
1583
- x = C(i + " - runid: " + l + " - yield " + O++, d.next).call(d, w);
1584
- } catch ($) {
1585
- return y($);
1583
+ L = C(i + " - runid: " + l + " - yield " + N++, d.next).call(d, A);
1584
+ } catch (x) {
1585
+ return y(x);
1586
1586
  }
1587
- D(x);
1587
+ Z(L);
1588
1588
  }
1589
- function L(w) {
1589
+ function V(A) {
1590
1590
  h = void 0;
1591
- var x;
1591
+ var L;
1592
1592
  try {
1593
- x = C(i + " - runid: " + l + " - yield " + O++, d.throw).call(d, w);
1594
- } catch ($) {
1595
- return y($);
1593
+ L = C(i + " - runid: " + l + " - yield " + N++, d.throw).call(d, A);
1594
+ } catch (x) {
1595
+ return y(x);
1596
1596
  }
1597
- D(x);
1597
+ Z(L);
1598
1598
  }
1599
- function D(w) {
1600
- if (V(w?.then)) {
1601
- w.then(D, y);
1599
+ function Z(A) {
1600
+ if (D(A?.then)) {
1601
+ A.then(Z, y);
1602
1602
  return;
1603
1603
  }
1604
- return w.done ? m(w.value) : (h = Promise.resolve(w.value), h.then(A, L));
1604
+ return A.done ? m(A.value) : (h = Promise.resolve(A.value), h.then(O, V));
1605
1605
  }
1606
- A(void 0);
1606
+ O(void 0);
1607
1607
  });
1608
- return _.cancel = C(i + " - runid: " + l + " - cancel", function() {
1608
+ return b.cancel = C(i + " - runid: " + l + " - cancel", function() {
1609
1609
  try {
1610
1610
  h && On(h);
1611
1611
  var m = d.return(void 0), y = Promise.resolve(m.value);
1612
- y.then(Be, Be), On(y), v(new Vr());
1613
- } catch (O) {
1614
- v(O);
1612
+ y.then(xe, xe), On(y), v(new Vr());
1613
+ } catch (N) {
1614
+ v(N);
1615
1615
  }
1616
- }), _;
1616
+ }), b;
1617
1617
  };
1618
1618
  return s.isMobXFlow = !0, s;
1619
1619
  }, Rt);
1620
- Te.bound = /* @__PURE__ */ oe(Os);
1620
+ je.bound = /* @__PURE__ */ oe(Os);
1621
1621
  function On(e) {
1622
- V(e.cancel) && e.cancel();
1622
+ D(e.cancel) && e.cancel();
1623
1623
  }
1624
1624
  function Ze(e) {
1625
1625
  return e?.isMobXFlow === !0;
1626
1626
  }
1627
1627
  function Es(e, t) {
1628
- return e ? Ue(e) || !!e[b] || on(e) || gt(e) || Lt(e) : !1;
1628
+ return e ? $e(e) || !!e[_] || on(e) || gt(e) || Lt(e) : !1;
1629
1629
  }
1630
1630
  function Xe(e) {
1631
1631
  return process.env.NODE_ENV !== "production" && arguments.length !== 1 && p("isObservable expects only 1 argument. Use isObservableProp to inspect the observability of a property"), Es(e);
@@ -1638,7 +1638,7 @@ function Ns() {
1638
1638
  var i = As(r);
1639
1639
  if (!i)
1640
1640
  return p("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");
1641
- i.isTracing_ === W.NONE && console.log("[mobx.trace] '" + i.name_ + "' tracing enabled"), i.isTracing_ = e ? W.BREAK : W.LOG;
1641
+ i.isTracing_ === z.NONE && console.log("[mobx.trace] '" + i.name_ + "' tracing enabled"), i.isTracing_ = e ? z.BREAK : z.LOG;
1642
1642
  }
1643
1643
  }
1644
1644
  function As(e) {
@@ -1646,43 +1646,43 @@ function As(e) {
1646
1646
  case 0:
1647
1647
  return f.trackingDerivation;
1648
1648
  case 1:
1649
- return je(e[0]);
1649
+ return Me(e[0]);
1650
1650
  case 2:
1651
- return je(e[0], e[1]);
1651
+ return Me(e[0], e[1]);
1652
1652
  }
1653
1653
  }
1654
1654
  function ce(e, t) {
1655
- t === void 0 && (t = void 0), q();
1655
+ t === void 0 && (t = void 0), K();
1656
1656
  try {
1657
1657
  return e.apply(t);
1658
1658
  } finally {
1659
- H();
1659
+ q();
1660
1660
  }
1661
1661
  }
1662
1662
  function ge(e) {
1663
- return e[b];
1663
+ return e[_];
1664
1664
  }
1665
1665
  var Ss = {
1666
1666
  has: function(t, r) {
1667
- return process.env.NODE_ENV !== "production" && f.trackingDerivation && Fe("detect new properties using the 'in' operator. Use 'has' from 'mobx' instead."), ge(t).has_(r);
1667
+ return process.env.NODE_ENV !== "production" && f.trackingDerivation && Ke("detect new properties using the 'in' operator. Use 'has' from 'mobx' instead."), ge(t).has_(r);
1668
1668
  },
1669
1669
  get: function(t, r) {
1670
1670
  return ge(t).get_(r);
1671
1671
  },
1672
1672
  set: function(t, r, n) {
1673
1673
  var i;
1674
- return Ne(r) ? (process.env.NODE_ENV !== "production" && !ge(t).values_.has(r) && Fe("add a new observable property through direct assignment. Use 'set' from 'mobx' instead."), (i = ge(t).set_(r, n, !0)) != null ? i : !0) : !1;
1674
+ return Ne(r) ? (process.env.NODE_ENV !== "production" && !ge(t).values_.has(r) && Ke("add a new observable property through direct assignment. Use 'set' from 'mobx' instead."), (i = ge(t).set_(r, n, !0)) != null ? i : !0) : !1;
1675
1675
  },
1676
1676
  deleteProperty: function(t, r) {
1677
1677
  var n;
1678
- return process.env.NODE_ENV !== "production" && Fe("delete properties from an observable object. Use 'remove' from 'mobx' instead."), Ne(r) ? (n = ge(t).delete_(r, !0)) != null ? n : !0 : !1;
1678
+ return process.env.NODE_ENV !== "production" && Ke("delete properties from an observable object. Use 'remove' from 'mobx' instead."), Ne(r) ? (n = ge(t).delete_(r, !0)) != null ? n : !0 : !1;
1679
1679
  },
1680
1680
  defineProperty: function(t, r, n) {
1681
1681
  var i;
1682
- return process.env.NODE_ENV !== "production" && Fe("define property on an observable object. Use 'defineProperty' from 'mobx' instead."), (i = ge(t).defineProperty_(r, n)) != null ? i : !0;
1682
+ return process.env.NODE_ENV !== "production" && Ke("define property on an observable object. Use 'defineProperty' from 'mobx' instead."), (i = ge(t).defineProperty_(r, n)) != null ? i : !0;
1683
1683
  },
1684
1684
  ownKeys: function(t) {
1685
- return process.env.NODE_ENV !== "production" && f.trackingDerivation && Fe("iterate keys to detect added / removed properties. Use 'keys' from 'mobx' instead."), ge(t).ownKeys_();
1685
+ return process.env.NODE_ENV !== "production" && f.trackingDerivation && Ke("iterate keys to detect added / removed properties. Use 'keys' from 'mobx' instead."), ge(t).ownKeys_();
1686
1686
  },
1687
1687
  preventExtensions: function(t) {
1688
1688
  p(13);
@@ -1690,9 +1690,9 @@ var Ss = {
1690
1690
  };
1691
1691
  function ws(e, t) {
1692
1692
  var r, n;
1693
- return Xn(), e = Ve(e, t), (n = (r = e[b]).proxy_) != null ? n : r.proxy_ = new Proxy(e, Ss);
1693
+ return Xn(), e = Ve(e, t), (n = (r = e[_]).proxy_) != null ? n : r.proxy_ = new Proxy(e, Ss);
1694
1694
  }
1695
- function F(e) {
1695
+ function $(e) {
1696
1696
  return e.interceptors_ !== void 0 && e.interceptors_.length > 0;
1697
1697
  }
1698
1698
  function tt(e, t) {
@@ -1702,7 +1702,7 @@ function tt(e, t) {
1702
1702
  n !== -1 && r.splice(n, 1);
1703
1703
  });
1704
1704
  }
1705
- function K(e, t) {
1705
+ function F(e, t) {
1706
1706
  var r = De();
1707
1707
  try {
1708
1708
  for (var n = [].concat(e.interceptors_ || []), i = 0, s = n.length; i < s && (t = n[i](t), t && !t.type && p(14), !!t); i++)
@@ -1733,19 +1733,19 @@ function Q(e, t) {
1733
1733
  }
1734
1734
  function dn(e, t, r) {
1735
1735
  return me(function() {
1736
- var n, i = Ve(e, r)[b];
1737
- process.env.NODE_ENV !== "production" && t && e[R] && p("makeObservable second arg must be nullish when using decorators. Mixing @decorator syntax with annotations is not supported."), (n = t) != null || (t = ri(e)), Re(t).forEach(function(s) {
1736
+ var n, i = Ve(e, r)[_];
1737
+ process.env.NODE_ENV !== "production" && t && e[R] && p("makeObservable second arg must be nullish when using decorators. Mixing @decorator syntax with annotations is not supported."), (n = t) != null || (t = ri(e)), Pe(t).forEach(function(s) {
1738
1738
  return i.make_(s, t[s]);
1739
1739
  });
1740
1740
  }), e;
1741
1741
  }
1742
1742
  var Pt = /* @__PURE__ */ Symbol("mobx-keys");
1743
- function Ie(e, t, r) {
1744
- return process.env.NODE_ENV !== "production" && (!j(e) && !j(Object.getPrototypeOf(e)) && p("'makeAutoObservable' can only be used for classes that don't have a superclass"), Ue(e) && p("makeAutoObservable can only be used on objects not already made observable")), j(e) ? wr(e, e, t, r) : (me(function() {
1745
- var n = Ve(e, r)[b];
1743
+ function Ue(e, t, r) {
1744
+ return process.env.NODE_ENV !== "production" && (!j(e) && !j(Object.getPrototypeOf(e)) && p("'makeAutoObservable' can only be used for classes that don't have a superclass"), $e(e) && p("makeAutoObservable can only be used on objects not already made observable")), j(e) ? wr(e, e, t, r) : (me(function() {
1745
+ var n = Ve(e, r)[_];
1746
1746
  if (!e[Pt]) {
1747
- var i = Object.getPrototypeOf(e), s = new Set([].concat(Re(e), Re(i)));
1748
- s.delete("constructor"), s.delete(b), Ye(i, Pt, s);
1747
+ var i = Object.getPrototypeOf(e), s = new Set([].concat(Pe(e), Pe(i)));
1748
+ s.delete("constructor"), s.delete(_), Ye(i, Pt, s);
1749
1749
  }
1750
1750
  e[Pt].forEach(function(o) {
1751
1751
  return n.make_(
@@ -1758,11 +1758,11 @@ function Ie(e, t, r) {
1758
1758
  }
1759
1759
  var En = "splice", Y = "update", Cs = 1e4, Ds = {
1760
1760
  get: function(t, r) {
1761
- var n = t[b];
1762
- return r === b ? n : r === "length" ? n.getArrayLength_() : typeof r == "string" && !isNaN(r) ? n.get_(parseInt(r)) : z(yt, r) ? yt[r] : t[r];
1761
+ var n = t[_];
1762
+ return r === _ ? n : r === "length" ? n.getArrayLength_() : typeof r == "string" && !isNaN(r) ? n.get_(parseInt(r)) : G(yt, r) ? yt[r] : t[r];
1763
1763
  },
1764
1764
  set: function(t, r, n) {
1765
- var i = t[b];
1765
+ var i = t[_];
1766
1766
  return r === "length" && i.setArrayLength_(n), typeof r == "symbol" || isNaN(r) ? t[r] = n : i.set_(parseInt(r), n), !0;
1767
1767
  },
1768
1768
  preventExtensions: function() {
@@ -1811,8 +1811,8 @@ var En = "splice", Y = "update", Cs = 1e4, Ds = {
1811
1811
  var o = this;
1812
1812
  ie(this.atom_);
1813
1813
  var a = this.values_.length;
1814
- if (n === void 0 ? n = 0 : n > a ? n = a : n < 0 && (n = Math.max(0, a + n)), arguments.length === 1 ? i = a - n : i == null ? i = 0 : i = Math.max(0, Math.min(i, a - n)), s === void 0 && (s = vt), F(this)) {
1815
- var u = K(this, {
1814
+ if (n === void 0 ? n = 0 : n > a ? n = a : n < 0 && (n = Math.max(0, a + n)), arguments.length === 1 ? i = a - n : i == null ? i = 0 : i = Math.max(0, Math.min(i, a - n)), s === void 0 && (s = vt), $(this)) {
1815
+ var u = F(this, {
1816
1816
  object: this.proxy_,
1817
1817
  type: En,
1818
1818
  index: n,
@@ -1854,7 +1854,7 @@ var En = "splice", Y = "update", Cs = 1e4, Ds = {
1854
1854
  newValue: i,
1855
1855
  oldValue: s
1856
1856
  } : null;
1857
- process.env.NODE_ENV !== "production" && o && M(u), this.atom_.reportChanged(), a && Q(this, u), process.env.NODE_ENV !== "production" && o && k();
1857
+ process.env.NODE_ENV !== "production" && o && M(u), this.atom_.reportChanged(), a && Q(this, u), process.env.NODE_ENV !== "production" && o && I();
1858
1858
  }, t.notifyArraySplice_ = function(n, i, s) {
1859
1859
  var o = !this.owned_ && B(), a = J(this), u = a || o ? {
1860
1860
  observableKind: "array",
@@ -1867,7 +1867,7 @@ var En = "splice", Y = "update", Cs = 1e4, Ds = {
1867
1867
  removedCount: s.length,
1868
1868
  addedCount: i.length
1869
1869
  } : null;
1870
- process.env.NODE_ENV !== "production" && o && M(u), this.atom_.reportChanged(), a && Q(this, u), process.env.NODE_ENV !== "production" && o && k();
1870
+ process.env.NODE_ENV !== "production" && o && M(u), this.atom_.reportChanged(), a && Q(this, u), process.env.NODE_ENV !== "production" && o && I();
1871
1871
  }, t.get_ = function(n) {
1872
1872
  if (this.legacyMode_ && n >= this.values_.length) {
1873
1873
  console.warn(process.env.NODE_ENV !== "production" ? "[mobx.array] Attempt to read an array index (" + n + ") that is out of bounds (" + this.values_.length + "). Please check length first. Out of bound indices will not be tracked by MobX" : "[mobx] Out of bounds read: " + n);
@@ -1879,8 +1879,8 @@ var En = "splice", Y = "update", Cs = 1e4, Ds = {
1879
1879
  if (this.legacyMode_ && n > s.length && p(17, n, s.length), n < s.length) {
1880
1880
  ie(this.atom_);
1881
1881
  var o = s[n];
1882
- if (F(this)) {
1883
- var a = K(this, {
1882
+ if ($(this)) {
1883
+ var a = F(this, {
1884
1884
  type: Y,
1885
1885
  object: this.proxy_,
1886
1886
  // since "this" is the real array we need to pass its proxy
@@ -1904,7 +1904,7 @@ var En = "splice", Y = "update", Cs = 1e4, Ds = {
1904
1904
  function Vs(e, t, r, n) {
1905
1905
  return r === void 0 && (r = process.env.NODE_ENV !== "production" ? "ObservableArray@" + ee() : "ObservableArray"), n === void 0 && (n = !1), Xn(), me(function() {
1906
1906
  var i = new pn(r, t, n, !1);
1907
- Jn(i.values_, b, i);
1907
+ Jn(i.values_, _, i);
1908
1908
  var s = new Proxy(i.values_, Ds);
1909
1909
  return i.proxy_ = s, e && e.length && i.spliceWithArray_(0, 0, e), s;
1910
1910
  });
@@ -1914,7 +1914,7 @@ var yt = {
1914
1914
  return this.splice(0);
1915
1915
  },
1916
1916
  replace: function(t) {
1917
- var r = this[b];
1917
+ var r = this[_];
1918
1918
  return r.spliceWithArray_(0, r.values_.length, t);
1919
1919
  },
1920
1920
  // Used by JSON.stringify
@@ -1930,7 +1930,7 @@ var yt = {
1930
1930
  splice: function(t, r) {
1931
1931
  for (var n = arguments.length, i = new Array(n > 2 ? n - 2 : 0), s = 2; s < n; s++)
1932
1932
  i[s - 2] = arguments[s];
1933
- var o = this[b];
1933
+ var o = this[_];
1934
1934
  switch (arguments.length) {
1935
1935
  case 0:
1936
1936
  return [];
@@ -1942,21 +1942,21 @@ var yt = {
1942
1942
  return o.spliceWithArray_(t, r, i);
1943
1943
  },
1944
1944
  spliceWithArray: function(t, r, n) {
1945
- return this[b].spliceWithArray_(t, r, n);
1945
+ return this[_].spliceWithArray_(t, r, n);
1946
1946
  },
1947
1947
  push: function() {
1948
- for (var t = this[b], r = arguments.length, n = new Array(r), i = 0; i < r; i++)
1948
+ for (var t = this[_], r = arguments.length, n = new Array(r), i = 0; i < r; i++)
1949
1949
  n[i] = arguments[i];
1950
1950
  return t.spliceWithArray_(t.values_.length, 0, n), t.values_.length;
1951
1951
  },
1952
1952
  pop: function() {
1953
- return this.splice(Math.max(this[b].values_.length - 1, 0), 1)[0];
1953
+ return this.splice(Math.max(this[_].values_.length - 1, 0), 1)[0];
1954
1954
  },
1955
1955
  shift: function() {
1956
1956
  return this.splice(0, 1)[0];
1957
1957
  },
1958
1958
  unshift: function() {
1959
- for (var t = this[b], r = arguments.length, n = new Array(r), i = 0; i < r; i++)
1959
+ for (var t = this[_], r = arguments.length, n = new Array(r), i = 0; i < r; i++)
1960
1960
  n[i] = arguments[i];
1961
1961
  return t.spliceWithArray_(0, 0, n), t.values_.length;
1962
1962
  },
@@ -1969,42 +1969,42 @@ var yt = {
1969
1969
  return t.sort.apply(t, arguments), this.replace(t), this;
1970
1970
  },
1971
1971
  remove: function(t) {
1972
- var r = this[b], n = r.dehanceValues_(r.values_).indexOf(t);
1972
+ var r = this[_], n = r.dehanceValues_(r.values_).indexOf(t);
1973
1973
  return n > -1 ? (this.splice(n, 1), !0) : !1;
1974
1974
  }
1975
1975
  };
1976
- S("at", I);
1977
- S("concat", I);
1978
- S("flat", I);
1979
- S("includes", I);
1980
- S("indexOf", I);
1981
- S("join", I);
1982
- S("lastIndexOf", I);
1983
- S("slice", I);
1984
- S("toString", I);
1985
- S("toLocaleString", I);
1986
- S("toSorted", I);
1987
- S("toSpliced", I);
1988
- S("with", I);
1989
- S("every", te);
1990
- S("filter", te);
1991
- S("find", te);
1992
- S("findIndex", te);
1993
- S("findLast", te);
1994
- S("findLastIndex", te);
1995
- S("flatMap", te);
1996
- S("forEach", te);
1997
- S("map", te);
1998
- S("some", te);
1999
- S("toReversed", te);
2000
- S("reduce", Lr);
2001
- S("reduceRight", Lr);
2002
- function S(e, t) {
1976
+ w("at", k);
1977
+ w("concat", k);
1978
+ w("flat", k);
1979
+ w("includes", k);
1980
+ w("indexOf", k);
1981
+ w("join", k);
1982
+ w("lastIndexOf", k);
1983
+ w("slice", k);
1984
+ w("toString", k);
1985
+ w("toLocaleString", k);
1986
+ w("toSorted", k);
1987
+ w("toSpliced", k);
1988
+ w("with", k);
1989
+ w("every", te);
1990
+ w("filter", te);
1991
+ w("find", te);
1992
+ w("findIndex", te);
1993
+ w("findLast", te);
1994
+ w("findLastIndex", te);
1995
+ w("flatMap", te);
1996
+ w("forEach", te);
1997
+ w("map", te);
1998
+ w("some", te);
1999
+ w("toReversed", te);
2000
+ w("reduce", Lr);
2001
+ w("reduceRight", Lr);
2002
+ function w(e, t) {
2003
2003
  typeof Array.prototype[e] == "function" && (yt[e] = t(e));
2004
2004
  }
2005
- function I(e) {
2005
+ function k(e) {
2006
2006
  return function() {
2007
- var t = this[b];
2007
+ var t = this[_];
2008
2008
  t.atom_.reportObserved();
2009
2009
  var r = t.dehanceValues_(t.values_);
2010
2010
  return r[e].apply(r, arguments);
@@ -2012,7 +2012,7 @@ function I(e) {
2012
2012
  }
2013
2013
  function te(e) {
2014
2014
  return function(t, r) {
2015
- var n = this, i = this[b];
2015
+ var n = this, i = this[_];
2016
2016
  i.atom_.reportObserved();
2017
2017
  var s = i.dehanceValues_(i.values_);
2018
2018
  return s[e](function(o, a) {
@@ -2022,7 +2022,7 @@ function te(e) {
2022
2022
  }
2023
2023
  function Lr(e) {
2024
2024
  return function() {
2025
- var t = this, r = this[b];
2025
+ var t = this, r = this[_];
2026
2026
  r.atom_.reportObserved();
2027
2027
  var n = r.dehanceValues_(r.values_), i = arguments[0];
2028
2028
  return arguments[0] = function(s, o, a) {
@@ -2032,12 +2032,12 @@ function Lr(e) {
2032
2032
  }
2033
2033
  var Ls = /* @__PURE__ */ Ce("ObservableArrayAdministration", pn);
2034
2034
  function Bt(e) {
2035
- return wt(e) && Ls(e[b]);
2035
+ return wt(e) && Ls(e[_]);
2036
2036
  }
2037
2037
  var Bs = {}, ve = "add", Ot = "delete", Br = /* @__PURE__ */ (function() {
2038
2038
  function e(r, n, i) {
2039
2039
  var s = this;
2040
- n === void 0 && (n = Ae), i === void 0 && (i = process.env.NODE_ENV !== "production" ? "ObservableMap@" + ee() : "ObservableMap"), this.enhancer_ = void 0, this.name_ = void 0, this[b] = Bs, this.data_ = void 0, this.hasMap_ = void 0, this.keysAtom_ = void 0, this.interceptors_ = void 0, this.changeListeners_ = void 0, this.dehancer = void 0, this.enhancer_ = n, this.name_ = i, V(Map) || p(18), me(function() {
2040
+ n === void 0 && (n = Ae), i === void 0 && (i = process.env.NODE_ENV !== "production" ? "ObservableMap@" + ee() : "ObservableMap"), this.enhancer_ = void 0, this.name_ = void 0, this[_] = Bs, this.data_ = void 0, this.hasMap_ = void 0, this.keysAtom_ = void 0, this.interceptors_ = void 0, this.changeListeners_ = void 0, this.dehancer = void 0, this.enhancer_ = n, this.name_ = i, D(Map) || p(18), me(function() {
2041
2041
  s.keysAtom_ = nr(process.env.NODE_ENV !== "production" ? s.name_ + ".keys()" : "ObservableMap.keys()"), s.data_ = /* @__PURE__ */ new Map(), s.hasMap_ = /* @__PURE__ */ new Map(), r && s.merge(r);
2042
2042
  });
2043
2043
  }
@@ -2058,8 +2058,8 @@ var Bs = {}, ve = "add", Ot = "delete", Br = /* @__PURE__ */ (function() {
2058
2058
  return s.get();
2059
2059
  }, t.set = function(n, i) {
2060
2060
  var s = this.has_(n);
2061
- if (F(this)) {
2062
- var o = K(this, {
2061
+ if ($(this)) {
2062
+ var o = F(this, {
2063
2063
  type: s ? Y : ve,
2064
2064
  object: this,
2065
2065
  newValue: i,
@@ -2072,8 +2072,8 @@ var Bs = {}, ve = "add", Ot = "delete", Br = /* @__PURE__ */ (function() {
2072
2072
  return s ? this.updateValue_(n, i) : this.addValue_(n, i), this;
2073
2073
  }, t.delete = function(n) {
2074
2074
  var i = this;
2075
- if (ie(this.keysAtom_), F(this)) {
2076
- var s = K(this, {
2075
+ if (ie(this.keysAtom_), $(this)) {
2076
+ var s = F(this, {
2077
2077
  type: Ot,
2078
2078
  object: this,
2079
2079
  name: n
@@ -2095,7 +2095,7 @@ var Bs = {}, ve = "add", Ot = "delete", Br = /* @__PURE__ */ (function() {
2095
2095
  i.keysAtom_.reportChanged(), (l = i.hasMap_.get(n)) == null || l.setNewValue_(!1);
2096
2096
  var d = i.data_.get(n);
2097
2097
  d.setNewValue_(void 0), i.data_.delete(n);
2098
- }), a && Q(this, u), process.env.NODE_ENV !== "production" && o && k(), !0;
2098
+ }), a && Q(this, u), process.env.NODE_ENV !== "production" && o && I(), !0;
2099
2099
  }
2100
2100
  return !1;
2101
2101
  }, t.updateValue_ = function(n, i) {
@@ -2110,7 +2110,7 @@ var Bs = {}, ve = "add", Ot = "delete", Br = /* @__PURE__ */ (function() {
2110
2110
  name: n,
2111
2111
  newValue: i
2112
2112
  } : null;
2113
- process.env.NODE_ENV !== "production" && o && M(u), s.setNewValue_(i), a && Q(this, u), process.env.NODE_ENV !== "production" && o && k();
2113
+ process.env.NODE_ENV !== "production" && o && M(u), s.setNewValue_(i), a && Q(this, u), process.env.NODE_ENV !== "production" && o && I();
2114
2114
  }
2115
2115
  }, t.addValue_ = function(n, i) {
2116
2116
  var s = this;
@@ -2126,7 +2126,7 @@ var Bs = {}, ve = "add", Ot = "delete", Br = /* @__PURE__ */ (function() {
2126
2126
  name: n,
2127
2127
  newValue: i
2128
2128
  } : null;
2129
- process.env.NODE_ENV !== "production" && o && M(u), a && Q(this, u), process.env.NODE_ENV !== "production" && o && k();
2129
+ process.env.NODE_ENV !== "production" && o && M(u), a && Q(this, u), process.env.NODE_ENV !== "production" && o && I();
2130
2130
  }, t.get = function(n) {
2131
2131
  return this.has(n) ? this.dehanceValue_(this.data_.get(n).get()) : this.dehanceValue_(void 0);
2132
2132
  }, t.dehanceValue_ = function(n) {
@@ -2158,7 +2158,7 @@ var Bs = {}, ve = "add", Ot = "delete", Br = /* @__PURE__ */ (function() {
2158
2158
  }, t[Symbol.iterator] = function() {
2159
2159
  return this.entries();
2160
2160
  }, t.forEach = function(n, i) {
2161
- for (var s = xe(this), o; !(o = s()).done; ) {
2161
+ for (var s = Re(this), o; !(o = s()).done; ) {
2162
2162
  var a = o.value, u = a[0], l = a[1];
2163
2163
  n.call(i, l, u, this);
2164
2164
  }
@@ -2170,7 +2170,7 @@ var Bs = {}, ve = "add", Ot = "delete", Br = /* @__PURE__ */ (function() {
2170
2170
  }) : Array.isArray(n) ? n.forEach(function(s) {
2171
2171
  var o = s[0], a = s[1];
2172
2172
  return i.set(o, a);
2173
- }) : Me(n) ? (Zr(n) || p(19, n), n.forEach(function(s, o) {
2173
+ }) : Ie(n) ? (Zr(n) || p(19, n), n.forEach(function(s, o) {
2174
2174
  return i.set(o, s);
2175
2175
  })) : n != null && p(20, n);
2176
2176
  }), this;
@@ -2178,7 +2178,7 @@ var Bs = {}, ve = "add", Ot = "delete", Br = /* @__PURE__ */ (function() {
2178
2178
  var n = this;
2179
2179
  ce(function() {
2180
2180
  dr(function() {
2181
- for (var i = xe(n.keys()), s; !(s = i()).done; ) {
2181
+ for (var i = Re(n.keys()), s; !(s = i()).done; ) {
2182
2182
  var o = s.value;
2183
2183
  n.delete(o);
2184
2184
  }
@@ -2187,7 +2187,7 @@ var Bs = {}, ve = "add", Ot = "delete", Br = /* @__PURE__ */ (function() {
2187
2187
  }, t.replace = function(n) {
2188
2188
  var i = this;
2189
2189
  return ce(function() {
2190
- for (var s = xs(n), o = /* @__PURE__ */ new Map(), a = !1, u = xe(i.data_.keys()), l; !(l = u()).done; ) {
2190
+ for (var s = xs(n), o = /* @__PURE__ */ new Map(), a = !1, u = Re(i.data_.keys()), l; !(l = u()).done; ) {
2191
2191
  var d = l.value;
2192
2192
  if (!s.has(d)) {
2193
2193
  var v = i.delete(d);
@@ -2199,23 +2199,23 @@ var Bs = {}, ve = "add", Ot = "delete", Br = /* @__PURE__ */ (function() {
2199
2199
  }
2200
2200
  }
2201
2201
  }
2202
- for (var _ = xe(s.entries()), m; !(m = _()).done; ) {
2203
- var y = m.value, O = y[0], A = y[1], L = i.data_.has(O);
2204
- if (i.set(O, A), i.data_.has(O)) {
2205
- var D = i.data_.get(O);
2206
- o.set(O, D), L || (a = !0);
2202
+ for (var b = Re(s.entries()), m; !(m = b()).done; ) {
2203
+ var y = m.value, N = y[0], O = y[1], V = i.data_.has(N);
2204
+ if (i.set(N, O), i.data_.has(N)) {
2205
+ var Z = i.data_.get(N);
2206
+ o.set(N, Z), V || (a = !0);
2207
2207
  }
2208
2208
  }
2209
2209
  if (!a)
2210
2210
  if (i.data_.size !== o.size)
2211
2211
  i.keysAtom_.reportChanged();
2212
2212
  else
2213
- for (var w = i.data_.keys(), x = o.keys(), $ = w.next(), $e = x.next(); !$.done; ) {
2214
- if ($.value !== $e.value) {
2213
+ for (var A = i.data_.keys(), L = o.keys(), x = A.next(), Fe = L.next(); !x.done; ) {
2214
+ if (x.value !== Fe.value) {
2215
2215
  i.keysAtom_.reportChanged();
2216
2216
  break;
2217
2217
  }
2218
- $ = w.next(), $e = x.next();
2218
+ x = A.next(), Fe = L.next();
2219
2219
  }
2220
2220
  i.data_ = o;
2221
2221
  }), this;
@@ -2243,7 +2243,7 @@ function Nn(e) {
2243
2243
  return e[Symbol.toStringTag] = "MapIterator", hn(e);
2244
2244
  }
2245
2245
  function xs(e) {
2246
- if (Me(e) || be(e))
2246
+ if (Ie(e) || be(e))
2247
2247
  return e;
2248
2248
  if (Array.isArray(e))
2249
2249
  return new Map(e);
@@ -2258,7 +2258,7 @@ function xs(e) {
2258
2258
  var Rs = {}, xr = /* @__PURE__ */ (function() {
2259
2259
  function e(r, n, i) {
2260
2260
  var s = this;
2261
- n === void 0 && (n = Ae), i === void 0 && (i = process.env.NODE_ENV !== "production" ? "ObservableSet@" + ee() : "ObservableSet"), this.name_ = void 0, this[b] = Rs, this.data_ = /* @__PURE__ */ new Set(), this.atom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.dehancer = void 0, this.enhancer_ = void 0, this.name_ = i, V(Set) || p(22), this.enhancer_ = function(o, a) {
2261
+ n === void 0 && (n = Ae), i === void 0 && (i = process.env.NODE_ENV !== "production" ? "ObservableSet@" + ee() : "ObservableSet"), this.name_ = void 0, this[_] = Rs, this.data_ = /* @__PURE__ */ new Set(), this.atom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.dehancer = void 0, this.enhancer_ = void 0, this.name_ = i, D(Set) || p(22), this.enhancer_ = function(o, a) {
2262
2262
  return n(o, a, i);
2263
2263
  }, me(function() {
2264
2264
  s.atom_ = nr(s.name_), r && s.replace(r);
@@ -2271,21 +2271,21 @@ var Rs = {}, xr = /* @__PURE__ */ (function() {
2271
2271
  var n = this;
2272
2272
  ce(function() {
2273
2273
  dr(function() {
2274
- for (var i = xe(n.data_.values()), s; !(s = i()).done; ) {
2274
+ for (var i = Re(n.data_.values()), s; !(s = i()).done; ) {
2275
2275
  var o = s.value;
2276
2276
  n.delete(o);
2277
2277
  }
2278
2278
  });
2279
2279
  });
2280
2280
  }, t.forEach = function(n, i) {
2281
- for (var s = xe(this), o; !(o = s()).done; ) {
2281
+ for (var s = Re(this), o; !(o = s()).done; ) {
2282
2282
  var a = o.value;
2283
2283
  n.call(i, a, a, this);
2284
2284
  }
2285
2285
  }, t.add = function(n) {
2286
2286
  var i = this;
2287
- if (ie(this.atom_), F(this)) {
2288
- var s = K(this, {
2287
+ if (ie(this.atom_), $(this)) {
2288
+ var s = F(this, {
2289
2289
  type: ve,
2290
2290
  object: this,
2291
2291
  newValue: n
@@ -2305,13 +2305,13 @@ var Rs = {}, xr = /* @__PURE__ */ (function() {
2305
2305
  object: this,
2306
2306
  newValue: n
2307
2307
  } : null;
2308
- o && process.env.NODE_ENV !== "production" && M(u), a && Q(this, u), o && process.env.NODE_ENV !== "production" && k();
2308
+ o && process.env.NODE_ENV !== "production" && M(u), a && Q(this, u), o && process.env.NODE_ENV !== "production" && I();
2309
2309
  }
2310
2310
  return this;
2311
2311
  }, t.delete = function(n) {
2312
2312
  var i = this;
2313
- if (F(this)) {
2314
- var s = K(this, {
2313
+ if ($(this)) {
2314
+ var s = F(this, {
2315
2315
  type: Ot,
2316
2316
  object: this,
2317
2317
  oldValue: n
@@ -2329,7 +2329,7 @@ var Rs = {}, xr = /* @__PURE__ */ (function() {
2329
2329
  } : null;
2330
2330
  return o && process.env.NODE_ENV !== "production" && M(u), ce(function() {
2331
2331
  i.atom_.reportChanged(), i.data_.delete(n);
2332
- }), a && Q(this, u), o && process.env.NODE_ENV !== "production" && k(), !0;
2332
+ }), a && Q(this, u), o && process.env.NODE_ENV !== "production" && I(), !0;
2333
2333
  }
2334
2334
  return !1;
2335
2335
  }, t.has = function(n) {
@@ -2427,17 +2427,17 @@ function An(e) {
2427
2427
  }
2428
2428
  var Sn = /* @__PURE__ */ Object.create(null), wn = "remove", tn = /* @__PURE__ */ (function() {
2429
2429
  function e(r, n, i, s) {
2430
- n === void 0 && (n = /* @__PURE__ */ new Map()), s === void 0 && (s = wi), this.target_ = void 0, this.values_ = void 0, this.name_ = void 0, this.defaultAnnotation_ = void 0, this.keysAtom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.proxy_ = void 0, this.isPlainObject_ = void 0, this.appliedAnnotations_ = void 0, this.pendingKeys_ = void 0, this.target_ = r, this.values_ = n, this.name_ = i, this.defaultAnnotation_ = s, this.keysAtom_ = new _e(process.env.NODE_ENV !== "production" ? this.name_ + ".keys" : "ObservableObject.keys"), this.isPlainObject_ = j(this.target_), process.env.NODE_ENV !== "production" && !kr(this.defaultAnnotation_) && p("defaultAnnotation must be valid annotation"), process.env.NODE_ENV !== "production" && (this.appliedAnnotations_ = {});
2430
+ n === void 0 && (n = /* @__PURE__ */ new Map()), s === void 0 && (s = wi), this.target_ = void 0, this.values_ = void 0, this.name_ = void 0, this.defaultAnnotation_ = void 0, this.keysAtom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.proxy_ = void 0, this.isPlainObject_ = void 0, this.appliedAnnotations_ = void 0, this.pendingKeys_ = void 0, this.target_ = r, this.values_ = n, this.name_ = i, this.defaultAnnotation_ = s, this.keysAtom_ = new _e(process.env.NODE_ENV !== "production" ? this.name_ + ".keys" : "ObservableObject.keys"), this.isPlainObject_ = j(this.target_), process.env.NODE_ENV !== "production" && !Ir(this.defaultAnnotation_) && p("defaultAnnotation must be valid annotation"), process.env.NODE_ENV !== "production" && (this.appliedAnnotations_ = {});
2431
2431
  }
2432
2432
  var t = e.prototype;
2433
2433
  return t.getObservablePropValue_ = function(n) {
2434
2434
  return this.values_.get(n).get();
2435
2435
  }, t.setObservablePropValue_ = function(n, i) {
2436
2436
  var s = this.values_.get(n);
2437
- if (s instanceof Z)
2437
+ if (s instanceof W)
2438
2438
  return s.set(i), !0;
2439
- if (F(this)) {
2440
- var o = K(this, {
2439
+ if ($(this)) {
2440
+ var o = F(this, {
2441
2441
  type: Y,
2442
2442
  object: this.proxy_ || this.target_,
2443
2443
  name: n,
@@ -2457,13 +2457,13 @@ var Sn = /* @__PURE__ */ Object.create(null), wn = "remove", tn = /* @__PURE__ *
2457
2457
  name: n,
2458
2458
  newValue: i
2459
2459
  } : null;
2460
- process.env.NODE_ENV !== "production" && u && M(l), s.setNewValue_(i), a && Q(this, l), process.env.NODE_ENV !== "production" && u && k();
2460
+ process.env.NODE_ENV !== "production" && u && M(l), s.setNewValue_(i), a && Q(this, l), process.env.NODE_ENV !== "production" && u && I();
2461
2461
  }
2462
2462
  return !0;
2463
2463
  }, t.get_ = function(n) {
2464
- return f.trackingDerivation && !z(this.target_, n) && this.has_(n), this.target_[n];
2464
+ return f.trackingDerivation && !G(this.target_, n) && this.has_(n), this.target_[n];
2465
2465
  }, t.set_ = function(n, i, s) {
2466
- return s === void 0 && (s = !1), z(this.target_, n) ? this.values_.has(n) ? this.setObservablePropValue_(n, i) : s ? Reflect.set(this.target_, n, i) : (this.target_[n] = i, !0) : this.extend_(n, {
2466
+ return s === void 0 && (s = !1), G(this.target_, n) ? this.values_.has(n) ? this.setObservablePropValue_(n, i) : s ? Reflect.set(this.target_, n, i) : (this.target_[n] = i, !0) : this.extend_(n, {
2467
2467
  value: i,
2468
2468
  enumerable: !0,
2469
2469
  writable: !0,
@@ -2505,12 +2505,12 @@ var Sn = /* @__PURE__ */ Object.create(null), wn = "remove", tn = /* @__PURE__ *
2505
2505
  }, t.defineProperty_ = function(n, i, s) {
2506
2506
  s === void 0 && (s = !1), ie(this.keysAtom_);
2507
2507
  try {
2508
- q();
2508
+ K();
2509
2509
  var o = this.delete_(n);
2510
2510
  if (!o)
2511
2511
  return o;
2512
- if (F(this)) {
2513
- var a = K(this, {
2512
+ if ($(this)) {
2513
+ var a = F(this, {
2514
2514
  object: this.proxy_ || this.target_,
2515
2515
  name: n,
2516
2516
  type: ve,
@@ -2530,18 +2530,18 @@ var Sn = /* @__PURE__ */ Object.create(null), wn = "remove", tn = /* @__PURE__ *
2530
2530
  se(this.target_, n, i);
2531
2531
  this.notifyPropertyAddition_(n, i.value);
2532
2532
  } finally {
2533
- H();
2533
+ q();
2534
2534
  }
2535
2535
  return !0;
2536
2536
  }, t.defineObservableProperty_ = function(n, i, s, o) {
2537
2537
  o === void 0 && (o = !1), ie(this.keysAtom_);
2538
2538
  try {
2539
- q();
2539
+ K();
2540
2540
  var a = this.delete_(n);
2541
2541
  if (!a)
2542
2542
  return a;
2543
- if (F(this)) {
2544
- var u = K(this, {
2543
+ if ($(this)) {
2544
+ var u = F(this, {
2545
2545
  object: this.proxy_ || this.target_,
2546
2546
  name: n,
2547
2547
  type: ve,
@@ -2565,18 +2565,18 @@ var Sn = /* @__PURE__ */ Object.create(null), wn = "remove", tn = /* @__PURE__ *
2565
2565
  var v = new Oe(i, s, process.env.NODE_ENV !== "production" ? this.name_ + "." + n.toString() : "ObservableObject.key", !1);
2566
2566
  this.values_.set(n, v), this.notifyPropertyAddition_(n, v.value_);
2567
2567
  } finally {
2568
- H();
2568
+ q();
2569
2569
  }
2570
2570
  return !0;
2571
2571
  }, t.defineComputedProperty_ = function(n, i, s) {
2572
2572
  s === void 0 && (s = !1), ie(this.keysAtom_);
2573
2573
  try {
2574
- q();
2574
+ K();
2575
2575
  var o = this.delete_(n);
2576
2576
  if (!o)
2577
2577
  return o;
2578
- if (F(this)) {
2579
- var a = K(this, {
2578
+ if ($(this)) {
2579
+ var a = F(this, {
2580
2580
  object: this.proxy_ || this.target_,
2581
2581
  name: n,
2582
2582
  type: ve,
@@ -2597,16 +2597,16 @@ var Sn = /* @__PURE__ */ Object.create(null), wn = "remove", tn = /* @__PURE__ *
2597
2597
  return !1;
2598
2598
  } else
2599
2599
  se(this.target_, n, l);
2600
- this.values_.set(n, new Z(i)), this.notifyPropertyAddition_(n, void 0);
2600
+ this.values_.set(n, new W(i)), this.notifyPropertyAddition_(n, void 0);
2601
2601
  } finally {
2602
- H();
2602
+ q();
2603
2603
  }
2604
2604
  return !0;
2605
2605
  }, t.delete_ = function(n, i) {
2606
- if (i === void 0 && (i = !1), ie(this.keysAtom_), !z(this.target_, n))
2606
+ if (i === void 0 && (i = !1), ie(this.keysAtom_), !G(this.target_, n))
2607
2607
  return !0;
2608
- if (F(this)) {
2609
- var s = K(this, {
2608
+ if ($(this)) {
2609
+ var s = F(this, {
2610
2610
  object: this.proxy_ || this.target_,
2611
2611
  name: n,
2612
2612
  type: wn
@@ -2616,7 +2616,7 @@ var Sn = /* @__PURE__ */ Object.create(null), wn = "remove", tn = /* @__PURE__ *
2616
2616
  }
2617
2617
  try {
2618
2618
  var o;
2619
- q();
2619
+ K();
2620
2620
  var a = J(this), u = process.env.NODE_ENV !== "production" && B(), l = this.values_.get(n), d = void 0;
2621
2621
  if (!l && (a || u)) {
2622
2622
  var v;
@@ -2636,10 +2636,10 @@ var Sn = /* @__PURE__ */ Object.create(null), wn = "remove", tn = /* @__PURE__ *
2636
2636
  oldValue: d,
2637
2637
  name: n
2638
2638
  };
2639
- process.env.NODE_ENV !== "production" && u && M(h), a && Q(this, h), process.env.NODE_ENV !== "production" && u && k();
2639
+ process.env.NODE_ENV !== "production" && u && M(h), a && Q(this, h), process.env.NODE_ENV !== "production" && u && I();
2640
2640
  }
2641
2641
  } finally {
2642
- H();
2642
+ q();
2643
2643
  }
2644
2644
  return !0;
2645
2645
  }, t.observe_ = function(n, i) {
@@ -2657,45 +2657,45 @@ var Sn = /* @__PURE__ */ Object.create(null), wn = "remove", tn = /* @__PURE__ *
2657
2657
  name: n,
2658
2658
  newValue: i
2659
2659
  } : null;
2660
- process.env.NODE_ENV !== "production" && a && M(u), o && Q(this, u), process.env.NODE_ENV !== "production" && a && k();
2660
+ process.env.NODE_ENV !== "production" && a && M(u), o && Q(this, u), process.env.NODE_ENV !== "production" && a && I();
2661
2661
  }
2662
2662
  (s = this.pendingKeys_) == null || (s = s.get(n)) == null || s.set(!0), this.keysAtom_.reportChanged();
2663
2663
  }, t.ownKeys_ = function() {
2664
- return this.keysAtom_.reportObserved(), Re(this.target_);
2664
+ return this.keysAtom_.reportObserved(), Pe(this.target_);
2665
2665
  }, t.keys_ = function() {
2666
2666
  return this.keysAtom_.reportObserved(), Object.keys(this.target_);
2667
2667
  }, e;
2668
2668
  })();
2669
2669
  function Ve(e, t) {
2670
2670
  var r;
2671
- if (process.env.NODE_ENV !== "production" && t && Ue(e) && p("Options can't be provided for already observable objects."), z(e, b))
2671
+ if (process.env.NODE_ENV !== "production" && t && $e(e) && p("Options can't be provided for already observable objects."), G(e, _))
2672
2672
  return process.env.NODE_ENV !== "production" && !(jr(e) instanceof tn) && p("Cannot convert '" + Et(e) + `' into observable object:
2673
2673
  The target is already observable of different type.
2674
2674
  Extending builtins is not supported.`), e;
2675
2675
  process.env.NODE_ENV !== "production" && !Object.isExtensible(e) && p("Cannot make the designated object observable; it is not extensible");
2676
2676
  var n = (r = t?.name) != null ? r : process.env.NODE_ENV !== "production" ? (j(e) ? "ObservableObject" : e.constructor.name) + "@" + ee() : "ObservableObject", i = new tn(e, /* @__PURE__ */ new Map(), String(n), Mi(t));
2677
- return Ye(e, b, i), e;
2677
+ return Ye(e, _, i), e;
2678
2678
  }
2679
2679
  var Ps = /* @__PURE__ */ Ce("ObservableObjectAdministration", tn);
2680
2680
  function Cn(e) {
2681
2681
  return Sn[e] || (Sn[e] = {
2682
2682
  get: function() {
2683
- return this[b].getObservablePropValue_(e);
2683
+ return this[_].getObservablePropValue_(e);
2684
2684
  },
2685
2685
  set: function(r) {
2686
- return this[b].setObservablePropValue_(e, r);
2686
+ return this[_].setObservablePropValue_(e, r);
2687
2687
  }
2688
2688
  });
2689
2689
  }
2690
- function Ue(e) {
2691
- return wt(e) ? Ps(e[b]) : !1;
2690
+ function $e(e) {
2691
+ return wt(e) ? Ps(e[_]) : !1;
2692
2692
  }
2693
2693
  function Dn(e, t, r) {
2694
2694
  var n;
2695
2695
  process.env.NODE_ENV !== "production" && (e.appliedAnnotations_[r] = t), (n = e.target_[R]) == null || delete n[r];
2696
2696
  }
2697
2697
  function Vn(e, t, r) {
2698
- if (process.env.NODE_ENV !== "production" && !kr(t) && p("Cannot annotate '" + e.name_ + "." + r.toString() + "': Invalid annotation."), process.env.NODE_ENV !== "production" && !_t(t) && z(e.appliedAnnotations_, r)) {
2698
+ if (process.env.NODE_ENV !== "production" && !Ir(t) && p("Cannot annotate '" + e.name_ + "." + r.toString() + "': Invalid annotation."), process.env.NODE_ENV !== "production" && !_t(t) && G(e.appliedAnnotations_, r)) {
2699
2699
  var n = e.name_ + "." + r.toString(), i = e.appliedAnnotations_[r].annotationType_, s = t.annotationType_;
2700
2700
  p("Cannot apply '" + s + "' to '" + n + "':" + (`
2701
2701
  The field is already annotated with '` + i + "'.") + `
@@ -2721,13 +2721,13 @@ var vn = /* @__PURE__ */ (function(e) {
2721
2721
  var a;
2722
2722
  return s === void 0 && (s = process.env.NODE_ENV !== "production" ? "ObservableArray@" + ee() : "ObservableArray"), o === void 0 && (o = !1), a = e.call(this) || this, me(function() {
2723
2723
  var u = new pn(s, i, o, !0);
2724
- u.proxy_ = a, Jn(a, b, u), n && n.length && a.spliceWithArray(0, 0, n), js && Object.defineProperty(a, "0", Ts);
2724
+ u.proxy_ = a, Jn(a, _, u), n && n.length && a.spliceWithArray(0, 0, n), js && Object.defineProperty(a, "0", Ts);
2725
2725
  }), a;
2726
2726
  }
2727
2727
  tr(t, e);
2728
2728
  var r = t.prototype;
2729
2729
  return r.concat = function() {
2730
- this[b].atom_.reportObserved();
2730
+ this[_].atom_.reportObserved();
2731
2731
  for (var i = arguments.length, s = new Array(i), o = 0; o < i; o++)
2732
2732
  s[o] = arguments[o];
2733
2733
  return Array.prototype.concat.apply(
@@ -2753,10 +2753,10 @@ var vn = /* @__PURE__ */ (function(e) {
2753
2753
  }, ke(t, [{
2754
2754
  key: "length",
2755
2755
  get: function() {
2756
- return this[b].getArrayLength_();
2756
+ return this[_].getArrayLength_();
2757
2757
  },
2758
2758
  set: function(i) {
2759
- this[b].setArrayLength_(i);
2759
+ this[_].setArrayLength_(i);
2760
2760
  }
2761
2761
  }, {
2762
2762
  key: Symbol.toStringTag,
@@ -2774,31 +2774,31 @@ function Pr(e) {
2774
2774
  enumerable: !1,
2775
2775
  configurable: !0,
2776
2776
  get: function() {
2777
- return this[b].get_(e);
2777
+ return this[_].get_(e);
2778
2778
  },
2779
2779
  set: function(r) {
2780
- this[b].set_(e, r);
2780
+ this[_].set_(e, r);
2781
2781
  }
2782
2782
  };
2783
2783
  }
2784
- function ks(e) {
2784
+ function Is(e) {
2785
2785
  se(vn.prototype, "" + e, Pr(e));
2786
2786
  }
2787
2787
  function Tr(e) {
2788
2788
  if (e > Tt) {
2789
2789
  for (var t = Tt; t < e + 100; t++)
2790
- ks(t);
2790
+ Is(t);
2791
2791
  Tt = e;
2792
2792
  }
2793
2793
  }
2794
2794
  Tr(1e3);
2795
- function Is(e, t, r) {
2795
+ function ks(e, t, r) {
2796
2796
  return new vn(e, t, r);
2797
2797
  }
2798
- function je(e, t) {
2798
+ function Me(e, t) {
2799
2799
  if (typeof e == "object" && e !== null) {
2800
2800
  if (Bt(e))
2801
- return t !== void 0 && p(23), e[b].atom_;
2801
+ return t !== void 0 && p(23), e[_].atom_;
2802
2802
  if (re(e))
2803
2803
  return e.atom_;
2804
2804
  if (be(e)) {
@@ -2807,43 +2807,43 @@ function je(e, t) {
2807
2807
  var r = e.data_.get(t) || e.hasMap_.get(t);
2808
2808
  return r || p(25, t, Et(e)), r;
2809
2809
  }
2810
- if (Ue(e)) {
2810
+ if ($e(e)) {
2811
2811
  if (!t)
2812
2812
  return p(26);
2813
- var n = e[b].values_.get(t);
2813
+ var n = e[_].values_.get(t);
2814
2814
  return n || p(27, t, Et(e)), n;
2815
2815
  }
2816
2816
  if (on(e) || Lt(e) || gt(e))
2817
2817
  return e;
2818
- } else if (V(e) && gt(e[b]))
2819
- return e[b];
2818
+ } else if (D(e) && gt(e[_]))
2819
+ return e[_];
2820
2820
  p(28);
2821
2821
  }
2822
2822
  function jr(e, t) {
2823
2823
  if (e || p(29), on(e) || Lt(e) || gt(e) || be(e) || re(e))
2824
2824
  return e;
2825
- if (e[b])
2826
- return e[b];
2825
+ if (e[_])
2826
+ return e[_];
2827
2827
  p(24, e);
2828
2828
  }
2829
2829
  function Et(e, t) {
2830
2830
  var r;
2831
2831
  if (t !== void 0)
2832
- r = je(e, t);
2832
+ r = Me(e, t);
2833
2833
  else {
2834
- if (Pe(e))
2834
+ if (Te(e))
2835
2835
  return e.name;
2836
- Ue(e) || be(e) || re(e) ? r = jr(e) : r = je(e);
2836
+ $e(e) || be(e) || re(e) ? r = jr(e) : r = Me(e);
2837
2837
  }
2838
2838
  return r.name_;
2839
2839
  }
2840
2840
  function me(e) {
2841
2841
  var t = De(), r = un(!0);
2842
- q();
2842
+ K();
2843
2843
  try {
2844
2844
  return e();
2845
2845
  } finally {
2846
- H(), cn(r), le(t);
2846
+ q(), cn(r), le(t);
2847
2847
  }
2848
2848
  }
2849
2849
  var Ln = St.toString;
@@ -2887,7 +2887,7 @@ function nn(e, t, r, n, i) {
2887
2887
  if (typeof e != "object" || typeof t != "object")
2888
2888
  return !1;
2889
2889
  var u = e.constructor, l = t.constructor;
2890
- if (u !== l && !(V(u) && u instanceof u && V(l) && l instanceof l) && "constructor" in e && "constructor" in t)
2890
+ if (u !== l && !(D(u) && u instanceof u && D(l) && l instanceof l) && "constructor" in e && "constructor" in t)
2891
2891
  return !1;
2892
2892
  }
2893
2893
  if (r === 0)
@@ -2906,16 +2906,16 @@ function nn(e, t, r, n, i) {
2906
2906
  var v = Object.keys(e), h = v.length;
2907
2907
  if (Object.keys(t).length !== h)
2908
2908
  return !1;
2909
- for (var _ = 0; _ < h; _++) {
2910
- var m = v[_];
2911
- if (!(z(t, m) && nn(e[m], t[m], r - 1, n, i)))
2909
+ for (var b = 0; b < h; b++) {
2910
+ var m = v[b];
2911
+ if (!(G(t, m) && nn(e[m], t[m], r - 1, n, i)))
2912
2912
  return !1;
2913
2913
  }
2914
2914
  }
2915
2915
  return n.pop(), i.pop(), !0;
2916
2916
  }
2917
2917
  function Bn(e) {
2918
- return Bt(e) ? e.slice() : Me(e) || be(e) || ue(e) || re(e) ? Array.from(e.entries()) : e;
2918
+ return Bt(e) ? e.slice() : Ie(e) || be(e) || ue(e) || re(e) ? Array.from(e.entries()) : e;
2919
2919
  }
2920
2920
  var xn, Us = ((xn = At().Iterator) == null ? void 0 : xn.prototype) || {};
2921
2921
  function hn(e) {
@@ -2924,10 +2924,10 @@ function hn(e) {
2924
2924
  function $s() {
2925
2925
  return this;
2926
2926
  }
2927
- function kr(e) {
2927
+ function Ir(e) {
2928
2928
  return (
2929
2929
  // Can be function
2930
- e instanceof Object && typeof e.annotationType_ == "string" && V(e.make_) && V(e.extend_)
2930
+ e instanceof Object && typeof e.annotationType_ == "string" && D(e.make_) && D(e.extend_)
2931
2931
  );
2932
2932
  }
2933
2933
  ["Symbol", "Map", "Set"].forEach(function(e) {
@@ -2939,7 +2939,7 @@ typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ == "object" && __MOBX_DEVTOOLS_GLOBAL_HOOK_
2939
2939
  extras: {
2940
2940
  getDebugName: Et
2941
2941
  },
2942
- $mobx: b
2942
+ $mobx: _
2943
2943
  });
2944
2944
  if (!pe)
2945
2945
  throw new Error("mobx-react-lite requires React with Hooks support");
@@ -3043,27 +3043,27 @@ function Zs() {
3043
3043
  }
3044
3044
  var r = typeof Object.is == "function" ? Object.is : t, n = e.useState, i = e.useEffect, s = e.useLayoutEffect, o = e.useDebugValue;
3045
3045
  function a(v, h) {
3046
- var _ = h(), m = n({ inst: { value: _, getSnapshot: h } }), y = m[0].inst, O = m[1];
3046
+ var b = h(), m = n({ inst: { value: b, getSnapshot: h } }), y = m[0].inst, N = m[1];
3047
3047
  return s(
3048
3048
  function() {
3049
- y.value = _, y.getSnapshot = h, u(y) && O({ inst: y });
3049
+ y.value = b, y.getSnapshot = h, u(y) && N({ inst: y });
3050
3050
  },
3051
- [v, _, h]
3051
+ [v, b, h]
3052
3052
  ), i(
3053
3053
  function() {
3054
- return u(y) && O({ inst: y }), v(function() {
3055
- u(y) && O({ inst: y });
3054
+ return u(y) && N({ inst: y }), v(function() {
3055
+ u(y) && N({ inst: y });
3056
3056
  });
3057
3057
  },
3058
3058
  [v]
3059
- ), o(_), _;
3059
+ ), o(b), b;
3060
3060
  }
3061
3061
  function u(v) {
3062
3062
  var h = v.getSnapshot;
3063
3063
  v = v.value;
3064
3064
  try {
3065
- var _ = h();
3066
- return !r(v, _);
3065
+ var b = h();
3066
+ return !r(v, b);
3067
3067
  } catch {
3068
3068
  return !0;
3069
3069
  }
@@ -3087,49 +3087,49 @@ var Mt = {};
3087
3087
  var Pn;
3088
3088
  function Xs() {
3089
3089
  return Pn || (Pn = 1, process.env.NODE_ENV !== "production" && (function() {
3090
- function e(_, m) {
3091
- return _ === m && (_ !== 0 || 1 / _ === 1 / m) || _ !== _ && m !== m;
3090
+ function e(b, m) {
3091
+ return b === m && (b !== 0 || 1 / b === 1 / m) || b !== b && m !== m;
3092
3092
  }
3093
- function t(_, m) {
3093
+ function t(b, m) {
3094
3094
  d || i.startTransition === void 0 || (d = !0, console.error(
3095
3095
  "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
3096
3096
  ));
3097
3097
  var y = m();
3098
3098
  if (!v) {
3099
- var O = m();
3100
- s(y, O) || (console.error(
3099
+ var N = m();
3100
+ s(y, N) || (console.error(
3101
3101
  "The result of getSnapshot should be cached to avoid an infinite loop"
3102
3102
  ), v = !0);
3103
3103
  }
3104
- O = o({
3104
+ N = o({
3105
3105
  inst: { value: y, getSnapshot: m }
3106
3106
  });
3107
- var A = O[0].inst, L = O[1];
3107
+ var O = N[0].inst, V = N[1];
3108
3108
  return u(
3109
3109
  function() {
3110
- A.value = y, A.getSnapshot = m, r(A) && L({ inst: A });
3110
+ O.value = y, O.getSnapshot = m, r(O) && V({ inst: O });
3111
3111
  },
3112
- [_, y, m]
3112
+ [b, y, m]
3113
3113
  ), a(
3114
3114
  function() {
3115
- return r(A) && L({ inst: A }), _(function() {
3116
- r(A) && L({ inst: A });
3115
+ return r(O) && V({ inst: O }), b(function() {
3116
+ r(O) && V({ inst: O });
3117
3117
  });
3118
3118
  },
3119
- [_]
3119
+ [b]
3120
3120
  ), l(y), y;
3121
3121
  }
3122
- function r(_) {
3123
- var m = _.getSnapshot;
3124
- _ = _.value;
3122
+ function r(b) {
3123
+ var m = b.getSnapshot;
3124
+ b = b.value;
3125
3125
  try {
3126
3126
  var y = m();
3127
- return !s(_, y);
3127
+ return !s(b, y);
3128
3128
  } catch {
3129
3129
  return !0;
3130
3130
  }
3131
3131
  }
3132
- function n(_, m) {
3132
+ function n(b, m) {
3133
3133
  return m();
3134
3134
  }
3135
3135
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
@@ -3187,18 +3187,18 @@ function Qs(e, t) {
3187
3187
  throw o;
3188
3188
  return s;
3189
3189
  }
3190
- var kt, It, eo = !0, Mn = !0, Ir = typeof Symbol == "function" && Symbol.for, to = (It = (kt = Object.getOwnPropertyDescriptor(function() {
3191
- }, "name")) === null || kt === void 0 ? void 0 : kt.configurable) !== null && It !== void 0 ? It : !1, kn = Ir ? Symbol.for("react.forward_ref") : typeof qt == "function" && qt(function(e) {
3190
+ var It, kt, eo = !0, Mn = !0, kr = typeof Symbol == "function" && Symbol.for, to = (kt = (It = Object.getOwnPropertyDescriptor(function() {
3191
+ }, "name")) === null || It === void 0 ? void 0 : It.configurable) !== null && kt !== void 0 ? kt : !1, In = kr ? Symbol.for("react.forward_ref") : typeof qt == "function" && qt(function(e) {
3192
3192
  return null;
3193
- }).$$typeof, In = Ir ? Symbol.for("react.memo") : typeof Ht == "function" && Ht(function(e) {
3193
+ }).$$typeof, kn = kr ? Symbol.for("react.memo") : typeof Ht == "function" && Ht(function(e) {
3194
3194
  return null;
3195
3195
  }).$$typeof;
3196
3196
  function U(e, t) {
3197
3197
  var r;
3198
- if (process.env.NODE_ENV, In && e.$$typeof === In)
3198
+ if (process.env.NODE_ENV, kn && e.$$typeof === kn)
3199
3199
  throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");
3200
3200
  var n = (r = void 0) !== null && r !== void 0 ? r : !1, i = e, s = e.displayName || e.name;
3201
- if (kn && e.$$typeof === kn && (n = !0, i = e.render, typeof i != "function"))
3201
+ if (In && e.$$typeof === In && (n = !0, i = e.render, typeof i != "function"))
3202
3202
  throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");
3203
3203
  var o = function(a, u) {
3204
3204
  return Qs(function() {
@@ -3238,7 +3238,7 @@ const io = ({ onClick: e, disabled: t = !1, imagePath: r }) => g("div", { classN
3238
3238
  class oo {
3239
3239
  activePopup = null;
3240
3240
  constructor() {
3241
- Ie(this);
3241
+ Ue(this);
3242
3242
  }
3243
3243
  open(t) {
3244
3244
  this.activePopup = t;
@@ -3250,7 +3250,7 @@ class oo {
3250
3250
  return this.activePopup !== null;
3251
3251
  }
3252
3252
  }
3253
- const G = new oo(), X = {
3253
+ const H = new oo(), X = {
3254
3254
  bet: "bet",
3255
3255
  autoplay: "autoplay",
3256
3256
  settings: "settings",
@@ -3296,7 +3296,7 @@ class co {
3296
3296
  dialogs = uo;
3297
3297
  activeDialog = null;
3298
3298
  constructor() {
3299
- Ie(this);
3299
+ Ue(this);
3300
3300
  }
3301
3301
  add(t) {
3302
3302
  this.dialogs.push(t);
@@ -3340,7 +3340,7 @@ class lo {
3340
3340
  minBetAmount = this.betAmountRange[this.betAmountRange.length - 1];
3341
3341
  displayCurrency = "FUN";
3342
3342
  constructor() {
3343
- Ie(this);
3343
+ Ue(this);
3344
3344
  }
3345
3345
  setBet(t) {
3346
3346
  this.betAmount = t;
@@ -3381,12 +3381,16 @@ class fo {
3381
3381
  // X bet
3382
3382
  winLimit = null;
3383
3383
  // X bet
3384
+ isStarted = !1;
3384
3385
  constructor() {
3385
- Ie(this);
3386
+ Ue(this);
3386
3387
  }
3387
3388
  setCount(t) {
3388
3389
  this.count = t;
3389
3390
  }
3391
+ setIsStarted(t) {
3392
+ this.isStarted = t;
3393
+ }
3390
3394
  setLimitsRange(t) {
3391
3395
  this.limitsRange = t;
3392
3396
  }
@@ -3405,7 +3409,7 @@ class fo {
3405
3409
  start() {
3406
3410
  }
3407
3411
  }
3408
- const Ke = new fo();
3412
+ const Be = new fo();
3409
3413
  class po {
3410
3414
  anteBets = [
3411
3415
  {
@@ -3432,12 +3436,12 @@ class po {
3432
3436
  handlerSet = !1;
3433
3437
  constructor() {
3434
3438
  dn(this, {
3435
- anteBets: N,
3436
- inReelFeatures: N,
3437
- bonusFeatures: N,
3438
- activeAnteBet: N,
3439
- activeBonusFeature: N,
3440
- activeInReelFeature: N,
3439
+ anteBets: S,
3440
+ inReelFeatures: S,
3441
+ bonusFeatures: S,
3442
+ activeAnteBet: S,
3443
+ activeBonusFeature: S,
3444
+ activeInReelFeature: S,
3441
3445
  isActiveBonus: ye,
3442
3446
  isActiveInReelFeature: ye,
3443
3447
  isActiveAnteBet: ye,
@@ -3499,7 +3503,7 @@ class vo {
3499
3503
  musicOn = !0;
3500
3504
  soundsOn = !0;
3501
3505
  constructor() {
3502
- Ie(this);
3506
+ Ue(this);
3503
3507
  }
3504
3508
  setMusicOn(t) {
3505
3509
  this.musicOn = t, localStorage.setItem(at.MUSIC_ON, t.toString());
@@ -3630,7 +3634,7 @@ class ho {
3630
3634
  }
3631
3635
  ];
3632
3636
  constructor() {
3633
- Ie(this);
3637
+ Ue(this);
3634
3638
  }
3635
3639
  setData(t) {
3636
3640
  this.data = t;
@@ -3649,13 +3653,13 @@ class bo {
3649
3653
  handlerSet = !1;
3650
3654
  constructor() {
3651
3655
  dn(this, {
3652
- isRunning: N,
3653
- isDisabled: N,
3654
- isSlamStop: N,
3655
- isUIVisible: N,
3656
- isAutoPlayDisabled: N,
3657
- isBuyBonusDisabled: N,
3658
- isBetAmountLabelsDisabled: N,
3656
+ isRunning: S,
3657
+ isDisabled: S,
3658
+ isSlamStop: S,
3659
+ isUIVisible: S,
3660
+ isAutoPlayDisabled: S,
3661
+ isBuyBonusDisabled: S,
3662
+ isBetAmountLabelsDisabled: S,
3659
3663
  setIsSpinRunning: C,
3660
3664
  setIsSpinDisabled: C,
3661
3665
  setIsSlamStop: C,
@@ -3706,10 +3710,10 @@ const Nt = new bo(), mo = U(() => {
3706
3710
  ${t ? "slam-stop" : ""}
3707
3711
  `, onClick: r.bind(Nt) });
3708
3712
  }), Kn = ({ onClick: e, disabled: t = !1, className: r, isActive: n }) => c("button", { className: `${r} ${t ? "disabled" : ""} ${n ? "active" : ""}`, onClick: e }), go = U(() => {
3709
- const { lastWin: e, balance: t, betAmount: r, displayCurrency: n, setNextBetAmount: i, setPrevBetAmount: s } = ae, { setIsTurbo: o, isTurbo: a } = ne, { open: u } = G, { activeAnteBet: l, activeBonusFeature: d, activeInReelFeature: v, setActiveAnteBet: h } = Ee, { isUIVisible: _, isAutoPlayDisabled: m, isBuyBonusDisabled: y, isBetAmountLabelsDisabled: O } = Nt, A = dt(() => l?.imagePath || v?.imagePath || d?.imagePath, [l, d, v]), L = zn(() => {
3710
- l ? h.call(Ee, null) : u.call(G, X.buyBonus);
3713
+ const { lastWin: e, balance: t, betAmount: r, displayCurrency: n, setNextBetAmount: i, setPrevBetAmount: s } = ae, { setIsTurbo: o, isTurbo: a } = ne, { open: u } = H, { activeAnteBet: l, activeBonusFeature: d, activeInReelFeature: v, setActiveAnteBet: h } = Ee, { isUIVisible: b, isAutoPlayDisabled: m, isBuyBonusDisabled: y, isBetAmountLabelsDisabled: N } = Nt, O = dt(() => l?.imagePath || v?.imagePath || d?.imagePath, [l, d, v]), V = zn(() => {
3714
+ l ? h.call(Ee, null) : u.call(H, X.buyBonus);
3711
3715
  }, [l, h]);
3712
- return c("div", { className: `ui-footer ${_ ? "" : "hidden"}`, children: g("div", { className: "top-row", children: [g("div", { className: "left-group", children: [c(io, { imagePath: A, disabled: y, onClick: L }), g("div", { className: "balance-info", children: [c(Un, { label: "LAST WIN", value: `${e} ${n}` }), c(Un, { label: "BALANCE", value: `${t} ${n}` })] })] }), g("div", { className: "bet-control", children: [c(so, { activeAnteBet: !!l, value: r, currency: n, onClick: u.bind(G, X.bet), disabled: O }), g("div", { className: "bet-box", children: [c($n, { onClick: () => s.call(ae), className: "bet-btn minus", disabled: O }), c(mo, { onClick: () => console.log("Spin"), state: "active" }), c($n, { onClick: () => i.call(ae), className: "bet-btn plus", disabled: O })] }), c(Kn, { className: "quick-spin", onClick: o.bind(ne, !a), isActive: a }), c(Kn, { className: "auto-spin", onClick: u.bind(G, X.autoplay), isActive: !1, disabled: m })] })] }) });
3716
+ return c("div", { className: `ui-footer ${b ? "" : "hidden"}`, children: g("div", { className: "top-row", children: [g("div", { className: "left-group", children: [c(io, { imagePath: O, disabled: y, onClick: V }), g("div", { className: "balance-info", children: [c(Un, { label: "LAST WIN", value: `${e} ${n}` }), c(Un, { label: "BALANCE", value: `${t} ${n}` })] })] }), g("div", { className: "bet-control", children: [c(so, { activeAnteBet: !!l, value: r, currency: n, onClick: u.bind(H, X.bet), disabled: N }), g("div", { className: "bet-box", children: [c($n, { onClick: () => s.call(ae), className: "bet-btn minus", disabled: N }), c(mo, { onClick: () => console.log("Spin"), state: "active" }), c($n, { onClick: () => i.call(ae), className: "bet-btn plus", disabled: N })] }), c(Kn, { className: "quick-spin", onClick: o.bind(ne, !a), isActive: a }), c(Kn, { className: "auto-spin", onClick: u.bind(H, X.autoplay), isActive: !1, disabled: m })] })] }) });
3713
3717
  }), yo = ({ onMount: e, onUnmount: t, className: r }) => {
3714
3718
  const n = Ge(null);
3715
3719
  return ze(() => (n.current && e && e(n.current), () => {
@@ -3743,8 +3747,8 @@ const Eo = U(() => {
3743
3747
  }, [r, n]);
3744
3748
  return g(Gn, { children: [r && g("div", { className: "volume-control", ref: i, children: [c("input", { type: "range", min: 0, max: 100, value: e, onChange: (o) => t.call(ne, Number(o.target.value)), className: "slider", "aria-label": "Volume" }), c("span", { className: "volume-value", children: e })] }), c("button", { className: `btn-sound ${e === 0 ? "inactive" : ""}`, "aria-label": "Toggle Sound", onClick: s })] });
3745
3749
  }), No = U(() => {
3746
- const { open: e } = G, { isUIVisible: t } = Nt;
3747
- return t ? g("div", { className: "settings-section", children: [c(Eo, {}), c("button", { className: "btn-settings", "aria-label": "Open Settings", onClick: e.bind(G, X.settings) })] }) : null;
3750
+ const { open: e } = H, { isUIVisible: t } = Nt;
3751
+ return t ? g("div", { className: "settings-section", children: [c(Eo, {}), c("button", { className: "btn-settings", "aria-label": "Open Settings", onClick: e.bind(H, X.settings) })] }) : null;
3748
3752
  }), Ao = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='34'%20height='45'%20viewBox='0%200%2034%2045'%20fill='none'%3e%3cpath%20d='M7.69062%2031.7333H7.06121L9.3091%2028.0889L11.9167%2024C12.636%2022.9333%2012.666%2021.8074%2012.0066%2020.6222C11.527%2019.6741%2011.0475%2018.8148%2010.5679%2018.0444L11.1973%2017.6889C11.1973%2017.6296%2011.1674%2017.5704%2011.1074%2017.5111L10.3881%2017.6889C10.2083%2017.6296%2010.0284%2017.4222%209.8486%2017.0667C9.72871%2016.7111%209.63879%2016.5037%209.57885%2016.4444C9.15924%2016.1481%208.85952%2015.7037%208.67969%2015.1111L9.12927%2014.5778C8.94944%2014.4%208.88949%2014.2815%208.94944%2014.2222C9.06933%2013.4518%209.33907%2012.9185%209.75868%2012.6222C10.0584%2012.563%2010.0284%2012.3556%209.66877%2012L8.40994%2014.5778C7.93039%2013.9852%207.66065%2013.6%207.6007%2013.4222C7.6007%2013.1852%207.8105%2012.7704%208.23011%2012.1778C8.40994%2012%208.5598%2011.7926%208.67969%2011.5556C8.85952%2011.1407%208.94944%2010.6963%208.94944%2010.2222L8.40994%2011.3778C8.11022%2011.8519%207.69062%2011.9704%207.15112%2011.7333C7.15112%2011.4963%207.18109%2011.3481%207.24104%2011.2889C7.36093%2011.1704%207.51079%2011.0815%207.69062%2011.0222C7.87045%2010.9037%208.02031%2010.7852%208.1402%2010.6667L7.78053%2010.4C7.78053%2010.3407%207.81051%2010.2815%207.87045%2010.2222C7.87045%209.98518%207.90042%209.83704%207.96036%209.77778C7.54076%2010.1926%207.12115%2010.2222%206.70154%209.86667C6.82143%209.51111%206.88137%209.3037%206.88137%209.24444L6.97129%209.06666L7.15112%208.8C6.97129%208.85926%206.73151%208.88889%206.43179%208.88889C6.43179%208.53333%206.46177%208.32592%206.52171%208.26666C6.70154%207.79259%206.70154%207.34815%206.52171%206.93333L6.07213%207.28889C5.77241%207.46667%205.23292%207.46667%204.45365%207.28889C4.15393%206.6963%204.30379%206.13333%204.90322%205.6C4.84328%205.6%204.66345%205.62963%204.36373%205.68889C4.12395%205.68889%203.94412%205.68889%203.82423%205.68889C3.82423%206.22222%203.79426%206.60741%203.73432%206.84444C3.37465%206.25185%203.19482%205.86666%203.19482%205.68889C3.13488%205.62963%203.07494%205.6%203.01499%205.6L2.74524%205.33333L1.21667%202.66666L1.03684%202.13333C0.677179%201.00741%201.09679%200.355554%202.29566%200.177775H3.73432C3.97409%200.177775%204.42367%200.207404%205.08306%200.266663C5.80238%200.266663%206.25196%200.266663%206.43179%200.266663C7.33095%200.148146%208.05028%200.503704%208.58978%201.33333C9.18921%202.16296%2010.2982%203.94074%2011.9167%206.66667C12.0366%206.78518%2012.0965%207.05185%2012.0965%207.46666C12.8158%207.58518%2013.2354%208.14815%2013.3553%209.15555L14.0746%2010.0444L15.6032%2012.8C15.6032%2012.9185%2015.6332%2013.0074%2015.6931%2013.0667L16.5923%2014.4L17.7612%2014.0444L18.3906%2013.6C18.8102%2013.1852%2019.2298%2012.6519%2019.6494%2012L21.5377%209.06666L23.336%206.4C24.2951%204.97778%2025.0144%203.82222%2025.494%202.93333L26.0335%201.86667C26.573%201.80741%2026.8727%201.74815%2026.9326%201.68889C27.0525%201.57037%2027.0525%201.24444%2026.9326%200.71111C27.5321%200.355554%2028.5211%200.177775%2029.8998%200.177775C31.4584%200.0592581%2032.2676%200%2032.3276%200L32.5074%200.62222L32.8671%200.266663L32.957%200.35555C33.0169%200.414812%2033.0769%200.444444%2033.1368%200.444444C33.8561%200.799999%2034.0959%201.27407%2033.8561%201.86667C33.7362%202.28148%2033.3766%203.05185%2032.7771%204.17777L32.3276%204.35555L31.878%205.51111C31.0987%206.45926%2030.0497%208%2028.7309%2010.1333C27.5321%2012.0296%2026.6928%2013.3333%2026.2133%2014.0444C25.9136%2014.4%2024.6547%2016.4148%2022.4368%2020.0889L21.8973%2021.0667C21.5976%2021.7778%2021.6575%2022.4296%2022.0772%2023.0222L23.6956%2025.8667C23.6956%2025.9852%2023.7556%2026.1037%2023.8755%2026.2222C23.9954%2026.3407%2023.9654%2026.4889%2023.7856%2026.6667L24.3251%2026.9333C24.5648%2027.4074%2025.0744%2028.237%2025.8536%2029.4222C26.6329%2030.6074%2027.0525%2031.2593%2027.1124%2031.3778C27.1124%2031.4963%2027.1424%2031.5852%2027.2024%2031.6444C26.543%2031.9407%2026.4231%2032.2963%2026.8427%2032.7111C26.8427%2032.7704%2026.8127%2032.8296%2026.7528%2032.8889C26.7528%2032.9481%2026.7528%2033.0074%2026.7528%2033.0667C26.7528%2033.2444%2026.8427%2033.4222%2027.0225%2033.6C27.2024%2033.4222%2027.4122%2033.037%2027.6519%2032.4444C28.1914%2033.037%2028.4012%2033.5704%2028.2814%2034.0444C28.9407%2034.4%2029.2704%2034.9037%2029.2704%2035.5556C29.2704%2035.6741%2029.3004%2035.7333%2029.3603%2035.7333C29.6001%2035.9704%2029.9898%2036.5037%2030.5292%2037.3333L31.6082%2039.0222L31.9679%2039.5556C32.1477%2039.9704%2032.0878%2040.237%2031.7881%2040.3556H31.9679L32.5074%2040.1778L33.6763%2042.4C34.3956%2044%2033.9161%2044.8%2032.2376%2044.8C32.1777%2044.8%2032.1477%2044.7704%2032.1477%2044.7111C32.1477%2044.3556%2032.0878%2044.1778%2031.9679%2044.1778C31.7881%2044.1778%2031.6682%2044.2074%2031.6082%2044.2667C31.6082%2044.3259%2031.6082%2044.4444%2031.6082%2044.6222C31.6682%2044.7407%2031.6982%2044.8296%2031.6982%2044.8889H28.3713C27.5321%2044.8889%2026.7828%2044.4741%2026.1234%2043.6444L24.9545%2041.7778L21.8973%2036.8889L20.9082%2035.0222L20.0091%2033.5111L18.4805%2031.2C18.4805%2031.1407%2018.3307%2030.9037%2018.0309%2030.4889C17.6113%2029.9556%2017.1618%2029.8074%2016.6822%2030.0444C16.2626%2030.2222%2015.9029%2030.4593%2015.6032%2030.7556C15.3634%2031.0519%2015.1536%2031.3778%2014.9738%2031.7333L11.1973%2037.6L9.3091%2040.4444L9.12927%2040.7111V40.3556C9.06933%2040.1185%209.03935%2039.9407%209.03935%2039.8222C8.5598%2040.1185%208.40994%2040.4444%208.58978%2040.8C8.58978%2040.8593%208.67969%2040.8889%208.85952%2040.8889L7.51079%2043.2L6.70154%2042.7556C6.70154%2042.8148%206.70154%2043.0222%206.70154%2043.3778C6.76149%2043.7333%206.79146%2043.9704%206.79146%2044.0889C6.43179%2044.6815%205.80238%2044.9778%204.90322%2044.9778C4.06401%2045.037%202.92508%2044.9778%201.48642%2044.8C0.107712%2044.6222%20-0.311896%2043.8519%200.2276%2042.4889L0.407431%2042.1333L3.19482%2037.6L3.91415%2038.4889C4.03404%2037.9556%203.91415%2037.5111%203.55449%2037.1556L4.45365%2035.9111L5.17297%2034.8444L6.16205%2033.9556C6.1021%2033.5407%206.40182%2032.7704%207.06121%2031.6444V31.8222L7.42087%2032.2667L7.51079%2032.0889C7.51079%2032.0296%207.54076%2031.9407%207.6007%2031.8222V31.7333C7.90042%2031.7926%208.05028%2031.763%208.05028%2031.6444C8.11022%2031.4667%208.11022%2031.2889%208.05028%2031.1111C7.8105%2031.1111%207.69062%2031.3185%207.69062%2031.7333ZM9.03935%2030.5778C9.45896%2030.637%209.69874%2030.637%209.75868%2030.5778C9.81863%2030.5185%209.78865%2030.2519%209.66877%2029.7778H8.85952C8.97941%2030.2519%209.03935%2030.5481%209.03935%2030.6667C8.79958%2030.6667%208.61975%2030.7259%208.49986%2030.8444C8.49986%2030.9037%208.52983%2030.9926%208.58978%2031.1111C8.64972%2031.1704%208.70966%2031.1704%208.76961%2031.1111C8.8895%2031.1111%208.97941%2030.9333%209.03935%2030.5778ZM21.2679%2012.8L20.9982%2012.3556L20.099%2012.7111C20.2189%2012.9481%2020.3987%2013.2148%2020.6385%2013.5111C21.0581%2013.4518%2021.2679%2013.2148%2021.2679%2012.8ZM30.6192%2040.8C30.0797%2041.0963%2030.0197%2041.5407%2030.4393%2042.1333C30.739%2041.4815%2030.799%2041.037%2030.6192%2040.8ZM22.5267%2012.1778C22.9463%2011.7037%2023.0363%2011.2593%2022.7965%2010.8444C22.3169%2011.2593%2022.227%2011.7037%2022.5267%2012.1778ZM3.46457%205.06666L4.63348%204.44444L3.91415%204.17777L3.37466%204.97778C3.37466%205.03704%203.40463%205.06666%203.46457%205.06666ZM22.3469%2026.4L22.1671%2026.1333C21.9872%2026.4889%2021.8973%2026.7259%2021.8973%2026.8444L22.0772%2027.0222L22.257%2027.1111C22.257%2027.0519%2022.3169%2026.963%2022.4368%2026.8444C22.6167%2026.6667%2022.5867%2026.5185%2022.3469%2026.4ZM24.1452%2012.1778V11.5556C24.1452%2011.437%2024.0553%2011.3778%2023.8755%2011.3778L23.6057%2011.4667C23.6057%2011.9407%2023.7856%2012.1778%2024.1452%2012.1778ZM6.25196%2035.2889C6.25196%2035.5852%206.28194%2035.8222%206.34188%2036C6.52171%2035.7037%206.49174%2035.4667%206.25196%2035.2889ZM10.0284%208.88889L9.39902%209.77778C9.81863%209.6%2010.0284%209.3037%2010.0284%208.88889ZM28.1015%2039.5556C28.3413%2039.2%2028.3113%2038.8741%2028.0116%2038.5778C27.9517%2038.6963%2027.9217%2038.8741%2027.9217%2039.1111C27.9217%2039.1704%2027.9517%2039.2296%2028.0116%2039.2889C28.0116%2039.4074%2028.0416%2039.4963%2028.1015%2039.5556ZM29.8099%2037.0667C29.75%2037.4815%2029.8699%2037.7185%2030.1696%2037.7778C30.2895%2037.4222%2030.1696%2037.1852%2029.8099%2037.0667ZM3.01499%2042.4889C3.07494%2042.4296%203.16485%2042.4%203.28474%2042.4L3.19482%2042.2222C3.19482%2042.0444%203.19482%2041.8963%203.19482%2041.7778L3.10491%2041.8667H2.92508L3.01499%2042.0444C3.01499%2042.2222%203.01499%2042.3704%203.01499%2042.4889ZM11.2873%208.17778H11.4671C11.587%208.05926%2011.6469%207.91111%2011.6469%207.73333L11.3772%207.64444C11.3772%207.7037%2011.3472%207.79259%2011.2873%207.91111C11.2873%208.02963%2011.2873%208.11852%2011.2873%208.17778ZM29.5402%2038.8444L29.72%2038.4889V38.1333C29.6001%2038.1333%2029.5102%2038.1037%2029.4503%2038.0444C29.3304%2038.3407%2029.3603%2038.6074%2029.5402%2038.8444ZM28.641%206.31111H28.4612C28.4012%206.37037%2028.3713%206.51852%2028.3713%206.75555C28.4312%206.81481%2028.4912%206.84444%2028.5511%206.84444V6.57778L28.641%206.31111ZM28.0116%2037.1556C28.1914%2036.9185%2028.1615%2036.7111%2027.9217%2036.5333C27.9217%2036.6519%2027.9517%2036.7704%2028.0116%2036.8889V37.1556ZM24.7746%2032.7111C24.7147%2032.6518%2024.6248%2032.6222%2024.5049%2032.6222C24.5049%2032.8593%2024.4749%2033.0074%2024.415%2033.0667H24.6847C24.6847%2033.0074%2024.6847%2032.9481%2024.6847%2032.8889C24.7447%2032.8296%2024.7746%2032.7704%2024.7746%2032.7111ZM25.404%2033.9556H25.5839C25.5839%2033.8963%2025.5539%2033.8074%2025.494%2033.6889C25.494%2033.5704%2025.494%2033.5111%2025.494%2033.5111H25.404C25.3441%2033.5704%2025.2842%2033.6%2025.2242%2033.6C25.3441%2033.7185%2025.404%2033.837%2025.404%2033.9556ZM9.66877%2030.8444H9.48893V31.2889H9.57885C9.63879%2031.2296%209.66877%2031.0815%209.66877%2030.8444ZM6.52171%2041.8667L6.43179%2042.1333C6.43179%2042.1926%206.49174%2042.2815%206.61163%2042.4L6.79146%2042.2222C6.79146%2042.163%206.70154%2042.0444%206.52171%2041.8667ZM5.3528%2039.1111H5.53264C5.53264%2038.8148%205.44272%2038.637%205.26289%2038.5778C5.32283%2038.6963%205.3528%2038.8741%205.3528%2039.1111ZM29.9897%206.48889H30.2595V5.95555H30.0797L29.9897%206.22222V6.48889ZM27.2024%209.6H27.3822C27.3822%209.36296%2027.3522%209.21481%2027.2923%209.15555H27.1124C27.1124%209.39259%2027.1424%209.54074%2027.2024%209.6ZM11.3772%2027.6444V28.3556C11.557%2028.1185%2011.557%2027.8815%2011.3772%2027.6444ZM4.54356%208.08889L5.53264%207.46666L6.07213%207.28889C6.13207%207.22963%206.25196%207.2%206.43179%207.2C6.49174%207.67407%206.34188%208%205.98222%208.17778C5.62255%208.35555%205.143%208.32592%204.54356%208.08889ZM6.43179%208.88889C6.73151%208.88889%206.97129%208.85926%207.15112%208.8L6.97129%209.06666L6.88137%209.24444L6.52171%209.6C6.22199%209.77778%205.98222%209.68889%205.80238%209.33333L6.07213%209.06666H5.98222C6.04216%209.06666%206.1021%209.03703%206.16205%208.97778C6.22199%208.97778%206.31191%208.94815%206.43179%208.88889ZM6.34188%2011.0222V10.2222L7.24104%2010.4C7.06121%2010.8741%206.76149%2011.0815%206.34188%2011.0222ZM5.98222%209.06666H6.07213C5.59258%209.06666%205.29286%208.97778%205.17297%208.8C5.29286%208.8%205.44272%208.74074%205.62255%208.62222C5.80238%208.5037%205.92227%208.41481%205.98222%208.35555V9.06666Z'%20fill='white'/%3e%3c/svg%3e", So = U(() => {
3749
3753
  const { betAmount: e, displayCurrency: t, setNextBetAmount: r, setPrevBetAmount: n } = ae;
3750
3754
  return g("div", { className: "overlay-bet-controller", children: [c("div", { className: "decrease-bet", onClick: n.bind(ae) }), g("div", { className: "bet-amount", children: [e, " ", t] }), c("div", { className: "increase-bet", onClick: r.bind(ae) })] });
@@ -3764,34 +3768,33 @@ const Eo = U(() => {
3764
3768
  d.current || (d.current = !0, s(a.trim()));
3765
3769
  }, h = () => {
3766
3770
  v();
3767
- }, _ = (m) => {
3771
+ }, b = (m) => {
3768
3772
  m.key === "Enter" ? (m.preventDefault(), v(), l.current?.blur()) : m.key === "Escape" && (u(e ?? ""), o?.(), l.current?.blur());
3769
3773
  };
3770
- return c("input", { ref: l, className: `ap-limit ${n}`, type: "number", value: a, placeholder: t, onChange: (m) => u(m.target.value), onBlur: h, onKeyDown: _, inputMode: r === "number" ? "numeric" : void 0, "aria-label": "custom limit input" });
3774
+ return c("input", { ref: l, className: `ap-limit ${n}`, type: "number", value: a, placeholder: t, onChange: (m) => u(m.target.value), onBlur: h, onKeyDown: b, inputMode: r === "number" ? "numeric" : void 0, "aria-label": "custom limit input" });
3771
3775
  }, Do = U(() => {
3772
- const { specialFeatureSwitcherOn: e, setSpecialFeatureSwitcher: t, countRange: r, count: n, setCount: i, lossLimit: s, winLimit: o, setLossLimit: a, limitsRange: u, setWinLimit: l } = Ke, [d, v] = he.useState(0), [h, _] = he.useState(!1), [m, y] = pe(""), O = dt(() => d ? o : s, [d, o, s]), A = dt(() => d ? l.bind(Ke) : a.bind(Ke), [d, l, a]);
3776
+ const { specialFeatureSwitcherOn: e, setSpecialFeatureSwitcher: t, countRange: r, count: n, setCount: i, lossLimit: s, winLimit: o, setLossLimit: a, limitsRange: u, setWinLimit: l, setIsStarted: d } = Be, [v, h] = he.useState(0), [b, m] = he.useState(!1), [y, N] = pe(""), O = dt(() => v ? o : s, [v, o, s]), V = dt(() => v ? l.bind(Be) : a.bind(Be), [v, l, a]);
3773
3777
  ze(() => {
3774
- const D = O && !u.includes(O);
3775
- y(D ? O : 0);
3778
+ const A = O && !u.includes(O);
3779
+ N(A ? O : 0);
3776
3780
  }, [O, o]);
3777
- const L = !!n && n > 0;
3778
- return g("div", { className: "autoplay-wrap", children: [c("h3", { className: "ap-title", children: "Number of spins" }), c("div", { className: "autoplay-count", children: r.map((D, w) => c(Ur, { value: D, active: n === D, onClick: i.bind(Ke, D) }, w)) }), g("div", { className: "ap-switch-row", children: [c("div", { className: "ap-switch-label", children: "Stop on special feature WIN" }), c("div", { className: "ap-switch-control", children: c(xt, { checked: e, onChange: (D) => t.call(Ke, D) }) })] }), g("div", { className: "ap-tabs", children: [c(qn, { active: !d, onClick: () => v(0), children: "Loss limit" }), c(qn, { active: !!d, onClick: () => v(1), children: "Single WIN limit" })] }), c("div", { className: "ap-limits-panel", children: c("div", { className: "ap-limits-inner", children: g("div", { className: "ap-limit-grid", children: [u.map((D, w) => g(Ft, { active: O === D, onClick: () => A(D), children: [D, "X BET"] }, w)), c(Ft, { active: !O, onClick: () => A(null), children: "NO LIMIT" }), h ? c(Co, { value: "" + m, inputType: "number", onSubmit: (D) => {
3779
- const w = D.trim();
3780
- if (w === "") {
3781
- _(!1);
3781
+ const Z = !!n && n > 0;
3782
+ return g("div", { className: "autoplay-wrap", children: [c("h3", { className: "ap-title", children: "Number of spins" }), c("div", { className: "autoplay-count", children: r.map((A, L) => c(Ur, { value: A, active: n === A, onClick: i.bind(Be, A) }, L)) }), g("div", { className: "ap-switch-row", children: [c("div", { className: "ap-switch-label", children: "Stop on special feature WIN" }), c("div", { className: "ap-switch-control", children: c(xt, { checked: e, onChange: (A) => t.call(Be, A) }) })] }), g("div", { className: "ap-tabs", children: [c(qn, { active: !v, onClick: () => h(0), children: "Loss limit" }), c(qn, { active: !!v, onClick: () => h(1), children: "Single WIN limit" })] }), c("div", { className: "ap-limits-panel", children: c("div", { className: "ap-limits-inner", children: g("div", { className: "ap-limit-grid", children: [u.map((A, L) => g(Ft, { active: O === A, onClick: () => V(A), children: [A, "X BET"] }, L)), c(Ft, { active: !O, onClick: () => V(null), children: "NO LIMIT" }), b ? c(Co, { value: "" + y, inputType: "number", onSubmit: (A) => {
3783
+ const L = A.trim();
3784
+ if (L === "") {
3785
+ m(!1);
3782
3786
  return;
3783
3787
  }
3784
- const x = Number(w);
3785
- y(x ?? 0), A(x), _(!1);
3788
+ const x = Number(L);
3789
+ N(x ?? 0), V(x), m(!1);
3786
3790
  }, onCancel: () => {
3787
- _(!1);
3791
+ m(!1);
3788
3792
  } }) : c(Ft, { onClick: () => {
3789
- _(!0);
3790
- }, active: !!O && O === Number(m), children: m ? `${m}X BET` : "CUSTOM" })] }) }) }), c("div", { className: "ap-start-row", children: c("button", { className: `ap-start-btn ${L ? "" : "ap-start-btn--disabled"}`, onClick: () => {
3791
- }, type: "button", disabled: !L, children: "Start Autoplay" }) })] });
3793
+ m(!0);
3794
+ }, active: !!O && O === Number(y), children: y ? `${y}X BET` : "CUSTOM" })] }) }) }), c("div", { className: "ap-start-row", children: c("button", { className: `ap-start-btn ${Z ? "" : "ap-start-btn--disabled"}`, onClick: d.bind(Be, !0), type: "button", disabled: !Z, children: "Start Autoplay" }) })] });
3792
3795
  }), Hn = ({ onClick: e, label: t, className: r }) => g("button", { className: `sp-action ${r}`, type: "button", onClick: e, children: [c("span", { className: "sp-action__icon", "aria-hidden": "true" }), c("span", { className: "sp-action__label", children: t })] }), qe = ({ onToggle: e, label: t, checked: r = !1 }) => g("div", { className: "sp-row", children: [c("div", { className: "sp-switch", children: c(xt, { checked: r, onChange: () => e(!r) }) }), c("div", { className: "sp-label", children: t })] }), Vo = U(() => {
3793
- const { introSkip: e, spaceToSkip: t, musicOn: r, soundsOn: n, spaceToSpin: i, setSpaceToSpin: s, setIntroSkip: o, setSpaceToSkip: a, setSoundsOn: u, setMusicOn: l } = ne, { open: d } = G;
3794
- return g("div", { className: "sp-wrap", children: [g("div", { className: "sp-actions", children: [c(Hn, { onClick: d.bind(G, X.history), className: "sp-action--history", label: "History" }), c(Hn, { onClick: () => {
3796
+ const { introSkip: e, spaceToSkip: t, musicOn: r, soundsOn: n, spaceToSpin: i, setSpaceToSpin: s, setIntroSkip: o, setSpaceToSkip: a, setSoundsOn: u, setMusicOn: l } = ne, { open: d } = H;
3797
+ return g("div", { className: "sp-wrap", children: [g("div", { className: "sp-actions", children: [c(Hn, { onClick: d.bind(H, X.history), className: "sp-action--history", label: "History" }), c(Hn, { onClick: () => {
3795
3798
  }, className: "sp-action--paytable", label: "Paytable" })] }), c("h3", { className: "sp-section-title", children: "Audio" }), g("div", { className: "sp-rows", children: [c(qe, { onToggle: l.bind(ne), checked: r, label: "Music" }), c(qe, { onToggle: u.bind(ne), checked: n, label: "Sounds" })] }), c("h3", { className: "sp-section-title", children: "Game launch" }), c("div", { className: "sp-rows", children: c(qe, { onToggle: o.bind(ne), checked: e, label: "Skip Intro" }) }), c("h3", { className: "sp-section-title", children: "Keyboard" }), g("div", { className: "sp-rows", children: [c(qe, { onToggle: s.bind(ne), checked: i, label: "Spacebar to Spin" }), c(qe, { onToggle: a.bind(ne), checked: t, label: "Spacebar to Skip" })] })] });
3796
3799
  }), Lo = ({ date: e, currencyCode: t, betAmount: r, winAmount: n }) => {
3797
3800
  const [i, s] = pe(!1);
@@ -3801,39 +3804,39 @@ const Eo = U(() => {
3801
3804
  return g("div", { className: "history-wrap", role: "list", "aria-label": "History list", children: [g("div", { className: "history-item history-item--head", role: "row", children: [c("span", { className: "date-section", children: "Date" }), c("span", { className: "bet-section", children: "Bet" }), c("span", { className: "win-section", children: "Win" })] }), e.map((t, r) => c(Lo, { date: t.date, betAmount: t.betAmount, winAmount: t.winAmount, currencyCode: t.currencyCode, id: "aa" }, r))] });
3802
3805
  }), xo = U(({ item: e, type: t, onBuy: r }) => {
3803
3806
  const { betAmount: n } = ae, { activeAnteBet: i, setActiveAnteBet: s } = Ee, o = e.title.split(`
3804
- `), [a, u] = pe(!1), [l, d] = pe(84), [v, h] = pe(0), [_, m] = pe(!1), y = Ge(null);
3807
+ `), [a, u] = pe(!1), [l, d] = pe(84), [v, h] = pe(0), [b, m] = pe(!1), y = Ge(null);
3805
3808
  $r(() => {
3806
- const A = y.current;
3807
- if (!A)
3809
+ const O = y.current;
3810
+ if (!O)
3808
3811
  return;
3809
- const L = () => {
3810
- const w = getComputedStyle(A), x = w.getPropertyValue("--max-description-height").trim();
3811
- let $ = 84;
3812
- if (x) {
3813
- const Le = x.match(/^(-?\d+(\.\d+)?)(px)?$/);
3814
- Le && ($ = Number(Le[1]));
3812
+ const V = () => {
3813
+ const A = getComputedStyle(O), L = A.getPropertyValue("--max-description-height").trim();
3814
+ let x = 84;
3815
+ if (L) {
3816
+ const Le = L.match(/^(-?\d+(\.\d+)?)(px)?$/);
3817
+ Le && (x = Number(Le[1]));
3815
3818
  } else {
3816
- const Le = w.getPropertyValue("max-height").trim();
3817
- Le && Le.endsWith("px") && ($ = Number(Le.replace("px", "")));
3819
+ const Le = A.getPropertyValue("max-height").trim();
3820
+ Le && Le.endsWith("px") && (x = Number(Le.replace("px", "")));
3818
3821
  }
3819
- const $e = A.scrollHeight;
3820
- d($), h($e), m($e > $ + 1);
3822
+ const Fe = O.scrollHeight;
3823
+ d(x), h(Fe), m(Fe > x + 1);
3821
3824
  };
3822
- L();
3823
- const D = new ResizeObserver(L);
3824
- return D.observe(A), window.addEventListener("resize", L), () => {
3825
- D.disconnect(), window.removeEventListener("resize", L);
3825
+ V();
3826
+ const Z = new ResizeObserver(V);
3827
+ return Z.observe(O), window.addEventListener("resize", V), () => {
3828
+ Z.disconnect(), window.removeEventListener("resize", V);
3826
3829
  };
3827
3830
  }, [e.description]);
3828
- const O = a ? Math.max(v, l) : l;
3829
- return g("div", { className: "sf-card", role: "group", "aria-label": o.join(" "), children: [g("div", { className: "sf-card__title", children: [e.title, e.description && c("div", { ref: y, className: `sf-card__description ${a ? "open" : ""} ${_ ? "expandable" : ""}`, style: { maxHeight: `${O}px` }, onClick: () => {
3830
- _ && u((A) => !A);
3831
- }, children: c("div", { children: e.description }) })] }), c("div", { className: "sf-card__content", children: c("div", { className: `sf-card__image-wrap ${a ? "hidden" : ""}`, children: e.imagePath ? c("img", { src: e.imagePath, alt: o[0] }) : c("div", { className: "sf-card__image-placeholder" }) }) }), g("div", { className: `sf-card__bottom ${t}`, children: [g("div", { className: "sf-card__price", children: [e.costMultiplier * n, " ", ae.displayCurrency] }), t === "ante" ? c("div", { className: "sf-card__toggle", children: c(xt, { checked: i === e, onChange: (A) => s.call(Ee, A ? e.id : null) }) }) : c("button", { className: "sf-buy-btn", type: "button", onClick: () => r && r(e.id), children: "BUY" })] })] });
3831
+ const N = a ? Math.max(v, l) : l;
3832
+ return g("div", { className: "sf-card", role: "group", "aria-label": o.join(" "), children: [g("div", { className: "sf-card__title", children: [e.title, e.description && c("div", { ref: y, className: `sf-card__description ${a ? "open" : ""} ${b ? "expandable" : ""}`, style: { maxHeight: `${N}px` }, onClick: () => {
3833
+ b && u((O) => !O);
3834
+ }, children: c("div", { children: e.description }) })] }), c("div", { className: "sf-card__content", children: c("div", { className: `sf-card__image-wrap ${a ? "hidden" : ""}`, children: e.imagePath ? c("img", { src: e.imagePath, alt: o[0] }) : c("div", { className: "sf-card__image-placeholder" }) }) }), g("div", { className: `sf-card__bottom ${t}`, children: [g("div", { className: "sf-card__price", children: [e.costMultiplier * n, " ", ae.displayCurrency] }), t === "ante" ? c("div", { className: "sf-card__toggle", children: c(xt, { checked: i === e, onChange: (O) => s.call(Ee, O ? e.id : null) }) }) : c("button", { className: "sf-buy-btn", type: "button", onClick: () => r && r(e.id), children: "BUY" })] })] });
3832
3835
  }), Kt = ({ features: e, type: t, title: r, onBuy: n }) => g(Gn, { children: [c("h2", { className: "sf-section-title", children: r }), c("div", { className: "sf-grid", children: e.map((i, s) => c(xo, { item: i, type: t, onBuy: n }, s)) })] }), Ro = () => {
3833
3836
  const { anteBets: e, inReelFeatures: t, bonusFeatures: r, buyHandler: n } = Ee;
3834
3837
  return g("div", { className: "sf-wrap", children: [e.length ? c(Kt, { features: e, type: $t.ante, title: "Ante Bets" }, 0) : null, t.length ? c(Kt, { features: t, type: $t.buy, title: "Reel Features", onBuy: n.bind(Ee) }, 1) : null, r.length ? c(Kt, { features: r, type: $t.buy, title: "Bonus", onBuy: n.bind(Ee) }, 2) : null] });
3835
3838
  }, Po = U(() => {
3836
- const { activePopup: e } = G;
3839
+ const { activePopup: e } = H;
3837
3840
  if (!e)
3838
3841
  return null;
3839
3842
  const t = dt(() => {
@@ -3860,41 +3863,40 @@ const Eo = U(() => {
3860
3863
  const { activeDialog: e } = ft;
3861
3864
  return e ? g("div", { className: "dialogs-wrap", "aria-live": "polite", children: [c("span", { className: "title", children: e?.title }), e?.imagePath && c("img", { className: "dialog-image", src: e.imagePath, alt: e.title ?? "dialog image" }), c("span", { className: "message", children: e?.message }), e.toggle && c(xt, { checked: e.toggle.value, onChange: () => e.toggle?.onClick() }), c("div", { className: "additional-btns", children: e?.buttons?.map((t, r) => c(To, { configs: t.configs, text: t.text, onClick: t.onClick }, r)) })] }) : null;
3862
3865
  }), Mo = U(() => {
3863
- const e = G.activePopup, t = ft.activeDialog;
3866
+ const e = H.activePopup, t = ft.activeDialog;
3864
3867
  if (!e && !t)
3865
3868
  return null;
3866
3869
  const r = (i) => {
3867
- i.target === i.currentTarget && (G.close(), ft.close());
3870
+ i.target === i.currentTarget && (H.close(), ft.close());
3868
3871
  }, n = () => {
3869
- G.close(), ft.close();
3872
+ H.close(), ft.close();
3870
3873
  };
3871
3874
  return g("div", { className: `overlay ${t ? "dialog" : ""}`, onClick: r, role: "presentation", children: [typeof e == "string" && c("span", { className: "popup-title", children: e.toUpperCase() }), g("div", { className: "overlay-content", role: "dialog", "aria-modal": "true", children: [t && c(jo, {}), !t && e && c(Po, {})] }), !t && c("div", { className: "overlay-close", "aria-label": "Close", onClick: n, children: c("img", { src: Ao, alt: "Close" }) }), e === X.buyBonus && c(So, {})] });
3872
3875
  });
3873
- function ko() {
3876
+ function Io() {
3874
3877
  return g("div", { className: "app", children: [g("div", { className: "game-container", children: [c(yo, {}), c(No, {}), c(go, {})] }), c(Mo, {})] });
3875
3878
  }
3876
- function Io(e) {
3879
+ function Ko(e) {
3877
3880
  if (!e) {
3878
3881
  console.error("element not found");
3879
3882
  return;
3880
3883
  }
3881
- Fr(e).render(c(he.StrictMode, { children: c(ko, {}) }));
3884
+ Fr(e).render(c(he.StrictMode, { children: c(Io, {}) }));
3882
3885
  }
3883
- Io(document.body);
3884
3886
  export {
3885
3887
  at as LOCAL_STORAGE_ITEM_NAMES,
3886
3888
  X as PopupNames,
3887
- Ke as autoplayStore,
3889
+ Be as autoplayStore,
3888
3890
  ae as betStore,
3889
3891
  $t as bonusFeatureTypes,
3890
3892
  Ee as bonusStore,
3891
- Io as createUi,
3893
+ Ko as createUi,
3892
3894
  Fn as defaultDialogButtonsConfigs,
3893
3895
  uo as defaultDialogs,
3894
3896
  ao as defaultDialogsNames,
3895
3897
  ft as dialogStore,
3896
3898
  _o as historyStore,
3897
- G as popupStore,
3899
+ H as popupStore,
3898
3900
  ne as settingsStore,
3899
3901
  Nt as uiStore
3900
3902
  };