@everymatrix/casino-categories 1.87.25 → 1.87.27

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