@everymatrix/casino-my-games-nd 1.47.3 → 1.48.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.
Files changed (21) hide show
  1. package/components/{CasinoFavoritesSectionNd-D4Ajbl9Q.js → CasinoFavoritesSectionNd-CjHBvLpV.js} +1161 -1131
  2. package/components/CasinoFavoritesSectionNd-ybzZ3kY0.cjs +3 -0
  3. package/components/{CasinoFilter-CbTtAXf7.js → CasinoFilter-BWtTEDRW.js} +1 -1
  4. package/components/{CasinoFilter-CyaLpXDd.cjs → CasinoFilter-ZkoAry1v.cjs} +1 -1
  5. package/components/{CasinoGameThumbnailNd-DTVSyDUQ.js → CasinoGameThumbnailNd-B1tIVi23.js} +2 -2
  6. package/components/{CasinoGameThumbnailNd-DC7nY9ea.cjs → CasinoGameThumbnailNd-Bur_fUaN.cjs} +1 -1
  7. package/components/{CasinoGamesCategorySectionNd-D1mMQvJm.js → CasinoGamesCategorySectionNd-BZnbyqV2.js} +1081 -1081
  8. package/components/CasinoGamesCategorySectionNd-C2vzO5hG.cjs +1 -0
  9. package/components/{CasinoLastPlayedSectionNd-CE4w7avE.cjs → CasinoLastPlayedSectionNd-C9CG-ZDZ.cjs} +1 -1
  10. package/components/{CasinoLastPlayedSectionNd-DfqbV-KJ.js → CasinoLastPlayedSectionNd-DRwvrvNf.js} +19 -19
  11. package/components/{CasinoMostPlayedSectionNd-Dq05n0v8.cjs → CasinoMostPlayedSectionNd-D1RIn57H.cjs} +1 -1
  12. package/components/{CasinoMostPlayedSectionNd-_PImJhcp.js → CasinoMostPlayedSectionNd-DAdyVVbd.js} +13 -13
  13. package/components/{CasinoMyGamesNd-Do4awb8T.cjs → CasinoMyGamesNd-Cf1BsL7d.cjs} +1 -1
  14. package/components/{CasinoMyGamesNd-CRE-C1E_.js → CasinoMyGamesNd-DAWACu47.js} +5 -5
  15. package/components/{CasinoSort-EoYg3w2A.cjs → CasinoSort-BTeNefLJ.cjs} +1 -1
  16. package/components/{CasinoSort-2z--7Cgs.js → CasinoSort-C5-YVeAh.js} +1 -1
  17. package/es2015/casino-my-games-nd.cjs +1 -1
  18. package/es2015/casino-my-games-nd.js +1 -1
  19. package/package.json +1 -1
  20. package/components/CasinoFavoritesSectionNd-Bhi3zSXJ.cjs +0 -3
  21. package/components/CasinoGamesCategorySectionNd-CANsSbG_.cjs +0 -1
@@ -1,79 +1,79 @@
1
- var Dt = Object.defineProperty, Gt = Object.defineProperties;
2
- var Ft = Object.getOwnPropertyDescriptors;
3
- var je = Object.getOwnPropertySymbols;
4
- var jt = Object.prototype.hasOwnProperty, Vt = Object.prototype.propertyIsEnumerable;
5
- var de = (e, t, r) => t in e ? Dt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ve = (e, t) => {
6
- for (var r in t || (t = {}))
7
- jt.call(t, r) && de(e, r, t[r]);
8
- if (je)
9
- for (var r of je(t))
10
- Vt.call(t, r) && de(e, r, t[r]);
1
+ var Ft = Object.defineProperty, jt = Object.defineProperties;
2
+ var kt = Object.getOwnPropertyDescriptors;
3
+ var ke = Object.getOwnPropertySymbols;
4
+ var Vt = Object.prototype.hasOwnProperty, Xt = Object.prototype.propertyIsEnumerable;
5
+ var be = (e, t, n) => t in e ? Ft(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ve = (e, t) => {
6
+ for (var n in t || (t = {}))
7
+ Vt.call(t, n) && be(e, n, t[n]);
8
+ if (ke)
9
+ for (var n of ke(t))
10
+ Xt.call(t, n) && be(e, n, t[n]);
11
11
  return e;
12
- }, ke = (e, t) => Gt(e, Ft(t));
13
- var H = (e, t, r) => de(e, typeof t != "symbol" ? t + "" : t, r);
14
- var Xe = (e, t, r) => new Promise((n, i) => {
12
+ }, Xe = (e, t) => jt(e, kt(t));
13
+ var S = (e, t, n) => be(e, typeof t != "symbol" ? t + "" : t, n);
14
+ var ze = (e, t, n) => new Promise((r, i) => {
15
15
  var s = (l) => {
16
16
  try {
17
- u(r.next(l));
17
+ u(n.next(l));
18
18
  } catch (o) {
19
19
  i(o);
20
20
  }
21
21
  }, a = (l) => {
22
22
  try {
23
- u(r.throw(l));
23
+ u(n.throw(l));
24
24
  } catch (o) {
25
25
  i(o);
26
26
  }
27
- }, u = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, a);
28
- u((r = r.apply(e, t)).next());
27
+ }, u = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(s, a);
28
+ u((n = n.apply(e, t)).next());
29
29
  });
30
- function P() {
30
+ function L() {
31
31
  }
32
- function ot(e) {
32
+ function ut(e) {
33
33
  return e();
34
34
  }
35
- function ze() {
35
+ function We() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function K(e) {
39
- e.forEach(ot);
38
+ function z(e) {
39
+ e.forEach(ut);
40
40
  }
41
- function Me(e) {
41
+ function Re(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function ut(e, t) {
44
+ function ht(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let te;
47
+ let re;
48
48
  function ri(e, t) {
49
- return e === t ? !0 : (te || (te = document.createElement("a")), te.href = t, e === te.href);
49
+ return e === t ? !0 : (re || (re = document.createElement("a")), re.href = t, e === re.href);
50
50
  }
51
- function kt(e) {
51
+ function zt(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function ht(e, ...t) {
54
+ function lt(e, ...t) {
55
55
  if (e == null) {
56
- for (const n of t)
57
- n(void 0);
58
- return P;
56
+ for (const r of t)
57
+ r(void 0);
58
+ return L;
59
59
  }
60
- const r = e.subscribe(...t);
61
- return r.unsubscribe ? () => r.unsubscribe() : r;
60
+ const n = e.subscribe(...t);
61
+ return n.unsubscribe ? () => n.unsubscribe() : n;
62
62
  }
63
- function ni(e, t, r) {
64
- e.$$.on_destroy.push(ht(t, r));
63
+ function ii(e, t, n) {
64
+ e.$$.on_destroy.push(lt(t, n));
65
65
  }
66
- function lt(e, t) {
66
+ function ft(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function Xt(e, t, r) {
70
- const n = zt(e);
71
- if (!n.getElementById(t)) {
72
- const i = Q("style");
73
- i.id = t, i.textContent = r, Wt(n, i);
69
+ function Wt(e, t, n) {
70
+ const r = Zt(e);
71
+ if (!r.getElementById(t)) {
72
+ const i = Y("style");
73
+ i.id = t, i.textContent = n, Qt(r, i);
74
74
  }
75
75
  }
76
- function zt(e) {
76
+ function Zt(e) {
77
77
  if (!e) return document;
78
78
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
79
79
  return t && /** @type {ShadowRoot} */
@@ -82,79 +82,79 @@ function zt(e) {
82
82
  t
83
83
  ) : e.ownerDocument;
84
84
  }
85
- function Wt(e, t) {
86
- return lt(
85
+ function Qt(e, t) {
86
+ return ft(
87
87
  /** @type {Document} */
88
88
  e.head || e,
89
89
  t
90
90
  ), t.sheet;
91
91
  }
92
- function Re(e, t, r) {
93
- e.insertBefore(t, r || null);
92
+ function $e(e, t, n) {
93
+ e.insertBefore(t, n || null);
94
94
  }
95
- function ue(e) {
95
+ function le(e) {
96
96
  e.parentNode && e.parentNode.removeChild(e);
97
97
  }
98
- function ii(e, t) {
99
- for (let r = 0; r < e.length; r += 1)
100
- e[r] && e[r].d(t);
98
+ function si(e, t) {
99
+ for (let n = 0; n < e.length; n += 1)
100
+ e[n] && e[n].d(t);
101
101
  }
102
- function Q(e) {
102
+ function Y(e) {
103
103
  return document.createElement(e);
104
104
  }
105
- function Zt(e) {
105
+ function Jt(e) {
106
106
  return document.createElementNS("http://www.w3.org/2000/svg", e);
107
107
  }
108
- function ft(e) {
108
+ function ct(e) {
109
109
  return document.createTextNode(e);
110
110
  }
111
- function si() {
112
- return ft(" ");
113
- }
114
111
  function ai() {
115
- return ft("");
112
+ return ct(" ");
116
113
  }
117
- function oi(e, t, r, n) {
118
- return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
114
+ function oi() {
115
+ return ct("");
119
116
  }
120
- function $e(e, t, r) {
121
- r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
117
+ function ui(e, t, n, r) {
118
+ return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
122
119
  }
123
- function g(e, t, r) {
124
- const n = t.toLowerCase();
125
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : $e(e, t, r);
120
+ function Ue(e, t, n) {
121
+ n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
126
122
  }
127
- function Qt(e) {
123
+ function g(e, t, n) {
124
+ const r = t.toLowerCase();
125
+ r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : Ue(e, t, n);
126
+ }
127
+ function qt(e) {
128
128
  return Array.from(e.childNodes);
129
129
  }
130
- function ui(e, t) {
130
+ function hi(e, t) {
131
131
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
132
132
  t);
133
133
  }
134
- function hi(e, t) {
134
+ function li(e, t) {
135
135
  e.value = t == null ? "" : t;
136
136
  }
137
- function li(e, t, r, n) {
138
- r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
137
+ function fi(e, t, n, r) {
138
+ n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
139
139
  }
140
- function fi(e, t, r) {
141
- e.classList.toggle(t, !!r);
140
+ function ci(e, t, n) {
141
+ e.classList.toggle(t, !!n);
142
142
  }
143
- class ci {
143
+ class mi {
144
144
  constructor(t = !1) {
145
145
  /**
146
146
  * @private
147
147
  * @default false
148
148
  */
149
- H(this, "is_svg", !1);
149
+ S(this, "is_svg", !1);
150
150
  /** parent for creating node */
151
- H(this, "e");
151
+ S(this, "e");
152
152
  /** html tag nodes */
153
- H(this, "n");
153
+ S(this, "n");
154
154
  /** target */
155
- H(this, "t");
155
+ S(this, "t");
156
156
  /** anchor */
157
- H(this, "a");
157
+ S(this, "a");
158
158
  this.is_svg = t, this.e = this.n = null;
159
159
  }
160
160
  /**
@@ -170,17 +170,17 @@ class ci {
170
170
  * @param {HTMLElement | SVGElement} anchor
171
171
  * @returns {void}
172
172
  */
173
- m(t, r, n = null) {
174
- this.e || (this.is_svg ? this.e = Zt(
173
+ m(t, n, r = null) {
174
+ this.e || (this.is_svg ? this.e = Jt(
175
175
  /** @type {keyof SVGElementTagNameMap} */
176
- r.nodeName
177
- ) : this.e = Q(
176
+ n.nodeName
177
+ ) : this.e = Y(
178
178
  /** @type {keyof HTMLElementTagNameMap} */
179
- r.nodeType === 11 ? "TEMPLATE" : r.nodeName
180
- ), this.t = r.tagName !== "TEMPLATE" ? r : (
179
+ n.nodeType === 11 ? "TEMPLATE" : n.nodeName
180
+ ), this.t = n.tagName !== "TEMPLATE" ? n : (
181
181
  /** @type {HTMLTemplateElement} */
182
- r.content
183
- ), this.c(t)), this.i(n);
182
+ n.content
183
+ ), this.c(t)), this.i(r);
184
184
  }
185
185
  /**
186
186
  * @param {string} html
@@ -194,8 +194,8 @@ class ci {
194
194
  /**
195
195
  * @returns {void} */
196
196
  i(t) {
197
- for (let r = 0; r < this.n.length; r += 1)
198
- Re(this.t, this.n[r], t);
197
+ for (let n = 0; n < this.n.length; n += 1)
198
+ $e(this.t, this.n[n], t);
199
199
  }
200
200
  /**
201
201
  * @param {string} html
@@ -207,111 +207,139 @@ class ci {
207
207
  /**
208
208
  * @returns {void} */
209
209
  d() {
210
- this.n.forEach(ue);
210
+ this.n.forEach(le);
211
211
  }
212
212
  }
213
- function Jt(e) {
213
+ function Yt(e) {
214
214
  const t = {};
215
215
  return e.childNodes.forEach(
216
216
  /** @param {Element} node */
217
- (r) => {
218
- t[r.slot || "default"] = !0;
217
+ (n) => {
218
+ t[n.slot || "default"] = !0;
219
219
  }
220
220
  ), t;
221
221
  }
222
- let J;
223
- function Z(e) {
224
- J = e;
222
+ let K;
223
+ function q(e) {
224
+ K = e;
225
225
  }
226
- function qt() {
227
- if (!J) throw new Error("Function called outside component initialization");
228
- return J;
226
+ function Kt() {
227
+ if (!K) throw new Error("Function called outside component initialization");
228
+ return K;
229
229
  }
230
- function mi(e) {
231
- qt().$$.on_mount.push(e);
230
+ function gi(e) {
231
+ Kt().$$.on_mount.push(e);
232
232
  }
233
- const U = [], He = [];
234
- let D = [];
235
- const We = [], ct = /* @__PURE__ */ Promise.resolve();
236
- let Te = !1;
237
- function mt() {
238
- Te || (Te = !0, ct.then(x));
233
+ const G = [], Te = [];
234
+ let F = [];
235
+ const Ze = [], mt = /* @__PURE__ */ Promise.resolve();
236
+ let Se = !1;
237
+ function gt() {
238
+ Se || (Se = !0, mt.then(H));
239
239
  }
240
- function gi() {
241
- return mt(), ct;
240
+ function di() {
241
+ return gt(), mt;
242
242
  }
243
- function Se(e) {
244
- D.push(e);
243
+ function Be(e) {
244
+ F.push(e);
245
245
  }
246
- const be = /* @__PURE__ */ new Set();
247
- let R = 0;
248
- function x() {
249
- if (R !== 0)
246
+ const pe = /* @__PURE__ */ new Set();
247
+ let U = 0;
248
+ function H() {
249
+ if (U !== 0)
250
250
  return;
251
- const e = J;
251
+ const e = K;
252
252
  do {
253
253
  try {
254
- for (; R < U.length; ) {
255
- const t = U[R];
256
- R++, Z(t), Yt(t.$$);
254
+ for (; U < G.length; ) {
255
+ const t = G[U];
256
+ U++, q(t), en(t.$$);
257
257
  }
258
258
  } catch (t) {
259
- throw U.length = 0, R = 0, t;
259
+ throw G.length = 0, U = 0, t;
260
260
  }
261
- for (Z(null), U.length = 0, R = 0; He.length; ) He.pop()();
262
- for (let t = 0; t < D.length; t += 1) {
263
- const r = D[t];
264
- be.has(r) || (be.add(r), r());
261
+ for (q(null), G.length = 0, U = 0; Te.length; ) Te.pop()();
262
+ for (let t = 0; t < F.length; t += 1) {
263
+ const n = F[t];
264
+ pe.has(n) || (pe.add(n), n());
265
265
  }
266
- D.length = 0;
267
- } while (U.length);
268
- for (; We.length; )
269
- We.pop()();
270
- Te = !1, be.clear(), Z(e);
266
+ F.length = 0;
267
+ } while (G.length);
268
+ for (; Ze.length; )
269
+ Ze.pop()();
270
+ Se = !1, pe.clear(), q(e);
271
271
  }
272
- function Yt(e) {
272
+ function en(e) {
273
273
  if (e.fragment !== null) {
274
- e.update(), K(e.before_update);
274
+ e.update(), z(e.before_update);
275
275
  const t = e.dirty;
276
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
276
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
277
277
  }
278
278
  }
279
- function Kt(e) {
280
- const t = [], r = [];
281
- D.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), D = t;
279
+ function tn(e) {
280
+ const t = [], n = [];
281
+ F.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), F = t;
282
282
  }
283
- const er = /* @__PURE__ */ new Set();
284
- function tr(e, t) {
285
- e && e.i && (er.delete(e), e.i(t));
283
+ const nn = /* @__PURE__ */ new Set();
284
+ function dt(e, t) {
285
+ e && e.i && (nn.delete(e), e.i(t));
286
286
  }
287
- function di(e) {
287
+ function bi(e) {
288
288
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
289
289
  }
290
- function rr(e, t, r) {
291
- const { fragment: n, after_update: i } = e.$$;
292
- n && n.m(t, r), Se(() => {
293
- const s = e.$$.on_mount.map(ot).filter(Me);
294
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : K(s), e.$$.on_mount = [];
295
- }), i.forEach(Se);
290
+ function pi(e, t) {
291
+ e.d(1), t.delete(e.key);
292
+ }
293
+ function yi(e, t, n, r, i, s, a, u, l, o, h, c) {
294
+ let f = e.length, b = s.length, y = f;
295
+ const x = {};
296
+ for (; y--; ) x[e[y].key] = y;
297
+ const T = [], O = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), B = [];
298
+ for (y = b; y--; ) {
299
+ const _ = c(i, s, y), m = n(_);
300
+ let P = a.get(m);
301
+ P ? B.push(() => P.p(_, t)) : (P = o(m, _), P.c()), O.set(m, T[y] = P), m in x && N.set(m, Math.abs(y - x[m]));
302
+ }
303
+ const A = /* @__PURE__ */ new Set(), I = /* @__PURE__ */ new Set();
304
+ function C(_) {
305
+ dt(_, 1), _.m(u, h), a.set(_.key, _), h = _.first, b--;
306
+ }
307
+ for (; f && b; ) {
308
+ const _ = T[b - 1], m = e[f - 1], P = _.key, ne = m.key;
309
+ _ === m ? (h = _.first, f--, b--) : O.has(ne) ? !a.has(P) || A.has(P) ? C(_) : I.has(ne) ? f-- : N.get(P) > N.get(ne) ? (I.add(P), C(_)) : (A.add(ne), f--) : (l(m, a), f--);
310
+ }
311
+ for (; f--; ) {
312
+ const _ = e[f];
313
+ O.has(_.key) || l(_, a);
314
+ }
315
+ for (; b; ) C(T[b - 1]);
316
+ return z(B), T;
296
317
  }
297
- function nr(e, t) {
298
- const r = e.$$;
299
- r.fragment !== null && (Kt(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
318
+ function rn(e, t, n) {
319
+ const { fragment: r, after_update: i } = e.$$;
320
+ r && r.m(t, n), Be(() => {
321
+ const s = e.$$.on_mount.map(ut).filter(Re);
322
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : z(s), e.$$.on_mount = [];
323
+ }), i.forEach(Be);
300
324
  }
301
- function ir(e, t) {
302
- e.$$.dirty[0] === -1 && (U.push(e), mt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
325
+ function sn(e, t) {
326
+ const n = e.$$;
327
+ n.fragment !== null && (tn(n.after_update), z(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
303
328
  }
304
- function sr(e, t, r, n, i, s, a = null, u = [-1]) {
305
- const l = J;
306
- Z(e);
329
+ function an(e, t) {
330
+ e.$$.dirty[0] === -1 && (G.push(e), gt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
331
+ }
332
+ function on(e, t, n, r, i, s, a = null, u = [-1]) {
333
+ const l = K;
334
+ q(e);
307
335
  const o = e.$$ = {
308
336
  fragment: null,
309
337
  ctx: [],
310
338
  // state
311
339
  props: s,
312
- update: P,
340
+ update: L,
313
341
  not_equal: i,
314
- bound: ze(),
342
+ bound: We(),
315
343
  // lifecycle
316
344
  on_mount: [],
317
345
  on_destroy: [],
@@ -320,101 +348,101 @@ function sr(e, t, r, n, i, s, a = null, u = [-1]) {
320
348
  after_update: [],
321
349
  context: new Map(t.context || (l ? l.$$.context : [])),
322
350
  // everything else
323
- callbacks: ze(),
351
+ callbacks: We(),
324
352
  dirty: u,
325
353
  skip_bound: !1,
326
354
  root: t.target || l.$$.root
327
355
  };
328
356
  a && a(o.root);
329
357
  let h = !1;
330
- if (o.ctx = r ? r(e, t.props || {}, (f, c, ...y) => {
331
- const E = y.length ? y[0] : c;
332
- return o.ctx && i(o.ctx[f], o.ctx[f] = E) && (!o.skip_bound && o.bound[f] && o.bound[f](E), h && ir(e, f)), c;
333
- }) : [], o.update(), h = !0, K(o.before_update), o.fragment = n ? n(o.ctx) : !1, t.target) {
358
+ if (o.ctx = n ? n(e, t.props || {}, (c, f, ...b) => {
359
+ const y = b.length ? b[0] : f;
360
+ return o.ctx && i(o.ctx[c], o.ctx[c] = y) && (!o.skip_bound && o.bound[c] && o.bound[c](y), h && an(e, c)), f;
361
+ }) : [], o.update(), h = !0, z(o.before_update), o.fragment = r ? r(o.ctx) : !1, t.target) {
334
362
  if (t.hydrate) {
335
- const f = Qt(t.target);
336
- o.fragment && o.fragment.l(f), f.forEach(ue);
363
+ const c = qt(t.target);
364
+ o.fragment && o.fragment.l(c), c.forEach(le);
337
365
  } else
338
366
  o.fragment && o.fragment.c();
339
- t.intro && tr(e.$$.fragment), rr(e, t.target, t.anchor), x();
367
+ t.intro && dt(e.$$.fragment), rn(e, t.target, t.anchor), H();
340
368
  }
341
- Z(l);
369
+ q(l);
342
370
  }
343
- let gt;
344
- typeof HTMLElement == "function" && (gt = class extends HTMLElement {
345
- constructor(t, r, n) {
371
+ let bt;
372
+ typeof HTMLElement == "function" && (bt = class extends HTMLElement {
373
+ constructor(t, n, r) {
346
374
  super();
347
375
  /** The Svelte component constructor */
348
- H(this, "$$ctor");
376
+ S(this, "$$ctor");
349
377
  /** Slots */
350
- H(this, "$$s");
378
+ S(this, "$$s");
351
379
  /** The Svelte component instance */
352
- H(this, "$$c");
380
+ S(this, "$$c");
353
381
  /** Whether or not the custom element is connected */
354
- H(this, "$$cn", !1);
382
+ S(this, "$$cn", !1);
355
383
  /** Component props data */
356
- H(this, "$$d", {});
384
+ S(this, "$$d", {});
357
385
  /** `true` if currently in the process of reflecting component props back to attributes */
358
- H(this, "$$r", !1);
386
+ S(this, "$$r", !1);
359
387
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
360
- H(this, "$$p_d", {});
388
+ S(this, "$$p_d", {});
361
389
  /** @type {Record<string, Function[]>} Event listeners */
362
- H(this, "$$l", {});
390
+ S(this, "$$l", {});
363
391
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
364
- H(this, "$$l_u", /* @__PURE__ */ new Map());
365
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
392
+ S(this, "$$l_u", /* @__PURE__ */ new Map());
393
+ this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
366
394
  }
367
- addEventListener(t, r, n) {
368
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
369
- const i = this.$$c.$on(t, r);
370
- this.$$l_u.set(r, i);
395
+ addEventListener(t, n, r) {
396
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
397
+ const i = this.$$c.$on(t, n);
398
+ this.$$l_u.set(n, i);
371
399
  }
372
- super.addEventListener(t, r, n);
400
+ super.addEventListener(t, n, r);
373
401
  }
374
- removeEventListener(t, r, n) {
375
- if (super.removeEventListener(t, r, n), this.$$c) {
376
- const i = this.$$l_u.get(r);
377
- i && (i(), this.$$l_u.delete(r));
402
+ removeEventListener(t, n, r) {
403
+ if (super.removeEventListener(t, n, r), this.$$c) {
404
+ const i = this.$$l_u.get(n);
405
+ i && (i(), this.$$l_u.delete(n));
378
406
  }
379
407
  }
380
408
  connectedCallback() {
381
- return Xe(this, null, function* () {
409
+ return ze(this, null, function* () {
382
410
  if (this.$$cn = !0, !this.$$c) {
383
411
  let t = function(s) {
384
412
  return () => {
385
413
  let a;
386
414
  return {
387
415
  c: function() {
388
- a = Q("slot"), s !== "default" && $e(a, "name", s);
416
+ a = Y("slot"), s !== "default" && Ue(a, "name", s);
389
417
  },
390
418
  /**
391
419
  * @param {HTMLElement} target
392
420
  * @param {HTMLElement} [anchor]
393
421
  */
394
422
  m: function(o, h) {
395
- Re(o, a, h);
423
+ $e(o, a, h);
396
424
  },
397
425
  d: function(o) {
398
- o && ue(a);
426
+ o && le(a);
399
427
  }
400
428
  };
401
429
  };
402
430
  };
403
431
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
404
432
  return;
405
- const r = {}, n = Jt(this);
433
+ const n = {}, r = Yt(this);
406
434
  for (const s of this.$$s)
407
- s in n && (r[s] = [t(s)]);
435
+ s in r && (n[s] = [t(s)]);
408
436
  for (const s of this.attributes) {
409
437
  const a = this.$$g_p(s.name);
410
- a in this.$$d || (this.$$d[a] = ne(a, s.value, this.$$p_d, "toProp"));
438
+ a in this.$$d || (this.$$d[a] = se(a, s.value, this.$$p_d, "toProp"));
411
439
  }
412
440
  for (const s in this.$$p_d)
413
441
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
414
442
  this.$$c = new this.$$ctor({
415
443
  target: this.shadowRoot || this,
416
- props: ke(Ve({}, this.$$d), {
417
- $$slots: r,
444
+ props: Xe(Ve({}, this.$$d), {
445
+ $$slots: n,
418
446
  $$scope: {
419
447
  ctx: []
420
448
  }
@@ -424,7 +452,7 @@ typeof HTMLElement == "function" && (gt = class extends HTMLElement {
424
452
  this.$$r = !0;
425
453
  for (const s in this.$$p_d)
426
454
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
427
- const a = ne(
455
+ const a = se(
428
456
  s,
429
457
  this.$$d[s],
430
458
  this.$$p_d,
@@ -446,9 +474,9 @@ typeof HTMLElement == "function" && (gt = class extends HTMLElement {
446
474
  }
447
475
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
448
476
  // and setting attributes through setAttribute etc, this is helpful
449
- attributeChangedCallback(t, r, n) {
477
+ attributeChangedCallback(t, n, r) {
450
478
  var i;
451
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ne(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
479
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = se(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
452
480
  }
453
481
  disconnectedCallback() {
454
482
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -457,16 +485,16 @@ typeof HTMLElement == "function" && (gt = class extends HTMLElement {
457
485
  }
458
486
  $$g_p(t) {
459
487
  return Object.keys(this.$$p_d).find(
460
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
488
+ (n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
461
489
  ) || t;
462
490
  }
463
491
  });
464
- function ne(e, t, r, n) {
492
+ function se(e, t, n, r) {
465
493
  var s;
466
- const i = (s = r[e]) == null ? void 0 : s.type;
467
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
494
+ const i = (s = n[e]) == null ? void 0 : s.type;
495
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
468
496
  return t;
469
- if (n === "toAttribute")
497
+ if (r === "toAttribute")
470
498
  switch (i) {
471
499
  case "Object":
472
500
  case "Array":
@@ -491,10 +519,10 @@ function ne(e, t, r, n) {
491
519
  return t;
492
520
  }
493
521
  }
494
- function ar(e, t, r, n, i, s) {
495
- let a = class extends gt {
522
+ function un(e, t, n, r, i, s) {
523
+ let a = class extends bt {
496
524
  constructor() {
497
- super(e, r, i), this.$$p_d = t;
525
+ super(e, n, i), this.$$p_d = t;
498
526
  }
499
527
  static get observedAttributes() {
500
528
  return Object.keys(t).map(
@@ -509,10 +537,10 @@ function ar(e, t, r, n, i, s) {
509
537
  },
510
538
  set(l) {
511
539
  var o;
512
- l = ne(u, l, t), this.$$d[u] = l, (o = this.$$c) == null || o.$set({ [u]: l });
540
+ l = se(u, l, t), this.$$d[u] = l, (o = this.$$c) == null || o.$set({ [u]: l });
513
541
  }
514
542
  });
515
- }), n.forEach((u) => {
543
+ }), r.forEach((u) => {
516
544
  Object.defineProperty(a.prototype, u, {
517
545
  get() {
518
546
  var l;
@@ -522,7 +550,7 @@ function ar(e, t, r, n, i, s) {
522
550
  }), e.element = /** @type {any} */
523
551
  a, a;
524
552
  }
525
- class or {
553
+ class hn {
526
554
  constructor() {
527
555
  /**
528
556
  * ### PRIVATE API
@@ -531,7 +559,7 @@ class or {
531
559
  *
532
560
  * @type {any}
533
561
  */
534
- H(this, "$$");
562
+ S(this, "$$");
535
563
  /**
536
564
  * ### PRIVATE API
537
565
  *
@@ -539,11 +567,11 @@ class or {
539
567
  *
540
568
  * @type {any}
541
569
  */
542
- H(this, "$$set");
570
+ S(this, "$$set");
543
571
  }
544
572
  /** @returns {void} */
545
573
  $destroy() {
546
- nr(this, 1), this.$destroy = P;
574
+ sn(this, 1), this.$destroy = L;
547
575
  }
548
576
  /**
549
577
  * @template {Extract<keyof Events, string>} K
@@ -551,13 +579,13 @@ class or {
551
579
  * @param {((e: Events[K]) => void) | null | undefined} callback
552
580
  * @returns {() => void}
553
581
  */
554
- $on(t, r) {
555
- if (!Me(r))
556
- return P;
557
- const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
558
- return n.push(r), () => {
559
- const i = n.indexOf(r);
560
- i !== -1 && n.splice(i, 1);
582
+ $on(t, n) {
583
+ if (!Re(n))
584
+ return L;
585
+ const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
586
+ return r.push(n), () => {
587
+ const i = r.indexOf(n);
588
+ i !== -1 && r.splice(i, 1);
561
589
  };
562
590
  }
563
591
  /**
@@ -565,213 +593,213 @@ class or {
565
593
  * @returns {void}
566
594
  */
567
595
  $set(t) {
568
- this.$$set && !kt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
596
+ this.$$set && !zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
569
597
  }
570
598
  }
571
- const ur = "4";
572
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ur);
573
- var Be = function(e, t) {
574
- return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
575
- r.__proto__ = n;
576
- } || function(r, n) {
577
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
578
- }, Be(e, t);
599
+ const ln = "4";
600
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ln);
601
+ var Ae = function(e, t) {
602
+ return Ae = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
603
+ n.__proto__ = r;
604
+ } || function(n, r) {
605
+ for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
606
+ }, Ae(e, t);
579
607
  };
580
- function he(e, t) {
608
+ function fe(e, t) {
581
609
  if (typeof t != "function" && t !== null)
582
610
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
583
- Be(e, t);
584
- function r() {
611
+ Ae(e, t);
612
+ function n() {
585
613
  this.constructor = e;
586
614
  }
587
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
615
+ e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
588
616
  }
589
- var p = function() {
590
- return p = Object.assign || function(t) {
591
- for (var r, n = 1, i = arguments.length; n < i; n++) {
592
- r = arguments[n];
593
- for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
617
+ var E = function() {
618
+ return E = Object.assign || function(t) {
619
+ for (var n, r = 1, i = arguments.length; r < i; r++) {
620
+ n = arguments[r];
621
+ for (var s in n) Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
594
622
  }
595
623
  return t;
596
- }, p.apply(this, arguments);
624
+ }, E.apply(this, arguments);
597
625
  };
598
- function hr(e, t) {
599
- var r = {};
600
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
626
+ function fn(e, t) {
627
+ var n = {};
628
+ for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
601
629
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
602
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
603
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
604
- return r;
630
+ for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
631
+ t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
632
+ return n;
605
633
  }
606
- function bi(e) {
607
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
608
- if (r) return r.call(e);
634
+ function Ei(e) {
635
+ var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
636
+ if (n) return n.call(e);
609
637
  if (e && typeof e.length == "number") return {
610
638
  next: function() {
611
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
639
+ return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
612
640
  }
613
641
  };
614
642
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
615
643
  }
616
- function pi(e, t) {
617
- var r = typeof Symbol == "function" && e[Symbol.iterator];
618
- if (!r) return e;
619
- var n = r.call(e), i, s = [], a;
644
+ function vi(e, t) {
645
+ var n = typeof Symbol == "function" && e[Symbol.iterator];
646
+ if (!n) return e;
647
+ var r = n.call(e), i, s = [], a;
620
648
  try {
621
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) s.push(i.value);
649
+ for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; ) s.push(i.value);
622
650
  } catch (u) {
623
651
  a = { error: u };
624
652
  } finally {
625
653
  try {
626
- i && !i.done && (r = n.return) && r.call(n);
654
+ i && !i.done && (n = r.return) && n.call(r);
627
655
  } finally {
628
656
  if (a) throw a.error;
629
657
  }
630
658
  }
631
659
  return s;
632
660
  }
633
- function pe(e, t, r) {
634
- if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
635
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
661
+ function ye(e, t, n) {
662
+ if (n || arguments.length === 2) for (var r = 0, i = t.length, s; r < i; r++)
663
+ (s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
636
664
  return e.concat(s || Array.prototype.slice.call(t));
637
665
  }
638
- const $ = [];
639
- function lr(e, t) {
666
+ const D = [];
667
+ function cn(e, t) {
640
668
  return {
641
- subscribe: le(e, t).subscribe
669
+ subscribe: ce(e, t).subscribe
642
670
  };
643
671
  }
644
- function le(e, t = P) {
645
- let r;
646
- const n = /* @__PURE__ */ new Set();
672
+ function ce(e, t = L) {
673
+ let n;
674
+ const r = /* @__PURE__ */ new Set();
647
675
  function i(u) {
648
- if (ut(e, u) && (e = u, r)) {
649
- const l = !$.length;
650
- for (const o of n)
651
- o[1](), $.push(o, e);
676
+ if (ht(e, u) && (e = u, n)) {
677
+ const l = !D.length;
678
+ for (const o of r)
679
+ o[1](), D.push(o, e);
652
680
  if (l) {
653
- for (let o = 0; o < $.length; o += 2)
654
- $[o][0]($[o + 1]);
655
- $.length = 0;
681
+ for (let o = 0; o < D.length; o += 2)
682
+ D[o][0](D[o + 1]);
683
+ D.length = 0;
656
684
  }
657
685
  }
658
686
  }
659
687
  function s(u) {
660
688
  i(u(e));
661
689
  }
662
- function a(u, l = P) {
690
+ function a(u, l = L) {
663
691
  const o = [u, l];
664
- return n.add(o), n.size === 1 && (r = t(i, s) || P), u(e), () => {
665
- n.delete(o), n.size === 0 && r && (r(), r = null);
692
+ return r.add(o), r.size === 1 && (n = t(i, s) || L), u(e), () => {
693
+ r.delete(o), r.size === 0 && n && (n(), n = null);
666
694
  };
667
695
  }
668
696
  return { set: i, update: s, subscribe: a };
669
697
  }
670
- function k(e, t, r) {
671
- const n = !Array.isArray(e), i = n ? [e] : e;
698
+ function W(e, t, n) {
699
+ const r = !Array.isArray(e), i = r ? [e] : e;
672
700
  if (!i.every(Boolean))
673
701
  throw new Error("derived() expects stores as input, got a falsy value");
674
702
  const s = t.length < 2;
675
- return lr(r, (a, u) => {
703
+ return cn(n, (a, u) => {
676
704
  let l = !1;
677
705
  const o = [];
678
- let h = 0, f = P;
679
- const c = () => {
706
+ let h = 0, c = L;
707
+ const f = () => {
680
708
  if (h)
681
709
  return;
682
- f();
683
- const E = t(n ? o[0] : o, a, u);
684
- s ? a(E) : f = Me(E) ? E : P;
685
- }, y = i.map(
686
- (E, _) => ht(
687
- E,
688
- (A) => {
689
- o[_] = A, h &= ~(1 << _), l && c();
710
+ c();
711
+ const y = t(r ? o[0] : o, a, u);
712
+ s ? a(y) : c = Re(y) ? y : L;
713
+ }, b = i.map(
714
+ (y, x) => lt(
715
+ y,
716
+ (T) => {
717
+ o[x] = T, h &= ~(1 << x), l && f();
690
718
  },
691
719
  () => {
692
- h |= 1 << _;
720
+ h |= 1 << x;
693
721
  }
694
722
  )
695
723
  );
696
- return l = !0, c(), function() {
697
- K(y), f(), l = !1;
724
+ return l = !0, f(), function() {
725
+ z(b), c(), l = !1;
698
726
  };
699
727
  });
700
728
  }
701
- function fr(e) {
729
+ function mn(e) {
702
730
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
703
731
  }
704
- var cr = function(t) {
705
- return mr(t) && !gr(t);
732
+ var gn = function(t) {
733
+ return dn(t) && !bn(t);
706
734
  };
707
- function mr(e) {
735
+ function dn(e) {
708
736
  return !!e && typeof e == "object";
709
737
  }
710
- function gr(e) {
738
+ function bn(e) {
711
739
  var t = Object.prototype.toString.call(e);
712
- return t === "[object RegExp]" || t === "[object Date]" || pr(e);
740
+ return t === "[object RegExp]" || t === "[object Date]" || En(e);
713
741
  }
714
- var dr = typeof Symbol == "function" && Symbol.for, br = dr ? Symbol.for("react.element") : 60103;
715
- function pr(e) {
716
- return e.$$typeof === br;
742
+ var pn = typeof Symbol == "function" && Symbol.for, yn = pn ? Symbol.for("react.element") : 60103;
743
+ function En(e) {
744
+ return e.$$typeof === yn;
717
745
  }
718
- function yr(e) {
746
+ function vn(e) {
719
747
  return Array.isArray(e) ? [] : {};
720
748
  }
721
- function q(e, t) {
722
- return t.clone !== !1 && t.isMergeableObject(e) ? G(yr(e), e, t) : e;
749
+ function ee(e, t) {
750
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(vn(e), e, t) : e;
723
751
  }
724
- function Er(e, t, r) {
725
- return e.concat(t).map(function(n) {
726
- return q(n, r);
752
+ function _n(e, t, n) {
753
+ return e.concat(t).map(function(r) {
754
+ return ee(r, n);
727
755
  });
728
756
  }
729
- function vr(e, t) {
757
+ function xn(e, t) {
730
758
  if (!t.customMerge)
731
- return G;
732
- var r = t.customMerge(e);
733
- return typeof r == "function" ? r : G;
759
+ return j;
760
+ var n = t.customMerge(e);
761
+ return typeof n == "function" ? n : j;
734
762
  }
735
- function xr(e) {
763
+ function Hn(e) {
736
764
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
737
765
  return Object.propertyIsEnumerable.call(e, t);
738
766
  }) : [];
739
767
  }
740
- function Ze(e) {
741
- return Object.keys(e).concat(xr(e));
768
+ function Qe(e) {
769
+ return Object.keys(e).concat(Hn(e));
742
770
  }
743
- function dt(e, t) {
771
+ function pt(e, t) {
744
772
  try {
745
773
  return t in e;
746
- } catch (r) {
774
+ } catch (n) {
747
775
  return !1;
748
776
  }
749
777
  }
750
- function _r(e, t) {
751
- return dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
778
+ function Tn(e, t) {
779
+ return pt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
752
780
  }
753
- function Hr(e, t, r) {
754
- var n = {};
755
- return r.isMergeableObject(e) && Ze(e).forEach(function(i) {
756
- n[i] = q(e[i], r);
757
- }), Ze(t).forEach(function(i) {
758
- _r(e, i) || (dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = vr(i, r)(e[i], t[i], r) : n[i] = q(t[i], r));
759
- }), n;
760
- }
761
- function G(e, t, r) {
762
- r = r || {}, r.arrayMerge = r.arrayMerge || Er, r.isMergeableObject = r.isMergeableObject || cr, r.cloneUnlessOtherwiseSpecified = q;
763
- var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
764
- return s ? n ? r.arrayMerge(e, t, r) : Hr(e, t, r) : q(t, r);
765
- }
766
- G.all = function(t, r) {
781
+ function Sn(e, t, n) {
782
+ var r = {};
783
+ return n.isMergeableObject(e) && Qe(e).forEach(function(i) {
784
+ r[i] = ee(e[i], n);
785
+ }), Qe(t).forEach(function(i) {
786
+ Tn(e, i) || (pt(e, i) && n.isMergeableObject(t[i]) ? r[i] = xn(i, n)(e[i], t[i], n) : r[i] = ee(t[i], n));
787
+ }), r;
788
+ }
789
+ function j(e, t, n) {
790
+ n = n || {}, n.arrayMerge = n.arrayMerge || _n, n.isMergeableObject = n.isMergeableObject || gn, n.cloneUnlessOtherwiseSpecified = ee;
791
+ var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
792
+ return s ? r ? n.arrayMerge(e, t, n) : Sn(e, t, n) : ee(t, n);
793
+ }
794
+ j.all = function(t, n) {
767
795
  if (!Array.isArray(t))
768
796
  throw new Error("first argument should be an array");
769
- return t.reduce(function(n, i) {
770
- return G(n, i, r);
797
+ return t.reduce(function(r, i) {
798
+ return j(r, i, n);
771
799
  }, {});
772
800
  };
773
- var Tr = G, Sr = Tr;
774
- const Br = /* @__PURE__ */ fr(Sr);
801
+ var Bn = j, An = Bn;
802
+ const wn = /* @__PURE__ */ mn(An);
775
803
  var d;
776
804
  (function(e) {
777
805
  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";
@@ -780,54 +808,54 @@ var v;
780
808
  (function(e) {
781
809
  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";
782
810
  })(v || (v = {}));
783
- var F;
811
+ var k;
784
812
  (function(e) {
785
813
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
786
- })(F || (F = {}));
787
- function Qe(e) {
814
+ })(k || (k = {}));
815
+ function Je(e) {
788
816
  return e.type === v.literal;
789
817
  }
790
- function Ar(e) {
818
+ function Pn(e) {
791
819
  return e.type === v.argument;
792
820
  }
793
- function bt(e) {
821
+ function yt(e) {
794
822
  return e.type === v.number;
795
823
  }
796
- function pt(e) {
824
+ function Et(e) {
797
825
  return e.type === v.date;
798
826
  }
799
- function yt(e) {
827
+ function vt(e) {
800
828
  return e.type === v.time;
801
829
  }
802
- function Et(e) {
830
+ function _t(e) {
803
831
  return e.type === v.select;
804
832
  }
805
- function vt(e) {
833
+ function xt(e) {
806
834
  return e.type === v.plural;
807
835
  }
808
- function Pr(e) {
836
+ function Nn(e) {
809
837
  return e.type === v.pound;
810
838
  }
811
- function xt(e) {
839
+ function Ht(e) {
812
840
  return e.type === v.tag;
813
841
  }
814
- function _t(e) {
815
- return !!(e && typeof e == "object" && e.type === F.number);
842
+ function Tt(e) {
843
+ return !!(e && typeof e == "object" && e.type === k.number);
816
844
  }
817
- function Ae(e) {
818
- return !!(e && typeof e == "object" && e.type === F.dateTime);
845
+ function we(e) {
846
+ return !!(e && typeof e == "object" && e.type === k.dateTime);
819
847
  }
820
- var Ht = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Nr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
821
- function wr(e) {
848
+ var St = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, On = /(?:[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;
849
+ function In(e) {
822
850
  var t = {};
823
- return e.replace(Nr, function(r) {
824
- var n = r.length;
825
- switch (r[0]) {
851
+ return e.replace(On, function(n) {
852
+ var r = n.length;
853
+ switch (n[0]) {
826
854
  case "G":
827
- t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
855
+ t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
828
856
  break;
829
857
  case "y":
830
- t.year = n === 2 ? "2-digit" : "numeric";
858
+ t.year = r === 2 ? "2-digit" : "numeric";
831
859
  break;
832
860
  case "Y":
833
861
  case "u":
@@ -839,30 +867,30 @@ function wr(e) {
839
867
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
840
868
  case "M":
841
869
  case "L":
842
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
870
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
843
871
  break;
844
872
  case "w":
845
873
  case "W":
846
874
  throw new RangeError("`w/W` (week) patterns are not supported");
847
875
  case "d":
848
- t.day = ["numeric", "2-digit"][n - 1];
876
+ t.day = ["numeric", "2-digit"][r - 1];
849
877
  break;
850
878
  case "D":
851
879
  case "F":
852
880
  case "g":
853
881
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
854
882
  case "E":
855
- t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
883
+ t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
856
884
  break;
857
885
  case "e":
858
- if (n < 4)
886
+ if (r < 4)
859
887
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
860
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
888
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
861
889
  break;
862
890
  case "c":
863
- if (n < 4)
891
+ if (r < 4)
864
892
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
865
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
893
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
866
894
  break;
867
895
  case "a":
868
896
  t.hour12 = !0;
@@ -871,32 +899,32 @@ function wr(e) {
871
899
  case "B":
872
900
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
873
901
  case "h":
874
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
902
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
875
903
  break;
876
904
  case "H":
877
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
905
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
878
906
  break;
879
907
  case "K":
880
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
908
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
881
909
  break;
882
910
  case "k":
883
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
911
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
884
912
  break;
885
913
  case "j":
886
914
  case "J":
887
915
  case "C":
888
916
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
889
917
  case "m":
890
- t.minute = ["numeric", "2-digit"][n - 1];
918
+ t.minute = ["numeric", "2-digit"][r - 1];
891
919
  break;
892
920
  case "s":
893
- t.second = ["numeric", "2-digit"][n - 1];
921
+ t.second = ["numeric", "2-digit"][r - 1];
894
922
  break;
895
923
  case "S":
896
924
  case "A":
897
925
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
898
926
  case "z":
899
- t.timeZoneName = n < 4 ? "short" : "long";
927
+ t.timeZoneName = r < 4 ? "short" : "long";
900
928
  break;
901
929
  case "Z":
902
930
  case "O":
@@ -909,36 +937,36 @@ function wr(e) {
909
937
  return "";
910
938
  }), t;
911
939
  }
912
- var Or = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
913
- function Ir(e) {
940
+ var Ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
941
+ function Cn(e) {
914
942
  if (e.length === 0)
915
943
  throw new Error("Number skeleton cannot be empty");
916
- for (var t = e.split(Or).filter(function(c) {
917
- return c.length > 0;
918
- }), r = [], n = 0, i = t; n < i.length; n++) {
919
- var s = i[n], a = s.split("/");
944
+ for (var t = e.split(Ln).filter(function(f) {
945
+ return f.length > 0;
946
+ }), n = [], r = 0, i = t; r < i.length; r++) {
947
+ var s = i[r], a = s.split("/");
920
948
  if (a.length === 0)
921
949
  throw new Error("Invalid number skeleton");
922
950
  for (var u = a[0], l = a.slice(1), o = 0, h = l; o < h.length; o++) {
923
- var f = h[o];
924
- if (f.length === 0)
951
+ var c = h[o];
952
+ if (c.length === 0)
925
953
  throw new Error("Invalid number skeleton");
926
954
  }
927
- r.push({ stem: u, options: l });
955
+ n.push({ stem: u, options: l });
928
956
  }
929
- return r;
957
+ return n;
930
958
  }
931
- function Lr(e) {
959
+ function Mn(e) {
932
960
  return e.replace(/^(.*?)-/, "");
933
961
  }
934
- var Je = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Tt = /^(@+)?(\+|#+)?[rs]?$/g, Cr = /(\*)(0+)|(#+)(0+)|(0+)/g, St = /^(0+)$/;
935
- function qe(e) {
962
+ var qe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Bt = /^(@+)?(\+|#+)?[rs]?$/g, Rn = /(\*)(0+)|(#+)(0+)|(0+)/g, At = /^(0+)$/;
963
+ function Ye(e) {
936
964
  var t = {};
937
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Tt, function(r, n, i) {
938
- 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)), "";
965
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Bt, function(n, r, i) {
966
+ return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
939
967
  }), t;
940
968
  }
941
- function Bt(e) {
969
+ function wt(e) {
942
970
  switch (e) {
943
971
  case "sign-auto":
944
972
  return {
@@ -978,27 +1006,27 @@ function Bt(e) {
978
1006
  };
979
1007
  }
980
1008
  }
981
- function Mr(e) {
1009
+ function $n(e) {
982
1010
  var t;
983
1011
  if (e[0] === "E" && e[1] === "E" ? (t = {
984
1012
  notation: "engineering"
985
1013
  }, e = e.slice(2)) : e[0] === "E" && (t = {
986
1014
  notation: "scientific"
987
1015
  }, e = e.slice(1)), t) {
988
- var r = e.slice(0, 2);
989
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !St.test(e))
1016
+ var n = e.slice(0, 2);
1017
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !At.test(e))
990
1018
  throw new Error("Malformed concise eng/scientific notation");
991
1019
  t.minimumIntegerDigits = e.length;
992
1020
  }
993
1021
  return t;
994
1022
  }
995
- function Ye(e) {
996
- var t = {}, r = Bt(e);
997
- return r || t;
1023
+ function Ke(e) {
1024
+ var t = {}, n = wt(e);
1025
+ return n || t;
998
1026
  }
999
- function Rr(e) {
1000
- for (var t = {}, r = 0, n = e; r < n.length; r++) {
1001
- var i = n[r];
1027
+ function Un(e) {
1028
+ for (var t = {}, n = 0, r = e; n < r.length; n++) {
1029
+ var i = r[n];
1002
1030
  switch (i.stem) {
1003
1031
  case "percent":
1004
1032
  case "%":
@@ -1020,7 +1048,7 @@ function Rr(e) {
1020
1048
  continue;
1021
1049
  case "measure-unit":
1022
1050
  case "unit":
1023
- t.style = "unit", t.unit = Lr(i.options[0]);
1051
+ t.style = "unit", t.unit = Mn(i.options[0]);
1024
1052
  continue;
1025
1053
  case "compact-short":
1026
1054
  case "K":
@@ -1031,13 +1059,13 @@ function Rr(e) {
1031
1059
  t.notation = "compact", t.compactDisplay = "long";
1032
1060
  continue;
1033
1061
  case "scientific":
1034
- t = p(p(p({}, t), { notation: "scientific" }), i.options.reduce(function(l, o) {
1035
- return p(p({}, l), Ye(o));
1062
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, o) {
1063
+ return E(E({}, l), Ke(o));
1036
1064
  }, {}));
1037
1065
  continue;
1038
1066
  case "engineering":
1039
- t = p(p(p({}, t), { notation: "engineering" }), i.options.reduce(function(l, o) {
1040
- return p(p({}, l), Ye(o));
1067
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, o) {
1068
+ return E(E({}, l), Ke(o));
1041
1069
  }, {}));
1042
1070
  continue;
1043
1071
  case "notation-simple":
@@ -1082,45 +1110,45 @@ function Rr(e) {
1082
1110
  case "integer-width":
1083
1111
  if (i.options.length > 1)
1084
1112
  throw new RangeError("integer-width stems only accept a single optional option");
1085
- i.options[0].replace(Cr, function(l, o, h, f, c, y) {
1113
+ i.options[0].replace(Rn, function(l, o, h, c, f, b) {
1086
1114
  if (o)
1087
1115
  t.minimumIntegerDigits = h.length;
1088
1116
  else {
1089
- if (f && c)
1117
+ if (c && f)
1090
1118
  throw new Error("We currently do not support maximum integer digits");
1091
- if (y)
1119
+ if (b)
1092
1120
  throw new Error("We currently do not support exact integer digits");
1093
1121
  }
1094
1122
  return "";
1095
1123
  });
1096
1124
  continue;
1097
1125
  }
1098
- if (St.test(i.stem)) {
1126
+ if (At.test(i.stem)) {
1099
1127
  t.minimumIntegerDigits = i.stem.length;
1100
1128
  continue;
1101
1129
  }
1102
- if (Je.test(i.stem)) {
1130
+ if (qe.test(i.stem)) {
1103
1131
  if (i.options.length > 1)
1104
1132
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1105
- i.stem.replace(Je, function(l, o, h, f, c, y) {
1106
- return h === "*" ? t.minimumFractionDigits = o.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && y ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + y.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
1133
+ i.stem.replace(qe, function(l, o, h, c, f, b) {
1134
+ return h === "*" ? t.minimumFractionDigits = o.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
1107
1135
  });
1108
1136
  var s = i.options[0];
1109
- s === "w" ? t = p(p({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = p(p({}, t), qe(s)));
1137
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), Ye(s)));
1110
1138
  continue;
1111
1139
  }
1112
- if (Tt.test(i.stem)) {
1113
- t = p(p({}, t), qe(i.stem));
1140
+ if (Bt.test(i.stem)) {
1141
+ t = E(E({}, t), Ye(i.stem));
1114
1142
  continue;
1115
1143
  }
1116
- var a = Bt(i.stem);
1117
- a && (t = p(p({}, t), a));
1118
- var u = Mr(i.stem);
1119
- u && (t = p(p({}, t), u));
1144
+ var a = wt(i.stem);
1145
+ a && (t = E(E({}, t), a));
1146
+ var u = $n(i.stem);
1147
+ u && (t = E(E({}, t), u));
1120
1148
  }
1121
1149
  return t;
1122
1150
  }
1123
- var re = {
1151
+ var ie = {
1124
1152
  "001": [
1125
1153
  "H",
1126
1154
  "h"
@@ -2529,22 +2557,22 @@ var re = {
2529
2557
  "h"
2530
2558
  ]
2531
2559
  };
2532
- function $r(e, t) {
2533
- for (var r = "", n = 0; n < e.length; n++) {
2534
- var i = e.charAt(n);
2560
+ function Dn(e, t) {
2561
+ for (var n = "", r = 0; r < e.length; r++) {
2562
+ var i = e.charAt(r);
2535
2563
  if (i === "j") {
2536
- for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2537
- s++, n++;
2538
- var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", o = Ur(t);
2564
+ for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2565
+ s++, r++;
2566
+ var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", o = Gn(t);
2539
2567
  for ((o == "H" || o == "k") && (u = 0); u-- > 0; )
2540
- r += l;
2568
+ n += l;
2541
2569
  for (; a-- > 0; )
2542
- r = o + r;
2543
- } else i === "J" ? r += "H" : r += i;
2570
+ n = o + n;
2571
+ } else i === "J" ? n += "H" : n += i;
2544
2572
  }
2545
- return r;
2573
+ return n;
2546
2574
  }
2547
- function Ur(e) {
2575
+ function Gn(e) {
2548
2576
  var t = e.hourCycle;
2549
2577
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2550
2578
  e.hourCycles && // @ts-ignore
@@ -2561,73 +2589,73 @@ function Ur(e) {
2561
2589
  default:
2562
2590
  throw new Error("Invalid hourCycle");
2563
2591
  }
2564
- var r = e.language, n;
2565
- r !== "root" && (n = e.maximize().region);
2566
- var i = re[n || ""] || re[r || ""] || re["".concat(r, "-001")] || re["001"];
2592
+ var n = e.language, r;
2593
+ n !== "root" && (r = e.maximize().region);
2594
+ var i = ie[r || ""] || ie[n || ""] || ie["".concat(n, "-001")] || ie["001"];
2567
2595
  return i[0];
2568
2596
  }
2569
- var ye, Dr = new RegExp("^".concat(Ht.source, "*")), Gr = new RegExp("".concat(Ht.source, "*$"));
2570
- function b(e, t) {
2597
+ var Ee, Fn = new RegExp("^".concat(St.source, "*")), jn = new RegExp("".concat(St.source, "*$"));
2598
+ function p(e, t) {
2571
2599
  return { start: e, end: t };
2572
2600
  }
2573
- var Fr = !!String.prototype.startsWith && "_a".startsWith("a", 1), jr = !!String.fromCodePoint, Vr = !!Object.fromEntries, kr = !!String.prototype.codePointAt, Xr = !!String.prototype.trimStart, zr = !!String.prototype.trimEnd, Wr = !!Number.isSafeInteger, Zr = Wr ? Number.isSafeInteger : function(e) {
2601
+ var kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vn = !!String.fromCodePoint, Xn = !!Object.fromEntries, zn = !!String.prototype.codePointAt, Wn = !!String.prototype.trimStart, Zn = !!String.prototype.trimEnd, Qn = !!Number.isSafeInteger, Jn = Qn ? Number.isSafeInteger : function(e) {
2574
2602
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2575
2603
  }, Pe = !0;
2576
2604
  try {
2577
- var Qr = Pt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2578
- Pe = ((ye = Qr.exec("a")) === null || ye === void 0 ? void 0 : ye[0]) === "a";
2605
+ var qn = Nt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2606
+ Pe = ((Ee = qn.exec("a")) === null || Ee === void 0 ? void 0 : Ee[0]) === "a";
2579
2607
  } catch (e) {
2580
2608
  Pe = !1;
2581
2609
  }
2582
- var Ke = Fr ? (
2610
+ var et = kn ? (
2583
2611
  // Native
2584
- function(t, r, n) {
2585
- return t.startsWith(r, n);
2612
+ function(t, n, r) {
2613
+ return t.startsWith(n, r);
2586
2614
  }
2587
2615
  ) : (
2588
2616
  // For IE11
2589
- function(t, r, n) {
2590
- return t.slice(n, n + r.length) === r;
2617
+ function(t, n, r) {
2618
+ return t.slice(r, r + n.length) === n;
2591
2619
  }
2592
- ), Ne = jr ? String.fromCodePoint : (
2620
+ ), Ne = Vn ? String.fromCodePoint : (
2593
2621
  // IE11
2594
2622
  function() {
2595
- for (var t = [], r = 0; r < arguments.length; r++)
2596
- t[r] = arguments[r];
2597
- for (var n = "", i = t.length, s = 0, a; i > s; ) {
2623
+ for (var t = [], n = 0; n < arguments.length; n++)
2624
+ t[n] = arguments[n];
2625
+ for (var r = "", i = t.length, s = 0, a; i > s; ) {
2598
2626
  if (a = t[s++], a > 1114111)
2599
2627
  throw RangeError(a + " is not a valid code point");
2600
- n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2628
+ r += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2601
2629
  }
2602
- return n;
2630
+ return r;
2603
2631
  }
2604
- ), et = (
2632
+ ), tt = (
2605
2633
  // native
2606
- Vr ? Object.fromEntries : (
2634
+ Xn ? Object.fromEntries : (
2607
2635
  // Ponyfill
2608
2636
  function(t) {
2609
- for (var r = {}, n = 0, i = t; n < i.length; n++) {
2610
- var s = i[n], a = s[0], u = s[1];
2611
- r[a] = u;
2637
+ for (var n = {}, r = 0, i = t; r < i.length; r++) {
2638
+ var s = i[r], a = s[0], u = s[1];
2639
+ n[a] = u;
2612
2640
  }
2613
- return r;
2641
+ return n;
2614
2642
  }
2615
2643
  )
2616
- ), At = kr ? (
2644
+ ), Pt = zn ? (
2617
2645
  // Native
2618
- function(t, r) {
2619
- return t.codePointAt(r);
2646
+ function(t, n) {
2647
+ return t.codePointAt(n);
2620
2648
  }
2621
2649
  ) : (
2622
2650
  // IE 11
2623
- function(t, r) {
2624
- var n = t.length;
2625
- if (!(r < 0 || r >= n)) {
2626
- var i = t.charCodeAt(r), s;
2627
- return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2651
+ function(t, n) {
2652
+ var r = t.length;
2653
+ if (!(n < 0 || n >= r)) {
2654
+ var i = t.charCodeAt(n), s;
2655
+ return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2628
2656
  }
2629
2657
  }
2630
- ), Jr = Xr ? (
2658
+ ), Yn = Wn ? (
2631
2659
  // Native
2632
2660
  function(t) {
2633
2661
  return t.trimStart();
@@ -2635,9 +2663,9 @@ var Ke = Fr ? (
2635
2663
  ) : (
2636
2664
  // Ponyfill
2637
2665
  function(t) {
2638
- return t.replace(Dr, "");
2666
+ return t.replace(Fn, "");
2639
2667
  }
2640
- ), qr = zr ? (
2668
+ ), Kn = Zn ? (
2641
2669
  // Native
2642
2670
  function(t) {
2643
2671
  return t.trimEnd();
@@ -2645,69 +2673,69 @@ var Ke = Fr ? (
2645
2673
  ) : (
2646
2674
  // Ponyfill
2647
2675
  function(t) {
2648
- return t.replace(Gr, "");
2676
+ return t.replace(jn, "");
2649
2677
  }
2650
2678
  );
2651
- function Pt(e, t) {
2679
+ function Nt(e, t) {
2652
2680
  return new RegExp(e, t);
2653
2681
  }
2654
- var we;
2682
+ var Oe;
2655
2683
  if (Pe) {
2656
- var tt = Pt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2657
- we = function(t, r) {
2658
- var n;
2659
- tt.lastIndex = r;
2660
- var i = tt.exec(t);
2661
- return (n = i[1]) !== null && n !== void 0 ? n : "";
2684
+ var nt = Nt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2685
+ Oe = function(t, n) {
2686
+ var r;
2687
+ nt.lastIndex = n;
2688
+ var i = nt.exec(t);
2689
+ return (r = i[1]) !== null && r !== void 0 ? r : "";
2662
2690
  };
2663
2691
  } else
2664
- we = function(t, r) {
2665
- for (var n = []; ; ) {
2666
- var i = At(t, r);
2667
- if (i === void 0 || Nt(i) || tn(i))
2692
+ Oe = function(t, n) {
2693
+ for (var r = []; ; ) {
2694
+ var i = Pt(t, n);
2695
+ if (i === void 0 || Ot(i) || rr(i))
2668
2696
  break;
2669
- n.push(i), r += i >= 65536 ? 2 : 1;
2697
+ r.push(i), n += i >= 65536 ? 2 : 1;
2670
2698
  }
2671
- return Ne.apply(void 0, n);
2699
+ return Ne.apply(void 0, r);
2672
2700
  };
2673
- var Yr = (
2701
+ var er = (
2674
2702
  /** @class */
2675
2703
  function() {
2676
- function e(t, r) {
2677
- r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
2704
+ function e(t, n) {
2705
+ n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
2678
2706
  }
2679
2707
  return e.prototype.parse = function() {
2680
2708
  if (this.offset() !== 0)
2681
2709
  throw Error("parser can only be used once");
2682
2710
  return this.parseMessage(0, "", !1);
2683
- }, e.prototype.parseMessage = function(t, r, n) {
2711
+ }, e.prototype.parseMessage = function(t, n, r) {
2684
2712
  for (var i = []; !this.isEOF(); ) {
2685
2713
  var s = this.char();
2686
2714
  if (s === 123) {
2687
- var a = this.parseArgument(t, n);
2715
+ var a = this.parseArgument(t, r);
2688
2716
  if (a.err)
2689
2717
  return a;
2690
2718
  i.push(a.val);
2691
2719
  } else {
2692
2720
  if (s === 125 && t > 0)
2693
2721
  break;
2694
- if (s === 35 && (r === "plural" || r === "selectordinal")) {
2722
+ if (s === 35 && (n === "plural" || n === "selectordinal")) {
2695
2723
  var u = this.clonePosition();
2696
2724
  this.bump(), i.push({
2697
2725
  type: v.pound,
2698
- location: b(u, this.clonePosition())
2726
+ location: p(u, this.clonePosition())
2699
2727
  });
2700
2728
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2701
- if (n)
2729
+ if (r)
2702
2730
  break;
2703
- return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2704
- } else if (s === 60 && !this.ignoreTag && Oe(this.peek() || 0)) {
2705
- var a = this.parseTag(t, r);
2731
+ return this.error(d.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
2732
+ } else if (s === 60 && !this.ignoreTag && Ie(this.peek() || 0)) {
2733
+ var a = this.parseTag(t, n);
2706
2734
  if (a.err)
2707
2735
  return a;
2708
2736
  i.push(a.val);
2709
2737
  } else {
2710
- var a = this.parseLiteral(t, r);
2738
+ var a = this.parseLiteral(t, n);
2711
2739
  if (a.err)
2712
2740
  return a;
2713
2741
  i.push(a.val);
@@ -2715,8 +2743,8 @@ var Yr = (
2715
2743
  }
2716
2744
  }
2717
2745
  return { val: i, err: null };
2718
- }, e.prototype.parseTag = function(t, r) {
2719
- var n = this.clonePosition();
2746
+ }, e.prototype.parseTag = function(t, n) {
2747
+ var r = this.clonePosition();
2720
2748
  this.bump();
2721
2749
  var i = this.parseTagName();
2722
2750
  if (this.bumpSpace(), this.bumpIf("/>"))
@@ -2724,45 +2752,45 @@ var Yr = (
2724
2752
  val: {
2725
2753
  type: v.literal,
2726
2754
  value: "<".concat(i, "/>"),
2727
- location: b(n, this.clonePosition())
2755
+ location: p(r, this.clonePosition())
2728
2756
  },
2729
2757
  err: null
2730
2758
  };
2731
2759
  if (this.bumpIf(">")) {
2732
- var s = this.parseMessage(t + 1, r, !0);
2760
+ var s = this.parseMessage(t + 1, n, !0);
2733
2761
  if (s.err)
2734
2762
  return s;
2735
2763
  var a = s.val, u = this.clonePosition();
2736
2764
  if (this.bumpIf("</")) {
2737
- if (this.isEOF() || !Oe(this.char()))
2738
- return this.error(d.INVALID_TAG, b(u, this.clonePosition()));
2765
+ if (this.isEOF() || !Ie(this.char()))
2766
+ return this.error(d.INVALID_TAG, p(u, this.clonePosition()));
2739
2767
  var l = this.clonePosition(), o = this.parseTagName();
2740
- return i !== o ? this.error(d.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2768
+ return i !== o ? this.error(d.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2741
2769
  val: {
2742
2770
  type: v.tag,
2743
2771
  value: i,
2744
2772
  children: a,
2745
- location: b(n, this.clonePosition())
2773
+ location: p(r, this.clonePosition())
2746
2774
  },
2747
2775
  err: null
2748
- } : this.error(d.INVALID_TAG, b(u, this.clonePosition())));
2776
+ } : this.error(d.INVALID_TAG, p(u, this.clonePosition())));
2749
2777
  } else
2750
- return this.error(d.UNCLOSED_TAG, b(n, this.clonePosition()));
2778
+ return this.error(d.UNCLOSED_TAG, p(r, this.clonePosition()));
2751
2779
  } else
2752
- return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
2780
+ return this.error(d.INVALID_TAG, p(r, this.clonePosition()));
2753
2781
  }, e.prototype.parseTagName = function() {
2754
2782
  var t = this.offset();
2755
- for (this.bump(); !this.isEOF() && en(this.char()); )
2783
+ for (this.bump(); !this.isEOF() && nr(this.char()); )
2756
2784
  this.bump();
2757
2785
  return this.message.slice(t, this.offset());
2758
- }, e.prototype.parseLiteral = function(t, r) {
2759
- for (var n = this.clonePosition(), i = ""; ; ) {
2760
- var s = this.tryParseQuote(r);
2786
+ }, e.prototype.parseLiteral = function(t, n) {
2787
+ for (var r = this.clonePosition(), i = ""; ; ) {
2788
+ var s = this.tryParseQuote(n);
2761
2789
  if (s) {
2762
2790
  i += s;
2763
2791
  continue;
2764
2792
  }
2765
- var a = this.tryParseUnquoted(t, r);
2793
+ var a = this.tryParseUnquoted(t, n);
2766
2794
  if (a) {
2767
2795
  i += a;
2768
2796
  continue;
@@ -2774,14 +2802,14 @@ var Yr = (
2774
2802
  }
2775
2803
  break;
2776
2804
  }
2777
- var l = b(n, this.clonePosition());
2805
+ var l = p(r, this.clonePosition());
2778
2806
  return {
2779
2807
  val: { type: v.literal, value: i, location: l },
2780
2808
  err: null
2781
2809
  };
2782
2810
  }, e.prototype.tryParseLeftAngleBracket = function() {
2783
2811
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2784
- !Kr(this.peek() || 0)) ? (this.bump(), "<") : null;
2812
+ !tr(this.peek() || 0)) ? (this.bump(), "<") : null;
2785
2813
  }, e.prototype.tryParseQuote = function(t) {
2786
2814
  if (this.isEOF() || this.char() !== 39)
2787
2815
  return null;
@@ -2801,37 +2829,37 @@ var Yr = (
2801
2829
  return null;
2802
2830
  }
2803
2831
  this.bump();
2804
- var r = [this.char()];
2832
+ var n = [this.char()];
2805
2833
  for (this.bump(); !this.isEOF(); ) {
2806
- var n = this.char();
2807
- if (n === 39)
2834
+ var r = this.char();
2835
+ if (r === 39)
2808
2836
  if (this.peek() === 39)
2809
- r.push(39), this.bump();
2837
+ n.push(39), this.bump();
2810
2838
  else {
2811
2839
  this.bump();
2812
2840
  break;
2813
2841
  }
2814
2842
  else
2815
- r.push(n);
2843
+ n.push(r);
2816
2844
  this.bump();
2817
2845
  }
2818
- return Ne.apply(void 0, r);
2819
- }, e.prototype.tryParseUnquoted = function(t, r) {
2846
+ return Ne.apply(void 0, n);
2847
+ }, e.prototype.tryParseUnquoted = function(t, n) {
2820
2848
  if (this.isEOF())
2821
2849
  return null;
2822
- var n = this.char();
2823
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ne(n));
2824
- }, e.prototype.parseArgument = function(t, r) {
2825
- var n = this.clonePosition();
2850
+ var r = this.char();
2851
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Ne(r));
2852
+ }, e.prototype.parseArgument = function(t, n) {
2853
+ var r = this.clonePosition();
2826
2854
  if (this.bump(), this.bumpSpace(), this.isEOF())
2827
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2855
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition()));
2828
2856
  if (this.char() === 125)
2829
- return this.bump(), this.error(d.EMPTY_ARGUMENT, b(n, this.clonePosition()));
2857
+ return this.bump(), this.error(d.EMPTY_ARGUMENT, p(r, this.clonePosition()));
2830
2858
  var i = this.parseIdentifierIfPossible().value;
2831
2859
  if (!i)
2832
- return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2860
+ return this.error(d.MALFORMED_ARGUMENT, p(r, this.clonePosition()));
2833
2861
  if (this.bumpSpace(), this.isEOF())
2834
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2862
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition()));
2835
2863
  switch (this.char()) {
2836
2864
  case 125:
2837
2865
  return this.bump(), {
@@ -2839,25 +2867,25 @@ var Yr = (
2839
2867
  type: v.argument,
2840
2868
  // value does not include the opening and closing braces.
2841
2869
  value: i,
2842
- location: b(n, this.clonePosition())
2870
+ location: p(r, this.clonePosition())
2843
2871
  },
2844
2872
  err: null
2845
2873
  };
2846
2874
  case 44:
2847
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2875
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2848
2876
  default:
2849
- return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2877
+ return this.error(d.MALFORMED_ARGUMENT, p(r, this.clonePosition()));
2850
2878
  }
2851
2879
  }, e.prototype.parseIdentifierIfPossible = function() {
2852
- var t = this.clonePosition(), r = this.offset(), n = we(this.message, r), i = r + n.length;
2880
+ var t = this.clonePosition(), n = this.offset(), r = Oe(this.message, n), i = n + r.length;
2853
2881
  this.bumpTo(i);
2854
- var s = this.clonePosition(), a = b(t, s);
2855
- return { value: n, location: a };
2856
- }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2882
+ var s = this.clonePosition(), a = p(t, s);
2883
+ return { value: r, location: a };
2884
+ }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
2857
2885
  var s, a = this.clonePosition(), u = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2858
2886
  switch (u) {
2859
2887
  case "":
2860
- return this.error(d.EXPECT_ARGUMENT_TYPE, b(a, l));
2888
+ return this.error(d.EXPECT_ARGUMENT_TYPE, p(a, l));
2861
2889
  case "number":
2862
2890
  case "date":
2863
2891
  case "time": {
@@ -2865,40 +2893,40 @@ var Yr = (
2865
2893
  var o = null;
2866
2894
  if (this.bumpIf(",")) {
2867
2895
  this.bumpSpace();
2868
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2869
- if (f.err)
2870
- return f;
2871
- var c = qr(f.val);
2872
- if (c.length === 0)
2873
- return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2874
- var y = b(h, this.clonePosition());
2875
- o = { style: c, styleLocation: y };
2896
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2897
+ if (c.err)
2898
+ return c;
2899
+ var f = Kn(c.val);
2900
+ if (f.length === 0)
2901
+ return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
2902
+ var b = p(h, this.clonePosition());
2903
+ o = { style: f, styleLocation: b };
2876
2904
  }
2877
- var E = this.tryParseArgumentClose(i);
2878
- if (E.err)
2879
- return E;
2880
- var _ = b(i, this.clonePosition());
2881
- if (o && Ke(o == null ? void 0 : o.style, "::", 0)) {
2882
- var A = Jr(o.style.slice(2));
2905
+ var y = this.tryParseArgumentClose(i);
2906
+ if (y.err)
2907
+ return y;
2908
+ var x = p(i, this.clonePosition());
2909
+ if (o && et(o == null ? void 0 : o.style, "::", 0)) {
2910
+ var T = Yn(o.style.slice(2));
2883
2911
  if (u === "number") {
2884
- var f = this.parseNumberSkeletonFromString(A, o.styleLocation);
2885
- return f.err ? f : {
2886
- val: { type: v.number, value: n, location: _, style: f.val },
2912
+ var c = this.parseNumberSkeletonFromString(T, o.styleLocation);
2913
+ return c.err ? c : {
2914
+ val: { type: v.number, value: r, location: x, style: c.val },
2887
2915
  err: null
2888
2916
  };
2889
2917
  } else {
2890
- if (A.length === 0)
2891
- return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
2892
- var O = A;
2893
- this.locale && (O = $r(A, this.locale));
2894
- var c = {
2895
- type: F.dateTime,
2918
+ if (T.length === 0)
2919
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, x);
2920
+ var O = T;
2921
+ this.locale && (O = Dn(T, this.locale));
2922
+ var f = {
2923
+ type: k.dateTime,
2896
2924
  pattern: O,
2897
2925
  location: o.styleLocation,
2898
- parsedOptions: this.shouldParseSkeletons ? wr(O) : {}
2926
+ parsedOptions: this.shouldParseSkeletons ? In(O) : {}
2899
2927
  }, N = u === "date" ? v.date : v.time;
2900
2928
  return {
2901
- val: { type: N, value: n, location: _, style: c },
2929
+ val: { type: N, value: r, location: x, style: f },
2902
2930
  err: null
2903
2931
  };
2904
2932
  }
@@ -2906,8 +2934,8 @@ var Yr = (
2906
2934
  return {
2907
2935
  val: {
2908
2936
  type: u === "number" ? v.number : u === "date" ? v.date : v.time,
2909
- value: n,
2910
- location: _,
2937
+ value: r,
2938
+ location: x,
2911
2939
  style: (s = o == null ? void 0 : o.style) !== null && s !== void 0 ? s : null
2912
2940
  },
2913
2941
  err: null
@@ -2916,61 +2944,61 @@ var Yr = (
2916
2944
  case "plural":
2917
2945
  case "selectordinal":
2918
2946
  case "select": {
2919
- var S = this.clonePosition();
2947
+ var B = this.clonePosition();
2920
2948
  if (this.bumpSpace(), !this.bumpIf(","))
2921
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(S, p({}, S)));
2949
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(B, E({}, B)));
2922
2950
  this.bumpSpace();
2923
- var B = this.parseIdentifierIfPossible(), w = 0;
2924
- if (u !== "select" && B.value === "offset") {
2951
+ var A = this.parseIdentifierIfPossible(), I = 0;
2952
+ if (u !== "select" && A.value === "offset") {
2925
2953
  if (!this.bumpIf(":"))
2926
- return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2954
+ return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p(this.clonePosition(), this.clonePosition()));
2927
2955
  this.bumpSpace();
2928
- var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2929
- if (f.err)
2930
- return f;
2931
- this.bumpSpace(), B = this.parseIdentifierIfPossible(), w = f.val;
2956
+ var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2957
+ if (c.err)
2958
+ return c;
2959
+ this.bumpSpace(), A = this.parseIdentifierIfPossible(), I = c.val;
2932
2960
  }
2933
- var M = this.tryParsePluralOrSelectOptions(t, u, r, B);
2934
- if (M.err)
2935
- return M;
2936
- var E = this.tryParseArgumentClose(i);
2937
- if (E.err)
2938
- return E;
2939
- var ee = b(i, this.clonePosition());
2961
+ var C = this.tryParsePluralOrSelectOptions(t, u, n, A);
2962
+ if (C.err)
2963
+ return C;
2964
+ var y = this.tryParseArgumentClose(i);
2965
+ if (y.err)
2966
+ return y;
2967
+ var _ = p(i, this.clonePosition());
2940
2968
  return u === "select" ? {
2941
2969
  val: {
2942
2970
  type: v.select,
2943
- value: n,
2944
- options: et(M.val),
2945
- location: ee
2971
+ value: r,
2972
+ options: tt(C.val),
2973
+ location: _
2946
2974
  },
2947
2975
  err: null
2948
2976
  } : {
2949
2977
  val: {
2950
2978
  type: v.plural,
2951
- value: n,
2952
- options: et(M.val),
2953
- offset: w,
2979
+ value: r,
2980
+ options: tt(C.val),
2981
+ offset: I,
2954
2982
  pluralType: u === "plural" ? "cardinal" : "ordinal",
2955
- location: ee
2983
+ location: _
2956
2984
  },
2957
2985
  err: null
2958
2986
  };
2959
2987
  }
2960
2988
  default:
2961
- return this.error(d.INVALID_ARGUMENT_TYPE, b(a, l));
2989
+ return this.error(d.INVALID_ARGUMENT_TYPE, p(a, l));
2962
2990
  }
2963
2991
  }, e.prototype.tryParseArgumentClose = function(t) {
2964
- return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2992
+ return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2965
2993
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2966
- for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2967
- var n = this.char();
2968
- switch (n) {
2994
+ for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
2995
+ var r = this.char();
2996
+ switch (r) {
2969
2997
  case 39: {
2970
2998
  this.bump();
2971
2999
  var i = this.clonePosition();
2972
3000
  if (!this.bumpUntil("'"))
2973
- return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
3001
+ return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, p(i, this.clonePosition()));
2974
3002
  this.bump();
2975
3003
  break;
2976
3004
  }
@@ -2983,7 +3011,7 @@ var Yr = (
2983
3011
  t -= 1;
2984
3012
  else
2985
3013
  return {
2986
- val: this.message.slice(r.offset, this.offset()),
3014
+ val: this.message.slice(n.offset, this.offset()),
2987
3015
  err: null
2988
3016
  };
2989
3017
  break;
@@ -2994,61 +3022,61 @@ var Yr = (
2994
3022
  }
2995
3023
  }
2996
3024
  return {
2997
- val: this.message.slice(r.offset, this.offset()),
3025
+ val: this.message.slice(n.offset, this.offset()),
2998
3026
  err: null
2999
3027
  };
3000
- }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3001
- var n = [];
3028
+ }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3029
+ var r = [];
3002
3030
  try {
3003
- n = Ir(t);
3031
+ r = Cn(t);
3004
3032
  } catch (i) {
3005
- return this.error(d.INVALID_NUMBER_SKELETON, r);
3033
+ return this.error(d.INVALID_NUMBER_SKELETON, n);
3006
3034
  }
3007
3035
  return {
3008
3036
  val: {
3009
- type: F.number,
3010
- tokens: n,
3011
- location: r,
3012
- parsedOptions: this.shouldParseSkeletons ? Rr(n) : {}
3037
+ type: k.number,
3038
+ tokens: r,
3039
+ location: n,
3040
+ parsedOptions: this.shouldParseSkeletons ? Un(r) : {}
3013
3041
  },
3014
3042
  err: null
3015
3043
  };
3016
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3044
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3017
3045
  for (var s, a = !1, u = [], l = /* @__PURE__ */ new Set(), o = i.value, h = i.location; ; ) {
3018
3046
  if (o.length === 0) {
3019
- var f = this.clonePosition();
3020
- if (r !== "select" && this.bumpIf("=")) {
3021
- var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3022
- if (c.err)
3023
- return c;
3024
- h = b(f, this.clonePosition()), o = this.message.slice(f.offset, this.offset());
3047
+ var c = this.clonePosition();
3048
+ if (n !== "select" && this.bumpIf("=")) {
3049
+ var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3050
+ if (f.err)
3051
+ return f;
3052
+ h = p(c, this.clonePosition()), o = this.message.slice(c.offset, this.offset());
3025
3053
  } else
3026
3054
  break;
3027
3055
  }
3028
3056
  if (l.has(o))
3029
- return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3057
+ return this.error(n === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3030
3058
  o === "other" && (a = !0), this.bumpSpace();
3031
- var y = this.clonePosition();
3059
+ var b = this.clonePosition();
3032
3060
  if (!this.bumpIf("{"))
3033
- return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3034
- var E = this.parseMessage(t + 1, r, n);
3035
- if (E.err)
3036
- return E;
3037
- var _ = this.tryParseArgumentClose(y);
3038
- if (_.err)
3039
- return _;
3061
+ return this.error(n === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
3062
+ var y = this.parseMessage(t + 1, n, r);
3063
+ if (y.err)
3064
+ return y;
3065
+ var x = this.tryParseArgumentClose(b);
3066
+ if (x.err)
3067
+ return x;
3040
3068
  u.push([
3041
3069
  o,
3042
3070
  {
3043
- value: E.val,
3044
- location: b(y, this.clonePosition())
3071
+ value: y.val,
3072
+ location: p(b, this.clonePosition())
3045
3073
  }
3046
3074
  ]), l.add(o), this.bumpSpace(), s = this.parseIdentifierIfPossible(), o = s.value, h = s.location;
3047
3075
  }
3048
- return u.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
3049
- }, e.prototype.tryParseDecimalInteger = function(t, r) {
3050
- var n = 1, i = this.clonePosition();
3051
- this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3076
+ return u.length === 0 ? this.error(n === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(d.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
3077
+ }, e.prototype.tryParseDecimalInteger = function(t, n) {
3078
+ var r = 1, i = this.clonePosition();
3079
+ this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3052
3080
  for (var s = !1, a = 0; !this.isEOF(); ) {
3053
3081
  var u = this.char();
3054
3082
  if (u >= 48 && u <= 57)
@@ -3056,8 +3084,8 @@ var Yr = (
3056
3084
  else
3057
3085
  break;
3058
3086
  }
3059
- var l = b(i, this.clonePosition());
3060
- return s ? (a *= n, Zr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3087
+ var l = p(i, this.clonePosition());
3088
+ return s ? (a *= r, Jn(a) ? { val: a, err: null } : this.error(n, l)) : this.error(t, l);
3061
3089
  }, e.prototype.offset = function() {
3062
3090
  return this.position.offset;
3063
3091
  }, e.prototype.isEOF = function() {
@@ -3072,17 +3100,17 @@ var Yr = (
3072
3100
  var t = this.position.offset;
3073
3101
  if (t >= this.message.length)
3074
3102
  throw Error("out of bound");
3075
- var r = At(this.message, t);
3076
- if (r === void 0)
3103
+ var n = Pt(this.message, t);
3104
+ if (n === void 0)
3077
3105
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3078
- return r;
3079
- }, e.prototype.error = function(t, r) {
3106
+ return n;
3107
+ }, e.prototype.error = function(t, n) {
3080
3108
  return {
3081
3109
  val: null,
3082
3110
  err: {
3083
3111
  kind: t,
3084
3112
  message: this.message,
3085
- location: r
3113
+ location: n
3086
3114
  }
3087
3115
  };
3088
3116
  }, e.prototype.bump = function() {
@@ -3091,131 +3119,131 @@ var Yr = (
3091
3119
  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);
3092
3120
  }
3093
3121
  }, e.prototype.bumpIf = function(t) {
3094
- if (Ke(this.message, t, this.offset())) {
3095
- for (var r = 0; r < t.length; r++)
3122
+ if (et(this.message, t, this.offset())) {
3123
+ for (var n = 0; n < t.length; n++)
3096
3124
  this.bump();
3097
3125
  return !0;
3098
3126
  }
3099
3127
  return !1;
3100
3128
  }, e.prototype.bumpUntil = function(t) {
3101
- var r = this.offset(), n = this.message.indexOf(t, r);
3102
- return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3129
+ var n = this.offset(), r = this.message.indexOf(t, n);
3130
+ return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
3103
3131
  }, e.prototype.bumpTo = function(t) {
3104
3132
  if (this.offset() > t)
3105
3133
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3106
3134
  for (t = Math.min(t, this.message.length); ; ) {
3107
- var r = this.offset();
3108
- if (r === t)
3135
+ var n = this.offset();
3136
+ if (n === t)
3109
3137
  break;
3110
- if (r > t)
3138
+ if (n > t)
3111
3139
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3112
3140
  if (this.bump(), this.isEOF())
3113
3141
  break;
3114
3142
  }
3115
3143
  }, e.prototype.bumpSpace = function() {
3116
- for (; !this.isEOF() && Nt(this.char()); )
3144
+ for (; !this.isEOF() && Ot(this.char()); )
3117
3145
  this.bump();
3118
3146
  }, e.prototype.peek = function() {
3119
3147
  if (this.isEOF())
3120
3148
  return null;
3121
- var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3122
- return n != null ? n : null;
3149
+ var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3150
+ return r != null ? r : null;
3123
3151
  }, e;
3124
3152
  }()
3125
3153
  );
3126
- function Oe(e) {
3154
+ function Ie(e) {
3127
3155
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3128
3156
  }
3129
- function Kr(e) {
3130
- return Oe(e) || e === 47;
3157
+ function tr(e) {
3158
+ return Ie(e) || e === 47;
3131
3159
  }
3132
- function en(e) {
3160
+ function nr(e) {
3133
3161
  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;
3134
3162
  }
3135
- function Nt(e) {
3163
+ function Ot(e) {
3136
3164
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3137
3165
  }
3138
- function tn(e) {
3166
+ function rr(e) {
3139
3167
  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;
3140
3168
  }
3141
- function Ie(e) {
3169
+ function Le(e) {
3142
3170
  e.forEach(function(t) {
3143
- if (delete t.location, Et(t) || vt(t))
3144
- for (var r in t.options)
3145
- delete t.options[r].location, Ie(t.options[r].value);
3146
- else bt(t) && _t(t.style) || (pt(t) || yt(t)) && Ae(t.style) ? delete t.style.location : xt(t) && Ie(t.children);
3171
+ if (delete t.location, _t(t) || xt(t))
3172
+ for (var n in t.options)
3173
+ delete t.options[n].location, Le(t.options[n].value);
3174
+ else yt(t) && Tt(t.style) || (Et(t) || vt(t)) && we(t.style) ? delete t.style.location : Ht(t) && Le(t.children);
3147
3175
  });
3148
3176
  }
3149
- function rn(e, t) {
3150
- t === void 0 && (t = {}), t = p({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3151
- var r = new Yr(e, t).parse();
3152
- if (r.err) {
3153
- var n = SyntaxError(d[r.err.kind]);
3154
- throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3177
+ function ir(e, t) {
3178
+ t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3179
+ var n = new er(e, t).parse();
3180
+ if (n.err) {
3181
+ var r = SyntaxError(d[n.err.kind]);
3182
+ throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3155
3183
  }
3156
- return t != null && t.captureLocation || Ie(r.val), r.val;
3184
+ return t != null && t.captureLocation || Le(n.val), n.val;
3157
3185
  }
3158
- function Ee(e, t) {
3159
- var r = t && t.cache ? t.cache : hn, n = t && t.serializer ? t.serializer : un, i = t && t.strategy ? t.strategy : sn;
3186
+ function ve(e, t) {
3187
+ var n = t && t.cache ? t.cache : lr, r = t && t.serializer ? t.serializer : hr, i = t && t.strategy ? t.strategy : ar;
3160
3188
  return i(e, {
3161
- cache: r,
3162
- serializer: n
3189
+ cache: n,
3190
+ serializer: r
3163
3191
  });
3164
3192
  }
3165
- function nn(e) {
3193
+ function sr(e) {
3166
3194
  return e == null || typeof e == "number" || typeof e == "boolean";
3167
3195
  }
3168
- function wt(e, t, r, n) {
3169
- var i = nn(n) ? n : r(n), s = t.get(i);
3170
- return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
3196
+ function It(e, t, n, r) {
3197
+ var i = sr(r) ? r : n(r), s = t.get(i);
3198
+ return typeof s == "undefined" && (s = e.call(this, r), t.set(i, s)), s;
3171
3199
  }
3172
- function Ot(e, t, r) {
3173
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
3174
- return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
3200
+ function Lt(e, t, n) {
3201
+ var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
3202
+ return typeof s == "undefined" && (s = e.apply(this, r), t.set(i, s)), s;
3175
3203
  }
3176
- function Ue(e, t, r, n, i) {
3177
- return r.bind(t, e, n, i);
3204
+ function De(e, t, n, r, i) {
3205
+ return n.bind(t, e, r, i);
3178
3206
  }
3179
- function sn(e, t) {
3180
- var r = e.length === 1 ? wt : Ot;
3181
- return Ue(e, this, r, t.cache.create(), t.serializer);
3207
+ function ar(e, t) {
3208
+ var n = e.length === 1 ? It : Lt;
3209
+ return De(e, this, n, t.cache.create(), t.serializer);
3182
3210
  }
3183
- function an(e, t) {
3184
- return Ue(e, this, Ot, t.cache.create(), t.serializer);
3211
+ function or(e, t) {
3212
+ return De(e, this, Lt, t.cache.create(), t.serializer);
3185
3213
  }
3186
- function on(e, t) {
3187
- return Ue(e, this, wt, t.cache.create(), t.serializer);
3214
+ function ur(e, t) {
3215
+ return De(e, this, It, t.cache.create(), t.serializer);
3188
3216
  }
3189
- var un = function() {
3217
+ var hr = function() {
3190
3218
  return JSON.stringify(arguments);
3191
3219
  };
3192
- function De() {
3220
+ function Ge() {
3193
3221
  this.cache = /* @__PURE__ */ Object.create(null);
3194
3222
  }
3195
- De.prototype.get = function(e) {
3223
+ Ge.prototype.get = function(e) {
3196
3224
  return this.cache[e];
3197
3225
  };
3198
- De.prototype.set = function(e, t) {
3226
+ Ge.prototype.set = function(e, t) {
3199
3227
  this.cache[e] = t;
3200
3228
  };
3201
- var hn = {
3229
+ var lr = {
3202
3230
  create: function() {
3203
- return new De();
3231
+ return new Ge();
3204
3232
  }
3205
- }, ve = {
3206
- variadic: an,
3207
- monadic: on
3208
- }, j;
3233
+ }, _e = {
3234
+ variadic: or,
3235
+ monadic: ur
3236
+ }, V;
3209
3237
  (function(e) {
3210
3238
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3211
- })(j || (j = {}));
3212
- var fe = (
3239
+ })(V || (V = {}));
3240
+ var me = (
3213
3241
  /** @class */
3214
3242
  function(e) {
3215
- he(t, e);
3216
- function t(r, n, i) {
3217
- var s = e.call(this, r) || this;
3218
- return s.code = n, s.originalMessage = i, s;
3243
+ fe(t, e);
3244
+ function t(n, r, i) {
3245
+ var s = e.call(this, n) || this;
3246
+ return s.code = r, s.originalMessage = i, s;
3219
3247
  }
3220
3248
  return t.prototype.toString = function() {
3221
3249
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
@@ -3224,150 +3252,150 @@ var fe = (
3224
3252
  ), rt = (
3225
3253
  /** @class */
3226
3254
  function(e) {
3227
- he(t, e);
3228
- function t(r, n, i, s) {
3229
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, s) || this;
3255
+ fe(t, e);
3256
+ function t(n, r, i, s) {
3257
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
3230
3258
  }
3231
3259
  return t;
3232
- }(fe)
3233
- ), ln = (
3260
+ }(me)
3261
+ ), fr = (
3234
3262
  /** @class */
3235
3263
  function(e) {
3236
- he(t, e);
3237
- function t(r, n, i) {
3238
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
3264
+ fe(t, e);
3265
+ function t(n, r, i) {
3266
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), V.INVALID_VALUE, i) || this;
3239
3267
  }
3240
3268
  return t;
3241
- }(fe)
3242
- ), fn = (
3269
+ }(me)
3270
+ ), cr = (
3243
3271
  /** @class */
3244
3272
  function(e) {
3245
- he(t, e);
3246
- function t(r, n) {
3247
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
3273
+ fe(t, e);
3274
+ function t(n, r) {
3275
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), V.MISSING_VALUE, r) || this;
3248
3276
  }
3249
3277
  return t;
3250
- }(fe)
3251
- ), T;
3278
+ }(me)
3279
+ ), w;
3252
3280
  (function(e) {
3253
3281
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3254
- })(T || (T = {}));
3255
- function cn(e) {
3256
- return e.length < 2 ? e : e.reduce(function(t, r) {
3257
- var n = t[t.length - 1];
3258
- return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
3282
+ })(w || (w = {}));
3283
+ function mr(e) {
3284
+ return e.length < 2 ? e : e.reduce(function(t, n) {
3285
+ var r = t[t.length - 1];
3286
+ return !r || r.type !== w.literal || n.type !== w.literal ? t.push(n) : r.value += n.value, t;
3259
3287
  }, []);
3260
3288
  }
3261
- function mn(e) {
3289
+ function gr(e) {
3262
3290
  return typeof e == "function";
3263
3291
  }
3264
- function ie(e, t, r, n, i, s, a) {
3265
- if (e.length === 1 && Qe(e[0]))
3292
+ function ae(e, t, n, r, i, s, a) {
3293
+ if (e.length === 1 && Je(e[0]))
3266
3294
  return [
3267
3295
  {
3268
- type: T.literal,
3296
+ type: w.literal,
3269
3297
  value: e[0].value
3270
3298
  }
3271
3299
  ];
3272
3300
  for (var u = [], l = 0, o = e; l < o.length; l++) {
3273
3301
  var h = o[l];
3274
- if (Qe(h)) {
3302
+ if (Je(h)) {
3275
3303
  u.push({
3276
- type: T.literal,
3304
+ type: w.literal,
3277
3305
  value: h.value
3278
3306
  });
3279
3307
  continue;
3280
3308
  }
3281
- if (Pr(h)) {
3309
+ if (Nn(h)) {
3282
3310
  typeof s == "number" && u.push({
3283
- type: T.literal,
3284
- value: r.getNumberFormat(t).format(s)
3311
+ type: w.literal,
3312
+ value: n.getNumberFormat(t).format(s)
3285
3313
  });
3286
3314
  continue;
3287
3315
  }
3288
- var f = h.value;
3289
- if (!(i && f in i))
3290
- throw new fn(f, a);
3291
- var c = i[f];
3292
- if (Ar(h)) {
3293
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), u.push({
3294
- type: typeof c == "string" ? T.literal : T.object,
3295
- value: c
3316
+ var c = h.value;
3317
+ if (!(i && c in i))
3318
+ throw new cr(c, a);
3319
+ var f = i[c];
3320
+ if (Pn(h)) {
3321
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3322
+ type: typeof f == "string" ? w.literal : w.object,
3323
+ value: f
3296
3324
  });
3297
3325
  continue;
3298
3326
  }
3299
- if (pt(h)) {
3300
- var y = typeof h.style == "string" ? n.date[h.style] : Ae(h.style) ? h.style.parsedOptions : void 0;
3327
+ if (Et(h)) {
3328
+ var b = typeof h.style == "string" ? r.date[h.style] : we(h.style) ? h.style.parsedOptions : void 0;
3301
3329
  u.push({
3302
- type: T.literal,
3303
- value: r.getDateTimeFormat(t, y).format(c)
3330
+ type: w.literal,
3331
+ value: n.getDateTimeFormat(t, b).format(f)
3304
3332
  });
3305
3333
  continue;
3306
3334
  }
3307
- if (yt(h)) {
3308
- var y = typeof h.style == "string" ? n.time[h.style] : Ae(h.style) ? h.style.parsedOptions : n.time.medium;
3335
+ if (vt(h)) {
3336
+ var b = typeof h.style == "string" ? r.time[h.style] : we(h.style) ? h.style.parsedOptions : r.time.medium;
3309
3337
  u.push({
3310
- type: T.literal,
3311
- value: r.getDateTimeFormat(t, y).format(c)
3338
+ type: w.literal,
3339
+ value: n.getDateTimeFormat(t, b).format(f)
3312
3340
  });
3313
3341
  continue;
3314
3342
  }
3315
- if (bt(h)) {
3316
- var y = typeof h.style == "string" ? n.number[h.style] : _t(h.style) ? h.style.parsedOptions : void 0;
3317
- y && y.scale && (c = c * (y.scale || 1)), u.push({
3318
- type: T.literal,
3319
- value: r.getNumberFormat(t, y).format(c)
3343
+ if (yt(h)) {
3344
+ var b = typeof h.style == "string" ? r.number[h.style] : Tt(h.style) ? h.style.parsedOptions : void 0;
3345
+ b && b.scale && (f = f * (b.scale || 1)), u.push({
3346
+ type: w.literal,
3347
+ value: n.getNumberFormat(t, b).format(f)
3320
3348
  });
3321
3349
  continue;
3322
3350
  }
3323
- if (xt(h)) {
3324
- var E = h.children, _ = h.value, A = i[_];
3325
- if (!mn(A))
3326
- throw new ln(_, "function", a);
3327
- var O = ie(E, t, r, n, i, s), N = A(O.map(function(w) {
3328
- return w.value;
3351
+ if (Ht(h)) {
3352
+ var y = h.children, x = h.value, T = i[x];
3353
+ if (!gr(T))
3354
+ throw new fr(x, "function", a);
3355
+ var O = ae(y, t, n, r, i, s), N = T(O.map(function(I) {
3356
+ return I.value;
3329
3357
  }));
3330
- Array.isArray(N) || (N = [N]), u.push.apply(u, N.map(function(w) {
3358
+ Array.isArray(N) || (N = [N]), u.push.apply(u, N.map(function(I) {
3331
3359
  return {
3332
- type: typeof w == "string" ? T.literal : T.object,
3333
- value: w
3360
+ type: typeof I == "string" ? w.literal : w.object,
3361
+ value: I
3334
3362
  };
3335
3363
  }));
3336
3364
  }
3337
- if (Et(h)) {
3338
- var S = h.options[c] || h.options.other;
3339
- if (!S)
3340
- throw new rt(h.value, c, Object.keys(h.options), a);
3341
- u.push.apply(u, ie(S.value, t, r, n, i));
3365
+ if (_t(h)) {
3366
+ var B = h.options[f] || h.options.other;
3367
+ if (!B)
3368
+ throw new rt(h.value, f, Object.keys(h.options), a);
3369
+ u.push.apply(u, ae(B.value, t, n, r, i));
3342
3370
  continue;
3343
3371
  }
3344
- if (vt(h)) {
3345
- var S = h.options["=".concat(c)];
3346
- if (!S) {
3372
+ if (xt(h)) {
3373
+ var B = h.options["=".concat(f)];
3374
+ if (!B) {
3347
3375
  if (!Intl.PluralRules)
3348
- throw new fe(`Intl.PluralRules is not available in this environment.
3376
+ throw new me(`Intl.PluralRules is not available in this environment.
3349
3377
  Try polyfilling it using "@formatjs/intl-pluralrules"
3350
- `, j.MISSING_INTL_API, a);
3351
- var B = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3352
- S = h.options[B] || h.options.other;
3378
+ `, V.MISSING_INTL_API, a);
3379
+ var A = n.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3380
+ B = h.options[A] || h.options.other;
3353
3381
  }
3354
- if (!S)
3355
- throw new rt(h.value, c, Object.keys(h.options), a);
3356
- u.push.apply(u, ie(S.value, t, r, n, i, c - (h.offset || 0)));
3382
+ if (!B)
3383
+ throw new rt(h.value, f, Object.keys(h.options), a);
3384
+ u.push.apply(u, ae(B.value, t, n, r, i, f - (h.offset || 0)));
3357
3385
  continue;
3358
3386
  }
3359
3387
  }
3360
- return cn(u);
3388
+ return mr(u);
3361
3389
  }
3362
- function gn(e, t) {
3363
- return t ? p(p(p({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3364
- return r[n] = p(p({}, e[n]), t[n] || {}), r;
3390
+ function dr(e, t) {
3391
+ return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3392
+ return n[r] = E(E({}, e[r]), t[r] || {}), n;
3365
3393
  }, {})) : e;
3366
3394
  }
3367
- function dn(e, t) {
3368
- return t ? Object.keys(e).reduce(function(r, n) {
3369
- return r[n] = gn(e[n], t[n]), r;
3370
- }, p({}, e)) : e;
3395
+ function br(e, t) {
3396
+ return t ? Object.keys(e).reduce(function(n, r) {
3397
+ return n[r] = dr(e[r], t[r]), n;
3398
+ }, E({}, e)) : e;
3371
3399
  }
3372
3400
  function xe(e) {
3373
3401
  return {
@@ -3376,51 +3404,51 @@ function xe(e) {
3376
3404
  get: function(t) {
3377
3405
  return e[t];
3378
3406
  },
3379
- set: function(t, r) {
3380
- e[t] = r;
3407
+ set: function(t, n) {
3408
+ e[t] = n;
3381
3409
  }
3382
3410
  };
3383
3411
  }
3384
3412
  };
3385
3413
  }
3386
- function bn(e) {
3414
+ function pr(e) {
3387
3415
  return e === void 0 && (e = {
3388
3416
  number: {},
3389
3417
  dateTime: {},
3390
3418
  pluralRules: {}
3391
3419
  }), {
3392
- getNumberFormat: Ee(function() {
3393
- for (var t, r = [], n = 0; n < arguments.length; n++)
3394
- r[n] = arguments[n];
3395
- return new ((t = Intl.NumberFormat).bind.apply(t, pe([void 0], r, !1)))();
3420
+ getNumberFormat: ve(function() {
3421
+ for (var t, n = [], r = 0; r < arguments.length; r++)
3422
+ n[r] = arguments[r];
3423
+ return new ((t = Intl.NumberFormat).bind.apply(t, ye([void 0], n, !1)))();
3396
3424
  }, {
3397
3425
  cache: xe(e.number),
3398
- strategy: ve.variadic
3426
+ strategy: _e.variadic
3399
3427
  }),
3400
- getDateTimeFormat: Ee(function() {
3401
- for (var t, r = [], n = 0; n < arguments.length; n++)
3402
- r[n] = arguments[n];
3403
- return new ((t = Intl.DateTimeFormat).bind.apply(t, pe([void 0], r, !1)))();
3428
+ getDateTimeFormat: ve(function() {
3429
+ for (var t, n = [], r = 0; r < arguments.length; r++)
3430
+ n[r] = arguments[r];
3431
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ye([void 0], n, !1)))();
3404
3432
  }, {
3405
3433
  cache: xe(e.dateTime),
3406
- strategy: ve.variadic
3434
+ strategy: _e.variadic
3407
3435
  }),
3408
- getPluralRules: Ee(function() {
3409
- for (var t, r = [], n = 0; n < arguments.length; n++)
3410
- r[n] = arguments[n];
3411
- return new ((t = Intl.PluralRules).bind.apply(t, pe([void 0], r, !1)))();
3436
+ getPluralRules: ve(function() {
3437
+ for (var t, n = [], r = 0; r < arguments.length; r++)
3438
+ n[r] = arguments[r];
3439
+ return new ((t = Intl.PluralRules).bind.apply(t, ye([void 0], n, !1)))();
3412
3440
  }, {
3413
3441
  cache: xe(e.pluralRules),
3414
- strategy: ve.variadic
3442
+ strategy: _e.variadic
3415
3443
  })
3416
3444
  };
3417
3445
  }
3418
- var pn = (
3446
+ var yr = (
3419
3447
  /** @class */
3420
3448
  function() {
3421
- function e(t, r, n, i) {
3449
+ function e(t, n, r, i) {
3422
3450
  var s = this;
3423
- if (r === void 0 && (r = e.defaultLocale), this.formatterCache = {
3451
+ if (n === void 0 && (n = e.defaultLocale), this.formatterCache = {
3424
3452
  number: {},
3425
3453
  dateTime: {},
3426
3454
  pluralRules: {}
@@ -3428,12 +3456,12 @@ var pn = (
3428
3456
  var o = s.formatToParts(l);
3429
3457
  if (o.length === 1)
3430
3458
  return o[0].value;
3431
- var h = o.reduce(function(f, c) {
3432
- return !f.length || c.type !== T.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3459
+ var h = o.reduce(function(c, f) {
3460
+ return !c.length || f.type !== w.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3433
3461
  }, []);
3434
3462
  return h.length <= 1 ? h[0] || "" : h;
3435
3463
  }, this.formatToParts = function(l) {
3436
- return ie(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3464
+ return ae(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3437
3465
  }, this.resolvedOptions = function() {
3438
3466
  var l;
3439
3467
  return {
@@ -3441,18 +3469,18 @@ var pn = (
3441
3469
  };
3442
3470
  }, this.getAst = function() {
3443
3471
  return s.ast;
3444
- }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3472
+ }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3445
3473
  if (this.message = t, !e.__parse)
3446
3474
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3447
3475
  var a = i || {};
3448
3476
  a.formatters;
3449
- var u = hr(a, ["formatters"]);
3450
- this.ast = e.__parse(t, p(p({}, u), { locale: this.resolvedLocale }));
3477
+ var u = fn(a, ["formatters"]);
3478
+ this.ast = e.__parse(t, E(E({}, u), { locale: this.resolvedLocale }));
3451
3479
  } else
3452
3480
  this.ast = t;
3453
3481
  if (!Array.isArray(this.ast))
3454
3482
  throw new TypeError("A message must be provided as a String or AST.");
3455
- this.formats = dn(e.formats, n), this.formatters = i && i.formatters || bn(this.formatterCache);
3483
+ this.formats = br(e.formats, r), this.formatters = i && i.formatters || pr(this.formatterCache);
3456
3484
  }
3457
3485
  return Object.defineProperty(e, "defaultLocale", {
3458
3486
  get: function() {
@@ -3462,10 +3490,10 @@ var pn = (
3462
3490
  configurable: !0
3463
3491
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3464
3492
  if (typeof Intl.Locale != "undefined") {
3465
- var r = Intl.NumberFormat.supportedLocalesOf(t);
3466
- return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3493
+ var n = Intl.NumberFormat.supportedLocalesOf(t);
3494
+ return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3467
3495
  }
3468
- }, e.__parse = rn, e.formats = {
3496
+ }, e.__parse = ir, e.formats = {
3469
3497
  number: {
3470
3498
  integer: {
3471
3499
  maximumFractionDigits: 0
@@ -3526,113 +3554,113 @@ var pn = (
3526
3554
  }, e;
3527
3555
  }()
3528
3556
  );
3529
- function yn(e, t) {
3557
+ function Er(e, t) {
3530
3558
  if (t == null)
3531
3559
  return;
3532
3560
  if (t in e)
3533
3561
  return e[t];
3534
- const r = t.split(".");
3535
- let n = e;
3536
- for (let i = 0; i < r.length; i++)
3537
- if (typeof n == "object") {
3562
+ const n = t.split(".");
3563
+ let r = e;
3564
+ for (let i = 0; i < n.length; i++)
3565
+ if (typeof r == "object") {
3538
3566
  if (i > 0) {
3539
- const s = r.slice(i, r.length).join(".");
3540
- if (s in n) {
3541
- n = n[s];
3567
+ const s = n.slice(i, n.length).join(".");
3568
+ if (s in r) {
3569
+ r = r[s];
3542
3570
  break;
3543
3571
  }
3544
3572
  }
3545
- n = n[r[i]];
3573
+ r = r[n[i]];
3546
3574
  } else
3547
- n = void 0;
3548
- return n;
3575
+ r = void 0;
3576
+ return r;
3549
3577
  }
3550
- const I = {}, En = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), It = (e, t) => {
3578
+ const M = {}, vr = (e, t, n) => n && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = n), n), Ct = (e, t) => {
3551
3579
  if (t == null)
3552
3580
  return;
3553
- if (t in I && e in I[t])
3554
- return I[t][e];
3555
- const r = ce(t);
3556
- for (let n = 0; n < r.length; n++) {
3557
- const i = r[n], s = xn(i, e);
3581
+ if (t in M && e in M[t])
3582
+ return M[t][e];
3583
+ const n = ge(t);
3584
+ for (let r = 0; r < n.length; r++) {
3585
+ const i = n[r], s = xr(i, e);
3558
3586
  if (s)
3559
- return En(e, t, s);
3587
+ return vr(e, t, s);
3560
3588
  }
3561
3589
  };
3562
- let Ge;
3563
- const X = le({});
3564
- function vn(e) {
3565
- return Ge[e] || null;
3590
+ let Fe;
3591
+ const Z = ce({});
3592
+ function _r(e) {
3593
+ return Fe[e] || null;
3566
3594
  }
3567
- function Lt(e) {
3568
- return e in Ge;
3595
+ function Mt(e) {
3596
+ return e in Fe;
3569
3597
  }
3570
- function xn(e, t) {
3571
- if (!Lt(e))
3598
+ function xr(e, t) {
3599
+ if (!Mt(e))
3572
3600
  return null;
3573
- const r = vn(e);
3574
- return yn(r, t);
3601
+ const n = _r(e);
3602
+ return Er(n, t);
3575
3603
  }
3576
- function _n(e) {
3604
+ function Hr(e) {
3577
3605
  if (e == null)
3578
3606
  return;
3579
- const t = ce(e);
3580
- for (let r = 0; r < t.length; r++) {
3581
- const n = t[r];
3582
- if (Lt(n))
3583
- return n;
3607
+ const t = ge(e);
3608
+ for (let n = 0; n < t.length; n++) {
3609
+ const r = t[n];
3610
+ if (Mt(r))
3611
+ return r;
3584
3612
  }
3585
3613
  }
3586
- function Hn(e, ...t) {
3587
- delete I[e], X.update((r) => (r[e] = Br.all([r[e] || {}, ...t]), r));
3614
+ function Tr(e, ...t) {
3615
+ delete M[e], Z.update((n) => (n[e] = wn.all([n[e] || {}, ...t]), n));
3588
3616
  }
3589
- k(
3590
- [X],
3617
+ W(
3618
+ [Z],
3591
3619
  ([e]) => Object.keys(e)
3592
3620
  );
3593
- X.subscribe((e) => Ge = e);
3594
- const se = {};
3595
- function Tn(e, t) {
3596
- se[e].delete(t), se[e].size === 0 && delete se[e];
3597
- }
3598
- function Ct(e) {
3599
- return se[e];
3600
- }
3601
- function Sn(e) {
3602
- return ce(e).map((t) => {
3603
- const r = Ct(t);
3604
- return [t, r ? [...r] : []];
3621
+ Z.subscribe((e) => Fe = e);
3622
+ const oe = {};
3623
+ function Sr(e, t) {
3624
+ oe[e].delete(t), oe[e].size === 0 && delete oe[e];
3625
+ }
3626
+ function Rt(e) {
3627
+ return oe[e];
3628
+ }
3629
+ function Br(e) {
3630
+ return ge(e).map((t) => {
3631
+ const n = Rt(t);
3632
+ return [t, n ? [...n] : []];
3605
3633
  }).filter(([, t]) => t.length > 0);
3606
3634
  }
3607
- function Le(e) {
3608
- return e == null ? !1 : ce(e).some(
3635
+ function Ce(e) {
3636
+ return e == null ? !1 : ge(e).some(
3609
3637
  (t) => {
3610
- var r;
3611
- return (r = Ct(t)) == null ? void 0 : r.size;
3638
+ var n;
3639
+ return (n = Rt(t)) == null ? void 0 : n.size;
3612
3640
  }
3613
3641
  );
3614
3642
  }
3615
- function Bn(e, t) {
3643
+ function Ar(e, t) {
3616
3644
  return Promise.all(
3617
- t.map((n) => (Tn(e, n), n().then((i) => i.default || i)))
3618
- ).then((n) => Hn(e, ...n));
3619
- }
3620
- const W = {};
3621
- function Mt(e) {
3622
- if (!Le(e))
3623
- return e in W ? W[e] : Promise.resolve();
3624
- const t = Sn(e);
3625
- return W[e] = Promise.all(
3645
+ t.map((r) => (Sr(e, r), r().then((i) => i.default || i)))
3646
+ ).then((r) => Tr(e, ...r));
3647
+ }
3648
+ const J = {};
3649
+ function $t(e) {
3650
+ if (!Ce(e))
3651
+ return e in J ? J[e] : Promise.resolve();
3652
+ const t = Br(e);
3653
+ return J[e] = Promise.all(
3626
3654
  t.map(
3627
- ([r, n]) => Bn(r, n)
3655
+ ([n, r]) => Ar(n, r)
3628
3656
  )
3629
3657
  ).then(() => {
3630
- if (Le(e))
3631
- return Mt(e);
3632
- delete W[e];
3633
- }), W[e];
3658
+ if (Ce(e))
3659
+ return $t(e);
3660
+ delete J[e];
3661
+ }), J[e];
3634
3662
  }
3635
- const An = {
3663
+ const wr = {
3636
3664
  number: {
3637
3665
  scientific: { notation: "scientific" },
3638
3666
  engineering: { notation: "engineering" },
@@ -3661,431 +3689,431 @@ const An = {
3661
3689
  timeZoneName: "short"
3662
3690
  }
3663
3691
  }
3664
- }, Pn = {
3692
+ }, Pr = {
3665
3693
  fallbackLocale: null,
3666
3694
  loadingDelay: 200,
3667
- formats: An,
3695
+ formats: wr,
3668
3696
  warnOnMissingMessages: !0,
3669
3697
  handleMissingMessage: void 0,
3670
3698
  ignoreTag: !0
3671
- }, Nn = Pn;
3672
- function V() {
3673
- return Nn;
3674
- }
3675
- const _e = le(!1);
3676
- var wn = Object.defineProperty, On = Object.defineProperties, In = Object.getOwnPropertyDescriptors, nt = Object.getOwnPropertySymbols, Ln = Object.prototype.hasOwnProperty, Cn = Object.prototype.propertyIsEnumerable, it = (e, t, r) => t in e ? wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mn = (e, t) => {
3677
- for (var r in t || (t = {}))
3678
- Ln.call(t, r) && it(e, r, t[r]);
3679
- if (nt)
3680
- for (var r of nt(t))
3681
- Cn.call(t, r) && it(e, r, t[r]);
3699
+ }, Nr = Pr;
3700
+ function X() {
3701
+ return Nr;
3702
+ }
3703
+ const He = ce(!1);
3704
+ var Or = Object.defineProperty, Ir = Object.defineProperties, Lr = Object.getOwnPropertyDescriptors, it = Object.getOwnPropertySymbols, Cr = Object.prototype.hasOwnProperty, Mr = Object.prototype.propertyIsEnumerable, st = (e, t, n) => t in e ? Or(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Rr = (e, t) => {
3705
+ for (var n in t || (t = {}))
3706
+ Cr.call(t, n) && st(e, n, t[n]);
3707
+ if (it)
3708
+ for (var n of it(t))
3709
+ Mr.call(t, n) && st(e, n, t[n]);
3682
3710
  return e;
3683
- }, Rn = (e, t) => On(e, In(t));
3684
- let Ce;
3685
- const ae = le(null);
3686
- function st(e) {
3687
- return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3711
+ }, $r = (e, t) => Ir(e, Lr(t));
3712
+ let Me;
3713
+ const ue = ce(null);
3714
+ function at(e) {
3715
+ return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3688
3716
  }
3689
- function ce(e, t = V().fallbackLocale) {
3690
- const r = st(e);
3691
- return t ? [.../* @__PURE__ */ new Set([...r, ...st(t)])] : r;
3717
+ function ge(e, t = X().fallbackLocale) {
3718
+ const n = at(e);
3719
+ return t ? [.../* @__PURE__ */ new Set([...n, ...at(t)])] : n;
3692
3720
  }
3693
- function C() {
3694
- return Ce != null ? Ce : void 0;
3721
+ function $() {
3722
+ return Me != null ? Me : void 0;
3695
3723
  }
3696
- ae.subscribe((e) => {
3697
- Ce = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3724
+ ue.subscribe((e) => {
3725
+ Me = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3698
3726
  });
3699
- const $n = (e) => {
3700
- if (e && _n(e) && Le(e)) {
3701
- const { loadingDelay: t } = V();
3702
- let r;
3703
- return typeof window != "undefined" && C() != null && t ? r = window.setTimeout(
3704
- () => _e.set(!0),
3727
+ const Ur = (e) => {
3728
+ if (e && Hr(e) && Ce(e)) {
3729
+ const { loadingDelay: t } = X();
3730
+ let n;
3731
+ return typeof window != "undefined" && $() != null && t ? n = window.setTimeout(
3732
+ () => He.set(!0),
3705
3733
  t
3706
- ) : _e.set(!0), Mt(e).then(() => {
3707
- ae.set(e);
3734
+ ) : He.set(!0), $t(e).then(() => {
3735
+ ue.set(e);
3708
3736
  }).finally(() => {
3709
- clearTimeout(r), _e.set(!1);
3737
+ clearTimeout(n), He.set(!1);
3710
3738
  });
3711
3739
  }
3712
- return ae.set(e);
3713
- }, L = Rn(Mn({}, ae), {
3714
- set: $n
3715
- }), me = (e) => {
3740
+ return ue.set(e);
3741
+ }, R = $r(Rr({}, ue), {
3742
+ set: Ur
3743
+ }), de = (e) => {
3716
3744
  const t = /* @__PURE__ */ Object.create(null);
3717
- return (n) => {
3718
- const i = JSON.stringify(n);
3719
- return i in t ? t[i] : t[i] = e(n);
3745
+ return (r) => {
3746
+ const i = JSON.stringify(r);
3747
+ return i in t ? t[i] : t[i] = e(r);
3720
3748
  };
3721
3749
  };
3722
- var Un = Object.defineProperty, oe = Object.getOwnPropertySymbols, Rt = Object.prototype.hasOwnProperty, $t = Object.prototype.propertyIsEnumerable, at = (e, t, r) => t in e ? Un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fe = (e, t) => {
3723
- for (var r in t || (t = {}))
3724
- Rt.call(t, r) && at(e, r, t[r]);
3725
- if (oe)
3726
- for (var r of oe(t))
3727
- $t.call(t, r) && at(e, r, t[r]);
3750
+ var Dr = Object.defineProperty, he = Object.getOwnPropertySymbols, Ut = Object.prototype.hasOwnProperty, Dt = Object.prototype.propertyIsEnumerable, ot = (e, t, n) => t in e ? Dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, je = (e, t) => {
3751
+ for (var n in t || (t = {}))
3752
+ Ut.call(t, n) && ot(e, n, t[n]);
3753
+ if (he)
3754
+ for (var n of he(t))
3755
+ Dt.call(t, n) && ot(e, n, t[n]);
3728
3756
  return e;
3729
- }, z = (e, t) => {
3730
- var r = {};
3731
- for (var n in e)
3732
- Rt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3733
- if (e != null && oe)
3734
- for (var n of oe(e))
3735
- t.indexOf(n) < 0 && $t.call(e, n) && (r[n] = e[n]);
3736
- return r;
3757
+ }, Q = (e, t) => {
3758
+ var n = {};
3759
+ for (var r in e)
3760
+ Ut.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3761
+ if (e != null && he)
3762
+ for (var r of he(e))
3763
+ t.indexOf(r) < 0 && Dt.call(e, r) && (n[r] = e[r]);
3764
+ return n;
3737
3765
  };
3738
- const Y = (e, t) => {
3739
- const { formats: r } = V();
3740
- if (e in r && t in r[e])
3741
- return r[e][t];
3766
+ const te = (e, t) => {
3767
+ const { formats: n } = X();
3768
+ if (e in n && t in n[e])
3769
+ return n[e][t];
3742
3770
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3743
- }, Dn = me(
3771
+ }, Gr = de(
3744
3772
  (e) => {
3745
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
3746
- if (r == null)
3773
+ var t = e, { locale: n, format: r } = t, i = Q(t, ["locale", "format"]);
3774
+ if (n == null)
3747
3775
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3748
- return n && (i = Y("number", n)), new Intl.NumberFormat(r, i);
3776
+ return r && (i = te("number", r)), new Intl.NumberFormat(n, i);
3749
3777
  }
3750
- ), Gn = me(
3778
+ ), Fr = de(
3751
3779
  (e) => {
3752
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
3753
- if (r == null)
3780
+ var t = e, { locale: n, format: r } = t, i = Q(t, ["locale", "format"]);
3781
+ if (n == null)
3754
3782
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3755
- return n ? i = Y("date", n) : Object.keys(i).length === 0 && (i = Y("date", "short")), new Intl.DateTimeFormat(r, i);
3783
+ return r ? i = te("date", r) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(n, i);
3756
3784
  }
3757
- ), Fn = me(
3785
+ ), jr = de(
3758
3786
  (e) => {
3759
- var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
3760
- if (r == null)
3787
+ var t = e, { locale: n, format: r } = t, i = Q(t, ["locale", "format"]);
3788
+ if (n == null)
3761
3789
  throw new Error(
3762
3790
  '[svelte-i18n] A "locale" must be set to format time values'
3763
3791
  );
3764
- return n ? i = Y("time", n) : Object.keys(i).length === 0 && (i = Y("time", "short")), new Intl.DateTimeFormat(r, i);
3792
+ return r ? i = te("time", r) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(n, i);
3765
3793
  }
3766
- ), jn = (e = {}) => {
3794
+ ), kr = (e = {}) => {
3767
3795
  var t = e, {
3768
- locale: r = C()
3769
- } = t, n = z(t, [
3796
+ locale: n = $()
3797
+ } = t, r = Q(t, [
3770
3798
  "locale"
3771
3799
  ]);
3772
- return Dn(Fe({ locale: r }, n));
3773
- }, Vn = (e = {}) => {
3800
+ return Gr(je({ locale: n }, r));
3801
+ }, Vr = (e = {}) => {
3774
3802
  var t = e, {
3775
- locale: r = C()
3776
- } = t, n = z(t, [
3803
+ locale: n = $()
3804
+ } = t, r = Q(t, [
3777
3805
  "locale"
3778
3806
  ]);
3779
- return Gn(Fe({ locale: r }, n));
3780
- }, kn = (e = {}) => {
3807
+ return Fr(je({ locale: n }, r));
3808
+ }, Xr = (e = {}) => {
3781
3809
  var t = e, {
3782
- locale: r = C()
3783
- } = t, n = z(t, [
3810
+ locale: n = $()
3811
+ } = t, r = Q(t, [
3784
3812
  "locale"
3785
3813
  ]);
3786
- return Fn(Fe({ locale: r }, n));
3787
- }, Xn = me(
3814
+ return jr(je({ locale: n }, r));
3815
+ }, zr = de(
3788
3816
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3789
- (e, t = C()) => new pn(e, t, V().formats, {
3790
- ignoreTag: V().ignoreTag
3817
+ (e, t = $()) => new yr(e, t, X().formats, {
3818
+ ignoreTag: X().ignoreTag
3791
3819
  })
3792
- ), zn = (e, t = {}) => {
3793
- var r, n, i, s;
3820
+ ), Wr = (e, t = {}) => {
3821
+ var n, r, i, s;
3794
3822
  let a = t;
3795
3823
  typeof e == "object" && (a = e, e = a.id);
3796
3824
  const {
3797
3825
  values: u,
3798
- locale: l = C(),
3826
+ locale: l = $(),
3799
3827
  default: o
3800
3828
  } = a;
3801
3829
  if (l == null)
3802
3830
  throw new Error(
3803
3831
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3804
3832
  );
3805
- let h = It(e, l);
3833
+ let h = Ct(e, l);
3806
3834
  if (!h)
3807
- h = (s = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
3835
+ h = (s = (i = (r = (n = X()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
3808
3836
  else if (typeof h != "string")
3809
3837
  return console.warn(
3810
3838
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3811
3839
  ), h;
3812
3840
  if (!u)
3813
3841
  return h;
3814
- let f = h;
3842
+ let c = h;
3815
3843
  try {
3816
- f = Xn(h, l).format(u);
3817
- } catch (c) {
3818
- c instanceof Error && console.warn(
3844
+ c = zr(h, l).format(u);
3845
+ } catch (f) {
3846
+ f instanceof Error && console.warn(
3819
3847
  `[svelte-i18n] Message "${e}" has syntax error:`,
3820
- c.message
3848
+ f.message
3821
3849
  );
3822
3850
  }
3823
- return f;
3824
- }, Wn = (e, t) => kn(t).format(e), Zn = (e, t) => Vn(t).format(e), Qn = (e, t) => jn(t).format(e), Jn = (e, t = C()) => It(e, t), yi = k([L, X], () => zn);
3825
- k([L], () => Wn);
3826
- k([L], () => Zn);
3827
- k([L], () => Qn);
3828
- k([L, X], () => Jn);
3829
- function qn({ withLocale: e, translations: t }) {
3830
- L.subscribe((r) => {
3831
- r == null && (X.set(t), L.set(e));
3851
+ return c;
3852
+ }, Zr = (e, t) => Xr(t).format(e), Qr = (e, t) => Vr(t).format(e), Jr = (e, t) => kr(t).format(e), qr = (e, t = $()) => Ct(e, t), _i = W([R, Z], () => Wr);
3853
+ W([R], () => Zr);
3854
+ W([R], () => Qr);
3855
+ W([R], () => Jr);
3856
+ W([R, Z], () => qr);
3857
+ function Yr({ withLocale: e, translations: t }) {
3858
+ R.subscribe((n) => {
3859
+ n == null && (Z.set(t), R.set(e));
3832
3860
  });
3833
3861
  }
3834
3862
  if (typeof window != "undefined") {
3835
3863
  let e = function(t) {
3836
- return function(...r) {
3864
+ return function(...n) {
3837
3865
  try {
3838
- return t.apply(this, r);
3839
- } catch (n) {
3840
- if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
3866
+ return t.apply(this, n);
3867
+ } catch (r) {
3868
+ if (r instanceof DOMException && r.message.includes("has already been used with this registry") || r.message.includes("Cannot define multiple custom elements with the same tag name"))
3841
3869
  return !1;
3842
- throw n;
3870
+ throw r;
3843
3871
  }
3844
3872
  };
3845
3873
  };
3846
- customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-D1mMQvJm.js").then(({ default: t }) => {
3874
+ customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-BZnbyqV2.js").then(({ default: t }) => {
3847
3875
  !customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-nd", t.element);
3848
3876
  });
3849
3877
  }
3850
- function Yn(e) {
3851
- Xt(e, "svelte-tcik44", ".CasinoFavoritesSectionContainer{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}");
3878
+ function Kr(e) {
3879
+ Wt(e, "svelte-tcik44", ".CasinoFavoritesSectionContainer{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}");
3852
3880
  }
3853
- function Kn(e) {
3854
- let t, r;
3881
+ function ei(e) {
3882
+ let t, n;
3855
3883
  return {
3856
3884
  c() {
3857
- t = Q("div"), r = Q("casino-games-category-section-nd"), g(
3858
- r,
3885
+ t = Y("div"), n = Y("casino-games-category-section-nd"), g(
3886
+ n,
3859
3887
  "session",
3860
3888
  /*session*/
3861
3889
  e[4]
3862
3890
  ), g(
3863
- r,
3891
+ n,
3864
3892
  "userid",
3865
3893
  /*userid*/
3866
3894
  e[5]
3867
3895
  ), g(
3868
- r,
3896
+ n,
3869
3897
  "endpoint",
3870
3898
  /*endpoint*/
3871
3899
  e[0]
3872
3900
  ), g(
3873
- r,
3901
+ n,
3874
3902
  "datasource",
3875
3903
  /*datasource*/
3876
3904
  e[1]
3877
3905
  ), g(
3878
- r,
3906
+ n,
3879
3907
  "lang",
3880
3908
  /*lang*/
3881
3909
  e[3]
3882
3910
  ), g(
3883
- r,
3911
+ n,
3884
3912
  "currency",
3885
3913
  /*currency*/
3886
3914
  e[2]
3887
3915
  ), g(
3888
- r,
3916
+ n,
3889
3917
  "favorites",
3890
3918
  /*favorites*/
3891
3919
  e[14]
3892
3920
  ), g(
3893
- r,
3921
+ n,
3894
3922
  "fetchviaevent",
3895
3923
  /*fetchviaevent*/
3896
3924
  e[16]
3897
- ), g(r, "categoryid", "FAVORITES"), g(r, "class", "CategoryContainer"), g(
3898
- r,
3925
+ ), g(n, "categoryid", "FAVORITES"), g(n, "class", "CategoryContainer"), g(
3926
+ n,
3899
3927
  "showgamename",
3900
3928
  /*showgamename*/
3901
3929
  e[11]
3902
3930
  ), g(
3903
- r,
3931
+ n,
3904
3932
  "clientstyling",
3905
3933
  /*clientstyling*/
3906
3934
  e[6]
3907
3935
  ), g(
3908
- r,
3936
+ n,
3909
3937
  "clientstylingurl",
3910
3938
  /*clientstylingurl*/
3911
3939
  e[7]
3912
3940
  ), g(
3913
- r,
3941
+ n,
3914
3942
  "livecasino",
3915
3943
  /*livecasino*/
3916
3944
  e[8]
3917
3945
  ), g(
3918
- r,
3946
+ n,
3919
3947
  "visiblegames",
3920
3948
  /*visiblegames*/
3921
3949
  e[13]
3922
3950
  ), g(
3923
- r,
3951
+ n,
3924
3952
  "gamepagemodalurl",
3925
3953
  /*gamepagemodalurl*/
3926
3954
  e[12]
3927
3955
  ), g(
3928
- r,
3956
+ n,
3929
3957
  "integratedgameframedesktop",
3930
3958
  /*integratedgameframedesktop*/
3931
3959
  e[10]
3932
3960
  ), g(
3933
- r,
3961
+ n,
3934
3962
  "integratedgameframemobile",
3935
3963
  /*integratedgameframemobile*/
3936
3964
  e[9]
3937
3965
  ), g(
3938
- r,
3966
+ n,
3939
3967
  "casinomygames",
3940
3968
  /*casinomygames*/
3941
3969
  e[15]
3942
- ), $e(t, "class", "CasinoFavoritesSectionContainer");
3970
+ ), Ue(t, "class", "CasinoFavoritesSectionContainer");
3943
3971
  },
3944
- m(n, i) {
3945
- Re(n, t, i), lt(t, r), e[18](t);
3972
+ m(r, i) {
3973
+ $e(r, t, i), ft(t, n), e[18](t);
3946
3974
  },
3947
- p(n, [i]) {
3975
+ p(r, [i]) {
3948
3976
  i & /*session*/
3949
3977
  16 && g(
3950
- r,
3978
+ n,
3951
3979
  "session",
3952
3980
  /*session*/
3953
- n[4]
3981
+ r[4]
3954
3982
  ), i & /*userid*/
3955
3983
  32 && g(
3956
- r,
3984
+ n,
3957
3985
  "userid",
3958
3986
  /*userid*/
3959
- n[5]
3987
+ r[5]
3960
3988
  ), i & /*endpoint*/
3961
3989
  1 && g(
3962
- r,
3990
+ n,
3963
3991
  "endpoint",
3964
3992
  /*endpoint*/
3965
- n[0]
3993
+ r[0]
3966
3994
  ), i & /*datasource*/
3967
3995
  2 && g(
3968
- r,
3996
+ n,
3969
3997
  "datasource",
3970
3998
  /*datasource*/
3971
- n[1]
3999
+ r[1]
3972
4000
  ), i & /*lang*/
3973
4001
  8 && g(
3974
- r,
4002
+ n,
3975
4003
  "lang",
3976
4004
  /*lang*/
3977
- n[3]
4005
+ r[3]
3978
4006
  ), i & /*currency*/
3979
4007
  4 && g(
3980
- r,
4008
+ n,
3981
4009
  "currency",
3982
4010
  /*currency*/
3983
- n[2]
4011
+ r[2]
3984
4012
  ), i & /*favorites*/
3985
4013
  16384 && g(
3986
- r,
4014
+ n,
3987
4015
  "favorites",
3988
4016
  /*favorites*/
3989
- n[14]
4017
+ r[14]
3990
4018
  ), i & /*fetchviaevent*/
3991
4019
  65536 && g(
3992
- r,
4020
+ n,
3993
4021
  "fetchviaevent",
3994
4022
  /*fetchviaevent*/
3995
- n[16]
4023
+ r[16]
3996
4024
  ), i & /*showgamename*/
3997
4025
  2048 && g(
3998
- r,
4026
+ n,
3999
4027
  "showgamename",
4000
4028
  /*showgamename*/
4001
- n[11]
4029
+ r[11]
4002
4030
  ), i & /*clientstyling*/
4003
4031
  64 && g(
4004
- r,
4032
+ n,
4005
4033
  "clientstyling",
4006
4034
  /*clientstyling*/
4007
- n[6]
4035
+ r[6]
4008
4036
  ), i & /*clientstylingurl*/
4009
4037
  128 && g(
4010
- r,
4038
+ n,
4011
4039
  "clientstylingurl",
4012
4040
  /*clientstylingurl*/
4013
- n[7]
4041
+ r[7]
4014
4042
  ), i & /*livecasino*/
4015
4043
  256 && g(
4016
- r,
4044
+ n,
4017
4045
  "livecasino",
4018
4046
  /*livecasino*/
4019
- n[8]
4047
+ r[8]
4020
4048
  ), i & /*visiblegames*/
4021
4049
  8192 && g(
4022
- r,
4050
+ n,
4023
4051
  "visiblegames",
4024
4052
  /*visiblegames*/
4025
- n[13]
4053
+ r[13]
4026
4054
  ), i & /*gamepagemodalurl*/
4027
4055
  4096 && g(
4028
- r,
4056
+ n,
4029
4057
  "gamepagemodalurl",
4030
4058
  /*gamepagemodalurl*/
4031
- n[12]
4059
+ r[12]
4032
4060
  ), i & /*integratedgameframedesktop*/
4033
4061
  1024 && g(
4034
- r,
4062
+ n,
4035
4063
  "integratedgameframedesktop",
4036
4064
  /*integratedgameframedesktop*/
4037
- n[10]
4065
+ r[10]
4038
4066
  ), i & /*integratedgameframemobile*/
4039
4067
  512 && g(
4040
- r,
4068
+ n,
4041
4069
  "integratedgameframemobile",
4042
4070
  /*integratedgameframemobile*/
4043
- n[9]
4071
+ r[9]
4044
4072
  ), i & /*casinomygames*/
4045
4073
  32768 && g(
4046
- r,
4074
+ n,
4047
4075
  "casinomygames",
4048
4076
  /*casinomygames*/
4049
- n[15]
4077
+ r[15]
4050
4078
  );
4051
4079
  },
4052
- i: P,
4053
- o: P,
4054
- d(n) {
4055
- n && ue(t), e[18](null);
4080
+ i: L,
4081
+ o: L,
4082
+ d(r) {
4083
+ r && le(t), e[18](null);
4056
4084
  }
4057
4085
  };
4058
4086
  }
4059
- function ei(e, t, r) {
4060
- let { endpoint: n = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: u = "" } = t, { userid: l = "" } = t, { clientstyling: o = "" } = t, { clientstylingurl: h = "" } = t, { livecasino: f = "false" } = t, { integratedgameframemobile: c = "false" } = t, { integratedgameframedesktop: y = "false" } = t, { showgamename: E = "" } = t, { gamepagemodalurl: _ = "false" } = t, { visiblegames: A = "" } = t, { favorites: O = "" } = t, { casinomygames: N = "false" } = t, { fetchviaevent: S = "true" } = t, B;
4061
- qn({ withLocale: "en", translations: {} });
4062
- const w = () => {
4087
+ function ti(e, t, n) {
4088
+ let { endpoint: r = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: u = "" } = t, { userid: l = "" } = t, { clientstyling: o = "" } = t, { clientstylingurl: h = "" } = t, { livecasino: c = "false" } = t, { integratedgameframemobile: f = "false" } = t, { integratedgameframedesktop: b = "false" } = t, { showgamename: y = "" } = t, { gamepagemodalurl: x = "false" } = t, { visiblegames: T = "" } = t, { favorites: O = "" } = t, { casinomygames: N = "false" } = t, { fetchviaevent: B = "true" } = t, A;
4089
+ Yr({ withLocale: "en", translations: {} });
4090
+ const I = () => {
4063
4091
  let m = document.createElement("style");
4064
- m.innerHTML = o, B.appendChild(m);
4065
- }, M = () => {
4092
+ m.innerHTML = o, A.appendChild(m);
4093
+ }, C = () => {
4066
4094
  let m = document.createElement("style");
4067
- fetch(new URL(h)).then((ge) => ge.text()).then((ge) => {
4068
- m.innerHTML = ge, setTimeout(
4095
+ fetch(new URL(h)).then((P) => P.text()).then((P) => {
4096
+ m.innerHTML = P, setTimeout(
4069
4097
  () => {
4070
- B.appendChild(m);
4098
+ A.appendChild(m);
4071
4099
  },
4072
4100
  1
4073
4101
  );
4074
4102
  });
4075
4103
  };
4076
- function ee(m) {
4077
- He[m ? "unshift" : "push"](() => {
4078
- B = m, r(17, B);
4104
+ function _(m) {
4105
+ Te[m ? "unshift" : "push"](() => {
4106
+ A = m, n(17, A);
4079
4107
  });
4080
4108
  }
4081
4109
  return e.$$set = (m) => {
4082
- "endpoint" in m && r(0, n = m.endpoint), "datasource" in m && r(1, i = m.datasource), "currency" in m && r(2, s = m.currency), "lang" in m && r(3, a = m.lang), "session" in m && r(4, u = m.session), "userid" in m && r(5, l = m.userid), "clientstyling" in m && r(6, o = m.clientstyling), "clientstylingurl" in m && r(7, h = m.clientstylingurl), "livecasino" in m && r(8, f = m.livecasino), "integratedgameframemobile" in m && r(9, c = m.integratedgameframemobile), "integratedgameframedesktop" in m && r(10, y = m.integratedgameframedesktop), "showgamename" in m && r(11, E = m.showgamename), "gamepagemodalurl" in m && r(12, _ = m.gamepagemodalurl), "visiblegames" in m && r(13, A = m.visiblegames), "favorites" in m && r(14, O = m.favorites), "casinomygames" in m && r(15, N = m.casinomygames), "fetchviaevent" in m && r(16, S = m.fetchviaevent);
4110
+ "endpoint" in m && n(0, r = m.endpoint), "datasource" in m && n(1, i = m.datasource), "currency" in m && n(2, s = m.currency), "lang" in m && n(3, a = m.lang), "session" in m && n(4, u = m.session), "userid" in m && n(5, l = m.userid), "clientstyling" in m && n(6, o = m.clientstyling), "clientstylingurl" in m && n(7, h = m.clientstylingurl), "livecasino" in m && n(8, c = m.livecasino), "integratedgameframemobile" in m && n(9, f = m.integratedgameframemobile), "integratedgameframedesktop" in m && n(10, b = m.integratedgameframedesktop), "showgamename" in m && n(11, y = m.showgamename), "gamepagemodalurl" in m && n(12, x = m.gamepagemodalurl), "visiblegames" in m && n(13, T = m.visiblegames), "favorites" in m && n(14, O = m.favorites), "casinomygames" in m && n(15, N = m.casinomygames), "fetchviaevent" in m && n(16, B = m.fetchviaevent);
4083
4111
  }, e.$$.update = () => {
4084
4112
  e.$$.dirty & /*clientstyling, customStylingContainer*/
4085
- 131136 && o && B && w(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4086
- 131200 && h && B && M();
4113
+ 131136 && o && A && I(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4114
+ 131200 && h && A && C();
4087
4115
  }, [
4088
- n,
4116
+ r,
4089
4117
  i,
4090
4118
  s,
4091
4119
  a,
@@ -4093,27 +4121,27 @@ function ei(e, t, r) {
4093
4121
  l,
4094
4122
  o,
4095
4123
  h,
4096
- f,
4097
4124
  c,
4125
+ f,
4126
+ b,
4098
4127
  y,
4099
- E,
4100
- _,
4101
- A,
4128
+ x,
4129
+ T,
4102
4130
  O,
4103
4131
  N,
4104
- S,
4105
4132
  B,
4106
- ee
4133
+ A,
4134
+ _
4107
4135
  ];
4108
4136
  }
4109
- class Ut extends or {
4137
+ class Gt extends hn {
4110
4138
  constructor(t) {
4111
- super(), sr(
4139
+ super(), on(
4112
4140
  this,
4113
4141
  t,
4142
+ ti,
4114
4143
  ei,
4115
- Kn,
4116
- ut,
4144
+ ht,
4117
4145
  {
4118
4146
  endpoint: 0,
4119
4147
  datasource: 1,
@@ -4133,156 +4161,158 @@ class Ut extends or {
4133
4161
  casinomygames: 15,
4134
4162
  fetchviaevent: 16
4135
4163
  },
4136
- Yn
4164
+ Kr
4137
4165
  );
4138
4166
  }
4139
4167
  get endpoint() {
4140
4168
  return this.$$.ctx[0];
4141
4169
  }
4142
4170
  set endpoint(t) {
4143
- this.$$set({ endpoint: t }), x();
4171
+ this.$$set({ endpoint: t }), H();
4144
4172
  }
4145
4173
  get datasource() {
4146
4174
  return this.$$.ctx[1];
4147
4175
  }
4148
4176
  set datasource(t) {
4149
- this.$$set({ datasource: t }), x();
4177
+ this.$$set({ datasource: t }), H();
4150
4178
  }
4151
4179
  get currency() {
4152
4180
  return this.$$.ctx[2];
4153
4181
  }
4154
4182
  set currency(t) {
4155
- this.$$set({ currency: t }), x();
4183
+ this.$$set({ currency: t }), H();
4156
4184
  }
4157
4185
  get lang() {
4158
4186
  return this.$$.ctx[3];
4159
4187
  }
4160
4188
  set lang(t) {
4161
- this.$$set({ lang: t }), x();
4189
+ this.$$set({ lang: t }), H();
4162
4190
  }
4163
4191
  get session() {
4164
4192
  return this.$$.ctx[4];
4165
4193
  }
4166
4194
  set session(t) {
4167
- this.$$set({ session: t }), x();
4195
+ this.$$set({ session: t }), H();
4168
4196
  }
4169
4197
  get userid() {
4170
4198
  return this.$$.ctx[5];
4171
4199
  }
4172
4200
  set userid(t) {
4173
- this.$$set({ userid: t }), x();
4201
+ this.$$set({ userid: t }), H();
4174
4202
  }
4175
4203
  get clientstyling() {
4176
4204
  return this.$$.ctx[6];
4177
4205
  }
4178
4206
  set clientstyling(t) {
4179
- this.$$set({ clientstyling: t }), x();
4207
+ this.$$set({ clientstyling: t }), H();
4180
4208
  }
4181
4209
  get clientstylingurl() {
4182
4210
  return this.$$.ctx[7];
4183
4211
  }
4184
4212
  set clientstylingurl(t) {
4185
- this.$$set({ clientstylingurl: t }), x();
4213
+ this.$$set({ clientstylingurl: t }), H();
4186
4214
  }
4187
4215
  get livecasino() {
4188
4216
  return this.$$.ctx[8];
4189
4217
  }
4190
4218
  set livecasino(t) {
4191
- this.$$set({ livecasino: t }), x();
4219
+ this.$$set({ livecasino: t }), H();
4192
4220
  }
4193
4221
  get integratedgameframemobile() {
4194
4222
  return this.$$.ctx[9];
4195
4223
  }
4196
4224
  set integratedgameframemobile(t) {
4197
- this.$$set({ integratedgameframemobile: t }), x();
4225
+ this.$$set({ integratedgameframemobile: t }), H();
4198
4226
  }
4199
4227
  get integratedgameframedesktop() {
4200
4228
  return this.$$.ctx[10];
4201
4229
  }
4202
4230
  set integratedgameframedesktop(t) {
4203
- this.$$set({ integratedgameframedesktop: t }), x();
4231
+ this.$$set({ integratedgameframedesktop: t }), H();
4204
4232
  }
4205
4233
  get showgamename() {
4206
4234
  return this.$$.ctx[11];
4207
4235
  }
4208
4236
  set showgamename(t) {
4209
- this.$$set({ showgamename: t }), x();
4237
+ this.$$set({ showgamename: t }), H();
4210
4238
  }
4211
4239
  get gamepagemodalurl() {
4212
4240
  return this.$$.ctx[12];
4213
4241
  }
4214
4242
  set gamepagemodalurl(t) {
4215
- this.$$set({ gamepagemodalurl: t }), x();
4243
+ this.$$set({ gamepagemodalurl: t }), H();
4216
4244
  }
4217
4245
  get visiblegames() {
4218
4246
  return this.$$.ctx[13];
4219
4247
  }
4220
4248
  set visiblegames(t) {
4221
- this.$$set({ visiblegames: t }), x();
4249
+ this.$$set({ visiblegames: t }), H();
4222
4250
  }
4223
4251
  get favorites() {
4224
4252
  return this.$$.ctx[14];
4225
4253
  }
4226
4254
  set favorites(t) {
4227
- this.$$set({ favorites: t }), x();
4255
+ this.$$set({ favorites: t }), H();
4228
4256
  }
4229
4257
  get casinomygames() {
4230
4258
  return this.$$.ctx[15];
4231
4259
  }
4232
4260
  set casinomygames(t) {
4233
- this.$$set({ casinomygames: t }), x();
4261
+ this.$$set({ casinomygames: t }), H();
4234
4262
  }
4235
4263
  get fetchviaevent() {
4236
4264
  return this.$$.ctx[16];
4237
4265
  }
4238
4266
  set fetchviaevent(t) {
4239
- this.$$set({ fetchviaevent: t }), x();
4267
+ this.$$set({ fetchviaevent: t }), H();
4240
4268
  }
4241
4269
  }
4242
- ar(Ut, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {} }, [], [], !0);
4243
- const Ei = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4270
+ un(Gt, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {} }, [], [], !0);
4271
+ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4244
4272
  __proto__: null,
4245
- default: Ut
4273
+ default: Gt
4246
4274
  }, Symbol.toStringTag, { value: "Module" }));
4247
4275
  export {
4248
- L as $,
4249
- K as A,
4250
- hi as B,
4251
- yi as C,
4276
+ R as $,
4277
+ z as A,
4278
+ li as B,
4279
+ _i as C,
4252
4280
  ri as D,
4253
- fi as E,
4254
- ai as F,
4255
- li as G,
4256
- ci as H,
4257
- gi as I,
4258
- g as J,
4259
- Ei as K,
4260
- or as S,
4261
- bi as _,
4262
- pe as a,
4263
- pi as b,
4264
- he as c,
4265
- X as d,
4266
- Hn as e,
4267
- x as f,
4268
- ar as g,
4269
- Xt as h,
4270
- sr as i,
4271
- Q as j,
4272
- Re as k,
4273
- ue as l,
4274
- ni as m,
4275
- P as n,
4276
- mi as o,
4277
- He as p,
4278
- di as q,
4279
- Zt as r,
4280
- ut as s,
4281
- si as t,
4282
- ft as u,
4283
- $e as v,
4284
- lt as w,
4285
- oi as x,
4286
- ui as y,
4287
- ii as z
4281
+ ci as E,
4282
+ oi as F,
4283
+ fi as G,
4284
+ mi as H,
4285
+ di as I,
4286
+ yi as J,
4287
+ g as K,
4288
+ pi as L,
4289
+ xi as M,
4290
+ hn as S,
4291
+ Ei as _,
4292
+ ye as a,
4293
+ vi as b,
4294
+ fe as c,
4295
+ Z as d,
4296
+ Tr as e,
4297
+ H as f,
4298
+ un as g,
4299
+ Wt as h,
4300
+ on as i,
4301
+ Y as j,
4302
+ $e as k,
4303
+ le as l,
4304
+ ii as m,
4305
+ L as n,
4306
+ gi as o,
4307
+ Te as p,
4308
+ bi as q,
4309
+ Jt as r,
4310
+ ht as s,
4311
+ ai as t,
4312
+ ct as u,
4313
+ Ue as v,
4314
+ ft as w,
4315
+ ui as x,
4316
+ hi as y,
4317
+ si as z
4288
4318
  };