@everymatrix/general-icon-progress-bar 1.65.1 → 1.65.3

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