@everymatrix/player-account-review-frequency 0.4.4 → 0.4.5

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,25 +1,25 @@
1
- import "../stencil/ui-skeleton-Cn9Rv2BY.js";
1
+ import "../stencil/ui-skeleton-W50o8tfg.js";
2
2
  function I() {
3
3
  }
4
- function Nt(e) {
4
+ function $t(e) {
5
5
  return e();
6
6
  }
7
- function at() {
7
+ function lt() {
8
8
  return /* @__PURE__ */ Object.create(null);
9
9
  }
10
- function oe(e) {
11
- e.forEach(Nt);
10
+ function ie(e) {
11
+ e.forEach($t);
12
12
  }
13
- function rt(e) {
13
+ function st(e) {
14
14
  return typeof e == "function";
15
15
  }
16
- function Lt(e, t) {
16
+ function kt(e, t) {
17
17
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
18
18
  }
19
- function vr(e) {
19
+ function yr(e) {
20
20
  return Object.keys(e).length === 0;
21
21
  }
22
- function $t(e, ...t) {
22
+ function Dt(e, ...t) {
23
23
  if (e == null) {
24
24
  for (const n of t)
25
25
  n(void 0);
@@ -28,20 +28,20 @@ function $t(e, ...t) {
28
28
  const r = e.subscribe(...t);
29
29
  return r.unsubscribe ? () => r.unsubscribe() : r;
30
30
  }
31
- function yr(e, t, r) {
32
- e.$$.on_destroy.push($t(t, r));
31
+ function gr(e, t, r) {
32
+ e.$$.on_destroy.push(Dt(t, r));
33
33
  }
34
34
  function v(e, t) {
35
35
  e.appendChild(t);
36
36
  }
37
- function gr(e, t, r) {
38
- const n = _r(e);
37
+ function _r(e, t, r) {
38
+ const n = xr(e);
39
39
  if (!n.getElementById(t)) {
40
- const i = S("style");
41
- i.id = t, i.textContent = r, xr(n, i);
40
+ const i = w("style");
41
+ i.id = t, i.textContent = r, Er(n, i);
42
42
  }
43
43
  }
44
- function _r(e) {
44
+ function xr(e) {
45
45
  if (!e)
46
46
  return document;
47
47
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -51,24 +51,24 @@ function _r(e) {
51
51
  t
52
52
  ) : e.ownerDocument;
53
53
  }
54
- function xr(e, t) {
54
+ function Er(e, t) {
55
55
  return v(
56
56
  /** @type {Document} */
57
57
  e.head || e,
58
58
  t
59
59
  ), t.sheet;
60
60
  }
61
- function G(e, t, r) {
61
+ function V(e, t, r) {
62
62
  e.insertBefore(t, r || null);
63
63
  }
64
- function F(e) {
64
+ function j(e) {
65
65
  e.parentNode && e.parentNode.removeChild(e);
66
66
  }
67
- function Dt(e, t) {
67
+ function Ut(e, t) {
68
68
  for (let r = 0; r < e.length; r += 1)
69
69
  e[r] && e[r].d(t);
70
70
  }
71
- function S(e) {
71
+ function w(e) {
72
72
  return document.createElement(e);
73
73
  }
74
74
  function Z(e) {
@@ -77,7 +77,7 @@ function Z(e) {
77
77
  function W(e) {
78
78
  return document.createTextNode(e);
79
79
  }
80
- function U() {
80
+ function F() {
81
81
  return W(" ");
82
82
  }
83
83
  function Ee(e, t, r, n) {
@@ -86,11 +86,11 @@ function Ee(e, t, r, n) {
86
86
  function _(e, t, r) {
87
87
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
88
88
  }
89
- function A(e, t, r) {
89
+ function H(e, t, r) {
90
90
  const n = t.toLowerCase();
91
91
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : _(e, t, r);
92
92
  }
93
- function Er(e) {
93
+ function wr(e) {
94
94
  let t;
95
95
  return {
96
96
  /* push */
@@ -103,17 +103,17 @@ function Er(e) {
103
103
  }
104
104
  };
105
105
  }
106
- function wr(e) {
106
+ function Sr(e) {
107
107
  return Array.from(e.childNodes);
108
108
  }
109
- function ce(e, t) {
109
+ function le(e, t) {
110
110
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
111
111
  t);
112
112
  }
113
- function ut(e, t) {
113
+ function ct(e, t) {
114
114
  e.value = t ?? "";
115
115
  }
116
- function Sr(e) {
116
+ function Tr(e) {
117
117
  const t = {};
118
118
  return e.childNodes.forEach(
119
119
  /** @param {Element} node */
@@ -122,90 +122,90 @@ function Sr(e) {
122
122
  }
123
123
  ), t;
124
124
  }
125
- let fe;
126
- function he(e) {
127
- fe = e;
125
+ let he;
126
+ function ce(e) {
127
+ he = e;
128
128
  }
129
- function Tr() {
130
- if (!fe)
129
+ function Ar() {
130
+ if (!he)
131
131
  throw new Error("Function called outside component initialization");
132
- return fe;
132
+ return he;
133
133
  }
134
134
  function Hr(e) {
135
- Tr().$$.on_mount.push(e);
135
+ Ar().$$.on_mount.push(e);
136
136
  }
137
- const Y = [], ke = [];
137
+ const Y = [], Fe = [];
138
138
  let K = [];
139
- const lt = [], Ar = /* @__PURE__ */ Promise.resolve();
140
- let Ue = !1;
141
- function Br() {
142
- Ue || (Ue = !0, Ar.then(k));
139
+ const ht = [], Br = /* @__PURE__ */ Promise.resolve();
140
+ let je = !1;
141
+ function Pr() {
142
+ je || (je = !0, Br.then(D));
143
143
  }
144
- function Fe(e) {
144
+ function Ge(e) {
145
145
  K.push(e);
146
146
  }
147
- const Re = /* @__PURE__ */ new Set();
147
+ const Ie = /* @__PURE__ */ new Set();
148
148
  let J = 0;
149
- function k() {
149
+ function D() {
150
150
  if (J !== 0)
151
151
  return;
152
- const e = fe;
152
+ const e = he;
153
153
  do {
154
154
  try {
155
155
  for (; J < Y.length; ) {
156
156
  const t = Y[J];
157
- J++, he(t), Pr(t.$$);
157
+ J++, ce(t), Or(t.$$);
158
158
  }
159
159
  } catch (t) {
160
160
  throw Y.length = 0, J = 0, t;
161
161
  }
162
- for (he(null), Y.length = 0, J = 0; ke.length; )
163
- ke.pop()();
162
+ for (ce(null), Y.length = 0, J = 0; Fe.length; )
163
+ Fe.pop()();
164
164
  for (let t = 0; t < K.length; t += 1) {
165
165
  const r = K[t];
166
- Re.has(r) || (Re.add(r), r());
166
+ Ie.has(r) || (Ie.add(r), r());
167
167
  }
168
168
  K.length = 0;
169
169
  } while (Y.length);
170
- for (; lt.length; )
171
- lt.pop()();
172
- Ue = !1, Re.clear(), he(e);
170
+ for (; ht.length; )
171
+ ht.pop()();
172
+ je = !1, Ie.clear(), ce(e);
173
173
  }
174
- function Pr(e) {
174
+ function Or(e) {
175
175
  if (e.fragment !== null) {
176
- e.update(), oe(e.before_update);
176
+ e.update(), ie(e.before_update);
177
177
  const t = e.dirty;
178
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Fe);
178
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ge);
179
179
  }
180
180
  }
181
- function Or(e) {
181
+ function Rr(e) {
182
182
  const t = [], r = [];
183
183
  K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
184
184
  }
185
- const Rr = /* @__PURE__ */ new Set();
186
- function Mr(e, t) {
187
- e && e.i && (Rr.delete(e), e.i(t));
185
+ const Mr = /* @__PURE__ */ new Set();
186
+ function Ir(e, t) {
187
+ e && e.i && (Mr.delete(e), e.i(t));
188
188
  }
189
- function je(e) {
189
+ function Ve(e) {
190
190
  return e?.length !== void 0 ? e : Array.from(e);
191
191
  }
192
- function Ir(e, t, r) {
192
+ function Nr(e, t, r) {
193
193
  const { fragment: n, after_update: i } = e.$$;
194
- n && n.m(t, r), Fe(() => {
195
- const o = e.$$.on_mount.map(Nt).filter(rt);
196
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
197
- }), i.forEach(Fe);
194
+ n && n.m(t, r), Ge(() => {
195
+ const o = e.$$.on_mount.map($t).filter(st);
196
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
197
+ }), i.forEach(Ge);
198
198
  }
199
199
  function Cr(e, t) {
200
200
  const r = e.$$;
201
- r.fragment !== null && (Or(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
201
+ r.fragment !== null && (Rr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
202
202
  }
203
- function Nr(e, t) {
204
- e.$$.dirty[0] === -1 && (Y.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
203
+ function Lr(e, t) {
204
+ e.$$.dirty[0] === -1 && (Y.push(e), Pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
205
205
  }
206
- function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
207
- const l = fe;
208
- he(e);
206
+ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
207
+ const l = he;
208
+ ce(e);
209
209
  const u = e.$$ = {
210
210
  fragment: null,
211
211
  ctx: [],
@@ -213,7 +213,7 @@ function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
213
213
  props: o,
214
214
  update: I,
215
215
  not_equal: i,
216
- bound: at(),
216
+ bound: lt(),
217
217
  // lifecycle
218
218
  on_mount: [],
219
219
  on_destroy: [],
@@ -222,7 +222,7 @@ function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
222
222
  after_update: [],
223
223
  context: new Map(t.context || (l ? l.$$.context : [])),
224
224
  // everything else
225
- callbacks: at(),
225
+ callbacks: lt(),
226
226
  dirty: a,
227
227
  skip_bound: !1,
228
228
  root: t.target || l.$$.root
@@ -231,19 +231,19 @@ function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
231
231
  let c = !1;
232
232
  if (u.ctx = r ? r(e, t.props || {}, (p, h, ...b) => {
233
233
  const m = b.length ? b[0] : h;
234
- return u.ctx && i(u.ctx[p], u.ctx[p] = m) && (!u.skip_bound && u.bound[p] && u.bound[p](m), c && Nr(e, p)), h;
235
- }) : [], u.update(), c = !0, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
234
+ return u.ctx && i(u.ctx[p], u.ctx[p] = m) && (!u.skip_bound && u.bound[p] && u.bound[p](m), c && Lr(e, p)), h;
235
+ }) : [], u.update(), c = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
236
236
  if (t.hydrate) {
237
- const p = wr(t.target);
238
- u.fragment && u.fragment.l(p), p.forEach(F);
237
+ const p = Sr(t.target);
238
+ u.fragment && u.fragment.l(p), p.forEach(j);
239
239
  } else
240
240
  u.fragment && u.fragment.c();
241
- t.intro && Mr(e.$$.fragment), Ir(e, t.target, t.anchor), k();
241
+ t.intro && Ir(e.$$.fragment), Nr(e, t.target, t.anchor), D();
242
242
  }
243
- he(l);
243
+ ce(l);
244
244
  }
245
- let kt;
246
- typeof HTMLElement == "function" && (kt = class extends HTMLElement {
245
+ let Ft;
246
+ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
247
247
  /** The Svelte component constructor */
248
248
  $$ctor;
249
249
  /** Slots */
@@ -285,24 +285,24 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
285
285
  let o;
286
286
  return {
287
287
  c: function() {
288
- o = S("slot"), i !== "default" && _(o, "name", i);
288
+ o = w("slot"), i !== "default" && _(o, "name", i);
289
289
  },
290
290
  /**
291
291
  * @param {HTMLElement} target
292
292
  * @param {HTMLElement} [anchor]
293
293
  */
294
294
  m: function(l, u) {
295
- G(l, o, u);
295
+ V(l, o, u);
296
296
  },
297
297
  d: function(l) {
298
- l && F(o);
298
+ l && j(o);
299
299
  }
300
300
  };
301
301
  };
302
302
  };
303
303
  if (await Promise.resolve(), !this.$$cn || this.$$c)
304
304
  return;
305
- const t = {}, r = Sr(this);
305
+ const t = {}, r = Tr(this);
306
306
  for (const i of this.$$s)
307
307
  i in r && (t[i] = [e(i)]);
308
308
  for (const i of this.attributes) {
@@ -389,8 +389,8 @@ function ye(e, t, r, n) {
389
389
  return t;
390
390
  }
391
391
  }
392
- function $r(e, t, r, n, i, o) {
393
- let s = class extends kt {
392
+ function kr(e, t, r, n, i, o) {
393
+ let s = class extends Ft {
394
394
  constructor() {
395
395
  super(e, r, i), this.$$p_d = t;
396
396
  }
@@ -446,7 +446,7 @@ class Dr {
446
446
  * @returns {() => void}
447
447
  */
448
448
  $on(t, r) {
449
- if (!rt(r))
449
+ if (!st(r))
450
450
  return I;
451
451
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
452
452
  return n.push(r), () => {
@@ -459,11 +459,11 @@ class Dr {
459
459
  * @returns {void}
460
460
  */
461
461
  $set(t) {
462
- this.$$set && !vr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
462
+ this.$$set && !yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
463
463
  }
464
464
  }
465
- const kr = "4";
466
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kr);
465
+ const Ur = "4";
466
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
467
467
  /*! *****************************************************************************
468
468
  Copyright (c) Microsoft Corporation.
469
469
 
@@ -478,43 +478,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
478
478
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
479
479
  PERFORMANCE OF THIS SOFTWARE.
480
480
  ***************************************************************************** */
481
- var Ge = function(e, t) {
482
- return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
481
+ var qe = function(e, t) {
482
+ return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
483
483
  r.__proto__ = n;
484
484
  } || function(r, n) {
485
485
  for (var i in n)
486
486
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
487
- }, Ge(e, t);
487
+ }, qe(e, t);
488
488
  };
489
- function V(e, t) {
489
+ function de(e, t) {
490
490
  if (typeof t != "function" && t !== null)
491
491
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
492
- Ge(e, t);
492
+ qe(e, t);
493
493
  function r() {
494
494
  this.constructor = e;
495
495
  }
496
496
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
497
497
  }
498
- var x = function() {
499
- return x = Object.assign || function(t) {
500
- for (var r, n = 1, i = arguments.length; n < i; n++) {
501
- r = arguments[n];
502
- for (var o in r)
503
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
504
- }
505
- return t;
506
- }, x.apply(this, arguments);
507
- };
508
- function Ur(e, t) {
509
- var r = {};
510
- for (var n in e)
511
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
512
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
513
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
514
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
515
- return r;
516
- }
517
- function Ve(e) {
498
+ function Xe(e) {
518
499
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
519
500
  if (r)
520
501
  return r.call(e);
@@ -526,7 +507,7 @@ function Ve(e) {
526
507
  };
527
508
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
528
509
  }
529
- function qe(e, t) {
510
+ function We(e, t) {
530
511
  var r = typeof Symbol == "function" && e[Symbol.iterator];
531
512
  if (!r)
532
513
  return e;
@@ -546,22 +527,22 @@ function qe(e, t) {
546
527
  }
547
528
  return o;
548
529
  }
549
- function ee(e, t, r) {
550
- if (r || arguments.length === 2)
530
+ function ze(e, t, r) {
531
+ if (arguments.length === 2)
551
532
  for (var n = 0, i = t.length, o; n < i; n++)
552
533
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
553
534
  return e.concat(o || t);
554
535
  }
555
- function j(e) {
536
+ function G(e) {
556
537
  return typeof e == "function";
557
538
  }
558
- function Ut(e) {
539
+ function jt(e) {
559
540
  var t = function(n) {
560
541
  Error.call(n), n.stack = new Error().stack;
561
542
  }, r = e(t);
562
543
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
563
544
  }
564
- var Me = Ut(function(e) {
545
+ var Ne = jt(function(e) {
565
546
  return function(r) {
566
547
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
567
548
  ` + r.map(function(n, i) {
@@ -570,13 +551,13 @@ var Me = Ut(function(e) {
570
551
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
571
552
  };
572
553
  });
573
- function Xe(e, t) {
554
+ function Ze(e, t) {
574
555
  if (e) {
575
556
  var r = e.indexOf(t);
576
557
  0 <= r && e.splice(r, 1);
577
558
  }
578
559
  }
579
- var Te = function() {
560
+ var Ae = function() {
580
561
  function e(t) {
581
562
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
582
563
  }
@@ -588,7 +569,7 @@ var Te = function() {
588
569
  if (s)
589
570
  if (this._parentage = null, Array.isArray(s))
590
571
  try {
591
- for (var a = Ve(s), l = a.next(); !l.done; l = a.next()) {
572
+ for (var a = Xe(s), l = a.next(); !l.done; l = a.next()) {
592
573
  var u = l.value;
593
574
  u.remove(this);
594
575
  }
@@ -605,22 +586,22 @@ var Te = function() {
605
586
  else
606
587
  s.remove(this);
607
588
  var c = this.initialTeardown;
608
- if (j(c))
589
+ if (G(c))
609
590
  try {
610
591
  c();
611
592
  } catch (f) {
612
- o = f instanceof Me ? f.errors : [f];
593
+ o = f instanceof Ne ? f.errors : [f];
613
594
  }
614
595
  var p = this._finalizers;
615
596
  if (p) {
616
597
  this._finalizers = null;
617
598
  try {
618
- for (var h = Ve(p), b = h.next(); !b.done; b = h.next()) {
599
+ for (var h = Xe(p), b = h.next(); !b.done; b = h.next()) {
619
600
  var m = b.value;
620
601
  try {
621
- ct(m);
602
+ ft(m);
622
603
  } catch (f) {
623
- o = o ?? [], f instanceof Me ? o = ee(ee([], qe(o)), qe(f.errors)) : o.push(f);
604
+ o = o ?? [], f instanceof Ne ? o = ze(ze([], We(o)), We(f.errors)) : o.push(f);
624
605
  }
625
606
  }
626
607
  } catch (f) {
@@ -635,13 +616,13 @@ var Te = function() {
635
616
  }
636
617
  }
637
618
  if (o)
638
- throw new Me(o);
619
+ throw new Ne(o);
639
620
  }
640
621
  }, e.prototype.add = function(t) {
641
622
  var r;
642
623
  if (t && t !== this)
643
624
  if (this.closed)
644
- ct(t);
625
+ ft(t);
645
626
  else {
646
627
  if (t instanceof e) {
647
628
  if (t.closed || t._hasParent(this))
@@ -658,56 +639,52 @@ var Te = function() {
658
639
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
659
640
  }, e.prototype._removeParent = function(t) {
660
641
  var r = this._parentage;
661
- r === t ? this._parentage = null : Array.isArray(r) && Xe(r, t);
642
+ r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
662
643
  }, e.prototype.remove = function(t) {
663
644
  var r = this._finalizers;
664
- r && Xe(r, t), t instanceof e && t._removeParent(this);
645
+ r && Ze(r, t), t instanceof e && t._removeParent(this);
665
646
  }, e.EMPTY = function() {
666
647
  var t = new e();
667
648
  return t.closed = !0, t;
668
649
  }(), e;
669
- }(), Ft = Te.EMPTY;
670
- function jt(e) {
671
- return e instanceof Te || e && "closed" in e && j(e.remove) && j(e.add) && j(e.unsubscribe);
672
- }
673
- function ct(e) {
674
- j(e) ? e() : e.unsubscribe();
675
- }
676
- var Gt = {
677
- onUnhandledError: null,
678
- onStoppedNotification: null,
679
- Promise: void 0,
680
- useDeprecatedSynchronousErrorHandling: !1,
681
- useDeprecatedNextContext: !1
682
- }, Fr = {
650
+ }(), Gt = Ae.EMPTY;
651
+ function Vt(e) {
652
+ return e instanceof Ae || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
653
+ }
654
+ function ft(e) {
655
+ G(e) ? e() : e.unsubscribe();
656
+ }
657
+ var Fr = {
658
+ Promise: void 0
659
+ }, jr = {
683
660
  setTimeout: function(e, t) {
684
661
  for (var r = [], n = 2; n < arguments.length; n++)
685
662
  r[n - 2] = arguments[n];
686
- return setTimeout.apply(void 0, ee([e, t], qe(r)));
663
+ return setTimeout.apply(void 0, ze([e, t], We(r)));
687
664
  },
688
665
  clearTimeout: function(e) {
689
666
  return clearTimeout(e);
690
667
  },
691
668
  delegate: void 0
692
669
  };
693
- function jr(e) {
694
- Fr.setTimeout(function() {
670
+ function Gr(e) {
671
+ jr.setTimeout(function() {
695
672
  throw e;
696
673
  });
697
674
  }
698
- function ht() {
675
+ function pt() {
699
676
  }
700
677
  function ge(e) {
701
678
  e();
702
679
  }
703
- var Vt = function(e) {
704
- V(t, e);
680
+ var qt = function(e) {
681
+ de(t, e);
705
682
  function t(r) {
706
683
  var n = e.call(this) || this;
707
- return n.isStopped = !1, r ? (n.destination = r, jt(r) && r.add(n)) : n.destination = Xr, n;
684
+ return n.isStopped = !1, r ? (n.destination = r, Vt(r) && r.add(n)) : n.destination = Xr, n;
708
685
  }
709
686
  return t.create = function(r, n, i) {
710
- return new We(r, n, i);
687
+ return new Je(r, n, i);
711
688
  }, t.prototype.next = function(r) {
712
689
  this.isStopped || this._next(r);
713
690
  }, t.prototype.error = function(r) {
@@ -731,11 +708,7 @@ var Vt = function(e) {
731
708
  this.unsubscribe();
732
709
  }
733
710
  }, t;
734
- }(Te), Gr = Function.prototype.bind;
735
- function Ie(e, t) {
736
- return Gr.call(e, t);
737
- }
738
- var Vr = function() {
711
+ }(Ae), Vr = function() {
739
712
  function e(t) {
740
713
  this.partialObserver = t;
741
714
  }
@@ -766,41 +739,29 @@ var Vr = function() {
766
739
  be(r);
767
740
  }
768
741
  }, e;
769
- }(), We = function(e) {
770
- V(t, e);
742
+ }(), Je = function(e) {
743
+ de(t, e);
771
744
  function t(r, n, i) {
772
745
  var o = e.call(this) || this, s;
773
- if (j(r) || !r)
774
- s = {
775
- next: r ?? void 0,
776
- error: n ?? void 0,
777
- complete: i ?? void 0
778
- };
779
- else {
780
- var a;
781
- o && Gt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
782
- return o.unsubscribe();
783
- }, s = {
784
- next: r.next && Ie(r.next, a),
785
- error: r.error && Ie(r.error, a),
786
- complete: r.complete && Ie(r.complete, a)
787
- }) : s = r;
788
- }
789
- return o.destination = new Vr(s), o;
746
+ return G(r) || !r ? s = {
747
+ next: r ?? void 0,
748
+ error: n ?? void 0,
749
+ complete: i ?? void 0
750
+ } : s = r, o.destination = new Vr(s), o;
790
751
  }
791
752
  return t;
792
- }(Vt);
753
+ }(qt);
793
754
  function be(e) {
794
- jr(e);
755
+ Gr(e);
795
756
  }
796
757
  function qr(e) {
797
758
  throw e;
798
759
  }
799
760
  var Xr = {
800
761
  closed: !0,
801
- next: ht,
762
+ next: pt,
802
763
  error: qr,
803
- complete: ht
764
+ complete: pt
804
765
  }, Wr = function() {
805
766
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
806
767
  }();
@@ -814,7 +775,7 @@ function Zr(e) {
814
775
  }, r);
815
776
  };
816
777
  }
817
- var ft = function() {
778
+ var dt = function() {
818
779
  function e(t) {
819
780
  t && (this._subscribe = t);
820
781
  }
@@ -822,7 +783,7 @@ var ft = function() {
822
783
  var r = new e();
823
784
  return r.source = this, r.operator = t, r;
824
785
  }, e.prototype.subscribe = function(t, r, n) {
825
- var i = this, o = Qr(t) ? t : new We(t, r, n);
786
+ var i = this, o = Qr(t) ? t : new Je(t, r, n);
826
787
  return ge(function() {
827
788
  var s = i, a = s.operator, l = s.source;
828
789
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -835,8 +796,8 @@ var ft = function() {
835
796
  }
836
797
  }, e.prototype.forEach = function(t, r) {
837
798
  var n = this;
838
- return r = pt(r), new r(function(i, o) {
839
- var s = new We({
799
+ return r = mt(r), new r(function(i, o) {
800
+ var s = new Je({
840
801
  next: function(a) {
841
802
  try {
842
803
  t(a);
@@ -860,7 +821,7 @@ var ft = function() {
860
821
  return Zr(t)(this);
861
822
  }, e.prototype.toPromise = function(t) {
862
823
  var r = this;
863
- return t = pt(t), new t(function(n, i) {
824
+ return t = mt(t), new t(function(n, i) {
864
825
  var o;
865
826
  r.subscribe(function(s) {
866
827
  return o = s;
@@ -874,28 +835,28 @@ var ft = function() {
874
835
  return new e(t);
875
836
  }, e;
876
837
  }();
877
- function pt(e) {
838
+ function mt(e) {
878
839
  var t;
879
- return (t = e ?? Gt.Promise) !== null && t !== void 0 ? t : Promise;
840
+ return (t = e ?? Fr.Promise) !== null && t !== void 0 ? t : Promise;
880
841
  }
881
842
  function Jr(e) {
882
- return e && j(e.next) && j(e.error) && j(e.complete);
843
+ return e && G(e.next) && G(e.error) && G(e.complete);
883
844
  }
884
845
  function Qr(e) {
885
- return e && e instanceof Vt || Jr(e) && jt(e);
846
+ return e && e instanceof qt || Jr(e) && Vt(e);
886
847
  }
887
- var Yr = Ut(function(e) {
848
+ var Yr = jt(function(e) {
888
849
  return function() {
889
850
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
890
851
  };
891
- }), qt = function(e) {
892
- V(t, e);
852
+ }), Xt = function(e) {
853
+ de(t, e);
893
854
  function t() {
894
855
  var r = e.call(this) || this;
895
856
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
896
857
  }
897
858
  return t.prototype.lift = function(r) {
898
- var n = new dt(this, this);
859
+ var n = new bt(this, this);
899
860
  return n.operator = r, n;
900
861
  }, t.prototype._throwIfClosed = function() {
901
862
  if (this.closed)
@@ -907,7 +868,7 @@ var Yr = Ut(function(e) {
907
868
  if (n._throwIfClosed(), !n.isStopped) {
908
869
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
909
870
  try {
910
- for (var s = Ve(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
871
+ for (var s = Xe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
911
872
  var l = a.value;
912
873
  l.next(r);
913
874
  }
@@ -956,20 +917,20 @@ var Yr = Ut(function(e) {
956
917
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
957
918
  }, t.prototype._innerSubscribe = function(r) {
958
919
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
959
- return o || s ? Ft : (this.currentObservers = null, a.push(r), new Te(function() {
960
- n.currentObservers = null, Xe(a, r);
920
+ return o || s ? Gt : (this.currentObservers = null, a.push(r), new Ae(function() {
921
+ n.currentObservers = null, Ze(a, r);
961
922
  }));
962
923
  }, t.prototype._checkFinalizedStatuses = function(r) {
963
924
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
964
925
  i ? r.error(o) : s && r.complete();
965
926
  }, t.prototype.asObservable = function() {
966
- var r = new ft();
927
+ var r = new dt();
967
928
  return r.source = this, r;
968
929
  }, t.create = function(r, n) {
969
- return new dt(r, n);
930
+ return new bt(r, n);
970
931
  }, t;
971
- }(ft), dt = function(e) {
972
- V(t, e);
932
+ }(dt), bt = function(e) {
933
+ de(t, e);
973
934
  function t(r, n) {
974
935
  var i = e.call(this) || this;
975
936
  return i.destination = r, i.source = n, i;
@@ -985,17 +946,17 @@ var Yr = Ut(function(e) {
985
946
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
986
947
  }, t.prototype._subscribe = function(r) {
987
948
  var n, i;
988
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ft;
949
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Gt;
989
950
  }, t;
990
- }(qt), Xt = {
951
+ }(Xt), Wt = {
991
952
  now: function() {
992
- return (Xt.delegate || Date).now();
953
+ return (Wt.delegate || Date).now();
993
954
  },
994
955
  delegate: void 0
995
956
  }, Kr = function(e) {
996
- V(t, e);
957
+ de(t, e);
997
958
  function t(r, n, i) {
998
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Xt);
959
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Wt);
999
960
  var o = e.call(this) || this;
1000
961
  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;
1001
962
  }
@@ -1015,13 +976,13 @@ var Yr = Ut(function(e) {
1015
976
  u && o.splice(0, u + 1);
1016
977
  }
1017
978
  }, t;
1018
- }(qt);
1019
- const mt = [], bt = {}, en = (e, t = 0) => {
1020
- if (mt.indexOf(e) == -1) {
979
+ }(Xt);
980
+ const vt = [], yt = {}, en = (e, t = 0) => {
981
+ if (vt.indexOf(e) == -1) {
1021
982
  const r = new Kr(t);
1022
- bt[e] = r, mt.push(e);
983
+ yt[e] = r, vt.push(e);
1023
984
  }
1024
- return bt[e];
985
+ return yt[e];
1025
986
  }, Q = [];
1026
987
  function tn(e, t) {
1027
988
  return {
@@ -1032,7 +993,7 @@ function He(e, t = I) {
1032
993
  let r;
1033
994
  const n = /* @__PURE__ */ new Set();
1034
995
  function i(a) {
1035
- if (Lt(e, a) && (e = a, r)) {
996
+ if (kt(e, a) && (e = a, r)) {
1036
997
  const l = !Q.length;
1037
998
  for (const u of n)
1038
999
  u[1](), Q.push(u, e);
@@ -1054,7 +1015,7 @@ function He(e, t = I) {
1054
1015
  }
1055
1016
  return { set: i, update: o, subscribe: s };
1056
1017
  }
1057
- function se(e, t, r) {
1018
+ function oe(e, t, r) {
1058
1019
  const n = !Array.isArray(e), i = n ? [e] : e;
1059
1020
  if (!i.every(Boolean))
1060
1021
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1068,12 +1029,12 @@ function se(e, t, r) {
1068
1029
  return;
1069
1030
  p();
1070
1031
  const m = t(n ? u[0] : u, s, a);
1071
- o ? s(m) : p = rt(m) ? m : I;
1032
+ o ? s(m) : p = st(m) ? m : I;
1072
1033
  }, b = i.map(
1073
- (m, f) => $t(
1034
+ (m, f) => Dt(
1074
1035
  m,
1075
- (w) => {
1076
- u[f] = w, c &= ~(1 << f), l && h();
1036
+ (E) => {
1037
+ u[f] = E, c &= ~(1 << f), l && h();
1077
1038
  },
1078
1039
  () => {
1079
1040
  c |= 1 << f;
@@ -1081,7 +1042,7 @@ function se(e, t, r) {
1081
1042
  )
1082
1043
  );
1083
1044
  return l = !0, h(), function() {
1084
- oe(b), p(), l = !1;
1045
+ ie(b), p(), l = !1;
1085
1046
  };
1086
1047
  });
1087
1048
  }
@@ -1105,29 +1066,29 @@ function ln(e) {
1105
1066
  function cn(e) {
1106
1067
  return Array.isArray(e) ? [] : {};
1107
1068
  }
1108
- function pe(e, t) {
1109
- return t.clone !== !1 && t.isMergeableObject(e) ? te(cn(e), e, t) : e;
1069
+ function fe(e, t) {
1070
+ return t.clone !== !1 && t.isMergeableObject(e) ? ee(cn(e), e, t) : e;
1110
1071
  }
1111
1072
  function hn(e, t, r) {
1112
1073
  return e.concat(t).map(function(n) {
1113
- return pe(n, r);
1074
+ return fe(n, r);
1114
1075
  });
1115
1076
  }
1116
1077
  function fn(e, t) {
1117
1078
  if (!t.customMerge)
1118
- return te;
1079
+ return ee;
1119
1080
  var r = t.customMerge(e);
1120
- return typeof r == "function" ? r : te;
1081
+ return typeof r == "function" ? r : ee;
1121
1082
  }
1122
1083
  function pn(e) {
1123
1084
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1124
1085
  return Object.propertyIsEnumerable.call(e, t);
1125
1086
  }) : [];
1126
1087
  }
1127
- function vt(e) {
1088
+ function gt(e) {
1128
1089
  return Object.keys(e).concat(pn(e));
1129
1090
  }
1130
- function Wt(e, t) {
1091
+ function zt(e, t) {
1131
1092
  try {
1132
1093
  return t in e;
1133
1094
  } catch {
@@ -1135,129 +1096,179 @@ function Wt(e, t) {
1135
1096
  }
1136
1097
  }
1137
1098
  function dn(e, t) {
1138
- return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1099
+ return zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1139
1100
  }
1140
1101
  function mn(e, t, r) {
1141
1102
  var n = {};
1142
- return r.isMergeableObject(e) && vt(e).forEach(function(i) {
1143
- n[i] = pe(e[i], r);
1144
- }), vt(t).forEach(function(i) {
1145
- dn(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = fn(i, r)(e[i], t[i], r) : n[i] = pe(t[i], r));
1103
+ return r.isMergeableObject(e) && gt(e).forEach(function(i) {
1104
+ n[i] = fe(e[i], r);
1105
+ }), gt(t).forEach(function(i) {
1106
+ dn(e, i) || (zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = fn(i, r)(e[i], t[i], r) : n[i] = fe(t[i], r));
1146
1107
  }), n;
1147
1108
  }
1148
- function te(e, t, r) {
1149
- r = r || {}, r.arrayMerge = r.arrayMerge || hn, r.isMergeableObject = r.isMergeableObject || nn, r.cloneUnlessOtherwiseSpecified = pe;
1109
+ function ee(e, t, r) {
1110
+ r = r || {}, r.arrayMerge = r.arrayMerge || hn, r.isMergeableObject = r.isMergeableObject || nn, r.cloneUnlessOtherwiseSpecified = fe;
1150
1111
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1151
- return o ? n ? r.arrayMerge(e, t, r) : mn(e, t, r) : pe(t, r);
1112
+ return o ? n ? r.arrayMerge(e, t, r) : mn(e, t, r) : fe(t, r);
1152
1113
  }
1153
- te.all = function(t, r) {
1114
+ ee.all = function(t, r) {
1154
1115
  if (!Array.isArray(t))
1155
1116
  throw new Error("first argument should be an array");
1156
1117
  return t.reduce(function(n, i) {
1157
- return te(n, i, r);
1118
+ return ee(n, i, r);
1158
1119
  }, {});
1159
1120
  };
1160
- var bn = te, vn = bn;
1121
+ var bn = ee, vn = bn;
1161
1122
  const yn = /* @__PURE__ */ rn(vn);
1162
- function Ce(e, t) {
1163
- var r = t && t.cache ? t.cache : Sn, n = t && t.serializer ? t.serializer : wn, i = t && t.strategy ? t.strategy : _n;
1123
+ var Qe = function(e, t) {
1124
+ return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1125
+ r.__proto__ = n;
1126
+ } || function(r, n) {
1127
+ for (var i in n)
1128
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1129
+ }, Qe(e, t);
1130
+ };
1131
+ function Be(e, t) {
1132
+ if (typeof t != "function" && t !== null)
1133
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1134
+ Qe(e, t);
1135
+ function r() {
1136
+ this.constructor = e;
1137
+ }
1138
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1139
+ }
1140
+ var U = function() {
1141
+ return U = Object.assign || function(t) {
1142
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1143
+ r = arguments[n];
1144
+ for (var o in r)
1145
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1146
+ }
1147
+ return t;
1148
+ }, U.apply(this, arguments);
1149
+ };
1150
+ function gn(e, t) {
1151
+ var r = {};
1152
+ for (var n in e)
1153
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1154
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1155
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1156
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1157
+ return r;
1158
+ }
1159
+ function Ce(e, t, r) {
1160
+ if (r || arguments.length === 2)
1161
+ for (var n = 0, i = t.length, o; n < i; n++)
1162
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1163
+ return e.concat(o || Array.prototype.slice.call(t));
1164
+ }
1165
+ function Le(e, t) {
1166
+ var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : Sn, i = t && t.strategy ? t.strategy : En;
1164
1167
  return i(e, {
1165
1168
  cache: r,
1166
1169
  serializer: n
1167
1170
  });
1168
1171
  }
1169
- function gn(e) {
1172
+ function _n(e) {
1170
1173
  return e == null || typeof e == "number" || typeof e == "boolean";
1171
1174
  }
1172
- function zt(e, t, r, n) {
1173
- var i = gn(n) ? n : r(n), o = t.get(i);
1175
+ function xn(e, t, r, n) {
1176
+ var i = _n(n) ? n : r(n), o = t.get(i);
1174
1177
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1175
1178
  }
1176
1179
  function Zt(e, t, r) {
1177
1180
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1178
1181
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1179
1182
  }
1180
- function nt(e, t, r, n, i) {
1183
+ function Jt(e, t, r, n, i) {
1181
1184
  return r.bind(t, e, n, i);
1182
1185
  }
1183
- function _n(e, t) {
1184
- var r = e.length === 1 ? zt : Zt;
1185
- return nt(e, this, r, t.cache.create(), t.serializer);
1186
- }
1187
- function xn(e, t) {
1188
- return nt(e, this, Zt, t.cache.create(), t.serializer);
1189
- }
1190
1186
  function En(e, t) {
1191
- return nt(e, this, zt, t.cache.create(), t.serializer);
1187
+ var r = e.length === 1 ? xn : Zt;
1188
+ return Jt(e, this, r, t.cache.create(), t.serializer);
1192
1189
  }
1193
- var wn = function() {
1194
- return JSON.stringify(arguments);
1195
- };
1196
- function it() {
1197
- this.cache = /* @__PURE__ */ Object.create(null);
1190
+ function wn(e, t) {
1191
+ return Jt(e, this, Zt, t.cache.create(), t.serializer);
1198
1192
  }
1199
- it.prototype.get = function(e) {
1200
- return this.cache[e];
1201
- };
1202
- it.prototype.set = function(e, t) {
1203
- this.cache[e] = t;
1204
- };
1205
- var Sn = {
1193
+ var Sn = function() {
1194
+ return JSON.stringify(arguments);
1195
+ }, Tn = (
1196
+ /** @class */
1197
+ function() {
1198
+ function e() {
1199
+ this.cache = /* @__PURE__ */ Object.create(null);
1200
+ }
1201
+ return e.prototype.get = function(t) {
1202
+ return this.cache[t];
1203
+ }, e.prototype.set = function(t, r) {
1204
+ this.cache[t] = r;
1205
+ }, e;
1206
+ }()
1207
+ ), An = {
1206
1208
  create: function() {
1207
- return new it();
1209
+ return new Tn();
1208
1210
  }
1209
- }, Ne = {
1210
- variadic: xn,
1211
- monadic: En
1212
- }, y;
1211
+ }, $e = {
1212
+ variadic: wn
1213
+ }, we = function() {
1214
+ return we = Object.assign || function(t) {
1215
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1216
+ r = arguments[n];
1217
+ for (var o in r)
1218
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1219
+ }
1220
+ return t;
1221
+ }, we.apply(this, arguments);
1222
+ };
1223
+ var y;
1213
1224
  (function(e) {
1214
1225
  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";
1215
1226
  })(y || (y = {}));
1216
- var T;
1227
+ var S;
1217
1228
  (function(e) {
1218
1229
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1219
- })(T || (T = {}));
1220
- var re;
1230
+ })(S || (S = {}));
1231
+ var te;
1221
1232
  (function(e) {
1222
1233
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1223
- })(re || (re = {}));
1224
- function yt(e) {
1225
- return e.type === T.literal;
1226
- }
1227
- function Tn(e) {
1228
- return e.type === T.argument;
1234
+ })(te || (te = {}));
1235
+ function _t(e) {
1236
+ return e.type === S.literal;
1229
1237
  }
1230
- function Jt(e) {
1231
- return e.type === T.number;
1238
+ function Hn(e) {
1239
+ return e.type === S.argument;
1232
1240
  }
1233
1241
  function Qt(e) {
1234
- return e.type === T.date;
1242
+ return e.type === S.number;
1235
1243
  }
1236
1244
  function Yt(e) {
1237
- return e.type === T.time;
1245
+ return e.type === S.date;
1238
1246
  }
1239
1247
  function Kt(e) {
1240
- return e.type === T.select;
1248
+ return e.type === S.time;
1241
1249
  }
1242
1250
  function er(e) {
1243
- return e.type === T.plural;
1244
- }
1245
- function Hn(e) {
1246
- return e.type === T.pound;
1251
+ return e.type === S.select;
1247
1252
  }
1248
1253
  function tr(e) {
1249
- return e.type === T.tag;
1254
+ return e.type === S.plural;
1255
+ }
1256
+ function Bn(e) {
1257
+ return e.type === S.pound;
1250
1258
  }
1251
1259
  function rr(e) {
1252
- return !!(e && typeof e == "object" && e.type === re.number);
1260
+ return e.type === S.tag;
1253
1261
  }
1254
- function ze(e) {
1255
- return !!(e && typeof e == "object" && e.type === re.dateTime);
1262
+ function nr(e) {
1263
+ return !!(e && typeof e == "object" && e.type === te.number);
1256
1264
  }
1257
- var nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, An = /(?:[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;
1258
- function Bn(e) {
1265
+ function Ye(e) {
1266
+ return !!(e && typeof e == "object" && e.type === te.dateTime);
1267
+ }
1268
+ var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pn = /(?:[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;
1269
+ function On(e) {
1259
1270
  var t = {};
1260
- return e.replace(An, function(r) {
1271
+ return e.replace(Pn, function(r) {
1261
1272
  var n = r.length;
1262
1273
  switch (r[0]) {
1263
1274
  case "G":
@@ -1346,11 +1357,21 @@ function Bn(e) {
1346
1357
  return "";
1347
1358
  }), t;
1348
1359
  }
1349
- var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1350
- function On(e) {
1360
+ var T = function() {
1361
+ return T = Object.assign || function(t) {
1362
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1363
+ r = arguments[n];
1364
+ for (var o in r)
1365
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1366
+ }
1367
+ return t;
1368
+ }, T.apply(this, arguments);
1369
+ };
1370
+ var Rn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1371
+ function Mn(e) {
1351
1372
  if (e.length === 0)
1352
1373
  throw new Error("Number skeleton cannot be empty");
1353
- for (var t = e.split(Pn).filter(function(h) {
1374
+ for (var t = e.split(Rn).filter(function(h) {
1354
1375
  return h.length > 0;
1355
1376
  }), r = [], n = 0, i = t; n < i.length; n++) {
1356
1377
  var o = i[n], s = o.split("/");
@@ -1365,17 +1386,17 @@ function On(e) {
1365
1386
  }
1366
1387
  return r;
1367
1388
  }
1368
- function Rn(e) {
1389
+ function In(e) {
1369
1390
  return e.replace(/^(.*?)-/, "");
1370
1391
  }
1371
- var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ir = /^(@+)?(\+|#+)?[rs]?$/g, Mn = /(\*)(0+)|(#+)(0+)|(0+)/g, or = /^(0+)$/;
1372
- function _t(e) {
1392
+ var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
1393
+ function Et(e) {
1373
1394
  var t = {};
1374
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ir, function(r, n, i) {
1395
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
1375
1396
  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)), "";
1376
1397
  }), t;
1377
1398
  }
1378
- function sr(e) {
1399
+ function ar(e) {
1379
1400
  switch (e) {
1380
1401
  case "sign-auto":
1381
1402
  return {
@@ -1415,7 +1436,7 @@ function sr(e) {
1415
1436
  };
1416
1437
  }
1417
1438
  }
1418
- function In(e) {
1439
+ function Cn(e) {
1419
1440
  var t;
1420
1441
  if (e[0] === "E" && e[1] === "E" ? (t = {
1421
1442
  notation: "engineering"
@@ -1423,17 +1444,17 @@ function In(e) {
1423
1444
  notation: "scientific"
1424
1445
  }, e = e.slice(1)), t) {
1425
1446
  var r = e.slice(0, 2);
1426
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !or.test(e))
1447
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
1427
1448
  throw new Error("Malformed concise eng/scientific notation");
1428
1449
  t.minimumIntegerDigits = e.length;
1429
1450
  }
1430
1451
  return t;
1431
1452
  }
1432
- function xt(e) {
1433
- var t = {}, r = sr(e);
1453
+ function wt(e) {
1454
+ var t = {}, r = ar(e);
1434
1455
  return r || t;
1435
1456
  }
1436
- function Cn(e) {
1457
+ function Ln(e) {
1437
1458
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1438
1459
  var i = n[r];
1439
1460
  switch (i.stem) {
@@ -1457,7 +1478,7 @@ function Cn(e) {
1457
1478
  continue;
1458
1479
  case "measure-unit":
1459
1480
  case "unit":
1460
- t.style = "unit", t.unit = Rn(i.options[0]);
1481
+ t.style = "unit", t.unit = In(i.options[0]);
1461
1482
  continue;
1462
1483
  case "compact-short":
1463
1484
  case "K":
@@ -1468,13 +1489,13 @@ function Cn(e) {
1468
1489
  t.notation = "compact", t.compactDisplay = "long";
1469
1490
  continue;
1470
1491
  case "scientific":
1471
- t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1472
- return x(x({}, l), xt(u));
1492
+ t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1493
+ return T(T({}, l), wt(u));
1473
1494
  }, {}));
1474
1495
  continue;
1475
1496
  case "engineering":
1476
- t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1477
- return x(x({}, l), xt(u));
1497
+ t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1498
+ return T(T({}, l), wt(u));
1478
1499
  }, {}));
1479
1500
  continue;
1480
1501
  case "notation-simple":
@@ -1519,7 +1540,7 @@ function Cn(e) {
1519
1540
  case "integer-width":
1520
1541
  if (i.options.length > 1)
1521
1542
  throw new RangeError("integer-width stems only accept a single optional option");
1522
- i.options[0].replace(Mn, function(l, u, c, p, h, b) {
1543
+ i.options[0].replace(Nn, function(l, u, c, p, h, b) {
1523
1544
  if (u)
1524
1545
  t.minimumIntegerDigits = c.length;
1525
1546
  else {
@@ -1532,28 +1553,28 @@ function Cn(e) {
1532
1553
  });
1533
1554
  continue;
1534
1555
  }
1535
- if (or.test(i.stem)) {
1556
+ if (sr.test(i.stem)) {
1536
1557
  t.minimumIntegerDigits = i.stem.length;
1537
1558
  continue;
1538
1559
  }
1539
- if (gt.test(i.stem)) {
1560
+ if (xt.test(i.stem)) {
1540
1561
  if (i.options.length > 1)
1541
1562
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1542
- i.stem.replace(gt, function(l, u, c, p, h, b) {
1563
+ i.stem.replace(xt, function(l, u, c, p, h, b) {
1543
1564
  return c === "*" ? t.minimumFractionDigits = u.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : h && b ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1544
1565
  });
1545
1566
  var o = i.options[0];
1546
- o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), _t(o)));
1567
+ o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), Et(o)));
1547
1568
  continue;
1548
1569
  }
1549
- if (ir.test(i.stem)) {
1550
- t = x(x({}, t), _t(i.stem));
1570
+ if (or.test(i.stem)) {
1571
+ t = T(T({}, t), Et(i.stem));
1551
1572
  continue;
1552
1573
  }
1553
- var s = sr(i.stem);
1554
- s && (t = x(x({}, t), s));
1555
- var a = In(i.stem);
1556
- a && (t = x(x({}, t), a));
1574
+ var s = ar(i.stem);
1575
+ s && (t = T(T({}, t), s));
1576
+ var a = Cn(i.stem);
1577
+ a && (t = T(T({}, t), a));
1557
1578
  }
1558
1579
  return t;
1559
1580
  }
@@ -2972,13 +2993,13 @@ var ve = {
2972
2993
  "h"
2973
2994
  ]
2974
2995
  };
2975
- function Nn(e, t) {
2996
+ function $n(e, t) {
2976
2997
  for (var r = "", n = 0; n < e.length; n++) {
2977
2998
  var i = e.charAt(n);
2978
2999
  if (i === "j") {
2979
3000
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2980
3001
  o++, n++;
2981
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ln(t);
3002
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = kn(t);
2982
3003
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2983
3004
  r += l;
2984
3005
  for (; s-- > 0; )
@@ -2988,7 +3009,7 @@ function Nn(e, t) {
2988
3009
  }
2989
3010
  return r;
2990
3011
  }
2991
- function Ln(e) {
3012
+ function kn(e) {
2992
3013
  var t = e.hourCycle;
2993
3014
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2994
3015
  e.hourCycles && // @ts-ignore
@@ -3010,20 +3031,20 @@ function Ln(e) {
3010
3031
  var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
3011
3032
  return i[0];
3012
3033
  }
3013
- var Le, $n = new RegExp("^".concat(nr.source, "*")), Dn = new RegExp("".concat(nr.source, "*$"));
3034
+ var ke, Dn = new RegExp("^".concat(ir.source, "*")), Un = new RegExp("".concat(ir.source, "*$"));
3014
3035
  function g(e, t) {
3015
3036
  return { start: e, end: t };
3016
3037
  }
3017
- var kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, Fn = !!Object.fromEntries, jn = !!String.prototype.codePointAt, Gn = !!String.prototype.trimStart, Vn = !!String.prototype.trimEnd, qn = !!Number.isSafeInteger, Xn = qn ? Number.isSafeInteger : function(e) {
3038
+ var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), jn = !!String.fromCodePoint, Gn = !!Object.fromEntries, Vn = !!String.prototype.codePointAt, qn = !!String.prototype.trimStart, Xn = !!String.prototype.trimEnd, Wn = !!Number.isSafeInteger, zn = Wn ? Number.isSafeInteger : function(e) {
3018
3039
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3019
- }, Ze = !0;
3040
+ }, Ke = !0;
3020
3041
  try {
3021
- var Wn = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3022
- Ze = ((Le = Wn.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
3042
+ var Zn = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3043
+ Ke = ((ke = Zn.exec("a")) === null || ke === void 0 ? void 0 : ke[0]) === "a";
3023
3044
  } catch {
3024
- Ze = !1;
3045
+ Ke = !1;
3025
3046
  }
3026
- var Et = kn ? (
3047
+ var St = Fn ? (
3027
3048
  // Native
3028
3049
  function(t, r, n) {
3029
3050
  return t.startsWith(r, n);
@@ -3033,7 +3054,7 @@ var Et = kn ? (
3033
3054
  function(t, r, n) {
3034
3055
  return t.slice(n, n + r.length) === r;
3035
3056
  }
3036
- ), Je = Un ? String.fromCodePoint : (
3057
+ ), et = jn ? String.fromCodePoint : (
3037
3058
  // IE11
3038
3059
  function() {
3039
3060
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3045,9 +3066,9 @@ var Et = kn ? (
3045
3066
  }
3046
3067
  return n;
3047
3068
  }
3048
- ), wt = (
3069
+ ), Tt = (
3049
3070
  // native
3050
- Fn ? Object.fromEntries : (
3071
+ Gn ? Object.fromEntries : (
3051
3072
  // Ponyfill
3052
3073
  function(t) {
3053
3074
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3057,7 +3078,7 @@ var Et = kn ? (
3057
3078
  return r;
3058
3079
  }
3059
3080
  )
3060
- ), ar = jn ? (
3081
+ ), ur = Vn ? (
3061
3082
  // Native
3062
3083
  function(t, r) {
3063
3084
  return t.codePointAt(r);
@@ -3071,7 +3092,7 @@ var Et = kn ? (
3071
3092
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3072
3093
  }
3073
3094
  }
3074
- ), zn = Gn ? (
3095
+ ), Jn = qn ? (
3075
3096
  // Native
3076
3097
  function(t) {
3077
3098
  return t.trimStart();
@@ -3079,9 +3100,9 @@ var Et = kn ? (
3079
3100
  ) : (
3080
3101
  // Ponyfill
3081
3102
  function(t) {
3082
- return t.replace($n, "");
3103
+ return t.replace(Dn, "");
3083
3104
  }
3084
- ), Zn = Vn ? (
3105
+ ), Qn = Xn ? (
3085
3106
  // Native
3086
3107
  function(t) {
3087
3108
  return t.trimEnd();
@@ -3089,32 +3110,32 @@ var Et = kn ? (
3089
3110
  ) : (
3090
3111
  // Ponyfill
3091
3112
  function(t) {
3092
- return t.replace(Dn, "");
3113
+ return t.replace(Un, "");
3093
3114
  }
3094
3115
  );
3095
- function ur(e, t) {
3116
+ function lr(e, t) {
3096
3117
  return new RegExp(e, t);
3097
3118
  }
3098
- var Qe;
3099
- if (Ze) {
3100
- var St = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3101
- Qe = function(t, r) {
3119
+ var tt;
3120
+ if (Ke) {
3121
+ var At = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3122
+ tt = function(t, r) {
3102
3123
  var n;
3103
- St.lastIndex = r;
3104
- var i = St.exec(t);
3124
+ At.lastIndex = r;
3125
+ var i = At.exec(t);
3105
3126
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3106
3127
  };
3107
3128
  } else
3108
- Qe = function(t, r) {
3129
+ tt = function(t, r) {
3109
3130
  for (var n = []; ; ) {
3110
- var i = ar(t, r);
3111
- if (i === void 0 || lr(i) || Kn(i))
3131
+ var i = ur(t, r);
3132
+ if (i === void 0 || cr(i) || ti(i))
3112
3133
  break;
3113
3134
  n.push(i), r += i >= 65536 ? 2 : 1;
3114
3135
  }
3115
- return Je.apply(void 0, n);
3136
+ return et.apply(void 0, n);
3116
3137
  };
3117
- var Jn = (
3138
+ var Yn = (
3118
3139
  /** @class */
3119
3140
  function() {
3120
3141
  function e(t, r) {
@@ -3138,14 +3159,14 @@ var Jn = (
3138
3159
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3139
3160
  var a = this.clonePosition();
3140
3161
  this.bump(), i.push({
3141
- type: T.pound,
3162
+ type: S.pound,
3142
3163
  location: g(a, this.clonePosition())
3143
3164
  });
3144
3165
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3145
3166
  if (n)
3146
3167
  break;
3147
3168
  return this.error(y.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3148
- } else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
3169
+ } else if (o === 60 && !this.ignoreTag && rt(this.peek() || 0)) {
3149
3170
  var s = this.parseTag(t, r);
3150
3171
  if (s.err)
3151
3172
  return s;
@@ -3166,7 +3187,7 @@ var Jn = (
3166
3187
  if (this.bumpSpace(), this.bumpIf("/>"))
3167
3188
  return {
3168
3189
  val: {
3169
- type: T.literal,
3190
+ type: S.literal,
3170
3191
  value: "<".concat(i, "/>"),
3171
3192
  location: g(n, this.clonePosition())
3172
3193
  },
@@ -3178,12 +3199,12 @@ var Jn = (
3178
3199
  return o;
3179
3200
  var s = o.val, a = this.clonePosition();
3180
3201
  if (this.bumpIf("</")) {
3181
- if (this.isEOF() || !Ye(this.char()))
3202
+ if (this.isEOF() || !rt(this.char()))
3182
3203
  return this.error(y.INVALID_TAG, g(a, this.clonePosition()));
3183
3204
  var l = this.clonePosition(), u = this.parseTagName();
3184
3205
  return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3185
3206
  val: {
3186
- type: T.tag,
3207
+ type: S.tag,
3187
3208
  value: i,
3188
3209
  children: s,
3189
3210
  location: g(n, this.clonePosition())
@@ -3196,7 +3217,7 @@ var Jn = (
3196
3217
  return this.error(y.INVALID_TAG, g(n, this.clonePosition()));
3197
3218
  }, e.prototype.parseTagName = function() {
3198
3219
  var t = this.offset();
3199
- for (this.bump(); !this.isEOF() && Yn(this.char()); )
3220
+ for (this.bump(); !this.isEOF() && ei(this.char()); )
3200
3221
  this.bump();
3201
3222
  return this.message.slice(t, this.offset());
3202
3223
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3220,12 +3241,12 @@ var Jn = (
3220
3241
  }
3221
3242
  var l = g(n, this.clonePosition());
3222
3243
  return {
3223
- val: { type: T.literal, value: i, location: l },
3244
+ val: { type: S.literal, value: i, location: l },
3224
3245
  err: null
3225
3246
  };
3226
3247
  }, e.prototype.tryParseLeftAngleBracket = function() {
3227
3248
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3228
- !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3249
+ !Kn(this.peek() || 0)) ? (this.bump(), "<") : null;
3229
3250
  }, e.prototype.tryParseQuote = function(t) {
3230
3251
  if (this.isEOF() || this.char() !== 39)
3231
3252
  return null;
@@ -3259,12 +3280,12 @@ var Jn = (
3259
3280
  r.push(n);
3260
3281
  this.bump();
3261
3282
  }
3262
- return Je.apply(void 0, r);
3283
+ return et.apply(void 0, r);
3263
3284
  }, e.prototype.tryParseUnquoted = function(t, r) {
3264
3285
  if (this.isEOF())
3265
3286
  return null;
3266
3287
  var n = this.char();
3267
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
3288
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), et(n));
3268
3289
  }, e.prototype.parseArgument = function(t, r) {
3269
3290
  var n = this.clonePosition();
3270
3291
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3280,7 +3301,7 @@ var Jn = (
3280
3301
  case 125:
3281
3302
  return this.bump(), {
3282
3303
  val: {
3283
- type: T.argument,
3304
+ type: S.argument,
3284
3305
  // value does not include the opening and closing braces.
3285
3306
  value: i,
3286
3307
  location: g(n, this.clonePosition())
@@ -3293,7 +3314,7 @@ var Jn = (
3293
3314
  return this.error(y.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3294
3315
  }
3295
3316
  }, e.prototype.parseIdentifierIfPossible = function() {
3296
- var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
3317
+ var t = this.clonePosition(), r = this.offset(), n = tt(this.message, r), i = r + n.length;
3297
3318
  this.bumpTo(i);
3298
3319
  var o = this.clonePosition(), s = g(t, o);
3299
3320
  return { value: n, location: s };
@@ -3312,7 +3333,7 @@ var Jn = (
3312
3333
  var c = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
3313
3334
  if (p.err)
3314
3335
  return p;
3315
- var h = Zn(p.val);
3336
+ var h = Qn(p.val);
3316
3337
  if (h.length === 0)
3317
3338
  return this.error(y.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3318
3339
  var b = g(c, this.clonePosition());
@@ -3322,34 +3343,34 @@ var Jn = (
3322
3343
  if (m.err)
3323
3344
  return m;
3324
3345
  var f = g(i, this.clonePosition());
3325
- if (u && Et(u?.style, "::", 0)) {
3326
- var w = zn(u.style.slice(2));
3346
+ if (u && St(u?.style, "::", 0)) {
3347
+ var E = Jn(u.style.slice(2));
3327
3348
  if (a === "number") {
3328
- var p = this.parseNumberSkeletonFromString(w, u.styleLocation);
3349
+ var p = this.parseNumberSkeletonFromString(E, u.styleLocation);
3329
3350
  return p.err ? p : {
3330
- val: { type: T.number, value: n, location: f, style: p.val },
3351
+ val: { type: S.number, value: n, location: f, style: p.val },
3331
3352
  err: null
3332
3353
  };
3333
3354
  } else {
3334
- if (w.length === 0)
3355
+ if (E.length === 0)
3335
3356
  return this.error(y.EXPECT_DATE_TIME_SKELETON, f);
3336
- var B = w;
3337
- this.locale && (B = Nn(w, this.locale));
3357
+ var B = E;
3358
+ this.locale && (B = $n(E, this.locale));
3338
3359
  var h = {
3339
- type: re.dateTime,
3360
+ type: te.dateTime,
3340
3361
  pattern: B,
3341
3362
  location: u.styleLocation,
3342
- parsedOptions: this.shouldParseSkeletons ? Bn(B) : {}
3343
- }, C = a === "date" ? T.date : T.time;
3363
+ parsedOptions: this.shouldParseSkeletons ? On(B) : {}
3364
+ }, N = a === "date" ? S.date : S.time;
3344
3365
  return {
3345
- val: { type: C, value: n, location: f, style: h },
3366
+ val: { type: N, value: n, location: f, style: h },
3346
3367
  err: null
3347
3368
  };
3348
3369
  }
3349
3370
  }
3350
3371
  return {
3351
3372
  val: {
3352
- type: a === "number" ? T.number : a === "date" ? T.date : T.time,
3373
+ type: a === "number" ? S.number : a === "date" ? S.date : S.time,
3353
3374
  value: n,
3354
3375
  location: f,
3355
3376
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3362,9 +3383,9 @@ var Jn = (
3362
3383
  case "select": {
3363
3384
  var P = this.clonePosition();
3364
3385
  if (this.bumpSpace(), !this.bumpIf(","))
3365
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, g(P, x({}, P)));
3386
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, g(P, we({}, P)));
3366
3387
  this.bumpSpace();
3367
- var $ = this.parseIdentifierIfPossible(), N = 0;
3388
+ var $ = this.parseIdentifierIfPossible(), C = 0;
3368
3389
  if (a !== "select" && $.value === "offset") {
3369
3390
  if (!this.bumpIf(":"))
3370
3391
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
@@ -3372,7 +3393,7 @@ var Jn = (
3372
3393
  var p = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3373
3394
  if (p.err)
3374
3395
  return p;
3375
- this.bumpSpace(), $ = this.parseIdentifierIfPossible(), N = p.val;
3396
+ this.bumpSpace(), $ = this.parseIdentifierIfPossible(), C = p.val;
3376
3397
  }
3377
3398
  var M = this.tryParsePluralOrSelectOptions(t, a, r, $);
3378
3399
  if (M.err)
@@ -3380,23 +3401,23 @@ var Jn = (
3380
3401
  var m = this.tryParseArgumentClose(i);
3381
3402
  if (m.err)
3382
3403
  return m;
3383
- var D = g(i, this.clonePosition());
3404
+ var k = g(i, this.clonePosition());
3384
3405
  return a === "select" ? {
3385
3406
  val: {
3386
- type: T.select,
3407
+ type: S.select,
3387
3408
  value: n,
3388
- options: wt(M.val),
3389
- location: D
3409
+ options: Tt(M.val),
3410
+ location: k
3390
3411
  },
3391
3412
  err: null
3392
3413
  } : {
3393
3414
  val: {
3394
- type: T.plural,
3415
+ type: S.plural,
3395
3416
  value: n,
3396
- options: wt(M.val),
3397
- offset: N,
3417
+ options: Tt(M.val),
3418
+ offset: C,
3398
3419
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3399
- location: D
3420
+ location: k
3400
3421
  },
3401
3422
  err: null
3402
3423
  };
@@ -3444,16 +3465,16 @@ var Jn = (
3444
3465
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3445
3466
  var n = [];
3446
3467
  try {
3447
- n = On(t);
3468
+ n = Mn(t);
3448
3469
  } catch {
3449
3470
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3450
3471
  }
3451
3472
  return {
3452
3473
  val: {
3453
- type: re.number,
3474
+ type: te.number,
3454
3475
  tokens: n,
3455
3476
  location: r,
3456
- parsedOptions: this.shouldParseSkeletons ? Cn(n) : {}
3477
+ parsedOptions: this.shouldParseSkeletons ? Ln(n) : {}
3457
3478
  },
3458
3479
  err: null
3459
3480
  };
@@ -3501,7 +3522,7 @@ var Jn = (
3501
3522
  break;
3502
3523
  }
3503
3524
  var l = g(i, this.clonePosition());
3504
- return o ? (s *= n, Xn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3525
+ return o ? (s *= n, zn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3505
3526
  }, e.prototype.offset = function() {
3506
3527
  return this.position.offset;
3507
3528
  }, e.prototype.isEOF = function() {
@@ -3516,7 +3537,7 @@ var Jn = (
3516
3537
  var t = this.position.offset;
3517
3538
  if (t >= this.message.length)
3518
3539
  throw Error("out of bound");
3519
- var r = ar(this.message, t);
3540
+ var r = ur(this.message, t);
3520
3541
  if (r === void 0)
3521
3542
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3522
3543
  return r;
@@ -3535,7 +3556,7 @@ var Jn = (
3535
3556
  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);
3536
3557
  }
3537
3558
  }, e.prototype.bumpIf = function(t) {
3538
- if (Et(this.message, t, this.offset())) {
3559
+ if (St(this.message, t, this.offset())) {
3539
3560
  for (var r = 0; r < t.length; r++)
3540
3561
  this.bump();
3541
3562
  return !0;
@@ -3557,7 +3578,7 @@ var Jn = (
3557
3578
  break;
3558
3579
  }
3559
3580
  }, e.prototype.bumpSpace = function() {
3560
- for (; !this.isEOF() && lr(this.char()); )
3581
+ for (; !this.isEOF() && cr(this.char()); )
3561
3582
  this.bump();
3562
3583
  }, e.prototype.peek = function() {
3563
3584
  if (this.isEOF())
@@ -3567,47 +3588,47 @@ var Jn = (
3567
3588
  }, e;
3568
3589
  }()
3569
3590
  );
3570
- function Ye(e) {
3591
+ function rt(e) {
3571
3592
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3572
3593
  }
3573
- function Qn(e) {
3574
- return Ye(e) || e === 47;
3594
+ function Kn(e) {
3595
+ return rt(e) || e === 47;
3575
3596
  }
3576
- function Yn(e) {
3597
+ function ei(e) {
3577
3598
  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;
3578
3599
  }
3579
- function lr(e) {
3600
+ function cr(e) {
3580
3601
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3581
3602
  }
3582
- function Kn(e) {
3603
+ function ti(e) {
3583
3604
  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;
3584
3605
  }
3585
- function Ke(e) {
3606
+ function nt(e) {
3586
3607
  e.forEach(function(t) {
3587
- if (delete t.location, Kt(t) || er(t))
3608
+ if (delete t.location, er(t) || tr(t))
3588
3609
  for (var r in t.options)
3589
- delete t.options[r].location, Ke(t.options[r].value);
3610
+ delete t.options[r].location, nt(t.options[r].value);
3590
3611
  else
3591
- Jt(t) && rr(t.style) || (Qt(t) || Yt(t)) && ze(t.style) ? delete t.style.location : tr(t) && Ke(t.children);
3612
+ Qt(t) && nr(t.style) || (Yt(t) || Kt(t)) && Ye(t.style) ? delete t.style.location : rr(t) && nt(t.children);
3592
3613
  });
3593
3614
  }
3594
- function ei(e, t) {
3595
- t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3596
- var r = new Jn(e, t).parse();
3615
+ function ri(e, t) {
3616
+ t === void 0 && (t = {}), t = we({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3617
+ var r = new Yn(e, t).parse();
3597
3618
  if (r.err) {
3598
3619
  var n = SyntaxError(y[r.err.kind]);
3599
3620
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3600
3621
  }
3601
- return t?.captureLocation || Ke(r.val), r.val;
3622
+ return t?.captureLocation || nt(r.val), r.val;
3602
3623
  }
3603
- var ne;
3624
+ var re;
3604
3625
  (function(e) {
3605
3626
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3606
- })(ne || (ne = {}));
3607
- var Ae = (
3627
+ })(re || (re = {}));
3628
+ var Pe = (
3608
3629
  /** @class */
3609
3630
  function(e) {
3610
- V(t, e);
3631
+ Be(t, e);
3611
3632
  function t(r, n, i) {
3612
3633
  var o = e.call(this, r) || this;
3613
3634
  return o.code = n, o.originalMessage = i, o;
@@ -3616,48 +3637,48 @@ var Ae = (
3616
3637
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3617
3638
  }, t;
3618
3639
  }(Error)
3619
- ), Tt = (
3640
+ ), Ht = (
3620
3641
  /** @class */
3621
3642
  function(e) {
3622
- V(t, e);
3643
+ Be(t, e);
3623
3644
  function t(r, n, i, o) {
3624
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ne.INVALID_VALUE, o) || this;
3645
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, o) || this;
3625
3646
  }
3626
3647
  return t;
3627
- }(Ae)
3628
- ), ti = (
3648
+ }(Pe)
3649
+ ), ni = (
3629
3650
  /** @class */
3630
3651
  function(e) {
3631
- V(t, e);
3652
+ Be(t, e);
3632
3653
  function t(r, n, i) {
3633
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ne.INVALID_VALUE, i) || this;
3654
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
3634
3655
  }
3635
3656
  return t;
3636
- }(Ae)
3637
- ), ri = (
3657
+ }(Pe)
3658
+ ), ii = (
3638
3659
  /** @class */
3639
3660
  function(e) {
3640
- V(t, e);
3661
+ Be(t, e);
3641
3662
  function t(r, n) {
3642
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ne.MISSING_VALUE, n) || this;
3663
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
3643
3664
  }
3644
3665
  return t;
3645
- }(Ae)
3666
+ }(Pe)
3646
3667
  ), R;
3647
3668
  (function(e) {
3648
3669
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3649
3670
  })(R || (R = {}));
3650
- function ni(e) {
3671
+ function oi(e) {
3651
3672
  return e.length < 2 ? e : e.reduce(function(t, r) {
3652
3673
  var n = t[t.length - 1];
3653
3674
  return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3654
3675
  }, []);
3655
3676
  }
3656
- function ii(e) {
3677
+ function si(e) {
3657
3678
  return typeof e == "function";
3658
3679
  }
3659
3680
  function _e(e, t, r, n, i, o, s) {
3660
- if (e.length === 1 && yt(e[0]))
3681
+ if (e.length === 1 && _t(e[0]))
3661
3682
  return [
3662
3683
  {
3663
3684
  type: R.literal,
@@ -3666,14 +3687,14 @@ function _e(e, t, r, n, i, o, s) {
3666
3687
  ];
3667
3688
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3668
3689
  var c = u[l];
3669
- if (yt(c)) {
3690
+ if (_t(c)) {
3670
3691
  a.push({
3671
3692
  type: R.literal,
3672
3693
  value: c.value
3673
3694
  });
3674
3695
  continue;
3675
3696
  }
3676
- if (Hn(c)) {
3697
+ if (Bn(c)) {
3677
3698
  typeof o == "number" && a.push({
3678
3699
  type: R.literal,
3679
3700
  value: r.getNumberFormat(t).format(o)
@@ -3682,89 +3703,89 @@ function _e(e, t, r, n, i, o, s) {
3682
3703
  }
3683
3704
  var p = c.value;
3684
3705
  if (!(i && p in i))
3685
- throw new ri(p, s);
3706
+ throw new ii(p, s);
3686
3707
  var h = i[p];
3687
- if (Tn(c)) {
3708
+ if (Hn(c)) {
3688
3709
  (!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), a.push({
3689
3710
  type: typeof h == "string" ? R.literal : R.object,
3690
3711
  value: h
3691
3712
  });
3692
3713
  continue;
3693
3714
  }
3694
- if (Qt(c)) {
3695
- var b = typeof c.style == "string" ? n.date[c.style] : ze(c.style) ? c.style.parsedOptions : void 0;
3715
+ if (Yt(c)) {
3716
+ var b = typeof c.style == "string" ? n.date[c.style] : Ye(c.style) ? c.style.parsedOptions : void 0;
3696
3717
  a.push({
3697
3718
  type: R.literal,
3698
3719
  value: r.getDateTimeFormat(t, b).format(h)
3699
3720
  });
3700
3721
  continue;
3701
3722
  }
3702
- if (Yt(c)) {
3703
- var b = typeof c.style == "string" ? n.time[c.style] : ze(c.style) ? c.style.parsedOptions : n.time.medium;
3723
+ if (Kt(c)) {
3724
+ var b = typeof c.style == "string" ? n.time[c.style] : Ye(c.style) ? c.style.parsedOptions : n.time.medium;
3704
3725
  a.push({
3705
3726
  type: R.literal,
3706
3727
  value: r.getDateTimeFormat(t, b).format(h)
3707
3728
  });
3708
3729
  continue;
3709
3730
  }
3710
- if (Jt(c)) {
3711
- var b = typeof c.style == "string" ? n.number[c.style] : rr(c.style) ? c.style.parsedOptions : void 0;
3731
+ if (Qt(c)) {
3732
+ var b = typeof c.style == "string" ? n.number[c.style] : nr(c.style) ? c.style.parsedOptions : void 0;
3712
3733
  b && b.scale && (h = h * (b.scale || 1)), a.push({
3713
3734
  type: R.literal,
3714
3735
  value: r.getNumberFormat(t, b).format(h)
3715
3736
  });
3716
3737
  continue;
3717
3738
  }
3718
- if (tr(c)) {
3719
- var m = c.children, f = c.value, w = i[f];
3720
- if (!ii(w))
3721
- throw new ti(f, "function", s);
3722
- var B = _e(m, t, r, n, i, o), C = w(B.map(function(N) {
3723
- return N.value;
3739
+ if (rr(c)) {
3740
+ var m = c.children, f = c.value, E = i[f];
3741
+ if (!si(E))
3742
+ throw new ni(f, "function", s);
3743
+ var B = _e(m, t, r, n, i, o), N = E(B.map(function(C) {
3744
+ return C.value;
3724
3745
  }));
3725
- Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(N) {
3746
+ Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(C) {
3726
3747
  return {
3727
- type: typeof N == "string" ? R.literal : R.object,
3728
- value: N
3748
+ type: typeof C == "string" ? R.literal : R.object,
3749
+ value: C
3729
3750
  };
3730
3751
  }));
3731
3752
  }
3732
- if (Kt(c)) {
3753
+ if (er(c)) {
3733
3754
  var P = c.options[h] || c.options.other;
3734
3755
  if (!P)
3735
- throw new Tt(c.value, h, Object.keys(c.options), s);
3756
+ throw new Ht(c.value, h, Object.keys(c.options), s);
3736
3757
  a.push.apply(a, _e(P.value, t, r, n, i));
3737
3758
  continue;
3738
3759
  }
3739
- if (er(c)) {
3760
+ if (tr(c)) {
3740
3761
  var P = c.options["=".concat(h)];
3741
3762
  if (!P) {
3742
3763
  if (!Intl.PluralRules)
3743
- throw new Ae(`Intl.PluralRules is not available in this environment.
3764
+ throw new Pe(`Intl.PluralRules is not available in this environment.
3744
3765
  Try polyfilling it using "@formatjs/intl-pluralrules"
3745
- `, ne.MISSING_INTL_API, s);
3766
+ `, re.MISSING_INTL_API, s);
3746
3767
  var $ = r.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
3747
3768
  P = c.options[$] || c.options.other;
3748
3769
  }
3749
3770
  if (!P)
3750
- throw new Tt(c.value, h, Object.keys(c.options), s);
3771
+ throw new Ht(c.value, h, Object.keys(c.options), s);
3751
3772
  a.push.apply(a, _e(P.value, t, r, n, i, h - (c.offset || 0)));
3752
3773
  continue;
3753
3774
  }
3754
3775
  }
3755
- return ni(a);
3776
+ return oi(a);
3756
3777
  }
3757
- function oi(e, t) {
3758
- return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3759
- return r[n] = x(x({}, e[n]), t[n] || {}), r;
3778
+ function ai(e, t) {
3779
+ return t ? U(U(U({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3780
+ return r[n] = U(U({}, e[n]), t[n] || {}), r;
3760
3781
  }, {})) : e;
3761
3782
  }
3762
- function si(e, t) {
3783
+ function ui(e, t) {
3763
3784
  return t ? Object.keys(e).reduce(function(r, n) {
3764
- return r[n] = oi(e[n], t[n]), r;
3765
- }, x({}, e)) : e;
3785
+ return r[n] = ai(e[n], t[n]), r;
3786
+ }, U({}, e)) : e;
3766
3787
  }
3767
- function $e(e) {
3788
+ function De(e) {
3768
3789
  return {
3769
3790
  create: function() {
3770
3791
  return {
@@ -3778,39 +3799,39 @@ function $e(e) {
3778
3799
  }
3779
3800
  };
3780
3801
  }
3781
- function ai(e) {
3802
+ function li(e) {
3782
3803
  return e === void 0 && (e = {
3783
3804
  number: {},
3784
3805
  dateTime: {},
3785
3806
  pluralRules: {}
3786
3807
  }), {
3787
- getNumberFormat: Ce(function() {
3808
+ getNumberFormat: Le(function() {
3788
3809
  for (var t, r = [], n = 0; n < arguments.length; n++)
3789
3810
  r[n] = arguments[n];
3790
- return new ((t = Intl.NumberFormat).bind.apply(t, ee([void 0], r, !1)))();
3811
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
3791
3812
  }, {
3792
- cache: $e(e.number),
3793
- strategy: Ne.variadic
3813
+ cache: De(e.number),
3814
+ strategy: $e.variadic
3794
3815
  }),
3795
- getDateTimeFormat: Ce(function() {
3816
+ getDateTimeFormat: Le(function() {
3796
3817
  for (var t, r = [], n = 0; n < arguments.length; n++)
3797
3818
  r[n] = arguments[n];
3798
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ee([void 0], r, !1)))();
3819
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
3799
3820
  }, {
3800
- cache: $e(e.dateTime),
3801
- strategy: Ne.variadic
3821
+ cache: De(e.dateTime),
3822
+ strategy: $e.variadic
3802
3823
  }),
3803
- getPluralRules: Ce(function() {
3824
+ getPluralRules: Le(function() {
3804
3825
  for (var t, r = [], n = 0; n < arguments.length; n++)
3805
3826
  r[n] = arguments[n];
3806
- return new ((t = Intl.PluralRules).bind.apply(t, ee([void 0], r, !1)))();
3827
+ return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
3807
3828
  }, {
3808
- cache: $e(e.pluralRules),
3809
- strategy: Ne.variadic
3829
+ cache: De(e.pluralRules),
3830
+ strategy: $e.variadic
3810
3831
  })
3811
3832
  };
3812
3833
  }
3813
- var ui = (
3834
+ var ci = (
3814
3835
  /** @class */
3815
3836
  function() {
3816
3837
  function e(t, r, n, i) {
@@ -3842,13 +3863,13 @@ var ui = (
3842
3863
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3843
3864
  var s = i || {};
3844
3865
  s.formatters;
3845
- var a = Ur(s, ["formatters"]);
3846
- this.ast = e.__parse(t, x(x({}, a), { locale: this.resolvedLocale }));
3866
+ var a = gn(s, ["formatters"]);
3867
+ this.ast = e.__parse(t, U(U({}, a), { locale: this.resolvedLocale }));
3847
3868
  } else
3848
3869
  this.ast = t;
3849
3870
  if (!Array.isArray(this.ast))
3850
3871
  throw new TypeError("A message must be provided as a String or AST.");
3851
- this.formats = si(e.formats, n), this.formatters = i && i.formatters || ai(this.formatterCache);
3872
+ this.formats = ui(e.formats, n), this.formatters = i && i.formatters || li(this.formatterCache);
3852
3873
  }
3853
3874
  return Object.defineProperty(e, "defaultLocale", {
3854
3875
  get: function() {
@@ -3861,7 +3882,7 @@ var ui = (
3861
3882
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3862
3883
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3863
3884
  }
3864
- }, e.__parse = ei, e.formats = {
3885
+ }, e.__parse = ri, e.formats = {
3865
3886
  number: {
3866
3887
  integer: {
3867
3888
  maximumFractionDigits: 0
@@ -3922,7 +3943,7 @@ var ui = (
3922
3943
  }, e;
3923
3944
  }()
3924
3945
  );
3925
- function li(e, t) {
3946
+ function hi(e, t) {
3926
3947
  if (t == null)
3927
3948
  return;
3928
3949
  if (t in e)
@@ -3943,92 +3964,92 @@ function li(e, t) {
3943
3964
  n = void 0;
3944
3965
  return n;
3945
3966
  }
3946
- const q = {}, ci = (e, t, r) => r && (t in q || (q[t] = {}), e in q[t] || (q[t][e] = r), r), cr = (e, t) => {
3967
+ const q = {}, fi = (e, t, r) => r && (t in q || (q[t] = {}), e in q[t] || (q[t][e] = r), r), hr = (e, t) => {
3947
3968
  if (t == null)
3948
3969
  return;
3949
3970
  if (t in q && e in q[t])
3950
3971
  return q[t][e];
3951
- const r = Be(t);
3972
+ const r = Oe(t);
3952
3973
  for (let n = 0; n < r.length; n++) {
3953
- const i = r[n], o = fi(i, e);
3974
+ const i = r[n], o = di(i, e);
3954
3975
  if (o)
3955
- return ci(e, t, o);
3976
+ return fi(e, t, o);
3956
3977
  }
3957
3978
  };
3958
- let ot;
3979
+ let at;
3959
3980
  const me = He({});
3960
- function hi(e) {
3961
- return ot[e] || null;
3981
+ function pi(e) {
3982
+ return at[e] || null;
3962
3983
  }
3963
- function hr(e) {
3964
- return e in ot;
3984
+ function fr(e) {
3985
+ return e in at;
3965
3986
  }
3966
- function fi(e, t) {
3967
- if (!hr(e))
3987
+ function di(e, t) {
3988
+ if (!fr(e))
3968
3989
  return null;
3969
- const r = hi(e);
3970
- return li(r, t);
3990
+ const r = pi(e);
3991
+ return hi(r, t);
3971
3992
  }
3972
- function pi(e) {
3993
+ function mi(e) {
3973
3994
  if (e == null)
3974
3995
  return;
3975
- const t = Be(e);
3996
+ const t = Oe(e);
3976
3997
  for (let r = 0; r < t.length; r++) {
3977
3998
  const n = t[r];
3978
- if (hr(n))
3999
+ if (fr(n))
3979
4000
  return n;
3980
4001
  }
3981
4002
  }
3982
- function fr(e, ...t) {
4003
+ function pr(e, ...t) {
3983
4004
  delete q[e], me.update((r) => (r[e] = yn.all([r[e] || {}, ...t]), r));
3984
4005
  }
3985
- se(
4006
+ oe(
3986
4007
  [me],
3987
4008
  ([e]) => Object.keys(e)
3988
4009
  );
3989
- me.subscribe((e) => ot = e);
4010
+ me.subscribe((e) => at = e);
3990
4011
  const xe = {};
3991
- function di(e, t) {
4012
+ function bi(e, t) {
3992
4013
  xe[e].delete(t), xe[e].size === 0 && delete xe[e];
3993
4014
  }
3994
- function pr(e) {
4015
+ function dr(e) {
3995
4016
  return xe[e];
3996
4017
  }
3997
- function mi(e) {
3998
- return Be(e).map((t) => {
3999
- const r = pr(t);
4018
+ function vi(e) {
4019
+ return Oe(e).map((t) => {
4020
+ const r = dr(t);
4000
4021
  return [t, r ? [...r] : []];
4001
4022
  }).filter(([, t]) => t.length > 0);
4002
4023
  }
4003
- function et(e) {
4004
- return e == null ? !1 : Be(e).some(
4024
+ function it(e) {
4025
+ return e == null ? !1 : Oe(e).some(
4005
4026
  (t) => {
4006
4027
  var r;
4007
- return (r = pr(t)) == null ? void 0 : r.size;
4028
+ return (r = dr(t)) == null ? void 0 : r.size;
4008
4029
  }
4009
4030
  );
4010
4031
  }
4011
- function bi(e, t) {
4032
+ function yi(e, t) {
4012
4033
  return Promise.all(
4013
- t.map((n) => (di(e, n), n().then((i) => i.default || i)))
4014
- ).then((n) => fr(e, ...n));
4015
- }
4016
- const le = {};
4017
- function dr(e) {
4018
- if (!et(e))
4019
- return e in le ? le[e] : Promise.resolve();
4020
- const t = mi(e);
4021
- return le[e] = Promise.all(
4034
+ t.map((n) => (bi(e, n), n().then((i) => i.default || i)))
4035
+ ).then((n) => pr(e, ...n));
4036
+ }
4037
+ const ue = {};
4038
+ function mr(e) {
4039
+ if (!it(e))
4040
+ return e in ue ? ue[e] : Promise.resolve();
4041
+ const t = vi(e);
4042
+ return ue[e] = Promise.all(
4022
4043
  t.map(
4023
- ([r, n]) => bi(r, n)
4044
+ ([r, n]) => yi(r, n)
4024
4045
  )
4025
4046
  ).then(() => {
4026
- if (et(e))
4027
- return dr(e);
4028
- delete le[e];
4029
- }), le[e];
4047
+ if (it(e))
4048
+ return mr(e);
4049
+ delete ue[e];
4050
+ }), ue[e];
4030
4051
  }
4031
- const vi = {
4052
+ const gi = {
4032
4053
  number: {
4033
4054
  scientific: { notation: "scientific" },
4034
4055
  engineering: { notation: "engineering" },
@@ -4057,135 +4078,135 @@ const vi = {
4057
4078
  timeZoneName: "short"
4058
4079
  }
4059
4080
  }
4060
- }, yi = {
4081
+ }, _i = {
4061
4082
  fallbackLocale: null,
4062
4083
  loadingDelay: 200,
4063
- formats: vi,
4084
+ formats: gi,
4064
4085
  warnOnMissingMessages: !0,
4065
4086
  handleMissingMessage: void 0,
4066
4087
  ignoreTag: !0
4067
- }, gi = yi;
4068
- function ie() {
4069
- return gi;
4088
+ }, xi = _i;
4089
+ function ne() {
4090
+ return xi;
4070
4091
  }
4071
- const De = He(!1);
4072
- var _i = Object.defineProperty, xi = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, wi = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ti = (e, t) => {
4092
+ const Ue = He(!1);
4093
+ var Ei = Object.defineProperty, wi = Object.defineProperties, Si = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hi = (e, t) => {
4073
4094
  for (var r in t || (t = {}))
4074
- wi.call(t, r) && At(e, r, t[r]);
4075
- if (Ht)
4076
- for (var r of Ht(t))
4077
- Si.call(t, r) && At(e, r, t[r]);
4095
+ Ti.call(t, r) && Pt(e, r, t[r]);
4096
+ if (Bt)
4097
+ for (var r of Bt(t))
4098
+ Ai.call(t, r) && Pt(e, r, t[r]);
4078
4099
  return e;
4079
- }, Hi = (e, t) => xi(e, Ei(t));
4080
- let tt;
4081
- const we = He(null);
4082
- function Bt(e) {
4100
+ }, Bi = (e, t) => wi(e, Si(t));
4101
+ let ot;
4102
+ const Se = He(null);
4103
+ function Ot(e) {
4083
4104
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4084
4105
  }
4085
- function Be(e, t = ie().fallbackLocale) {
4086
- const r = Bt(e);
4087
- return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4106
+ function Oe(e, t = ne().fallbackLocale) {
4107
+ const r = Ot(e);
4108
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ot(t)])] : r;
4088
4109
  }
4089
4110
  function z() {
4090
- return tt ?? void 0;
4111
+ return ot ?? void 0;
4091
4112
  }
4092
- we.subscribe((e) => {
4093
- tt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4113
+ Se.subscribe((e) => {
4114
+ ot = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4094
4115
  });
4095
- const Ai = (e) => {
4096
- if (e && pi(e) && et(e)) {
4097
- const { loadingDelay: t } = ie();
4116
+ const Pi = (e) => {
4117
+ if (e && mi(e) && it(e)) {
4118
+ const { loadingDelay: t } = ne();
4098
4119
  let r;
4099
4120
  return typeof window < "u" && z() != null && t ? r = window.setTimeout(
4100
- () => De.set(!0),
4121
+ () => Ue.set(!0),
4101
4122
  t
4102
- ) : De.set(!0), dr(e).then(() => {
4103
- we.set(e);
4123
+ ) : Ue.set(!0), mr(e).then(() => {
4124
+ Se.set(e);
4104
4125
  }).finally(() => {
4105
- clearTimeout(r), De.set(!1);
4126
+ clearTimeout(r), Ue.set(!1);
4106
4127
  });
4107
4128
  }
4108
- return we.set(e);
4109
- }, ae = Hi(Ti({}, we), {
4110
- set: Ai
4111
- }), Pe = (e) => {
4129
+ return Se.set(e);
4130
+ }, se = Bi(Hi({}, Se), {
4131
+ set: Pi
4132
+ }), Re = (e) => {
4112
4133
  const t = /* @__PURE__ */ Object.create(null);
4113
4134
  return (n) => {
4114
4135
  const i = JSON.stringify(n);
4115
4136
  return i in t ? t[i] : t[i] = e(n);
4116
4137
  };
4117
4138
  };
4118
- var Bi = Object.defineProperty, Se = Object.getOwnPropertySymbols, mr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
4139
+ var Oi = Object.defineProperty, Te = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
4119
4140
  for (var r in t || (t = {}))
4120
- mr.call(t, r) && Pt(e, r, t[r]);
4121
- if (Se)
4122
- for (var r of Se(t))
4123
- br.call(t, r) && Pt(e, r, t[r]);
4141
+ br.call(t, r) && Rt(e, r, t[r]);
4142
+ if (Te)
4143
+ for (var r of Te(t))
4144
+ vr.call(t, r) && Rt(e, r, t[r]);
4124
4145
  return e;
4125
- }, ue = (e, t) => {
4146
+ }, ae = (e, t) => {
4126
4147
  var r = {};
4127
4148
  for (var n in e)
4128
- mr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4129
- if (e != null && Se)
4130
- for (var n of Se(e))
4131
- t.indexOf(n) < 0 && br.call(e, n) && (r[n] = e[n]);
4149
+ br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4150
+ if (e != null && Te)
4151
+ for (var n of Te(e))
4152
+ t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
4132
4153
  return r;
4133
4154
  };
4134
- const de = (e, t) => {
4135
- const { formats: r } = ie();
4155
+ const pe = (e, t) => {
4156
+ const { formats: r } = ne();
4136
4157
  if (e in r && t in r[e])
4137
4158
  return r[e][t];
4138
4159
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4139
- }, Pi = Pe(
4160
+ }, Ri = Re(
4140
4161
  (e) => {
4141
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4162
+ var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
4142
4163
  if (r == null)
4143
4164
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4144
- return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
4165
+ return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
4145
4166
  }
4146
- ), Oi = Pe(
4167
+ ), Mi = Re(
4147
4168
  (e) => {
4148
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4169
+ var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
4149
4170
  if (r == null)
4150
4171
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4151
- return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
4172
+ return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
4152
4173
  }
4153
- ), Ri = Pe(
4174
+ ), Ii = Re(
4154
4175
  (e) => {
4155
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4176
+ var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
4156
4177
  if (r == null)
4157
4178
  throw new Error(
4158
4179
  '[svelte-i18n] A "locale" must be set to format time values'
4159
4180
  );
4160
- return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
4181
+ return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
4161
4182
  }
4162
- ), Mi = (e = {}) => {
4183
+ ), Ni = (e = {}) => {
4163
4184
  var t = e, {
4164
4185
  locale: r = z()
4165
- } = t, n = ue(t, [
4186
+ } = t, n = ae(t, [
4166
4187
  "locale"
4167
4188
  ]);
4168
- return Pi(st({ locale: r }, n));
4169
- }, Ii = (e = {}) => {
4189
+ return Ri(ut({ locale: r }, n));
4190
+ }, Ci = (e = {}) => {
4170
4191
  var t = e, {
4171
4192
  locale: r = z()
4172
- } = t, n = ue(t, [
4193
+ } = t, n = ae(t, [
4173
4194
  "locale"
4174
4195
  ]);
4175
- return Oi(st({ locale: r }, n));
4176
- }, Ci = (e = {}) => {
4196
+ return Mi(ut({ locale: r }, n));
4197
+ }, Li = (e = {}) => {
4177
4198
  var t = e, {
4178
4199
  locale: r = z()
4179
- } = t, n = ue(t, [
4200
+ } = t, n = ae(t, [
4180
4201
  "locale"
4181
4202
  ]);
4182
- return Ri(st({ locale: r }, n));
4183
- }, Ni = Pe(
4203
+ return Ii(ut({ locale: r }, n));
4204
+ }, $i = Re(
4184
4205
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4185
- (e, t = z()) => new ui(e, t, ie().formats, {
4186
- ignoreTag: ie().ignoreTag
4206
+ (e, t = z()) => new ci(e, t, ne().formats, {
4207
+ ignoreTag: ne().ignoreTag
4187
4208
  })
4188
- ), Li = (e, t = {}) => {
4209
+ ), ki = (e, t = {}) => {
4189
4210
  var r, n, i, o;
4190
4211
  let s = t;
4191
4212
  typeof e == "object" && (s = e, e = s.id);
@@ -4198,9 +4219,9 @@ const de = (e, t) => {
4198
4219
  throw new Error(
4199
4220
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4200
4221
  );
4201
- let c = cr(e, l);
4222
+ let c = hr(e, l);
4202
4223
  if (!c)
4203
- c = (o = (i = (n = (r = ie()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4224
+ c = (o = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4204
4225
  else if (typeof c != "string")
4205
4226
  return console.warn(
4206
4227
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4209,7 +4230,7 @@ const de = (e, t) => {
4209
4230
  return c;
4210
4231
  let p = c;
4211
4232
  try {
4212
- p = Ni(c, l).format(a);
4233
+ p = $i(c, l).format(a);
4213
4234
  } catch (h) {
4214
4235
  h instanceof Error && console.warn(
4215
4236
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4217,21 +4238,21 @@ const de = (e, t) => {
4217
4238
  );
4218
4239
  }
4219
4240
  return p;
4220
- }, $i = (e, t) => Ci(t).format(e), Di = (e, t) => Ii(t).format(e), ki = (e, t) => Mi(t).format(e), Ui = (e, t = z()) => cr(e, t), Fi = se([ae, me], () => Li);
4221
- se([ae], () => $i);
4222
- se([ae], () => Di);
4223
- se([ae], () => ki);
4224
- se([ae, me], () => Ui);
4241
+ }, Di = (e, t) => Li(t).format(e), Ui = (e, t) => Ci(t).format(e), Fi = (e, t) => Ni(t).format(e), ji = (e, t = z()) => hr(e, t), Gi = oe([se, me], () => ki);
4242
+ oe([se], () => Di);
4243
+ oe([se], () => Ui);
4244
+ oe([se], () => Fi);
4245
+ oe([se, me], () => ji);
4225
4246
  window.emWidgets = { topic: en };
4226
- const ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4247
+ const Vi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4227
4248
  String(Number.MAX_SAFE_INTEGER).length;
4228
- function Ot(e, t) {
4229
- fr(e, t);
4249
+ function Mt(e, t) {
4250
+ pr(e, t);
4230
4251
  }
4231
- function Gi(e) {
4232
- ae.set(e);
4252
+ function qi(e) {
4253
+ se.set(e);
4233
4254
  }
4234
- const Rt = {
4255
+ const It = {
4235
4256
  en: {
4236
4257
  titleAccountReview: "Account Review Frequency",
4237
4258
  accountReviewText: "To promote responsible play, we periodically prompt customers to review their account activity, including Betting History, Payment History, and Gaming History. These reviews help ensure that your activity remains aligned with your current preferences and circumstances. From this page, you can adjust how often you receive these prompts, giving you more control over your experience.",
@@ -4343,13 +4364,13 @@ const Rt = {
4343
4364
  monthly: "Monthly"
4344
4365
  }
4345
4366
  };
4346
- function Vi(e, t) {
4367
+ function Xi(e, t) {
4347
4368
  if (e) {
4348
4369
  const r = document.createElement("style");
4349
4370
  r.innerHTML = t, e.appendChild(r);
4350
4371
  }
4351
4372
  }
4352
- function qi(e, t) {
4373
+ function Wi(e, t) {
4353
4374
  if (!e || !t)
4354
4375
  return;
4355
4376
  const r = new URL(t);
@@ -4360,7 +4381,7 @@ function qi(e, t) {
4360
4381
  console.error("There was an error while trying to load client styling from URL", n);
4361
4382
  });
4362
4383
  }
4363
- function Xi(e, t, r) {
4384
+ function zi(e, t, r) {
4364
4385
  if (window.emMessageBus) {
4365
4386
  const n = document.createElement("style");
4366
4387
  window.emMessageBus.subscribe(t, (i) => {
@@ -4368,44 +4389,44 @@ function Xi(e, t, r) {
4368
4389
  });
4369
4390
  }
4370
4391
  }
4371
- function Wi(e) {
4372
- gr(e, "svelte-1u91vzw", '.SkeletonContainer{width:100%;display:flex;flex-direction:column;gap:17px;animation:fadeIn 0.3s ease-in 1}.SkeletonContainer .SkeletonMenuButton{display:flex;gap:20px;width:100%}.SkeletonContainer .SkeletonMenuButton.Mobile{margin-top:10px}.SkeletonContainer .SkeletonTextContainer{width:100%;min-height:140px}.SkeletonContainer .SkeletonOptionContainer{display:flex;flex-direction:column;width:100%;min-height:200px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption{display:flex;flex-direction:row;align-items:center;gap:10px;width:100%;margin:0 0 13px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption .SkeletonOptionText{width:20%;margin-top:10px}.SkeletonContainer .SkeletonOptionContainer .Button{margin-top:5px}.customRadio{margin-top:15px}.customRadio div{margin:0 0 20px}.customRadio input[type=radio]{position:absolute;left:-9999px}.customRadio input[type=radio]+label{position:relative;padding:3px 0 0 30px;cursor:pointer}.customRadio input[type=radio]+label:before{content:"";background:var(--emw--color-white, #fff);border:1px solid var(--emw--color-gray-300, #58586b);height:16px;width:16px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type=radio]+label:after{content:"";background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type=radio]:checked+label:after{opacity:1;transform:scale(1)}.PlayerAccountReviewWrapper{position:relative;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072a));padding:50px;max-width:760px}.PlayerAccountReviewWrapper.PlayerAccountReviewWrapperMobile{padding:20px 15px;max-width:unset}.AccountReviewTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-weight:400}.AccountReviewTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.AccountReviewTitleNone{display:none}.AccountReviewDescription{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072a));line-height:24px}.AccountReviewDescription p{min-height:140px}.AccountReviewDescription.AccountReviewDescriptionMobile{font-size:12px;line-height:18px}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-typography, var(--emw--color-white, #fff));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton.ButtonInactive{background:transparent;border:1px solid var(--emw--color-gray-300, #58586b);cursor:not-allowed;opacity:0.6;color:var(--emw--color-gray-300, #58586b)}.PlayerRealityCheckButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586b)}.PlayerRealityCheckButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.containerTimeout{animation:fadeIn 0.3s ease-in 1}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
4392
+ function Zi(e) {
4393
+ _r(e, "svelte-1u91vzw", '.SkeletonContainer{width:100%;display:flex;flex-direction:column;gap:17px;animation:fadeIn 0.3s ease-in 1}.SkeletonContainer .SkeletonMenuButton{display:flex;gap:20px;width:100%}.SkeletonContainer .SkeletonMenuButton.Mobile{margin-top:10px}.SkeletonContainer .SkeletonTextContainer{width:100%;min-height:140px}.SkeletonContainer .SkeletonOptionContainer{display:flex;flex-direction:column;width:100%;min-height:200px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption{display:flex;flex-direction:row;align-items:center;gap:10px;width:100%;margin:0 0 13px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption .SkeletonOptionText{width:20%;margin-top:10px}.SkeletonContainer .SkeletonOptionContainer .Button{margin-top:5px}.customRadio{margin-top:15px}.customRadio div{margin:0 0 20px}.customRadio input[type=radio]{position:absolute;left:-9999px}.customRadio input[type=radio]+label{position:relative;padding:3px 0 0 30px;cursor:pointer}.customRadio input[type=radio]+label:before{content:"";background:var(--emw--color-white, #fff);border:1px solid var(--emw--color-gray-300, #58586b);height:16px;width:16px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type=radio]+label:after{content:"";background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type=radio]:checked+label:after{opacity:1;transform:scale(1)}.PlayerAccountReviewWrapper{position:relative;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072a));padding:50px;max-width:760px}.PlayerAccountReviewWrapper.PlayerAccountReviewWrapperMobile{padding:20px 15px;max-width:unset}.AccountReviewTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-weight:400}.AccountReviewTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.AccountReviewTitleNone{display:none}.AccountReviewDescription{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072a));line-height:24px}.AccountReviewDescription p{min-height:140px}.AccountReviewDescription.AccountReviewDescriptionMobile{font-size:12px;line-height:18px}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-typography, var(--emw--color-white, #fff));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton.ButtonInactive{background:transparent;border:1px solid var(--emw--color-gray-300, #58586b);cursor:not-allowed;opacity:0.6;color:var(--emw--color-gray-300, #58586b)}.PlayerRealityCheckButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586b)}.PlayerRealityCheckButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.containerTimeout{animation:fadeIn 0.3s ease-in 1}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
4373
4394
  }
4374
- function Mt(e, t, r) {
4395
+ function Nt(e, t, r) {
4375
4396
  const n = e.slice();
4376
4397
  return n[28] = t[r].value, n[29] = t[r].text, n;
4377
4398
  }
4378
- function zi(e, t, r) {
4399
+ function Ji(e, t, r) {
4379
4400
  const n = e.slice();
4380
4401
  return n[25] = t[r], n;
4381
4402
  }
4382
- function Zi(e) {
4403
+ function Qi(e) {
4383
4404
  let t, r, n, i = (
4384
4405
  /*$_*/
4385
4406
  e[5]("titleAccountReview") + ""
4386
4407
  ), o, s, a, l, u = (
4387
4408
  /*$_*/
4388
4409
  e[5]("accountReviewText") + ""
4389
- ), c, p, h, b, m, f, w = (
4410
+ ), c, p, h, b, m, f, E = (
4390
4411
  /*$_*/
4391
4412
  e[5]("setFrequency") + ""
4392
- ), B, C, P, $, N, M = (
4413
+ ), B, N, P, $, C, M = (
4393
4414
  /*isMobile*/
4394
- e[6] && Qi(e)
4395
- ), D = je(
4415
+ e[6] && Ki(e)
4416
+ ), k = Ve(
4396
4417
  /*options*/
4397
4418
  e[4]
4398
4419
  ), O = [];
4399
- for (let E = 0; E < D.length; E += 1)
4400
- O[E] = It(Mt(e, D, E));
4420
+ for (let x = 0; x < k.length; x += 1)
4421
+ O[x] = Ct(Nt(e, k, x));
4401
4422
  return {
4402
4423
  c() {
4403
- t = S("div"), M && M.c(), r = U(), n = S("h2"), o = W(i), s = U(), a = S("div"), l = S("p"), c = W(u), p = U(), h = S("form");
4404
- for (let E = 0; E < O.length; E += 1)
4405
- O[E].c();
4406
- b = U(), m = S("div"), f = S("button"), B = W(w), _(n, "class", "AccountReviewTitle " + /*isMobile*/
4424
+ t = w("div"), M && M.c(), r = F(), n = w("h2"), o = W(i), s = F(), a = w("div"), l = w("p"), c = W(u), p = F(), h = w("form");
4425
+ for (let x = 0; x < O.length; x += 1)
4426
+ O[x].c();
4427
+ b = F(), m = w("div"), f = w("button"), B = W(E), _(n, "class", "AccountReviewTitle " + /*isMobile*/
4407
4428
  (e[6] ? "AccountReviewTitleNone" : "")), _(a, "class", "AccountReviewDescription " + /*isMobile*/
4408
- (e[6] ? "AccountReviewDescriptionMobile" : "")), _(f, "class", C = "PlayerRealityCheckButton " + (!/*selectedInterval*/
4429
+ (e[6] ? "AccountReviewDescriptionMobile" : "")), _(f, "class", N = "PlayerRealityCheckButton " + (!/*selectedInterval*/
4409
4430
  e[2] || /*currentInterval*/
4410
4431
  e[3] === /*selectedInterval*/
4411
4432
  e[2] ? "ButtonInactive" : "")), f.disabled = P = !/*selectedInterval*/
@@ -4414,113 +4435,113 @@ function Zi(e) {
4414
4435
  e[2], _(m, "class", "BottomButtonsArea " + /*isMobile*/
4415
4436
  (e[6] ? "BottomButtonsAreaMobile" : "")), _(h, "class", "customRadio"), _(t, "class", "containerTimeout");
4416
4437
  },
4417
- m(E, L) {
4418
- G(E, t, L), M && M.m(t, null), v(t, r), v(t, n), v(n, o), v(t, s), v(t, a), v(a, l), v(l, c), v(t, p), v(t, h);
4438
+ m(x, L) {
4439
+ V(x, t, L), M && M.m(t, null), v(t, r), v(t, n), v(n, o), v(t, s), v(t, a), v(a, l), v(l, c), v(t, p), v(t, h);
4419
4440
  for (let d = 0; d < O.length; d += 1)
4420
4441
  O[d] && O[d].m(h, null);
4421
- v(h, b), v(h, m), v(m, f), v(f, B), $ || (N = Ee(
4442
+ v(h, b), v(h, m), v(m, f), v(f, B), $ || (C = Ee(
4422
4443
  f,
4423
4444
  "click",
4424
4445
  /*submit*/
4425
4446
  e[7]
4426
4447
  ), $ = !0);
4427
4448
  },
4428
- p(E, L) {
4449
+ p(x, L) {
4429
4450
  if (
4430
4451
  /*isMobile*/
4431
- E[6] && M.p(E, L), L[0] & /*$_*/
4452
+ x[6] && M.p(x, L), L[0] & /*$_*/
4432
4453
  32 && i !== (i = /*$_*/
4433
- E[5]("titleAccountReview") + "") && ce(o, i), L[0] & /*$_*/
4454
+ x[5]("titleAccountReview") + "") && le(o, i), L[0] & /*$_*/
4434
4455
  32 && u !== (u = /*$_*/
4435
- E[5]("accountReviewText") + "") && ce(c, u), L[0] & /*options, selectedInterval*/
4456
+ x[5]("accountReviewText") + "") && le(c, u), L[0] & /*options, selectedInterval*/
4436
4457
  20
4437
4458
  ) {
4438
- D = je(
4459
+ k = Ve(
4439
4460
  /*options*/
4440
- E[4]
4461
+ x[4]
4441
4462
  );
4442
4463
  let d;
4443
- for (d = 0; d < D.length; d += 1) {
4444
- const H = Mt(E, D, d);
4445
- O[d] ? O[d].p(H, L) : (O[d] = It(H), O[d].c(), O[d].m(h, b));
4464
+ for (d = 0; d < k.length; d += 1) {
4465
+ const A = Nt(x, k, d);
4466
+ O[d] ? O[d].p(A, L) : (O[d] = Ct(A), O[d].c(), O[d].m(h, b));
4446
4467
  }
4447
4468
  for (; d < O.length; d += 1)
4448
4469
  O[d].d(1);
4449
- O.length = D.length;
4470
+ O.length = k.length;
4450
4471
  }
4451
4472
  L[0] & /*$_*/
4452
- 32 && w !== (w = /*$_*/
4453
- E[5]("setFrequency") + "") && ce(B, w), L[0] & /*selectedInterval, currentInterval*/
4454
- 12 && C !== (C = "PlayerRealityCheckButton " + (!/*selectedInterval*/
4455
- E[2] || /*currentInterval*/
4456
- E[3] === /*selectedInterval*/
4457
- E[2] ? "ButtonInactive" : "")) && _(f, "class", C), L[0] & /*selectedInterval, currentInterval*/
4473
+ 32 && E !== (E = /*$_*/
4474
+ x[5]("setFrequency") + "") && le(B, E), L[0] & /*selectedInterval, currentInterval*/
4475
+ 12 && N !== (N = "PlayerRealityCheckButton " + (!/*selectedInterval*/
4476
+ x[2] || /*currentInterval*/
4477
+ x[3] === /*selectedInterval*/
4478
+ x[2] ? "ButtonInactive" : "")) && _(f, "class", N), L[0] & /*selectedInterval, currentInterval*/
4458
4479
  12 && P !== (P = !/*selectedInterval*/
4459
- E[2] || /*currentInterval*/
4460
- E[3] === /*selectedInterval*/
4461
- E[2]) && (f.disabled = P);
4480
+ x[2] || /*currentInterval*/
4481
+ x[3] === /*selectedInterval*/
4482
+ x[2]) && (f.disabled = P);
4462
4483
  },
4463
- d(E) {
4464
- E && F(t), M && M.d(), Dt(O, E), $ = !1, N();
4484
+ d(x) {
4485
+ x && j(t), M && M.d(), Ut(O, x), $ = !1, C();
4465
4486
  }
4466
4487
  };
4467
4488
  }
4468
- function Ji(e) {
4489
+ function Yi(e) {
4469
4490
  let t, r, n, i, o, s, a, l, u;
4470
- function c(f, w) {
4491
+ function c(f, E) {
4471
4492
  return (
4472
4493
  /*isMobile*/
4473
- f[6] ? Ki : Yi
4494
+ f[6] ? to : eo
4474
4495
  );
4475
4496
  }
4476
- let h = c(e)(e), b = je({ length: 6 }), m = [];
4497
+ let h = c(e)(e), b = Ve({ length: 6 }), m = [];
4477
4498
  for (let f = 0; f < b.length; f += 1)
4478
- m[f] = eo(zi(e, b, f));
4499
+ m[f] = ro(Ji(e, b, f));
4479
4500
  return {
4480
4501
  c() {
4481
- t = S("div"), h.c(), r = U(), n = S("div"), i = S("ui-skeleton"), o = U(), s = S("div");
4502
+ t = w("div"), h.c(), r = F(), n = w("div"), i = w("ui-skeleton"), o = F(), s = w("div");
4482
4503
  for (let f = 0; f < m.length; f += 1)
4483
4504
  m[f].c();
4484
- a = U(), l = S("div"), u = S("ui-skeleton"), A(i, "structure", "text"), A(i, "height", "15px"), A(i, "width", "100%"), A(i, "margin-bottom", "7px"), A(
4505
+ a = F(), l = w("div"), u = w("ui-skeleton"), H(i, "structure", "text"), H(i, "height", "15px"), H(i, "width", "100%"), H(i, "margin-bottom", "7px"), H(
4485
4506
  i,
4486
4507
  "rows",
4487
4508
  /*isMobile*/
4488
4509
  e[6] ? "5" : "3"
4489
- ), _(n, "class", "SkeletonTextContainer"), A(u, "structure", "rectangle"), A(u, "height", "50px"), A(u, "margin-bottom", "0"), A(u, "borderRadius", "5px"), A(
4510
+ ), _(n, "class", "SkeletonTextContainer"), H(u, "structure", "rectangle"), H(u, "height", "50px"), H(u, "margin-bottom", "0"), H(u, "borderRadius", "5px"), H(
4490
4511
  u,
4491
4512
  "width",
4492
4513
  /*isMobile*/
4493
4514
  e[6] ? "100%" : "350px"
4494
4515
  ), _(l, "class", "Button"), _(s, "class", "SkeletonOptionContainer"), _(t, "class", "SkeletonContainer");
4495
4516
  },
4496
- m(f, w) {
4497
- G(f, t, w), h.m(t, null), v(t, r), v(t, n), v(n, i), v(t, o), v(t, s);
4517
+ m(f, E) {
4518
+ V(f, t, E), h.m(t, null), v(t, r), v(t, n), v(n, i), v(t, o), v(t, s);
4498
4519
  for (let B = 0; B < m.length; B += 1)
4499
4520
  m[B] && m[B].m(s, null);
4500
4521
  v(s, a), v(s, l), v(l, u);
4501
4522
  },
4502
- p(f, w) {
4503
- h.p(f, w);
4523
+ p(f, E) {
4524
+ h.p(f, E);
4504
4525
  },
4505
4526
  d(f) {
4506
- f && F(t), h.d(), Dt(m, f);
4527
+ f && j(t), h.d(), Ut(m, f);
4507
4528
  }
4508
4529
  };
4509
4530
  }
4510
- function Qi(e) {
4531
+ function Ki(e) {
4511
4532
  let t, r, n, i, o, s, a, l, u, c, p = (
4512
4533
  /*$_*/
4513
4534
  e[5]("titleAccountReview") + ""
4514
4535
  ), h, b, m;
4515
4536
  return {
4516
4537
  c() {
4517
- t = S("div"), r = Z("svg"), n = Z("defs"), i = Z("style"), o = W(`.aaa {
4538
+ t = w("div"), r = Z("svg"), n = Z("defs"), i = Z("style"), o = W(`.aaa {
4518
4539
  fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
4519
4540
  }
4520
- `), s = Z("g"), a = Z("g"), l = Z("path"), u = U(), c = S("h2"), h = W(p), _(l, "class", "aaa"), _(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), _(l, "transform", "translate(15 15) rotate(180)"), _(a, "transform", "translate(20 158)"), _(s, "transform", "translate(-20 -158)"), _(r, "xmlns", "http://www.w3.org/2000/svg"), _(r, "width", "15"), _(r, "height", "15"), _(r, "viewBox", "0 0 15 15"), _(c, "class", "AccountReviewTitleMobile"), _(t, "class", "MenuReturnButton");
4541
+ `), s = Z("g"), a = Z("g"), l = Z("path"), u = F(), c = w("h2"), h = W(p), _(l, "class", "aaa"), _(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), _(l, "transform", "translate(15 15) rotate(180)"), _(a, "transform", "translate(20 158)"), _(s, "transform", "translate(-20 -158)"), _(r, "xmlns", "http://www.w3.org/2000/svg"), _(r, "width", "15"), _(r, "height", "15"), _(r, "viewBox", "0 0 15 15"), _(c, "class", "AccountReviewTitleMobile"), _(t, "class", "MenuReturnButton");
4521
4542
  },
4522
- m(f, w) {
4523
- G(f, t, w), v(t, r), v(r, n), v(n, i), v(i, o), v(r, s), v(s, a), v(a, l), v(t, u), v(t, c), v(c, h), b || (m = [
4543
+ m(f, E) {
4544
+ V(f, t, E), v(t, r), v(r, n), v(n, i), v(i, o), v(r, s), v(s, a), v(a, l), v(t, u), v(t, c), v(c, h), b || (m = [
4524
4545
  Ee(
4525
4546
  t,
4526
4547
  "click",
@@ -4530,33 +4551,33 @@ function Qi(e) {
4530
4551
  Ee(t, "keydown", null)
4531
4552
  ], b = !0);
4532
4553
  },
4533
- p(f, w) {
4534
- w[0] & /*$_*/
4554
+ p(f, E) {
4555
+ E[0] & /*$_*/
4535
4556
  32 && p !== (p = /*$_*/
4536
- f[5]("titleAccountReview") + "") && ce(h, p);
4557
+ f[5]("titleAccountReview") + "") && le(h, p);
4537
4558
  },
4538
4559
  d(f) {
4539
- f && F(t), b = !1, oe(m);
4560
+ f && j(t), b = !1, ie(m);
4540
4561
  }
4541
4562
  };
4542
4563
  }
4543
- function It(e) {
4564
+ function Ct(e) {
4544
4565
  let t, r, n, i, o = !1, s, a, l = (
4545
4566
  /*text*/
4546
4567
  e[29] + ""
4547
4568
  ), u, c, p, h, b;
4548
- return p = Er(
4569
+ return p = wr(
4549
4570
  /*$$binding_groups*/
4550
4571
  e[18][0]
4551
4572
  ), {
4552
4573
  c() {
4553
- t = S("div"), r = S("input"), s = U(), a = S("label"), u = W(l), _(r, "type", "radio"), _(r, "id", n = "interval-" + /*value*/
4574
+ t = w("div"), r = w("input"), s = F(), a = w("label"), u = W(l), _(r, "type", "radio"), _(r, "id", n = "interval-" + /*value*/
4554
4575
  e[28]), r.__value = i = /*value*/
4555
- e[28], ut(r, r.__value), _(a, "for", c = "interval-" + /*value*/
4576
+ e[28], ct(r, r.__value), _(a, "for", c = "interval-" + /*value*/
4556
4577
  e[28]), p.p(r);
4557
4578
  },
4558
4579
  m(m, f) {
4559
- G(m, t, f), v(t, r), r.checked = r.__value === /*selectedInterval*/
4580
+ V(m, t, f), v(t, r), r.checked = r.__value === /*selectedInterval*/
4560
4581
  e[2], v(t, s), v(t, a), v(a, u), h || (b = Ee(
4561
4582
  r,
4562
4583
  "change",
@@ -4569,81 +4590,81 @@ function It(e) {
4569
4590
  16 && n !== (n = "interval-" + /*value*/
4570
4591
  m[28]) && _(r, "id", n), f[0] & /*options*/
4571
4592
  16 && i !== (i = /*value*/
4572
- m[28]) && (r.__value = i, ut(r, r.__value), o = !0), (o || f[0] & /*selectedInterval, options*/
4593
+ m[28]) && (r.__value = i, ct(r, r.__value), o = !0), (o || f[0] & /*selectedInterval, options*/
4573
4594
  20) && (r.checked = r.__value === /*selectedInterval*/
4574
4595
  m[2]), f[0] & /*options*/
4575
4596
  16 && l !== (l = /*text*/
4576
- m[29] + "") && ce(u, l), f[0] & /*options*/
4597
+ m[29] + "") && le(u, l), f[0] & /*options*/
4577
4598
  16 && c !== (c = "interval-" + /*value*/
4578
4599
  m[28]) && _(a, "for", c);
4579
4600
  },
4580
4601
  d(m) {
4581
- m && F(t), p.r(), h = !1, b();
4602
+ m && j(t), p.r(), h = !1, b();
4582
4603
  }
4583
4604
  };
4584
4605
  }
4585
- function Yi(e) {
4606
+ function eo(e) {
4586
4607
  let t;
4587
4608
  return {
4588
4609
  c() {
4589
- t = S("div"), t.innerHTML = '<ui-skeleton structure="title" width="280px" margin-top="20px"></ui-skeleton>', _(t, "class", "SkeletonHeaderText");
4610
+ t = w("div"), t.innerHTML = '<ui-skeleton structure="title" width="280px" margin-top="20px"></ui-skeleton>', _(t, "class", "SkeletonHeaderText");
4590
4611
  },
4591
4612
  m(r, n) {
4592
- G(r, t, n);
4613
+ V(r, t, n);
4593
4614
  },
4594
4615
  p: I,
4595
4616
  d(r) {
4596
- r && F(t);
4617
+ r && j(t);
4597
4618
  }
4598
4619
  };
4599
4620
  }
4600
- function Ki(e) {
4621
+ function to(e) {
4601
4622
  let t, r, n, i;
4602
4623
  return {
4603
4624
  c() {
4604
- t = S("div"), r = S("ui-skeleton"), n = U(), i = S("ui-skeleton"), A(r, "structure", "title"), A(r, "width", "20px"), A(r, "height", "20px"), A(r, "margin-top", "5px"), A(r, "margin-bottom", "15px"), A(i, "structure", "title"), A(i, "width", "180px"), A(i, "height", "20px"), A(i, "margin-top", "5px"), A(i, "margin-bottom", "15px"), _(t, "class", "SkeletonMenuButton " + /*isMobile*/
4625
+ t = w("div"), r = w("ui-skeleton"), n = F(), i = w("ui-skeleton"), H(r, "structure", "title"), H(r, "width", "20px"), H(r, "height", "20px"), H(r, "margin-top", "5px"), H(r, "margin-bottom", "15px"), H(i, "structure", "title"), H(i, "width", "180px"), H(i, "height", "20px"), H(i, "margin-top", "5px"), H(i, "margin-bottom", "15px"), _(t, "class", "SkeletonMenuButton " + /*isMobile*/
4605
4626
  (e[6] ? "Mobile" : ""));
4606
4627
  },
4607
4628
  m(o, s) {
4608
- G(o, t, s), v(t, r), v(t, n), v(t, i);
4629
+ V(o, t, s), v(t, r), v(t, n), v(t, i);
4609
4630
  },
4610
4631
  p: I,
4611
4632
  d(o) {
4612
- o && F(t);
4633
+ o && j(t);
4613
4634
  }
4614
4635
  };
4615
4636
  }
4616
- function eo(e) {
4637
+ function ro(e) {
4617
4638
  let t;
4618
4639
  return {
4619
4640
  c() {
4620
- t = S("div"), t.innerHTML = '<div class="SkeletonOptionCircle"><ui-skeleton structure="circle" size="20px"></ui-skeleton></div> <div class="SkeletonOptionText"><ui-skeleton structure="text" height="10px" width="auto"></ui-skeleton></div>', _(t, "class", "SkeletonOption");
4641
+ t = w("div"), t.innerHTML = '<div class="SkeletonOptionCircle"><ui-skeleton structure="circle" size="20px"></ui-skeleton></div> <div class="SkeletonOptionText"><ui-skeleton structure="text" height="10px" width="auto"></ui-skeleton></div>', _(t, "class", "SkeletonOption");
4621
4642
  },
4622
4643
  m(r, n) {
4623
- G(r, t, n);
4644
+ V(r, t, n);
4624
4645
  },
4625
4646
  p: I,
4626
4647
  d(r) {
4627
- r && F(t);
4648
+ r && j(t);
4628
4649
  }
4629
4650
  };
4630
4651
  }
4631
- function to(e) {
4652
+ function no(e) {
4632
4653
  let t;
4633
4654
  function r(o, s) {
4634
4655
  return (
4635
4656
  /*skeletonLoading*/
4636
- o[1] ? Ji : Zi
4657
+ o[1] ? Yi : Qi
4637
4658
  );
4638
4659
  }
4639
4660
  let n = r(e), i = n(e);
4640
4661
  return {
4641
4662
  c() {
4642
- t = S("div"), i.c(), _(t, "class", "PlayerAccountReviewWrapper " + /*isMobile*/
4663
+ t = w("div"), i.c(), _(t, "class", "PlayerAccountReviewWrapper " + /*isMobile*/
4643
4664
  (e[6] ? "PlayerAccountReviewWrapperMobile" : ""));
4644
4665
  },
4645
4666
  m(o, s) {
4646
- G(o, t, s), i.m(t, null), e[19](t);
4667
+ V(o, t, s), i.m(t, null), e[19](t);
4647
4668
  },
4648
4669
  p(o, s) {
4649
4670
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
@@ -4651,23 +4672,23 @@ function to(e) {
4651
4672
  i: I,
4652
4673
  o: I,
4653
4674
  d(o) {
4654
- o && F(t), i.d(), e[19](null);
4675
+ o && j(t), i.d(), e[19](null);
4655
4676
  }
4656
4677
  };
4657
4678
  }
4658
- const Ct = 2;
4659
- function ro(e, t, r) {
4679
+ const Lt = 2;
4680
+ function io(e, t, r) {
4660
4681
  let n;
4661
- yr(e, Fi, (d) => r(5, n = d));
4662
- let { endpoint: i = "" } = t, { playerid: o = "" } = t, { session: s = "" } = t, { lang: a = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: c } = t, { translationurl: p = "" } = t, h, b = ji(window.navigator.userAgent) !== "PC", m = !0, f = "", w = "", B = [];
4663
- const C = async () => {
4682
+ gr(e, Gi, (d) => r(5, n = d));
4683
+ let { endpoint: i = "" } = t, { playerid: o = "" } = t, { session: s = "" } = t, { lang: a = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: c } = t, { translationurl: p = "" } = t, h, b = Vi(window.navigator.userAgent) !== "PC", m = !0, f = "", E = "", B = [];
4684
+ const N = async () => {
4664
4685
  try {
4665
4686
  const d = new URL(`${i}/api/pam/v1/player-notifications`);
4666
- d.searchParams.set("type", String(Ct)), d.searchParams.append("createNotificationIfNotFound", "true");
4667
- const H = new Headers();
4668
- H.append("X-SessionID", s), H.append("accept", "application/json");
4669
- const Oe = await (await fetch(d.href, { method: "GET", headers: H })).json();
4670
- Oe?.interval && (r(3, w = String(Oe?.interval)), r(2, f = w)), B.length || r(4, B = [
4687
+ d.searchParams.set("type", String(Lt)), d.searchParams.append("createNotificationIfNotFound", "true");
4688
+ const A = new Headers();
4689
+ A.append("X-SessionID", s), A.append("accept", "application/json");
4690
+ const Me = await (await fetch(d.href, { method: "GET", headers: A })).json();
4691
+ Me?.interval && (r(3, E = String(Me?.interval)), r(2, f = E)), B.length || r(4, B = [
4671
4692
  { value: "1", text: n("daily") },
4672
4693
  { value: "2", text: n("weekly") },
4673
4694
  { value: "3", text: n("monthly") },
@@ -4678,25 +4699,25 @@ function ro(e, t, r) {
4678
4699
  }
4679
4700
  }, P = async () => {
4680
4701
  try {
4681
- const d = new URL(`${i}/api/pam/v1/player-notifications`), H = new Headers();
4682
- H.append("X-SessionID", s), H.append("Content-Type", "application/json"), H.append("Accept", "application/json"), d.searchParams.append("createNotificationIfNotFound", "true");
4702
+ const d = new URL(`${i}/api/pam/v1/player-notifications`), A = new Headers();
4703
+ A.append("X-SessionID", s), A.append("Content-Type", "application/json"), A.append("Accept", "application/json"), d.searchParams.append("createNotificationIfNotFound", "true");
4683
4704
  const X = {
4684
- type: Ct,
4705
+ type: Lt,
4685
4706
  interval: Number(f),
4686
4707
  ackNotification: !0,
4687
4708
  ackNotificationTimestamp: (/* @__PURE__ */ new Date()).toISOString()
4688
4709
  };
4689
4710
  return (await fetch(d.href, {
4690
4711
  method: "PATCH",
4691
- headers: H,
4712
+ headers: A,
4692
4713
  body: JSON.stringify(X)
4693
4714
  })).ok;
4694
4715
  } catch (d) {
4695
4716
  return console.error(d), !1;
4696
4717
  }
4697
4718
  }, $ = (d) => {
4698
- d.preventDefault(), f && P().then((H) => {
4699
- const X = H ? {
4719
+ d.preventDefault(), f && P().then((A) => {
4720
+ const X = A ? {
4700
4721
  type: "success",
4701
4722
  message: n("successMessage")
4702
4723
  } : {
@@ -4709,9 +4730,9 @@ function ro(e, t, r) {
4709
4730
  data: X
4710
4731
  },
4711
4732
  window.location.href
4712
- ), H && r(3, w = f);
4733
+ ), A && r(3, E = f);
4713
4734
  });
4714
- }, N = () => {
4735
+ }, C = () => {
4715
4736
  window.postMessage(
4716
4737
  {
4717
4738
  type: "PlayerAccountMenuActive",
@@ -4719,22 +4740,22 @@ function ro(e, t, r) {
4719
4740
  },
4720
4741
  window.location.href
4721
4742
  );
4722
- }, M = () => Gi(a), D = () => {
4743
+ }, M = () => qi(a), k = () => {
4723
4744
  const d = p;
4724
- d && fetch(d).then((H) => H.json()).then((H) => {
4725
- Object.keys(H).forEach((X) => {
4726
- Ot(X, H[X]);
4745
+ d && fetch(d).then((A) => A.json()).then((A) => {
4746
+ Object.keys(A).forEach((X) => {
4747
+ Mt(X, A[X]);
4727
4748
  });
4728
- }).catch((H) => console.log(H));
4749
+ }).catch((A) => console.log(A));
4729
4750
  };
4730
- Object.keys(Rt).forEach((d) => Ot(d, Rt[d])), Hr(() => () => {
4751
+ Object.keys(It).forEach((d) => Mt(d, It[d])), Hr(() => () => {
4731
4752
  });
4732
4753
  const O = [[]];
4733
- function E() {
4754
+ function x() {
4734
4755
  f = this.__value, r(2, f);
4735
4756
  }
4736
4757
  function L(d) {
4737
- ke[d ? "unshift" : "push"](() => {
4758
+ Fe[d ? "unshift" : "push"](() => {
4738
4759
  h = d, r(0, h);
4739
4760
  });
4740
4761
  }
@@ -4743,21 +4764,21 @@ function ro(e, t, r) {
4743
4764
  }, e.$$.update = () => {
4744
4765
  e.$$.dirty[0] & /*lang*/
4745
4766
  4096 && a && M(), e.$$.dirty[0] & /*endpoint, playerid, session*/
4746
- 3584 && i && o && s && C(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4747
- 8193 && l && h && Vi(h, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4748
- 16385 && u && h && qi(h, u), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4749
- 32769 && c && h && Xi(h, `${c}.Style`), e.$$.dirty[0] & /*translationurl*/
4750
- 65536 && p && D();
4767
+ 3584 && i && o && s && N(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4768
+ 8193 && l && h && Xi(h, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4769
+ 16385 && u && h && Wi(h, u), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4770
+ 32769 && c && h && zi(h, `${c}.Style`), e.$$.dirty[0] & /*translationurl*/
4771
+ 65536 && p && k();
4751
4772
  }, [
4752
4773
  h,
4753
4774
  m,
4754
4775
  f,
4755
- w,
4776
+ E,
4756
4777
  B,
4757
4778
  n,
4758
4779
  b,
4759
4780
  $,
4760
- N,
4781
+ C,
4761
4782
  i,
4762
4783
  o,
4763
4784
  s,
@@ -4766,19 +4787,19 @@ function ro(e, t, r) {
4766
4787
  u,
4767
4788
  c,
4768
4789
  p,
4769
- E,
4790
+ x,
4770
4791
  O,
4771
4792
  L
4772
4793
  ];
4773
4794
  }
4774
- class no extends Dr {
4795
+ class oo extends Dr {
4775
4796
  constructor(t) {
4776
- super(), Lr(
4797
+ super(), $r(
4777
4798
  this,
4778
4799
  t,
4779
- ro,
4780
- to,
4781
- Lt,
4800
+ io,
4801
+ no,
4802
+ kt,
4782
4803
  {
4783
4804
  endpoint: 9,
4784
4805
  playerid: 10,
@@ -4789,7 +4810,7 @@ class no extends Dr {
4789
4810
  mbsource: 15,
4790
4811
  translationurl: 16
4791
4812
  },
4792
- Wi,
4813
+ Zi,
4793
4814
  [-1, -1]
4794
4815
  );
4795
4816
  }
@@ -4797,52 +4818,52 @@ class no extends Dr {
4797
4818
  return this.$$.ctx[9];
4798
4819
  }
4799
4820
  set endpoint(t) {
4800
- this.$$set({ endpoint: t }), k();
4821
+ this.$$set({ endpoint: t }), D();
4801
4822
  }
4802
4823
  get playerid() {
4803
4824
  return this.$$.ctx[10];
4804
4825
  }
4805
4826
  set playerid(t) {
4806
- this.$$set({ playerid: t }), k();
4827
+ this.$$set({ playerid: t }), D();
4807
4828
  }
4808
4829
  get session() {
4809
4830
  return this.$$.ctx[11];
4810
4831
  }
4811
4832
  set session(t) {
4812
- this.$$set({ session: t }), k();
4833
+ this.$$set({ session: t }), D();
4813
4834
  }
4814
4835
  get lang() {
4815
4836
  return this.$$.ctx[12];
4816
4837
  }
4817
4838
  set lang(t) {
4818
- this.$$set({ lang: t }), k();
4839
+ this.$$set({ lang: t }), D();
4819
4840
  }
4820
4841
  get clientstyling() {
4821
4842
  return this.$$.ctx[13];
4822
4843
  }
4823
4844
  set clientstyling(t) {
4824
- this.$$set({ clientstyling: t }), k();
4845
+ this.$$set({ clientstyling: t }), D();
4825
4846
  }
4826
4847
  get clientstylingurl() {
4827
4848
  return this.$$.ctx[14];
4828
4849
  }
4829
4850
  set clientstylingurl(t) {
4830
- this.$$set({ clientstylingurl: t }), k();
4851
+ this.$$set({ clientstylingurl: t }), D();
4831
4852
  }
4832
4853
  get mbsource() {
4833
4854
  return this.$$.ctx[15];
4834
4855
  }
4835
4856
  set mbsource(t) {
4836
- this.$$set({ mbsource: t }), k();
4857
+ this.$$set({ mbsource: t }), D();
4837
4858
  }
4838
4859
  get translationurl() {
4839
4860
  return this.$$.ctx[16];
4840
4861
  }
4841
4862
  set translationurl(t) {
4842
- this.$$set({ translationurl: t }), k();
4863
+ this.$$set({ translationurl: t }), D();
4843
4864
  }
4844
4865
  }
4845
- $r(no, { endpoint: {}, playerid: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4866
+ kr(oo, { endpoint: {}, playerid: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4846
4867
  export {
4847
- no as P
4868
+ oo as P
4848
4869
  };