@everymatrix/general-icon-progress-bar 1.54.6 → 1.54.9

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 T() {
2
2
  }
3
- function tt(e) {
3
+ function et(e) {
4
4
  return e();
5
5
  }
6
- function Ue() {
6
+ function $e() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function K(e) {
10
- e.forEach(tt);
10
+ e.forEach(et);
11
11
  }
12
12
  function Ie(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function rt(e, t) {
15
+ function tt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function Ct(e) {
18
+ function Lt(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function nt(e, ...t) {
21
+ function rt(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
@@ -27,20 +27,20 @@ function nt(e, ...t) {
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function Mt(e, t, r) {
31
- e.$$.on_destroy.push(nt(t, r));
30
+ function Ct(e, t, r) {
31
+ e.$$.on_destroy.push(rt(t, r));
32
32
  }
33
33
  function re(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function Rt(e, t, r) {
37
- const n = $t(e);
36
+ function Mt(e, t, r) {
37
+ const n = Rt(e);
38
38
  if (!n.getElementById(t)) {
39
39
  const i = Z("style");
40
- i.id = t, i.textContent = r, Ut(n, i);
40
+ i.id = t, i.textContent = r, $t(n, i);
41
41
  }
42
42
  }
43
- function $t(e) {
43
+ function Rt(e) {
44
44
  if (!e) return document;
45
45
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
46
46
  return t && /** @type {ShadowRoot} */
@@ -49,14 +49,14 @@ function $t(e) {
49
49
  t
50
50
  ) : e.ownerDocument;
51
51
  }
52
- function Ut(e, t) {
52
+ function $t(e, t) {
53
53
  return re(
54
54
  /** @type {Document} */
55
55
  e.head || e,
56
56
  t
57
57
  ), t.sheet;
58
58
  }
59
- function it(e, t, r) {
59
+ function nt(e, t, r) {
60
60
  e.insertBefore(t, r || null);
61
61
  }
62
62
  function we(e) {
@@ -65,20 +65,20 @@ function we(e) {
65
65
  function Z(e) {
66
66
  return document.createElement(e);
67
67
  }
68
- function Gt(e) {
68
+ function Ut(e) {
69
69
  return document.createTextNode(e);
70
70
  }
71
71
  function L(e, t, r) {
72
72
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
73
73
  }
74
- function Dt(e) {
74
+ function Gt(e) {
75
75
  return Array.from(e.childNodes);
76
76
  }
77
- function Ft(e, t) {
77
+ function Dt(e, t) {
78
78
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
79
79
  t);
80
80
  }
81
- function jt(e) {
81
+ function Ft(e) {
82
82
  const t = {};
83
83
  return e.childNodes.forEach(
84
84
  /** @param {Element} node */
@@ -93,10 +93,10 @@ function Q(e) {
93
93
  }
94
94
  const U = [], J = [];
95
95
  let G = [];
96
- const Ge = [], Vt = /* @__PURE__ */ Promise.resolve();
96
+ const Ue = [], jt = /* @__PURE__ */ Promise.resolve();
97
97
  let ye = !1;
98
- function kt() {
99
- ye || (ye = !0, Vt.then(A));
98
+ function Vt() {
99
+ ye || (ye = !0, jt.then(A));
100
100
  }
101
101
  function _e(e) {
102
102
  G.push(e);
@@ -111,7 +111,7 @@ function A() {
111
111
  try {
112
112
  for (; R < U.length; ) {
113
113
  const t = U[R];
114
- R++, Q(t), Xt(t.$$);
114
+ R++, Q(t), kt(t.$$);
115
115
  }
116
116
  } catch (t) {
117
117
  throw U.length = 0, R = 0, t;
@@ -123,50 +123,50 @@ function A() {
123
123
  }
124
124
  G.length = 0;
125
125
  } while (U.length);
126
- for (; Ge.length; )
127
- Ge.pop()();
126
+ for (; Ue.length; )
127
+ Ue.pop()();
128
128
  ye = !1, pe.clear(), Q(e);
129
129
  }
130
- function Xt(e) {
130
+ function kt(e) {
131
131
  if (e.fragment !== null) {
132
132
  e.update(), K(e.before_update);
133
133
  const t = e.dirty;
134
134
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(_e);
135
135
  }
136
136
  }
137
- function zt(e) {
137
+ function Xt(e) {
138
138
  const t = [], r = [];
139
139
  G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
140
140
  }
141
- const Wt = /* @__PURE__ */ new Set();
142
- function Zt(e, t) {
143
- e && e.i && (Wt.delete(e), e.i(t));
141
+ const zt = /* @__PURE__ */ new Set();
142
+ function Wt(e, t) {
143
+ e && e.i && (zt.delete(e), e.i(t));
144
144
  }
145
- function Qt(e, t, r) {
145
+ function Zt(e, t, r) {
146
146
  const { fragment: n, after_update: i } = e.$$;
147
147
  n && n.m(t, r), _e(() => {
148
- const s = e.$$.on_mount.map(tt).filter(Ie);
148
+ const s = e.$$.on_mount.map(et).filter(Ie);
149
149
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : K(s), e.$$.on_mount = [];
150
150
  }), i.forEach(_e);
151
151
  }
152
- function Jt(e, t) {
152
+ function Qt(e, t) {
153
153
  const r = e.$$;
154
- r.fragment !== null && (zt(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
154
+ r.fragment !== null && (Xt(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
155
155
  }
156
- function qt(e, t) {
157
- e.$$.dirty[0] === -1 && (U.push(e), kt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
156
+ function Jt(e, t) {
157
+ e.$$.dirty[0] === -1 && (U.push(e), Vt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
158
158
  }
159
- function Yt(e, t, r, n, i, s, a = null, o = [-1]) {
159
+ function qt(e, t, r, n, i, s, a = null, o = [-1]) {
160
160
  const l = Le;
161
161
  Q(e);
162
- const u = e.$$ = {
162
+ const h = e.$$ = {
163
163
  fragment: null,
164
164
  ctx: [],
165
165
  // state
166
166
  props: s,
167
167
  update: T,
168
168
  not_equal: i,
169
- bound: Ue(),
169
+ bound: $e(),
170
170
  // lifecycle
171
171
  on_mount: [],
172
172
  on_destroy: [],
@@ -175,28 +175,28 @@ function Yt(e, t, r, n, i, s, a = null, o = [-1]) {
175
175
  after_update: [],
176
176
  context: new Map(t.context || (l ? l.$$.context : [])),
177
177
  // everything else
178
- callbacks: Ue(),
178
+ callbacks: $e(),
179
179
  dirty: o,
180
180
  skip_bound: !1,
181
181
  root: t.target || l.$$.root
182
182
  };
183
- a && a(u.root);
184
- let h = !1;
185
- if (u.ctx = r(e, t.props || {}, (c, f, ...x) => {
183
+ a && a(h.root);
184
+ let u = !1;
185
+ if (h.ctx = r ? r(e, t.props || {}, (c, f, ...x) => {
186
186
  const g = x.length ? x[0] : f;
187
- return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), h && qt(e, c)), f;
188
- }), u.update(), h = !0, K(u.before_update), u.fragment = n(u.ctx), t.target) {
187
+ return h.ctx && i(h.ctx[c], h.ctx[c] = g) && (!h.skip_bound && h.bound[c] && h.bound[c](g), u && Jt(e, c)), f;
188
+ }) : [], h.update(), u = !0, K(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
189
189
  if (t.hydrate) {
190
- const c = Dt(t.target);
191
- u.fragment && u.fragment.l(c), c.forEach(we);
190
+ const c = Gt(t.target);
191
+ h.fragment && h.fragment.l(c), c.forEach(we);
192
192
  } else
193
- u.fragment && u.fragment.c();
194
- t.intro && Zt(e.$$.fragment), Qt(e, t.target, t.anchor), A();
193
+ h.fragment && h.fragment.c();
194
+ t.intro && Wt(e.$$.fragment), Zt(e, t.target, t.anchor), A();
195
195
  }
196
196
  Q(l);
197
197
  }
198
- let st;
199
- typeof HTMLElement == "function" && (st = class extends HTMLElement {
198
+ let it;
199
+ typeof HTMLElement == "function" && (it = class extends HTMLElement {
200
200
  /** The Svelte component constructor */
201
201
  $$ctor;
202
202
  /** Slots */
@@ -244,8 +244,8 @@ typeof HTMLElement == "function" && (st = class extends HTMLElement {
244
244
  * @param {HTMLElement} target
245
245
  * @param {HTMLElement} [anchor]
246
246
  */
247
- m: function(l, u) {
248
- it(l, s, u);
247
+ m: function(l, h) {
248
+ nt(l, s, h);
249
249
  },
250
250
  d: function(l) {
251
251
  l && we(s);
@@ -255,7 +255,7 @@ typeof HTMLElement == "function" && (st = class extends HTMLElement {
255
255
  };
256
256
  if (await Promise.resolve(), !this.$$cn || this.$$c)
257
257
  return;
258
- const t = {}, r = jt(this);
258
+ const t = {}, r = Ft(this);
259
259
  for (const i of this.$$s)
260
260
  i in r && (t[i] = [e(i)]);
261
261
  for (const i of this.attributes) {
@@ -342,8 +342,8 @@ function ne(e, t, r, n) {
342
342
  return t;
343
343
  }
344
344
  }
345
- function Kt(e, t, r, n, i, s) {
346
- let a = class extends st {
345
+ function Yt(e, t, r, n, i, s) {
346
+ let a = class extends it {
347
347
  constructor() {
348
348
  super(e, r, i), this.$$p_d = t;
349
349
  }
@@ -371,7 +371,7 @@ function Kt(e, t, r, n, i, s) {
371
371
  }), e.element = /** @type {any} */
372
372
  a, a;
373
373
  }
374
- class er {
374
+ class Kt {
375
375
  /**
376
376
  * ### PRIVATE API
377
377
  *
@@ -390,7 +390,7 @@ class er {
390
390
  $$set = void 0;
391
391
  /** @returns {void} */
392
392
  $destroy() {
393
- Jt(this, 1), this.$destroy = T;
393
+ Qt(this, 1), this.$destroy = T;
394
394
  }
395
395
  /**
396
396
  * @template {Extract<keyof Events, string>} K
@@ -412,28 +412,28 @@ class er {
412
412
  * @returns {void}
413
413
  */
414
414
  $set(t) {
415
- this.$$set && !Ct(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
415
+ this.$$set && !Lt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
416
416
  }
417
417
  }
418
- const tr = "4";
419
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(tr);
418
+ const er = "4";
419
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(er);
420
420
  const $ = [];
421
- function rr(e, t) {
421
+ function tr(e, t) {
422
422
  return {
423
- subscribe: ue(e, t).subscribe
423
+ subscribe: he(e, t).subscribe
424
424
  };
425
425
  }
426
- function ue(e, t = T) {
426
+ function he(e, t = T) {
427
427
  let r;
428
428
  const n = /* @__PURE__ */ new Set();
429
429
  function i(o) {
430
- if (rt(e, o) && (e = o, r)) {
430
+ if (tt(e, o) && (e = o, r)) {
431
431
  const l = !$.length;
432
- for (const u of n)
433
- u[1](), $.push(u, e);
432
+ for (const h of n)
433
+ h[1](), $.push(h, e);
434
434
  if (l) {
435
- for (let u = 0; u < $.length; u += 2)
436
- $[u][0]($[u + 1]);
435
+ for (let h = 0; h < $.length; h += 2)
436
+ $[h][0]($[h + 1]);
437
437
  $.length = 0;
438
438
  }
439
439
  }
@@ -442,9 +442,9 @@ function ue(e, t = T) {
442
442
  i(o(e));
443
443
  }
444
444
  function a(o, l = T) {
445
- const u = [o, l];
446
- return n.add(u), n.size === 1 && (r = t(i, s) || T), o(e), () => {
447
- n.delete(u), n.size === 0 && r && (r(), r = null);
445
+ const h = [o, l];
446
+ return n.add(h), n.size === 1 && (r = t(i, s) || T), o(e), () => {
447
+ n.delete(h), n.size === 0 && r && (r(), r = null);
448
448
  };
449
449
  }
450
450
  return { set: i, update: s, subscribe: a };
@@ -454,24 +454,24 @@ function k(e, t, r) {
454
454
  if (!i.every(Boolean))
455
455
  throw new Error("derived() expects stores as input, got a falsy value");
456
456
  const s = t.length < 2;
457
- return rr(r, (a, o) => {
457
+ return tr(r, (a, o) => {
458
458
  let l = !1;
459
- const u = [];
460
- let h = 0, c = T;
459
+ const h = [];
460
+ let u = 0, c = T;
461
461
  const f = () => {
462
- if (h)
462
+ if (u)
463
463
  return;
464
464
  c();
465
- const g = t(n ? u[0] : u, a, o);
465
+ const g = t(n ? h[0] : h, a, o);
466
466
  s ? a(g) : c = Ie(g) ? g : T;
467
467
  }, x = i.map(
468
- (g, y) => nt(
468
+ (g, y) => rt(
469
469
  g,
470
470
  (H) => {
471
- u[y] = H, h &= ~(1 << y), l && f();
471
+ h[y] = H, u &= ~(1 << y), l && f();
472
472
  },
473
473
  () => {
474
- h |= 1 << y;
474
+ u |= 1 << y;
475
475
  }
476
476
  )
477
477
  );
@@ -480,70 +480,70 @@ function k(e, t, r) {
480
480
  };
481
481
  });
482
482
  }
483
- function nr(e) {
484
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
483
+ function rr(e) {
484
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
485
485
  }
486
- var ir = function(t) {
487
- return sr(t) && !or(t);
486
+ var nr = function(t) {
487
+ return ir(t) && !sr(t);
488
488
  };
489
- function sr(e) {
489
+ function ir(e) {
490
490
  return !!e && typeof e == "object";
491
491
  }
492
- function or(e) {
492
+ function sr(e) {
493
493
  var t = Object.prototype.toString.call(e);
494
494
  return t === "[object RegExp]" || t === "[object Date]" || hr(e);
495
495
  }
496
- var ar = typeof Symbol == "function" && Symbol.for, ur = ar ? Symbol.for("react.element") : 60103;
496
+ var or = typeof Symbol == "function" && Symbol.for, ar = or ? Symbol.for("react.element") : 60103;
497
497
  function hr(e) {
498
- return e.$$typeof === ur;
498
+ return e.$$typeof === ar;
499
499
  }
500
- function lr(e) {
500
+ function ur(e) {
501
501
  return Array.isArray(e) ? [] : {};
502
502
  }
503
503
  function q(e, t) {
504
- return t.clone !== !1 && t.isMergeableObject(e) ? D(lr(e), e, t) : e;
504
+ return t.clone !== !1 && t.isMergeableObject(e) ? D(ur(e), e, t) : e;
505
505
  }
506
- function fr(e, t, r) {
506
+ function lr(e, t, r) {
507
507
  return e.concat(t).map(function(n) {
508
508
  return q(n, r);
509
509
  });
510
510
  }
511
- function cr(e, t) {
511
+ function fr(e, t) {
512
512
  if (!t.customMerge)
513
513
  return D;
514
514
  var r = t.customMerge(e);
515
515
  return typeof r == "function" ? r : D;
516
516
  }
517
- function pr(e) {
517
+ function cr(e) {
518
518
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
519
519
  return Object.propertyIsEnumerable.call(e, t);
520
520
  }) : [];
521
521
  }
522
- function De(e) {
523
- return Object.keys(e).concat(pr(e));
522
+ function Ge(e) {
523
+ return Object.keys(e).concat(cr(e));
524
524
  }
525
- function ot(e, t) {
525
+ function st(e, t) {
526
526
  try {
527
527
  return t in e;
528
528
  } catch {
529
529
  return !1;
530
530
  }
531
531
  }
532
- function mr(e, t) {
533
- return ot(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
532
+ function pr(e, t) {
533
+ return st(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
534
534
  }
535
- function dr(e, t, r) {
535
+ function mr(e, t, r) {
536
536
  var n = {};
537
- return r.isMergeableObject(e) && De(e).forEach(function(i) {
537
+ return r.isMergeableObject(e) && Ge(e).forEach(function(i) {
538
538
  n[i] = q(e[i], r);
539
- }), De(t).forEach(function(i) {
540
- mr(e, i) || (ot(e, i) && r.isMergeableObject(t[i]) ? n[i] = cr(i, r)(e[i], t[i], r) : n[i] = q(t[i], r));
539
+ }), Ge(t).forEach(function(i) {
540
+ pr(e, i) || (st(e, i) && r.isMergeableObject(t[i]) ? n[i] = fr(i, r)(e[i], t[i], r) : n[i] = q(t[i], r));
541
541
  }), n;
542
542
  }
543
543
  function D(e, t, r) {
544
- r = r || {}, r.arrayMerge = r.arrayMerge || fr, r.isMergeableObject = r.isMergeableObject || ir, r.cloneUnlessOtherwiseSpecified = q;
544
+ r = r || {}, r.arrayMerge = r.arrayMerge || lr, r.isMergeableObject = r.isMergeableObject || nr, r.cloneUnlessOtherwiseSpecified = q;
545
545
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
546
- return s ? n ? r.arrayMerge(e, t, r) : dr(e, t, r) : q(t, r);
546
+ return s ? n ? r.arrayMerge(e, t, r) : mr(e, t, r) : q(t, r);
547
547
  }
548
548
  D.all = function(t, r) {
549
549
  if (!Array.isArray(t))
@@ -552,8 +552,8 @@ D.all = function(t, r) {
552
552
  return D(n, i, r);
553
553
  }, {});
554
554
  };
555
- var br = D, gr = br;
556
- const xr = /* @__PURE__ */ nr(gr);
555
+ var br = D, dr = br;
556
+ const gr = /* @__PURE__ */ rr(dr);
557
557
  var ve = function(e, t) {
558
558
  return ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
559
559
  r.__proto__ = n;
@@ -561,7 +561,7 @@ var ve = function(e, t) {
561
561
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
562
562
  }, ve(e, t);
563
563
  };
564
- function he(e, t) {
564
+ function ue(e, t) {
565
565
  if (typeof t != "function" && t !== null)
566
566
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
567
567
  ve(e, t);
@@ -570,16 +570,16 @@ function he(e, t) {
570
570
  }
571
571
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
572
572
  }
573
- var b = function() {
574
- return b = Object.assign || function(t) {
573
+ var d = function() {
574
+ return d = Object.assign || function(t) {
575
575
  for (var r, n = 1, i = arguments.length; n < i; n++) {
576
576
  r = arguments[n];
577
577
  for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
578
578
  }
579
579
  return t;
580
- }, b.apply(this, arguments);
580
+ }, d.apply(this, arguments);
581
581
  };
582
- function Er(e, t) {
582
+ function xr(e, t) {
583
583
  var r = {};
584
584
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
585
585
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -592,40 +592,37 @@ function me(e, t, r) {
592
592
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
593
593
  return e.concat(s || Array.prototype.slice.call(t));
594
594
  }
595
- function de(e, t) {
596
- var r = t && t.cache ? t.cache : Sr, n = t && t.serializer ? t.serializer : Tr, i = t && t.strategy ? t.strategy : _r;
595
+ function be(e, t) {
596
+ var r = t && t.cache ? t.cache : Br, n = t && t.serializer ? t.serializer : Hr, i = t && t.strategy ? t.strategy : _r;
597
597
  return i(e, {
598
598
  cache: r,
599
599
  serializer: n
600
600
  });
601
601
  }
602
- function yr(e) {
602
+ function Er(e) {
603
603
  return e == null || typeof e == "number" || typeof e == "boolean";
604
604
  }
605
- function at(e, t, r, n) {
606
- var i = yr(n) ? n : r(n), s = t.get(i);
605
+ function yr(e, t, r, n) {
606
+ var i = Er(n) ? n : r(n), s = t.get(i);
607
607
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
608
608
  }
609
- function ut(e, t, r) {
609
+ function ot(e, t, r) {
610
610
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
611
611
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
612
612
  }
613
- function Ce(e, t, r, n, i) {
613
+ function at(e, t, r, n, i) {
614
614
  return r.bind(t, e, n, i);
615
615
  }
616
616
  function _r(e, t) {
617
- var r = e.length === 1 ? at : ut;
618
- return Ce(e, this, r, t.cache.create(), t.serializer);
617
+ var r = e.length === 1 ? yr : ot;
618
+ return at(e, this, r, t.cache.create(), t.serializer);
619
619
  }
620
620
  function vr(e, t) {
621
- return Ce(e, this, ut, t.cache.create(), t.serializer);
621
+ return at(e, this, ot, t.cache.create(), t.serializer);
622
622
  }
623
- function Hr(e, t) {
624
- return Ce(e, this, at, t.cache.create(), t.serializer);
625
- }
626
- var Tr = function() {
623
+ var Hr = function() {
627
624
  return JSON.stringify(arguments);
628
- }, Br = (
625
+ }, Tr = (
629
626
  /** @class */
630
627
  function() {
631
628
  function e() {
@@ -637,13 +634,12 @@ var Tr = function() {
637
634
  this.cache[t] = r;
638
635
  }, e;
639
636
  }()
640
- ), Sr = {
637
+ ), Br = {
641
638
  create: function() {
642
- return new Br();
639
+ return new Tr();
643
640
  }
644
- }, be = {
645
- variadic: vr,
646
- monadic: Hr
641
+ }, de = {
642
+ variadic: vr
647
643
  }, m;
648
644
  (function(e) {
649
645
  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";
@@ -656,43 +652,43 @@ var F;
656
652
  (function(e) {
657
653
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
658
654
  })(F || (F = {}));
659
- function Fe(e) {
655
+ function De(e) {
660
656
  return e.type === E.literal;
661
657
  }
662
- function Ar(e) {
658
+ function Sr(e) {
663
659
  return e.type === E.argument;
664
660
  }
665
661
  function ht(e) {
666
662
  return e.type === E.number;
667
663
  }
668
- function lt(e) {
664
+ function ut(e) {
669
665
  return e.type === E.date;
670
666
  }
671
- function ft(e) {
667
+ function lt(e) {
672
668
  return e.type === E.time;
673
669
  }
674
- function ct(e) {
670
+ function ft(e) {
675
671
  return e.type === E.select;
676
672
  }
677
- function pt(e) {
673
+ function ct(e) {
678
674
  return e.type === E.plural;
679
675
  }
680
- function Pr(e) {
676
+ function Ar(e) {
681
677
  return e.type === E.pound;
682
678
  }
683
- function mt(e) {
679
+ function pt(e) {
684
680
  return e.type === E.tag;
685
681
  }
686
- function dt(e) {
682
+ function mt(e) {
687
683
  return !!(e && typeof e == "object" && e.type === F.number);
688
684
  }
689
685
  function He(e) {
690
686
  return !!(e && typeof e == "object" && e.type === F.dateTime);
691
687
  }
692
- var bt = /[ \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;
693
- function Nr(e) {
688
+ var bt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pr = /(?:[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;
689
+ function Or(e) {
694
690
  var t = {};
695
- return e.replace(Or, function(r) {
691
+ return e.replace(Pr, function(r) {
696
692
  var n = r.length;
697
693
  switch (r[0]) {
698
694
  case "G":
@@ -781,18 +777,18 @@ function Nr(e) {
781
777
  return "";
782
778
  }), t;
783
779
  }
784
- var Ir = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
785
- function wr(e) {
780
+ var Nr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
781
+ function Ir(e) {
786
782
  if (e.length === 0)
787
783
  throw new Error("Number skeleton cannot be empty");
788
- for (var t = e.split(Ir).filter(function(f) {
784
+ for (var t = e.split(Nr).filter(function(f) {
789
785
  return f.length > 0;
790
786
  }), r = [], n = 0, i = t; n < i.length; n++) {
791
787
  var s = i[n], a = s.split("/");
792
788
  if (a.length === 0)
793
789
  throw new Error("Invalid number skeleton");
794
- for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
795
- var c = h[u];
790
+ for (var o = a[0], l = a.slice(1), h = 0, u = l; h < u.length; h++) {
791
+ var c = u[h];
796
792
  if (c.length === 0)
797
793
  throw new Error("Invalid number skeleton");
798
794
  }
@@ -800,17 +796,17 @@ function wr(e) {
800
796
  }
801
797
  return r;
802
798
  }
803
- function Lr(e) {
799
+ function wr(e) {
804
800
  return e.replace(/^(.*?)-/, "");
805
801
  }
806
- var je = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gt = /^(@+)?(\+|#+)?[rs]?$/g, Cr = /(\*)(0+)|(#+)(0+)|(0+)/g, xt = /^(0+)$/;
807
- function Ve(e) {
802
+ var Fe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, dt = /^(@+)?(\+|#+)?[rs]?$/g, Lr = /(\*)(0+)|(#+)(0+)|(0+)/g, gt = /^(0+)$/;
803
+ function je(e) {
808
804
  var t = {};
809
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gt, function(r, n, i) {
805
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(dt, function(r, n, i) {
810
806
  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)), "";
811
807
  }), t;
812
808
  }
813
- function Et(e) {
809
+ function xt(e) {
814
810
  switch (e) {
815
811
  case "sign-auto":
816
812
  return {
@@ -850,7 +846,7 @@ function Et(e) {
850
846
  };
851
847
  }
852
848
  }
853
- function Mr(e) {
849
+ function Cr(e) {
854
850
  var t;
855
851
  if (e[0] === "E" && e[1] === "E" ? (t = {
856
852
  notation: "engineering"
@@ -858,17 +854,17 @@ function Mr(e) {
858
854
  notation: "scientific"
859
855
  }, e = e.slice(1)), t) {
860
856
  var r = e.slice(0, 2);
861
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !xt.test(e))
857
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !gt.test(e))
862
858
  throw new Error("Malformed concise eng/scientific notation");
863
859
  t.minimumIntegerDigits = e.length;
864
860
  }
865
861
  return t;
866
862
  }
867
- function ke(e) {
868
- var t = {}, r = Et(e);
863
+ function Ve(e) {
864
+ var t = {}, r = xt(e);
869
865
  return r || t;
870
866
  }
871
- function Rr(e) {
867
+ function Mr(e) {
872
868
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
873
869
  var i = n[r];
874
870
  switch (i.stem) {
@@ -892,7 +888,7 @@ function Rr(e) {
892
888
  continue;
893
889
  case "measure-unit":
894
890
  case "unit":
895
- t.style = "unit", t.unit = Lr(i.options[0]);
891
+ t.style = "unit", t.unit = wr(i.options[0]);
896
892
  continue;
897
893
  case "compact-short":
898
894
  case "K":
@@ -903,13 +899,13 @@ function Rr(e) {
903
899
  t.notation = "compact", t.compactDisplay = "long";
904
900
  continue;
905
901
  case "scientific":
906
- t = b(b(b({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
907
- return b(b({}, l), ke(u));
902
+ t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(l, h) {
903
+ return d(d({}, l), Ve(h));
908
904
  }, {}));
909
905
  continue;
910
906
  case "engineering":
911
- t = b(b(b({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
912
- return b(b({}, l), ke(u));
907
+ t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(l, h) {
908
+ return d(d({}, l), Ve(h));
913
909
  }, {}));
914
910
  continue;
915
911
  case "notation-simple":
@@ -954,9 +950,9 @@ function Rr(e) {
954
950
  case "integer-width":
955
951
  if (i.options.length > 1)
956
952
  throw new RangeError("integer-width stems only accept a single optional option");
957
- i.options[0].replace(Cr, function(l, u, h, c, f, x) {
958
- if (u)
959
- t.minimumIntegerDigits = h.length;
953
+ i.options[0].replace(Lr, function(l, h, u, c, f, x) {
954
+ if (h)
955
+ t.minimumIntegerDigits = u.length;
960
956
  else {
961
957
  if (c && f)
962
958
  throw new Error("We currently do not support maximum integer digits");
@@ -967,28 +963,28 @@ function Rr(e) {
967
963
  });
968
964
  continue;
969
965
  }
970
- if (xt.test(i.stem)) {
966
+ if (gt.test(i.stem)) {
971
967
  t.minimumIntegerDigits = i.stem.length;
972
968
  continue;
973
969
  }
974
- if (je.test(i.stem)) {
970
+ if (Fe.test(i.stem)) {
975
971
  if (i.options.length > 1)
976
972
  throw new RangeError("Fraction-precision stems only accept a single optional option");
977
- i.stem.replace(je, function(l, u, h, c, f, x) {
978
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && x ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + x.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
973
+ i.stem.replace(Fe, function(l, h, u, c, f, x) {
974
+ return u === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && x ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + x.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
979
975
  });
980
976
  var s = i.options[0];
981
- s === "w" ? t = b(b({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = b(b({}, t), Ve(s)));
977
+ s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), je(s)));
982
978
  continue;
983
979
  }
984
- if (gt.test(i.stem)) {
985
- t = b(b({}, t), Ve(i.stem));
980
+ if (dt.test(i.stem)) {
981
+ t = d(d({}, t), je(i.stem));
986
982
  continue;
987
983
  }
988
- var a = Et(i.stem);
989
- a && (t = b(b({}, t), a));
990
- var o = Mr(i.stem);
991
- o && (t = b(b({}, t), o));
984
+ var a = xt(i.stem);
985
+ a && (t = d(d({}, t), a));
986
+ var o = Cr(i.stem);
987
+ o && (t = d(d({}, t), o));
992
988
  }
993
989
  return t;
994
990
  }
@@ -2407,22 +2403,22 @@ var te = {
2407
2403
  "h"
2408
2404
  ]
2409
2405
  };
2410
- function $r(e, t) {
2406
+ function Rr(e, t) {
2411
2407
  for (var r = "", n = 0; n < e.length; n++) {
2412
2408
  var i = e.charAt(n);
2413
2409
  if (i === "j") {
2414
2410
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2415
2411
  s++, n++;
2416
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Ur(t);
2417
- for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2412
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", h = $r(t);
2413
+ for ((h == "H" || h == "k") && (o = 0); o-- > 0; )
2418
2414
  r += l;
2419
2415
  for (; a-- > 0; )
2420
- r = u + r;
2416
+ r = h + r;
2421
2417
  } else i === "J" ? r += "H" : r += i;
2422
2418
  }
2423
2419
  return r;
2424
2420
  }
2425
- function Ur(e) {
2421
+ function $r(e) {
2426
2422
  var t = e.hourCycle;
2427
2423
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2428
2424
  e.hourCycles && // @ts-ignore
@@ -2444,20 +2440,20 @@ function Ur(e) {
2444
2440
  var i = te[n || ""] || te[r || ""] || te["".concat(r, "-001")] || te["001"];
2445
2441
  return i[0];
2446
2442
  }
2447
- var ge, Gr = new RegExp("^".concat(bt.source, "*")), Dr = new RegExp("".concat(bt.source, "*$"));
2448
- function d(e, t) {
2443
+ var ge, Ur = new RegExp("^".concat(bt.source, "*")), Gr = new RegExp("".concat(bt.source, "*$"));
2444
+ function b(e, t) {
2449
2445
  return { start: e, end: t };
2450
2446
  }
2451
- var Fr = !!String.prototype.startsWith && "_a".startsWith("a", 1), jr = !!String.fromCodePoint, Vr = !!Object.fromEntries, kr = !!String.prototype.codePointAt, Xr = !!String.prototype.trimStart, zr = !!String.prototype.trimEnd, Wr = !!Number.isSafeInteger, Zr = Wr ? Number.isSafeInteger : function(e) {
2447
+ var Dr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fr = !!String.fromCodePoint, jr = !!Object.fromEntries, Vr = !!String.prototype.codePointAt, kr = !!String.prototype.trimStart, Xr = !!String.prototype.trimEnd, zr = !!Number.isSafeInteger, Wr = zr ? Number.isSafeInteger : function(e) {
2452
2448
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2453
2449
  }, Te = !0;
2454
2450
  try {
2455
- var Qr = _t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2456
- Te = ((ge = Qr.exec("a")) === null || ge === void 0 ? void 0 : ge[0]) === "a";
2451
+ var Zr = yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2452
+ Te = ((ge = Zr.exec("a")) === null || ge === void 0 ? void 0 : ge[0]) === "a";
2457
2453
  } catch {
2458
2454
  Te = !1;
2459
2455
  }
2460
- var Xe = Fr ? (
2456
+ var ke = Dr ? (
2461
2457
  // Native
2462
2458
  function(t, r, n) {
2463
2459
  return t.startsWith(r, n);
@@ -2467,7 +2463,7 @@ var Xe = Fr ? (
2467
2463
  function(t, r, n) {
2468
2464
  return t.slice(n, n + r.length) === r;
2469
2465
  }
2470
- ), Be = jr ? String.fromCodePoint : (
2466
+ ), Be = Fr ? String.fromCodePoint : (
2471
2467
  // IE11
2472
2468
  function() {
2473
2469
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2479,9 +2475,9 @@ var Xe = Fr ? (
2479
2475
  }
2480
2476
  return n;
2481
2477
  }
2482
- ), ze = (
2478
+ ), Xe = (
2483
2479
  // native
2484
- Vr ? Object.fromEntries : (
2480
+ jr ? Object.fromEntries : (
2485
2481
  // Ponyfill
2486
2482
  function(t) {
2487
2483
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2491,7 +2487,7 @@ var Xe = Fr ? (
2491
2487
  return r;
2492
2488
  }
2493
2489
  )
2494
- ), yt = kr ? (
2490
+ ), Et = Vr ? (
2495
2491
  // Native
2496
2492
  function(t, r) {
2497
2493
  return t.codePointAt(r);
@@ -2505,7 +2501,7 @@ var Xe = Fr ? (
2505
2501
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2506
2502
  }
2507
2503
  }
2508
- ), Jr = Xr ? (
2504
+ ), Qr = kr ? (
2509
2505
  // Native
2510
2506
  function(t) {
2511
2507
  return t.trimStart();
@@ -2513,9 +2509,9 @@ var Xe = Fr ? (
2513
2509
  ) : (
2514
2510
  // Ponyfill
2515
2511
  function(t) {
2516
- return t.replace(Gr, "");
2512
+ return t.replace(Ur, "");
2517
2513
  }
2518
- ), qr = zr ? (
2514
+ ), Jr = Xr ? (
2519
2515
  // Native
2520
2516
  function(t) {
2521
2517
  return t.trimEnd();
@@ -2523,32 +2519,32 @@ var Xe = Fr ? (
2523
2519
  ) : (
2524
2520
  // Ponyfill
2525
2521
  function(t) {
2526
- return t.replace(Dr, "");
2522
+ return t.replace(Gr, "");
2527
2523
  }
2528
2524
  );
2529
- function _t(e, t) {
2525
+ function yt(e, t) {
2530
2526
  return new RegExp(e, t);
2531
2527
  }
2532
2528
  var Se;
2533
2529
  if (Te) {
2534
- var We = _t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2530
+ var ze = yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2535
2531
  Se = function(t, r) {
2536
2532
  var n;
2537
- We.lastIndex = r;
2538
- var i = We.exec(t);
2533
+ ze.lastIndex = r;
2534
+ var i = ze.exec(t);
2539
2535
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2540
2536
  };
2541
2537
  } else
2542
2538
  Se = function(t, r) {
2543
2539
  for (var n = []; ; ) {
2544
- var i = yt(t, r);
2545
- if (i === void 0 || vt(i) || tn(i))
2540
+ var i = Et(t, r);
2541
+ if (i === void 0 || _t(i) || en(i))
2546
2542
  break;
2547
2543
  n.push(i), r += i >= 65536 ? 2 : 1;
2548
2544
  }
2549
2545
  return Be.apply(void 0, n);
2550
2546
  };
2551
- var Yr = (
2547
+ var qr = (
2552
2548
  /** @class */
2553
2549
  function() {
2554
2550
  function e(t, r) {
@@ -2573,12 +2569,12 @@ var Yr = (
2573
2569
  var o = this.clonePosition();
2574
2570
  this.bump(), i.push({
2575
2571
  type: E.pound,
2576
- location: d(o, this.clonePosition())
2572
+ location: b(o, this.clonePosition())
2577
2573
  });
2578
2574
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2579
2575
  if (n)
2580
2576
  break;
2581
- return this.error(m.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
2577
+ return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2582
2578
  } else if (s === 60 && !this.ignoreTag && Ae(this.peek() || 0)) {
2583
2579
  var a = this.parseTag(t, r);
2584
2580
  if (a.err)
@@ -2602,7 +2598,7 @@ var Yr = (
2602
2598
  val: {
2603
2599
  type: E.literal,
2604
2600
  value: "<".concat(i, "/>"),
2605
- location: d(n, this.clonePosition())
2601
+ location: b(n, this.clonePosition())
2606
2602
  },
2607
2603
  err: null
2608
2604
  };
@@ -2613,24 +2609,24 @@ var Yr = (
2613
2609
  var a = s.val, o = this.clonePosition();
2614
2610
  if (this.bumpIf("</")) {
2615
2611
  if (this.isEOF() || !Ae(this.char()))
2616
- return this.error(m.INVALID_TAG, d(o, this.clonePosition()));
2617
- var l = this.clonePosition(), u = this.parseTagName();
2618
- return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, d(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2612
+ return this.error(m.INVALID_TAG, b(o, this.clonePosition()));
2613
+ var l = this.clonePosition(), h = this.parseTagName();
2614
+ return i !== h ? this.error(m.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2619
2615
  val: {
2620
2616
  type: E.tag,
2621
2617
  value: i,
2622
2618
  children: a,
2623
- location: d(n, this.clonePosition())
2619
+ location: b(n, this.clonePosition())
2624
2620
  },
2625
2621
  err: null
2626
- } : this.error(m.INVALID_TAG, d(o, this.clonePosition())));
2622
+ } : this.error(m.INVALID_TAG, b(o, this.clonePosition())));
2627
2623
  } else
2628
- return this.error(m.UNCLOSED_TAG, d(n, this.clonePosition()));
2624
+ return this.error(m.UNCLOSED_TAG, b(n, this.clonePosition()));
2629
2625
  } else
2630
- return this.error(m.INVALID_TAG, d(n, this.clonePosition()));
2626
+ return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
2631
2627
  }, e.prototype.parseTagName = function() {
2632
2628
  var t = this.offset();
2633
- for (this.bump(); !this.isEOF() && en(this.char()); )
2629
+ for (this.bump(); !this.isEOF() && Kr(this.char()); )
2634
2630
  this.bump();
2635
2631
  return this.message.slice(t, this.offset());
2636
2632
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2652,14 +2648,14 @@ var Yr = (
2652
2648
  }
2653
2649
  break;
2654
2650
  }
2655
- var l = d(n, this.clonePosition());
2651
+ var l = b(n, this.clonePosition());
2656
2652
  return {
2657
2653
  val: { type: E.literal, value: i, location: l },
2658
2654
  err: null
2659
2655
  };
2660
2656
  }, e.prototype.tryParseLeftAngleBracket = function() {
2661
2657
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2662
- !Kr(this.peek() || 0)) ? (this.bump(), "<") : null;
2658
+ !Yr(this.peek() || 0)) ? (this.bump(), "<") : null;
2663
2659
  }, e.prototype.tryParseQuote = function(t) {
2664
2660
  if (this.isEOF() || this.char() !== 39)
2665
2661
  return null;
@@ -2702,14 +2698,14 @@ var Yr = (
2702
2698
  }, e.prototype.parseArgument = function(t, r) {
2703
2699
  var n = this.clonePosition();
2704
2700
  if (this.bump(), this.bumpSpace(), this.isEOF())
2705
- return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
2701
+ return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2706
2702
  if (this.char() === 125)
2707
- return this.bump(), this.error(m.EMPTY_ARGUMENT, d(n, this.clonePosition()));
2703
+ return this.bump(), this.error(m.EMPTY_ARGUMENT, b(n, this.clonePosition()));
2708
2704
  var i = this.parseIdentifierIfPossible().value;
2709
2705
  if (!i)
2710
- return this.error(m.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
2706
+ return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2711
2707
  if (this.bumpSpace(), this.isEOF())
2712
- return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
2708
+ return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2713
2709
  switch (this.char()) {
2714
2710
  case 125:
2715
2711
  return this.bump(), {
@@ -2717,49 +2713,49 @@ var Yr = (
2717
2713
  type: E.argument,
2718
2714
  // value does not include the opening and closing braces.
2719
2715
  value: i,
2720
- location: d(n, this.clonePosition())
2716
+ location: b(n, this.clonePosition())
2721
2717
  },
2722
2718
  err: null
2723
2719
  };
2724
2720
  case 44:
2725
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2721
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2726
2722
  default:
2727
- return this.error(m.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
2723
+ return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2728
2724
  }
2729
2725
  }, e.prototype.parseIdentifierIfPossible = function() {
2730
2726
  var t = this.clonePosition(), r = this.offset(), n = Se(this.message, r), i = r + n.length;
2731
2727
  this.bumpTo(i);
2732
- var s = this.clonePosition(), a = d(t, s);
2728
+ var s = this.clonePosition(), a = b(t, s);
2733
2729
  return { value: n, location: a };
2734
2730
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2735
2731
  var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2736
2732
  switch (o) {
2737
2733
  case "":
2738
- return this.error(m.EXPECT_ARGUMENT_TYPE, d(a, l));
2734
+ return this.error(m.EXPECT_ARGUMENT_TYPE, b(a, l));
2739
2735
  case "number":
2740
2736
  case "date":
2741
2737
  case "time": {
2742
2738
  this.bumpSpace();
2743
- var u = null;
2739
+ var h = null;
2744
2740
  if (this.bumpIf(",")) {
2745
2741
  this.bumpSpace();
2746
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2742
+ var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2747
2743
  if (c.err)
2748
2744
  return c;
2749
- var f = qr(c.val);
2745
+ var f = Jr(c.val);
2750
2746
  if (f.length === 0)
2751
- return this.error(m.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
2752
- var x = d(h, this.clonePosition());
2753
- u = { style: f, styleLocation: x };
2747
+ return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2748
+ var x = b(u, this.clonePosition());
2749
+ h = { style: f, styleLocation: x };
2754
2750
  }
2755
2751
  var g = this.tryParseArgumentClose(i);
2756
2752
  if (g.err)
2757
2753
  return g;
2758
- var y = d(i, this.clonePosition());
2759
- if (u && Xe(u?.style, "::", 0)) {
2760
- var H = Jr(u.style.slice(2));
2754
+ var y = b(i, this.clonePosition());
2755
+ if (h && ke(h?.style, "::", 0)) {
2756
+ var H = Qr(h.style.slice(2));
2761
2757
  if (o === "number") {
2762
- var c = this.parseNumberSkeletonFromString(H, u.styleLocation);
2758
+ var c = this.parseNumberSkeletonFromString(H, h.styleLocation);
2763
2759
  return c.err ? c : {
2764
2760
  val: { type: E.number, value: n, location: y, style: c.val },
2765
2761
  err: null
@@ -2768,12 +2764,12 @@ var Yr = (
2768
2764
  if (H.length === 0)
2769
2765
  return this.error(m.EXPECT_DATE_TIME_SKELETON, y);
2770
2766
  var B = H;
2771
- this.locale && (B = $r(H, this.locale));
2767
+ this.locale && (B = Rr(H, this.locale));
2772
2768
  var f = {
2773
2769
  type: F.dateTime,
2774
2770
  pattern: B,
2775
- location: u.styleLocation,
2776
- parsedOptions: this.shouldParseSkeletons ? Nr(B) : {}
2771
+ location: h.styleLocation,
2772
+ parsedOptions: this.shouldParseSkeletons ? Or(B) : {}
2777
2773
  }, S = o === "date" ? E.date : E.time;
2778
2774
  return {
2779
2775
  val: { type: S, value: n, location: y, style: f },
@@ -2786,7 +2782,7 @@ var Yr = (
2786
2782
  type: o === "number" ? E.number : o === "date" ? E.date : E.time,
2787
2783
  value: n,
2788
2784
  location: y,
2789
- style: (s = u?.style) !== null && s !== void 0 ? s : null
2785
+ style: (s = h?.style) !== null && s !== void 0 ? s : null
2790
2786
  },
2791
2787
  err: null
2792
2788
  };
@@ -2796,12 +2792,12 @@ var Yr = (
2796
2792
  case "select": {
2797
2793
  var v = this.clonePosition();
2798
2794
  if (this.bumpSpace(), !this.bumpIf(","))
2799
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, d(v, b({}, v)));
2795
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(v, d({}, v)));
2800
2796
  this.bumpSpace();
2801
2797
  var O = this.parseIdentifierIfPossible(), P = 0;
2802
2798
  if (o !== "select" && O.value === "offset") {
2803
2799
  if (!this.bumpIf(":"))
2804
- return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d(this.clonePosition(), this.clonePosition()));
2800
+ return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2805
2801
  this.bumpSpace();
2806
2802
  var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2807
2803
  if (c.err)
@@ -2814,12 +2810,12 @@ var Yr = (
2814
2810
  var g = this.tryParseArgumentClose(i);
2815
2811
  if (g.err)
2816
2812
  return g;
2817
- var ee = d(i, this.clonePosition());
2813
+ var ee = b(i, this.clonePosition());
2818
2814
  return o === "select" ? {
2819
2815
  val: {
2820
2816
  type: E.select,
2821
2817
  value: n,
2822
- options: ze(M.val),
2818
+ options: Xe(M.val),
2823
2819
  location: ee
2824
2820
  },
2825
2821
  err: null
@@ -2827,7 +2823,7 @@ var Yr = (
2827
2823
  val: {
2828
2824
  type: E.plural,
2829
2825
  value: n,
2830
- options: ze(M.val),
2826
+ options: Xe(M.val),
2831
2827
  offset: P,
2832
2828
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2833
2829
  location: ee
@@ -2836,10 +2832,10 @@ var Yr = (
2836
2832
  };
2837
2833
  }
2838
2834
  default:
2839
- return this.error(m.INVALID_ARGUMENT_TYPE, d(a, l));
2835
+ return this.error(m.INVALID_ARGUMENT_TYPE, b(a, l));
2840
2836
  }
2841
2837
  }, e.prototype.tryParseArgumentClose = function(t) {
2842
- return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2838
+ return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2843
2839
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2844
2840
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2845
2841
  var n = this.char();
@@ -2848,7 +2844,7 @@ var Yr = (
2848
2844
  this.bump();
2849
2845
  var i = this.clonePosition();
2850
2846
  if (!this.bumpUntil("'"))
2851
- return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, d(i, this.clonePosition()));
2847
+ return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
2852
2848
  this.bump();
2853
2849
  break;
2854
2850
  }
@@ -2878,7 +2874,7 @@ var Yr = (
2878
2874
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2879
2875
  var n = [];
2880
2876
  try {
2881
- n = wr(t);
2877
+ n = Ir(t);
2882
2878
  } catch {
2883
2879
  return this.error(m.INVALID_NUMBER_SKELETON, r);
2884
2880
  }
@@ -2887,28 +2883,28 @@ var Yr = (
2887
2883
  type: F.number,
2888
2884
  tokens: n,
2889
2885
  location: r,
2890
- parsedOptions: this.shouldParseSkeletons ? Rr(n) : {}
2886
+ parsedOptions: this.shouldParseSkeletons ? Mr(n) : {}
2891
2887
  },
2892
2888
  err: null
2893
2889
  };
2894
2890
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2895
- for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
2896
- if (u.length === 0) {
2891
+ for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), h = i.value, u = i.location; ; ) {
2892
+ if (h.length === 0) {
2897
2893
  var c = this.clonePosition();
2898
2894
  if (r !== "select" && this.bumpIf("=")) {
2899
2895
  var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
2900
2896
  if (f.err)
2901
2897
  return f;
2902
- h = d(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2898
+ u = b(c, this.clonePosition()), h = this.message.slice(c.offset, this.offset());
2903
2899
  } else
2904
2900
  break;
2905
2901
  }
2906
- if (l.has(u))
2907
- return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2908
- u === "other" && (a = !0), this.bumpSpace();
2902
+ if (l.has(h))
2903
+ return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
2904
+ h === "other" && (a = !0), this.bumpSpace();
2909
2905
  var x = this.clonePosition();
2910
2906
  if (!this.bumpIf("{"))
2911
- return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
2907
+ return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
2912
2908
  var g = this.parseMessage(t + 1, r, n);
2913
2909
  if (g.err)
2914
2910
  return g;
@@ -2916,14 +2912,14 @@ var Yr = (
2916
2912
  if (y.err)
2917
2913
  return y;
2918
2914
  o.push([
2919
- u,
2915
+ h,
2920
2916
  {
2921
2917
  value: g.val,
2922
- location: d(x, this.clonePosition())
2918
+ location: b(x, this.clonePosition())
2923
2919
  }
2924
- ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
2920
+ ]), l.add(h), this.bumpSpace(), s = this.parseIdentifierIfPossible(), h = s.value, u = s.location;
2925
2921
  }
2926
- return o.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, d(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(m.MISSING_OTHER_CLAUSE, d(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
2922
+ return o.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(m.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
2927
2923
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2928
2924
  var n = 1, i = this.clonePosition();
2929
2925
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -2934,8 +2930,8 @@ var Yr = (
2934
2930
  else
2935
2931
  break;
2936
2932
  }
2937
- var l = d(i, this.clonePosition());
2938
- return s ? (a *= n, Zr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
2933
+ var l = b(i, this.clonePosition());
2934
+ return s ? (a *= n, Wr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
2939
2935
  }, e.prototype.offset = function() {
2940
2936
  return this.position.offset;
2941
2937
  }, e.prototype.isEOF = function() {
@@ -2950,7 +2946,7 @@ var Yr = (
2950
2946
  var t = this.position.offset;
2951
2947
  if (t >= this.message.length)
2952
2948
  throw Error("out of bound");
2953
- var r = yt(this.message, t);
2949
+ var r = Et(this.message, t);
2954
2950
  if (r === void 0)
2955
2951
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2956
2952
  return r;
@@ -2969,7 +2965,7 @@ var Yr = (
2969
2965
  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);
2970
2966
  }
2971
2967
  }, e.prototype.bumpIf = function(t) {
2972
- if (Xe(this.message, t, this.offset())) {
2968
+ if (ke(this.message, t, this.offset())) {
2973
2969
  for (var r = 0; r < t.length; r++)
2974
2970
  this.bump();
2975
2971
  return !0;
@@ -2991,7 +2987,7 @@ var Yr = (
2991
2987
  break;
2992
2988
  }
2993
2989
  }, e.prototype.bumpSpace = function() {
2994
- for (; !this.isEOF() && vt(this.char()); )
2990
+ for (; !this.isEOF() && _t(this.char()); )
2995
2991
  this.bump();
2996
2992
  }, e.prototype.peek = function() {
2997
2993
  if (this.isEOF())
@@ -3004,29 +3000,29 @@ var Yr = (
3004
3000
  function Ae(e) {
3005
3001
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3006
3002
  }
3007
- function Kr(e) {
3003
+ function Yr(e) {
3008
3004
  return Ae(e) || e === 47;
3009
3005
  }
3010
- function en(e) {
3006
+ function Kr(e) {
3011
3007
  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;
3012
3008
  }
3013
- function vt(e) {
3009
+ function _t(e) {
3014
3010
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3015
3011
  }
3016
- function tn(e) {
3012
+ function en(e) {
3017
3013
  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;
3018
3014
  }
3019
3015
  function Pe(e) {
3020
3016
  e.forEach(function(t) {
3021
- if (delete t.location, ct(t) || pt(t))
3017
+ if (delete t.location, ft(t) || ct(t))
3022
3018
  for (var r in t.options)
3023
3019
  delete t.options[r].location, Pe(t.options[r].value);
3024
- else ht(t) && dt(t.style) || (lt(t) || ft(t)) && He(t.style) ? delete t.style.location : mt(t) && Pe(t.children);
3020
+ else ht(t) && mt(t.style) || (ut(t) || lt(t)) && He(t.style) ? delete t.style.location : pt(t) && Pe(t.children);
3025
3021
  });
3026
3022
  }
3027
- function rn(e, t) {
3028
- t === void 0 && (t = {}), t = b({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3029
- var r = new Yr(e, t).parse();
3023
+ function tn(e, t) {
3024
+ t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3025
+ var r = new qr(e, t).parse();
3030
3026
  if (r.err) {
3031
3027
  var n = SyntaxError(m[r.err.kind]);
3032
3028
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3040,7 +3036,7 @@ var j;
3040
3036
  var le = (
3041
3037
  /** @class */
3042
3038
  function(e) {
3043
- he(t, e);
3039
+ ue(t, e);
3044
3040
  function t(r, n, i) {
3045
3041
  var s = e.call(this, r) || this;
3046
3042
  return s.code = n, s.originalMessage = i, s;
@@ -3049,28 +3045,28 @@ var le = (
3049
3045
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3050
3046
  }, t;
3051
3047
  }(Error)
3052
- ), Ze = (
3048
+ ), We = (
3053
3049
  /** @class */
3054
3050
  function(e) {
3055
- he(t, e);
3051
+ ue(t, e);
3056
3052
  function t(r, n, i, s) {
3057
3053
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, s) || this;
3058
3054
  }
3059
3055
  return t;
3060
3056
  }(le)
3061
- ), nn = (
3057
+ ), rn = (
3062
3058
  /** @class */
3063
3059
  function(e) {
3064
- he(t, e);
3060
+ ue(t, e);
3065
3061
  function t(r, n, i) {
3066
3062
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
3067
3063
  }
3068
3064
  return t;
3069
3065
  }(le)
3070
- ), sn = (
3066
+ ), nn = (
3071
3067
  /** @class */
3072
3068
  function(e) {
3073
- he(t, e);
3069
+ ue(t, e);
3074
3070
  function t(r, n) {
3075
3071
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
3076
3072
  }
@@ -3080,78 +3076,78 @@ var le = (
3080
3076
  (function(e) {
3081
3077
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3082
3078
  })(_ || (_ = {}));
3083
- function on(e) {
3079
+ function sn(e) {
3084
3080
  return e.length < 2 ? e : e.reduce(function(t, r) {
3085
3081
  var n = t[t.length - 1];
3086
3082
  return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
3087
3083
  }, []);
3088
3084
  }
3089
- function an(e) {
3085
+ function on(e) {
3090
3086
  return typeof e == "function";
3091
3087
  }
3092
3088
  function ie(e, t, r, n, i, s, a) {
3093
- if (e.length === 1 && Fe(e[0]))
3089
+ if (e.length === 1 && De(e[0]))
3094
3090
  return [
3095
3091
  {
3096
3092
  type: _.literal,
3097
3093
  value: e[0].value
3098
3094
  }
3099
3095
  ];
3100
- for (var o = [], l = 0, u = e; l < u.length; l++) {
3101
- var h = u[l];
3102
- if (Fe(h)) {
3096
+ for (var o = [], l = 0, h = e; l < h.length; l++) {
3097
+ var u = h[l];
3098
+ if (De(u)) {
3103
3099
  o.push({
3104
3100
  type: _.literal,
3105
- value: h.value
3101
+ value: u.value
3106
3102
  });
3107
3103
  continue;
3108
3104
  }
3109
- if (Pr(h)) {
3105
+ if (Ar(u)) {
3110
3106
  typeof s == "number" && o.push({
3111
3107
  type: _.literal,
3112
3108
  value: r.getNumberFormat(t).format(s)
3113
3109
  });
3114
3110
  continue;
3115
3111
  }
3116
- var c = h.value;
3112
+ var c = u.value;
3117
3113
  if (!(i && c in i))
3118
- throw new sn(c, a);
3114
+ throw new nn(c, a);
3119
3115
  var f = i[c];
3120
- if (Ar(h)) {
3116
+ if (Sr(u)) {
3121
3117
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3122
3118
  type: typeof f == "string" ? _.literal : _.object,
3123
3119
  value: f
3124
3120
  });
3125
3121
  continue;
3126
3122
  }
3127
- if (lt(h)) {
3128
- var x = typeof h.style == "string" ? n.date[h.style] : He(h.style) ? h.style.parsedOptions : void 0;
3123
+ if (ut(u)) {
3124
+ var x = typeof u.style == "string" ? n.date[u.style] : He(u.style) ? u.style.parsedOptions : void 0;
3129
3125
  o.push({
3130
3126
  type: _.literal,
3131
3127
  value: r.getDateTimeFormat(t, x).format(f)
3132
3128
  });
3133
3129
  continue;
3134
3130
  }
3135
- if (ft(h)) {
3136
- var x = typeof h.style == "string" ? n.time[h.style] : He(h.style) ? h.style.parsedOptions : n.time.medium;
3131
+ if (lt(u)) {
3132
+ var x = typeof u.style == "string" ? n.time[u.style] : He(u.style) ? u.style.parsedOptions : n.time.medium;
3137
3133
  o.push({
3138
3134
  type: _.literal,
3139
3135
  value: r.getDateTimeFormat(t, x).format(f)
3140
3136
  });
3141
3137
  continue;
3142
3138
  }
3143
- if (ht(h)) {
3144
- var x = typeof h.style == "string" ? n.number[h.style] : dt(h.style) ? h.style.parsedOptions : void 0;
3139
+ if (ht(u)) {
3140
+ var x = typeof u.style == "string" ? n.number[u.style] : mt(u.style) ? u.style.parsedOptions : void 0;
3145
3141
  x && x.scale && (f = f * (x.scale || 1)), o.push({
3146
3142
  type: _.literal,
3147
3143
  value: r.getNumberFormat(t, x).format(f)
3148
3144
  });
3149
3145
  continue;
3150
3146
  }
3151
- if (mt(h)) {
3152
- var g = h.children, y = h.value, H = i[y];
3153
- if (!an(H))
3154
- throw new nn(y, "function", a);
3147
+ if (pt(u)) {
3148
+ var g = u.children, y = u.value, H = i[y];
3149
+ if (!on(H))
3150
+ throw new rn(y, "function", a);
3155
3151
  var B = ie(g, t, r, n, i, s), S = H(B.map(function(P) {
3156
3152
  return P.value;
3157
3153
  }));
@@ -3162,40 +3158,40 @@ function ie(e, t, r, n, i, s, a) {
3162
3158
  };
3163
3159
  }));
3164
3160
  }
3165
- if (ct(h)) {
3166
- var v = h.options[f] || h.options.other;
3161
+ if (ft(u)) {
3162
+ var v = u.options[f] || u.options.other;
3167
3163
  if (!v)
3168
- throw new Ze(h.value, f, Object.keys(h.options), a);
3164
+ throw new We(u.value, f, Object.keys(u.options), a);
3169
3165
  o.push.apply(o, ie(v.value, t, r, n, i));
3170
3166
  continue;
3171
3167
  }
3172
- if (pt(h)) {
3173
- var v = h.options["=".concat(f)];
3168
+ if (ct(u)) {
3169
+ var v = u.options["=".concat(f)];
3174
3170
  if (!v) {
3175
3171
  if (!Intl.PluralRules)
3176
3172
  throw new le(`Intl.PluralRules is not available in this environment.
3177
3173
  Try polyfilling it using "@formatjs/intl-pluralrules"
3178
3174
  `, j.MISSING_INTL_API, a);
3179
- var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3180
- v = h.options[O] || h.options.other;
3175
+ var O = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
3176
+ v = u.options[O] || u.options.other;
3181
3177
  }
3182
3178
  if (!v)
3183
- throw new Ze(h.value, f, Object.keys(h.options), a);
3184
- o.push.apply(o, ie(v.value, t, r, n, i, f - (h.offset || 0)));
3179
+ throw new We(u.value, f, Object.keys(u.options), a);
3180
+ o.push.apply(o, ie(v.value, t, r, n, i, f - (u.offset || 0)));
3185
3181
  continue;
3186
3182
  }
3187
3183
  }
3188
- return on(o);
3184
+ return sn(o);
3189
3185
  }
3190
- function un(e, t) {
3191
- return t ? b(b(b({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3192
- return r[n] = b(b({}, e[n]), t[n] || {}), r;
3186
+ function an(e, t) {
3187
+ return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3188
+ return r[n] = d(d({}, e[n]), t[n] || {}), r;
3193
3189
  }, {})) : e;
3194
3190
  }
3195
3191
  function hn(e, t) {
3196
3192
  return t ? Object.keys(e).reduce(function(r, n) {
3197
- return r[n] = un(e[n], t[n]), r;
3198
- }, b({}, e)) : e;
3193
+ return r[n] = an(e[n], t[n]), r;
3194
+ }, d({}, e)) : e;
3199
3195
  }
3200
3196
  function xe(e) {
3201
3197
  return {
@@ -3211,39 +3207,39 @@ function xe(e) {
3211
3207
  }
3212
3208
  };
3213
3209
  }
3214
- function ln(e) {
3210
+ function un(e) {
3215
3211
  return e === void 0 && (e = {
3216
3212
  number: {},
3217
3213
  dateTime: {},
3218
3214
  pluralRules: {}
3219
3215
  }), {
3220
- getNumberFormat: de(function() {
3216
+ getNumberFormat: be(function() {
3221
3217
  for (var t, r = [], n = 0; n < arguments.length; n++)
3222
3218
  r[n] = arguments[n];
3223
3219
  return new ((t = Intl.NumberFormat).bind.apply(t, me([void 0], r, !1)))();
3224
3220
  }, {
3225
3221
  cache: xe(e.number),
3226
- strategy: be.variadic
3222
+ strategy: de.variadic
3227
3223
  }),
3228
- getDateTimeFormat: de(function() {
3224
+ getDateTimeFormat: be(function() {
3229
3225
  for (var t, r = [], n = 0; n < arguments.length; n++)
3230
3226
  r[n] = arguments[n];
3231
3227
  return new ((t = Intl.DateTimeFormat).bind.apply(t, me([void 0], r, !1)))();
3232
3228
  }, {
3233
3229
  cache: xe(e.dateTime),
3234
- strategy: be.variadic
3230
+ strategy: de.variadic
3235
3231
  }),
3236
- getPluralRules: de(function() {
3232
+ getPluralRules: be(function() {
3237
3233
  for (var t, r = [], n = 0; n < arguments.length; n++)
3238
3234
  r[n] = arguments[n];
3239
3235
  return new ((t = Intl.PluralRules).bind.apply(t, me([void 0], r, !1)))();
3240
3236
  }, {
3241
3237
  cache: xe(e.pluralRules),
3242
- strategy: be.variadic
3238
+ strategy: de.variadic
3243
3239
  })
3244
3240
  };
3245
3241
  }
3246
- var fn = (
3242
+ var ln = (
3247
3243
  /** @class */
3248
3244
  function() {
3249
3245
  function e(t, r, n, i) {
@@ -3254,13 +3250,13 @@ var fn = (
3254
3250
  dateTime: {},
3255
3251
  pluralRules: {}
3256
3252
  }, this.format = function(l) {
3257
- var u = s.formatToParts(l);
3258
- if (u.length === 1)
3259
- return u[0].value;
3260
- var h = u.reduce(function(c, f) {
3253
+ var h = s.formatToParts(l);
3254
+ if (h.length === 1)
3255
+ return h[0].value;
3256
+ var u = h.reduce(function(c, f) {
3261
3257
  return !c.length || f.type !== _.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3262
3258
  }, []);
3263
- return h.length <= 1 ? h[0] || "" : h;
3259
+ return u.length <= 1 ? u[0] || "" : u;
3264
3260
  }, this.formatToParts = function(l) {
3265
3261
  return ie(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3266
3262
  }, this.resolvedOptions = function() {
@@ -3275,13 +3271,13 @@ var fn = (
3275
3271
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3276
3272
  var a = i || {};
3277
3273
  a.formatters;
3278
- var o = Er(a, ["formatters"]);
3279
- this.ast = e.__parse(t, b(b({}, o), { locale: this.resolvedLocale }));
3274
+ var o = xr(a, ["formatters"]);
3275
+ this.ast = e.__parse(t, d(d({}, o), { locale: this.resolvedLocale }));
3280
3276
  } else
3281
3277
  this.ast = t;
3282
3278
  if (!Array.isArray(this.ast))
3283
3279
  throw new TypeError("A message must be provided as a String or AST.");
3284
- this.formats = hn(e.formats, n), this.formatters = i && i.formatters || ln(this.formatterCache);
3280
+ this.formats = hn(e.formats, n), this.formatters = i && i.formatters || un(this.formatterCache);
3285
3281
  }
3286
3282
  return Object.defineProperty(e, "defaultLocale", {
3287
3283
  get: function() {
@@ -3294,7 +3290,7 @@ var fn = (
3294
3290
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3295
3291
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3296
3292
  }
3297
- }, e.__parse = rn, e.formats = {
3293
+ }, e.__parse = tn, e.formats = {
3298
3294
  number: {
3299
3295
  integer: {
3300
3296
  maximumFractionDigits: 0
@@ -3355,7 +3351,7 @@ var fn = (
3355
3351
  }, e;
3356
3352
  }()
3357
3353
  );
3358
- function cn(e, t) {
3354
+ function fn(e, t) {
3359
3355
  if (t == null)
3360
3356
  return;
3361
3357
  if (t in e)
@@ -3376,31 +3372,31 @@ function cn(e, t) {
3376
3372
  n = void 0;
3377
3373
  return n;
3378
3374
  }
3379
- const N = {}, pn = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = r), r), Ht = (e, t) => {
3375
+ const N = {}, cn = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = r), r), vt = (e, t) => {
3380
3376
  if (t == null)
3381
3377
  return;
3382
3378
  if (t in N && e in N[t])
3383
3379
  return N[t][e];
3384
3380
  const r = fe(t);
3385
3381
  for (let n = 0; n < r.length; n++) {
3386
- const i = r[n], s = dn(i, e);
3382
+ const i = r[n], s = mn(i, e);
3387
3383
  if (s)
3388
- return pn(e, t, s);
3384
+ return cn(e, t, s);
3389
3385
  }
3390
3386
  };
3391
- let Me;
3392
- const X = ue({});
3393
- function mn(e) {
3394
- return Me[e] || null;
3387
+ let Ce;
3388
+ const X = he({});
3389
+ function pn(e) {
3390
+ return Ce[e] || null;
3395
3391
  }
3396
- function Tt(e) {
3397
- return e in Me;
3392
+ function Ht(e) {
3393
+ return e in Ce;
3398
3394
  }
3399
- function dn(e, t) {
3400
- if (!Tt(e))
3395
+ function mn(e, t) {
3396
+ if (!Ht(e))
3401
3397
  return null;
3402
- const r = mn(e);
3403
- return cn(r, t);
3398
+ const r = pn(e);
3399
+ return fn(r, t);
3404
3400
  }
3405
3401
  function bn(e) {
3406
3402
  if (e == null)
@@ -3408,28 +3404,28 @@ function bn(e) {
3408
3404
  const t = fe(e);
3409
3405
  for (let r = 0; r < t.length; r++) {
3410
3406
  const n = t[r];
3411
- if (Tt(n))
3407
+ if (Ht(n))
3412
3408
  return n;
3413
3409
  }
3414
3410
  }
3415
- function Bt(e, ...t) {
3416
- delete N[e], X.update((r) => (r[e] = xr.all([r[e] || {}, ...t]), r));
3411
+ function Tt(e, ...t) {
3412
+ delete N[e], X.update((r) => (r[e] = gr.all([r[e] || {}, ...t]), r));
3417
3413
  }
3418
3414
  k(
3419
3415
  [X],
3420
3416
  ([e]) => Object.keys(e)
3421
3417
  );
3422
- X.subscribe((e) => Me = e);
3418
+ X.subscribe((e) => Ce = e);
3423
3419
  const se = {};
3424
- function gn(e, t) {
3420
+ function dn(e, t) {
3425
3421
  se[e].delete(t), se[e].size === 0 && delete se[e];
3426
3422
  }
3427
- function St(e) {
3423
+ function Bt(e) {
3428
3424
  return se[e];
3429
3425
  }
3430
- function xn(e) {
3426
+ function gn(e) {
3431
3427
  return fe(e).map((t) => {
3432
- const r = St(t);
3428
+ const r = Bt(t);
3433
3429
  return [t, r ? [...r] : []];
3434
3430
  }).filter(([, t]) => t.length > 0);
3435
3431
  }
@@ -3437,31 +3433,31 @@ function Oe(e) {
3437
3433
  return e == null ? !1 : fe(e).some(
3438
3434
  (t) => {
3439
3435
  var r;
3440
- return (r = St(t)) == null ? void 0 : r.size;
3436
+ return (r = Bt(t)) == null ? void 0 : r.size;
3441
3437
  }
3442
3438
  );
3443
3439
  }
3444
- function En(e, t) {
3440
+ function xn(e, t) {
3445
3441
  return Promise.all(
3446
- t.map((n) => (gn(e, n), n().then((i) => i.default || i)))
3447
- ).then((n) => Bt(e, ...n));
3442
+ t.map((n) => (dn(e, n), n().then((i) => i.default || i)))
3443
+ ).then((n) => Tt(e, ...n));
3448
3444
  }
3449
3445
  const W = {};
3450
- function At(e) {
3446
+ function St(e) {
3451
3447
  if (!Oe(e))
3452
3448
  return e in W ? W[e] : Promise.resolve();
3453
- const t = xn(e);
3449
+ const t = gn(e);
3454
3450
  return W[e] = Promise.all(
3455
3451
  t.map(
3456
- ([r, n]) => En(r, n)
3452
+ ([r, n]) => xn(r, n)
3457
3453
  )
3458
3454
  ).then(() => {
3459
3455
  if (Oe(e))
3460
- return At(e);
3456
+ return St(e);
3461
3457
  delete W[e];
3462
3458
  }), W[e];
3463
3459
  }
3464
- const yn = {
3460
+ const En = {
3465
3461
  number: {
3466
3462
  scientific: { notation: "scientific" },
3467
3463
  engineering: { notation: "engineering" },
@@ -3490,34 +3486,34 @@ const yn = {
3490
3486
  timeZoneName: "short"
3491
3487
  }
3492
3488
  }
3493
- }, _n = {
3489
+ }, yn = {
3494
3490
  fallbackLocale: null,
3495
3491
  loadingDelay: 200,
3496
- formats: yn,
3492
+ formats: En,
3497
3493
  warnOnMissingMessages: !0,
3498
3494
  handleMissingMessage: void 0,
3499
3495
  ignoreTag: !0
3500
- }, vn = _n;
3496
+ }, _n = yn;
3501
3497
  function V() {
3502
- return vn;
3503
- }
3504
- const Ee = ue(!1);
3505
- var Hn = Object.defineProperty, Tn = Object.defineProperties, Bn = Object.getOwnPropertyDescriptors, Qe = Object.getOwnPropertySymbols, Sn = Object.prototype.hasOwnProperty, An = Object.prototype.propertyIsEnumerable, Je = (e, t, r) => t in e ? Hn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pn = (e, t) => {
3506
- for (var r in t)
3507
- Sn.call(t, r) && Je(e, r, t[r]);
3508
- if (Qe)
3509
- for (var r of Qe(t))
3510
- An.call(t, r) && Je(e, r, t[r]);
3498
+ return _n;
3499
+ }
3500
+ const Ee = he(!1);
3501
+ var vn = Object.defineProperty, Hn = Object.defineProperties, Tn = Object.getOwnPropertyDescriptors, Ze = Object.getOwnPropertySymbols, Bn = Object.prototype.hasOwnProperty, Sn = Object.prototype.propertyIsEnumerable, Qe = (e, t, r) => t in e ? vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, An = (e, t) => {
3502
+ for (var r in t || (t = {}))
3503
+ Bn.call(t, r) && Qe(e, r, t[r]);
3504
+ if (Ze)
3505
+ for (var r of Ze(t))
3506
+ Sn.call(t, r) && Qe(e, r, t[r]);
3511
3507
  return e;
3512
- }, On = (e, t) => Tn(e, Bn(t));
3508
+ }, Pn = (e, t) => Hn(e, Tn(t));
3513
3509
  let Ne;
3514
- const oe = ue(null);
3515
- function qe(e) {
3510
+ const oe = he(null);
3511
+ function Je(e) {
3516
3512
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3517
3513
  }
3518
3514
  function fe(e, t = V().fallbackLocale) {
3519
- const r = qe(e);
3520
- return t ? [.../* @__PURE__ */ new Set([...r, ...qe(t)])] : r;
3515
+ const r = Je(e);
3516
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Je(t)])] : r;
3521
3517
  }
3522
3518
  function C() {
3523
3519
  return Ne ?? void 0;
@@ -3525,22 +3521,22 @@ function C() {
3525
3521
  oe.subscribe((e) => {
3526
3522
  Ne = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3527
3523
  });
3528
- const Nn = (e) => {
3524
+ const On = (e) => {
3529
3525
  if (e && bn(e) && Oe(e)) {
3530
3526
  const { loadingDelay: t } = V();
3531
3527
  let r;
3532
3528
  return typeof window < "u" && C() != null && t ? r = window.setTimeout(
3533
3529
  () => Ee.set(!0),
3534
3530
  t
3535
- ) : Ee.set(!0), At(e).then(() => {
3531
+ ) : Ee.set(!0), St(e).then(() => {
3536
3532
  oe.set(e);
3537
3533
  }).finally(() => {
3538
3534
  clearTimeout(r), Ee.set(!1);
3539
3535
  });
3540
3536
  }
3541
3537
  return oe.set(e);
3542
- }, I = On(Pn({}, oe), {
3543
- set: Nn
3538
+ }, I = Pn(An({}, oe), {
3539
+ set: On
3544
3540
  }), ce = (e) => {
3545
3541
  const t = /* @__PURE__ */ Object.create(null);
3546
3542
  return (n) => {
@@ -3548,20 +3544,20 @@ const Nn = (e) => {
3548
3544
  return i in t ? t[i] : t[i] = e(n);
3549
3545
  };
3550
3546
  };
3551
- var In = Object.defineProperty, ae = Object.getOwnPropertySymbols, Pt = Object.prototype.hasOwnProperty, Ot = Object.prototype.propertyIsEnumerable, Ye = (e, t, r) => t in e ? In(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Re = (e, t) => {
3547
+ var Nn = Object.defineProperty, ae = Object.getOwnPropertySymbols, At = Object.prototype.hasOwnProperty, Pt = Object.prototype.propertyIsEnumerable, qe = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Me = (e, t) => {
3552
3548
  for (var r in t || (t = {}))
3553
- Pt.call(t, r) && Ye(e, r, t[r]);
3549
+ At.call(t, r) && qe(e, r, t[r]);
3554
3550
  if (ae)
3555
3551
  for (var r of ae(t))
3556
- Ot.call(t, r) && Ye(e, r, t[r]);
3552
+ Pt.call(t, r) && qe(e, r, t[r]);
3557
3553
  return e;
3558
3554
  }, z = (e, t) => {
3559
3555
  var r = {};
3560
3556
  for (var n in e)
3561
- Pt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3557
+ At.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3562
3558
  if (e != null && ae)
3563
3559
  for (var n of ae(e))
3564
- t.indexOf(n) < 0 && Ot.call(e, n) && (r[n] = e[n]);
3560
+ t.indexOf(n) < 0 && Pt.call(e, n) && (r[n] = e[n]);
3565
3561
  return r;
3566
3562
  };
3567
3563
  const Y = (e, t) => {
@@ -3569,21 +3565,21 @@ const Y = (e, t) => {
3569
3565
  if (e in r && t in r[e])
3570
3566
  return r[e][t];
3571
3567
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3572
- }, wn = ce(
3568
+ }, In = ce(
3573
3569
  (e) => {
3574
3570
  var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
3575
3571
  if (r == null)
3576
3572
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3577
3573
  return n && (i = Y("number", n)), new Intl.NumberFormat(r, i);
3578
3574
  }
3579
- ), Ln = ce(
3575
+ ), wn = ce(
3580
3576
  (e) => {
3581
3577
  var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
3582
3578
  if (r == null)
3583
3579
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3584
3580
  return n ? i = Y("date", n) : Object.keys(i).length === 0 && (i = Y("date", "short")), new Intl.DateTimeFormat(r, i);
3585
3581
  }
3586
- ), Cn = ce(
3582
+ ), Ln = ce(
3587
3583
  (e) => {
3588
3584
  var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
3589
3585
  if (r == null)
@@ -3592,57 +3588,57 @@ const Y = (e, t) => {
3592
3588
  );
3593
3589
  return n ? i = Y("time", n) : Object.keys(i).length === 0 && (i = Y("time", "short")), new Intl.DateTimeFormat(r, i);
3594
3590
  }
3595
- ), Mn = (e = {}) => {
3591
+ ), Cn = (e = {}) => {
3596
3592
  var t = e, {
3597
3593
  locale: r = C()
3598
3594
  } = t, n = z(t, [
3599
3595
  "locale"
3600
3596
  ]);
3601
- return wn(Re({ locale: r }, n));
3602
- }, Rn = (e = {}) => {
3597
+ return In(Me({ locale: r }, n));
3598
+ }, Mn = (e = {}) => {
3603
3599
  var t = e, {
3604
3600
  locale: r = C()
3605
3601
  } = t, n = z(t, [
3606
3602
  "locale"
3607
3603
  ]);
3608
- return Ln(Re({ locale: r }, n));
3609
- }, $n = (e = {}) => {
3604
+ return wn(Me({ locale: r }, n));
3605
+ }, Rn = (e = {}) => {
3610
3606
  var t = e, {
3611
3607
  locale: r = C()
3612
3608
  } = t, n = z(t, [
3613
3609
  "locale"
3614
3610
  ]);
3615
- return Cn(Re({ locale: r }, n));
3616
- }, Un = ce(
3611
+ return Ln(Me({ locale: r }, n));
3612
+ }, $n = ce(
3617
3613
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3618
- (e, t = C()) => new fn(e, t, V().formats, {
3614
+ (e, t = C()) => new ln(e, t, V().formats, {
3619
3615
  ignoreTag: V().ignoreTag
3620
3616
  })
3621
- ), Gn = (e, t = {}) => {
3617
+ ), Un = (e, t = {}) => {
3622
3618
  var r, n, i, s;
3623
3619
  let a = t;
3624
3620
  typeof e == "object" && (a = e, e = a.id);
3625
3621
  const {
3626
3622
  values: o,
3627
3623
  locale: l = C(),
3628
- default: u
3624
+ default: h
3629
3625
  } = a;
3630
3626
  if (l == null)
3631
3627
  throw new Error(
3632
3628
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3633
3629
  );
3634
- let h = Ht(e, l);
3635
- if (!h)
3636
- h = (s = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3637
- else if (typeof h != "string")
3630
+ let u = vt(e, l);
3631
+ if (!u)
3632
+ u = (s = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: h })) != null ? i : h) != null ? s : e;
3633
+ else if (typeof u != "string")
3638
3634
  return console.warn(
3639
- `[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.`
3640
- ), h;
3635
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3636
+ ), u;
3641
3637
  if (!o)
3642
- return h;
3643
- let c = h;
3638
+ return u;
3639
+ let c = u;
3644
3640
  try {
3645
- c = Un(h, l).format(o);
3641
+ c = $n(u, l).format(o);
3646
3642
  } catch (f) {
3647
3643
  f instanceof Error && console.warn(
3648
3644
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3650,23 +3646,23 @@ const Y = (e, t) => {
3650
3646
  );
3651
3647
  }
3652
3648
  return c;
3653
- }, Dn = (e, t) => $n(t).format(e), Fn = (e, t) => Rn(t).format(e), jn = (e, t) => Mn(t).format(e), Vn = (e, t = C()) => Ht(e, t), kn = k([I, X], () => Gn);
3649
+ }, Gn = (e, t) => Rn(t).format(e), Dn = (e, t) => Mn(t).format(e), Fn = (e, t) => Cn(t).format(e), jn = (e, t = C()) => vt(e, t), Vn = k([I, X], () => Un);
3650
+ k([I], () => Gn);
3654
3651
  k([I], () => Dn);
3655
3652
  k([I], () => Fn);
3656
- k([I], () => jn);
3657
- k([I, X], () => Vn);
3658
- function Xn({ withLocale: e, translations: t }) {
3653
+ k([I, X], () => jn);
3654
+ function kn({ withLocale: e, translations: t }) {
3659
3655
  I.subscribe((r) => {
3660
3656
  r == null && (X.set(t), I.set(e));
3661
3657
  });
3662
3658
  }
3663
- function Ke(e, t) {
3664
- Bt(e, t);
3659
+ function Ye(e, t) {
3660
+ Tt(e, t);
3665
3661
  }
3666
- function zn(e) {
3662
+ function Xn(e) {
3667
3663
  I.set(e);
3668
3664
  }
3669
- const et = {
3665
+ const Ke = {
3670
3666
  en: {
3671
3667
  bets: "bets"
3672
3668
  },
@@ -3692,25 +3688,25 @@ const et = {
3692
3688
  bets: "bets"
3693
3689
  }
3694
3690
  };
3695
- function Wn(e) {
3696
- Rt(e, "svelte-6dosur", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.general-icon-progress-bar{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #FFFFFF);height:100%;background:rgba(0, 0, 0, 0.8);border-radius:3px}.stepBar.inactive::after{border-color:#a6a4a1 transparent transparent transparent}.stepBar.inactive{background:linear-gradient(270deg, #a2a09e 8.82%, #aba9ad 99.63%)}.stepBar.inactive span{color:rgba(112, 106, 106, 0.8)}.stepBar span{font-weight:700;font-size:11px;line-height:var(--parentElementHeight, 20px);align-items:center;color:#fff;text-align:right;position:relative;z-index:1;white-space:nowrap}.stepBar::after{content:" ";position:absolute;top:0;border-width:20px 10px 20px 0;border-top-width:var(--triangleHeight, 20px);border-right-width:var(--halfOfTriangleHeight, 10px);border-bottom-width:var(--triangleHeight, 20px);border-style:solid;border-color:#FCA452 transparent transparent transparent;text-align:right}.stepBar{position:relative;width:var(--currentStep, 0);height:100%;background:linear-gradient(270deg, #FCA452 8.82%, #600062 99.63%);text-align:right;border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-right-radius:var(--stepBarBorderRadius, 0px);border-bottom-right-radius:var(--stepBarBorderRadius, 0px);transition-property:width;transition-duration:0.18s;transition-timing-function:cubic-bezier(0.43, 0.8, 0.95, 0.88);transition-delay:0.3s}');
3691
+ function zn(e) {
3692
+ Mt(e, "svelte-6dosur", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.general-icon-progress-bar{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #FFFFFF);height:100%;background:rgba(0, 0, 0, 0.8);border-radius:3px}.stepBar.inactive::after{border-color:#a6a4a1 transparent transparent transparent}.stepBar.inactive{background:linear-gradient(270deg, #a2a09e 8.82%, #aba9ad 99.63%)}.stepBar.inactive span{color:rgba(112, 106, 106, 0.8)}.stepBar span{font-weight:700;font-size:11px;line-height:var(--parentElementHeight, 20px);align-items:center;color:#fff;text-align:right;position:relative;z-index:1;white-space:nowrap}.stepBar::after{content:" ";position:absolute;top:0;border-width:20px 10px 20px 0;border-top-width:var(--triangleHeight, 20px);border-right-width:var(--halfOfTriangleHeight, 10px);border-bottom-width:var(--triangleHeight, 20px);border-style:solid;border-color:#FCA452 transparent transparent transparent;text-align:right}.stepBar{position:relative;width:var(--currentStep, 0);height:100%;background:linear-gradient(270deg, #FCA452 8.82%, #600062 99.63%);text-align:right;border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-right-radius:var(--stepBarBorderRadius, 0px);border-bottom-right-radius:var(--stepBarBorderRadius, 0px);transition-property:width;transition-duration:0.18s;transition-timing-function:cubic-bezier(0.43, 0.8, 0.95, 0.88);transition-delay:0.3s}');
3697
3693
  }
3698
- function Zn(e) {
3694
+ function Wn(e) {
3699
3695
  let t, r, n, i, s;
3700
3696
  return {
3701
3697
  c() {
3702
- t = Z("div"), r = Z("div"), n = Z("span"), i = Gt(
3698
+ t = Z("div"), r = Z("div"), n = Z("span"), i = Ut(
3703
3699
  /*progressText*/
3704
3700
  e[3]
3705
3701
  ), L(n, "part", "progressText"), L(r, "class", s = "stepBar " + /*curTatus*/
3706
3702
  e[4]), L(r, "part", "stepBar"), L(t, "class", "general-icon-progress-bar"), L(t, "part", "totalBar");
3707
3703
  },
3708
3704
  m(a, o) {
3709
- it(a, t, o), re(t, r), re(r, n), re(n, i), e[13](n), e[14](r), e[15](t);
3705
+ nt(a, t, o), re(t, r), re(r, n), re(n, i), e[13](n), e[14](r), e[15](t);
3710
3706
  },
3711
3707
  p(a, [o]) {
3712
3708
  o & /*progressText*/
3713
- 8 && Ft(
3709
+ 8 && Dt(
3714
3710
  i,
3715
3711
  /*progressText*/
3716
3712
  a[3]
@@ -3725,61 +3721,61 @@ function Zn(e) {
3725
3721
  }
3726
3722
  };
3727
3723
  }
3728
- function Qn(e, t, r) {
3724
+ function Zn(e, t, r) {
3729
3725
  let n;
3730
- Mt(e, kn, (p) => r(20, n = p));
3731
- let { currentstep: i = 0 } = t, { total: s = 1 } = t, { showaspercent: a } = t, { lang: o = "en" } = t, { status: l } = t, { translationurl: u = "" } = t, { progressfractiondigit: h = 1 } = t, { triggerreset: c } = t, f, x, g, y, H, B, S, v = "0px", O = "active";
3732
- Xn({ withLocale: "en", translations: {} });
3726
+ Ct(e, Vn, (p) => r(20, n = p));
3727
+ let { currentstep: i = 0 } = t, { total: s = 1 } = t, { showaspercent: a } = t, { lang: o = "en" } = t, { status: l } = t, { translationurl: h = "" } = t, { progressfractiondigit: u = 1 } = t, { triggerreset: c } = t, f, x, g, y, H, B, S, v = "0px", O = "active";
3728
+ kn({ withLocale: "en", translations: {} });
3733
3729
  const P = () => {
3734
- fetch(u).then((w) => w.json()).then((w) => {
3735
- Object.keys(w).forEach(($e) => {
3736
- Ke($e, w[$e]);
3730
+ fetch(h).then((w) => w.json()).then((w) => {
3731
+ Object.keys(w).forEach((Re) => {
3732
+ Ye(Re, w[Re]);
3737
3733
  });
3738
3734
  }).catch((w) => {
3739
3735
  console.log(w);
3740
3736
  });
3741
3737
  };
3742
- Object.keys(et).forEach((p) => {
3743
- Ke(p, et[p]);
3738
+ Object.keys(Ke).forEach((p) => {
3739
+ Ye(p, Ke[p]);
3744
3740
  });
3745
3741
  const M = () => {
3746
- zn(o);
3742
+ Xn(o);
3747
3743
  }, ee = () => {
3748
- let p = (i / s * 100).toFixed(h);
3744
+ let p = (i / s * 100).toFixed(u);
3749
3745
  setTimeout(
3750
3746
  () => {
3751
3747
  a || a === "true" ? r(3, y = `${p}%`) : r(3, y = `${i}/${s} ${n("bets")}`);
3752
3748
  },
3753
3749
  y ? 573 : 0
3754
3750
  ), p == 0 || p == 100 ? (B = "0px", S = "0px", v = p == 100 ? "3px" : "0px") : (B = `${f.offsetHeight}px`, H = B, S = `${f.offsetHeight / 3}px`, v = "0px"), x.style.setProperty("--parentElementHeight", H), g.style.setProperty("--currentStep", p + "%"), g.style.setProperty("--triangleHeight", B), g.style.setProperty("--halfOfTriangleHeight", S), g.style.setProperty("--stepBarBorderRadius", v);
3755
- }, Nt = () => {
3751
+ }, Ot = () => {
3756
3752
  r(4, O = l == "active" ? "" : "inactive");
3757
3753
  };
3758
- function It(p) {
3754
+ function Nt(p) {
3759
3755
  J[p ? "unshift" : "push"](() => {
3760
3756
  x = p, r(1, x);
3761
3757
  });
3762
3758
  }
3763
- function wt(p) {
3759
+ function It(p) {
3764
3760
  J[p ? "unshift" : "push"](() => {
3765
3761
  g = p, r(2, g);
3766
3762
  });
3767
3763
  }
3768
- function Lt(p) {
3764
+ function wt(p) {
3769
3765
  J[p ? "unshift" : "push"](() => {
3770
3766
  f = p, r(0, f);
3771
3767
  });
3772
3768
  }
3773
3769
  return e.$$set = (p) => {
3774
- "currentstep" in p && r(5, i = p.currentstep), "total" in p && r(6, s = p.total), "showaspercent" in p && r(7, a = p.showaspercent), "lang" in p && r(8, o = p.lang), "status" in p && r(9, l = p.status), "translationurl" in p && r(10, u = p.translationurl), "progressfractiondigit" in p && r(11, h = p.progressfractiondigit), "triggerreset" in p && r(12, c = p.triggerreset);
3770
+ "currentstep" in p && r(5, i = p.currentstep), "total" in p && r(6, s = p.total), "showaspercent" in p && r(7, a = p.showaspercent), "lang" in p && r(8, o = p.lang), "status" in p && r(9, l = p.status), "translationurl" in p && r(10, h = p.translationurl), "progressfractiondigit" in p && r(11, u = p.progressfractiondigit), "triggerreset" in p && r(12, c = p.triggerreset);
3775
3771
  }, e.$$.update = () => {
3776
3772
  e.$$.dirty & /*triggerreset, total*/
3777
3773
  4160 && c && s && setTimeout(() => {
3778
3774
  ee();
3779
3775
  }), e.$$.dirty & /*lang*/
3780
3776
  256 && o && M(), e.$$.dirty & /*status*/
3781
- 512 && l && Nt(), e.$$.dirty & /*translationurl*/
3782
- 1024 && u && P();
3777
+ 512 && l && Ot(), e.$$.dirty & /*translationurl*/
3778
+ 1024 && h && P();
3783
3779
  }, [
3784
3780
  f,
3785
3781
  x,
@@ -3791,22 +3787,22 @@ function Qn(e, t, r) {
3791
3787
  a,
3792
3788
  o,
3793
3789
  l,
3794
- u,
3795
3790
  h,
3791
+ u,
3796
3792
  c,
3793
+ Nt,
3797
3794
  It,
3798
- wt,
3799
- Lt
3795
+ wt
3800
3796
  ];
3801
3797
  }
3802
- class Jn extends er {
3798
+ class Qn extends Kt {
3803
3799
  constructor(t) {
3804
- super(), Yt(
3800
+ super(), qt(
3805
3801
  this,
3806
3802
  t,
3807
- Qn,
3808
3803
  Zn,
3809
- rt,
3804
+ Wn,
3805
+ tt,
3810
3806
  {
3811
3807
  currentstep: 5,
3812
3808
  total: 6,
@@ -3817,7 +3813,7 @@ class Jn extends er {
3817
3813
  progressfractiondigit: 11,
3818
3814
  triggerreset: 12
3819
3815
  },
3820
- Wn
3816
+ zn
3821
3817
  );
3822
3818
  }
3823
3819
  get currentstep() {
@@ -3869,7 +3865,7 @@ class Jn extends er {
3869
3865
  this.$$set({ triggerreset: t }), A();
3870
3866
  }
3871
3867
  }
3872
- Kt(Jn, { currentstep: {}, total: {}, showaspercent: {}, lang: {}, status: {}, translationurl: {}, progressfractiondigit: {}, triggerreset: {} }, [], [], !0);
3868
+ Yt(Qn, { currentstep: {}, total: {}, showaspercent: {}, lang: {}, status: {}, translationurl: {}, progressfractiondigit: {}, triggerreset: {} }, [], [], !0);
3873
3869
  export {
3874
- Jn as G
3870
+ Qn as G
3875
3871
  };