@everymatrix/casino-tournaments-tab 1.77.20 → 1.77.21

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,26 +1,26 @@
1
- var ur = Object.defineProperty, hr = Object.defineProperties;
2
- var lr = Object.getOwnPropertyDescriptors;
1
+ var pr = Object.defineProperty, mr = Object.defineProperties;
2
+ var dr = Object.getOwnPropertyDescriptors;
3
3
  var se = Object.getOwnPropertySymbols;
4
- var Je = Object.prototype.hasOwnProperty, Ye = Object.prototype.propertyIsEnumerable;
5
- var Ee = (e, t, r) => t in e ? ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, R = (e, t) => {
4
+ var tt = Object.prototype.hasOwnProperty, rt = Object.prototype.propertyIsEnumerable;
5
+ var Se = (e, t, r) => t in e ? pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $ = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Je.call(t, r) && Ee(e, r, t[r]);
7
+ tt.call(t, r) && Se(e, r, t[r]);
8
8
  if (se)
9
9
  for (var r of se(t))
10
- Ye.call(t, r) && Ee(e, r, t[r]);
10
+ rt.call(t, r) && Se(e, r, t[r]);
11
11
  return e;
12
- }, ae = (e, t) => hr(e, lr(t));
13
- var qe = (e, t) => {
12
+ }, ae = (e, t) => mr(e, dr(t));
13
+ var nt = (e, t) => {
14
14
  var r = {};
15
15
  for (var n in e)
16
- Je.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
16
+ tt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
17
17
  if (e != null && se)
18
18
  for (var n of se(e))
19
- t.indexOf(n) < 0 && Ye.call(e, n) && (r[n] = e[n]);
19
+ t.indexOf(n) < 0 && rt.call(e, n) && (r[n] = e[n]);
20
20
  return r;
21
21
  };
22
- var x = (e, t, r) => (Ee(e, typeof t != "symbol" ? t + "" : t, r), r);
23
- var Ke = (e, t, r) => new Promise((n, i) => {
22
+ var x = (e, t, r) => (Se(e, typeof t != "symbol" ? t + "" : t, r), r);
23
+ var it = (e, t, r) => new Promise((n, i) => {
24
24
  var o = (h) => {
25
25
  try {
26
26
  a(r.next(h));
@@ -38,25 +38,25 @@ var Ke = (e, t, r) => new Promise((n, i) => {
38
38
  });
39
39
  function w() {
40
40
  }
41
- function At(e) {
41
+ function Nt(e) {
42
42
  return e();
43
43
  }
44
- function et() {
44
+ function ot() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
- function te(e) {
48
- e.forEach(At);
47
+ function ee(e) {
48
+ e.forEach(Nt);
49
49
  }
50
- function Xe(e) {
50
+ function Je(e) {
51
51
  return typeof e == "function";
52
52
  }
53
- function Pt(e, t) {
53
+ function Ct(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
- function fr(e) {
56
+ function br(e) {
57
57
  return Object.keys(e).length === 0;
58
58
  }
59
- function cr(e, ...t) {
59
+ function gr(e, ...t) {
60
60
  if (e == null) {
61
61
  for (const n of t)
62
62
  n(void 0);
@@ -68,14 +68,14 @@ function cr(e, ...t) {
68
68
  function C(e, t) {
69
69
  e.appendChild(t);
70
70
  }
71
- function pr(e, t, r) {
72
- const n = mr(e);
71
+ function vr(e, t, r) {
72
+ const n = yr(e);
73
73
  if (!n.getElementById(t)) {
74
74
  const i = I("style");
75
- i.id = t, i.textContent = r, br(n, i);
75
+ i.id = t, i.textContent = r, _r(n, i);
76
76
  }
77
77
  }
78
- function mr(e) {
78
+ function yr(e) {
79
79
  if (!e)
80
80
  return document;
81
81
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -85,46 +85,46 @@ function mr(e) {
85
85
  t
86
86
  ) : e.ownerDocument;
87
87
  }
88
- function br(e, t) {
88
+ function _r(e, t) {
89
89
  return C(
90
90
  /** @type {Document} */
91
91
  e.head || e,
92
92
  t
93
93
  ), t.sheet;
94
94
  }
95
- function re(e, t, r) {
95
+ function te(e, t, r) {
96
96
  e.insertBefore(t, r || null);
97
97
  }
98
- function z(e) {
98
+ function X(e) {
99
99
  e.parentNode && e.parentNode.removeChild(e);
100
100
  }
101
- function dr(e, t) {
101
+ function Er(e, t) {
102
102
  for (let r = 0; r < e.length; r += 1)
103
103
  e[r] && e[r].d(t);
104
104
  }
105
105
  function I(e) {
106
106
  return document.createElement(e);
107
107
  }
108
- function ze(e) {
108
+ function Ye(e) {
109
109
  return document.createTextNode(e);
110
110
  }
111
- function tt() {
112
- return ze(" ");
111
+ function st() {
112
+ return Ye(" ");
113
113
  }
114
- function vr(e, t, r, n) {
114
+ function xr(e, t, r, n) {
115
115
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
116
116
  }
117
- function S(e, t, r) {
117
+ function T(e, t, r) {
118
118
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
119
119
  }
120
- function gr(e) {
120
+ function Sr(e) {
121
121
  return Array.from(e.childNodes);
122
122
  }
123
- function Ot(e, t) {
123
+ function Mt(e, t) {
124
124
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
125
125
  t);
126
126
  }
127
- function yr(e) {
127
+ function Tr(e) {
128
128
  const t = {};
129
129
  return e.childNodes.forEach(
130
130
  /** @param {Element} node */
@@ -133,90 +133,90 @@ function yr(e) {
133
133
  }
134
134
  ), t;
135
135
  }
136
- let q;
137
- function Y(e) {
138
- q = e;
136
+ let Y;
137
+ function J(e) {
138
+ Y = e;
139
139
  }
140
- function _r() {
141
- if (!q)
140
+ function wr() {
141
+ if (!Y)
142
142
  throw new Error("Function called outside component initialization");
143
- return q;
143
+ return Y;
144
144
  }
145
- function It(e) {
146
- _r().$$.on_mount.push(e);
145
+ function $t(e) {
146
+ wr().$$.on_mount.push(e);
147
147
  }
148
- const D = [], Pe = [];
148
+ const D = [], Le = [];
149
149
  let G = [];
150
- const rt = [], Er = /* @__PURE__ */ Promise.resolve();
151
- let Oe = !1;
152
- function xr() {
153
- Oe || (Oe = !0, Er.then(P));
150
+ const at = [], Hr = /* @__PURE__ */ Promise.resolve();
151
+ let Ne = !1;
152
+ function Br() {
153
+ Ne || (Ne = !0, Hr.then(P));
154
154
  }
155
- function Ie(e) {
155
+ function Ce(e) {
156
156
  G.push(e);
157
157
  }
158
- const xe = /* @__PURE__ */ new Set();
159
- let $ = 0;
158
+ const Te = /* @__PURE__ */ new Set();
159
+ let R = 0;
160
160
  function P() {
161
- if ($ !== 0)
161
+ if (R !== 0)
162
162
  return;
163
- const e = q;
163
+ const e = Y;
164
164
  do {
165
165
  try {
166
- for (; $ < D.length; ) {
167
- const t = D[$];
168
- $++, Y(t), Tr(t.$$);
166
+ for (; R < D.length; ) {
167
+ const t = D[R];
168
+ R++, J(t), Ar(t.$$);
169
169
  }
170
170
  } catch (t) {
171
- throw D.length = 0, $ = 0, t;
171
+ throw D.length = 0, R = 0, t;
172
172
  }
173
- for (Y(null), D.length = 0, $ = 0; Pe.length; )
174
- Pe.pop()();
173
+ for (J(null), D.length = 0, R = 0; Le.length; )
174
+ Le.pop()();
175
175
  for (let t = 0; t < G.length; t += 1) {
176
176
  const r = G[t];
177
- xe.has(r) || (xe.add(r), r());
177
+ Te.has(r) || (Te.add(r), r());
178
178
  }
179
179
  G.length = 0;
180
180
  } while (D.length);
181
- for (; rt.length; )
182
- rt.pop()();
183
- Oe = !1, xe.clear(), Y(e);
181
+ for (; at.length; )
182
+ at.pop()();
183
+ Ne = !1, Te.clear(), J(e);
184
184
  }
185
- function Tr(e) {
185
+ function Ar(e) {
186
186
  if (e.fragment !== null) {
187
- e.update(), te(e.before_update);
187
+ e.update(), ee(e.before_update);
188
188
  const t = e.dirty;
189
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
189
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ce);
190
190
  }
191
191
  }
192
- function Sr(e) {
192
+ function Pr(e) {
193
193
  const t = [], r = [];
194
194
  G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
195
195
  }
196
- const wr = /* @__PURE__ */ new Set();
197
- function Hr(e, t) {
198
- e && e.i && (wr.delete(e), e.i(t));
196
+ const Or = /* @__PURE__ */ new Set();
197
+ function Ir(e, t) {
198
+ e && e.i && (Or.delete(e), e.i(t));
199
199
  }
200
- function nt(e) {
200
+ function ut(e) {
201
201
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
202
202
  }
203
- function Br(e, t, r) {
203
+ function Lr(e, t, r) {
204
204
  const { fragment: n, after_update: i } = e.$$;
205
- n && n.m(t, r), Ie(() => {
206
- const o = e.$$.on_mount.map(At).filter(Xe);
207
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
208
- }), i.forEach(Ie);
205
+ n && n.m(t, r), Ce(() => {
206
+ const o = e.$$.on_mount.map(Nt).filter(Je);
207
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
208
+ }), i.forEach(Ce);
209
209
  }
210
- function Ar(e, t) {
210
+ function Nr(e, t) {
211
211
  const r = e.$$;
212
- r.fragment !== null && (Sr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
212
+ r.fragment !== null && (Pr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
213
213
  }
214
- function Pr(e, t) {
215
- e.$$.dirty[0] === -1 && (D.push(e), xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
214
+ function Cr(e, t) {
215
+ e.$$.dirty[0] === -1 && (D.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
216
216
  }
217
- function Or(e, t, r, n, i, o, s = null, a = [-1]) {
218
- const h = q;
219
- Y(e);
217
+ function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
218
+ const h = Y;
219
+ J(e);
220
220
  const u = e.$$ = {
221
221
  fragment: null,
222
222
  ctx: [],
@@ -224,7 +224,7 @@ function Or(e, t, r, n, i, o, s = null, a = [-1]) {
224
224
  props: o,
225
225
  update: w,
226
226
  not_equal: i,
227
- bound: et(),
227
+ bound: ot(),
228
228
  // lifecycle
229
229
  on_mount: [],
230
230
  on_destroy: [],
@@ -233,7 +233,7 @@ function Or(e, t, r, n, i, o, s = null, a = [-1]) {
233
233
  after_update: [],
234
234
  context: new Map(t.context || (h ? h.$$.context : [])),
235
235
  // everything else
236
- callbacks: et(),
236
+ callbacks: ot(),
237
237
  dirty: a,
238
238
  skip_bound: !1,
239
239
  root: t.target || h.$$.root
@@ -241,20 +241,20 @@ function Or(e, t, r, n, i, o, s = null, a = [-1]) {
241
241
  s && s(u.root);
242
242
  let l = !1;
243
243
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
244
- const b = p.length ? p[0] : c;
245
- return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), l && Pr(e, f)), c;
246
- }) : [], u.update(), l = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
244
+ const d = p.length ? p[0] : c;
245
+ return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), l && Cr(e, f)), c;
246
+ }) : [], u.update(), l = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
247
247
  if (t.hydrate) {
248
- const f = gr(t.target);
249
- u.fragment && u.fragment.l(f), f.forEach(z);
248
+ const f = Sr(t.target);
249
+ u.fragment && u.fragment.l(f), f.forEach(X);
250
250
  } else
251
251
  u.fragment && u.fragment.c();
252
- t.intro && Hr(e.$$.fragment), Br(e, t.target, t.anchor), P();
252
+ t.intro && Ir(e.$$.fragment), Lr(e, t.target, t.anchor), P();
253
253
  }
254
- Y(h);
254
+ J(h);
255
255
  }
256
- let Lt;
257
- typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
256
+ let Rt;
257
+ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
258
258
  constructor(t, r, n) {
259
259
  super();
260
260
  /** The Svelte component constructor */
@@ -291,31 +291,31 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
291
291
  }
292
292
  }
293
293
  connectedCallback() {
294
- return Ke(this, null, function* () {
294
+ return it(this, null, function* () {
295
295
  if (this.$$cn = !0, !this.$$c) {
296
296
  let t = function(o) {
297
297
  return () => {
298
298
  let s;
299
299
  return {
300
300
  c: function() {
301
- s = I("slot"), o !== "default" && S(s, "name", o);
301
+ s = I("slot"), o !== "default" && T(s, "name", o);
302
302
  },
303
303
  /**
304
304
  * @param {HTMLElement} target
305
305
  * @param {HTMLElement} [anchor]
306
306
  */
307
307
  m: function(u, l) {
308
- re(u, s, l);
308
+ te(u, s, l);
309
309
  },
310
310
  d: function(u) {
311
- u && z(s);
311
+ u && X(s);
312
312
  }
313
313
  };
314
314
  };
315
315
  };
316
316
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
317
317
  return;
318
- const r = {}, n = yr(this);
318
+ const r = {}, n = Tr(this);
319
319
  for (const o of this.$$s)
320
320
  o in n && (r[o] = [t(o)]);
321
321
  for (const o of this.attributes) {
@@ -326,7 +326,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
326
326
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
327
327
  this.$$c = new this.$$ctor({
328
328
  target: this.shadowRoot || this,
329
- props: ae(R({}, this.$$d), {
329
+ props: ae($({}, this.$$d), {
330
330
  $$slots: r,
331
331
  $$scope: {
332
332
  ctx: []
@@ -404,8 +404,8 @@ function le(e, t, r, n) {
404
404
  return t;
405
405
  }
406
406
  }
407
- function Ir(e, t, r, n, i, o) {
408
- let s = class extends Lt {
407
+ function $r(e, t, r, n, i, o) {
408
+ let s = class extends Rt {
409
409
  constructor() {
410
410
  super(e, r, i), this.$$p_d = t;
411
411
  }
@@ -435,7 +435,7 @@ function Ir(e, t, r, n, i, o) {
435
435
  }), e.element = /** @type {any} */
436
436
  s, s;
437
437
  }
438
- class Lr {
438
+ class Rr {
439
439
  constructor() {
440
440
  /**
441
441
  * ### PRIVATE API
@@ -456,7 +456,7 @@ class Lr {
456
456
  }
457
457
  /** @returns {void} */
458
458
  $destroy() {
459
- Ar(this, 1), this.$destroy = w;
459
+ Nr(this, 1), this.$destroy = w;
460
460
  }
461
461
  /**
462
462
  * @template {Extract<keyof Events, string>} K
@@ -465,7 +465,7 @@ class Lr {
465
465
  * @returns {() => void}
466
466
  */
467
467
  $on(t, r) {
468
- if (!Xe(r))
468
+ if (!Je(r))
469
469
  return w;
470
470
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
471
471
  return n.push(r), () => {
@@ -478,21 +478,21 @@ class Lr {
478
478
  * @returns {void}
479
479
  */
480
480
  $set(t) {
481
- this.$$set && !fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
481
+ this.$$set && !br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
482
482
  }
483
483
  }
484
- const Nr = "4";
485
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
486
- const Cr = (e) => (r) => {
484
+ const Ur = "4";
485
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
486
+ const Dr = (e) => (r) => {
487
487
  Object.keys(e).map((n) => {
488
488
  if (r.data && r.data.type == n) {
489
- const i = r.data, { type: o } = i, s = qe(i, ["type"]);
489
+ const i = r.data, { type: o } = i, s = nt(i, ["type"]);
490
490
  e[n](s);
491
491
  }
492
492
  });
493
- }, Mr = (e) => {
494
- const t = Cr(e);
495
- It(() => (window.addEventListener("message", t, !1), () => {
493
+ }, Gr = (e) => {
494
+ const t = Dr(e);
495
+ $t(() => (window.addEventListener("message", t, !1), () => {
496
496
  window.removeEventListener("message", t);
497
497
  }));
498
498
  };
@@ -510,43 +510,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
510
510
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
511
511
  PERFORMANCE OF THIS SOFTWARE.
512
512
  ***************************************************************************** */
513
- var Le = function(e, t) {
514
- return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
513
+ var Me = function(e, t) {
514
+ return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
515
515
  r.__proto__ = n;
516
516
  } || function(r, n) {
517
517
  for (var i in n)
518
518
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
519
- }, Le(e, t);
519
+ }, Me(e, t);
520
520
  };
521
- function A(e, t) {
521
+ function re(e, t) {
522
522
  if (typeof t != "function" && t !== null)
523
523
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
524
- Le(e, t);
524
+ Me(e, t);
525
525
  function r() {
526
526
  this.constructor = e;
527
527
  }
528
528
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
529
529
  }
530
- var y = function() {
531
- return y = Object.assign || function(t) {
532
- for (var r, n = 1, i = arguments.length; n < i; n++) {
533
- r = arguments[n];
534
- for (var o in r)
535
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
536
- }
537
- return t;
538
- }, y.apply(this, arguments);
539
- };
540
- function Rr(e, t) {
541
- var r = {};
542
- for (var n in e)
543
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
544
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
545
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
546
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
547
- return r;
548
- }
549
- function Ne(e) {
530
+ function $e(e) {
550
531
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
551
532
  if (r)
552
533
  return r.call(e);
@@ -558,7 +539,7 @@ function Ne(e) {
558
539
  };
559
540
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
560
541
  }
561
- function Ce(e, t) {
542
+ function Re(e, t) {
562
543
  var r = typeof Symbol == "function" && e[Symbol.iterator];
563
544
  if (!r)
564
545
  return e;
@@ -578,22 +559,22 @@ function Ce(e, t) {
578
559
  }
579
560
  return o;
580
561
  }
581
- function F(e, t, r) {
582
- if (r || arguments.length === 2)
562
+ function Ue(e, t, r) {
563
+ if (arguments.length === 2)
583
564
  for (var n = 0, i = t.length, o; n < i; n++)
584
565
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
585
566
  return e.concat(o || t);
586
567
  }
587
- function B(e) {
568
+ function A(e) {
588
569
  return typeof e == "function";
589
570
  }
590
- function Nt(e) {
571
+ function Ut(e) {
591
572
  var t = function(n) {
592
573
  Error.call(n), n.stack = new Error().stack;
593
574
  }, r = e(t);
594
575
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
595
576
  }
596
- var Te = Nt(function(e) {
577
+ var we = Ut(function(e) {
597
578
  return function(r) {
598
579
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
599
580
  ` + r.map(function(n, i) {
@@ -602,13 +583,13 @@ var Te = Nt(function(e) {
602
583
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
603
584
  };
604
585
  });
605
- function Me(e, t) {
586
+ function De(e, t) {
606
587
  if (e) {
607
588
  var r = e.indexOf(t);
608
589
  0 <= r && e.splice(r, 1);
609
590
  }
610
591
  }
611
- var de = function() {
592
+ var ge = function() {
612
593
  function e(t) {
613
594
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
614
595
  }
@@ -620,12 +601,12 @@ var de = function() {
620
601
  if (s)
621
602
  if (this._parentage = null, Array.isArray(s))
622
603
  try {
623
- for (var a = Ne(s), h = a.next(); !h.done; h = a.next()) {
604
+ for (var a = $e(s), h = a.next(); !h.done; h = a.next()) {
624
605
  var u = h.value;
625
606
  u.remove(this);
626
607
  }
627
- } catch (g) {
628
- t = { error: g };
608
+ } catch (v) {
609
+ t = { error: v };
629
610
  } finally {
630
611
  try {
631
612
  h && !h.done && (r = a.return) && r.call(a);
@@ -637,26 +618,26 @@ var de = function() {
637
618
  else
638
619
  s.remove(this);
639
620
  var l = this.initialTeardown;
640
- if (B(l))
621
+ if (A(l))
641
622
  try {
642
623
  l();
643
- } catch (g) {
644
- o = g instanceof Te ? g.errors : [g];
624
+ } catch (v) {
625
+ o = v instanceof we ? v.errors : [v];
645
626
  }
646
627
  var f = this._finalizers;
647
628
  if (f) {
648
629
  this._finalizers = null;
649
630
  try {
650
- for (var c = Ne(f), p = c.next(); !p.done; p = c.next()) {
651
- var b = p.value;
631
+ for (var c = $e(f), p = c.next(); !p.done; p = c.next()) {
632
+ var d = p.value;
652
633
  try {
653
- it(b);
654
- } catch (g) {
655
- o = o != null ? o : [], g instanceof Te ? o = F(F([], Ce(o)), Ce(g.errors)) : o.push(g);
634
+ ht(d);
635
+ } catch (v) {
636
+ o = o != null ? o : [], v instanceof we ? o = Ue(Ue([], Re(o)), Re(v.errors)) : o.push(v);
656
637
  }
657
638
  }
658
- } catch (g) {
659
- n = { error: g };
639
+ } catch (v) {
640
+ n = { error: v };
660
641
  } finally {
661
642
  try {
662
643
  p && !p.done && (i = c.return) && i.call(c);
@@ -667,13 +648,13 @@ var de = function() {
667
648
  }
668
649
  }
669
650
  if (o)
670
- throw new Te(o);
651
+ throw new we(o);
671
652
  }
672
653
  }, e.prototype.add = function(t) {
673
654
  var r;
674
655
  if (t && t !== this)
675
656
  if (this.closed)
676
- it(t);
657
+ ht(t);
677
658
  else {
678
659
  if (t instanceof e) {
679
660
  if (t.closed || t._hasParent(this))
@@ -690,52 +671,52 @@ var de = function() {
690
671
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
691
672
  }, e.prototype._removeParent = function(t) {
692
673
  var r = this._parentage;
693
- r === t ? this._parentage = null : Array.isArray(r) && Me(r, t);
674
+ r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
694
675
  }, e.prototype.remove = function(t) {
695
676
  var r = this._finalizers;
696
- r && Me(r, t), t instanceof e && t._removeParent(this);
677
+ r && De(r, t), t instanceof e && t._removeParent(this);
697
678
  }, e.EMPTY = function() {
698
679
  var t = new e();
699
680
  return t.closed = !0, t;
700
681
  }(), e;
701
- }(), Ct = de.EMPTY;
702
- function Mt(e) {
703
- return e instanceof de || e && "closed" in e && B(e.remove) && B(e.add) && B(e.unsubscribe);
682
+ }(), Dt = ge.EMPTY;
683
+ function Gt(e) {
684
+ return e instanceof ge || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
704
685
  }
705
- function it(e) {
706
- B(e) ? e() : e.unsubscribe();
686
+ function ht(e) {
687
+ A(e) ? e() : e.unsubscribe();
707
688
  }
708
- var $r = {
689
+ var Fr = {
709
690
  Promise: void 0
710
- }, Ur = {
691
+ }, jr = {
711
692
  setTimeout: function(e, t) {
712
693
  for (var r = [], n = 2; n < arguments.length; n++)
713
694
  r[n - 2] = arguments[n];
714
- return setTimeout.apply(void 0, F([e, t], Ce(r)));
695
+ return setTimeout.apply(void 0, Ue([e, t], Re(r)));
715
696
  },
716
697
  clearTimeout: function(e) {
717
698
  return clearTimeout(e);
718
699
  },
719
700
  delegate: void 0
720
701
  };
721
- function Dr(e) {
722
- Ur.setTimeout(function() {
702
+ function kr(e) {
703
+ jr.setTimeout(function() {
723
704
  throw e;
724
705
  });
725
706
  }
726
- function ot() {
707
+ function lt() {
727
708
  }
728
709
  function fe(e) {
729
710
  e();
730
711
  }
731
- var Rt = function(e) {
732
- A(t, e);
712
+ var Ft = function(e) {
713
+ re(t, e);
733
714
  function t(r) {
734
715
  var n = e.call(this) || this;
735
- return n.isStopped = !1, r ? (n.destination = r, Mt(r) && r.add(n)) : n.destination = jr, n;
716
+ return n.isStopped = !1, r ? (n.destination = r, Gt(r) && r.add(n)) : n.destination = zr, n;
736
717
  }
737
718
  return t.create = function(r, n, i) {
738
- return new Re(r, n, i);
719
+ return new Ge(r, n, i);
739
720
  }, t.prototype.next = function(r) {
740
721
  this.isStopped || this._next(r);
741
722
  }, t.prototype.error = function(r) {
@@ -759,7 +740,7 @@ var Rt = function(e) {
759
740
  this.unsubscribe();
760
741
  }
761
742
  }, t;
762
- }(de), Gr = function() {
743
+ }(ge), Vr = function() {
763
744
  function e(t) {
764
745
  this.partialObserver = t;
765
746
  }
@@ -790,43 +771,43 @@ var Rt = function(e) {
790
771
  ue(r);
791
772
  }
792
773
  }, e;
793
- }(), Re = function(e) {
794
- A(t, e);
774
+ }(), Ge = function(e) {
775
+ re(t, e);
795
776
  function t(r, n, i) {
796
777
  var o = e.call(this) || this, s;
797
- return B(r) || !r ? s = {
778
+ return A(r) || !r ? s = {
798
779
  next: r != null ? r : void 0,
799
780
  error: n != null ? n : void 0,
800
781
  complete: i != null ? i : void 0
801
- } : s = r, o.destination = new Gr(s), o;
782
+ } : s = r, o.destination = new Vr(s), o;
802
783
  }
803
784
  return t;
804
- }(Rt);
785
+ }(Ft);
805
786
  function ue(e) {
806
- Dr(e);
787
+ kr(e);
807
788
  }
808
- function Fr(e) {
789
+ function Xr(e) {
809
790
  throw e;
810
791
  }
811
- var jr = {
792
+ var zr = {
812
793
  closed: !0,
813
- next: ot,
814
- error: Fr,
815
- complete: ot
816
- }, kr = function() {
794
+ next: lt,
795
+ error: Xr,
796
+ complete: lt
797
+ }, Wr = function() {
817
798
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
818
799
  }();
819
- function Vr(e) {
800
+ function Zr(e) {
820
801
  return e;
821
802
  }
822
- function Xr(e) {
823
- return e.length === 0 ? Vr : e.length === 1 ? e[0] : function(r) {
803
+ function Qr(e) {
804
+ return e.length === 0 ? Zr : e.length === 1 ? e[0] : function(r) {
824
805
  return e.reduce(function(n, i) {
825
806
  return i(n);
826
807
  }, r);
827
808
  };
828
809
  }
829
- var st = function() {
810
+ var ft = function() {
830
811
  function e(t) {
831
812
  t && (this._subscribe = t);
832
813
  }
@@ -834,7 +815,7 @@ var st = function() {
834
815
  var r = new e();
835
816
  return r.source = this, r.operator = t, r;
836
817
  }, e.prototype.subscribe = function(t, r, n) {
837
- var i = this, o = Wr(t) ? t : new Re(t, r, n);
818
+ var i = this, o = Yr(t) ? t : new Ge(t, r, n);
838
819
  return fe(function() {
839
820
  var s = i, a = s.operator, h = s.source;
840
821
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -847,8 +828,8 @@ var st = function() {
847
828
  }
848
829
  }, e.prototype.forEach = function(t, r) {
849
830
  var n = this;
850
- return r = at(r), new r(function(i, o) {
851
- var s = new Re({
831
+ return r = ct(r), new r(function(i, o) {
832
+ var s = new Ge({
852
833
  next: function(a) {
853
834
  try {
854
835
  t(a);
@@ -864,15 +845,15 @@ var st = function() {
864
845
  }, e.prototype._subscribe = function(t) {
865
846
  var r;
866
847
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
867
- }, e.prototype[kr] = function() {
848
+ }, e.prototype[Wr] = function() {
868
849
  return this;
869
850
  }, e.prototype.pipe = function() {
870
851
  for (var t = [], r = 0; r < arguments.length; r++)
871
852
  t[r] = arguments[r];
872
- return Xr(t)(this);
853
+ return Qr(t)(this);
873
854
  }, e.prototype.toPromise = function(t) {
874
855
  var r = this;
875
- return t = at(t), new t(function(n, i) {
856
+ return t = ct(t), new t(function(n, i) {
876
857
  var o;
877
858
  r.subscribe(function(s) {
878
859
  return o = s;
@@ -886,32 +867,32 @@ var st = function() {
886
867
  return new e(t);
887
868
  }, e;
888
869
  }();
889
- function at(e) {
870
+ function ct(e) {
890
871
  var t;
891
- return (t = e != null ? e : $r.Promise) !== null && t !== void 0 ? t : Promise;
872
+ return (t = e != null ? e : Fr.Promise) !== null && t !== void 0 ? t : Promise;
892
873
  }
893
- function zr(e) {
894
- return e && B(e.next) && B(e.error) && B(e.complete);
874
+ function Jr(e) {
875
+ return e && A(e.next) && A(e.error) && A(e.complete);
895
876
  }
896
- function Wr(e) {
897
- return e && e instanceof Rt || zr(e) && Mt(e);
877
+ function Yr(e) {
878
+ return e && e instanceof Ft || Jr(e) && Gt(e);
898
879
  }
899
- var Zr = Nt(function(e) {
880
+ var qr = Ut(function(e) {
900
881
  return function() {
901
882
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
902
883
  };
903
- }), $t = function(e) {
904
- A(t, e);
884
+ }), jt = function(e) {
885
+ re(t, e);
905
886
  function t() {
906
887
  var r = e.call(this) || this;
907
888
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
908
889
  }
909
890
  return t.prototype.lift = function(r) {
910
- var n = new ut(this, this);
891
+ var n = new pt(this, this);
911
892
  return n.operator = r, n;
912
893
  }, t.prototype._throwIfClosed = function() {
913
894
  if (this.closed)
914
- throw new Zr();
895
+ throw new qr();
915
896
  }, t.prototype.next = function(r) {
916
897
  var n = this;
917
898
  fe(function() {
@@ -919,7 +900,7 @@ var Zr = Nt(function(e) {
919
900
  if (n._throwIfClosed(), !n.isStopped) {
920
901
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
921
902
  try {
922
- for (var s = Ne(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
903
+ for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
923
904
  var h = a.value;
924
905
  h.next(r);
925
906
  }
@@ -968,20 +949,20 @@ var Zr = Nt(function(e) {
968
949
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
969
950
  }, t.prototype._innerSubscribe = function(r) {
970
951
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
971
- return o || s ? Ct : (this.currentObservers = null, a.push(r), new de(function() {
972
- n.currentObservers = null, Me(a, r);
952
+ return o || s ? Dt : (this.currentObservers = null, a.push(r), new ge(function() {
953
+ n.currentObservers = null, De(a, r);
973
954
  }));
974
955
  }, t.prototype._checkFinalizedStatuses = function(r) {
975
956
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
976
957
  i ? r.error(o) : s && r.complete();
977
958
  }, t.prototype.asObservable = function() {
978
- var r = new st();
959
+ var r = new ft();
979
960
  return r.source = this, r;
980
961
  }, t.create = function(r, n) {
981
- return new ut(r, n);
962
+ return new pt(r, n);
982
963
  }, t;
983
- }(st), ut = function(e) {
984
- A(t, e);
964
+ }(ft), pt = function(e) {
965
+ re(t, e);
985
966
  function t(r, n) {
986
967
  var i = e.call(this) || this;
987
968
  return i.destination = r, i.source = n, i;
@@ -997,17 +978,17 @@ var Zr = Nt(function(e) {
997
978
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
998
979
  }, t.prototype._subscribe = function(r) {
999
980
  var n, i;
1000
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ct;
981
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Dt;
1001
982
  }, t;
1002
- }($t), Ut = {
983
+ }(jt), kt = {
1003
984
  now: function() {
1004
- return (Ut.delegate || Date).now();
985
+ return (kt.delegate || Date).now();
1005
986
  },
1006
987
  delegate: void 0
1007
- }, Qr = function(e) {
1008
- A(t, e);
988
+ }, Kr = function(e) {
989
+ re(t, e);
1009
990
  function t(r, n, i) {
1010
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ut);
991
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = kt);
1011
992
  var o = e.call(this) || this;
1012
993
  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;
1013
994
  }
@@ -1027,15 +1008,15 @@ var Zr = Nt(function(e) {
1027
1008
  u && o.splice(0, u + 1);
1028
1009
  }
1029
1010
  }, t;
1030
- }($t);
1031
- const ht = [], lt = {}, Jr = (e, t = 0) => {
1032
- if (ht.indexOf(e) == -1) {
1033
- const r = new Qr(t);
1034
- lt[e] = r, ht.push(e);
1011
+ }(jt);
1012
+ const mt = [], dt = {}, en = (e, t = 0) => {
1013
+ if (mt.indexOf(e) == -1) {
1014
+ const r = new Kr(t);
1015
+ dt[e] = r, mt.push(e);
1035
1016
  }
1036
- return lt[e];
1017
+ return dt[e];
1037
1018
  }, U = [];
1038
- function Yr(e, t) {
1019
+ function tn(e, t) {
1039
1020
  return {
1040
1021
  subscribe: ve(e, t).subscribe
1041
1022
  };
@@ -1044,7 +1025,7 @@ function ve(e, t = w) {
1044
1025
  let r;
1045
1026
  const n = /* @__PURE__ */ new Set();
1046
1027
  function i(a) {
1047
- if (Pt(e, a) && (e = a, r)) {
1028
+ if (Ct(e, a) && (e = a, r)) {
1048
1029
  const h = !U.length;
1049
1030
  for (const u of n)
1050
1031
  u[1](), U.push(u, e);
@@ -1066,12 +1047,12 @@ function ve(e, t = w) {
1066
1047
  }
1067
1048
  return { set: i, update: o, subscribe: s };
1068
1049
  }
1069
- function W(e, t, r) {
1050
+ function z(e, t, r) {
1070
1051
  const n = !Array.isArray(e), i = n ? [e] : e;
1071
1052
  if (!i.every(Boolean))
1072
1053
  throw new Error("derived() expects stores as input, got a falsy value");
1073
1054
  const o = t.length < 2;
1074
- return Yr(r, (s, a) => {
1055
+ return tn(r, (s, a) => {
1075
1056
  let h = !1;
1076
1057
  const u = [];
1077
1058
  let l = 0, f = w;
@@ -1079,129 +1060,171 @@ function W(e, t, r) {
1079
1060
  if (l)
1080
1061
  return;
1081
1062
  f();
1082
- const b = t(n ? u[0] : u, s, a);
1083
- o ? s(b) : f = Xe(b) ? b : w;
1063
+ const d = t(n ? u[0] : u, s, a);
1064
+ o ? s(d) : f = Je(d) ? d : w;
1084
1065
  }, p = i.map(
1085
- (b, g) => cr(
1086
- b,
1087
- (T) => {
1088
- u[g] = T, l &= ~(1 << g), h && c();
1066
+ (d, v) => gr(
1067
+ d,
1068
+ (S) => {
1069
+ u[v] = S, l &= ~(1 << v), h && c();
1089
1070
  },
1090
1071
  () => {
1091
- l |= 1 << g;
1072
+ l |= 1 << v;
1092
1073
  }
1093
1074
  )
1094
1075
  );
1095
1076
  return h = !0, c(), function() {
1096
- te(p), f(), h = !1;
1077
+ ee(p), f(), h = !1;
1097
1078
  };
1098
1079
  });
1099
1080
  }
1100
- function qr(e) {
1081
+ function rn(e) {
1101
1082
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1102
1083
  }
1103
- var Kr = function(t) {
1104
- return en(t) && !tn(t);
1084
+ var nn = function(t) {
1085
+ return on(t) && !sn(t);
1105
1086
  };
1106
- function en(e) {
1087
+ function on(e) {
1107
1088
  return !!e && typeof e == "object";
1108
1089
  }
1109
- function tn(e) {
1090
+ function sn(e) {
1110
1091
  var t = Object.prototype.toString.call(e);
1111
- return t === "[object RegExp]" || t === "[object Date]" || on(e);
1092
+ return t === "[object RegExp]" || t === "[object Date]" || hn(e);
1112
1093
  }
1113
- var rn = typeof Symbol == "function" && Symbol.for, nn = rn ? Symbol.for("react.element") : 60103;
1114
- function on(e) {
1115
- return e.$$typeof === nn;
1094
+ var an = typeof Symbol == "function" && Symbol.for, un = an ? Symbol.for("react.element") : 60103;
1095
+ function hn(e) {
1096
+ return e.$$typeof === un;
1116
1097
  }
1117
- function sn(e) {
1098
+ function ln(e) {
1118
1099
  return Array.isArray(e) ? [] : {};
1119
1100
  }
1120
- function K(e, t) {
1121
- return t.clone !== !1 && t.isMergeableObject(e) ? j(sn(e), e, t) : e;
1101
+ function q(e, t) {
1102
+ return t.clone !== !1 && t.isMergeableObject(e) ? F(ln(e), e, t) : e;
1122
1103
  }
1123
- function an(e, t, r) {
1104
+ function fn(e, t, r) {
1124
1105
  return e.concat(t).map(function(n) {
1125
- return K(n, r);
1106
+ return q(n, r);
1126
1107
  });
1127
1108
  }
1128
- function un(e, t) {
1109
+ function cn(e, t) {
1129
1110
  if (!t.customMerge)
1130
- return j;
1111
+ return F;
1131
1112
  var r = t.customMerge(e);
1132
- return typeof r == "function" ? r : j;
1113
+ return typeof r == "function" ? r : F;
1133
1114
  }
1134
- function hn(e) {
1115
+ function pn(e) {
1135
1116
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1136
1117
  return Object.propertyIsEnumerable.call(e, t);
1137
1118
  }) : [];
1138
1119
  }
1139
- function ft(e) {
1140
- return Object.keys(e).concat(hn(e));
1120
+ function bt(e) {
1121
+ return Object.keys(e).concat(pn(e));
1141
1122
  }
1142
- function Dt(e, t) {
1123
+ function Vt(e, t) {
1143
1124
  try {
1144
1125
  return t in e;
1145
1126
  } catch (r) {
1146
1127
  return !1;
1147
1128
  }
1148
1129
  }
1149
- function ln(e, t) {
1150
- return Dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1130
+ function mn(e, t) {
1131
+ return Vt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1151
1132
  }
1152
- function fn(e, t, r) {
1133
+ function dn(e, t, r) {
1153
1134
  var n = {};
1154
- return r.isMergeableObject(e) && ft(e).forEach(function(i) {
1155
- n[i] = K(e[i], r);
1156
- }), ft(t).forEach(function(i) {
1157
- ln(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = un(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
1135
+ return r.isMergeableObject(e) && bt(e).forEach(function(i) {
1136
+ n[i] = q(e[i], r);
1137
+ }), bt(t).forEach(function(i) {
1138
+ mn(e, i) || (Vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = q(t[i], r));
1158
1139
  }), n;
1159
1140
  }
1160
- function j(e, t, r) {
1161
- r = r || {}, r.arrayMerge = r.arrayMerge || an, r.isMergeableObject = r.isMergeableObject || Kr, r.cloneUnlessOtherwiseSpecified = K;
1141
+ function F(e, t, r) {
1142
+ r = r || {}, r.arrayMerge = r.arrayMerge || fn, r.isMergeableObject = r.isMergeableObject || nn, r.cloneUnlessOtherwiseSpecified = q;
1162
1143
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1163
- return o ? n ? r.arrayMerge(e, t, r) : fn(e, t, r) : K(t, r);
1144
+ return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) : q(t, r);
1164
1145
  }
1165
- j.all = function(t, r) {
1146
+ F.all = function(t, r) {
1166
1147
  if (!Array.isArray(t))
1167
1148
  throw new Error("first argument should be an array");
1168
1149
  return t.reduce(function(n, i) {
1169
- return j(n, i, r);
1150
+ return F(n, i, r);
1170
1151
  }, {});
1171
1152
  };
1172
- var cn = j, pn = cn;
1173
- const mn = /* @__PURE__ */ qr(pn);
1174
- function Se(e, t) {
1175
- var r = t && t.cache ? t.cache : En, n = t && t.serializer ? t.serializer : yn, i = t && t.strategy ? t.strategy : vn;
1153
+ var bn = F, gn = bn;
1154
+ const vn = /* @__PURE__ */ rn(gn);
1155
+ var Fe = function(e, t) {
1156
+ return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1157
+ r.__proto__ = n;
1158
+ } || function(r, n) {
1159
+ for (var i in n)
1160
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1161
+ }, Fe(e, t);
1162
+ };
1163
+ function ye(e, t) {
1164
+ if (typeof t != "function" && t !== null)
1165
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1166
+ Fe(e, t);
1167
+ function r() {
1168
+ this.constructor = e;
1169
+ }
1170
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1171
+ }
1172
+ var B = function() {
1173
+ return B = Object.assign || function(t) {
1174
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1175
+ r = arguments[n];
1176
+ for (var o in r)
1177
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1178
+ }
1179
+ return t;
1180
+ }, B.apply(this, arguments);
1181
+ };
1182
+ function yn(e, t) {
1183
+ var r = {};
1184
+ for (var n in e)
1185
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1186
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1187
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1188
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1189
+ return r;
1190
+ }
1191
+ function He(e, t, r) {
1192
+ if (r || arguments.length === 2)
1193
+ for (var n = 0, i = t.length, o; n < i; n++)
1194
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1195
+ return e.concat(o || Array.prototype.slice.call(t));
1196
+ }
1197
+ function Be(e, t) {
1198
+ var r = t && t.cache ? t.cache : Hn, n = t && t.serializer ? t.serializer : Tn, i = t && t.strategy ? t.strategy : xn;
1176
1199
  return i(e, {
1177
1200
  cache: r,
1178
1201
  serializer: n
1179
1202
  });
1180
1203
  }
1181
- function bn(e) {
1204
+ function _n(e) {
1182
1205
  return e == null || typeof e == "number" || typeof e == "boolean";
1183
1206
  }
1184
- function dn(e, t, r, n) {
1185
- var i = bn(n) ? n : r(n), o = t.get(i);
1207
+ function En(e, t, r, n) {
1208
+ var i = _n(n) ? n : r(n), o = t.get(i);
1186
1209
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1187
1210
  }
1188
- function Gt(e, t, r) {
1211
+ function Xt(e, t, r) {
1189
1212
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1190
1213
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1191
1214
  }
1192
- function Ft(e, t, r, n, i) {
1215
+ function zt(e, t, r, n, i) {
1193
1216
  return r.bind(t, e, n, i);
1194
1217
  }
1195
- function vn(e, t) {
1196
- var r = e.length === 1 ? dn : Gt;
1197
- return Ft(e, this, r, t.cache.create(), t.serializer);
1218
+ function xn(e, t) {
1219
+ var r = e.length === 1 ? En : Xt;
1220
+ return zt(e, this, r, t.cache.create(), t.serializer);
1198
1221
  }
1199
- function gn(e, t) {
1200
- return Ft(e, this, Gt, t.cache.create(), t.serializer);
1222
+ function Sn(e, t) {
1223
+ return zt(e, this, Xt, t.cache.create(), t.serializer);
1201
1224
  }
1202
- var yn = function() {
1225
+ var Tn = function() {
1203
1226
  return JSON.stringify(arguments);
1204
- }, _n = (
1227
+ }, wn = (
1205
1228
  /** @class */
1206
1229
  function() {
1207
1230
  function e() {
@@ -1213,61 +1236,71 @@ var yn = function() {
1213
1236
  this.cache[t] = r;
1214
1237
  }, e;
1215
1238
  }()
1216
- ), En = {
1239
+ ), Hn = {
1217
1240
  create: function() {
1218
- return new _n();
1241
+ return new wn();
1219
1242
  }
1220
- }, we = {
1221
- variadic: gn
1222
- }, m;
1243
+ }, Ae = {
1244
+ variadic: Sn
1245
+ }, me = function() {
1246
+ return me = Object.assign || function(t) {
1247
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1248
+ r = arguments[n];
1249
+ for (var o in r)
1250
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1251
+ }
1252
+ return t;
1253
+ }, me.apply(this, arguments);
1254
+ };
1255
+ var m;
1223
1256
  (function(e) {
1224
1257
  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";
1225
1258
  })(m || (m = {}));
1226
- var _;
1259
+ var y;
1227
1260
  (function(e) {
1228
1261
  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";
1229
- })(_ || (_ = {}));
1230
- var k;
1262
+ })(y || (y = {}));
1263
+ var j;
1231
1264
  (function(e) {
1232
1265
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1233
- })(k || (k = {}));
1234
- function ct(e) {
1235
- return e.type === _.literal;
1266
+ })(j || (j = {}));
1267
+ function gt(e) {
1268
+ return e.type === y.literal;
1236
1269
  }
1237
- function xn(e) {
1238
- return e.type === _.argument;
1270
+ function Bn(e) {
1271
+ return e.type === y.argument;
1239
1272
  }
1240
- function jt(e) {
1241
- return e.type === _.number;
1273
+ function Wt(e) {
1274
+ return e.type === y.number;
1242
1275
  }
1243
- function kt(e) {
1244
- return e.type === _.date;
1276
+ function Zt(e) {
1277
+ return e.type === y.date;
1245
1278
  }
1246
- function Vt(e) {
1247
- return e.type === _.time;
1279
+ function Qt(e) {
1280
+ return e.type === y.time;
1248
1281
  }
1249
- function Xt(e) {
1250
- return e.type === _.select;
1282
+ function Jt(e) {
1283
+ return e.type === y.select;
1251
1284
  }
1252
- function zt(e) {
1253
- return e.type === _.plural;
1285
+ function Yt(e) {
1286
+ return e.type === y.plural;
1254
1287
  }
1255
- function Tn(e) {
1256
- return e.type === _.pound;
1288
+ function An(e) {
1289
+ return e.type === y.pound;
1257
1290
  }
1258
- function Wt(e) {
1259
- return e.type === _.tag;
1291
+ function qt(e) {
1292
+ return e.type === y.tag;
1260
1293
  }
1261
- function Zt(e) {
1262
- return !!(e && typeof e == "object" && e.type === k.number);
1294
+ function Kt(e) {
1295
+ return !!(e && typeof e == "object" && e.type === j.number);
1263
1296
  }
1264
- function $e(e) {
1265
- return !!(e && typeof e == "object" && e.type === k.dateTime);
1297
+ function je(e) {
1298
+ return !!(e && typeof e == "object" && e.type === j.dateTime);
1266
1299
  }
1267
- var Qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[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;
1268
- function wn(e) {
1300
+ var er = /[ \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;
1301
+ function On(e) {
1269
1302
  var t = {};
1270
- return e.replace(Sn, function(r) {
1303
+ return e.replace(Pn, function(r) {
1271
1304
  var n = r.length;
1272
1305
  switch (r[0]) {
1273
1306
  case "G":
@@ -1356,11 +1389,21 @@ function wn(e) {
1356
1389
  return "";
1357
1390
  }), t;
1358
1391
  }
1359
- var Hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1360
- function Bn(e) {
1392
+ var _ = function() {
1393
+ return _ = Object.assign || function(t) {
1394
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1395
+ r = arguments[n];
1396
+ for (var o in r)
1397
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1398
+ }
1399
+ return t;
1400
+ }, _.apply(this, arguments);
1401
+ };
1402
+ var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1403
+ function Ln(e) {
1361
1404
  if (e.length === 0)
1362
1405
  throw new Error("Number skeleton cannot be empty");
1363
- for (var t = e.split(Hn).filter(function(c) {
1406
+ for (var t = e.split(In).filter(function(c) {
1364
1407
  return c.length > 0;
1365
1408
  }), r = [], n = 0, i = t; n < i.length; n++) {
1366
1409
  var o = i[n], s = o.split("/");
@@ -1375,17 +1418,17 @@ function Bn(e) {
1375
1418
  }
1376
1419
  return r;
1377
1420
  }
1378
- function An(e) {
1421
+ function Nn(e) {
1379
1422
  return e.replace(/^(.*?)-/, "");
1380
1423
  }
1381
- var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, Pn = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
1382
- function mt(e) {
1424
+ var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, Cn = /(\*)(0+)|(#+)(0+)|(0+)/g, rr = /^(0+)$/;
1425
+ function yt(e) {
1383
1426
  var t = {};
1384
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(r, n, i) {
1427
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tr, function(r, n, i) {
1385
1428
  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)), "";
1386
1429
  }), t;
1387
1430
  }
1388
- function qt(e) {
1431
+ function nr(e) {
1389
1432
  switch (e) {
1390
1433
  case "sign-auto":
1391
1434
  return {
@@ -1425,7 +1468,7 @@ function qt(e) {
1425
1468
  };
1426
1469
  }
1427
1470
  }
1428
- function On(e) {
1471
+ function Mn(e) {
1429
1472
  var t;
1430
1473
  if (e[0] === "E" && e[1] === "E" ? (t = {
1431
1474
  notation: "engineering"
@@ -1433,17 +1476,17 @@ function On(e) {
1433
1476
  notation: "scientific"
1434
1477
  }, e = e.slice(1)), t) {
1435
1478
  var r = e.slice(0, 2);
1436
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yt.test(e))
1479
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !rr.test(e))
1437
1480
  throw new Error("Malformed concise eng/scientific notation");
1438
1481
  t.minimumIntegerDigits = e.length;
1439
1482
  }
1440
1483
  return t;
1441
1484
  }
1442
- function bt(e) {
1443
- var t = {}, r = qt(e);
1485
+ function _t(e) {
1486
+ var t = {}, r = nr(e);
1444
1487
  return r || t;
1445
1488
  }
1446
- function In(e) {
1489
+ function $n(e) {
1447
1490
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1448
1491
  var i = n[r];
1449
1492
  switch (i.stem) {
@@ -1467,7 +1510,7 @@ function In(e) {
1467
1510
  continue;
1468
1511
  case "measure-unit":
1469
1512
  case "unit":
1470
- t.style = "unit", t.unit = An(i.options[0]);
1513
+ t.style = "unit", t.unit = Nn(i.options[0]);
1471
1514
  continue;
1472
1515
  case "compact-short":
1473
1516
  case "K":
@@ -1478,13 +1521,13 @@ function In(e) {
1478
1521
  t.notation = "compact", t.compactDisplay = "long";
1479
1522
  continue;
1480
1523
  case "scientific":
1481
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1482
- return y(y({}, h), bt(u));
1524
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1525
+ return _(_({}, h), _t(u));
1483
1526
  }, {}));
1484
1527
  continue;
1485
1528
  case "engineering":
1486
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1487
- return y(y({}, h), bt(u));
1529
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1530
+ return _(_({}, h), _t(u));
1488
1531
  }, {}));
1489
1532
  continue;
1490
1533
  case "notation-simple":
@@ -1529,7 +1572,7 @@ function In(e) {
1529
1572
  case "integer-width":
1530
1573
  if (i.options.length > 1)
1531
1574
  throw new RangeError("integer-width stems only accept a single optional option");
1532
- i.options[0].replace(Pn, function(h, u, l, f, c, p) {
1575
+ i.options[0].replace(Cn, function(h, u, l, f, c, p) {
1533
1576
  if (u)
1534
1577
  t.minimumIntegerDigits = l.length;
1535
1578
  else {
@@ -1542,28 +1585,28 @@ function In(e) {
1542
1585
  });
1543
1586
  continue;
1544
1587
  }
1545
- if (Yt.test(i.stem)) {
1588
+ if (rr.test(i.stem)) {
1546
1589
  t.minimumIntegerDigits = i.stem.length;
1547
1590
  continue;
1548
1591
  }
1549
- if (pt.test(i.stem)) {
1592
+ if (vt.test(i.stem)) {
1550
1593
  if (i.options.length > 1)
1551
1594
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1552
- i.stem.replace(pt, function(h, u, l, f, c, p) {
1595
+ i.stem.replace(vt, function(h, u, l, f, c, p) {
1553
1596
  return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1554
1597
  });
1555
1598
  var o = i.options[0];
1556
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), mt(o)));
1599
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), yt(o)));
1557
1600
  continue;
1558
1601
  }
1559
- if (Jt.test(i.stem)) {
1560
- t = y(y({}, t), mt(i.stem));
1602
+ if (tr.test(i.stem)) {
1603
+ t = _(_({}, t), yt(i.stem));
1561
1604
  continue;
1562
1605
  }
1563
- var s = qt(i.stem);
1564
- s && (t = y(y({}, t), s));
1565
- var a = On(i.stem);
1566
- a && (t = y(y({}, t), a));
1606
+ var s = nr(i.stem);
1607
+ s && (t = _(_({}, t), s));
1608
+ var a = Mn(i.stem);
1609
+ a && (t = _(_({}, t), a));
1567
1610
  }
1568
1611
  return t;
1569
1612
  }
@@ -2982,13 +3025,13 @@ var he = {
2982
3025
  "h"
2983
3026
  ]
2984
3027
  };
2985
- function Ln(e, t) {
3028
+ function Rn(e, t) {
2986
3029
  for (var r = "", n = 0; n < e.length; n++) {
2987
3030
  var i = e.charAt(n);
2988
3031
  if (i === "j") {
2989
3032
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2990
3033
  o++, n++;
2991
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Nn(t);
3034
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Un(t);
2992
3035
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2993
3036
  r += h;
2994
3037
  for (; s-- > 0; )
@@ -2998,7 +3041,7 @@ function Ln(e, t) {
2998
3041
  }
2999
3042
  return r;
3000
3043
  }
3001
- function Nn(e) {
3044
+ function Un(e) {
3002
3045
  var t = e.hourCycle;
3003
3046
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3004
3047
  e.hourCycles && // @ts-ignore
@@ -3020,20 +3063,20 @@ function Nn(e) {
3020
3063
  var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
3021
3064
  return i[0];
3022
3065
  }
3023
- var He, Cn = new RegExp("^".concat(Qt.source, "*")), Mn = new RegExp("".concat(Qt.source, "*$"));
3024
- function d(e, t) {
3066
+ var Pe, Dn = new RegExp("^".concat(er.source, "*")), Gn = new RegExp("".concat(er.source, "*$"));
3067
+ function b(e, t) {
3025
3068
  return { start: e, end: t };
3026
3069
  }
3027
- var Rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), $n = !!String.fromCodePoint, Un = !!Object.fromEntries, Dn = !!String.prototype.codePointAt, Gn = !!String.prototype.trimStart, Fn = !!String.prototype.trimEnd, jn = !!Number.isSafeInteger, kn = jn ? Number.isSafeInteger : function(e) {
3070
+ var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), jn = !!String.fromCodePoint, kn = !!Object.fromEntries, Vn = !!String.prototype.codePointAt, Xn = !!String.prototype.trimStart, zn = !!String.prototype.trimEnd, Wn = !!Number.isSafeInteger, Zn = Wn ? Number.isSafeInteger : function(e) {
3028
3071
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3029
- }, Ue = !0;
3072
+ }, ke = !0;
3030
3073
  try {
3031
- var Vn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3032
- Ue = ((He = Vn.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
3074
+ var Qn = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3075
+ ke = ((Pe = Qn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
3033
3076
  } catch (e) {
3034
- Ue = !1;
3077
+ ke = !1;
3035
3078
  }
3036
- var dt = Rn ? (
3079
+ var Et = Fn ? (
3037
3080
  // Native
3038
3081
  function(t, r, n) {
3039
3082
  return t.startsWith(r, n);
@@ -3043,7 +3086,7 @@ var dt = Rn ? (
3043
3086
  function(t, r, n) {
3044
3087
  return t.slice(n, n + r.length) === r;
3045
3088
  }
3046
- ), De = $n ? String.fromCodePoint : (
3089
+ ), Ve = jn ? String.fromCodePoint : (
3047
3090
  // IE11
3048
3091
  function() {
3049
3092
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3055,9 +3098,9 @@ var dt = Rn ? (
3055
3098
  }
3056
3099
  return n;
3057
3100
  }
3058
- ), vt = (
3101
+ ), xt = (
3059
3102
  // native
3060
- Un ? Object.fromEntries : (
3103
+ kn ? Object.fromEntries : (
3061
3104
  // Ponyfill
3062
3105
  function(t) {
3063
3106
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3067,7 +3110,7 @@ var dt = Rn ? (
3067
3110
  return r;
3068
3111
  }
3069
3112
  )
3070
- ), Kt = Dn ? (
3113
+ ), ir = Vn ? (
3071
3114
  // Native
3072
3115
  function(t, r) {
3073
3116
  return t.codePointAt(r);
@@ -3081,7 +3124,7 @@ var dt = Rn ? (
3081
3124
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3082
3125
  }
3083
3126
  }
3084
- ), Xn = Gn ? (
3127
+ ), Jn = Xn ? (
3085
3128
  // Native
3086
3129
  function(t) {
3087
3130
  return t.trimStart();
@@ -3089,9 +3132,9 @@ var dt = Rn ? (
3089
3132
  ) : (
3090
3133
  // Ponyfill
3091
3134
  function(t) {
3092
- return t.replace(Cn, "");
3135
+ return t.replace(Dn, "");
3093
3136
  }
3094
- ), zn = Fn ? (
3137
+ ), Yn = zn ? (
3095
3138
  // Native
3096
3139
  function(t) {
3097
3140
  return t.trimEnd();
@@ -3099,32 +3142,32 @@ var dt = Rn ? (
3099
3142
  ) : (
3100
3143
  // Ponyfill
3101
3144
  function(t) {
3102
- return t.replace(Mn, "");
3145
+ return t.replace(Gn, "");
3103
3146
  }
3104
3147
  );
3105
- function er(e, t) {
3148
+ function or(e, t) {
3106
3149
  return new RegExp(e, t);
3107
3150
  }
3108
- var Ge;
3109
- if (Ue) {
3110
- var gt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3111
- Ge = function(t, r) {
3151
+ var Xe;
3152
+ if (ke) {
3153
+ var St = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3154
+ Xe = function(t, r) {
3112
3155
  var n;
3113
- gt.lastIndex = r;
3114
- var i = gt.exec(t);
3156
+ St.lastIndex = r;
3157
+ var i = St.exec(t);
3115
3158
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3116
3159
  };
3117
3160
  } else
3118
- Ge = function(t, r) {
3161
+ Xe = function(t, r) {
3119
3162
  for (var n = []; ; ) {
3120
- var i = Kt(t, r);
3121
- if (i === void 0 || tr(i) || Jn(i))
3163
+ var i = ir(t, r);
3164
+ if (i === void 0 || sr(i) || ti(i))
3122
3165
  break;
3123
3166
  n.push(i), r += i >= 65536 ? 2 : 1;
3124
3167
  }
3125
- return De.apply(void 0, n);
3168
+ return Ve.apply(void 0, n);
3126
3169
  };
3127
- var Wn = (
3170
+ var qn = (
3128
3171
  /** @class */
3129
3172
  function() {
3130
3173
  function e(t, r) {
@@ -3148,14 +3191,14 @@ var Wn = (
3148
3191
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3149
3192
  var a = this.clonePosition();
3150
3193
  this.bump(), i.push({
3151
- type: _.pound,
3152
- location: d(a, this.clonePosition())
3194
+ type: y.pound,
3195
+ location: b(a, this.clonePosition())
3153
3196
  });
3154
3197
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3155
3198
  if (n)
3156
3199
  break;
3157
- return this.error(m.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
3158
- } else if (o === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
3200
+ return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3201
+ } else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
3159
3202
  var s = this.parseTag(t, r);
3160
3203
  if (s.err)
3161
3204
  return s;
@@ -3176,9 +3219,9 @@ var Wn = (
3176
3219
  if (this.bumpSpace(), this.bumpIf("/>"))
3177
3220
  return {
3178
3221
  val: {
3179
- type: _.literal,
3222
+ type: y.literal,
3180
3223
  value: "<".concat(i, "/>"),
3181
- location: d(n, this.clonePosition())
3224
+ location: b(n, this.clonePosition())
3182
3225
  },
3183
3226
  err: null
3184
3227
  };
@@ -3188,25 +3231,25 @@ var Wn = (
3188
3231
  return o;
3189
3232
  var s = o.val, a = this.clonePosition();
3190
3233
  if (this.bumpIf("</")) {
3191
- if (this.isEOF() || !Fe(this.char()))
3192
- return this.error(m.INVALID_TAG, d(a, this.clonePosition()));
3234
+ if (this.isEOF() || !ze(this.char()))
3235
+ return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
3193
3236
  var h = this.clonePosition(), u = this.parseTagName();
3194
- return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, d(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3237
+ return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3195
3238
  val: {
3196
- type: _.tag,
3239
+ type: y.tag,
3197
3240
  value: i,
3198
3241
  children: s,
3199
- location: d(n, this.clonePosition())
3242
+ location: b(n, this.clonePosition())
3200
3243
  },
3201
3244
  err: null
3202
- } : this.error(m.INVALID_TAG, d(a, this.clonePosition())));
3245
+ } : this.error(m.INVALID_TAG, b(a, this.clonePosition())));
3203
3246
  } else
3204
- return this.error(m.UNCLOSED_TAG, d(n, this.clonePosition()));
3247
+ return this.error(m.UNCLOSED_TAG, b(n, this.clonePosition()));
3205
3248
  } else
3206
- return this.error(m.INVALID_TAG, d(n, this.clonePosition()));
3249
+ return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
3207
3250
  }, e.prototype.parseTagName = function() {
3208
3251
  var t = this.offset();
3209
- for (this.bump(); !this.isEOF() && Qn(this.char()); )
3252
+ for (this.bump(); !this.isEOF() && ei(this.char()); )
3210
3253
  this.bump();
3211
3254
  return this.message.slice(t, this.offset());
3212
3255
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3228,14 +3271,14 @@ var Wn = (
3228
3271
  }
3229
3272
  break;
3230
3273
  }
3231
- var h = d(n, this.clonePosition());
3274
+ var h = b(n, this.clonePosition());
3232
3275
  return {
3233
- val: { type: _.literal, value: i, location: h },
3276
+ val: { type: y.literal, value: i, location: h },
3234
3277
  err: null
3235
3278
  };
3236
3279
  }, e.prototype.tryParseLeftAngleBracket = function() {
3237
3280
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3238
- !Zn(this.peek() || 0)) ? (this.bump(), "<") : null;
3281
+ !Kn(this.peek() || 0)) ? (this.bump(), "<") : null;
3239
3282
  }, e.prototype.tryParseQuote = function(t) {
3240
3283
  if (this.isEOF() || this.char() !== 39)
3241
3284
  return null;
@@ -3269,49 +3312,49 @@ var Wn = (
3269
3312
  r.push(n);
3270
3313
  this.bump();
3271
3314
  }
3272
- return De.apply(void 0, r);
3315
+ return Ve.apply(void 0, r);
3273
3316
  }, e.prototype.tryParseUnquoted = function(t, r) {
3274
3317
  if (this.isEOF())
3275
3318
  return null;
3276
3319
  var n = this.char();
3277
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), De(n));
3320
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3278
3321
  }, e.prototype.parseArgument = function(t, r) {
3279
3322
  var n = this.clonePosition();
3280
3323
  if (this.bump(), this.bumpSpace(), this.isEOF())
3281
- return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
3324
+ return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3282
3325
  if (this.char() === 125)
3283
- return this.bump(), this.error(m.EMPTY_ARGUMENT, d(n, this.clonePosition()));
3326
+ return this.bump(), this.error(m.EMPTY_ARGUMENT, b(n, this.clonePosition()));
3284
3327
  var i = this.parseIdentifierIfPossible().value;
3285
3328
  if (!i)
3286
- return this.error(m.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
3329
+ return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3287
3330
  if (this.bumpSpace(), this.isEOF())
3288
- return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
3331
+ return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3289
3332
  switch (this.char()) {
3290
3333
  case 125:
3291
3334
  return this.bump(), {
3292
3335
  val: {
3293
- type: _.argument,
3336
+ type: y.argument,
3294
3337
  // value does not include the opening and closing braces.
3295
3338
  value: i,
3296
- location: d(n, this.clonePosition())
3339
+ location: b(n, this.clonePosition())
3297
3340
  },
3298
3341
  err: null
3299
3342
  };
3300
3343
  case 44:
3301
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3344
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3302
3345
  default:
3303
- return this.error(m.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
3346
+ return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3304
3347
  }
3305
3348
  }, e.prototype.parseIdentifierIfPossible = function() {
3306
- var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
3349
+ var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
3307
3350
  this.bumpTo(i);
3308
- var o = this.clonePosition(), s = d(t, o);
3351
+ var o = this.clonePosition(), s = b(t, o);
3309
3352
  return { value: n, location: s };
3310
3353
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3311
3354
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3312
3355
  switch (a) {
3313
3356
  case "":
3314
- return this.error(m.EXPECT_ARGUMENT_TYPE, d(s, h));
3357
+ return this.error(m.EXPECT_ARGUMENT_TYPE, b(s, h));
3315
3358
  case "number":
3316
3359
  case "date":
3317
3360
  case "time": {
@@ -3322,46 +3365,46 @@ var Wn = (
3322
3365
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3323
3366
  if (f.err)
3324
3367
  return f;
3325
- var c = zn(f.val);
3368
+ var c = Yn(f.val);
3326
3369
  if (c.length === 0)
3327
- return this.error(m.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
3328
- var p = d(l, this.clonePosition());
3370
+ return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3371
+ var p = b(l, this.clonePosition());
3329
3372
  u = { style: c, styleLocation: p };
3330
3373
  }
3331
- var b = this.tryParseArgumentClose(i);
3332
- if (b.err)
3333
- return b;
3334
- var g = d(i, this.clonePosition());
3335
- if (u && dt(u == null ? void 0 : u.style, "::", 0)) {
3336
- var T = Xn(u.style.slice(2));
3374
+ var d = this.tryParseArgumentClose(i);
3375
+ if (d.err)
3376
+ return d;
3377
+ var v = b(i, this.clonePosition());
3378
+ if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
3379
+ var S = Jn(u.style.slice(2));
3337
3380
  if (a === "number") {
3338
- var f = this.parseNumberSkeletonFromString(T, u.styleLocation);
3381
+ var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
3339
3382
  return f.err ? f : {
3340
- val: { type: _.number, value: n, location: g, style: f.val },
3383
+ val: { type: y.number, value: n, location: v, style: f.val },
3341
3384
  err: null
3342
3385
  };
3343
3386
  } else {
3344
- if (T.length === 0)
3345
- return this.error(m.EXPECT_DATE_TIME_SKELETON, g);
3346
- var L = T;
3347
- this.locale && (L = Ln(T, this.locale));
3387
+ if (S.length === 0)
3388
+ return this.error(m.EXPECT_DATE_TIME_SKELETON, v);
3389
+ var L = S;
3390
+ this.locale && (L = Rn(S, this.locale));
3348
3391
  var c = {
3349
- type: k.dateTime,
3392
+ type: j.dateTime,
3350
3393
  pattern: L,
3351
3394
  location: u.styleLocation,
3352
- parsedOptions: this.shouldParseSkeletons ? wn(L) : {}
3353
- }, v = a === "date" ? _.date : _.time;
3395
+ parsedOptions: this.shouldParseSkeletons ? On(L) : {}
3396
+ }, g = a === "date" ? y.date : y.time;
3354
3397
  return {
3355
- val: { type: v, value: n, location: g, style: c },
3398
+ val: { type: g, value: n, location: v, style: c },
3356
3399
  err: null
3357
3400
  };
3358
3401
  }
3359
3402
  }
3360
3403
  return {
3361
3404
  val: {
3362
- type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3405
+ type: a === "number" ? y.number : a === "date" ? y.date : y.time,
3363
3406
  value: n,
3364
- location: g,
3407
+ location: v,
3365
3408
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3366
3409
  },
3367
3410
  err: null
@@ -3372,50 +3415,50 @@ var Wn = (
3372
3415
  case "select": {
3373
3416
  var H = this.clonePosition();
3374
3417
  if (this.bumpSpace(), !this.bumpIf(","))
3375
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, d(H, y({}, H)));
3418
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, me({}, H)));
3376
3419
  this.bumpSpace();
3377
- var Q = this.parseIdentifierIfPossible(), N = 0;
3378
- if (a !== "select" && Q.value === "offset") {
3420
+ var Z = this.parseIdentifierIfPossible(), N = 0;
3421
+ if (a !== "select" && Z.value === "offset") {
3379
3422
  if (!this.bumpIf(":"))
3380
- return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d(this.clonePosition(), this.clonePosition()));
3423
+ return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3381
3424
  this.bumpSpace();
3382
3425
  var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3383
3426
  if (f.err)
3384
3427
  return f;
3385
- this.bumpSpace(), Q = this.parseIdentifierIfPossible(), N = f.val;
3428
+ this.bumpSpace(), Z = this.parseIdentifierIfPossible(), N = f.val;
3386
3429
  }
3387
- var oe = this.tryParsePluralOrSelectOptions(t, a, r, Q);
3430
+ var oe = this.tryParsePluralOrSelectOptions(t, a, r, Z);
3388
3431
  if (oe.err)
3389
3432
  return oe;
3390
- var b = this.tryParseArgumentClose(i);
3391
- if (b.err)
3392
- return b;
3393
- var Qe = d(i, this.clonePosition());
3433
+ var d = this.tryParseArgumentClose(i);
3434
+ if (d.err)
3435
+ return d;
3436
+ var et = b(i, this.clonePosition());
3394
3437
  return a === "select" ? {
3395
3438
  val: {
3396
- type: _.select,
3439
+ type: y.select,
3397
3440
  value: n,
3398
- options: vt(oe.val),
3399
- location: Qe
3441
+ options: xt(oe.val),
3442
+ location: et
3400
3443
  },
3401
3444
  err: null
3402
3445
  } : {
3403
3446
  val: {
3404
- type: _.plural,
3447
+ type: y.plural,
3405
3448
  value: n,
3406
- options: vt(oe.val),
3449
+ options: xt(oe.val),
3407
3450
  offset: N,
3408
3451
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3409
- location: Qe
3452
+ location: et
3410
3453
  },
3411
3454
  err: null
3412
3455
  };
3413
3456
  }
3414
3457
  default:
3415
- return this.error(m.INVALID_ARGUMENT_TYPE, d(s, h));
3458
+ return this.error(m.INVALID_ARGUMENT_TYPE, b(s, h));
3416
3459
  }
3417
3460
  }, e.prototype.tryParseArgumentClose = function(t) {
3418
- return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3461
+ return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3419
3462
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3420
3463
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3421
3464
  var n = this.char();
@@ -3424,7 +3467,7 @@ var Wn = (
3424
3467
  this.bump();
3425
3468
  var i = this.clonePosition();
3426
3469
  if (!this.bumpUntil("'"))
3427
- return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, d(i, this.clonePosition()));
3470
+ return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
3428
3471
  this.bump();
3429
3472
  break;
3430
3473
  }
@@ -3454,16 +3497,16 @@ var Wn = (
3454
3497
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3455
3498
  var n = [];
3456
3499
  try {
3457
- n = Bn(t);
3500
+ n = Ln(t);
3458
3501
  } catch (i) {
3459
3502
  return this.error(m.INVALID_NUMBER_SKELETON, r);
3460
3503
  }
3461
3504
  return {
3462
3505
  val: {
3463
- type: k.number,
3506
+ type: j.number,
3464
3507
  tokens: n,
3465
3508
  location: r,
3466
- parsedOptions: this.shouldParseSkeletons ? In(n) : {}
3509
+ parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
3467
3510
  },
3468
3511
  err: null
3469
3512
  };
@@ -3475,7 +3518,7 @@ var Wn = (
3475
3518
  var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
3476
3519
  if (c.err)
3477
3520
  return c;
3478
- l = d(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3521
+ l = b(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3479
3522
  } else
3480
3523
  break;
3481
3524
  }
@@ -3484,22 +3527,22 @@ var Wn = (
3484
3527
  u === "other" && (s = !0), this.bumpSpace();
3485
3528
  var p = this.clonePosition();
3486
3529
  if (!this.bumpIf("{"))
3487
- return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
3488
- var b = this.parseMessage(t + 1, r, n);
3489
- if (b.err)
3490
- return b;
3491
- var g = this.tryParseArgumentClose(p);
3492
- if (g.err)
3493
- return g;
3530
+ return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3531
+ var d = this.parseMessage(t + 1, r, n);
3532
+ if (d.err)
3533
+ return d;
3534
+ var v = this.tryParseArgumentClose(p);
3535
+ if (v.err)
3536
+ return v;
3494
3537
  a.push([
3495
3538
  u,
3496
3539
  {
3497
- value: b.val,
3498
- location: d(p, this.clonePosition())
3540
+ value: d.val,
3541
+ location: b(p, this.clonePosition())
3499
3542
  }
3500
3543
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3501
3544
  }
3502
- return a.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, d(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(m.MISSING_OTHER_CLAUSE, d(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3545
+ return a.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(m.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3503
3546
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3504
3547
  var n = 1, i = this.clonePosition();
3505
3548
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3510,8 +3553,8 @@ var Wn = (
3510
3553
  else
3511
3554
  break;
3512
3555
  }
3513
- var h = d(i, this.clonePosition());
3514
- return o ? (s *= n, kn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3556
+ var h = b(i, this.clonePosition());
3557
+ return o ? (s *= n, Zn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3515
3558
  }, e.prototype.offset = function() {
3516
3559
  return this.position.offset;
3517
3560
  }, e.prototype.isEOF = function() {
@@ -3526,7 +3569,7 @@ var Wn = (
3526
3569
  var t = this.position.offset;
3527
3570
  if (t >= this.message.length)
3528
3571
  throw Error("out of bound");
3529
- var r = Kt(this.message, t);
3572
+ var r = ir(this.message, t);
3530
3573
  if (r === void 0)
3531
3574
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3532
3575
  return r;
@@ -3545,7 +3588,7 @@ var Wn = (
3545
3588
  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);
3546
3589
  }
3547
3590
  }, e.prototype.bumpIf = function(t) {
3548
- if (dt(this.message, t, this.offset())) {
3591
+ if (Et(this.message, t, this.offset())) {
3549
3592
  for (var r = 0; r < t.length; r++)
3550
3593
  this.bump();
3551
3594
  return !0;
@@ -3567,7 +3610,7 @@ var Wn = (
3567
3610
  break;
3568
3611
  }
3569
3612
  }, e.prototype.bumpSpace = function() {
3570
- for (; !this.isEOF() && tr(this.char()); )
3613
+ for (; !this.isEOF() && sr(this.char()); )
3571
3614
  this.bump();
3572
3615
  }, e.prototype.peek = function() {
3573
3616
  if (this.isEOF())
@@ -3577,47 +3620,47 @@ var Wn = (
3577
3620
  }, e;
3578
3621
  }()
3579
3622
  );
3580
- function Fe(e) {
3623
+ function ze(e) {
3581
3624
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3582
3625
  }
3583
- function Zn(e) {
3584
- return Fe(e) || e === 47;
3626
+ function Kn(e) {
3627
+ return ze(e) || e === 47;
3585
3628
  }
3586
- function Qn(e) {
3629
+ function ei(e) {
3587
3630
  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;
3588
3631
  }
3589
- function tr(e) {
3632
+ function sr(e) {
3590
3633
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3591
3634
  }
3592
- function Jn(e) {
3635
+ function ti(e) {
3593
3636
  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;
3594
3637
  }
3595
- function je(e) {
3638
+ function We(e) {
3596
3639
  e.forEach(function(t) {
3597
- if (delete t.location, Xt(t) || zt(t))
3640
+ if (delete t.location, Jt(t) || Yt(t))
3598
3641
  for (var r in t.options)
3599
- delete t.options[r].location, je(t.options[r].value);
3642
+ delete t.options[r].location, We(t.options[r].value);
3600
3643
  else
3601
- jt(t) && Zt(t.style) || (kt(t) || Vt(t)) && $e(t.style) ? delete t.style.location : Wt(t) && je(t.children);
3644
+ Wt(t) && Kt(t.style) || (Zt(t) || Qt(t)) && je(t.style) ? delete t.style.location : qt(t) && We(t.children);
3602
3645
  });
3603
3646
  }
3604
- function Yn(e, t) {
3605
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3606
- var r = new Wn(e, t).parse();
3647
+ function ri(e, t) {
3648
+ t === void 0 && (t = {}), t = me({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3649
+ var r = new qn(e, t).parse();
3607
3650
  if (r.err) {
3608
3651
  var n = SyntaxError(m[r.err.kind]);
3609
3652
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3610
3653
  }
3611
- return t != null && t.captureLocation || je(r.val), r.val;
3654
+ return t != null && t.captureLocation || We(r.val), r.val;
3612
3655
  }
3613
- var V;
3656
+ var k;
3614
3657
  (function(e) {
3615
3658
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3616
- })(V || (V = {}));
3617
- var ge = (
3659
+ })(k || (k = {}));
3660
+ var _e = (
3618
3661
  /** @class */
3619
3662
  function(e) {
3620
- A(t, e);
3663
+ ye(t, e);
3621
3664
  function t(r, n, i) {
3622
3665
  var o = e.call(this, r) || this;
3623
3666
  return o.code = n, o.originalMessage = i, o;
@@ -3626,48 +3669,48 @@ var ge = (
3626
3669
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3627
3670
  }, t;
3628
3671
  }(Error)
3629
- ), yt = (
3672
+ ), Tt = (
3630
3673
  /** @class */
3631
3674
  function(e) {
3632
- A(t, e);
3675
+ ye(t, e);
3633
3676
  function t(r, n, i, o) {
3634
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, o) || this;
3677
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, o) || this;
3635
3678
  }
3636
3679
  return t;
3637
- }(ge)
3638
- ), qn = (
3680
+ }(_e)
3681
+ ), ni = (
3639
3682
  /** @class */
3640
3683
  function(e) {
3641
- A(t, e);
3684
+ ye(t, e);
3642
3685
  function t(r, n, i) {
3643
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3686
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), k.INVALID_VALUE, i) || this;
3644
3687
  }
3645
3688
  return t;
3646
- }(ge)
3647
- ), Kn = (
3689
+ }(_e)
3690
+ ), ii = (
3648
3691
  /** @class */
3649
3692
  function(e) {
3650
- A(t, e);
3693
+ ye(t, e);
3651
3694
  function t(r, n) {
3652
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3695
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), k.MISSING_VALUE, n) || this;
3653
3696
  }
3654
3697
  return t;
3655
- }(ge)
3698
+ }(_e)
3656
3699
  ), E;
3657
3700
  (function(e) {
3658
3701
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3659
3702
  })(E || (E = {}));
3660
- function ei(e) {
3703
+ function oi(e) {
3661
3704
  return e.length < 2 ? e : e.reduce(function(t, r) {
3662
3705
  var n = t[t.length - 1];
3663
3706
  return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3664
3707
  }, []);
3665
3708
  }
3666
- function ti(e) {
3709
+ function si(e) {
3667
3710
  return typeof e == "function";
3668
3711
  }
3669
3712
  function ce(e, t, r, n, i, o, s) {
3670
- if (e.length === 1 && ct(e[0]))
3713
+ if (e.length === 1 && gt(e[0]))
3671
3714
  return [
3672
3715
  {
3673
3716
  type: E.literal,
@@ -3676,14 +3719,14 @@ function ce(e, t, r, n, i, o, s) {
3676
3719
  ];
3677
3720
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3678
3721
  var l = u[h];
3679
- if (ct(l)) {
3722
+ if (gt(l)) {
3680
3723
  a.push({
3681
3724
  type: E.literal,
3682
3725
  value: l.value
3683
3726
  });
3684
3727
  continue;
3685
3728
  }
3686
- if (Tn(l)) {
3729
+ if (An(l)) {
3687
3730
  typeof o == "number" && a.push({
3688
3731
  type: E.literal,
3689
3732
  value: r.getNumberFormat(t).format(o)
@@ -3692,89 +3735,89 @@ function ce(e, t, r, n, i, o, s) {
3692
3735
  }
3693
3736
  var f = l.value;
3694
3737
  if (!(i && f in i))
3695
- throw new Kn(f, s);
3738
+ throw new ii(f, s);
3696
3739
  var c = i[f];
3697
- if (xn(l)) {
3740
+ if (Bn(l)) {
3698
3741
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3699
3742
  type: typeof c == "string" ? E.literal : E.object,
3700
3743
  value: c
3701
3744
  });
3702
3745
  continue;
3703
3746
  }
3704
- if (kt(l)) {
3705
- var p = typeof l.style == "string" ? n.date[l.style] : $e(l.style) ? l.style.parsedOptions : void 0;
3747
+ if (Zt(l)) {
3748
+ var p = typeof l.style == "string" ? n.date[l.style] : je(l.style) ? l.style.parsedOptions : void 0;
3706
3749
  a.push({
3707
3750
  type: E.literal,
3708
3751
  value: r.getDateTimeFormat(t, p).format(c)
3709
3752
  });
3710
3753
  continue;
3711
3754
  }
3712
- if (Vt(l)) {
3713
- var p = typeof l.style == "string" ? n.time[l.style] : $e(l.style) ? l.style.parsedOptions : n.time.medium;
3755
+ if (Qt(l)) {
3756
+ var p = typeof l.style == "string" ? n.time[l.style] : je(l.style) ? l.style.parsedOptions : n.time.medium;
3714
3757
  a.push({
3715
3758
  type: E.literal,
3716
3759
  value: r.getDateTimeFormat(t, p).format(c)
3717
3760
  });
3718
3761
  continue;
3719
3762
  }
3720
- if (jt(l)) {
3721
- var p = typeof l.style == "string" ? n.number[l.style] : Zt(l.style) ? l.style.parsedOptions : void 0;
3763
+ if (Wt(l)) {
3764
+ var p = typeof l.style == "string" ? n.number[l.style] : Kt(l.style) ? l.style.parsedOptions : void 0;
3722
3765
  p && p.scale && (c = c * (p.scale || 1)), a.push({
3723
3766
  type: E.literal,
3724
3767
  value: r.getNumberFormat(t, p).format(c)
3725
3768
  });
3726
3769
  continue;
3727
3770
  }
3728
- if (Wt(l)) {
3729
- var b = l.children, g = l.value, T = i[g];
3730
- if (!ti(T))
3731
- throw new qn(g, "function", s);
3732
- var L = ce(b, t, r, n, i, o), v = T(L.map(function(N) {
3771
+ if (qt(l)) {
3772
+ var d = l.children, v = l.value, S = i[v];
3773
+ if (!si(S))
3774
+ throw new ni(v, "function", s);
3775
+ var L = ce(d, t, r, n, i, o), g = S(L.map(function(N) {
3733
3776
  return N.value;
3734
3777
  }));
3735
- Array.isArray(v) || (v = [v]), a.push.apply(a, v.map(function(N) {
3778
+ Array.isArray(g) || (g = [g]), a.push.apply(a, g.map(function(N) {
3736
3779
  return {
3737
3780
  type: typeof N == "string" ? E.literal : E.object,
3738
3781
  value: N
3739
3782
  };
3740
3783
  }));
3741
3784
  }
3742
- if (Xt(l)) {
3785
+ if (Jt(l)) {
3743
3786
  var H = l.options[c] || l.options.other;
3744
3787
  if (!H)
3745
- throw new yt(l.value, c, Object.keys(l.options), s);
3788
+ throw new Tt(l.value, c, Object.keys(l.options), s);
3746
3789
  a.push.apply(a, ce(H.value, t, r, n, i));
3747
3790
  continue;
3748
3791
  }
3749
- if (zt(l)) {
3792
+ if (Yt(l)) {
3750
3793
  var H = l.options["=".concat(c)];
3751
3794
  if (!H) {
3752
3795
  if (!Intl.PluralRules)
3753
- throw new ge(`Intl.PluralRules is not available in this environment.
3796
+ throw new _e(`Intl.PluralRules is not available in this environment.
3754
3797
  Try polyfilling it using "@formatjs/intl-pluralrules"
3755
- `, V.MISSING_INTL_API, s);
3756
- var Q = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3757
- H = l.options[Q] || l.options.other;
3798
+ `, k.MISSING_INTL_API, s);
3799
+ var Z = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3800
+ H = l.options[Z] || l.options.other;
3758
3801
  }
3759
3802
  if (!H)
3760
- throw new yt(l.value, c, Object.keys(l.options), s);
3803
+ throw new Tt(l.value, c, Object.keys(l.options), s);
3761
3804
  a.push.apply(a, ce(H.value, t, r, n, i, c - (l.offset || 0)));
3762
3805
  continue;
3763
3806
  }
3764
3807
  }
3765
- return ei(a);
3808
+ return oi(a);
3766
3809
  }
3767
- function ri(e, t) {
3768
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3769
- return r[n] = y(y({}, e[n]), t[n] || {}), r;
3810
+ function ai(e, t) {
3811
+ return t ? B(B(B({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3812
+ return r[n] = B(B({}, e[n]), t[n] || {}), r;
3770
3813
  }, {})) : e;
3771
3814
  }
3772
- function ni(e, t) {
3815
+ function ui(e, t) {
3773
3816
  return t ? Object.keys(e).reduce(function(r, n) {
3774
- return r[n] = ri(e[n], t[n]), r;
3775
- }, y({}, e)) : e;
3817
+ return r[n] = ai(e[n], t[n]), r;
3818
+ }, B({}, e)) : e;
3776
3819
  }
3777
- function Be(e) {
3820
+ function Oe(e) {
3778
3821
  return {
3779
3822
  create: function() {
3780
3823
  return {
@@ -3788,39 +3831,39 @@ function Be(e) {
3788
3831
  }
3789
3832
  };
3790
3833
  }
3791
- function ii(e) {
3834
+ function hi(e) {
3792
3835
  return e === void 0 && (e = {
3793
3836
  number: {},
3794
3837
  dateTime: {},
3795
3838
  pluralRules: {}
3796
3839
  }), {
3797
- getNumberFormat: Se(function() {
3840
+ getNumberFormat: Be(function() {
3798
3841
  for (var t, r = [], n = 0; n < arguments.length; n++)
3799
3842
  r[n] = arguments[n];
3800
- return new ((t = Intl.NumberFormat).bind.apply(t, F([void 0], r, !1)))();
3843
+ return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
3801
3844
  }, {
3802
- cache: Be(e.number),
3803
- strategy: we.variadic
3845
+ cache: Oe(e.number),
3846
+ strategy: Ae.variadic
3804
3847
  }),
3805
- getDateTimeFormat: Se(function() {
3848
+ getDateTimeFormat: Be(function() {
3806
3849
  for (var t, r = [], n = 0; n < arguments.length; n++)
3807
3850
  r[n] = arguments[n];
3808
- return new ((t = Intl.DateTimeFormat).bind.apply(t, F([void 0], r, !1)))();
3851
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
3809
3852
  }, {
3810
- cache: Be(e.dateTime),
3811
- strategy: we.variadic
3853
+ cache: Oe(e.dateTime),
3854
+ strategy: Ae.variadic
3812
3855
  }),
3813
- getPluralRules: Se(function() {
3856
+ getPluralRules: Be(function() {
3814
3857
  for (var t, r = [], n = 0; n < arguments.length; n++)
3815
3858
  r[n] = arguments[n];
3816
- return new ((t = Intl.PluralRules).bind.apply(t, F([void 0], r, !1)))();
3859
+ return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
3817
3860
  }, {
3818
- cache: Be(e.pluralRules),
3819
- strategy: we.variadic
3861
+ cache: Oe(e.pluralRules),
3862
+ strategy: Ae.variadic
3820
3863
  })
3821
3864
  };
3822
3865
  }
3823
- var oi = (
3866
+ var li = (
3824
3867
  /** @class */
3825
3868
  function() {
3826
3869
  function e(t, r, n, i) {
@@ -3852,13 +3895,13 @@ var oi = (
3852
3895
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3853
3896
  var s = i || {};
3854
3897
  s.formatters;
3855
- var a = Rr(s, ["formatters"]);
3856
- this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3898
+ var a = yn(s, ["formatters"]);
3899
+ this.ast = e.__parse(t, B(B({}, a), { locale: this.resolvedLocale }));
3857
3900
  } else
3858
3901
  this.ast = t;
3859
3902
  if (!Array.isArray(this.ast))
3860
3903
  throw new TypeError("A message must be provided as a String or AST.");
3861
- this.formats = ni(e.formats, n), this.formatters = i && i.formatters || ii(this.formatterCache);
3904
+ this.formats = ui(e.formats, n), this.formatters = i && i.formatters || hi(this.formatterCache);
3862
3905
  }
3863
3906
  return Object.defineProperty(e, "defaultLocale", {
3864
3907
  get: function() {
@@ -3871,7 +3914,7 @@ var oi = (
3871
3914
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3872
3915
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3873
3916
  }
3874
- }, e.__parse = Yn, e.formats = {
3917
+ }, e.__parse = ri, e.formats = {
3875
3918
  number: {
3876
3919
  integer: {
3877
3920
  maximumFractionDigits: 0
@@ -3932,7 +3975,7 @@ var oi = (
3932
3975
  }, e;
3933
3976
  }()
3934
3977
  );
3935
- function si(e, t) {
3978
+ function fi(e, t) {
3936
3979
  if (t == null)
3937
3980
  return;
3938
3981
  if (t in e)
@@ -3953,92 +3996,92 @@ function si(e, t) {
3953
3996
  n = void 0;
3954
3997
  return n;
3955
3998
  }
3956
- const O = {}, ai = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), rr = (e, t) => {
3999
+ const O = {}, ci = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), ar = (e, t) => {
3957
4000
  if (t == null)
3958
4001
  return;
3959
4002
  if (t in O && e in O[t])
3960
4003
  return O[t][e];
3961
- const r = ye(t);
4004
+ const r = Ee(t);
3962
4005
  for (let n = 0; n < r.length; n++) {
3963
- const i = r[n], o = hi(i, e);
4006
+ const i = r[n], o = mi(i, e);
3964
4007
  if (o)
3965
- return ai(e, t, o);
4008
+ return ci(e, t, o);
3966
4009
  }
3967
4010
  };
3968
- let We;
4011
+ let qe;
3969
4012
  const ne = ve({});
3970
- function ui(e) {
3971
- return We[e] || null;
4013
+ function pi(e) {
4014
+ return qe[e] || null;
3972
4015
  }
3973
- function nr(e) {
3974
- return e in We;
4016
+ function ur(e) {
4017
+ return e in qe;
3975
4018
  }
3976
- function hi(e, t) {
3977
- if (!nr(e))
4019
+ function mi(e, t) {
4020
+ if (!ur(e))
3978
4021
  return null;
3979
- const r = ui(e);
3980
- return si(r, t);
4022
+ const r = pi(e);
4023
+ return fi(r, t);
3981
4024
  }
3982
- function li(e) {
4025
+ function di(e) {
3983
4026
  if (e == null)
3984
4027
  return;
3985
- const t = ye(e);
4028
+ const t = Ee(e);
3986
4029
  for (let r = 0; r < t.length; r++) {
3987
4030
  const n = t[r];
3988
- if (nr(n))
4031
+ if (ur(n))
3989
4032
  return n;
3990
4033
  }
3991
4034
  }
3992
- function fi(e, ...t) {
3993
- delete O[e], ne.update((r) => (r[e] = mn.all([r[e] || {}, ...t]), r));
4035
+ function bi(e, ...t) {
4036
+ delete O[e], ne.update((r) => (r[e] = vn.all([r[e] || {}, ...t]), r));
3994
4037
  }
3995
- W(
4038
+ z(
3996
4039
  [ne],
3997
4040
  ([e]) => Object.keys(e)
3998
4041
  );
3999
- ne.subscribe((e) => We = e);
4042
+ ne.subscribe((e) => qe = e);
4000
4043
  const pe = {};
4001
- function ci(e, t) {
4044
+ function gi(e, t) {
4002
4045
  pe[e].delete(t), pe[e].size === 0 && delete pe[e];
4003
4046
  }
4004
- function ir(e) {
4047
+ function hr(e) {
4005
4048
  return pe[e];
4006
4049
  }
4007
- function pi(e) {
4008
- return ye(e).map((t) => {
4009
- const r = ir(t);
4050
+ function vi(e) {
4051
+ return Ee(e).map((t) => {
4052
+ const r = hr(t);
4010
4053
  return [t, r ? [...r] : []];
4011
4054
  }).filter(([, t]) => t.length > 0);
4012
4055
  }
4013
- function ke(e) {
4014
- return e == null ? !1 : ye(e).some(
4056
+ function Ze(e) {
4057
+ return e == null ? !1 : Ee(e).some(
4015
4058
  (t) => {
4016
4059
  var r;
4017
- return (r = ir(t)) == null ? void 0 : r.size;
4060
+ return (r = hr(t)) == null ? void 0 : r.size;
4018
4061
  }
4019
4062
  );
4020
4063
  }
4021
- function mi(e, t) {
4064
+ function yi(e, t) {
4022
4065
  return Promise.all(
4023
- t.map((n) => (ci(e, n), n().then((i) => i.default || i)))
4024
- ).then((n) => fi(e, ...n));
4025
- }
4026
- const J = {};
4027
- function or(e) {
4028
- if (!ke(e))
4029
- return e in J ? J[e] : Promise.resolve();
4030
- const t = pi(e);
4031
- return J[e] = Promise.all(
4066
+ t.map((n) => (gi(e, n), n().then((i) => i.default || i)))
4067
+ ).then((n) => bi(e, ...n));
4068
+ }
4069
+ const Q = {};
4070
+ function lr(e) {
4071
+ if (!Ze(e))
4072
+ return e in Q ? Q[e] : Promise.resolve();
4073
+ const t = vi(e);
4074
+ return Q[e] = Promise.all(
4032
4075
  t.map(
4033
- ([r, n]) => mi(r, n)
4076
+ ([r, n]) => yi(r, n)
4034
4077
  )
4035
4078
  ).then(() => {
4036
- if (ke(e))
4037
- return or(e);
4038
- delete J[e];
4039
- }), J[e];
4079
+ if (Ze(e))
4080
+ return lr(e);
4081
+ delete Q[e];
4082
+ }), Q[e];
4040
4083
  }
4041
- const bi = {
4084
+ const _i = {
4042
4085
  number: {
4043
4086
  scientific: { notation: "scientific" },
4044
4087
  engineering: { notation: "engineering" },
@@ -4067,135 +4110,135 @@ const bi = {
4067
4110
  timeZoneName: "short"
4068
4111
  }
4069
4112
  }
4070
- }, di = {
4113
+ }, Ei = {
4071
4114
  fallbackLocale: null,
4072
4115
  loadingDelay: 200,
4073
- formats: bi,
4116
+ formats: _i,
4074
4117
  warnOnMissingMessages: !0,
4075
4118
  handleMissingMessage: void 0,
4076
4119
  ignoreTag: !0
4077
- }, vi = di;
4078
- function X() {
4079
- return vi;
4120
+ }, xi = Ei;
4121
+ function V() {
4122
+ return xi;
4080
4123
  }
4081
- const Ae = ve(!1);
4082
- var gi = Object.defineProperty, yi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ti = (e, t) => {
4124
+ const Ie = ve(!1);
4125
+ var Si = Object.defineProperty, Ti = Object.defineProperties, wi = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Hi = Object.prototype.hasOwnProperty, Bi = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ai = (e, t) => {
4083
4126
  for (var r in t || (t = {}))
4084
- Ei.call(t, r) && Et(e, r, t[r]);
4085
- if (_t)
4086
- for (var r of _t(t))
4087
- xi.call(t, r) && Et(e, r, t[r]);
4127
+ Hi.call(t, r) && Ht(e, r, t[r]);
4128
+ if (wt)
4129
+ for (var r of wt(t))
4130
+ Bi.call(t, r) && Ht(e, r, t[r]);
4088
4131
  return e;
4089
- }, Si = (e, t) => yi(e, _i(t));
4090
- let Ve;
4091
- const me = ve(null);
4092
- function xt(e) {
4132
+ }, Pi = (e, t) => Ti(e, wi(t));
4133
+ let Qe;
4134
+ const de = ve(null);
4135
+ function Bt(e) {
4093
4136
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4094
4137
  }
4095
- function ye(e, t = X().fallbackLocale) {
4096
- const r = xt(e);
4097
- return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
4138
+ function Ee(e, t = V().fallbackLocale) {
4139
+ const r = Bt(e);
4140
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4098
4141
  }
4099
4142
  function M() {
4100
- return Ve != null ? Ve : void 0;
4143
+ return Qe != null ? Qe : void 0;
4101
4144
  }
4102
- me.subscribe((e) => {
4103
- Ve = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4145
+ de.subscribe((e) => {
4146
+ Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4104
4147
  });
4105
- const wi = (e) => {
4106
- if (e && li(e) && ke(e)) {
4107
- const { loadingDelay: t } = X();
4148
+ const Oi = (e) => {
4149
+ if (e && di(e) && Ze(e)) {
4150
+ const { loadingDelay: t } = V();
4108
4151
  let r;
4109
4152
  return typeof window != "undefined" && M() != null && t ? r = window.setTimeout(
4110
- () => Ae.set(!0),
4153
+ () => Ie.set(!0),
4111
4154
  t
4112
- ) : Ae.set(!0), or(e).then(() => {
4113
- me.set(e);
4155
+ ) : Ie.set(!0), lr(e).then(() => {
4156
+ de.set(e);
4114
4157
  }).finally(() => {
4115
- clearTimeout(r), Ae.set(!1);
4158
+ clearTimeout(r), Ie.set(!1);
4116
4159
  });
4117
4160
  }
4118
- return me.set(e);
4119
- }, ie = Si(Ti({}, me), {
4120
- set: wi
4121
- }), _e = (e) => {
4161
+ return de.set(e);
4162
+ }, ie = Pi(Ai({}, de), {
4163
+ set: Oi
4164
+ }), xe = (e) => {
4122
4165
  const t = /* @__PURE__ */ Object.create(null);
4123
4166
  return (n) => {
4124
4167
  const i = JSON.stringify(n);
4125
4168
  return i in t ? t[i] : t[i] = e(n);
4126
4169
  };
4127
4170
  };
4128
- var Hi = Object.defineProperty, be = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
4171
+ var Ii = Object.defineProperty, be = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4129
4172
  for (var r in t || (t = {}))
4130
- sr.call(t, r) && Tt(e, r, t[r]);
4173
+ fr.call(t, r) && At(e, r, t[r]);
4131
4174
  if (be)
4132
4175
  for (var r of be(t))
4133
- ar.call(t, r) && Tt(e, r, t[r]);
4176
+ cr.call(t, r) && At(e, r, t[r]);
4134
4177
  return e;
4135
- }, Z = (e, t) => {
4178
+ }, W = (e, t) => {
4136
4179
  var r = {};
4137
4180
  for (var n in e)
4138
- sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4181
+ fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4139
4182
  if (e != null && be)
4140
4183
  for (var n of be(e))
4141
- t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
4184
+ t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
4142
4185
  return r;
4143
4186
  };
4144
- const ee = (e, t) => {
4145
- const { formats: r } = X();
4187
+ const K = (e, t) => {
4188
+ const { formats: r } = V();
4146
4189
  if (e in r && t in r[e])
4147
4190
  return r[e][t];
4148
4191
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4149
- }, Bi = _e(
4192
+ }, Li = xe(
4150
4193
  (e) => {
4151
- var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
4194
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4152
4195
  if (r == null)
4153
4196
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4154
- return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
4197
+ return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
4155
4198
  }
4156
- ), Ai = _e(
4199
+ ), Ni = xe(
4157
4200
  (e) => {
4158
- var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
4201
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4159
4202
  if (r == null)
4160
4203
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4161
- return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
4204
+ return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
4162
4205
  }
4163
- ), Pi = _e(
4206
+ ), Ci = xe(
4164
4207
  (e) => {
4165
- var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
4208
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4166
4209
  if (r == null)
4167
4210
  throw new Error(
4168
4211
  '[svelte-i18n] A "locale" must be set to format time values'
4169
4212
  );
4170
- return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
4213
+ return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
4171
4214
  }
4172
- ), Oi = (e = {}) => {
4215
+ ), Mi = (e = {}) => {
4173
4216
  var t = e, {
4174
4217
  locale: r = M()
4175
- } = t, n = Z(t, [
4218
+ } = t, n = W(t, [
4176
4219
  "locale"
4177
4220
  ]);
4178
- return Bi(Ze({ locale: r }, n));
4179
- }, Ii = (e = {}) => {
4221
+ return Li(Ke({ locale: r }, n));
4222
+ }, $i = (e = {}) => {
4180
4223
  var t = e, {
4181
4224
  locale: r = M()
4182
- } = t, n = Z(t, [
4225
+ } = t, n = W(t, [
4183
4226
  "locale"
4184
4227
  ]);
4185
- return Ai(Ze({ locale: r }, n));
4186
- }, Li = (e = {}) => {
4228
+ return Ni(Ke({ locale: r }, n));
4229
+ }, Ri = (e = {}) => {
4187
4230
  var t = e, {
4188
4231
  locale: r = M()
4189
- } = t, n = Z(t, [
4232
+ } = t, n = W(t, [
4190
4233
  "locale"
4191
4234
  ]);
4192
- return Pi(Ze({ locale: r }, n));
4193
- }, Ni = _e(
4235
+ return Ci(Ke({ locale: r }, n));
4236
+ }, Ui = xe(
4194
4237
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4195
- (e, t = M()) => new oi(e, t, X().formats, {
4196
- ignoreTag: X().ignoreTag
4238
+ (e, t = M()) => new li(e, t, V().formats, {
4239
+ ignoreTag: V().ignoreTag
4197
4240
  })
4198
- ), Ci = (e, t = {}) => {
4241
+ ), Di = (e, t = {}) => {
4199
4242
  var r, n, i, o;
4200
4243
  let s = t;
4201
4244
  typeof e == "object" && (s = e, e = s.id);
@@ -4208,9 +4251,9 @@ const ee = (e, t) => {
4208
4251
  throw new Error(
4209
4252
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4210
4253
  );
4211
- let l = rr(e, h);
4254
+ let l = ar(e, h);
4212
4255
  if (!l)
4213
- l = (o = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4256
+ l = (o = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4214
4257
  else if (typeof l != "string")
4215
4258
  return console.warn(
4216
4259
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4219,7 +4262,7 @@ const ee = (e, t) => {
4219
4262
  return l;
4220
4263
  let f = l;
4221
4264
  try {
4222
- f = Ni(l, h).format(a);
4265
+ f = Ui(l, h).format(a);
4223
4266
  } catch (c) {
4224
4267
  c instanceof Error && console.warn(
4225
4268
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4227,21 +4270,21 @@ const ee = (e, t) => {
4227
4270
  );
4228
4271
  }
4229
4272
  return f;
4230
- }, Mi = (e, t) => Li(t).format(e), Ri = (e, t) => Ii(t).format(e), $i = (e, t) => Oi(t).format(e), Ui = (e, t = M()) => rr(e, t);
4231
- W([ie, ne], () => Ci);
4232
- W([ie], () => Mi);
4233
- W([ie], () => Ri);
4234
- W([ie], () => $i);
4235
- W([ie, ne], () => Ui);
4236
- window.emWidgets = { topic: Jr };
4237
- const Di = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4238
- function Gi(e, t) {
4273
+ }, Gi = (e, t) => Ri(t).format(e), Fi = (e, t) => $i(t).format(e), ji = (e, t) => Mi(t).format(e), ki = (e, t = M()) => ar(e, t);
4274
+ z([ie, ne], () => Di);
4275
+ z([ie], () => Gi);
4276
+ z([ie], () => Fi);
4277
+ z([ie], () => ji);
4278
+ z([ie, ne], () => ki);
4279
+ window.emWidgets = { topic: en };
4280
+ const Vi = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4281
+ function Xi(e, t) {
4239
4282
  if (e) {
4240
4283
  const r = document.createElement("style");
4241
4284
  r.innerHTML = t, e.appendChild(r);
4242
4285
  }
4243
4286
  }
4244
- function Fi(e, t) {
4287
+ function zi(e, t) {
4245
4288
  const r = new URL(t);
4246
4289
  fetch(r.href).then((n) => n.text()).then((n) => {
4247
4290
  const i = document.createElement("style");
@@ -4250,7 +4293,7 @@ function Fi(e, t) {
4250
4293
  console.error("There was an error while trying to load client styling from URL", n);
4251
4294
  });
4252
4295
  }
4253
- function ji(e, t, r) {
4296
+ function Wi(e, t, r) {
4254
4297
  if (window.emMessageBus) {
4255
4298
  const n = document.createElement("style");
4256
4299
  window.emMessageBus.subscribe(t, (i) => {
@@ -4258,43 +4301,43 @@ function ji(e, t, r) {
4258
4301
  });
4259
4302
  }
4260
4303
  }
4261
- function ki(e) {
4262
- pr(e, "svelte-qazmct", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab{color:var(--emw--color-primary, #F7F7F7);font:inherit;margin:3.125vw 0 1.25vw 0}.casino-tournaments-tab ul{display:flex;justify-content:space-between;width:100%;font-weight:600;font-size:3.75vw;border-bottom:0.3125vw var(--emw--color-grey-105, #424242) solid}.casino-tournaments-tab ul li{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;font-size:var(--emw--font-size-small, 14px);flex:auto;display:block}.casino-tournaments-tab ul li.active{color:#FF8364;border-bottom:0.625vw #FF8364 solid}.casino-tournaments-tab ul li span{margin:auto 0}.casino-tournaments-tab sup{box-sizing:border-box;position:absolute;top:2.8125vw;right:0;transform:translate(0%, -50%);transform-origin:100% 0%;overflow:hidden;direction:ltr;z-index:auto;min-width:4.375vw;height:4.375vw;color:#fff;font-weight:400;font-size:4.375vw;line-height:4.375vw;white-space:nowrap;text-align:center;background:#FF8364;border-radius:3.125vw}.casino-tournaments-tab sup span{font-size:3.125vw;font-weight:600;padding-right:0.15625vw;display:inline-block;vertical-align:super}.TabDesktop.casino-tournaments-tab{margin:10px}.TabDesktop.casino-tournaments-tab ul{font-size:inherit;border-bottom:2px var(--emw--color-grey-105, #424242) solid}.TabDesktop.casino-tournaments-tab ul li{padding:10px 20px;cursor:pointer}.TabDesktop.casino-tournaments-tab ul li.active{color:var(--emw--color-primary, #FF8364);border-bottom:3px var(--emw--color-primary, #FF8364) solid}.TabDesktop.casino-tournaments-tab ul li span{margin:auto 0}");
4304
+ function Zi(e) {
4305
+ vr(e, "svelte-qazmct", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab{color:var(--emw--color-primary, #F7F7F7);font:inherit;margin:3.125vw 0 1.25vw 0}.casino-tournaments-tab ul{display:flex;justify-content:space-between;width:100%;font-weight:600;font-size:3.75vw;border-bottom:0.3125vw var(--emw--color-grey-105, #424242) solid}.casino-tournaments-tab ul li{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;font-size:var(--emw--font-size-small, 14px);flex:auto;display:block}.casino-tournaments-tab ul li.active{color:#FF8364;border-bottom:0.625vw #FF8364 solid}.casino-tournaments-tab ul li span{margin:auto 0}.casino-tournaments-tab sup{box-sizing:border-box;position:absolute;top:2.8125vw;right:0;transform:translate(0%, -50%);transform-origin:100% 0%;overflow:hidden;direction:ltr;z-index:auto;min-width:4.375vw;height:4.375vw;color:#fff;font-weight:400;font-size:4.375vw;line-height:4.375vw;white-space:nowrap;text-align:center;background:#FF8364;border-radius:3.125vw}.casino-tournaments-tab sup span{font-size:3.125vw;font-weight:600;padding-right:0.15625vw;display:inline-block;vertical-align:super}.TabDesktop.casino-tournaments-tab{margin:10px}.TabDesktop.casino-tournaments-tab ul{font-size:inherit;border-bottom:2px var(--emw--color-grey-105, #424242) solid}.TabDesktop.casino-tournaments-tab ul li{padding:10px 20px;cursor:pointer}.TabDesktop.casino-tournaments-tab ul li.active{color:var(--emw--color-primary, #FF8364);border-bottom:3px var(--emw--color-primary, #FF8364) solid}.TabDesktop.casino-tournaments-tab ul li span{margin:auto 0}");
4263
4306
  }
4264
- function St(e, t, r) {
4307
+ function Pt(e, t, r) {
4265
4308
  const n = e.slice();
4266
4309
  return n[16] = t[r], n;
4267
4310
  }
4268
- function wt(e) {
4269
- let t, r = nt(
4311
+ function Ot(e) {
4312
+ let t, r = ut(
4270
4313
  /*__tabs*/
4271
4314
  e[6]
4272
4315
  ), n = [];
4273
4316
  for (let i = 0; i < r.length; i += 1)
4274
- n[i] = Bt(St(e, r, i));
4317
+ n[i] = Lt(Pt(e, r, i));
4275
4318
  return {
4276
4319
  c() {
4277
4320
  t = I("ul");
4278
4321
  for (let i = 0; i < n.length; i += 1)
4279
4322
  n[i].c();
4280
- S(t, "part", "ul");
4323
+ T(t, "part", "ul");
4281
4324
  },
4282
4325
  m(i, o) {
4283
- re(i, t, o);
4326
+ te(i, t, o);
4284
4327
  for (let s = 0; s < n.length; s += 1)
4285
4328
  n[s] && n[s].m(t, null);
4286
4329
  },
4287
4330
  p(i, o) {
4288
4331
  if (o & /*__tab, __tabs, window, tid, totalReceiver, textReceiver*/
4289
4332
  121) {
4290
- r = nt(
4333
+ r = ut(
4291
4334
  /*__tabs*/
4292
4335
  i[6]
4293
4336
  );
4294
4337
  let s;
4295
4338
  for (s = 0; s < r.length; s += 1) {
4296
- const a = St(i, r, s);
4297
- n[s] ? n[s].p(a, o) : (n[s] = Bt(a), n[s].c(), n[s].m(t, null));
4339
+ const a = Pt(i, r, s);
4340
+ n[s] ? n[s].p(a, o) : (n[s] = Lt(a), n[s].c(), n[s].m(t, null));
4298
4341
  }
4299
4342
  for (; s < n.length; s += 1)
4300
4343
  n[s].d(1);
@@ -4302,11 +4345,11 @@ function wt(e) {
4302
4345
  }
4303
4346
  },
4304
4347
  d(i) {
4305
- i && z(t), dr(n, i);
4348
+ i && X(t), Er(n, i);
4306
4349
  }
4307
4350
  };
4308
4351
  }
4309
- function Ht(e) {
4352
+ function It(e) {
4310
4353
  let t, r, n = (
4311
4354
  /*totalReceiver*/
4312
4355
  e[3][
@@ -4316,10 +4359,10 @@ function Ht(e) {
4316
4359
  ), i;
4317
4360
  return {
4318
4361
  c() {
4319
- t = I("sup"), r = I("span"), i = ze(n), S(r, "part", "SupText"), S(t, "part", "sup");
4362
+ t = I("sup"), r = I("span"), i = Ye(n), T(r, "part", "SupText"), T(t, "part", "sup");
4320
4363
  },
4321
4364
  m(o, s) {
4322
- re(o, t, s), C(t, r), C(r, i);
4365
+ te(o, t, s), C(t, r), C(r, i);
4323
4366
  },
4324
4367
  p(o, s) {
4325
4368
  s & /*totalReceiver, __tabs*/
@@ -4327,14 +4370,14 @@ function Ht(e) {
4327
4370
  o[3][
4328
4371
  /*_tab*/
4329
4372
  o[16]
4330
- ] + "") && Ot(i, n);
4373
+ ] + "") && Mt(i, n);
4331
4374
  },
4332
4375
  d(o) {
4333
- o && z(t);
4376
+ o && X(t);
4334
4377
  }
4335
4378
  };
4336
4379
  }
4337
- function Bt(e) {
4380
+ function Lt(e) {
4338
4381
  let t, r, n = (
4339
4382
  /*textReceiver*/
4340
4383
  e[4][
@@ -4346,7 +4389,7 @@ function Bt(e) {
4346
4389
  e[3][
4347
4390
  /*_tab*/
4348
4391
  e[16]
4349
- ] >= 0 && Ht(e)
4392
+ ] >= 0 && It(e)
4350
4393
  );
4351
4394
  function c() {
4352
4395
  return (
@@ -4359,83 +4402,83 @@ function Bt(e) {
4359
4402
  }
4360
4403
  return {
4361
4404
  c() {
4362
- t = I("li"), r = I("span"), i = ze(n), o = tt(), f && f.c(), s = tt(), S(r, "part", "LiText"), S(t, "class", a = /*__tab*/
4405
+ t = I("li"), r = I("span"), i = Ye(n), o = st(), f && f.c(), s = st(), T(r, "part", "LiText"), T(t, "class", a = /*__tab*/
4363
4406
  e[5] === /*_tab*/
4364
- e[16] ? "active" : ""), S(t, "part", h = `${/*_tab*/
4407
+ e[16] ? "active" : ""), T(t, "part", h = `${/*_tab*/
4365
4408
  e[16]} li ` + /*__tab*/
4366
4409
  (e[5] === /*_tab*/
4367
4410
  e[16] ? "active" : ""));
4368
4411
  },
4369
- m(p, b) {
4370
- re(p, t, b), C(t, r), C(r, i), C(t, o), f && f.m(t, null), C(t, s), u || (l = vr(t, "click", c), u = !0);
4412
+ m(p, d) {
4413
+ te(p, t, d), C(t, r), C(r, i), C(t, o), f && f.m(t, null), C(t, s), u || (l = xr(t, "click", c), u = !0);
4371
4414
  },
4372
- p(p, b) {
4373
- e = p, b & /*textReceiver, __tabs*/
4415
+ p(p, d) {
4416
+ e = p, d & /*textReceiver, __tabs*/
4374
4417
  80 && n !== (n = /*textReceiver*/
4375
4418
  e[4][
4376
4419
  /*_tab*/
4377
4420
  e[16]
4378
- ] + "") && Ot(i, n), /*totalReceiver*/
4421
+ ] + "") && Mt(i, n), /*totalReceiver*/
4379
4422
  e[3][
4380
4423
  /*_tab*/
4381
4424
  e[16]
4382
- ] >= 0 ? f ? f.p(e, b) : (f = Ht(e), f.c(), f.m(t, s)) : f && (f.d(1), f = null), b & /*__tab, __tabs*/
4425
+ ] >= 0 ? f ? f.p(e, d) : (f = It(e), f.c(), f.m(t, s)) : f && (f.d(1), f = null), d & /*__tab, __tabs*/
4383
4426
  96 && a !== (a = /*__tab*/
4384
4427
  e[5] === /*_tab*/
4385
- e[16] ? "active" : "") && S(t, "class", a), b & /*__tabs, __tab*/
4428
+ e[16] ? "active" : "") && T(t, "class", a), d & /*__tabs, __tab*/
4386
4429
  96 && h !== (h = `${/*_tab*/
4387
4430
  e[16]} li ` + /*__tab*/
4388
4431
  (e[5] === /*_tab*/
4389
- e[16] ? "active" : "")) && S(t, "part", h);
4432
+ e[16] ? "active" : "")) && T(t, "part", h);
4390
4433
  },
4391
4434
  d(p) {
4392
- p && z(t), f && f.d(), u = !1, l();
4435
+ p && X(t), f && f.d(), u = !1, l();
4393
4436
  }
4394
4437
  };
4395
4438
  }
4396
- function Vi(e) {
4439
+ function Qi(e) {
4397
4440
  let t, r = (
4398
4441
  /*isTitleInited*/
4399
- e[2] && wt(e)
4442
+ e[2] && Ot(e)
4400
4443
  );
4401
4444
  return {
4402
4445
  c() {
4403
- t = I("div"), r && r.c(), S(t, "class", "casino-tournaments-tab " + (Di(
4446
+ t = I("div"), r && r.c(), T(t, "class", "casino-tournaments-tab " + (Vi(
4404
4447
  /*userAgent*/
4405
4448
  e[7]
4406
- ) ? "TabMobile" : "TabDesktop")), S(t, "part", "CustomStylingContainer");
4449
+ ) ? "TabMobile" : "TabDesktop")), T(t, "part", "CustomStylingContainer");
4407
4450
  },
4408
4451
  m(n, i) {
4409
- re(n, t, i), r && r.m(t, null), e[14](t);
4452
+ te(n, t, i), r && r.m(t, null), e[14](t);
4410
4453
  },
4411
4454
  p(n, [i]) {
4412
4455
  /*isTitleInited*/
4413
- n[2] ? r ? r.p(n, i) : (r = wt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4456
+ n[2] ? r ? r.p(n, i) : (r = Ot(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4414
4457
  },
4415
4458
  i: w,
4416
4459
  o: w,
4417
4460
  d(n) {
4418
- n && z(t), r && r.d(), e[14](null);
4461
+ n && X(t), r && r.d(), e[14](null);
4419
4462
  }
4420
4463
  };
4421
4464
  }
4422
- function Xi(e, t, r) {
4465
+ function Ji(e, t, r) {
4423
4466
  let n, i, { tabs: o = "" } = t, { tab: s = void 0 } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { tid: l = "pageTab" } = t, f, c = !1;
4424
4467
  const p = window.navigator.userAgent;
4425
- let b = {}, g = {};
4426
- Mr({
4427
- TournamentsTabTotalUpdate: (v) => {
4428
- r(3, b = ae(R({}, b), {
4429
- [v.state]: v.total
4468
+ let d = {}, v = {};
4469
+ Gr({
4470
+ TournamentsTabTotalUpdate: (g) => {
4471
+ r(3, d = ae($({}, d), {
4472
+ [g.state]: g.total
4430
4473
  }));
4431
4474
  },
4432
- TournamentsTabsLocalize: (v) => {
4433
- r(2, c = !0), r(4, g = R(R({}, g), v.tabTitleTranslations));
4475
+ TournamentsTabsLocalize: (g) => {
4476
+ r(2, c = !0), r(4, v = $($({}, v), g.tabTitleTranslations));
4434
4477
  },
4435
- TournamentsTabLocaleTextUpdate: (v) => {
4436
- r(2, c = !0), r(4, g = ae(R({}, g), { [v.state]: v.text }));
4478
+ TournamentsTabLocaleTextUpdate: (g) => {
4479
+ r(2, c = !0), r(4, v = ae($({}, v), { [g.state]: g.text }));
4437
4480
  }
4438
- }), It(() => (window.postMessage(
4481
+ }), $t(() => (window.postMessage(
4439
4482
  {
4440
4483
  type: "TournamentsTabListenerLoaded",
4441
4484
  tid: l
@@ -4443,36 +4486,36 @@ function Xi(e, t, r) {
4443
4486
  window.location.href
4444
4487
  ), () => {
4445
4488
  }));
4446
- const T = (v) => {
4447
- r(5, i = v), window.postMessage(
4489
+ const S = (g) => {
4490
+ r(5, i = g), window.postMessage(
4448
4491
  {
4449
4492
  type: "TournamentsTabSwitch",
4450
- tab: v,
4493
+ tab: g,
4451
4494
  tid: l
4452
4495
  },
4453
4496
  window.location.href
4454
4497
  );
4455
4498
  };
4456
- function L(v) {
4457
- Pe[v ? "unshift" : "push"](() => {
4458
- f = v, r(1, f);
4499
+ function L(g) {
4500
+ Le[g ? "unshift" : "push"](() => {
4501
+ f = g, r(1, f);
4459
4502
  });
4460
4503
  }
4461
- return e.$$set = (v) => {
4462
- "tabs" in v && r(8, o = v.tabs), "tab" in v && r(9, s = v.tab), "clientstyling" in v && r(10, a = v.clientstyling), "clientstylingurl" in v && r(11, h = v.clientstylingurl), "mbsource" in v && r(12, u = v.mbsource), "tid" in v && r(0, l = v.tid);
4504
+ return e.$$set = (g) => {
4505
+ "tabs" in g && r(8, o = g.tabs), "tab" in g && r(9, s = g.tab), "clientstyling" in g && r(10, a = g.clientstyling), "clientstylingurl" in g && r(11, h = g.clientstylingurl), "mbsource" in g && r(12, u = g.mbsource), "tid" in g && r(0, l = g.tid);
4463
4506
  }, e.$$.update = () => {
4464
4507
  e.$$.dirty & /*clientstyling, customStylingContainer*/
4465
- 1026 && a && f && Gi(f, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4466
- 2050 && h && f && Fi(f, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4467
- 4098 && u && f && ji(f, `${u}.Style`), e.$$.dirty & /*tabs*/
4508
+ 1026 && a && f && Xi(f, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4509
+ 2050 && h && f && zi(f, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4510
+ 4098 && u && f && Wi(f, `${u}.Style`), e.$$.dirty & /*tabs*/
4468
4511
  256 && r(6, n = o.split(",")), e.$$.dirty & /*tab*/
4469
4512
  512 && r(5, i = s);
4470
4513
  }, [
4471
4514
  l,
4472
4515
  f,
4473
4516
  c,
4474
- b,
4475
- g,
4517
+ d,
4518
+ v,
4476
4519
  i,
4477
4520
  n,
4478
4521
  p,
@@ -4481,18 +4524,18 @@ function Xi(e, t, r) {
4481
4524
  a,
4482
4525
  h,
4483
4526
  u,
4484
- T,
4527
+ S,
4485
4528
  L
4486
4529
  ];
4487
4530
  }
4488
- class zi extends Lr {
4531
+ class Yi extends Rr {
4489
4532
  constructor(t) {
4490
- super(), Or(
4533
+ super(), Mr(
4491
4534
  this,
4492
4535
  t,
4493
- Xi,
4494
- Vi,
4495
- Pt,
4536
+ Ji,
4537
+ Qi,
4538
+ Ct,
4496
4539
  {
4497
4540
  tabs: 8,
4498
4541
  tab: 9,
@@ -4501,7 +4544,7 @@ class zi extends Lr {
4501
4544
  mbsource: 12,
4502
4545
  tid: 0
4503
4546
  },
4504
- ki
4547
+ Zi
4505
4548
  );
4506
4549
  }
4507
4550
  get tabs() {
@@ -4541,7 +4584,7 @@ class zi extends Lr {
4541
4584
  this.$$set({ tid: t }), P();
4542
4585
  }
4543
4586
  }
4544
- Ir(zi, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, tid: {} }, [], [], !0);
4587
+ $r(Yi, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, tid: {} }, [], [], !0);
4545
4588
  export {
4546
- zi as default
4589
+ Yi as default
4547
4590
  };