@everymatrix/general-icon-progress-bar 1.67.3 → 1.69.0

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 rt(e) {
4
4
  return e();
5
5
  }
6
- function Ue() {
6
+ function Ge() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function K(e) {
10
- e.forEach(tt);
9
+ function ee(e) {
10
+ e.forEach(rt);
11
11
  }
12
- function Ie(e) {
12
+ function Le(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function rt(e, t) {
15
+ function nt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function Ct(e) {
18
+ function Mt(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function nt(e, ...t) {
21
+ function it(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
@@ -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 $t(e, t, r) {
31
+ e.$$.on_destroy.push(it(t, r));
32
32
  }
33
- function re(e, t) {
33
+ function ne(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
36
  function Rt(e, t, r) {
37
- const n = $t(e);
37
+ const n = Ut(e);
38
38
  if (!n.getElementById(t)) {
39
- const i = Z("style");
40
- i.id = t, i.textContent = r, Ut(n, i);
39
+ const i = Q("style");
40
+ i.id = t, i.textContent = r, Gt(n, i);
41
41
  }
42
42
  }
43
- function $t(e) {
43
+ function Ut(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,36 +50,36 @@ function $t(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function Ut(e, t) {
54
- return re(
53
+ function Gt(e, t) {
54
+ return ne(
55
55
  /** @type {Document} */
56
56
  e.head || e,
57
57
  t
58
58
  ), t.sheet;
59
59
  }
60
- function it(e, t, r) {
60
+ function st(e, t, r) {
61
61
  e.insertBefore(t, r || null);
62
62
  }
63
- function we(e) {
63
+ function Ce(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
- function Z(e) {
66
+ function Q(e) {
67
67
  return document.createElement(e);
68
68
  }
69
- function Gt(e) {
69
+ function Dt(e) {
70
70
  return document.createTextNode(e);
71
71
  }
72
- function L(e, t, r) {
72
+ function C(e, t, r) {
73
73
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
74
74
  }
75
- function Dt(e) {
75
+ function Ft(e) {
76
76
  return Array.from(e.childNodes);
77
77
  }
78
- function Ft(e, t) {
78
+ function jt(e, t) {
79
79
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
80
80
  t);
81
81
  }
82
- function jt(e) {
82
+ function Vt(e) {
83
83
  const t = {};
84
84
  return e.childNodes.forEach(
85
85
  /** @param {Element} node */
@@ -88,79 +88,79 @@ function jt(e) {
88
88
  }
89
89
  ), t;
90
90
  }
91
- let Le;
92
- function Q(e) {
93
- Le = e;
91
+ let Me;
92
+ function J(e) {
93
+ Me = e;
94
94
  }
95
- const U = [], J = [];
96
- let G = [];
97
- const Ge = [], Vt = /* @__PURE__ */ Promise.resolve();
98
- let ye = !1;
99
- function kt() {
100
- ye || (ye = !0, Vt.then(S));
95
+ const G = [], q = [];
96
+ let D = [];
97
+ const De = [], kt = /* @__PURE__ */ Promise.resolve();
98
+ let ve = !1;
99
+ function Xt() {
100
+ ve || (ve = !0, kt.then(A));
101
101
  }
102
- function _e(e) {
103
- G.push(e);
102
+ function He(e) {
103
+ D.push(e);
104
104
  }
105
- const pe = /* @__PURE__ */ new Set();
105
+ const be = /* @__PURE__ */ new Set();
106
106
  let R = 0;
107
- function S() {
107
+ function A() {
108
108
  if (R !== 0)
109
109
  return;
110
- const e = Le;
110
+ const e = Me;
111
111
  do {
112
112
  try {
113
- for (; R < U.length; ) {
114
- const t = U[R];
115
- R++, Q(t), Xt(t.$$);
113
+ for (; R < G.length; ) {
114
+ const t = G[R];
115
+ R++, J(t), zt(t.$$);
116
116
  }
117
117
  } catch (t) {
118
- throw U.length = 0, R = 0, t;
118
+ throw G.length = 0, R = 0, t;
119
119
  }
120
- for (Q(null), U.length = 0, R = 0; J.length; )
121
- J.pop()();
122
- for (let t = 0; t < G.length; t += 1) {
123
- const r = G[t];
124
- pe.has(r) || (pe.add(r), r());
120
+ for (J(null), G.length = 0, R = 0; q.length; )
121
+ q.pop()();
122
+ for (let t = 0; t < D.length; t += 1) {
123
+ const r = D[t];
124
+ be.has(r) || (be.add(r), r());
125
125
  }
126
- G.length = 0;
127
- } while (U.length);
128
- for (; Ge.length; )
129
- Ge.pop()();
130
- ye = !1, pe.clear(), Q(e);
126
+ D.length = 0;
127
+ } while (G.length);
128
+ for (; De.length; )
129
+ De.pop()();
130
+ ve = !1, be.clear(), J(e);
131
131
  }
132
- function Xt(e) {
132
+ function zt(e) {
133
133
  if (e.fragment !== null) {
134
- e.update(), K(e.before_update);
134
+ e.update(), ee(e.before_update);
135
135
  const t = e.dirty;
136
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(_e);
136
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(He);
137
137
  }
138
138
  }
139
- function zt(e) {
139
+ function Wt(e) {
140
140
  const t = [], r = [];
141
- G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
141
+ D.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), D = t;
142
142
  }
143
- const Wt = /* @__PURE__ */ new Set();
144
- function Zt(e, t) {
145
- e && e.i && (Wt.delete(e), e.i(t));
143
+ const Zt = /* @__PURE__ */ new Set();
144
+ function Qt(e, t) {
145
+ e && e.i && (Zt.delete(e), e.i(t));
146
146
  }
147
- function Qt(e, t, r) {
147
+ function Jt(e, t, r) {
148
148
  const { fragment: n, after_update: i } = e.$$;
149
- n && n.m(t, r), _e(() => {
150
- const s = e.$$.on_mount.map(tt).filter(Ie);
151
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : K(s), e.$$.on_mount = [];
152
- }), i.forEach(_e);
149
+ n && n.m(t, r), He(() => {
150
+ const s = e.$$.on_mount.map(rt).filter(Le);
151
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ee(s), e.$$.on_mount = [];
152
+ }), i.forEach(He);
153
153
  }
154
- function Jt(e, t) {
154
+ function qt(e, t) {
155
155
  const r = e.$$;
156
- 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 = []);
156
+ r.fragment !== null && (Wt(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
157
157
  }
158
- function qt(e, t) {
159
- e.$$.dirty[0] === -1 && (U.push(e), kt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
158
+ function Yt(e, t) {
159
+ e.$$.dirty[0] === -1 && (G.push(e), Xt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
160
160
  }
161
- function Yt(e, t, r, n, i, s, a = null, o = [-1]) {
162
- const l = Le;
163
- Q(e);
161
+ function Kt(e, t, r, n, i, s, a = null, o = [-1]) {
162
+ const l = Me;
163
+ J(e);
164
164
  const u = e.$$ = {
165
165
  fragment: null,
166
166
  ctx: [],
@@ -168,7 +168,7 @@ function Yt(e, t, r, n, i, s, a = null, o = [-1]) {
168
168
  props: s,
169
169
  update: T,
170
170
  not_equal: i,
171
- bound: Ue(),
171
+ bound: Ge(),
172
172
  // lifecycle
173
173
  on_mount: [],
174
174
  on_destroy: [],
@@ -177,28 +177,28 @@ function Yt(e, t, r, n, i, s, a = null, o = [-1]) {
177
177
  after_update: [],
178
178
  context: new Map(t.context || (l ? l.$$.context : [])),
179
179
  // everything else
180
- callbacks: Ue(),
180
+ callbacks: Ge(),
181
181
  dirty: o,
182
182
  skip_bound: !1,
183
183
  root: t.target || l.$$.root
184
184
  };
185
185
  a && a(u.root);
186
186
  let h = !1;
187
- if (u.ctx = r(e, t.props || {}, (c, f, ...x) => {
188
- const g = x.length ? x[0] : f;
189
- 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;
190
- }), u.update(), h = !0, K(u.before_update), u.fragment = n(u.ctx), t.target) {
187
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...g) => {
188
+ const d = g.length ? g[0] : f;
189
+ return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && Yt(e, c)), f;
190
+ }) : [], u.update(), h = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
191
191
  if (t.hydrate) {
192
- const c = Dt(t.target);
193
- u.fragment && u.fragment.l(c), c.forEach(we);
192
+ const c = Ft(t.target);
193
+ u.fragment && u.fragment.l(c), c.forEach(Ce);
194
194
  } else
195
195
  u.fragment && u.fragment.c();
196
- t.intro && Zt(e.$$.fragment), Qt(e, t.target, t.anchor), S();
196
+ t.intro && Qt(e.$$.fragment), Jt(e, t.target, t.anchor), A();
197
197
  }
198
- Q(l);
198
+ J(l);
199
199
  }
200
- let st;
201
- typeof HTMLElement == "function" && (st = class extends HTMLElement {
200
+ let ot;
201
+ typeof HTMLElement == "function" && (ot = class extends HTMLElement {
202
202
  /** The Svelte component constructor */
203
203
  $$ctor;
204
204
  /** Slots */
@@ -240,29 +240,29 @@ typeof HTMLElement == "function" && (st = class extends HTMLElement {
240
240
  let s;
241
241
  return {
242
242
  c: function() {
243
- s = Z("slot"), i !== "default" && L(s, "name", i);
243
+ s = Q("slot"), i !== "default" && C(s, "name", i);
244
244
  },
245
245
  /**
246
246
  * @param {HTMLElement} target
247
247
  * @param {HTMLElement} [anchor]
248
248
  */
249
249
  m: function(l, u) {
250
- it(l, s, u);
250
+ st(l, s, u);
251
251
  },
252
252
  d: function(l) {
253
- l && we(s);
253
+ l && Ce(s);
254
254
  }
255
255
  };
256
256
  };
257
257
  };
258
258
  if (await Promise.resolve(), !this.$$cn || this.$$c)
259
259
  return;
260
- const t = {}, r = jt(this);
260
+ const t = {}, r = Vt(this);
261
261
  for (const i of this.$$s)
262
262
  i in r && (t[i] = [e(i)]);
263
263
  for (const i of this.attributes) {
264
264
  const s = this.$$g_p(i.name);
265
- s in this.$$d || (this.$$d[s] = ne(s, i.value, this.$$p_d, "toProp"));
265
+ s in this.$$d || (this.$$d[s] = ie(s, i.value, this.$$p_d, "toProp"));
266
266
  }
267
267
  for (const i in this.$$p_d)
268
268
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -280,7 +280,7 @@ typeof HTMLElement == "function" && (st = class extends HTMLElement {
280
280
  this.$$r = !0;
281
281
  for (const i in this.$$p_d)
282
282
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
283
- const s = ne(
283
+ const s = ie(
284
284
  i,
285
285
  this.$$d[i],
286
286
  this.$$p_d,
@@ -302,7 +302,7 @@ typeof HTMLElement == "function" && (st = class extends HTMLElement {
302
302
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
303
303
  // and setting attributes through setAttribute etc, this is helpful
304
304
  attributeChangedCallback(e, t, r) {
305
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ne(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
305
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ie(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
306
306
  }
307
307
  disconnectedCallback() {
308
308
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -315,7 +315,7 @@ typeof HTMLElement == "function" && (st = class extends HTMLElement {
315
315
  ) || e;
316
316
  }
317
317
  });
318
- function ne(e, t, r, n) {
318
+ function ie(e, t, r, n) {
319
319
  const i = r[e]?.type;
320
320
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
321
321
  return t;
@@ -344,8 +344,8 @@ function ne(e, t, r, n) {
344
344
  return t;
345
345
  }
346
346
  }
347
- function Kt(e, t, r, n, i, s) {
348
- let a = class extends st {
347
+ function er(e, t, r, n, i, s) {
348
+ let a = class extends ot {
349
349
  constructor() {
350
350
  super(e, r, i), this.$$p_d = t;
351
351
  }
@@ -361,7 +361,7 @@ function Kt(e, t, r, n, i, s) {
361
361
  return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
362
362
  },
363
363
  set(l) {
364
- l = ne(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
364
+ l = ie(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
365
365
  }
366
366
  });
367
367
  }), n.forEach((o) => {
@@ -373,7 +373,7 @@ function Kt(e, t, r, n, i, s) {
373
373
  }), e.element = /** @type {any} */
374
374
  a, a;
375
375
  }
376
- class er {
376
+ class tr {
377
377
  /**
378
378
  * ### PRIVATE API
379
379
  *
@@ -392,7 +392,7 @@ class er {
392
392
  $$set = void 0;
393
393
  /** @returns {void} */
394
394
  $destroy() {
395
- Jt(this, 1), this.$destroy = T;
395
+ qt(this, 1), this.$destroy = T;
396
396
  }
397
397
  /**
398
398
  * @template {Extract<keyof Events, string>} K
@@ -401,7 +401,7 @@ class er {
401
401
  * @returns {() => void}
402
402
  */
403
403
  $on(t, r) {
404
- if (!Ie(r))
404
+ if (!Le(r))
405
405
  return T;
406
406
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
407
407
  return n.push(r), () => {
@@ -414,29 +414,29 @@ class er {
414
414
  * @returns {void}
415
415
  */
416
416
  $set(t) {
417
- this.$$set && !Ct(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
417
+ this.$$set && !Mt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
418
418
  }
419
419
  }
420
- const tr = "4";
421
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(tr);
422
- const $ = [];
423
- function rr(e, t) {
420
+ const rr = "4";
421
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(rr);
422
+ const U = [];
423
+ function nr(e, t) {
424
424
  return {
425
- subscribe: ue(e, t).subscribe
425
+ subscribe: le(e, t).subscribe
426
426
  };
427
427
  }
428
- function ue(e, t = T) {
428
+ function le(e, t = T) {
429
429
  let r;
430
430
  const n = /* @__PURE__ */ new Set();
431
431
  function i(o) {
432
- if (rt(e, o) && (e = o, r)) {
433
- const l = !$.length;
432
+ if (nt(e, o) && (e = o, r)) {
433
+ const l = !U.length;
434
434
  for (const u of n)
435
- u[1](), $.push(u, e);
435
+ u[1](), U.push(u, e);
436
436
  if (l) {
437
- for (let u = 0; u < $.length; u += 2)
438
- $[u][0]($[u + 1]);
439
- $.length = 0;
437
+ for (let u = 0; u < U.length; u += 2)
438
+ U[u][0](U[u + 1]);
439
+ U.length = 0;
440
440
  }
441
441
  }
442
442
  }
@@ -451,12 +451,12 @@ function ue(e, t = T) {
451
451
  }
452
452
  return { set: i, update: s, subscribe: a };
453
453
  }
454
- function k(e, t, r) {
454
+ function X(e, t, r) {
455
455
  const n = !Array.isArray(e), i = n ? [e] : e;
456
456
  if (!i.every(Boolean))
457
457
  throw new Error("derived() expects stores as input, got a falsy value");
458
458
  const s = t.length < 2;
459
- return rr(r, (a, o) => {
459
+ return nr(r, (a, o) => {
460
460
  let l = !1;
461
461
  const u = [];
462
462
  let h = 0, c = T;
@@ -464,11 +464,11 @@ function k(e, t, r) {
464
464
  if (h)
465
465
  return;
466
466
  c();
467
- const g = t(n ? u[0] : u, a, o);
468
- s ? a(g) : c = Ie(g) ? g : T;
469
- }, x = i.map(
470
- (g, y) => nt(
471
- g,
467
+ const d = t(n ? u[0] : u, a, o);
468
+ s ? a(d) : c = Le(d) ? d : T;
469
+ }, g = i.map(
470
+ (d, y) => it(
471
+ d,
472
472
  (H) => {
473
473
  u[y] = H, h &= ~(1 << y), l && f();
474
474
  },
@@ -478,126 +478,112 @@ function k(e, t, r) {
478
478
  )
479
479
  );
480
480
  return l = !0, f(), function() {
481
- K(x), c(), l = !1;
481
+ ee(g), c(), l = !1;
482
482
  };
483
483
  });
484
484
  }
485
- function nr(e) {
486
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
485
+ function ir(e) {
486
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
487
487
  }
488
- var ir = function(t) {
489
- return sr(t) && !or(t);
488
+ var sr = function(t) {
489
+ return or(t) && !ar(t);
490
490
  };
491
- function sr(e) {
491
+ function or(e) {
492
492
  return !!e && typeof e == "object";
493
493
  }
494
- function or(e) {
494
+ function ar(e) {
495
495
  var t = Object.prototype.toString.call(e);
496
- return t === "[object RegExp]" || t === "[object Date]" || hr(e);
497
- }
498
- var ar = typeof Symbol == "function" && Symbol.for, ur = ar ? Symbol.for("react.element") : 60103;
499
- function hr(e) {
500
- return e.$$typeof === ur;
496
+ return t === "[object RegExp]" || t === "[object Date]" || lr(e);
501
497
  }
498
+ var ur = typeof Symbol == "function" && Symbol.for, hr = ur ? Symbol.for("react.element") : 60103;
502
499
  function lr(e) {
500
+ return e.$$typeof === hr;
501
+ }
502
+ function fr(e) {
503
503
  return Array.isArray(e) ? [] : {};
504
504
  }
505
- function q(e, t) {
506
- return t.clone !== !1 && t.isMergeableObject(e) ? D(lr(e), e, t) : e;
505
+ function Y(e, t) {
506
+ return t.clone !== !1 && t.isMergeableObject(e) ? F(fr(e), e, t) : e;
507
507
  }
508
- function fr(e, t, r) {
508
+ function cr(e, t, r) {
509
509
  return e.concat(t).map(function(n) {
510
- return q(n, r);
510
+ return Y(n, r);
511
511
  });
512
512
  }
513
- function cr(e, t) {
513
+ function pr(e, t) {
514
514
  if (!t.customMerge)
515
- return D;
515
+ return F;
516
516
  var r = t.customMerge(e);
517
- return typeof r == "function" ? r : D;
517
+ return typeof r == "function" ? r : F;
518
518
  }
519
- function pr(e) {
519
+ function mr(e) {
520
520
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
521
521
  return Object.propertyIsEnumerable.call(e, t);
522
522
  }) : [];
523
523
  }
524
- function De(e) {
525
- return Object.keys(e).concat(pr(e));
524
+ function Fe(e) {
525
+ return Object.keys(e).concat(mr(e));
526
526
  }
527
- function ot(e, t) {
527
+ function at(e, t) {
528
528
  try {
529
529
  return t in e;
530
530
  } catch {
531
531
  return !1;
532
532
  }
533
533
  }
534
- function mr(e, t) {
535
- return ot(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
534
+ function br(e, t) {
535
+ return at(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
536
536
  }
537
537
  function dr(e, t, r) {
538
538
  var n = {};
539
- return r.isMergeableObject(e) && De(e).forEach(function(i) {
540
- n[i] = q(e[i], r);
541
- }), De(t).forEach(function(i) {
542
- 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
+ return r.isMergeableObject(e) && Fe(e).forEach(function(i) {
540
+ n[i] = Y(e[i], r);
541
+ }), Fe(t).forEach(function(i) {
542
+ br(e, i) || (at(e, i) && r.isMergeableObject(t[i]) ? n[i] = pr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
543
543
  }), n;
544
544
  }
545
- function D(e, t, r) {
546
- r = r || {}, r.arrayMerge = r.arrayMerge || fr, r.isMergeableObject = r.isMergeableObject || ir, r.cloneUnlessOtherwiseSpecified = q;
545
+ function F(e, t, r) {
546
+ r = r || {}, r.arrayMerge = r.arrayMerge || cr, r.isMergeableObject = r.isMergeableObject || sr, r.cloneUnlessOtherwiseSpecified = Y;
547
547
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
548
- return s ? n ? r.arrayMerge(e, t, r) : dr(e, t, r) : q(t, r);
548
+ return s ? n ? r.arrayMerge(e, t, r) : dr(e, t, r) : Y(t, r);
549
549
  }
550
- D.all = function(t, r) {
550
+ F.all = function(t, r) {
551
551
  if (!Array.isArray(t))
552
552
  throw new Error("first argument should be an array");
553
553
  return t.reduce(function(n, i) {
554
- return D(n, i, r);
554
+ return F(n, i, r);
555
555
  }, {});
556
556
  };
557
- var br = D, gr = br;
558
- const xr = /* @__PURE__ */ nr(gr);
559
- /*! *****************************************************************************
560
- Copyright (c) Microsoft Corporation.
561
-
562
- Permission to use, copy, modify, and/or distribute this software for any
563
- purpose with or without fee is hereby granted.
564
-
565
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
566
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
567
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
568
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
569
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
570
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
571
- PERFORMANCE OF THIS SOFTWARE.
572
- ***************************************************************************** */
573
- var ve = function(e, t) {
574
- return ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
557
+ var gr = F, xr = gr;
558
+ const Er = /* @__PURE__ */ ir(xr);
559
+ var Te = function(e, t) {
560
+ return Te = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
575
561
  r.__proto__ = n;
576
562
  } || function(r, n) {
577
563
  for (var i in n)
578
564
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
579
- }, ve(e, t);
565
+ }, Te(e, t);
580
566
  };
581
- function he(e, t) {
567
+ function fe(e, t) {
582
568
  if (typeof t != "function" && t !== null)
583
569
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
584
- ve(e, t);
570
+ Te(e, t);
585
571
  function r() {
586
572
  this.constructor = e;
587
573
  }
588
574
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
589
575
  }
590
- var b = function() {
591
- return b = Object.assign || function(t) {
576
+ var P = function() {
577
+ return P = Object.assign || function(t) {
592
578
  for (var r, n = 1, i = arguments.length; n < i; n++) {
593
579
  r = arguments[n];
594
580
  for (var s in r)
595
581
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
596
582
  }
597
583
  return t;
598
- }, b.apply(this, arguments);
584
+ }, P.apply(this, arguments);
599
585
  };
600
- function Er(e, t) {
586
+ function yr(e, t) {
601
587
  var r = {};
602
588
  for (var n in e)
603
589
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -606,46 +592,43 @@ function Er(e, t) {
606
592
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
607
593
  return r;
608
594
  }
609
- function me(e, t, r) {
610
- if (arguments.length === 2)
595
+ function de(e, t, r) {
596
+ if (r || arguments.length === 2)
611
597
  for (var n = 0, i = t.length, s; n < i; n++)
612
598
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
613
- return e.concat(s || t);
599
+ return e.concat(s || Array.prototype.slice.call(t));
614
600
  }
615
- function de(e, t) {
616
- var r = t && t.cache ? t.cache : Ar, n = t && t.serializer ? t.serializer : Tr, i = t && t.strategy ? t.strategy : _r;
601
+ function ge(e, t) {
602
+ var r = t && t.cache ? t.cache : Ar, n = t && t.serializer ? t.serializer : Br, i = t && t.strategy ? t.strategy : Hr;
617
603
  return i(e, {
618
604
  cache: r,
619
605
  serializer: n
620
606
  });
621
607
  }
622
- function yr(e) {
608
+ function _r(e) {
623
609
  return e == null || typeof e == "number" || typeof e == "boolean";
624
610
  }
625
- function at(e, t, r, n) {
626
- var i = yr(n) ? n : r(n), s = t.get(i);
611
+ function vr(e, t, r, n) {
612
+ var i = _r(n) ? n : r(n), s = t.get(i);
627
613
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
628
614
  }
629
615
  function ut(e, t, r) {
630
616
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
631
617
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
632
618
  }
633
- function Ce(e, t, r, n, i) {
619
+ function ht(e, t, r, n, i) {
634
620
  return r.bind(t, e, n, i);
635
621
  }
636
- function _r(e, t) {
637
- var r = e.length === 1 ? at : ut;
638
- return Ce(e, this, r, t.cache.create(), t.serializer);
639
- }
640
- function vr(e, t) {
641
- return Ce(e, this, ut, t.cache.create(), t.serializer);
642
- }
643
622
  function Hr(e, t) {
644
- return Ce(e, this, at, t.cache.create(), t.serializer);
623
+ var r = e.length === 1 ? vr : ut;
624
+ return ht(e, this, r, t.cache.create(), t.serializer);
625
+ }
626
+ function Tr(e, t) {
627
+ return ht(e, this, ut, t.cache.create(), t.serializer);
645
628
  }
646
- var Tr = function() {
629
+ var Br = function() {
647
630
  return JSON.stringify(arguments);
648
- }, Br = (
631
+ }, Sr = (
649
632
  /** @class */
650
633
  function() {
651
634
  function e() {
@@ -659,60 +642,69 @@ var Tr = function() {
659
642
  }()
660
643
  ), Ar = {
661
644
  create: function() {
662
- return new Br();
645
+ return new Sr();
663
646
  }
664
- }, be = {
665
- variadic: vr,
666
- monadic: Hr
667
- }, m;
647
+ }, xe = {
648
+ variadic: Tr
649
+ }, ae = function() {
650
+ return ae = Object.assign || function(t) {
651
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
652
+ r = arguments[n];
653
+ for (var s in r)
654
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
655
+ }
656
+ return t;
657
+ }, ae.apply(this, arguments);
658
+ };
659
+ var m;
668
660
  (function(e) {
669
661
  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";
670
662
  })(m || (m = {}));
671
- var E;
663
+ var x;
672
664
  (function(e) {
673
665
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
674
- })(E || (E = {}));
675
- var F;
666
+ })(x || (x = {}));
667
+ var j;
676
668
  (function(e) {
677
669
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
678
- })(F || (F = {}));
679
- function Fe(e) {
680
- return e.type === E.literal;
681
- }
682
- function Sr(e) {
683
- return e.type === E.argument;
670
+ })(j || (j = {}));
671
+ function je(e) {
672
+ return e.type === x.literal;
684
673
  }
685
- function ht(e) {
686
- return e.type === E.number;
674
+ function Pr(e) {
675
+ return e.type === x.argument;
687
676
  }
688
677
  function lt(e) {
689
- return e.type === E.date;
678
+ return e.type === x.number;
690
679
  }
691
680
  function ft(e) {
692
- return e.type === E.time;
681
+ return e.type === x.date;
693
682
  }
694
683
  function ct(e) {
695
- return e.type === E.select;
684
+ return e.type === x.time;
696
685
  }
697
686
  function pt(e) {
698
- return e.type === E.plural;
699
- }
700
- function Pr(e) {
701
- return e.type === E.pound;
687
+ return e.type === x.select;
702
688
  }
703
689
  function mt(e) {
704
- return e.type === E.tag;
690
+ return e.type === x.plural;
691
+ }
692
+ function Or(e) {
693
+ return e.type === x.pound;
694
+ }
695
+ function bt(e) {
696
+ return e.type === x.tag;
705
697
  }
706
698
  function dt(e) {
707
- return !!(e && typeof e == "object" && e.type === F.number);
699
+ return !!(e && typeof e == "object" && e.type === j.number);
708
700
  }
709
- function He(e) {
710
- return !!(e && typeof e == "object" && e.type === F.dateTime);
701
+ function Be(e) {
702
+ return !!(e && typeof e == "object" && e.type === j.dateTime);
711
703
  }
712
- 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;
713
- function Nr(e) {
704
+ var gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Nr = /(?:[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;
705
+ function wr(e) {
714
706
  var t = {};
715
- return e.replace(Or, function(r) {
707
+ return e.replace(Nr, function(r) {
716
708
  var n = r.length;
717
709
  switch (r[0]) {
718
710
  case "G":
@@ -801,8 +793,18 @@ function Nr(e) {
801
793
  return "";
802
794
  }), t;
803
795
  }
796
+ var E = function() {
797
+ return E = Object.assign || function(t) {
798
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
799
+ r = arguments[n];
800
+ for (var s in r)
801
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
802
+ }
803
+ return t;
804
+ }, E.apply(this, arguments);
805
+ };
804
806
  var Ir = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
805
- function wr(e) {
807
+ function Lr(e) {
806
808
  if (e.length === 0)
807
809
  throw new Error("Number skeleton cannot be empty");
808
810
  for (var t = e.split(Ir).filter(function(f) {
@@ -820,17 +822,17 @@ function wr(e) {
820
822
  }
821
823
  return r;
822
824
  }
823
- function Lr(e) {
825
+ function Cr(e) {
824
826
  return e.replace(/^(.*?)-/, "");
825
827
  }
826
- var je = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gt = /^(@+)?(\+|#+)?[rs]?$/g, Cr = /(\*)(0+)|(#+)(0+)|(0+)/g, xt = /^(0+)$/;
827
- function Ve(e) {
828
+ var Ve = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xt = /^(@+)?(\+|#+)?[rs]?$/g, Mr = /(\*)(0+)|(#+)(0+)|(0+)/g, Et = /^(0+)$/;
829
+ function ke(e) {
828
830
  var t = {};
829
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gt, function(r, n, i) {
831
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(xt, function(r, n, i) {
830
832
  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)), "";
831
833
  }), t;
832
834
  }
833
- function Et(e) {
835
+ function yt(e) {
834
836
  switch (e) {
835
837
  case "sign-auto":
836
838
  return {
@@ -870,7 +872,7 @@ function Et(e) {
870
872
  };
871
873
  }
872
874
  }
873
- function Mr(e) {
875
+ function $r(e) {
874
876
  var t;
875
877
  if (e[0] === "E" && e[1] === "E" ? (t = {
876
878
  notation: "engineering"
@@ -878,14 +880,14 @@ function Mr(e) {
878
880
  notation: "scientific"
879
881
  }, e = e.slice(1)), t) {
880
882
  var r = e.slice(0, 2);
881
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !xt.test(e))
883
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Et.test(e))
882
884
  throw new Error("Malformed concise eng/scientific notation");
883
885
  t.minimumIntegerDigits = e.length;
884
886
  }
885
887
  return t;
886
888
  }
887
- function ke(e) {
888
- var t = {}, r = Et(e);
889
+ function Xe(e) {
890
+ var t = {}, r = yt(e);
889
891
  return r || t;
890
892
  }
891
893
  function Rr(e) {
@@ -912,7 +914,7 @@ function Rr(e) {
912
914
  continue;
913
915
  case "measure-unit":
914
916
  case "unit":
915
- t.style = "unit", t.unit = Lr(i.options[0]);
917
+ t.style = "unit", t.unit = Cr(i.options[0]);
916
918
  continue;
917
919
  case "compact-short":
918
920
  case "K":
@@ -923,13 +925,13 @@ function Rr(e) {
923
925
  t.notation = "compact", t.compactDisplay = "long";
924
926
  continue;
925
927
  case "scientific":
926
- t = b(b(b({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
927
- return b(b({}, l), ke(u));
928
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
929
+ return E(E({}, l), Xe(u));
928
930
  }, {}));
929
931
  continue;
930
932
  case "engineering":
931
- t = b(b(b({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
932
- return b(b({}, l), ke(u));
933
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
934
+ return E(E({}, l), Xe(u));
933
935
  }, {}));
934
936
  continue;
935
937
  case "notation-simple":
@@ -974,45 +976,45 @@ function Rr(e) {
974
976
  case "integer-width":
975
977
  if (i.options.length > 1)
976
978
  throw new RangeError("integer-width stems only accept a single optional option");
977
- i.options[0].replace(Cr, function(l, u, h, c, f, x) {
979
+ i.options[0].replace(Mr, function(l, u, h, c, f, g) {
978
980
  if (u)
979
981
  t.minimumIntegerDigits = h.length;
980
982
  else {
981
983
  if (c && f)
982
984
  throw new Error("We currently do not support maximum integer digits");
983
- if (x)
985
+ if (g)
984
986
  throw new Error("We currently do not support exact integer digits");
985
987
  }
986
988
  return "";
987
989
  });
988
990
  continue;
989
991
  }
990
- if (xt.test(i.stem)) {
992
+ if (Et.test(i.stem)) {
991
993
  t.minimumIntegerDigits = i.stem.length;
992
994
  continue;
993
995
  }
994
- if (je.test(i.stem)) {
996
+ if (Ve.test(i.stem)) {
995
997
  if (i.options.length > 1)
996
998
  throw new RangeError("Fraction-precision stems only accept a single optional option");
997
- i.stem.replace(je, function(l, u, h, c, f, x) {
998
- 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), "";
999
+ i.stem.replace(Ve, function(l, u, h, c, f, g) {
1000
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && g ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
999
1001
  });
1000
1002
  var s = i.options[0];
1001
- s === "w" ? t = b(b({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = b(b({}, t), Ve(s)));
1003
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), ke(s)));
1002
1004
  continue;
1003
1005
  }
1004
- if (gt.test(i.stem)) {
1005
- t = b(b({}, t), Ve(i.stem));
1006
+ if (xt.test(i.stem)) {
1007
+ t = E(E({}, t), ke(i.stem));
1006
1008
  continue;
1007
1009
  }
1008
- var a = Et(i.stem);
1009
- a && (t = b(b({}, t), a));
1010
- var o = Mr(i.stem);
1011
- o && (t = b(b({}, t), o));
1010
+ var a = yt(i.stem);
1011
+ a && (t = E(E({}, t), a));
1012
+ var o = $r(i.stem);
1013
+ o && (t = E(E({}, t), o));
1012
1014
  }
1013
1015
  return t;
1014
1016
  }
1015
- var te = {
1017
+ var re = {
1016
1018
  "001": [
1017
1019
  "H",
1018
1020
  "h"
@@ -2427,13 +2429,13 @@ var te = {
2427
2429
  "h"
2428
2430
  ]
2429
2431
  };
2430
- function $r(e, t) {
2432
+ function Ur(e, t) {
2431
2433
  for (var r = "", n = 0; n < e.length; n++) {
2432
2434
  var i = e.charAt(n);
2433
2435
  if (i === "j") {
2434
2436
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2435
2437
  s++, n++;
2436
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Ur(t);
2438
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Gr(t);
2437
2439
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2438
2440
  r += l;
2439
2441
  for (; a-- > 0; )
@@ -2443,7 +2445,7 @@ function $r(e, t) {
2443
2445
  }
2444
2446
  return r;
2445
2447
  }
2446
- function Ur(e) {
2448
+ function Gr(e) {
2447
2449
  var t = e.hourCycle;
2448
2450
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2449
2451
  e.hourCycles && // @ts-ignore
@@ -2462,23 +2464,23 @@ function Ur(e) {
2462
2464
  }
2463
2465
  var r = e.language, n;
2464
2466
  r !== "root" && (n = e.maximize().region);
2465
- var i = te[n || ""] || te[r || ""] || te["".concat(r, "-001")] || te["001"];
2467
+ var i = re[n || ""] || re[r || ""] || re["".concat(r, "-001")] || re["001"];
2466
2468
  return i[0];
2467
2469
  }
2468
- var ge, Gr = new RegExp("^".concat(bt.source, "*")), Dr = new RegExp("".concat(bt.source, "*$"));
2469
- function d(e, t) {
2470
+ var Ee, Dr = new RegExp("^".concat(gt.source, "*")), Fr = new RegExp("".concat(gt.source, "*$"));
2471
+ function b(e, t) {
2470
2472
  return { start: e, end: t };
2471
2473
  }
2472
- 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) {
2474
+ var jr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vr = !!String.fromCodePoint, kr = !!Object.fromEntries, Xr = !!String.prototype.codePointAt, zr = !!String.prototype.trimStart, Wr = !!String.prototype.trimEnd, Zr = !!Number.isSafeInteger, Qr = Zr ? Number.isSafeInteger : function(e) {
2473
2475
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2474
- }, Te = !0;
2476
+ }, Se = !0;
2475
2477
  try {
2476
- var Qr = _t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2477
- Te = ((ge = Qr.exec("a")) === null || ge === void 0 ? void 0 : ge[0]) === "a";
2478
+ var Jr = vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2479
+ Se = ((Ee = Jr.exec("a")) === null || Ee === void 0 ? void 0 : Ee[0]) === "a";
2478
2480
  } catch {
2479
- Te = !1;
2481
+ Se = !1;
2480
2482
  }
2481
- var Xe = Fr ? (
2483
+ var ze = jr ? (
2482
2484
  // Native
2483
2485
  function(t, r, n) {
2484
2486
  return t.startsWith(r, n);
@@ -2488,7 +2490,7 @@ var Xe = Fr ? (
2488
2490
  function(t, r, n) {
2489
2491
  return t.slice(n, n + r.length) === r;
2490
2492
  }
2491
- ), Be = jr ? String.fromCodePoint : (
2493
+ ), Ae = Vr ? String.fromCodePoint : (
2492
2494
  // IE11
2493
2495
  function() {
2494
2496
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2500,9 +2502,9 @@ var Xe = Fr ? (
2500
2502
  }
2501
2503
  return n;
2502
2504
  }
2503
- ), ze = (
2505
+ ), We = (
2504
2506
  // native
2505
- Vr ? Object.fromEntries : (
2507
+ kr ? Object.fromEntries : (
2506
2508
  // Ponyfill
2507
2509
  function(t) {
2508
2510
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2512,7 +2514,7 @@ var Xe = Fr ? (
2512
2514
  return r;
2513
2515
  }
2514
2516
  )
2515
- ), yt = kr ? (
2517
+ ), _t = Xr ? (
2516
2518
  // Native
2517
2519
  function(t, r) {
2518
2520
  return t.codePointAt(r);
@@ -2526,7 +2528,7 @@ var Xe = Fr ? (
2526
2528
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2527
2529
  }
2528
2530
  }
2529
- ), Jr = Xr ? (
2531
+ ), qr = zr ? (
2530
2532
  // Native
2531
2533
  function(t) {
2532
2534
  return t.trimStart();
@@ -2534,9 +2536,9 @@ var Xe = Fr ? (
2534
2536
  ) : (
2535
2537
  // Ponyfill
2536
2538
  function(t) {
2537
- return t.replace(Gr, "");
2539
+ return t.replace(Dr, "");
2538
2540
  }
2539
- ), qr = zr ? (
2541
+ ), Yr = Wr ? (
2540
2542
  // Native
2541
2543
  function(t) {
2542
2544
  return t.trimEnd();
@@ -2544,32 +2546,32 @@ var Xe = Fr ? (
2544
2546
  ) : (
2545
2547
  // Ponyfill
2546
2548
  function(t) {
2547
- return t.replace(Dr, "");
2549
+ return t.replace(Fr, "");
2548
2550
  }
2549
2551
  );
2550
- function _t(e, t) {
2552
+ function vt(e, t) {
2551
2553
  return new RegExp(e, t);
2552
2554
  }
2553
- var Ae;
2554
- if (Te) {
2555
- var We = _t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2556
- Ae = function(t, r) {
2555
+ var Pe;
2556
+ if (Se) {
2557
+ var Ze = vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2558
+ Pe = function(t, r) {
2557
2559
  var n;
2558
- We.lastIndex = r;
2559
- var i = We.exec(t);
2560
+ Ze.lastIndex = r;
2561
+ var i = Ze.exec(t);
2560
2562
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2561
2563
  };
2562
2564
  } else
2563
- Ae = function(t, r) {
2565
+ Pe = function(t, r) {
2564
2566
  for (var n = []; ; ) {
2565
- var i = yt(t, r);
2566
- if (i === void 0 || vt(i) || tn(i))
2567
+ var i = _t(t, r);
2568
+ if (i === void 0 || Ht(i) || rn(i))
2567
2569
  break;
2568
2570
  n.push(i), r += i >= 65536 ? 2 : 1;
2569
2571
  }
2570
- return Be.apply(void 0, n);
2572
+ return Ae.apply(void 0, n);
2571
2573
  };
2572
- var Yr = (
2574
+ var Kr = (
2573
2575
  /** @class */
2574
2576
  function() {
2575
2577
  function e(t, r) {
@@ -2593,14 +2595,14 @@ var Yr = (
2593
2595
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2594
2596
  var o = this.clonePosition();
2595
2597
  this.bump(), i.push({
2596
- type: E.pound,
2597
- location: d(o, this.clonePosition())
2598
+ type: x.pound,
2599
+ location: b(o, this.clonePosition())
2598
2600
  });
2599
2601
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2600
2602
  if (n)
2601
2603
  break;
2602
- return this.error(m.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
2603
- } else if (s === 60 && !this.ignoreTag && Se(this.peek() || 0)) {
2604
+ return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2605
+ } else if (s === 60 && !this.ignoreTag && Oe(this.peek() || 0)) {
2604
2606
  var a = this.parseTag(t, r);
2605
2607
  if (a.err)
2606
2608
  return a;
@@ -2621,9 +2623,9 @@ var Yr = (
2621
2623
  if (this.bumpSpace(), this.bumpIf("/>"))
2622
2624
  return {
2623
2625
  val: {
2624
- type: E.literal,
2626
+ type: x.literal,
2625
2627
  value: "<".concat(i, "/>"),
2626
- location: d(n, this.clonePosition())
2628
+ location: b(n, this.clonePosition())
2627
2629
  },
2628
2630
  err: null
2629
2631
  };
@@ -2633,25 +2635,25 @@ var Yr = (
2633
2635
  return s;
2634
2636
  var a = s.val, o = this.clonePosition();
2635
2637
  if (this.bumpIf("</")) {
2636
- if (this.isEOF() || !Se(this.char()))
2637
- return this.error(m.INVALID_TAG, d(o, this.clonePosition()));
2638
+ if (this.isEOF() || !Oe(this.char()))
2639
+ return this.error(m.INVALID_TAG, b(o, this.clonePosition()));
2638
2640
  var l = this.clonePosition(), u = this.parseTagName();
2639
- return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, d(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2641
+ return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2640
2642
  val: {
2641
- type: E.tag,
2643
+ type: x.tag,
2642
2644
  value: i,
2643
2645
  children: a,
2644
- location: d(n, this.clonePosition())
2646
+ location: b(n, this.clonePosition())
2645
2647
  },
2646
2648
  err: null
2647
- } : this.error(m.INVALID_TAG, d(o, this.clonePosition())));
2649
+ } : this.error(m.INVALID_TAG, b(o, this.clonePosition())));
2648
2650
  } else
2649
- return this.error(m.UNCLOSED_TAG, d(n, this.clonePosition()));
2651
+ return this.error(m.UNCLOSED_TAG, b(n, this.clonePosition()));
2650
2652
  } else
2651
- return this.error(m.INVALID_TAG, d(n, this.clonePosition()));
2653
+ return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
2652
2654
  }, e.prototype.parseTagName = function() {
2653
2655
  var t = this.offset();
2654
- for (this.bump(); !this.isEOF() && en(this.char()); )
2656
+ for (this.bump(); !this.isEOF() && tn(this.char()); )
2655
2657
  this.bump();
2656
2658
  return this.message.slice(t, this.offset());
2657
2659
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2673,14 +2675,14 @@ var Yr = (
2673
2675
  }
2674
2676
  break;
2675
2677
  }
2676
- var l = d(n, this.clonePosition());
2678
+ var l = b(n, this.clonePosition());
2677
2679
  return {
2678
- val: { type: E.literal, value: i, location: l },
2680
+ val: { type: x.literal, value: i, location: l },
2679
2681
  err: null
2680
2682
  };
2681
2683
  }, e.prototype.tryParseLeftAngleBracket = function() {
2682
2684
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2683
- !Kr(this.peek() || 0)) ? (this.bump(), "<") : null;
2685
+ !en(this.peek() || 0)) ? (this.bump(), "<") : null;
2684
2686
  }, e.prototype.tryParseQuote = function(t) {
2685
2687
  if (this.isEOF() || this.char() !== 39)
2686
2688
  return null;
@@ -2714,49 +2716,49 @@ var Yr = (
2714
2716
  r.push(n);
2715
2717
  this.bump();
2716
2718
  }
2717
- return Be.apply(void 0, r);
2719
+ return Ae.apply(void 0, r);
2718
2720
  }, e.prototype.tryParseUnquoted = function(t, r) {
2719
2721
  if (this.isEOF())
2720
2722
  return null;
2721
2723
  var n = this.char();
2722
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Be(n));
2724
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ae(n));
2723
2725
  }, e.prototype.parseArgument = function(t, r) {
2724
2726
  var n = this.clonePosition();
2725
2727
  if (this.bump(), this.bumpSpace(), this.isEOF())
2726
- return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
2728
+ return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2727
2729
  if (this.char() === 125)
2728
- return this.bump(), this.error(m.EMPTY_ARGUMENT, d(n, this.clonePosition()));
2730
+ return this.bump(), this.error(m.EMPTY_ARGUMENT, b(n, this.clonePosition()));
2729
2731
  var i = this.parseIdentifierIfPossible().value;
2730
2732
  if (!i)
2731
- return this.error(m.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
2733
+ return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2732
2734
  if (this.bumpSpace(), this.isEOF())
2733
- return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
2735
+ return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2734
2736
  switch (this.char()) {
2735
2737
  case 125:
2736
2738
  return this.bump(), {
2737
2739
  val: {
2738
- type: E.argument,
2740
+ type: x.argument,
2739
2741
  // value does not include the opening and closing braces.
2740
2742
  value: i,
2741
- location: d(n, this.clonePosition())
2743
+ location: b(n, this.clonePosition())
2742
2744
  },
2743
2745
  err: null
2744
2746
  };
2745
2747
  case 44:
2746
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2748
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2747
2749
  default:
2748
- return this.error(m.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
2750
+ return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2749
2751
  }
2750
2752
  }, e.prototype.parseIdentifierIfPossible = function() {
2751
- var t = this.clonePosition(), r = this.offset(), n = Ae(this.message, r), i = r + n.length;
2753
+ var t = this.clonePosition(), r = this.offset(), n = Pe(this.message, r), i = r + n.length;
2752
2754
  this.bumpTo(i);
2753
- var s = this.clonePosition(), a = d(t, s);
2755
+ var s = this.clonePosition(), a = b(t, s);
2754
2756
  return { value: n, location: a };
2755
2757
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2756
2758
  var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2757
2759
  switch (o) {
2758
2760
  case "":
2759
- return this.error(m.EXPECT_ARGUMENT_TYPE, d(a, l));
2761
+ return this.error(m.EXPECT_ARGUMENT_TYPE, b(a, l));
2760
2762
  case "number":
2761
2763
  case "date":
2762
2764
  case "time": {
@@ -2767,44 +2769,44 @@ var Yr = (
2767
2769
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2768
2770
  if (c.err)
2769
2771
  return c;
2770
- var f = qr(c.val);
2772
+ var f = Yr(c.val);
2771
2773
  if (f.length === 0)
2772
- return this.error(m.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
2773
- var x = d(h, this.clonePosition());
2774
- u = { style: f, styleLocation: x };
2774
+ return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2775
+ var g = b(h, this.clonePosition());
2776
+ u = { style: f, styleLocation: g };
2775
2777
  }
2776
- var g = this.tryParseArgumentClose(i);
2777
- if (g.err)
2778
- return g;
2779
- var y = d(i, this.clonePosition());
2780
- if (u && Xe(u?.style, "::", 0)) {
2781
- var H = Jr(u.style.slice(2));
2778
+ var d = this.tryParseArgumentClose(i);
2779
+ if (d.err)
2780
+ return d;
2781
+ var y = b(i, this.clonePosition());
2782
+ if (u && ze(u?.style, "::", 0)) {
2783
+ var H = qr(u.style.slice(2));
2782
2784
  if (o === "number") {
2783
2785
  var c = this.parseNumberSkeletonFromString(H, u.styleLocation);
2784
2786
  return c.err ? c : {
2785
- val: { type: E.number, value: n, location: y, style: c.val },
2787
+ val: { type: x.number, value: n, location: y, style: c.val },
2786
2788
  err: null
2787
2789
  };
2788
2790
  } else {
2789
2791
  if (H.length === 0)
2790
2792
  return this.error(m.EXPECT_DATE_TIME_SKELETON, y);
2791
2793
  var B = H;
2792
- this.locale && (B = $r(H, this.locale));
2794
+ this.locale && (B = Ur(H, this.locale));
2793
2795
  var f = {
2794
- type: F.dateTime,
2796
+ type: j.dateTime,
2795
2797
  pattern: B,
2796
2798
  location: u.styleLocation,
2797
- parsedOptions: this.shouldParseSkeletons ? Nr(B) : {}
2798
- }, A = o === "date" ? E.date : E.time;
2799
+ parsedOptions: this.shouldParseSkeletons ? wr(B) : {}
2800
+ }, S = o === "date" ? x.date : x.time;
2799
2801
  return {
2800
- val: { type: A, value: n, location: y, style: f },
2802
+ val: { type: S, value: n, location: y, style: f },
2801
2803
  err: null
2802
2804
  };
2803
2805
  }
2804
2806
  }
2805
2807
  return {
2806
2808
  val: {
2807
- type: o === "number" ? E.number : o === "date" ? E.date : E.time,
2809
+ type: o === "number" ? x.number : o === "date" ? x.date : x.time,
2808
2810
  value: n,
2809
2811
  location: y,
2810
2812
  style: (s = u?.style) !== null && s !== void 0 ? s : null
@@ -2817,50 +2819,50 @@ var Yr = (
2817
2819
  case "select": {
2818
2820
  var v = this.clonePosition();
2819
2821
  if (this.bumpSpace(), !this.bumpIf(","))
2820
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, d(v, b({}, v)));
2822
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(v, ae({}, v)));
2821
2823
  this.bumpSpace();
2822
- var O = this.parseIdentifierIfPossible(), P = 0;
2823
- if (o !== "select" && O.value === "offset") {
2824
+ var N = this.parseIdentifierIfPossible(), O = 0;
2825
+ if (o !== "select" && N.value === "offset") {
2824
2826
  if (!this.bumpIf(":"))
2825
- return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d(this.clonePosition(), this.clonePosition()));
2827
+ return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2826
2828
  this.bumpSpace();
2827
2829
  var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2828
2830
  if (c.err)
2829
2831
  return c;
2830
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), P = c.val;
2832
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), O = c.val;
2831
2833
  }
2832
- var M = this.tryParsePluralOrSelectOptions(t, o, r, O);
2833
- if (M.err)
2834
- return M;
2835
- var g = this.tryParseArgumentClose(i);
2836
- if (g.err)
2837
- return g;
2838
- var ee = d(i, this.clonePosition());
2834
+ var $ = this.tryParsePluralOrSelectOptions(t, o, r, N);
2835
+ if ($.err)
2836
+ return $;
2837
+ var d = this.tryParseArgumentClose(i);
2838
+ if (d.err)
2839
+ return d;
2840
+ var te = b(i, this.clonePosition());
2839
2841
  return o === "select" ? {
2840
2842
  val: {
2841
- type: E.select,
2843
+ type: x.select,
2842
2844
  value: n,
2843
- options: ze(M.val),
2844
- location: ee
2845
+ options: We($.val),
2846
+ location: te
2845
2847
  },
2846
2848
  err: null
2847
2849
  } : {
2848
2850
  val: {
2849
- type: E.plural,
2851
+ type: x.plural,
2850
2852
  value: n,
2851
- options: ze(M.val),
2852
- offset: P,
2853
+ options: We($.val),
2854
+ offset: O,
2853
2855
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2854
- location: ee
2856
+ location: te
2855
2857
  },
2856
2858
  err: null
2857
2859
  };
2858
2860
  }
2859
2861
  default:
2860
- return this.error(m.INVALID_ARGUMENT_TYPE, d(a, l));
2862
+ return this.error(m.INVALID_ARGUMENT_TYPE, b(a, l));
2861
2863
  }
2862
2864
  }, e.prototype.tryParseArgumentClose = function(t) {
2863
- return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2865
+ return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2864
2866
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2865
2867
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2866
2868
  var n = this.char();
@@ -2869,7 +2871,7 @@ var Yr = (
2869
2871
  this.bump();
2870
2872
  var i = this.clonePosition();
2871
2873
  if (!this.bumpUntil("'"))
2872
- return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, d(i, this.clonePosition()));
2874
+ return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
2873
2875
  this.bump();
2874
2876
  break;
2875
2877
  }
@@ -2899,13 +2901,13 @@ var Yr = (
2899
2901
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2900
2902
  var n = [];
2901
2903
  try {
2902
- n = wr(t);
2904
+ n = Lr(t);
2903
2905
  } catch {
2904
2906
  return this.error(m.INVALID_NUMBER_SKELETON, r);
2905
2907
  }
2906
2908
  return {
2907
2909
  val: {
2908
- type: F.number,
2910
+ type: j.number,
2909
2911
  tokens: n,
2910
2912
  location: r,
2911
2913
  parsedOptions: this.shouldParseSkeletons ? Rr(n) : {}
@@ -2920,31 +2922,31 @@ var Yr = (
2920
2922
  var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
2921
2923
  if (f.err)
2922
2924
  return f;
2923
- h = d(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2925
+ h = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2924
2926
  } else
2925
2927
  break;
2926
2928
  }
2927
2929
  if (l.has(u))
2928
2930
  return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2929
2931
  u === "other" && (a = !0), this.bumpSpace();
2930
- var x = this.clonePosition();
2932
+ var g = this.clonePosition();
2931
2933
  if (!this.bumpIf("{"))
2932
- return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
2933
- var g = this.parseMessage(t + 1, r, n);
2934
- if (g.err)
2935
- return g;
2936
- var y = this.tryParseArgumentClose(x);
2934
+ return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
2935
+ var d = this.parseMessage(t + 1, r, n);
2936
+ if (d.err)
2937
+ return d;
2938
+ var y = this.tryParseArgumentClose(g);
2937
2939
  if (y.err)
2938
2940
  return y;
2939
2941
  o.push([
2940
2942
  u,
2941
2943
  {
2942
- value: g.val,
2943
- location: d(x, this.clonePosition())
2944
+ value: d.val,
2945
+ location: b(g, this.clonePosition())
2944
2946
  }
2945
2947
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
2946
2948
  }
2947
- 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 };
2949
+ 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 };
2948
2950
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2949
2951
  var n = 1, i = this.clonePosition();
2950
2952
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -2955,8 +2957,8 @@ var Yr = (
2955
2957
  else
2956
2958
  break;
2957
2959
  }
2958
- var l = d(i, this.clonePosition());
2959
- return s ? (a *= n, Zr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
2960
+ var l = b(i, this.clonePosition());
2961
+ return s ? (a *= n, Qr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
2960
2962
  }, e.prototype.offset = function() {
2961
2963
  return this.position.offset;
2962
2964
  }, e.prototype.isEOF = function() {
@@ -2971,7 +2973,7 @@ var Yr = (
2971
2973
  var t = this.position.offset;
2972
2974
  if (t >= this.message.length)
2973
2975
  throw Error("out of bound");
2974
- var r = yt(this.message, t);
2976
+ var r = _t(this.message, t);
2975
2977
  if (r === void 0)
2976
2978
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2977
2979
  return r;
@@ -2990,7 +2992,7 @@ var Yr = (
2990
2992
  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);
2991
2993
  }
2992
2994
  }, e.prototype.bumpIf = function(t) {
2993
- if (Xe(this.message, t, this.offset())) {
2995
+ if (ze(this.message, t, this.offset())) {
2994
2996
  for (var r = 0; r < t.length; r++)
2995
2997
  this.bump();
2996
2998
  return !0;
@@ -3012,7 +3014,7 @@ var Yr = (
3012
3014
  break;
3013
3015
  }
3014
3016
  }, e.prototype.bumpSpace = function() {
3015
- for (; !this.isEOF() && vt(this.char()); )
3017
+ for (; !this.isEOF() && Ht(this.char()); )
3016
3018
  this.bump();
3017
3019
  }, e.prototype.peek = function() {
3018
3020
  if (this.isEOF())
@@ -3022,47 +3024,47 @@ var Yr = (
3022
3024
  }, e;
3023
3025
  }()
3024
3026
  );
3025
- function Se(e) {
3027
+ function Oe(e) {
3026
3028
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3027
3029
  }
3028
- function Kr(e) {
3029
- return Se(e) || e === 47;
3030
- }
3031
3030
  function en(e) {
3031
+ return Oe(e) || e === 47;
3032
+ }
3033
+ function tn(e) {
3032
3034
  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;
3033
3035
  }
3034
- function vt(e) {
3036
+ function Ht(e) {
3035
3037
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3036
3038
  }
3037
- function tn(e) {
3039
+ function rn(e) {
3038
3040
  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;
3039
3041
  }
3040
- function Pe(e) {
3042
+ function Ne(e) {
3041
3043
  e.forEach(function(t) {
3042
- if (delete t.location, ct(t) || pt(t))
3044
+ if (delete t.location, pt(t) || mt(t))
3043
3045
  for (var r in t.options)
3044
- delete t.options[r].location, Pe(t.options[r].value);
3046
+ delete t.options[r].location, Ne(t.options[r].value);
3045
3047
  else
3046
- ht(t) && dt(t.style) || (lt(t) || ft(t)) && He(t.style) ? delete t.style.location : mt(t) && Pe(t.children);
3048
+ lt(t) && dt(t.style) || (ft(t) || ct(t)) && Be(t.style) ? delete t.style.location : bt(t) && Ne(t.children);
3047
3049
  });
3048
3050
  }
3049
- function rn(e, t) {
3050
- t === void 0 && (t = {}), t = b({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3051
- var r = new Yr(e, t).parse();
3051
+ function nn(e, t) {
3052
+ t === void 0 && (t = {}), t = ae({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3053
+ var r = new Kr(e, t).parse();
3052
3054
  if (r.err) {
3053
3055
  var n = SyntaxError(m[r.err.kind]);
3054
3056
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3055
3057
  }
3056
- return t?.captureLocation || Pe(r.val), r.val;
3058
+ return t?.captureLocation || Ne(r.val), r.val;
3057
3059
  }
3058
- var j;
3060
+ var V;
3059
3061
  (function(e) {
3060
3062
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3061
- })(j || (j = {}));
3062
- var le = (
3063
+ })(V || (V = {}));
3064
+ var ce = (
3063
3065
  /** @class */
3064
3066
  function(e) {
3065
- he(t, e);
3067
+ fe(t, e);
3066
3068
  function t(r, n, i) {
3067
3069
  var s = e.call(this, r) || this;
3068
3070
  return s.code = n, s.originalMessage = i, s;
@@ -3071,48 +3073,48 @@ var le = (
3071
3073
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3072
3074
  }, t;
3073
3075
  }(Error)
3074
- ), Ze = (
3076
+ ), Qe = (
3075
3077
  /** @class */
3076
3078
  function(e) {
3077
- he(t, e);
3079
+ fe(t, e);
3078
3080
  function t(r, n, i, s) {
3079
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, s) || this;
3081
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
3080
3082
  }
3081
3083
  return t;
3082
- }(le)
3083
- ), nn = (
3084
+ }(ce)
3085
+ ), sn = (
3084
3086
  /** @class */
3085
3087
  function(e) {
3086
- he(t, e);
3088
+ fe(t, e);
3087
3089
  function t(r, n, i) {
3088
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
3090
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3089
3091
  }
3090
3092
  return t;
3091
- }(le)
3092
- ), sn = (
3093
+ }(ce)
3094
+ ), on = (
3093
3095
  /** @class */
3094
3096
  function(e) {
3095
- he(t, e);
3097
+ fe(t, e);
3096
3098
  function t(r, n) {
3097
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
3099
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3098
3100
  }
3099
3101
  return t;
3100
- }(le)
3102
+ }(ce)
3101
3103
  ), _;
3102
3104
  (function(e) {
3103
3105
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3104
3106
  })(_ || (_ = {}));
3105
- function on(e) {
3107
+ function an(e) {
3106
3108
  return e.length < 2 ? e : e.reduce(function(t, r) {
3107
3109
  var n = t[t.length - 1];
3108
3110
  return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
3109
3111
  }, []);
3110
3112
  }
3111
- function an(e) {
3113
+ function un(e) {
3112
3114
  return typeof e == "function";
3113
3115
  }
3114
- function ie(e, t, r, n, i, s, a) {
3115
- if (e.length === 1 && Fe(e[0]))
3116
+ function se(e, t, r, n, i, s, a) {
3117
+ if (e.length === 1 && je(e[0]))
3116
3118
  return [
3117
3119
  {
3118
3120
  type: _.literal,
@@ -3121,14 +3123,14 @@ function ie(e, t, r, n, i, s, a) {
3121
3123
  ];
3122
3124
  for (var o = [], l = 0, u = e; l < u.length; l++) {
3123
3125
  var h = u[l];
3124
- if (Fe(h)) {
3126
+ if (je(h)) {
3125
3127
  o.push({
3126
3128
  type: _.literal,
3127
3129
  value: h.value
3128
3130
  });
3129
3131
  continue;
3130
3132
  }
3131
- if (Pr(h)) {
3133
+ if (Or(h)) {
3132
3134
  typeof s == "number" && o.push({
3133
3135
  type: _.literal,
3134
3136
  value: r.getNumberFormat(t).format(s)
@@ -3137,89 +3139,89 @@ function ie(e, t, r, n, i, s, a) {
3137
3139
  }
3138
3140
  var c = h.value;
3139
3141
  if (!(i && c in i))
3140
- throw new sn(c, a);
3142
+ throw new on(c, a);
3141
3143
  var f = i[c];
3142
- if (Sr(h)) {
3144
+ if (Pr(h)) {
3143
3145
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3144
3146
  type: typeof f == "string" ? _.literal : _.object,
3145
3147
  value: f
3146
3148
  });
3147
3149
  continue;
3148
3150
  }
3149
- if (lt(h)) {
3150
- var x = typeof h.style == "string" ? n.date[h.style] : He(h.style) ? h.style.parsedOptions : void 0;
3151
+ if (ft(h)) {
3152
+ var g = typeof h.style == "string" ? n.date[h.style] : Be(h.style) ? h.style.parsedOptions : void 0;
3151
3153
  o.push({
3152
3154
  type: _.literal,
3153
- value: r.getDateTimeFormat(t, x).format(f)
3155
+ value: r.getDateTimeFormat(t, g).format(f)
3154
3156
  });
3155
3157
  continue;
3156
3158
  }
3157
- if (ft(h)) {
3158
- var x = typeof h.style == "string" ? n.time[h.style] : He(h.style) ? h.style.parsedOptions : n.time.medium;
3159
+ if (ct(h)) {
3160
+ var g = typeof h.style == "string" ? n.time[h.style] : Be(h.style) ? h.style.parsedOptions : n.time.medium;
3159
3161
  o.push({
3160
3162
  type: _.literal,
3161
- value: r.getDateTimeFormat(t, x).format(f)
3163
+ value: r.getDateTimeFormat(t, g).format(f)
3162
3164
  });
3163
3165
  continue;
3164
3166
  }
3165
- if (ht(h)) {
3166
- var x = typeof h.style == "string" ? n.number[h.style] : dt(h.style) ? h.style.parsedOptions : void 0;
3167
- x && x.scale && (f = f * (x.scale || 1)), o.push({
3167
+ if (lt(h)) {
3168
+ var g = typeof h.style == "string" ? n.number[h.style] : dt(h.style) ? h.style.parsedOptions : void 0;
3169
+ g && g.scale && (f = f * (g.scale || 1)), o.push({
3168
3170
  type: _.literal,
3169
- value: r.getNumberFormat(t, x).format(f)
3171
+ value: r.getNumberFormat(t, g).format(f)
3170
3172
  });
3171
3173
  continue;
3172
3174
  }
3173
- if (mt(h)) {
3174
- var g = h.children, y = h.value, H = i[y];
3175
- if (!an(H))
3176
- throw new nn(y, "function", a);
3177
- var B = ie(g, t, r, n, i, s), A = H(B.map(function(P) {
3178
- return P.value;
3175
+ if (bt(h)) {
3176
+ var d = h.children, y = h.value, H = i[y];
3177
+ if (!un(H))
3178
+ throw new sn(y, "function", a);
3179
+ var B = se(d, t, r, n, i, s), S = H(B.map(function(O) {
3180
+ return O.value;
3179
3181
  }));
3180
- Array.isArray(A) || (A = [A]), o.push.apply(o, A.map(function(P) {
3182
+ Array.isArray(S) || (S = [S]), o.push.apply(o, S.map(function(O) {
3181
3183
  return {
3182
- type: typeof P == "string" ? _.literal : _.object,
3183
- value: P
3184
+ type: typeof O == "string" ? _.literal : _.object,
3185
+ value: O
3184
3186
  };
3185
3187
  }));
3186
3188
  }
3187
- if (ct(h)) {
3189
+ if (pt(h)) {
3188
3190
  var v = h.options[f] || h.options.other;
3189
3191
  if (!v)
3190
- throw new Ze(h.value, f, Object.keys(h.options), a);
3191
- o.push.apply(o, ie(v.value, t, r, n, i));
3192
+ throw new Qe(h.value, f, Object.keys(h.options), a);
3193
+ o.push.apply(o, se(v.value, t, r, n, i));
3192
3194
  continue;
3193
3195
  }
3194
- if (pt(h)) {
3196
+ if (mt(h)) {
3195
3197
  var v = h.options["=".concat(f)];
3196
3198
  if (!v) {
3197
3199
  if (!Intl.PluralRules)
3198
- throw new le(`Intl.PluralRules is not available in this environment.
3200
+ throw new ce(`Intl.PluralRules is not available in this environment.
3199
3201
  Try polyfilling it using "@formatjs/intl-pluralrules"
3200
- `, j.MISSING_INTL_API, a);
3201
- var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3202
- v = h.options[O] || h.options.other;
3202
+ `, V.MISSING_INTL_API, a);
3203
+ var N = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3204
+ v = h.options[N] || h.options.other;
3203
3205
  }
3204
3206
  if (!v)
3205
- throw new Ze(h.value, f, Object.keys(h.options), a);
3206
- o.push.apply(o, ie(v.value, t, r, n, i, f - (h.offset || 0)));
3207
+ throw new Qe(h.value, f, Object.keys(h.options), a);
3208
+ o.push.apply(o, se(v.value, t, r, n, i, f - (h.offset || 0)));
3207
3209
  continue;
3208
3210
  }
3209
3211
  }
3210
- return on(o);
3212
+ return an(o);
3211
3213
  }
3212
- function un(e, t) {
3213
- return t ? b(b(b({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3214
- return r[n] = b(b({}, e[n]), t[n] || {}), r;
3214
+ function hn(e, t) {
3215
+ return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3216
+ return r[n] = P(P({}, e[n]), t[n] || {}), r;
3215
3217
  }, {})) : e;
3216
3218
  }
3217
- function hn(e, t) {
3219
+ function ln(e, t) {
3218
3220
  return t ? Object.keys(e).reduce(function(r, n) {
3219
- return r[n] = un(e[n], t[n]), r;
3220
- }, b({}, e)) : e;
3221
+ return r[n] = hn(e[n], t[n]), r;
3222
+ }, P({}, e)) : e;
3221
3223
  }
3222
- function xe(e) {
3224
+ function ye(e) {
3223
3225
  return {
3224
3226
  create: function() {
3225
3227
  return {
@@ -3233,39 +3235,39 @@ function xe(e) {
3233
3235
  }
3234
3236
  };
3235
3237
  }
3236
- function ln(e) {
3238
+ function fn(e) {
3237
3239
  return e === void 0 && (e = {
3238
3240
  number: {},
3239
3241
  dateTime: {},
3240
3242
  pluralRules: {}
3241
3243
  }), {
3242
- getNumberFormat: de(function() {
3244
+ getNumberFormat: ge(function() {
3243
3245
  for (var t, r = [], n = 0; n < arguments.length; n++)
3244
3246
  r[n] = arguments[n];
3245
- return new ((t = Intl.NumberFormat).bind.apply(t, me([void 0], r, !1)))();
3247
+ return new ((t = Intl.NumberFormat).bind.apply(t, de([void 0], r, !1)))();
3246
3248
  }, {
3247
- cache: xe(e.number),
3248
- strategy: be.variadic
3249
+ cache: ye(e.number),
3250
+ strategy: xe.variadic
3249
3251
  }),
3250
- getDateTimeFormat: de(function() {
3252
+ getDateTimeFormat: ge(function() {
3251
3253
  for (var t, r = [], n = 0; n < arguments.length; n++)
3252
3254
  r[n] = arguments[n];
3253
- return new ((t = Intl.DateTimeFormat).bind.apply(t, me([void 0], r, !1)))();
3255
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, de([void 0], r, !1)))();
3254
3256
  }, {
3255
- cache: xe(e.dateTime),
3256
- strategy: be.variadic
3257
+ cache: ye(e.dateTime),
3258
+ strategy: xe.variadic
3257
3259
  }),
3258
- getPluralRules: de(function() {
3260
+ getPluralRules: ge(function() {
3259
3261
  for (var t, r = [], n = 0; n < arguments.length; n++)
3260
3262
  r[n] = arguments[n];
3261
- return new ((t = Intl.PluralRules).bind.apply(t, me([void 0], r, !1)))();
3263
+ return new ((t = Intl.PluralRules).bind.apply(t, de([void 0], r, !1)))();
3262
3264
  }, {
3263
- cache: xe(e.pluralRules),
3264
- strategy: be.variadic
3265
+ cache: ye(e.pluralRules),
3266
+ strategy: xe.variadic
3265
3267
  })
3266
3268
  };
3267
3269
  }
3268
- var fn = (
3270
+ var cn = (
3269
3271
  /** @class */
3270
3272
  function() {
3271
3273
  function e(t, r, n, i) {
@@ -3284,7 +3286,7 @@ var fn = (
3284
3286
  }, []);
3285
3287
  return h.length <= 1 ? h[0] || "" : h;
3286
3288
  }, this.formatToParts = function(l) {
3287
- return ie(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3289
+ return se(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3288
3290
  }, this.resolvedOptions = function() {
3289
3291
  var l;
3290
3292
  return {
@@ -3297,13 +3299,13 @@ var fn = (
3297
3299
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3298
3300
  var a = i || {};
3299
3301
  a.formatters;
3300
- var o = Er(a, ["formatters"]);
3301
- this.ast = e.__parse(t, b(b({}, o), { locale: this.resolvedLocale }));
3302
+ var o = yr(a, ["formatters"]);
3303
+ this.ast = e.__parse(t, P(P({}, o), { locale: this.resolvedLocale }));
3302
3304
  } else
3303
3305
  this.ast = t;
3304
3306
  if (!Array.isArray(this.ast))
3305
3307
  throw new TypeError("A message must be provided as a String or AST.");
3306
- this.formats = hn(e.formats, n), this.formatters = i && i.formatters || ln(this.formatterCache);
3308
+ this.formats = ln(e.formats, n), this.formatters = i && i.formatters || fn(this.formatterCache);
3307
3309
  }
3308
3310
  return Object.defineProperty(e, "defaultLocale", {
3309
3311
  get: function() {
@@ -3316,7 +3318,7 @@ var fn = (
3316
3318
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3317
3319
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3318
3320
  }
3319
- }, e.__parse = rn, e.formats = {
3321
+ }, e.__parse = nn, e.formats = {
3320
3322
  number: {
3321
3323
  integer: {
3322
3324
  maximumFractionDigits: 0
@@ -3377,7 +3379,7 @@ var fn = (
3377
3379
  }, e;
3378
3380
  }()
3379
3381
  );
3380
- function cn(e, t) {
3382
+ function pn(e, t) {
3381
3383
  if (t == null)
3382
3384
  return;
3383
3385
  if (t in e)
@@ -3398,92 +3400,92 @@ function cn(e, t) {
3398
3400
  n = void 0;
3399
3401
  return n;
3400
3402
  }
3401
- const N = {}, pn = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = r), r), Ht = (e, t) => {
3403
+ const w = {}, mn = (e, t, r) => r && (t in w || (w[t] = {}), e in w[t] || (w[t][e] = r), r), Tt = (e, t) => {
3402
3404
  if (t == null)
3403
3405
  return;
3404
- if (t in N && e in N[t])
3405
- return N[t][e];
3406
- const r = fe(t);
3406
+ if (t in w && e in w[t])
3407
+ return w[t][e];
3408
+ const r = pe(t);
3407
3409
  for (let n = 0; n < r.length; n++) {
3408
3410
  const i = r[n], s = dn(i, e);
3409
3411
  if (s)
3410
- return pn(e, t, s);
3412
+ return mn(e, t, s);
3411
3413
  }
3412
3414
  };
3413
- let Me;
3414
- const X = ue({});
3415
- function mn(e) {
3416
- return Me[e] || null;
3415
+ let $e;
3416
+ const z = le({});
3417
+ function bn(e) {
3418
+ return $e[e] || null;
3417
3419
  }
3418
- function Tt(e) {
3419
- return e in Me;
3420
+ function Bt(e) {
3421
+ return e in $e;
3420
3422
  }
3421
3423
  function dn(e, t) {
3422
- if (!Tt(e))
3424
+ if (!Bt(e))
3423
3425
  return null;
3424
- const r = mn(e);
3425
- return cn(r, t);
3426
+ const r = bn(e);
3427
+ return pn(r, t);
3426
3428
  }
3427
- function bn(e) {
3429
+ function gn(e) {
3428
3430
  if (e == null)
3429
3431
  return;
3430
- const t = fe(e);
3432
+ const t = pe(e);
3431
3433
  for (let r = 0; r < t.length; r++) {
3432
3434
  const n = t[r];
3433
- if (Tt(n))
3435
+ if (Bt(n))
3434
3436
  return n;
3435
3437
  }
3436
3438
  }
3437
- function Bt(e, ...t) {
3438
- delete N[e], X.update((r) => (r[e] = xr.all([r[e] || {}, ...t]), r));
3439
+ function St(e, ...t) {
3440
+ delete w[e], z.update((r) => (r[e] = Er.all([r[e] || {}, ...t]), r));
3439
3441
  }
3440
- k(
3441
- [X],
3442
+ X(
3443
+ [z],
3442
3444
  ([e]) => Object.keys(e)
3443
3445
  );
3444
- X.subscribe((e) => Me = e);
3445
- const se = {};
3446
- function gn(e, t) {
3447
- se[e].delete(t), se[e].size === 0 && delete se[e];
3446
+ z.subscribe((e) => $e = e);
3447
+ const oe = {};
3448
+ function xn(e, t) {
3449
+ oe[e].delete(t), oe[e].size === 0 && delete oe[e];
3448
3450
  }
3449
3451
  function At(e) {
3450
- return se[e];
3452
+ return oe[e];
3451
3453
  }
3452
- function xn(e) {
3453
- return fe(e).map((t) => {
3454
+ function En(e) {
3455
+ return pe(e).map((t) => {
3454
3456
  const r = At(t);
3455
3457
  return [t, r ? [...r] : []];
3456
3458
  }).filter(([, t]) => t.length > 0);
3457
3459
  }
3458
- function Oe(e) {
3459
- return e == null ? !1 : fe(e).some(
3460
+ function we(e) {
3461
+ return e == null ? !1 : pe(e).some(
3460
3462
  (t) => {
3461
3463
  var r;
3462
3464
  return (r = At(t)) == null ? void 0 : r.size;
3463
3465
  }
3464
3466
  );
3465
3467
  }
3466
- function En(e, t) {
3468
+ function yn(e, t) {
3467
3469
  return Promise.all(
3468
- t.map((n) => (gn(e, n), n().then((i) => i.default || i)))
3469
- ).then((n) => Bt(e, ...n));
3470
- }
3471
- const W = {};
3472
- function St(e) {
3473
- if (!Oe(e))
3474
- return e in W ? W[e] : Promise.resolve();
3475
- const t = xn(e);
3476
- return W[e] = Promise.all(
3470
+ t.map((n) => (xn(e, n), n().then((i) => i.default || i)))
3471
+ ).then((n) => St(e, ...n));
3472
+ }
3473
+ const Z = {};
3474
+ function Pt(e) {
3475
+ if (!we(e))
3476
+ return e in Z ? Z[e] : Promise.resolve();
3477
+ const t = En(e);
3478
+ return Z[e] = Promise.all(
3477
3479
  t.map(
3478
- ([r, n]) => En(r, n)
3480
+ ([r, n]) => yn(r, n)
3479
3481
  )
3480
3482
  ).then(() => {
3481
- if (Oe(e))
3482
- return St(e);
3483
- delete W[e];
3484
- }), W[e];
3483
+ if (we(e))
3484
+ return Pt(e);
3485
+ delete Z[e];
3486
+ }), Z[e];
3485
3487
  }
3486
- const yn = {
3488
+ const _n = {
3487
3489
  number: {
3488
3490
  scientific: { notation: "scientific" },
3489
3491
  engineering: { notation: "engineering" },
@@ -3512,150 +3514,150 @@ const yn = {
3512
3514
  timeZoneName: "short"
3513
3515
  }
3514
3516
  }
3515
- }, _n = {
3517
+ }, vn = {
3516
3518
  fallbackLocale: null,
3517
3519
  loadingDelay: 200,
3518
- formats: yn,
3520
+ formats: _n,
3519
3521
  warnOnMissingMessages: !0,
3520
3522
  handleMissingMessage: void 0,
3521
3523
  ignoreTag: !0
3522
- }, vn = _n;
3523
- function V() {
3524
- return vn;
3525
- }
3526
- const Ee = ue(!1);
3527
- var Hn = Object.defineProperty, Tn = Object.defineProperties, Bn = Object.getOwnPropertyDescriptors, Qe = Object.getOwnPropertySymbols, An = Object.prototype.hasOwnProperty, Sn = 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) => {
3528
- for (var r in t)
3529
- An.call(t, r) && Je(e, r, t[r]);
3530
- if (Qe)
3531
- for (var r of Qe(t))
3532
- Sn.call(t, r) && Je(e, r, t[r]);
3524
+ }, Hn = vn;
3525
+ function k() {
3526
+ return Hn;
3527
+ }
3528
+ const _e = le(!1);
3529
+ var Tn = Object.defineProperty, Bn = Object.defineProperties, Sn = Object.getOwnPropertyDescriptors, Je = Object.getOwnPropertySymbols, An = Object.prototype.hasOwnProperty, Pn = Object.prototype.propertyIsEnumerable, qe = (e, t, r) => t in e ? Tn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, On = (e, t) => {
3530
+ for (var r in t || (t = {}))
3531
+ An.call(t, r) && qe(e, r, t[r]);
3532
+ if (Je)
3533
+ for (var r of Je(t))
3534
+ Pn.call(t, r) && qe(e, r, t[r]);
3533
3535
  return e;
3534
- }, On = (e, t) => Tn(e, Bn(t));
3535
- let Ne;
3536
- const oe = ue(null);
3537
- function qe(e) {
3536
+ }, Nn = (e, t) => Bn(e, Sn(t));
3537
+ let Ie;
3538
+ const ue = le(null);
3539
+ function Ye(e) {
3538
3540
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3539
3541
  }
3540
- function fe(e, t = V().fallbackLocale) {
3541
- const r = qe(e);
3542
- return t ? [.../* @__PURE__ */ new Set([...r, ...qe(t)])] : r;
3542
+ function pe(e, t = k().fallbackLocale) {
3543
+ const r = Ye(e);
3544
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ye(t)])] : r;
3543
3545
  }
3544
- function C() {
3545
- return Ne ?? void 0;
3546
+ function M() {
3547
+ return Ie ?? void 0;
3546
3548
  }
3547
- oe.subscribe((e) => {
3548
- Ne = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3549
+ ue.subscribe((e) => {
3550
+ Ie = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3549
3551
  });
3550
- const Nn = (e) => {
3551
- if (e && bn(e) && Oe(e)) {
3552
- const { loadingDelay: t } = V();
3552
+ const wn = (e) => {
3553
+ if (e && gn(e) && we(e)) {
3554
+ const { loadingDelay: t } = k();
3553
3555
  let r;
3554
- return typeof window < "u" && C() != null && t ? r = window.setTimeout(
3555
- () => Ee.set(!0),
3556
+ return typeof window < "u" && M() != null && t ? r = window.setTimeout(
3557
+ () => _e.set(!0),
3556
3558
  t
3557
- ) : Ee.set(!0), St(e).then(() => {
3558
- oe.set(e);
3559
+ ) : _e.set(!0), Pt(e).then(() => {
3560
+ ue.set(e);
3559
3561
  }).finally(() => {
3560
- clearTimeout(r), Ee.set(!1);
3562
+ clearTimeout(r), _e.set(!1);
3561
3563
  });
3562
3564
  }
3563
- return oe.set(e);
3564
- }, I = On(Pn({}, oe), {
3565
- set: Nn
3566
- }), ce = (e) => {
3565
+ return ue.set(e);
3566
+ }, I = Nn(On({}, ue), {
3567
+ set: wn
3568
+ }), me = (e) => {
3567
3569
  const t = /* @__PURE__ */ Object.create(null);
3568
3570
  return (n) => {
3569
3571
  const i = JSON.stringify(n);
3570
3572
  return i in t ? t[i] : t[i] = e(n);
3571
3573
  };
3572
3574
  };
3573
- 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) => {
3575
+ var In = Object.defineProperty, he = Object.getOwnPropertySymbols, Ot = Object.prototype.hasOwnProperty, Nt = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? In(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Re = (e, t) => {
3574
3576
  for (var r in t || (t = {}))
3575
- Pt.call(t, r) && Ye(e, r, t[r]);
3576
- if (ae)
3577
- for (var r of ae(t))
3578
- Ot.call(t, r) && Ye(e, r, t[r]);
3577
+ Ot.call(t, r) && Ke(e, r, t[r]);
3578
+ if (he)
3579
+ for (var r of he(t))
3580
+ Nt.call(t, r) && Ke(e, r, t[r]);
3579
3581
  return e;
3580
- }, z = (e, t) => {
3582
+ }, W = (e, t) => {
3581
3583
  var r = {};
3582
3584
  for (var n in e)
3583
- Pt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3584
- if (e != null && ae)
3585
- for (var n of ae(e))
3586
- t.indexOf(n) < 0 && Ot.call(e, n) && (r[n] = e[n]);
3585
+ Ot.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3586
+ if (e != null && he)
3587
+ for (var n of he(e))
3588
+ t.indexOf(n) < 0 && Nt.call(e, n) && (r[n] = e[n]);
3587
3589
  return r;
3588
3590
  };
3589
- const Y = (e, t) => {
3590
- const { formats: r } = V();
3591
+ const K = (e, t) => {
3592
+ const { formats: r } = k();
3591
3593
  if (e in r && t in r[e])
3592
3594
  return r[e][t];
3593
3595
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3594
- }, wn = ce(
3596
+ }, Ln = me(
3595
3597
  (e) => {
3596
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
3598
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3597
3599
  if (r == null)
3598
3600
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3599
- return n && (i = Y("number", n)), new Intl.NumberFormat(r, i);
3601
+ return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
3600
3602
  }
3601
- ), Ln = ce(
3603
+ ), Cn = me(
3602
3604
  (e) => {
3603
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
3605
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3604
3606
  if (r == null)
3605
3607
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3606
- return n ? i = Y("date", n) : Object.keys(i).length === 0 && (i = Y("date", "short")), new Intl.DateTimeFormat(r, i);
3608
+ return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
3607
3609
  }
3608
- ), Cn = ce(
3610
+ ), Mn = me(
3609
3611
  (e) => {
3610
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
3612
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3611
3613
  if (r == null)
3612
3614
  throw new Error(
3613
3615
  '[svelte-i18n] A "locale" must be set to format time values'
3614
3616
  );
3615
- return n ? i = Y("time", n) : Object.keys(i).length === 0 && (i = Y("time", "short")), new Intl.DateTimeFormat(r, i);
3617
+ return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
3616
3618
  }
3617
- ), Mn = (e = {}) => {
3619
+ ), $n = (e = {}) => {
3618
3620
  var t = e, {
3619
- locale: r = C()
3620
- } = t, n = z(t, [
3621
+ locale: r = M()
3622
+ } = t, n = W(t, [
3621
3623
  "locale"
3622
3624
  ]);
3623
- return wn(Re({ locale: r }, n));
3625
+ return Ln(Re({ locale: r }, n));
3624
3626
  }, Rn = (e = {}) => {
3625
3627
  var t = e, {
3626
- locale: r = C()
3627
- } = t, n = z(t, [
3628
+ locale: r = M()
3629
+ } = t, n = W(t, [
3628
3630
  "locale"
3629
3631
  ]);
3630
- return Ln(Re({ locale: r }, n));
3631
- }, $n = (e = {}) => {
3632
+ return Cn(Re({ locale: r }, n));
3633
+ }, Un = (e = {}) => {
3632
3634
  var t = e, {
3633
- locale: r = C()
3634
- } = t, n = z(t, [
3635
+ locale: r = M()
3636
+ } = t, n = W(t, [
3635
3637
  "locale"
3636
3638
  ]);
3637
- return Cn(Re({ locale: r }, n));
3638
- }, Un = ce(
3639
+ return Mn(Re({ locale: r }, n));
3640
+ }, Gn = me(
3639
3641
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3640
- (e, t = C()) => new fn(e, t, V().formats, {
3641
- ignoreTag: V().ignoreTag
3642
+ (e, t = M()) => new cn(e, t, k().formats, {
3643
+ ignoreTag: k().ignoreTag
3642
3644
  })
3643
- ), Gn = (e, t = {}) => {
3645
+ ), Dn = (e, t = {}) => {
3644
3646
  var r, n, i, s;
3645
3647
  let a = t;
3646
3648
  typeof e == "object" && (a = e, e = a.id);
3647
3649
  const {
3648
3650
  values: o,
3649
- locale: l = C(),
3651
+ locale: l = M(),
3650
3652
  default: u
3651
3653
  } = a;
3652
3654
  if (l == null)
3653
3655
  throw new Error(
3654
3656
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3655
3657
  );
3656
- let h = Ht(e, l);
3658
+ let h = Tt(e, l);
3657
3659
  if (!h)
3658
- 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;
3660
+ h = (s = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3659
3661
  else if (typeof h != "string")
3660
3662
  return console.warn(
3661
3663
  `[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.`
@@ -3664,7 +3666,7 @@ const Y = (e, t) => {
3664
3666
  return h;
3665
3667
  let c = h;
3666
3668
  try {
3667
- c = Un(h, l).format(o);
3669
+ c = Gn(h, l).format(o);
3668
3670
  } catch (f) {
3669
3671
  f instanceof Error && console.warn(
3670
3672
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3672,23 +3674,23 @@ const Y = (e, t) => {
3672
3674
  );
3673
3675
  }
3674
3676
  return c;
3675
- }, 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);
3676
- k([I], () => Dn);
3677
- k([I], () => Fn);
3678
- k([I], () => jn);
3679
- k([I, X], () => Vn);
3680
- function Xn({ withLocale: e, translations: t }) {
3677
+ }, Fn = (e, t) => Un(t).format(e), jn = (e, t) => Rn(t).format(e), Vn = (e, t) => $n(t).format(e), kn = (e, t = M()) => Tt(e, t), Xn = X([I, z], () => Dn);
3678
+ X([I], () => Fn);
3679
+ X([I], () => jn);
3680
+ X([I], () => Vn);
3681
+ X([I, z], () => kn);
3682
+ function zn({ withLocale: e, translations: t }) {
3681
3683
  I.subscribe((r) => {
3682
- r == null && (X.set(t), I.set(e));
3684
+ r == null && (z.set(t), I.set(e));
3683
3685
  });
3684
3686
  }
3685
- function Ke(e, t) {
3686
- Bt(e, t);
3687
+ function et(e, t) {
3688
+ St(e, t);
3687
3689
  }
3688
- function zn(e) {
3690
+ function Wn(e) {
3689
3691
  I.set(e);
3690
3692
  }
3691
- const et = {
3693
+ const tt = {
3692
3694
  en: {
3693
3695
  bets: "bets"
3694
3696
  },
@@ -3714,81 +3716,81 @@ const et = {
3714
3716
  bets: "bets"
3715
3717
  }
3716
3718
  };
3717
- function Wn(e) {
3719
+ function Zn(e) {
3718
3720
  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}');
3719
3721
  }
3720
- function Zn(e) {
3722
+ function Qn(e) {
3721
3723
  let t, r, n, i, s;
3722
3724
  return {
3723
3725
  c() {
3724
- t = Z("div"), r = Z("div"), n = Z("span"), i = Gt(
3726
+ t = Q("div"), r = Q("div"), n = Q("span"), i = Dt(
3725
3727
  /*progressText*/
3726
3728
  e[3]
3727
- ), L(n, "part", "progressText"), L(r, "class", s = "stepBar " + /*curTatus*/
3728
- e[4]), L(r, "part", "stepBar"), L(t, "class", "general-icon-progress-bar"), L(t, "part", "totalBar");
3729
+ ), C(n, "part", "progressText"), C(r, "class", s = "stepBar " + /*curTatus*/
3730
+ e[4]), C(r, "part", "stepBar"), C(t, "class", "general-icon-progress-bar"), C(t, "part", "totalBar");
3729
3731
  },
3730
3732
  m(a, o) {
3731
- it(a, t, o), re(t, r), re(r, n), re(n, i), e[13](n), e[14](r), e[15](t);
3733
+ st(a, t, o), ne(t, r), ne(r, n), ne(n, i), e[13](n), e[14](r), e[15](t);
3732
3734
  },
3733
3735
  p(a, [o]) {
3734
3736
  o & /*progressText*/
3735
- 8 && Ft(
3737
+ 8 && jt(
3736
3738
  i,
3737
3739
  /*progressText*/
3738
3740
  a[3]
3739
3741
  ), o & /*curTatus*/
3740
3742
  16 && s !== (s = "stepBar " + /*curTatus*/
3741
- a[4]) && L(r, "class", s);
3743
+ a[4]) && C(r, "class", s);
3742
3744
  },
3743
3745
  i: T,
3744
3746
  o: T,
3745
3747
  d(a) {
3746
- a && we(t), e[13](null), e[14](null), e[15](null);
3748
+ a && Ce(t), e[13](null), e[14](null), e[15](null);
3747
3749
  }
3748
3750
  };
3749
3751
  }
3750
- function Qn(e, t, r) {
3752
+ function Jn(e, t, r) {
3751
3753
  let n;
3752
- Mt(e, kn, (p) => r(20, n = p));
3753
- 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, A, v = "0px", O = "active";
3754
- Xn({ withLocale: "en", translations: {} });
3755
- const P = () => {
3756
- fetch(u).then((w) => w.json()).then((w) => {
3757
- Object.keys(w).forEach(($e) => {
3758
- Ke($e, w[$e]);
3754
+ $t(e, Xn, (p) => r(20, n = p));
3755
+ 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, g, d, y, H, B, S, v = "0px", N = "active";
3756
+ zn({ withLocale: "en", translations: {} });
3757
+ const O = () => {
3758
+ fetch(u).then((L) => L.json()).then((L) => {
3759
+ Object.keys(L).forEach((Ue) => {
3760
+ et(Ue, L[Ue]);
3759
3761
  });
3760
- }).catch((w) => {
3761
- console.log(w);
3762
+ }).catch((L) => {
3763
+ console.log(L);
3762
3764
  });
3763
3765
  };
3764
- Object.keys(et).forEach((p) => {
3765
- Ke(p, et[p]);
3766
+ Object.keys(tt).forEach((p) => {
3767
+ et(p, tt[p]);
3766
3768
  });
3767
- const M = () => {
3768
- zn(o);
3769
- }, ee = () => {
3769
+ const $ = () => {
3770
+ Wn(o);
3771
+ }, te = () => {
3770
3772
  let p = (i / s * 100).toFixed(h);
3771
3773
  setTimeout(
3772
3774
  () => {
3773
3775
  a || a === "true" ? r(3, y = `${p}%`) : r(3, y = `${i}/${s} ${n("bets")}`);
3774
3776
  },
3775
3777
  y ? 573 : 0
3776
- ), p == 0 || p == 100 ? (B = "0px", A = "0px", v = p == 100 ? "3px" : "0px") : (B = `${f.offsetHeight}px`, H = B, A = `${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", A), g.style.setProperty("--stepBarBorderRadius", v);
3777
- }, Nt = () => {
3778
- r(4, O = l == "active" ? "" : "inactive");
3778
+ ), 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"), g.style.setProperty("--parentElementHeight", H), d.style.setProperty("--currentStep", p + "%"), d.style.setProperty("--triangleHeight", B), d.style.setProperty("--halfOfTriangleHeight", S), d.style.setProperty("--stepBarBorderRadius", v);
3779
+ }, wt = () => {
3780
+ r(4, N = l == "active" ? "" : "inactive");
3779
3781
  };
3780
3782
  function It(p) {
3781
- J[p ? "unshift" : "push"](() => {
3782
- x = p, r(1, x);
3783
+ q[p ? "unshift" : "push"](() => {
3784
+ g = p, r(1, g);
3783
3785
  });
3784
3786
  }
3785
- function wt(p) {
3786
- J[p ? "unshift" : "push"](() => {
3787
- g = p, r(2, g);
3787
+ function Lt(p) {
3788
+ q[p ? "unshift" : "push"](() => {
3789
+ d = p, r(2, d);
3788
3790
  });
3789
3791
  }
3790
- function Lt(p) {
3791
- J[p ? "unshift" : "push"](() => {
3792
+ function Ct(p) {
3793
+ q[p ? "unshift" : "push"](() => {
3792
3794
  f = p, r(0, f);
3793
3795
  });
3794
3796
  }
@@ -3797,17 +3799,17 @@ function Qn(e, t, r) {
3797
3799
  }, e.$$.update = () => {
3798
3800
  e.$$.dirty & /*triggerreset, total*/
3799
3801
  4160 && c && s && setTimeout(() => {
3800
- ee();
3802
+ te();
3801
3803
  }), e.$$.dirty & /*lang*/
3802
- 256 && o && M(), e.$$.dirty & /*status*/
3803
- 512 && l && Nt(), e.$$.dirty & /*translationurl*/
3804
- 1024 && u && P();
3804
+ 256 && o && $(), e.$$.dirty & /*status*/
3805
+ 512 && l && wt(), e.$$.dirty & /*translationurl*/
3806
+ 1024 && u && O();
3805
3807
  }, [
3806
3808
  f,
3807
- x,
3808
3809
  g,
3810
+ d,
3809
3811
  y,
3810
- O,
3812
+ N,
3811
3813
  i,
3812
3814
  s,
3813
3815
  a,
@@ -3817,18 +3819,18 @@ function Qn(e, t, r) {
3817
3819
  h,
3818
3820
  c,
3819
3821
  It,
3820
- wt,
3821
- Lt
3822
+ Lt,
3823
+ Ct
3822
3824
  ];
3823
3825
  }
3824
- class Jn extends er {
3826
+ class qn extends tr {
3825
3827
  constructor(t) {
3826
- super(), Yt(
3828
+ super(), Kt(
3827
3829
  this,
3828
3830
  t,
3831
+ Jn,
3829
3832
  Qn,
3830
- Zn,
3831
- rt,
3833
+ nt,
3832
3834
  {
3833
3835
  currentstep: 5,
3834
3836
  total: 6,
@@ -3839,59 +3841,59 @@ class Jn extends er {
3839
3841
  progressfractiondigit: 11,
3840
3842
  triggerreset: 12
3841
3843
  },
3842
- Wn
3844
+ Zn
3843
3845
  );
3844
3846
  }
3845
3847
  get currentstep() {
3846
3848
  return this.$$.ctx[5];
3847
3849
  }
3848
3850
  set currentstep(t) {
3849
- this.$$set({ currentstep: t }), S();
3851
+ this.$$set({ currentstep: t }), A();
3850
3852
  }
3851
3853
  get total() {
3852
3854
  return this.$$.ctx[6];
3853
3855
  }
3854
3856
  set total(t) {
3855
- this.$$set({ total: t }), S();
3857
+ this.$$set({ total: t }), A();
3856
3858
  }
3857
3859
  get showaspercent() {
3858
3860
  return this.$$.ctx[7];
3859
3861
  }
3860
3862
  set showaspercent(t) {
3861
- this.$$set({ showaspercent: t }), S();
3863
+ this.$$set({ showaspercent: t }), A();
3862
3864
  }
3863
3865
  get lang() {
3864
3866
  return this.$$.ctx[8];
3865
3867
  }
3866
3868
  set lang(t) {
3867
- this.$$set({ lang: t }), S();
3869
+ this.$$set({ lang: t }), A();
3868
3870
  }
3869
3871
  get status() {
3870
3872
  return this.$$.ctx[9];
3871
3873
  }
3872
3874
  set status(t) {
3873
- this.$$set({ status: t }), S();
3875
+ this.$$set({ status: t }), A();
3874
3876
  }
3875
3877
  get translationurl() {
3876
3878
  return this.$$.ctx[10];
3877
3879
  }
3878
3880
  set translationurl(t) {
3879
- this.$$set({ translationurl: t }), S();
3881
+ this.$$set({ translationurl: t }), A();
3880
3882
  }
3881
3883
  get progressfractiondigit() {
3882
3884
  return this.$$.ctx[11];
3883
3885
  }
3884
3886
  set progressfractiondigit(t) {
3885
- this.$$set({ progressfractiondigit: t }), S();
3887
+ this.$$set({ progressfractiondigit: t }), A();
3886
3888
  }
3887
3889
  get triggerreset() {
3888
3890
  return this.$$.ctx[12];
3889
3891
  }
3890
3892
  set triggerreset(t) {
3891
- this.$$set({ triggerreset: t }), S();
3893
+ this.$$set({ triggerreset: t }), A();
3892
3894
  }
3893
3895
  }
3894
- Kt(Jn, { currentstep: {}, total: {}, showaspercent: {}, lang: {}, status: {}, translationurl: {}, progressfractiondigit: {}, triggerreset: {} }, [], [], !0);
3896
+ er(qn, { currentstep: {}, total: {}, showaspercent: {}, lang: {}, status: {}, translationurl: {}, progressfractiondigit: {}, triggerreset: {} }, [], [], !0);
3895
3897
  export {
3896
- Jn as G
3898
+ qn as G
3897
3899
  };