@everymatrix/casino-header-bets-button 1.77.24 → 1.77.26

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