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

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,17 +1,17 @@
1
- var Lt = Object.defineProperty, Ct = Object.defineProperties;
2
- var $t = Object.getOwnPropertyDescriptors;
3
- var Re = Object.getOwnPropertySymbols;
4
- var Rt = Object.prototype.hasOwnProperty, Ut = Object.prototype.propertyIsEnumerable;
5
- var fe = (e, t, r) => t in e ? Lt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ue = (e, t) => {
1
+ var $t = Object.defineProperty, Rt = Object.defineProperties;
2
+ var Ut = Object.getOwnPropertyDescriptors;
3
+ var De = Object.getOwnPropertySymbols;
4
+ var Dt = Object.prototype.hasOwnProperty, Gt = Object.prototype.propertyIsEnumerable;
5
+ var me = (e, t, r) => t in e ? $t(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Rt.call(t, r) && fe(e, r, t[r]);
8
- if (Re)
9
- for (var r of Re(t))
10
- Ut.call(t, r) && fe(e, r, t[r]);
7
+ Dt.call(t, r) && me(e, r, t[r]);
8
+ if (De)
9
+ for (var r of De(t))
10
+ Gt.call(t, r) && me(e, r, t[r]);
11
11
  return e;
12
- }, De = (e, t) => Ct(e, $t(t));
13
- var B = (e, t, r) => (fe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Ge = (e, t, r) => new Promise((n, i) => {
12
+ }, Fe = (e, t) => Rt(e, Ut(t));
13
+ var B = (e, t, r) => (me(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var je = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (h) => {
16
16
  try {
17
17
  u(r.next(h));
@@ -27,49 +27,49 @@ var Ge = (e, t, r) => new Promise((n, i) => {
27
27
  }, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, a);
28
28
  u((r = r.apply(e, t)).next());
29
29
  });
30
- function T() {
30
+ function S() {
31
31
  }
32
- function st(e) {
32
+ function at(e) {
33
33
  return e();
34
34
  }
35
- function Fe() {
35
+ function ke() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function q(e) {
39
- e.forEach(st);
38
+ function Y(e) {
39
+ e.forEach(at);
40
40
  }
41
- function we(e) {
41
+ function Le(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function ot(e, t) {
44
+ function ut(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function Dt(e) {
47
+ function Ft(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function at(e, ...t) {
50
+ function ht(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
54
- return T;
54
+ return S;
55
55
  }
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function Gt(e, t, r) {
60
- e.$$.on_destroy.push(at(t, r));
59
+ function jt(e, t, r) {
60
+ e.$$.on_destroy.push(ht(t, r));
61
61
  }
62
62
  function A(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function Ft(e, t, r) {
66
- const n = jt(e);
65
+ function kt(e, t, r) {
66
+ const n = Vt(e);
67
67
  if (!n.getElementById(t)) {
68
68
  const i = M("style");
69
- i.id = t, i.textContent = r, kt(n, i);
69
+ i.id = t, i.textContent = r, Xt(n, i);
70
70
  }
71
71
  }
72
- function jt(e) {
72
+ function Vt(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,42 +79,42 @@ function jt(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function kt(e, t) {
82
+ function Xt(e, t) {
83
83
  return A(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
87
87
  ), t.sheet;
88
88
  }
89
- function ut(e, t, r) {
89
+ function lt(e, t, r) {
90
90
  e.insertBefore(t, r || null);
91
91
  }
92
- function Ie(e) {
92
+ function Ce(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
95
  function M(e) {
96
96
  return document.createElement(e);
97
97
  }
98
- function xe(e) {
98
+ function ve(e) {
99
99
  return document.createTextNode(e);
100
100
  }
101
- function Vt() {
102
- return xe(" ");
101
+ function Wt() {
102
+ return ve(" ");
103
103
  }
104
- function Xt(e, t, r, n) {
104
+ function zt(e, t, r, n) {
105
105
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
106
106
  }
107
- function $(e, t, r) {
107
+ function R(e, t, r) {
108
108
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
109
109
  }
110
- function Wt(e) {
110
+ function Zt(e) {
111
111
  return Array.from(e.childNodes);
112
112
  }
113
- function je(e, t) {
113
+ function Ve(e, t) {
114
114
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
115
115
  t);
116
116
  }
117
- function zt(e) {
117
+ function Qt(e) {
118
118
  const t = {};
119
119
  return e.childNodes.forEach(
120
120
  /** @param {Element} node */
@@ -123,95 +123,95 @@ function zt(e) {
123
123
  }
124
124
  ), t;
125
125
  }
126
- let Z;
127
- function z(e) {
128
- Z = e;
126
+ let Q;
127
+ function Z(e) {
128
+ Q = e;
129
129
  }
130
- function Zt() {
131
- if (!Z)
130
+ function Jt() {
131
+ if (!Q)
132
132
  throw new Error("Function called outside component initialization");
133
- return Z;
133
+ return Q;
134
134
  }
135
- function Qt(e) {
136
- Zt().$$.on_mount.push(e);
137
- }
138
- const R = [], Ee = [];
139
- let U = [];
140
- const ke = [], Jt = /* @__PURE__ */ Promise.resolve();
141
- let ve = !1;
142
- function qt() {
143
- ve || (ve = !0, Jt.then(w));
144
- }
145
- function _e(e) {
146
- U.push(e);
147
- }
148
- const ce = /* @__PURE__ */ new Set();
149
- let L = 0;
150
- function w() {
151
- if (L !== 0)
135
+ function qt(e) {
136
+ Jt().$$.on_mount.push(e);
137
+ }
138
+ const U = [], _e = [];
139
+ let D = [];
140
+ const Xe = [], Yt = /* @__PURE__ */ Promise.resolve();
141
+ let Be = !1;
142
+ function Kt() {
143
+ Be || (Be = !0, Yt.then(I));
144
+ }
145
+ function He(e) {
146
+ D.push(e);
147
+ }
148
+ const pe = /* @__PURE__ */ new Set();
149
+ let C = 0;
150
+ function I() {
151
+ if (C !== 0)
152
152
  return;
153
- const e = Z;
153
+ const e = Q;
154
154
  do {
155
155
  try {
156
- for (; L < R.length; ) {
157
- const t = R[L];
158
- L++, z(t), Yt(t.$$);
156
+ for (; C < U.length; ) {
157
+ const t = U[C];
158
+ C++, Z(t), er(t.$$);
159
159
  }
160
160
  } catch (t) {
161
- throw R.length = 0, L = 0, t;
161
+ throw U.length = 0, C = 0, t;
162
162
  }
163
- for (z(null), R.length = 0, L = 0; Ee.length; )
164
- Ee.pop()();
165
- for (let t = 0; t < U.length; t += 1) {
166
- const r = U[t];
167
- ce.has(r) || (ce.add(r), r());
163
+ for (Z(null), U.length = 0, C = 0; _e.length; )
164
+ _e.pop()();
165
+ for (let t = 0; t < D.length; t += 1) {
166
+ const r = D[t];
167
+ pe.has(r) || (pe.add(r), r());
168
168
  }
169
- U.length = 0;
170
- } while (R.length);
171
- for (; ke.length; )
172
- ke.pop()();
173
- ve = !1, ce.clear(), z(e);
169
+ D.length = 0;
170
+ } while (U.length);
171
+ for (; Xe.length; )
172
+ Xe.pop()();
173
+ Be = !1, pe.clear(), Z(e);
174
174
  }
175
- function Yt(e) {
175
+ function er(e) {
176
176
  if (e.fragment !== null) {
177
- e.update(), q(e.before_update);
177
+ e.update(), Y(e.before_update);
178
178
  const t = e.dirty;
179
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(_e);
179
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(He);
180
180
  }
181
181
  }
182
- function Kt(e) {
182
+ function tr(e) {
183
183
  const t = [], r = [];
184
- U.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), U = t;
184
+ D.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), D = t;
185
185
  }
186
- const er = /* @__PURE__ */ new Set();
187
- function tr(e, t) {
188
- e && e.i && (er.delete(e), e.i(t));
186
+ const rr = /* @__PURE__ */ new Set();
187
+ function nr(e, t) {
188
+ e && e.i && (rr.delete(e), e.i(t));
189
189
  }
190
- function rr(e, t, r) {
190
+ function ir(e, t, r) {
191
191
  const { fragment: n, after_update: i } = e.$$;
192
- n && n.m(t, r), _e(() => {
193
- const s = e.$$.on_mount.map(st).filter(we);
194
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : q(s), e.$$.on_mount = [];
195
- }), i.forEach(_e);
192
+ n && n.m(t, r), He(() => {
193
+ const s = e.$$.on_mount.map(at).filter(Le);
194
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Y(s), e.$$.on_mount = [];
195
+ }), i.forEach(He);
196
196
  }
197
- function nr(e, t) {
197
+ function sr(e, t) {
198
198
  const r = e.$$;
199
- r.fragment !== null && (Kt(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
199
+ r.fragment !== null && (tr(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
200
200
  }
201
- function ir(e, t) {
202
- e.$$.dirty[0] === -1 && (R.push(e), qt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
201
+ function or(e, t) {
202
+ e.$$.dirty[0] === -1 && (U.push(e), Kt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
203
203
  }
204
- function sr(e, t, r, n, i, s, a = null, u = [-1]) {
205
- const h = Z;
206
- z(e);
204
+ function ar(e, t, r, n, i, s, a = null, u = [-1]) {
205
+ const h = Q;
206
+ Z(e);
207
207
  const o = e.$$ = {
208
208
  fragment: null,
209
209
  ctx: [],
210
210
  // state
211
211
  props: s,
212
- update: T,
212
+ update: S,
213
213
  not_equal: i,
214
- bound: Fe(),
214
+ bound: ke(),
215
215
  // lifecycle
216
216
  on_mount: [],
217
217
  on_destroy: [],
@@ -220,28 +220,28 @@ function sr(e, t, r, n, i, s, a = null, u = [-1]) {
220
220
  after_update: [],
221
221
  context: new Map(t.context || (h ? h.$$.context : [])),
222
222
  // everything else
223
- callbacks: Fe(),
223
+ callbacks: ke(),
224
224
  dirty: u,
225
225
  skip_bound: !1,
226
226
  root: t.target || h.$$.root
227
227
  };
228
228
  a && a(o.root);
229
229
  let l = !1;
230
- if (o.ctx = r ? r(e, t.props || {}, (f, c, ...y) => {
231
- const g = y.length ? y[0] : c;
232
- return o.ctx && i(o.ctx[f], o.ctx[f] = g) && (!o.skip_bound && o.bound[f] && o.bound[f](g), l && ir(e, f)), c;
233
- }) : [], o.update(), l = !0, q(o.before_update), o.fragment = n ? n(o.ctx) : !1, t.target) {
230
+ if (o.ctx = r ? r(e, t.props || {}, (f, c, ...g) => {
231
+ const d = g.length ? g[0] : c;
232
+ return o.ctx && i(o.ctx[f], o.ctx[f] = d) && (!o.skip_bound && o.bound[f] && o.bound[f](d), l && or(e, f)), c;
233
+ }) : [], o.update(), l = !0, Y(o.before_update), o.fragment = n ? n(o.ctx) : !1, t.target) {
234
234
  if (t.hydrate) {
235
- const f = Wt(t.target);
236
- o.fragment && o.fragment.l(f), f.forEach(Ie);
235
+ const f = Zt(t.target);
236
+ o.fragment && o.fragment.l(f), f.forEach(Ce);
237
237
  } else
238
238
  o.fragment && o.fragment.c();
239
- t.intro && tr(e.$$.fragment), rr(e, t.target, t.anchor), w();
239
+ t.intro && nr(e.$$.fragment), ir(e, t.target, t.anchor), I();
240
240
  }
241
- z(h);
241
+ Z(h);
242
242
  }
243
- let ht;
244
- typeof HTMLElement == "function" && (ht = class extends HTMLElement {
243
+ let ft;
244
+ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
245
245
  constructor(t, r, n) {
246
246
  super();
247
247
  /** The Svelte component constructor */
@@ -278,42 +278,42 @@ typeof HTMLElement == "function" && (ht = class extends HTMLElement {
278
278
  }
279
279
  }
280
280
  connectedCallback() {
281
- return Ge(this, null, function* () {
281
+ return je(this, null, function* () {
282
282
  if (this.$$cn = !0, !this.$$c) {
283
283
  let t = function(s) {
284
284
  return () => {
285
285
  let a;
286
286
  return {
287
287
  c: function() {
288
- a = M("slot"), s !== "default" && $(a, "name", s);
288
+ a = M("slot"), s !== "default" && R(a, "name", s);
289
289
  },
290
290
  /**
291
291
  * @param {HTMLElement} target
292
292
  * @param {HTMLElement} [anchor]
293
293
  */
294
294
  m: function(o, l) {
295
- ut(o, a, l);
295
+ lt(o, a, l);
296
296
  },
297
297
  d: function(o) {
298
- o && Ie(a);
298
+ o && Ce(a);
299
299
  }
300
300
  };
301
301
  };
302
302
  };
303
303
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
304
304
  return;
305
- const r = {}, n = zt(this);
305
+ const r = {}, n = Qt(this);
306
306
  for (const s of this.$$s)
307
307
  s in n && (r[s] = [t(s)]);
308
308
  for (const s of this.attributes) {
309
309
  const a = this.$$g_p(s.name);
310
- a in this.$$d || (this.$$d[a] = te(a, s.value, this.$$p_d, "toProp"));
310
+ a in this.$$d || (this.$$d[a] = re(a, s.value, this.$$p_d, "toProp"));
311
311
  }
312
312
  for (const s in this.$$p_d)
313
313
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
314
314
  this.$$c = new this.$$ctor({
315
315
  target: this.shadowRoot || this,
316
- props: De(Ue({}, this.$$d), {
316
+ props: Fe(Ge({}, this.$$d), {
317
317
  $$slots: r,
318
318
  $$scope: {
319
319
  ctx: []
@@ -324,7 +324,7 @@ typeof HTMLElement == "function" && (ht = class extends HTMLElement {
324
324
  this.$$r = !0;
325
325
  for (const s in this.$$p_d)
326
326
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
327
- const a = te(
327
+ const a = re(
328
328
  s,
329
329
  this.$$d[s],
330
330
  this.$$p_d,
@@ -348,7 +348,7 @@ typeof HTMLElement == "function" && (ht = class extends HTMLElement {
348
348
  // and setting attributes through setAttribute etc, this is helpful
349
349
  attributeChangedCallback(t, r, n) {
350
350
  var i;
351
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = te(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
351
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = re(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
352
352
  }
353
353
  disconnectedCallback() {
354
354
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -361,7 +361,7 @@ typeof HTMLElement == "function" && (ht = class extends HTMLElement {
361
361
  ) || t;
362
362
  }
363
363
  });
364
- function te(e, t, r, n) {
364
+ function re(e, t, r, n) {
365
365
  var s;
366
366
  const i = (s = r[e]) == null ? void 0 : s.type;
367
367
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -391,8 +391,8 @@ function te(e, t, r, n) {
391
391
  return t;
392
392
  }
393
393
  }
394
- function or(e, t, r, n, i, s) {
395
- let a = class extends ht {
394
+ function ur(e, t, r, n, i, s) {
395
+ let a = class extends ft {
396
396
  constructor() {
397
397
  super(e, r, i), this.$$p_d = t;
398
398
  }
@@ -409,7 +409,7 @@ function or(e, t, r, n, i, s) {
409
409
  },
410
410
  set(h) {
411
411
  var o;
412
- h = te(u, h, t), this.$$d[u] = h, (o = this.$$c) == null || o.$set({ [u]: h });
412
+ h = re(u, h, t), this.$$d[u] = h, (o = this.$$c) == null || o.$set({ [u]: h });
413
413
  }
414
414
  });
415
415
  }), n.forEach((u) => {
@@ -422,7 +422,7 @@ function or(e, t, r, n, i, s) {
422
422
  }), e.element = /** @type {any} */
423
423
  a, a;
424
424
  }
425
- class ar {
425
+ class hr {
426
426
  constructor() {
427
427
  /**
428
428
  * ### PRIVATE API
@@ -443,7 +443,7 @@ class ar {
443
443
  }
444
444
  /** @returns {void} */
445
445
  $destroy() {
446
- nr(this, 1), this.$destroy = T;
446
+ sr(this, 1), this.$destroy = S;
447
447
  }
448
448
  /**
449
449
  * @template {Extract<keyof Events, string>} K
@@ -452,8 +452,8 @@ class ar {
452
452
  * @returns {() => void}
453
453
  */
454
454
  $on(t, r) {
455
- if (!we(r))
456
- return T;
455
+ if (!Le(r))
456
+ return S;
457
457
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
458
458
  return n.push(r), () => {
459
459
  const i = n.indexOf(r);
@@ -465,18 +465,18 @@ class ar {
465
465
  * @returns {void}
466
466
  */
467
467
  $set(t) {
468
- this.$$set && !Dt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
468
+ this.$$set && !Ft(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
469
469
  }
470
470
  }
471
- const ur = "4";
472
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ur);
473
- function hr(e, t) {
471
+ const lr = "4";
472
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(lr);
473
+ function fr(e, t) {
474
474
  if (e) {
475
475
  const r = document.createElement("style");
476
476
  r.innerHTML = t, e.appendChild(r);
477
477
  }
478
478
  }
479
- function lr(e, t) {
479
+ function cr(e, t) {
480
480
  const r = new URL(t);
481
481
  fetch(r.href).then((n) => n.text()).then((n) => {
482
482
  const i = document.createElement("style");
@@ -485,7 +485,7 @@ function lr(e, t) {
485
485
  console.error("There was an error while trying to load client styling from URL", n);
486
486
  });
487
487
  }
488
- function fr(e, t, r) {
488
+ function mr(e, t, r) {
489
489
  if (window.emMessageBus) {
490
490
  const n = document.createElement("style");
491
491
  window.emMessageBus.subscribe(t, (i) => {
@@ -493,56 +493,56 @@ function fr(e, t, r) {
493
493
  });
494
494
  }
495
495
  }
496
- const C = [];
497
- function cr(e, t) {
496
+ const $ = [];
497
+ function pr(e, t) {
498
498
  return {
499
- subscribe: oe(e, t).subscribe
499
+ subscribe: ue(e, t).subscribe
500
500
  };
501
501
  }
502
- function oe(e, t = T) {
502
+ function ue(e, t = S) {
503
503
  let r;
504
504
  const n = /* @__PURE__ */ new Set();
505
505
  function i(u) {
506
- if (ot(e, u) && (e = u, r)) {
507
- const h = !C.length;
506
+ if (ut(e, u) && (e = u, r)) {
507
+ const h = !$.length;
508
508
  for (const o of n)
509
- o[1](), C.push(o, e);
509
+ o[1](), $.push(o, e);
510
510
  if (h) {
511
- for (let o = 0; o < C.length; o += 2)
512
- C[o][0](C[o + 1]);
513
- C.length = 0;
511
+ for (let o = 0; o < $.length; o += 2)
512
+ $[o][0]($[o + 1]);
513
+ $.length = 0;
514
514
  }
515
515
  }
516
516
  }
517
517
  function s(u) {
518
518
  i(u(e));
519
519
  }
520
- function a(u, h = T) {
520
+ function a(u, h = S) {
521
521
  const o = [u, h];
522
- return n.add(o), n.size === 1 && (r = t(i, s) || T), u(e), () => {
522
+ return n.add(o), n.size === 1 && (r = t(i, s) || S), u(e), () => {
523
523
  n.delete(o), n.size === 0 && r && (r(), r = null);
524
524
  };
525
525
  }
526
526
  return { set: i, update: s, subscribe: a };
527
527
  }
528
- function k(e, t, r) {
528
+ function V(e, t, r) {
529
529
  const n = !Array.isArray(e), i = n ? [e] : e;
530
530
  if (!i.every(Boolean))
531
531
  throw new Error("derived() expects stores as input, got a falsy value");
532
532
  const s = t.length < 2;
533
- return cr(r, (a, u) => {
533
+ return pr(r, (a, u) => {
534
534
  let h = !1;
535
535
  const o = [];
536
- let l = 0, f = T;
536
+ let l = 0, f = S;
537
537
  const c = () => {
538
538
  if (l)
539
539
  return;
540
540
  f();
541
- const g = t(n ? o[0] : o, a, u);
542
- s ? a(g) : f = we(g) ? g : T;
543
- }, y = i.map(
544
- (g, E) => at(
545
- g,
541
+ const d = t(n ? o[0] : o, a, u);
542
+ s ? a(d) : f = Le(d) ? d : S;
543
+ }, g = i.map(
544
+ (d, E) => ht(
545
+ d,
546
546
  (H) => {
547
547
  o[E] = H, l &= ~(1 << E), h && c();
548
548
  },
@@ -552,126 +552,112 @@ function k(e, t, r) {
552
552
  )
553
553
  );
554
554
  return h = !0, c(), function() {
555
- q(y), f(), h = !1;
555
+ Y(g), f(), h = !1;
556
556
  };
557
557
  });
558
558
  }
559
- function mr(e) {
559
+ function br(e) {
560
560
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
561
561
  }
562
- var pr = function(t) {
563
- return br(t) && !dr(t);
562
+ var dr = function(t) {
563
+ return gr(t) && !yr(t);
564
564
  };
565
- function br(e) {
565
+ function gr(e) {
566
566
  return !!e && typeof e == "object";
567
567
  }
568
- function dr(e) {
568
+ function yr(e) {
569
569
  var t = Object.prototype.toString.call(e);
570
- return t === "[object RegExp]" || t === "[object Date]" || xr(e);
570
+ return t === "[object RegExp]" || t === "[object Date]" || vr(e);
571
571
  }
572
- var gr = typeof Symbol == "function" && Symbol.for, yr = gr ? Symbol.for("react.element") : 60103;
573
- function xr(e) {
574
- return e.$$typeof === yr;
572
+ var Er = typeof Symbol == "function" && Symbol.for, xr = Er ? Symbol.for("react.element") : 60103;
573
+ function vr(e) {
574
+ return e.$$typeof === xr;
575
575
  }
576
- function Er(e) {
576
+ function _r(e) {
577
577
  return Array.isArray(e) ? [] : {};
578
578
  }
579
- function Q(e, t) {
580
- return t.clone !== !1 && t.isMergeableObject(e) ? D(Er(e), e, t) : e;
579
+ function J(e, t) {
580
+ return t.clone !== !1 && t.isMergeableObject(e) ? G(_r(e), e, t) : e;
581
581
  }
582
- function vr(e, t, r) {
582
+ function Br(e, t, r) {
583
583
  return e.concat(t).map(function(n) {
584
- return Q(n, r);
584
+ return J(n, r);
585
585
  });
586
586
  }
587
- function _r(e, t) {
587
+ function Hr(e, t) {
588
588
  if (!t.customMerge)
589
- return D;
589
+ return G;
590
590
  var r = t.customMerge(e);
591
- return typeof r == "function" ? r : D;
591
+ return typeof r == "function" ? r : G;
592
592
  }
593
- function Br(e) {
593
+ function Sr(e) {
594
594
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
595
595
  return Object.propertyIsEnumerable.call(e, t);
596
596
  }) : [];
597
597
  }
598
- function Ve(e) {
599
- return Object.keys(e).concat(Br(e));
598
+ function We(e) {
599
+ return Object.keys(e).concat(Sr(e));
600
600
  }
601
- function lt(e, t) {
601
+ function ct(e, t) {
602
602
  try {
603
603
  return t in e;
604
604
  } catch (r) {
605
605
  return !1;
606
606
  }
607
607
  }
608
- function Hr(e, t) {
609
- return lt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
608
+ function Tr(e, t) {
609
+ return ct(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
610
610
  }
611
- function Tr(e, t, r) {
611
+ function Ar(e, t, r) {
612
612
  var n = {};
613
- return r.isMergeableObject(e) && Ve(e).forEach(function(i) {
614
- n[i] = Q(e[i], r);
615
- }), Ve(t).forEach(function(i) {
616
- Hr(e, i) || (lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = _r(i, r)(e[i], t[i], r) : n[i] = Q(t[i], r));
613
+ return r.isMergeableObject(e) && We(e).forEach(function(i) {
614
+ n[i] = J(e[i], r);
615
+ }), We(t).forEach(function(i) {
616
+ Tr(e, i) || (ct(e, i) && r.isMergeableObject(t[i]) ? n[i] = Hr(i, r)(e[i], t[i], r) : n[i] = J(t[i], r));
617
617
  }), n;
618
618
  }
619
- function D(e, t, r) {
620
- r = r || {}, r.arrayMerge = r.arrayMerge || vr, r.isMergeableObject = r.isMergeableObject || pr, r.cloneUnlessOtherwiseSpecified = Q;
619
+ function G(e, t, r) {
620
+ r = r || {}, r.arrayMerge = r.arrayMerge || Br, r.isMergeableObject = r.isMergeableObject || dr, r.cloneUnlessOtherwiseSpecified = J;
621
621
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
622
- return s ? n ? r.arrayMerge(e, t, r) : Tr(e, t, r) : Q(t, r);
622
+ return s ? n ? r.arrayMerge(e, t, r) : Ar(e, t, r) : J(t, r);
623
623
  }
624
- D.all = function(t, r) {
624
+ G.all = function(t, r) {
625
625
  if (!Array.isArray(t))
626
626
  throw new Error("first argument should be an array");
627
627
  return t.reduce(function(n, i) {
628
- return D(n, i, r);
628
+ return G(n, i, r);
629
629
  }, {});
630
630
  };
631
- var Sr = D, Ar = Sr;
632
- const Mr = /* @__PURE__ */ mr(Ar);
633
- /*! *****************************************************************************
634
- Copyright (c) Microsoft Corporation.
635
-
636
- Permission to use, copy, modify, and/or distribute this software for any
637
- purpose with or without fee is hereby granted.
638
-
639
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
640
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
641
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
642
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
643
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
644
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
645
- PERFORMANCE OF THIS SOFTWARE.
646
- ***************************************************************************** */
647
- var Be = function(e, t) {
648
- return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
631
+ var Pr = G, Mr = Pr;
632
+ const Or = /* @__PURE__ */ br(Mr);
633
+ var Se = function(e, t) {
634
+ return Se = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
649
635
  r.__proto__ = n;
650
636
  } || function(r, n) {
651
637
  for (var i in n)
652
638
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
653
- }, Be(e, t);
639
+ }, Se(e, t);
654
640
  };
655
- function ae(e, t) {
641
+ function he(e, t) {
656
642
  if (typeof t != "function" && t !== null)
657
643
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
658
- Be(e, t);
644
+ Se(e, t);
659
645
  function r() {
660
646
  this.constructor = e;
661
647
  }
662
648
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
663
649
  }
664
- var d = function() {
665
- return d = Object.assign || function(t) {
650
+ var P = function() {
651
+ return P = Object.assign || function(t) {
666
652
  for (var r, n = 1, i = arguments.length; n < i; n++) {
667
653
  r = arguments[n];
668
654
  for (var s in r)
669
655
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
670
656
  }
671
657
  return t;
672
- }, d.apply(this, arguments);
658
+ }, P.apply(this, arguments);
673
659
  };
674
- function Pr(e, t) {
660
+ function Nr(e, t) {
675
661
  var r = {};
676
662
  for (var n in e)
677
663
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -680,43 +666,43 @@ function Pr(e, t) {
680
666
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
681
667
  return r;
682
668
  }
683
- function me(e, t, r) {
684
- if (arguments.length === 2)
669
+ function be(e, t, r) {
670
+ if (r || arguments.length === 2)
685
671
  for (var n = 0, i = t.length, s; n < i; n++)
686
672
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
687
- return e.concat(s || t);
673
+ return e.concat(s || Array.prototype.slice.call(t));
688
674
  }
689
- function pe(e, t) {
690
- var r = t && t.cache ? t.cache : $r, n = t && t.serializer ? t.serializer : Lr, i = t && t.strategy ? t.strategy : wr;
675
+ function de(e, t) {
676
+ var r = t && t.cache ? t.cache : Ur, n = t && t.serializer ? t.serializer : $r, i = t && t.strategy ? t.strategy : Lr;
691
677
  return i(e, {
692
678
  cache: r,
693
679
  serializer: n
694
680
  });
695
681
  }
696
- function Nr(e) {
682
+ function wr(e) {
697
683
  return e == null || typeof e == "number" || typeof e == "boolean";
698
684
  }
699
- function Or(e, t, r, n) {
700
- var i = Nr(n) ? n : r(n), s = t.get(i);
685
+ function Ir(e, t, r, n) {
686
+ var i = wr(n) ? n : r(n), s = t.get(i);
701
687
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
702
688
  }
703
- function ft(e, t, r) {
689
+ function mt(e, t, r) {
704
690
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
705
691
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
706
692
  }
707
- function ct(e, t, r, n, i) {
693
+ function pt(e, t, r, n, i) {
708
694
  return r.bind(t, e, n, i);
709
695
  }
710
- function wr(e, t) {
711
- var r = e.length === 1 ? Or : ft;
712
- return ct(e, this, r, t.cache.create(), t.serializer);
696
+ function Lr(e, t) {
697
+ var r = e.length === 1 ? Ir : mt;
698
+ return pt(e, this, r, t.cache.create(), t.serializer);
713
699
  }
714
- function Ir(e, t) {
715
- return ct(e, this, ft, t.cache.create(), t.serializer);
700
+ function Cr(e, t) {
701
+ return pt(e, this, mt, t.cache.create(), t.serializer);
716
702
  }
717
- var Lr = function() {
703
+ var $r = function() {
718
704
  return JSON.stringify(arguments);
719
- }, Cr = (
705
+ }, Rr = (
720
706
  /** @class */
721
707
  function() {
722
708
  function e() {
@@ -728,61 +714,71 @@ var Lr = function() {
728
714
  this.cache[t] = r;
729
715
  }, e;
730
716
  }()
731
- ), $r = {
717
+ ), Ur = {
732
718
  create: function() {
733
- return new Cr();
719
+ return new Rr();
734
720
  }
735
- }, be = {
736
- variadic: Ir
737
- }, p;
721
+ }, ge = {
722
+ variadic: Cr
723
+ }, se = function() {
724
+ return se = Object.assign || function(t) {
725
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
726
+ r = arguments[n];
727
+ for (var s in r)
728
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
729
+ }
730
+ return t;
731
+ }, se.apply(this, arguments);
732
+ };
733
+ var p;
738
734
  (function(e) {
739
735
  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";
740
736
  })(p || (p = {}));
741
- var x;
737
+ var y;
742
738
  (function(e) {
743
739
  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";
744
- })(x || (x = {}));
745
- var G;
740
+ })(y || (y = {}));
741
+ var F;
746
742
  (function(e) {
747
743
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
748
- })(G || (G = {}));
749
- function Xe(e) {
750
- return e.type === x.literal;
751
- }
752
- function Rr(e) {
753
- return e.type === x.argument;
754
- }
755
- function mt(e) {
756
- return e.type === x.number;
744
+ })(F || (F = {}));
745
+ function ze(e) {
746
+ return e.type === y.literal;
757
747
  }
758
- function pt(e) {
759
- return e.type === x.date;
748
+ function Dr(e) {
749
+ return e.type === y.argument;
760
750
  }
761
751
  function bt(e) {
762
- return e.type === x.time;
752
+ return e.type === y.number;
763
753
  }
764
754
  function dt(e) {
765
- return e.type === x.select;
755
+ return e.type === y.date;
766
756
  }
767
757
  function gt(e) {
768
- return e.type === x.plural;
769
- }
770
- function Ur(e) {
771
- return e.type === x.pound;
758
+ return e.type === y.time;
772
759
  }
773
760
  function yt(e) {
774
- return e.type === x.tag;
761
+ return e.type === y.select;
762
+ }
763
+ function Et(e) {
764
+ return e.type === y.plural;
765
+ }
766
+ function Gr(e) {
767
+ return e.type === y.pound;
775
768
  }
776
769
  function xt(e) {
777
- return !!(e && typeof e == "object" && e.type === G.number);
770
+ return e.type === y.tag;
778
771
  }
779
- function He(e) {
780
- return !!(e && typeof e == "object" && e.type === G.dateTime);
772
+ function vt(e) {
773
+ return !!(e && typeof e == "object" && e.type === F.number);
781
774
  }
782
- var Et = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dr = /(?:[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;
783
- function Gr(e) {
775
+ function Te(e) {
776
+ return !!(e && typeof e == "object" && e.type === F.dateTime);
777
+ }
778
+ var _t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fr = /(?:[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;
779
+ function jr(e) {
784
780
  var t = {};
785
- return e.replace(Dr, function(r) {
781
+ return e.replace(Fr, function(r) {
786
782
  var n = r.length;
787
783
  switch (r[0]) {
788
784
  case "G":
@@ -871,11 +867,21 @@ function Gr(e) {
871
867
  return "";
872
868
  }), t;
873
869
  }
874
- var Fr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
875
- function jr(e) {
870
+ var x = function() {
871
+ return x = Object.assign || function(t) {
872
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
873
+ r = arguments[n];
874
+ for (var s in r)
875
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
876
+ }
877
+ return t;
878
+ }, x.apply(this, arguments);
879
+ };
880
+ var kr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
881
+ function Vr(e) {
876
882
  if (e.length === 0)
877
883
  throw new Error("Number skeleton cannot be empty");
878
- for (var t = e.split(Fr).filter(function(c) {
884
+ for (var t = e.split(kr).filter(function(c) {
879
885
  return c.length > 0;
880
886
  }), r = [], n = 0, i = t; n < i.length; n++) {
881
887
  var s = i[n], a = s.split("/");
@@ -890,17 +896,17 @@ function jr(e) {
890
896
  }
891
897
  return r;
892
898
  }
893
- function kr(e) {
899
+ function Xr(e) {
894
900
  return e.replace(/^(.*?)-/, "");
895
901
  }
896
- var We = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vt = /^(@+)?(\+|#+)?[rs]?$/g, Vr = /(\*)(0+)|(#+)(0+)|(0+)/g, _t = /^(0+)$/;
897
- function ze(e) {
902
+ var Ze = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Bt = /^(@+)?(\+|#+)?[rs]?$/g, Wr = /(\*)(0+)|(#+)(0+)|(0+)/g, Ht = /^(0+)$/;
903
+ function Qe(e) {
898
904
  var t = {};
899
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vt, function(r, n, i) {
905
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Bt, function(r, n, i) {
900
906
  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)), "";
901
907
  }), t;
902
908
  }
903
- function Bt(e) {
909
+ function St(e) {
904
910
  switch (e) {
905
911
  case "sign-auto":
906
912
  return {
@@ -940,7 +946,7 @@ function Bt(e) {
940
946
  };
941
947
  }
942
948
  }
943
- function Xr(e) {
949
+ function zr(e) {
944
950
  var t;
945
951
  if (e[0] === "E" && e[1] === "E" ? (t = {
946
952
  notation: "engineering"
@@ -948,17 +954,17 @@ function Xr(e) {
948
954
  notation: "scientific"
949
955
  }, e = e.slice(1)), t) {
950
956
  var r = e.slice(0, 2);
951
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !_t.test(e))
957
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ht.test(e))
952
958
  throw new Error("Malformed concise eng/scientific notation");
953
959
  t.minimumIntegerDigits = e.length;
954
960
  }
955
961
  return t;
956
962
  }
957
- function Ze(e) {
958
- var t = {}, r = Bt(e);
963
+ function Je(e) {
964
+ var t = {}, r = St(e);
959
965
  return r || t;
960
966
  }
961
- function Wr(e) {
967
+ function Zr(e) {
962
968
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
963
969
  var i = n[r];
964
970
  switch (i.stem) {
@@ -982,7 +988,7 @@ function Wr(e) {
982
988
  continue;
983
989
  case "measure-unit":
984
990
  case "unit":
985
- t.style = "unit", t.unit = kr(i.options[0]);
991
+ t.style = "unit", t.unit = Xr(i.options[0]);
986
992
  continue;
987
993
  case "compact-short":
988
994
  case "K":
@@ -993,13 +999,13 @@ function Wr(e) {
993
999
  t.notation = "compact", t.compactDisplay = "long";
994
1000
  continue;
995
1001
  case "scientific":
996
- t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(h, o) {
997
- return d(d({}, h), Ze(o));
1002
+ t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(h, o) {
1003
+ return x(x({}, h), Je(o));
998
1004
  }, {}));
999
1005
  continue;
1000
1006
  case "engineering":
1001
- t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(h, o) {
1002
- return d(d({}, h), Ze(o));
1007
+ t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(h, o) {
1008
+ return x(x({}, h), Je(o));
1003
1009
  }, {}));
1004
1010
  continue;
1005
1011
  case "notation-simple":
@@ -1044,45 +1050,45 @@ function Wr(e) {
1044
1050
  case "integer-width":
1045
1051
  if (i.options.length > 1)
1046
1052
  throw new RangeError("integer-width stems only accept a single optional option");
1047
- i.options[0].replace(Vr, function(h, o, l, f, c, y) {
1053
+ i.options[0].replace(Wr, function(h, o, l, f, c, g) {
1048
1054
  if (o)
1049
1055
  t.minimumIntegerDigits = l.length;
1050
1056
  else {
1051
1057
  if (f && c)
1052
1058
  throw new Error("We currently do not support maximum integer digits");
1053
- if (y)
1059
+ if (g)
1054
1060
  throw new Error("We currently do not support exact integer digits");
1055
1061
  }
1056
1062
  return "";
1057
1063
  });
1058
1064
  continue;
1059
1065
  }
1060
- if (_t.test(i.stem)) {
1066
+ if (Ht.test(i.stem)) {
1061
1067
  t.minimumIntegerDigits = i.stem.length;
1062
1068
  continue;
1063
1069
  }
1064
- if (We.test(i.stem)) {
1070
+ if (Ze.test(i.stem)) {
1065
1071
  if (i.options.length > 1)
1066
1072
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1067
- i.stem.replace(We, function(h, o, l, f, c, y) {
1068
- return l === "*" ? 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), "";
1073
+ i.stem.replace(Ze, function(h, o, l, f, c, g) {
1074
+ return l === "*" ? 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), "";
1069
1075
  });
1070
1076
  var s = i.options[0];
1071
- s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), ze(s)));
1077
+ s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), Qe(s)));
1072
1078
  continue;
1073
1079
  }
1074
- if (vt.test(i.stem)) {
1075
- t = d(d({}, t), ze(i.stem));
1080
+ if (Bt.test(i.stem)) {
1081
+ t = x(x({}, t), Qe(i.stem));
1076
1082
  continue;
1077
1083
  }
1078
- var a = Bt(i.stem);
1079
- a && (t = d(d({}, t), a));
1080
- var u = Xr(i.stem);
1081
- u && (t = d(d({}, t), u));
1084
+ var a = St(i.stem);
1085
+ a && (t = x(x({}, t), a));
1086
+ var u = zr(i.stem);
1087
+ u && (t = x(x({}, t), u));
1082
1088
  }
1083
1089
  return t;
1084
1090
  }
1085
- var ee = {
1091
+ var te = {
1086
1092
  "001": [
1087
1093
  "H",
1088
1094
  "h"
@@ -2497,13 +2503,13 @@ var ee = {
2497
2503
  "h"
2498
2504
  ]
2499
2505
  };
2500
- function zr(e, t) {
2506
+ function Qr(e, t) {
2501
2507
  for (var r = "", n = 0; n < e.length; n++) {
2502
2508
  var i = e.charAt(n);
2503
2509
  if (i === "j") {
2504
2510
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2505
2511
  s++, n++;
2506
- var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", o = Zr(t);
2512
+ var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", o = Jr(t);
2507
2513
  for ((o == "H" || o == "k") && (u = 0); u-- > 0; )
2508
2514
  r += h;
2509
2515
  for (; a-- > 0; )
@@ -2513,7 +2519,7 @@ function zr(e, t) {
2513
2519
  }
2514
2520
  return r;
2515
2521
  }
2516
- function Zr(e) {
2522
+ function Jr(e) {
2517
2523
  var t = e.hourCycle;
2518
2524
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2519
2525
  e.hourCycles && // @ts-ignore
@@ -2532,23 +2538,23 @@ function Zr(e) {
2532
2538
  }
2533
2539
  var r = e.language, n;
2534
2540
  r !== "root" && (n = e.maximize().region);
2535
- var i = ee[n || ""] || ee[r || ""] || ee["".concat(r, "-001")] || ee["001"];
2541
+ var i = te[n || ""] || te[r || ""] || te["".concat(r, "-001")] || te["001"];
2536
2542
  return i[0];
2537
2543
  }
2538
- var de, Qr = new RegExp("^".concat(Et.source, "*")), Jr = new RegExp("".concat(Et.source, "*$"));
2544
+ var ye, qr = new RegExp("^".concat(_t.source, "*")), Yr = new RegExp("".concat(_t.source, "*$"));
2539
2545
  function b(e, t) {
2540
2546
  return { start: e, end: t };
2541
2547
  }
2542
- var qr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yr = !!String.fromCodePoint, Kr = !!Object.fromEntries, en = !!String.prototype.codePointAt, tn = !!String.prototype.trimStart, rn = !!String.prototype.trimEnd, nn = !!Number.isSafeInteger, sn = nn ? Number.isSafeInteger : function(e) {
2548
+ var Kr = !!String.prototype.startsWith && "_a".startsWith("a", 1), en = !!String.fromCodePoint, tn = !!Object.fromEntries, rn = !!String.prototype.codePointAt, nn = !!String.prototype.trimStart, sn = !!String.prototype.trimEnd, on = !!Number.isSafeInteger, an = on ? Number.isSafeInteger : function(e) {
2543
2549
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2544
- }, Te = !0;
2550
+ }, Ae = !0;
2545
2551
  try {
2546
- var on = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2547
- Te = ((de = on.exec("a")) === null || de === void 0 ? void 0 : de[0]) === "a";
2552
+ var un = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2553
+ Ae = ((ye = un.exec("a")) === null || ye === void 0 ? void 0 : ye[0]) === "a";
2548
2554
  } catch (e) {
2549
- Te = !1;
2555
+ Ae = !1;
2550
2556
  }
2551
- var Qe = qr ? (
2557
+ var qe = Kr ? (
2552
2558
  // Native
2553
2559
  function(t, r, n) {
2554
2560
  return t.startsWith(r, n);
@@ -2558,7 +2564,7 @@ var Qe = qr ? (
2558
2564
  function(t, r, n) {
2559
2565
  return t.slice(n, n + r.length) === r;
2560
2566
  }
2561
- ), Se = Yr ? String.fromCodePoint : (
2567
+ ), Pe = en ? String.fromCodePoint : (
2562
2568
  // IE11
2563
2569
  function() {
2564
2570
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2570,9 +2576,9 @@ var Qe = qr ? (
2570
2576
  }
2571
2577
  return n;
2572
2578
  }
2573
- ), Je = (
2579
+ ), Ye = (
2574
2580
  // native
2575
- Kr ? Object.fromEntries : (
2581
+ tn ? Object.fromEntries : (
2576
2582
  // Ponyfill
2577
2583
  function(t) {
2578
2584
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2582,7 +2588,7 @@ var Qe = qr ? (
2582
2588
  return r;
2583
2589
  }
2584
2590
  )
2585
- ), Ht = en ? (
2591
+ ), Tt = rn ? (
2586
2592
  // Native
2587
2593
  function(t, r) {
2588
2594
  return t.codePointAt(r);
@@ -2596,7 +2602,7 @@ var Qe = qr ? (
2596
2602
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2597
2603
  }
2598
2604
  }
2599
- ), an = tn ? (
2605
+ ), hn = nn ? (
2600
2606
  // Native
2601
2607
  function(t) {
2602
2608
  return t.trimStart();
@@ -2604,9 +2610,9 @@ var Qe = qr ? (
2604
2610
  ) : (
2605
2611
  // Ponyfill
2606
2612
  function(t) {
2607
- return t.replace(Qr, "");
2613
+ return t.replace(qr, "");
2608
2614
  }
2609
- ), un = rn ? (
2615
+ ), ln = sn ? (
2610
2616
  // Native
2611
2617
  function(t) {
2612
2618
  return t.trimEnd();
@@ -2614,32 +2620,32 @@ var Qe = qr ? (
2614
2620
  ) : (
2615
2621
  // Ponyfill
2616
2622
  function(t) {
2617
- return t.replace(Jr, "");
2623
+ return t.replace(Yr, "");
2618
2624
  }
2619
2625
  );
2620
- function Tt(e, t) {
2626
+ function At(e, t) {
2621
2627
  return new RegExp(e, t);
2622
2628
  }
2623
- var Ae;
2624
- if (Te) {
2625
- var qe = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2626
- Ae = function(t, r) {
2629
+ var Me;
2630
+ if (Ae) {
2631
+ var Ke = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2632
+ Me = function(t, r) {
2627
2633
  var n;
2628
- qe.lastIndex = r;
2629
- var i = qe.exec(t);
2634
+ Ke.lastIndex = r;
2635
+ var i = Ke.exec(t);
2630
2636
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2631
2637
  };
2632
2638
  } else
2633
- Ae = function(t, r) {
2639
+ Me = function(t, r) {
2634
2640
  for (var n = []; ; ) {
2635
- var i = Ht(t, r);
2636
- if (i === void 0 || St(i) || cn(i))
2641
+ var i = Tt(t, r);
2642
+ if (i === void 0 || Pt(i) || pn(i))
2637
2643
  break;
2638
2644
  n.push(i), r += i >= 65536 ? 2 : 1;
2639
2645
  }
2640
- return Se.apply(void 0, n);
2646
+ return Pe.apply(void 0, n);
2641
2647
  };
2642
- var hn = (
2648
+ var fn = (
2643
2649
  /** @class */
2644
2650
  function() {
2645
2651
  function e(t, r) {
@@ -2663,14 +2669,14 @@ var hn = (
2663
2669
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2664
2670
  var u = this.clonePosition();
2665
2671
  this.bump(), i.push({
2666
- type: x.pound,
2672
+ type: y.pound,
2667
2673
  location: b(u, this.clonePosition())
2668
2674
  });
2669
2675
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2670
2676
  if (n)
2671
2677
  break;
2672
2678
  return this.error(p.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2673
- } else if (s === 60 && !this.ignoreTag && Me(this.peek() || 0)) {
2679
+ } else if (s === 60 && !this.ignoreTag && Oe(this.peek() || 0)) {
2674
2680
  var a = this.parseTag(t, r);
2675
2681
  if (a.err)
2676
2682
  return a;
@@ -2691,7 +2697,7 @@ var hn = (
2691
2697
  if (this.bumpSpace(), this.bumpIf("/>"))
2692
2698
  return {
2693
2699
  val: {
2694
- type: x.literal,
2700
+ type: y.literal,
2695
2701
  value: "<".concat(i, "/>"),
2696
2702
  location: b(n, this.clonePosition())
2697
2703
  },
@@ -2703,12 +2709,12 @@ var hn = (
2703
2709
  return s;
2704
2710
  var a = s.val, u = this.clonePosition();
2705
2711
  if (this.bumpIf("</")) {
2706
- if (this.isEOF() || !Me(this.char()))
2712
+ if (this.isEOF() || !Oe(this.char()))
2707
2713
  return this.error(p.INVALID_TAG, b(u, this.clonePosition()));
2708
2714
  var h = this.clonePosition(), o = this.parseTagName();
2709
2715
  return i !== o ? this.error(p.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2710
2716
  val: {
2711
- type: x.tag,
2717
+ type: y.tag,
2712
2718
  value: i,
2713
2719
  children: a,
2714
2720
  location: b(n, this.clonePosition())
@@ -2721,7 +2727,7 @@ var hn = (
2721
2727
  return this.error(p.INVALID_TAG, b(n, this.clonePosition()));
2722
2728
  }, e.prototype.parseTagName = function() {
2723
2729
  var t = this.offset();
2724
- for (this.bump(); !this.isEOF() && fn(this.char()); )
2730
+ for (this.bump(); !this.isEOF() && mn(this.char()); )
2725
2731
  this.bump();
2726
2732
  return this.message.slice(t, this.offset());
2727
2733
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2745,12 +2751,12 @@ var hn = (
2745
2751
  }
2746
2752
  var h = b(n, this.clonePosition());
2747
2753
  return {
2748
- val: { type: x.literal, value: i, location: h },
2754
+ val: { type: y.literal, value: i, location: h },
2749
2755
  err: null
2750
2756
  };
2751
2757
  }, e.prototype.tryParseLeftAngleBracket = function() {
2752
2758
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2753
- !ln(this.peek() || 0)) ? (this.bump(), "<") : null;
2759
+ !cn(this.peek() || 0)) ? (this.bump(), "<") : null;
2754
2760
  }, e.prototype.tryParseQuote = function(t) {
2755
2761
  if (this.isEOF() || this.char() !== 39)
2756
2762
  return null;
@@ -2784,12 +2790,12 @@ var hn = (
2784
2790
  r.push(n);
2785
2791
  this.bump();
2786
2792
  }
2787
- return Se.apply(void 0, r);
2793
+ return Pe.apply(void 0, r);
2788
2794
  }, e.prototype.tryParseUnquoted = function(t, r) {
2789
2795
  if (this.isEOF())
2790
2796
  return null;
2791
2797
  var n = this.char();
2792
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Se(n));
2798
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Pe(n));
2793
2799
  }, e.prototype.parseArgument = function(t, r) {
2794
2800
  var n = this.clonePosition();
2795
2801
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2805,7 +2811,7 @@ var hn = (
2805
2811
  case 125:
2806
2812
  return this.bump(), {
2807
2813
  val: {
2808
- type: x.argument,
2814
+ type: y.argument,
2809
2815
  // value does not include the opening and closing braces.
2810
2816
  value: i,
2811
2817
  location: b(n, this.clonePosition())
@@ -2818,7 +2824,7 @@ var hn = (
2818
2824
  return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2819
2825
  }
2820
2826
  }, e.prototype.parseIdentifierIfPossible = function() {
2821
- var t = this.clonePosition(), r = this.offset(), n = Ae(this.message, r), i = r + n.length;
2827
+ var t = this.clonePosition(), r = this.offset(), n = Me(this.message, r), i = r + n.length;
2822
2828
  this.bumpTo(i);
2823
2829
  var s = this.clonePosition(), a = b(t, s);
2824
2830
  return { value: n, location: a };
@@ -2837,35 +2843,35 @@ var hn = (
2837
2843
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2838
2844
  if (f.err)
2839
2845
  return f;
2840
- var c = un(f.val);
2846
+ var c = ln(f.val);
2841
2847
  if (c.length === 0)
2842
2848
  return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2843
- var y = b(l, this.clonePosition());
2844
- o = { style: c, styleLocation: y };
2849
+ var g = b(l, this.clonePosition());
2850
+ o = { style: c, styleLocation: g };
2845
2851
  }
2846
- var g = this.tryParseArgumentClose(i);
2847
- if (g.err)
2848
- return g;
2852
+ var d = this.tryParseArgumentClose(i);
2853
+ if (d.err)
2854
+ return d;
2849
2855
  var E = b(i, this.clonePosition());
2850
- if (o && Qe(o == null ? void 0 : o.style, "::", 0)) {
2851
- var H = an(o.style.slice(2));
2856
+ if (o && qe(o == null ? void 0 : o.style, "::", 0)) {
2857
+ var H = hn(o.style.slice(2));
2852
2858
  if (u === "number") {
2853
2859
  var f = this.parseNumberSkeletonFromString(H, o.styleLocation);
2854
2860
  return f.err ? f : {
2855
- val: { type: x.number, value: n, location: E, style: f.val },
2861
+ val: { type: y.number, value: n, location: E, style: f.val },
2856
2862
  err: null
2857
2863
  };
2858
2864
  } else {
2859
2865
  if (H.length === 0)
2860
2866
  return this.error(p.EXPECT_DATE_TIME_SKELETON, E);
2861
2867
  var N = H;
2862
- this.locale && (N = zr(H, this.locale));
2868
+ this.locale && (N = Qr(H, this.locale));
2863
2869
  var c = {
2864
- type: G.dateTime,
2870
+ type: F.dateTime,
2865
2871
  pattern: N,
2866
2872
  location: o.styleLocation,
2867
- parsedOptions: this.shouldParseSkeletons ? Gr(N) : {}
2868
- }, m = u === "date" ? x.date : x.time;
2873
+ parsedOptions: this.shouldParseSkeletons ? jr(N) : {}
2874
+ }, m = u === "date" ? y.date : y.time;
2869
2875
  return {
2870
2876
  val: { type: m, value: n, location: E, style: c },
2871
2877
  err: null
@@ -2874,7 +2880,7 @@ var hn = (
2874
2880
  }
2875
2881
  return {
2876
2882
  val: {
2877
- type: u === "number" ? x.number : u === "date" ? x.date : x.time,
2883
+ type: u === "number" ? y.number : u === "date" ? y.date : y.time,
2878
2884
  value: n,
2879
2885
  location: E,
2880
2886
  style: (s = o == null ? void 0 : o.style) !== null && s !== void 0 ? s : null
@@ -2887,41 +2893,41 @@ var hn = (
2887
2893
  case "select": {
2888
2894
  var v = this.clonePosition();
2889
2895
  if (this.bumpSpace(), !this.bumpIf(","))
2890
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(v, d({}, v)));
2896
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(v, se({}, v)));
2891
2897
  this.bumpSpace();
2892
- var S = this.parseIdentifierIfPossible(), O = 0;
2893
- if (u !== "select" && S.value === "offset") {
2898
+ var T = this.parseIdentifierIfPossible(), w = 0;
2899
+ if (u !== "select" && T.value === "offset") {
2894
2900
  if (!this.bumpIf(":"))
2895
2901
  return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2896
2902
  this.bumpSpace();
2897
2903
  var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2898
2904
  if (f.err)
2899
2905
  return f;
2900
- this.bumpSpace(), S = this.parseIdentifierIfPossible(), O = f.val;
2906
+ this.bumpSpace(), T = this.parseIdentifierIfPossible(), w = f.val;
2901
2907
  }
2902
- var K = this.tryParsePluralOrSelectOptions(t, u, r, S);
2903
- if (K.err)
2904
- return K;
2905
- var g = this.tryParseArgumentClose(i);
2906
- if (g.err)
2907
- return g;
2908
- var $e = b(i, this.clonePosition());
2908
+ var ee = this.tryParsePluralOrSelectOptions(t, u, r, T);
2909
+ if (ee.err)
2910
+ return ee;
2911
+ var d = this.tryParseArgumentClose(i);
2912
+ if (d.err)
2913
+ return d;
2914
+ var Ue = b(i, this.clonePosition());
2909
2915
  return u === "select" ? {
2910
2916
  val: {
2911
- type: x.select,
2917
+ type: y.select,
2912
2918
  value: n,
2913
- options: Je(K.val),
2914
- location: $e
2919
+ options: Ye(ee.val),
2920
+ location: Ue
2915
2921
  },
2916
2922
  err: null
2917
2923
  } : {
2918
2924
  val: {
2919
- type: x.plural,
2925
+ type: y.plural,
2920
2926
  value: n,
2921
- options: Je(K.val),
2922
- offset: O,
2927
+ options: Ye(ee.val),
2928
+ offset: w,
2923
2929
  pluralType: u === "plural" ? "cardinal" : "ordinal",
2924
- location: $e
2930
+ location: Ue
2925
2931
  },
2926
2932
  err: null
2927
2933
  };
@@ -2969,16 +2975,16 @@ var hn = (
2969
2975
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2970
2976
  var n = [];
2971
2977
  try {
2972
- n = jr(t);
2978
+ n = Vr(t);
2973
2979
  } catch (i) {
2974
2980
  return this.error(p.INVALID_NUMBER_SKELETON, r);
2975
2981
  }
2976
2982
  return {
2977
2983
  val: {
2978
- type: G.number,
2984
+ type: F.number,
2979
2985
  tokens: n,
2980
2986
  location: r,
2981
- parsedOptions: this.shouldParseSkeletons ? Wr(n) : {}
2987
+ parsedOptions: this.shouldParseSkeletons ? Zr(n) : {}
2982
2988
  },
2983
2989
  err: null
2984
2990
  };
@@ -2997,20 +3003,20 @@ var hn = (
2997
3003
  if (h.has(o))
2998
3004
  return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2999
3005
  o === "other" && (a = !0), this.bumpSpace();
3000
- var y = this.clonePosition();
3006
+ var g = this.clonePosition();
3001
3007
  if (!this.bumpIf("{"))
3002
3008
  return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3003
- var g = this.parseMessage(t + 1, r, n);
3004
- if (g.err)
3005
- return g;
3006
- var E = this.tryParseArgumentClose(y);
3009
+ var d = this.parseMessage(t + 1, r, n);
3010
+ if (d.err)
3011
+ return d;
3012
+ var E = this.tryParseArgumentClose(g);
3007
3013
  if (E.err)
3008
3014
  return E;
3009
3015
  u.push([
3010
3016
  o,
3011
3017
  {
3012
- value: g.val,
3013
- location: b(y, this.clonePosition())
3018
+ value: d.val,
3019
+ location: b(g, this.clonePosition())
3014
3020
  }
3015
3021
  ]), h.add(o), this.bumpSpace(), s = this.parseIdentifierIfPossible(), o = s.value, l = s.location;
3016
3022
  }
@@ -3026,7 +3032,7 @@ var hn = (
3026
3032
  break;
3027
3033
  }
3028
3034
  var h = b(i, this.clonePosition());
3029
- return s ? (a *= n, sn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3035
+ return s ? (a *= n, an(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3030
3036
  }, e.prototype.offset = function() {
3031
3037
  return this.position.offset;
3032
3038
  }, e.prototype.isEOF = function() {
@@ -3041,7 +3047,7 @@ var hn = (
3041
3047
  var t = this.position.offset;
3042
3048
  if (t >= this.message.length)
3043
3049
  throw Error("out of bound");
3044
- var r = Ht(this.message, t);
3050
+ var r = Tt(this.message, t);
3045
3051
  if (r === void 0)
3046
3052
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3047
3053
  return r;
@@ -3060,7 +3066,7 @@ var hn = (
3060
3066
  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);
3061
3067
  }
3062
3068
  }, e.prototype.bumpIf = function(t) {
3063
- if (Qe(this.message, t, this.offset())) {
3069
+ if (qe(this.message, t, this.offset())) {
3064
3070
  for (var r = 0; r < t.length; r++)
3065
3071
  this.bump();
3066
3072
  return !0;
@@ -3082,7 +3088,7 @@ var hn = (
3082
3088
  break;
3083
3089
  }
3084
3090
  }, e.prototype.bumpSpace = function() {
3085
- for (; !this.isEOF() && St(this.char()); )
3091
+ for (; !this.isEOF() && Pt(this.char()); )
3086
3092
  this.bump();
3087
3093
  }, e.prototype.peek = function() {
3088
3094
  if (this.isEOF())
@@ -3092,47 +3098,47 @@ var hn = (
3092
3098
  }, e;
3093
3099
  }()
3094
3100
  );
3095
- function Me(e) {
3101
+ function Oe(e) {
3096
3102
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3097
3103
  }
3098
- function ln(e) {
3099
- return Me(e) || e === 47;
3104
+ function cn(e) {
3105
+ return Oe(e) || e === 47;
3100
3106
  }
3101
- function fn(e) {
3107
+ function mn(e) {
3102
3108
  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;
3103
3109
  }
3104
- function St(e) {
3110
+ function Pt(e) {
3105
3111
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3106
3112
  }
3107
- function cn(e) {
3113
+ function pn(e) {
3108
3114
  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;
3109
3115
  }
3110
- function Pe(e) {
3116
+ function Ne(e) {
3111
3117
  e.forEach(function(t) {
3112
- if (delete t.location, dt(t) || gt(t))
3118
+ if (delete t.location, yt(t) || Et(t))
3113
3119
  for (var r in t.options)
3114
- delete t.options[r].location, Pe(t.options[r].value);
3120
+ delete t.options[r].location, Ne(t.options[r].value);
3115
3121
  else
3116
- mt(t) && xt(t.style) || (pt(t) || bt(t)) && He(t.style) ? delete t.style.location : yt(t) && Pe(t.children);
3122
+ bt(t) && vt(t.style) || (dt(t) || gt(t)) && Te(t.style) ? delete t.style.location : xt(t) && Ne(t.children);
3117
3123
  });
3118
3124
  }
3119
- function mn(e, t) {
3120
- t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3121
- var r = new hn(e, t).parse();
3125
+ function bn(e, t) {
3126
+ t === void 0 && (t = {}), t = se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3127
+ var r = new fn(e, t).parse();
3122
3128
  if (r.err) {
3123
3129
  var n = SyntaxError(p[r.err.kind]);
3124
3130
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3125
3131
  }
3126
- return t != null && t.captureLocation || Pe(r.val), r.val;
3132
+ return t != null && t.captureLocation || Ne(r.val), r.val;
3127
3133
  }
3128
- var F;
3134
+ var j;
3129
3135
  (function(e) {
3130
3136
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3131
- })(F || (F = {}));
3132
- var ue = (
3137
+ })(j || (j = {}));
3138
+ var le = (
3133
3139
  /** @class */
3134
3140
  function(e) {
3135
- ae(t, e);
3141
+ he(t, e);
3136
3142
  function t(r, n, i) {
3137
3143
  var s = e.call(this, r) || this;
3138
3144
  return s.code = n, s.originalMessage = i, s;
@@ -3141,48 +3147,48 @@ var ue = (
3141
3147
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3142
3148
  }, t;
3143
3149
  }(Error)
3144
- ), Ye = (
3150
+ ), et = (
3145
3151
  /** @class */
3146
3152
  function(e) {
3147
- ae(t, e);
3153
+ he(t, e);
3148
3154
  function t(r, n, i, s) {
3149
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), F.INVALID_VALUE, s) || this;
3155
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, s) || this;
3150
3156
  }
3151
3157
  return t;
3152
- }(ue)
3153
- ), pn = (
3158
+ }(le)
3159
+ ), dn = (
3154
3160
  /** @class */
3155
3161
  function(e) {
3156
- ae(t, e);
3162
+ he(t, e);
3157
3163
  function t(r, n, i) {
3158
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), F.INVALID_VALUE, i) || this;
3164
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
3159
3165
  }
3160
3166
  return t;
3161
- }(ue)
3162
- ), bn = (
3167
+ }(le)
3168
+ ), gn = (
3163
3169
  /** @class */
3164
3170
  function(e) {
3165
- ae(t, e);
3171
+ he(t, e);
3166
3172
  function t(r, n) {
3167
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), F.MISSING_VALUE, n) || this;
3173
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
3168
3174
  }
3169
3175
  return t;
3170
- }(ue)
3176
+ }(le)
3171
3177
  ), _;
3172
3178
  (function(e) {
3173
3179
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3174
3180
  })(_ || (_ = {}));
3175
- function dn(e) {
3181
+ function yn(e) {
3176
3182
  return e.length < 2 ? e : e.reduce(function(t, r) {
3177
3183
  var n = t[t.length - 1];
3178
3184
  return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
3179
3185
  }, []);
3180
3186
  }
3181
- function gn(e) {
3187
+ function En(e) {
3182
3188
  return typeof e == "function";
3183
3189
  }
3184
- function re(e, t, r, n, i, s, a) {
3185
- if (e.length === 1 && Xe(e[0]))
3190
+ function ne(e, t, r, n, i, s, a) {
3191
+ if (e.length === 1 && ze(e[0]))
3186
3192
  return [
3187
3193
  {
3188
3194
  type: _.literal,
@@ -3191,14 +3197,14 @@ function re(e, t, r, n, i, s, a) {
3191
3197
  ];
3192
3198
  for (var u = [], h = 0, o = e; h < o.length; h++) {
3193
3199
  var l = o[h];
3194
- if (Xe(l)) {
3200
+ if (ze(l)) {
3195
3201
  u.push({
3196
3202
  type: _.literal,
3197
3203
  value: l.value
3198
3204
  });
3199
3205
  continue;
3200
3206
  }
3201
- if (Ur(l)) {
3207
+ if (Gr(l)) {
3202
3208
  typeof s == "number" && u.push({
3203
3209
  type: _.literal,
3204
3210
  value: r.getNumberFormat(t).format(s)
@@ -3207,89 +3213,89 @@ function re(e, t, r, n, i, s, a) {
3207
3213
  }
3208
3214
  var f = l.value;
3209
3215
  if (!(i && f in i))
3210
- throw new bn(f, a);
3216
+ throw new gn(f, a);
3211
3217
  var c = i[f];
3212
- if (Rr(l)) {
3218
+ if (Dr(l)) {
3213
3219
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), u.push({
3214
3220
  type: typeof c == "string" ? _.literal : _.object,
3215
3221
  value: c
3216
3222
  });
3217
3223
  continue;
3218
3224
  }
3219
- if (pt(l)) {
3220
- var y = typeof l.style == "string" ? n.date[l.style] : He(l.style) ? l.style.parsedOptions : void 0;
3225
+ if (dt(l)) {
3226
+ var g = typeof l.style == "string" ? n.date[l.style] : Te(l.style) ? l.style.parsedOptions : void 0;
3221
3227
  u.push({
3222
3228
  type: _.literal,
3223
- value: r.getDateTimeFormat(t, y).format(c)
3229
+ value: r.getDateTimeFormat(t, g).format(c)
3224
3230
  });
3225
3231
  continue;
3226
3232
  }
3227
- if (bt(l)) {
3228
- var y = typeof l.style == "string" ? n.time[l.style] : He(l.style) ? l.style.parsedOptions : n.time.medium;
3233
+ if (gt(l)) {
3234
+ var g = typeof l.style == "string" ? n.time[l.style] : Te(l.style) ? l.style.parsedOptions : n.time.medium;
3229
3235
  u.push({
3230
3236
  type: _.literal,
3231
- value: r.getDateTimeFormat(t, y).format(c)
3237
+ value: r.getDateTimeFormat(t, g).format(c)
3232
3238
  });
3233
3239
  continue;
3234
3240
  }
3235
- if (mt(l)) {
3236
- var y = typeof l.style == "string" ? n.number[l.style] : xt(l.style) ? l.style.parsedOptions : void 0;
3237
- y && y.scale && (c = c * (y.scale || 1)), u.push({
3241
+ if (bt(l)) {
3242
+ var g = typeof l.style == "string" ? n.number[l.style] : vt(l.style) ? l.style.parsedOptions : void 0;
3243
+ g && g.scale && (c = c * (g.scale || 1)), u.push({
3238
3244
  type: _.literal,
3239
- value: r.getNumberFormat(t, y).format(c)
3245
+ value: r.getNumberFormat(t, g).format(c)
3240
3246
  });
3241
3247
  continue;
3242
3248
  }
3243
- if (yt(l)) {
3244
- var g = l.children, E = l.value, H = i[E];
3245
- if (!gn(H))
3246
- throw new pn(E, "function", a);
3247
- var N = re(g, t, r, n, i, s), m = H(N.map(function(O) {
3248
- return O.value;
3249
+ if (xt(l)) {
3250
+ var d = l.children, E = l.value, H = i[E];
3251
+ if (!En(H))
3252
+ throw new dn(E, "function", a);
3253
+ var N = ne(d, t, r, n, i, s), m = H(N.map(function(w) {
3254
+ return w.value;
3249
3255
  }));
3250
- Array.isArray(m) || (m = [m]), u.push.apply(u, m.map(function(O) {
3256
+ Array.isArray(m) || (m = [m]), u.push.apply(u, m.map(function(w) {
3251
3257
  return {
3252
- type: typeof O == "string" ? _.literal : _.object,
3253
- value: O
3258
+ type: typeof w == "string" ? _.literal : _.object,
3259
+ value: w
3254
3260
  };
3255
3261
  }));
3256
3262
  }
3257
- if (dt(l)) {
3263
+ if (yt(l)) {
3258
3264
  var v = l.options[c] || l.options.other;
3259
3265
  if (!v)
3260
- throw new Ye(l.value, c, Object.keys(l.options), a);
3261
- u.push.apply(u, re(v.value, t, r, n, i));
3266
+ throw new et(l.value, c, Object.keys(l.options), a);
3267
+ u.push.apply(u, ne(v.value, t, r, n, i));
3262
3268
  continue;
3263
3269
  }
3264
- if (gt(l)) {
3270
+ if (Et(l)) {
3265
3271
  var v = l.options["=".concat(c)];
3266
3272
  if (!v) {
3267
3273
  if (!Intl.PluralRules)
3268
- throw new ue(`Intl.PluralRules is not available in this environment.
3274
+ throw new le(`Intl.PluralRules is not available in this environment.
3269
3275
  Try polyfilling it using "@formatjs/intl-pluralrules"
3270
- `, F.MISSING_INTL_API, a);
3271
- var S = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3272
- v = l.options[S] || l.options.other;
3276
+ `, j.MISSING_INTL_API, a);
3277
+ var T = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3278
+ v = l.options[T] || l.options.other;
3273
3279
  }
3274
3280
  if (!v)
3275
- throw new Ye(l.value, c, Object.keys(l.options), a);
3276
- u.push.apply(u, re(v.value, t, r, n, i, c - (l.offset || 0)));
3281
+ throw new et(l.value, c, Object.keys(l.options), a);
3282
+ u.push.apply(u, ne(v.value, t, r, n, i, c - (l.offset || 0)));
3277
3283
  continue;
3278
3284
  }
3279
3285
  }
3280
- return dn(u);
3286
+ return yn(u);
3281
3287
  }
3282
- function yn(e, t) {
3283
- return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3284
- return r[n] = d(d({}, e[n]), t[n] || {}), r;
3288
+ function xn(e, t) {
3289
+ return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3290
+ return r[n] = P(P({}, e[n]), t[n] || {}), r;
3285
3291
  }, {})) : e;
3286
3292
  }
3287
- function xn(e, t) {
3293
+ function vn(e, t) {
3288
3294
  return t ? Object.keys(e).reduce(function(r, n) {
3289
- return r[n] = yn(e[n], t[n]), r;
3290
- }, d({}, e)) : e;
3295
+ return r[n] = xn(e[n], t[n]), r;
3296
+ }, P({}, e)) : e;
3291
3297
  }
3292
- function ge(e) {
3298
+ function Ee(e) {
3293
3299
  return {
3294
3300
  create: function() {
3295
3301
  return {
@@ -3303,39 +3309,39 @@ function ge(e) {
3303
3309
  }
3304
3310
  };
3305
3311
  }
3306
- function En(e) {
3312
+ function _n(e) {
3307
3313
  return e === void 0 && (e = {
3308
3314
  number: {},
3309
3315
  dateTime: {},
3310
3316
  pluralRules: {}
3311
3317
  }), {
3312
- getNumberFormat: pe(function() {
3318
+ getNumberFormat: de(function() {
3313
3319
  for (var t, r = [], n = 0; n < arguments.length; n++)
3314
3320
  r[n] = arguments[n];
3315
- return new ((t = Intl.NumberFormat).bind.apply(t, me([void 0], r, !1)))();
3321
+ return new ((t = Intl.NumberFormat).bind.apply(t, be([void 0], r, !1)))();
3316
3322
  }, {
3317
- cache: ge(e.number),
3318
- strategy: be.variadic
3323
+ cache: Ee(e.number),
3324
+ strategy: ge.variadic
3319
3325
  }),
3320
- getDateTimeFormat: pe(function() {
3326
+ getDateTimeFormat: de(function() {
3321
3327
  for (var t, r = [], n = 0; n < arguments.length; n++)
3322
3328
  r[n] = arguments[n];
3323
- return new ((t = Intl.DateTimeFormat).bind.apply(t, me([void 0], r, !1)))();
3329
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, be([void 0], r, !1)))();
3324
3330
  }, {
3325
- cache: ge(e.dateTime),
3326
- strategy: be.variadic
3331
+ cache: Ee(e.dateTime),
3332
+ strategy: ge.variadic
3327
3333
  }),
3328
- getPluralRules: pe(function() {
3334
+ getPluralRules: de(function() {
3329
3335
  for (var t, r = [], n = 0; n < arguments.length; n++)
3330
3336
  r[n] = arguments[n];
3331
- return new ((t = Intl.PluralRules).bind.apply(t, me([void 0], r, !1)))();
3337
+ return new ((t = Intl.PluralRules).bind.apply(t, be([void 0], r, !1)))();
3332
3338
  }, {
3333
- cache: ge(e.pluralRules),
3334
- strategy: be.variadic
3339
+ cache: Ee(e.pluralRules),
3340
+ strategy: ge.variadic
3335
3341
  })
3336
3342
  };
3337
3343
  }
3338
- var vn = (
3344
+ var Bn = (
3339
3345
  /** @class */
3340
3346
  function() {
3341
3347
  function e(t, r, n, i) {
@@ -3354,7 +3360,7 @@ var vn = (
3354
3360
  }, []);
3355
3361
  return l.length <= 1 ? l[0] || "" : l;
3356
3362
  }, this.formatToParts = function(h) {
3357
- return re(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3363
+ return ne(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3358
3364
  }, this.resolvedOptions = function() {
3359
3365
  var h;
3360
3366
  return {
@@ -3367,13 +3373,13 @@ var vn = (
3367
3373
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3368
3374
  var a = i || {};
3369
3375
  a.formatters;
3370
- var u = Pr(a, ["formatters"]);
3371
- this.ast = e.__parse(t, d(d({}, u), { locale: this.resolvedLocale }));
3376
+ var u = Nr(a, ["formatters"]);
3377
+ this.ast = e.__parse(t, P(P({}, u), { locale: this.resolvedLocale }));
3372
3378
  } else
3373
3379
  this.ast = t;
3374
3380
  if (!Array.isArray(this.ast))
3375
3381
  throw new TypeError("A message must be provided as a String or AST.");
3376
- this.formats = xn(e.formats, n), this.formatters = i && i.formatters || En(this.formatterCache);
3382
+ this.formats = vn(e.formats, n), this.formatters = i && i.formatters || _n(this.formatterCache);
3377
3383
  }
3378
3384
  return Object.defineProperty(e, "defaultLocale", {
3379
3385
  get: function() {
@@ -3386,7 +3392,7 @@ var vn = (
3386
3392
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3387
3393
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3388
3394
  }
3389
- }, e.__parse = mn, e.formats = {
3395
+ }, e.__parse = bn, e.formats = {
3390
3396
  number: {
3391
3397
  integer: {
3392
3398
  maximumFractionDigits: 0
@@ -3447,7 +3453,7 @@ var vn = (
3447
3453
  }, e;
3448
3454
  }()
3449
3455
  );
3450
- function _n(e, t) {
3456
+ function Hn(e, t) {
3451
3457
  if (t == null)
3452
3458
  return;
3453
3459
  if (t in e)
@@ -3468,92 +3474,92 @@ function _n(e, t) {
3468
3474
  n = void 0;
3469
3475
  return n;
3470
3476
  }
3471
- const P = {}, Bn = (e, t, r) => r && (t in P || (P[t] = {}), e in P[t] || (P[t][e] = r), r), At = (e, t) => {
3477
+ const O = {}, Sn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Mt = (e, t) => {
3472
3478
  if (t == null)
3473
3479
  return;
3474
- if (t in P && e in P[t])
3475
- return P[t][e];
3476
- const r = he(t);
3480
+ if (t in O && e in O[t])
3481
+ return O[t][e];
3482
+ const r = fe(t);
3477
3483
  for (let n = 0; n < r.length; n++) {
3478
- const i = r[n], s = Tn(i, e);
3484
+ const i = r[n], s = An(i, e);
3479
3485
  if (s)
3480
- return Bn(e, t, s);
3486
+ return Sn(e, t, s);
3481
3487
  }
3482
3488
  };
3483
- let Le;
3484
- const Y = oe({});
3485
- function Hn(e) {
3486
- return Le[e] || null;
3489
+ let $e;
3490
+ const K = ue({});
3491
+ function Tn(e) {
3492
+ return $e[e] || null;
3487
3493
  }
3488
- function Mt(e) {
3489
- return e in Le;
3494
+ function Ot(e) {
3495
+ return e in $e;
3490
3496
  }
3491
- function Tn(e, t) {
3492
- if (!Mt(e))
3497
+ function An(e, t) {
3498
+ if (!Ot(e))
3493
3499
  return null;
3494
- const r = Hn(e);
3495
- return _n(r, t);
3500
+ const r = Tn(e);
3501
+ return Hn(r, t);
3496
3502
  }
3497
- function Sn(e) {
3503
+ function Pn(e) {
3498
3504
  if (e == null)
3499
3505
  return;
3500
- const t = he(e);
3506
+ const t = fe(e);
3501
3507
  for (let r = 0; r < t.length; r++) {
3502
3508
  const n = t[r];
3503
- if (Mt(n))
3509
+ if (Ot(n))
3504
3510
  return n;
3505
3511
  }
3506
3512
  }
3507
- function Pt(e, ...t) {
3508
- delete P[e], Y.update((r) => (r[e] = Mr.all([r[e] || {}, ...t]), r));
3513
+ function Nt(e, ...t) {
3514
+ delete O[e], K.update((r) => (r[e] = Or.all([r[e] || {}, ...t]), r));
3509
3515
  }
3510
- k(
3511
- [Y],
3516
+ V(
3517
+ [K],
3512
3518
  ([e]) => Object.keys(e)
3513
3519
  );
3514
- Y.subscribe((e) => Le = e);
3515
- const ne = {};
3516
- function An(e, t) {
3517
- ne[e].delete(t), ne[e].size === 0 && delete ne[e];
3520
+ K.subscribe((e) => $e = e);
3521
+ const ie = {};
3522
+ function Mn(e, t) {
3523
+ ie[e].delete(t), ie[e].size === 0 && delete ie[e];
3518
3524
  }
3519
- function Nt(e) {
3520
- return ne[e];
3525
+ function wt(e) {
3526
+ return ie[e];
3521
3527
  }
3522
- function Mn(e) {
3523
- return he(e).map((t) => {
3524
- const r = Nt(t);
3528
+ function On(e) {
3529
+ return fe(e).map((t) => {
3530
+ const r = wt(t);
3525
3531
  return [t, r ? [...r] : []];
3526
3532
  }).filter(([, t]) => t.length > 0);
3527
3533
  }
3528
- function Ne(e) {
3529
- return e == null ? !1 : he(e).some(
3534
+ function we(e) {
3535
+ return e == null ? !1 : fe(e).some(
3530
3536
  (t) => {
3531
3537
  var r;
3532
- return (r = Nt(t)) == null ? void 0 : r.size;
3538
+ return (r = wt(t)) == null ? void 0 : r.size;
3533
3539
  }
3534
3540
  );
3535
3541
  }
3536
- function Pn(e, t) {
3542
+ function Nn(e, t) {
3537
3543
  return Promise.all(
3538
- t.map((n) => (An(e, n), n().then((i) => i.default || i)))
3539
- ).then((n) => Pt(e, ...n));
3540
- }
3541
- const W = {};
3542
- function Ot(e) {
3543
- if (!Ne(e))
3544
- return e in W ? W[e] : Promise.resolve();
3545
- const t = Mn(e);
3546
- return W[e] = Promise.all(
3544
+ t.map((n) => (Mn(e, n), n().then((i) => i.default || i)))
3545
+ ).then((n) => Nt(e, ...n));
3546
+ }
3547
+ const z = {};
3548
+ function It(e) {
3549
+ if (!we(e))
3550
+ return e in z ? z[e] : Promise.resolve();
3551
+ const t = On(e);
3552
+ return z[e] = Promise.all(
3547
3553
  t.map(
3548
- ([r, n]) => Pn(r, n)
3554
+ ([r, n]) => Nn(r, n)
3549
3555
  )
3550
3556
  ).then(() => {
3551
- if (Ne(e))
3552
- return Ot(e);
3553
- delete W[e];
3554
- }), W[e];
3557
+ if (we(e))
3558
+ return It(e);
3559
+ delete z[e];
3560
+ }), z[e];
3555
3561
  }
3556
- const Nn = {
3562
+ const wn = {
3557
3563
  number: {
3558
3564
  scientific: { notation: "scientific" },
3559
3565
  engineering: { notation: "engineering" },
@@ -3582,150 +3588,150 @@ const Nn = {
3582
3588
  timeZoneName: "short"
3583
3589
  }
3584
3590
  }
3585
- }, On = {
3591
+ }, In = {
3586
3592
  fallbackLocale: null,
3587
3593
  loadingDelay: 200,
3588
- formats: Nn,
3594
+ formats: wn,
3589
3595
  warnOnMissingMessages: !0,
3590
3596
  handleMissingMessage: void 0,
3591
3597
  ignoreTag: !0
3592
- }, wn = On;
3593
- function j() {
3594
- return wn;
3598
+ }, Ln = In;
3599
+ function k() {
3600
+ return Ln;
3595
3601
  }
3596
- const ye = oe(!1);
3597
- var In = Object.defineProperty, Ln = Object.defineProperties, Cn = Object.getOwnPropertyDescriptors, Ke = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Rn = Object.prototype.propertyIsEnumerable, et = (e, t, r) => t in e ? In(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Un = (e, t) => {
3602
+ const xe = ue(!1);
3603
+ var Cn = Object.defineProperty, $n = Object.defineProperties, Rn = Object.getOwnPropertyDescriptors, tt = Object.getOwnPropertySymbols, Un = Object.prototype.hasOwnProperty, Dn = Object.prototype.propertyIsEnumerable, rt = (e, t, r) => t in e ? Cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gn = (e, t) => {
3598
3604
  for (var r in t || (t = {}))
3599
- $n.call(t, r) && et(e, r, t[r]);
3600
- if (Ke)
3601
- for (var r of Ke(t))
3602
- Rn.call(t, r) && et(e, r, t[r]);
3605
+ Un.call(t, r) && rt(e, r, t[r]);
3606
+ if (tt)
3607
+ for (var r of tt(t))
3608
+ Dn.call(t, r) && rt(e, r, t[r]);
3603
3609
  return e;
3604
- }, Dn = (e, t) => Ln(e, Cn(t));
3605
- let Oe;
3606
- const ie = oe(null);
3607
- function tt(e) {
3610
+ }, Fn = (e, t) => $n(e, Rn(t));
3611
+ let Ie;
3612
+ const oe = ue(null);
3613
+ function nt(e) {
3608
3614
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3609
3615
  }
3610
- function he(e, t = j().fallbackLocale) {
3611
- const r = tt(e);
3612
- return t ? [.../* @__PURE__ */ new Set([...r, ...tt(t)])] : r;
3616
+ function fe(e, t = k().fallbackLocale) {
3617
+ const r = nt(e);
3618
+ return t ? [.../* @__PURE__ */ new Set([...r, ...nt(t)])] : r;
3613
3619
  }
3614
- function I() {
3615
- return Oe != null ? Oe : void 0;
3620
+ function L() {
3621
+ return Ie != null ? Ie : void 0;
3616
3622
  }
3617
- ie.subscribe((e) => {
3618
- Oe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3623
+ oe.subscribe((e) => {
3624
+ Ie = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3619
3625
  });
3620
- const Gn = (e) => {
3621
- if (e && Sn(e) && Ne(e)) {
3622
- const { loadingDelay: t } = j();
3626
+ const jn = (e) => {
3627
+ if (e && Pn(e) && we(e)) {
3628
+ const { loadingDelay: t } = k();
3623
3629
  let r;
3624
- return typeof window != "undefined" && I() != null && t ? r = window.setTimeout(
3625
- () => ye.set(!0),
3630
+ return typeof window != "undefined" && L() != null && t ? r = window.setTimeout(
3631
+ () => xe.set(!0),
3626
3632
  t
3627
- ) : ye.set(!0), Ot(e).then(() => {
3628
- ie.set(e);
3633
+ ) : xe.set(!0), It(e).then(() => {
3634
+ oe.set(e);
3629
3635
  }).finally(() => {
3630
- clearTimeout(r), ye.set(!1);
3636
+ clearTimeout(r), xe.set(!1);
3631
3637
  });
3632
3638
  }
3633
- return ie.set(e);
3634
- }, V = Dn(Un({}, ie), {
3635
- set: Gn
3636
- }), le = (e) => {
3639
+ return oe.set(e);
3640
+ }, X = Fn(Gn({}, oe), {
3641
+ set: jn
3642
+ }), ce = (e) => {
3637
3643
  const t = /* @__PURE__ */ Object.create(null);
3638
3644
  return (n) => {
3639
3645
  const i = JSON.stringify(n);
3640
3646
  return i in t ? t[i] : t[i] = e(n);
3641
3647
  };
3642
3648
  };
3643
- var Fn = Object.defineProperty, se = Object.getOwnPropertySymbols, wt = Object.prototype.hasOwnProperty, It = Object.prototype.propertyIsEnumerable, rt = (e, t, r) => t in e ? Fn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ce = (e, t) => {
3649
+ var kn = Object.defineProperty, ae = Object.getOwnPropertySymbols, Lt = Object.prototype.hasOwnProperty, Ct = Object.prototype.propertyIsEnumerable, it = (e, t, r) => t in e ? kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Re = (e, t) => {
3644
3650
  for (var r in t || (t = {}))
3645
- wt.call(t, r) && rt(e, r, t[r]);
3646
- if (se)
3647
- for (var r of se(t))
3648
- It.call(t, r) && rt(e, r, t[r]);
3651
+ Lt.call(t, r) && it(e, r, t[r]);
3652
+ if (ae)
3653
+ for (var r of ae(t))
3654
+ Ct.call(t, r) && it(e, r, t[r]);
3649
3655
  return e;
3650
- }, X = (e, t) => {
3656
+ }, W = (e, t) => {
3651
3657
  var r = {};
3652
3658
  for (var n in e)
3653
- wt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3654
- if (e != null && se)
3655
- for (var n of se(e))
3656
- t.indexOf(n) < 0 && It.call(e, n) && (r[n] = e[n]);
3659
+ Lt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3660
+ if (e != null && ae)
3661
+ for (var n of ae(e))
3662
+ t.indexOf(n) < 0 && Ct.call(e, n) && (r[n] = e[n]);
3657
3663
  return r;
3658
3664
  };
3659
- const J = (e, t) => {
3660
- const { formats: r } = j();
3665
+ const q = (e, t) => {
3666
+ const { formats: r } = k();
3661
3667
  if (e in r && t in r[e])
3662
3668
  return r[e][t];
3663
3669
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3664
- }, jn = le(
3670
+ }, Vn = ce(
3665
3671
  (e) => {
3666
- var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
3672
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3667
3673
  if (r == null)
3668
3674
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3669
- return n && (i = J("number", n)), new Intl.NumberFormat(r, i);
3675
+ return n && (i = q("number", n)), new Intl.NumberFormat(r, i);
3670
3676
  }
3671
- ), kn = le(
3677
+ ), Xn = ce(
3672
3678
  (e) => {
3673
- var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
3679
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3674
3680
  if (r == null)
3675
3681
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3676
- return n ? i = J("date", n) : Object.keys(i).length === 0 && (i = J("date", "short")), new Intl.DateTimeFormat(r, i);
3682
+ return n ? i = q("date", n) : Object.keys(i).length === 0 && (i = q("date", "short")), new Intl.DateTimeFormat(r, i);
3677
3683
  }
3678
- ), Vn = le(
3684
+ ), Wn = ce(
3679
3685
  (e) => {
3680
- var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
3686
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3681
3687
  if (r == null)
3682
3688
  throw new Error(
3683
3689
  '[svelte-i18n] A "locale" must be set to format time values'
3684
3690
  );
3685
- return n ? i = J("time", n) : Object.keys(i).length === 0 && (i = J("time", "short")), new Intl.DateTimeFormat(r, i);
3691
+ return n ? i = q("time", n) : Object.keys(i).length === 0 && (i = q("time", "short")), new Intl.DateTimeFormat(r, i);
3686
3692
  }
3687
- ), Xn = (e = {}) => {
3693
+ ), zn = (e = {}) => {
3688
3694
  var t = e, {
3689
- locale: r = I()
3690
- } = t, n = X(t, [
3695
+ locale: r = L()
3696
+ } = t, n = W(t, [
3691
3697
  "locale"
3692
3698
  ]);
3693
- return jn(Ce({ locale: r }, n));
3694
- }, Wn = (e = {}) => {
3699
+ return Vn(Re({ locale: r }, n));
3700
+ }, Zn = (e = {}) => {
3695
3701
  var t = e, {
3696
- locale: r = I()
3697
- } = t, n = X(t, [
3702
+ locale: r = L()
3703
+ } = t, n = W(t, [
3698
3704
  "locale"
3699
3705
  ]);
3700
- return kn(Ce({ locale: r }, n));
3701
- }, zn = (e = {}) => {
3706
+ return Xn(Re({ locale: r }, n));
3707
+ }, Qn = (e = {}) => {
3702
3708
  var t = e, {
3703
- locale: r = I()
3704
- } = t, n = X(t, [
3709
+ locale: r = L()
3710
+ } = t, n = W(t, [
3705
3711
  "locale"
3706
3712
  ]);
3707
- return Vn(Ce({ locale: r }, n));
3708
- }, Zn = le(
3713
+ return Wn(Re({ locale: r }, n));
3714
+ }, Jn = ce(
3709
3715
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3710
- (e, t = I()) => new vn(e, t, j().formats, {
3711
- ignoreTag: j().ignoreTag
3716
+ (e, t = L()) => new Bn(e, t, k().formats, {
3717
+ ignoreTag: k().ignoreTag
3712
3718
  })
3713
- ), Qn = (e, t = {}) => {
3719
+ ), qn = (e, t = {}) => {
3714
3720
  var r, n, i, s;
3715
3721
  let a = t;
3716
3722
  typeof e == "object" && (a = e, e = a.id);
3717
3723
  const {
3718
3724
  values: u,
3719
- locale: h = I(),
3725
+ locale: h = L(),
3720
3726
  default: o
3721
3727
  } = a;
3722
3728
  if (h == null)
3723
3729
  throw new Error(
3724
3730
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3725
3731
  );
3726
- let l = At(e, h);
3732
+ let l = Mt(e, h);
3727
3733
  if (!l)
3728
- l = (s = (i = (n = (r = j()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
3734
+ l = (s = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
3729
3735
  else if (typeof l != "string")
3730
3736
  return console.warn(
3731
3737
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3734,7 +3740,7 @@ const J = (e, t) => {
3734
3740
  return l;
3735
3741
  let f = l;
3736
3742
  try {
3737
- f = Zn(l, h).format(u);
3743
+ f = Jn(l, h).format(u);
3738
3744
  } catch (c) {
3739
3745
  c instanceof Error && console.warn(
3740
3746
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3742,18 +3748,18 @@ const J = (e, t) => {
3742
3748
  );
3743
3749
  }
3744
3750
  return f;
3745
- }, Jn = (e, t) => zn(t).format(e), qn = (e, t) => Wn(t).format(e), Yn = (e, t) => Xn(t).format(e), Kn = (e, t = I()) => At(e, t), ei = k([V, Y], () => Qn);
3746
- k([V], () => Jn);
3747
- k([V], () => qn);
3748
- k([V], () => Yn);
3749
- k([V, Y], () => Kn);
3750
- function nt(e, t) {
3751
- Pt(e, t);
3752
- }
3753
- function ti(e) {
3754
- V.set(e);
3755
- }
3756
- const it = {
3751
+ }, Yn = (e, t) => Qn(t).format(e), Kn = (e, t) => Zn(t).format(e), ei = (e, t) => zn(t).format(e), ti = (e, t = L()) => Mt(e, t), ri = V([X, K], () => qn);
3752
+ V([X], () => Yn);
3753
+ V([X], () => Kn);
3754
+ V([X], () => ei);
3755
+ V([X, K], () => ti);
3756
+ function st(e, t) {
3757
+ Nt(e, t);
3758
+ }
3759
+ function ni(e) {
3760
+ X.set(e);
3761
+ }
3762
+ const ot = {
3757
3763
  en: {
3758
3764
  betsButtonString: "My Bets"
3759
3765
  },
@@ -3794,61 +3800,61 @@ const it = {
3794
3800
  betsButtonString: "My Bets"
3795
3801
  }
3796
3802
  };
3797
- function ri(e) {
3798
- Ft(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")}');
3803
+ function ii(e) {
3804
+ kt(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")}');
3799
3805
  }
3800
- function ni(e) {
3806
+ function si(e) {
3801
3807
  let t, r, n, i, s, a, u, h, o, l = (
3802
3808
  /*$_*/
3803
3809
  e[2]("betsButtonString") + ""
3804
- ), f, c, y;
3810
+ ), f, c, g;
3805
3811
  return {
3806
3812
  c() {
3807
- t = M("div"), r = M("button"), n = M("div"), i = M("span"), s = M("p"), a = xe(
3813
+ t = M("div"), r = M("button"), n = M("div"), i = M("span"), s = M("p"), a = ve(
3808
3814
  /*betsData*/
3809
3815
  e[1]
3810
- ), u = Vt(), h = M("div"), o = M("p"), f = xe(l), $(i, "class", "MyBetsCountNumber"), $(n, "class", "MyBetsButtonCount"), $(h, "class", "MyBetsButtonTitle"), $(r, "class", "MyBetsButtonWrapper"), $(t, "class", "MyBetsButton");
3816
+ ), u = Wt(), h = M("div"), o = M("p"), f = ve(l), R(i, "class", "MyBetsCountNumber"), R(n, "class", "MyBetsButtonCount"), R(h, "class", "MyBetsButtonTitle"), R(r, "class", "MyBetsButtonWrapper"), R(t, "class", "MyBetsButton");
3811
3817
  },
3812
- m(g, E) {
3813
- ut(g, t, E), A(t, r), A(r, n), A(n, i), A(i, s), A(s, a), A(r, u), A(r, h), A(h, o), A(o, f), e[10](t), c || (y = Xt(
3818
+ m(d, E) {
3819
+ lt(d, t, E), A(t, r), A(r, n), A(n, i), A(i, s), A(s, a), A(r, u), A(r, h), A(h, o), A(o, f), e[10](t), c || (g = zt(
3814
3820
  r,
3815
3821
  "click",
3816
3822
  /*click_handler*/
3817
3823
  e[9]
3818
3824
  ), c = !0);
3819
3825
  },
3820
- p(g, [E]) {
3826
+ p(d, [E]) {
3821
3827
  E & /*betsData*/
3822
- 2 && je(
3828
+ 2 && Ve(
3823
3829
  a,
3824
3830
  /*betsData*/
3825
- g[1]
3831
+ d[1]
3826
3832
  ), E & /*$_*/
3827
3833
  4 && l !== (l = /*$_*/
3828
- g[2]("betsButtonString") + "") && je(f, l);
3834
+ d[2]("betsButtonString") + "") && Ve(f, l);
3829
3835
  },
3830
- i: T,
3831
- o: T,
3832
- d(g) {
3833
- g && Ie(t), e[10](null), c = !1, y();
3836
+ i: S,
3837
+ o: S,
3838
+ d(d) {
3839
+ d && Ce(t), e[10](null), c = !1, g();
3834
3840
  }
3835
3841
  };
3836
3842
  }
3837
- function ii(e, t, r) {
3843
+ function oi(e, t, r) {
3838
3844
  let n;
3839
- Gt(e, ei, (m) => r(2, n = m));
3845
+ jt(e, ri, (m) => r(2, n = m));
3840
3846
  let { lang: i = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: u } = t, { translationurl: h = "" } = t, o, l = 0;
3841
3847
  const f = () => {
3842
3848
  fetch(h).then((v) => v.json()).then((v) => {
3843
- Object.keys(v).forEach((S) => {
3844
- nt(S, v[S]);
3849
+ Object.keys(v).forEach((T) => {
3850
+ st(T, v[T]);
3845
3851
  });
3846
3852
  }).catch((v) => {
3847
3853
  console.log(v);
3848
3854
  });
3849
3855
  }, c = () => {
3850
- ti(i);
3851
- }, y = (m, v) => {
3856
+ ni(i);
3857
+ }, g = (m, v) => {
3852
3858
  o.dispatchEvent(new CustomEvent(
3853
3859
  m,
3854
3860
  {
@@ -3858,28 +3864,28 @@ function ii(e, t, r) {
3858
3864
  // propagate across the shadow DOM
3859
3865
  }
3860
3866
  ));
3861
- }, g = () => {
3867
+ }, d = () => {
3862
3868
  window.postMessage({ type: "OMFE:getBetslipSelectionsCount" }, "*");
3863
3869
  }, E = (m) => {
3864
- const { type: v, payload: S } = m.data;
3870
+ const { type: v, payload: T } = m.data;
3865
3871
  if (m.data)
3866
3872
  switch (v) {
3867
3873
  case "OMFE:betslipSelectionsCount":
3868
- r(1, l = S.count), localStorage.setItem("OMFE:betSlipCount", l.toString());
3874
+ r(1, l = T.count), localStorage.setItem("OMFE:betSlipCount", l.toString());
3869
3875
  break;
3870
3876
  }
3871
3877
  };
3872
- Qt(() => {
3878
+ qt(() => {
3873
3879
  const m = localStorage.getItem("OMFE:betSlipCount");
3874
- return r(1, l = m !== null ? Number(m) : 0), g(), window.addEventListener("message", E, !1), () => {
3880
+ return r(1, l = m !== null ? Number(m) : 0), d(), window.addEventListener("message", E, !1), () => {
3875
3881
  window.removeEventListener("message", E);
3876
3882
  };
3877
- }), Object.keys(it).forEach((m) => {
3878
- nt(m, it[m]);
3883
+ }), Object.keys(ot).forEach((m) => {
3884
+ st(m, ot[m]);
3879
3885
  });
3880
- const H = (m) => y("betslipClick", {});
3886
+ const H = (m) => g("betslipClick", {});
3881
3887
  function N(m) {
3882
- Ee[m ? "unshift" : "push"](() => {
3888
+ _e[m ? "unshift" : "push"](() => {
3883
3889
  o = m, r(0, o);
3884
3890
  });
3885
3891
  }
@@ -3888,15 +3894,15 @@ function ii(e, t, r) {
3888
3894
  }, e.$$.update = () => {
3889
3895
  e.$$.dirty & /*lang*/
3890
3896
  16 && i && c(), e.$$.dirty & /*clientstyling, customStylingContainer*/
3891
- 33 && s && o && hr(o, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
3892
- 65 && a && o && lr(o, a), e.$$.dirty & /*mbsource, customStylingContainer*/
3893
- 129 && u && o && fr(o, `${u}.Style`), e.$$.dirty & /*translationurl*/
3897
+ 33 && s && o && fr(o, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
3898
+ 65 && a && o && cr(o, a), e.$$.dirty & /*mbsource, customStylingContainer*/
3899
+ 129 && u && o && mr(o, `${u}.Style`), e.$$.dirty & /*translationurl*/
3894
3900
  256 && h && f();
3895
3901
  }, [
3896
3902
  o,
3897
3903
  l,
3898
3904
  n,
3899
- y,
3905
+ g,
3900
3906
  i,
3901
3907
  s,
3902
3908
  a,
@@ -3906,14 +3912,14 @@ function ii(e, t, r) {
3906
3912
  N
3907
3913
  ];
3908
3914
  }
3909
- class si extends ar {
3915
+ class ai extends hr {
3910
3916
  constructor(t) {
3911
- super(), sr(
3917
+ super(), ar(
3912
3918
  this,
3913
3919
  t,
3914
- ii,
3915
- ni,
3916
- ot,
3920
+ oi,
3921
+ si,
3922
+ ut,
3917
3923
  {
3918
3924
  lang: 4,
3919
3925
  clientstyling: 5,
@@ -3921,41 +3927,41 @@ class si extends ar {
3921
3927
  mbsource: 7,
3922
3928
  translationurl: 8
3923
3929
  },
3924
- ri
3930
+ ii
3925
3931
  );
3926
3932
  }
3927
3933
  get lang() {
3928
3934
  return this.$$.ctx[4];
3929
3935
  }
3930
3936
  set lang(t) {
3931
- this.$$set({ lang: t }), w();
3937
+ this.$$set({ lang: t }), I();
3932
3938
  }
3933
3939
  get clientstyling() {
3934
3940
  return this.$$.ctx[5];
3935
3941
  }
3936
3942
  set clientstyling(t) {
3937
- this.$$set({ clientstyling: t }), w();
3943
+ this.$$set({ clientstyling: t }), I();
3938
3944
  }
3939
3945
  get clientstylingurl() {
3940
3946
  return this.$$.ctx[6];
3941
3947
  }
3942
3948
  set clientstylingurl(t) {
3943
- this.$$set({ clientstylingurl: t }), w();
3949
+ this.$$set({ clientstylingurl: t }), I();
3944
3950
  }
3945
3951
  get mbsource() {
3946
3952
  return this.$$.ctx[7];
3947
3953
  }
3948
3954
  set mbsource(t) {
3949
- this.$$set({ mbsource: t }), w();
3955
+ this.$$set({ mbsource: t }), I();
3950
3956
  }
3951
3957
  get translationurl() {
3952
3958
  return this.$$.ctx[8];
3953
3959
  }
3954
3960
  set translationurl(t) {
3955
- this.$$set({ translationurl: t }), w();
3961
+ this.$$set({ translationurl: t }), I();
3956
3962
  }
3957
3963
  }
3958
- or(si, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
3964
+ ur(ai, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
3959
3965
  export {
3960
- si as default
3966
+ ai as default
3961
3967
  };