@everymatrix/casino-categories 1.60.2 → 1.61.1

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,17 +1,17 @@
1
- var Yt = Object.defineProperty, Kt = Object.defineProperties;
2
- var er = Object.getOwnPropertyDescriptors;
3
- var Qe = Object.getOwnPropertySymbols;
4
- var tr = Object.prototype.hasOwnProperty, rr = Object.prototype.propertyIsEnumerable;
5
- var Ce = (e, t, r) => t in e ? Yt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
1
+ var Kt = Object.defineProperty, er = Object.defineProperties;
2
+ var tr = Object.getOwnPropertyDescriptors;
3
+ var Je = Object.getOwnPropertySymbols;
4
+ var rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable;
5
+ var He = (e, t, r) => t in e ? Kt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- tr.call(t, r) && Ce(e, r, t[r]);
8
- if (Qe)
9
- for (var r of Qe(t))
10
- rr.call(t, r) && Ce(e, r, t[r]);
7
+ rr.call(t, r) && He(e, r, t[r]);
8
+ if (Je)
9
+ for (var r of Je(t))
10
+ nr.call(t, r) && He(e, r, t[r]);
11
11
  return e;
12
- }, qe = (e, t) => Kt(e, er(t));
13
- var L = (e, t, r) => (Ce(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Ye = (e, t, r) => new Promise((n, i) => {
12
+ }, Ye = (e, t) => er(e, tr(t));
13
+ var N = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Ke = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  u(r.next(h));
@@ -27,53 +27,54 @@ var Ye = (e, t, r) => new Promise((n, i) => {
27
27
  }, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
28
28
  u((r = r.apply(e, t)).next());
29
29
  });
30
- function I() {
30
+ import "../stencil/ui-image-CPH6BqjQ.js";
31
+ function L() {
31
32
  }
32
- function _t(e) {
33
+ function vt(e) {
33
34
  return e();
34
35
  }
35
- function Ke() {
36
+ function et() {
36
37
  return /* @__PURE__ */ Object.create(null);
37
38
  }
38
- function ae(e) {
39
- e.forEach(_t);
39
+ function ue(e) {
40
+ e.forEach(vt);
40
41
  }
41
- function Ve(e) {
42
+ function Xe(e) {
42
43
  return typeof e == "function";
43
44
  }
44
- function vt(e, t) {
45
+ function Tt(e, t) {
45
46
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
47
  }
47
- let le;
48
- function de(e, t) {
49
- return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
48
+ let fe;
49
+ function be(e, t) {
50
+ return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
50
51
  }
51
- function nr(e) {
52
+ function ir(e) {
52
53
  return Object.keys(e).length === 0;
53
54
  }
54
- function Tt(e, ...t) {
55
+ function Ct(e, ...t) {
55
56
  if (e == null) {
56
57
  for (const n of t)
57
58
  n(void 0);
58
- return I;
59
+ return L;
59
60
  }
60
61
  const r = e.subscribe(...t);
61
62
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
63
  }
63
- function ir(e, t, r) {
64
- e.$$.on_destroy.push(Tt(t, r));
64
+ function or(e, t, r) {
65
+ e.$$.on_destroy.push(Ct(t, r));
65
66
  }
66
67
  function v(e, t) {
67
68
  e.appendChild(t);
68
69
  }
69
- function or(e, t, r) {
70
- const n = sr(e);
70
+ function sr(e, t, r) {
71
+ const n = ar(e);
71
72
  if (!n.getElementById(t)) {
72
- const i = O("style");
73
- i.id = t, i.textContent = r, ar(n, i);
73
+ const i = S("style");
74
+ i.id = t, i.textContent = r, ur(n, i);
74
75
  }
75
76
  }
76
- function sr(e) {
77
+ function ar(e) {
77
78
  if (!e)
78
79
  return document;
79
80
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,46 +84,50 @@ function sr(e) {
83
84
  t
84
85
  ) : e.ownerDocument;
85
86
  }
86
- function ar(e, t) {
87
+ function ur(e, t) {
87
88
  return v(
88
89
  /** @type {Document} */
89
90
  e.head || e,
90
91
  t
91
92
  ), t.sheet;
92
93
  }
93
- function Y(e, t, r) {
94
+ function K(e, t, r) {
94
95
  e.insertBefore(t, r || null);
95
96
  }
96
- function j(e) {
97
+ function k(e) {
97
98
  e.parentNode && e.parentNode.removeChild(e);
98
99
  }
99
- function et(e, t) {
100
+ function tt(e, t) {
100
101
  for (let r = 0; r < e.length; r += 1)
101
102
  e[r] && e[r].d(t);
102
103
  }
103
- function O(e) {
104
+ function S(e) {
104
105
  return document.createElement(e);
105
106
  }
106
- function U(e) {
107
+ function G(e) {
107
108
  return document.createTextNode(e);
108
109
  }
109
- function R() {
110
- return U(" ");
110
+ function U() {
111
+ return G(" ");
111
112
  }
112
- function Ct(e, t, r, n) {
113
+ function Ht(e, t, r, n) {
113
114
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
114
115
  }
115
- function A(e, t, r) {
116
+ function I(e, t, r) {
116
117
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
117
118
  }
118
- function ur(e) {
119
+ function R(e, t, r) {
120
+ const n = t.toLowerCase();
121
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : I(e, t, r);
122
+ }
123
+ function hr(e) {
119
124
  return Array.from(e.childNodes);
120
125
  }
121
- function D(e, t) {
126
+ function F(e, t) {
122
127
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
123
128
  t);
124
129
  }
125
- function hr(e) {
130
+ function lr(e) {
126
131
  const t = {};
127
132
  return e.childNodes.forEach(
128
133
  /** @param {Element} node */
@@ -131,98 +136,98 @@ function hr(e) {
131
136
  }
132
137
  ), t;
133
138
  }
134
- let ie;
135
- function ne(e) {
136
- ie = e;
139
+ let oe;
140
+ function ie(e) {
141
+ oe = e;
137
142
  }
138
- function lr() {
139
- if (!ie)
143
+ function fr() {
144
+ if (!oe)
140
145
  throw new Error("Function called outside component initialization");
141
- return ie;
146
+ return oe;
142
147
  }
143
- function fr(e) {
144
- lr().$$.on_mount.push(e);
148
+ function cr(e) {
149
+ fr().$$.on_mount.push(e);
145
150
  }
146
- const z = [], Ne = [];
147
- let W = [];
148
- const tt = [], cr = /* @__PURE__ */ Promise.resolve();
149
- let Le = !1;
150
- function gr() {
151
- Le || (Le = !0, cr.then(M));
151
+ const W = [], Le = [];
152
+ let Z = [];
153
+ const rt = [], gr = /* @__PURE__ */ Promise.resolve();
154
+ let Ie = !1;
155
+ function mr() {
156
+ Ie || (Ie = !0, gr.then(M));
152
157
  }
153
- function Ie(e) {
154
- W.push(e);
158
+ function Me(e) {
159
+ Z.push(e);
155
160
  }
156
- const He = /* @__PURE__ */ new Set();
157
- let V = 0;
161
+ const Ae = /* @__PURE__ */ new Set();
162
+ let X = 0;
158
163
  function M() {
159
- if (V !== 0)
164
+ if (X !== 0)
160
165
  return;
161
- const e = ie;
166
+ const e = oe;
162
167
  do {
163
168
  try {
164
- for (; V < z.length; ) {
165
- const t = z[V];
166
- V++, ne(t), mr(t.$$);
169
+ for (; X < W.length; ) {
170
+ const t = W[X];
171
+ X++, ie(t), pr(t.$$);
167
172
  }
168
173
  } catch (t) {
169
- throw z.length = 0, V = 0, t;
174
+ throw W.length = 0, X = 0, t;
170
175
  }
171
- for (ne(null), z.length = 0, V = 0; Ne.length; )
172
- Ne.pop()();
173
- for (let t = 0; t < W.length; t += 1) {
174
- const r = W[t];
175
- He.has(r) || (He.add(r), r());
176
+ for (ie(null), W.length = 0, X = 0; Le.length; )
177
+ Le.pop()();
178
+ for (let t = 0; t < Z.length; t += 1) {
179
+ const r = Z[t];
180
+ Ae.has(r) || (Ae.add(r), r());
176
181
  }
177
- W.length = 0;
178
- } while (z.length);
179
- for (; tt.length; )
180
- tt.pop()();
181
- Le = !1, He.clear(), ne(e);
182
+ Z.length = 0;
183
+ } while (W.length);
184
+ for (; rt.length; )
185
+ rt.pop()();
186
+ Ie = !1, Ae.clear(), ie(e);
182
187
  }
183
- function mr(e) {
188
+ function pr(e) {
184
189
  if (e.fragment !== null) {
185
- e.update(), ae(e.before_update);
190
+ e.update(), ue(e.before_update);
186
191
  const t = e.dirty;
187
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
192
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
188
193
  }
189
194
  }
190
- function pr(e) {
195
+ function dr(e) {
191
196
  const t = [], r = [];
192
- W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
197
+ Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
193
198
  }
194
- const dr = /* @__PURE__ */ new Set();
195
- function br(e, t) {
196
- e && e.i && (dr.delete(e), e.i(t));
199
+ const br = /* @__PURE__ */ new Set();
200
+ function yr(e, t) {
201
+ e && e.i && (br.delete(e), e.i(t));
197
202
  }
198
- function fe(e) {
203
+ function ce(e) {
199
204
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
200
205
  }
201
- function yr(e, t, r) {
206
+ function _r(e, t, r) {
202
207
  const { fragment: n, after_update: i } = e.$$;
203
- n && n.m(t, r), Ie(() => {
204
- const o = e.$$.on_mount.map(_t).filter(Ve);
205
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
206
- }), i.forEach(Ie);
208
+ n && n.m(t, r), Me(() => {
209
+ const o = e.$$.on_mount.map(vt).filter(Xe);
210
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ue(o), e.$$.on_mount = [];
211
+ }), i.forEach(Me);
207
212
  }
208
213
  function xr(e, t) {
209
214
  const r = e.$$;
210
- r.fragment !== null && (pr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
215
+ r.fragment !== null && (dr(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
211
216
  }
212
217
  function Er(e, t) {
213
- e.$$.dirty[0] === -1 && (z.push(e), gr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
218
+ e.$$.dirty[0] === -1 && (W.push(e), mr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
214
219
  }
215
- function _r(e, t, r, n, i, o, s = null, u = [-1]) {
216
- const h = ie;
217
- ne(e);
220
+ function vr(e, t, r, n, i, o, s = null, u = [-1]) {
221
+ const h = oe;
222
+ ie(e);
218
223
  const a = e.$$ = {
219
224
  fragment: null,
220
225
  ctx: [],
221
226
  // state
222
227
  props: o,
223
- update: I,
228
+ update: L,
224
229
  not_equal: i,
225
- bound: Ke(),
230
+ bound: et(),
226
231
  // lifecycle
227
232
  on_mount: [],
228
233
  on_destroy: [],
@@ -231,7 +236,7 @@ function _r(e, t, r, n, i, o, s = null, u = [-1]) {
231
236
  after_update: [],
232
237
  context: new Map(t.context || (h ? h.$$.context : [])),
233
238
  // everything else
234
- callbacks: Ke(),
239
+ callbacks: et(),
235
240
  dirty: u,
236
241
  skip_bound: !1,
237
242
  root: t.target || h.$$.root
@@ -241,38 +246,38 @@ function _r(e, t, r, n, i, o, s = null, u = [-1]) {
241
246
  if (a.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
242
247
  const d = p.length ? p[0] : f;
243
248
  return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), l && Er(e, c)), f;
244
- }) : [], a.update(), l = !0, ae(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
249
+ }) : [], a.update(), l = !0, ue(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
245
250
  if (t.hydrate) {
246
- const c = ur(t.target);
247
- a.fragment && a.fragment.l(c), c.forEach(j);
251
+ const c = hr(t.target);
252
+ a.fragment && a.fragment.l(c), c.forEach(k);
248
253
  } else
249
254
  a.fragment && a.fragment.c();
250
- t.intro && br(e.$$.fragment), yr(e, t.target, t.anchor), M();
255
+ t.intro && yr(e.$$.fragment), _r(e, t.target, t.anchor), M();
251
256
  }
252
- ne(h);
257
+ ie(h);
253
258
  }
254
- let Ht;
255
- typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
259
+ let At;
260
+ typeof HTMLElement == "function" && (At = class extends HTMLElement {
256
261
  constructor(t, r, n) {
257
262
  super();
258
263
  /** The Svelte component constructor */
259
- L(this, "$$ctor");
264
+ N(this, "$$ctor");
260
265
  /** Slots */
261
- L(this, "$$s");
266
+ N(this, "$$s");
262
267
  /** The Svelte component instance */
263
- L(this, "$$c");
268
+ N(this, "$$c");
264
269
  /** Whether or not the custom element is connected */
265
- L(this, "$$cn", !1);
270
+ N(this, "$$cn", !1);
266
271
  /** Component props data */
267
- L(this, "$$d", {});
272
+ N(this, "$$d", {});
268
273
  /** `true` if currently in the process of reflecting component props back to attributes */
269
- L(this, "$$r", !1);
274
+ N(this, "$$r", !1);
270
275
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
271
- L(this, "$$p_d", {});
276
+ N(this, "$$p_d", {});
272
277
  /** @type {Record<string, Function[]>} Event listeners */
273
- L(this, "$$l", {});
278
+ N(this, "$$l", {});
274
279
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
275
- L(this, "$$l_u", /* @__PURE__ */ new Map());
280
+ N(this, "$$l_u", /* @__PURE__ */ new Map());
276
281
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
277
282
  }
278
283
  addEventListener(t, r, n) {
@@ -289,42 +294,42 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
289
294
  }
290
295
  }
291
296
  connectedCallback() {
292
- return Ye(this, null, function* () {
297
+ return Ke(this, null, function* () {
293
298
  if (this.$$cn = !0, !this.$$c) {
294
299
  let t = function(o) {
295
300
  return () => {
296
301
  let s;
297
302
  return {
298
303
  c: function() {
299
- s = O("slot"), o !== "default" && A(s, "name", o);
304
+ s = S("slot"), o !== "default" && I(s, "name", o);
300
305
  },
301
306
  /**
302
307
  * @param {HTMLElement} target
303
308
  * @param {HTMLElement} [anchor]
304
309
  */
305
310
  m: function(a, l) {
306
- Y(a, s, l);
311
+ K(a, s, l);
307
312
  },
308
313
  d: function(a) {
309
- a && j(s);
314
+ a && k(s);
310
315
  }
311
316
  };
312
317
  };
313
318
  };
314
319
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
315
320
  return;
316
- const r = {}, n = hr(this);
321
+ const r = {}, n = lr(this);
317
322
  for (const o of this.$$s)
318
323
  o in n && (r[o] = [t(o)]);
319
324
  for (const o of this.attributes) {
320
325
  const s = this.$$g_p(o.name);
321
- s in this.$$d || (this.$$d[s] = ge(s, o.value, this.$$p_d, "toProp"));
326
+ s in this.$$d || (this.$$d[s] = me(s, o.value, this.$$p_d, "toProp"));
322
327
  }
323
328
  for (const o in this.$$p_d)
324
329
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
325
330
  this.$$c = new this.$$ctor({
326
331
  target: this.shadowRoot || this,
327
- props: qe(Je({}, this.$$d), {
332
+ props: Ye(qe({}, this.$$d), {
328
333
  $$slots: r,
329
334
  $$scope: {
330
335
  ctx: []
@@ -335,7 +340,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
335
340
  this.$$r = !0;
336
341
  for (const o in this.$$p_d)
337
342
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
338
- const s = ge(
343
+ const s = me(
339
344
  o,
340
345
  this.$$d[o],
341
346
  this.$$p_d,
@@ -359,7 +364,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
359
364
  // and setting attributes through setAttribute etc, this is helpful
360
365
  attributeChangedCallback(t, r, n) {
361
366
  var i;
362
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ge(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
367
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = me(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
363
368
  }
364
369
  disconnectedCallback() {
365
370
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -372,7 +377,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
372
377
  ) || t;
373
378
  }
374
379
  });
375
- function ge(e, t, r, n) {
380
+ function me(e, t, r, n) {
376
381
  var o;
377
382
  const i = (o = r[e]) == null ? void 0 : o.type;
378
383
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -402,8 +407,8 @@ function ge(e, t, r, n) {
402
407
  return t;
403
408
  }
404
409
  }
405
- function vr(e, t, r, n, i, o) {
406
- let s = class extends Ht {
410
+ function Tr(e, t, r, n, i, o) {
411
+ let s = class extends At {
407
412
  constructor() {
408
413
  super(e, r, i), this.$$p_d = t;
409
414
  }
@@ -420,7 +425,7 @@ function vr(e, t, r, n, i, o) {
420
425
  },
421
426
  set(h) {
422
427
  var a;
423
- h = ge(u, h, t), this.$$d[u] = h, (a = this.$$c) == null || a.$set({ [u]: h });
428
+ h = me(u, h, t), this.$$d[u] = h, (a = this.$$c) == null || a.$set({ [u]: h });
424
429
  }
425
430
  });
426
431
  }), n.forEach((u) => {
@@ -433,7 +438,7 @@ function vr(e, t, r, n, i, o) {
433
438
  }), e.element = /** @type {any} */
434
439
  s, s;
435
440
  }
436
- class Tr {
441
+ class Cr {
437
442
  constructor() {
438
443
  /**
439
444
  * ### PRIVATE API
@@ -442,7 +447,7 @@ class Tr {
442
447
  *
443
448
  * @type {any}
444
449
  */
445
- L(this, "$$");
450
+ N(this, "$$");
446
451
  /**
447
452
  * ### PRIVATE API
448
453
  *
@@ -450,11 +455,11 @@ class Tr {
450
455
  *
451
456
  * @type {any}
452
457
  */
453
- L(this, "$$set");
458
+ N(this, "$$set");
454
459
  }
455
460
  /** @returns {void} */
456
461
  $destroy() {
457
- xr(this, 1), this.$destroy = I;
462
+ xr(this, 1), this.$destroy = L;
458
463
  }
459
464
  /**
460
465
  * @template {Extract<keyof Events, string>} K
@@ -463,8 +468,8 @@ class Tr {
463
468
  * @returns {() => void}
464
469
  */
465
470
  $on(t, r) {
466
- if (!Ve(r))
467
- return I;
471
+ if (!Xe(r))
472
+ return L;
468
473
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
469
474
  return n.push(r), () => {
470
475
  const i = n.indexOf(r);
@@ -476,63 +481,63 @@ class Tr {
476
481
  * @returns {void}
477
482
  */
478
483
  $set(t) {
479
- this.$$set && !nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
484
+ this.$$set && !ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
480
485
  }
481
486
  }
482
- const Cr = "4";
483
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cr);
484
- const X = [];
485
- function Hr(e, t) {
487
+ const Hr = "4";
488
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hr);
489
+ const z = [];
490
+ function Ar(e, t) {
486
491
  return {
487
492
  subscribe: xe(e, t).subscribe
488
493
  };
489
494
  }
490
- function xe(e, t = I) {
495
+ function xe(e, t = L) {
491
496
  let r;
492
497
  const n = /* @__PURE__ */ new Set();
493
498
  function i(u) {
494
- if (vt(e, u) && (e = u, r)) {
495
- const h = !X.length;
499
+ if (Tt(e, u) && (e = u, r)) {
500
+ const h = !z.length;
496
501
  for (const a of n)
497
- a[1](), X.push(a, e);
502
+ a[1](), z.push(a, e);
498
503
  if (h) {
499
- for (let a = 0; a < X.length; a += 2)
500
- X[a][0](X[a + 1]);
501
- X.length = 0;
504
+ for (let a = 0; a < z.length; a += 2)
505
+ z[a][0](z[a + 1]);
506
+ z.length = 0;
502
507
  }
503
508
  }
504
509
  }
505
510
  function o(u) {
506
511
  i(u(e));
507
512
  }
508
- function s(u, h = I) {
513
+ function s(u, h = L) {
509
514
  const a = [u, h];
510
- return n.add(a), n.size === 1 && (r = t(i, o) || I), u(e), () => {
515
+ return n.add(a), n.size === 1 && (r = t(i, o) || L), u(e), () => {
511
516
  n.delete(a), n.size === 0 && r && (r(), r = null);
512
517
  };
513
518
  }
514
519
  return { set: i, update: o, subscribe: s };
515
520
  }
516
- function K(e, t, r) {
521
+ function ee(e, t, r) {
517
522
  const n = !Array.isArray(e), i = n ? [e] : e;
518
523
  if (!i.every(Boolean))
519
524
  throw new Error("derived() expects stores as input, got a falsy value");
520
525
  const o = t.length < 2;
521
- return Hr(r, (s, u) => {
526
+ return Ar(r, (s, u) => {
522
527
  let h = !1;
523
528
  const a = [];
524
- let l = 0, c = I;
529
+ let l = 0, c = L;
525
530
  const f = () => {
526
531
  if (l)
527
532
  return;
528
533
  c();
529
534
  const d = t(n ? a[0] : a, s, u);
530
- o ? s(d) : c = Ve(d) ? d : I;
535
+ o ? s(d) : c = Xe(d) ? d : L;
531
536
  }, p = i.map(
532
- (d, g) => Tt(
537
+ (d, g) => Ct(
533
538
  d,
534
- (_) => {
535
- a[g] = _, l &= ~(1 << g), h && f();
539
+ (E) => {
540
+ a[g] = E, l &= ~(1 << g), h && f();
536
541
  },
537
542
  () => {
538
543
  l |= 1 << g;
@@ -540,84 +545,84 @@ function K(e, t, r) {
540
545
  )
541
546
  );
542
547
  return h = !0, f(), function() {
543
- ae(p), c(), h = !1;
548
+ ue(p), c(), h = !1;
544
549
  };
545
550
  });
546
551
  }
547
- function Ar(e) {
552
+ function Br(e) {
548
553
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
549
554
  }
550
- var Br = function(t) {
551
- return Sr(t) && !Or(t);
555
+ var Sr = function(t) {
556
+ return wr(t) && !Or(t);
552
557
  };
553
- function Sr(e) {
558
+ function wr(e) {
554
559
  return !!e && typeof e == "object";
555
560
  }
556
561
  function Or(e) {
557
562
  var t = Object.prototype.toString.call(e);
558
- return t === "[object RegExp]" || t === "[object Date]" || Nr(e);
559
- }
560
- var wr = typeof Symbol == "function" && Symbol.for, Pr = wr ? Symbol.for("react.element") : 60103;
561
- function Nr(e) {
562
- return e.$$typeof === Pr;
563
+ return t === "[object RegExp]" || t === "[object Date]" || Lr(e);
563
564
  }
565
+ var Pr = typeof Symbol == "function" && Symbol.for, Nr = Pr ? Symbol.for("react.element") : 60103;
564
566
  function Lr(e) {
567
+ return e.$$typeof === Nr;
568
+ }
569
+ function Ir(e) {
565
570
  return Array.isArray(e) ? [] : {};
566
571
  }
567
- function oe(e, t) {
568
- return t.clone !== !1 && t.isMergeableObject(e) ? Z(Lr(e), e, t) : e;
572
+ function se(e, t) {
573
+ return t.clone !== !1 && t.isMergeableObject(e) ? Q(Ir(e), e, t) : e;
569
574
  }
570
- function Ir(e, t, r) {
575
+ function Mr(e, t, r) {
571
576
  return e.concat(t).map(function(n) {
572
- return oe(n, r);
577
+ return se(n, r);
573
578
  });
574
579
  }
575
- function Mr(e, t) {
580
+ function $r(e, t) {
576
581
  if (!t.customMerge)
577
- return Z;
582
+ return Q;
578
583
  var r = t.customMerge(e);
579
- return typeof r == "function" ? r : Z;
584
+ return typeof r == "function" ? r : Q;
580
585
  }
581
- function $r(e) {
586
+ function Rr(e) {
582
587
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
583
588
  return Object.propertyIsEnumerable.call(e, t);
584
589
  }) : [];
585
590
  }
586
- function rt(e) {
587
- return Object.keys(e).concat($r(e));
591
+ function nt(e) {
592
+ return Object.keys(e).concat(Rr(e));
588
593
  }
589
- function At(e, t) {
594
+ function Bt(e, t) {
590
595
  try {
591
596
  return t in e;
592
597
  } catch (r) {
593
598
  return !1;
594
599
  }
595
600
  }
596
- function Rr(e, t) {
597
- return At(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
601
+ function Ur(e, t) {
602
+ return Bt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
598
603
  }
599
- function Ur(e, t, r) {
604
+ function Gr(e, t, r) {
600
605
  var n = {};
601
- return r.isMergeableObject(e) && rt(e).forEach(function(i) {
602
- n[i] = oe(e[i], r);
603
- }), rt(t).forEach(function(i) {
604
- Rr(e, i) || (At(e, i) && r.isMergeableObject(t[i]) ? n[i] = Mr(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
606
+ return r.isMergeableObject(e) && nt(e).forEach(function(i) {
607
+ n[i] = se(e[i], r);
608
+ }), nt(t).forEach(function(i) {
609
+ Ur(e, i) || (Bt(e, i) && r.isMergeableObject(t[i]) ? n[i] = $r(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
605
610
  }), n;
606
611
  }
607
- function Z(e, t, r) {
608
- r = r || {}, r.arrayMerge = r.arrayMerge || Ir, r.isMergeableObject = r.isMergeableObject || Br, r.cloneUnlessOtherwiseSpecified = oe;
612
+ function Q(e, t, r) {
613
+ r = r || {}, r.arrayMerge = r.arrayMerge || Mr, r.isMergeableObject = r.isMergeableObject || Sr, r.cloneUnlessOtherwiseSpecified = se;
609
614
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
610
- return o ? n ? r.arrayMerge(e, t, r) : Ur(e, t, r) : oe(t, r);
615
+ return o ? n ? r.arrayMerge(e, t, r) : Gr(e, t, r) : se(t, r);
611
616
  }
612
- Z.all = function(t, r) {
617
+ Q.all = function(t, r) {
613
618
  if (!Array.isArray(t))
614
619
  throw new Error("first argument should be an array");
615
620
  return t.reduce(function(n, i) {
616
- return Z(n, i, r);
621
+ return Q(n, i, r);
617
622
  }, {});
618
623
  };
619
- var Gr = Z, Dr = Gr;
620
- const Fr = /* @__PURE__ */ Ar(Dr);
624
+ var Dr = Q, Fr = Dr;
625
+ const jr = /* @__PURE__ */ Br(Fr);
621
626
  /*! *****************************************************************************
622
627
  Copyright (c) Microsoft Corporation.
623
628
 
@@ -632,34 +637,34 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
632
637
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
633
638
  PERFORMANCE OF THIS SOFTWARE.
634
639
  ***************************************************************************** */
635
- var Me = function(e, t) {
636
- return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
640
+ var $e = function(e, t) {
641
+ return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
637
642
  r.__proto__ = n;
638
643
  } || function(r, n) {
639
644
  for (var i in n)
640
645
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
641
- }, Me(e, t);
646
+ }, $e(e, t);
642
647
  };
643
648
  function Ee(e, t) {
644
649
  if (typeof t != "function" && t !== null)
645
650
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
646
- Me(e, t);
651
+ $e(e, t);
647
652
  function r() {
648
653
  this.constructor = e;
649
654
  }
650
655
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
651
656
  }
652
- var E = function() {
653
- return E = Object.assign || function(t) {
657
+ var x = function() {
658
+ return x = Object.assign || function(t) {
654
659
  for (var r, n = 1, i = arguments.length; n < i; n++) {
655
660
  r = arguments[n];
656
661
  for (var o in r)
657
662
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
658
663
  }
659
664
  return t;
660
- }, E.apply(this, arguments);
665
+ }, x.apply(this, arguments);
661
666
  };
662
- function jr(e, t) {
667
+ function kr(e, t) {
663
668
  var r = {};
664
669
  for (var n in e)
665
670
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -668,43 +673,43 @@ function jr(e, t) {
668
673
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
669
674
  return r;
670
675
  }
671
- function Ae(e, t, r) {
676
+ function Be(e, t, r) {
672
677
  if (arguments.length === 2)
673
678
  for (var n = 0, i = t.length, o; n < i; n++)
674
679
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
675
680
  return e.concat(o || t);
676
681
  }
677
- function Be(e, t) {
678
- var r = t && t.cache ? t.cache : Qr, n = t && t.serializer ? t.serializer : Wr, i = t && t.strategy ? t.strategy : Xr;
682
+ function Se(e, t) {
683
+ var r = t && t.cache ? t.cache : Jr, n = t && t.serializer ? t.serializer : Zr, i = t && t.strategy ? t.strategy : zr;
679
684
  return i(e, {
680
685
  cache: r,
681
686
  serializer: n
682
687
  });
683
688
  }
684
- function kr(e) {
689
+ function Vr(e) {
685
690
  return e == null || typeof e == "number" || typeof e == "boolean";
686
691
  }
687
- function Vr(e, t, r, n) {
688
- var i = kr(n) ? n : r(n), o = t.get(i);
692
+ function Xr(e, t, r, n) {
693
+ var i = Vr(n) ? n : r(n), o = t.get(i);
689
694
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
690
695
  }
691
- function Bt(e, t, r) {
696
+ function St(e, t, r) {
692
697
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
693
698
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
694
699
  }
695
- function St(e, t, r, n, i) {
700
+ function wt(e, t, r, n, i) {
696
701
  return r.bind(t, e, n, i);
697
702
  }
698
- function Xr(e, t) {
699
- var r = e.length === 1 ? Vr : Bt;
700
- return St(e, this, r, t.cache.create(), t.serializer);
701
- }
702
703
  function zr(e, t) {
703
- return St(e, this, Bt, t.cache.create(), t.serializer);
704
+ var r = e.length === 1 ? Xr : St;
705
+ return wt(e, this, r, t.cache.create(), t.serializer);
704
706
  }
705
- var Wr = function() {
707
+ function Wr(e, t) {
708
+ return wt(e, this, St, t.cache.create(), t.serializer);
709
+ }
710
+ var Zr = function() {
706
711
  return JSON.stringify(arguments);
707
- }, Zr = (
712
+ }, Qr = (
708
713
  /** @class */
709
714
  function() {
710
715
  function e() {
@@ -716,12 +721,12 @@ var Wr = function() {
716
721
  this.cache[t] = r;
717
722
  }, e;
718
723
  }()
719
- ), Qr = {
724
+ ), Jr = {
720
725
  create: function() {
721
- return new Zr();
726
+ return new Qr();
722
727
  }
723
- }, Se = {
724
- variadic: zr
728
+ }, we = {
729
+ variadic: Wr
725
730
  }, y;
726
731
  (function(e) {
727
732
  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";
@@ -730,47 +735,47 @@ var T;
730
735
  (function(e) {
731
736
  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";
732
737
  })(T || (T = {}));
733
- var Q;
738
+ var J;
734
739
  (function(e) {
735
740
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
736
- })(Q || (Q = {}));
737
- function nt(e) {
741
+ })(J || (J = {}));
742
+ function it(e) {
738
743
  return e.type === T.literal;
739
744
  }
740
- function Jr(e) {
745
+ function qr(e) {
741
746
  return e.type === T.argument;
742
747
  }
743
748
  function Ot(e) {
744
749
  return e.type === T.number;
745
750
  }
746
- function wt(e) {
751
+ function Pt(e) {
747
752
  return e.type === T.date;
748
753
  }
749
- function Pt(e) {
754
+ function Nt(e) {
750
755
  return e.type === T.time;
751
756
  }
752
- function Nt(e) {
757
+ function Lt(e) {
753
758
  return e.type === T.select;
754
759
  }
755
- function Lt(e) {
760
+ function It(e) {
756
761
  return e.type === T.plural;
757
762
  }
758
- function qr(e) {
763
+ function Yr(e) {
759
764
  return e.type === T.pound;
760
765
  }
761
- function It(e) {
766
+ function Mt(e) {
762
767
  return e.type === T.tag;
763
768
  }
764
- function Mt(e) {
765
- return !!(e && typeof e == "object" && e.type === Q.number);
769
+ function $t(e) {
770
+ return !!(e && typeof e == "object" && e.type === J.number);
766
771
  }
767
- function $e(e) {
768
- return !!(e && typeof e == "object" && e.type === Q.dateTime);
772
+ function Re(e) {
773
+ return !!(e && typeof e == "object" && e.type === J.dateTime);
769
774
  }
770
- var $t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Yr = /(?:[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;
771
- function Kr(e) {
775
+ var Rt = /[ \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;
776
+ function en(e) {
772
777
  var t = {};
773
- return e.replace(Yr, function(r) {
778
+ return e.replace(Kr, function(r) {
774
779
  var n = r.length;
775
780
  switch (r[0]) {
776
781
  case "G":
@@ -859,11 +864,11 @@ function Kr(e) {
859
864
  return "";
860
865
  }), t;
861
866
  }
862
- var en = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
863
- function tn(e) {
867
+ var tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
868
+ function rn(e) {
864
869
  if (e.length === 0)
865
870
  throw new Error("Number skeleton cannot be empty");
866
- for (var t = e.split(en).filter(function(f) {
871
+ for (var t = e.split(tn).filter(function(f) {
867
872
  return f.length > 0;
868
873
  }), r = [], n = 0, i = t; n < i.length; n++) {
869
874
  var o = i[n], s = o.split("/");
@@ -878,17 +883,17 @@ function tn(e) {
878
883
  }
879
884
  return r;
880
885
  }
881
- function rn(e) {
886
+ function nn(e) {
882
887
  return e.replace(/^(.*?)-/, "");
883
888
  }
884
- var it = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rt = /^(@+)?(\+|#+)?[rs]?$/g, nn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ut = /^(0+)$/;
885
- function ot(e) {
889
+ var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ut = /^(@+)?(\+|#+)?[rs]?$/g, on = /(\*)(0+)|(#+)(0+)|(0+)/g, Gt = /^(0+)$/;
890
+ function st(e) {
886
891
  var t = {};
887
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rt, function(r, n, i) {
892
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ut, function(r, n, i) {
888
893
  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)), "";
889
894
  }), t;
890
895
  }
891
- function Gt(e) {
896
+ function Dt(e) {
892
897
  switch (e) {
893
898
  case "sign-auto":
894
899
  return {
@@ -928,7 +933,7 @@ function Gt(e) {
928
933
  };
929
934
  }
930
935
  }
931
- function on(e) {
936
+ function sn(e) {
932
937
  var t;
933
938
  if (e[0] === "E" && e[1] === "E" ? (t = {
934
939
  notation: "engineering"
@@ -936,17 +941,17 @@ function on(e) {
936
941
  notation: "scientific"
937
942
  }, e = e.slice(1)), t) {
938
943
  var r = e.slice(0, 2);
939
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ut.test(e))
944
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gt.test(e))
940
945
  throw new Error("Malformed concise eng/scientific notation");
941
946
  t.minimumIntegerDigits = e.length;
942
947
  }
943
948
  return t;
944
949
  }
945
- function st(e) {
946
- var t = {}, r = Gt(e);
950
+ function at(e) {
951
+ var t = {}, r = Dt(e);
947
952
  return r || t;
948
953
  }
949
- function sn(e) {
954
+ function an(e) {
950
955
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
951
956
  var i = n[r];
952
957
  switch (i.stem) {
@@ -970,7 +975,7 @@ function sn(e) {
970
975
  continue;
971
976
  case "measure-unit":
972
977
  case "unit":
973
- t.style = "unit", t.unit = rn(i.options[0]);
978
+ t.style = "unit", t.unit = nn(i.options[0]);
974
979
  continue;
975
980
  case "compact-short":
976
981
  case "K":
@@ -981,13 +986,13 @@ function sn(e) {
981
986
  t.notation = "compact", t.compactDisplay = "long";
982
987
  continue;
983
988
  case "scientific":
984
- t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
985
- return E(E({}, h), st(a));
989
+ t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
990
+ return x(x({}, h), at(a));
986
991
  }, {}));
987
992
  continue;
988
993
  case "engineering":
989
- t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
990
- return E(E({}, h), st(a));
994
+ t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
995
+ return x(x({}, h), at(a));
991
996
  }, {}));
992
997
  continue;
993
998
  case "notation-simple":
@@ -1032,7 +1037,7 @@ function sn(e) {
1032
1037
  case "integer-width":
1033
1038
  if (i.options.length > 1)
1034
1039
  throw new RangeError("integer-width stems only accept a single optional option");
1035
- i.options[0].replace(nn, function(h, a, l, c, f, p) {
1040
+ i.options[0].replace(on, function(h, a, l, c, f, p) {
1036
1041
  if (a)
1037
1042
  t.minimumIntegerDigits = l.length;
1038
1043
  else {
@@ -1045,32 +1050,32 @@ function sn(e) {
1045
1050
  });
1046
1051
  continue;
1047
1052
  }
1048
- if (Ut.test(i.stem)) {
1053
+ if (Gt.test(i.stem)) {
1049
1054
  t.minimumIntegerDigits = i.stem.length;
1050
1055
  continue;
1051
1056
  }
1052
- if (it.test(i.stem)) {
1057
+ if (ot.test(i.stem)) {
1053
1058
  if (i.options.length > 1)
1054
1059
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1055
- i.stem.replace(it, function(h, a, l, c, f, p) {
1060
+ i.stem.replace(ot, function(h, a, l, c, f, p) {
1056
1061
  return l === "*" ? 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), "";
1057
1062
  });
1058
1063
  var o = i.options[0];
1059
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), ot(o)));
1064
+ o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), st(o)));
1060
1065
  continue;
1061
1066
  }
1062
- if (Rt.test(i.stem)) {
1063
- t = E(E({}, t), ot(i.stem));
1067
+ if (Ut.test(i.stem)) {
1068
+ t = x(x({}, t), st(i.stem));
1064
1069
  continue;
1065
1070
  }
1066
- var s = Gt(i.stem);
1067
- s && (t = E(E({}, t), s));
1068
- var u = on(i.stem);
1069
- u && (t = E(E({}, t), u));
1071
+ var s = Dt(i.stem);
1072
+ s && (t = x(x({}, t), s));
1073
+ var u = sn(i.stem);
1074
+ u && (t = x(x({}, t), u));
1070
1075
  }
1071
1076
  return t;
1072
1077
  }
1073
- var ce = {
1078
+ var ge = {
1074
1079
  "001": [
1075
1080
  "H",
1076
1081
  "h"
@@ -2485,13 +2490,13 @@ var ce = {
2485
2490
  "h"
2486
2491
  ]
2487
2492
  };
2488
- function an(e, t) {
2493
+ function un(e, t) {
2489
2494
  for (var r = "", n = 0; n < e.length; n++) {
2490
2495
  var i = e.charAt(n);
2491
2496
  if (i === "j") {
2492
2497
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2493
2498
  o++, n++;
2494
- var s = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), h = "a", a = un(t);
2499
+ var s = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), h = "a", a = hn(t);
2495
2500
  for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
2496
2501
  r += h;
2497
2502
  for (; s-- > 0; )
@@ -2501,7 +2506,7 @@ function an(e, t) {
2501
2506
  }
2502
2507
  return r;
2503
2508
  }
2504
- function un(e) {
2509
+ function hn(e) {
2505
2510
  var t = e.hourCycle;
2506
2511
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2507
2512
  e.hourCycles && // @ts-ignore
@@ -2520,23 +2525,23 @@ function un(e) {
2520
2525
  }
2521
2526
  var r = e.language, n;
2522
2527
  r !== "root" && (n = e.maximize().region);
2523
- var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
2528
+ var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2524
2529
  return i[0];
2525
2530
  }
2526
- var Oe, hn = new RegExp("^".concat($t.source, "*")), ln = new RegExp("".concat($t.source, "*$"));
2527
- function x(e, t) {
2531
+ var Oe, ln = new RegExp("^".concat(Rt.source, "*")), fn = new RegExp("".concat(Rt.source, "*$"));
2532
+ function _(e, t) {
2528
2533
  return { start: e, end: t };
2529
2534
  }
2530
- var fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), cn = !!String.fromCodePoint, gn = !!Object.fromEntries, mn = !!String.prototype.codePointAt, pn = !!String.prototype.trimStart, dn = !!String.prototype.trimEnd, bn = !!Number.isSafeInteger, yn = bn ? Number.isSafeInteger : function(e) {
2535
+ var cn = !!String.prototype.startsWith && "_a".startsWith("a", 1), gn = !!String.fromCodePoint, mn = !!Object.fromEntries, pn = !!String.prototype.codePointAt, dn = !!String.prototype.trimStart, bn = !!String.prototype.trimEnd, yn = !!Number.isSafeInteger, _n = yn ? Number.isSafeInteger : function(e) {
2531
2536
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2532
- }, Re = !0;
2537
+ }, Ue = !0;
2533
2538
  try {
2534
- var xn = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2535
- Re = ((Oe = xn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2539
+ var xn = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2540
+ Ue = ((Oe = xn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2536
2541
  } catch (e) {
2537
- Re = !1;
2542
+ Ue = !1;
2538
2543
  }
2539
- var at = fn ? (
2544
+ var ut = cn ? (
2540
2545
  // Native
2541
2546
  function(t, r, n) {
2542
2547
  return t.startsWith(r, n);
@@ -2546,7 +2551,7 @@ var at = fn ? (
2546
2551
  function(t, r, n) {
2547
2552
  return t.slice(n, n + r.length) === r;
2548
2553
  }
2549
- ), Ue = cn ? String.fromCodePoint : (
2554
+ ), Ge = gn ? String.fromCodePoint : (
2550
2555
  // IE11
2551
2556
  function() {
2552
2557
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2558,9 +2563,9 @@ var at = fn ? (
2558
2563
  }
2559
2564
  return n;
2560
2565
  }
2561
- ), ut = (
2566
+ ), ht = (
2562
2567
  // native
2563
- gn ? Object.fromEntries : (
2568
+ mn ? Object.fromEntries : (
2564
2569
  // Ponyfill
2565
2570
  function(t) {
2566
2571
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2570,7 +2575,7 @@ var at = fn ? (
2570
2575
  return r;
2571
2576
  }
2572
2577
  )
2573
- ), Dt = mn ? (
2578
+ ), Ft = pn ? (
2574
2579
  // Native
2575
2580
  function(t, r) {
2576
2581
  return t.codePointAt(r);
@@ -2584,7 +2589,7 @@ var at = fn ? (
2584
2589
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2585
2590
  }
2586
2591
  }
2587
- ), En = pn ? (
2592
+ ), En = dn ? (
2588
2593
  // Native
2589
2594
  function(t) {
2590
2595
  return t.trimStart();
@@ -2592,9 +2597,9 @@ var at = fn ? (
2592
2597
  ) : (
2593
2598
  // Ponyfill
2594
2599
  function(t) {
2595
- return t.replace(hn, "");
2600
+ return t.replace(ln, "");
2596
2601
  }
2597
- ), _n = dn ? (
2602
+ ), vn = bn ? (
2598
2603
  // Native
2599
2604
  function(t) {
2600
2605
  return t.trimEnd();
@@ -2602,32 +2607,32 @@ var at = fn ? (
2602
2607
  ) : (
2603
2608
  // Ponyfill
2604
2609
  function(t) {
2605
- return t.replace(ln, "");
2610
+ return t.replace(fn, "");
2606
2611
  }
2607
2612
  );
2608
- function Ft(e, t) {
2613
+ function jt(e, t) {
2609
2614
  return new RegExp(e, t);
2610
2615
  }
2611
- var Ge;
2612
- if (Re) {
2613
- var ht = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2614
- Ge = function(t, r) {
2616
+ var De;
2617
+ if (Ue) {
2618
+ var lt = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2619
+ De = function(t, r) {
2615
2620
  var n;
2616
- ht.lastIndex = r;
2617
- var i = ht.exec(t);
2621
+ lt.lastIndex = r;
2622
+ var i = lt.exec(t);
2618
2623
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2619
2624
  };
2620
2625
  } else
2621
- Ge = function(t, r) {
2626
+ De = function(t, r) {
2622
2627
  for (var n = []; ; ) {
2623
- var i = Dt(t, r);
2624
- if (i === void 0 || jt(i) || Hn(i))
2628
+ var i = Ft(t, r);
2629
+ if (i === void 0 || kt(i) || An(i))
2625
2630
  break;
2626
2631
  n.push(i), r += i >= 65536 ? 2 : 1;
2627
2632
  }
2628
- return Ue.apply(void 0, n);
2633
+ return Ge.apply(void 0, n);
2629
2634
  };
2630
- var vn = (
2635
+ var Tn = (
2631
2636
  /** @class */
2632
2637
  function() {
2633
2638
  function e(t, r) {
@@ -2652,13 +2657,13 @@ var vn = (
2652
2657
  var u = this.clonePosition();
2653
2658
  this.bump(), i.push({
2654
2659
  type: T.pound,
2655
- location: x(u, this.clonePosition())
2660
+ location: _(u, this.clonePosition())
2656
2661
  });
2657
2662
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2658
2663
  if (n)
2659
2664
  break;
2660
- return this.error(y.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
2661
- } else if (o === 60 && !this.ignoreTag && De(this.peek() || 0)) {
2665
+ return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2666
+ } else if (o === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
2662
2667
  var s = this.parseTag(t, r);
2663
2668
  if (s.err)
2664
2669
  return s;
@@ -2681,7 +2686,7 @@ var vn = (
2681
2686
  val: {
2682
2687
  type: T.literal,
2683
2688
  value: "<".concat(i, "/>"),
2684
- location: x(n, this.clonePosition())
2689
+ location: _(n, this.clonePosition())
2685
2690
  },
2686
2691
  err: null
2687
2692
  };
@@ -2691,25 +2696,25 @@ var vn = (
2691
2696
  return o;
2692
2697
  var s = o.val, u = this.clonePosition();
2693
2698
  if (this.bumpIf("</")) {
2694
- if (this.isEOF() || !De(this.char()))
2695
- return this.error(y.INVALID_TAG, x(u, this.clonePosition()));
2699
+ if (this.isEOF() || !Fe(this.char()))
2700
+ return this.error(y.INVALID_TAG, _(u, this.clonePosition()));
2696
2701
  var h = this.clonePosition(), a = this.parseTagName();
2697
- return i !== a ? this.error(y.UNMATCHED_CLOSING_TAG, x(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2702
+ return i !== a ? this.error(y.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2698
2703
  val: {
2699
2704
  type: T.tag,
2700
2705
  value: i,
2701
2706
  children: s,
2702
- location: x(n, this.clonePosition())
2707
+ location: _(n, this.clonePosition())
2703
2708
  },
2704
2709
  err: null
2705
- } : this.error(y.INVALID_TAG, x(u, this.clonePosition())));
2710
+ } : this.error(y.INVALID_TAG, _(u, this.clonePosition())));
2706
2711
  } else
2707
- return this.error(y.UNCLOSED_TAG, x(n, this.clonePosition()));
2712
+ return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
2708
2713
  } else
2709
- return this.error(y.INVALID_TAG, x(n, this.clonePosition()));
2714
+ return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
2710
2715
  }, e.prototype.parseTagName = function() {
2711
2716
  var t = this.offset();
2712
- for (this.bump(); !this.isEOF() && Cn(this.char()); )
2717
+ for (this.bump(); !this.isEOF() && Hn(this.char()); )
2713
2718
  this.bump();
2714
2719
  return this.message.slice(t, this.offset());
2715
2720
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2731,14 +2736,14 @@ var vn = (
2731
2736
  }
2732
2737
  break;
2733
2738
  }
2734
- var h = x(n, this.clonePosition());
2739
+ var h = _(n, this.clonePosition());
2735
2740
  return {
2736
2741
  val: { type: T.literal, value: i, location: h },
2737
2742
  err: null
2738
2743
  };
2739
2744
  }, e.prototype.tryParseLeftAngleBracket = function() {
2740
2745
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2741
- !Tn(this.peek() || 0)) ? (this.bump(), "<") : null;
2746
+ !Cn(this.peek() || 0)) ? (this.bump(), "<") : null;
2742
2747
  }, e.prototype.tryParseQuote = function(t) {
2743
2748
  if (this.isEOF() || this.char() !== 39)
2744
2749
  return null;
@@ -2772,23 +2777,23 @@ var vn = (
2772
2777
  r.push(n);
2773
2778
  this.bump();
2774
2779
  }
2775
- return Ue.apply(void 0, r);
2780
+ return Ge.apply(void 0, r);
2776
2781
  }, e.prototype.tryParseUnquoted = function(t, r) {
2777
2782
  if (this.isEOF())
2778
2783
  return null;
2779
2784
  var n = this.char();
2780
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ue(n));
2785
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
2781
2786
  }, e.prototype.parseArgument = function(t, r) {
2782
2787
  var n = this.clonePosition();
2783
2788
  if (this.bump(), this.bumpSpace(), this.isEOF())
2784
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
2789
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2785
2790
  if (this.char() === 125)
2786
- return this.bump(), this.error(y.EMPTY_ARGUMENT, x(n, this.clonePosition()));
2791
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
2787
2792
  var i = this.parseIdentifierIfPossible().value;
2788
2793
  if (!i)
2789
- return this.error(y.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
2794
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2790
2795
  if (this.bumpSpace(), this.isEOF())
2791
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
2796
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2792
2797
  switch (this.char()) {
2793
2798
  case 125:
2794
2799
  return this.bump(), {
@@ -2796,25 +2801,25 @@ var vn = (
2796
2801
  type: T.argument,
2797
2802
  // value does not include the opening and closing braces.
2798
2803
  value: i,
2799
- location: x(n, this.clonePosition())
2804
+ location: _(n, this.clonePosition())
2800
2805
  },
2801
2806
  err: null
2802
2807
  };
2803
2808
  case 44:
2804
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2809
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2805
2810
  default:
2806
- return this.error(y.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
2811
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2807
2812
  }
2808
2813
  }, e.prototype.parseIdentifierIfPossible = function() {
2809
- var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
2814
+ var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
2810
2815
  this.bumpTo(i);
2811
- var o = this.clonePosition(), s = x(t, o);
2816
+ var o = this.clonePosition(), s = _(t, o);
2812
2817
  return { value: n, location: s };
2813
2818
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2814
2819
  var o, s = this.clonePosition(), u = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2815
2820
  switch (u) {
2816
2821
  case "":
2817
- return this.error(y.EXPECT_ARGUMENT_TYPE, x(s, h));
2822
+ return this.error(y.EXPECT_ARGUMENT_TYPE, _(s, h));
2818
2823
  case "number":
2819
2824
  case "date":
2820
2825
  case "time": {
@@ -2825,34 +2830,34 @@ var vn = (
2825
2830
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2826
2831
  if (c.err)
2827
2832
  return c;
2828
- var f = _n(c.val);
2833
+ var f = vn(c.val);
2829
2834
  if (f.length === 0)
2830
- return this.error(y.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
2831
- var p = x(l, this.clonePosition());
2835
+ return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2836
+ var p = _(l, this.clonePosition());
2832
2837
  a = { style: f, styleLocation: p };
2833
2838
  }
2834
2839
  var d = this.tryParseArgumentClose(i);
2835
2840
  if (d.err)
2836
2841
  return d;
2837
- var g = x(i, this.clonePosition());
2838
- if (a && at(a == null ? void 0 : a.style, "::", 0)) {
2839
- var _ = En(a.style.slice(2));
2842
+ var g = _(i, this.clonePosition());
2843
+ if (a && ut(a == null ? void 0 : a.style, "::", 0)) {
2844
+ var E = En(a.style.slice(2));
2840
2845
  if (u === "number") {
2841
- var c = this.parseNumberSkeletonFromString(_, a.styleLocation);
2846
+ var c = this.parseNumberSkeletonFromString(E, a.styleLocation);
2842
2847
  return c.err ? c : {
2843
2848
  val: { type: T.number, value: n, location: g, style: c.val },
2844
2849
  err: null
2845
2850
  };
2846
2851
  } else {
2847
- if (_.length === 0)
2852
+ if (E.length === 0)
2848
2853
  return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
2849
- var m = _;
2850
- this.locale && (m = an(_, this.locale));
2854
+ var m = E;
2855
+ this.locale && (m = un(E, this.locale));
2851
2856
  var f = {
2852
- type: Q.dateTime,
2857
+ type: J.dateTime,
2853
2858
  pattern: m,
2854
2859
  location: a.styleLocation,
2855
- parsedOptions: this.shouldParseSkeletons ? Kr(m) : {}
2860
+ parsedOptions: this.shouldParseSkeletons ? en(m) : {}
2856
2861
  }, C = u === "date" ? T.date : T.time;
2857
2862
  return {
2858
2863
  val: { type: C, value: n, location: g, style: f },
@@ -2873,52 +2878,52 @@ var vn = (
2873
2878
  case "plural":
2874
2879
  case "selectordinal":
2875
2880
  case "select": {
2876
- var B = this.clonePosition();
2881
+ var A = this.clonePosition();
2877
2882
  if (this.bumpSpace(), !this.bumpIf(","))
2878
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, x(B, E({}, B)));
2883
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(A, x({}, A)));
2879
2884
  this.bumpSpace();
2880
- var P = this.parseIdentifierIfPossible(), S = 0;
2881
- if (u !== "select" && P.value === "offset") {
2885
+ var O = this.parseIdentifierIfPossible(), B = 0;
2886
+ if (u !== "select" && O.value === "offset") {
2882
2887
  if (!this.bumpIf(":"))
2883
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
2888
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2884
2889
  this.bumpSpace();
2885
2890
  var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2886
2891
  if (c.err)
2887
2892
  return c;
2888
- this.bumpSpace(), P = this.parseIdentifierIfPossible(), S = c.val;
2893
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), B = c.val;
2889
2894
  }
2890
- var H = this.tryParsePluralOrSelectOptions(t, u, r, P);
2895
+ var H = this.tryParsePluralOrSelectOptions(t, u, r, O);
2891
2896
  if (H.err)
2892
2897
  return H;
2893
2898
  var d = this.tryParseArgumentClose(i);
2894
2899
  if (d.err)
2895
2900
  return d;
2896
- var N = x(i, this.clonePosition());
2901
+ var P = _(i, this.clonePosition());
2897
2902
  return u === "select" ? {
2898
2903
  val: {
2899
2904
  type: T.select,
2900
2905
  value: n,
2901
- options: ut(H.val),
2902
- location: N
2906
+ options: ht(H.val),
2907
+ location: P
2903
2908
  },
2904
2909
  err: null
2905
2910
  } : {
2906
2911
  val: {
2907
2912
  type: T.plural,
2908
2913
  value: n,
2909
- options: ut(H.val),
2910
- offset: S,
2914
+ options: ht(H.val),
2915
+ offset: B,
2911
2916
  pluralType: u === "plural" ? "cardinal" : "ordinal",
2912
- location: N
2917
+ location: P
2913
2918
  },
2914
2919
  err: null
2915
2920
  };
2916
2921
  }
2917
2922
  default:
2918
- return this.error(y.INVALID_ARGUMENT_TYPE, x(s, h));
2923
+ return this.error(y.INVALID_ARGUMENT_TYPE, _(s, h));
2919
2924
  }
2920
2925
  }, e.prototype.tryParseArgumentClose = function(t) {
2921
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2926
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2922
2927
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2923
2928
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2924
2929
  var n = this.char();
@@ -2927,7 +2932,7 @@ var vn = (
2927
2932
  this.bump();
2928
2933
  var i = this.clonePosition();
2929
2934
  if (!this.bumpUntil("'"))
2930
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(i, this.clonePosition()));
2935
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
2931
2936
  this.bump();
2932
2937
  break;
2933
2938
  }
@@ -2957,16 +2962,16 @@ var vn = (
2957
2962
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2958
2963
  var n = [];
2959
2964
  try {
2960
- n = tn(t);
2965
+ n = rn(t);
2961
2966
  } catch (i) {
2962
2967
  return this.error(y.INVALID_NUMBER_SKELETON, r);
2963
2968
  }
2964
2969
  return {
2965
2970
  val: {
2966
- type: Q.number,
2971
+ type: J.number,
2967
2972
  tokens: n,
2968
2973
  location: r,
2969
- parsedOptions: this.shouldParseSkeletons ? sn(n) : {}
2974
+ parsedOptions: this.shouldParseSkeletons ? an(n) : {}
2970
2975
  },
2971
2976
  err: null
2972
2977
  };
@@ -2978,7 +2983,7 @@ var vn = (
2978
2983
  var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2979
2984
  if (f.err)
2980
2985
  return f;
2981
- l = x(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
2986
+ l = _(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
2982
2987
  } else
2983
2988
  break;
2984
2989
  }
@@ -2987,7 +2992,7 @@ var vn = (
2987
2992
  a === "other" && (s = !0), this.bumpSpace();
2988
2993
  var p = this.clonePosition();
2989
2994
  if (!this.bumpIf("{"))
2990
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
2995
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
2991
2996
  var d = this.parseMessage(t + 1, r, n);
2992
2997
  if (d.err)
2993
2998
  return d;
@@ -2998,11 +3003,11 @@ var vn = (
2998
3003
  a,
2999
3004
  {
3000
3005
  value: d.val,
3001
- location: x(p, this.clonePosition())
3006
+ location: _(p, this.clonePosition())
3002
3007
  }
3003
3008
  ]), h.add(a), this.bumpSpace(), o = this.parseIdentifierIfPossible(), a = o.value, l = o.location;
3004
3009
  }
3005
- return u.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
3010
+ 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 };
3006
3011
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3007
3012
  var n = 1, i = this.clonePosition();
3008
3013
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3013,8 +3018,8 @@ var vn = (
3013
3018
  else
3014
3019
  break;
3015
3020
  }
3016
- var h = x(i, this.clonePosition());
3017
- return o ? (s *= n, yn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3021
+ var h = _(i, this.clonePosition());
3022
+ return o ? (s *= n, _n(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3018
3023
  }, e.prototype.offset = function() {
3019
3024
  return this.position.offset;
3020
3025
  }, e.prototype.isEOF = function() {
@@ -3029,7 +3034,7 @@ var vn = (
3029
3034
  var t = this.position.offset;
3030
3035
  if (t >= this.message.length)
3031
3036
  throw Error("out of bound");
3032
- var r = Dt(this.message, t);
3037
+ var r = Ft(this.message, t);
3033
3038
  if (r === void 0)
3034
3039
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3035
3040
  return r;
@@ -3048,7 +3053,7 @@ var vn = (
3048
3053
  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);
3049
3054
  }
3050
3055
  }, e.prototype.bumpIf = function(t) {
3051
- if (at(this.message, t, this.offset())) {
3056
+ if (ut(this.message, t, this.offset())) {
3052
3057
  for (var r = 0; r < t.length; r++)
3053
3058
  this.bump();
3054
3059
  return !0;
@@ -3070,7 +3075,7 @@ var vn = (
3070
3075
  break;
3071
3076
  }
3072
3077
  }, e.prototype.bumpSpace = function() {
3073
- for (; !this.isEOF() && jt(this.char()); )
3078
+ for (; !this.isEOF() && kt(this.char()); )
3074
3079
  this.bump();
3075
3080
  }, e.prototype.peek = function() {
3076
3081
  if (this.isEOF())
@@ -3080,44 +3085,44 @@ var vn = (
3080
3085
  }, e;
3081
3086
  }()
3082
3087
  );
3083
- function De(e) {
3088
+ function Fe(e) {
3084
3089
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3085
3090
  }
3086
- function Tn(e) {
3087
- return De(e) || e === 47;
3088
- }
3089
3091
  function Cn(e) {
3092
+ return Fe(e) || e === 47;
3093
+ }
3094
+ function Hn(e) {
3090
3095
  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;
3091
3096
  }
3092
- function jt(e) {
3097
+ function kt(e) {
3093
3098
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3094
3099
  }
3095
- function Hn(e) {
3100
+ function An(e) {
3096
3101
  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;
3097
3102
  }
3098
- function Fe(e) {
3103
+ function je(e) {
3099
3104
  e.forEach(function(t) {
3100
- if (delete t.location, Nt(t) || Lt(t))
3105
+ if (delete t.location, Lt(t) || It(t))
3101
3106
  for (var r in t.options)
3102
- delete t.options[r].location, Fe(t.options[r].value);
3107
+ delete t.options[r].location, je(t.options[r].value);
3103
3108
  else
3104
- Ot(t) && Mt(t.style) || (wt(t) || Pt(t)) && $e(t.style) ? delete t.style.location : It(t) && Fe(t.children);
3109
+ Ot(t) && $t(t.style) || (Pt(t) || Nt(t)) && Re(t.style) ? delete t.style.location : Mt(t) && je(t.children);
3105
3110
  });
3106
3111
  }
3107
- function An(e, t) {
3108
- t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3109
- var r = new vn(e, t).parse();
3112
+ function Bn(e, t) {
3113
+ t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3114
+ var r = new Tn(e, t).parse();
3110
3115
  if (r.err) {
3111
3116
  var n = SyntaxError(y[r.err.kind]);
3112
3117
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3113
3118
  }
3114
- return t != null && t.captureLocation || Fe(r.val), r.val;
3119
+ return t != null && t.captureLocation || je(r.val), r.val;
3115
3120
  }
3116
- var J;
3121
+ var q;
3117
3122
  (function(e) {
3118
3123
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3119
- })(J || (J = {}));
3120
- var _e = (
3124
+ })(q || (q = {}));
3125
+ var ve = (
3121
3126
  /** @class */
3122
3127
  function(e) {
3123
3128
  Ee(t, e);
@@ -3129,33 +3134,33 @@ var _e = (
3129
3134
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3130
3135
  }, t;
3131
3136
  }(Error)
3132
- ), lt = (
3137
+ ), ft = (
3133
3138
  /** @class */
3134
3139
  function(e) {
3135
3140
  Ee(t, e);
3136
3141
  function t(r, n, i, o) {
3137
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3142
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
3138
3143
  }
3139
3144
  return t;
3140
- }(_e)
3141
- ), Bn = (
3145
+ }(ve)
3146
+ ), Sn = (
3142
3147
  /** @class */
3143
3148
  function(e) {
3144
3149
  Ee(t, e);
3145
3150
  function t(r, n, i) {
3146
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3151
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3147
3152
  }
3148
3153
  return t;
3149
- }(_e)
3150
- ), Sn = (
3154
+ }(ve)
3155
+ ), wn = (
3151
3156
  /** @class */
3152
3157
  function(e) {
3153
3158
  Ee(t, e);
3154
3159
  function t(r, n) {
3155
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3160
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3156
3161
  }
3157
3162
  return t;
3158
- }(_e)
3163
+ }(ve)
3159
3164
  ), w;
3160
3165
  (function(e) {
3161
3166
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
@@ -3166,11 +3171,11 @@ function On(e) {
3166
3171
  return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
3167
3172
  }, []);
3168
3173
  }
3169
- function wn(e) {
3174
+ function Pn(e) {
3170
3175
  return typeof e == "function";
3171
3176
  }
3172
- function me(e, t, r, n, i, o, s) {
3173
- if (e.length === 1 && nt(e[0]))
3177
+ function pe(e, t, r, n, i, o, s) {
3178
+ if (e.length === 1 && it(e[0]))
3174
3179
  return [
3175
3180
  {
3176
3181
  type: w.literal,
@@ -3179,14 +3184,14 @@ function me(e, t, r, n, i, o, s) {
3179
3184
  ];
3180
3185
  for (var u = [], h = 0, a = e; h < a.length; h++) {
3181
3186
  var l = a[h];
3182
- if (nt(l)) {
3187
+ if (it(l)) {
3183
3188
  u.push({
3184
3189
  type: w.literal,
3185
3190
  value: l.value
3186
3191
  });
3187
3192
  continue;
3188
3193
  }
3189
- if (qr(l)) {
3194
+ if (Yr(l)) {
3190
3195
  typeof o == "number" && u.push({
3191
3196
  type: w.literal,
3192
3197
  value: r.getNumberFormat(t).format(o)
@@ -3195,25 +3200,25 @@ function me(e, t, r, n, i, o, s) {
3195
3200
  }
3196
3201
  var c = l.value;
3197
3202
  if (!(i && c in i))
3198
- throw new Sn(c, s);
3203
+ throw new wn(c, s);
3199
3204
  var f = i[c];
3200
- if (Jr(l)) {
3205
+ if (qr(l)) {
3201
3206
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3202
3207
  type: typeof f == "string" ? w.literal : w.object,
3203
3208
  value: f
3204
3209
  });
3205
3210
  continue;
3206
3211
  }
3207
- if (wt(l)) {
3208
- var p = typeof l.style == "string" ? n.date[l.style] : $e(l.style) ? l.style.parsedOptions : void 0;
3212
+ if (Pt(l)) {
3213
+ var p = typeof l.style == "string" ? n.date[l.style] : Re(l.style) ? l.style.parsedOptions : void 0;
3209
3214
  u.push({
3210
3215
  type: w.literal,
3211
3216
  value: r.getDateTimeFormat(t, p).format(f)
3212
3217
  });
3213
3218
  continue;
3214
3219
  }
3215
- if (Pt(l)) {
3216
- var p = typeof l.style == "string" ? n.time[l.style] : $e(l.style) ? l.style.parsedOptions : n.time.medium;
3220
+ if (Nt(l)) {
3221
+ var p = typeof l.style == "string" ? n.time[l.style] : Re(l.style) ? l.style.parsedOptions : n.time.medium;
3217
3222
  u.push({
3218
3223
  type: w.literal,
3219
3224
  value: r.getDateTimeFormat(t, p).format(f)
@@ -3221,63 +3226,63 @@ function me(e, t, r, n, i, o, s) {
3221
3226
  continue;
3222
3227
  }
3223
3228
  if (Ot(l)) {
3224
- var p = typeof l.style == "string" ? n.number[l.style] : Mt(l.style) ? l.style.parsedOptions : void 0;
3229
+ var p = typeof l.style == "string" ? n.number[l.style] : $t(l.style) ? l.style.parsedOptions : void 0;
3225
3230
  p && p.scale && (f = f * (p.scale || 1)), u.push({
3226
3231
  type: w.literal,
3227
3232
  value: r.getNumberFormat(t, p).format(f)
3228
3233
  });
3229
3234
  continue;
3230
3235
  }
3231
- if (It(l)) {
3232
- var d = l.children, g = l.value, _ = i[g];
3233
- if (!wn(_))
3234
- throw new Bn(g, "function", s);
3235
- var m = me(d, t, r, n, i, o), C = _(m.map(function(S) {
3236
- return S.value;
3236
+ if (Mt(l)) {
3237
+ var d = l.children, g = l.value, E = i[g];
3238
+ if (!Pn(E))
3239
+ throw new Sn(g, "function", s);
3240
+ var m = pe(d, t, r, n, i, o), C = E(m.map(function(B) {
3241
+ return B.value;
3237
3242
  }));
3238
- Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(S) {
3243
+ Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(B) {
3239
3244
  return {
3240
- type: typeof S == "string" ? w.literal : w.object,
3241
- value: S
3245
+ type: typeof B == "string" ? w.literal : w.object,
3246
+ value: B
3242
3247
  };
3243
3248
  }));
3244
3249
  }
3245
- if (Nt(l)) {
3246
- var B = l.options[f] || l.options.other;
3247
- if (!B)
3248
- throw new lt(l.value, f, Object.keys(l.options), s);
3249
- u.push.apply(u, me(B.value, t, r, n, i));
3250
+ if (Lt(l)) {
3251
+ var A = l.options[f] || l.options.other;
3252
+ if (!A)
3253
+ throw new ft(l.value, f, Object.keys(l.options), s);
3254
+ u.push.apply(u, pe(A.value, t, r, n, i));
3250
3255
  continue;
3251
3256
  }
3252
- if (Lt(l)) {
3253
- var B = l.options["=".concat(f)];
3254
- if (!B) {
3257
+ if (It(l)) {
3258
+ var A = l.options["=".concat(f)];
3259
+ if (!A) {
3255
3260
  if (!Intl.PluralRules)
3256
- throw new _e(`Intl.PluralRules is not available in this environment.
3261
+ throw new ve(`Intl.PluralRules is not available in this environment.
3257
3262
  Try polyfilling it using "@formatjs/intl-pluralrules"
3258
- `, J.MISSING_INTL_API, s);
3259
- var P = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3260
- B = l.options[P] || l.options.other;
3263
+ `, q.MISSING_INTL_API, s);
3264
+ var O = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3265
+ A = l.options[O] || l.options.other;
3261
3266
  }
3262
- if (!B)
3263
- throw new lt(l.value, f, Object.keys(l.options), s);
3264
- u.push.apply(u, me(B.value, t, r, n, i, f - (l.offset || 0)));
3267
+ if (!A)
3268
+ throw new ft(l.value, f, Object.keys(l.options), s);
3269
+ u.push.apply(u, pe(A.value, t, r, n, i, f - (l.offset || 0)));
3265
3270
  continue;
3266
3271
  }
3267
3272
  }
3268
3273
  return On(u);
3269
3274
  }
3270
- function Pn(e, t) {
3271
- return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3272
- return r[n] = E(E({}, e[n]), t[n] || {}), r;
3275
+ function Nn(e, t) {
3276
+ return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3277
+ return r[n] = x(x({}, e[n]), t[n] || {}), r;
3273
3278
  }, {})) : e;
3274
3279
  }
3275
- function Nn(e, t) {
3280
+ function Ln(e, t) {
3276
3281
  return t ? Object.keys(e).reduce(function(r, n) {
3277
- return r[n] = Pn(e[n], t[n]), r;
3278
- }, E({}, e)) : e;
3282
+ return r[n] = Nn(e[n], t[n]), r;
3283
+ }, x({}, e)) : e;
3279
3284
  }
3280
- function we(e) {
3285
+ function Pe(e) {
3281
3286
  return {
3282
3287
  create: function() {
3283
3288
  return {
@@ -3291,39 +3296,39 @@ function we(e) {
3291
3296
  }
3292
3297
  };
3293
3298
  }
3294
- function Ln(e) {
3299
+ function In(e) {
3295
3300
  return e === void 0 && (e = {
3296
3301
  number: {},
3297
3302
  dateTime: {},
3298
3303
  pluralRules: {}
3299
3304
  }), {
3300
- getNumberFormat: Be(function() {
3305
+ getNumberFormat: Se(function() {
3301
3306
  for (var t, r = [], n = 0; n < arguments.length; n++)
3302
3307
  r[n] = arguments[n];
3303
- return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3308
+ return new ((t = Intl.NumberFormat).bind.apply(t, Be([void 0], r, !1)))();
3304
3309
  }, {
3305
- cache: we(e.number),
3306
- strategy: Se.variadic
3310
+ cache: Pe(e.number),
3311
+ strategy: we.variadic
3307
3312
  }),
3308
- getDateTimeFormat: Be(function() {
3313
+ getDateTimeFormat: Se(function() {
3309
3314
  for (var t, r = [], n = 0; n < arguments.length; n++)
3310
3315
  r[n] = arguments[n];
3311
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3316
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Be([void 0], r, !1)))();
3312
3317
  }, {
3313
- cache: we(e.dateTime),
3314
- strategy: Se.variadic
3318
+ cache: Pe(e.dateTime),
3319
+ strategy: we.variadic
3315
3320
  }),
3316
- getPluralRules: Be(function() {
3321
+ getPluralRules: Se(function() {
3317
3322
  for (var t, r = [], n = 0; n < arguments.length; n++)
3318
3323
  r[n] = arguments[n];
3319
- return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3324
+ return new ((t = Intl.PluralRules).bind.apply(t, Be([void 0], r, !1)))();
3320
3325
  }, {
3321
- cache: we(e.pluralRules),
3322
- strategy: Se.variadic
3326
+ cache: Pe(e.pluralRules),
3327
+ strategy: we.variadic
3323
3328
  })
3324
3329
  };
3325
3330
  }
3326
- var In = (
3331
+ var Mn = (
3327
3332
  /** @class */
3328
3333
  function() {
3329
3334
  function e(t, r, n, i) {
@@ -3342,7 +3347,7 @@ var In = (
3342
3347
  }, []);
3343
3348
  return l.length <= 1 ? l[0] || "" : l;
3344
3349
  }, this.formatToParts = function(h) {
3345
- return me(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3350
+ return pe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3346
3351
  }, this.resolvedOptions = function() {
3347
3352
  var h;
3348
3353
  return {
@@ -3355,13 +3360,13 @@ var In = (
3355
3360
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3356
3361
  var s = i || {};
3357
3362
  s.formatters;
3358
- var u = jr(s, ["formatters"]);
3359
- this.ast = e.__parse(t, E(E({}, u), { locale: this.resolvedLocale }));
3363
+ var u = kr(s, ["formatters"]);
3364
+ this.ast = e.__parse(t, x(x({}, u), { locale: this.resolvedLocale }));
3360
3365
  } else
3361
3366
  this.ast = t;
3362
3367
  if (!Array.isArray(this.ast))
3363
3368
  throw new TypeError("A message must be provided as a String or AST.");
3364
- this.formats = Nn(e.formats, n), this.formatters = i && i.formatters || Ln(this.formatterCache);
3369
+ this.formats = Ln(e.formats, n), this.formatters = i && i.formatters || In(this.formatterCache);
3365
3370
  }
3366
3371
  return Object.defineProperty(e, "defaultLocale", {
3367
3372
  get: function() {
@@ -3374,7 +3379,7 @@ var In = (
3374
3379
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3375
3380
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3376
3381
  }
3377
- }, e.__parse = An, e.formats = {
3382
+ }, e.__parse = Bn, e.formats = {
3378
3383
  number: {
3379
3384
  integer: {
3380
3385
  maximumFractionDigits: 0
@@ -3435,7 +3440,7 @@ var In = (
3435
3440
  }, e;
3436
3441
  }()
3437
3442
  );
3438
- function Mn(e, t) {
3443
+ function $n(e, t) {
3439
3444
  if (t == null)
3440
3445
  return;
3441
3446
  if (t in e)
@@ -3456,92 +3461,92 @@ function Mn(e, t) {
3456
3461
  n = void 0;
3457
3462
  return n;
3458
3463
  }
3459
- const G = {}, $n = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), kt = (e, t) => {
3464
+ const D = {}, Rn = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Vt = (e, t) => {
3460
3465
  if (t == null)
3461
3466
  return;
3462
- if (t in G && e in G[t])
3463
- return G[t][e];
3464
- const r = ve(t);
3467
+ if (t in D && e in D[t])
3468
+ return D[t][e];
3469
+ const r = Te(t);
3465
3470
  for (let n = 0; n < r.length; n++) {
3466
- const i = r[n], o = Un(i, e);
3471
+ const i = r[n], o = Gn(i, e);
3467
3472
  if (o)
3468
- return $n(e, t, o);
3473
+ return Rn(e, t, o);
3469
3474
  }
3470
3475
  };
3471
- let Xe;
3472
- const ue = xe({});
3473
- function Rn(e) {
3474
- return Xe[e] || null;
3476
+ let ze;
3477
+ const he = xe({});
3478
+ function Un(e) {
3479
+ return ze[e] || null;
3475
3480
  }
3476
- function Vt(e) {
3477
- return e in Xe;
3481
+ function Xt(e) {
3482
+ return e in ze;
3478
3483
  }
3479
- function Un(e, t) {
3480
- if (!Vt(e))
3484
+ function Gn(e, t) {
3485
+ if (!Xt(e))
3481
3486
  return null;
3482
- const r = Rn(e);
3483
- return Mn(r, t);
3487
+ const r = Un(e);
3488
+ return $n(r, t);
3484
3489
  }
3485
- function Gn(e) {
3490
+ function Dn(e) {
3486
3491
  if (e == null)
3487
3492
  return;
3488
- const t = ve(e);
3493
+ const t = Te(e);
3489
3494
  for (let r = 0; r < t.length; r++) {
3490
3495
  const n = t[r];
3491
- if (Vt(n))
3496
+ if (Xt(n))
3492
3497
  return n;
3493
3498
  }
3494
3499
  }
3495
- function Xt(e, ...t) {
3496
- delete G[e], ue.update((r) => (r[e] = Fr.all([r[e] || {}, ...t]), r));
3500
+ function zt(e, ...t) {
3501
+ delete D[e], he.update((r) => (r[e] = jr.all([r[e] || {}, ...t]), r));
3497
3502
  }
3498
- K(
3499
- [ue],
3503
+ ee(
3504
+ [he],
3500
3505
  ([e]) => Object.keys(e)
3501
3506
  );
3502
- ue.subscribe((e) => Xe = e);
3503
- const pe = {};
3504
- function Dn(e, t) {
3505
- pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3507
+ he.subscribe((e) => ze = e);
3508
+ const de = {};
3509
+ function Fn(e, t) {
3510
+ de[e].delete(t), de[e].size === 0 && delete de[e];
3506
3511
  }
3507
- function zt(e) {
3508
- return pe[e];
3512
+ function Wt(e) {
3513
+ return de[e];
3509
3514
  }
3510
- function Fn(e) {
3511
- return ve(e).map((t) => {
3512
- const r = zt(t);
3515
+ function jn(e) {
3516
+ return Te(e).map((t) => {
3517
+ const r = Wt(t);
3513
3518
  return [t, r ? [...r] : []];
3514
3519
  }).filter(([, t]) => t.length > 0);
3515
3520
  }
3516
- function je(e) {
3517
- return e == null ? !1 : ve(e).some(
3521
+ function ke(e) {
3522
+ return e == null ? !1 : Te(e).some(
3518
3523
  (t) => {
3519
3524
  var r;
3520
- return (r = zt(t)) == null ? void 0 : r.size;
3525
+ return (r = Wt(t)) == null ? void 0 : r.size;
3521
3526
  }
3522
3527
  );
3523
3528
  }
3524
- function jn(e, t) {
3529
+ function kn(e, t) {
3525
3530
  return Promise.all(
3526
- t.map((n) => (Dn(e, n), n().then((i) => i.default || i)))
3527
- ).then((n) => Xt(e, ...n));
3528
- }
3529
- const re = {};
3530
- function Wt(e) {
3531
- if (!je(e))
3532
- return e in re ? re[e] : Promise.resolve();
3533
- const t = Fn(e);
3534
- return re[e] = Promise.all(
3531
+ t.map((n) => (Fn(e, n), n().then((i) => i.default || i)))
3532
+ ).then((n) => zt(e, ...n));
3533
+ }
3534
+ const ne = {};
3535
+ function Zt(e) {
3536
+ if (!ke(e))
3537
+ return e in ne ? ne[e] : Promise.resolve();
3538
+ const t = jn(e);
3539
+ return ne[e] = Promise.all(
3535
3540
  t.map(
3536
- ([r, n]) => jn(r, n)
3541
+ ([r, n]) => kn(r, n)
3537
3542
  )
3538
3543
  ).then(() => {
3539
- if (je(e))
3540
- return Wt(e);
3541
- delete re[e];
3542
- }), re[e];
3544
+ if (ke(e))
3545
+ return Zt(e);
3546
+ delete ne[e];
3547
+ }), ne[e];
3543
3548
  }
3544
- const kn = {
3549
+ const Vn = {
3545
3550
  number: {
3546
3551
  scientific: { notation: "scientific" },
3547
3552
  engineering: { notation: "engineering" },
@@ -3570,150 +3575,150 @@ const kn = {
3570
3575
  timeZoneName: "short"
3571
3576
  }
3572
3577
  }
3573
- }, Vn = {
3578
+ }, Xn = {
3574
3579
  fallbackLocale: null,
3575
3580
  loadingDelay: 200,
3576
- formats: kn,
3581
+ formats: Vn,
3577
3582
  warnOnMissingMessages: !0,
3578
3583
  handleMissingMessage: void 0,
3579
3584
  ignoreTag: !0
3580
- }, Xn = Vn;
3581
- function q() {
3582
- return Xn;
3585
+ }, zn = Xn;
3586
+ function Y() {
3587
+ return zn;
3583
3588
  }
3584
- const Pe = xe(!1);
3585
- var zn = Object.defineProperty, Wn = Object.defineProperties, Zn = Object.getOwnPropertyDescriptors, ft = Object.getOwnPropertySymbols, Qn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, ct = (e, t, r) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qn = (e, t) => {
3589
+ const Ne = xe(!1);
3590
+ var Wn = Object.defineProperty, Zn = Object.defineProperties, Qn = Object.getOwnPropertyDescriptors, ct = Object.getOwnPropertySymbols, Jn = Object.prototype.hasOwnProperty, qn = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? Wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yn = (e, t) => {
3586
3591
  for (var r in t || (t = {}))
3587
- Qn.call(t, r) && ct(e, r, t[r]);
3588
- if (ft)
3589
- for (var r of ft(t))
3590
- Jn.call(t, r) && ct(e, r, t[r]);
3592
+ Jn.call(t, r) && gt(e, r, t[r]);
3593
+ if (ct)
3594
+ for (var r of ct(t))
3595
+ qn.call(t, r) && gt(e, r, t[r]);
3591
3596
  return e;
3592
- }, Yn = (e, t) => Wn(e, Zn(t));
3593
- let ke;
3594
- const be = xe(null);
3595
- function gt(e) {
3597
+ }, Kn = (e, t) => Zn(e, Qn(t));
3598
+ let Ve;
3599
+ const ye = xe(null);
3600
+ function mt(e) {
3596
3601
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3597
3602
  }
3598
- function ve(e, t = q().fallbackLocale) {
3599
- const r = gt(e);
3600
- return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
3603
+ function Te(e, t = Y().fallbackLocale) {
3604
+ const r = mt(e);
3605
+ return t ? [.../* @__PURE__ */ new Set([...r, ...mt(t)])] : r;
3601
3606
  }
3602
- function k() {
3603
- return ke != null ? ke : void 0;
3607
+ function V() {
3608
+ return Ve != null ? Ve : void 0;
3604
3609
  }
3605
- be.subscribe((e) => {
3606
- ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3610
+ ye.subscribe((e) => {
3611
+ Ve = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3607
3612
  });
3608
- const Kn = (e) => {
3609
- if (e && Gn(e) && je(e)) {
3610
- const { loadingDelay: t } = q();
3613
+ const ei = (e) => {
3614
+ if (e && Dn(e) && ke(e)) {
3615
+ const { loadingDelay: t } = Y();
3611
3616
  let r;
3612
- return typeof window != "undefined" && k() != null && t ? r = window.setTimeout(
3613
- () => Pe.set(!0),
3617
+ return typeof window != "undefined" && V() != null && t ? r = window.setTimeout(
3618
+ () => Ne.set(!0),
3614
3619
  t
3615
- ) : Pe.set(!0), Wt(e).then(() => {
3616
- be.set(e);
3620
+ ) : Ne.set(!0), Zt(e).then(() => {
3621
+ ye.set(e);
3617
3622
  }).finally(() => {
3618
- clearTimeout(r), Pe.set(!1);
3623
+ clearTimeout(r), Ne.set(!1);
3619
3624
  });
3620
3625
  }
3621
- return be.set(e);
3622
- }, ee = Yn(qn({}, be), {
3623
- set: Kn
3624
- }), Te = (e) => {
3626
+ return ye.set(e);
3627
+ }, te = Kn(Yn({}, ye), {
3628
+ set: ei
3629
+ }), Ce = (e) => {
3625
3630
  const t = /* @__PURE__ */ Object.create(null);
3626
3631
  return (n) => {
3627
3632
  const i = JSON.stringify(n);
3628
3633
  return i in t ? t[i] : t[i] = e(n);
3629
3634
  };
3630
3635
  };
3631
- var ei = Object.defineProperty, ye = Object.getOwnPropertySymbols, Zt = Object.prototype.hasOwnProperty, Qt = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
3636
+ var ti = Object.defineProperty, _e = Object.getOwnPropertySymbols, Qt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
3632
3637
  for (var r in t || (t = {}))
3633
- Zt.call(t, r) && mt(e, r, t[r]);
3634
- if (ye)
3635
- for (var r of ye(t))
3636
- Qt.call(t, r) && mt(e, r, t[r]);
3638
+ Qt.call(t, r) && pt(e, r, t[r]);
3639
+ if (_e)
3640
+ for (var r of _e(t))
3641
+ Jt.call(t, r) && pt(e, r, t[r]);
3637
3642
  return e;
3638
- }, te = (e, t) => {
3643
+ }, re = (e, t) => {
3639
3644
  var r = {};
3640
3645
  for (var n in e)
3641
- Zt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3642
- if (e != null && ye)
3643
- for (var n of ye(e))
3644
- t.indexOf(n) < 0 && Qt.call(e, n) && (r[n] = e[n]);
3646
+ Qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3647
+ if (e != null && _e)
3648
+ for (var n of _e(e))
3649
+ t.indexOf(n) < 0 && Jt.call(e, n) && (r[n] = e[n]);
3645
3650
  return r;
3646
3651
  };
3647
- const se = (e, t) => {
3648
- const { formats: r } = q();
3652
+ const ae = (e, t) => {
3653
+ const { formats: r } = Y();
3649
3654
  if (e in r && t in r[e])
3650
3655
  return r[e][t];
3651
3656
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3652
- }, ti = Te(
3657
+ }, ri = Ce(
3653
3658
  (e) => {
3654
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3659
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3655
3660
  if (r == null)
3656
3661
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3657
- return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
3662
+ return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
3658
3663
  }
3659
- ), ri = Te(
3664
+ ), ni = Ce(
3660
3665
  (e) => {
3661
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3666
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3662
3667
  if (r == null)
3663
3668
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3664
- return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
3669
+ return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
3665
3670
  }
3666
- ), ni = Te(
3671
+ ), ii = Ce(
3667
3672
  (e) => {
3668
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3673
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3669
3674
  if (r == null)
3670
3675
  throw new Error(
3671
3676
  '[svelte-i18n] A "locale" must be set to format time values'
3672
3677
  );
3673
- return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
3678
+ return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
3674
3679
  }
3675
- ), ii = (e = {}) => {
3680
+ ), oi = (e = {}) => {
3676
3681
  var t = e, {
3677
- locale: r = k()
3678
- } = t, n = te(t, [
3682
+ locale: r = V()
3683
+ } = t, n = re(t, [
3679
3684
  "locale"
3680
3685
  ]);
3681
- return ti(ze({ locale: r }, n));
3682
- }, oi = (e = {}) => {
3686
+ return ri(We({ locale: r }, n));
3687
+ }, si = (e = {}) => {
3683
3688
  var t = e, {
3684
- locale: r = k()
3685
- } = t, n = te(t, [
3689
+ locale: r = V()
3690
+ } = t, n = re(t, [
3686
3691
  "locale"
3687
3692
  ]);
3688
- return ri(ze({ locale: r }, n));
3689
- }, si = (e = {}) => {
3693
+ return ni(We({ locale: r }, n));
3694
+ }, ai = (e = {}) => {
3690
3695
  var t = e, {
3691
- locale: r = k()
3692
- } = t, n = te(t, [
3696
+ locale: r = V()
3697
+ } = t, n = re(t, [
3693
3698
  "locale"
3694
3699
  ]);
3695
- return ni(ze({ locale: r }, n));
3696
- }, ai = Te(
3700
+ return ii(We({ locale: r }, n));
3701
+ }, ui = Ce(
3697
3702
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3698
- (e, t = k()) => new In(e, t, q().formats, {
3699
- ignoreTag: q().ignoreTag
3703
+ (e, t = V()) => new Mn(e, t, Y().formats, {
3704
+ ignoreTag: Y().ignoreTag
3700
3705
  })
3701
- ), ui = (e, t = {}) => {
3706
+ ), hi = (e, t = {}) => {
3702
3707
  var r, n, i, o;
3703
3708
  let s = t;
3704
3709
  typeof e == "object" && (s = e, e = s.id);
3705
3710
  const {
3706
3711
  values: u,
3707
- locale: h = k(),
3712
+ locale: h = V(),
3708
3713
  default: a
3709
3714
  } = s;
3710
3715
  if (h == null)
3711
3716
  throw new Error(
3712
3717
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3713
3718
  );
3714
- let l = kt(e, h);
3719
+ let l = Vt(e, h);
3715
3720
  if (!l)
3716
- l = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? o : e;
3721
+ l = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? o : e;
3717
3722
  else if (typeof l != "string")
3718
3723
  return console.warn(
3719
3724
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3722,7 +3727,7 @@ const se = (e, t) => {
3722
3727
  return l;
3723
3728
  let c = l;
3724
3729
  try {
3725
- c = ai(l, h).format(u);
3730
+ c = ui(l, h).format(u);
3726
3731
  } catch (f) {
3727
3732
  f instanceof Error && console.warn(
3728
3733
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3730,18 +3735,18 @@ const se = (e, t) => {
3730
3735
  );
3731
3736
  }
3732
3737
  return c;
3733
- }, hi = (e, t) => si(t).format(e), li = (e, t) => oi(t).format(e), fi = (e, t) => ii(t).format(e), ci = (e, t = k()) => kt(e, t), gi = K([ee, ue], () => ui);
3734
- K([ee], () => hi);
3735
- K([ee], () => li);
3736
- K([ee], () => fi);
3737
- K([ee, ue], () => ci);
3738
- function pt(e, t) {
3739
- Xt(e, t);
3740
- }
3741
- function mi(e) {
3742
- ee.set(e);
3743
- }
3744
- const dt = {
3738
+ }, li = (e, t) => ai(t).format(e), fi = (e, t) => si(t).format(e), ci = (e, t) => oi(t).format(e), gi = (e, t = V()) => Vt(e, t), mi = ee([te, he], () => hi);
3739
+ ee([te], () => li);
3740
+ ee([te], () => fi);
3741
+ ee([te], () => ci);
3742
+ ee([te, he], () => gi);
3743
+ function dt(e, t) {
3744
+ zt(e, t);
3745
+ }
3746
+ function pi(e) {
3747
+ te.set(e);
3748
+ }
3749
+ const bt = {
3745
3750
  en: {
3746
3751
  topCategories: "Top Categories",
3747
3752
  otherCategories: "Other Categories",
@@ -3851,13 +3856,13 @@ const dt = {
3851
3856
  games: "games"
3852
3857
  }
3853
3858
  };
3854
- function pi(e, t) {
3859
+ function di(e, t) {
3855
3860
  if (e) {
3856
3861
  const r = document.createElement("style");
3857
3862
  r.innerHTML = t, e.appendChild(r);
3858
3863
  }
3859
3864
  }
3860
- function di(e, t) {
3865
+ function bi(e, t) {
3861
3866
  const r = new URL(t);
3862
3867
  fetch(r.href).then((n) => n.text()).then((n) => {
3863
3868
  const i = document.createElement("style");
@@ -3866,7 +3871,7 @@ function di(e, t) {
3866
3871
  console.error("There was an error while trying to load client styling from URL", n);
3867
3872
  });
3868
3873
  }
3869
- function bi(e, t, r) {
3874
+ function yi(e, t, r) {
3870
3875
  if (window.emMessageBus) {
3871
3876
  const n = document.createElement("style");
3872
3877
  window.emMessageBus.subscribe(t, (i) => {
@@ -3874,14 +3879,14 @@ function bi(e, t, r) {
3874
3879
  });
3875
3880
  }
3876
3881
  }
3877
- function yi(e) {
3878
- or(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}");
3882
+ function _i(e) {
3883
+ sr(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}");
3879
3884
  }
3880
- function bt(e, t, r) {
3885
+ function yt(e, t, r) {
3881
3886
  const n = e.slice();
3882
3887
  return n[23] = t[r], n;
3883
3888
  }
3884
- function yt(e, t, r) {
3889
+ function _t(e, t, r) {
3885
3890
  const n = e.slice();
3886
3891
  return n[23] = t[r], n;
3887
3892
  }
@@ -3892,66 +3897,66 @@ function xi(e) {
3892
3897
  ), i, o, s, u, h = (
3893
3898
  /*$_*/
3894
3899
  e[5]("otherCategories") + ""
3895
- ), a, l, c = fe(
3900
+ ), a, l, c = ce(
3896
3901
  /*topCategories*/
3897
3902
  e[3]
3898
3903
  ), f = [];
3899
3904
  for (let g = 0; g < c.length; g += 1)
3900
- f[g] = xt(yt(e, c, g));
3901
- let p = fe(
3905
+ f[g] = xt(_t(e, c, g));
3906
+ let p = ce(
3902
3907
  /*otherCategories*/
3903
3908
  e[4]
3904
3909
  ), d = [];
3905
3910
  for (let g = 0; g < p.length; g += 1)
3906
- d[g] = Et(bt(e, p, g));
3911
+ d[g] = Et(yt(e, p, g));
3907
3912
  return {
3908
3913
  c() {
3909
- t = O("div"), r = O("h4"), i = U(n), o = R();
3914
+ t = S("div"), r = S("h4"), i = G(n), o = U();
3910
3915
  for (let g = 0; g < f.length; g += 1)
3911
3916
  f[g].c();
3912
- s = R(), u = O("h4"), a = U(h), l = R();
3917
+ s = U(), u = S("h4"), a = G(h), l = U();
3913
3918
  for (let g = 0; g < d.length; g += 1)
3914
3919
  d[g].c();
3915
- A(r, "class", "CategoryTitle"), A(u, "class", "CategoryTitle"), A(t, "class", "CasinoCategories");
3920
+ I(r, "class", "CategoryTitle"), I(u, "class", "CategoryTitle"), I(t, "class", "CasinoCategories");
3916
3921
  },
3917
- m(g, _) {
3918
- Y(g, t, _), v(t, r), v(r, i), v(t, o);
3922
+ m(g, E) {
3923
+ K(g, t, E), v(t, r), v(r, i), v(t, o);
3919
3924
  for (let m = 0; m < f.length; m += 1)
3920
3925
  f[m] && f[m].m(t, null);
3921
3926
  v(t, s), v(t, u), v(u, a), v(t, l);
3922
3927
  for (let m = 0; m < d.length; m += 1)
3923
3928
  d[m] && d[m].m(t, null);
3924
3929
  },
3925
- p(g, _) {
3926
- if (_ & /*$_*/
3930
+ p(g, E) {
3931
+ if (E & /*$_*/
3927
3932
  32 && n !== (n = /*$_*/
3928
- g[5]("topCategories") + "") && D(i, n), _ & /*activecategory, topCategories, openGameCategory, $_*/
3933
+ g[5]("topCategories") + "") && F(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
3929
3934
  105) {
3930
- c = fe(
3935
+ c = ce(
3931
3936
  /*topCategories*/
3932
3937
  g[3]
3933
3938
  );
3934
3939
  let m;
3935
3940
  for (m = 0; m < c.length; m += 1) {
3936
- const C = yt(g, c, m);
3937
- f[m] ? f[m].p(C, _) : (f[m] = xt(C), f[m].c(), f[m].m(t, s));
3941
+ const C = _t(g, c, m);
3942
+ f[m] ? f[m].p(C, E) : (f[m] = xt(C), f[m].c(), f[m].m(t, s));
3938
3943
  }
3939
3944
  for (; m < f.length; m += 1)
3940
3945
  f[m].d(1);
3941
3946
  f.length = c.length;
3942
3947
  }
3943
- if (_ & /*$_*/
3948
+ if (E & /*$_*/
3944
3949
  32 && h !== (h = /*$_*/
3945
- g[5]("otherCategories") + "") && D(a, h), _ & /*activecategory, otherCategories, openGameCategory, $_*/
3950
+ g[5]("otherCategories") + "") && F(a, h), E & /*activecategory, otherCategories, openGameCategory, $_*/
3946
3951
  113) {
3947
- p = fe(
3952
+ p = ce(
3948
3953
  /*otherCategories*/
3949
3954
  g[4]
3950
3955
  );
3951
3956
  let m;
3952
3957
  for (m = 0; m < p.length; m += 1) {
3953
- const C = bt(g, p, m);
3954
- d[m] ? d[m].p(C, _) : (d[m] = Et(C), d[m].c(), d[m].m(t, null));
3958
+ const C = yt(g, p, m);
3959
+ d[m] ? d[m].p(C, E) : (d[m] = Et(C), d[m].c(), d[m].m(t, null));
3955
3960
  }
3956
3961
  for (; m < d.length; m += 1)
3957
3962
  d[m].d(1);
@@ -3959,7 +3964,7 @@ function xi(e) {
3959
3964
  }
3960
3965
  },
3961
3966
  d(g) {
3962
- g && j(t), et(f, g), et(d, g);
3967
+ g && k(t), tt(f, g), tt(d, g);
3963
3968
  }
3964
3969
  };
3965
3970
  }
@@ -3967,14 +3972,14 @@ function Ei(e) {
3967
3972
  let t;
3968
3973
  return {
3969
3974
  c() {
3970
- t = O("p"), t.textContent = "Loading, please wait...", A(t, "class", "Message");
3975
+ t = S("p"), t.textContent = "Loading, please wait...", I(t, "class", "Message");
3971
3976
  },
3972
3977
  m(r, n) {
3973
- Y(r, t, n);
3978
+ K(r, t, n);
3974
3979
  },
3975
- p: I,
3980
+ p: L,
3976
3981
  d(r) {
3977
- r && j(t);
3982
+ r && k(t);
3978
3983
  }
3979
3984
  };
3980
3985
  }
@@ -3988,8 +3993,8 @@ function xt(e) {
3988
3993
  ), p, d, g = (
3989
3994
  /*$_*/
3990
3995
  e[5]("games") + ""
3991
- ), _, m, C, B;
3992
- function P() {
3996
+ ), E, m, C, A;
3997
+ function O() {
3993
3998
  return (
3994
3999
  /*click_handler*/
3995
4000
  e[15](
@@ -4000,33 +4005,33 @@ function xt(e) {
4000
4005
  }
4001
4006
  return {
4002
4007
  c() {
4003
- t = O("div"), r = O("img"), o = R(), s = O("div"), u = O("p"), a = U(h), l = R(), c = O("p"), p = U(f), d = R(), _ = U(g), de(r.src, n = /*category*/
4004
- e[23].icon) || A(r, "src", n), A(r, "alt", i = /*category*/
4005
- e[23].name), A(r, "class", "CategoryImage"), A(s, "class", "CategoryTextContainer"), A(t, "class", m = "Category " + /*activecategory*/
4008
+ t = S("div"), r = S("ui-image"), o = U(), s = S("div"), u = S("p"), a = G(h), l = U(), c = S("p"), p = G(f), d = U(), E = G(g), be(r.src, n = /*category*/
4009
+ e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
4010
+ e[23].name), R(r, "imgClass", "CategoryImage"), I(s, "class", "CategoryTextContainer"), I(t, "class", m = "Category " + /*activecategory*/
4006
4011
  (e[0] === /*category*/
4007
4012
  e[23].id ? "Active" : ""));
4008
4013
  },
4009
- m(S, H) {
4010
- Y(S, t, H), v(t, r), v(t, o), v(t, s), v(s, u), v(u, a), v(s, l), v(s, c), v(c, p), v(c, d), v(c, _), C || (B = Ct(t, "click", P), C = !0);
4014
+ m(B, H) {
4015
+ K(B, t, H), v(t, r), v(t, o), v(t, s), v(s, u), v(u, a), v(s, l), v(s, c), v(c, p), v(c, d), v(c, E), C || (A = Ht(t, "click", O), C = !0);
4011
4016
  },
4012
- p(S, H) {
4013
- e = S, H & /*topCategories*/
4014
- 8 && !de(r.src, n = /*category*/
4015
- e[23].icon) && A(r, "src", n), H & /*topCategories*/
4017
+ p(B, H) {
4018
+ e = B, H & /*topCategories*/
4019
+ 8 && !be(r.src, n = /*category*/
4020
+ e[23].icon) && R(r, "src", n), H & /*topCategories*/
4016
4021
  8 && i !== (i = /*category*/
4017
- e[23].name) && A(r, "alt", i), H & /*topCategories*/
4022
+ e[23].name) && R(r, "alt", i), H & /*topCategories*/
4018
4023
  8 && h !== (h = /*category*/
4019
- e[23].name + "") && D(a, h), H & /*topCategories*/
4024
+ e[23].name + "") && F(a, h), H & /*topCategories*/
4020
4025
  8 && f !== (f = /*category*/
4021
- e[23].games.count + "") && D(p, f), H & /*$_*/
4026
+ e[23].games.count + "") && F(p, f), H & /*$_*/
4022
4027
  32 && g !== (g = /*$_*/
4023
- e[5]("games") + "") && D(_, g), H & /*activecategory, topCategories*/
4028
+ e[5]("games") + "") && F(E, g), H & /*activecategory, topCategories*/
4024
4029
  9 && m !== (m = "Category " + /*activecategory*/
4025
4030
  (e[0] === /*category*/
4026
- e[23].id ? "Active" : "")) && A(t, "class", m);
4031
+ e[23].id ? "Active" : "")) && I(t, "class", m);
4027
4032
  },
4028
- d(S) {
4029
- S && j(t), C = !1, B();
4033
+ d(B) {
4034
+ B && k(t), C = !1, A();
4030
4035
  }
4031
4036
  };
4032
4037
  }
@@ -4040,8 +4045,8 @@ function Et(e) {
4040
4045
  ), p, d, g = (
4041
4046
  /*$_*/
4042
4047
  e[5]("games") + ""
4043
- ), _, m, C, B, P;
4044
- function S() {
4048
+ ), E, m, C, A, O;
4049
+ function B() {
4045
4050
  return (
4046
4051
  /*click_handler_1*/
4047
4052
  e[16](
@@ -4052,37 +4057,37 @@ function Et(e) {
4052
4057
  }
4053
4058
  return {
4054
4059
  c() {
4055
- t = O("div"), r = O("img"), o = R(), s = O("div"), u = O("p"), a = U(h), l = R(), c = O("p"), p = U(f), d = R(), _ = U(g), m = R(), de(r.src, n = /*category*/
4056
- e[23].icon) || A(r, "src", n), A(r, "alt", i = /*category*/
4057
- e[23].name), A(r, "class", "CategoryImage"), A(s, "class", "CategoryTextContainer"), A(t, "class", C = "Category " + /*activecategory*/
4060
+ t = S("div"), r = S("ui-image"), o = U(), s = S("div"), u = S("p"), a = G(h), l = U(), c = S("p"), p = G(f), d = U(), E = G(g), m = U(), be(r.src, n = /*category*/
4061
+ e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
4062
+ e[23].name), R(r, "imgClass", "CategoryImage"), I(s, "class", "CategoryTextContainer"), I(t, "class", C = "Category " + /*activecategory*/
4058
4063
  (e[0] === /*category*/
4059
4064
  e[23].id ? "Active" : ""));
4060
4065
  },
4061
- m(H, N) {
4062
- Y(H, t, N), v(t, r), v(t, o), v(t, s), v(s, u), v(u, a), v(s, l), v(s, c), v(c, p), v(c, d), v(c, _), v(t, m), B || (P = Ct(t, "click", S), B = !0);
4066
+ m(H, P) {
4067
+ K(H, t, P), v(t, r), v(t, o), v(t, s), v(s, u), v(u, a), v(s, l), v(s, c), v(c, p), v(c, d), v(c, E), v(t, m), A || (O = Ht(t, "click", B), A = !0);
4063
4068
  },
4064
- p(H, N) {
4065
- e = H, N & /*otherCategories*/
4066
- 16 && !de(r.src, n = /*category*/
4067
- e[23].icon) && A(r, "src", n), N & /*otherCategories*/
4069
+ p(H, P) {
4070
+ e = H, P & /*otherCategories*/
4071
+ 16 && !be(r.src, n = /*category*/
4072
+ e[23].icon) && R(r, "src", n), P & /*otherCategories*/
4068
4073
  16 && i !== (i = /*category*/
4069
- e[23].name) && A(r, "alt", i), N & /*otherCategories*/
4074
+ e[23].name) && R(r, "alt", i), P & /*otherCategories*/
4070
4075
  16 && h !== (h = /*category*/
4071
- e[23].name + "") && D(a, h), N & /*otherCategories*/
4076
+ e[23].name + "") && F(a, h), P & /*otherCategories*/
4072
4077
  16 && f !== (f = /*category*/
4073
- e[23].games.count + "") && D(p, f), N & /*$_*/
4078
+ e[23].games.count + "") && F(p, f), P & /*$_*/
4074
4079
  32 && g !== (g = /*$_*/
4075
- e[5]("games") + "") && D(_, g), N & /*activecategory, otherCategories*/
4080
+ e[5]("games") + "") && F(E, g), P & /*activecategory, otherCategories*/
4076
4081
  17 && C !== (C = "Category " + /*activecategory*/
4077
4082
  (e[0] === /*category*/
4078
- e[23].id ? "Active" : "")) && A(t, "class", C);
4083
+ e[23].id ? "Active" : "")) && I(t, "class", C);
4079
4084
  },
4080
4085
  d(H) {
4081
- H && j(t), B = !1, P();
4086
+ H && k(t), A = !1, O();
4082
4087
  }
4083
4088
  };
4084
4089
  }
4085
- function _i(e) {
4090
+ function vi(e) {
4086
4091
  let t;
4087
4092
  function r(o, s) {
4088
4093
  return (
@@ -4093,61 +4098,61 @@ function _i(e) {
4093
4098
  let n = r(e), i = n(e);
4094
4099
  return {
4095
4100
  c() {
4096
- t = O("div"), i.c();
4101
+ t = S("div"), i.c();
4097
4102
  },
4098
4103
  m(o, s) {
4099
- Y(o, t, s), i.m(t, null), e[17](t);
4104
+ K(o, t, s), i.m(t, null), e[17](t);
4100
4105
  },
4101
4106
  p(o, [s]) {
4102
4107
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4103
4108
  },
4104
- i: I,
4105
- o: I,
4109
+ i: L,
4110
+ o: L,
4106
4111
  d(o) {
4107
- o && j(t), i.d(), e[17](null);
4112
+ o && k(t), i.d(), e[17](null);
4108
4113
  }
4109
4114
  };
4110
4115
  }
4111
- function vi(e, t, r) {
4116
+ function Ti(e, t, r) {
4112
4117
  let n;
4113
- ir(e, gi, (b) => r(5, n = b));
4118
+ or(e, mi, (b) => r(5, n = b));
4114
4119
  let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, p, d = !1;
4115
4120
  const g = [];
4116
- let _ = [], m = [];
4117
- Object.keys(dt).forEach((b) => {
4118
- pt(b, dt[b]);
4121
+ let E = [], m = [];
4122
+ Object.keys(bt).forEach((b) => {
4123
+ dt(b, bt[b]);
4119
4124
  });
4120
4125
  const C = () => {
4121
4126
  fetch(c).then(($) => $.json()).then(($) => {
4122
- Object.keys($).forEach((he) => {
4123
- pt(he, $[he]);
4127
+ Object.keys($).forEach((le) => {
4128
+ dt(le, $[le]);
4124
4129
  });
4125
4130
  }).catch(($) => {
4126
4131
  console.log($);
4127
4132
  });
4128
- }, B = () => {
4133
+ }, A = () => {
4129
4134
  r(2, d = !0);
4130
4135
  const b = new URL(`${i}/v1/casino/groups/${o}`);
4131
4136
  b.searchParams.append("language", s), fetch(b).then(($) => $.json()).then(($) => {
4132
4137
  r(2, d = !1);
4133
- const he = h.split(",").map((F) => F.trim());
4138
+ const le = h.split(",").map((j) => j.trim());
4134
4139
  g.push(...$.items);
4135
- const We = g.filter((F) => !he.some((qt) => {
4136
- var Ze;
4137
- return ((Ze = F.flags) == null ? void 0 : Ze.indexOf(qt)) >= 0;
4140
+ const Ze = g.filter((j) => !le.some((Yt) => {
4141
+ var Qe;
4142
+ return ((Qe = j.flags) == null ? void 0 : Qe.indexOf(Yt)) >= 0;
4138
4143
  }));
4139
- r(3, _ = We.filter((F) => F.isTopCategory === !0)), r(4, m = We.filter((F) => F.isTopCategory === !1));
4144
+ r(3, E = Ze.filter((j) => j.isTopCategory === !0)), r(4, m = Ze.filter((j) => j.isTopCategory === !1));
4140
4145
  });
4141
- }, P = (b) => {
4146
+ }, O = (b) => {
4142
4147
  window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
4143
- }, S = () => {
4144
- mi(s);
4148
+ }, B = () => {
4149
+ pi(s);
4145
4150
  };
4146
- fr(() => () => {
4151
+ cr(() => () => {
4147
4152
  });
4148
- const H = (b) => P(b.id), N = (b) => P(b.id);
4149
- function Jt(b) {
4150
- Ne[b ? "unshift" : "push"](() => {
4153
+ const H = (b) => O(b.id), P = (b) => O(b.id);
4154
+ function qt(b) {
4155
+ Le[b ? "unshift" : "push"](() => {
4151
4156
  p = b, r(1, p);
4152
4157
  });
4153
4158
  }
@@ -4155,20 +4160,20 @@ function vi(e, t, r) {
4155
4160
  "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, h = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, l = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl), "mbsource" in b && r(14, f = b.mbsource);
4156
4161
  }, e.$$.update = () => {
4157
4162
  e.$$.dirty & /*endpoint, datasource*/
4158
- 384 && i && o && B(), e.$$.dirty & /*translationurl*/
4163
+ 384 && i && o && A(), e.$$.dirty & /*translationurl*/
4159
4164
  8192 && c && C(), e.$$.dirty & /*lang*/
4160
- 512 && s && S(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4161
- 2050 && a && p && pi(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4162
- 4098 && l && p && di(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4163
- 16386 && f && p && bi(p, `${f}.Style`);
4165
+ 512 && s && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4166
+ 2050 && a && p && di(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4167
+ 4098 && l && p && bi(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4168
+ 16386 && f && p && yi(p, `${f}.Style`);
4164
4169
  }, [
4165
4170
  u,
4166
4171
  p,
4167
4172
  d,
4168
- _,
4173
+ E,
4169
4174
  m,
4170
4175
  n,
4171
- P,
4176
+ O,
4172
4177
  i,
4173
4178
  o,
4174
4179
  s,
@@ -4178,18 +4183,18 @@ function vi(e, t, r) {
4178
4183
  c,
4179
4184
  f,
4180
4185
  H,
4181
- N,
4182
- Jt
4186
+ P,
4187
+ qt
4183
4188
  ];
4184
4189
  }
4185
- class Ti extends Tr {
4190
+ class Ci extends Cr {
4186
4191
  constructor(t) {
4187
- super(), _r(
4192
+ super(), vr(
4188
4193
  this,
4189
4194
  t,
4195
+ Ti,
4190
4196
  vi,
4191
- _i,
4192
- vt,
4197
+ Tt,
4193
4198
  {
4194
4199
  endpoint: 7,
4195
4200
  datasource: 8,
@@ -4201,7 +4206,7 @@ class Ti extends Tr {
4201
4206
  translationurl: 13,
4202
4207
  mbsource: 14
4203
4208
  },
4204
- yi
4209
+ _i
4205
4210
  );
4206
4211
  }
4207
4212
  get endpoint() {
@@ -4259,7 +4264,7 @@ class Ti extends Tr {
4259
4264
  this.$$set({ mbsource: t }), M();
4260
4265
  }
4261
4266
  }
4262
- vr(Ti, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4267
+ Tr(Ci, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4263
4268
  export {
4264
- Ti as default
4269
+ Ci as default
4265
4270
  };