@everymatrix/casino-header-bets-button 1.87.26 → 1.87.27

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