@everymatrix/casino-categories 1.77.20 → 1.77.22

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,29 +1,29 @@
1
- import "../stencil/ui-image-BY8ZO6br.js";
1
+ import "../stencil/ui-image-CHeV8e9p.js";
2
2
  function N() {
3
3
  }
4
- function pt(e) {
4
+ function bt(e) {
5
5
  return e();
6
6
  }
7
- function We() {
7
+ function Qe() {
8
8
  return /* @__PURE__ */ Object.create(null);
9
9
  }
10
- function ae(e) {
11
- e.forEach(pt);
10
+ function ue(e) {
11
+ e.forEach(bt);
12
12
  }
13
- function ke(e) {
13
+ function Xe(e) {
14
14
  return typeof e == "function";
15
15
  }
16
- function dt(e, t) {
16
+ function yt(e, t) {
17
17
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
18
18
  }
19
- let le;
20
- function de(e, t) {
21
- return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
19
+ let fe;
20
+ function be(e, t) {
21
+ return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
22
22
  }
23
- function zt(e) {
23
+ function Zt(e) {
24
24
  return Object.keys(e).length === 0;
25
25
  }
26
- function bt(e, ...t) {
26
+ function _t(e, ...t) {
27
27
  if (e == null) {
28
28
  for (const n of t)
29
29
  n(void 0);
@@ -32,20 +32,20 @@ function bt(e, ...t) {
32
32
  const r = e.subscribe(...t);
33
33
  return r.unsubscribe ? () => r.unsubscribe() : r;
34
34
  }
35
- function Wt(e, t, r) {
36
- e.$$.on_destroy.push(bt(t, r));
35
+ function Qt(e, t, r) {
36
+ e.$$.on_destroy.push(_t(t, r));
37
37
  }
38
- function v(e, t) {
38
+ function x(e, t) {
39
39
  e.appendChild(t);
40
40
  }
41
- function Zt(e, t, r) {
42
- const n = Qt(e);
41
+ function Jt(e, t, r) {
42
+ const n = qt(e);
43
43
  if (!n.getElementById(t)) {
44
- const i = S("style");
45
- i.id = t, i.textContent = r, Jt(n, i);
44
+ const i = B("style");
45
+ i.id = t, i.textContent = r, Yt(n, i);
46
46
  }
47
47
  }
48
- function Qt(e) {
48
+ function qt(e) {
49
49
  if (!e)
50
50
  return document;
51
51
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -55,33 +55,33 @@ function Qt(e) {
55
55
  t
56
56
  ) : e.ownerDocument;
57
57
  }
58
- function Jt(e, t) {
59
- return v(
58
+ function Yt(e, t) {
59
+ return x(
60
60
  /** @type {Document} */
61
61
  e.head || e,
62
62
  t
63
63
  ), t.sheet;
64
64
  }
65
- function Y(e, t, r) {
65
+ function K(e, t, r) {
66
66
  e.insertBefore(t, r || null);
67
67
  }
68
- function j(e) {
68
+ function k(e) {
69
69
  e.parentNode && e.parentNode.removeChild(e);
70
70
  }
71
- function Ze(e, t) {
71
+ function Je(e, t) {
72
72
  for (let r = 0; r < e.length; r += 1)
73
73
  e[r] && e[r].d(t);
74
74
  }
75
- function S(e) {
75
+ function B(e) {
76
76
  return document.createElement(e);
77
77
  }
78
- function U(e) {
78
+ function G(e) {
79
79
  return document.createTextNode(e);
80
80
  }
81
- function R() {
82
- return U(" ");
81
+ function U() {
82
+ return G(" ");
83
83
  }
84
- function _t(e, t, r, n) {
84
+ function Et(e, t, r, n) {
85
85
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
86
86
  }
87
87
  function L(e, t, r) {
@@ -91,14 +91,14 @@ function $(e, t, r) {
91
91
  const n = t.toLowerCase();
92
92
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : L(e, t, r);
93
93
  }
94
- function qt(e) {
94
+ function Kt(e) {
95
95
  return Array.from(e.childNodes);
96
96
  }
97
- function D(e, t) {
97
+ function F(e, t) {
98
98
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
99
99
  t);
100
100
  }
101
- function Yt(e) {
101
+ function er(e) {
102
102
  const t = {};
103
103
  return e.childNodes.forEach(
104
104
  /** @param {Element} node */
@@ -107,90 +107,90 @@ function Yt(e) {
107
107
  }
108
108
  ), t;
109
109
  }
110
- let ie;
111
- function ne(e) {
112
- ie = e;
110
+ let oe;
111
+ function ie(e) {
112
+ oe = e;
113
113
  }
114
- function Kt() {
115
- if (!ie)
114
+ function tr() {
115
+ if (!oe)
116
116
  throw new Error("Function called outside component initialization");
117
- return ie;
117
+ return oe;
118
118
  }
119
- function er(e) {
120
- Kt().$$.on_mount.push(e);
119
+ function rr(e) {
120
+ tr().$$.on_mount.push(e);
121
121
  }
122
- const z = [], Pe = [];
123
- let W = [];
124
- const Qe = [], tr = /* @__PURE__ */ Promise.resolve();
125
- let Ne = !1;
126
- function rr() {
127
- Ne || (Ne = !0, tr.then(I));
122
+ const W = [], Le = [];
123
+ let Z = [];
124
+ const qe = [], nr = /* @__PURE__ */ Promise.resolve();
125
+ let Ie = !1;
126
+ function ir() {
127
+ Ie || (Ie = !0, nr.then(I));
128
128
  }
129
- function Le(e) {
130
- W.push(e);
129
+ function Me(e) {
130
+ Z.push(e);
131
131
  }
132
- const Ce = /* @__PURE__ */ new Set();
133
- let V = 0;
132
+ const Se = /* @__PURE__ */ new Set();
133
+ let X = 0;
134
134
  function I() {
135
- if (V !== 0)
135
+ if (X !== 0)
136
136
  return;
137
- const e = ie;
137
+ const e = oe;
138
138
  do {
139
139
  try {
140
- for (; V < z.length; ) {
141
- const t = z[V];
142
- V++, ne(t), nr(t.$$);
140
+ for (; X < W.length; ) {
141
+ const t = W[X];
142
+ X++, ie(t), or(t.$$);
143
143
  }
144
144
  } catch (t) {
145
- throw z.length = 0, V = 0, t;
145
+ throw W.length = 0, X = 0, t;
146
146
  }
147
- for (ne(null), z.length = 0, V = 0; Pe.length; )
148
- Pe.pop()();
149
- for (let t = 0; t < W.length; t += 1) {
150
- const r = W[t];
151
- Ce.has(r) || (Ce.add(r), r());
147
+ for (ie(null), W.length = 0, X = 0; Le.length; )
148
+ Le.pop()();
149
+ for (let t = 0; t < Z.length; t += 1) {
150
+ const r = Z[t];
151
+ Se.has(r) || (Se.add(r), r());
152
152
  }
153
- W.length = 0;
154
- } while (z.length);
155
- for (; Qe.length; )
156
- Qe.pop()();
157
- Ne = !1, Ce.clear(), ne(e);
153
+ Z.length = 0;
154
+ } while (W.length);
155
+ for (; qe.length; )
156
+ qe.pop()();
157
+ Ie = !1, Se.clear(), ie(e);
158
158
  }
159
- function nr(e) {
159
+ function or(e) {
160
160
  if (e.fragment !== null) {
161
- e.update(), ae(e.before_update);
161
+ e.update(), ue(e.before_update);
162
162
  const t = e.dirty;
163
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
163
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
164
164
  }
165
165
  }
166
- function ir(e) {
166
+ function sr(e) {
167
167
  const t = [], r = [];
168
- W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
168
+ Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
169
169
  }
170
- const or = /* @__PURE__ */ new Set();
171
- function sr(e, t) {
172
- e && e.i && (or.delete(e), e.i(t));
170
+ const ar = /* @__PURE__ */ new Set();
171
+ function ur(e, t) {
172
+ e && e.i && (ar.delete(e), e.i(t));
173
173
  }
174
- function fe(e) {
174
+ function ce(e) {
175
175
  return e?.length !== void 0 ? e : Array.from(e);
176
176
  }
177
- function ar(e, t, r) {
177
+ function hr(e, t, r) {
178
178
  const { fragment: n, after_update: i } = e.$$;
179
- n && n.m(t, r), Le(() => {
180
- const o = e.$$.on_mount.map(pt).filter(ke);
181
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
182
- }), i.forEach(Le);
179
+ n && n.m(t, r), Me(() => {
180
+ const o = e.$$.on_mount.map(bt).filter(Xe);
181
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ue(o), e.$$.on_mount = [];
182
+ }), i.forEach(Me);
183
183
  }
184
- function ur(e, t) {
184
+ function lr(e, t) {
185
185
  const r = e.$$;
186
- r.fragment !== null && (ir(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
186
+ r.fragment !== null && (sr(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
187
187
  }
188
- function hr(e, t) {
189
- e.$$.dirty[0] === -1 && (z.push(e), rr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
188
+ function fr(e, t) {
189
+ e.$$.dirty[0] === -1 && (W.push(e), ir(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
190
190
  }
191
- function lr(e, t, r, n, i, o, s = null, u = [-1]) {
192
- const l = ie;
193
- ne(e);
191
+ function cr(e, t, r, n, i, o, s = null, u = [-1]) {
192
+ const l = oe;
193
+ ie(e);
194
194
  const a = e.$$ = {
195
195
  fragment: null,
196
196
  ctx: [],
@@ -198,7 +198,7 @@ function lr(e, t, r, n, i, o, s = null, u = [-1]) {
198
198
  props: o,
199
199
  update: N,
200
200
  not_equal: i,
201
- bound: We(),
201
+ bound: Qe(),
202
202
  // lifecycle
203
203
  on_mount: [],
204
204
  on_destroy: [],
@@ -207,7 +207,7 @@ function lr(e, t, r, n, i, o, s = null, u = [-1]) {
207
207
  after_update: [],
208
208
  context: new Map(t.context || (l ? l.$$.context : [])),
209
209
  // everything else
210
- callbacks: We(),
210
+ callbacks: Qe(),
211
211
  dirty: u,
212
212
  skip_bound: !1,
213
213
  root: t.target || l.$$.root
@@ -216,19 +216,19 @@ function lr(e, t, r, n, i, o, s = null, u = [-1]) {
216
216
  let h = !1;
217
217
  if (a.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
218
218
  const d = p.length ? p[0] : f;
219
- return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), h && hr(e, c)), f;
220
- }) : [], a.update(), h = !0, ae(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
219
+ return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), h && fr(e, c)), f;
220
+ }) : [], a.update(), h = !0, ue(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
221
221
  if (t.hydrate) {
222
- const c = qt(t.target);
223
- a.fragment && a.fragment.l(c), c.forEach(j);
222
+ const c = Kt(t.target);
223
+ a.fragment && a.fragment.l(c), c.forEach(k);
224
224
  } else
225
225
  a.fragment && a.fragment.c();
226
- t.intro && sr(e.$$.fragment), ar(e, t.target, t.anchor), I();
226
+ t.intro && ur(e.$$.fragment), hr(e, t.target, t.anchor), I();
227
227
  }
228
- ne(l);
228
+ ie(l);
229
229
  }
230
- let yt;
231
- typeof HTMLElement == "function" && (yt = class extends HTMLElement {
230
+ let xt;
231
+ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
232
232
  /** The Svelte component constructor */
233
233
  $$ctor;
234
234
  /** Slots */
@@ -270,29 +270,29 @@ typeof HTMLElement == "function" && (yt = class extends HTMLElement {
270
270
  let o;
271
271
  return {
272
272
  c: function() {
273
- o = S("slot"), i !== "default" && L(o, "name", i);
273
+ o = B("slot"), i !== "default" && L(o, "name", i);
274
274
  },
275
275
  /**
276
276
  * @param {HTMLElement} target
277
277
  * @param {HTMLElement} [anchor]
278
278
  */
279
279
  m: function(l, a) {
280
- Y(l, o, a);
280
+ K(l, o, a);
281
281
  },
282
282
  d: function(l) {
283
- l && j(o);
283
+ l && k(o);
284
284
  }
285
285
  };
286
286
  };
287
287
  };
288
288
  if (await Promise.resolve(), !this.$$cn || this.$$c)
289
289
  return;
290
- const t = {}, r = Yt(this);
290
+ const t = {}, r = er(this);
291
291
  for (const i of this.$$s)
292
292
  i in r && (t[i] = [e(i)]);
293
293
  for (const i of this.attributes) {
294
294
  const o = this.$$g_p(i.name);
295
- o in this.$$d || (this.$$d[o] = ge(o, i.value, this.$$p_d, "toProp"));
295
+ o in this.$$d || (this.$$d[o] = me(o, i.value, this.$$p_d, "toProp"));
296
296
  }
297
297
  for (const i in this.$$p_d)
298
298
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -310,7 +310,7 @@ typeof HTMLElement == "function" && (yt = class extends HTMLElement {
310
310
  this.$$r = !0;
311
311
  for (const i in this.$$p_d)
312
312
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
313
- const o = ge(
313
+ const o = me(
314
314
  i,
315
315
  this.$$d[i],
316
316
  this.$$p_d,
@@ -332,7 +332,7 @@ typeof HTMLElement == "function" && (yt = class extends HTMLElement {
332
332
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
333
333
  // and setting attributes through setAttribute etc, this is helpful
334
334
  attributeChangedCallback(e, t, r) {
335
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ge(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
335
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = me(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
336
336
  }
337
337
  disconnectedCallback() {
338
338
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -345,7 +345,7 @@ typeof HTMLElement == "function" && (yt = class extends HTMLElement {
345
345
  ) || e;
346
346
  }
347
347
  });
348
- function ge(e, t, r, n) {
348
+ function me(e, t, r, n) {
349
349
  const i = r[e]?.type;
350
350
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
351
351
  return t;
@@ -374,8 +374,8 @@ function ge(e, t, r, n) {
374
374
  return t;
375
375
  }
376
376
  }
377
- function fr(e, t, r, n, i, o) {
378
- let s = class extends yt {
377
+ function gr(e, t, r, n, i, o) {
378
+ let s = class extends xt {
379
379
  constructor() {
380
380
  super(e, r, i), this.$$p_d = t;
381
381
  }
@@ -391,7 +391,7 @@ function fr(e, t, r, n, i, o) {
391
391
  return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
392
392
  },
393
393
  set(l) {
394
- l = ge(u, l, t), this.$$d[u] = l, this.$$c?.$set({ [u]: l });
394
+ l = me(u, l, t), this.$$d[u] = l, this.$$c?.$set({ [u]: l });
395
395
  }
396
396
  });
397
397
  }), n.forEach((u) => {
@@ -403,7 +403,7 @@ function fr(e, t, r, n, i, o) {
403
403
  }), e.element = /** @type {any} */
404
404
  s, s;
405
405
  }
406
- class cr {
406
+ class mr {
407
407
  /**
408
408
  * ### PRIVATE API
409
409
  *
@@ -422,7 +422,7 @@ class cr {
422
422
  $$set = void 0;
423
423
  /** @returns {void} */
424
424
  $destroy() {
425
- ur(this, 1), this.$destroy = N;
425
+ lr(this, 1), this.$destroy = N;
426
426
  }
427
427
  /**
428
428
  * @template {Extract<keyof Events, string>} K
@@ -431,7 +431,7 @@ class cr {
431
431
  * @returns {() => void}
432
432
  */
433
433
  $on(t, r) {
434
- if (!ke(r))
434
+ if (!Xe(r))
435
435
  return N;
436
436
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
437
437
  return n.push(r), () => {
@@ -444,29 +444,29 @@ class cr {
444
444
  * @returns {void}
445
445
  */
446
446
  $set(t) {
447
- this.$$set && !zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
447
+ this.$$set && !Zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
448
448
  }
449
449
  }
450
- const gr = "4";
451
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gr);
452
- const X = [];
453
- function mr(e, t) {
450
+ const pr = "4";
451
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pr);
452
+ const z = [];
453
+ function dr(e, t) {
454
454
  return {
455
- subscribe: ye(e, t).subscribe
455
+ subscribe: xe(e, t).subscribe
456
456
  };
457
457
  }
458
- function ye(e, t = N) {
458
+ function xe(e, t = N) {
459
459
  let r;
460
460
  const n = /* @__PURE__ */ new Set();
461
461
  function i(u) {
462
- if (dt(e, u) && (e = u, r)) {
463
- const l = !X.length;
462
+ if (yt(e, u) && (e = u, r)) {
463
+ const l = !z.length;
464
464
  for (const a of n)
465
- a[1](), X.push(a, e);
465
+ a[1](), z.push(a, e);
466
466
  if (l) {
467
- for (let a = 0; a < X.length; a += 2)
468
- X[a][0](X[a + 1]);
469
- X.length = 0;
467
+ for (let a = 0; a < z.length; a += 2)
468
+ z[a][0](z[a + 1]);
469
+ z.length = 0;
470
470
  }
471
471
  }
472
472
  }
@@ -481,12 +481,12 @@ function ye(e, t = N) {
481
481
  }
482
482
  return { set: i, update: o, subscribe: s };
483
483
  }
484
- function K(e, t, r) {
484
+ function ee(e, t, r) {
485
485
  const n = !Array.isArray(e), i = n ? [e] : e;
486
486
  if (!i.every(Boolean))
487
487
  throw new Error("derived() expects stores as input, got a falsy value");
488
488
  const o = t.length < 2;
489
- return mr(r, (s, u) => {
489
+ return dr(r, (s, u) => {
490
490
  let l = !1;
491
491
  const a = [];
492
492
  let h = 0, c = N;
@@ -495,9 +495,9 @@ function K(e, t, r) {
495
495
  return;
496
496
  c();
497
497
  const d = t(n ? a[0] : a, s, u);
498
- o ? s(d) : c = ke(d) ? d : N;
498
+ o ? s(d) : c = Xe(d) ? d : N;
499
499
  }, p = i.map(
500
- (d, g) => bt(
500
+ (d, g) => _t(
501
501
  d,
502
502
  (E) => {
503
503
  a[g] = E, h &= ~(1 << g), l && f();
@@ -508,126 +508,112 @@ function K(e, t, r) {
508
508
  )
509
509
  );
510
510
  return l = !0, f(), function() {
511
- ae(p), c(), l = !1;
511
+ ue(p), c(), l = !1;
512
512
  };
513
513
  });
514
514
  }
515
- function pr(e) {
515
+ function br(e) {
516
516
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
517
517
  }
518
- var dr = function(t) {
519
- return br(t) && !_r(t);
518
+ var yr = function(t) {
519
+ return _r(t) && !Er(t);
520
520
  };
521
- function br(e) {
521
+ function _r(e) {
522
522
  return !!e && typeof e == "object";
523
523
  }
524
- function _r(e) {
524
+ function Er(e) {
525
525
  var t = Object.prototype.toString.call(e);
526
- return t === "[object RegExp]" || t === "[object Date]" || Er(e);
526
+ return t === "[object RegExp]" || t === "[object Date]" || Tr(e);
527
527
  }
528
- var yr = typeof Symbol == "function" && Symbol.for, xr = yr ? Symbol.for("react.element") : 60103;
529
- function Er(e) {
530
- return e.$$typeof === xr;
528
+ var xr = typeof Symbol == "function" && Symbol.for, vr = xr ? Symbol.for("react.element") : 60103;
529
+ function Tr(e) {
530
+ return e.$$typeof === vr;
531
531
  }
532
- function vr(e) {
532
+ function Cr(e) {
533
533
  return Array.isArray(e) ? [] : {};
534
534
  }
535
- function oe(e, t) {
536
- return t.clone !== !1 && t.isMergeableObject(e) ? Z(vr(e), e, t) : e;
535
+ function se(e, t) {
536
+ return t.clone !== !1 && t.isMergeableObject(e) ? Q(Cr(e), e, t) : e;
537
537
  }
538
- function Tr(e, t, r) {
538
+ function Hr(e, t, r) {
539
539
  return e.concat(t).map(function(n) {
540
- return oe(n, r);
540
+ return se(n, r);
541
541
  });
542
542
  }
543
- function Cr(e, t) {
543
+ function Sr(e, t) {
544
544
  if (!t.customMerge)
545
- return Z;
545
+ return Q;
546
546
  var r = t.customMerge(e);
547
- return typeof r == "function" ? r : Z;
547
+ return typeof r == "function" ? r : Q;
548
548
  }
549
- function Hr(e) {
549
+ function Ar(e) {
550
550
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
551
551
  return Object.propertyIsEnumerable.call(e, t);
552
552
  }) : [];
553
553
  }
554
- function Je(e) {
555
- return Object.keys(e).concat(Hr(e));
554
+ function Ye(e) {
555
+ return Object.keys(e).concat(Ar(e));
556
556
  }
557
- function xt(e, t) {
557
+ function vt(e, t) {
558
558
  try {
559
559
  return t in e;
560
560
  } catch {
561
561
  return !1;
562
562
  }
563
563
  }
564
- function Ar(e, t) {
565
- return xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
564
+ function Br(e, t) {
565
+ return vt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
566
566
  }
567
- function Br(e, t, r) {
567
+ function Or(e, t, r) {
568
568
  var n = {};
569
- return r.isMergeableObject(e) && Je(e).forEach(function(i) {
570
- n[i] = oe(e[i], r);
571
- }), Je(t).forEach(function(i) {
572
- Ar(e, i) || (xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Cr(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
569
+ return r.isMergeableObject(e) && Ye(e).forEach(function(i) {
570
+ n[i] = se(e[i], r);
571
+ }), Ye(t).forEach(function(i) {
572
+ Br(e, i) || (vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Sr(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
573
573
  }), n;
574
574
  }
575
- function Z(e, t, r) {
576
- r = r || {}, r.arrayMerge = r.arrayMerge || Tr, r.isMergeableObject = r.isMergeableObject || dr, r.cloneUnlessOtherwiseSpecified = oe;
575
+ function Q(e, t, r) {
576
+ r = r || {}, r.arrayMerge = r.arrayMerge || Hr, r.isMergeableObject = r.isMergeableObject || yr, r.cloneUnlessOtherwiseSpecified = se;
577
577
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
578
- return o ? n ? r.arrayMerge(e, t, r) : Br(e, t, r) : oe(t, r);
578
+ return o ? n ? r.arrayMerge(e, t, r) : Or(e, t, r) : se(t, r);
579
579
  }
580
- Z.all = function(t, r) {
580
+ Q.all = function(t, r) {
581
581
  if (!Array.isArray(t))
582
582
  throw new Error("first argument should be an array");
583
583
  return t.reduce(function(n, i) {
584
- return Z(n, i, r);
584
+ return Q(n, i, r);
585
585
  }, {});
586
586
  };
587
- var Sr = Z, wr = Sr;
588
- const Or = /* @__PURE__ */ pr(wr);
589
- /*! *****************************************************************************
590
- Copyright (c) Microsoft Corporation.
591
-
592
- Permission to use, copy, modify, and/or distribute this software for any
593
- purpose with or without fee is hereby granted.
594
-
595
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
596
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
597
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
598
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
599
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
600
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
601
- PERFORMANCE OF THIS SOFTWARE.
602
- ***************************************************************************** */
603
- var Ie = function(e, t) {
604
- return Ie = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
587
+ var wr = Q, Pr = wr;
588
+ const Nr = /* @__PURE__ */ br(Pr);
589
+ var $e = function(e, t) {
590
+ return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
605
591
  r.__proto__ = n;
606
592
  } || function(r, n) {
607
593
  for (var i in n)
608
594
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
609
- }, Ie(e, t);
595
+ }, $e(e, t);
610
596
  };
611
- function xe(e, t) {
597
+ function ve(e, t) {
612
598
  if (typeof t != "function" && t !== null)
613
599
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
614
- Ie(e, t);
600
+ $e(e, t);
615
601
  function r() {
616
602
  this.constructor = e;
617
603
  }
618
604
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
619
605
  }
620
- var x = function() {
621
- return x = Object.assign || function(t) {
606
+ var R = function() {
607
+ return R = Object.assign || function(t) {
622
608
  for (var r, n = 1, i = arguments.length; n < i; n++) {
623
609
  r = arguments[n];
624
610
  for (var o in r)
625
611
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
626
612
  }
627
613
  return t;
628
- }, x.apply(this, arguments);
614
+ }, R.apply(this, arguments);
629
615
  };
630
- function Pr(e, t) {
616
+ function Lr(e, t) {
631
617
  var r = {};
632
618
  for (var n in e)
633
619
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -636,43 +622,43 @@ function Pr(e, t) {
636
622
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
637
623
  return r;
638
624
  }
639
- function He(e, t, r) {
640
- if (arguments.length === 2)
625
+ function Ae(e, t, r) {
626
+ if (r || arguments.length === 2)
641
627
  for (var n = 0, i = t.length, o; n < i; n++)
642
628
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
643
- return e.concat(o || t);
629
+ return e.concat(o || Array.prototype.slice.call(t));
644
630
  }
645
- function Ae(e, t) {
646
- var r = t && t.cache ? t.cache : Ur, n = t && t.serializer ? t.serializer : $r, i = t && t.strategy ? t.strategy : Ir;
631
+ function Be(e, t) {
632
+ var r = t && t.cache ? t.cache : Dr, n = t && t.serializer ? t.serializer : Ur, i = t && t.strategy ? t.strategy : $r;
647
633
  return i(e, {
648
634
  cache: r,
649
635
  serializer: n
650
636
  });
651
637
  }
652
- function Nr(e) {
638
+ function Ir(e) {
653
639
  return e == null || typeof e == "number" || typeof e == "boolean";
654
640
  }
655
- function Lr(e, t, r, n) {
656
- var i = Nr(n) ? n : r(n), o = t.get(i);
641
+ function Mr(e, t, r, n) {
642
+ var i = Ir(n) ? n : r(n), o = t.get(i);
657
643
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
658
644
  }
659
- function Et(e, t, r) {
645
+ function Tt(e, t, r) {
660
646
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
661
647
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
662
648
  }
663
- function vt(e, t, r, n, i) {
649
+ function Ct(e, t, r, n, i) {
664
650
  return r.bind(t, e, n, i);
665
651
  }
666
- function Ir(e, t) {
667
- var r = e.length === 1 ? Lr : Et;
668
- return vt(e, this, r, t.cache.create(), t.serializer);
652
+ function $r(e, t) {
653
+ var r = e.length === 1 ? Mr : Tt;
654
+ return Ct(e, this, r, t.cache.create(), t.serializer);
669
655
  }
670
- function Mr(e, t) {
671
- return vt(e, this, Et, t.cache.create(), t.serializer);
656
+ function Rr(e, t) {
657
+ return Ct(e, this, Tt, t.cache.create(), t.serializer);
672
658
  }
673
- var $r = function() {
659
+ var Ur = function() {
674
660
  return JSON.stringify(arguments);
675
- }, Rr = (
661
+ }, Gr = (
676
662
  /** @class */
677
663
  function() {
678
664
  function e() {
@@ -684,61 +670,71 @@ var $r = function() {
684
670
  this.cache[t] = r;
685
671
  }, e;
686
672
  }()
687
- ), Ur = {
673
+ ), Dr = {
688
674
  create: function() {
689
- return new Rr();
675
+ return new Gr();
690
676
  }
691
- }, Be = {
692
- variadic: Mr
693
- }, _;
677
+ }, Oe = {
678
+ variadic: Rr
679
+ }, ye = function() {
680
+ return ye = Object.assign || function(t) {
681
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
682
+ r = arguments[n];
683
+ for (var o in r)
684
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
685
+ }
686
+ return t;
687
+ }, ye.apply(this, arguments);
688
+ };
689
+ var y;
694
690
  (function(e) {
695
691
  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";
696
- })(_ || (_ = {}));
697
- var T;
692
+ })(y || (y = {}));
693
+ var v;
698
694
  (function(e) {
699
695
  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";
700
- })(T || (T = {}));
701
- var Q;
696
+ })(v || (v = {}));
697
+ var J;
702
698
  (function(e) {
703
699
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
704
- })(Q || (Q = {}));
705
- function qe(e) {
706
- return e.type === T.literal;
707
- }
708
- function Gr(e) {
709
- return e.type === T.argument;
710
- }
711
- function Tt(e) {
712
- return e.type === T.number;
700
+ })(J || (J = {}));
701
+ function Ke(e) {
702
+ return e.type === v.literal;
713
703
  }
714
- function Ct(e) {
715
- return e.type === T.date;
704
+ function Fr(e) {
705
+ return e.type === v.argument;
716
706
  }
717
707
  function Ht(e) {
718
- return e.type === T.time;
708
+ return e.type === v.number;
709
+ }
710
+ function St(e) {
711
+ return e.type === v.date;
719
712
  }
720
713
  function At(e) {
721
- return e.type === T.select;
714
+ return e.type === v.time;
722
715
  }
723
716
  function Bt(e) {
724
- return e.type === T.plural;
717
+ return e.type === v.select;
725
718
  }
726
- function Dr(e) {
727
- return e.type === T.pound;
719
+ function Ot(e) {
720
+ return e.type === v.plural;
728
721
  }
729
- function St(e) {
730
- return e.type === T.tag;
722
+ function jr(e) {
723
+ return e.type === v.pound;
731
724
  }
732
725
  function wt(e) {
733
- return !!(e && typeof e == "object" && e.type === Q.number);
726
+ return e.type === v.tag;
734
727
  }
735
- function Me(e) {
736
- return !!(e && typeof e == "object" && e.type === Q.dateTime);
728
+ function Pt(e) {
729
+ return !!(e && typeof e == "object" && e.type === J.number);
737
730
  }
738
- var Ot = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
739
- function jr(e) {
731
+ function Re(e) {
732
+ return !!(e && typeof e == "object" && e.type === J.dateTime);
733
+ }
734
+ var Nt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, kr = /(?:[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;
735
+ function Vr(e) {
740
736
  var t = {};
741
- return e.replace(Fr, function(r) {
737
+ return e.replace(kr, function(r) {
742
738
  var n = r.length;
743
739
  switch (r[0]) {
744
740
  case "G":
@@ -827,11 +823,21 @@ function jr(e) {
827
823
  return "";
828
824
  }), t;
829
825
  }
830
- var kr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
831
- function Vr(e) {
826
+ var C = function() {
827
+ return C = Object.assign || function(t) {
828
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
829
+ r = arguments[n];
830
+ for (var o in r)
831
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
832
+ }
833
+ return t;
834
+ }, C.apply(this, arguments);
835
+ };
836
+ var Xr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
837
+ function zr(e) {
832
838
  if (e.length === 0)
833
839
  throw new Error("Number skeleton cannot be empty");
834
- for (var t = e.split(kr).filter(function(f) {
840
+ for (var t = e.split(Xr).filter(function(f) {
835
841
  return f.length > 0;
836
842
  }), r = [], n = 0, i = t; n < i.length; n++) {
837
843
  var o = i[n], s = o.split("/");
@@ -846,17 +852,17 @@ function Vr(e) {
846
852
  }
847
853
  return r;
848
854
  }
849
- function Xr(e) {
855
+ function Wr(e) {
850
856
  return e.replace(/^(.*?)-/, "");
851
857
  }
852
- var Ye = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Pt = /^(@+)?(\+|#+)?[rs]?$/g, zr = /(\*)(0+)|(#+)(0+)|(0+)/g, Nt = /^(0+)$/;
853
- function Ke(e) {
858
+ var et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Lt = /^(@+)?(\+|#+)?[rs]?$/g, Zr = /(\*)(0+)|(#+)(0+)|(0+)/g, It = /^(0+)$/;
859
+ function tt(e) {
854
860
  var t = {};
855
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Pt, function(r, n, i) {
861
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Lt, function(r, n, i) {
856
862
  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)), "";
857
863
  }), t;
858
864
  }
859
- function Lt(e) {
865
+ function Mt(e) {
860
866
  switch (e) {
861
867
  case "sign-auto":
862
868
  return {
@@ -896,7 +902,7 @@ function Lt(e) {
896
902
  };
897
903
  }
898
904
  }
899
- function Wr(e) {
905
+ function Qr(e) {
900
906
  var t;
901
907
  if (e[0] === "E" && e[1] === "E" ? (t = {
902
908
  notation: "engineering"
@@ -904,17 +910,17 @@ function Wr(e) {
904
910
  notation: "scientific"
905
911
  }, e = e.slice(1)), t) {
906
912
  var r = e.slice(0, 2);
907
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Nt.test(e))
913
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !It.test(e))
908
914
  throw new Error("Malformed concise eng/scientific notation");
909
915
  t.minimumIntegerDigits = e.length;
910
916
  }
911
917
  return t;
912
918
  }
913
- function et(e) {
914
- var t = {}, r = Lt(e);
919
+ function rt(e) {
920
+ var t = {}, r = Mt(e);
915
921
  return r || t;
916
922
  }
917
- function Zr(e) {
923
+ function Jr(e) {
918
924
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
919
925
  var i = n[r];
920
926
  switch (i.stem) {
@@ -938,7 +944,7 @@ function Zr(e) {
938
944
  continue;
939
945
  case "measure-unit":
940
946
  case "unit":
941
- t.style = "unit", t.unit = Xr(i.options[0]);
947
+ t.style = "unit", t.unit = Wr(i.options[0]);
942
948
  continue;
943
949
  case "compact-short":
944
950
  case "K":
@@ -949,13 +955,13 @@ function Zr(e) {
949
955
  t.notation = "compact", t.compactDisplay = "long";
950
956
  continue;
951
957
  case "scientific":
952
- t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
953
- return x(x({}, l), et(a));
958
+ t = C(C(C({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
959
+ return C(C({}, l), rt(a));
954
960
  }, {}));
955
961
  continue;
956
962
  case "engineering":
957
- t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
958
- return x(x({}, l), et(a));
963
+ t = C(C(C({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
964
+ return C(C({}, l), rt(a));
959
965
  }, {}));
960
966
  continue;
961
967
  case "notation-simple":
@@ -1000,7 +1006,7 @@ function Zr(e) {
1000
1006
  case "integer-width":
1001
1007
  if (i.options.length > 1)
1002
1008
  throw new RangeError("integer-width stems only accept a single optional option");
1003
- i.options[0].replace(zr, function(l, a, h, c, f, p) {
1009
+ i.options[0].replace(Zr, function(l, a, h, c, f, p) {
1004
1010
  if (a)
1005
1011
  t.minimumIntegerDigits = h.length;
1006
1012
  else {
@@ -1013,32 +1019,32 @@ function Zr(e) {
1013
1019
  });
1014
1020
  continue;
1015
1021
  }
1016
- if (Nt.test(i.stem)) {
1022
+ if (It.test(i.stem)) {
1017
1023
  t.minimumIntegerDigits = i.stem.length;
1018
1024
  continue;
1019
1025
  }
1020
- if (Ye.test(i.stem)) {
1026
+ if (et.test(i.stem)) {
1021
1027
  if (i.options.length > 1)
1022
1028
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1023
- i.stem.replace(Ye, function(l, a, h, c, f, p) {
1029
+ i.stem.replace(et, function(l, a, h, c, f, p) {
1024
1030
  return h === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1025
1031
  });
1026
1032
  var o = i.options[0];
1027
- o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), Ke(o)));
1033
+ o === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = C(C({}, t), tt(o)));
1028
1034
  continue;
1029
1035
  }
1030
- if (Pt.test(i.stem)) {
1031
- t = x(x({}, t), Ke(i.stem));
1036
+ if (Lt.test(i.stem)) {
1037
+ t = C(C({}, t), tt(i.stem));
1032
1038
  continue;
1033
1039
  }
1034
- var s = Lt(i.stem);
1035
- s && (t = x(x({}, t), s));
1036
- var u = Wr(i.stem);
1037
- u && (t = x(x({}, t), u));
1040
+ var s = Mt(i.stem);
1041
+ s && (t = C(C({}, t), s));
1042
+ var u = Qr(i.stem);
1043
+ u && (t = C(C({}, t), u));
1038
1044
  }
1039
1045
  return t;
1040
1046
  }
1041
- var ce = {
1047
+ var ge = {
1042
1048
  "001": [
1043
1049
  "H",
1044
1050
  "h"
@@ -2453,13 +2459,13 @@ var ce = {
2453
2459
  "h"
2454
2460
  ]
2455
2461
  };
2456
- function Qr(e, t) {
2462
+ function qr(e, t) {
2457
2463
  for (var r = "", n = 0; n < e.length; n++) {
2458
2464
  var i = e.charAt(n);
2459
2465
  if (i === "j") {
2460
2466
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2461
2467
  o++, n++;
2462
- var s = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), l = "a", a = Jr(t);
2468
+ var s = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), l = "a", a = Yr(t);
2463
2469
  for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
2464
2470
  r += l;
2465
2471
  for (; s-- > 0; )
@@ -2469,7 +2475,7 @@ function Qr(e, t) {
2469
2475
  }
2470
2476
  return r;
2471
2477
  }
2472
- function Jr(e) {
2478
+ function Yr(e) {
2473
2479
  var t = e.hourCycle;
2474
2480
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2475
2481
  e.hourCycles && // @ts-ignore
@@ -2488,23 +2494,23 @@ function Jr(e) {
2488
2494
  }
2489
2495
  var r = e.language, n;
2490
2496
  r !== "root" && (n = e.maximize().region);
2491
- var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
2497
+ var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2492
2498
  return i[0];
2493
2499
  }
2494
- var Se, qr = new RegExp("^".concat(Ot.source, "*")), Yr = new RegExp("".concat(Ot.source, "*$"));
2495
- function y(e, t) {
2500
+ var we, Kr = new RegExp("^".concat(Nt.source, "*")), en = new RegExp("".concat(Nt.source, "*$"));
2501
+ function _(e, t) {
2496
2502
  return { start: e, end: t };
2497
2503
  }
2498
- var Kr = !!String.prototype.startsWith && "_a".startsWith("a", 1), en = !!String.fromCodePoint, tn = !!Object.fromEntries, rn = !!String.prototype.codePointAt, nn = !!String.prototype.trimStart, on = !!String.prototype.trimEnd, sn = !!Number.isSafeInteger, an = sn ? Number.isSafeInteger : function(e) {
2504
+ var tn = !!String.prototype.startsWith && "_a".startsWith("a", 1), rn = !!String.fromCodePoint, nn = !!Object.fromEntries, on = !!String.prototype.codePointAt, sn = !!String.prototype.trimStart, an = !!String.prototype.trimEnd, un = !!Number.isSafeInteger, hn = un ? Number.isSafeInteger : function(e) {
2499
2505
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2500
- }, $e = !0;
2506
+ }, Ue = !0;
2501
2507
  try {
2502
- var un = Mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2503
- $e = ((Se = un.exec("a")) === null || Se === void 0 ? void 0 : Se[0]) === "a";
2508
+ var ln = Rt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2509
+ Ue = ((we = ln.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
2504
2510
  } catch {
2505
- $e = !1;
2511
+ Ue = !1;
2506
2512
  }
2507
- var tt = Kr ? (
2513
+ var nt = tn ? (
2508
2514
  // Native
2509
2515
  function(t, r, n) {
2510
2516
  return t.startsWith(r, n);
@@ -2514,7 +2520,7 @@ var tt = Kr ? (
2514
2520
  function(t, r, n) {
2515
2521
  return t.slice(n, n + r.length) === r;
2516
2522
  }
2517
- ), Re = en ? String.fromCodePoint : (
2523
+ ), Ge = rn ? String.fromCodePoint : (
2518
2524
  // IE11
2519
2525
  function() {
2520
2526
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2526,9 +2532,9 @@ var tt = Kr ? (
2526
2532
  }
2527
2533
  return n;
2528
2534
  }
2529
- ), rt = (
2535
+ ), it = (
2530
2536
  // native
2531
- tn ? Object.fromEntries : (
2537
+ nn ? Object.fromEntries : (
2532
2538
  // Ponyfill
2533
2539
  function(t) {
2534
2540
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2538,7 +2544,7 @@ var tt = Kr ? (
2538
2544
  return r;
2539
2545
  }
2540
2546
  )
2541
- ), It = rn ? (
2547
+ ), $t = on ? (
2542
2548
  // Native
2543
2549
  function(t, r) {
2544
2550
  return t.codePointAt(r);
@@ -2552,7 +2558,7 @@ var tt = Kr ? (
2552
2558
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2553
2559
  }
2554
2560
  }
2555
- ), hn = nn ? (
2561
+ ), fn = sn ? (
2556
2562
  // Native
2557
2563
  function(t) {
2558
2564
  return t.trimStart();
@@ -2560,9 +2566,9 @@ var tt = Kr ? (
2560
2566
  ) : (
2561
2567
  // Ponyfill
2562
2568
  function(t) {
2563
- return t.replace(qr, "");
2569
+ return t.replace(Kr, "");
2564
2570
  }
2565
- ), ln = on ? (
2571
+ ), cn = an ? (
2566
2572
  // Native
2567
2573
  function(t) {
2568
2574
  return t.trimEnd();
@@ -2570,32 +2576,32 @@ var tt = Kr ? (
2570
2576
  ) : (
2571
2577
  // Ponyfill
2572
2578
  function(t) {
2573
- return t.replace(Yr, "");
2579
+ return t.replace(en, "");
2574
2580
  }
2575
2581
  );
2576
- function Mt(e, t) {
2582
+ function Rt(e, t) {
2577
2583
  return new RegExp(e, t);
2578
2584
  }
2579
- var Ue;
2580
- if ($e) {
2581
- var nt = Mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2582
- Ue = function(t, r) {
2585
+ var De;
2586
+ if (Ue) {
2587
+ var ot = Rt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2588
+ De = function(t, r) {
2583
2589
  var n;
2584
- nt.lastIndex = r;
2585
- var i = nt.exec(t);
2590
+ ot.lastIndex = r;
2591
+ var i = ot.exec(t);
2586
2592
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2587
2593
  };
2588
2594
  } else
2589
- Ue = function(t, r) {
2595
+ De = function(t, r) {
2590
2596
  for (var n = []; ; ) {
2591
- var i = It(t, r);
2592
- if (i === void 0 || $t(i) || mn(i))
2597
+ var i = $t(t, r);
2598
+ if (i === void 0 || Ut(i) || dn(i))
2593
2599
  break;
2594
2600
  n.push(i), r += i >= 65536 ? 2 : 1;
2595
2601
  }
2596
- return Re.apply(void 0, n);
2602
+ return Ge.apply(void 0, n);
2597
2603
  };
2598
- var fn = (
2604
+ var gn = (
2599
2605
  /** @class */
2600
2606
  function() {
2601
2607
  function e(t, r) {
@@ -2619,14 +2625,14 @@ var fn = (
2619
2625
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2620
2626
  var u = this.clonePosition();
2621
2627
  this.bump(), i.push({
2622
- type: T.pound,
2623
- location: y(u, this.clonePosition())
2628
+ type: v.pound,
2629
+ location: _(u, this.clonePosition())
2624
2630
  });
2625
2631
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2626
2632
  if (n)
2627
2633
  break;
2628
- return this.error(_.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2629
- } else if (o === 60 && !this.ignoreTag && Ge(this.peek() || 0)) {
2634
+ return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2635
+ } else if (o === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
2630
2636
  var s = this.parseTag(t, r);
2631
2637
  if (s.err)
2632
2638
  return s;
@@ -2647,9 +2653,9 @@ var fn = (
2647
2653
  if (this.bumpSpace(), this.bumpIf("/>"))
2648
2654
  return {
2649
2655
  val: {
2650
- type: T.literal,
2656
+ type: v.literal,
2651
2657
  value: "<".concat(i, "/>"),
2652
- location: y(n, this.clonePosition())
2658
+ location: _(n, this.clonePosition())
2653
2659
  },
2654
2660
  err: null
2655
2661
  };
@@ -2659,25 +2665,25 @@ var fn = (
2659
2665
  return o;
2660
2666
  var s = o.val, u = this.clonePosition();
2661
2667
  if (this.bumpIf("</")) {
2662
- if (this.isEOF() || !Ge(this.char()))
2663
- return this.error(_.INVALID_TAG, y(u, this.clonePosition()));
2668
+ if (this.isEOF() || !Fe(this.char()))
2669
+ return this.error(y.INVALID_TAG, _(u, this.clonePosition()));
2664
2670
  var l = this.clonePosition(), a = this.parseTagName();
2665
- return i !== a ? this.error(_.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2671
+ return i !== a ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2666
2672
  val: {
2667
- type: T.tag,
2673
+ type: v.tag,
2668
2674
  value: i,
2669
2675
  children: s,
2670
- location: y(n, this.clonePosition())
2676
+ location: _(n, this.clonePosition())
2671
2677
  },
2672
2678
  err: null
2673
- } : this.error(_.INVALID_TAG, y(u, this.clonePosition())));
2679
+ } : this.error(y.INVALID_TAG, _(u, this.clonePosition())));
2674
2680
  } else
2675
- return this.error(_.UNCLOSED_TAG, y(n, this.clonePosition()));
2681
+ return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
2676
2682
  } else
2677
- return this.error(_.INVALID_TAG, y(n, this.clonePosition()));
2683
+ return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
2678
2684
  }, e.prototype.parseTagName = function() {
2679
2685
  var t = this.offset();
2680
- for (this.bump(); !this.isEOF() && gn(this.char()); )
2686
+ for (this.bump(); !this.isEOF() && pn(this.char()); )
2681
2687
  this.bump();
2682
2688
  return this.message.slice(t, this.offset());
2683
2689
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2699,14 +2705,14 @@ var fn = (
2699
2705
  }
2700
2706
  break;
2701
2707
  }
2702
- var l = y(n, this.clonePosition());
2708
+ var l = _(n, this.clonePosition());
2703
2709
  return {
2704
- val: { type: T.literal, value: i, location: l },
2710
+ val: { type: v.literal, value: i, location: l },
2705
2711
  err: null
2706
2712
  };
2707
2713
  }, e.prototype.tryParseLeftAngleBracket = function() {
2708
2714
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2709
- !cn(this.peek() || 0)) ? (this.bump(), "<") : null;
2715
+ !mn(this.peek() || 0)) ? (this.bump(), "<") : null;
2710
2716
  }, e.prototype.tryParseQuote = function(t) {
2711
2717
  if (this.isEOF() || this.char() !== 39)
2712
2718
  return null;
@@ -2740,49 +2746,49 @@ var fn = (
2740
2746
  r.push(n);
2741
2747
  this.bump();
2742
2748
  }
2743
- return Re.apply(void 0, r);
2749
+ return Ge.apply(void 0, r);
2744
2750
  }, e.prototype.tryParseUnquoted = function(t, r) {
2745
2751
  if (this.isEOF())
2746
2752
  return null;
2747
2753
  var n = this.char();
2748
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Re(n));
2754
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
2749
2755
  }, e.prototype.parseArgument = function(t, r) {
2750
2756
  var n = this.clonePosition();
2751
2757
  if (this.bump(), this.bumpSpace(), this.isEOF())
2752
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2758
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2753
2759
  if (this.char() === 125)
2754
- return this.bump(), this.error(_.EMPTY_ARGUMENT, y(n, this.clonePosition()));
2760
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
2755
2761
  var i = this.parseIdentifierIfPossible().value;
2756
2762
  if (!i)
2757
- return this.error(_.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2763
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2758
2764
  if (this.bumpSpace(), this.isEOF())
2759
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2765
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2760
2766
  switch (this.char()) {
2761
2767
  case 125:
2762
2768
  return this.bump(), {
2763
2769
  val: {
2764
- type: T.argument,
2770
+ type: v.argument,
2765
2771
  // value does not include the opening and closing braces.
2766
2772
  value: i,
2767
- location: y(n, this.clonePosition())
2773
+ location: _(n, this.clonePosition())
2768
2774
  },
2769
2775
  err: null
2770
2776
  };
2771
2777
  case 44:
2772
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2778
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2773
2779
  default:
2774
- return this.error(_.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2780
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2775
2781
  }
2776
2782
  }, e.prototype.parseIdentifierIfPossible = function() {
2777
- var t = this.clonePosition(), r = this.offset(), n = Ue(this.message, r), i = r + n.length;
2783
+ var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
2778
2784
  this.bumpTo(i);
2779
- var o = this.clonePosition(), s = y(t, o);
2785
+ var o = this.clonePosition(), s = _(t, o);
2780
2786
  return { value: n, location: s };
2781
2787
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2782
2788
  var o, s = this.clonePosition(), u = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2783
2789
  switch (u) {
2784
2790
  case "":
2785
- return this.error(_.EXPECT_ARGUMENT_TYPE, y(s, l));
2791
+ return this.error(y.EXPECT_ARGUMENT_TYPE, _(s, l));
2786
2792
  case "number":
2787
2793
  case "date":
2788
2794
  case "time": {
@@ -2793,44 +2799,44 @@ var fn = (
2793
2799
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2794
2800
  if (c.err)
2795
2801
  return c;
2796
- var f = ln(c.val);
2802
+ var f = cn(c.val);
2797
2803
  if (f.length === 0)
2798
- return this.error(_.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2799
- var p = y(h, this.clonePosition());
2804
+ return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2805
+ var p = _(h, this.clonePosition());
2800
2806
  a = { style: f, styleLocation: p };
2801
2807
  }
2802
2808
  var d = this.tryParseArgumentClose(i);
2803
2809
  if (d.err)
2804
2810
  return d;
2805
- var g = y(i, this.clonePosition());
2806
- if (a && tt(a?.style, "::", 0)) {
2807
- var E = hn(a.style.slice(2));
2811
+ var g = _(i, this.clonePosition());
2812
+ if (a && nt(a?.style, "::", 0)) {
2813
+ var E = fn(a.style.slice(2));
2808
2814
  if (u === "number") {
2809
2815
  var c = this.parseNumberSkeletonFromString(E, a.styleLocation);
2810
2816
  return c.err ? c : {
2811
- val: { type: T.number, value: n, location: g, style: c.val },
2817
+ val: { type: v.number, value: n, location: g, style: c.val },
2812
2818
  err: null
2813
2819
  };
2814
2820
  } else {
2815
2821
  if (E.length === 0)
2816
- return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
2822
+ return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
2817
2823
  var m = E;
2818
- this.locale && (m = Qr(E, this.locale));
2824
+ this.locale && (m = qr(E, this.locale));
2819
2825
  var f = {
2820
- type: Q.dateTime,
2826
+ type: J.dateTime,
2821
2827
  pattern: m,
2822
2828
  location: a.styleLocation,
2823
- parsedOptions: this.shouldParseSkeletons ? jr(m) : {}
2824
- }, C = u === "date" ? T.date : T.time;
2829
+ parsedOptions: this.shouldParseSkeletons ? Vr(m) : {}
2830
+ }, T = u === "date" ? v.date : v.time;
2825
2831
  return {
2826
- val: { type: C, value: n, location: g, style: f },
2832
+ val: { type: T, value: n, location: g, style: f },
2827
2833
  err: null
2828
2834
  };
2829
2835
  }
2830
2836
  }
2831
2837
  return {
2832
2838
  val: {
2833
- type: u === "number" ? T.number : u === "date" ? T.date : T.time,
2839
+ type: u === "number" ? v.number : u === "date" ? v.date : v.time,
2834
2840
  value: n,
2835
2841
  location: g,
2836
2842
  style: (o = a?.style) !== null && o !== void 0 ? o : null
@@ -2841,41 +2847,41 @@ var fn = (
2841
2847
  case "plural":
2842
2848
  case "selectordinal":
2843
2849
  case "select": {
2844
- var A = this.clonePosition();
2850
+ var S = this.clonePosition();
2845
2851
  if (this.bumpSpace(), !this.bumpIf(","))
2846
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, y(A, x({}, A)));
2852
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, ye({}, S)));
2847
2853
  this.bumpSpace();
2848
- var O = this.parseIdentifierIfPossible(), B = 0;
2849
- if (u !== "select" && O.value === "offset") {
2854
+ var w = this.parseIdentifierIfPossible(), A = 0;
2855
+ if (u !== "select" && w.value === "offset") {
2850
2856
  if (!this.bumpIf(":"))
2851
- return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
2857
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2852
2858
  this.bumpSpace();
2853
- var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2859
+ var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2854
2860
  if (c.err)
2855
2861
  return c;
2856
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), B = c.val;
2862
+ this.bumpSpace(), w = this.parseIdentifierIfPossible(), A = c.val;
2857
2863
  }
2858
- var H = this.tryParsePluralOrSelectOptions(t, u, r, O);
2864
+ var H = this.tryParsePluralOrSelectOptions(t, u, r, w);
2859
2865
  if (H.err)
2860
2866
  return H;
2861
2867
  var d = this.tryParseArgumentClose(i);
2862
2868
  if (d.err)
2863
2869
  return d;
2864
- var P = y(i, this.clonePosition());
2870
+ var P = _(i, this.clonePosition());
2865
2871
  return u === "select" ? {
2866
2872
  val: {
2867
- type: T.select,
2873
+ type: v.select,
2868
2874
  value: n,
2869
- options: rt(H.val),
2875
+ options: it(H.val),
2870
2876
  location: P
2871
2877
  },
2872
2878
  err: null
2873
2879
  } : {
2874
2880
  val: {
2875
- type: T.plural,
2881
+ type: v.plural,
2876
2882
  value: n,
2877
- options: rt(H.val),
2878
- offset: B,
2883
+ options: it(H.val),
2884
+ offset: A,
2879
2885
  pluralType: u === "plural" ? "cardinal" : "ordinal",
2880
2886
  location: P
2881
2887
  },
@@ -2883,10 +2889,10 @@ var fn = (
2883
2889
  };
2884
2890
  }
2885
2891
  default:
2886
- return this.error(_.INVALID_ARGUMENT_TYPE, y(s, l));
2892
+ return this.error(y.INVALID_ARGUMENT_TYPE, _(s, l));
2887
2893
  }
2888
2894
  }, e.prototype.tryParseArgumentClose = function(t) {
2889
- return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2895
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2890
2896
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2891
2897
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2892
2898
  var n = this.char();
@@ -2895,7 +2901,7 @@ var fn = (
2895
2901
  this.bump();
2896
2902
  var i = this.clonePosition();
2897
2903
  if (!this.bumpUntil("'"))
2898
- return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
2904
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
2899
2905
  this.bump();
2900
2906
  break;
2901
2907
  }
@@ -2925,16 +2931,16 @@ var fn = (
2925
2931
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2926
2932
  var n = [];
2927
2933
  try {
2928
- n = Vr(t);
2934
+ n = zr(t);
2929
2935
  } catch {
2930
- return this.error(_.INVALID_NUMBER_SKELETON, r);
2936
+ return this.error(y.INVALID_NUMBER_SKELETON, r);
2931
2937
  }
2932
2938
  return {
2933
2939
  val: {
2934
- type: Q.number,
2940
+ type: J.number,
2935
2941
  tokens: n,
2936
2942
  location: r,
2937
- parsedOptions: this.shouldParseSkeletons ? Zr(n) : {}
2943
+ parsedOptions: this.shouldParseSkeletons ? Jr(n) : {}
2938
2944
  },
2939
2945
  err: null
2940
2946
  };
@@ -2943,19 +2949,19 @@ var fn = (
2943
2949
  if (a.length === 0) {
2944
2950
  var c = this.clonePosition();
2945
2951
  if (r !== "select" && this.bumpIf("=")) {
2946
- var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
2952
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2947
2953
  if (f.err)
2948
2954
  return f;
2949
- h = y(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
2955
+ h = _(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
2950
2956
  } else
2951
2957
  break;
2952
2958
  }
2953
2959
  if (l.has(a))
2954
- return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2960
+ return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2955
2961
  a === "other" && (s = !0), this.bumpSpace();
2956
2962
  var p = this.clonePosition();
2957
2963
  if (!this.bumpIf("{"))
2958
- return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
2964
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
2959
2965
  var d = this.parseMessage(t + 1, r, n);
2960
2966
  if (d.err)
2961
2967
  return d;
@@ -2966,11 +2972,11 @@ var fn = (
2966
2972
  a,
2967
2973
  {
2968
2974
  value: d.val,
2969
- location: y(p, this.clonePosition())
2975
+ location: _(p, this.clonePosition())
2970
2976
  }
2971
2977
  ]), l.add(a), this.bumpSpace(), o = this.parseIdentifierIfPossible(), a = o.value, h = o.location;
2972
2978
  }
2973
- return u.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(_.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
2979
+ return u.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
2974
2980
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2975
2981
  var n = 1, i = this.clonePosition();
2976
2982
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -2981,8 +2987,8 @@ var fn = (
2981
2987
  else
2982
2988
  break;
2983
2989
  }
2984
- var l = y(i, this.clonePosition());
2985
- return o ? (s *= n, an(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
2990
+ var l = _(i, this.clonePosition());
2991
+ return o ? (s *= n, hn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
2986
2992
  }, e.prototype.offset = function() {
2987
2993
  return this.position.offset;
2988
2994
  }, e.prototype.isEOF = function() {
@@ -2997,7 +3003,7 @@ var fn = (
2997
3003
  var t = this.position.offset;
2998
3004
  if (t >= this.message.length)
2999
3005
  throw Error("out of bound");
3000
- var r = It(this.message, t);
3006
+ var r = $t(this.message, t);
3001
3007
  if (r === void 0)
3002
3008
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3003
3009
  return r;
@@ -3016,7 +3022,7 @@ var fn = (
3016
3022
  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);
3017
3023
  }
3018
3024
  }, e.prototype.bumpIf = function(t) {
3019
- if (tt(this.message, t, this.offset())) {
3025
+ if (nt(this.message, t, this.offset())) {
3020
3026
  for (var r = 0; r < t.length; r++)
3021
3027
  this.bump();
3022
3028
  return !0;
@@ -3038,7 +3044,7 @@ var fn = (
3038
3044
  break;
3039
3045
  }
3040
3046
  }, e.prototype.bumpSpace = function() {
3041
- for (; !this.isEOF() && $t(this.char()); )
3047
+ for (; !this.isEOF() && Ut(this.char()); )
3042
3048
  this.bump();
3043
3049
  }, e.prototype.peek = function() {
3044
3050
  if (this.isEOF())
@@ -3048,47 +3054,47 @@ var fn = (
3048
3054
  }, e;
3049
3055
  }()
3050
3056
  );
3051
- function Ge(e) {
3057
+ function Fe(e) {
3052
3058
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3053
3059
  }
3054
- function cn(e) {
3055
- return Ge(e) || e === 47;
3060
+ function mn(e) {
3061
+ return Fe(e) || e === 47;
3056
3062
  }
3057
- function gn(e) {
3063
+ function pn(e) {
3058
3064
  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;
3059
3065
  }
3060
- function $t(e) {
3066
+ function Ut(e) {
3061
3067
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3062
3068
  }
3063
- function mn(e) {
3069
+ function dn(e) {
3064
3070
  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;
3065
3071
  }
3066
- function De(e) {
3072
+ function je(e) {
3067
3073
  e.forEach(function(t) {
3068
- if (delete t.location, At(t) || Bt(t))
3074
+ if (delete t.location, Bt(t) || Ot(t))
3069
3075
  for (var r in t.options)
3070
- delete t.options[r].location, De(t.options[r].value);
3076
+ delete t.options[r].location, je(t.options[r].value);
3071
3077
  else
3072
- Tt(t) && wt(t.style) || (Ct(t) || Ht(t)) && Me(t.style) ? delete t.style.location : St(t) && De(t.children);
3078
+ Ht(t) && Pt(t.style) || (St(t) || At(t)) && Re(t.style) ? delete t.style.location : wt(t) && je(t.children);
3073
3079
  });
3074
3080
  }
3075
- function pn(e, t) {
3076
- t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3077
- var r = new fn(e, t).parse();
3081
+ function bn(e, t) {
3082
+ t === void 0 && (t = {}), t = ye({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3083
+ var r = new gn(e, t).parse();
3078
3084
  if (r.err) {
3079
- var n = SyntaxError(_[r.err.kind]);
3085
+ var n = SyntaxError(y[r.err.kind]);
3080
3086
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3081
3087
  }
3082
- return t?.captureLocation || De(r.val), r.val;
3088
+ return t?.captureLocation || je(r.val), r.val;
3083
3089
  }
3084
- var J;
3090
+ var q;
3085
3091
  (function(e) {
3086
3092
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3087
- })(J || (J = {}));
3088
- var Ee = (
3093
+ })(q || (q = {}));
3094
+ var Te = (
3089
3095
  /** @class */
3090
3096
  function(e) {
3091
- xe(t, e);
3097
+ ve(t, e);
3092
3098
  function t(r, n, i) {
3093
3099
  var o = e.call(this, r) || this;
3094
3100
  return o.code = n, o.originalMessage = i, o;
@@ -3097,155 +3103,155 @@ var Ee = (
3097
3103
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3098
3104
  }, t;
3099
3105
  }(Error)
3100
- ), it = (
3106
+ ), st = (
3101
3107
  /** @class */
3102
3108
  function(e) {
3103
- xe(t, e);
3109
+ ve(t, e);
3104
3110
  function t(r, n, i, o) {
3105
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3111
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
3106
3112
  }
3107
3113
  return t;
3108
- }(Ee)
3109
- ), dn = (
3114
+ }(Te)
3115
+ ), yn = (
3110
3116
  /** @class */
3111
3117
  function(e) {
3112
- xe(t, e);
3118
+ ve(t, e);
3113
3119
  function t(r, n, i) {
3114
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3120
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3115
3121
  }
3116
3122
  return t;
3117
- }(Ee)
3118
- ), bn = (
3123
+ }(Te)
3124
+ ), _n = (
3119
3125
  /** @class */
3120
3126
  function(e) {
3121
- xe(t, e);
3127
+ ve(t, e);
3122
3128
  function t(r, n) {
3123
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3129
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3124
3130
  }
3125
3131
  return t;
3126
- }(Ee)
3127
- ), w;
3132
+ }(Te)
3133
+ ), O;
3128
3134
  (function(e) {
3129
3135
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3130
- })(w || (w = {}));
3131
- function _n(e) {
3136
+ })(O || (O = {}));
3137
+ function En(e) {
3132
3138
  return e.length < 2 ? e : e.reduce(function(t, r) {
3133
3139
  var n = t[t.length - 1];
3134
- return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
3140
+ return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3135
3141
  }, []);
3136
3142
  }
3137
- function yn(e) {
3143
+ function xn(e) {
3138
3144
  return typeof e == "function";
3139
3145
  }
3140
- function me(e, t, r, n, i, o, s) {
3141
- if (e.length === 1 && qe(e[0]))
3146
+ function pe(e, t, r, n, i, o, s) {
3147
+ if (e.length === 1 && Ke(e[0]))
3142
3148
  return [
3143
3149
  {
3144
- type: w.literal,
3150
+ type: O.literal,
3145
3151
  value: e[0].value
3146
3152
  }
3147
3153
  ];
3148
3154
  for (var u = [], l = 0, a = e; l < a.length; l++) {
3149
3155
  var h = a[l];
3150
- if (qe(h)) {
3156
+ if (Ke(h)) {
3151
3157
  u.push({
3152
- type: w.literal,
3158
+ type: O.literal,
3153
3159
  value: h.value
3154
3160
  });
3155
3161
  continue;
3156
3162
  }
3157
- if (Dr(h)) {
3163
+ if (jr(h)) {
3158
3164
  typeof o == "number" && u.push({
3159
- type: w.literal,
3165
+ type: O.literal,
3160
3166
  value: r.getNumberFormat(t).format(o)
3161
3167
  });
3162
3168
  continue;
3163
3169
  }
3164
3170
  var c = h.value;
3165
3171
  if (!(i && c in i))
3166
- throw new bn(c, s);
3172
+ throw new _n(c, s);
3167
3173
  var f = i[c];
3168
- if (Gr(h)) {
3174
+ if (Fr(h)) {
3169
3175
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3170
- type: typeof f == "string" ? w.literal : w.object,
3176
+ type: typeof f == "string" ? O.literal : O.object,
3171
3177
  value: f
3172
3178
  });
3173
3179
  continue;
3174
3180
  }
3175
- if (Ct(h)) {
3176
- var p = typeof h.style == "string" ? n.date[h.style] : Me(h.style) ? h.style.parsedOptions : void 0;
3181
+ if (St(h)) {
3182
+ var p = typeof h.style == "string" ? n.date[h.style] : Re(h.style) ? h.style.parsedOptions : void 0;
3177
3183
  u.push({
3178
- type: w.literal,
3184
+ type: O.literal,
3179
3185
  value: r.getDateTimeFormat(t, p).format(f)
3180
3186
  });
3181
3187
  continue;
3182
3188
  }
3183
- if (Ht(h)) {
3184
- var p = typeof h.style == "string" ? n.time[h.style] : Me(h.style) ? h.style.parsedOptions : n.time.medium;
3189
+ if (At(h)) {
3190
+ var p = typeof h.style == "string" ? n.time[h.style] : Re(h.style) ? h.style.parsedOptions : n.time.medium;
3185
3191
  u.push({
3186
- type: w.literal,
3192
+ type: O.literal,
3187
3193
  value: r.getDateTimeFormat(t, p).format(f)
3188
3194
  });
3189
3195
  continue;
3190
3196
  }
3191
- if (Tt(h)) {
3192
- var p = typeof h.style == "string" ? n.number[h.style] : wt(h.style) ? h.style.parsedOptions : void 0;
3197
+ if (Ht(h)) {
3198
+ var p = typeof h.style == "string" ? n.number[h.style] : Pt(h.style) ? h.style.parsedOptions : void 0;
3193
3199
  p && p.scale && (f = f * (p.scale || 1)), u.push({
3194
- type: w.literal,
3200
+ type: O.literal,
3195
3201
  value: r.getNumberFormat(t, p).format(f)
3196
3202
  });
3197
3203
  continue;
3198
3204
  }
3199
- if (St(h)) {
3205
+ if (wt(h)) {
3200
3206
  var d = h.children, g = h.value, E = i[g];
3201
- if (!yn(E))
3202
- throw new dn(g, "function", s);
3203
- var m = me(d, t, r, n, i, o), C = E(m.map(function(B) {
3204
- return B.value;
3207
+ if (!xn(E))
3208
+ throw new yn(g, "function", s);
3209
+ var m = pe(d, t, r, n, i, o), T = E(m.map(function(A) {
3210
+ return A.value;
3205
3211
  }));
3206
- Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(B) {
3212
+ Array.isArray(T) || (T = [T]), u.push.apply(u, T.map(function(A) {
3207
3213
  return {
3208
- type: typeof B == "string" ? w.literal : w.object,
3209
- value: B
3214
+ type: typeof A == "string" ? O.literal : O.object,
3215
+ value: A
3210
3216
  };
3211
3217
  }));
3212
3218
  }
3213
- if (At(h)) {
3214
- var A = h.options[f] || h.options.other;
3215
- if (!A)
3216
- throw new it(h.value, f, Object.keys(h.options), s);
3217
- u.push.apply(u, me(A.value, t, r, n, i));
3219
+ if (Bt(h)) {
3220
+ var S = h.options[f] || h.options.other;
3221
+ if (!S)
3222
+ throw new st(h.value, f, Object.keys(h.options), s);
3223
+ u.push.apply(u, pe(S.value, t, r, n, i));
3218
3224
  continue;
3219
3225
  }
3220
- if (Bt(h)) {
3221
- var A = h.options["=".concat(f)];
3222
- if (!A) {
3226
+ if (Ot(h)) {
3227
+ var S = h.options["=".concat(f)];
3228
+ if (!S) {
3223
3229
  if (!Intl.PluralRules)
3224
- throw new Ee(`Intl.PluralRules is not available in this environment.
3230
+ throw new Te(`Intl.PluralRules is not available in this environment.
3225
3231
  Try polyfilling it using "@formatjs/intl-pluralrules"
3226
- `, J.MISSING_INTL_API, s);
3227
- var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3228
- A = h.options[O] || h.options.other;
3232
+ `, q.MISSING_INTL_API, s);
3233
+ var w = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3234
+ S = h.options[w] || h.options.other;
3229
3235
  }
3230
- if (!A)
3231
- throw new it(h.value, f, Object.keys(h.options), s);
3232
- u.push.apply(u, me(A.value, t, r, n, i, f - (h.offset || 0)));
3236
+ if (!S)
3237
+ throw new st(h.value, f, Object.keys(h.options), s);
3238
+ u.push.apply(u, pe(S.value, t, r, n, i, f - (h.offset || 0)));
3233
3239
  continue;
3234
3240
  }
3235
3241
  }
3236
- return _n(u);
3242
+ return En(u);
3237
3243
  }
3238
- function xn(e, t) {
3239
- return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3240
- return r[n] = x(x({}, e[n]), t[n] || {}), r;
3244
+ function vn(e, t) {
3245
+ return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3246
+ return r[n] = R(R({}, e[n]), t[n] || {}), r;
3241
3247
  }, {})) : e;
3242
3248
  }
3243
- function En(e, t) {
3249
+ function Tn(e, t) {
3244
3250
  return t ? Object.keys(e).reduce(function(r, n) {
3245
- return r[n] = xn(e[n], t[n]), r;
3246
- }, x({}, e)) : e;
3251
+ return r[n] = vn(e[n], t[n]), r;
3252
+ }, R({}, e)) : e;
3247
3253
  }
3248
- function we(e) {
3254
+ function Pe(e) {
3249
3255
  return {
3250
3256
  create: function() {
3251
3257
  return {
@@ -3259,39 +3265,39 @@ function we(e) {
3259
3265
  }
3260
3266
  };
3261
3267
  }
3262
- function vn(e) {
3268
+ function Cn(e) {
3263
3269
  return e === void 0 && (e = {
3264
3270
  number: {},
3265
3271
  dateTime: {},
3266
3272
  pluralRules: {}
3267
3273
  }), {
3268
- getNumberFormat: Ae(function() {
3274
+ getNumberFormat: Be(function() {
3269
3275
  for (var t, r = [], n = 0; n < arguments.length; n++)
3270
3276
  r[n] = arguments[n];
3271
- return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
3277
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3272
3278
  }, {
3273
- cache: we(e.number),
3274
- strategy: Be.variadic
3279
+ cache: Pe(e.number),
3280
+ strategy: Oe.variadic
3275
3281
  }),
3276
- getDateTimeFormat: Ae(function() {
3282
+ getDateTimeFormat: Be(function() {
3277
3283
  for (var t, r = [], n = 0; n < arguments.length; n++)
3278
3284
  r[n] = arguments[n];
3279
- return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
3285
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3280
3286
  }, {
3281
- cache: we(e.dateTime),
3282
- strategy: Be.variadic
3287
+ cache: Pe(e.dateTime),
3288
+ strategy: Oe.variadic
3283
3289
  }),
3284
- getPluralRules: Ae(function() {
3290
+ getPluralRules: Be(function() {
3285
3291
  for (var t, r = [], n = 0; n < arguments.length; n++)
3286
3292
  r[n] = arguments[n];
3287
- return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
3293
+ return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3288
3294
  }, {
3289
- cache: we(e.pluralRules),
3290
- strategy: Be.variadic
3295
+ cache: Pe(e.pluralRules),
3296
+ strategy: Oe.variadic
3291
3297
  })
3292
3298
  };
3293
3299
  }
3294
- var Tn = (
3300
+ var Hn = (
3295
3301
  /** @class */
3296
3302
  function() {
3297
3303
  function e(t, r, n, i) {
@@ -3306,11 +3312,11 @@ var Tn = (
3306
3312
  if (a.length === 1)
3307
3313
  return a[0].value;
3308
3314
  var h = a.reduce(function(c, f) {
3309
- return !c.length || f.type !== w.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3315
+ return !c.length || f.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3310
3316
  }, []);
3311
3317
  return h.length <= 1 ? h[0] || "" : h;
3312
3318
  }, this.formatToParts = function(l) {
3313
- return me(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3319
+ return pe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3314
3320
  }, this.resolvedOptions = function() {
3315
3321
  var l;
3316
3322
  return {
@@ -3323,13 +3329,13 @@ var Tn = (
3323
3329
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3324
3330
  var s = i || {};
3325
3331
  s.formatters;
3326
- var u = Pr(s, ["formatters"]);
3327
- this.ast = e.__parse(t, x(x({}, u), { locale: this.resolvedLocale }));
3332
+ var u = Lr(s, ["formatters"]);
3333
+ this.ast = e.__parse(t, R(R({}, u), { locale: this.resolvedLocale }));
3328
3334
  } else
3329
3335
  this.ast = t;
3330
3336
  if (!Array.isArray(this.ast))
3331
3337
  throw new TypeError("A message must be provided as a String or AST.");
3332
- this.formats = En(e.formats, n), this.formatters = i && i.formatters || vn(this.formatterCache);
3338
+ this.formats = Tn(e.formats, n), this.formatters = i && i.formatters || Cn(this.formatterCache);
3333
3339
  }
3334
3340
  return Object.defineProperty(e, "defaultLocale", {
3335
3341
  get: function() {
@@ -3342,7 +3348,7 @@ var Tn = (
3342
3348
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3343
3349
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3344
3350
  }
3345
- }, e.__parse = pn, e.formats = {
3351
+ }, e.__parse = bn, e.formats = {
3346
3352
  number: {
3347
3353
  integer: {
3348
3354
  maximumFractionDigits: 0
@@ -3403,7 +3409,7 @@ var Tn = (
3403
3409
  }, e;
3404
3410
  }()
3405
3411
  );
3406
- function Cn(e, t) {
3412
+ function Sn(e, t) {
3407
3413
  if (t == null)
3408
3414
  return;
3409
3415
  if (t in e)
@@ -3424,92 +3430,92 @@ function Cn(e, t) {
3424
3430
  n = void 0;
3425
3431
  return n;
3426
3432
  }
3427
- const G = {}, Hn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Rt = (e, t) => {
3433
+ const D = {}, An = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Gt = (e, t) => {
3428
3434
  if (t == null)
3429
3435
  return;
3430
- if (t in G && e in G[t])
3431
- return G[t][e];
3432
- const r = ve(t);
3436
+ if (t in D && e in D[t])
3437
+ return D[t][e];
3438
+ const r = Ce(t);
3433
3439
  for (let n = 0; n < r.length; n++) {
3434
- const i = r[n], o = Bn(i, e);
3440
+ const i = r[n], o = On(i, e);
3435
3441
  if (o)
3436
- return Hn(e, t, o);
3442
+ return An(e, t, o);
3437
3443
  }
3438
3444
  };
3439
- let Ve;
3440
- const ue = ye({});
3441
- function An(e) {
3442
- return Ve[e] || null;
3445
+ let ze;
3446
+ const he = xe({});
3447
+ function Bn(e) {
3448
+ return ze[e] || null;
3443
3449
  }
3444
- function Ut(e) {
3445
- return e in Ve;
3450
+ function Dt(e) {
3451
+ return e in ze;
3446
3452
  }
3447
- function Bn(e, t) {
3448
- if (!Ut(e))
3453
+ function On(e, t) {
3454
+ if (!Dt(e))
3449
3455
  return null;
3450
- const r = An(e);
3451
- return Cn(r, t);
3456
+ const r = Bn(e);
3457
+ return Sn(r, t);
3452
3458
  }
3453
- function Sn(e) {
3459
+ function wn(e) {
3454
3460
  if (e == null)
3455
3461
  return;
3456
- const t = ve(e);
3462
+ const t = Ce(e);
3457
3463
  for (let r = 0; r < t.length; r++) {
3458
3464
  const n = t[r];
3459
- if (Ut(n))
3465
+ if (Dt(n))
3460
3466
  return n;
3461
3467
  }
3462
3468
  }
3463
- function Gt(e, ...t) {
3464
- delete G[e], ue.update((r) => (r[e] = Or.all([r[e] || {}, ...t]), r));
3469
+ function Ft(e, ...t) {
3470
+ delete D[e], he.update((r) => (r[e] = Nr.all([r[e] || {}, ...t]), r));
3465
3471
  }
3466
- K(
3467
- [ue],
3472
+ ee(
3473
+ [he],
3468
3474
  ([e]) => Object.keys(e)
3469
3475
  );
3470
- ue.subscribe((e) => Ve = e);
3471
- const pe = {};
3472
- function wn(e, t) {
3473
- pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3476
+ he.subscribe((e) => ze = e);
3477
+ const de = {};
3478
+ function Pn(e, t) {
3479
+ de[e].delete(t), de[e].size === 0 && delete de[e];
3474
3480
  }
3475
- function Dt(e) {
3476
- return pe[e];
3481
+ function jt(e) {
3482
+ return de[e];
3477
3483
  }
3478
- function On(e) {
3479
- return ve(e).map((t) => {
3480
- const r = Dt(t);
3484
+ function Nn(e) {
3485
+ return Ce(e).map((t) => {
3486
+ const r = jt(t);
3481
3487
  return [t, r ? [...r] : []];
3482
3488
  }).filter(([, t]) => t.length > 0);
3483
3489
  }
3484
- function Fe(e) {
3485
- return e == null ? !1 : ve(e).some(
3490
+ function ke(e) {
3491
+ return e == null ? !1 : Ce(e).some(
3486
3492
  (t) => {
3487
3493
  var r;
3488
- return (r = Dt(t)) == null ? void 0 : r.size;
3494
+ return (r = jt(t)) == null ? void 0 : r.size;
3489
3495
  }
3490
3496
  );
3491
3497
  }
3492
- function Pn(e, t) {
3498
+ function Ln(e, t) {
3493
3499
  return Promise.all(
3494
- t.map((n) => (wn(e, n), n().then((i) => i.default || i)))
3495
- ).then((n) => Gt(e, ...n));
3496
- }
3497
- const re = {};
3498
- function Ft(e) {
3499
- if (!Fe(e))
3500
- return e in re ? re[e] : Promise.resolve();
3501
- const t = On(e);
3502
- return re[e] = Promise.all(
3500
+ t.map((n) => (Pn(e, n), n().then((i) => i.default || i)))
3501
+ ).then((n) => Ft(e, ...n));
3502
+ }
3503
+ const ne = {};
3504
+ function kt(e) {
3505
+ if (!ke(e))
3506
+ return e in ne ? ne[e] : Promise.resolve();
3507
+ const t = Nn(e);
3508
+ return ne[e] = Promise.all(
3503
3509
  t.map(
3504
- ([r, n]) => Pn(r, n)
3510
+ ([r, n]) => Ln(r, n)
3505
3511
  )
3506
3512
  ).then(() => {
3507
- if (Fe(e))
3508
- return Ft(e);
3509
- delete re[e];
3510
- }), re[e];
3513
+ if (ke(e))
3514
+ return kt(e);
3515
+ delete ne[e];
3516
+ }), ne[e];
3511
3517
  }
3512
- const Nn = {
3518
+ const In = {
3513
3519
  number: {
3514
3520
  scientific: { notation: "scientific" },
3515
3521
  engineering: { notation: "engineering" },
@@ -3538,150 +3544,150 @@ const Nn = {
3538
3544
  timeZoneName: "short"
3539
3545
  }
3540
3546
  }
3541
- }, Ln = {
3547
+ }, Mn = {
3542
3548
  fallbackLocale: null,
3543
3549
  loadingDelay: 200,
3544
- formats: Nn,
3550
+ formats: In,
3545
3551
  warnOnMissingMessages: !0,
3546
3552
  handleMissingMessage: void 0,
3547
3553
  ignoreTag: !0
3548
- }, In = Ln;
3549
- function q() {
3550
- return In;
3554
+ }, $n = Mn;
3555
+ function Y() {
3556
+ return $n;
3551
3557
  }
3552
- const Oe = ye(!1);
3553
- var Mn = Object.defineProperty, $n = Object.defineProperties, Rn = Object.getOwnPropertyDescriptors, ot = Object.getOwnPropertySymbols, Un = Object.prototype.hasOwnProperty, Gn = Object.prototype.propertyIsEnumerable, st = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Dn = (e, t) => {
3558
+ const Ne = xe(!1);
3559
+ var Rn = Object.defineProperty, Un = Object.defineProperties, Gn = Object.getOwnPropertyDescriptors, at = Object.getOwnPropertySymbols, Dn = Object.prototype.hasOwnProperty, Fn = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? Rn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, jn = (e, t) => {
3554
3560
  for (var r in t || (t = {}))
3555
- Un.call(t, r) && st(e, r, t[r]);
3556
- if (ot)
3557
- for (var r of ot(t))
3558
- Gn.call(t, r) && st(e, r, t[r]);
3561
+ Dn.call(t, r) && ut(e, r, t[r]);
3562
+ if (at)
3563
+ for (var r of at(t))
3564
+ Fn.call(t, r) && ut(e, r, t[r]);
3559
3565
  return e;
3560
- }, Fn = (e, t) => $n(e, Rn(t));
3561
- let je;
3562
- const be = ye(null);
3563
- function at(e) {
3566
+ }, kn = (e, t) => Un(e, Gn(t));
3567
+ let Ve;
3568
+ const _e = xe(null);
3569
+ function ht(e) {
3564
3570
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3565
3571
  }
3566
- function ve(e, t = q().fallbackLocale) {
3567
- const r = at(e);
3568
- return t ? [.../* @__PURE__ */ new Set([...r, ...at(t)])] : r;
3572
+ function Ce(e, t = Y().fallbackLocale) {
3573
+ const r = ht(e);
3574
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ht(t)])] : r;
3569
3575
  }
3570
- function k() {
3571
- return je ?? void 0;
3576
+ function V() {
3577
+ return Ve ?? void 0;
3572
3578
  }
3573
- be.subscribe((e) => {
3574
- je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3579
+ _e.subscribe((e) => {
3580
+ Ve = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3575
3581
  });
3576
- const jn = (e) => {
3577
- if (e && Sn(e) && Fe(e)) {
3578
- const { loadingDelay: t } = q();
3582
+ const Vn = (e) => {
3583
+ if (e && wn(e) && ke(e)) {
3584
+ const { loadingDelay: t } = Y();
3579
3585
  let r;
3580
- return typeof window < "u" && k() != null && t ? r = window.setTimeout(
3581
- () => Oe.set(!0),
3586
+ return typeof window < "u" && V() != null && t ? r = window.setTimeout(
3587
+ () => Ne.set(!0),
3582
3588
  t
3583
- ) : Oe.set(!0), Ft(e).then(() => {
3584
- be.set(e);
3589
+ ) : Ne.set(!0), kt(e).then(() => {
3590
+ _e.set(e);
3585
3591
  }).finally(() => {
3586
- clearTimeout(r), Oe.set(!1);
3592
+ clearTimeout(r), Ne.set(!1);
3587
3593
  });
3588
3594
  }
3589
- return be.set(e);
3590
- }, ee = Fn(Dn({}, be), {
3591
- set: jn
3592
- }), Te = (e) => {
3595
+ return _e.set(e);
3596
+ }, te = kn(jn({}, _e), {
3597
+ set: Vn
3598
+ }), He = (e) => {
3593
3599
  const t = /* @__PURE__ */ Object.create(null);
3594
3600
  return (n) => {
3595
3601
  const i = JSON.stringify(n);
3596
3602
  return i in t ? t[i] : t[i] = e(n);
3597
3603
  };
3598
3604
  };
3599
- var kn = Object.defineProperty, _e = Object.getOwnPropertySymbols, jt = Object.prototype.hasOwnProperty, kt = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xe = (e, t) => {
3605
+ var Xn = Object.defineProperty, Ee = Object.getOwnPropertySymbols, Vt = Object.prototype.hasOwnProperty, Xt = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? Xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
3600
3606
  for (var r in t || (t = {}))
3601
- jt.call(t, r) && ut(e, r, t[r]);
3602
- if (_e)
3603
- for (var r of _e(t))
3604
- kt.call(t, r) && ut(e, r, t[r]);
3607
+ Vt.call(t, r) && lt(e, r, t[r]);
3608
+ if (Ee)
3609
+ for (var r of Ee(t))
3610
+ Xt.call(t, r) && lt(e, r, t[r]);
3605
3611
  return e;
3606
- }, te = (e, t) => {
3612
+ }, re = (e, t) => {
3607
3613
  var r = {};
3608
3614
  for (var n in e)
3609
- jt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3610
- if (e != null && _e)
3611
- for (var n of _e(e))
3612
- t.indexOf(n) < 0 && kt.call(e, n) && (r[n] = e[n]);
3615
+ Vt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3616
+ if (e != null && Ee)
3617
+ for (var n of Ee(e))
3618
+ t.indexOf(n) < 0 && Xt.call(e, n) && (r[n] = e[n]);
3613
3619
  return r;
3614
3620
  };
3615
- const se = (e, t) => {
3616
- const { formats: r } = q();
3621
+ const ae = (e, t) => {
3622
+ const { formats: r } = Y();
3617
3623
  if (e in r && t in r[e])
3618
3624
  return r[e][t];
3619
3625
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3620
- }, Vn = Te(
3626
+ }, zn = He(
3621
3627
  (e) => {
3622
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3628
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3623
3629
  if (r == null)
3624
3630
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3625
- return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
3631
+ return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
3626
3632
  }
3627
- ), Xn = Te(
3633
+ ), Wn = He(
3628
3634
  (e) => {
3629
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3635
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3630
3636
  if (r == null)
3631
3637
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3632
- return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
3638
+ return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
3633
3639
  }
3634
- ), zn = Te(
3640
+ ), Zn = He(
3635
3641
  (e) => {
3636
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3642
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3637
3643
  if (r == null)
3638
3644
  throw new Error(
3639
3645
  '[svelte-i18n] A "locale" must be set to format time values'
3640
3646
  );
3641
- return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
3647
+ return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
3642
3648
  }
3643
- ), Wn = (e = {}) => {
3649
+ ), Qn = (e = {}) => {
3644
3650
  var t = e, {
3645
- locale: r = k()
3646
- } = t, n = te(t, [
3651
+ locale: r = V()
3652
+ } = t, n = re(t, [
3647
3653
  "locale"
3648
3654
  ]);
3649
- return Vn(Xe({ locale: r }, n));
3650
- }, Zn = (e = {}) => {
3655
+ return zn(We({ locale: r }, n));
3656
+ }, Jn = (e = {}) => {
3651
3657
  var t = e, {
3652
- locale: r = k()
3653
- } = t, n = te(t, [
3658
+ locale: r = V()
3659
+ } = t, n = re(t, [
3654
3660
  "locale"
3655
3661
  ]);
3656
- return Xn(Xe({ locale: r }, n));
3657
- }, Qn = (e = {}) => {
3662
+ return Wn(We({ locale: r }, n));
3663
+ }, qn = (e = {}) => {
3658
3664
  var t = e, {
3659
- locale: r = k()
3660
- } = t, n = te(t, [
3665
+ locale: r = V()
3666
+ } = t, n = re(t, [
3661
3667
  "locale"
3662
3668
  ]);
3663
- return zn(Xe({ locale: r }, n));
3664
- }, Jn = Te(
3669
+ return Zn(We({ locale: r }, n));
3670
+ }, Yn = He(
3665
3671
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3666
- (e, t = k()) => new Tn(e, t, q().formats, {
3667
- ignoreTag: q().ignoreTag
3672
+ (e, t = V()) => new Hn(e, t, Y().formats, {
3673
+ ignoreTag: Y().ignoreTag
3668
3674
  })
3669
- ), qn = (e, t = {}) => {
3675
+ ), Kn = (e, t = {}) => {
3670
3676
  var r, n, i, o;
3671
3677
  let s = t;
3672
3678
  typeof e == "object" && (s = e, e = s.id);
3673
3679
  const {
3674
3680
  values: u,
3675
- locale: l = k(),
3681
+ locale: l = V(),
3676
3682
  default: a
3677
3683
  } = s;
3678
3684
  if (l == null)
3679
3685
  throw new Error(
3680
3686
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3681
3687
  );
3682
- let h = Rt(e, l);
3688
+ let h = Gt(e, l);
3683
3689
  if (!h)
3684
- h = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? o : e;
3690
+ h = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? o : e;
3685
3691
  else if (typeof h != "string")
3686
3692
  return console.warn(
3687
3693
  `[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.`
@@ -3690,7 +3696,7 @@ const se = (e, t) => {
3690
3696
  return h;
3691
3697
  let c = h;
3692
3698
  try {
3693
- c = Jn(h, l).format(u);
3699
+ c = Yn(h, l).format(u);
3694
3700
  } catch (f) {
3695
3701
  f instanceof Error && console.warn(
3696
3702
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3698,18 +3704,18 @@ const se = (e, t) => {
3698
3704
  );
3699
3705
  }
3700
3706
  return c;
3701
- }, Yn = (e, t) => Qn(t).format(e), Kn = (e, t) => Zn(t).format(e), ei = (e, t) => Wn(t).format(e), ti = (e, t = k()) => Rt(e, t), ri = K([ee, ue], () => qn);
3702
- K([ee], () => Yn);
3703
- K([ee], () => Kn);
3704
- K([ee], () => ei);
3705
- K([ee, ue], () => ti);
3706
- function ht(e, t) {
3707
- Gt(e, t);
3708
- }
3709
- function ni(e) {
3710
- ee.set(e);
3711
- }
3712
- const lt = {
3707
+ }, ei = (e, t) => qn(t).format(e), ti = (e, t) => Jn(t).format(e), ri = (e, t) => Qn(t).format(e), ni = (e, t = V()) => Gt(e, t), ii = ee([te, he], () => Kn);
3708
+ ee([te], () => ei);
3709
+ ee([te], () => ti);
3710
+ ee([te], () => ri);
3711
+ ee([te, he], () => ni);
3712
+ function ft(e, t) {
3713
+ Ft(e, t);
3714
+ }
3715
+ function oi(e) {
3716
+ te.set(e);
3717
+ }
3718
+ const ct = {
3713
3719
  en: {
3714
3720
  topCategories: "Top Categories",
3715
3721
  otherCategories: "Other Categories",
@@ -3819,13 +3825,13 @@ const lt = {
3819
3825
  games: "games"
3820
3826
  }
3821
3827
  };
3822
- function ii(e, t) {
3828
+ function si(e, t) {
3823
3829
  if (e) {
3824
3830
  const r = document.createElement("style");
3825
3831
  r.innerHTML = t, e.appendChild(r);
3826
3832
  }
3827
3833
  }
3828
- function oi(e, t) {
3834
+ function ai(e, t) {
3829
3835
  const r = new URL(t);
3830
3836
  fetch(r.href).then((n) => n.text()).then((n) => {
3831
3837
  const i = document.createElement("style");
@@ -3834,7 +3840,7 @@ function oi(e, t) {
3834
3840
  console.error("There was an error while trying to load client styling from URL", n);
3835
3841
  });
3836
3842
  }
3837
- function si(e, t, r) {
3843
+ function ui(e, t, r) {
3838
3844
  if (window.emMessageBus) {
3839
3845
  const n = document.createElement("style");
3840
3846
  window.emMessageBus.subscribe(t, (i) => {
@@ -3842,67 +3848,67 @@ function si(e, t, r) {
3842
3848
  });
3843
3849
  }
3844
3850
  }
3845
- function ai(e) {
3846
- Zt(e, "svelte-2l182v", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
3851
+ function hi(e) {
3852
+ Jt(e, "svelte-2l182v", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
3847
3853
  }
3848
- function ft(e, t, r) {
3854
+ function gt(e, t, r) {
3849
3855
  const n = e.slice();
3850
3856
  return n[23] = t[r], n;
3851
3857
  }
3852
- function ct(e, t, r) {
3858
+ function mt(e, t, r) {
3853
3859
  const n = e.slice();
3854
3860
  return n[23] = t[r], n;
3855
3861
  }
3856
- function ui(e) {
3862
+ function li(e) {
3857
3863
  let t, r, n = (
3858
3864
  /*$_*/
3859
3865
  e[5]("topCategories") + ""
3860
3866
  ), i, o, s, u, l = (
3861
3867
  /*$_*/
3862
3868
  e[5]("otherCategories") + ""
3863
- ), a, h, c = fe(
3869
+ ), a, h, c = ce(
3864
3870
  /*topCategories*/
3865
3871
  e[3]
3866
3872
  ), f = [];
3867
3873
  for (let g = 0; g < c.length; g += 1)
3868
- f[g] = gt(ct(e, c, g));
3869
- let p = fe(
3874
+ f[g] = pt(mt(e, c, g));
3875
+ let p = ce(
3870
3876
  /*otherCategories*/
3871
3877
  e[4]
3872
3878
  ), d = [];
3873
3879
  for (let g = 0; g < p.length; g += 1)
3874
- d[g] = mt(ft(e, p, g));
3880
+ d[g] = dt(gt(e, p, g));
3875
3881
  return {
3876
3882
  c() {
3877
- t = S("div"), r = S("h4"), i = U(n), o = R();
3883
+ t = B("div"), r = B("h4"), i = G(n), o = U();
3878
3884
  for (let g = 0; g < f.length; g += 1)
3879
3885
  f[g].c();
3880
- s = R(), u = S("h4"), a = U(l), h = R();
3886
+ s = U(), u = B("h4"), a = G(l), h = U();
3881
3887
  for (let g = 0; g < d.length; g += 1)
3882
3888
  d[g].c();
3883
3889
  L(r, "class", "CategoryTitle"), L(u, "class", "CategoryTitle"), L(t, "class", "CasinoCategories");
3884
3890
  },
3885
3891
  m(g, E) {
3886
- Y(g, t, E), v(t, r), v(r, i), v(t, o);
3892
+ K(g, t, E), x(t, r), x(r, i), x(t, o);
3887
3893
  for (let m = 0; m < f.length; m += 1)
3888
3894
  f[m] && f[m].m(t, null);
3889
- v(t, s), v(t, u), v(u, a), v(t, h);
3895
+ x(t, s), x(t, u), x(u, a), x(t, h);
3890
3896
  for (let m = 0; m < d.length; m += 1)
3891
3897
  d[m] && d[m].m(t, null);
3892
3898
  },
3893
3899
  p(g, E) {
3894
3900
  if (E & /*$_*/
3895
3901
  32 && n !== (n = /*$_*/
3896
- g[5]("topCategories") + "") && D(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
3902
+ g[5]("topCategories") + "") && F(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
3897
3903
  105) {
3898
- c = fe(
3904
+ c = ce(
3899
3905
  /*topCategories*/
3900
3906
  g[3]
3901
3907
  );
3902
3908
  let m;
3903
3909
  for (m = 0; m < c.length; m += 1) {
3904
- const C = ct(g, c, m);
3905
- f[m] ? f[m].p(C, E) : (f[m] = gt(C), f[m].c(), f[m].m(t, s));
3910
+ const T = mt(g, c, m);
3911
+ f[m] ? f[m].p(T, E) : (f[m] = pt(T), f[m].c(), f[m].m(t, s));
3906
3912
  }
3907
3913
  for (; m < f.length; m += 1)
3908
3914
  f[m].d(1);
@@ -3910,16 +3916,16 @@ function ui(e) {
3910
3916
  }
3911
3917
  if (E & /*$_*/
3912
3918
  32 && l !== (l = /*$_*/
3913
- g[5]("otherCategories") + "") && D(a, l), E & /*activecategory, otherCategories, openGameCategory, $_*/
3919
+ g[5]("otherCategories") + "") && F(a, l), E & /*activecategory, otherCategories, openGameCategory, $_*/
3914
3920
  113) {
3915
- p = fe(
3921
+ p = ce(
3916
3922
  /*otherCategories*/
3917
3923
  g[4]
3918
3924
  );
3919
3925
  let m;
3920
3926
  for (m = 0; m < p.length; m += 1) {
3921
- const C = ft(g, p, m);
3922
- d[m] ? d[m].p(C, E) : (d[m] = mt(C), d[m].c(), d[m].m(t, null));
3927
+ const T = gt(g, p, m);
3928
+ d[m] ? d[m].p(T, E) : (d[m] = dt(T), d[m].c(), d[m].m(t, null));
3923
3929
  }
3924
3930
  for (; m < d.length; m += 1)
3925
3931
  d[m].d(1);
@@ -3927,26 +3933,26 @@ function ui(e) {
3927
3933
  }
3928
3934
  },
3929
3935
  d(g) {
3930
- g && j(t), Ze(f, g), Ze(d, g);
3936
+ g && k(t), Je(f, g), Je(d, g);
3931
3937
  }
3932
3938
  };
3933
3939
  }
3934
- function hi(e) {
3940
+ function fi(e) {
3935
3941
  let t;
3936
3942
  return {
3937
3943
  c() {
3938
- t = S("p"), t.textContent = "Loading, please wait...", L(t, "class", "Message");
3944
+ t = B("p"), t.textContent = "Loading, please wait...", L(t, "class", "Message");
3939
3945
  },
3940
3946
  m(r, n) {
3941
- Y(r, t, n);
3947
+ K(r, t, n);
3942
3948
  },
3943
3949
  p: N,
3944
3950
  d(r) {
3945
- r && j(t);
3951
+ r && k(t);
3946
3952
  }
3947
3953
  };
3948
3954
  }
3949
- function gt(e) {
3955
+ function pt(e) {
3950
3956
  let t, r, n, i, o, s, u, l = (
3951
3957
  /*category*/
3952
3958
  e[23].name + ""
@@ -3956,8 +3962,8 @@ function gt(e) {
3956
3962
  ), p, d, g = (
3957
3963
  /*$_*/
3958
3964
  e[5]("games") + ""
3959
- ), E, m, C, A;
3960
- function O() {
3965
+ ), E, m, T, S;
3966
+ function w() {
3961
3967
  return (
3962
3968
  /*click_handler*/
3963
3969
  e[15](
@@ -3968,37 +3974,37 @@ function gt(e) {
3968
3974
  }
3969
3975
  return {
3970
3976
  c() {
3971
- t = S("div"), r = S("ui-image"), o = R(), s = S("div"), u = S("p"), a = U(l), h = R(), c = S("p"), p = U(f), d = R(), E = U(g), de(r.src, n = /*category*/
3977
+ t = B("div"), r = B("ui-image"), o = U(), s = B("div"), u = B("p"), a = G(l), h = U(), c = B("p"), p = G(f), d = U(), E = G(g), be(r.src, n = /*category*/
3972
3978
  e[23].icon) || $(r, "src", n), $(r, "alt", i = /*category*/
3973
3979
  e[23].name), $(r, "class", "CategoryImage"), L(s, "class", "CategoryTextContainer"), L(t, "class", m = "Category " + /*activecategory*/
3974
3980
  (e[0] === /*category*/
3975
3981
  e[23].id ? "Active" : ""));
3976
3982
  },
3977
- m(B, H) {
3978
- Y(B, t, H), v(t, r), v(t, o), v(t, s), v(s, u), v(u, a), v(s, h), v(s, c), v(c, p), v(c, d), v(c, E), C || (A = _t(t, "click", O), C = !0);
3983
+ m(A, H) {
3984
+ K(A, t, H), x(t, r), x(t, o), x(t, s), x(s, u), x(u, a), x(s, h), x(s, c), x(c, p), x(c, d), x(c, E), T || (S = Et(t, "click", w), T = !0);
3979
3985
  },
3980
- p(B, H) {
3981
- e = B, H & /*topCategories*/
3982
- 8 && !de(r.src, n = /*category*/
3986
+ p(A, H) {
3987
+ e = A, H & /*topCategories*/
3988
+ 8 && !be(r.src, n = /*category*/
3983
3989
  e[23].icon) && $(r, "src", n), H & /*topCategories*/
3984
3990
  8 && i !== (i = /*category*/
3985
3991
  e[23].name) && $(r, "alt", i), H & /*topCategories*/
3986
3992
  8 && l !== (l = /*category*/
3987
- e[23].name + "") && D(a, l), H & /*topCategories*/
3993
+ e[23].name + "") && F(a, l), H & /*topCategories*/
3988
3994
  8 && f !== (f = /*category*/
3989
- e[23].games.count + "") && D(p, f), H & /*$_*/
3995
+ e[23].games.count + "") && F(p, f), H & /*$_*/
3990
3996
  32 && g !== (g = /*$_*/
3991
- e[5]("games") + "") && D(E, g), H & /*activecategory, topCategories*/
3997
+ e[5]("games") + "") && F(E, g), H & /*activecategory, topCategories*/
3992
3998
  9 && m !== (m = "Category " + /*activecategory*/
3993
3999
  (e[0] === /*category*/
3994
4000
  e[23].id ? "Active" : "")) && L(t, "class", m);
3995
4001
  },
3996
- d(B) {
3997
- B && j(t), C = !1, A();
4002
+ d(A) {
4003
+ A && k(t), T = !1, S();
3998
4004
  }
3999
4005
  };
4000
4006
  }
4001
- function mt(e) {
4007
+ function dt(e) {
4002
4008
  let t, r, n, i, o, s, u, l = (
4003
4009
  /*category*/
4004
4010
  e[23].name + ""
@@ -4008,8 +4014,8 @@ function mt(e) {
4008
4014
  ), p, d, g = (
4009
4015
  /*$_*/
4010
4016
  e[5]("games") + ""
4011
- ), E, m, C, A, O;
4012
- function B() {
4017
+ ), E, m, T, S, w;
4018
+ function A() {
4013
4019
  return (
4014
4020
  /*click_handler_1*/
4015
4021
  e[16](
@@ -4020,51 +4026,51 @@ function mt(e) {
4020
4026
  }
4021
4027
  return {
4022
4028
  c() {
4023
- t = S("div"), r = S("ui-image"), o = R(), s = S("div"), u = S("p"), a = U(l), h = R(), c = S("p"), p = U(f), d = R(), E = U(g), m = R(), de(r.src, n = /*category*/
4029
+ t = B("div"), r = B("ui-image"), o = U(), s = B("div"), u = B("p"), a = G(l), h = U(), c = B("p"), p = G(f), d = U(), E = G(g), m = U(), be(r.src, n = /*category*/
4024
4030
  e[23].icon) || $(r, "src", n), $(r, "alt", i = /*category*/
4025
- e[23].name), $(r, "class", "CategoryImage"), L(s, "class", "CategoryTextContainer"), L(t, "class", C = "Category " + /*activecategory*/
4031
+ e[23].name), $(r, "class", "CategoryImage"), L(s, "class", "CategoryTextContainer"), L(t, "class", T = "Category " + /*activecategory*/
4026
4032
  (e[0] === /*category*/
4027
4033
  e[23].id ? "Active" : ""));
4028
4034
  },
4029
4035
  m(H, P) {
4030
- Y(H, t, P), v(t, r), v(t, o), v(t, s), v(s, u), v(u, a), v(s, h), v(s, c), v(c, p), v(c, d), v(c, E), v(t, m), A || (O = _t(t, "click", B), A = !0);
4036
+ K(H, t, P), x(t, r), x(t, o), x(t, s), x(s, u), x(u, a), x(s, h), x(s, c), x(c, p), x(c, d), x(c, E), x(t, m), S || (w = Et(t, "click", A), S = !0);
4031
4037
  },
4032
4038
  p(H, P) {
4033
4039
  e = H, P & /*otherCategories*/
4034
- 16 && !de(r.src, n = /*category*/
4040
+ 16 && !be(r.src, n = /*category*/
4035
4041
  e[23].icon) && $(r, "src", n), P & /*otherCategories*/
4036
4042
  16 && i !== (i = /*category*/
4037
4043
  e[23].name) && $(r, "alt", i), P & /*otherCategories*/
4038
4044
  16 && l !== (l = /*category*/
4039
- e[23].name + "") && D(a, l), P & /*otherCategories*/
4045
+ e[23].name + "") && F(a, l), P & /*otherCategories*/
4040
4046
  16 && f !== (f = /*category*/
4041
- e[23].games.count + "") && D(p, f), P & /*$_*/
4047
+ e[23].games.count + "") && F(p, f), P & /*$_*/
4042
4048
  32 && g !== (g = /*$_*/
4043
- e[5]("games") + "") && D(E, g), P & /*activecategory, otherCategories*/
4044
- 17 && C !== (C = "Category " + /*activecategory*/
4049
+ e[5]("games") + "") && F(E, g), P & /*activecategory, otherCategories*/
4050
+ 17 && T !== (T = "Category " + /*activecategory*/
4045
4051
  (e[0] === /*category*/
4046
- e[23].id ? "Active" : "")) && L(t, "class", C);
4052
+ e[23].id ? "Active" : "")) && L(t, "class", T);
4047
4053
  },
4048
4054
  d(H) {
4049
- H && j(t), A = !1, O();
4055
+ H && k(t), S = !1, w();
4050
4056
  }
4051
4057
  };
4052
4058
  }
4053
- function li(e) {
4059
+ function ci(e) {
4054
4060
  let t;
4055
4061
  function r(o, s) {
4056
4062
  return (
4057
4063
  /*isLoading*/
4058
- o[2] ? hi : ui
4064
+ o[2] ? fi : li
4059
4065
  );
4060
4066
  }
4061
4067
  let n = r(e), i = n(e);
4062
4068
  return {
4063
4069
  c() {
4064
- t = S("div"), i.c();
4070
+ t = B("div"), i.c();
4065
4071
  },
4066
4072
  m(o, s) {
4067
- Y(o, t, s), i.m(t, null), e[17](t);
4073
+ K(o, t, s), i.m(t, null), e[17](t);
4068
4074
  },
4069
4075
  p(o, [s]) {
4070
4076
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
@@ -4072,47 +4078,47 @@ function li(e) {
4072
4078
  i: N,
4073
4079
  o: N,
4074
4080
  d(o) {
4075
- o && j(t), i.d(), e[17](null);
4081
+ o && k(t), i.d(), e[17](null);
4076
4082
  }
4077
4083
  };
4078
4084
  }
4079
- function fi(e, t, r) {
4085
+ function gi(e, t, r) {
4080
4086
  let n;
4081
- Wt(e, ri, (b) => r(5, n = b));
4087
+ Qt(e, ii, (b) => r(5, n = b));
4082
4088
  let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "en" } = t, { activecategory: u = "" } = t, { excludedflags: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, p, d = !1;
4083
4089
  const g = [];
4084
4090
  let E = [], m = [];
4085
- Object.keys(lt).forEach((b) => {
4086
- ht(b, lt[b]);
4091
+ Object.keys(ct).forEach((b) => {
4092
+ ft(b, ct[b]);
4087
4093
  });
4088
- const C = () => {
4094
+ const T = () => {
4089
4095
  fetch(c).then((M) => M.json()).then((M) => {
4090
- Object.keys(M).forEach((he) => {
4091
- ht(he, M[he]);
4096
+ Object.keys(M).forEach((le) => {
4097
+ ft(le, M[le]);
4092
4098
  });
4093
4099
  }).catch((M) => {
4094
4100
  console.log(M);
4095
4101
  });
4096
- }, A = () => {
4102
+ }, S = () => {
4097
4103
  r(2, d = !0);
4098
4104
  const b = new URL(`${i}/v1/casino/groups/${o}`);
4099
4105
  b.searchParams.append("language", s), fetch(b).then((M) => M.json()).then((M) => {
4100
4106
  r(2, d = !1);
4101
- const he = l.split(",").map((F) => F.trim());
4107
+ const le = l.split(",").map((j) => j.trim());
4102
4108
  g.push(...M.items);
4103
- const ze = g.filter((F) => !he.some((Xt) => F.flags?.indexOf(Xt) >= 0));
4104
- r(3, E = ze.filter((F) => F.isTopCategory === !0)), r(4, m = ze.filter((F) => F.isTopCategory === !1));
4109
+ const Ze = g.filter((j) => !le.some((Wt) => j.flags?.indexOf(Wt) >= 0));
4110
+ r(3, E = Ze.filter((j) => j.isTopCategory === !0)), r(4, m = Ze.filter((j) => j.isTopCategory === !1));
4105
4111
  });
4106
- }, O = (b) => {
4112
+ }, w = (b) => {
4107
4113
  window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
4108
- }, B = () => {
4109
- ni(s);
4114
+ }, A = () => {
4115
+ oi(s);
4110
4116
  };
4111
- er(() => () => {
4117
+ rr(() => () => {
4112
4118
  });
4113
- const H = (b) => O(b.id), P = (b) => O(b.id);
4114
- function Vt(b) {
4115
- Pe[b ? "unshift" : "push"](() => {
4119
+ const H = (b) => w(b.id), P = (b) => w(b.id);
4120
+ function zt(b) {
4121
+ Le[b ? "unshift" : "push"](() => {
4116
4122
  p = b, r(1, p);
4117
4123
  });
4118
4124
  }
@@ -4120,12 +4126,12 @@ function fi(e, t, r) {
4120
4126
  "endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, o = b.datasource), "lang" in b && r(9, s = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, l = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, h = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl), "mbsource" in b && r(14, f = b.mbsource);
4121
4127
  }, e.$$.update = () => {
4122
4128
  e.$$.dirty & /*endpoint, datasource*/
4123
- 384 && i && o && A(), e.$$.dirty & /*translationurl*/
4124
- 8192 && c && C(), e.$$.dirty & /*lang*/
4125
- 512 && s && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4126
- 2050 && a && p && ii(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4127
- 4098 && h && p && oi(p, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4128
- 16386 && f && p && si(p, `${f}.Style`);
4129
+ 384 && i && o && S(), e.$$.dirty & /*translationurl*/
4130
+ 8192 && c && T(), e.$$.dirty & /*lang*/
4131
+ 512 && s && A(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4132
+ 2050 && a && p && si(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4133
+ 4098 && h && p && ai(p, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4134
+ 16386 && f && p && ui(p, `${f}.Style`);
4129
4135
  }, [
4130
4136
  u,
4131
4137
  p,
@@ -4133,7 +4139,7 @@ function fi(e, t, r) {
4133
4139
  E,
4134
4140
  m,
4135
4141
  n,
4136
- O,
4142
+ w,
4137
4143
  i,
4138
4144
  o,
4139
4145
  s,
@@ -4144,17 +4150,17 @@ function fi(e, t, r) {
4144
4150
  f,
4145
4151
  H,
4146
4152
  P,
4147
- Vt
4153
+ zt
4148
4154
  ];
4149
4155
  }
4150
- class ci extends cr {
4156
+ class mi extends mr {
4151
4157
  constructor(t) {
4152
- super(), lr(
4158
+ super(), cr(
4153
4159
  this,
4154
4160
  t,
4155
- fi,
4156
- li,
4157
- dt,
4161
+ gi,
4162
+ ci,
4163
+ yt,
4158
4164
  {
4159
4165
  endpoint: 7,
4160
4166
  datasource: 8,
@@ -4166,7 +4172,7 @@ class ci extends cr {
4166
4172
  translationurl: 13,
4167
4173
  mbsource: 14
4168
4174
  },
4169
- ai
4175
+ hi
4170
4176
  );
4171
4177
  }
4172
4178
  get endpoint() {
@@ -4224,7 +4230,7 @@ class ci extends cr {
4224
4230
  this.$$set({ mbsource: t }), I();
4225
4231
  }
4226
4232
  }
4227
- fr(ci, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4233
+ gr(mi, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4228
4234
  export {
4229
- ci as C
4235
+ mi as C
4230
4236
  };