@everymatrix/casino-header-bets-button 1.77.18 → 1.77.20

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,24 +1,24 @@
1
1
  function H() {
2
2
  }
3
- function tt(e) {
3
+ function Ke(e) {
4
4
  return e();
5
5
  }
6
- function Re() {
6
+ function Ce() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function q(e) {
10
- e.forEach(tt);
9
+ function J(e) {
10
+ e.forEach(Ke);
11
11
  }
12
- function we(e) {
12
+ function Ne(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function rt(e, t) {
15
+ function et(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function Ot(e) {
18
+ function Mt(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function nt(e, ...t) {
21
+ function tt(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
@@ -27,20 +27,20 @@ function nt(e, ...t) {
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function Nt(e, t, r) {
31
- e.$$.on_destroy.push(nt(t, r));
30
+ function Pt(e, t, r) {
31
+ e.$$.on_destroy.push(tt(t, r));
32
32
  }
33
- function T(e, t) {
33
+ function S(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function wt(e, t, r) {
37
- const n = It(e);
36
+ function Nt(e, t, r) {
37
+ const n = Ot(e);
38
38
  if (!n.getElementById(t)) {
39
- const i = P("style");
40
- i.id = t, i.textContent = r, Lt(n, i);
39
+ const i = A("style");
40
+ i.id = t, i.textContent = r, wt(n, i);
41
41
  }
42
42
  }
43
- function It(e) {
43
+ function Ot(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,42 +50,42 @@ function It(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function Lt(e, t) {
54
- return T(
53
+ function wt(e, t) {
54
+ return S(
55
55
  /** @type {Document} */
56
56
  e.head || e,
57
57
  t
58
58
  ), t.sheet;
59
59
  }
60
- function it(e, t, r) {
60
+ function rt(e, t, r) {
61
61
  e.insertBefore(t, r || null);
62
62
  }
63
- function Ie(e) {
63
+ function Oe(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
- function P(e) {
66
+ function A(e) {
67
67
  return document.createElement(e);
68
68
  }
69
- function Ee(e) {
69
+ function ge(e) {
70
70
  return document.createTextNode(e);
71
71
  }
72
- function Ct() {
73
- return Ee(" ");
72
+ function It() {
73
+ return ge(" ");
74
74
  }
75
- function $t(e, t, r, n) {
75
+ function Lt(e, t, r, n) {
76
76
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
77
77
  }
78
- function $(e, t, r) {
78
+ function C(e, t, r) {
79
79
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
80
80
  }
81
- function Rt(e) {
81
+ function Ct(e) {
82
82
  return Array.from(e.childNodes);
83
83
  }
84
- function Ue(e, t) {
84
+ function $e(e, t) {
85
85
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
86
86
  t);
87
87
  }
88
- function Ut(e) {
88
+ function $t(e) {
89
89
  const t = {};
90
90
  return e.childNodes.forEach(
91
91
  /** @param {Element} node */
@@ -94,87 +94,87 @@ function Ut(e) {
94
94
  }
95
95
  ), t;
96
96
  }
97
- let Z;
98
- function z(e) {
99
- Z = e;
97
+ let z;
98
+ function W(e) {
99
+ z = e;
100
100
  }
101
- function Dt() {
102
- if (!Z)
101
+ function Rt() {
102
+ if (!z)
103
103
  throw new Error("Function called outside component initialization");
104
- return Z;
104
+ return z;
105
105
  }
106
- function Gt(e) {
107
- Dt().$$.on_mount.push(e);
106
+ function Ut(e) {
107
+ Rt().$$.on_mount.push(e);
108
108
  }
109
- const R = [], xe = [];
110
- let U = [];
111
- const De = [], Ft = /* @__PURE__ */ Promise.resolve();
112
- let ve = !1;
113
- function jt() {
114
- ve || (ve = !0, Ft.then(w));
109
+ const $ = [], ye = [];
110
+ let R = [];
111
+ const Re = [], Dt = /* @__PURE__ */ Promise.resolve();
112
+ let xe = !1;
113
+ function Gt() {
114
+ xe || (xe = !0, Dt.then(O));
115
115
  }
116
- function _e(e) {
117
- U.push(e);
116
+ function Ee(e) {
117
+ R.push(e);
118
118
  }
119
- const ce = /* @__PURE__ */ new Set();
120
- let L = 0;
121
- function w() {
122
- if (L !== 0)
119
+ const le = /* @__PURE__ */ new Set();
120
+ let I = 0;
121
+ function O() {
122
+ if (I !== 0)
123
123
  return;
124
- const e = Z;
124
+ const e = z;
125
125
  do {
126
126
  try {
127
- for (; L < R.length; ) {
128
- const t = R[L];
129
- L++, z(t), kt(t.$$);
127
+ for (; I < $.length; ) {
128
+ const t = $[I];
129
+ I++, W(t), Ft(t.$$);
130
130
  }
131
131
  } catch (t) {
132
- throw R.length = 0, L = 0, t;
132
+ throw $.length = 0, I = 0, t;
133
133
  }
134
- for (z(null), R.length = 0, L = 0; xe.length; )
135
- xe.pop()();
136
- for (let t = 0; t < U.length; t += 1) {
137
- const r = U[t];
138
- ce.has(r) || (ce.add(r), r());
134
+ for (W(null), $.length = 0, I = 0; ye.length; )
135
+ ye.pop()();
136
+ for (let t = 0; t < R.length; t += 1) {
137
+ const r = R[t];
138
+ le.has(r) || (le.add(r), r());
139
139
  }
140
- U.length = 0;
141
- } while (R.length);
142
- for (; De.length; )
143
- De.pop()();
144
- ve = !1, ce.clear(), z(e);
140
+ R.length = 0;
141
+ } while ($.length);
142
+ for (; Re.length; )
143
+ Re.pop()();
144
+ xe = !1, le.clear(), W(e);
145
145
  }
146
- function kt(e) {
146
+ function Ft(e) {
147
147
  if (e.fragment !== null) {
148
- e.update(), q(e.before_update);
148
+ e.update(), J(e.before_update);
149
149
  const t = e.dirty;
150
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(_e);
150
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ee);
151
151
  }
152
152
  }
153
- function Vt(e) {
153
+ function jt(e) {
154
154
  const t = [], r = [];
155
- U.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), U = t;
155
+ R.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), R = t;
156
156
  }
157
- const Xt = /* @__PURE__ */ new Set();
158
- function Wt(e, t) {
159
- e && e.i && (Xt.delete(e), e.i(t));
157
+ const kt = /* @__PURE__ */ new Set();
158
+ function Vt(e, t) {
159
+ e && e.i && (kt.delete(e), e.i(t));
160
160
  }
161
- function zt(e, t, r) {
161
+ function Xt(e, t, r) {
162
162
  const { fragment: n, after_update: i } = e.$$;
163
- n && n.m(t, r), _e(() => {
164
- const s = e.$$.on_mount.map(tt).filter(we);
165
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : q(s), e.$$.on_mount = [];
166
- }), i.forEach(_e);
163
+ n && n.m(t, r), Ee(() => {
164
+ const s = e.$$.on_mount.map(Ke).filter(Ne);
165
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : J(s), e.$$.on_mount = [];
166
+ }), i.forEach(Ee);
167
167
  }
168
- function Zt(e, t) {
168
+ function Wt(e, t) {
169
169
  const r = e.$$;
170
- r.fragment !== null && (Vt(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
170
+ r.fragment !== null && (jt(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
171
171
  }
172
- function Qt(e, t) {
173
- e.$$.dirty[0] === -1 && (R.push(e), jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
172
+ function zt(e, t) {
173
+ e.$$.dirty[0] === -1 && ($.push(e), Gt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
174
174
  }
175
- function Jt(e, t, r, n, i, s, u = null, a = [-1]) {
176
- const l = Z;
177
- z(e);
175
+ function Zt(e, t, r, n, i, s, u = null, a = [-1]) {
176
+ const l = z;
177
+ W(e);
178
178
  const o = e.$$ = {
179
179
  fragment: null,
180
180
  ctx: [],
@@ -182,7 +182,7 @@ function Jt(e, t, r, n, i, s, u = null, a = [-1]) {
182
182
  props: s,
183
183
  update: H,
184
184
  not_equal: i,
185
- bound: Re(),
185
+ bound: Ce(),
186
186
  // lifecycle
187
187
  on_mount: [],
188
188
  on_destroy: [],
@@ -191,28 +191,28 @@ function Jt(e, t, r, n, i, s, u = null, a = [-1]) {
191
191
  after_update: [],
192
192
  context: new Map(t.context || (l ? l.$$.context : [])),
193
193
  // everything else
194
- callbacks: Re(),
194
+ callbacks: Ce(),
195
195
  dirty: a,
196
196
  skip_bound: !1,
197
197
  root: t.target || l.$$.root
198
198
  };
199
199
  u && u(o.root);
200
200
  let h = !1;
201
- if (o.ctx = r ? r(e, t.props || {}, (f, c, ...g) => {
202
- const d = g.length ? g[0] : c;
203
- return o.ctx && i(o.ctx[f], o.ctx[f] = d) && (!o.skip_bound && o.bound[f] && o.bound[f](d), h && Qt(e, f)), c;
204
- }) : [], o.update(), h = !0, q(o.before_update), o.fragment = n ? n(o.ctx) : !1, t.target) {
201
+ if (o.ctx = r ? r(e, t.props || {}, (f, c, ...y) => {
202
+ const g = y.length ? y[0] : c;
203
+ return o.ctx && i(o.ctx[f], o.ctx[f] = g) && (!o.skip_bound && o.bound[f] && o.bound[f](g), h && zt(e, f)), c;
204
+ }) : [], o.update(), h = !0, J(o.before_update), o.fragment = n ? n(o.ctx) : !1, t.target) {
205
205
  if (t.hydrate) {
206
- const f = Rt(t.target);
207
- o.fragment && o.fragment.l(f), f.forEach(Ie);
206
+ const f = Ct(t.target);
207
+ o.fragment && o.fragment.l(f), f.forEach(Oe);
208
208
  } else
209
209
  o.fragment && o.fragment.c();
210
- t.intro && Wt(e.$$.fragment), zt(e, t.target, t.anchor), w();
210
+ t.intro && Vt(e.$$.fragment), Xt(e, t.target, t.anchor), O();
211
211
  }
212
- z(l);
212
+ W(l);
213
213
  }
214
- let st;
215
- typeof HTMLElement == "function" && (st = class extends HTMLElement {
214
+ let nt;
215
+ typeof HTMLElement == "function" && (nt = class extends HTMLElement {
216
216
  /** The Svelte component constructor */
217
217
  $$ctor;
218
218
  /** Slots */
@@ -254,29 +254,29 @@ typeof HTMLElement == "function" && (st = class extends HTMLElement {
254
254
  let s;
255
255
  return {
256
256
  c: function() {
257
- s = P("slot"), i !== "default" && $(s, "name", i);
257
+ s = A("slot"), i !== "default" && C(s, "name", i);
258
258
  },
259
259
  /**
260
260
  * @param {HTMLElement} target
261
261
  * @param {HTMLElement} [anchor]
262
262
  */
263
263
  m: function(l, o) {
264
- it(l, s, o);
264
+ rt(l, s, o);
265
265
  },
266
266
  d: function(l) {
267
- l && Ie(s);
267
+ l && Oe(s);
268
268
  }
269
269
  };
270
270
  };
271
271
  };
272
272
  if (await Promise.resolve(), !this.$$cn || this.$$c)
273
273
  return;
274
- const t = {}, r = Ut(this);
274
+ const t = {}, r = $t(this);
275
275
  for (const i of this.$$s)
276
276
  i in r && (t[i] = [e(i)]);
277
277
  for (const i of this.attributes) {
278
278
  const s = this.$$g_p(i.name);
279
- s in this.$$d || (this.$$d[s] = te(s, i.value, this.$$p_d, "toProp"));
279
+ s in this.$$d || (this.$$d[s] = ee(s, i.value, this.$$p_d, "toProp"));
280
280
  }
281
281
  for (const i in this.$$p_d)
282
282
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -294,7 +294,7 @@ typeof HTMLElement == "function" && (st = class extends HTMLElement {
294
294
  this.$$r = !0;
295
295
  for (const i in this.$$p_d)
296
296
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
297
- const s = te(
297
+ const s = ee(
298
298
  i,
299
299
  this.$$d[i],
300
300
  this.$$p_d,
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && (st = class extends HTMLElement {
316
316
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
317
317
  // and setting attributes through setAttribute etc, this is helpful
318
318
  attributeChangedCallback(e, t, r) {
319
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = te(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
319
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ee(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
320
320
  }
321
321
  disconnectedCallback() {
322
322
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -329,7 +329,7 @@ typeof HTMLElement == "function" && (st = class extends HTMLElement {
329
329
  ) || e;
330
330
  }
331
331
  });
332
- function te(e, t, r, n) {
332
+ function ee(e, t, r, n) {
333
333
  const i = r[e]?.type;
334
334
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
335
335
  return t;
@@ -358,8 +358,8 @@ function te(e, t, r, n) {
358
358
  return t;
359
359
  }
360
360
  }
361
- function qt(e, t, r, n, i, s) {
362
- let u = class extends st {
361
+ function Qt(e, t, r, n, i, s) {
362
+ let u = class extends nt {
363
363
  constructor() {
364
364
  super(e, r, i), this.$$p_d = t;
365
365
  }
@@ -375,7 +375,7 @@ function qt(e, t, r, n, i, s) {
375
375
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
376
376
  },
377
377
  set(l) {
378
- l = te(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
378
+ l = ee(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
379
379
  }
380
380
  });
381
381
  }), n.forEach((a) => {
@@ -387,7 +387,7 @@ function qt(e, t, r, n, i, s) {
387
387
  }), e.element = /** @type {any} */
388
388
  u, u;
389
389
  }
390
- class Yt {
390
+ class Jt {
391
391
  /**
392
392
  * ### PRIVATE API
393
393
  *
@@ -406,7 +406,7 @@ class Yt {
406
406
  $$set = void 0;
407
407
  /** @returns {void} */
408
408
  $destroy() {
409
- Zt(this, 1), this.$destroy = H;
409
+ Wt(this, 1), this.$destroy = H;
410
410
  }
411
411
  /**
412
412
  * @template {Extract<keyof Events, string>} K
@@ -415,7 +415,7 @@ class Yt {
415
415
  * @returns {() => void}
416
416
  */
417
417
  $on(t, r) {
418
- if (!we(r))
418
+ if (!Ne(r))
419
419
  return H;
420
420
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
421
421
  return n.push(r), () => {
@@ -428,18 +428,18 @@ class Yt {
428
428
  * @returns {void}
429
429
  */
430
430
  $set(t) {
431
- this.$$set && !Ot(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
431
+ this.$$set && !Mt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
432
432
  }
433
433
  }
434
- const Kt = "4";
435
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kt);
436
- function er(e, t) {
434
+ const qt = "4";
435
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(qt);
436
+ function Yt(e, t) {
437
437
  if (e) {
438
438
  const r = document.createElement("style");
439
439
  r.innerHTML = t, e.appendChild(r);
440
440
  }
441
441
  }
442
- function tr(e, t) {
442
+ function Kt(e, t) {
443
443
  const r = new URL(t);
444
444
  fetch(r.href).then((n) => n.text()).then((n) => {
445
445
  const i = document.createElement("style");
@@ -448,7 +448,7 @@ function tr(e, t) {
448
448
  console.error("There was an error while trying to load client styling from URL", n);
449
449
  });
450
450
  }
451
- function rr(e, t, r) {
451
+ function er(e, t, r) {
452
452
  if (window.emMessageBus) {
453
453
  const n = document.createElement("style");
454
454
  window.emMessageBus.subscribe(t, (i) => {
@@ -456,24 +456,24 @@ function rr(e, t, r) {
456
456
  });
457
457
  }
458
458
  }
459
- const C = [];
460
- function nr(e, t) {
459
+ const L = [];
460
+ function tr(e, t) {
461
461
  return {
462
- subscribe: ae(e, t).subscribe
462
+ subscribe: se(e, t).subscribe
463
463
  };
464
464
  }
465
- function ae(e, t = H) {
465
+ function se(e, t = H) {
466
466
  let r;
467
467
  const n = /* @__PURE__ */ new Set();
468
468
  function i(a) {
469
- if (rt(e, a) && (e = a, r)) {
470
- const l = !C.length;
469
+ if (et(e, a) && (e = a, r)) {
470
+ const l = !L.length;
471
471
  for (const o of n)
472
- o[1](), C.push(o, e);
472
+ o[1](), L.push(o, e);
473
473
  if (l) {
474
- for (let o = 0; o < C.length; o += 2)
475
- C[o][0](C[o + 1]);
476
- C.length = 0;
474
+ for (let o = 0; o < L.length; o += 2)
475
+ L[o][0](L[o + 1]);
476
+ L.length = 0;
477
477
  }
478
478
  }
479
479
  }
@@ -488,12 +488,12 @@ function ae(e, t = H) {
488
488
  }
489
489
  return { set: i, update: s, subscribe: u };
490
490
  }
491
- function k(e, t, r) {
491
+ function j(e, t, r) {
492
492
  const n = !Array.isArray(e), i = n ? [e] : e;
493
493
  if (!i.every(Boolean))
494
494
  throw new Error("derived() expects stores as input, got a falsy value");
495
495
  const s = t.length < 2;
496
- return nr(r, (u, a) => {
496
+ return tr(r, (u, a) => {
497
497
  let l = !1;
498
498
  const o = [];
499
499
  let h = 0, f = H;
@@ -501,11 +501,11 @@ function k(e, t, r) {
501
501
  if (h)
502
502
  return;
503
503
  f();
504
- const d = t(n ? o[0] : o, u, a);
505
- s ? u(d) : f = we(d) ? d : H;
506
- }, g = i.map(
507
- (d, E) => nt(
508
- d,
504
+ const g = t(n ? o[0] : o, u, a);
505
+ s ? u(g) : f = Ne(g) ? g : H;
506
+ }, y = i.map(
507
+ (g, E) => tt(
508
+ g,
509
509
  (B) => {
510
510
  o[E] = B, h &= ~(1 << E), l && c();
511
511
  },
@@ -515,112 +515,126 @@ function k(e, t, r) {
515
515
  )
516
516
  );
517
517
  return l = !0, c(), function() {
518
- q(g), f(), l = !1;
518
+ J(y), f(), l = !1;
519
519
  };
520
520
  });
521
521
  }
522
- function ir(e) {
522
+ function rr(e) {
523
523
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
524
524
  }
525
- var sr = function(t) {
526
- return or(t) && !ar(t);
525
+ var nr = function(t) {
526
+ return ir(t) && !sr(t);
527
527
  };
528
- function or(e) {
528
+ function ir(e) {
529
529
  return !!e && typeof e == "object";
530
530
  }
531
- function ar(e) {
531
+ function sr(e) {
532
532
  var t = Object.prototype.toString.call(e);
533
- return t === "[object RegExp]" || t === "[object Date]" || lr(e);
533
+ return t === "[object RegExp]" || t === "[object Date]" || ur(e);
534
534
  }
535
- var ur = typeof Symbol == "function" && Symbol.for, hr = ur ? Symbol.for("react.element") : 60103;
536
- function lr(e) {
537
- return e.$$typeof === hr;
535
+ var or = typeof Symbol == "function" && Symbol.for, ar = or ? Symbol.for("react.element") : 60103;
536
+ function ur(e) {
537
+ return e.$$typeof === ar;
538
538
  }
539
- function fr(e) {
539
+ function hr(e) {
540
540
  return Array.isArray(e) ? [] : {};
541
541
  }
542
- function Q(e, t) {
543
- return t.clone !== !1 && t.isMergeableObject(e) ? D(fr(e), e, t) : e;
542
+ function Z(e, t) {
543
+ return t.clone !== !1 && t.isMergeableObject(e) ? U(hr(e), e, t) : e;
544
544
  }
545
- function cr(e, t, r) {
545
+ function lr(e, t, r) {
546
546
  return e.concat(t).map(function(n) {
547
- return Q(n, r);
547
+ return Z(n, r);
548
548
  });
549
549
  }
550
- function mr(e, t) {
550
+ function fr(e, t) {
551
551
  if (!t.customMerge)
552
- return D;
552
+ return U;
553
553
  var r = t.customMerge(e);
554
- return typeof r == "function" ? r : D;
554
+ return typeof r == "function" ? r : U;
555
555
  }
556
- function pr(e) {
556
+ function cr(e) {
557
557
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
558
558
  return Object.propertyIsEnumerable.call(e, t);
559
559
  }) : [];
560
560
  }
561
- function Ge(e) {
562
- return Object.keys(e).concat(pr(e));
561
+ function Ue(e) {
562
+ return Object.keys(e).concat(cr(e));
563
563
  }
564
- function ot(e, t) {
564
+ function it(e, t) {
565
565
  try {
566
566
  return t in e;
567
567
  } catch {
568
568
  return !1;
569
569
  }
570
570
  }
571
- function br(e, t) {
572
- return ot(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
571
+ function mr(e, t) {
572
+ return it(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
573
573
  }
574
- function dr(e, t, r) {
574
+ function pr(e, t, r) {
575
575
  var n = {};
576
- return r.isMergeableObject(e) && Ge(e).forEach(function(i) {
577
- n[i] = Q(e[i], r);
578
- }), Ge(t).forEach(function(i) {
579
- br(e, i) || (ot(e, i) && r.isMergeableObject(t[i]) ? n[i] = mr(i, r)(e[i], t[i], r) : n[i] = Q(t[i], r));
576
+ return r.isMergeableObject(e) && Ue(e).forEach(function(i) {
577
+ n[i] = Z(e[i], r);
578
+ }), Ue(t).forEach(function(i) {
579
+ mr(e, i) || (it(e, i) && r.isMergeableObject(t[i]) ? n[i] = fr(i, r)(e[i], t[i], r) : n[i] = Z(t[i], r));
580
580
  }), n;
581
581
  }
582
- function D(e, t, r) {
583
- r = r || {}, r.arrayMerge = r.arrayMerge || cr, r.isMergeableObject = r.isMergeableObject || sr, r.cloneUnlessOtherwiseSpecified = Q;
582
+ function U(e, t, r) {
583
+ r = r || {}, r.arrayMerge = r.arrayMerge || lr, r.isMergeableObject = r.isMergeableObject || nr, r.cloneUnlessOtherwiseSpecified = Z;
584
584
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
585
- return s ? n ? r.arrayMerge(e, t, r) : dr(e, t, r) : Q(t, r);
585
+ return s ? n ? r.arrayMerge(e, t, r) : pr(e, t, r) : Z(t, r);
586
586
  }
587
- D.all = function(t, r) {
587
+ U.all = function(t, r) {
588
588
  if (!Array.isArray(t))
589
589
  throw new Error("first argument should be an array");
590
590
  return t.reduce(function(n, i) {
591
- return D(n, i, r);
591
+ return U(n, i, r);
592
592
  }, {});
593
593
  };
594
- var gr = D, yr = gr;
595
- const Er = /* @__PURE__ */ ir(yr);
596
- var Be = function(e, t) {
597
- return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
594
+ var br = U, dr = br;
595
+ const gr = /* @__PURE__ */ rr(dr);
596
+ /*! *****************************************************************************
597
+ Copyright (c) Microsoft Corporation.
598
+
599
+ Permission to use, copy, modify, and/or distribute this software for any
600
+ purpose with or without fee is hereby granted.
601
+
602
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
603
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
604
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
605
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
606
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
607
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
608
+ PERFORMANCE OF THIS SOFTWARE.
609
+ ***************************************************************************** */
610
+ var ve = function(e, t) {
611
+ return ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
598
612
  r.__proto__ = n;
599
613
  } || function(r, n) {
600
614
  for (var i in n)
601
615
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
602
- }, Be(e, t);
616
+ }, ve(e, t);
603
617
  };
604
- function ue(e, t) {
618
+ function oe(e, t) {
605
619
  if (typeof t != "function" && t !== null)
606
620
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
607
- Be(e, t);
621
+ ve(e, t);
608
622
  function r() {
609
623
  this.constructor = e;
610
624
  }
611
625
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
612
626
  }
613
- var A = function() {
614
- return A = Object.assign || function(t) {
627
+ var d = function() {
628
+ return d = Object.assign || function(t) {
615
629
  for (var r, n = 1, i = arguments.length; n < i; n++) {
616
630
  r = arguments[n];
617
631
  for (var s in r)
618
632
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
619
633
  }
620
634
  return t;
621
- }, A.apply(this, arguments);
635
+ }, d.apply(this, arguments);
622
636
  };
623
- function xr(e, t) {
637
+ function yr(e, t) {
624
638
  var r = {};
625
639
  for (var n in e)
626
640
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -629,43 +643,43 @@ function xr(e, t) {
629
643
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
630
644
  return r;
631
645
  }
632
- function me(e, t, r) {
633
- if (r || arguments.length === 2)
646
+ function fe(e, t, r) {
647
+ if (arguments.length === 2)
634
648
  for (var n = 0, i = t.length, s; n < i; n++)
635
649
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
636
- return e.concat(s || Array.prototype.slice.call(t));
650
+ return e.concat(s || t);
637
651
  }
638
- function pe(e, t) {
639
- var r = t && t.cache ? t.cache : Ar, n = t && t.serializer ? t.serializer : Sr, i = t && t.strategy ? t.strategy : Br;
652
+ function ce(e, t) {
653
+ var r = t && t.cache ? t.cache : Tr, n = t && t.serializer ? t.serializer : Br, i = t && t.strategy ? t.strategy : vr;
640
654
  return i(e, {
641
655
  cache: r,
642
656
  serializer: n
643
657
  });
644
658
  }
645
- function vr(e) {
659
+ function xr(e) {
646
660
  return e == null || typeof e == "number" || typeof e == "boolean";
647
661
  }
648
- function _r(e, t, r, n) {
649
- var i = vr(n) ? n : r(n), s = t.get(i);
662
+ function Er(e, t, r, n) {
663
+ var i = xr(n) ? n : r(n), s = t.get(i);
650
664
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
651
665
  }
652
- function at(e, t, r) {
666
+ function st(e, t, r) {
653
667
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
654
668
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
655
669
  }
656
- function ut(e, t, r, n, i) {
670
+ function ot(e, t, r, n, i) {
657
671
  return r.bind(t, e, n, i);
658
672
  }
659
- function Br(e, t) {
660
- var r = e.length === 1 ? _r : at;
661
- return ut(e, this, r, t.cache.create(), t.serializer);
673
+ function vr(e, t) {
674
+ var r = e.length === 1 ? Er : st;
675
+ return ot(e, this, r, t.cache.create(), t.serializer);
662
676
  }
663
- function Hr(e, t) {
664
- return ut(e, this, at, t.cache.create(), t.serializer);
677
+ function _r(e, t) {
678
+ return ot(e, this, st, t.cache.create(), t.serializer);
665
679
  }
666
- var Sr = function() {
680
+ var Br = function() {
667
681
  return JSON.stringify(arguments);
668
- }, Tr = (
682
+ }, Hr = (
669
683
  /** @class */
670
684
  function() {
671
685
  function e() {
@@ -677,71 +691,61 @@ var Sr = function() {
677
691
  this.cache[t] = r;
678
692
  }, e;
679
693
  }()
680
- ), Ar = {
694
+ ), Tr = {
681
695
  create: function() {
682
- return new Tr();
696
+ return new Hr();
683
697
  }
684
- }, be = {
685
- variadic: Hr
686
- }, ie = function() {
687
- return ie = Object.assign || function(t) {
688
- for (var r, n = 1, i = arguments.length; n < i; n++) {
689
- r = arguments[n];
690
- for (var s in r)
691
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
692
- }
693
- return t;
694
- }, ie.apply(this, arguments);
695
- };
696
- var p;
698
+ }, me = {
699
+ variadic: _r
700
+ }, p;
697
701
  (function(e) {
698
702
  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";
699
703
  })(p || (p = {}));
700
- var y;
704
+ var x;
701
705
  (function(e) {
702
706
  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";
703
- })(y || (y = {}));
704
- var G;
707
+ })(x || (x = {}));
708
+ var D;
705
709
  (function(e) {
706
710
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
707
- })(G || (G = {}));
708
- function Fe(e) {
709
- return e.type === y.literal;
711
+ })(D || (D = {}));
712
+ function De(e) {
713
+ return e.type === x.literal;
710
714
  }
711
- function Pr(e) {
712
- return e.type === y.argument;
715
+ function Sr(e) {
716
+ return e.type === x.argument;
717
+ }
718
+ function at(e) {
719
+ return e.type === x.number;
720
+ }
721
+ function ut(e) {
722
+ return e.type === x.date;
713
723
  }
714
724
  function ht(e) {
715
- return e.type === y.number;
725
+ return e.type === x.time;
716
726
  }
717
727
  function lt(e) {
718
- return e.type === y.date;
728
+ return e.type === x.select;
719
729
  }
720
730
  function ft(e) {
721
- return e.type === y.time;
731
+ return e.type === x.plural;
732
+ }
733
+ function Ar(e) {
734
+ return e.type === x.pound;
722
735
  }
723
736
  function ct(e) {
724
- return e.type === y.select;
737
+ return e.type === x.tag;
725
738
  }
726
739
  function mt(e) {
727
- return e.type === y.plural;
728
- }
729
- function Mr(e) {
730
- return e.type === y.pound;
740
+ return !!(e && typeof e == "object" && e.type === D.number);
731
741
  }
732
- function pt(e) {
733
- return e.type === y.tag;
734
- }
735
- function bt(e) {
736
- return !!(e && typeof e == "object" && e.type === G.number);
737
- }
738
- function He(e) {
739
- return !!(e && typeof e == "object" && e.type === G.dateTime);
742
+ function _e(e) {
743
+ return !!(e && typeof e == "object" && e.type === D.dateTime);
740
744
  }
741
- var dt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Or = /(?:[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;
742
- function Nr(e) {
745
+ var pt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Mr = /(?:[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;
746
+ function Pr(e) {
743
747
  var t = {};
744
- return e.replace(Or, function(r) {
748
+ return e.replace(Mr, function(r) {
745
749
  var n = r.length;
746
750
  switch (r[0]) {
747
751
  case "G":
@@ -830,21 +834,11 @@ function Nr(e) {
830
834
  return "";
831
835
  }), t;
832
836
  }
833
- var x = function() {
834
- return x = Object.assign || function(t) {
835
- for (var r, n = 1, i = arguments.length; n < i; n++) {
836
- r = arguments[n];
837
- for (var s in r)
838
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
839
- }
840
- return t;
841
- }, x.apply(this, arguments);
842
- };
843
- var wr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
844
- function Ir(e) {
837
+ var Nr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
838
+ function Or(e) {
845
839
  if (e.length === 0)
846
840
  throw new Error("Number skeleton cannot be empty");
847
- for (var t = e.split(wr).filter(function(c) {
841
+ for (var t = e.split(Nr).filter(function(c) {
848
842
  return c.length > 0;
849
843
  }), r = [], n = 0, i = t; n < i.length; n++) {
850
844
  var s = i[n], u = s.split("/");
@@ -859,17 +853,17 @@ function Ir(e) {
859
853
  }
860
854
  return r;
861
855
  }
862
- function Lr(e) {
856
+ function wr(e) {
863
857
  return e.replace(/^(.*?)-/, "");
864
858
  }
865
- var je = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gt = /^(@+)?(\+|#+)?[rs]?$/g, Cr = /(\*)(0+)|(#+)(0+)|(0+)/g, yt = /^(0+)$/;
866
- function ke(e) {
859
+ var Ge = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, bt = /^(@+)?(\+|#+)?[rs]?$/g, Ir = /(\*)(0+)|(#+)(0+)|(0+)/g, dt = /^(0+)$/;
860
+ function Fe(e) {
867
861
  var t = {};
868
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gt, function(r, n, i) {
862
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(bt, function(r, n, i) {
869
863
  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)), "";
870
864
  }), t;
871
865
  }
872
- function Et(e) {
866
+ function gt(e) {
873
867
  switch (e) {
874
868
  case "sign-auto":
875
869
  return {
@@ -909,7 +903,7 @@ function Et(e) {
909
903
  };
910
904
  }
911
905
  }
912
- function $r(e) {
906
+ function Lr(e) {
913
907
  var t;
914
908
  if (e[0] === "E" && e[1] === "E" ? (t = {
915
909
  notation: "engineering"
@@ -917,17 +911,17 @@ function $r(e) {
917
911
  notation: "scientific"
918
912
  }, e = e.slice(1)), t) {
919
913
  var r = e.slice(0, 2);
920
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yt.test(e))
914
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dt.test(e))
921
915
  throw new Error("Malformed concise eng/scientific notation");
922
916
  t.minimumIntegerDigits = e.length;
923
917
  }
924
918
  return t;
925
919
  }
926
- function Ve(e) {
927
- var t = {}, r = Et(e);
920
+ function je(e) {
921
+ var t = {}, r = gt(e);
928
922
  return r || t;
929
923
  }
930
- function Rr(e) {
924
+ function Cr(e) {
931
925
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
932
926
  var i = n[r];
933
927
  switch (i.stem) {
@@ -951,7 +945,7 @@ function Rr(e) {
951
945
  continue;
952
946
  case "measure-unit":
953
947
  case "unit":
954
- t.style = "unit", t.unit = Lr(i.options[0]);
948
+ t.style = "unit", t.unit = wr(i.options[0]);
955
949
  continue;
956
950
  case "compact-short":
957
951
  case "K":
@@ -962,13 +956,13 @@ function Rr(e) {
962
956
  t.notation = "compact", t.compactDisplay = "long";
963
957
  continue;
964
958
  case "scientific":
965
- t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, o) {
966
- return x(x({}, l), Ve(o));
959
+ t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(l, o) {
960
+ return d(d({}, l), je(o));
967
961
  }, {}));
968
962
  continue;
969
963
  case "engineering":
970
- t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, o) {
971
- return x(x({}, l), Ve(o));
964
+ t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(l, o) {
965
+ return d(d({}, l), je(o));
972
966
  }, {}));
973
967
  continue;
974
968
  case "notation-simple":
@@ -1013,45 +1007,45 @@ function Rr(e) {
1013
1007
  case "integer-width":
1014
1008
  if (i.options.length > 1)
1015
1009
  throw new RangeError("integer-width stems only accept a single optional option");
1016
- i.options[0].replace(Cr, function(l, o, h, f, c, g) {
1010
+ i.options[0].replace(Ir, function(l, o, h, f, c, y) {
1017
1011
  if (o)
1018
1012
  t.minimumIntegerDigits = h.length;
1019
1013
  else {
1020
1014
  if (f && c)
1021
1015
  throw new Error("We currently do not support maximum integer digits");
1022
- if (g)
1016
+ if (y)
1023
1017
  throw new Error("We currently do not support exact integer digits");
1024
1018
  }
1025
1019
  return "";
1026
1020
  });
1027
1021
  continue;
1028
1022
  }
1029
- if (yt.test(i.stem)) {
1023
+ if (dt.test(i.stem)) {
1030
1024
  t.minimumIntegerDigits = i.stem.length;
1031
1025
  continue;
1032
1026
  }
1033
- if (je.test(i.stem)) {
1027
+ if (Ge.test(i.stem)) {
1034
1028
  if (i.options.length > 1)
1035
1029
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1036
- i.stem.replace(je, function(l, o, h, f, c, g) {
1037
- return h === "*" ? t.minimumFractionDigits = o.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && g ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + g.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
1030
+ i.stem.replace(Ge, function(l, o, h, f, c, y) {
1031
+ return h === "*" ? t.minimumFractionDigits = o.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && y ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + y.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
1038
1032
  });
1039
1033
  var s = i.options[0];
1040
- s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), ke(s)));
1034
+ s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), Fe(s)));
1041
1035
  continue;
1042
1036
  }
1043
- if (gt.test(i.stem)) {
1044
- t = x(x({}, t), ke(i.stem));
1037
+ if (bt.test(i.stem)) {
1038
+ t = d(d({}, t), Fe(i.stem));
1045
1039
  continue;
1046
1040
  }
1047
- var u = Et(i.stem);
1048
- u && (t = x(x({}, t), u));
1049
- var a = $r(i.stem);
1050
- a && (t = x(x({}, t), a));
1041
+ var u = gt(i.stem);
1042
+ u && (t = d(d({}, t), u));
1043
+ var a = Lr(i.stem);
1044
+ a && (t = d(d({}, t), a));
1051
1045
  }
1052
1046
  return t;
1053
1047
  }
1054
- var ee = {
1048
+ var K = {
1055
1049
  "001": [
1056
1050
  "H",
1057
1051
  "h"
@@ -2466,13 +2460,13 @@ var ee = {
2466
2460
  "h"
2467
2461
  ]
2468
2462
  };
2469
- function Ur(e, t) {
2463
+ function $r(e, t) {
2470
2464
  for (var r = "", n = 0; n < e.length; n++) {
2471
2465
  var i = e.charAt(n);
2472
2466
  if (i === "j") {
2473
2467
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2474
2468
  s++, n++;
2475
- var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", o = Dr(t);
2469
+ var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", o = Rr(t);
2476
2470
  for ((o == "H" || o == "k") && (a = 0); a-- > 0; )
2477
2471
  r += l;
2478
2472
  for (; u-- > 0; )
@@ -2482,7 +2476,7 @@ function Ur(e, t) {
2482
2476
  }
2483
2477
  return r;
2484
2478
  }
2485
- function Dr(e) {
2479
+ function Rr(e) {
2486
2480
  var t = e.hourCycle;
2487
2481
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2488
2482
  e.hourCycles && // @ts-ignore
@@ -2501,23 +2495,23 @@ function Dr(e) {
2501
2495
  }
2502
2496
  var r = e.language, n;
2503
2497
  r !== "root" && (n = e.maximize().region);
2504
- var i = ee[n || ""] || ee[r || ""] || ee["".concat(r, "-001")] || ee["001"];
2498
+ var i = K[n || ""] || K[r || ""] || K["".concat(r, "-001")] || K["001"];
2505
2499
  return i[0];
2506
2500
  }
2507
- var de, Gr = new RegExp("^".concat(dt.source, "*")), Fr = new RegExp("".concat(dt.source, "*$"));
2501
+ var pe, Ur = new RegExp("^".concat(pt.source, "*")), Dr = new RegExp("".concat(pt.source, "*$"));
2508
2502
  function b(e, t) {
2509
2503
  return { start: e, end: t };
2510
2504
  }
2511
- var jr = !!String.prototype.startsWith && "_a".startsWith("a", 1), kr = !!String.fromCodePoint, Vr = !!Object.fromEntries, Xr = !!String.prototype.codePointAt, Wr = !!String.prototype.trimStart, zr = !!String.prototype.trimEnd, Zr = !!Number.isSafeInteger, Qr = Zr ? Number.isSafeInteger : function(e) {
2505
+ var Gr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fr = !!String.fromCodePoint, jr = !!Object.fromEntries, kr = !!String.prototype.codePointAt, Vr = !!String.prototype.trimStart, Xr = !!String.prototype.trimEnd, Wr = !!Number.isSafeInteger, zr = Wr ? Number.isSafeInteger : function(e) {
2512
2506
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2513
- }, Se = !0;
2507
+ }, Be = !0;
2514
2508
  try {
2515
- var Jr = vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2516
- Se = ((de = Jr.exec("a")) === null || de === void 0 ? void 0 : de[0]) === "a";
2509
+ var Zr = xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2510
+ Be = ((pe = Zr.exec("a")) === null || pe === void 0 ? void 0 : pe[0]) === "a";
2517
2511
  } catch {
2518
- Se = !1;
2512
+ Be = !1;
2519
2513
  }
2520
- var Xe = jr ? (
2514
+ var ke = Gr ? (
2521
2515
  // Native
2522
2516
  function(t, r, n) {
2523
2517
  return t.startsWith(r, n);
@@ -2527,7 +2521,7 @@ var Xe = jr ? (
2527
2521
  function(t, r, n) {
2528
2522
  return t.slice(n, n + r.length) === r;
2529
2523
  }
2530
- ), Te = kr ? String.fromCodePoint : (
2524
+ ), He = Fr ? String.fromCodePoint : (
2531
2525
  // IE11
2532
2526
  function() {
2533
2527
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2539,9 +2533,9 @@ var Xe = jr ? (
2539
2533
  }
2540
2534
  return n;
2541
2535
  }
2542
- ), We = (
2536
+ ), Ve = (
2543
2537
  // native
2544
- Vr ? Object.fromEntries : (
2538
+ jr ? Object.fromEntries : (
2545
2539
  // Ponyfill
2546
2540
  function(t) {
2547
2541
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2551,7 +2545,7 @@ var Xe = jr ? (
2551
2545
  return r;
2552
2546
  }
2553
2547
  )
2554
- ), xt = Xr ? (
2548
+ ), yt = kr ? (
2555
2549
  // Native
2556
2550
  function(t, r) {
2557
2551
  return t.codePointAt(r);
@@ -2565,7 +2559,7 @@ var Xe = jr ? (
2565
2559
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2566
2560
  }
2567
2561
  }
2568
- ), qr = Wr ? (
2562
+ ), Qr = Vr ? (
2569
2563
  // Native
2570
2564
  function(t) {
2571
2565
  return t.trimStart();
@@ -2573,9 +2567,9 @@ var Xe = jr ? (
2573
2567
  ) : (
2574
2568
  // Ponyfill
2575
2569
  function(t) {
2576
- return t.replace(Gr, "");
2570
+ return t.replace(Ur, "");
2577
2571
  }
2578
- ), Yr = zr ? (
2572
+ ), Jr = Xr ? (
2579
2573
  // Native
2580
2574
  function(t) {
2581
2575
  return t.trimEnd();
@@ -2583,32 +2577,32 @@ var Xe = jr ? (
2583
2577
  ) : (
2584
2578
  // Ponyfill
2585
2579
  function(t) {
2586
- return t.replace(Fr, "");
2580
+ return t.replace(Dr, "");
2587
2581
  }
2588
2582
  );
2589
- function vt(e, t) {
2583
+ function xt(e, t) {
2590
2584
  return new RegExp(e, t);
2591
2585
  }
2592
- var Ae;
2593
- if (Se) {
2594
- var ze = vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2595
- Ae = function(t, r) {
2586
+ var Te;
2587
+ if (Be) {
2588
+ var Xe = xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2589
+ Te = function(t, r) {
2596
2590
  var n;
2597
- ze.lastIndex = r;
2598
- var i = ze.exec(t);
2591
+ Xe.lastIndex = r;
2592
+ var i = Xe.exec(t);
2599
2593
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2600
2594
  };
2601
2595
  } else
2602
- Ae = function(t, r) {
2596
+ Te = function(t, r) {
2603
2597
  for (var n = []; ; ) {
2604
- var i = xt(t, r);
2605
- if (i === void 0 || _t(i) || rn(i))
2598
+ var i = yt(t, r);
2599
+ if (i === void 0 || Et(i) || en(i))
2606
2600
  break;
2607
2601
  n.push(i), r += i >= 65536 ? 2 : 1;
2608
2602
  }
2609
- return Te.apply(void 0, n);
2603
+ return He.apply(void 0, n);
2610
2604
  };
2611
- var Kr = (
2605
+ var qr = (
2612
2606
  /** @class */
2613
2607
  function() {
2614
2608
  function e(t, r) {
@@ -2632,14 +2626,14 @@ var Kr = (
2632
2626
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2633
2627
  var a = this.clonePosition();
2634
2628
  this.bump(), i.push({
2635
- type: y.pound,
2629
+ type: x.pound,
2636
2630
  location: b(a, this.clonePosition())
2637
2631
  });
2638
2632
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2639
2633
  if (n)
2640
2634
  break;
2641
2635
  return this.error(p.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2642
- } else if (s === 60 && !this.ignoreTag && Pe(this.peek() || 0)) {
2636
+ } else if (s === 60 && !this.ignoreTag && Se(this.peek() || 0)) {
2643
2637
  var u = this.parseTag(t, r);
2644
2638
  if (u.err)
2645
2639
  return u;
@@ -2660,7 +2654,7 @@ var Kr = (
2660
2654
  if (this.bumpSpace(), this.bumpIf("/>"))
2661
2655
  return {
2662
2656
  val: {
2663
- type: y.literal,
2657
+ type: x.literal,
2664
2658
  value: "<".concat(i, "/>"),
2665
2659
  location: b(n, this.clonePosition())
2666
2660
  },
@@ -2672,12 +2666,12 @@ var Kr = (
2672
2666
  return s;
2673
2667
  var u = s.val, a = this.clonePosition();
2674
2668
  if (this.bumpIf("</")) {
2675
- if (this.isEOF() || !Pe(this.char()))
2669
+ if (this.isEOF() || !Se(this.char()))
2676
2670
  return this.error(p.INVALID_TAG, b(a, this.clonePosition()));
2677
2671
  var l = this.clonePosition(), o = this.parseTagName();
2678
2672
  return i !== o ? this.error(p.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2679
2673
  val: {
2680
- type: y.tag,
2674
+ type: x.tag,
2681
2675
  value: i,
2682
2676
  children: u,
2683
2677
  location: b(n, this.clonePosition())
@@ -2690,7 +2684,7 @@ var Kr = (
2690
2684
  return this.error(p.INVALID_TAG, b(n, this.clonePosition()));
2691
2685
  }, e.prototype.parseTagName = function() {
2692
2686
  var t = this.offset();
2693
- for (this.bump(); !this.isEOF() && tn(this.char()); )
2687
+ for (this.bump(); !this.isEOF() && Kr(this.char()); )
2694
2688
  this.bump();
2695
2689
  return this.message.slice(t, this.offset());
2696
2690
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2714,12 +2708,12 @@ var Kr = (
2714
2708
  }
2715
2709
  var l = b(n, this.clonePosition());
2716
2710
  return {
2717
- val: { type: y.literal, value: i, location: l },
2711
+ val: { type: x.literal, value: i, location: l },
2718
2712
  err: null
2719
2713
  };
2720
2714
  }, e.prototype.tryParseLeftAngleBracket = function() {
2721
2715
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2722
- !en(this.peek() || 0)) ? (this.bump(), "<") : null;
2716
+ !Yr(this.peek() || 0)) ? (this.bump(), "<") : null;
2723
2717
  }, e.prototype.tryParseQuote = function(t) {
2724
2718
  if (this.isEOF() || this.char() !== 39)
2725
2719
  return null;
@@ -2753,12 +2747,12 @@ var Kr = (
2753
2747
  r.push(n);
2754
2748
  this.bump();
2755
2749
  }
2756
- return Te.apply(void 0, r);
2750
+ return He.apply(void 0, r);
2757
2751
  }, e.prototype.tryParseUnquoted = function(t, r) {
2758
2752
  if (this.isEOF())
2759
2753
  return null;
2760
2754
  var n = this.char();
2761
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Te(n));
2755
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), He(n));
2762
2756
  }, e.prototype.parseArgument = function(t, r) {
2763
2757
  var n = this.clonePosition();
2764
2758
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2774,7 +2768,7 @@ var Kr = (
2774
2768
  case 125:
2775
2769
  return this.bump(), {
2776
2770
  val: {
2777
- type: y.argument,
2771
+ type: x.argument,
2778
2772
  // value does not include the opening and closing braces.
2779
2773
  value: i,
2780
2774
  location: b(n, this.clonePosition())
@@ -2787,7 +2781,7 @@ var Kr = (
2787
2781
  return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2788
2782
  }
2789
2783
  }, e.prototype.parseIdentifierIfPossible = function() {
2790
- var t = this.clonePosition(), r = this.offset(), n = Ae(this.message, r), i = r + n.length;
2784
+ var t = this.clonePosition(), r = this.offset(), n = Te(this.message, r), i = r + n.length;
2791
2785
  this.bumpTo(i);
2792
2786
  var s = this.clonePosition(), u = b(t, s);
2793
2787
  return { value: n, location: u };
@@ -2806,35 +2800,35 @@ var Kr = (
2806
2800
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2807
2801
  if (f.err)
2808
2802
  return f;
2809
- var c = Yr(f.val);
2803
+ var c = Jr(f.val);
2810
2804
  if (c.length === 0)
2811
2805
  return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2812
- var g = b(h, this.clonePosition());
2813
- o = { style: c, styleLocation: g };
2806
+ var y = b(h, this.clonePosition());
2807
+ o = { style: c, styleLocation: y };
2814
2808
  }
2815
- var d = this.tryParseArgumentClose(i);
2816
- if (d.err)
2817
- return d;
2809
+ var g = this.tryParseArgumentClose(i);
2810
+ if (g.err)
2811
+ return g;
2818
2812
  var E = b(i, this.clonePosition());
2819
- if (o && Xe(o?.style, "::", 0)) {
2820
- var B = qr(o.style.slice(2));
2813
+ if (o && ke(o?.style, "::", 0)) {
2814
+ var B = Qr(o.style.slice(2));
2821
2815
  if (a === "number") {
2822
2816
  var f = this.parseNumberSkeletonFromString(B, o.styleLocation);
2823
2817
  return f.err ? f : {
2824
- val: { type: y.number, value: n, location: E, style: f.val },
2818
+ val: { type: x.number, value: n, location: E, style: f.val },
2825
2819
  err: null
2826
2820
  };
2827
2821
  } else {
2828
2822
  if (B.length === 0)
2829
2823
  return this.error(p.EXPECT_DATE_TIME_SKELETON, E);
2830
- var O = B;
2831
- this.locale && (O = Ur(B, this.locale));
2824
+ var P = B;
2825
+ this.locale && (P = $r(B, this.locale));
2832
2826
  var c = {
2833
- type: G.dateTime,
2834
- pattern: O,
2827
+ type: D.dateTime,
2828
+ pattern: P,
2835
2829
  location: o.styleLocation,
2836
- parsedOptions: this.shouldParseSkeletons ? Nr(O) : {}
2837
- }, m = a === "date" ? y.date : y.time;
2830
+ parsedOptions: this.shouldParseSkeletons ? Pr(P) : {}
2831
+ }, m = a === "date" ? x.date : x.time;
2838
2832
  return {
2839
2833
  val: { type: m, value: n, location: E, style: c },
2840
2834
  err: null
@@ -2843,7 +2837,7 @@ var Kr = (
2843
2837
  }
2844
2838
  return {
2845
2839
  val: {
2846
- type: a === "number" ? y.number : a === "date" ? y.date : y.time,
2840
+ type: a === "number" ? x.number : a === "date" ? x.date : x.time,
2847
2841
  value: n,
2848
2842
  location: E,
2849
2843
  style: (s = o?.style) !== null && s !== void 0 ? s : null
@@ -2856,41 +2850,41 @@ var Kr = (
2856
2850
  case "select": {
2857
2851
  var v = this.clonePosition();
2858
2852
  if (this.bumpSpace(), !this.bumpIf(","))
2859
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(v, ie({}, v)));
2853
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(v, d({}, v)));
2860
2854
  this.bumpSpace();
2861
- var S = this.parseIdentifierIfPossible(), N = 0;
2862
- if (a !== "select" && S.value === "offset") {
2855
+ var T = this.parseIdentifierIfPossible(), N = 0;
2856
+ if (a !== "select" && T.value === "offset") {
2863
2857
  if (!this.bumpIf(":"))
2864
2858
  return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2865
2859
  this.bumpSpace();
2866
2860
  var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2867
2861
  if (f.err)
2868
2862
  return f;
2869
- this.bumpSpace(), S = this.parseIdentifierIfPossible(), N = f.val;
2863
+ this.bumpSpace(), T = this.parseIdentifierIfPossible(), N = f.val;
2870
2864
  }
2871
- var K = this.tryParsePluralOrSelectOptions(t, a, r, S);
2872
- if (K.err)
2873
- return K;
2874
- var d = this.tryParseArgumentClose(i);
2875
- if (d.err)
2876
- return d;
2877
- var $e = b(i, this.clonePosition());
2865
+ var Y = this.tryParsePluralOrSelectOptions(t, a, r, T);
2866
+ if (Y.err)
2867
+ return Y;
2868
+ var g = this.tryParseArgumentClose(i);
2869
+ if (g.err)
2870
+ return g;
2871
+ var Le = b(i, this.clonePosition());
2878
2872
  return a === "select" ? {
2879
2873
  val: {
2880
- type: y.select,
2874
+ type: x.select,
2881
2875
  value: n,
2882
- options: We(K.val),
2883
- location: $e
2876
+ options: Ve(Y.val),
2877
+ location: Le
2884
2878
  },
2885
2879
  err: null
2886
2880
  } : {
2887
2881
  val: {
2888
- type: y.plural,
2882
+ type: x.plural,
2889
2883
  value: n,
2890
- options: We(K.val),
2884
+ options: Ve(Y.val),
2891
2885
  offset: N,
2892
2886
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2893
- location: $e
2887
+ location: Le
2894
2888
  },
2895
2889
  err: null
2896
2890
  };
@@ -2938,16 +2932,16 @@ var Kr = (
2938
2932
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2939
2933
  var n = [];
2940
2934
  try {
2941
- n = Ir(t);
2935
+ n = Or(t);
2942
2936
  } catch {
2943
2937
  return this.error(p.INVALID_NUMBER_SKELETON, r);
2944
2938
  }
2945
2939
  return {
2946
2940
  val: {
2947
- type: G.number,
2941
+ type: D.number,
2948
2942
  tokens: n,
2949
2943
  location: r,
2950
- parsedOptions: this.shouldParseSkeletons ? Rr(n) : {}
2944
+ parsedOptions: this.shouldParseSkeletons ? Cr(n) : {}
2951
2945
  },
2952
2946
  err: null
2953
2947
  };
@@ -2966,20 +2960,20 @@ var Kr = (
2966
2960
  if (l.has(o))
2967
2961
  return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2968
2962
  o === "other" && (u = !0), this.bumpSpace();
2969
- var g = this.clonePosition();
2963
+ var y = this.clonePosition();
2970
2964
  if (!this.bumpIf("{"))
2971
2965
  return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
2972
- var d = this.parseMessage(t + 1, r, n);
2973
- if (d.err)
2974
- return d;
2975
- var E = this.tryParseArgumentClose(g);
2966
+ var g = this.parseMessage(t + 1, r, n);
2967
+ if (g.err)
2968
+ return g;
2969
+ var E = this.tryParseArgumentClose(y);
2976
2970
  if (E.err)
2977
2971
  return E;
2978
2972
  a.push([
2979
2973
  o,
2980
2974
  {
2981
- value: d.val,
2982
- location: b(g, this.clonePosition())
2975
+ value: g.val,
2976
+ location: b(y, this.clonePosition())
2983
2977
  }
2984
2978
  ]), l.add(o), this.bumpSpace(), s = this.parseIdentifierIfPossible(), o = s.value, h = s.location;
2985
2979
  }
@@ -2995,7 +2989,7 @@ var Kr = (
2995
2989
  break;
2996
2990
  }
2997
2991
  var l = b(i, this.clonePosition());
2998
- return s ? (u *= n, Qr(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
2992
+ return s ? (u *= n, zr(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
2999
2993
  }, e.prototype.offset = function() {
3000
2994
  return this.position.offset;
3001
2995
  }, e.prototype.isEOF = function() {
@@ -3010,7 +3004,7 @@ var Kr = (
3010
3004
  var t = this.position.offset;
3011
3005
  if (t >= this.message.length)
3012
3006
  throw Error("out of bound");
3013
- var r = xt(this.message, t);
3007
+ var r = yt(this.message, t);
3014
3008
  if (r === void 0)
3015
3009
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3016
3010
  return r;
@@ -3029,7 +3023,7 @@ var Kr = (
3029
3023
  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);
3030
3024
  }
3031
3025
  }, e.prototype.bumpIf = function(t) {
3032
- if (Xe(this.message, t, this.offset())) {
3026
+ if (ke(this.message, t, this.offset())) {
3033
3027
  for (var r = 0; r < t.length; r++)
3034
3028
  this.bump();
3035
3029
  return !0;
@@ -3051,7 +3045,7 @@ var Kr = (
3051
3045
  break;
3052
3046
  }
3053
3047
  }, e.prototype.bumpSpace = function() {
3054
- for (; !this.isEOF() && _t(this.char()); )
3048
+ for (; !this.isEOF() && Et(this.char()); )
3055
3049
  this.bump();
3056
3050
  }, e.prototype.peek = function() {
3057
3051
  if (this.isEOF())
@@ -3061,47 +3055,47 @@ var Kr = (
3061
3055
  }, e;
3062
3056
  }()
3063
3057
  );
3064
- function Pe(e) {
3058
+ function Se(e) {
3065
3059
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3066
3060
  }
3067
- function en(e) {
3068
- return Pe(e) || e === 47;
3061
+ function Yr(e) {
3062
+ return Se(e) || e === 47;
3069
3063
  }
3070
- function tn(e) {
3064
+ function Kr(e) {
3071
3065
  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;
3072
3066
  }
3073
- function _t(e) {
3067
+ function Et(e) {
3074
3068
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3075
3069
  }
3076
- function rn(e) {
3070
+ function en(e) {
3077
3071
  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;
3078
3072
  }
3079
- function Me(e) {
3073
+ function Ae(e) {
3080
3074
  e.forEach(function(t) {
3081
- if (delete t.location, ct(t) || mt(t))
3075
+ if (delete t.location, lt(t) || ft(t))
3082
3076
  for (var r in t.options)
3083
- delete t.options[r].location, Me(t.options[r].value);
3077
+ delete t.options[r].location, Ae(t.options[r].value);
3084
3078
  else
3085
- ht(t) && bt(t.style) || (lt(t) || ft(t)) && He(t.style) ? delete t.style.location : pt(t) && Me(t.children);
3079
+ at(t) && mt(t.style) || (ut(t) || ht(t)) && _e(t.style) ? delete t.style.location : ct(t) && Ae(t.children);
3086
3080
  });
3087
3081
  }
3088
- function nn(e, t) {
3089
- t === void 0 && (t = {}), t = ie({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3090
- var r = new Kr(e, t).parse();
3082
+ function tn(e, t) {
3083
+ t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3084
+ var r = new qr(e, t).parse();
3091
3085
  if (r.err) {
3092
3086
  var n = SyntaxError(p[r.err.kind]);
3093
3087
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3094
3088
  }
3095
- return t?.captureLocation || Me(r.val), r.val;
3089
+ return t?.captureLocation || Ae(r.val), r.val;
3096
3090
  }
3097
- var F;
3091
+ var G;
3098
3092
  (function(e) {
3099
3093
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3100
- })(F || (F = {}));
3101
- var he = (
3094
+ })(G || (G = {}));
3095
+ var ae = (
3102
3096
  /** @class */
3103
3097
  function(e) {
3104
- ue(t, e);
3098
+ oe(t, e);
3105
3099
  function t(r, n, i) {
3106
3100
  var s = e.call(this, r) || this;
3107
3101
  return s.code = n, s.originalMessage = i, s;
@@ -3110,48 +3104,48 @@ var he = (
3110
3104
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3111
3105
  }, t;
3112
3106
  }(Error)
3113
- ), Ze = (
3107
+ ), We = (
3114
3108
  /** @class */
3115
3109
  function(e) {
3116
- ue(t, e);
3110
+ oe(t, e);
3117
3111
  function t(r, n, i, s) {
3118
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), F.INVALID_VALUE, s) || this;
3112
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), G.INVALID_VALUE, s) || this;
3119
3113
  }
3120
3114
  return t;
3121
- }(he)
3122
- ), sn = (
3115
+ }(ae)
3116
+ ), rn = (
3123
3117
  /** @class */
3124
3118
  function(e) {
3125
- ue(t, e);
3119
+ oe(t, e);
3126
3120
  function t(r, n, i) {
3127
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), F.INVALID_VALUE, i) || this;
3121
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), G.INVALID_VALUE, i) || this;
3128
3122
  }
3129
3123
  return t;
3130
- }(he)
3131
- ), on = (
3124
+ }(ae)
3125
+ ), nn = (
3132
3126
  /** @class */
3133
3127
  function(e) {
3134
- ue(t, e);
3128
+ oe(t, e);
3135
3129
  function t(r, n) {
3136
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), F.MISSING_VALUE, n) || this;
3130
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), G.MISSING_VALUE, n) || this;
3137
3131
  }
3138
3132
  return t;
3139
- }(he)
3133
+ }(ae)
3140
3134
  ), _;
3141
3135
  (function(e) {
3142
3136
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3143
3137
  })(_ || (_ = {}));
3144
- function an(e) {
3138
+ function sn(e) {
3145
3139
  return e.length < 2 ? e : e.reduce(function(t, r) {
3146
3140
  var n = t[t.length - 1];
3147
3141
  return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
3148
3142
  }, []);
3149
3143
  }
3150
- function un(e) {
3144
+ function on(e) {
3151
3145
  return typeof e == "function";
3152
3146
  }
3153
- function re(e, t, r, n, i, s, u) {
3154
- if (e.length === 1 && Fe(e[0]))
3147
+ function te(e, t, r, n, i, s, u) {
3148
+ if (e.length === 1 && De(e[0]))
3155
3149
  return [
3156
3150
  {
3157
3151
  type: _.literal,
@@ -3160,14 +3154,14 @@ function re(e, t, r, n, i, s, u) {
3160
3154
  ];
3161
3155
  for (var a = [], l = 0, o = e; l < o.length; l++) {
3162
3156
  var h = o[l];
3163
- if (Fe(h)) {
3157
+ if (De(h)) {
3164
3158
  a.push({
3165
3159
  type: _.literal,
3166
3160
  value: h.value
3167
3161
  });
3168
3162
  continue;
3169
3163
  }
3170
- if (Mr(h)) {
3164
+ if (Ar(h)) {
3171
3165
  typeof s == "number" && a.push({
3172
3166
  type: _.literal,
3173
3167
  value: r.getNumberFormat(t).format(s)
@@ -3176,44 +3170,44 @@ function re(e, t, r, n, i, s, u) {
3176
3170
  }
3177
3171
  var f = h.value;
3178
3172
  if (!(i && f in i))
3179
- throw new on(f, u);
3173
+ throw new nn(f, u);
3180
3174
  var c = i[f];
3181
- if (Pr(h)) {
3175
+ if (Sr(h)) {
3182
3176
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3183
3177
  type: typeof c == "string" ? _.literal : _.object,
3184
3178
  value: c
3185
3179
  });
3186
3180
  continue;
3187
3181
  }
3188
- if (lt(h)) {
3189
- var g = typeof h.style == "string" ? n.date[h.style] : He(h.style) ? h.style.parsedOptions : void 0;
3182
+ if (ut(h)) {
3183
+ var y = typeof h.style == "string" ? n.date[h.style] : _e(h.style) ? h.style.parsedOptions : void 0;
3190
3184
  a.push({
3191
3185
  type: _.literal,
3192
- value: r.getDateTimeFormat(t, g).format(c)
3186
+ value: r.getDateTimeFormat(t, y).format(c)
3193
3187
  });
3194
3188
  continue;
3195
3189
  }
3196
- if (ft(h)) {
3197
- var g = typeof h.style == "string" ? n.time[h.style] : He(h.style) ? h.style.parsedOptions : n.time.medium;
3190
+ if (ht(h)) {
3191
+ var y = typeof h.style == "string" ? n.time[h.style] : _e(h.style) ? h.style.parsedOptions : n.time.medium;
3198
3192
  a.push({
3199
3193
  type: _.literal,
3200
- value: r.getDateTimeFormat(t, g).format(c)
3194
+ value: r.getDateTimeFormat(t, y).format(c)
3201
3195
  });
3202
3196
  continue;
3203
3197
  }
3204
- if (ht(h)) {
3205
- var g = typeof h.style == "string" ? n.number[h.style] : bt(h.style) ? h.style.parsedOptions : void 0;
3206
- g && g.scale && (c = c * (g.scale || 1)), a.push({
3198
+ if (at(h)) {
3199
+ var y = typeof h.style == "string" ? n.number[h.style] : mt(h.style) ? h.style.parsedOptions : void 0;
3200
+ y && y.scale && (c = c * (y.scale || 1)), a.push({
3207
3201
  type: _.literal,
3208
- value: r.getNumberFormat(t, g).format(c)
3202
+ value: r.getNumberFormat(t, y).format(c)
3209
3203
  });
3210
3204
  continue;
3211
3205
  }
3212
- if (pt(h)) {
3213
- var d = h.children, E = h.value, B = i[E];
3214
- if (!un(B))
3215
- throw new sn(E, "function", u);
3216
- var O = re(d, t, r, n, i, s), m = B(O.map(function(N) {
3206
+ if (ct(h)) {
3207
+ var g = h.children, E = h.value, B = i[E];
3208
+ if (!on(B))
3209
+ throw new rn(E, "function", u);
3210
+ var P = te(g, t, r, n, i, s), m = B(P.map(function(N) {
3217
3211
  return N.value;
3218
3212
  }));
3219
3213
  Array.isArray(m) || (m = [m]), a.push.apply(a, m.map(function(N) {
@@ -3223,42 +3217,42 @@ function re(e, t, r, n, i, s, u) {
3223
3217
  };
3224
3218
  }));
3225
3219
  }
3226
- if (ct(h)) {
3220
+ if (lt(h)) {
3227
3221
  var v = h.options[c] || h.options.other;
3228
3222
  if (!v)
3229
- throw new Ze(h.value, c, Object.keys(h.options), u);
3230
- a.push.apply(a, re(v.value, t, r, n, i));
3223
+ throw new We(h.value, c, Object.keys(h.options), u);
3224
+ a.push.apply(a, te(v.value, t, r, n, i));
3231
3225
  continue;
3232
3226
  }
3233
- if (mt(h)) {
3227
+ if (ft(h)) {
3234
3228
  var v = h.options["=".concat(c)];
3235
3229
  if (!v) {
3236
3230
  if (!Intl.PluralRules)
3237
- throw new he(`Intl.PluralRules is not available in this environment.
3231
+ throw new ae(`Intl.PluralRules is not available in this environment.
3238
3232
  Try polyfilling it using "@formatjs/intl-pluralrules"
3239
- `, F.MISSING_INTL_API, u);
3240
- var S = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3241
- v = h.options[S] || h.options.other;
3233
+ `, G.MISSING_INTL_API, u);
3234
+ var T = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3235
+ v = h.options[T] || h.options.other;
3242
3236
  }
3243
3237
  if (!v)
3244
- throw new Ze(h.value, c, Object.keys(h.options), u);
3245
- a.push.apply(a, re(v.value, t, r, n, i, c - (h.offset || 0)));
3238
+ throw new We(h.value, c, Object.keys(h.options), u);
3239
+ a.push.apply(a, te(v.value, t, r, n, i, c - (h.offset || 0)));
3246
3240
  continue;
3247
3241
  }
3248
3242
  }
3249
- return an(a);
3243
+ return sn(a);
3250
3244
  }
3251
- function hn(e, t) {
3252
- return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3253
- return r[n] = A(A({}, e[n]), t[n] || {}), r;
3245
+ function an(e, t) {
3246
+ return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3247
+ return r[n] = d(d({}, e[n]), t[n] || {}), r;
3254
3248
  }, {})) : e;
3255
3249
  }
3256
- function ln(e, t) {
3250
+ function un(e, t) {
3257
3251
  return t ? Object.keys(e).reduce(function(r, n) {
3258
- return r[n] = hn(e[n], t[n]), r;
3259
- }, A({}, e)) : e;
3252
+ return r[n] = an(e[n], t[n]), r;
3253
+ }, d({}, e)) : e;
3260
3254
  }
3261
- function ge(e) {
3255
+ function be(e) {
3262
3256
  return {
3263
3257
  create: function() {
3264
3258
  return {
@@ -3272,39 +3266,39 @@ function ge(e) {
3272
3266
  }
3273
3267
  };
3274
3268
  }
3275
- function fn(e) {
3269
+ function hn(e) {
3276
3270
  return e === void 0 && (e = {
3277
3271
  number: {},
3278
3272
  dateTime: {},
3279
3273
  pluralRules: {}
3280
3274
  }), {
3281
- getNumberFormat: pe(function() {
3275
+ getNumberFormat: ce(function() {
3282
3276
  for (var t, r = [], n = 0; n < arguments.length; n++)
3283
3277
  r[n] = arguments[n];
3284
- return new ((t = Intl.NumberFormat).bind.apply(t, me([void 0], r, !1)))();
3278
+ return new ((t = Intl.NumberFormat).bind.apply(t, fe([void 0], r, !1)))();
3285
3279
  }, {
3286
- cache: ge(e.number),
3287
- strategy: be.variadic
3280
+ cache: be(e.number),
3281
+ strategy: me.variadic
3288
3282
  }),
3289
- getDateTimeFormat: pe(function() {
3283
+ getDateTimeFormat: ce(function() {
3290
3284
  for (var t, r = [], n = 0; n < arguments.length; n++)
3291
3285
  r[n] = arguments[n];
3292
- return new ((t = Intl.DateTimeFormat).bind.apply(t, me([void 0], r, !1)))();
3286
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, fe([void 0], r, !1)))();
3293
3287
  }, {
3294
- cache: ge(e.dateTime),
3295
- strategy: be.variadic
3288
+ cache: be(e.dateTime),
3289
+ strategy: me.variadic
3296
3290
  }),
3297
- getPluralRules: pe(function() {
3291
+ getPluralRules: ce(function() {
3298
3292
  for (var t, r = [], n = 0; n < arguments.length; n++)
3299
3293
  r[n] = arguments[n];
3300
- return new ((t = Intl.PluralRules).bind.apply(t, me([void 0], r, !1)))();
3294
+ return new ((t = Intl.PluralRules).bind.apply(t, fe([void 0], r, !1)))();
3301
3295
  }, {
3302
- cache: ge(e.pluralRules),
3303
- strategy: be.variadic
3296
+ cache: be(e.pluralRules),
3297
+ strategy: me.variadic
3304
3298
  })
3305
3299
  };
3306
3300
  }
3307
- var cn = (
3301
+ var ln = (
3308
3302
  /** @class */
3309
3303
  function() {
3310
3304
  function e(t, r, n, i) {
@@ -3323,7 +3317,7 @@ var cn = (
3323
3317
  }, []);
3324
3318
  return h.length <= 1 ? h[0] || "" : h;
3325
3319
  }, this.formatToParts = function(l) {
3326
- return re(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3320
+ return te(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3327
3321
  }, this.resolvedOptions = function() {
3328
3322
  var l;
3329
3323
  return {
@@ -3336,13 +3330,13 @@ var cn = (
3336
3330
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3337
3331
  var u = i || {};
3338
3332
  u.formatters;
3339
- var a = xr(u, ["formatters"]);
3340
- this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3333
+ var a = yr(u, ["formatters"]);
3334
+ this.ast = e.__parse(t, d(d({}, a), { locale: this.resolvedLocale }));
3341
3335
  } else
3342
3336
  this.ast = t;
3343
3337
  if (!Array.isArray(this.ast))
3344
3338
  throw new TypeError("A message must be provided as a String or AST.");
3345
- this.formats = ln(e.formats, n), this.formatters = i && i.formatters || fn(this.formatterCache);
3339
+ this.formats = un(e.formats, n), this.formatters = i && i.formatters || hn(this.formatterCache);
3346
3340
  }
3347
3341
  return Object.defineProperty(e, "defaultLocale", {
3348
3342
  get: function() {
@@ -3355,7 +3349,7 @@ var cn = (
3355
3349
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3356
3350
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3357
3351
  }
3358
- }, e.__parse = nn, e.formats = {
3352
+ }, e.__parse = tn, e.formats = {
3359
3353
  number: {
3360
3354
  integer: {
3361
3355
  maximumFractionDigits: 0
@@ -3416,7 +3410,7 @@ var cn = (
3416
3410
  }, e;
3417
3411
  }()
3418
3412
  );
3419
- function mn(e, t) {
3413
+ function fn(e, t) {
3420
3414
  if (t == null)
3421
3415
  return;
3422
3416
  if (t in e)
@@ -3437,92 +3431,92 @@ function mn(e, t) {
3437
3431
  n = void 0;
3438
3432
  return n;
3439
3433
  }
3440
- const M = {}, pn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), Bt = (e, t) => {
3434
+ const M = {}, cn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), vt = (e, t) => {
3441
3435
  if (t == null)
3442
3436
  return;
3443
3437
  if (t in M && e in M[t])
3444
3438
  return M[t][e];
3445
- const r = le(t);
3439
+ const r = ue(t);
3446
3440
  for (let n = 0; n < r.length; n++) {
3447
- const i = r[n], s = dn(i, e);
3441
+ const i = r[n], s = pn(i, e);
3448
3442
  if (s)
3449
- return pn(e, t, s);
3443
+ return cn(e, t, s);
3450
3444
  }
3451
3445
  };
3452
- let Le;
3453
- const Y = ae({});
3454
- function bn(e) {
3455
- return Le[e] || null;
3446
+ let we;
3447
+ const q = se({});
3448
+ function mn(e) {
3449
+ return we[e] || null;
3456
3450
  }
3457
- function Ht(e) {
3458
- return e in Le;
3451
+ function _t(e) {
3452
+ return e in we;
3459
3453
  }
3460
- function dn(e, t) {
3461
- if (!Ht(e))
3454
+ function pn(e, t) {
3455
+ if (!_t(e))
3462
3456
  return null;
3463
- const r = bn(e);
3464
- return mn(r, t);
3457
+ const r = mn(e);
3458
+ return fn(r, t);
3465
3459
  }
3466
- function gn(e) {
3460
+ function bn(e) {
3467
3461
  if (e == null)
3468
3462
  return;
3469
- const t = le(e);
3463
+ const t = ue(e);
3470
3464
  for (let r = 0; r < t.length; r++) {
3471
3465
  const n = t[r];
3472
- if (Ht(n))
3466
+ if (_t(n))
3473
3467
  return n;
3474
3468
  }
3475
3469
  }
3476
- function St(e, ...t) {
3477
- delete M[e], Y.update((r) => (r[e] = Er.all([r[e] || {}, ...t]), r));
3470
+ function Bt(e, ...t) {
3471
+ delete M[e], q.update((r) => (r[e] = gr.all([r[e] || {}, ...t]), r));
3478
3472
  }
3479
- k(
3480
- [Y],
3473
+ j(
3474
+ [q],
3481
3475
  ([e]) => Object.keys(e)
3482
3476
  );
3483
- Y.subscribe((e) => Le = e);
3484
- const ne = {};
3485
- function yn(e, t) {
3486
- ne[e].delete(t), ne[e].size === 0 && delete ne[e];
3477
+ q.subscribe((e) => we = e);
3478
+ const re = {};
3479
+ function dn(e, t) {
3480
+ re[e].delete(t), re[e].size === 0 && delete re[e];
3487
3481
  }
3488
- function Tt(e) {
3489
- return ne[e];
3482
+ function Ht(e) {
3483
+ return re[e];
3490
3484
  }
3491
- function En(e) {
3492
- return le(e).map((t) => {
3493
- const r = Tt(t);
3485
+ function gn(e) {
3486
+ return ue(e).map((t) => {
3487
+ const r = Ht(t);
3494
3488
  return [t, r ? [...r] : []];
3495
3489
  }).filter(([, t]) => t.length > 0);
3496
3490
  }
3497
- function Oe(e) {
3498
- return e == null ? !1 : le(e).some(
3491
+ function Me(e) {
3492
+ return e == null ? !1 : ue(e).some(
3499
3493
  (t) => {
3500
3494
  var r;
3501
- return (r = Tt(t)) == null ? void 0 : r.size;
3495
+ return (r = Ht(t)) == null ? void 0 : r.size;
3502
3496
  }
3503
3497
  );
3504
3498
  }
3505
- function xn(e, t) {
3499
+ function yn(e, t) {
3506
3500
  return Promise.all(
3507
- t.map((n) => (yn(e, n), n().then((i) => i.default || i)))
3508
- ).then((n) => St(e, ...n));
3509
- }
3510
- const W = {};
3511
- function At(e) {
3512
- if (!Oe(e))
3513
- return e in W ? W[e] : Promise.resolve();
3514
- const t = En(e);
3515
- return W[e] = Promise.all(
3501
+ t.map((n) => (dn(e, n), n().then((i) => i.default || i)))
3502
+ ).then((n) => Bt(e, ...n));
3503
+ }
3504
+ const X = {};
3505
+ function Tt(e) {
3506
+ if (!Me(e))
3507
+ return e in X ? X[e] : Promise.resolve();
3508
+ const t = gn(e);
3509
+ return X[e] = Promise.all(
3516
3510
  t.map(
3517
- ([r, n]) => xn(r, n)
3511
+ ([r, n]) => yn(r, n)
3518
3512
  )
3519
3513
  ).then(() => {
3520
- if (Oe(e))
3521
- return At(e);
3522
- delete W[e];
3523
- }), W[e];
3514
+ if (Me(e))
3515
+ return Tt(e);
3516
+ delete X[e];
3517
+ }), X[e];
3524
3518
  }
3525
- const vn = {
3519
+ const xn = {
3526
3520
  number: {
3527
3521
  scientific: { notation: "scientific" },
3528
3522
  engineering: { notation: "engineering" },
@@ -3551,150 +3545,150 @@ const vn = {
3551
3545
  timeZoneName: "short"
3552
3546
  }
3553
3547
  }
3554
- }, _n = {
3548
+ }, En = {
3555
3549
  fallbackLocale: null,
3556
3550
  loadingDelay: 200,
3557
- formats: vn,
3551
+ formats: xn,
3558
3552
  warnOnMissingMessages: !0,
3559
3553
  handleMissingMessage: void 0,
3560
3554
  ignoreTag: !0
3561
- }, Bn = _n;
3562
- function j() {
3563
- return Bn;
3555
+ }, vn = En;
3556
+ function F() {
3557
+ return vn;
3564
3558
  }
3565
- const ye = ae(!1);
3566
- var Hn = Object.defineProperty, Sn = Object.defineProperties, Tn = Object.getOwnPropertyDescriptors, Qe = Object.getOwnPropertySymbols, An = Object.prototype.hasOwnProperty, Pn = Object.prototype.propertyIsEnumerable, Je = (e, t, r) => t in e ? Hn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mn = (e, t) => {
3559
+ const de = se(!1);
3560
+ var _n = Object.defineProperty, Bn = Object.defineProperties, Hn = Object.getOwnPropertyDescriptors, ze = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Sn = Object.prototype.propertyIsEnumerable, Ze = (e, t, r) => t in e ? _n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, An = (e, t) => {
3567
3561
  for (var r in t || (t = {}))
3568
- An.call(t, r) && Je(e, r, t[r]);
3569
- if (Qe)
3570
- for (var r of Qe(t))
3571
- Pn.call(t, r) && Je(e, r, t[r]);
3562
+ Tn.call(t, r) && Ze(e, r, t[r]);
3563
+ if (ze)
3564
+ for (var r of ze(t))
3565
+ Sn.call(t, r) && Ze(e, r, t[r]);
3572
3566
  return e;
3573
- }, On = (e, t) => Sn(e, Tn(t));
3574
- let Ne;
3575
- const se = ae(null);
3576
- function qe(e) {
3567
+ }, Mn = (e, t) => Bn(e, Hn(t));
3568
+ let Pe;
3569
+ const ne = se(null);
3570
+ function Qe(e) {
3577
3571
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3578
3572
  }
3579
- function le(e, t = j().fallbackLocale) {
3580
- const r = qe(e);
3581
- return t ? [.../* @__PURE__ */ new Set([...r, ...qe(t)])] : r;
3573
+ function ue(e, t = F().fallbackLocale) {
3574
+ const r = Qe(e);
3575
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Qe(t)])] : r;
3582
3576
  }
3583
- function I() {
3584
- return Ne ?? void 0;
3577
+ function w() {
3578
+ return Pe ?? void 0;
3585
3579
  }
3586
- se.subscribe((e) => {
3587
- Ne = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3580
+ ne.subscribe((e) => {
3581
+ Pe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3588
3582
  });
3589
- const Nn = (e) => {
3590
- if (e && gn(e) && Oe(e)) {
3591
- const { loadingDelay: t } = j();
3583
+ const Pn = (e) => {
3584
+ if (e && bn(e) && Me(e)) {
3585
+ const { loadingDelay: t } = F();
3592
3586
  let r;
3593
- return typeof window < "u" && I() != null && t ? r = window.setTimeout(
3594
- () => ye.set(!0),
3587
+ return typeof window < "u" && w() != null && t ? r = window.setTimeout(
3588
+ () => de.set(!0),
3595
3589
  t
3596
- ) : ye.set(!0), At(e).then(() => {
3597
- se.set(e);
3590
+ ) : de.set(!0), Tt(e).then(() => {
3591
+ ne.set(e);
3598
3592
  }).finally(() => {
3599
- clearTimeout(r), ye.set(!1);
3593
+ clearTimeout(r), de.set(!1);
3600
3594
  });
3601
3595
  }
3602
- return se.set(e);
3603
- }, V = On(Mn({}, se), {
3604
- set: Nn
3605
- }), fe = (e) => {
3596
+ return ne.set(e);
3597
+ }, k = Mn(An({}, ne), {
3598
+ set: Pn
3599
+ }), he = (e) => {
3606
3600
  const t = /* @__PURE__ */ Object.create(null);
3607
3601
  return (n) => {
3608
3602
  const i = JSON.stringify(n);
3609
3603
  return i in t ? t[i] : t[i] = e(n);
3610
3604
  };
3611
3605
  };
3612
- var wn = Object.defineProperty, oe = Object.getOwnPropertySymbols, Pt = Object.prototype.hasOwnProperty, Mt = Object.prototype.propertyIsEnumerable, Ye = (e, t, r) => t in e ? wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ce = (e, t) => {
3606
+ var Nn = Object.defineProperty, ie = Object.getOwnPropertySymbols, St = Object.prototype.hasOwnProperty, At = Object.prototype.propertyIsEnumerable, Je = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ie = (e, t) => {
3613
3607
  for (var r in t || (t = {}))
3614
- Pt.call(t, r) && Ye(e, r, t[r]);
3615
- if (oe)
3616
- for (var r of oe(t))
3617
- Mt.call(t, r) && Ye(e, r, t[r]);
3608
+ St.call(t, r) && Je(e, r, t[r]);
3609
+ if (ie)
3610
+ for (var r of ie(t))
3611
+ At.call(t, r) && Je(e, r, t[r]);
3618
3612
  return e;
3619
- }, X = (e, t) => {
3613
+ }, V = (e, t) => {
3620
3614
  var r = {};
3621
3615
  for (var n in e)
3622
- Pt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3623
- if (e != null && oe)
3624
- for (var n of oe(e))
3625
- t.indexOf(n) < 0 && Mt.call(e, n) && (r[n] = e[n]);
3616
+ St.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3617
+ if (e != null && ie)
3618
+ for (var n of ie(e))
3619
+ t.indexOf(n) < 0 && At.call(e, n) && (r[n] = e[n]);
3626
3620
  return r;
3627
3621
  };
3628
- const J = (e, t) => {
3629
- const { formats: r } = j();
3622
+ const Q = (e, t) => {
3623
+ const { formats: r } = F();
3630
3624
  if (e in r && t in r[e])
3631
3625
  return r[e][t];
3632
3626
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3633
- }, In = fe(
3627
+ }, On = he(
3634
3628
  (e) => {
3635
- var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
3629
+ var t = e, { locale: r, format: n } = t, i = V(t, ["locale", "format"]);
3636
3630
  if (r == null)
3637
3631
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3638
- return n && (i = J("number", n)), new Intl.NumberFormat(r, i);
3632
+ return n && (i = Q("number", n)), new Intl.NumberFormat(r, i);
3639
3633
  }
3640
- ), Ln = fe(
3634
+ ), wn = he(
3641
3635
  (e) => {
3642
- var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
3636
+ var t = e, { locale: r, format: n } = t, i = V(t, ["locale", "format"]);
3643
3637
  if (r == null)
3644
3638
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3645
- return n ? i = J("date", n) : Object.keys(i).length === 0 && (i = J("date", "short")), new Intl.DateTimeFormat(r, i);
3639
+ return n ? i = Q("date", n) : Object.keys(i).length === 0 && (i = Q("date", "short")), new Intl.DateTimeFormat(r, i);
3646
3640
  }
3647
- ), Cn = fe(
3641
+ ), In = he(
3648
3642
  (e) => {
3649
- var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
3643
+ var t = e, { locale: r, format: n } = t, i = V(t, ["locale", "format"]);
3650
3644
  if (r == null)
3651
3645
  throw new Error(
3652
3646
  '[svelte-i18n] A "locale" must be set to format time values'
3653
3647
  );
3654
- return n ? i = J("time", n) : Object.keys(i).length === 0 && (i = J("time", "short")), new Intl.DateTimeFormat(r, i);
3648
+ return n ? i = Q("time", n) : Object.keys(i).length === 0 && (i = Q("time", "short")), new Intl.DateTimeFormat(r, i);
3655
3649
  }
3656
- ), $n = (e = {}) => {
3650
+ ), Ln = (e = {}) => {
3657
3651
  var t = e, {
3658
- locale: r = I()
3659
- } = t, n = X(t, [
3652
+ locale: r = w()
3653
+ } = t, n = V(t, [
3660
3654
  "locale"
3661
3655
  ]);
3662
- return In(Ce({ locale: r }, n));
3663
- }, Rn = (e = {}) => {
3656
+ return On(Ie({ locale: r }, n));
3657
+ }, Cn = (e = {}) => {
3664
3658
  var t = e, {
3665
- locale: r = I()
3666
- } = t, n = X(t, [
3659
+ locale: r = w()
3660
+ } = t, n = V(t, [
3667
3661
  "locale"
3668
3662
  ]);
3669
- return Ln(Ce({ locale: r }, n));
3670
- }, Un = (e = {}) => {
3663
+ return wn(Ie({ locale: r }, n));
3664
+ }, $n = (e = {}) => {
3671
3665
  var t = e, {
3672
- locale: r = I()
3673
- } = t, n = X(t, [
3666
+ locale: r = w()
3667
+ } = t, n = V(t, [
3674
3668
  "locale"
3675
3669
  ]);
3676
- return Cn(Ce({ locale: r }, n));
3677
- }, Dn = fe(
3670
+ return In(Ie({ locale: r }, n));
3671
+ }, Rn = he(
3678
3672
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3679
- (e, t = I()) => new cn(e, t, j().formats, {
3680
- ignoreTag: j().ignoreTag
3673
+ (e, t = w()) => new ln(e, t, F().formats, {
3674
+ ignoreTag: F().ignoreTag
3681
3675
  })
3682
- ), Gn = (e, t = {}) => {
3676
+ ), Un = (e, t = {}) => {
3683
3677
  var r, n, i, s;
3684
3678
  let u = t;
3685
3679
  typeof e == "object" && (u = e, e = u.id);
3686
3680
  const {
3687
3681
  values: a,
3688
- locale: l = I(),
3682
+ locale: l = w(),
3689
3683
  default: o
3690
3684
  } = u;
3691
3685
  if (l == null)
3692
3686
  throw new Error(
3693
3687
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3694
3688
  );
3695
- let h = Bt(e, l);
3689
+ let h = vt(e, l);
3696
3690
  if (!h)
3697
- h = (s = (i = (n = (r = j()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
3691
+ h = (s = (i = (n = (r = F()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
3698
3692
  else if (typeof h != "string")
3699
3693
  return console.warn(
3700
3694
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3703,7 +3697,7 @@ const J = (e, t) => {
3703
3697
  return h;
3704
3698
  let f = h;
3705
3699
  try {
3706
- f = Dn(h, l).format(a);
3700
+ f = Rn(h, l).format(a);
3707
3701
  } catch (c) {
3708
3702
  c instanceof Error && console.warn(
3709
3703
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3711,18 +3705,18 @@ const J = (e, t) => {
3711
3705
  );
3712
3706
  }
3713
3707
  return f;
3714
- }, Fn = (e, t) => Un(t).format(e), jn = (e, t) => Rn(t).format(e), kn = (e, t) => $n(t).format(e), Vn = (e, t = I()) => Bt(e, t), Xn = k([V, Y], () => Gn);
3715
- k([V], () => Fn);
3716
- k([V], () => jn);
3717
- k([V], () => kn);
3718
- k([V, Y], () => Vn);
3719
- function Ke(e, t) {
3720
- St(e, t);
3721
- }
3722
- function Wn(e) {
3723
- V.set(e);
3724
- }
3725
- const et = {
3708
+ }, Dn = (e, t) => $n(t).format(e), Gn = (e, t) => Cn(t).format(e), Fn = (e, t) => Ln(t).format(e), jn = (e, t = w()) => vt(e, t), kn = j([k, q], () => Un);
3709
+ j([k], () => Dn);
3710
+ j([k], () => Gn);
3711
+ j([k], () => Fn);
3712
+ j([k, q], () => jn);
3713
+ function qe(e, t) {
3714
+ Bt(e, t);
3715
+ }
3716
+ function Vn(e) {
3717
+ k.set(e);
3718
+ }
3719
+ const Ye = {
3726
3720
  en: {
3727
3721
  betsButtonString: "My Bets"
3728
3722
  },
@@ -3763,61 +3757,61 @@ const et = {
3763
3757
  betsButtonString: "My Bets"
3764
3758
  }
3765
3759
  };
3766
- function zn(e) {
3767
- wt(e, "svelte-ikpaqv", '.MyBetsButton{cursor:pointer}@container (min-width:991px){.MyBetsButton{margin:0 5px}}.MyBetsButton .MyBetsButtonWrapper{display:flex;align-content:center;justify-content:center;flex-direction:column;background-color:transparent;border:none;width:100%;min-width:60px}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonCount{margin:auto}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonCount .MyBetsCountNumber{background-color:var(--emw--button-contrast-background, #FD2839);height:21px;display:flex;justify-content:center;align-items:center;border-radius:100%;width:22px}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonCount .MyBetsCountNumber p{margin:0;font-size:12px;font-weight:500;color:var(--emw--color-white, #FFFFFF);font-family:var(--emw--font-family, "Roboto")}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonTitle{margin-top:5px;text-align:center}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonTitle p{margin:0;font-size:12px;text-transform:uppercase;font-weight:500;color:var(--emw--color-white, #FFFFFF);font-family:var(--emw--font-family, "Roboto")}');
3760
+ function Xn(e) {
3761
+ Nt(e, "svelte-ikpaqv", '.MyBetsButton{cursor:pointer}@container (min-width:991px){.MyBetsButton{margin:0 5px}}.MyBetsButton .MyBetsButtonWrapper{display:flex;align-content:center;justify-content:center;flex-direction:column;background-color:transparent;border:none;width:100%;min-width:60px}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonCount{margin:auto}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonCount .MyBetsCountNumber{background-color:var(--emw--button-contrast-background, #FD2839);height:21px;display:flex;justify-content:center;align-items:center;border-radius:100%;width:22px}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonCount .MyBetsCountNumber p{margin:0;font-size:12px;font-weight:500;color:var(--emw--color-white, #FFFFFF);font-family:var(--emw--font-family, "Roboto")}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonTitle{margin-top:5px;text-align:center}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonTitle p{margin:0;font-size:12px;text-transform:uppercase;font-weight:500;color:var(--emw--color-white, #FFFFFF);font-family:var(--emw--font-family, "Roboto")}');
3768
3762
  }
3769
- function Zn(e) {
3763
+ function Wn(e) {
3770
3764
  let t, r, n, i, s, u, a, l, o, h = (
3771
3765
  /*$_*/
3772
3766
  e[2]("betsButtonString") + ""
3773
- ), f, c, g;
3767
+ ), f, c, y;
3774
3768
  return {
3775
3769
  c() {
3776
- t = P("div"), r = P("button"), n = P("div"), i = P("span"), s = P("p"), u = Ee(
3770
+ t = A("div"), r = A("button"), n = A("div"), i = A("span"), s = A("p"), u = ge(
3777
3771
  /*betsData*/
3778
3772
  e[1]
3779
- ), a = Ct(), l = P("div"), o = P("p"), f = Ee(h), $(i, "class", "MyBetsCountNumber"), $(n, "class", "MyBetsButtonCount"), $(l, "class", "MyBetsButtonTitle"), $(r, "class", "MyBetsButtonWrapper"), $(t, "class", "MyBetsButton");
3773
+ ), a = It(), l = A("div"), o = A("p"), f = ge(h), C(i, "class", "MyBetsCountNumber"), C(n, "class", "MyBetsButtonCount"), C(l, "class", "MyBetsButtonTitle"), C(r, "class", "MyBetsButtonWrapper"), C(t, "class", "MyBetsButton");
3780
3774
  },
3781
- m(d, E) {
3782
- it(d, t, E), T(t, r), T(r, n), T(n, i), T(i, s), T(s, u), T(r, a), T(r, l), T(l, o), T(o, f), e[10](t), c || (g = $t(
3775
+ m(g, E) {
3776
+ rt(g, t, E), S(t, r), S(r, n), S(n, i), S(i, s), S(s, u), S(r, a), S(r, l), S(l, o), S(o, f), e[10](t), c || (y = Lt(
3783
3777
  r,
3784
3778
  "click",
3785
3779
  /*click_handler*/
3786
3780
  e[9]
3787
3781
  ), c = !0);
3788
3782
  },
3789
- p(d, [E]) {
3783
+ p(g, [E]) {
3790
3784
  E & /*betsData*/
3791
- 2 && Ue(
3785
+ 2 && $e(
3792
3786
  u,
3793
3787
  /*betsData*/
3794
- d[1]
3788
+ g[1]
3795
3789
  ), E & /*$_*/
3796
3790
  4 && h !== (h = /*$_*/
3797
- d[2]("betsButtonString") + "") && Ue(f, h);
3791
+ g[2]("betsButtonString") + "") && $e(f, h);
3798
3792
  },
3799
3793
  i: H,
3800
3794
  o: H,
3801
- d(d) {
3802
- d && Ie(t), e[10](null), c = !1, g();
3795
+ d(g) {
3796
+ g && Oe(t), e[10](null), c = !1, y();
3803
3797
  }
3804
3798
  };
3805
3799
  }
3806
- function Qn(e, t, r) {
3800
+ function zn(e, t, r) {
3807
3801
  let n;
3808
- Nt(e, Xn, (m) => r(2, n = m));
3802
+ Pt(e, kn, (m) => r(2, n = m));
3809
3803
  let { lang: i = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: a } = t, { translationurl: l = "" } = t, o, h = 0;
3810
3804
  const f = () => {
3811
3805
  fetch(l).then((v) => v.json()).then((v) => {
3812
- Object.keys(v).forEach((S) => {
3813
- Ke(S, v[S]);
3806
+ Object.keys(v).forEach((T) => {
3807
+ qe(T, v[T]);
3814
3808
  });
3815
3809
  }).catch((v) => {
3816
3810
  console.log(v);
3817
3811
  });
3818
3812
  }, c = () => {
3819
- Wn(i);
3820
- }, g = (m, v) => {
3813
+ Vn(i);
3814
+ }, y = (m, v) => {
3821
3815
  o.dispatchEvent(new CustomEvent(
3822
3816
  m,
3823
3817
  {
@@ -3827,28 +3821,28 @@ function Qn(e, t, r) {
3827
3821
  // propagate across the shadow DOM
3828
3822
  }
3829
3823
  ));
3830
- }, d = () => {
3824
+ }, g = () => {
3831
3825
  window.postMessage({ type: "OMFE:getBetslipSelectionsCount" }, "*");
3832
3826
  }, E = (m) => {
3833
- const { type: v, payload: S } = m.data;
3827
+ const { type: v, payload: T } = m.data;
3834
3828
  if (m.data)
3835
3829
  switch (v) {
3836
3830
  case "OMFE:betslipSelectionsCount":
3837
- r(1, h = S.count), localStorage.setItem("OMFE:betSlipCount", h.toString());
3831
+ r(1, h = T.count), localStorage.setItem("OMFE:betSlipCount", h.toString());
3838
3832
  break;
3839
3833
  }
3840
3834
  };
3841
- Gt(() => {
3835
+ Ut(() => {
3842
3836
  const m = localStorage.getItem("OMFE:betSlipCount");
3843
- return r(1, h = m !== null ? Number(m) : 0), d(), window.addEventListener("message", E, !1), () => {
3837
+ return r(1, h = m !== null ? Number(m) : 0), g(), window.addEventListener("message", E, !1), () => {
3844
3838
  window.removeEventListener("message", E);
3845
3839
  };
3846
- }), Object.keys(et).forEach((m) => {
3847
- Ke(m, et[m]);
3840
+ }), Object.keys(Ye).forEach((m) => {
3841
+ qe(m, Ye[m]);
3848
3842
  });
3849
- const B = (m) => g("betslipClick", {});
3850
- function O(m) {
3851
- xe[m ? "unshift" : "push"](() => {
3843
+ const B = (m) => y("betslipClick", {});
3844
+ function P(m) {
3845
+ ye[m ? "unshift" : "push"](() => {
3852
3846
  o = m, r(0, o);
3853
3847
  });
3854
3848
  }
@@ -3857,32 +3851,32 @@ function Qn(e, t, r) {
3857
3851
  }, e.$$.update = () => {
3858
3852
  e.$$.dirty & /*lang*/
3859
3853
  16 && i && c(), e.$$.dirty & /*clientstyling, customStylingContainer*/
3860
- 33 && s && o && er(o, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
3861
- 65 && u && o && tr(o, u), e.$$.dirty & /*mbsource, customStylingContainer*/
3862
- 129 && a && o && rr(o, `${a}.Style`), e.$$.dirty & /*translationurl*/
3854
+ 33 && s && o && Yt(o, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
3855
+ 65 && u && o && Kt(o, u), e.$$.dirty & /*mbsource, customStylingContainer*/
3856
+ 129 && a && o && er(o, `${a}.Style`), e.$$.dirty & /*translationurl*/
3863
3857
  256 && l && f();
3864
3858
  }, [
3865
3859
  o,
3866
3860
  h,
3867
3861
  n,
3868
- g,
3862
+ y,
3869
3863
  i,
3870
3864
  s,
3871
3865
  u,
3872
3866
  a,
3873
3867
  l,
3874
3868
  B,
3875
- O
3869
+ P
3876
3870
  ];
3877
3871
  }
3878
- class Jn extends Yt {
3872
+ class Zn extends Jt {
3879
3873
  constructor(t) {
3880
- super(), Jt(
3874
+ super(), Zt(
3881
3875
  this,
3882
3876
  t,
3883
- Qn,
3884
- Zn,
3885
- rt,
3877
+ zn,
3878
+ Wn,
3879
+ et,
3886
3880
  {
3887
3881
  lang: 4,
3888
3882
  clientstyling: 5,
@@ -3890,41 +3884,41 @@ class Jn extends Yt {
3890
3884
  mbsource: 7,
3891
3885
  translationurl: 8
3892
3886
  },
3893
- zn
3887
+ Xn
3894
3888
  );
3895
3889
  }
3896
3890
  get lang() {
3897
3891
  return this.$$.ctx[4];
3898
3892
  }
3899
3893
  set lang(t) {
3900
- this.$$set({ lang: t }), w();
3894
+ this.$$set({ lang: t }), O();
3901
3895
  }
3902
3896
  get clientstyling() {
3903
3897
  return this.$$.ctx[5];
3904
3898
  }
3905
3899
  set clientstyling(t) {
3906
- this.$$set({ clientstyling: t }), w();
3900
+ this.$$set({ clientstyling: t }), O();
3907
3901
  }
3908
3902
  get clientstylingurl() {
3909
3903
  return this.$$.ctx[6];
3910
3904
  }
3911
3905
  set clientstylingurl(t) {
3912
- this.$$set({ clientstylingurl: t }), w();
3906
+ this.$$set({ clientstylingurl: t }), O();
3913
3907
  }
3914
3908
  get mbsource() {
3915
3909
  return this.$$.ctx[7];
3916
3910
  }
3917
3911
  set mbsource(t) {
3918
- this.$$set({ mbsource: t }), w();
3912
+ this.$$set({ mbsource: t }), O();
3919
3913
  }
3920
3914
  get translationurl() {
3921
3915
  return this.$$.ctx[8];
3922
3916
  }
3923
3917
  set translationurl(t) {
3924
- this.$$set({ translationurl: t }), w();
3918
+ this.$$set({ translationurl: t }), O();
3925
3919
  }
3926
3920
  }
3927
- qt(Jn, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
3921
+ Qt(Zn, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
3928
3922
  export {
3929
- Jn as C
3923
+ Zn as C
3930
3924
  };