@everymatrix/general-player-login-form 1.54.6 → 1.54.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,28 @@
1
1
  function Z() {
2
2
  }
3
- function Er(e) {
3
+ function _r(e) {
4
4
  return e();
5
5
  }
6
- function Vt() {
6
+ function jt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function Oe(e) {
10
- e.forEach(Er);
10
+ e.forEach(_r);
11
11
  }
12
12
  function Dt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function wr(e, t) {
15
+ function Er(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let tt;
19
- function zt(e, t) {
19
+ function Vt(e, t) {
20
20
  return e === t ? !0 : (tt || (tt = document.createElement("a")), tt.href = t, e === tt.href);
21
21
  }
22
- function on(e) {
22
+ function nn(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function xr(e, ...t) {
25
+ function wr(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,24 +31,24 @@ function xr(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function sn(e, t, r) {
35
- e.$$.on_destroy.push(xr(t, r));
34
+ function on(e, t, r) {
35
+ e.$$.on_destroy.push(wr(t, r));
36
36
  }
37
- const an = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
37
+ const sn = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
38
38
  // @ts-ignore Node typings have this
39
39
  global
40
40
  );
41
41
  function m(e, t) {
42
42
  e.appendChild(t);
43
43
  }
44
- function ln(e, t, r) {
45
- const n = un(e);
44
+ function an(e, t, r) {
45
+ const n = ln(e);
46
46
  if (!n.getElementById(t)) {
47
47
  const i = S("style");
48
- i.id = t, i.textContent = r, cn(n, i);
48
+ i.id = t, i.textContent = r, un(n, i);
49
49
  }
50
50
  }
51
- function un(e) {
51
+ function ln(e) {
52
52
  if (!e) return document;
53
53
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
54
54
  return t && /** @type {ShadowRoot} */
@@ -57,7 +57,7 @@ function un(e) {
57
57
  t
58
58
  ) : e.ownerDocument;
59
59
  }
60
- function cn(e, t) {
60
+ function un(e, t) {
61
61
  return m(
62
62
  /** @type {Document} */
63
63
  e.head || e,
@@ -82,7 +82,7 @@ function N(e) {
82
82
  function z() {
83
83
  return N(" ");
84
84
  }
85
- function hn() {
85
+ function cn() {
86
86
  return N("");
87
87
  }
88
88
  function se(e, t, r, n) {
@@ -95,7 +95,7 @@ function Y(e, t, r) {
95
95
  const n = t.toLowerCase();
96
96
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : h(e, t, r);
97
97
  }
98
- function fn(e) {
98
+ function hn(e) {
99
99
  return Array.from(e.childNodes);
100
100
  }
101
101
  function te(e, t) {
@@ -105,7 +105,7 @@ function te(e, t) {
105
105
  function rt(e, t) {
106
106
  e.value = t ?? "";
107
107
  }
108
- function dn(e) {
108
+ function fn(e) {
109
109
  const t = {};
110
110
  return e.childNodes.forEach(
111
111
  /** @param {Element} node */
@@ -118,19 +118,19 @@ let Xe;
118
118
  function ze(e) {
119
119
  Xe = e;
120
120
  }
121
- function mn() {
121
+ function dn() {
122
122
  if (!Xe) throw new Error("Function called outside component initialization");
123
123
  return Xe;
124
124
  }
125
- function pn(e) {
126
- mn().$$.on_mount.push(e);
125
+ function mn(e) {
126
+ dn().$$.on_mount.push(e);
127
127
  }
128
128
  const Pe = [], ut = [];
129
129
  let Te = [];
130
- const Xt = [], gn = /* @__PURE__ */ Promise.resolve();
130
+ const zt = [], pn = /* @__PURE__ */ Promise.resolve();
131
131
  let St = !1;
132
- function bn() {
133
- St || (St = !0, gn.then(ee));
132
+ function gn() {
133
+ St || (St = !0, pn.then(ee));
134
134
  }
135
135
  function Pt(e) {
136
136
  Te.push(e);
@@ -145,7 +145,7 @@ function ee() {
145
145
  try {
146
146
  for (; xe < Pe.length; ) {
147
147
  const t = Pe[xe];
148
- xe++, ze(t), yn(t.$$);
148
+ xe++, ze(t), bn(t.$$);
149
149
  }
150
150
  } catch (t) {
151
151
  throw Pe.length = 0, xe = 0, t;
@@ -157,40 +157,40 @@ function ee() {
157
157
  }
158
158
  Te.length = 0;
159
159
  } while (Pe.length);
160
- for (; Xt.length; )
161
- Xt.pop()();
160
+ for (; zt.length; )
161
+ zt.pop()();
162
162
  St = !1, bt.clear(), ze(e);
163
163
  }
164
- function yn(e) {
164
+ function bn(e) {
165
165
  if (e.fragment !== null) {
166
166
  e.update(), Oe(e.before_update);
167
167
  const t = e.dirty;
168
168
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pt);
169
169
  }
170
170
  }
171
- function vn(e) {
171
+ function yn(e) {
172
172
  const t = [], r = [];
173
173
  Te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Te = t;
174
174
  }
175
- const _n = /* @__PURE__ */ new Set();
176
- function En(e, t) {
177
- e && e.i && (_n.delete(e), e.i(t));
175
+ const vn = /* @__PURE__ */ new Set();
176
+ function _n(e, t) {
177
+ e && e.i && (vn.delete(e), e.i(t));
178
178
  }
179
- function wn(e, t, r) {
179
+ function En(e, t, r) {
180
180
  const { fragment: n, after_update: i } = e.$$;
181
181
  n && n.m(t, r), Pt(() => {
182
- const o = e.$$.on_mount.map(Er).filter(Dt);
182
+ const o = e.$$.on_mount.map(_r).filter(Dt);
183
183
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Oe(o), e.$$.on_mount = [];
184
184
  }), i.forEach(Pt);
185
185
  }
186
- function xn(e, t) {
186
+ function wn(e, t) {
187
187
  const r = e.$$;
188
- r.fragment !== null && (vn(r.after_update), Oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
188
+ r.fragment !== null && (yn(r.after_update), Oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
189
189
  }
190
- function Sn(e, t) {
191
- e.$$.dirty[0] === -1 && (Pe.push(e), bn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
190
+ function xn(e, t) {
191
+ e.$$.dirty[0] === -1 && (Pe.push(e), gn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
192
192
  }
193
- function Pn(e, t, r, n, i, o, s = null, a = [-1]) {
193
+ function Sn(e, t, r, n, i, o, s = null, a = [-1]) {
194
194
  const c = Xe;
195
195
  ze(e);
196
196
  const l = e.$$ = {
@@ -200,7 +200,7 @@ function Pn(e, t, r, n, i, o, s = null, a = [-1]) {
200
200
  props: o,
201
201
  update: Z,
202
202
  not_equal: i,
203
- bound: Vt(),
203
+ bound: jt(),
204
204
  // lifecycle
205
205
  on_mount: [],
206
206
  on_destroy: [],
@@ -209,7 +209,7 @@ function Pn(e, t, r, n, i, o, s = null, a = [-1]) {
209
209
  after_update: [],
210
210
  context: new Map(t.context || (c ? c.$$.context : [])),
211
211
  // everything else
212
- callbacks: Vt(),
212
+ callbacks: jt(),
213
213
  dirty: a,
214
214
  skip_bound: !1,
215
215
  root: t.target || c.$$.root
@@ -218,19 +218,19 @@ function Pn(e, t, r, n, i, o, s = null, a = [-1]) {
218
218
  let u = !1;
219
219
  if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
220
220
  const v = b.length ? b[0] : d;
221
- return l.ctx && i(l.ctx[f], l.ctx[f] = v) && (!l.skip_bound && l.bound[f] && l.bound[f](v), u && Sn(e, f)), d;
221
+ return l.ctx && i(l.ctx[f], l.ctx[f] = v) && (!l.skip_bound && l.bound[f] && l.bound[f](v), u && xn(e, f)), d;
222
222
  }) : [], l.update(), u = !0, Oe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
223
223
  if (t.hydrate) {
224
- const f = fn(t.target);
224
+ const f = hn(t.target);
225
225
  l.fragment && l.fragment.l(f), f.forEach(I);
226
226
  } else
227
227
  l.fragment && l.fragment.c();
228
- t.intro && En(e.$$.fragment), wn(e, t.target, t.anchor), ee();
228
+ t.intro && _n(e.$$.fragment), En(e, t.target, t.anchor), ee();
229
229
  }
230
230
  ze(c);
231
231
  }
232
- let Sr;
233
- typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
232
+ let xr;
233
+ typeof HTMLElement == "function" && (xr = class extends HTMLElement {
234
234
  /** The Svelte component constructor */
235
235
  $$ctor;
236
236
  /** Slots */
@@ -289,7 +289,7 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
289
289
  };
290
290
  if (await Promise.resolve(), !this.$$cn || this.$$c)
291
291
  return;
292
- const t = {}, r = dn(this);
292
+ const t = {}, r = fn(this);
293
293
  for (const i of this.$$s)
294
294
  i in r && (t[i] = [e(i)]);
295
295
  for (const i of this.attributes) {
@@ -376,8 +376,8 @@ function ot(e, t, r, n) {
376
376
  return t;
377
377
  }
378
378
  }
379
- function Tn(e, t, r, n, i, o) {
380
- let s = class extends Sr {
379
+ function Pn(e, t, r, n, i, o) {
380
+ let s = class extends xr {
381
381
  constructor() {
382
382
  super(e, r, i), this.$$p_d = t;
383
383
  }
@@ -405,7 +405,7 @@ function Tn(e, t, r, n, i, o) {
405
405
  }), e.element = /** @type {any} */
406
406
  s, s;
407
407
  }
408
- class Hn {
408
+ class Tn {
409
409
  /**
410
410
  * ### PRIVATE API
411
411
  *
@@ -424,7 +424,7 @@ class Hn {
424
424
  $$set = void 0;
425
425
  /** @returns {void} */
426
426
  $destroy() {
427
- xn(this, 1), this.$destroy = Z;
427
+ wn(this, 1), this.$destroy = Z;
428
428
  }
429
429
  /**
430
430
  * @template {Extract<keyof Events, string>} K
@@ -446,11 +446,11 @@ class Hn {
446
446
  * @returns {void}
447
447
  */
448
448
  $set(t) {
449
- this.$$set && !on(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
449
+ this.$$set && !nn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
450
450
  }
451
451
  }
452
- const Bn = "4";
453
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Bn);
452
+ const Hn = "4";
453
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hn);
454
454
  var Tt = function(e, t) {
455
455
  return Tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
456
456
  r.__proto__ = n;
@@ -476,7 +476,7 @@ var w = function() {
476
476
  return t;
477
477
  }, w.apply(this, arguments);
478
478
  };
479
- function An(e, t) {
479
+ function Bn(e, t) {
480
480
  var r = {};
481
481
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
482
482
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -519,13 +519,13 @@ function He(e, t, r) {
519
519
  function ae(e) {
520
520
  return typeof e == "function";
521
521
  }
522
- function Pr(e) {
522
+ function Sr(e) {
523
523
  var t = function(n) {
524
524
  Error.call(n), n.stack = new Error().stack;
525
525
  }, r = e(t);
526
526
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
527
527
  }
528
- var yt = Pr(function(e) {
528
+ var yt = Sr(function(e) {
529
529
  return function(r) {
530
530
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
531
531
  ` + r.map(function(n, i) {
@@ -581,7 +581,7 @@ var ft = function() {
581
581
  for (var d = Ht(f), b = d.next(); !b.done; b = d.next()) {
582
582
  var v = b.value;
583
583
  try {
584
- Wt(v);
584
+ Xt(v);
585
585
  } catch (g) {
586
586
  o = o ?? [], g instanceof yt ? o = He(He([], Bt(o)), Bt(g.errors)) : o.push(g);
587
587
  }
@@ -603,7 +603,7 @@ var ft = function() {
603
603
  var r;
604
604
  if (t && t !== this)
605
605
  if (this.closed)
606
- Wt(t);
606
+ Xt(t);
607
607
  else {
608
608
  if (t instanceof e) {
609
609
  if (t.closed || t._hasParent(this))
@@ -628,20 +628,16 @@ var ft = function() {
628
628
  var t = new e();
629
629
  return t.closed = !0, t;
630
630
  }(), e;
631
- }(), Tr = ft.EMPTY;
632
- function Hr(e) {
631
+ }(), Pr = ft.EMPTY;
632
+ function Tr(e) {
633
633
  return e instanceof ft || e && "closed" in e && ae(e.remove) && ae(e.add) && ae(e.unsubscribe);
634
634
  }
635
- function Wt(e) {
635
+ function Xt(e) {
636
636
  ae(e) ? e() : e.unsubscribe();
637
637
  }
638
- var In = {
639
- onUnhandledError: null,
640
- onStoppedNotification: null,
641
- Promise: void 0,
642
- useDeprecatedSynchronousErrorHandling: !1,
643
- useDeprecatedNextContext: !1
644
- }, Cn = {
638
+ var An = {
639
+ Promise: void 0
640
+ }, In = {
645
641
  setTimeout: function(e, t) {
646
642
  for (var r = [], n = 2; n < arguments.length; n++)
647
643
  r[n - 2] = arguments[n];
@@ -652,21 +648,21 @@ var In = {
652
648
  },
653
649
  delegate: void 0
654
650
  };
655
- function On(e) {
656
- Cn.setTimeout(function() {
651
+ function Cn(e) {
652
+ In.setTimeout(function() {
657
653
  throw e;
658
654
  });
659
655
  }
660
- function Zt() {
656
+ function Wt() {
661
657
  }
662
658
  function st(e) {
663
659
  e();
664
660
  }
665
- var Br = function(e) {
661
+ var Hr = function(e) {
666
662
  le(t, e);
667
663
  function t(r) {
668
664
  var n = e.call(this) || this;
669
- return n.isStopped = !1, r ? (n.destination = r, Hr(r) && r.add(n)) : n.destination = Nn, n;
665
+ return n.isStopped = !1, r ? (n.destination = r, Tr(r) && r.add(n)) : n.destination = Mn, n;
670
666
  }
671
667
  return t.create = function(r, n, i) {
672
668
  return new It(r, n, i);
@@ -693,7 +689,7 @@ var Br = function(e) {
693
689
  this.unsubscribe();
694
690
  }
695
691
  }, t;
696
- }(ft), Ln = function() {
692
+ }(ft), On = function() {
697
693
  function e(t) {
698
694
  this.partialObserver = t;
699
695
  }
@@ -732,35 +728,35 @@ var Br = function(e) {
732
728
  next: r ?? void 0,
733
729
  error: n ?? void 0,
734
730
  complete: i ?? void 0
735
- } : s = r, o.destination = new Ln(s), o;
731
+ } : s = r, o.destination = new On(s), o;
736
732
  }
737
733
  return t;
738
- }(Br);
734
+ }(Hr);
739
735
  function nt(e) {
740
- On(e);
736
+ Cn(e);
741
737
  }
742
- function Mn(e) {
738
+ function Ln(e) {
743
739
  throw e;
744
740
  }
745
- var Nn = {
741
+ var Mn = {
746
742
  closed: !0,
747
- next: Zt,
748
- error: Mn,
749
- complete: Zt
750
- }, Rn = function() {
743
+ next: Wt,
744
+ error: Ln,
745
+ complete: Wt
746
+ }, Nn = function() {
751
747
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
752
748
  }();
753
- function Un(e) {
749
+ function Rn(e) {
754
750
  return e;
755
751
  }
756
- function Fn(e) {
757
- return e.length === 0 ? Un : e.length === 1 ? e[0] : function(r) {
752
+ function Un(e) {
753
+ return e.length === 0 ? Rn : e.length === 1 ? e[0] : function(r) {
758
754
  return e.reduce(function(n, i) {
759
755
  return i(n);
760
756
  }, r);
761
757
  };
762
758
  }
763
- var qt = function() {
759
+ var Zt = function() {
764
760
  function e(t) {
765
761
  t && (this._subscribe = t);
766
762
  }
@@ -768,7 +764,7 @@ var qt = function() {
768
764
  var r = new e();
769
765
  return r.source = this, r.operator = t, r;
770
766
  }, e.prototype.subscribe = function(t, r, n) {
771
- var i = this, o = kn(t) ? t : new It(t, r, n);
767
+ var i = this, o = Dn(t) ? t : new It(t, r, n);
772
768
  return st(function() {
773
769
  var s = i, a = s.operator, c = s.source;
774
770
  o.add(a ? a.call(o, c) : c ? i._subscribe(o) : i._trySubscribe(o));
@@ -781,7 +777,7 @@ var qt = function() {
781
777
  }
782
778
  }, e.prototype.forEach = function(t, r) {
783
779
  var n = this;
784
- return r = Jt(r), new r(function(i, o) {
780
+ return r = qt(r), new r(function(i, o) {
785
781
  var s = new It({
786
782
  next: function(a) {
787
783
  try {
@@ -798,15 +794,15 @@ var qt = function() {
798
794
  }, e.prototype._subscribe = function(t) {
799
795
  var r;
800
796
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
801
- }, e.prototype[Rn] = function() {
797
+ }, e.prototype[Nn] = function() {
802
798
  return this;
803
799
  }, e.prototype.pipe = function() {
804
800
  for (var t = [], r = 0; r < arguments.length; r++)
805
801
  t[r] = arguments[r];
806
- return Fn(t)(this);
802
+ return Un(t)(this);
807
803
  }, e.prototype.toPromise = function(t) {
808
804
  var r = this;
809
- return t = Jt(t), new t(function(n, i) {
805
+ return t = qt(t), new t(function(n, i) {
810
806
  var o;
811
807
  r.subscribe(function(s) {
812
808
  return o = s;
@@ -820,32 +816,32 @@ var qt = function() {
820
816
  return new e(t);
821
817
  }, e;
822
818
  }();
823
- function Jt(e) {
819
+ function qt(e) {
824
820
  var t;
825
- return (t = e ?? In.Promise) !== null && t !== void 0 ? t : Promise;
821
+ return (t = e ?? An.Promise) !== null && t !== void 0 ? t : Promise;
826
822
  }
827
- function Dn(e) {
823
+ function Fn(e) {
828
824
  return e && ae(e.next) && ae(e.error) && ae(e.complete);
829
825
  }
830
- function kn(e) {
831
- return e && e instanceof Br || Dn(e) && Hr(e);
826
+ function Dn(e) {
827
+ return e && e instanceof Hr || Fn(e) && Tr(e);
832
828
  }
833
- var $n = Pr(function(e) {
829
+ var kn = Sr(function(e) {
834
830
  return function() {
835
831
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
836
832
  };
837
- }), Ar = function(e) {
833
+ }), Br = function(e) {
838
834
  le(t, e);
839
835
  function t() {
840
836
  var r = e.call(this) || this;
841
837
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
842
838
  }
843
839
  return t.prototype.lift = function(r) {
844
- var n = new Qt(this, this);
840
+ var n = new Jt(this, this);
845
841
  return n.operator = r, n;
846
842
  }, t.prototype._throwIfClosed = function() {
847
843
  if (this.closed)
848
- throw new $n();
844
+ throw new kn();
849
845
  }, t.prototype.next = function(r) {
850
846
  var n = this;
851
847
  st(function() {
@@ -901,19 +897,19 @@ var $n = Pr(function(e) {
901
897
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
902
898
  }, t.prototype._innerSubscribe = function(r) {
903
899
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
904
- return o || s ? Tr : (this.currentObservers = null, a.push(r), new ft(function() {
900
+ return o || s ? Pr : (this.currentObservers = null, a.push(r), new ft(function() {
905
901
  n.currentObservers = null, At(a, r);
906
902
  }));
907
903
  }, t.prototype._checkFinalizedStatuses = function(r) {
908
904
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
909
905
  i ? r.error(o) : s && r.complete();
910
906
  }, t.prototype.asObservable = function() {
911
- var r = new qt();
907
+ var r = new Zt();
912
908
  return r.source = this, r;
913
909
  }, t.create = function(r, n) {
914
- return new Qt(r, n);
910
+ return new Jt(r, n);
915
911
  }, t;
916
- }(qt), Qt = function(e) {
912
+ }(Zt), Jt = function(e) {
917
913
  le(t, e);
918
914
  function t(r, n) {
919
915
  var i = e.call(this) || this;
@@ -930,17 +926,17 @@ var $n = Pr(function(e) {
930
926
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
931
927
  }, t.prototype._subscribe = function(r) {
932
928
  var n, i;
933
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Tr;
929
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Pr;
934
930
  }, t;
935
- }(Ar), Ir = {
931
+ }(Br), Ar = {
936
932
  now: function() {
937
- return (Ir.delegate || Date).now();
933
+ return (Ar.delegate || Date).now();
938
934
  },
939
935
  delegate: void 0
940
- }, Gn = function(e) {
936
+ }, $n = function(e) {
941
937
  le(t, e);
942
938
  function t(r, n, i) {
943
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ir);
939
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ar);
944
940
  var o = e.call(this) || this;
945
941
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
946
942
  }
@@ -960,15 +956,15 @@ var $n = Pr(function(e) {
960
956
  l && o.splice(0, l + 1);
961
957
  }
962
958
  }, t;
963
- }(Ar);
964
- const Yt = [], Kt = {}, jn = (e, t = 0) => {
965
- if (Yt.indexOf(e) == -1) {
966
- const r = new Gn(t);
967
- Kt[e] = r, Yt.push(e);
959
+ }(Br);
960
+ const Qt = [], Yt = {}, Gn = (e, t = 0) => {
961
+ if (Qt.indexOf(e) == -1) {
962
+ const r = new $n(t);
963
+ Yt[e] = r, Qt.push(e);
968
964
  }
969
- return Kt[e];
965
+ return Yt[e];
970
966
  }, Se = [];
971
- function Vn(e, t) {
967
+ function jn(e, t) {
972
968
  return {
973
969
  subscribe: dt(e, t).subscribe
974
970
  };
@@ -977,7 +973,7 @@ function dt(e, t = Z) {
977
973
  let r;
978
974
  const n = /* @__PURE__ */ new Set();
979
975
  function i(a) {
980
- if (wr(e, a) && (e = a, r)) {
976
+ if (Er(e, a) && (e = a, r)) {
981
977
  const c = !Se.length;
982
978
  for (const l of n)
983
979
  l[1](), Se.push(l, e);
@@ -1004,7 +1000,7 @@ function Le(e, t, r) {
1004
1000
  if (!i.every(Boolean))
1005
1001
  throw new Error("derived() expects stores as input, got a falsy value");
1006
1002
  const o = t.length < 2;
1007
- return Vn(r, (s, a) => {
1003
+ return jn(r, (s, a) => {
1008
1004
  let c = !1;
1009
1005
  const l = [];
1010
1006
  let u = 0, f = Z;
@@ -1015,7 +1011,7 @@ function Le(e, t, r) {
1015
1011
  const v = t(n ? l[0] : l, s, a);
1016
1012
  o ? s(v) : f = Dt(v) ? v : Z;
1017
1013
  }, b = i.map(
1018
- (v, g) => xr(
1014
+ (v, g) => wr(
1019
1015
  v,
1020
1016
  (x) => {
1021
1017
  l[g] = x, u &= ~(1 << g), c && d();
@@ -1030,70 +1026,70 @@ function Le(e, t, r) {
1030
1026
  };
1031
1027
  });
1032
1028
  }
1033
- function zn(e) {
1034
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1029
+ function Vn(e) {
1030
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1035
1031
  }
1036
- var Xn = function(t) {
1037
- return Wn(t) && !Zn(t);
1032
+ var zn = function(t) {
1033
+ return Xn(t) && !Wn(t);
1038
1034
  };
1039
- function Wn(e) {
1035
+ function Xn(e) {
1040
1036
  return !!e && typeof e == "object";
1041
1037
  }
1042
- function Zn(e) {
1038
+ function Wn(e) {
1043
1039
  var t = Object.prototype.toString.call(e);
1044
- return t === "[object RegExp]" || t === "[object Date]" || Qn(e);
1040
+ return t === "[object RegExp]" || t === "[object Date]" || Jn(e);
1045
1041
  }
1046
- var qn = typeof Symbol == "function" && Symbol.for, Jn = qn ? Symbol.for("react.element") : 60103;
1047
- function Qn(e) {
1048
- return e.$$typeof === Jn;
1042
+ var Zn = typeof Symbol == "function" && Symbol.for, qn = Zn ? Symbol.for("react.element") : 60103;
1043
+ function Jn(e) {
1044
+ return e.$$typeof === qn;
1049
1045
  }
1050
- function Yn(e) {
1046
+ function Qn(e) {
1051
1047
  return Array.isArray(e) ? [] : {};
1052
1048
  }
1053
1049
  function We(e, t) {
1054
- return t.clone !== !1 && t.isMergeableObject(e) ? Be(Yn(e), e, t) : e;
1050
+ return t.clone !== !1 && t.isMergeableObject(e) ? Be(Qn(e), e, t) : e;
1055
1051
  }
1056
- function Kn(e, t, r) {
1052
+ function Yn(e, t, r) {
1057
1053
  return e.concat(t).map(function(n) {
1058
1054
  return We(n, r);
1059
1055
  });
1060
1056
  }
1061
- function ei(e, t) {
1057
+ function Kn(e, t) {
1062
1058
  if (!t.customMerge)
1063
1059
  return Be;
1064
1060
  var r = t.customMerge(e);
1065
1061
  return typeof r == "function" ? r : Be;
1066
1062
  }
1067
- function ti(e) {
1063
+ function ei(e) {
1068
1064
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1069
1065
  return Object.propertyIsEnumerable.call(e, t);
1070
1066
  }) : [];
1071
1067
  }
1072
- function er(e) {
1073
- return Object.keys(e).concat(ti(e));
1068
+ function Kt(e) {
1069
+ return Object.keys(e).concat(ei(e));
1074
1070
  }
1075
- function Cr(e, t) {
1071
+ function Ir(e, t) {
1076
1072
  try {
1077
1073
  return t in e;
1078
1074
  } catch {
1079
1075
  return !1;
1080
1076
  }
1081
1077
  }
1082
- function ri(e, t) {
1083
- return Cr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1078
+ function ti(e, t) {
1079
+ return Ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1084
1080
  }
1085
- function ni(e, t, r) {
1081
+ function ri(e, t, r) {
1086
1082
  var n = {};
1087
- return r.isMergeableObject(e) && er(e).forEach(function(i) {
1083
+ return r.isMergeableObject(e) && Kt(e).forEach(function(i) {
1088
1084
  n[i] = We(e[i], r);
1089
- }), er(t).forEach(function(i) {
1090
- ri(e, i) || (Cr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ei(i, r)(e[i], t[i], r) : n[i] = We(t[i], r));
1085
+ }), Kt(t).forEach(function(i) {
1086
+ ti(e, i) || (Ir(e, i) && r.isMergeableObject(t[i]) ? n[i] = Kn(i, r)(e[i], t[i], r) : n[i] = We(t[i], r));
1091
1087
  }), n;
1092
1088
  }
1093
1089
  function Be(e, t, r) {
1094
- r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified = We;
1090
+ r = r || {}, r.arrayMerge = r.arrayMerge || Yn, r.isMergeableObject = r.isMergeableObject || zn, r.cloneUnlessOtherwiseSpecified = We;
1095
1091
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1096
- return o ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) : We(t, r);
1092
+ return o ? n ? r.arrayMerge(e, t, r) : ri(e, t, r) : We(t, r);
1097
1093
  }
1098
1094
  Be.all = function(t, r) {
1099
1095
  if (!Array.isArray(t))
@@ -1102,42 +1098,39 @@ Be.all = function(t, r) {
1102
1098
  return Be(n, i, r);
1103
1099
  }, {});
1104
1100
  };
1105
- var ii = Be, oi = ii;
1106
- const si = /* @__PURE__ */ zn(oi);
1101
+ var ni = Be, ii = ni;
1102
+ const oi = /* @__PURE__ */ Vn(ii);
1107
1103
  function vt(e, t) {
1108
- var r = t && t.cache ? t.cache : di, n = t && t.serializer ? t.serializer : hi, i = t && t.strategy ? t.strategy : li;
1104
+ var r = t && t.cache ? t.cache : fi, n = t && t.serializer ? t.serializer : ci, i = t && t.strategy ? t.strategy : li;
1109
1105
  return i(e, {
1110
1106
  cache: r,
1111
1107
  serializer: n
1112
1108
  });
1113
1109
  }
1114
- function ai(e) {
1110
+ function si(e) {
1115
1111
  return e == null || typeof e == "number" || typeof e == "boolean";
1116
1112
  }
1117
- function Or(e, t, r, n) {
1118
- var i = ai(n) ? n : r(n), o = t.get(i);
1113
+ function ai(e, t, r, n) {
1114
+ var i = si(n) ? n : r(n), o = t.get(i);
1119
1115
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1120
1116
  }
1121
- function Lr(e, t, r) {
1117
+ function Cr(e, t, r) {
1122
1118
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1123
1119
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1124
1120
  }
1125
- function kt(e, t, r, n, i) {
1121
+ function Or(e, t, r, n, i) {
1126
1122
  return r.bind(t, e, n, i);
1127
1123
  }
1128
1124
  function li(e, t) {
1129
- var r = e.length === 1 ? Or : Lr;
1130
- return kt(e, this, r, t.cache.create(), t.serializer);
1125
+ var r = e.length === 1 ? ai : Cr;
1126
+ return Or(e, this, r, t.cache.create(), t.serializer);
1131
1127
  }
1132
1128
  function ui(e, t) {
1133
- return kt(e, this, Lr, t.cache.create(), t.serializer);
1129
+ return Or(e, this, Cr, t.cache.create(), t.serializer);
1134
1130
  }
1135
- function ci(e, t) {
1136
- return kt(e, this, Or, t.cache.create(), t.serializer);
1137
- }
1138
- var hi = function() {
1131
+ var ci = function() {
1139
1132
  return JSON.stringify(arguments);
1140
- }, fi = (
1133
+ }, hi = (
1141
1134
  /** @class */
1142
1135
  function() {
1143
1136
  function e() {
@@ -1149,13 +1142,12 @@ var hi = function() {
1149
1142
  this.cache[t] = r;
1150
1143
  }, e;
1151
1144
  }()
1152
- ), di = {
1145
+ ), fi = {
1153
1146
  create: function() {
1154
- return new fi();
1147
+ return new hi();
1155
1148
  }
1156
1149
  }, _t = {
1157
- variadic: ui,
1158
- monadic: ci
1150
+ variadic: ui
1159
1151
  }, _;
1160
1152
  (function(e) {
1161
1153
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
@@ -1168,43 +1160,43 @@ var Ae;
1168
1160
  (function(e) {
1169
1161
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1170
1162
  })(Ae || (Ae = {}));
1171
- function tr(e) {
1163
+ function er(e) {
1172
1164
  return e.type === T.literal;
1173
1165
  }
1174
- function mi(e) {
1166
+ function di(e) {
1175
1167
  return e.type === T.argument;
1176
1168
  }
1177
- function Mr(e) {
1169
+ function Lr(e) {
1178
1170
  return e.type === T.number;
1179
1171
  }
1180
- function Nr(e) {
1172
+ function Mr(e) {
1181
1173
  return e.type === T.date;
1182
1174
  }
1183
- function Rr(e) {
1175
+ function Nr(e) {
1184
1176
  return e.type === T.time;
1185
1177
  }
1186
- function Ur(e) {
1178
+ function Rr(e) {
1187
1179
  return e.type === T.select;
1188
1180
  }
1189
- function Fr(e) {
1181
+ function Ur(e) {
1190
1182
  return e.type === T.plural;
1191
1183
  }
1192
- function pi(e) {
1184
+ function mi(e) {
1193
1185
  return e.type === T.pound;
1194
1186
  }
1195
- function Dr(e) {
1187
+ function Fr(e) {
1196
1188
  return e.type === T.tag;
1197
1189
  }
1198
- function kr(e) {
1190
+ function Dr(e) {
1199
1191
  return !!(e && typeof e == "object" && e.type === Ae.number);
1200
1192
  }
1201
1193
  function Ct(e) {
1202
1194
  return !!(e && typeof e == "object" && e.type === Ae.dateTime);
1203
1195
  }
1204
- var $r = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1205
- function bi(e) {
1196
+ var kr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1197
+ function gi(e) {
1206
1198
  var t = {};
1207
- return e.replace(gi, function(r) {
1199
+ return e.replace(pi, function(r) {
1208
1200
  var n = r.length;
1209
1201
  switch (r[0]) {
1210
1202
  case "G":
@@ -1293,11 +1285,11 @@ function bi(e) {
1293
1285
  return "";
1294
1286
  }), t;
1295
1287
  }
1296
- var yi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1297
- function vi(e) {
1288
+ var bi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1289
+ function yi(e) {
1298
1290
  if (e.length === 0)
1299
1291
  throw new Error("Number skeleton cannot be empty");
1300
- for (var t = e.split(yi).filter(function(d) {
1292
+ for (var t = e.split(bi).filter(function(d) {
1301
1293
  return d.length > 0;
1302
1294
  }), r = [], n = 0, i = t; n < i.length; n++) {
1303
1295
  var o = i[n], s = o.split("/");
@@ -1312,17 +1304,17 @@ function vi(e) {
1312
1304
  }
1313
1305
  return r;
1314
1306
  }
1315
- function _i(e) {
1307
+ function vi(e) {
1316
1308
  return e.replace(/^(.*?)-/, "");
1317
1309
  }
1318
- var rr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gr = /^(@+)?(\+|#+)?[rs]?$/g, Ei = /(\*)(0+)|(#+)(0+)|(0+)/g, jr = /^(0+)$/;
1319
- function nr(e) {
1310
+ var tr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $r = /^(@+)?(\+|#+)?[rs]?$/g, _i = /(\*)(0+)|(#+)(0+)|(0+)/g, Gr = /^(0+)$/;
1311
+ function rr(e) {
1320
1312
  var t = {};
1321
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gr, function(r, n, i) {
1313
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace($r, function(r, n, i) {
1322
1314
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1323
1315
  }), t;
1324
1316
  }
1325
- function Vr(e) {
1317
+ function jr(e) {
1326
1318
  switch (e) {
1327
1319
  case "sign-auto":
1328
1320
  return {
@@ -1362,7 +1354,7 @@ function Vr(e) {
1362
1354
  };
1363
1355
  }
1364
1356
  }
1365
- function wi(e) {
1357
+ function Ei(e) {
1366
1358
  var t;
1367
1359
  if (e[0] === "E" && e[1] === "E" ? (t = {
1368
1360
  notation: "engineering"
@@ -1370,17 +1362,17 @@ function wi(e) {
1370
1362
  notation: "scientific"
1371
1363
  }, e = e.slice(1)), t) {
1372
1364
  var r = e.slice(0, 2);
1373
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jr.test(e))
1365
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gr.test(e))
1374
1366
  throw new Error("Malformed concise eng/scientific notation");
1375
1367
  t.minimumIntegerDigits = e.length;
1376
1368
  }
1377
1369
  return t;
1378
1370
  }
1379
- function ir(e) {
1380
- var t = {}, r = Vr(e);
1371
+ function nr(e) {
1372
+ var t = {}, r = jr(e);
1381
1373
  return r || t;
1382
1374
  }
1383
- function xi(e) {
1375
+ function wi(e) {
1384
1376
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1385
1377
  var i = n[r];
1386
1378
  switch (i.stem) {
@@ -1404,7 +1396,7 @@ function xi(e) {
1404
1396
  continue;
1405
1397
  case "measure-unit":
1406
1398
  case "unit":
1407
- t.style = "unit", t.unit = _i(i.options[0]);
1399
+ t.style = "unit", t.unit = vi(i.options[0]);
1408
1400
  continue;
1409
1401
  case "compact-short":
1410
1402
  case "K":
@@ -1416,12 +1408,12 @@ function xi(e) {
1416
1408
  continue;
1417
1409
  case "scientific":
1418
1410
  t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
1419
- return w(w({}, c), ir(l));
1411
+ return w(w({}, c), nr(l));
1420
1412
  }, {}));
1421
1413
  continue;
1422
1414
  case "engineering":
1423
1415
  t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
1424
- return w(w({}, c), ir(l));
1416
+ return w(w({}, c), nr(l));
1425
1417
  }, {}));
1426
1418
  continue;
1427
1419
  case "notation-simple":
@@ -1466,7 +1458,7 @@ function xi(e) {
1466
1458
  case "integer-width":
1467
1459
  if (i.options.length > 1)
1468
1460
  throw new RangeError("integer-width stems only accept a single optional option");
1469
- i.options[0].replace(Ei, function(c, l, u, f, d, b) {
1461
+ i.options[0].replace(_i, function(c, l, u, f, d, b) {
1470
1462
  if (l)
1471
1463
  t.minimumIntegerDigits = u.length;
1472
1464
  else {
@@ -1479,27 +1471,27 @@ function xi(e) {
1479
1471
  });
1480
1472
  continue;
1481
1473
  }
1482
- if (jr.test(i.stem)) {
1474
+ if (Gr.test(i.stem)) {
1483
1475
  t.minimumIntegerDigits = i.stem.length;
1484
1476
  continue;
1485
1477
  }
1486
- if (rr.test(i.stem)) {
1478
+ if (tr.test(i.stem)) {
1487
1479
  if (i.options.length > 1)
1488
1480
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1489
- i.stem.replace(rr, function(c, l, u, f, d, b) {
1481
+ i.stem.replace(tr, function(c, l, u, f, d, b) {
1490
1482
  return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : d && b ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1491
1483
  });
1492
1484
  var o = i.options[0];
1493
- o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), nr(o)));
1485
+ o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), rr(o)));
1494
1486
  continue;
1495
1487
  }
1496
- if (Gr.test(i.stem)) {
1497
- t = w(w({}, t), nr(i.stem));
1488
+ if ($r.test(i.stem)) {
1489
+ t = w(w({}, t), rr(i.stem));
1498
1490
  continue;
1499
1491
  }
1500
- var s = Vr(i.stem);
1492
+ var s = jr(i.stem);
1501
1493
  s && (t = w(w({}, t), s));
1502
- var a = wi(i.stem);
1494
+ var a = Ei(i.stem);
1503
1495
  a && (t = w(w({}, t), a));
1504
1496
  }
1505
1497
  return t;
@@ -2919,13 +2911,13 @@ var it = {
2919
2911
  "h"
2920
2912
  ]
2921
2913
  };
2922
- function Si(e, t) {
2914
+ function xi(e, t) {
2923
2915
  for (var r = "", n = 0; n < e.length; n++) {
2924
2916
  var i = e.charAt(n);
2925
2917
  if (i === "j") {
2926
2918
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2927
2919
  o++, n++;
2928
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = Pi(t);
2920
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = Si(t);
2929
2921
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2930
2922
  r += c;
2931
2923
  for (; s-- > 0; )
@@ -2934,7 +2926,7 @@ function Si(e, t) {
2934
2926
  }
2935
2927
  return r;
2936
2928
  }
2937
- function Pi(e) {
2929
+ function Si(e) {
2938
2930
  var t = e.hourCycle;
2939
2931
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2940
2932
  e.hourCycles && // @ts-ignore
@@ -2956,20 +2948,20 @@ function Pi(e) {
2956
2948
  var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
2957
2949
  return i[0];
2958
2950
  }
2959
- var Et, Ti = new RegExp("^".concat($r.source, "*")), Hi = new RegExp("".concat($r.source, "*$"));
2951
+ var Et, Pi = new RegExp("^".concat(kr.source, "*")), Ti = new RegExp("".concat(kr.source, "*$"));
2960
2952
  function E(e, t) {
2961
2953
  return { start: e, end: t };
2962
2954
  }
2963
- var Bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ai = !!String.fromCodePoint, Ii = !!Object.fromEntries, Ci = !!String.prototype.codePointAt, Oi = !!String.prototype.trimStart, Li = !!String.prototype.trimEnd, Mi = !!Number.isSafeInteger, Ni = Mi ? Number.isSafeInteger : function(e) {
2955
+ var Hi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bi = !!String.fromCodePoint, Ai = !!Object.fromEntries, Ii = !!String.prototype.codePointAt, Ci = !!String.prototype.trimStart, Oi = !!String.prototype.trimEnd, Li = !!Number.isSafeInteger, Mi = Li ? Number.isSafeInteger : function(e) {
2964
2956
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2965
2957
  }, Ot = !0;
2966
2958
  try {
2967
- var Ri = Xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2968
- Ot = ((Et = Ri.exec("a")) === null || Et === void 0 ? void 0 : Et[0]) === "a";
2959
+ var Ni = zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2960
+ Ot = ((Et = Ni.exec("a")) === null || Et === void 0 ? void 0 : Et[0]) === "a";
2969
2961
  } catch {
2970
2962
  Ot = !1;
2971
2963
  }
2972
- var or = Bi ? (
2964
+ var ir = Hi ? (
2973
2965
  // Native
2974
2966
  function(t, r, n) {
2975
2967
  return t.startsWith(r, n);
@@ -2979,7 +2971,7 @@ var or = Bi ? (
2979
2971
  function(t, r, n) {
2980
2972
  return t.slice(n, n + r.length) === r;
2981
2973
  }
2982
- ), Lt = Ai ? String.fromCodePoint : (
2974
+ ), Lt = Bi ? String.fromCodePoint : (
2983
2975
  // IE11
2984
2976
  function() {
2985
2977
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2991,9 +2983,9 @@ var or = Bi ? (
2991
2983
  }
2992
2984
  return n;
2993
2985
  }
2994
- ), sr = (
2986
+ ), or = (
2995
2987
  // native
2996
- Ii ? Object.fromEntries : (
2988
+ Ai ? Object.fromEntries : (
2997
2989
  // Ponyfill
2998
2990
  function(t) {
2999
2991
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3003,7 +2995,7 @@ var or = Bi ? (
3003
2995
  return r;
3004
2996
  }
3005
2997
  )
3006
- ), zr = Ci ? (
2998
+ ), Vr = Ii ? (
3007
2999
  // Native
3008
3000
  function(t, r) {
3009
3001
  return t.codePointAt(r);
@@ -3017,7 +3009,7 @@ var or = Bi ? (
3017
3009
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3018
3010
  }
3019
3011
  }
3020
- ), Ui = Oi ? (
3012
+ ), Ri = Ci ? (
3021
3013
  // Native
3022
3014
  function(t) {
3023
3015
  return t.trimStart();
@@ -3025,9 +3017,9 @@ var or = Bi ? (
3025
3017
  ) : (
3026
3018
  // Ponyfill
3027
3019
  function(t) {
3028
- return t.replace(Ti, "");
3020
+ return t.replace(Pi, "");
3029
3021
  }
3030
- ), Fi = Li ? (
3022
+ ), Ui = Oi ? (
3031
3023
  // Native
3032
3024
  function(t) {
3033
3025
  return t.trimEnd();
@@ -3035,32 +3027,32 @@ var or = Bi ? (
3035
3027
  ) : (
3036
3028
  // Ponyfill
3037
3029
  function(t) {
3038
- return t.replace(Hi, "");
3030
+ return t.replace(Ti, "");
3039
3031
  }
3040
3032
  );
3041
- function Xr(e, t) {
3033
+ function zr(e, t) {
3042
3034
  return new RegExp(e, t);
3043
3035
  }
3044
3036
  var Mt;
3045
3037
  if (Ot) {
3046
- var ar = Xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3038
+ var sr = zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3047
3039
  Mt = function(t, r) {
3048
3040
  var n;
3049
- ar.lastIndex = r;
3050
- var i = ar.exec(t);
3041
+ sr.lastIndex = r;
3042
+ var i = sr.exec(t);
3051
3043
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3052
3044
  };
3053
3045
  } else
3054
3046
  Mt = function(t, r) {
3055
3047
  for (var n = []; ; ) {
3056
- var i = zr(t, r);
3057
- if (i === void 0 || Wr(i) || Gi(i))
3048
+ var i = Vr(t, r);
3049
+ if (i === void 0 || Xr(i) || $i(i))
3058
3050
  break;
3059
3051
  n.push(i), r += i >= 65536 ? 2 : 1;
3060
3052
  }
3061
3053
  return Lt.apply(void 0, n);
3062
3054
  };
3063
- var Di = (
3055
+ var Fi = (
3064
3056
  /** @class */
3065
3057
  function() {
3066
3058
  function e(t, r) {
@@ -3142,7 +3134,7 @@ var Di = (
3142
3134
  return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
3143
3135
  }, e.prototype.parseTagName = function() {
3144
3136
  var t = this.offset();
3145
- for (this.bump(); !this.isEOF() && $i(this.char()); )
3137
+ for (this.bump(); !this.isEOF() && ki(this.char()); )
3146
3138
  this.bump();
3147
3139
  return this.message.slice(t, this.offset());
3148
3140
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3171,7 +3163,7 @@ var Di = (
3171
3163
  };
3172
3164
  }, e.prototype.tryParseLeftAngleBracket = function() {
3173
3165
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3174
- !ki(this.peek() || 0)) ? (this.bump(), "<") : null;
3166
+ !Di(this.peek() || 0)) ? (this.bump(), "<") : null;
3175
3167
  }, e.prototype.tryParseQuote = function(t) {
3176
3168
  if (this.isEOF() || this.char() !== 39)
3177
3169
  return null;
@@ -3258,7 +3250,7 @@ var Di = (
3258
3250
  var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3259
3251
  if (f.err)
3260
3252
  return f;
3261
- var d = Fi(f.val);
3253
+ var d = Ui(f.val);
3262
3254
  if (d.length === 0)
3263
3255
  return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3264
3256
  var b = E(u, this.clonePosition());
@@ -3268,8 +3260,8 @@ var Di = (
3268
3260
  if (v.err)
3269
3261
  return v;
3270
3262
  var g = E(i, this.clonePosition());
3271
- if (l && or(l?.style, "::", 0)) {
3272
- var x = Ui(l.style.slice(2));
3263
+ if (l && ir(l?.style, "::", 0)) {
3264
+ var x = Ri(l.style.slice(2));
3273
3265
  if (a === "number") {
3274
3266
  var f = this.parseNumberSkeletonFromString(x, l.styleLocation);
3275
3267
  return f.err ? f : {
@@ -3280,12 +3272,12 @@ var Di = (
3280
3272
  if (x.length === 0)
3281
3273
  return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
3282
3274
  var M = x;
3283
- this.locale && (M = Si(x, this.locale));
3275
+ this.locale && (M = xi(x, this.locale));
3284
3276
  var d = {
3285
3277
  type: Ae.dateTime,
3286
3278
  pattern: M,
3287
3279
  location: l.styleLocation,
3288
- parsedOptions: this.shouldParseSkeletons ? bi(M) : {}
3280
+ parsedOptions: this.shouldParseSkeletons ? gi(M) : {}
3289
3281
  }, q = a === "date" ? T.date : T.time;
3290
3282
  return {
3291
3283
  val: { type: q, value: n, location: g, style: d },
@@ -3331,7 +3323,7 @@ var Di = (
3331
3323
  val: {
3332
3324
  type: T.select,
3333
3325
  value: n,
3334
- options: sr(J.val),
3326
+ options: or(J.val),
3335
3327
  location: B
3336
3328
  },
3337
3329
  err: null
@@ -3339,7 +3331,7 @@ var Di = (
3339
3331
  val: {
3340
3332
  type: T.plural,
3341
3333
  value: n,
3342
- options: sr(J.val),
3334
+ options: or(J.val),
3343
3335
  offset: G,
3344
3336
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3345
3337
  location: B
@@ -3390,7 +3382,7 @@ var Di = (
3390
3382
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3391
3383
  var n = [];
3392
3384
  try {
3393
- n = vi(t);
3385
+ n = yi(t);
3394
3386
  } catch {
3395
3387
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3396
3388
  }
@@ -3399,7 +3391,7 @@ var Di = (
3399
3391
  type: Ae.number,
3400
3392
  tokens: n,
3401
3393
  location: r,
3402
- parsedOptions: this.shouldParseSkeletons ? xi(n) : {}
3394
+ parsedOptions: this.shouldParseSkeletons ? wi(n) : {}
3403
3395
  },
3404
3396
  err: null
3405
3397
  };
@@ -3447,7 +3439,7 @@ var Di = (
3447
3439
  break;
3448
3440
  }
3449
3441
  var c = E(i, this.clonePosition());
3450
- return o ? (s *= n, Ni(s) ? { val: s, err: null } : this.error(r, c)) : this.error(t, c);
3442
+ return o ? (s *= n, Mi(s) ? { val: s, err: null } : this.error(r, c)) : this.error(t, c);
3451
3443
  }, e.prototype.offset = function() {
3452
3444
  return this.position.offset;
3453
3445
  }, e.prototype.isEOF = function() {
@@ -3462,7 +3454,7 @@ var Di = (
3462
3454
  var t = this.position.offset;
3463
3455
  if (t >= this.message.length)
3464
3456
  throw Error("out of bound");
3465
- var r = zr(this.message, t);
3457
+ var r = Vr(this.message, t);
3466
3458
  if (r === void 0)
3467
3459
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3468
3460
  return r;
@@ -3481,7 +3473,7 @@ var Di = (
3481
3473
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3482
3474
  }
3483
3475
  }, e.prototype.bumpIf = function(t) {
3484
- if (or(this.message, t, this.offset())) {
3476
+ if (ir(this.message, t, this.offset())) {
3485
3477
  for (var r = 0; r < t.length; r++)
3486
3478
  this.bump();
3487
3479
  return !0;
@@ -3503,7 +3495,7 @@ var Di = (
3503
3495
  break;
3504
3496
  }
3505
3497
  }, e.prototype.bumpSpace = function() {
3506
- for (; !this.isEOF() && Wr(this.char()); )
3498
+ for (; !this.isEOF() && Xr(this.char()); )
3507
3499
  this.bump();
3508
3500
  }, e.prototype.peek = function() {
3509
3501
  if (this.isEOF())
@@ -3516,29 +3508,29 @@ var Di = (
3516
3508
  function Nt(e) {
3517
3509
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3518
3510
  }
3519
- function ki(e) {
3511
+ function Di(e) {
3520
3512
  return Nt(e) || e === 47;
3521
3513
  }
3522
- function $i(e) {
3514
+ function ki(e) {
3523
3515
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3524
3516
  }
3525
- function Wr(e) {
3517
+ function Xr(e) {
3526
3518
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3527
3519
  }
3528
- function Gi(e) {
3520
+ function $i(e) {
3529
3521
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3530
3522
  }
3531
3523
  function Rt(e) {
3532
3524
  e.forEach(function(t) {
3533
- if (delete t.location, Ur(t) || Fr(t))
3525
+ if (delete t.location, Rr(t) || Ur(t))
3534
3526
  for (var r in t.options)
3535
3527
  delete t.options[r].location, Rt(t.options[r].value);
3536
- else Mr(t) && kr(t.style) || (Nr(t) || Rr(t)) && Ct(t.style) ? delete t.style.location : Dr(t) && Rt(t.children);
3528
+ else Lr(t) && Dr(t.style) || (Mr(t) || Nr(t)) && Ct(t.style) ? delete t.style.location : Fr(t) && Rt(t.children);
3537
3529
  });
3538
3530
  }
3539
- function ji(e, t) {
3531
+ function Gi(e, t) {
3540
3532
  t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3541
- var r = new Di(e, t).parse();
3533
+ var r = new Fi(e, t).parse();
3542
3534
  if (r.err) {
3543
3535
  var n = SyntaxError(_[r.err.kind]);
3544
3536
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3561,7 +3553,7 @@ var mt = (
3561
3553
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3562
3554
  }, t;
3563
3555
  }(Error)
3564
- ), lr = (
3556
+ ), ar = (
3565
3557
  /** @class */
3566
3558
  function(e) {
3567
3559
  le(t, e);
@@ -3570,7 +3562,7 @@ var mt = (
3570
3562
  }
3571
3563
  return t;
3572
3564
  }(mt)
3573
- ), Vi = (
3565
+ ), ji = (
3574
3566
  /** @class */
3575
3567
  function(e) {
3576
3568
  le(t, e);
@@ -3579,7 +3571,7 @@ var mt = (
3579
3571
  }
3580
3572
  return t;
3581
3573
  }(mt)
3582
- ), zi = (
3574
+ ), Vi = (
3583
3575
  /** @class */
3584
3576
  function(e) {
3585
3577
  le(t, e);
@@ -3592,17 +3584,17 @@ var mt = (
3592
3584
  (function(e) {
3593
3585
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3594
3586
  })(X || (X = {}));
3595
- function Xi(e) {
3587
+ function zi(e) {
3596
3588
  return e.length < 2 ? e : e.reduce(function(t, r) {
3597
3589
  var n = t[t.length - 1];
3598
3590
  return !n || n.type !== X.literal || r.type !== X.literal ? t.push(r) : n.value += r.value, t;
3599
3591
  }, []);
3600
3592
  }
3601
- function Wi(e) {
3593
+ function Xi(e) {
3602
3594
  return typeof e == "function";
3603
3595
  }
3604
3596
  function at(e, t, r, n, i, o, s) {
3605
- if (e.length === 1 && tr(e[0]))
3597
+ if (e.length === 1 && er(e[0]))
3606
3598
  return [
3607
3599
  {
3608
3600
  type: X.literal,
@@ -3611,14 +3603,14 @@ function at(e, t, r, n, i, o, s) {
3611
3603
  ];
3612
3604
  for (var a = [], c = 0, l = e; c < l.length; c++) {
3613
3605
  var u = l[c];
3614
- if (tr(u)) {
3606
+ if (er(u)) {
3615
3607
  a.push({
3616
3608
  type: X.literal,
3617
3609
  value: u.value
3618
3610
  });
3619
3611
  continue;
3620
3612
  }
3621
- if (pi(u)) {
3613
+ if (mi(u)) {
3622
3614
  typeof o == "number" && a.push({
3623
3615
  type: X.literal,
3624
3616
  value: r.getNumberFormat(t).format(o)
@@ -3627,16 +3619,16 @@ function at(e, t, r, n, i, o, s) {
3627
3619
  }
3628
3620
  var f = u.value;
3629
3621
  if (!(i && f in i))
3630
- throw new zi(f, s);
3622
+ throw new Vi(f, s);
3631
3623
  var d = i[f];
3632
- if (mi(u)) {
3624
+ if (di(u)) {
3633
3625
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3634
3626
  type: typeof d == "string" ? X.literal : X.object,
3635
3627
  value: d
3636
3628
  });
3637
3629
  continue;
3638
3630
  }
3639
- if (Nr(u)) {
3631
+ if (Mr(u)) {
3640
3632
  var b = typeof u.style == "string" ? n.date[u.style] : Ct(u.style) ? u.style.parsedOptions : void 0;
3641
3633
  a.push({
3642
3634
  type: X.literal,
@@ -3644,7 +3636,7 @@ function at(e, t, r, n, i, o, s) {
3644
3636
  });
3645
3637
  continue;
3646
3638
  }
3647
- if (Rr(u)) {
3639
+ if (Nr(u)) {
3648
3640
  var b = typeof u.style == "string" ? n.time[u.style] : Ct(u.style) ? u.style.parsedOptions : n.time.medium;
3649
3641
  a.push({
3650
3642
  type: X.literal,
@@ -3652,18 +3644,18 @@ function at(e, t, r, n, i, o, s) {
3652
3644
  });
3653
3645
  continue;
3654
3646
  }
3655
- if (Mr(u)) {
3656
- var b = typeof u.style == "string" ? n.number[u.style] : kr(u.style) ? u.style.parsedOptions : void 0;
3647
+ if (Lr(u)) {
3648
+ var b = typeof u.style == "string" ? n.number[u.style] : Dr(u.style) ? u.style.parsedOptions : void 0;
3657
3649
  b && b.scale && (d = d * (b.scale || 1)), a.push({
3658
3650
  type: X.literal,
3659
3651
  value: r.getNumberFormat(t, b).format(d)
3660
3652
  });
3661
3653
  continue;
3662
3654
  }
3663
- if (Dr(u)) {
3655
+ if (Fr(u)) {
3664
3656
  var v = u.children, g = u.value, x = i[g];
3665
- if (!Wi(x))
3666
- throw new Vi(g, "function", s);
3657
+ if (!Xi(x))
3658
+ throw new ji(g, "function", s);
3667
3659
  var M = at(v, t, r, n, i, o), q = x(M.map(function(G) {
3668
3660
  return G.value;
3669
3661
  }));
@@ -3674,14 +3666,14 @@ function at(e, t, r, n, i, o, s) {
3674
3666
  };
3675
3667
  }));
3676
3668
  }
3677
- if (Ur(u)) {
3669
+ if (Rr(u)) {
3678
3670
  var H = u.options[d] || u.options.other;
3679
3671
  if (!H)
3680
- throw new lr(u.value, d, Object.keys(u.options), s);
3672
+ throw new ar(u.value, d, Object.keys(u.options), s);
3681
3673
  a.push.apply(a, at(H.value, t, r, n, i));
3682
3674
  continue;
3683
3675
  }
3684
- if (Fr(u)) {
3676
+ if (Ur(u)) {
3685
3677
  var H = u.options["=".concat(d)];
3686
3678
  if (!H) {
3687
3679
  if (!Intl.PluralRules)
@@ -3692,21 +3684,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3692
3684
  H = u.options[R] || u.options.other;
3693
3685
  }
3694
3686
  if (!H)
3695
- throw new lr(u.value, d, Object.keys(u.options), s);
3687
+ throw new ar(u.value, d, Object.keys(u.options), s);
3696
3688
  a.push.apply(a, at(H.value, t, r, n, i, d - (u.offset || 0)));
3697
3689
  continue;
3698
3690
  }
3699
3691
  }
3700
- return Xi(a);
3692
+ return zi(a);
3701
3693
  }
3702
- function Zi(e, t) {
3694
+ function Wi(e, t) {
3703
3695
  return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3704
3696
  return r[n] = w(w({}, e[n]), t[n] || {}), r;
3705
3697
  }, {})) : e;
3706
3698
  }
3707
- function qi(e, t) {
3699
+ function Zi(e, t) {
3708
3700
  return t ? Object.keys(e).reduce(function(r, n) {
3709
- return r[n] = Zi(e[n], t[n]), r;
3701
+ return r[n] = Wi(e[n], t[n]), r;
3710
3702
  }, w({}, e)) : e;
3711
3703
  }
3712
3704
  function wt(e) {
@@ -3723,7 +3715,7 @@ function wt(e) {
3723
3715
  }
3724
3716
  };
3725
3717
  }
3726
- function Ji(e) {
3718
+ function qi(e) {
3727
3719
  return e === void 0 && (e = {
3728
3720
  number: {},
3729
3721
  dateTime: {},
@@ -3755,7 +3747,7 @@ function Ji(e) {
3755
3747
  })
3756
3748
  };
3757
3749
  }
3758
- var Qi = (
3750
+ var Ji = (
3759
3751
  /** @class */
3760
3752
  function() {
3761
3753
  function e(t, r, n, i) {
@@ -3787,13 +3779,13 @@ var Qi = (
3787
3779
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3788
3780
  var s = i || {};
3789
3781
  s.formatters;
3790
- var a = An(s, ["formatters"]);
3782
+ var a = Bn(s, ["formatters"]);
3791
3783
  this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
3792
3784
  } else
3793
3785
  this.ast = t;
3794
3786
  if (!Array.isArray(this.ast))
3795
3787
  throw new TypeError("A message must be provided as a String or AST.");
3796
- this.formats = qi(e.formats, n), this.formatters = i && i.formatters || Ji(this.formatterCache);
3788
+ this.formats = Zi(e.formats, n), this.formatters = i && i.formatters || qi(this.formatterCache);
3797
3789
  }
3798
3790
  return Object.defineProperty(e, "defaultLocale", {
3799
3791
  get: function() {
@@ -3806,7 +3798,7 @@ var Qi = (
3806
3798
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3807
3799
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3808
3800
  }
3809
- }, e.__parse = ji, e.formats = {
3801
+ }, e.__parse = Gi, e.formats = {
3810
3802
  number: {
3811
3803
  integer: {
3812
3804
  maximumFractionDigits: 0
@@ -3867,7 +3859,7 @@ var Qi = (
3867
3859
  }, e;
3868
3860
  }()
3869
3861
  );
3870
- function Yi(e, t) {
3862
+ function Qi(e, t) {
3871
3863
  if (t == null)
3872
3864
  return;
3873
3865
  if (t in e)
@@ -3888,60 +3880,60 @@ function Yi(e, t) {
3888
3880
  n = void 0;
3889
3881
  return n;
3890
3882
  }
3891
- const ce = {}, Ki = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), Zr = (e, t) => {
3883
+ const ce = {}, Yi = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), Wr = (e, t) => {
3892
3884
  if (t == null)
3893
3885
  return;
3894
3886
  if (t in ce && e in ce[t])
3895
3887
  return ce[t][e];
3896
3888
  const r = pt(t);
3897
3889
  for (let n = 0; n < r.length; n++) {
3898
- const i = r[n], o = to(i, e);
3890
+ const i = r[n], o = eo(i, e);
3899
3891
  if (o)
3900
- return Ki(e, t, o);
3892
+ return Yi(e, t, o);
3901
3893
  }
3902
3894
  };
3903
- let $t;
3895
+ let kt;
3904
3896
  const Me = dt({});
3905
- function eo(e) {
3906
- return $t[e] || null;
3897
+ function Ki(e) {
3898
+ return kt[e] || null;
3907
3899
  }
3908
- function qr(e) {
3909
- return e in $t;
3900
+ function Zr(e) {
3901
+ return e in kt;
3910
3902
  }
3911
- function to(e, t) {
3912
- if (!qr(e))
3903
+ function eo(e, t) {
3904
+ if (!Zr(e))
3913
3905
  return null;
3914
- const r = eo(e);
3915
- return Yi(r, t);
3906
+ const r = Ki(e);
3907
+ return Qi(r, t);
3916
3908
  }
3917
- function ro(e) {
3909
+ function to(e) {
3918
3910
  if (e == null)
3919
3911
  return;
3920
3912
  const t = pt(e);
3921
3913
  for (let r = 0; r < t.length; r++) {
3922
3914
  const n = t[r];
3923
- if (qr(n))
3915
+ if (Zr(n))
3924
3916
  return n;
3925
3917
  }
3926
3918
  }
3927
- function Jr(e, ...t) {
3928
- delete ce[e], Me.update((r) => (r[e] = si.all([r[e] || {}, ...t]), r));
3919
+ function qr(e, ...t) {
3920
+ delete ce[e], Me.update((r) => (r[e] = oi.all([r[e] || {}, ...t]), r));
3929
3921
  }
3930
3922
  Le(
3931
3923
  [Me],
3932
3924
  ([e]) => Object.keys(e)
3933
3925
  );
3934
- Me.subscribe((e) => $t = e);
3926
+ Me.subscribe((e) => kt = e);
3935
3927
  const lt = {};
3936
- function no(e, t) {
3928
+ function ro(e, t) {
3937
3929
  lt[e].delete(t), lt[e].size === 0 && delete lt[e];
3938
3930
  }
3939
- function Qr(e) {
3931
+ function Jr(e) {
3940
3932
  return lt[e];
3941
3933
  }
3942
- function io(e) {
3934
+ function no(e) {
3943
3935
  return pt(e).map((t) => {
3944
- const r = Qr(t);
3936
+ const r = Jr(t);
3945
3937
  return [t, r ? [...r] : []];
3946
3938
  }).filter(([, t]) => t.length > 0);
3947
3939
  }
@@ -3949,31 +3941,31 @@ function Ut(e) {
3949
3941
  return e == null ? !1 : pt(e).some(
3950
3942
  (t) => {
3951
3943
  var r;
3952
- return (r = Qr(t)) == null ? void 0 : r.size;
3944
+ return (r = Jr(t)) == null ? void 0 : r.size;
3953
3945
  }
3954
3946
  );
3955
3947
  }
3956
- function oo(e, t) {
3948
+ function io(e, t) {
3957
3949
  return Promise.all(
3958
- t.map((n) => (no(e, n), n().then((i) => i.default || i)))
3959
- ).then((n) => Jr(e, ...n));
3950
+ t.map((n) => (ro(e, n), n().then((i) => i.default || i)))
3951
+ ).then((n) => qr(e, ...n));
3960
3952
  }
3961
3953
  const Ve = {};
3962
- function Yr(e) {
3954
+ function Qr(e) {
3963
3955
  if (!Ut(e))
3964
3956
  return e in Ve ? Ve[e] : Promise.resolve();
3965
- const t = io(e);
3957
+ const t = no(e);
3966
3958
  return Ve[e] = Promise.all(
3967
3959
  t.map(
3968
- ([r, n]) => oo(r, n)
3960
+ ([r, n]) => io(r, n)
3969
3961
  )
3970
3962
  ).then(() => {
3971
3963
  if (Ut(e))
3972
- return Yr(e);
3964
+ return Qr(e);
3973
3965
  delete Ve[e];
3974
3966
  }), Ve[e];
3975
3967
  }
3976
- const so = {
3968
+ const oo = {
3977
3969
  number: {
3978
3970
  scientific: { notation: "scientific" },
3979
3971
  engineering: { notation: "engineering" },
@@ -4002,34 +3994,34 @@ const so = {
4002
3994
  timeZoneName: "short"
4003
3995
  }
4004
3996
  }
4005
- }, ao = {
3997
+ }, so = {
4006
3998
  fallbackLocale: null,
4007
3999
  loadingDelay: 200,
4008
- formats: so,
4000
+ formats: oo,
4009
4001
  warnOnMissingMessages: !0,
4010
4002
  handleMissingMessage: void 0,
4011
4003
  ignoreTag: !0
4012
- }, lo = ao;
4004
+ }, ao = so;
4013
4005
  function Ce() {
4014
- return lo;
4006
+ return ao;
4015
4007
  }
4016
4008
  const xt = dt(!1);
4017
- var uo = Object.defineProperty, co = Object.defineProperties, ho = Object.getOwnPropertyDescriptors, ur = Object.getOwnPropertySymbols, fo = Object.prototype.hasOwnProperty, mo = Object.prototype.propertyIsEnumerable, cr = (e, t, r) => t in e ? uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, po = (e, t) => {
4018
- for (var r in t)
4019
- fo.call(t, r) && cr(e, r, t[r]);
4020
- if (ur)
4021
- for (var r of ur(t))
4022
- mo.call(t, r) && cr(e, r, t[r]);
4009
+ var lo = Object.defineProperty, uo = Object.defineProperties, co = Object.getOwnPropertyDescriptors, lr = Object.getOwnPropertySymbols, ho = Object.prototype.hasOwnProperty, fo = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mo = (e, t) => {
4010
+ for (var r in t || (t = {}))
4011
+ ho.call(t, r) && ur(e, r, t[r]);
4012
+ if (lr)
4013
+ for (var r of lr(t))
4014
+ fo.call(t, r) && ur(e, r, t[r]);
4023
4015
  return e;
4024
- }, go = (e, t) => co(e, ho(t));
4016
+ }, po = (e, t) => uo(e, co(t));
4025
4017
  let Ft;
4026
4018
  const ct = dt(null);
4027
- function hr(e) {
4019
+ function cr(e) {
4028
4020
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4029
4021
  }
4030
4022
  function pt(e, t = Ce().fallbackLocale) {
4031
- const r = hr(e);
4032
- return t ? [.../* @__PURE__ */ new Set([...r, ...hr(t)])] : r;
4023
+ const r = cr(e);
4024
+ return t ? [.../* @__PURE__ */ new Set([...r, ...cr(t)])] : r;
4033
4025
  }
4034
4026
  function ge() {
4035
4027
  return Ft ?? void 0;
@@ -4037,22 +4029,22 @@ function ge() {
4037
4029
  ct.subscribe((e) => {
4038
4030
  Ft = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4039
4031
  });
4040
- const bo = (e) => {
4041
- if (e && ro(e) && Ut(e)) {
4032
+ const go = (e) => {
4033
+ if (e && to(e) && Ut(e)) {
4042
4034
  const { loadingDelay: t } = Ce();
4043
4035
  let r;
4044
4036
  return typeof window < "u" && ge() != null && t ? r = window.setTimeout(
4045
4037
  () => xt.set(!0),
4046
4038
  t
4047
- ) : xt.set(!0), Yr(e).then(() => {
4039
+ ) : xt.set(!0), Qr(e).then(() => {
4048
4040
  ct.set(e);
4049
4041
  }).finally(() => {
4050
4042
  clearTimeout(r), xt.set(!1);
4051
4043
  });
4052
4044
  }
4053
4045
  return ct.set(e);
4054
- }, he = go(po({}, ct), {
4055
- set: bo
4046
+ }, he = po(mo({}, ct), {
4047
+ set: go
4056
4048
  }), gt = (e) => {
4057
4049
  const t = /* @__PURE__ */ Object.create(null);
4058
4050
  return (n) => {
@@ -4060,20 +4052,20 @@ const bo = (e) => {
4060
4052
  return i in t ? t[i] : t[i] = e(n);
4061
4053
  };
4062
4054
  };
4063
- var yo = Object.defineProperty, ht = Object.getOwnPropertySymbols, Kr = Object.prototype.hasOwnProperty, en = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? yo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gt = (e, t) => {
4055
+ var bo = Object.defineProperty, ht = Object.getOwnPropertySymbols, Yr = Object.prototype.hasOwnProperty, Kr = Object.prototype.propertyIsEnumerable, hr = (e, t, r) => t in e ? bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $t = (e, t) => {
4064
4056
  for (var r in t || (t = {}))
4065
- Kr.call(t, r) && fr(e, r, t[r]);
4057
+ Yr.call(t, r) && hr(e, r, t[r]);
4066
4058
  if (ht)
4067
4059
  for (var r of ht(t))
4068
- en.call(t, r) && fr(e, r, t[r]);
4060
+ Kr.call(t, r) && hr(e, r, t[r]);
4069
4061
  return e;
4070
4062
  }, Ne = (e, t) => {
4071
4063
  var r = {};
4072
4064
  for (var n in e)
4073
- Kr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4065
+ Yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4074
4066
  if (e != null && ht)
4075
4067
  for (var n of ht(e))
4076
- t.indexOf(n) < 0 && en.call(e, n) && (r[n] = e[n]);
4068
+ t.indexOf(n) < 0 && Kr.call(e, n) && (r[n] = e[n]);
4077
4069
  return r;
4078
4070
  };
4079
4071
  const Ze = (e, t) => {
@@ -4081,21 +4073,21 @@ const Ze = (e, t) => {
4081
4073
  if (e in r && t in r[e])
4082
4074
  return r[e][t];
4083
4075
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4084
- }, vo = gt(
4076
+ }, yo = gt(
4085
4077
  (e) => {
4086
4078
  var t = e, { locale: r, format: n } = t, i = Ne(t, ["locale", "format"]);
4087
4079
  if (r == null)
4088
4080
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4089
4081
  return n && (i = Ze("number", n)), new Intl.NumberFormat(r, i);
4090
4082
  }
4091
- ), _o = gt(
4083
+ ), vo = gt(
4092
4084
  (e) => {
4093
4085
  var t = e, { locale: r, format: n } = t, i = Ne(t, ["locale", "format"]);
4094
4086
  if (r == null)
4095
4087
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4096
4088
  return n ? i = Ze("date", n) : Object.keys(i).length === 0 && (i = Ze("date", "short")), new Intl.DateTimeFormat(r, i);
4097
4089
  }
4098
- ), Eo = gt(
4090
+ ), _o = gt(
4099
4091
  (e) => {
4100
4092
  var t = e, { locale: r, format: n } = t, i = Ne(t, ["locale", "format"]);
4101
4093
  if (r == null)
@@ -4104,33 +4096,33 @@ const Ze = (e, t) => {
4104
4096
  );
4105
4097
  return n ? i = Ze("time", n) : Object.keys(i).length === 0 && (i = Ze("time", "short")), new Intl.DateTimeFormat(r, i);
4106
4098
  }
4107
- ), wo = (e = {}) => {
4099
+ ), Eo = (e = {}) => {
4108
4100
  var t = e, {
4109
4101
  locale: r = ge()
4110
4102
  } = t, n = Ne(t, [
4111
4103
  "locale"
4112
4104
  ]);
4113
- return vo(Gt({ locale: r }, n));
4114
- }, xo = (e = {}) => {
4105
+ return yo($t({ locale: r }, n));
4106
+ }, wo = (e = {}) => {
4115
4107
  var t = e, {
4116
4108
  locale: r = ge()
4117
4109
  } = t, n = Ne(t, [
4118
4110
  "locale"
4119
4111
  ]);
4120
- return _o(Gt({ locale: r }, n));
4121
- }, So = (e = {}) => {
4112
+ return vo($t({ locale: r }, n));
4113
+ }, xo = (e = {}) => {
4122
4114
  var t = e, {
4123
4115
  locale: r = ge()
4124
4116
  } = t, n = Ne(t, [
4125
4117
  "locale"
4126
4118
  ]);
4127
- return Eo(Gt({ locale: r }, n));
4128
- }, Po = gt(
4119
+ return _o($t({ locale: r }, n));
4120
+ }, So = gt(
4129
4121
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4130
- (e, t = ge()) => new Qi(e, t, Ce().formats, {
4122
+ (e, t = ge()) => new Ji(e, t, Ce().formats, {
4131
4123
  ignoreTag: Ce().ignoreTag
4132
4124
  })
4133
- ), To = (e, t = {}) => {
4125
+ ), Po = (e, t = {}) => {
4134
4126
  var r, n, i, o;
4135
4127
  let s = t;
4136
4128
  typeof e == "object" && (s = e, e = s.id);
@@ -4143,7 +4135,7 @@ const Ze = (e, t) => {
4143
4135
  throw new Error(
4144
4136
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4145
4137
  );
4146
- let u = Zr(e, c);
4138
+ let u = Wr(e, c);
4147
4139
  if (!u)
4148
4140
  u = (o = (i = (n = (r = Ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4149
4141
  else if (typeof u != "string")
@@ -4154,7 +4146,7 @@ const Ze = (e, t) => {
4154
4146
  return u;
4155
4147
  let f = u;
4156
4148
  try {
4157
- f = Po(u, c).format(a);
4149
+ f = So(u, c).format(a);
4158
4150
  } catch (d) {
4159
4151
  d instanceof Error && console.warn(
4160
4152
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4162,13 +4154,13 @@ const Ze = (e, t) => {
4162
4154
  );
4163
4155
  }
4164
4156
  return f;
4165
- }, Ho = (e, t) => So(t).format(e), Bo = (e, t) => xo(t).format(e), Ao = (e, t) => wo(t).format(e), Io = (e, t = ge()) => Zr(e, t), Co = Le([he, Me], () => To);
4157
+ }, To = (e, t) => xo(t).format(e), Ho = (e, t) => wo(t).format(e), Bo = (e, t) => Eo(t).format(e), Ao = (e, t = ge()) => Wr(e, t), Io = Le([he, Me], () => Po);
4158
+ Le([he], () => To);
4166
4159
  Le([he], () => Ho);
4167
4160
  Le([he], () => Bo);
4168
- Le([he], () => Ao);
4169
- Le([he, Me], () => Io);
4170
- window.emWidgets = { topic: jn };
4171
- const Oo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4161
+ Le([he, Me], () => Ao);
4162
+ window.emWidgets = { topic: Gn };
4163
+ const Co = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4172
4164
  if (typeof window < "u") {
4173
4165
  let e = function(t) {
4174
4166
  return function(...r) {
@@ -4181,22 +4173,22 @@ if (typeof window < "u") {
4181
4173
  }
4182
4174
  };
4183
4175
  };
4184
- customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-COg-pr9r.js").then(({ default: t }) => {
4176
+ customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-BTKpLiv4.js").then(({ default: t }) => {
4185
4177
  !customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
4186
4178
  });
4187
4179
  }
4188
- function Lo({ withLocale: e, translations: t }) {
4180
+ function Oo({ withLocale: e, translations: t }) {
4189
4181
  he.subscribe((r) => {
4190
4182
  r == null && (Me.set(t), he.set(e));
4191
4183
  });
4192
4184
  }
4193
- function dr(e, t) {
4194
- Jr(e, t);
4185
+ function fr(e, t) {
4186
+ qr(e, t);
4195
4187
  }
4196
- function Mo(e) {
4188
+ function Lo(e) {
4197
4189
  he.set(e);
4198
4190
  }
4199
- const mr = {
4191
+ const dr = {
4200
4192
  en: {
4201
4193
  loginTitle: "Welcome",
4202
4194
  loginSubtitle: "Don't have an account yet?",
@@ -4340,15 +4332,15 @@ const mr = {
4340
4332
  loginForgotPassword: "I forgot my password",
4341
4333
  successMessage: "Login successful"
4342
4334
  }
4343
- }, { document: pr } = an;
4344
- function No(e) {
4345
- ln(e, "svelte-b3dr9t", '.grecaptcha-badge{opacity:0}.PlayerLoginFormWrapper{height:100%}.FormContainer{width:100%}.FormLogin{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));padding:50px}.FormHeaderTitle{color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A));font-size:20px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));font-size:14px;font-weight:300;margin:5px 0 0 0}.FormRegisterCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer,.CaptchaContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;position:relative}.UserContainer label,.PasswordContainer label,.CaptchaContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserContainer input,.PasswordContainer input,.CaptchaContainer input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.CaptchaContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.PasswordContainer input{padding:5px 30px 5px 15px}.TogglePasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.SignInButton{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer}.SignInButton[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}.ForgotPasswordButton{border:0;background:transparent;font-size:14px;font-weight:300;color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:40px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;top:55px;padding-top:5px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormMobileContainer{height:100%}.FormMobileContainer .FormLogin{padding:40px 20px}.FormMobileContainer .SignInButton,.FormMobileContainer .UserContainer input,.FormMobileContainer .PasswordContainer input,.FormMobileContainer .CaptchaContainer{max-width:unset}.ModalLoaderWrapper{display:flex;height:100%;align-items:center}.ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:Loader 1.2s linear infinite}input::-ms-reveal,input::-ms-clear{display:none}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4335
+ }, { document: mr } = sn;
4336
+ function Mo(e) {
4337
+ an(e, "svelte-b3dr9t", '.grecaptcha-badge{opacity:0}.PlayerLoginFormWrapper{height:100%}.FormContainer{width:100%}.FormLogin{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));padding:50px}.FormHeaderTitle{color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A));font-size:20px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));font-size:14px;font-weight:300;margin:5px 0 0 0}.FormRegisterCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer,.CaptchaContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;position:relative}.UserContainer label,.PasswordContainer label,.CaptchaContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserContainer input,.PasswordContainer input,.CaptchaContainer input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.CaptchaContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.PasswordContainer input{padding:5px 30px 5px 15px}.TogglePasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.SignInButton{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer}.SignInButton[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}.ForgotPasswordButton{border:0;background:transparent;font-size:14px;font-weight:300;color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:40px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;top:55px;padding-top:5px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormMobileContainer{height:100%}.FormMobileContainer .FormLogin{padding:40px 20px}.FormMobileContainer .SignInButton,.FormMobileContainer .UserContainer input,.FormMobileContainer .PasswordContainer input,.FormMobileContainer .CaptchaContainer{max-width:unset}.ModalLoaderWrapper{display:flex;height:100%;align-items:center}.ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:Loader 1.2s linear infinite}input::-ms-reveal,input::-ms-clear{display:none}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4346
4338
  }
4347
- function gr(e) {
4339
+ function pr(e) {
4348
4340
  let t, r;
4349
4341
  return {
4350
4342
  c() {
4351
- t = S("script"), zt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4343
+ t = S("script"), Vt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4352
4344
  e[1]) || h(t, "src", r), t.async = !0, t.defer = !0;
4353
4345
  },
4354
4346
  m(n, i) {
@@ -4356,7 +4348,7 @@ function gr(e) {
4356
4348
  },
4357
4349
  p(n, i) {
4358
4350
  i[0] & /*captchakey*/
4359
- 2 && !zt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4351
+ 2 && !Vt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4360
4352
  n[1]) && h(t, "src", r);
4361
4353
  },
4362
4354
  d(n) {
@@ -4364,12 +4356,12 @@ function gr(e) {
4364
4356
  }
4365
4357
  };
4366
4358
  }
4367
- function Ro(e) {
4359
+ function No(e) {
4368
4360
  let t, r, n;
4369
4361
  function i(a, c) {
4370
4362
  return (
4371
4363
  /*startSmsValidation*/
4372
- a[20] ? Do : Fo
4364
+ a[20] ? Fo : Uo
4373
4365
  );
4374
4366
  }
4375
4367
  let o = i(e), s = o(e);
@@ -4391,7 +4383,7 @@ function Ro(e) {
4391
4383
  }
4392
4384
  };
4393
4385
  }
4394
- function Uo(e) {
4386
+ function Ro(e) {
4395
4387
  let t;
4396
4388
  return {
4397
4389
  c() {
@@ -4406,7 +4398,7 @@ function Uo(e) {
4406
4398
  }
4407
4399
  };
4408
4400
  }
4409
- function Fo(e) {
4401
+ function Uo(e) {
4410
4402
  let t, r, n = (
4411
4403
  /*$_*/
4412
4404
  e[21]("loginTitle") + ""
@@ -4430,25 +4422,25 @@ function Fo(e) {
4430
4422
  e[21]("loginForgotPassword") + ""
4431
4423
  ), $e, Ge, Qe, U = (
4432
4424
  /*invalidName*/
4433
- e[13] && br(e)
4425
+ e[13] && gr(e)
4434
4426
  );
4435
4427
  function Ye(y, P) {
4436
4428
  return (
4437
4429
  /*isPasswordVisible*/
4438
- y[18] ? $o : ko
4430
+ y[18] ? ko : Do
4439
4431
  );
4440
4432
  }
4441
4433
  let we = Ye(e), Q = we(e), F = (
4442
4434
  /*invalidPassword*/
4443
4435
  e[14] && /*simplepasswordvalidation*/
4444
- e[2] !== "true" && yr(e)
4436
+ e[2] !== "true" && br(e)
4445
4437
  ), D = (
4446
4438
  /*invalidPassword*/
4447
4439
  e[14] && /*simplepasswordvalidation*/
4448
- e[2] === "true" && vr(e)
4440
+ e[2] === "true" && yr(e)
4449
4441
  ), k = (
4450
4442
  /*errorMessage*/
4451
- e[15] && _r(e)
4443
+ e[15] && vr(e)
4452
4444
  );
4453
4445
  return {
4454
4446
  c() {
@@ -4531,7 +4523,7 @@ function Fo(e) {
4531
4523
  /*userValue*/
4532
4524
  y[11]
4533
4525
  ), /*invalidName*/
4534
- y[13] ? U ? U.p(y, P) : (U = br(y), U.c(), U.m(x, null)) : U && (U.d(1), U = null), P[0] & /*invalidName*/
4526
+ y[13] ? U ? U.p(y, P) : (U = gr(y), U.c(), U.m(x, null)) : U && (U.d(1), U = null), P[0] & /*invalidName*/
4535
4527
  8192 && ne !== (ne = "UserContainer " + /*invalidName*/
4536
4528
  (y[13] ? "InvalidField" : "")) && h(x, "class", ne), P[0] & /*$_*/
4537
4529
  2097152 && be !== (be = /*$_*/
@@ -4545,12 +4537,12 @@ function Fo(e) {
4545
4537
  y[12]
4546
4538
  ), we === (we = Ye(y)) && Q ? Q.p(y, P) : (Q.d(1), Q = we(y), Q && (Q.c(), Q.m(A, ve))), /*invalidPassword*/
4547
4539
  y[14] && /*simplepasswordvalidation*/
4548
- y[2] !== "true" ? F ? F.p(y, P) : (F = yr(y), F.c(), F.m(A, _e)) : F && (F.d(1), F = null), /*invalidPassword*/
4540
+ y[2] !== "true" ? F ? F.p(y, P) : (F = br(y), F.c(), F.m(A, _e)) : F && (F.d(1), F = null), /*invalidPassword*/
4549
4541
  y[14] && /*simplepasswordvalidation*/
4550
- y[2] === "true" ? D ? D.p(y, P) : (D = vr(y), D.c(), D.m(A, null)) : D && (D.d(1), D = null), P[0] & /*invalidPassword*/
4542
+ y[2] === "true" ? D ? D.p(y, P) : (D = yr(y), D.c(), D.m(A, null)) : D && (D.d(1), D = null), P[0] & /*invalidPassword*/
4551
4543
  16384 && de !== (de = "PasswordContainer " + /*invalidPassword*/
4552
4544
  (y[14] ? "InvalidField" : "")) && h(A, "class", de), /*errorMessage*/
4553
- y[15] ? k ? k.p(y, P) : (k = _r(y), k.c(), k.m(g, me)) : k && (k.d(1), k = null), P[0] & /*$_*/
4545
+ y[15] ? k ? k.p(y, P) : (k = vr(y), k.c(), k.m(g, me)) : k && (k.d(1), k = null), P[0] & /*$_*/
4554
4546
  2097152 && pe !== (pe = /*$_*/
4555
4547
  y[21]("loginButton") + "") && te(ke, pe), P[0] & /*isFormDataInvalid*/
4556
4548
  524288 && (K.disabled = /*isFormDataInvalid*/
@@ -4563,7 +4555,7 @@ function Fo(e) {
4563
4555
  }
4564
4556
  };
4565
4557
  }
4566
- function Do(e) {
4558
+ function Fo(e) {
4567
4559
  let t;
4568
4560
  return {
4569
4561
  c() {
@@ -4646,7 +4638,7 @@ function Do(e) {
4646
4638
  }
4647
4639
  };
4648
4640
  }
4649
- function br(e) {
4641
+ function gr(e) {
4650
4642
  let t, r = (
4651
4643
  /*$_*/
4652
4644
  e[21]("loginUsernameError") + ""
@@ -4668,7 +4660,7 @@ function br(e) {
4668
4660
  }
4669
4661
  };
4670
4662
  }
4671
- function ko(e) {
4663
+ function Do(e) {
4672
4664
  let t, r, n, i, o, s, a, c, l;
4673
4665
  return {
4674
4666
  c() {
@@ -4688,7 +4680,7 @@ function ko(e) {
4688
4680
  }
4689
4681
  };
4690
4682
  }
4691
- function $o(e) {
4683
+ function ko(e) {
4692
4684
  let t, r, n, i, o, s, a, c, l, u, f, d, b, v, g;
4693
4685
  return {
4694
4686
  c() {
@@ -4708,7 +4700,7 @@ function $o(e) {
4708
4700
  }
4709
4701
  };
4710
4702
  }
4711
- function yr(e) {
4703
+ function br(e) {
4712
4704
  let t, r = (
4713
4705
  /*$_*/
4714
4706
  e[21]("loginPasswordError") + ""
@@ -4730,7 +4722,7 @@ function yr(e) {
4730
4722
  }
4731
4723
  };
4732
4724
  }
4733
- function vr(e) {
4725
+ function yr(e) {
4734
4726
  let t, r = (
4735
4727
  /*$_*/
4736
4728
  e[21]("loginSimplePasswordError") + ""
@@ -4752,7 +4744,7 @@ function vr(e) {
4752
4744
  }
4753
4745
  };
4754
4746
  }
4755
- function _r(e) {
4747
+ function vr(e) {
4756
4748
  let t, r;
4757
4749
  return {
4758
4750
  c() {
@@ -4777,21 +4769,21 @@ function _r(e) {
4777
4769
  }
4778
4770
  };
4779
4771
  }
4780
- function Go(e) {
4772
+ function $o(e) {
4781
4773
  let t, r, n, i, o, s = (
4782
4774
  /*captchakey*/
4783
- e[1] && gr(e)
4775
+ e[1] && pr(e)
4784
4776
  );
4785
4777
  function a(u, f) {
4786
4778
  return (
4787
4779
  /*isLoading*/
4788
- u[16] ? Uo : Ro
4780
+ u[16] ? Ro : No
4789
4781
  );
4790
4782
  }
4791
4783
  let c = a(e), l = c(e);
4792
4784
  return {
4793
4785
  c() {
4794
- s && s.c(), t = hn(), r = z(), n = S("div"), i = z(), o = S("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4786
+ s && s.c(), t = cn(), r = z(), n = S("div"), i = z(), o = S("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4795
4787
  n,
4796
4788
  "data-sitekey",
4797
4789
  /*captchakey*/
@@ -4799,11 +4791,11 @@ function Go(e) {
4799
4791
  ), h(o, "class", "PlayerLoginFormWrapper");
4800
4792
  },
4801
4793
  m(u, f) {
4802
- s && s.m(pr.head, null), m(pr.head, t), L(u, r, f), L(u, n, f), L(u, i, f), L(u, o, f), l.m(o, null), e[40](o);
4794
+ s && s.m(mr.head, null), m(mr.head, t), L(u, r, f), L(u, n, f), L(u, i, f), L(u, o, f), l.m(o, null), e[40](o);
4803
4795
  },
4804
4796
  p(u, f) {
4805
4797
  /*captchakey*/
4806
- u[1] ? s ? s.p(u, f) : (s = gr(u), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
4798
+ u[1] ? s ? s.p(u, f) : (s = pr(u), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
4807
4799
  2 && h(
4808
4800
  n,
4809
4801
  "data-sitekey",
@@ -4818,27 +4810,27 @@ function Go(e) {
4818
4810
  }
4819
4811
  };
4820
4812
  }
4821
- let jo = "Please use this code {0} to activate your account";
4822
- function Vo(e, t, r) {
4813
+ let Go = "Please use this code {0} to activate your account";
4814
+ function jo(e, t, r) {
4823
4815
  let n;
4824
- sn(e, Co, (p) => r(21, n = p));
4816
+ on(e, Io, (p) => r(21, n = p));
4825
4817
  let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: c = "false" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: f = "" } = t, { savecredentials: d = "" } = t, b, v, g = !1, x, M = !1, q = window.navigator.userAgent, H = "", R = "", G = { username: "", password: "" }, J = !1, B = !1, ie = "", re = !1, ne, fe = !1, A = !0, W, be = +localStorage.getItem("smsTimer") || 0, Re = Date.now() / 1e3 - be, Ue = localStorage.getItem("smsValidation") == "true" && Re < 60, oe = {
4826
4818
  user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
4827
4819
  email: /^[^<>()*{}=/|?`~[\]\\,;:\%#^\s@\"$&!@]+@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z0-9]+\.)+[a-zA-Z]{2,}))$/i,
4828
4820
  password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
4829
4821
  };
4830
- Lo({ withLocale: "en", translations: {} });
4822
+ Oo({ withLocale: "en", translations: {} });
4831
4823
  const qe = () => {
4832
4824
  fetch(f).then(($) => $.json()).then(($) => {
4833
4825
  Object.keys($).forEach((j) => {
4834
- dr(j, $[j]);
4826
+ fr(j, $[j]);
4835
4827
  });
4836
4828
  }).catch(($) => {
4837
4829
  console.log($);
4838
4830
  });
4839
4831
  };
4840
- Object.keys(mr).forEach((p) => {
4841
- dr(p, mr[p]);
4832
+ Object.keys(dr).forEach((p) => {
4833
+ fr(p, dr[p]);
4842
4834
  });
4843
4835
  const C = () => new Promise((p, $) => {
4844
4836
  grecaptcha.ready(() => {
@@ -4891,12 +4883,12 @@ function Vo(e, t, r) {
4891
4883
  let Ke = {
4892
4884
  "Content-Type": "application/json",
4893
4885
  "g-recaptcha-response": j
4894
- }, et = { username: p, password: $ }, nn = {
4886
+ }, et = { username: p, password: $ }, rn = {
4895
4887
  method: "POST",
4896
4888
  headers: Ke,
4897
4889
  body: JSON.stringify(et)
4898
4890
  };
4899
- fetch(`${i}/v1/player/login/player`, nn).then((V) => (V.status >= 500 && (r(15, ie = "Server might not be responsing"), r(16, re = !1), window.postMessage(
4891
+ fetch(`${i}/v1/player/login/player`, rn).then((V) => (V.status >= 500 && (r(15, ie = "Server might not be responsing"), r(16, re = !1), window.postMessage(
4900
4892
  {
4901
4893
  type: "WidgetNotification",
4902
4894
  data: {
@@ -4942,11 +4934,11 @@ function Vo(e, t, r) {
4942
4934
  window.location.href
4943
4935
  );
4944
4936
  } catch {
4945
- let jt = V.error.substring(V.error.indexOf("errorMessage") + 13, V.error.length);
4946
- r(15, ie = jt), r(16, re = !1), window.postMessage(
4937
+ let Gt = V.error.substring(V.error.indexOf("errorMessage") + 13, V.error.length);
4938
+ r(15, ie = Gt), r(16, re = !1), window.postMessage(
4947
4939
  {
4948
4940
  type: "WidgetNotification",
4949
- data: { type: "error", message: jt }
4941
+ data: { type: "error", message: Gt }
4950
4942
  },
4951
4943
  window.location.href
4952
4944
  );
@@ -4963,7 +4955,7 @@ function Vo(e, t, r) {
4963
4955
  },
4964
4956
  body: JSON.stringify({
4965
4957
  userId: $,
4966
- messageTemplate: jo,
4958
+ messageTemplate: Go,
4967
4959
  destination: p
4968
4960
  })
4969
4961
  }), Ke = await j.json();
@@ -4977,7 +4969,7 @@ function Vo(e, t, r) {
4977
4969
  g = !0, console.error(j);
4978
4970
  }
4979
4971
  }, Qe = () => {
4980
- Mo(s);
4972
+ Lo(s);
4981
4973
  }, U = () => {
4982
4974
  let p = document.createElement("style");
4983
4975
  p.innerHTML = l, W.appendChild(p);
@@ -4996,7 +4988,7 @@ function Vo(e, t, r) {
4996
4988
  );
4997
4989
  });
4998
4990
  };
4999
- pn(() => (window.addEventListener("message", ue, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(10, M = Oo(q)), () => {
4991
+ mn(() => (window.addEventListener("message", ue, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(10, M = Co(q)), () => {
5000
4992
  window.removeEventListener("message", ue);
5001
4993
  }));
5002
4994
  const we = () => de();
@@ -5011,8 +5003,8 @@ function Vo(e, t, r) {
5011
5003
  ne = p, r(17, ne);
5012
5004
  });
5013
5005
  }
5014
- const k = () => ve(), y = () => Fe(), P = (p) => me(p), tn = (p) => De(p);
5015
- function rn(p) {
5006
+ const k = () => ve(), y = () => Fe(), P = (p) => me(p), en = (p) => De(p);
5007
+ function tn(p) {
5016
5008
  ut[p ? "unshift" : "push"](() => {
5017
5009
  W = p, r(6, W);
5018
5010
  });
@@ -5066,18 +5058,18 @@ function Vo(e, t, r) {
5066
5058
  k,
5067
5059
  y,
5068
5060
  P,
5069
- tn,
5070
- rn
5061
+ en,
5062
+ tn
5071
5063
  ];
5072
5064
  }
5073
- class zo extends Hn {
5065
+ class Vo extends Tn {
5074
5066
  constructor(t) {
5075
- super(), Pn(
5067
+ super(), Sn(
5076
5068
  this,
5077
5069
  t,
5078
- Vo,
5079
- Go,
5080
- wr,
5070
+ jo,
5071
+ $o,
5072
+ Er,
5081
5073
  {
5082
5074
  endpoint: 0,
5083
5075
  captchakey: 1,
@@ -5089,7 +5081,7 @@ class zo extends Hn {
5089
5081
  translationurl: 31,
5090
5082
  savecredentials: 5
5091
5083
  },
5092
- No,
5084
+ Mo,
5093
5085
  [-1, -1]
5094
5086
  );
5095
5087
  }
@@ -5148,32 +5140,32 @@ class zo extends Hn {
5148
5140
  this.$$set({ savecredentials: t }), ee();
5149
5141
  }
5150
5142
  }
5151
- Tn(zo, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5143
+ Pn(Vo, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5152
5144
  export {
5153
5145
  he as $,
5154
- zo as G,
5155
- Hn as S,
5146
+ Vo as G,
5147
+ Tn as S,
5156
5148
  Me as a,
5157
- Jr as b,
5158
- Tn as c,
5159
- ln as d,
5160
- S as e,
5149
+ qr as b,
5150
+ Pn as c,
5151
+ an as d,
5152
+ I as e,
5161
5153
  ee as f,
5162
- z as g,
5163
- h,
5164
- Pn as i,
5165
- L as j,
5166
- m as k,
5167
- rt as l,
5154
+ te as g,
5155
+ rt as h,
5156
+ Sn as i,
5157
+ h as j,
5158
+ L as k,
5159
+ m as l,
5168
5160
  se as m,
5169
- te as n,
5170
- Z as o,
5171
- I as p,
5172
- sn as q,
5161
+ Z as n,
5162
+ S as o,
5163
+ z as p,
5164
+ on as q,
5173
5165
  Oe as r,
5174
- wr as s,
5166
+ Er as s,
5175
5167
  N as t,
5176
- pn as u,
5168
+ mn as u,
5177
5169
  ut as v,
5178
- Co as w
5170
+ Io as w
5179
5171
  };