@everymatrix/casino-betslip-indicator 1.55.0 → 1.56.2

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.
@@ -2,15 +2,15 @@ var nr = Object.defineProperty, ir = Object.defineProperties;
2
2
  var or = Object.getOwnPropertyDescriptors;
3
3
  var Je = Object.getOwnPropertySymbols;
4
4
  var sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable;
5
- var ge = (e, t, r) => t in e ? nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
5
+ var ve = (e, t, r) => t in e ? nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- sr.call(t, r) && ge(e, r, t[r]);
7
+ sr.call(t, r) && ve(e, r, t[r]);
8
8
  if (Je)
9
9
  for (var r of Je(t))
10
- ar.call(t, r) && ge(e, r, t[r]);
10
+ ar.call(t, r) && ve(e, r, t[r]);
11
11
  return e;
12
12
  }, qe = (e, t) => ir(e, or(t));
13
- var T = (e, t, r) => ge(e, typeof t != "symbol" ? t + "" : t, r);
13
+ var w = (e, t, r) => (ve(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var Ke = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
@@ -27,7 +27,7 @@ var Ke = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function B() {
30
+ function H() {
31
31
  }
32
32
  function St(e) {
33
33
  return e();
@@ -35,7 +35,7 @@ function St(e) {
35
35
  function et() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ee(e) {
38
+ function te(e) {
39
39
  e.forEach(St);
40
40
  }
41
41
  function Ve(e) {
@@ -51,12 +51,12 @@ function hr(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
54
- return B;
54
+ return H;
55
55
  }
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function A(e, t) {
59
+ function B(e, t) {
60
60
  e.appendChild(t);
61
61
  }
62
62
  function lr(e, t, r) {
@@ -67,7 +67,8 @@ function lr(e, t, r) {
67
67
  }
68
68
  }
69
69
  function cr(e) {
70
- if (!e) return document;
70
+ if (!e)
71
+ return document;
71
72
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
72
73
  return t && /** @type {ShadowRoot} */
73
74
  t.host ? (
@@ -76,13 +77,13 @@ function cr(e) {
76
77
  ) : e.ownerDocument;
77
78
  }
78
79
  function fr(e, t) {
79
- return A(
80
+ return B(
80
81
  /** @type {Document} */
81
82
  e.head || e,
82
83
  t
83
84
  ), t.sheet;
84
85
  }
85
- function te(e, t, r) {
86
+ function re(e, t, r) {
86
87
  e.insertBefore(t, r || null);
87
88
  }
88
89
  function X(e) {
@@ -103,7 +104,7 @@ function mr() {
103
104
  function pr(e, t, r, n) {
104
105
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
105
106
  }
106
- function E(e, t, r) {
107
+ function _(e, t, r) {
107
108
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
108
109
  }
109
110
  function dr(e) {
@@ -116,7 +117,7 @@ function br(e, t) {
116
117
  function yr(e, t, r, n) {
117
118
  e.style.setProperty(t, r, "");
118
119
  }
119
- function vr(e) {
120
+ function gr(e) {
120
121
  const t = {};
121
122
  return e.childNodes.forEach(
122
123
  /** @param {Element} node */
@@ -125,43 +126,45 @@ function vr(e) {
125
126
  }
126
127
  ), t;
127
128
  }
128
- let Y;
129
+ let q;
129
130
  function J(e) {
130
- Y = e;
131
+ q = e;
131
132
  }
132
- function gr() {
133
- if (!Y) throw new Error("Function called outside component initialization");
134
- return Y;
133
+ function vr() {
134
+ if (!q)
135
+ throw new Error("Function called outside component initialization");
136
+ return q;
135
137
  }
136
138
  function xr(e) {
137
- gr().$$.on_mount.push(e);
139
+ vr().$$.on_mount.push(e);
138
140
  }
139
141
  const R = [], Ae = [];
140
142
  let U = [];
141
143
  const tt = [], _r = /* @__PURE__ */ Promise.resolve();
142
144
  let Pe = !1;
143
145
  function Er() {
144
- Pe || (Pe = !0, _r.then(ce));
146
+ Pe || (Pe = !0, _r.then(Y));
145
147
  }
146
148
  function Oe(e) {
147
149
  U.push(e);
148
150
  }
149
151
  const xe = /* @__PURE__ */ new Set();
150
- let $ = 0;
151
- function ce() {
152
- if ($ !== 0)
152
+ let M = 0;
153
+ function Y() {
154
+ if (M !== 0)
153
155
  return;
154
- const e = Y;
156
+ const e = q;
155
157
  do {
156
158
  try {
157
- for (; $ < R.length; ) {
158
- const t = R[$];
159
- $++, J(t), Sr(t.$$);
159
+ for (; M < R.length; ) {
160
+ const t = R[M];
161
+ M++, J(t), Sr(t.$$);
160
162
  }
161
163
  } catch (t) {
162
- throw R.length = 0, $ = 0, t;
164
+ throw R.length = 0, M = 0, t;
163
165
  }
164
- for (J(null), R.length = 0, $ = 0; Ae.length; ) Ae.pop()();
166
+ for (J(null), R.length = 0, M = 0; Ae.length; )
167
+ Ae.pop()();
165
168
  for (let t = 0; t < U.length; t += 1) {
166
169
  const r = U[t];
167
170
  xe.has(r) || (xe.add(r), r());
@@ -174,7 +177,7 @@ function ce() {
174
177
  }
175
178
  function Sr(e) {
176
179
  if (e.fragment !== null) {
177
- e.update(), ee(e.before_update);
180
+ e.update(), te(e.before_update);
178
181
  const t = e.dirty;
179
182
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Oe);
180
183
  }
@@ -191,25 +194,25 @@ function Br(e, t, r) {
191
194
  const { fragment: n, after_update: i } = e.$$;
192
195
  n && n.m(t, r), Oe(() => {
193
196
  const o = e.$$.on_mount.map(St).filter(Ve);
194
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
197
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
195
198
  }), i.forEach(Oe);
196
199
  }
197
200
  function Ar(e, t) {
198
201
  const r = e.$$;
199
- r.fragment !== null && (wr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
202
+ r.fragment !== null && (wr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
200
203
  }
201
204
  function Pr(e, t) {
202
205
  e.$$.dirty[0] === -1 && (R.push(e), Er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
203
206
  }
204
207
  function Or(e, t, r, n, i, o, s = null, a = [-1]) {
205
- const h = Y;
208
+ const h = q;
206
209
  J(e);
207
210
  const u = e.$$ = {
208
211
  fragment: null,
209
212
  ctx: [],
210
213
  // state
211
214
  props: o,
212
- update: B,
215
+ update: H,
213
216
  not_equal: i,
214
217
  bound: et(),
215
218
  // lifecycle
@@ -227,16 +230,16 @@ function Or(e, t, r, n, i, o, s = null, a = [-1]) {
227
230
  };
228
231
  s && s(u.root);
229
232
  let l = !1;
230
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
231
- const v = d.length ? d[0] : f;
232
- return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && Pr(e, c)), f;
233
- }) : [], u.update(), l = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
233
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
234
+ const v = p.length ? p[0] : c;
235
+ return u.ctx && i(u.ctx[f], u.ctx[f] = v) && (!u.skip_bound && u.bound[f] && u.bound[f](v), l && Pr(e, f)), c;
236
+ }) : [], u.update(), l = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
234
237
  if (t.hydrate) {
235
- const c = dr(t.target);
236
- u.fragment && u.fragment.l(c), c.forEach(X);
238
+ const f = dr(t.target);
239
+ u.fragment && u.fragment.l(f), f.forEach(X);
237
240
  } else
238
241
  u.fragment && u.fragment.c();
239
- t.intro && Tr(e.$$.fragment), Br(e, t.target, t.anchor), ce();
242
+ t.intro && Tr(e.$$.fragment), Br(e, t.target, t.anchor), Y();
240
243
  }
241
244
  J(h);
242
245
  }
@@ -245,23 +248,23 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
245
248
  constructor(t, r, n) {
246
249
  super();
247
250
  /** The Svelte component constructor */
248
- T(this, "$$ctor");
251
+ w(this, "$$ctor");
249
252
  /** Slots */
250
- T(this, "$$s");
253
+ w(this, "$$s");
251
254
  /** The Svelte component instance */
252
- T(this, "$$c");
255
+ w(this, "$$c");
253
256
  /** Whether or not the custom element is connected */
254
- T(this, "$$cn", !1);
257
+ w(this, "$$cn", !1);
255
258
  /** Component props data */
256
- T(this, "$$d", {});
259
+ w(this, "$$d", {});
257
260
  /** `true` if currently in the process of reflecting component props back to attributes */
258
- T(this, "$$r", !1);
261
+ w(this, "$$r", !1);
259
262
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
260
- T(this, "$$p_d", {});
263
+ w(this, "$$p_d", {});
261
264
  /** @type {Record<string, Function[]>} Event listeners */
262
- T(this, "$$l", {});
265
+ w(this, "$$l", {});
263
266
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
264
- T(this, "$$l_u", /* @__PURE__ */ new Map());
267
+ w(this, "$$l_u", /* @__PURE__ */ new Map());
265
268
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
266
269
  }
267
270
  addEventListener(t, r, n) {
@@ -285,14 +288,14 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
285
288
  let s;
286
289
  return {
287
290
  c: function() {
288
- s = F("slot"), o !== "default" && E(s, "name", o);
291
+ s = F("slot"), o !== "default" && _(s, "name", o);
289
292
  },
290
293
  /**
291
294
  * @param {HTMLElement} target
292
295
  * @param {HTMLElement} [anchor]
293
296
  */
294
297
  m: function(u, l) {
295
- te(u, s, l);
298
+ re(u, s, l);
296
299
  },
297
300
  d: function(u) {
298
301
  u && X(s);
@@ -302,12 +305,12 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
302
305
  };
303
306
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
304
307
  return;
305
- const r = {}, n = vr(this);
308
+ const r = {}, n = gr(this);
306
309
  for (const o of this.$$s)
307
310
  o in n && (r[o] = [t(o)]);
308
311
  for (const o of this.attributes) {
309
312
  const s = this.$$g_p(o.name);
310
- s in this.$$d || (this.$$d[s] = ae(s, o.value, this.$$p_d, "toProp"));
313
+ s in this.$$d || (this.$$d[s] = ue(s, o.value, this.$$p_d, "toProp"));
311
314
  }
312
315
  for (const o in this.$$p_d)
313
316
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
@@ -324,7 +327,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
324
327
  this.$$r = !0;
325
328
  for (const o in this.$$p_d)
326
329
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
327
- const s = ae(
330
+ const s = ue(
328
331
  o,
329
332
  this.$$d[o],
330
333
  this.$$p_d,
@@ -348,7 +351,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
348
351
  // and setting attributes through setAttribute etc, this is helpful
349
352
  attributeChangedCallback(t, r, n) {
350
353
  var i;
351
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ae(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
354
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = ue(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
352
355
  }
353
356
  disconnectedCallback() {
354
357
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -361,7 +364,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
361
364
  ) || t;
362
365
  }
363
366
  });
364
- function ae(e, t, r, n) {
367
+ function ue(e, t, r, n) {
365
368
  var o;
366
369
  const i = (o = r[e]) == null ? void 0 : o.type;
367
370
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -409,7 +412,7 @@ function Ir(e, t, r, n, i, o) {
409
412
  },
410
413
  set(h) {
411
414
  var u;
412
- h = ae(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
415
+ h = ue(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
413
416
  }
414
417
  });
415
418
  }), n.forEach((a) => {
@@ -431,7 +434,7 @@ class Cr {
431
434
  *
432
435
  * @type {any}
433
436
  */
434
- T(this, "$$");
437
+ w(this, "$$");
435
438
  /**
436
439
  * ### PRIVATE API
437
440
  *
@@ -439,11 +442,11 @@ class Cr {
439
442
  *
440
443
  * @type {any}
441
444
  */
442
- T(this, "$$set");
445
+ w(this, "$$set");
443
446
  }
444
447
  /** @returns {void} */
445
448
  $destroy() {
446
- Ar(this, 1), this.$destroy = B;
449
+ Ar(this, 1), this.$destroy = H;
447
450
  }
448
451
  /**
449
452
  * @template {Extract<keyof Events, string>} K
@@ -453,7 +456,7 @@ class Cr {
453
456
  */
454
457
  $on(t, r) {
455
458
  if (!Ve(r))
456
- return B;
459
+ return H;
457
460
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
458
461
  return n.push(r), () => {
459
462
  const i = n.indexOf(r);
@@ -470,14 +473,29 @@ class Cr {
470
473
  }
471
474
  const Nr = "4";
472
475
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
476
+ /*! *****************************************************************************
477
+ Copyright (c) Microsoft Corporation.
478
+
479
+ Permission to use, copy, modify, and/or distribute this software for any
480
+ purpose with or without fee is hereby granted.
481
+
482
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
483
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
484
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
485
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
486
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
487
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
488
+ PERFORMANCE OF THIS SOFTWARE.
489
+ ***************************************************************************** */
473
490
  var Ie = function(e, t) {
474
491
  return Ie = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
475
492
  r.__proto__ = n;
476
493
  } || function(r, n) {
477
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
494
+ for (var i in n)
495
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
478
496
  }, Ie(e, t);
479
497
  };
480
- function O(e, t) {
498
+ function P(e, t) {
481
499
  if (typeof t != "function" && t !== null)
482
500
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
483
501
  Ie(e, t);
@@ -486,18 +504,20 @@ function O(e, t) {
486
504
  }
487
505
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
488
506
  }
489
- var y = function() {
490
- return y = Object.assign || function(t) {
507
+ var g = function() {
508
+ return g = Object.assign || function(t) {
491
509
  for (var r, n = 1, i = arguments.length; n < i; n++) {
492
510
  r = arguments[n];
493
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
511
+ for (var o in r)
512
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
494
513
  }
495
514
  return t;
496
- }, y.apply(this, arguments);
515
+ }, g.apply(this, arguments);
497
516
  };
498
517
  function Lr(e, t) {
499
518
  var r = {};
500
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
519
+ for (var n in e)
520
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
501
521
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
502
522
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
503
523
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
@@ -505,37 +525,43 @@ function Lr(e, t) {
505
525
  }
506
526
  function Ce(e) {
507
527
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
508
- if (r) return r.call(e);
509
- if (e && typeof e.length == "number") return {
510
- next: function() {
511
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
512
- }
513
- };
528
+ if (r)
529
+ return r.call(e);
530
+ if (e && typeof e.length == "number")
531
+ return {
532
+ next: function() {
533
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
534
+ }
535
+ };
514
536
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
515
537
  }
516
538
  function Ne(e, t) {
517
539
  var r = typeof Symbol == "function" && e[Symbol.iterator];
518
- if (!r) return e;
540
+ if (!r)
541
+ return e;
519
542
  var n = r.call(e), i, o = [], s;
520
543
  try {
521
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
544
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
545
+ o.push(i.value);
522
546
  } catch (a) {
523
547
  s = { error: a };
524
548
  } finally {
525
549
  try {
526
550
  i && !i.done && (r = n.return) && r.call(n);
527
551
  } finally {
528
- if (s) throw s.error;
552
+ if (s)
553
+ throw s.error;
529
554
  }
530
555
  }
531
556
  return o;
532
557
  }
533
558
  function D(e, t, r) {
534
- if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
535
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
536
- return e.concat(o || Array.prototype.slice.call(t));
559
+ if (r || arguments.length === 2)
560
+ for (var n = 0, i = t.length, o; n < i; n++)
561
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
562
+ return e.concat(o || t);
537
563
  }
538
- function P(e) {
564
+ function A(e) {
539
565
  return typeof e == "function";
540
566
  }
541
567
  function Bt(e) {
@@ -581,24 +607,25 @@ var pe = function() {
581
607
  try {
582
608
  h && !h.done && (r = a.return) && r.call(a);
583
609
  } finally {
584
- if (t) throw t.error;
610
+ if (t)
611
+ throw t.error;
585
612
  }
586
613
  }
587
614
  else
588
615
  s.remove(this);
589
616
  var l = this.initialTeardown;
590
- if (P(l))
617
+ if (A(l))
591
618
  try {
592
619
  l();
593
620
  } catch (m) {
594
621
  o = m instanceof _e ? m.errors : [m];
595
622
  }
596
- var c = this._finalizers;
597
- if (c) {
623
+ var f = this._finalizers;
624
+ if (f) {
598
625
  this._finalizers = null;
599
626
  try {
600
- for (var f = Ce(c), d = f.next(); !d.done; d = f.next()) {
601
- var v = d.value;
627
+ for (var c = Ce(f), p = c.next(); !p.done; p = c.next()) {
628
+ var v = p.value;
602
629
  try {
603
630
  rt(v);
604
631
  } catch (m) {
@@ -609,9 +636,10 @@ var pe = function() {
609
636
  n = { error: m };
610
637
  } finally {
611
638
  try {
612
- d && !d.done && (i = f.return) && i.call(f);
639
+ p && !p.done && (i = c.return) && i.call(c);
613
640
  } finally {
614
- if (n) throw n.error;
641
+ if (n)
642
+ throw n.error;
615
643
  }
616
644
  }
617
645
  }
@@ -649,10 +677,10 @@ var pe = function() {
649
677
  }(), e;
650
678
  }(), At = pe.EMPTY;
651
679
  function Pt(e) {
652
- return e instanceof pe || e && "closed" in e && P(e.remove) && P(e.add) && P(e.unsubscribe);
680
+ return e instanceof pe || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
653
681
  }
654
682
  function rt(e) {
655
- P(e) ? e() : e.unsubscribe();
683
+ A(e) ? e() : e.unsubscribe();
656
684
  }
657
685
  var Ot = {
658
686
  onUnhandledError: null,
@@ -660,7 +688,7 @@ var Ot = {
660
688
  Promise: void 0,
661
689
  useDeprecatedSynchronousErrorHandling: !1,
662
690
  useDeprecatedNextContext: !1
663
- }, $r = {
691
+ }, Mr = {
664
692
  setTimeout: function(e, t) {
665
693
  for (var r = [], n = 2; n < arguments.length; n++)
666
694
  r[n - 2] = arguments[n];
@@ -671,24 +699,24 @@ var Ot = {
671
699
  },
672
700
  delegate: void 0
673
701
  };
674
- function Mr(e) {
675
- $r.setTimeout(function() {
702
+ function $r(e) {
703
+ Mr.setTimeout(function() {
676
704
  throw e;
677
705
  });
678
706
  }
679
707
  function nt() {
680
708
  }
681
- function ue(e) {
709
+ function he(e) {
682
710
  e();
683
711
  }
684
712
  var It = function(e) {
685
- O(t, e);
713
+ P(t, e);
686
714
  function t(r) {
687
715
  var n = e.call(this) || this;
688
716
  return n.isStopped = !1, r ? (n.destination = r, Pt(r) && r.add(n)) : n.destination = Fr, n;
689
717
  }
690
718
  return t.create = function(r, n, i) {
691
- return new $e(r, n, i);
719
+ return new Me(r, n, i);
692
720
  }, t.prototype.next = function(r) {
693
721
  this.isStopped || this._next(r);
694
722
  }, t.prototype.error = function(r) {
@@ -726,7 +754,7 @@ var Ur = function() {
726
754
  try {
727
755
  r.next(t);
728
756
  } catch (n) {
729
- oe(n);
757
+ se(n);
730
758
  }
731
759
  }, e.prototype.error = function(t) {
732
760
  var r = this.partialObserver;
@@ -734,24 +762,24 @@ var Ur = function() {
734
762
  try {
735
763
  r.error(t);
736
764
  } catch (n) {
737
- oe(n);
765
+ se(n);
738
766
  }
739
767
  else
740
- oe(t);
768
+ se(t);
741
769
  }, e.prototype.complete = function() {
742
770
  var t = this.partialObserver;
743
771
  if (t.complete)
744
772
  try {
745
773
  t.complete();
746
774
  } catch (r) {
747
- oe(r);
775
+ se(r);
748
776
  }
749
777
  }, e;
750
- }(), $e = function(e) {
751
- O(t, e);
778
+ }(), Me = function(e) {
779
+ P(t, e);
752
780
  function t(r, n, i) {
753
781
  var o = e.call(this) || this, s;
754
- if (P(r) || !r)
782
+ if (A(r) || !r)
755
783
  s = {
756
784
  next: r != null ? r : void 0,
757
785
  error: n != null ? n : void 0,
@@ -771,8 +799,8 @@ var Ur = function() {
771
799
  }
772
800
  return t;
773
801
  }(It);
774
- function oe(e) {
775
- Mr(e);
802
+ function se(e) {
803
+ $r(e);
776
804
  }
777
805
  function Dr(e) {
778
806
  throw e;
@@ -803,8 +831,8 @@ var it = function() {
803
831
  var r = new e();
804
832
  return r.source = this, r.operator = t, r;
805
833
  }, e.prototype.subscribe = function(t, r, n) {
806
- var i = this, o = Xr(t) ? t : new $e(t, r, n);
807
- return ue(function() {
834
+ var i = this, o = Xr(t) ? t : new Me(t, r, n);
835
+ return he(function() {
808
836
  var s = i, a = s.operator, h = s.source;
809
837
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
810
838
  }), o;
@@ -817,7 +845,7 @@ var it = function() {
817
845
  }, e.prototype.forEach = function(t, r) {
818
846
  var n = this;
819
847
  return r = ot(r), new r(function(i, o) {
820
- var s = new $e({
848
+ var s = new Me({
821
849
  next: function(a) {
822
850
  try {
823
851
  t(a);
@@ -860,17 +888,17 @@ function ot(e) {
860
888
  return (t = e != null ? e : Ot.Promise) !== null && t !== void 0 ? t : Promise;
861
889
  }
862
890
  function Vr(e) {
863
- return e && P(e.next) && P(e.error) && P(e.complete);
891
+ return e && A(e.next) && A(e.error) && A(e.complete);
864
892
  }
865
893
  function Xr(e) {
866
894
  return e && e instanceof It || Vr(e) && Pt(e);
867
895
  }
868
- var Wr = Bt(function(e) {
896
+ var zr = Bt(function(e) {
869
897
  return function() {
870
898
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
871
899
  };
872
900
  }), Ct = function(e) {
873
- O(t, e);
901
+ P(t, e);
874
902
  function t() {
875
903
  var r = e.call(this) || this;
876
904
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
@@ -880,10 +908,10 @@ var Wr = Bt(function(e) {
880
908
  return n.operator = r, n;
881
909
  }, t.prototype._throwIfClosed = function() {
882
910
  if (this.closed)
883
- throw new Wr();
911
+ throw new zr();
884
912
  }, t.prototype.next = function(r) {
885
913
  var n = this;
886
- ue(function() {
914
+ he(function() {
887
915
  var i, o;
888
916
  if (n._throwIfClosed(), !n.isStopped) {
889
917
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
@@ -898,14 +926,15 @@ var Wr = Bt(function(e) {
898
926
  try {
899
927
  a && !a.done && (o = s.return) && o.call(s);
900
928
  } finally {
901
- if (i) throw i.error;
929
+ if (i)
930
+ throw i.error;
902
931
  }
903
932
  }
904
933
  }
905
934
  });
906
935
  }, t.prototype.error = function(r) {
907
936
  var n = this;
908
- ue(function() {
937
+ he(function() {
909
938
  if (n._throwIfClosed(), !n.isStopped) {
910
939
  n.hasError = n.isStopped = !0, n.thrownError = r;
911
940
  for (var i = n.observers; i.length; )
@@ -914,7 +943,7 @@ var Wr = Bt(function(e) {
914
943
  });
915
944
  }, t.prototype.complete = function() {
916
945
  var r = this;
917
- ue(function() {
946
+ he(function() {
918
947
  if (r._throwIfClosed(), !r.isStopped) {
919
948
  r.isStopped = !0;
920
949
  for (var n = r.observers; n.length; )
@@ -949,7 +978,7 @@ var Wr = Bt(function(e) {
949
978
  return new st(r, n);
950
979
  }, t;
951
980
  }(it), st = function(e) {
952
- O(t, e);
981
+ P(t, e);
953
982
  function t(r, n) {
954
983
  var i = e.call(this) || this;
955
984
  return i.destination = r, i.source = n, i;
@@ -972,8 +1001,8 @@ var Wr = Bt(function(e) {
972
1001
  return (Nt.delegate || Date).now();
973
1002
  },
974
1003
  delegate: void 0
975
- }, zr = function(e) {
976
- O(t, e);
1004
+ }, Wr = function(e) {
1005
+ P(t, e);
977
1006
  function t(r, n, i) {
978
1007
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Nt);
979
1008
  var o = e.call(this) || this;
@@ -998,43 +1027,43 @@ var Wr = Bt(function(e) {
998
1027
  }(Ct);
999
1028
  const at = [], ut = {}, Zr = (e, t = 0) => {
1000
1029
  if (at.indexOf(e) == -1) {
1001
- const r = new zr(t);
1030
+ const r = new Wr(t);
1002
1031
  ut[e] = r, at.push(e);
1003
1032
  }
1004
1033
  return ut[e];
1005
- }, M = [];
1034
+ }, $ = [];
1006
1035
  function Qr(e, t) {
1007
1036
  return {
1008
1037
  subscribe: de(e, t).subscribe
1009
1038
  };
1010
1039
  }
1011
- function de(e, t = B) {
1040
+ function de(e, t = H) {
1012
1041
  let r;
1013
1042
  const n = /* @__PURE__ */ new Set();
1014
1043
  function i(a) {
1015
1044
  if (wt(e, a) && (e = a, r)) {
1016
- const h = !M.length;
1045
+ const h = !$.length;
1017
1046
  for (const u of n)
1018
- u[1](), M.push(u, e);
1047
+ u[1](), $.push(u, e);
1019
1048
  if (h) {
1020
- for (let u = 0; u < M.length; u += 2)
1021
- M[u][0](M[u + 1]);
1022
- M.length = 0;
1049
+ for (let u = 0; u < $.length; u += 2)
1050
+ $[u][0]($[u + 1]);
1051
+ $.length = 0;
1023
1052
  }
1024
1053
  }
1025
1054
  }
1026
1055
  function o(a) {
1027
1056
  i(a(e));
1028
1057
  }
1029
- function s(a, h = B) {
1058
+ function s(a, h = H) {
1030
1059
  const u = [a, h];
1031
- return n.add(u), n.size === 1 && (r = t(i, o) || B), a(e), () => {
1060
+ return n.add(u), n.size === 1 && (r = t(i, o) || H), a(e), () => {
1032
1061
  n.delete(u), n.size === 0 && r && (r(), r = null);
1033
1062
  };
1034
1063
  }
1035
1064
  return { set: i, update: o, subscribe: s };
1036
1065
  }
1037
- function W(e, t, r) {
1066
+ function z(e, t, r) {
1038
1067
  const n = !Array.isArray(e), i = n ? [e] : e;
1039
1068
  if (!i.every(Boolean))
1040
1069
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1042,26 +1071,26 @@ function W(e, t, r) {
1042
1071
  return Qr(r, (s, a) => {
1043
1072
  let h = !1;
1044
1073
  const u = [];
1045
- let l = 0, c = B;
1046
- const f = () => {
1074
+ let l = 0, f = H;
1075
+ const c = () => {
1047
1076
  if (l)
1048
1077
  return;
1049
- c();
1078
+ f();
1050
1079
  const v = t(n ? u[0] : u, s, a);
1051
- o ? s(v) : c = Ve(v) ? v : B;
1052
- }, d = i.map(
1080
+ o ? s(v) : f = Ve(v) ? v : H;
1081
+ }, p = i.map(
1053
1082
  (v, m) => hr(
1054
1083
  v,
1055
- (_) => {
1056
- u[m] = _, l &= ~(1 << m), h && f();
1084
+ (d) => {
1085
+ u[m] = d, l &= ~(1 << m), h && c();
1057
1086
  },
1058
1087
  () => {
1059
1088
  l |= 1 << m;
1060
1089
  }
1061
1090
  )
1062
1091
  );
1063
- return h = !0, f(), function() {
1064
- ee(d), c(), h = !1;
1092
+ return h = !0, c(), function() {
1093
+ te(p), f(), h = !1;
1065
1094
  };
1066
1095
  });
1067
1096
  }
@@ -1085,12 +1114,12 @@ function rn(e) {
1085
1114
  function nn(e) {
1086
1115
  return Array.isArray(e) ? [] : {};
1087
1116
  }
1088
- function q(e, t) {
1117
+ function K(e, t) {
1089
1118
  return t.clone !== !1 && t.isMergeableObject(e) ? G(nn(e), e, t) : e;
1090
1119
  }
1091
1120
  function on(e, t, r) {
1092
1121
  return e.concat(t).map(function(n) {
1093
- return q(n, r);
1122
+ return K(n, r);
1094
1123
  });
1095
1124
  }
1096
1125
  function sn(e, t) {
@@ -1120,15 +1149,15 @@ function un(e, t) {
1120
1149
  function hn(e, t, r) {
1121
1150
  var n = {};
1122
1151
  return r.isMergeableObject(e) && ht(e).forEach(function(i) {
1123
- n[i] = q(e[i], r);
1152
+ n[i] = K(e[i], r);
1124
1153
  }), ht(t).forEach(function(i) {
1125
- un(e, i) || (Lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = sn(i, r)(e[i], t[i], r) : n[i] = q(t[i], r));
1154
+ un(e, i) || (Lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = sn(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
1126
1155
  }), n;
1127
1156
  }
1128
1157
  function G(e, t, r) {
1129
- r = r || {}, r.arrayMerge = r.arrayMerge || on, r.isMergeableObject = r.isMergeableObject || Yr, r.cloneUnlessOtherwiseSpecified = q;
1158
+ r = r || {}, r.arrayMerge = r.arrayMerge || on, r.isMergeableObject = r.isMergeableObject || Yr, r.cloneUnlessOtherwiseSpecified = K;
1130
1159
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1131
- return o ? n ? r.arrayMerge(e, t, r) : hn(e, t, r) : q(t, r);
1160
+ return o ? n ? r.arrayMerge(e, t, r) : hn(e, t, r) : K(t, r);
1132
1161
  }
1133
1162
  G.all = function(t, r) {
1134
1163
  if (!Array.isArray(t))
@@ -1140,7 +1169,7 @@ G.all = function(t, r) {
1140
1169
  var ln = G, cn = ln;
1141
1170
  const fn = /* @__PURE__ */ Jr(cn);
1142
1171
  function Se(e, t) {
1143
- var r = t && t.cache ? t.cache : vn, n = t && t.serializer ? t.serializer : yn, i = t && t.strategy ? t.strategy : pn;
1172
+ var r = t && t.cache ? t.cache : gn, n = t && t.serializer ? t.serializer : yn, i = t && t.strategy ? t.strategy : pn;
1144
1173
  return i(e, {
1145
1174
  cache: r,
1146
1175
  serializer: n
@@ -1149,11 +1178,11 @@ function Se(e, t) {
1149
1178
  function mn(e) {
1150
1179
  return e == null || typeof e == "number" || typeof e == "boolean";
1151
1180
  }
1152
- function $t(e, t, r, n) {
1181
+ function Mt(e, t, r, n) {
1153
1182
  var i = mn(n) ? n : r(n), o = t.get(i);
1154
1183
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1155
1184
  }
1156
- function Mt(e, t, r) {
1185
+ function $t(e, t, r) {
1157
1186
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1158
1187
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1159
1188
  }
@@ -1161,38 +1190,38 @@ function Xe(e, t, r, n, i) {
1161
1190
  return r.bind(t, e, n, i);
1162
1191
  }
1163
1192
  function pn(e, t) {
1164
- var r = e.length === 1 ? $t : Mt;
1193
+ var r = e.length === 1 ? Mt : $t;
1165
1194
  return Xe(e, this, r, t.cache.create(), t.serializer);
1166
1195
  }
1167
1196
  function dn(e, t) {
1168
- return Xe(e, this, Mt, t.cache.create(), t.serializer);
1197
+ return Xe(e, this, $t, t.cache.create(), t.serializer);
1169
1198
  }
1170
1199
  function bn(e, t) {
1171
- return Xe(e, this, $t, t.cache.create(), t.serializer);
1200
+ return Xe(e, this, Mt, t.cache.create(), t.serializer);
1172
1201
  }
1173
1202
  var yn = function() {
1174
1203
  return JSON.stringify(arguments);
1175
1204
  };
1176
- function We() {
1205
+ function ze() {
1177
1206
  this.cache = /* @__PURE__ */ Object.create(null);
1178
1207
  }
1179
- We.prototype.get = function(e) {
1208
+ ze.prototype.get = function(e) {
1180
1209
  return this.cache[e];
1181
1210
  };
1182
- We.prototype.set = function(e, t) {
1211
+ ze.prototype.set = function(e, t) {
1183
1212
  this.cache[e] = t;
1184
1213
  };
1185
- var vn = {
1214
+ var gn = {
1186
1215
  create: function() {
1187
- return new We();
1216
+ return new ze();
1188
1217
  }
1189
1218
  }, we = {
1190
1219
  variadic: dn,
1191
1220
  monadic: bn
1192
- }, p;
1221
+ }, b;
1193
1222
  (function(e) {
1194
1223
  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";
1195
- })(p || (p = {}));
1224
+ })(b || (b = {}));
1196
1225
  var x;
1197
1226
  (function(e) {
1198
1227
  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";
@@ -1204,7 +1233,7 @@ var j;
1204
1233
  function lt(e) {
1205
1234
  return e.type === x.literal;
1206
1235
  }
1207
- function gn(e) {
1236
+ function vn(e) {
1208
1237
  return e.type === x.argument;
1209
1238
  }
1210
1239
  function Rt(e) {
@@ -1231,7 +1260,7 @@ function jt(e) {
1231
1260
  function kt(e) {
1232
1261
  return !!(e && typeof e == "object" && e.type === j.number);
1233
1262
  }
1234
- function Me(e) {
1263
+ function $e(e) {
1235
1264
  return !!(e && typeof e == "object" && e.type === j.dateTime);
1236
1265
  }
1237
1266
  var Vt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, _n = /(?:[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;
@@ -1330,15 +1359,15 @@ var Sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1330
1359
  function wn(e) {
1331
1360
  if (e.length === 0)
1332
1361
  throw new Error("Number skeleton cannot be empty");
1333
- for (var t = e.split(Sn).filter(function(f) {
1334
- return f.length > 0;
1362
+ for (var t = e.split(Sn).filter(function(c) {
1363
+ return c.length > 0;
1335
1364
  }), r = [], n = 0, i = t; n < i.length; n++) {
1336
1365
  var o = i[n], s = o.split("/");
1337
1366
  if (s.length === 0)
1338
1367
  throw new Error("Invalid number skeleton");
1339
1368
  for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
1340
- var c = l[u];
1341
- if (c.length === 0)
1369
+ var f = l[u];
1370
+ if (f.length === 0)
1342
1371
  throw new Error("Invalid number skeleton");
1343
1372
  }
1344
1373
  r.push({ stem: a, options: h });
@@ -1348,14 +1377,14 @@ function wn(e) {
1348
1377
  function Hn(e) {
1349
1378
  return e.replace(/^(.*?)-/, "");
1350
1379
  }
1351
- var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Xt = /^(@+)?(\+|#+)?[rs]?$/g, Tn = /(\*)(0+)|(#+)(0+)|(0+)/g, Wt = /^(0+)$/;
1380
+ var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Xt = /^(@+)?(\+|#+)?[rs]?$/g, Tn = /(\*)(0+)|(#+)(0+)|(0+)/g, zt = /^(0+)$/;
1352
1381
  function ft(e) {
1353
1382
  var t = {};
1354
1383
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Xt, function(r, n, i) {
1355
1384
  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)), "";
1356
1385
  }), t;
1357
1386
  }
1358
- function zt(e) {
1387
+ function Wt(e) {
1359
1388
  switch (e) {
1360
1389
  case "sign-auto":
1361
1390
  return {
@@ -1403,14 +1432,14 @@ function Bn(e) {
1403
1432
  notation: "scientific"
1404
1433
  }, e = e.slice(1)), t) {
1405
1434
  var r = e.slice(0, 2);
1406
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Wt.test(e))
1435
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !zt.test(e))
1407
1436
  throw new Error("Malformed concise eng/scientific notation");
1408
1437
  t.minimumIntegerDigits = e.length;
1409
1438
  }
1410
1439
  return t;
1411
1440
  }
1412
1441
  function mt(e) {
1413
- var t = {}, r = zt(e);
1442
+ var t = {}, r = Wt(e);
1414
1443
  return r || t;
1415
1444
  }
1416
1445
  function An(e) {
@@ -1448,13 +1477,13 @@ function An(e) {
1448
1477
  t.notation = "compact", t.compactDisplay = "long";
1449
1478
  continue;
1450
1479
  case "scientific":
1451
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1452
- return y(y({}, h), mt(u));
1480
+ t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1481
+ return g(g({}, h), mt(u));
1453
1482
  }, {}));
1454
1483
  continue;
1455
1484
  case "engineering":
1456
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1457
- return y(y({}, h), mt(u));
1485
+ t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1486
+ return g(g({}, h), mt(u));
1458
1487
  }, {}));
1459
1488
  continue;
1460
1489
  case "notation-simple":
@@ -1499,45 +1528,45 @@ function An(e) {
1499
1528
  case "integer-width":
1500
1529
  if (i.options.length > 1)
1501
1530
  throw new RangeError("integer-width stems only accept a single optional option");
1502
- i.options[0].replace(Tn, function(h, u, l, c, f, d) {
1531
+ i.options[0].replace(Tn, function(h, u, l, f, c, p) {
1503
1532
  if (u)
1504
1533
  t.minimumIntegerDigits = l.length;
1505
1534
  else {
1506
- if (c && f)
1535
+ if (f && c)
1507
1536
  throw new Error("We currently do not support maximum integer digits");
1508
- if (d)
1537
+ if (p)
1509
1538
  throw new Error("We currently do not support exact integer digits");
1510
1539
  }
1511
1540
  return "";
1512
1541
  });
1513
1542
  continue;
1514
1543
  }
1515
- if (Wt.test(i.stem)) {
1544
+ if (zt.test(i.stem)) {
1516
1545
  t.minimumIntegerDigits = i.stem.length;
1517
1546
  continue;
1518
1547
  }
1519
1548
  if (ct.test(i.stem)) {
1520
1549
  if (i.options.length > 1)
1521
1550
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1522
- i.stem.replace(ct, function(h, u, l, c, f, d) {
1523
- return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1551
+ i.stem.replace(ct, function(h, u, l, f, c, p) {
1552
+ return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1524
1553
  });
1525
1554
  var o = i.options[0];
1526
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), ft(o)));
1555
+ o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), ft(o)));
1527
1556
  continue;
1528
1557
  }
1529
1558
  if (Xt.test(i.stem)) {
1530
- t = y(y({}, t), ft(i.stem));
1559
+ t = g(g({}, t), ft(i.stem));
1531
1560
  continue;
1532
1561
  }
1533
- var s = zt(i.stem);
1534
- s && (t = y(y({}, t), s));
1562
+ var s = Wt(i.stem);
1563
+ s && (t = g(g({}, t), s));
1535
1564
  var a = Bn(i.stem);
1536
- a && (t = y(y({}, t), a));
1565
+ a && (t = g(g({}, t), a));
1537
1566
  }
1538
1567
  return t;
1539
1568
  }
1540
- var se = {
1569
+ var ae = {
1541
1570
  "001": [
1542
1571
  "H",
1543
1572
  "h"
@@ -2963,7 +2992,8 @@ function Pn(e, t) {
2963
2992
  r += h;
2964
2993
  for (; s-- > 0; )
2965
2994
  r = u + r;
2966
- } else i === "J" ? r += "H" : r += i;
2995
+ } else
2996
+ i === "J" ? r += "H" : r += i;
2967
2997
  }
2968
2998
  return r;
2969
2999
  }
@@ -2986,14 +3016,14 @@ function On(e) {
2986
3016
  }
2987
3017
  var r = e.language, n;
2988
3018
  r !== "root" && (n = e.maximize().region);
2989
- var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
3019
+ var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
2990
3020
  return i[0];
2991
3021
  }
2992
3022
  var He, In = new RegExp("^".concat(Vt.source, "*")), Cn = new RegExp("".concat(Vt.source, "*$"));
2993
- function b(e, t) {
3023
+ function y(e, t) {
2994
3024
  return { start: e, end: t };
2995
3025
  }
2996
- var Nn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ln = !!String.fromCodePoint, $n = !!Object.fromEntries, Mn = !!String.prototype.codePointAt, Rn = !!String.prototype.trimStart, Un = !!String.prototype.trimEnd, Dn = !!Number.isSafeInteger, Fn = Dn ? Number.isSafeInteger : function(e) {
3026
+ var Nn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ln = !!String.fromCodePoint, Mn = !!Object.fromEntries, $n = !!String.prototype.codePointAt, Rn = !!String.prototype.trimStart, Un = !!String.prototype.trimEnd, Dn = !!Number.isSafeInteger, Fn = Dn ? Number.isSafeInteger : function(e) {
2997
3027
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2998
3028
  }, Re = !0;
2999
3029
  try {
@@ -3026,7 +3056,7 @@ var pt = Nn ? (
3026
3056
  }
3027
3057
  ), dt = (
3028
3058
  // native
3029
- $n ? Object.fromEntries : (
3059
+ Mn ? Object.fromEntries : (
3030
3060
  // Ponyfill
3031
3061
  function(t) {
3032
3062
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3036,7 +3066,7 @@ var pt = Nn ? (
3036
3066
  return r;
3037
3067
  }
3038
3068
  )
3039
- ), Zt = Mn ? (
3069
+ ), Zt = $n ? (
3040
3070
  // Native
3041
3071
  function(t, r) {
3042
3072
  return t.codePointAt(r);
@@ -3087,7 +3117,7 @@ if (Re) {
3087
3117
  De = function(t, r) {
3088
3118
  for (var n = []; ; ) {
3089
3119
  var i = Zt(t, r);
3090
- if (i === void 0 || Jt(i) || zn(i))
3120
+ if (i === void 0 || Jt(i) || Wn(i))
3091
3121
  break;
3092
3122
  n.push(i), r += i >= 65536 ? 2 : 1;
3093
3123
  }
@@ -3118,12 +3148,12 @@ var Vn = (
3118
3148
  var a = this.clonePosition();
3119
3149
  this.bump(), i.push({
3120
3150
  type: x.pound,
3121
- location: b(a, this.clonePosition())
3151
+ location: y(a, this.clonePosition())
3122
3152
  });
3123
3153
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3124
3154
  if (n)
3125
3155
  break;
3126
- return this.error(p.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3156
+ return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3127
3157
  } else if (o === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
3128
3158
  var s = this.parseTag(t, r);
3129
3159
  if (s.err)
@@ -3147,7 +3177,7 @@ var Vn = (
3147
3177
  val: {
3148
3178
  type: x.literal,
3149
3179
  value: "<".concat(i, "/>"),
3150
- location: b(n, this.clonePosition())
3180
+ location: y(n, this.clonePosition())
3151
3181
  },
3152
3182
  err: null
3153
3183
  };
@@ -3158,24 +3188,24 @@ var Vn = (
3158
3188
  var s = o.val, a = this.clonePosition();
3159
3189
  if (this.bumpIf("</")) {
3160
3190
  if (this.isEOF() || !Fe(this.char()))
3161
- return this.error(p.INVALID_TAG, b(a, this.clonePosition()));
3191
+ return this.error(b.INVALID_TAG, y(a, this.clonePosition()));
3162
3192
  var h = this.clonePosition(), u = this.parseTagName();
3163
- return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3193
+ return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3164
3194
  val: {
3165
3195
  type: x.tag,
3166
3196
  value: i,
3167
3197
  children: s,
3168
- location: b(n, this.clonePosition())
3198
+ location: y(n, this.clonePosition())
3169
3199
  },
3170
3200
  err: null
3171
- } : this.error(p.INVALID_TAG, b(a, this.clonePosition())));
3201
+ } : this.error(b.INVALID_TAG, y(a, this.clonePosition())));
3172
3202
  } else
3173
- return this.error(p.UNCLOSED_TAG, b(n, this.clonePosition()));
3203
+ return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
3174
3204
  } else
3175
- return this.error(p.INVALID_TAG, b(n, this.clonePosition()));
3205
+ return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
3176
3206
  }, e.prototype.parseTagName = function() {
3177
3207
  var t = this.offset();
3178
- for (this.bump(); !this.isEOF() && Wn(this.char()); )
3208
+ for (this.bump(); !this.isEOF() && zn(this.char()); )
3179
3209
  this.bump();
3180
3210
  return this.message.slice(t, this.offset());
3181
3211
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3197,7 +3227,7 @@ var Vn = (
3197
3227
  }
3198
3228
  break;
3199
3229
  }
3200
- var h = b(n, this.clonePosition());
3230
+ var h = y(n, this.clonePosition());
3201
3231
  return {
3202
3232
  val: { type: x.literal, value: i, location: h },
3203
3233
  err: null
@@ -3247,14 +3277,14 @@ var Vn = (
3247
3277
  }, e.prototype.parseArgument = function(t, r) {
3248
3278
  var n = this.clonePosition();
3249
3279
  if (this.bump(), this.bumpSpace(), this.isEOF())
3250
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3280
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3251
3281
  if (this.char() === 125)
3252
- return this.bump(), this.error(p.EMPTY_ARGUMENT, b(n, this.clonePosition()));
3282
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, y(n, this.clonePosition()));
3253
3283
  var i = this.parseIdentifierIfPossible().value;
3254
3284
  if (!i)
3255
- return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3285
+ return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3256
3286
  if (this.bumpSpace(), this.isEOF())
3257
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3287
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3258
3288
  switch (this.char()) {
3259
3289
  case 125:
3260
3290
  return this.bump(), {
@@ -3262,25 +3292,25 @@ var Vn = (
3262
3292
  type: x.argument,
3263
3293
  // value does not include the opening and closing braces.
3264
3294
  value: i,
3265
- location: b(n, this.clonePosition())
3295
+ location: y(n, this.clonePosition())
3266
3296
  },
3267
3297
  err: null
3268
3298
  };
3269
3299
  case 44:
3270
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3300
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3271
3301
  default:
3272
- return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3302
+ return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3273
3303
  }
3274
3304
  }, e.prototype.parseIdentifierIfPossible = function() {
3275
3305
  var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
3276
3306
  this.bumpTo(i);
3277
- var o = this.clonePosition(), s = b(t, o);
3307
+ var o = this.clonePosition(), s = y(t, o);
3278
3308
  return { value: n, location: s };
3279
3309
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3280
3310
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3281
3311
  switch (a) {
3282
3312
  case "":
3283
- return this.error(p.EXPECT_ARGUMENT_TYPE, b(s, h));
3313
+ return this.error(b.EXPECT_ARGUMENT_TYPE, y(s, h));
3284
3314
  case "number":
3285
3315
  case "date":
3286
3316
  case "time": {
@@ -3288,40 +3318,40 @@ var Vn = (
3288
3318
  var u = null;
3289
3319
  if (this.bumpIf(",")) {
3290
3320
  this.bumpSpace();
3291
- var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3292
- if (c.err)
3293
- return c;
3294
- var f = kn(c.val);
3295
- if (f.length === 0)
3296
- return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3297
- var d = b(l, this.clonePosition());
3298
- u = { style: f, styleLocation: d };
3321
+ var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3322
+ if (f.err)
3323
+ return f;
3324
+ var c = kn(f.val);
3325
+ if (c.length === 0)
3326
+ return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3327
+ var p = y(l, this.clonePosition());
3328
+ u = { style: c, styleLocation: p };
3299
3329
  }
3300
3330
  var v = this.tryParseArgumentClose(i);
3301
3331
  if (v.err)
3302
3332
  return v;
3303
- var m = b(i, this.clonePosition());
3333
+ var m = y(i, this.clonePosition());
3304
3334
  if (u && pt(u == null ? void 0 : u.style, "::", 0)) {
3305
- var _ = jn(u.style.slice(2));
3335
+ var d = jn(u.style.slice(2));
3306
3336
  if (a === "number") {
3307
- var c = this.parseNumberSkeletonFromString(_, u.styleLocation);
3308
- return c.err ? c : {
3309
- val: { type: x.number, value: n, location: m, style: c.val },
3337
+ var f = this.parseNumberSkeletonFromString(d, u.styleLocation);
3338
+ return f.err ? f : {
3339
+ val: { type: x.number, value: n, location: m, style: f.val },
3310
3340
  err: null
3311
3341
  };
3312
3342
  } else {
3313
- if (_.length === 0)
3314
- return this.error(p.EXPECT_DATE_TIME_SKELETON, m);
3315
- var g = _;
3316
- this.locale && (g = Pn(_, this.locale));
3317
- var f = {
3343
+ if (d.length === 0)
3344
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3345
+ var S = d;
3346
+ this.locale && (S = Pn(d, this.locale));
3347
+ var c = {
3318
3348
  type: j.dateTime,
3319
- pattern: g,
3349
+ pattern: S,
3320
3350
  location: u.styleLocation,
3321
- parsedOptions: this.shouldParseSkeletons ? En(g) : {}
3322
- }, H = a === "date" ? x.date : x.time;
3351
+ parsedOptions: this.shouldParseSkeletons ? En(S) : {}
3352
+ }, O = a === "date" ? x.date : x.time;
3323
3353
  return {
3324
- val: { type: H, value: n, location: m, style: f },
3354
+ val: { type: O, value: n, location: m, style: c },
3325
3355
  err: null
3326
3356
  };
3327
3357
  }
@@ -3339,32 +3369,32 @@ var Vn = (
3339
3369
  case "plural":
3340
3370
  case "selectordinal":
3341
3371
  case "select": {
3342
- var S = this.clonePosition();
3372
+ var T = this.clonePosition();
3343
3373
  if (this.bumpSpace(), !this.bumpIf(","))
3344
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(S, y({}, S)));
3374
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, g({}, T)));
3345
3375
  this.bumpSpace();
3346
3376
  var Z = this.parseIdentifierIfPossible(), C = 0;
3347
3377
  if (a !== "select" && Z.value === "offset") {
3348
3378
  if (!this.bumpIf(":"))
3349
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3379
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3350
3380
  this.bumpSpace();
3351
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3352
- if (c.err)
3353
- return c;
3354
- this.bumpSpace(), Z = this.parseIdentifierIfPossible(), C = c.val;
3381
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3382
+ if (f.err)
3383
+ return f;
3384
+ this.bumpSpace(), Z = this.parseIdentifierIfPossible(), C = f.val;
3355
3385
  }
3356
- var ie = this.tryParsePluralOrSelectOptions(t, a, r, Z);
3357
- if (ie.err)
3358
- return ie;
3386
+ var oe = this.tryParsePluralOrSelectOptions(t, a, r, Z);
3387
+ if (oe.err)
3388
+ return oe;
3359
3389
  var v = this.tryParseArgumentClose(i);
3360
3390
  if (v.err)
3361
3391
  return v;
3362
- var Qe = b(i, this.clonePosition());
3392
+ var Qe = y(i, this.clonePosition());
3363
3393
  return a === "select" ? {
3364
3394
  val: {
3365
3395
  type: x.select,
3366
3396
  value: n,
3367
- options: dt(ie.val),
3397
+ options: dt(oe.val),
3368
3398
  location: Qe
3369
3399
  },
3370
3400
  err: null
@@ -3372,7 +3402,7 @@ var Vn = (
3372
3402
  val: {
3373
3403
  type: x.plural,
3374
3404
  value: n,
3375
- options: dt(ie.val),
3405
+ options: dt(oe.val),
3376
3406
  offset: C,
3377
3407
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3378
3408
  location: Qe
@@ -3381,10 +3411,10 @@ var Vn = (
3381
3411
  };
3382
3412
  }
3383
3413
  default:
3384
- return this.error(p.INVALID_ARGUMENT_TYPE, b(s, h));
3414
+ return this.error(b.INVALID_ARGUMENT_TYPE, y(s, h));
3385
3415
  }
3386
3416
  }, e.prototype.tryParseArgumentClose = function(t) {
3387
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3417
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3388
3418
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3389
3419
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3390
3420
  var n = this.char();
@@ -3393,7 +3423,7 @@ var Vn = (
3393
3423
  this.bump();
3394
3424
  var i = this.clonePosition();
3395
3425
  if (!this.bumpUntil("'"))
3396
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
3426
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3397
3427
  this.bump();
3398
3428
  break;
3399
3429
  }
@@ -3425,7 +3455,7 @@ var Vn = (
3425
3455
  try {
3426
3456
  n = wn(t);
3427
3457
  } catch (i) {
3428
- return this.error(p.INVALID_NUMBER_SKELETON, r);
3458
+ return this.error(b.INVALID_NUMBER_SKELETON, r);
3429
3459
  }
3430
3460
  return {
3431
3461
  val: {
@@ -3439,36 +3469,36 @@ var Vn = (
3439
3469
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3440
3470
  for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3441
3471
  if (u.length === 0) {
3442
- var c = this.clonePosition();
3472
+ var f = this.clonePosition();
3443
3473
  if (r !== "select" && this.bumpIf("=")) {
3444
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3445
- if (f.err)
3446
- return f;
3447
- l = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3474
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3475
+ if (c.err)
3476
+ return c;
3477
+ l = y(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3448
3478
  } else
3449
3479
  break;
3450
3480
  }
3451
3481
  if (h.has(u))
3452
- return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3482
+ return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3453
3483
  u === "other" && (s = !0), this.bumpSpace();
3454
- var d = this.clonePosition();
3484
+ var p = this.clonePosition();
3455
3485
  if (!this.bumpIf("{"))
3456
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3486
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3457
3487
  var v = this.parseMessage(t + 1, r, n);
3458
3488
  if (v.err)
3459
3489
  return v;
3460
- var m = this.tryParseArgumentClose(d);
3490
+ var m = this.tryParseArgumentClose(p);
3461
3491
  if (m.err)
3462
3492
  return m;
3463
3493
  a.push([
3464
3494
  u,
3465
3495
  {
3466
3496
  value: v.val,
3467
- location: b(d, this.clonePosition())
3497
+ location: y(p, this.clonePosition())
3468
3498
  }
3469
3499
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3470
3500
  }
3471
- return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3501
+ return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3472
3502
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3473
3503
  var n = 1, i = this.clonePosition();
3474
3504
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3479,7 +3509,7 @@ var Vn = (
3479
3509
  else
3480
3510
  break;
3481
3511
  }
3482
- var h = b(i, this.clonePosition());
3512
+ var h = y(i, this.clonePosition());
3483
3513
  return o ? (s *= n, Fn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3484
3514
  }, e.prototype.offset = function() {
3485
3515
  return this.position.offset;
@@ -3552,13 +3582,13 @@ function Fe(e) {
3552
3582
  function Xn(e) {
3553
3583
  return Fe(e) || e === 47;
3554
3584
  }
3555
- function Wn(e) {
3585
+ function zn(e) {
3556
3586
  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;
3557
3587
  }
3558
3588
  function Jt(e) {
3559
3589
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3560
3590
  }
3561
- function zn(e) {
3591
+ function Wn(e) {
3562
3592
  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;
3563
3593
  }
3564
3594
  function Ge(e) {
@@ -3566,14 +3596,15 @@ function Ge(e) {
3566
3596
  if (delete t.location, Ft(t) || Gt(t))
3567
3597
  for (var r in t.options)
3568
3598
  delete t.options[r].location, Ge(t.options[r].value);
3569
- else Rt(t) && kt(t.style) || (Ut(t) || Dt(t)) && Me(t.style) ? delete t.style.location : jt(t) && Ge(t.children);
3599
+ else
3600
+ Rt(t) && kt(t.style) || (Ut(t) || Dt(t)) && $e(t.style) ? delete t.style.location : jt(t) && Ge(t.children);
3570
3601
  });
3571
3602
  }
3572
3603
  function Zn(e, t) {
3573
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3604
+ t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3574
3605
  var r = new Vn(e, t).parse();
3575
3606
  if (r.err) {
3576
- var n = SyntaxError(p[r.err.kind]);
3607
+ var n = SyntaxError(b[r.err.kind]);
3577
3608
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3578
3609
  }
3579
3610
  return t != null && t.captureLocation || Ge(r.val), r.val;
@@ -3585,7 +3616,7 @@ var k;
3585
3616
  var be = (
3586
3617
  /** @class */
3587
3618
  function(e) {
3588
- O(t, e);
3619
+ P(t, e);
3589
3620
  function t(r, n, i) {
3590
3621
  var o = e.call(this, r) || this;
3591
3622
  return o.code = n, o.originalMessage = i, o;
@@ -3597,7 +3628,7 @@ var be = (
3597
3628
  ), yt = (
3598
3629
  /** @class */
3599
3630
  function(e) {
3600
- O(t, e);
3631
+ P(t, e);
3601
3632
  function t(r, n, i, o) {
3602
3633
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, o) || this;
3603
3634
  }
@@ -3606,7 +3637,7 @@ var be = (
3606
3637
  ), Qn = (
3607
3638
  /** @class */
3608
3639
  function(e) {
3609
- O(t, e);
3640
+ P(t, e);
3610
3641
  function t(r, n, i) {
3611
3642
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), k.INVALID_VALUE, i) || this;
3612
3643
  }
@@ -3615,30 +3646,30 @@ var be = (
3615
3646
  ), Jn = (
3616
3647
  /** @class */
3617
3648
  function(e) {
3618
- O(t, e);
3649
+ P(t, e);
3619
3650
  function t(r, n) {
3620
3651
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), k.MISSING_VALUE, n) || this;
3621
3652
  }
3622
3653
  return t;
3623
3654
  }(be)
3624
- ), w;
3655
+ ), E;
3625
3656
  (function(e) {
3626
3657
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3627
- })(w || (w = {}));
3658
+ })(E || (E = {}));
3628
3659
  function Yn(e) {
3629
3660
  return e.length < 2 ? e : e.reduce(function(t, r) {
3630
3661
  var n = t[t.length - 1];
3631
- return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
3662
+ return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3632
3663
  }, []);
3633
3664
  }
3634
3665
  function qn(e) {
3635
3666
  return typeof e == "function";
3636
3667
  }
3637
- function he(e, t, r, n, i, o, s) {
3668
+ function le(e, t, r, n, i, o, s) {
3638
3669
  if (e.length === 1 && lt(e[0]))
3639
3670
  return [
3640
3671
  {
3641
- type: w.literal,
3672
+ type: E.literal,
3642
3673
  value: e[0].value
3643
3674
  }
3644
3675
  ];
@@ -3646,101 +3677,101 @@ function he(e, t, r, n, i, o, s) {
3646
3677
  var l = u[h];
3647
3678
  if (lt(l)) {
3648
3679
  a.push({
3649
- type: w.literal,
3680
+ type: E.literal,
3650
3681
  value: l.value
3651
3682
  });
3652
3683
  continue;
3653
3684
  }
3654
3685
  if (xn(l)) {
3655
3686
  typeof o == "number" && a.push({
3656
- type: w.literal,
3687
+ type: E.literal,
3657
3688
  value: r.getNumberFormat(t).format(o)
3658
3689
  });
3659
3690
  continue;
3660
3691
  }
3661
- var c = l.value;
3662
- if (!(i && c in i))
3663
- throw new Jn(c, s);
3664
- var f = i[c];
3665
- if (gn(l)) {
3666
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3667
- type: typeof f == "string" ? w.literal : w.object,
3668
- value: f
3692
+ var f = l.value;
3693
+ if (!(i && f in i))
3694
+ throw new Jn(f, s);
3695
+ var c = i[f];
3696
+ if (vn(l)) {
3697
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3698
+ type: typeof c == "string" ? E.literal : E.object,
3699
+ value: c
3669
3700
  });
3670
3701
  continue;
3671
3702
  }
3672
3703
  if (Ut(l)) {
3673
- var d = typeof l.style == "string" ? n.date[l.style] : Me(l.style) ? l.style.parsedOptions : void 0;
3704
+ var p = typeof l.style == "string" ? n.date[l.style] : $e(l.style) ? l.style.parsedOptions : void 0;
3674
3705
  a.push({
3675
- type: w.literal,
3676
- value: r.getDateTimeFormat(t, d).format(f)
3706
+ type: E.literal,
3707
+ value: r.getDateTimeFormat(t, p).format(c)
3677
3708
  });
3678
3709
  continue;
3679
3710
  }
3680
3711
  if (Dt(l)) {
3681
- var d = typeof l.style == "string" ? n.time[l.style] : Me(l.style) ? l.style.parsedOptions : n.time.medium;
3712
+ var p = typeof l.style == "string" ? n.time[l.style] : $e(l.style) ? l.style.parsedOptions : n.time.medium;
3682
3713
  a.push({
3683
- type: w.literal,
3684
- value: r.getDateTimeFormat(t, d).format(f)
3714
+ type: E.literal,
3715
+ value: r.getDateTimeFormat(t, p).format(c)
3685
3716
  });
3686
3717
  continue;
3687
3718
  }
3688
3719
  if (Rt(l)) {
3689
- var d = typeof l.style == "string" ? n.number[l.style] : kt(l.style) ? l.style.parsedOptions : void 0;
3690
- d && d.scale && (f = f * (d.scale || 1)), a.push({
3691
- type: w.literal,
3692
- value: r.getNumberFormat(t, d).format(f)
3720
+ var p = typeof l.style == "string" ? n.number[l.style] : kt(l.style) ? l.style.parsedOptions : void 0;
3721
+ p && p.scale && (c = c * (p.scale || 1)), a.push({
3722
+ type: E.literal,
3723
+ value: r.getNumberFormat(t, p).format(c)
3693
3724
  });
3694
3725
  continue;
3695
3726
  }
3696
3727
  if (jt(l)) {
3697
- var v = l.children, m = l.value, _ = i[m];
3698
- if (!qn(_))
3728
+ var v = l.children, m = l.value, d = i[m];
3729
+ if (!qn(d))
3699
3730
  throw new Qn(m, "function", s);
3700
- var g = he(v, t, r, n, i, o), H = _(g.map(function(C) {
3731
+ var S = le(v, t, r, n, i, o), O = d(S.map(function(C) {
3701
3732
  return C.value;
3702
3733
  }));
3703
- Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(C) {
3734
+ Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(C) {
3704
3735
  return {
3705
- type: typeof C == "string" ? w.literal : w.object,
3736
+ type: typeof C == "string" ? E.literal : E.object,
3706
3737
  value: C
3707
3738
  };
3708
3739
  }));
3709
3740
  }
3710
3741
  if (Ft(l)) {
3711
- var S = l.options[f] || l.options.other;
3712
- if (!S)
3713
- throw new yt(l.value, f, Object.keys(l.options), s);
3714
- a.push.apply(a, he(S.value, t, r, n, i));
3742
+ var T = l.options[c] || l.options.other;
3743
+ if (!T)
3744
+ throw new yt(l.value, c, Object.keys(l.options), s);
3745
+ a.push.apply(a, le(T.value, t, r, n, i));
3715
3746
  continue;
3716
3747
  }
3717
3748
  if (Gt(l)) {
3718
- var S = l.options["=".concat(f)];
3719
- if (!S) {
3749
+ var T = l.options["=".concat(c)];
3750
+ if (!T) {
3720
3751
  if (!Intl.PluralRules)
3721
3752
  throw new be(`Intl.PluralRules is not available in this environment.
3722
3753
  Try polyfilling it using "@formatjs/intl-pluralrules"
3723
3754
  `, k.MISSING_INTL_API, s);
3724
- var Z = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3725
- S = l.options[Z] || l.options.other;
3755
+ var Z = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3756
+ T = l.options[Z] || l.options.other;
3726
3757
  }
3727
- if (!S)
3728
- throw new yt(l.value, f, Object.keys(l.options), s);
3729
- a.push.apply(a, he(S.value, t, r, n, i, f - (l.offset || 0)));
3758
+ if (!T)
3759
+ throw new yt(l.value, c, Object.keys(l.options), s);
3760
+ a.push.apply(a, le(T.value, t, r, n, i, c - (l.offset || 0)));
3730
3761
  continue;
3731
3762
  }
3732
3763
  }
3733
3764
  return Yn(a);
3734
3765
  }
3735
3766
  function Kn(e, t) {
3736
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3737
- return r[n] = y(y({}, e[n]), t[n] || {}), r;
3767
+ return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3768
+ return r[n] = g(g({}, e[n]), t[n] || {}), r;
3738
3769
  }, {})) : e;
3739
3770
  }
3740
3771
  function ei(e, t) {
3741
3772
  return t ? Object.keys(e).reduce(function(r, n) {
3742
3773
  return r[n] = Kn(e[n], t[n]), r;
3743
- }, y({}, e)) : e;
3774
+ }, g({}, e)) : e;
3744
3775
  }
3745
3776
  function Te(e) {
3746
3777
  return {
@@ -3802,12 +3833,12 @@ var ri = (
3802
3833
  var u = o.formatToParts(h);
3803
3834
  if (u.length === 1)
3804
3835
  return u[0].value;
3805
- var l = u.reduce(function(c, f) {
3806
- return !c.length || f.type !== w.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3836
+ var l = u.reduce(function(f, c) {
3837
+ return !f.length || c.type !== E.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3807
3838
  }, []);
3808
3839
  return l.length <= 1 ? l[0] || "" : l;
3809
3840
  }, this.formatToParts = function(h) {
3810
- return he(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3841
+ return le(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3811
3842
  }, this.resolvedOptions = function() {
3812
3843
  var h;
3813
3844
  return {
@@ -3821,7 +3852,7 @@ var ri = (
3821
3852
  var s = i || {};
3822
3853
  s.formatters;
3823
3854
  var a = Lr(s, ["formatters"]);
3824
- this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3855
+ this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
3825
3856
  } else
3826
3857
  this.ast = t;
3827
3858
  if (!Array.isArray(this.ast))
@@ -3933,13 +3964,13 @@ const I = {}, ii = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][
3933
3964
  return ii(e, t, o);
3934
3965
  }
3935
3966
  };
3936
- let ze;
3937
- const re = de({});
3967
+ let We;
3968
+ const ne = de({});
3938
3969
  function oi(e) {
3939
- return ze[e] || null;
3970
+ return We[e] || null;
3940
3971
  }
3941
3972
  function qt(e) {
3942
- return e in ze;
3973
+ return e in We;
3943
3974
  }
3944
3975
  function si(e, t) {
3945
3976
  if (!qt(e))
@@ -3958,19 +3989,19 @@ function ai(e) {
3958
3989
  }
3959
3990
  }
3960
3991
  function ui(e, ...t) {
3961
- delete I[e], re.update((r) => (r[e] = fn.all([r[e] || {}, ...t]), r));
3992
+ delete I[e], ne.update((r) => (r[e] = fn.all([r[e] || {}, ...t]), r));
3962
3993
  }
3963
- W(
3964
- [re],
3994
+ z(
3995
+ [ne],
3965
3996
  ([e]) => Object.keys(e)
3966
3997
  );
3967
- re.subscribe((e) => ze = e);
3968
- const le = {};
3998
+ ne.subscribe((e) => We = e);
3999
+ const ce = {};
3969
4000
  function hi(e, t) {
3970
- le[e].delete(t), le[e].size === 0 && delete le[e];
4001
+ ce[e].delete(t), ce[e].size === 0 && delete ce[e];
3971
4002
  }
3972
4003
  function Kt(e) {
3973
- return le[e];
4004
+ return ce[e];
3974
4005
  }
3975
4006
  function li(e) {
3976
4007
  return ye(e).map((t) => {
@@ -4047,12 +4078,12 @@ function V() {
4047
4078
  return pi;
4048
4079
  }
4049
4080
  const Be = de(!1);
4050
- var di = Object.defineProperty, bi = Object.defineProperties, yi = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, vi = Object.prototype.hasOwnProperty, gi = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xi = (e, t) => {
4081
+ var di = Object.defineProperty, bi = Object.defineProperties, yi = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, gi = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xi = (e, t) => {
4051
4082
  for (var r in t || (t = {}))
4052
- vi.call(t, r) && gt(e, r, t[r]);
4053
- if (vt)
4054
- for (var r of vt(t))
4055
- gi.call(t, r) && gt(e, r, t[r]);
4083
+ gi.call(t, r) && vt(e, r, t[r]);
4084
+ if (gt)
4085
+ for (var r of gt(t))
4086
+ vi.call(t, r) && vt(e, r, t[r]);
4056
4087
  return e;
4057
4088
  }, _i = (e, t) => bi(e, yi(t));
4058
4089
  let ke;
@@ -4084,9 +4115,9 @@ const Ei = (e) => {
4084
4115
  });
4085
4116
  }
4086
4117
  return fe.set(e);
4087
- }, ne = _i(xi({}, fe), {
4118
+ }, ie = _i(xi({}, fe), {
4088
4119
  set: Ei
4089
- }), ve = (e) => {
4120
+ }), ge = (e) => {
4090
4121
  const t = /* @__PURE__ */ Object.create(null);
4091
4122
  return (n) => {
4092
4123
  const i = JSON.stringify(n);
@@ -4100,7 +4131,7 @@ var Si = Object.defineProperty, me = Object.getOwnPropertySymbols, tr = Object.p
4100
4131
  for (var r of me(t))
4101
4132
  rr.call(t, r) && _t(e, r, t[r]);
4102
4133
  return e;
4103
- }, z = (e, t) => {
4134
+ }, W = (e, t) => {
4104
4135
  var r = {};
4105
4136
  for (var n in e)
4106
4137
  tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -4109,56 +4140,56 @@ var Si = Object.defineProperty, me = Object.getOwnPropertySymbols, tr = Object.p
4109
4140
  t.indexOf(n) < 0 && rr.call(e, n) && (r[n] = e[n]);
4110
4141
  return r;
4111
4142
  };
4112
- const K = (e, t) => {
4143
+ const ee = (e, t) => {
4113
4144
  const { formats: r } = V();
4114
4145
  if (e in r && t in r[e])
4115
4146
  return r[e][t];
4116
4147
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4117
- }, wi = ve(
4148
+ }, wi = ge(
4118
4149
  (e) => {
4119
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4150
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4120
4151
  if (r == null)
4121
4152
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4122
- return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
4153
+ return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
4123
4154
  }
4124
- ), Hi = ve(
4155
+ ), Hi = ge(
4125
4156
  (e) => {
4126
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4157
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4127
4158
  if (r == null)
4128
4159
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4129
- return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
4160
+ return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
4130
4161
  }
4131
- ), Ti = ve(
4162
+ ), Ti = ge(
4132
4163
  (e) => {
4133
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4164
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4134
4165
  if (r == null)
4135
4166
  throw new Error(
4136
4167
  '[svelte-i18n] A "locale" must be set to format time values'
4137
4168
  );
4138
- return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
4169
+ return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
4139
4170
  }
4140
4171
  ), Bi = (e = {}) => {
4141
4172
  var t = e, {
4142
4173
  locale: r = L()
4143
- } = t, n = z(t, [
4174
+ } = t, n = W(t, [
4144
4175
  "locale"
4145
4176
  ]);
4146
4177
  return wi(Ze({ locale: r }, n));
4147
4178
  }, Ai = (e = {}) => {
4148
4179
  var t = e, {
4149
4180
  locale: r = L()
4150
- } = t, n = z(t, [
4181
+ } = t, n = W(t, [
4151
4182
  "locale"
4152
4183
  ]);
4153
4184
  return Hi(Ze({ locale: r }, n));
4154
4185
  }, Pi = (e = {}) => {
4155
4186
  var t = e, {
4156
4187
  locale: r = L()
4157
- } = t, n = z(t, [
4188
+ } = t, n = W(t, [
4158
4189
  "locale"
4159
4190
  ]);
4160
4191
  return Ti(Ze({ locale: r }, n));
4161
- }, Oi = ve(
4192
+ }, Oi = ge(
4162
4193
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4163
4194
  (e, t = L()) => new ri(e, t, V().formats, {
4164
4195
  ignoreTag: V().ignoreTag
@@ -4185,60 +4216,83 @@ const K = (e, t) => {
4185
4216
  ), l;
4186
4217
  if (!a)
4187
4218
  return l;
4188
- let c = l;
4219
+ let f = l;
4189
4220
  try {
4190
- c = Oi(l, h).format(a);
4191
- } catch (f) {
4192
- f instanceof Error && console.warn(
4221
+ f = Oi(l, h).format(a);
4222
+ } catch (c) {
4223
+ c instanceof Error && console.warn(
4193
4224
  `[svelte-i18n] Message "${e}" has syntax error:`,
4194
- f.message
4225
+ c.message
4195
4226
  );
4196
4227
  }
4197
- return c;
4198
- }, Ci = (e, t) => Pi(t).format(e), Ni = (e, t) => Ai(t).format(e), Li = (e, t) => Bi(t).format(e), $i = (e, t = L()) => Yt(e, t);
4199
- W([ne, re], () => Ii);
4200
- W([ne], () => Ci);
4201
- W([ne], () => Ni);
4202
- W([ne], () => Li);
4203
- W([ne, re], () => $i);
4228
+ return f;
4229
+ }, Ci = (e, t) => Pi(t).format(e), Ni = (e, t) => Ai(t).format(e), Li = (e, t) => Bi(t).format(e), Mi = (e, t = L()) => Yt(e, t);
4230
+ z([ie, ne], () => Ii);
4231
+ z([ie], () => Ci);
4232
+ z([ie], () => Ni);
4233
+ z([ie], () => Li);
4234
+ z([ie, ne], () => Mi);
4204
4235
  window.emWidgets = { topic: Zr };
4205
- const Mi = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4206
- function Ri(e) {
4207
- lr(e, "svelte-1mvysvb", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.betslipIndicator{display:flex;align-items:center;justify-content:center;padding:15px 20px;position:fixed;bottom:20%;right:20px;color:#fff;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0px 5px 30px var(--emw--color-gray-100, #E6E6E6);border-radius:50%;border:none}.betslipIndicator__icon{display:flex;width:20px;fill:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.betslipIndicator__number{display:flex;align-items:center;justify-content:center;position:absolute;right:0px;top:-10px;width:25px;height:25px;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));border-radius:50%}.loader{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:2px;margin:100px auto;width:1em;height:1em;border-radius:50%;position:relative;text-indent:-9999em;-webkit-animation:load4 1.3s infinite linear;animation:load4 1.3s infinite linear;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0)}@-webkit-keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}@keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}");
4236
+ const $i = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4237
+ function Ri(e, t) {
4238
+ if (e) {
4239
+ const r = document.createElement("style");
4240
+ r.innerHTML = t, e.appendChild(r);
4241
+ }
4242
+ }
4243
+ function Ui(e, t) {
4244
+ const r = new URL(t);
4245
+ fetch(r.href).then((n) => n.text()).then((n) => {
4246
+ const i = document.createElement("style");
4247
+ i.innerHTML = n, e && e.appendChild(i);
4248
+ }).catch((n) => {
4249
+ console.error("There was an error while trying to load client styling from URL", n);
4250
+ });
4251
+ }
4252
+ function Di(e, t, r) {
4253
+ if (window.emMessageBus) {
4254
+ const n = document.createElement("style");
4255
+ window.emMessageBus.subscribe(t, (i) => {
4256
+ n.innerHTML = i, e && e.appendChild(n);
4257
+ });
4258
+ }
4259
+ }
4260
+ function Fi(e) {
4261
+ lr(e, "svelte-mm6oz3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.betslipIndicator{display:flex;align-items:center;justify-content:center;padding:15px 20px;position:fixed;bottom:20%;right:20px;color:#fff;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0px 5px 30px var(--emw--color-gray-100, #E6E6E6);border-radius:50%;border:none}.betslipIndicator__icon{display:flex;width:20px;fill:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.betslipIndicator__number{display:flex;align-items:center;justify-content:center;position:absolute;right:0px;top:-10px;width:25px;height:25px;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));border-radius:50%}.loader{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:2px;margin:100px auto;width:1em;height:1em;border-radius:50%;position:relative;text-indent:-9999em;-webkit-animation:load4 1.3s infinite linear;animation:load4 1.3s infinite linear;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0)}@-webkit-keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}@keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}");
4208
4262
  }
4209
4263
  function Et(e) {
4210
- let t, r, n, i, o, s, a, h, u, l, c, f;
4211
- function d(_, g) {
4264
+ let t, r, n, i, o, s, a, h, u, l, f, c;
4265
+ function p(d, S) {
4212
4266
  return (
4213
4267
  /*isLoading*/
4214
- _[3] ? Di : Ui
4268
+ d[3] ? ji : Gi
4215
4269
  );
4216
4270
  }
4217
- let v = d(e), m = v(e);
4271
+ let v = p(e), m = v(e);
4218
4272
  return {
4219
4273
  c() {
4220
- t = F("button"), r = F("small"), m.c(), n = mr(), i = N("svg"), o = N("g"), s = N("path"), a = N("path"), h = N("path"), u = N("path"), l = N("path"), E(r, "class", "betslipIndicator__number"), E(s, "d", `M45,95c0,1.1,0.9,2,2,2h11c3.3,0,6-2.7,6-6V9c0-3.3-2.7-6-6-6H47c-1.1,0-2,0.9-2,2c0,7.2-5.8,13-13,13S19,12.2,19,5
4274
+ t = F("button"), r = F("small"), m.c(), n = mr(), i = N("svg"), o = N("g"), s = N("path"), a = N("path"), h = N("path"), u = N("path"), l = N("path"), _(r, "class", "betslipIndicator__number"), _(s, "d", `M45,95c0,1.1,0.9,2,2,2h11c3.3,0,6-2.7,6-6V9c0-3.3-2.7-6-6-6H47c-1.1,0-2,0.9-2,2c0,7.2-5.8,13-13,13S19,12.2,19,5
4221
4275
  c0-1.1-0.9-2-2-2H6C2.7,3,0,5.7,0,9v82c0,3.3,2.7,6,6,6h11c1.1,0,2-0.9,2-2c0-7.2,5.8-13,13-13S45,87.8,45,95z M32,78
4222
4276
  c-8.6,0-15.9,6.4-16.9,15H6c-1.1,0-2-0.9-2-2V9c0-1.1,0.9-2,2-2h9.1c1.2,9.3,9.7,15.9,19,14.8c7.7-1,13.8-7,14.8-14.8H58
4223
- c1.1,0,2,0.9,2,2v82c0,1.1-0.9,2-2,2h-9.1C47.9,84.4,40.6,78,32,78z`), E(a, "d", "M50.9,29.5H13.1c-0.8,0-1.5,0.9-1.5,2c0,1.1,0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2C52.4,30.4,51.7,29.5,50.9,29.5z"), E(h, "d", "M50.9,41.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,41.5,50.9,41.5z"), E(u, "d", "M50.9,53.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,53.5,50.9,53.5z"), E(l, "d", "M50.9,66.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,66.5,50.9,66.5z"), E(i, "version", "1.1"), E(i, "id", "Layer_1"), E(i, "class", "betslipIndicator__icon"), E(i, "xmlns", "http://www.w3.org/2000/svg"), E(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), E(i, "x", "0px"), E(i, "y", "0px"), E(i, "viewBox", "0 0 64 100"), yr(i, "enable-background", "new 0 0 64 100"), E(i, "xml:space", "preserve"), E(t, "class", "betslipIndicator");
4277
+ c1.1,0,2,0.9,2,2v82c0,1.1-0.9,2-2,2h-9.1C47.9,84.4,40.6,78,32,78z`), _(a, "d", "M50.9,29.5H13.1c-0.8,0-1.5,0.9-1.5,2c0,1.1,0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2C52.4,30.4,51.7,29.5,50.9,29.5z"), _(h, "d", "M50.9,41.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,41.5,50.9,41.5z"), _(u, "d", "M50.9,53.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,53.5,50.9,53.5z"), _(l, "d", "M50.9,66.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,66.5,50.9,66.5z"), _(i, "version", "1.1"), _(i, "id", "Layer_1"), _(i, "class", "betslipIndicator__icon"), _(i, "xmlns", "http://www.w3.org/2000/svg"), _(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), _(i, "x", "0px"), _(i, "y", "0px"), _(i, "viewBox", "0 0 64 100"), yr(i, "enable-background", "new 0 0 64 100"), _(i, "xml:space", "preserve"), _(t, "class", "betslipIndicator");
4224
4278
  },
4225
- m(_, g) {
4226
- te(_, t, g), A(t, r), m.m(r, null), A(t, n), A(t, i), A(i, o), A(o, s), A(o, a), A(o, h), A(o, u), A(o, l), c || (f = pr(
4279
+ m(d, S) {
4280
+ re(d, t, S), B(t, r), m.m(r, null), B(t, n), B(t, i), B(i, o), B(o, s), B(o, a), B(o, h), B(o, u), B(o, l), f || (c = pr(
4227
4281
  t,
4228
4282
  "click",
4229
4283
  /*click_handler*/
4230
- e[7]
4231
- ), c = !0);
4284
+ e[8]
4285
+ ), f = !0);
4232
4286
  },
4233
- p(_, g) {
4234
- v === (v = d(_)) && m ? m.p(_, g) : (m.d(1), m = v(_), m && (m.c(), m.m(r, null)));
4287
+ p(d, S) {
4288
+ v === (v = p(d)) && m ? m.p(d, S) : (m.d(1), m = v(d), m && (m.c(), m.m(r, null)));
4235
4289
  },
4236
- d(_) {
4237
- _ && X(t), m.d(), c = !1, f();
4290
+ d(d) {
4291
+ d && X(t), m.d(), f = !1, c();
4238
4292
  }
4239
4293
  };
4240
4294
  }
4241
- function Ui(e) {
4295
+ function Gi(e) {
4242
4296
  let t;
4243
4297
  return {
4244
4298
  c() {
@@ -4248,7 +4302,7 @@ function Ui(e) {
4248
4302
  );
4249
4303
  },
4250
4304
  m(r, n) {
4251
- te(r, t, n);
4305
+ re(r, t, n);
4252
4306
  },
4253
4307
  p(r, n) {
4254
4308
  n & /*betNumber*/
@@ -4263,22 +4317,22 @@ function Ui(e) {
4263
4317
  }
4264
4318
  };
4265
4319
  }
4266
- function Di(e) {
4320
+ function ji(e) {
4267
4321
  let t;
4268
4322
  return {
4269
4323
  c() {
4270
- t = F("div"), t.textContent = "Loading...", E(t, "class", "loader");
4324
+ t = F("div"), t.textContent = "Loading...", _(t, "class", "loader");
4271
4325
  },
4272
4326
  m(r, n) {
4273
- te(r, t, n);
4327
+ re(r, t, n);
4274
4328
  },
4275
- p: B,
4329
+ p: H,
4276
4330
  d(r) {
4277
4331
  r && X(t);
4278
4332
  }
4279
4333
  };
4280
4334
  }
4281
- function Fi(e) {
4335
+ function ki(e) {
4282
4336
  let t, r = (
4283
4337
  /*mobileView*/
4284
4338
  e[2] && /*betNumber*/
@@ -4289,101 +4343,108 @@ function Fi(e) {
4289
4343
  t = F("div"), r && r.c();
4290
4344
  },
4291
4345
  m(n, i) {
4292
- te(n, t, i), r && r.m(t, null), e[8](t);
4346
+ re(n, t, i), r && r.m(t, null), e[9](t);
4293
4347
  },
4294
4348
  p(n, [i]) {
4295
4349
  /*mobileView*/
4296
4350
  n[2] && /*betNumber*/
4297
4351
  n[1] > 0 ? r ? r.p(n, i) : (r = Et(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4298
4352
  },
4299
- i: B,
4300
- o: B,
4353
+ i: H,
4354
+ o: H,
4301
4355
  d(n) {
4302
- n && X(t), r && r.d(), e[8](null);
4356
+ n && X(t), r && r.d(), e[9](null);
4303
4357
  }
4304
4358
  };
4305
4359
  }
4306
- function Gi(e, t, r) {
4307
- let { clientstyling: n = "" } = t, { clientstylingurl: i = "" } = t, o, s = window.navigator.userAgent, a = null, h = !1, u = !0;
4308
- const l = () => {
4360
+ function Vi(e, t, r) {
4361
+ let { clientstyling: n = "" } = t, { clientstylingurl: i = "" } = t, { mbsource: o } = t, s, a = window.navigator.userAgent, h = null, u = !1, l = !0;
4362
+ const f = () => {
4309
4363
  window.postMessage({ type: "OMFE:getBetslipSelectionsCount" }, "*");
4310
- }, c = (g, H) => {
4311
- o.dispatchEvent(new CustomEvent(
4312
- g,
4364
+ }, c = (d, S) => {
4365
+ s.dispatchEvent(new CustomEvent(
4366
+ d,
4313
4367
  {
4314
- detail: H,
4368
+ detail: S,
4315
4369
  composed: !0,
4316
4370
  bubbles: !0
4317
4371
  // propagate across the shadow DOM
4318
4372
  }
4319
4373
  ));
4320
- }, f = (g) => {
4321
- const { type: H, payload: S } = g.data;
4322
- if (g.data)
4323
- switch (H) {
4374
+ }, p = (d) => {
4375
+ const { type: S, payload: O } = d.data;
4376
+ if (d.data)
4377
+ switch (S) {
4324
4378
  case "OMFE:updateBetslipSelectionsCount":
4325
- r(1, a = S.count), r(3, u = !1);
4379
+ r(1, h = O.count), r(3, l = !1);
4326
4380
  break;
4327
4381
  }
4328
- }, d = () => {
4329
- let g = document.createElement("style");
4330
- g.innerHTML = n, o.appendChild(g);
4331
- }, v = () => {
4332
- let g = new URL(i), H = document.createElement("style");
4333
- fetch(g.href).then((S) => S.text()).then((S) => {
4334
- H.innerHTML = S, setTimeout(
4335
- () => {
4336
- o.appendChild(H);
4337
- },
4338
- 1
4339
- );
4340
- });
4341
4382
  };
4342
- xr(() => (l(), window.addEventListener("message", f, !1), Mi(s) && r(2, h = !0), () => {
4343
- window.removeEventListener("message", f);
4383
+ xr(() => (f(), window.addEventListener("message", p, !1), $i(a) && r(2, u = !0), () => {
4384
+ window.removeEventListener("message", p);
4344
4385
  }));
4345
- const m = (g) => c("betslipClick", {});
4346
- function _(g) {
4347
- Ae[g ? "unshift" : "push"](() => {
4348
- o = g, r(0, o);
4386
+ const v = (d) => c("betslipClick", {});
4387
+ function m(d) {
4388
+ Ae[d ? "unshift" : "push"](() => {
4389
+ s = d, r(0, s);
4349
4390
  });
4350
4391
  }
4351
- return e.$$set = (g) => {
4352
- "clientstyling" in g && r(5, n = g.clientstyling), "clientstylingurl" in g && r(6, i = g.clientstylingurl);
4392
+ return e.$$set = (d) => {
4393
+ "clientstyling" in d && r(5, n = d.clientstyling), "clientstylingurl" in d && r(6, i = d.clientstylingurl), "mbsource" in d && r(7, o = d.mbsource);
4353
4394
  }, e.$$.update = () => {
4354
- e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4355
- 65 && i && o && v(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4356
- 33 && n && o && d();
4395
+ e.$$.dirty & /*clientstyling, customStylingContainer*/
4396
+ 33 && n && s && Ri(s, n), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4397
+ 65 && i && s && Ui(s, i), e.$$.dirty & /*mbsource, customStylingContainer*/
4398
+ 129 && o && s && Di(s, `${o}.Style`);
4357
4399
  }, [
4358
- o,
4359
- a,
4400
+ s,
4360
4401
  h,
4361
4402
  u,
4403
+ l,
4362
4404
  c,
4363
4405
  n,
4364
4406
  i,
4365
- m,
4366
- _
4407
+ o,
4408
+ v,
4409
+ m
4367
4410
  ];
4368
4411
  }
4369
- class ji extends Cr {
4412
+ class Xi extends Cr {
4370
4413
  constructor(t) {
4371
- super(), Or(this, t, Gi, Fi, wt, { clientstyling: 5, clientstylingurl: 6 }, Ri);
4414
+ super(), Or(
4415
+ this,
4416
+ t,
4417
+ Vi,
4418
+ ki,
4419
+ wt,
4420
+ {
4421
+ clientstyling: 5,
4422
+ clientstylingurl: 6,
4423
+ mbsource: 7
4424
+ },
4425
+ Fi
4426
+ );
4372
4427
  }
4373
4428
  get clientstyling() {
4374
4429
  return this.$$.ctx[5];
4375
4430
  }
4376
4431
  set clientstyling(t) {
4377
- this.$$set({ clientstyling: t }), ce();
4432
+ this.$$set({ clientstyling: t }), Y();
4378
4433
  }
4379
4434
  get clientstylingurl() {
4380
4435
  return this.$$.ctx[6];
4381
4436
  }
4382
4437
  set clientstylingurl(t) {
4383
- this.$$set({ clientstylingurl: t }), ce();
4438
+ this.$$set({ clientstylingurl: t }), Y();
4439
+ }
4440
+ get mbsource() {
4441
+ return this.$$.ctx[7];
4442
+ }
4443
+ set mbsource(t) {
4444
+ this.$$set({ mbsource: t }), Y();
4384
4445
  }
4385
4446
  }
4386
- Ir(ji, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4447
+ Ir(Xi, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4387
4448
  export {
4388
- ji as default
4449
+ Xi as default
4389
4450
  };