@everymatrix/casino-games-category-section-nd 1.54.0 → 1.54.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,79 +1,50 @@
1
- var Dr = Object.defineProperty, $r = Object.defineProperties;
2
- var Ur = Object.getOwnPropertyDescriptors;
3
- var xt = Object.getOwnPropertySymbols;
4
- var Gr = Object.prototype.hasOwnProperty, kr = Object.prototype.propertyIsEnumerable;
5
- var We = (e, t, r) => t in e ? Dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
6
- for (var r in t || (t = {}))
7
- Gr.call(t, r) && We(e, r, t[r]);
8
- if (xt)
9
- for (var r of xt(t))
10
- kr.call(t, r) && We(e, r, t[r]);
11
- return e;
12
- }, wt = (e, t) => $r(e, Ur(t));
13
- var R = (e, t, r) => We(e, typeof t != "symbol" ? t + "" : t, r);
14
- var St = (e, t, r) => new Promise((n, i) => {
15
- var o = (u) => {
16
- try {
17
- a(r.next(u));
18
- } catch (l) {
19
- i(l);
20
- }
21
- }, s = (u) => {
22
- try {
23
- a(r.throw(u));
24
- } catch (l) {
25
- i(l);
26
- }
27
- }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
28
- a((r = r.apply(e, t)).next());
29
- });
30
- function k() {
1
+ function G() {
31
2
  }
32
- function er(e) {
3
+ function zt(e) {
33
4
  return e();
34
5
  }
35
- function Tt() {
6
+ function yt() {
36
7
  return /* @__PURE__ */ Object.create(null);
37
8
  }
38
- function K(e) {
39
- e.forEach(er);
9
+ function Y(e) {
10
+ e.forEach(zt);
40
11
  }
41
- function bt(e) {
12
+ function pt(e) {
42
13
  return typeof e == "function";
43
14
  }
44
- function tr(e, t) {
15
+ function Zt(e, t) {
45
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
17
  }
47
- let Be;
48
- function Ht(e, t) {
49
- return e === t ? !0 : (Be || (Be = document.createElement("a")), Be.href = t, e === Be.href);
18
+ let Fe;
19
+ function vt(e, t) {
20
+ return e === t ? !0 : (Fe || (Fe = document.createElement("a")), Fe.href = t, e === Fe.href);
50
21
  }
51
- function jr(e) {
22
+ function Br(e) {
52
23
  return Object.keys(e).length === 0;
53
24
  }
54
- function rr(e, ...t) {
25
+ function Jt(e, ...t) {
55
26
  if (e == null) {
56
27
  for (const n of t)
57
28
  n(void 0);
58
- return k;
29
+ return G;
59
30
  }
60
31
  const r = e.subscribe(...t);
61
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
33
  }
63
- function Vr(e, t, r) {
64
- e.$$.on_destroy.push(rr(t, r));
34
+ function Or(e, t, r) {
35
+ e.$$.on_destroy.push(Jt(t, r));
65
36
  }
66
37
  function v(e, t) {
67
38
  e.appendChild(t);
68
39
  }
69
- function Xr(e, t, r) {
70
- const n = Wr(e);
40
+ function Ir(e, t, r) {
41
+ const n = Lr(e);
71
42
  if (!n.getElementById(t)) {
72
43
  const i = F("style");
73
- i.id = t, i.textContent = r, zr(n, i);
44
+ i.id = t, i.textContent = r, Nr(n, i);
74
45
  }
75
46
  }
76
- function Wr(e) {
47
+ function Lr(e) {
77
48
  if (!e) return document;
78
49
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
79
50
  return t && /** @type {ShadowRoot} */
@@ -82,79 +53,79 @@ function Wr(e) {
82
53
  t
83
54
  ) : e.ownerDocument;
84
55
  }
85
- function zr(e, t) {
56
+ function Nr(e, t) {
86
57
  return v(
87
58
  /** @type {Document} */
88
59
  e.head || e,
89
60
  t
90
61
  ), t.sheet;
91
62
  }
92
- function W(e, t, r) {
63
+ function X(e, t, r) {
93
64
  e.insertBefore(t, r || null);
94
65
  }
95
- function j(e) {
66
+ function k(e) {
96
67
  e.parentNode && e.parentNode.removeChild(e);
97
68
  }
98
- function Zr(e, t) {
69
+ function Mr(e, t) {
99
70
  for (let r = 0; r < e.length; r += 1)
100
71
  e[r] && e[r].d(t);
101
72
  }
102
73
  function F(e) {
103
74
  return document.createElement(e);
104
75
  }
105
- function we(e) {
76
+ function Ee(e) {
106
77
  return document.createElementNS("http://www.w3.org/2000/svg", e);
107
78
  }
108
- function G(e) {
79
+ function U(e) {
109
80
  return document.createTextNode(e);
110
81
  }
111
- function X() {
112
- return G(" ");
82
+ function V() {
83
+ return U(" ");
113
84
  }
114
- function Ho() {
115
- return G("");
85
+ function fo() {
86
+ return U("");
116
87
  }
117
- function De(e, t, r, n) {
88
+ function Re(e, t, r, n) {
118
89
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
119
90
  }
120
91
  function g(e, t, r) {
121
92
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
122
93
  }
123
- function Po(e, t, r) {
94
+ function po(e, t, r) {
124
95
  const n = t.toLowerCase();
125
96
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : g(e, t, r);
126
97
  }
127
- function Jr(e) {
98
+ function Rr(e) {
128
99
  return Array.from(e.childNodes);
129
100
  }
130
- function Y(e, t) {
101
+ function q(e, t) {
131
102
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
132
103
  t);
133
104
  }
134
- function Pt(e, t) {
135
- e.value = t == null ? "" : t;
105
+ function _t(e, t) {
106
+ e.value = t ?? "";
136
107
  }
137
- function Ao(e, t, r, n) {
108
+ function mo(e, t, r, n) {
138
109
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
139
110
  }
140
- function Co(e, t, r) {
111
+ function bo(e, t, r) {
141
112
  e.classList.toggle(t, !!r);
142
113
  }
143
- class Fo {
114
+ class go {
115
+ /**
116
+ * @private
117
+ * @default false
118
+ */
119
+ is_svg = !1;
120
+ /** parent for creating node */
121
+ e = void 0;
122
+ /** html tag nodes */
123
+ n = void 0;
124
+ /** target */
125
+ t = void 0;
126
+ /** anchor */
127
+ a = void 0;
144
128
  constructor(t = !1) {
145
- /**
146
- * @private
147
- * @default false
148
- */
149
- R(this, "is_svg", !1);
150
- /** parent for creating node */
151
- R(this, "e");
152
- /** html tag nodes */
153
- R(this, "n");
154
- /** target */
155
- R(this, "t");
156
- /** anchor */
157
- R(this, "a");
158
129
  this.is_svg = t, this.e = this.n = null;
159
130
  }
160
131
  /**
@@ -171,7 +142,7 @@ class Fo {
171
142
  * @returns {void}
172
143
  */
173
144
  m(t, r, n = null) {
174
- this.e || (this.is_svg ? this.e = we(
145
+ this.e || (this.is_svg ? this.e = Ee(
175
146
  /** @type {keyof SVGElementTagNameMap} */
176
147
  r.nodeName
177
148
  ) : this.e = F(
@@ -195,7 +166,7 @@ class Fo {
195
166
  * @returns {void} */
196
167
  i(t) {
197
168
  for (let r = 0; r < this.n.length; r += 1)
198
- W(this.t, this.n[r], t);
169
+ X(this.t, this.n[r], t);
199
170
  }
200
171
  /**
201
172
  * @param {string} html
@@ -207,10 +178,10 @@ class Fo {
207
178
  /**
208
179
  * @returns {void} */
209
180
  d() {
210
- this.n.forEach(j);
181
+ this.n.forEach(k);
211
182
  }
212
183
  }
213
- function Qr(e) {
184
+ function Dr(e) {
214
185
  const t = {};
215
186
  return e.childNodes.forEach(
216
187
  /** @param {Element} node */
@@ -219,78 +190,78 @@ function Qr(e) {
219
190
  }
220
191
  ), t;
221
192
  }
222
- let Te;
223
- function Se(e) {
224
- Te = e;
193
+ let Se;
194
+ function we(e) {
195
+ Se = e;
225
196
  }
226
- function qr() {
227
- if (!Te) throw new Error("Function called outside component initialization");
228
- return Te;
197
+ function $r() {
198
+ if (!Se) throw new Error("Function called outside component initialization");
199
+ return Se;
229
200
  }
230
- function Yr(e) {
231
- qr().$$.on_mount.push(e);
201
+ function Ur(e) {
202
+ $r().$$.on_mount.push(e);
232
203
  }
233
- const fe = [], et = [];
234
- let de = [];
235
- const At = [], nr = /* @__PURE__ */ Promise.resolve();
236
- let tt = !1;
237
- function ir() {
238
- tt || (tt = !0, nr.then(U));
204
+ const ce = [], Ye = [];
205
+ let fe = [];
206
+ const xt = [], Qt = /* @__PURE__ */ Promise.resolve();
207
+ let Ke = !1;
208
+ function qt() {
209
+ Ke || (Ke = !0, Qt.then($));
239
210
  }
240
- function Bo() {
241
- return ir(), nr;
211
+ function yo() {
212
+ return qt(), Qt;
242
213
  }
243
- function rt(e) {
244
- de.push(e);
214
+ function et(e) {
215
+ fe.push(e);
245
216
  }
246
- const ze = /* @__PURE__ */ new Set();
247
- let he = 0;
248
- function U() {
249
- if (he !== 0)
217
+ const Xe = /* @__PURE__ */ new Set();
218
+ let ue = 0;
219
+ function $() {
220
+ if (ue !== 0)
250
221
  return;
251
- const e = Te;
222
+ const e = Se;
252
223
  do {
253
224
  try {
254
- for (; he < fe.length; ) {
255
- const t = fe[he];
256
- he++, Se(t), Kr(t.$$);
225
+ for (; ue < ce.length; ) {
226
+ const t = ce[ue];
227
+ ue++, we(t), Gr(t.$$);
257
228
  }
258
229
  } catch (t) {
259
- throw fe.length = 0, he = 0, t;
230
+ throw ce.length = 0, ue = 0, t;
260
231
  }
261
- for (Se(null), fe.length = 0, he = 0; et.length; ) et.pop()();
262
- for (let t = 0; t < de.length; t += 1) {
263
- const r = de[t];
264
- ze.has(r) || (ze.add(r), r());
232
+ for (we(null), ce.length = 0, ue = 0; Ye.length; ) Ye.pop()();
233
+ for (let t = 0; t < fe.length; t += 1) {
234
+ const r = fe[t];
235
+ Xe.has(r) || (Xe.add(r), r());
265
236
  }
266
- de.length = 0;
267
- } while (fe.length);
268
- for (; At.length; )
269
- At.pop()();
270
- tt = !1, ze.clear(), Se(e);
237
+ fe.length = 0;
238
+ } while (ce.length);
239
+ for (; xt.length; )
240
+ xt.pop()();
241
+ Ke = !1, Xe.clear(), we(e);
271
242
  }
272
- function Kr(e) {
243
+ function Gr(e) {
273
244
  if (e.fragment !== null) {
274
- e.update(), K(e.before_update);
245
+ e.update(), Y(e.before_update);
275
246
  const t = e.dirty;
276
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(rt);
247
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(et);
277
248
  }
278
249
  }
279
- function en(e) {
250
+ function kr(e) {
280
251
  const t = [], r = [];
281
- de.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), de = t;
252
+ fe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), fe = t;
282
253
  }
283
- const tn = /* @__PURE__ */ new Set();
284
- function or(e, t) {
285
- e && e.i && (tn.delete(e), e.i(t));
254
+ const jr = /* @__PURE__ */ new Set();
255
+ function Yt(e, t) {
256
+ e && e.i && (jr.delete(e), e.i(t));
286
257
  }
287
- function Ct(e) {
288
- return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
258
+ function Et(e) {
259
+ return e?.length !== void 0 ? e : Array.from(e);
289
260
  }
290
- function Oo(e, t) {
261
+ function vo(e, t) {
291
262
  e.d(1), t.delete(e.key);
292
263
  }
293
- function Io(e, t, r, n, i, o, s, a, u, l, h, d) {
264
+ function _o(e, t, r, n, i, o, s, a, h, l, u, d) {
294
265
  let c = e.length, m = o.length, b = c;
295
266
  const _ = {};
296
267
  for (; b--; ) _[e[b].key] = b;
@@ -302,196 +273,192 @@ function Io(e, t, r, n, i, o, s, a, u, l, h, d) {
302
273
  }
303
274
  const N = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
304
275
  function O(A) {
305
- or(A, 1), A.m(a, h), s.set(A.key, A), h = A.first, m--;
276
+ Yt(A, 1), A.m(a, u), s.set(A.key, A), u = A.first, m--;
306
277
  }
307
278
  for (; c && m; ) {
308
- const A = T[m - 1], I = e[c - 1], M = A.key, z = I.key;
309
- A === I ? (h = A.first, c--, m--) : y.has(z) ? !s.has(M) || N.has(M) ? O(A) : L.has(z) ? c-- : H.get(M) > H.get(z) ? (L.add(M), O(A)) : (N.add(z), c--) : (u(I, s), c--);
279
+ const A = T[m - 1], I = e[c - 1], M = A.key, W = I.key;
280
+ A === I ? (u = A.first, c--, m--) : y.has(W) ? !s.has(M) || N.has(M) ? O(A) : L.has(W) ? c-- : H.get(M) > H.get(W) ? (L.add(M), O(A)) : (N.add(W), c--) : (h(I, s), c--);
310
281
  }
311
282
  for (; c--; ) {
312
283
  const A = e[c];
313
- y.has(A.key) || u(A, s);
284
+ y.has(A.key) || h(A, s);
314
285
  }
315
286
  for (; m; ) O(T[m - 1]);
316
- return K(E), T;
287
+ return Y(E), T;
317
288
  }
318
- function rn(e, t, r) {
289
+ function Vr(e, t, r) {
319
290
  const { fragment: n, after_update: i } = e.$$;
320
- n && n.m(t, r), rt(() => {
321
- const o = e.$$.on_mount.map(er).filter(bt);
322
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
323
- }), i.forEach(rt);
291
+ n && n.m(t, r), et(() => {
292
+ const o = e.$$.on_mount.map(zt).filter(pt);
293
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Y(o), e.$$.on_mount = [];
294
+ }), i.forEach(et);
324
295
  }
325
- function nn(e, t) {
296
+ function Xr(e, t) {
326
297
  const r = e.$$;
327
- r.fragment !== null && (en(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
298
+ r.fragment !== null && (kr(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
328
299
  }
329
- function on(e, t) {
330
- e.$$.dirty[0] === -1 && (fe.push(e), ir(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
300
+ function Wr(e, t) {
301
+ e.$$.dirty[0] === -1 && (ce.push(e), qt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
331
302
  }
332
- function sn(e, t, r, n, i, o, s = null, a = [-1]) {
333
- const u = Te;
334
- Se(e);
303
+ function zr(e, t, r, n, i, o, s = null, a = [-1]) {
304
+ const h = Se;
305
+ we(e);
335
306
  const l = e.$$ = {
336
307
  fragment: null,
337
308
  ctx: [],
338
309
  // state
339
310
  props: o,
340
- update: k,
311
+ update: G,
341
312
  not_equal: i,
342
- bound: Tt(),
313
+ bound: yt(),
343
314
  // lifecycle
344
315
  on_mount: [],
345
316
  on_destroy: [],
346
317
  on_disconnect: [],
347
318
  before_update: [],
348
319
  after_update: [],
349
- context: new Map(t.context || (u ? u.$$.context : [])),
320
+ context: new Map(t.context || (h ? h.$$.context : [])),
350
321
  // everything else
351
- callbacks: Tt(),
322
+ callbacks: yt(),
352
323
  dirty: a,
353
324
  skip_bound: !1,
354
- root: t.target || u.$$.root
325
+ root: t.target || h.$$.root
355
326
  };
356
327
  s && s(l.root);
357
- let h = !1;
328
+ let u = !1;
358
329
  if (l.ctx = r ? r(e, t.props || {}, (d, c, ...m) => {
359
330
  const b = m.length ? m[0] : c;
360
- return l.ctx && i(l.ctx[d], l.ctx[d] = b) && (!l.skip_bound && l.bound[d] && l.bound[d](b), h && on(e, d)), c;
361
- }) : [], l.update(), h = !0, K(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
331
+ return l.ctx && i(l.ctx[d], l.ctx[d] = b) && (!l.skip_bound && l.bound[d] && l.bound[d](b), u && Wr(e, d)), c;
332
+ }) : [], l.update(), u = !0, Y(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
362
333
  if (t.hydrate) {
363
- const d = Jr(t.target);
364
- l.fragment && l.fragment.l(d), d.forEach(j);
334
+ const d = Rr(t.target);
335
+ l.fragment && l.fragment.l(d), d.forEach(k);
365
336
  } else
366
337
  l.fragment && l.fragment.c();
367
- t.intro && or(e.$$.fragment), rn(e, t.target, t.anchor), U();
338
+ t.intro && Yt(e.$$.fragment), Vr(e, t.target, t.anchor), $();
368
339
  }
369
- Se(u);
370
- }
371
- let sr;
372
- typeof HTMLElement == "function" && (sr = class extends HTMLElement {
373
- constructor(t, r, n) {
374
- super();
375
- /** The Svelte component constructor */
376
- R(this, "$$ctor");
377
- /** Slots */
378
- R(this, "$$s");
379
- /** The Svelte component instance */
380
- R(this, "$$c");
381
- /** Whether or not the custom element is connected */
382
- R(this, "$$cn", !1);
383
- /** Component props data */
384
- R(this, "$$d", {});
385
- /** `true` if currently in the process of reflecting component props back to attributes */
386
- R(this, "$$r", !1);
387
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
388
- R(this, "$$p_d", {});
389
- /** @type {Record<string, Function[]>} Event listeners */
390
- R(this, "$$l", {});
391
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
392
- R(this, "$$l_u", /* @__PURE__ */ new Map());
393
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
340
+ we(h);
341
+ }
342
+ let Kt;
343
+ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
344
+ /** The Svelte component constructor */
345
+ $$ctor;
346
+ /** Slots */
347
+ $$s;
348
+ /** The Svelte component instance */
349
+ $$c;
350
+ /** Whether or not the custom element is connected */
351
+ $$cn = !1;
352
+ /** Component props data */
353
+ $$d = {};
354
+ /** `true` if currently in the process of reflecting component props back to attributes */
355
+ $$r = !1;
356
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
357
+ $$p_d = {};
358
+ /** @type {Record<string, Function[]>} Event listeners */
359
+ $$l = {};
360
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
361
+ $$l_u = /* @__PURE__ */ new Map();
362
+ constructor(e, t, r) {
363
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
394
364
  }
395
- addEventListener(t, r, n) {
396
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
397
- const i = this.$$c.$on(t, r);
398
- this.$$l_u.set(r, i);
365
+ addEventListener(e, t, r) {
366
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
367
+ const n = this.$$c.$on(e, t);
368
+ this.$$l_u.set(t, n);
399
369
  }
400
- super.addEventListener(t, r, n);
370
+ super.addEventListener(e, t, r);
401
371
  }
402
- removeEventListener(t, r, n) {
403
- if (super.removeEventListener(t, r, n), this.$$c) {
404
- const i = this.$$l_u.get(r);
405
- i && (i(), this.$$l_u.delete(r));
372
+ removeEventListener(e, t, r) {
373
+ if (super.removeEventListener(e, t, r), this.$$c) {
374
+ const n = this.$$l_u.get(t);
375
+ n && (n(), this.$$l_u.delete(t));
406
376
  }
407
377
  }
408
- connectedCallback() {
409
- return St(this, null, function* () {
410
- if (this.$$cn = !0, !this.$$c) {
411
- let t = function(o) {
412
- return () => {
413
- let s;
414
- return {
415
- c: function() {
416
- s = F("slot"), o !== "default" && g(s, "name", o);
417
- },
418
- /**
419
- * @param {HTMLElement} target
420
- * @param {HTMLElement} [anchor]
421
- */
422
- m: function(l, h) {
423
- W(l, s, h);
424
- },
425
- d: function(l) {
426
- l && j(s);
427
- }
428
- };
378
+ async connectedCallback() {
379
+ if (this.$$cn = !0, !this.$$c) {
380
+ let e = function(i) {
381
+ return () => {
382
+ let o;
383
+ return {
384
+ c: function() {
385
+ o = F("slot"), i !== "default" && g(o, "name", i);
386
+ },
387
+ /**
388
+ * @param {HTMLElement} target
389
+ * @param {HTMLElement} [anchor]
390
+ */
391
+ m: function(h, l) {
392
+ X(h, o, l);
393
+ },
394
+ d: function(h) {
395
+ h && k(o);
396
+ }
429
397
  };
430
398
  };
431
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
432
- return;
433
- const r = {}, n = Qr(this);
434
- for (const o of this.$$s)
435
- o in n && (r[o] = [t(o)]);
436
- for (const o of this.attributes) {
437
- const s = this.$$g_p(o.name);
438
- s in this.$$d || (this.$$d[s] = Le(s, o.value, this.$$p_d, "toProp"));
399
+ };
400
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
401
+ return;
402
+ const t = {}, r = Dr(this);
403
+ for (const i of this.$$s)
404
+ i in r && (t[i] = [e(i)]);
405
+ for (const i of this.attributes) {
406
+ const o = this.$$g_p(i.name);
407
+ o in this.$$d || (this.$$d[o] = Ie(o, i.value, this.$$p_d, "toProp"));
408
+ }
409
+ for (const i in this.$$p_d)
410
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
411
+ this.$$c = new this.$$ctor({
412
+ target: this.shadowRoot || this,
413
+ props: {
414
+ ...this.$$d,
415
+ $$slots: t,
416
+ $$scope: {
417
+ ctx: []
418
+ }
439
419
  }
440
- for (const o in this.$$p_d)
441
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
442
- this.$$c = new this.$$ctor({
443
- target: this.shadowRoot || this,
444
- props: wt(Et({}, this.$$d), {
445
- $$slots: r,
446
- $$scope: {
447
- ctx: []
448
- }
449
- })
450
- });
451
- const i = () => {
452
- this.$$r = !0;
453
- for (const o in this.$$p_d)
454
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
455
- const s = Le(
456
- o,
457
- this.$$d[o],
458
- this.$$p_d,
459
- "toAttribute"
460
- );
461
- s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
462
- }
463
- this.$$r = !1;
464
- };
465
- this.$$c.$$.after_update.push(i), i();
466
- for (const o in this.$$l)
467
- for (const s of this.$$l[o]) {
468
- const a = this.$$c.$on(o, s);
469
- this.$$l_u.set(s, a);
420
+ });
421
+ const n = () => {
422
+ this.$$r = !0;
423
+ for (const i in this.$$p_d)
424
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
425
+ const o = Ie(
426
+ i,
427
+ this.$$d[i],
428
+ this.$$p_d,
429
+ "toAttribute"
430
+ );
431
+ o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
470
432
  }
471
- this.$$l = {};
472
- }
473
- });
433
+ this.$$r = !1;
434
+ };
435
+ this.$$c.$$.after_update.push(n), n();
436
+ for (const i in this.$$l)
437
+ for (const o of this.$$l[i]) {
438
+ const s = this.$$c.$on(i, o);
439
+ this.$$l_u.set(o, s);
440
+ }
441
+ this.$$l = {};
442
+ }
474
443
  }
475
444
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
476
445
  // and setting attributes through setAttribute etc, this is helpful
477
- attributeChangedCallback(t, r, n) {
478
- var i;
479
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Le(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
446
+ attributeChangedCallback(e, t, r) {
447
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ie(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
480
448
  }
481
449
  disconnectedCallback() {
482
450
  this.$$cn = !1, Promise.resolve().then(() => {
483
451
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
484
452
  });
485
453
  }
486
- $$g_p(t) {
454
+ $$g_p(e) {
487
455
  return Object.keys(this.$$p_d).find(
488
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
489
- ) || t;
456
+ (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
457
+ ) || e;
490
458
  }
491
459
  });
492
- function Le(e, t, r, n) {
493
- var o;
494
- const i = (o = r[e]) == null ? void 0 : o.type;
460
+ function Ie(e, t, r, n) {
461
+ const i = r[e]?.type;
495
462
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
496
463
  return t;
497
464
  if (n === "toAttribute")
@@ -502,7 +469,7 @@ function Le(e, t, r, n) {
502
469
  case "Boolean":
503
470
  return t ? "" : null;
504
471
  case "Number":
505
- return t == null ? null : t;
472
+ return t ?? null;
506
473
  default:
507
474
  return t;
508
475
  }
@@ -519,8 +486,8 @@ function Le(e, t, r, n) {
519
486
  return t;
520
487
  }
521
488
  }
522
- function an(e, t, r, n, i, o) {
523
- let s = class extends sr {
489
+ function Zr(e, t, r, n, i, o) {
490
+ let s = class extends Kt {
524
491
  constructor() {
525
492
  super(e, r, i), this.$$p_d = t;
526
493
  }
@@ -535,43 +502,39 @@ function an(e, t, r, n, i, o) {
535
502
  get() {
536
503
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
537
504
  },
538
- set(u) {
539
- var l;
540
- u = Le(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
505
+ set(h) {
506
+ h = Ie(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
541
507
  }
542
508
  });
543
509
  }), n.forEach((a) => {
544
510
  Object.defineProperty(s.prototype, a, {
545
511
  get() {
546
- var u;
547
- return (u = this.$$c) == null ? void 0 : u[a];
512
+ return this.$$c?.[a];
548
513
  }
549
514
  });
550
515
  }), e.element = /** @type {any} */
551
516
  s, s;
552
517
  }
553
- class ln {
554
- constructor() {
555
- /**
556
- * ### PRIVATE API
557
- *
558
- * Do not use, may change at any time
559
- *
560
- * @type {any}
561
- */
562
- R(this, "$$");
563
- /**
564
- * ### PRIVATE API
565
- *
566
- * Do not use, may change at any time
567
- *
568
- * @type {any}
569
- */
570
- R(this, "$$set");
571
- }
518
+ class Jr {
519
+ /**
520
+ * ### PRIVATE API
521
+ *
522
+ * Do not use, may change at any time
523
+ *
524
+ * @type {any}
525
+ */
526
+ $$ = void 0;
527
+ /**
528
+ * ### PRIVATE API
529
+ *
530
+ * Do not use, may change at any time
531
+ *
532
+ * @type {any}
533
+ */
534
+ $$set = void 0;
572
535
  /** @returns {void} */
573
536
  $destroy() {
574
- nn(this, 1), this.$destroy = k;
537
+ Xr(this, 1), this.$destroy = G;
575
538
  }
576
539
  /**
577
540
  * @template {Extract<keyof Events, string>} K
@@ -580,8 +543,8 @@ class ln {
580
543
  * @returns {() => void}
581
544
  */
582
545
  $on(t, r) {
583
- if (!bt(r))
584
- return k;
546
+ if (!pt(r))
547
+ return G;
585
548
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
586
549
  return n.push(r), () => {
587
550
  const i = n.indexOf(r);
@@ -593,22 +556,22 @@ class ln {
593
556
  * @returns {void}
594
557
  */
595
558
  $set(t) {
596
- this.$$set && !jr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
559
+ this.$$set && !Br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
597
560
  }
598
561
  }
599
- const un = "4";
600
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(un);
601
- var nt = function(e, t) {
602
- return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
562
+ const Qr = "4";
563
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Qr);
564
+ var tt = function(e, t) {
565
+ return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
603
566
  r.__proto__ = n;
604
567
  } || function(r, n) {
605
568
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
606
- }, nt(e, t);
569
+ }, tt(e, t);
607
570
  };
608
- function J(e, t) {
571
+ function Z(e, t) {
609
572
  if (typeof t != "function" && t !== null)
610
573
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
611
- nt(e, t);
574
+ tt(e, t);
612
575
  function r() {
613
576
  this.constructor = e;
614
577
  }
@@ -623,7 +586,7 @@ var S = function() {
623
586
  return t;
624
587
  }, S.apply(this, arguments);
625
588
  };
626
- function hn(e, t) {
589
+ function qr(e, t) {
627
590
  var r = {};
628
591
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
629
592
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -631,7 +594,7 @@ function hn(e, t) {
631
594
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
632
595
  return r;
633
596
  }
634
- function it(e) {
597
+ function rt(e) {
635
598
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
636
599
  if (r) return r.call(e);
637
600
  if (e && typeof e.length == "number") return {
@@ -641,7 +604,7 @@ function it(e) {
641
604
  };
642
605
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
643
606
  }
644
- function ot(e, t) {
607
+ function nt(e, t) {
645
608
  var r = typeof Symbol == "function" && e[Symbol.iterator];
646
609
  if (!r) return e;
647
610
  var n = r.call(e), i, o = [], s;
@@ -658,21 +621,21 @@ function ot(e, t) {
658
621
  }
659
622
  return o;
660
623
  }
661
- function pe(e, t, r) {
624
+ function de(e, t, r) {
662
625
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
663
626
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
664
627
  return e.concat(o || Array.prototype.slice.call(t));
665
628
  }
666
- function Z(e) {
629
+ function z(e) {
667
630
  return typeof e == "function";
668
631
  }
669
- function ar(e) {
632
+ function er(e) {
670
633
  var t = function(n) {
671
634
  Error.call(n), n.stack = new Error().stack;
672
635
  }, r = e(t);
673
636
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
674
637
  }
675
- var Ze = ar(function(e) {
638
+ var We = er(function(e) {
676
639
  return function(r) {
677
640
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
678
641
  ` + r.map(function(n, i) {
@@ -681,13 +644,13 @@ var Ze = ar(function(e) {
681
644
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
682
645
  };
683
646
  });
684
- function st(e, t) {
647
+ function it(e, t) {
685
648
  if (e) {
686
649
  var r = e.indexOf(t);
687
650
  0 <= r && e.splice(r, 1);
688
651
  }
689
652
  }
690
- var Ge = function() {
653
+ var Ue = function() {
691
654
  function e(t) {
692
655
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
693
656
  }
@@ -699,38 +662,38 @@ var Ge = function() {
699
662
  if (s)
700
663
  if (this._parentage = null, Array.isArray(s))
701
664
  try {
702
- for (var a = it(s), u = a.next(); !u.done; u = a.next()) {
703
- var l = u.value;
665
+ for (var a = rt(s), h = a.next(); !h.done; h = a.next()) {
666
+ var l = h.value;
704
667
  l.remove(this);
705
668
  }
706
669
  } catch (_) {
707
670
  t = { error: _ };
708
671
  } finally {
709
672
  try {
710
- u && !u.done && (r = a.return) && r.call(a);
673
+ h && !h.done && (r = a.return) && r.call(a);
711
674
  } finally {
712
675
  if (t) throw t.error;
713
676
  }
714
677
  }
715
678
  else
716
679
  s.remove(this);
717
- var h = this.initialTeardown;
718
- if (Z(h))
680
+ var u = this.initialTeardown;
681
+ if (z(u))
719
682
  try {
720
- h();
683
+ u();
721
684
  } catch (_) {
722
- o = _ instanceof Ze ? _.errors : [_];
685
+ o = _ instanceof We ? _.errors : [_];
723
686
  }
724
687
  var d = this._finalizers;
725
688
  if (d) {
726
689
  this._finalizers = null;
727
690
  try {
728
- for (var c = it(d), m = c.next(); !m.done; m = c.next()) {
691
+ for (var c = rt(d), m = c.next(); !m.done; m = c.next()) {
729
692
  var b = m.value;
730
693
  try {
731
- Ft(b);
694
+ wt(b);
732
695
  } catch (_) {
733
- o = o != null ? o : [], _ instanceof Ze ? o = pe(pe([], ot(o)), ot(_.errors)) : o.push(_);
696
+ o = o ?? [], _ instanceof We ? o = de(de([], nt(o)), nt(_.errors)) : o.push(_);
734
697
  }
735
698
  }
736
699
  } catch (_) {
@@ -744,13 +707,13 @@ var Ge = function() {
744
707
  }
745
708
  }
746
709
  if (o)
747
- throw new Ze(o);
710
+ throw new We(o);
748
711
  }
749
712
  }, e.prototype.add = function(t) {
750
713
  var r;
751
714
  if (t && t !== this)
752
715
  if (this.closed)
753
- Ft(t);
716
+ wt(t);
754
717
  else {
755
718
  if (t instanceof e) {
756
719
  if (t.closed || t._hasParent(this))
@@ -767,56 +730,56 @@ var Ge = function() {
767
730
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
768
731
  }, e.prototype._removeParent = function(t) {
769
732
  var r = this._parentage;
770
- r === t ? this._parentage = null : Array.isArray(r) && st(r, t);
733
+ r === t ? this._parentage = null : Array.isArray(r) && it(r, t);
771
734
  }, e.prototype.remove = function(t) {
772
735
  var r = this._finalizers;
773
- r && st(r, t), t instanceof e && t._removeParent(this);
736
+ r && it(r, t), t instanceof e && t._removeParent(this);
774
737
  }, e.EMPTY = function() {
775
738
  var t = new e();
776
739
  return t.closed = !0, t;
777
740
  }(), e;
778
- }(), lr = Ge.EMPTY;
779
- function ur(e) {
780
- return e instanceof Ge || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
741
+ }(), tr = Ue.EMPTY;
742
+ function rr(e) {
743
+ return e instanceof Ue || e && "closed" in e && z(e.remove) && z(e.add) && z(e.unsubscribe);
781
744
  }
782
- function Ft(e) {
783
- Z(e) ? e() : e.unsubscribe();
745
+ function wt(e) {
746
+ z(e) ? e() : e.unsubscribe();
784
747
  }
785
- var cn = {
748
+ var Yr = {
786
749
  onUnhandledError: null,
787
750
  onStoppedNotification: null,
788
751
  Promise: void 0,
789
752
  useDeprecatedSynchronousErrorHandling: !1,
790
753
  useDeprecatedNextContext: !1
791
- }, fn = {
754
+ }, Kr = {
792
755
  setTimeout: function(e, t) {
793
756
  for (var r = [], n = 2; n < arguments.length; n++)
794
757
  r[n - 2] = arguments[n];
795
- return setTimeout.apply(void 0, pe([e, t], ot(r)));
758
+ return setTimeout.apply(void 0, de([e, t], nt(r)));
796
759
  },
797
760
  clearTimeout: function(e) {
798
761
  return clearTimeout(e);
799
762
  },
800
763
  delegate: void 0
801
764
  };
802
- function dn(e) {
803
- fn.setTimeout(function() {
765
+ function en(e) {
766
+ Kr.setTimeout(function() {
804
767
  throw e;
805
768
  });
806
769
  }
807
- function Bt() {
770
+ function St() {
808
771
  }
809
- function Ne(e) {
772
+ function Le(e) {
810
773
  e();
811
774
  }
812
- var hr = function(e) {
813
- J(t, e);
775
+ var nr = function(e) {
776
+ Z(t, e);
814
777
  function t(r) {
815
778
  var n = e.call(this) || this;
816
- return n.isStopped = !1, r ? (n.destination = r, ur(r) && r.add(n)) : n.destination = bn, n;
779
+ return n.isStopped = !1, r ? (n.destination = r, rr(r) && r.add(n)) : n.destination = nn, n;
817
780
  }
818
781
  return t.create = function(r, n, i) {
819
- return new at(r, n, i);
782
+ return new ot(r, n, i);
820
783
  }, t.prototype.next = function(r) {
821
784
  this.isStopped || this._next(r);
822
785
  }, t.prototype.error = function(r) {
@@ -840,7 +803,7 @@ var hr = function(e) {
840
803
  this.unsubscribe();
841
804
  }
842
805
  }, t;
843
- }(Ge), pn = function() {
806
+ }(Ue), tn = function() {
844
807
  function e(t) {
845
808
  this.partialObserver = t;
846
809
  }
@@ -850,7 +813,7 @@ var hr = function(e) {
850
813
  try {
851
814
  r.next(t);
852
815
  } catch (n) {
853
- Oe(n);
816
+ Be(n);
854
817
  }
855
818
  }, e.prototype.error = function(t) {
856
819
  var r = this.partialObserver;
@@ -858,56 +821,56 @@ var hr = function(e) {
858
821
  try {
859
822
  r.error(t);
860
823
  } catch (n) {
861
- Oe(n);
824
+ Be(n);
862
825
  }
863
826
  else
864
- Oe(t);
827
+ Be(t);
865
828
  }, e.prototype.complete = function() {
866
829
  var t = this.partialObserver;
867
830
  if (t.complete)
868
831
  try {
869
832
  t.complete();
870
833
  } catch (r) {
871
- Oe(r);
834
+ Be(r);
872
835
  }
873
836
  }, e;
874
- }(), at = function(e) {
875
- J(t, e);
837
+ }(), ot = function(e) {
838
+ Z(t, e);
876
839
  function t(r, n, i) {
877
840
  var o = e.call(this) || this, s;
878
- return Z(r) || !r ? s = {
879
- next: r != null ? r : void 0,
880
- error: n != null ? n : void 0,
881
- complete: i != null ? i : void 0
882
- } : s = r, o.destination = new pn(s), o;
841
+ return z(r) || !r ? s = {
842
+ next: r ?? void 0,
843
+ error: n ?? void 0,
844
+ complete: i ?? void 0
845
+ } : s = r, o.destination = new tn(s), o;
883
846
  }
884
847
  return t;
885
- }(hr);
886
- function Oe(e) {
887
- dn(e);
848
+ }(nr);
849
+ function Be(e) {
850
+ en(e);
888
851
  }
889
- function mn(e) {
852
+ function rn(e) {
890
853
  throw e;
891
854
  }
892
- var bn = {
855
+ var nn = {
893
856
  closed: !0,
894
- next: Bt,
895
- error: mn,
896
- complete: Bt
897
- }, gn = function() {
857
+ next: St,
858
+ error: rn,
859
+ complete: St
860
+ }, on = function() {
898
861
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
899
862
  }();
900
- function yn(e) {
863
+ function sn(e) {
901
864
  return e;
902
865
  }
903
- function vn(e) {
904
- return e.length === 0 ? yn : e.length === 1 ? e[0] : function(r) {
866
+ function an(e) {
867
+ return e.length === 0 ? sn : e.length === 1 ? e[0] : function(r) {
905
868
  return e.reduce(function(n, i) {
906
869
  return i(n);
907
870
  }, r);
908
871
  };
909
872
  }
910
- var Ot = function() {
873
+ var Tt = function() {
911
874
  function e(t) {
912
875
  t && (this._subscribe = t);
913
876
  }
@@ -915,10 +878,10 @@ var Ot = function() {
915
878
  var r = new e();
916
879
  return r.source = this, r.operator = t, r;
917
880
  }, e.prototype.subscribe = function(t, r, n) {
918
- var i = this, o = xn(t) ? t : new at(t, r, n);
919
- return Ne(function() {
920
- var s = i, a = s.operator, u = s.source;
921
- o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
881
+ var i = this, o = un(t) ? t : new ot(t, r, n);
882
+ return Le(function() {
883
+ var s = i, a = s.operator, h = s.source;
884
+ o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
922
885
  }), o;
923
886
  }, e.prototype._trySubscribe = function(t) {
924
887
  try {
@@ -928,13 +891,13 @@ var Ot = function() {
928
891
  }
929
892
  }, e.prototype.forEach = function(t, r) {
930
893
  var n = this;
931
- return r = It(r), new r(function(i, o) {
932
- var s = new at({
894
+ return r = Ht(r), new r(function(i, o) {
895
+ var s = new ot({
933
896
  next: function(a) {
934
897
  try {
935
898
  t(a);
936
- } catch (u) {
937
- o(u), s.unsubscribe();
899
+ } catch (h) {
900
+ o(h), s.unsubscribe();
938
901
  }
939
902
  },
940
903
  error: o,
@@ -945,15 +908,15 @@ var Ot = function() {
945
908
  }, e.prototype._subscribe = function(t) {
946
909
  var r;
947
910
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
948
- }, e.prototype[gn] = function() {
911
+ }, e.prototype[on] = function() {
949
912
  return this;
950
913
  }, e.prototype.pipe = function() {
951
914
  for (var t = [], r = 0; r < arguments.length; r++)
952
915
  t[r] = arguments[r];
953
- return vn(t)(this);
916
+ return an(t)(this);
954
917
  }, e.prototype.toPromise = function(t) {
955
918
  var r = this;
956
- return t = It(t), new t(function(n, i) {
919
+ return t = Ht(t), new t(function(n, i) {
957
920
  var o;
958
921
  r.subscribe(function(s) {
959
922
  return o = s;
@@ -967,42 +930,42 @@ var Ot = function() {
967
930
  return new e(t);
968
931
  }, e;
969
932
  }();
970
- function It(e) {
933
+ function Ht(e) {
971
934
  var t;
972
- return (t = e != null ? e : cn.Promise) !== null && t !== void 0 ? t : Promise;
935
+ return (t = e ?? Yr.Promise) !== null && t !== void 0 ? t : Promise;
973
936
  }
974
- function _n(e) {
975
- return e && Z(e.next) && Z(e.error) && Z(e.complete);
937
+ function ln(e) {
938
+ return e && z(e.next) && z(e.error) && z(e.complete);
976
939
  }
977
- function xn(e) {
978
- return e && e instanceof hr || _n(e) && ur(e);
940
+ function un(e) {
941
+ return e && e instanceof nr || ln(e) && rr(e);
979
942
  }
980
- var En = ar(function(e) {
943
+ var hn = er(function(e) {
981
944
  return function() {
982
945
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
983
946
  };
984
- }), cr = function(e) {
985
- J(t, e);
947
+ }), ir = function(e) {
948
+ Z(t, e);
986
949
  function t() {
987
950
  var r = e.call(this) || this;
988
951
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
989
952
  }
990
953
  return t.prototype.lift = function(r) {
991
- var n = new Lt(this, this);
954
+ var n = new Pt(this, this);
992
955
  return n.operator = r, n;
993
956
  }, t.prototype._throwIfClosed = function() {
994
957
  if (this.closed)
995
- throw new En();
958
+ throw new hn();
996
959
  }, t.prototype.next = function(r) {
997
960
  var n = this;
998
- Ne(function() {
961
+ Le(function() {
999
962
  var i, o;
1000
963
  if (n._throwIfClosed(), !n.isStopped) {
1001
964
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1002
965
  try {
1003
- for (var s = it(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1004
- var u = a.value;
1005
- u.next(r);
966
+ for (var s = rt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
967
+ var h = a.value;
968
+ h.next(r);
1006
969
  }
1007
970
  } catch (l) {
1008
971
  i = { error: l };
@@ -1017,7 +980,7 @@ var En = ar(function(e) {
1017
980
  });
1018
981
  }, t.prototype.error = function(r) {
1019
982
  var n = this;
1020
- Ne(function() {
983
+ Le(function() {
1021
984
  if (n._throwIfClosed(), !n.isStopped) {
1022
985
  n.hasError = n.isStopped = !0, n.thrownError = r;
1023
986
  for (var i = n.observers; i.length; )
@@ -1026,7 +989,7 @@ var En = ar(function(e) {
1026
989
  });
1027
990
  }, t.prototype.complete = function() {
1028
991
  var r = this;
1029
- Ne(function() {
992
+ Le(function() {
1030
993
  if (r._throwIfClosed(), !r.isStopped) {
1031
994
  r.isStopped = !0;
1032
995
  for (var n = r.observers; n.length; )
@@ -1048,20 +1011,20 @@ var En = ar(function(e) {
1048
1011
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1049
1012
  }, t.prototype._innerSubscribe = function(r) {
1050
1013
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1051
- return o || s ? lr : (this.currentObservers = null, a.push(r), new Ge(function() {
1052
- n.currentObservers = null, st(a, r);
1014
+ return o || s ? tr : (this.currentObservers = null, a.push(r), new Ue(function() {
1015
+ n.currentObservers = null, it(a, r);
1053
1016
  }));
1054
1017
  }, t.prototype._checkFinalizedStatuses = function(r) {
1055
1018
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1056
1019
  i ? r.error(o) : s && r.complete();
1057
1020
  }, t.prototype.asObservable = function() {
1058
- var r = new Ot();
1021
+ var r = new Tt();
1059
1022
  return r.source = this, r;
1060
1023
  }, t.create = function(r, n) {
1061
- return new Lt(r, n);
1024
+ return new Pt(r, n);
1062
1025
  }, t;
1063
- }(Ot), Lt = function(e) {
1064
- J(t, e);
1026
+ }(Tt), Pt = function(e) {
1027
+ Z(t, e);
1065
1028
  function t(r, n) {
1066
1029
  var i = e.call(this) || this;
1067
1030
  return i.destination = r, i.source = n, i;
@@ -1077,214 +1040,214 @@ var En = ar(function(e) {
1077
1040
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1078
1041
  }, t.prototype._subscribe = function(r) {
1079
1042
  var n, i;
1080
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : lr;
1043
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : tr;
1081
1044
  }, t;
1082
- }(cr), fr = {
1045
+ }(ir), or = {
1083
1046
  now: function() {
1084
- return (fr.delegate || Date).now();
1047
+ return (or.delegate || Date).now();
1085
1048
  },
1086
1049
  delegate: void 0
1087
- }, wn = function(e) {
1088
- J(t, e);
1050
+ }, cn = function(e) {
1051
+ Z(t, e);
1089
1052
  function t(r, n, i) {
1090
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = fr);
1053
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = or);
1091
1054
  var o = e.call(this) || this;
1092
1055
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1093
1056
  }
1094
1057
  return t.prototype.next = function(r) {
1095
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, u = n._windowTime;
1096
- i || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
1058
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
1059
+ i || (o.push(r), !s && o.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
1097
1060
  }, t.prototype._subscribe = function(r) {
1098
1061
  this._throwIfClosed(), this._trimBuffer();
1099
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !r.closed; u += o ? 1 : 2)
1100
- r.next(a[u]);
1062
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), h = 0; h < a.length && !r.closed; h += o ? 1 : 2)
1063
+ r.next(a[h]);
1101
1064
  return this._checkFinalizedStatuses(r), n;
1102
1065
  }, t.prototype._trimBuffer = function() {
1103
1066
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1104
1067
  if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1105
- for (var u = i.now(), l = 0, h = 1; h < o.length && o[h] <= u; h += 2)
1106
- l = h;
1068
+ for (var h = i.now(), l = 0, u = 1; u < o.length && o[u] <= h; u += 2)
1069
+ l = u;
1107
1070
  l && o.splice(0, l + 1);
1108
1071
  }
1109
1072
  }, t;
1110
- }(cr);
1111
- const Nt = [], Mt = {}, Sn = (e, t = 0) => {
1112
- if (Nt.indexOf(e) == -1) {
1113
- const r = new wn(t);
1114
- Mt[e] = r, Nt.push(e);
1073
+ }(ir);
1074
+ const At = [], Ct = {}, fn = (e, t = 0) => {
1075
+ if (At.indexOf(e) == -1) {
1076
+ const r = new cn(t);
1077
+ Ct[e] = r, At.push(e);
1115
1078
  }
1116
- return Mt[e];
1117
- }, ce = [];
1118
- function Tn(e, t) {
1079
+ return Ct[e];
1080
+ }, he = [];
1081
+ function dn(e, t) {
1119
1082
  return {
1120
- subscribe: ke(e, t).subscribe
1083
+ subscribe: Ge(e, t).subscribe
1121
1084
  };
1122
1085
  }
1123
- function ke(e, t = k) {
1086
+ function Ge(e, t = G) {
1124
1087
  let r;
1125
1088
  const n = /* @__PURE__ */ new Set();
1126
1089
  function i(a) {
1127
- if (tr(e, a) && (e = a, r)) {
1128
- const u = !ce.length;
1090
+ if (Zt(e, a) && (e = a, r)) {
1091
+ const h = !he.length;
1129
1092
  for (const l of n)
1130
- l[1](), ce.push(l, e);
1131
- if (u) {
1132
- for (let l = 0; l < ce.length; l += 2)
1133
- ce[l][0](ce[l + 1]);
1134
- ce.length = 0;
1093
+ l[1](), he.push(l, e);
1094
+ if (h) {
1095
+ for (let l = 0; l < he.length; l += 2)
1096
+ he[l][0](he[l + 1]);
1097
+ he.length = 0;
1135
1098
  }
1136
1099
  }
1137
1100
  }
1138
1101
  function o(a) {
1139
1102
  i(a(e));
1140
1103
  }
1141
- function s(a, u = k) {
1142
- const l = [a, u];
1143
- return n.add(l), n.size === 1 && (r = t(i, o) || k), a(e), () => {
1104
+ function s(a, h = G) {
1105
+ const l = [a, h];
1106
+ return n.add(l), n.size === 1 && (r = t(i, o) || G), a(e), () => {
1144
1107
  n.delete(l), n.size === 0 && r && (r(), r = null);
1145
1108
  };
1146
1109
  }
1147
1110
  return { set: i, update: o, subscribe: s };
1148
1111
  }
1149
- function ve(e, t, r) {
1112
+ function ye(e, t, r) {
1150
1113
  const n = !Array.isArray(e), i = n ? [e] : e;
1151
1114
  if (!i.every(Boolean))
1152
1115
  throw new Error("derived() expects stores as input, got a falsy value");
1153
1116
  const o = t.length < 2;
1154
- return Tn(r, (s, a) => {
1155
- let u = !1;
1117
+ return dn(r, (s, a) => {
1118
+ let h = !1;
1156
1119
  const l = [];
1157
- let h = 0, d = k;
1120
+ let u = 0, d = G;
1158
1121
  const c = () => {
1159
- if (h)
1122
+ if (u)
1160
1123
  return;
1161
1124
  d();
1162
1125
  const b = t(n ? l[0] : l, s, a);
1163
- o ? s(b) : d = bt(b) ? b : k;
1126
+ o ? s(b) : d = pt(b) ? b : G;
1164
1127
  }, m = i.map(
1165
- (b, _) => rr(
1128
+ (b, _) => Jt(
1166
1129
  b,
1167
1130
  (T) => {
1168
- l[_] = T, h &= ~(1 << _), u && c();
1131
+ l[_] = T, u &= ~(1 << _), h && c();
1169
1132
  },
1170
1133
  () => {
1171
- h |= 1 << _;
1134
+ u |= 1 << _;
1172
1135
  }
1173
1136
  )
1174
1137
  );
1175
- return u = !0, c(), function() {
1176
- K(m), d(), u = !1;
1138
+ return h = !0, c(), function() {
1139
+ Y(m), d(), h = !1;
1177
1140
  };
1178
1141
  });
1179
1142
  }
1180
- function Hn(e) {
1143
+ function pn(e) {
1181
1144
  return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1182
1145
  }
1183
- var Pn = function(t) {
1184
- return An(t) && !Cn(t);
1146
+ var mn = function(t) {
1147
+ return bn(t) && !gn(t);
1185
1148
  };
1186
- function An(e) {
1149
+ function bn(e) {
1187
1150
  return !!e && typeof e == "object";
1188
1151
  }
1189
- function Cn(e) {
1152
+ function gn(e) {
1190
1153
  var t = Object.prototype.toString.call(e);
1191
- return t === "[object RegExp]" || t === "[object Date]" || On(e);
1154
+ return t === "[object RegExp]" || t === "[object Date]" || _n(e);
1192
1155
  }
1193
- var Fn = typeof Symbol == "function" && Symbol.for, Bn = Fn ? Symbol.for("react.element") : 60103;
1194
- function On(e) {
1195
- return e.$$typeof === Bn;
1156
+ var yn = typeof Symbol == "function" && Symbol.for, vn = yn ? Symbol.for("react.element") : 60103;
1157
+ function _n(e) {
1158
+ return e.$$typeof === vn;
1196
1159
  }
1197
- function In(e) {
1160
+ function xn(e) {
1198
1161
  return Array.isArray(e) ? [] : {};
1199
1162
  }
1200
- function He(e, t) {
1201
- return t.clone !== !1 && t.isMergeableObject(e) ? me(In(e), e, t) : e;
1163
+ function Te(e, t) {
1164
+ return t.clone !== !1 && t.isMergeableObject(e) ? pe(xn(e), e, t) : e;
1202
1165
  }
1203
- function Ln(e, t, r) {
1166
+ function En(e, t, r) {
1204
1167
  return e.concat(t).map(function(n) {
1205
- return He(n, r);
1168
+ return Te(n, r);
1206
1169
  });
1207
1170
  }
1208
- function Nn(e, t) {
1171
+ function wn(e, t) {
1209
1172
  if (!t.customMerge)
1210
- return me;
1173
+ return pe;
1211
1174
  var r = t.customMerge(e);
1212
- return typeof r == "function" ? r : me;
1175
+ return typeof r == "function" ? r : pe;
1213
1176
  }
1214
- function Mn(e) {
1177
+ function Sn(e) {
1215
1178
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1216
1179
  return Object.propertyIsEnumerable.call(e, t);
1217
1180
  }) : [];
1218
1181
  }
1219
- function Rt(e) {
1220
- return Object.keys(e).concat(Mn(e));
1182
+ function Ft(e) {
1183
+ return Object.keys(e).concat(Sn(e));
1221
1184
  }
1222
- function dr(e, t) {
1185
+ function sr(e, t) {
1223
1186
  try {
1224
1187
  return t in e;
1225
- } catch (r) {
1188
+ } catch {
1226
1189
  return !1;
1227
1190
  }
1228
1191
  }
1229
- function Rn(e, t) {
1230
- return dr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1192
+ function Tn(e, t) {
1193
+ return sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1231
1194
  }
1232
- function Dn(e, t, r) {
1195
+ function Hn(e, t, r) {
1233
1196
  var n = {};
1234
- return r.isMergeableObject(e) && Rt(e).forEach(function(i) {
1235
- n[i] = He(e[i], r);
1236
- }), Rt(t).forEach(function(i) {
1237
- Rn(e, i) || (dr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Nn(i, r)(e[i], t[i], r) : n[i] = He(t[i], r));
1197
+ return r.isMergeableObject(e) && Ft(e).forEach(function(i) {
1198
+ n[i] = Te(e[i], r);
1199
+ }), Ft(t).forEach(function(i) {
1200
+ Tn(e, i) || (sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] = Te(t[i], r));
1238
1201
  }), n;
1239
1202
  }
1240
- function me(e, t, r) {
1241
- r = r || {}, r.arrayMerge = r.arrayMerge || Ln, r.isMergeableObject = r.isMergeableObject || Pn, r.cloneUnlessOtherwiseSpecified = He;
1203
+ function pe(e, t, r) {
1204
+ r = r || {}, r.arrayMerge = r.arrayMerge || En, r.isMergeableObject = r.isMergeableObject || mn, r.cloneUnlessOtherwiseSpecified = Te;
1242
1205
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1243
- return o ? n ? r.arrayMerge(e, t, r) : Dn(e, t, r) : He(t, r);
1206
+ return o ? n ? r.arrayMerge(e, t, r) : Hn(e, t, r) : Te(t, r);
1244
1207
  }
1245
- me.all = function(t, r) {
1208
+ pe.all = function(t, r) {
1246
1209
  if (!Array.isArray(t))
1247
1210
  throw new Error("first argument should be an array");
1248
1211
  return t.reduce(function(n, i) {
1249
- return me(n, i, r);
1212
+ return pe(n, i, r);
1250
1213
  }, {});
1251
1214
  };
1252
- var $n = me, Un = $n;
1253
- const Gn = /* @__PURE__ */ Hn(Un);
1254
- function Je(e, t) {
1255
- var r = t && t.cache ? t.cache : Zn, n = t && t.serializer ? t.serializer : Wn, i = t && t.strategy ? t.strategy : jn;
1215
+ var Pn = pe, An = Pn;
1216
+ const Cn = /* @__PURE__ */ pn(An);
1217
+ function ze(e, t) {
1218
+ var r = t && t.cache ? t.cache : Mn, n = t && t.serializer ? t.serializer : Ln, i = t && t.strategy ? t.strategy : Bn;
1256
1219
  return i(e, {
1257
1220
  cache: r,
1258
1221
  serializer: n
1259
1222
  });
1260
1223
  }
1261
- function kn(e) {
1224
+ function Fn(e) {
1262
1225
  return e == null || typeof e == "number" || typeof e == "boolean";
1263
1226
  }
1264
- function pr(e, t, r, n) {
1265
- var i = kn(n) ? n : r(n), o = t.get(i);
1266
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1227
+ function ar(e, t, r, n) {
1228
+ var i = Fn(n) ? n : r(n), o = t.get(i);
1229
+ return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1267
1230
  }
1268
- function mr(e, t, r) {
1231
+ function lr(e, t, r) {
1269
1232
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1270
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1233
+ return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1271
1234
  }
1272
- function gt(e, t, r, n, i) {
1235
+ function mt(e, t, r, n, i) {
1273
1236
  return r.bind(t, e, n, i);
1274
1237
  }
1275
- function jn(e, t) {
1276
- var r = e.length === 1 ? pr : mr;
1277
- return gt(e, this, r, t.cache.create(), t.serializer);
1238
+ function Bn(e, t) {
1239
+ var r = e.length === 1 ? ar : lr;
1240
+ return mt(e, this, r, t.cache.create(), t.serializer);
1278
1241
  }
1279
- function Vn(e, t) {
1280
- return gt(e, this, mr, t.cache.create(), t.serializer);
1242
+ function On(e, t) {
1243
+ return mt(e, this, lr, t.cache.create(), t.serializer);
1281
1244
  }
1282
- function Xn(e, t) {
1283
- return gt(e, this, pr, t.cache.create(), t.serializer);
1245
+ function In(e, t) {
1246
+ return mt(e, this, ar, t.cache.create(), t.serializer);
1284
1247
  }
1285
- var Wn = function() {
1248
+ var Ln = function() {
1286
1249
  return JSON.stringify(arguments);
1287
- }, zn = (
1250
+ }, Nn = (
1288
1251
  /** @class */
1289
1252
  function() {
1290
1253
  function e() {
@@ -1296,13 +1259,13 @@ var Wn = function() {
1296
1259
  this.cache[t] = r;
1297
1260
  }, e;
1298
1261
  }()
1299
- ), Zn = {
1262
+ ), Mn = {
1300
1263
  create: function() {
1301
- return new zn();
1264
+ return new Nn();
1302
1265
  }
1303
- }, Qe = {
1304
- variadic: Vn,
1305
- monadic: Xn
1266
+ }, Ze = {
1267
+ variadic: On,
1268
+ monadic: In
1306
1269
  }, x;
1307
1270
  (function(e) {
1308
1271
  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";
@@ -1311,47 +1274,47 @@ var B;
1311
1274
  (function(e) {
1312
1275
  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";
1313
1276
  })(B || (B = {}));
1314
- var be;
1277
+ var me;
1315
1278
  (function(e) {
1316
1279
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1317
- })(be || (be = {}));
1318
- function Dt(e) {
1280
+ })(me || (me = {}));
1281
+ function Bt(e) {
1319
1282
  return e.type === B.literal;
1320
1283
  }
1321
- function Jn(e) {
1284
+ function Rn(e) {
1322
1285
  return e.type === B.argument;
1323
1286
  }
1324
- function br(e) {
1287
+ function ur(e) {
1325
1288
  return e.type === B.number;
1326
1289
  }
1327
- function gr(e) {
1290
+ function hr(e) {
1328
1291
  return e.type === B.date;
1329
1292
  }
1330
- function yr(e) {
1293
+ function cr(e) {
1331
1294
  return e.type === B.time;
1332
1295
  }
1333
- function vr(e) {
1296
+ function fr(e) {
1334
1297
  return e.type === B.select;
1335
1298
  }
1336
- function _r(e) {
1299
+ function dr(e) {
1337
1300
  return e.type === B.plural;
1338
1301
  }
1339
- function Qn(e) {
1302
+ function Dn(e) {
1340
1303
  return e.type === B.pound;
1341
1304
  }
1342
- function xr(e) {
1305
+ function pr(e) {
1343
1306
  return e.type === B.tag;
1344
1307
  }
1345
- function Er(e) {
1346
- return !!(e && typeof e == "object" && e.type === be.number);
1308
+ function mr(e) {
1309
+ return !!(e && typeof e == "object" && e.type === me.number);
1347
1310
  }
1348
- function lt(e) {
1349
- return !!(e && typeof e == "object" && e.type === be.dateTime);
1311
+ function st(e) {
1312
+ return !!(e && typeof e == "object" && e.type === me.dateTime);
1350
1313
  }
1351
- var wr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, qn = /(?:[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;
1352
- function Yn(e) {
1314
+ var br = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, $n = /(?:[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;
1315
+ function Un(e) {
1353
1316
  var t = {};
1354
- return e.replace(qn, function(r) {
1317
+ return e.replace($n, function(r) {
1355
1318
  var n = r.length;
1356
1319
  switch (r[0]) {
1357
1320
  case "G":
@@ -1440,36 +1403,36 @@ function Yn(e) {
1440
1403
  return "";
1441
1404
  }), t;
1442
1405
  }
1443
- var Kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1444
- function ei(e) {
1406
+ var Gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1407
+ function kn(e) {
1445
1408
  if (e.length === 0)
1446
1409
  throw new Error("Number skeleton cannot be empty");
1447
- for (var t = e.split(Kn).filter(function(c) {
1410
+ for (var t = e.split(Gn).filter(function(c) {
1448
1411
  return c.length > 0;
1449
1412
  }), r = [], n = 0, i = t; n < i.length; n++) {
1450
1413
  var o = i[n], s = o.split("/");
1451
1414
  if (s.length === 0)
1452
1415
  throw new Error("Invalid number skeleton");
1453
- for (var a = s[0], u = s.slice(1), l = 0, h = u; l < h.length; l++) {
1454
- var d = h[l];
1416
+ for (var a = s[0], h = s.slice(1), l = 0, u = h; l < u.length; l++) {
1417
+ var d = u[l];
1455
1418
  if (d.length === 0)
1456
1419
  throw new Error("Invalid number skeleton");
1457
1420
  }
1458
- r.push({ stem: a, options: u });
1421
+ r.push({ stem: a, options: h });
1459
1422
  }
1460
1423
  return r;
1461
1424
  }
1462
- function ti(e) {
1425
+ function jn(e) {
1463
1426
  return e.replace(/^(.*?)-/, "");
1464
1427
  }
1465
- var $t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Sr = /^(@+)?(\+|#+)?[rs]?$/g, ri = /(\*)(0+)|(#+)(0+)|(0+)/g, Tr = /^(0+)$/;
1466
- function Ut(e) {
1428
+ var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, Vn = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
1429
+ function It(e) {
1467
1430
  var t = {};
1468
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Sr, function(r, n, i) {
1431
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
1469
1432
  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)), "";
1470
1433
  }), t;
1471
1434
  }
1472
- function Hr(e) {
1435
+ function vr(e) {
1473
1436
  switch (e) {
1474
1437
  case "sign-auto":
1475
1438
  return {
@@ -1509,7 +1472,7 @@ function Hr(e) {
1509
1472
  };
1510
1473
  }
1511
1474
  }
1512
- function ni(e) {
1475
+ function Xn(e) {
1513
1476
  var t;
1514
1477
  if (e[0] === "E" && e[1] === "E" ? (t = {
1515
1478
  notation: "engineering"
@@ -1517,17 +1480,17 @@ function ni(e) {
1517
1480
  notation: "scientific"
1518
1481
  }, e = e.slice(1)), t) {
1519
1482
  var r = e.slice(0, 2);
1520
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Tr.test(e))
1483
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yr.test(e))
1521
1484
  throw new Error("Malformed concise eng/scientific notation");
1522
1485
  t.minimumIntegerDigits = e.length;
1523
1486
  }
1524
1487
  return t;
1525
1488
  }
1526
- function Gt(e) {
1527
- var t = {}, r = Hr(e);
1489
+ function Lt(e) {
1490
+ var t = {}, r = vr(e);
1528
1491
  return r || t;
1529
1492
  }
1530
- function ii(e) {
1493
+ function Wn(e) {
1531
1494
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1532
1495
  var i = n[r];
1533
1496
  switch (i.stem) {
@@ -1551,7 +1514,7 @@ function ii(e) {
1551
1514
  continue;
1552
1515
  case "measure-unit":
1553
1516
  case "unit":
1554
- t.style = "unit", t.unit = ti(i.options[0]);
1517
+ t.style = "unit", t.unit = jn(i.options[0]);
1555
1518
  continue;
1556
1519
  case "compact-short":
1557
1520
  case "K":
@@ -1562,13 +1525,13 @@ function ii(e) {
1562
1525
  t.notation = "compact", t.compactDisplay = "long";
1563
1526
  continue;
1564
1527
  case "scientific":
1565
- t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1566
- return S(S({}, u), Gt(l));
1528
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1529
+ return S(S({}, h), Lt(l));
1567
1530
  }, {}));
1568
1531
  continue;
1569
1532
  case "engineering":
1570
- t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1571
- return S(S({}, u), Gt(l));
1533
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1534
+ return S(S({}, h), Lt(l));
1572
1535
  }, {}));
1573
1536
  continue;
1574
1537
  case "notation-simple":
@@ -1613,9 +1576,9 @@ function ii(e) {
1613
1576
  case "integer-width":
1614
1577
  if (i.options.length > 1)
1615
1578
  throw new RangeError("integer-width stems only accept a single optional option");
1616
- i.options[0].replace(ri, function(u, l, h, d, c, m) {
1579
+ i.options[0].replace(Vn, function(h, l, u, d, c, m) {
1617
1580
  if (l)
1618
- t.minimumIntegerDigits = h.length;
1581
+ t.minimumIntegerDigits = u.length;
1619
1582
  else {
1620
1583
  if (d && c)
1621
1584
  throw new Error("We currently do not support maximum integer digits");
@@ -1626,32 +1589,32 @@ function ii(e) {
1626
1589
  });
1627
1590
  continue;
1628
1591
  }
1629
- if (Tr.test(i.stem)) {
1592
+ if (yr.test(i.stem)) {
1630
1593
  t.minimumIntegerDigits = i.stem.length;
1631
1594
  continue;
1632
1595
  }
1633
- if ($t.test(i.stem)) {
1596
+ if (Ot.test(i.stem)) {
1634
1597
  if (i.options.length > 1)
1635
1598
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1636
- i.stem.replace($t, function(u, l, h, d, c, m) {
1637
- return h === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1599
+ i.stem.replace(Ot, function(h, l, u, d, c, m) {
1600
+ return u === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1638
1601
  });
1639
1602
  var o = i.options[0];
1640
- o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Ut(o)));
1603
+ o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), It(o)));
1641
1604
  continue;
1642
1605
  }
1643
- if (Sr.test(i.stem)) {
1644
- t = S(S({}, t), Ut(i.stem));
1606
+ if (gr.test(i.stem)) {
1607
+ t = S(S({}, t), It(i.stem));
1645
1608
  continue;
1646
1609
  }
1647
- var s = Hr(i.stem);
1610
+ var s = vr(i.stem);
1648
1611
  s && (t = S(S({}, t), s));
1649
- var a = ni(i.stem);
1612
+ var a = Xn(i.stem);
1650
1613
  a && (t = S(S({}, t), a));
1651
1614
  }
1652
1615
  return t;
1653
1616
  }
1654
- var Ie = {
1617
+ var Oe = {
1655
1618
  "001": [
1656
1619
  "H",
1657
1620
  "h"
@@ -3066,22 +3029,22 @@ var Ie = {
3066
3029
  "h"
3067
3030
  ]
3068
3031
  };
3069
- function oi(e, t) {
3032
+ function zn(e, t) {
3070
3033
  for (var r = "", n = 0; n < e.length; n++) {
3071
3034
  var i = e.charAt(n);
3072
3035
  if (i === "j") {
3073
3036
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3074
3037
  o++, n++;
3075
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = si(t);
3038
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = Zn(t);
3076
3039
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3077
- r += u;
3040
+ r += h;
3078
3041
  for (; s-- > 0; )
3079
3042
  r = l + r;
3080
3043
  } else i === "J" ? r += "H" : r += i;
3081
3044
  }
3082
3045
  return r;
3083
3046
  }
3084
- function si(e) {
3047
+ function Zn(e) {
3085
3048
  var t = e.hourCycle;
3086
3049
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3087
3050
  e.hourCycles && // @ts-ignore
@@ -3100,23 +3063,23 @@ function si(e) {
3100
3063
  }
3101
3064
  var r = e.language, n;
3102
3065
  r !== "root" && (n = e.maximize().region);
3103
- var i = Ie[n || ""] || Ie[r || ""] || Ie["".concat(r, "-001")] || Ie["001"];
3066
+ var i = Oe[n || ""] || Oe[r || ""] || Oe["".concat(r, "-001")] || Oe["001"];
3104
3067
  return i[0];
3105
3068
  }
3106
- var qe, ai = new RegExp("^".concat(wr.source, "*")), li = new RegExp("".concat(wr.source, "*$"));
3069
+ var Je, Jn = new RegExp("^".concat(br.source, "*")), Qn = new RegExp("".concat(br.source, "*$"));
3107
3070
  function w(e, t) {
3108
3071
  return { start: e, end: t };
3109
3072
  }
3110
- var ui = !!String.prototype.startsWith && "_a".startsWith("a", 1), hi = !!String.fromCodePoint, ci = !!Object.fromEntries, fi = !!String.prototype.codePointAt, di = !!String.prototype.trimStart, pi = !!String.prototype.trimEnd, mi = !!Number.isSafeInteger, bi = mi ? Number.isSafeInteger : function(e) {
3073
+ var qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yn = !!String.fromCodePoint, Kn = !!Object.fromEntries, ei = !!String.prototype.codePointAt, ti = !!String.prototype.trimStart, ri = !!String.prototype.trimEnd, ni = !!Number.isSafeInteger, ii = ni ? Number.isSafeInteger : function(e) {
3111
3074
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3112
- }, ut = !0;
3075
+ }, at = !0;
3113
3076
  try {
3114
- var gi = Ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3115
- ut = ((qe = gi.exec("a")) === null || qe === void 0 ? void 0 : qe[0]) === "a";
3116
- } catch (e) {
3117
- ut = !1;
3077
+ var oi = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3078
+ at = ((Je = oi.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
3079
+ } catch {
3080
+ at = !1;
3118
3081
  }
3119
- var kt = ui ? (
3082
+ var Nt = qn ? (
3120
3083
  // Native
3121
3084
  function(t, r, n) {
3122
3085
  return t.startsWith(r, n);
@@ -3126,7 +3089,7 @@ var kt = ui ? (
3126
3089
  function(t, r, n) {
3127
3090
  return t.slice(n, n + r.length) === r;
3128
3091
  }
3129
- ), ht = hi ? String.fromCodePoint : (
3092
+ ), lt = Yn ? String.fromCodePoint : (
3130
3093
  // IE11
3131
3094
  function() {
3132
3095
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3138,9 +3101,9 @@ var kt = ui ? (
3138
3101
  }
3139
3102
  return n;
3140
3103
  }
3141
- ), jt = (
3104
+ ), Mt = (
3142
3105
  // native
3143
- ci ? Object.fromEntries : (
3106
+ Kn ? Object.fromEntries : (
3144
3107
  // Ponyfill
3145
3108
  function(t) {
3146
3109
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3150,7 +3113,7 @@ var kt = ui ? (
3150
3113
  return r;
3151
3114
  }
3152
3115
  )
3153
- ), Pr = fi ? (
3116
+ ), _r = ei ? (
3154
3117
  // Native
3155
3118
  function(t, r) {
3156
3119
  return t.codePointAt(r);
@@ -3164,7 +3127,7 @@ var kt = ui ? (
3164
3127
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3165
3128
  }
3166
3129
  }
3167
- ), yi = di ? (
3130
+ ), si = ti ? (
3168
3131
  // Native
3169
3132
  function(t) {
3170
3133
  return t.trimStart();
@@ -3172,9 +3135,9 @@ var kt = ui ? (
3172
3135
  ) : (
3173
3136
  // Ponyfill
3174
3137
  function(t) {
3175
- return t.replace(ai, "");
3138
+ return t.replace(Jn, "");
3176
3139
  }
3177
- ), vi = pi ? (
3140
+ ), ai = ri ? (
3178
3141
  // Native
3179
3142
  function(t) {
3180
3143
  return t.trimEnd();
@@ -3182,32 +3145,32 @@ var kt = ui ? (
3182
3145
  ) : (
3183
3146
  // Ponyfill
3184
3147
  function(t) {
3185
- return t.replace(li, "");
3148
+ return t.replace(Qn, "");
3186
3149
  }
3187
3150
  );
3188
- function Ar(e, t) {
3151
+ function xr(e, t) {
3189
3152
  return new RegExp(e, t);
3190
3153
  }
3191
- var ct;
3192
- if (ut) {
3193
- var Vt = Ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3194
- ct = function(t, r) {
3154
+ var ut;
3155
+ if (at) {
3156
+ var Rt = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3157
+ ut = function(t, r) {
3195
3158
  var n;
3196
- Vt.lastIndex = r;
3197
- var i = Vt.exec(t);
3159
+ Rt.lastIndex = r;
3160
+ var i = Rt.exec(t);
3198
3161
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3199
3162
  };
3200
3163
  } else
3201
- ct = function(t, r) {
3164
+ ut = function(t, r) {
3202
3165
  for (var n = []; ; ) {
3203
- var i = Pr(t, r);
3204
- if (i === void 0 || Cr(i) || wi(i))
3166
+ var i = _r(t, r);
3167
+ if (i === void 0 || Er(i) || ci(i))
3205
3168
  break;
3206
3169
  n.push(i), r += i >= 65536 ? 2 : 1;
3207
3170
  }
3208
- return ht.apply(void 0, n);
3171
+ return lt.apply(void 0, n);
3209
3172
  };
3210
- var _i = (
3173
+ var li = (
3211
3174
  /** @class */
3212
3175
  function() {
3213
3176
  function e(t, r) {
@@ -3238,7 +3201,7 @@ var _i = (
3238
3201
  if (n)
3239
3202
  break;
3240
3203
  return this.error(x.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3241
- } else if (o === 60 && !this.ignoreTag && ft(this.peek() || 0)) {
3204
+ } else if (o === 60 && !this.ignoreTag && ht(this.peek() || 0)) {
3242
3205
  var s = this.parseTag(t, r);
3243
3206
  if (s.err)
3244
3207
  return s;
@@ -3271,10 +3234,10 @@ var _i = (
3271
3234
  return o;
3272
3235
  var s = o.val, a = this.clonePosition();
3273
3236
  if (this.bumpIf("</")) {
3274
- if (this.isEOF() || !ft(this.char()))
3237
+ if (this.isEOF() || !ht(this.char()))
3275
3238
  return this.error(x.INVALID_TAG, w(a, this.clonePosition()));
3276
- var u = this.clonePosition(), l = this.parseTagName();
3277
- return i !== l ? this.error(x.UNMATCHED_CLOSING_TAG, w(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3239
+ var h = this.clonePosition(), l = this.parseTagName();
3240
+ return i !== l ? this.error(x.UNMATCHED_CLOSING_TAG, w(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3278
3241
  val: {
3279
3242
  type: B.tag,
3280
3243
  value: i,
@@ -3289,7 +3252,7 @@ var _i = (
3289
3252
  return this.error(x.INVALID_TAG, w(n, this.clonePosition()));
3290
3253
  }, e.prototype.parseTagName = function() {
3291
3254
  var t = this.offset();
3292
- for (this.bump(); !this.isEOF() && Ei(this.char()); )
3255
+ for (this.bump(); !this.isEOF() && hi(this.char()); )
3293
3256
  this.bump();
3294
3257
  return this.message.slice(t, this.offset());
3295
3258
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3311,14 +3274,14 @@ var _i = (
3311
3274
  }
3312
3275
  break;
3313
3276
  }
3314
- var u = w(n, this.clonePosition());
3277
+ var h = w(n, this.clonePosition());
3315
3278
  return {
3316
- val: { type: B.literal, value: i, location: u },
3279
+ val: { type: B.literal, value: i, location: h },
3317
3280
  err: null
3318
3281
  };
3319
3282
  }, e.prototype.tryParseLeftAngleBracket = function() {
3320
3283
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3321
- !xi(this.peek() || 0)) ? (this.bump(), "<") : null;
3284
+ !ui(this.peek() || 0)) ? (this.bump(), "<") : null;
3322
3285
  }, e.prototype.tryParseQuote = function(t) {
3323
3286
  if (this.isEOF() || this.char() !== 39)
3324
3287
  return null;
@@ -3352,12 +3315,12 @@ var _i = (
3352
3315
  r.push(n);
3353
3316
  this.bump();
3354
3317
  }
3355
- return ht.apply(void 0, r);
3318
+ return lt.apply(void 0, r);
3356
3319
  }, e.prototype.tryParseUnquoted = function(t, r) {
3357
3320
  if (this.isEOF())
3358
3321
  return null;
3359
3322
  var n = this.char();
3360
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ht(n));
3323
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), lt(n));
3361
3324
  }, e.prototype.parseArgument = function(t, r) {
3362
3325
  var n = this.clonePosition();
3363
3326
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3386,15 +3349,15 @@ var _i = (
3386
3349
  return this.error(x.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3387
3350
  }
3388
3351
  }, e.prototype.parseIdentifierIfPossible = function() {
3389
- var t = this.clonePosition(), r = this.offset(), n = ct(this.message, r), i = r + n.length;
3352
+ var t = this.clonePosition(), r = this.offset(), n = ut(this.message, r), i = r + n.length;
3390
3353
  this.bumpTo(i);
3391
3354
  var o = this.clonePosition(), s = w(t, o);
3392
3355
  return { value: n, location: s };
3393
3356
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3394
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3357
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3395
3358
  switch (a) {
3396
3359
  case "":
3397
- return this.error(x.EXPECT_ARGUMENT_TYPE, w(s, u));
3360
+ return this.error(x.EXPECT_ARGUMENT_TYPE, w(s, h));
3398
3361
  case "number":
3399
3362
  case "date":
3400
3363
  case "time": {
@@ -3402,21 +3365,21 @@ var _i = (
3402
3365
  var l = null;
3403
3366
  if (this.bumpIf(",")) {
3404
3367
  this.bumpSpace();
3405
- var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3368
+ var u = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3406
3369
  if (d.err)
3407
3370
  return d;
3408
- var c = vi(d.val);
3371
+ var c = ai(d.val);
3409
3372
  if (c.length === 0)
3410
3373
  return this.error(x.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3411
- var m = w(h, this.clonePosition());
3374
+ var m = w(u, this.clonePosition());
3412
3375
  l = { style: c, styleLocation: m };
3413
3376
  }
3414
3377
  var b = this.tryParseArgumentClose(i);
3415
3378
  if (b.err)
3416
3379
  return b;
3417
3380
  var _ = w(i, this.clonePosition());
3418
- if (l && kt(l == null ? void 0 : l.style, "::", 0)) {
3419
- var T = yi(l.style.slice(2));
3381
+ if (l && Nt(l?.style, "::", 0)) {
3382
+ var T = si(l.style.slice(2));
3420
3383
  if (a === "number") {
3421
3384
  var d = this.parseNumberSkeletonFromString(T, l.styleLocation);
3422
3385
  return d.err ? d : {
@@ -3427,12 +3390,12 @@ var _i = (
3427
3390
  if (T.length === 0)
3428
3391
  return this.error(x.EXPECT_DATE_TIME_SKELETON, _);
3429
3392
  var y = T;
3430
- this.locale && (y = oi(T, this.locale));
3393
+ this.locale && (y = zn(T, this.locale));
3431
3394
  var c = {
3432
- type: be.dateTime,
3395
+ type: me.dateTime,
3433
3396
  pattern: y,
3434
3397
  location: l.styleLocation,
3435
- parsedOptions: this.shouldParseSkeletons ? Yn(y) : {}
3398
+ parsedOptions: this.shouldParseSkeletons ? Un(y) : {}
3436
3399
  }, H = a === "date" ? B.date : B.time;
3437
3400
  return {
3438
3401
  val: { type: H, value: n, location: _, style: c },
@@ -3445,7 +3408,7 @@ var _i = (
3445
3408
  type: a === "number" ? B.number : a === "date" ? B.date : B.time,
3446
3409
  value: n,
3447
3410
  location: _,
3448
- style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3411
+ style: (o = l?.style) !== null && o !== void 0 ? o : null
3449
3412
  },
3450
3413
  err: null
3451
3414
  };
@@ -3478,7 +3441,7 @@ var _i = (
3478
3441
  val: {
3479
3442
  type: B.select,
3480
3443
  value: n,
3481
- options: jt(O.val),
3444
+ options: Mt(O.val),
3482
3445
  location: A
3483
3446
  },
3484
3447
  err: null
@@ -3486,7 +3449,7 @@ var _i = (
3486
3449
  val: {
3487
3450
  type: B.plural,
3488
3451
  value: n,
3489
- options: jt(O.val),
3452
+ options: Mt(O.val),
3490
3453
  offset: L,
3491
3454
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3492
3455
  location: A
@@ -3495,7 +3458,7 @@ var _i = (
3495
3458
  };
3496
3459
  }
3497
3460
  default:
3498
- return this.error(x.INVALID_ARGUMENT_TYPE, w(s, u));
3461
+ return this.error(x.INVALID_ARGUMENT_TYPE, w(s, h));
3499
3462
  }
3500
3463
  }, e.prototype.tryParseArgumentClose = function(t) {
3501
3464
  return this.isEOF() || this.char() !== 125 ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3537,33 +3500,33 @@ var _i = (
3537
3500
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3538
3501
  var n = [];
3539
3502
  try {
3540
- n = ei(t);
3541
- } catch (i) {
3503
+ n = kn(t);
3504
+ } catch {
3542
3505
  return this.error(x.INVALID_NUMBER_SKELETON, r);
3543
3506
  }
3544
3507
  return {
3545
3508
  val: {
3546
- type: be.number,
3509
+ type: me.number,
3547
3510
  tokens: n,
3548
3511
  location: r,
3549
- parsedOptions: this.shouldParseSkeletons ? ii(n) : {}
3512
+ parsedOptions: this.shouldParseSkeletons ? Wn(n) : {}
3550
3513
  },
3551
3514
  err: null
3552
3515
  };
3553
3516
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3554
- for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3517
+ for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
3555
3518
  if (l.length === 0) {
3556
3519
  var d = this.clonePosition();
3557
3520
  if (r !== "select" && this.bumpIf("=")) {
3558
3521
  var c = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
3559
3522
  if (c.err)
3560
3523
  return c;
3561
- h = w(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
3524
+ u = w(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
3562
3525
  } else
3563
3526
  break;
3564
3527
  }
3565
- if (u.has(l))
3566
- return this.error(r === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3528
+ if (h.has(l))
3529
+ return this.error(r === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3567
3530
  l === "other" && (s = !0), this.bumpSpace();
3568
3531
  var m = this.clonePosition();
3569
3532
  if (!this.bumpIf("{"))
@@ -3580,7 +3543,7 @@ var _i = (
3580
3543
  value: b.val,
3581
3544
  location: w(m, this.clonePosition())
3582
3545
  }
3583
- ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3546
+ ]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
3584
3547
  }
3585
3548
  return a.length === 0 ? this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(x.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3586
3549
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -3593,8 +3556,8 @@ var _i = (
3593
3556
  else
3594
3557
  break;
3595
3558
  }
3596
- var u = w(i, this.clonePosition());
3597
- return o ? (s *= n, bi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3559
+ var h = w(i, this.clonePosition());
3560
+ return o ? (s *= n, ii(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3598
3561
  }, e.prototype.offset = function() {
3599
3562
  return this.position.offset;
3600
3563
  }, e.prototype.isEOF = function() {
@@ -3609,7 +3572,7 @@ var _i = (
3609
3572
  var t = this.position.offset;
3610
3573
  if (t >= this.message.length)
3611
3574
  throw Error("out of bound");
3612
- var r = Pr(this.message, t);
3575
+ var r = _r(this.message, t);
3613
3576
  if (r === void 0)
3614
3577
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3615
3578
  return r;
@@ -3628,7 +3591,7 @@ var _i = (
3628
3591
  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);
3629
3592
  }
3630
3593
  }, e.prototype.bumpIf = function(t) {
3631
- if (kt(this.message, t, this.offset())) {
3594
+ if (Nt(this.message, t, this.offset())) {
3632
3595
  for (var r = 0; r < t.length; r++)
3633
3596
  this.bump();
3634
3597
  return !0;
@@ -3650,56 +3613,56 @@ var _i = (
3650
3613
  break;
3651
3614
  }
3652
3615
  }, e.prototype.bumpSpace = function() {
3653
- for (; !this.isEOF() && Cr(this.char()); )
3616
+ for (; !this.isEOF() && Er(this.char()); )
3654
3617
  this.bump();
3655
3618
  }, e.prototype.peek = function() {
3656
3619
  if (this.isEOF())
3657
3620
  return null;
3658
3621
  var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3659
- return n != null ? n : null;
3622
+ return n ?? null;
3660
3623
  }, e;
3661
3624
  }()
3662
3625
  );
3663
- function ft(e) {
3626
+ function ht(e) {
3664
3627
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3665
3628
  }
3666
- function xi(e) {
3667
- return ft(e) || e === 47;
3629
+ function ui(e) {
3630
+ return ht(e) || e === 47;
3668
3631
  }
3669
- function Ei(e) {
3632
+ function hi(e) {
3670
3633
  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;
3671
3634
  }
3672
- function Cr(e) {
3635
+ function Er(e) {
3673
3636
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3674
3637
  }
3675
- function wi(e) {
3638
+ function ci(e) {
3676
3639
  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;
3677
3640
  }
3678
- function dt(e) {
3641
+ function ct(e) {
3679
3642
  e.forEach(function(t) {
3680
- if (delete t.location, vr(t) || _r(t))
3643
+ if (delete t.location, fr(t) || dr(t))
3681
3644
  for (var r in t.options)
3682
- delete t.options[r].location, dt(t.options[r].value);
3683
- else br(t) && Er(t.style) || (gr(t) || yr(t)) && lt(t.style) ? delete t.style.location : xr(t) && dt(t.children);
3645
+ delete t.options[r].location, ct(t.options[r].value);
3646
+ else ur(t) && mr(t.style) || (hr(t) || cr(t)) && st(t.style) ? delete t.style.location : pr(t) && ct(t.children);
3684
3647
  });
3685
3648
  }
3686
- function Si(e, t) {
3649
+ function fi(e, t) {
3687
3650
  t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3688
- var r = new _i(e, t).parse();
3651
+ var r = new li(e, t).parse();
3689
3652
  if (r.err) {
3690
3653
  var n = SyntaxError(x[r.err.kind]);
3691
3654
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3692
3655
  }
3693
- return t != null && t.captureLocation || dt(r.val), r.val;
3656
+ return t?.captureLocation || ct(r.val), r.val;
3694
3657
  }
3695
- var ge;
3658
+ var be;
3696
3659
  (function(e) {
3697
3660
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3698
- })(ge || (ge = {}));
3699
- var je = (
3661
+ })(be || (be = {}));
3662
+ var ke = (
3700
3663
  /** @class */
3701
3664
  function(e) {
3702
- J(t, e);
3665
+ Z(t, e);
3703
3666
  function t(r, n, i) {
3704
3667
  var o = e.call(this, r) || this;
3705
3668
  return o.code = n, o.originalMessage = i, o;
@@ -3708,155 +3671,155 @@ var je = (
3708
3671
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3709
3672
  }, t;
3710
3673
  }(Error)
3711
- ), Xt = (
3674
+ ), Dt = (
3712
3675
  /** @class */
3713
3676
  function(e) {
3714
- J(t, e);
3677
+ Z(t, e);
3715
3678
  function t(r, n, i, o) {
3716
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ge.INVALID_VALUE, o) || this;
3679
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), be.INVALID_VALUE, o) || this;
3717
3680
  }
3718
3681
  return t;
3719
- }(je)
3720
- ), Ti = (
3682
+ }(ke)
3683
+ ), di = (
3721
3684
  /** @class */
3722
3685
  function(e) {
3723
- J(t, e);
3686
+ Z(t, e);
3724
3687
  function t(r, n, i) {
3725
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ge.INVALID_VALUE, i) || this;
3688
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), be.INVALID_VALUE, i) || this;
3726
3689
  }
3727
3690
  return t;
3728
- }(je)
3729
- ), Hi = (
3691
+ }(ke)
3692
+ ), pi = (
3730
3693
  /** @class */
3731
3694
  function(e) {
3732
- J(t, e);
3695
+ Z(t, e);
3733
3696
  function t(r, n) {
3734
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ge.MISSING_VALUE, n) || this;
3697
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), be.MISSING_VALUE, n) || this;
3735
3698
  }
3736
3699
  return t;
3737
- }(je)
3738
- ), D;
3700
+ }(ke)
3701
+ ), R;
3739
3702
  (function(e) {
3740
3703
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3741
- })(D || (D = {}));
3742
- function Pi(e) {
3704
+ })(R || (R = {}));
3705
+ function mi(e) {
3743
3706
  return e.length < 2 ? e : e.reduce(function(t, r) {
3744
3707
  var n = t[t.length - 1];
3745
- return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
3708
+ return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3746
3709
  }, []);
3747
3710
  }
3748
- function Ai(e) {
3711
+ function bi(e) {
3749
3712
  return typeof e == "function";
3750
3713
  }
3751
- function Me(e, t, r, n, i, o, s) {
3752
- if (e.length === 1 && Dt(e[0]))
3714
+ function Ne(e, t, r, n, i, o, s) {
3715
+ if (e.length === 1 && Bt(e[0]))
3753
3716
  return [
3754
3717
  {
3755
- type: D.literal,
3718
+ type: R.literal,
3756
3719
  value: e[0].value
3757
3720
  }
3758
3721
  ];
3759
- for (var a = [], u = 0, l = e; u < l.length; u++) {
3760
- var h = l[u];
3761
- if (Dt(h)) {
3722
+ for (var a = [], h = 0, l = e; h < l.length; h++) {
3723
+ var u = l[h];
3724
+ if (Bt(u)) {
3762
3725
  a.push({
3763
- type: D.literal,
3764
- value: h.value
3726
+ type: R.literal,
3727
+ value: u.value
3765
3728
  });
3766
3729
  continue;
3767
3730
  }
3768
- if (Qn(h)) {
3731
+ if (Dn(u)) {
3769
3732
  typeof o == "number" && a.push({
3770
- type: D.literal,
3733
+ type: R.literal,
3771
3734
  value: r.getNumberFormat(t).format(o)
3772
3735
  });
3773
3736
  continue;
3774
3737
  }
3775
- var d = h.value;
3738
+ var d = u.value;
3776
3739
  if (!(i && d in i))
3777
- throw new Hi(d, s);
3740
+ throw new pi(d, s);
3778
3741
  var c = i[d];
3779
- if (Jn(h)) {
3742
+ if (Rn(u)) {
3780
3743
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3781
- type: typeof c == "string" ? D.literal : D.object,
3744
+ type: typeof c == "string" ? R.literal : R.object,
3782
3745
  value: c
3783
3746
  });
3784
3747
  continue;
3785
3748
  }
3786
- if (gr(h)) {
3787
- var m = typeof h.style == "string" ? n.date[h.style] : lt(h.style) ? h.style.parsedOptions : void 0;
3749
+ if (hr(u)) {
3750
+ var m = typeof u.style == "string" ? n.date[u.style] : st(u.style) ? u.style.parsedOptions : void 0;
3788
3751
  a.push({
3789
- type: D.literal,
3752
+ type: R.literal,
3790
3753
  value: r.getDateTimeFormat(t, m).format(c)
3791
3754
  });
3792
3755
  continue;
3793
3756
  }
3794
- if (yr(h)) {
3795
- var m = typeof h.style == "string" ? n.time[h.style] : lt(h.style) ? h.style.parsedOptions : n.time.medium;
3757
+ if (cr(u)) {
3758
+ var m = typeof u.style == "string" ? n.time[u.style] : st(u.style) ? u.style.parsedOptions : n.time.medium;
3796
3759
  a.push({
3797
- type: D.literal,
3760
+ type: R.literal,
3798
3761
  value: r.getDateTimeFormat(t, m).format(c)
3799
3762
  });
3800
3763
  continue;
3801
3764
  }
3802
- if (br(h)) {
3803
- var m = typeof h.style == "string" ? n.number[h.style] : Er(h.style) ? h.style.parsedOptions : void 0;
3765
+ if (ur(u)) {
3766
+ var m = typeof u.style == "string" ? n.number[u.style] : mr(u.style) ? u.style.parsedOptions : void 0;
3804
3767
  m && m.scale && (c = c * (m.scale || 1)), a.push({
3805
- type: D.literal,
3768
+ type: R.literal,
3806
3769
  value: r.getNumberFormat(t, m).format(c)
3807
3770
  });
3808
3771
  continue;
3809
3772
  }
3810
- if (xr(h)) {
3811
- var b = h.children, _ = h.value, T = i[_];
3812
- if (!Ai(T))
3813
- throw new Ti(_, "function", s);
3814
- var y = Me(b, t, r, n, i, o), H = T(y.map(function(L) {
3773
+ if (pr(u)) {
3774
+ var b = u.children, _ = u.value, T = i[_];
3775
+ if (!bi(T))
3776
+ throw new di(_, "function", s);
3777
+ var y = Ne(b, t, r, n, i, o), H = T(y.map(function(L) {
3815
3778
  return L.value;
3816
3779
  }));
3817
3780
  Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(L) {
3818
3781
  return {
3819
- type: typeof L == "string" ? D.literal : D.object,
3782
+ type: typeof L == "string" ? R.literal : R.object,
3820
3783
  value: L
3821
3784
  };
3822
3785
  }));
3823
3786
  }
3824
- if (vr(h)) {
3825
- var E = h.options[c] || h.options.other;
3787
+ if (fr(u)) {
3788
+ var E = u.options[c] || u.options.other;
3826
3789
  if (!E)
3827
- throw new Xt(h.value, c, Object.keys(h.options), s);
3828
- a.push.apply(a, Me(E.value, t, r, n, i));
3790
+ throw new Dt(u.value, c, Object.keys(u.options), s);
3791
+ a.push.apply(a, Ne(E.value, t, r, n, i));
3829
3792
  continue;
3830
3793
  }
3831
- if (_r(h)) {
3832
- var E = h.options["=".concat(c)];
3794
+ if (dr(u)) {
3795
+ var E = u.options["=".concat(c)];
3833
3796
  if (!E) {
3834
3797
  if (!Intl.PluralRules)
3835
- throw new je(`Intl.PluralRules is not available in this environment.
3798
+ throw new ke(`Intl.PluralRules is not available in this environment.
3836
3799
  Try polyfilling it using "@formatjs/intl-pluralrules"
3837
- `, ge.MISSING_INTL_API, s);
3838
- var N = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3839
- E = h.options[N] || h.options.other;
3800
+ `, be.MISSING_INTL_API, s);
3801
+ var N = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3802
+ E = u.options[N] || u.options.other;
3840
3803
  }
3841
3804
  if (!E)
3842
- throw new Xt(h.value, c, Object.keys(h.options), s);
3843
- a.push.apply(a, Me(E.value, t, r, n, i, c - (h.offset || 0)));
3805
+ throw new Dt(u.value, c, Object.keys(u.options), s);
3806
+ a.push.apply(a, Ne(E.value, t, r, n, i, c - (u.offset || 0)));
3844
3807
  continue;
3845
3808
  }
3846
3809
  }
3847
- return Pi(a);
3810
+ return mi(a);
3848
3811
  }
3849
- function Ci(e, t) {
3812
+ function gi(e, t) {
3850
3813
  return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3851
3814
  return r[n] = S(S({}, e[n]), t[n] || {}), r;
3852
3815
  }, {})) : e;
3853
3816
  }
3854
- function Fi(e, t) {
3817
+ function yi(e, t) {
3855
3818
  return t ? Object.keys(e).reduce(function(r, n) {
3856
- return r[n] = Ci(e[n], t[n]), r;
3819
+ return r[n] = gi(e[n], t[n]), r;
3857
3820
  }, S({}, e)) : e;
3858
3821
  }
3859
- function Ye(e) {
3822
+ function Qe(e) {
3860
3823
  return {
3861
3824
  create: function() {
3862
3825
  return {
@@ -3870,39 +3833,39 @@ function Ye(e) {
3870
3833
  }
3871
3834
  };
3872
3835
  }
3873
- function Bi(e) {
3836
+ function vi(e) {
3874
3837
  return e === void 0 && (e = {
3875
3838
  number: {},
3876
3839
  dateTime: {},
3877
3840
  pluralRules: {}
3878
3841
  }), {
3879
- getNumberFormat: Je(function() {
3842
+ getNumberFormat: ze(function() {
3880
3843
  for (var t, r = [], n = 0; n < arguments.length; n++)
3881
3844
  r[n] = arguments[n];
3882
- return new ((t = Intl.NumberFormat).bind.apply(t, pe([void 0], r, !1)))();
3845
+ return new ((t = Intl.NumberFormat).bind.apply(t, de([void 0], r, !1)))();
3883
3846
  }, {
3884
- cache: Ye(e.number),
3885
- strategy: Qe.variadic
3847
+ cache: Qe(e.number),
3848
+ strategy: Ze.variadic
3886
3849
  }),
3887
- getDateTimeFormat: Je(function() {
3850
+ getDateTimeFormat: ze(function() {
3888
3851
  for (var t, r = [], n = 0; n < arguments.length; n++)
3889
3852
  r[n] = arguments[n];
3890
- return new ((t = Intl.DateTimeFormat).bind.apply(t, pe([void 0], r, !1)))();
3853
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, de([void 0], r, !1)))();
3891
3854
  }, {
3892
- cache: Ye(e.dateTime),
3893
- strategy: Qe.variadic
3855
+ cache: Qe(e.dateTime),
3856
+ strategy: Ze.variadic
3894
3857
  }),
3895
- getPluralRules: Je(function() {
3858
+ getPluralRules: ze(function() {
3896
3859
  for (var t, r = [], n = 0; n < arguments.length; n++)
3897
3860
  r[n] = arguments[n];
3898
- return new ((t = Intl.PluralRules).bind.apply(t, pe([void 0], r, !1)))();
3861
+ return new ((t = Intl.PluralRules).bind.apply(t, de([void 0], r, !1)))();
3899
3862
  }, {
3900
- cache: Ye(e.pluralRules),
3901
- strategy: Qe.variadic
3863
+ cache: Qe(e.pluralRules),
3864
+ strategy: Ze.variadic
3902
3865
  })
3903
3866
  };
3904
3867
  }
3905
- var Oi = (
3868
+ var _i = (
3906
3869
  /** @class */
3907
3870
  function() {
3908
3871
  function e(t, r, n, i) {
@@ -3912,20 +3875,20 @@ var Oi = (
3912
3875
  number: {},
3913
3876
  dateTime: {},
3914
3877
  pluralRules: {}
3915
- }, this.format = function(u) {
3916
- var l = o.formatToParts(u);
3878
+ }, this.format = function(h) {
3879
+ var l = o.formatToParts(h);
3917
3880
  if (l.length === 1)
3918
3881
  return l[0].value;
3919
- var h = l.reduce(function(d, c) {
3920
- return !d.length || c.type !== D.literal || typeof d[d.length - 1] != "string" ? d.push(c.value) : d[d.length - 1] += c.value, d;
3882
+ var u = l.reduce(function(d, c) {
3883
+ return !d.length || c.type !== R.literal || typeof d[d.length - 1] != "string" ? d.push(c.value) : d[d.length - 1] += c.value, d;
3921
3884
  }, []);
3922
- return h.length <= 1 ? h[0] || "" : h;
3923
- }, this.formatToParts = function(u) {
3924
- return Me(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3885
+ return u.length <= 1 ? u[0] || "" : u;
3886
+ }, this.formatToParts = function(h) {
3887
+ return Ne(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3925
3888
  }, this.resolvedOptions = function() {
3926
- var u;
3889
+ var h;
3927
3890
  return {
3928
- locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3891
+ locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3929
3892
  };
3930
3893
  }, this.getAst = function() {
3931
3894
  return o.ast;
@@ -3934,13 +3897,13 @@ var Oi = (
3934
3897
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3935
3898
  var s = i || {};
3936
3899
  s.formatters;
3937
- var a = hn(s, ["formatters"]);
3900
+ var a = qr(s, ["formatters"]);
3938
3901
  this.ast = e.__parse(t, S(S({}, a), { locale: this.resolvedLocale }));
3939
3902
  } else
3940
3903
  this.ast = t;
3941
3904
  if (!Array.isArray(this.ast))
3942
3905
  throw new TypeError("A message must be provided as a String or AST.");
3943
- this.formats = Fi(e.formats, n), this.formatters = i && i.formatters || Bi(this.formatterCache);
3906
+ this.formats = yi(e.formats, n), this.formatters = i && i.formatters || vi(this.formatterCache);
3944
3907
  }
3945
3908
  return Object.defineProperty(e, "defaultLocale", {
3946
3909
  get: function() {
@@ -3949,11 +3912,11 @@ var Oi = (
3949
3912
  enumerable: !1,
3950
3913
  configurable: !0
3951
3914
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3952
- if (typeof Intl.Locale != "undefined") {
3915
+ if (!(typeof Intl.Locale > "u")) {
3953
3916
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3954
3917
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3955
3918
  }
3956
- }, e.__parse = Si, e.formats = {
3919
+ }, e.__parse = fi, e.formats = {
3957
3920
  number: {
3958
3921
  integer: {
3959
3922
  maximumFractionDigits: 0
@@ -4014,7 +3977,7 @@ var Oi = (
4014
3977
  }, e;
4015
3978
  }()
4016
3979
  );
4017
- function Ii(e, t) {
3980
+ function xi(e, t) {
4018
3981
  if (t == null)
4019
3982
  return;
4020
3983
  if (t in e)
@@ -4035,92 +3998,92 @@ function Ii(e, t) {
4035
3998
  n = void 0;
4036
3999
  return n;
4037
4000
  }
4038
- const q = {}, Li = (e, t, r) => r && (t in q || (q[t] = {}), e in q[t] || (q[t][e] = r), r), Fr = (e, t) => {
4001
+ const Q = {}, Ei = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), wr = (e, t) => {
4039
4002
  if (t == null)
4040
4003
  return;
4041
- if (t in q && e in q[t])
4042
- return q[t][e];
4043
- const r = Ve(t);
4004
+ if (t in Q && e in Q[t])
4005
+ return Q[t][e];
4006
+ const r = je(t);
4044
4007
  for (let n = 0; n < r.length; n++) {
4045
- const i = r[n], o = Mi(i, e);
4008
+ const i = r[n], o = Si(i, e);
4046
4009
  if (o)
4047
- return Li(e, t, o);
4010
+ return Ei(e, t, o);
4048
4011
  }
4049
4012
  };
4050
- let yt;
4051
- const _e = ke({});
4052
- function Ni(e) {
4053
- return yt[e] || null;
4013
+ let bt;
4014
+ const ve = Ge({});
4015
+ function wi(e) {
4016
+ return bt[e] || null;
4054
4017
  }
4055
- function Br(e) {
4056
- return e in yt;
4018
+ function Sr(e) {
4019
+ return e in bt;
4057
4020
  }
4058
- function Mi(e, t) {
4059
- if (!Br(e))
4021
+ function Si(e, t) {
4022
+ if (!Sr(e))
4060
4023
  return null;
4061
- const r = Ni(e);
4062
- return Ii(r, t);
4024
+ const r = wi(e);
4025
+ return xi(r, t);
4063
4026
  }
4064
- function Ri(e) {
4027
+ function Ti(e) {
4065
4028
  if (e == null)
4066
4029
  return;
4067
- const t = Ve(e);
4030
+ const t = je(e);
4068
4031
  for (let r = 0; r < t.length; r++) {
4069
4032
  const n = t[r];
4070
- if (Br(n))
4033
+ if (Sr(n))
4071
4034
  return n;
4072
4035
  }
4073
4036
  }
4074
- function Or(e, ...t) {
4075
- delete q[e], _e.update((r) => (r[e] = Gn.all([r[e] || {}, ...t]), r));
4037
+ function Tr(e, ...t) {
4038
+ delete Q[e], ve.update((r) => (r[e] = Cn.all([r[e] || {}, ...t]), r));
4076
4039
  }
4077
- ve(
4078
- [_e],
4040
+ ye(
4041
+ [ve],
4079
4042
  ([e]) => Object.keys(e)
4080
4043
  );
4081
- _e.subscribe((e) => yt = e);
4082
- const Re = {};
4083
- function Di(e, t) {
4084
- Re[e].delete(t), Re[e].size === 0 && delete Re[e];
4044
+ ve.subscribe((e) => bt = e);
4045
+ const Me = {};
4046
+ function Hi(e, t) {
4047
+ Me[e].delete(t), Me[e].size === 0 && delete Me[e];
4085
4048
  }
4086
- function Ir(e) {
4087
- return Re[e];
4049
+ function Hr(e) {
4050
+ return Me[e];
4088
4051
  }
4089
- function $i(e) {
4090
- return Ve(e).map((t) => {
4091
- const r = Ir(t);
4052
+ function Pi(e) {
4053
+ return je(e).map((t) => {
4054
+ const r = Hr(t);
4092
4055
  return [t, r ? [...r] : []];
4093
4056
  }).filter(([, t]) => t.length > 0);
4094
4057
  }
4095
- function pt(e) {
4096
- return e == null ? !1 : Ve(e).some(
4058
+ function ft(e) {
4059
+ return e == null ? !1 : je(e).some(
4097
4060
  (t) => {
4098
4061
  var r;
4099
- return (r = Ir(t)) == null ? void 0 : r.size;
4062
+ return (r = Hr(t)) == null ? void 0 : r.size;
4100
4063
  }
4101
4064
  );
4102
4065
  }
4103
- function Ui(e, t) {
4066
+ function Ai(e, t) {
4104
4067
  return Promise.all(
4105
- t.map((n) => (Di(e, n), n().then((i) => i.default || i)))
4106
- ).then((n) => Or(e, ...n));
4107
- }
4108
- const Ee = {};
4109
- function Lr(e) {
4110
- if (!pt(e))
4111
- return e in Ee ? Ee[e] : Promise.resolve();
4112
- const t = $i(e);
4113
- return Ee[e] = Promise.all(
4068
+ t.map((n) => (Hi(e, n), n().then((i) => i.default || i)))
4069
+ ).then((n) => Tr(e, ...n));
4070
+ }
4071
+ const xe = {};
4072
+ function Pr(e) {
4073
+ if (!ft(e))
4074
+ return e in xe ? xe[e] : Promise.resolve();
4075
+ const t = Pi(e);
4076
+ return xe[e] = Promise.all(
4114
4077
  t.map(
4115
- ([r, n]) => Ui(r, n)
4078
+ ([r, n]) => Ai(r, n)
4116
4079
  )
4117
4080
  ).then(() => {
4118
- if (pt(e))
4119
- return Lr(e);
4120
- delete Ee[e];
4121
- }), Ee[e];
4081
+ if (ft(e))
4082
+ return Pr(e);
4083
+ delete xe[e];
4084
+ }), xe[e];
4122
4085
  }
4123
- const Gi = {
4086
+ const Ci = {
4124
4087
  number: {
4125
4088
  scientific: { notation: "scientific" },
4126
4089
  engineering: { notation: "engineering" },
@@ -4149,159 +4112,159 @@ const Gi = {
4149
4112
  timeZoneName: "short"
4150
4113
  }
4151
4114
  }
4152
- }, ki = {
4115
+ }, Fi = {
4153
4116
  fallbackLocale: null,
4154
4117
  loadingDelay: 200,
4155
- formats: Gi,
4118
+ formats: Ci,
4156
4119
  warnOnMissingMessages: !0,
4157
4120
  handleMissingMessage: void 0,
4158
4121
  ignoreTag: !0
4159
- }, ji = ki;
4160
- function ye() {
4161
- return ji;
4122
+ }, Bi = Fi;
4123
+ function ge() {
4124
+ return Bi;
4162
4125
  }
4163
- const Ke = ke(!1);
4164
- var Vi = Object.defineProperty, Xi = Object.defineProperties, Wi = Object.getOwnPropertyDescriptors, Wt = Object.getOwnPropertySymbols, zi = Object.prototype.hasOwnProperty, Zi = Object.prototype.propertyIsEnumerable, zt = (e, t, r) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ji = (e, t) => {
4126
+ const qe = Ge(!1);
4127
+ var Oi = Object.defineProperty, Ii = Object.defineProperties, Li = Object.getOwnPropertyDescriptors, $t = Object.getOwnPropertySymbols, Ni = Object.prototype.hasOwnProperty, Mi = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ri = (e, t) => {
4165
4128
  for (var r in t)
4166
- zi.call(t, r) && zt(e, r, t[r]);
4167
- if (Wt)
4168
- for (var r of Wt(t))
4169
- Zi.call(t, r) && zt(e, r, t[r]);
4129
+ Ni.call(t, r) && Ut(e, r, t[r]);
4130
+ if ($t)
4131
+ for (var r of $t(t))
4132
+ Mi.call(t, r) && Ut(e, r, t[r]);
4170
4133
  return e;
4171
- }, Qi = (e, t) => Xi(e, Wi(t));
4172
- let mt;
4173
- const $e = ke(null);
4174
- function Zt(e) {
4134
+ }, Di = (e, t) => Ii(e, Li(t));
4135
+ let dt;
4136
+ const De = Ge(null);
4137
+ function Gt(e) {
4175
4138
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4176
4139
  }
4177
- function Ve(e, t = ye().fallbackLocale) {
4178
- const r = Zt(e);
4179
- return t ? [.../* @__PURE__ */ new Set([...r, ...Zt(t)])] : r;
4140
+ function je(e, t = ge().fallbackLocale) {
4141
+ const r = Gt(e);
4142
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Gt(t)])] : r;
4180
4143
  }
4181
- function ne() {
4182
- return mt != null ? mt : void 0;
4144
+ function re() {
4145
+ return dt ?? void 0;
4183
4146
  }
4184
- $e.subscribe((e) => {
4185
- mt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4147
+ De.subscribe((e) => {
4148
+ dt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4186
4149
  });
4187
- const qi = (e) => {
4188
- if (e && Ri(e) && pt(e)) {
4189
- const { loadingDelay: t } = ye();
4150
+ const $i = (e) => {
4151
+ if (e && Ti(e) && ft(e)) {
4152
+ const { loadingDelay: t } = ge();
4190
4153
  let r;
4191
- return typeof window != "undefined" && ne() != null && t ? r = window.setTimeout(
4192
- () => Ke.set(!0),
4154
+ return typeof window < "u" && re() != null && t ? r = window.setTimeout(
4155
+ () => qe.set(!0),
4193
4156
  t
4194
- ) : Ke.set(!0), Lr(e).then(() => {
4195
- $e.set(e);
4157
+ ) : qe.set(!0), Pr(e).then(() => {
4158
+ De.set(e);
4196
4159
  }).finally(() => {
4197
- clearTimeout(r), Ke.set(!1);
4160
+ clearTimeout(r), qe.set(!1);
4198
4161
  });
4199
4162
  }
4200
- return $e.set(e);
4201
- }, re = Qi(Ji({}, $e), {
4202
- set: qi
4203
- }), Xe = (e) => {
4163
+ return De.set(e);
4164
+ }, te = Di(Ri({}, De), {
4165
+ set: $i
4166
+ }), Ve = (e) => {
4204
4167
  const t = /* @__PURE__ */ Object.create(null);
4205
4168
  return (n) => {
4206
4169
  const i = JSON.stringify(n);
4207
4170
  return i in t ? t[i] : t[i] = e(n);
4208
4171
  };
4209
4172
  };
4210
- var Yi = Object.defineProperty, Ue = Object.getOwnPropertySymbols, Nr = Object.prototype.hasOwnProperty, Mr = Object.prototype.propertyIsEnumerable, Jt = (e, t, r) => t in e ? Yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vt = (e, t) => {
4173
+ var Ui = Object.defineProperty, $e = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Cr = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
4211
4174
  for (var r in t || (t = {}))
4212
- Nr.call(t, r) && Jt(e, r, t[r]);
4213
- if (Ue)
4214
- for (var r of Ue(t))
4215
- Mr.call(t, r) && Jt(e, r, t[r]);
4175
+ Ar.call(t, r) && kt(e, r, t[r]);
4176
+ if ($e)
4177
+ for (var r of $e(t))
4178
+ Cr.call(t, r) && kt(e, r, t[r]);
4216
4179
  return e;
4217
- }, xe = (e, t) => {
4180
+ }, _e = (e, t) => {
4218
4181
  var r = {};
4219
4182
  for (var n in e)
4220
- Nr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4221
- if (e != null && Ue)
4222
- for (var n of Ue(e))
4223
- t.indexOf(n) < 0 && Mr.call(e, n) && (r[n] = e[n]);
4183
+ Ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4184
+ if (e != null && $e)
4185
+ for (var n of $e(e))
4186
+ t.indexOf(n) < 0 && Cr.call(e, n) && (r[n] = e[n]);
4224
4187
  return r;
4225
4188
  };
4226
- const Pe = (e, t) => {
4227
- const { formats: r } = ye();
4189
+ const He = (e, t) => {
4190
+ const { formats: r } = ge();
4228
4191
  if (e in r && t in r[e])
4229
4192
  return r[e][t];
4230
4193
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4231
- }, Ki = Xe(
4194
+ }, Gi = Ve(
4232
4195
  (e) => {
4233
- var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4196
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4234
4197
  if (r == null)
4235
4198
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4236
- return n && (i = Pe("number", n)), new Intl.NumberFormat(r, i);
4199
+ return n && (i = He("number", n)), new Intl.NumberFormat(r, i);
4237
4200
  }
4238
- ), eo = Xe(
4201
+ ), ki = Ve(
4239
4202
  (e) => {
4240
- var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4203
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4241
4204
  if (r == null)
4242
4205
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4243
- return n ? i = Pe("date", n) : Object.keys(i).length === 0 && (i = Pe("date", "short")), new Intl.DateTimeFormat(r, i);
4206
+ return n ? i = He("date", n) : Object.keys(i).length === 0 && (i = He("date", "short")), new Intl.DateTimeFormat(r, i);
4244
4207
  }
4245
- ), to = Xe(
4208
+ ), ji = Ve(
4246
4209
  (e) => {
4247
- var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4210
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4248
4211
  if (r == null)
4249
4212
  throw new Error(
4250
4213
  '[svelte-i18n] A "locale" must be set to format time values'
4251
4214
  );
4252
- return n ? i = Pe("time", n) : Object.keys(i).length === 0 && (i = Pe("time", "short")), new Intl.DateTimeFormat(r, i);
4215
+ return n ? i = He("time", n) : Object.keys(i).length === 0 && (i = He("time", "short")), new Intl.DateTimeFormat(r, i);
4253
4216
  }
4254
- ), ro = (e = {}) => {
4217
+ ), Vi = (e = {}) => {
4255
4218
  var t = e, {
4256
- locale: r = ne()
4257
- } = t, n = xe(t, [
4219
+ locale: r = re()
4220
+ } = t, n = _e(t, [
4258
4221
  "locale"
4259
4222
  ]);
4260
- return Ki(vt({ locale: r }, n));
4261
- }, no = (e = {}) => {
4223
+ return Gi(gt({ locale: r }, n));
4224
+ }, Xi = (e = {}) => {
4262
4225
  var t = e, {
4263
- locale: r = ne()
4264
- } = t, n = xe(t, [
4226
+ locale: r = re()
4227
+ } = t, n = _e(t, [
4265
4228
  "locale"
4266
4229
  ]);
4267
- return eo(vt({ locale: r }, n));
4268
- }, io = (e = {}) => {
4230
+ return ki(gt({ locale: r }, n));
4231
+ }, Wi = (e = {}) => {
4269
4232
  var t = e, {
4270
- locale: r = ne()
4271
- } = t, n = xe(t, [
4233
+ locale: r = re()
4234
+ } = t, n = _e(t, [
4272
4235
  "locale"
4273
4236
  ]);
4274
- return to(vt({ locale: r }, n));
4275
- }, oo = Xe(
4237
+ return ji(gt({ locale: r }, n));
4238
+ }, zi = Ve(
4276
4239
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4277
- (e, t = ne()) => new Oi(e, t, ye().formats, {
4278
- ignoreTag: ye().ignoreTag
4240
+ (e, t = re()) => new _i(e, t, ge().formats, {
4241
+ ignoreTag: ge().ignoreTag
4279
4242
  })
4280
- ), so = (e, t = {}) => {
4243
+ ), Zi = (e, t = {}) => {
4281
4244
  var r, n, i, o;
4282
4245
  let s = t;
4283
4246
  typeof e == "object" && (s = e, e = s.id);
4284
4247
  const {
4285
4248
  values: a,
4286
- locale: u = ne(),
4249
+ locale: h = re(),
4287
4250
  default: l
4288
4251
  } = s;
4289
- if (u == null)
4252
+ if (h == null)
4290
4253
  throw new Error(
4291
4254
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4292
4255
  );
4293
- let h = Fr(e, u);
4294
- if (!h)
4295
- h = (o = (i = (n = (r = ye()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4296
- else if (typeof h != "string")
4256
+ let u = wr(e, h);
4257
+ if (!u)
4258
+ u = (o = (i = (n = (r = ge()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4259
+ else if (typeof u != "string")
4297
4260
  return console.warn(
4298
- `[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.`
4299
- ), h;
4261
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4262
+ ), u;
4300
4263
  if (!a)
4301
- return h;
4302
- let d = h;
4264
+ return u;
4265
+ let d = u;
4303
4266
  try {
4304
- d = oo(h, u).format(a);
4267
+ d = zi(u, h).format(a);
4305
4268
  } catch (c) {
4306
4269
  c instanceof Error && console.warn(
4307
4270
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4309,16 +4272,16 @@ const Pe = (e, t) => {
4309
4272
  );
4310
4273
  }
4311
4274
  return d;
4312
- }, ao = (e, t) => io(t).format(e), lo = (e, t) => no(t).format(e), uo = (e, t) => ro(t).format(e), ho = (e, t = ne()) => Fr(e, t), co = ve([re, _e], () => so);
4313
- ve([re], () => ao);
4314
- ve([re], () => lo);
4315
- ve([re], () => uo);
4316
- ve([re, _e], () => ho);
4317
- window.emWidgets = { topic: Sn };
4318
- const fo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), po = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4319
- function Lo(e, t) {
4275
+ }, Ji = (e, t) => Wi(t).format(e), Qi = (e, t) => Xi(t).format(e), qi = (e, t) => Vi(t).format(e), Yi = (e, t = re()) => wr(e, t), Ki = ye([te, ve], () => Zi);
4276
+ ye([te], () => Ji);
4277
+ ye([te], () => Qi);
4278
+ ye([te], () => qi);
4279
+ ye([te, ve], () => Yi);
4280
+ window.emWidgets = { topic: fn };
4281
+ const eo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), to = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4282
+ function xo(e, t) {
4320
4283
  const r = window.navigator.userAgent;
4321
- return fo(r) ? t = e.filter((n) => {
4284
+ return eo(r) ? t = e.filter((n) => {
4322
4285
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4323
4286
  return n;
4324
4287
  }) : t = e.filter((n) => {
@@ -4326,15 +4289,15 @@ function Lo(e, t) {
4326
4289
  return n;
4327
4290
  }), t;
4328
4291
  }
4329
- function mo({ withLocale: e, translations: t }) {
4330
- re.subscribe((r) => {
4331
- r == null && (_e.set(t), re.set(e));
4292
+ function ro({ withLocale: e, translations: t }) {
4293
+ te.subscribe((r) => {
4294
+ r == null && (ve.set(t), te.set(e));
4332
4295
  });
4333
4296
  }
4334
- function Qt(e, t) {
4335
- Or(e, t);
4297
+ function jt(e, t) {
4298
+ Tr(e, t);
4336
4299
  }
4337
- const qt = {
4300
+ const Vt = {
4338
4301
  en: {
4339
4302
  providers: "Providers:",
4340
4303
  filterby: "Filter by:",
@@ -4444,230 +4407,230 @@ const qt = {
4444
4407
  clear: "Clear all"
4445
4408
  }
4446
4409
  };
4447
- function bo(e) {
4448
- Xr(e, "svelte-1v7rv6n", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
4410
+ function no(e) {
4411
+ Ir(e, "svelte-1v7rv6n", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
4449
4412
  }
4450
- function Yt(e, t, r) {
4413
+ function Xt(e, t, r) {
4451
4414
  const n = e.slice();
4452
4415
  return n[36] = t[r], n[37] = t, n[38] = r, n;
4453
4416
  }
4454
- function go(e) {
4455
- let t, r, n, i, o, s, a, u, l = (
4417
+ function io(e) {
4418
+ let t, r, n, i, o, s, a, h, l = (
4456
4419
  /*$_*/
4457
4420
  e[11]("filterby") + ""
4458
- ), h, d, c, m, b = (
4421
+ ), u, d, c, m, b = (
4459
4422
  /*$_*/
4460
4423
  e[11]("providers") + ""
4461
- ), _, T, y, H, E, N, L, O, A, I, M, z, V, ie = (
4424
+ ), _, T, y, H, E, N, L, O, A, I, M, W, j, ne = (
4462
4425
  /*$_*/
4463
4426
  e[11]("clear") + ""
4464
- ), oe, ee, se, te, ae, Ae;
4465
- function Ce(p, C) {
4427
+ ), ie, K, oe, ee, se, Pe;
4428
+ function Ae(p, C) {
4466
4429
  return (
4467
4430
  /*fullSelection*/
4468
- p[7] ? _o : vo
4431
+ p[7] ? ao : so
4469
4432
  );
4470
4433
  }
4471
- let le = Ce(e), $ = le(e), Q = Ct(
4434
+ let ae = Ae(e), D = ae(e), J = Et(
4472
4435
  /*vendorArray*/
4473
4436
  e[5]
4474
4437
  ), f = [];
4475
- for (let p = 0; p < Q.length; p += 1)
4476
- f[p] = Kt(Yt(e, Q, p));
4438
+ for (let p = 0; p < J.length; p += 1)
4439
+ f[p] = Wt(Xt(e, J, p));
4477
4440
  return {
4478
4441
  c() {
4479
- t = F("div"), r = F("div"), n = F("div"), i = we("svg"), o = we("path"), s = X(), a = F("div"), u = F("span"), h = G(l), d = X(), c = F("div"), m = F("span"), _ = G(b), T = X(), $.c(), y = X(), H = F("span"), E = we("svg"), N = we("path"), A = X(), I = F("div"), M = F("ul");
4442
+ t = F("div"), r = F("div"), n = F("div"), i = Ee("svg"), o = Ee("path"), s = V(), a = F("div"), h = F("span"), u = U(l), d = V(), c = F("div"), m = F("span"), _ = U(b), T = V(), D.c(), y = V(), H = F("span"), E = Ee("svg"), N = Ee("path"), A = V(), I = F("div"), M = F("ul");
4480
4443
  for (let p = 0; p < f.length; p += 1)
4481
4444
  f[p].c();
4482
- z = X(), V = F("button"), oe = G(ie), g(o, "id", "noun_filter_736223"), g(o, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), g(o, "transform", "translate(-5 -6.2)"), g(o, "fill", "#fff"), g(i, "xmlns", "http://www.w3.org/2000/svg"), g(i, "width", "16"), g(i, "height", "16"), g(i, "viewBox", "0 0 16 16"), g(u, "class", "FilterName"), g(c, "class", "FilterValueContainer"), g(a, "class", "FilterTextContainer"), g(n, "class", "FilterMainArea"), g(N, "id", "arrow"), g(N, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), g(N, "transform", "translate(-274.511 -441.088)"), g(N, "fill", "#d1d1d1"), g(E, "xmlns", "http://www.w3.org/2000/svg"), g(E, "width", "14"), g(E, "height", "6.835"), g(E, "viewBox", "0 0 14 6.835"), g(H, "class", L = "TriangleInactive " + /*isFilterActive*/
4445
+ W = V(), j = F("button"), ie = U(ne), g(o, "id", "noun_filter_736223"), g(o, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), g(o, "transform", "translate(-5 -6.2)"), g(o, "fill", "#fff"), g(i, "xmlns", "http://www.w3.org/2000/svg"), g(i, "width", "16"), g(i, "height", "16"), g(i, "viewBox", "0 0 16 16"), g(h, "class", "FilterName"), g(c, "class", "FilterValueContainer"), g(a, "class", "FilterTextContainer"), g(n, "class", "FilterMainArea"), g(N, "id", "arrow"), g(N, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), g(N, "transform", "translate(-274.511 -441.088)"), g(N, "fill", "#d1d1d1"), g(E, "xmlns", "http://www.w3.org/2000/svg"), g(E, "width", "14"), g(E, "height", "6.835"), g(E, "viewBox", "0 0 14 6.835"), g(H, "class", L = "TriangleInactive " + /*isFilterActive*/
4483
4446
  (e[4] ? "TriangleActive" : "")), g(r, "class", O = "FilterSelector " + /*isFilterActive*/
4484
- (e[4] ? "FilterSelectorOpen" : "")), g(M, "class", "FilterDropdown"), g(V, "class", "ClearFilters"), V.disabled = ee = /*fullSelection*/
4447
+ (e[4] ? "FilterSelectorOpen" : "")), g(M, "class", "FilterDropdown"), g(j, "class", "ClearFilters"), j.disabled = K = /*fullSelection*/
4485
4448
  e[7] && /*selectedVendorArray*/
4486
4449
  e[6].length != /*vendorArray*/
4487
- e[5].length, g(I, "class", se = "FilterDropdownContainer " + /*isFilterActive*/
4488
- (e[4] ? "FilterOpen" : "")), g(t, "class", te = "FilterContainer " + /*addfilterselector*/
4450
+ e[5].length, g(I, "class", oe = "FilterDropdownContainer " + /*isFilterActive*/
4451
+ (e[4] ? "FilterOpen" : "")), g(t, "class", ee = "FilterContainer " + /*addfilterselector*/
4489
4452
  (e[0] == "true" && /*addsortingselector*/
4490
4453
  e[1] == "true" ? "FilerContainerSplit" : ""));
4491
4454
  },
4492
4455
  m(p, C) {
4493
- W(p, t, C), v(t, r), v(r, n), v(n, i), v(i, o), v(n, s), v(n, a), v(a, u), v(u, h), v(a, d), v(a, c), v(c, m), v(m, _), v(c, T), $.m(c, null), v(r, y), v(r, H), v(H, E), v(E, N), v(t, A), v(t, I), v(I, M);
4456
+ X(p, t, C), v(t, r), v(r, n), v(n, i), v(i, o), v(n, s), v(n, a), v(a, h), v(h, u), v(a, d), v(a, c), v(c, m), v(m, _), v(c, T), D.m(c, null), v(r, y), v(r, H), v(H, E), v(E, N), v(t, A), v(t, I), v(I, M);
4494
4457
  for (let P = 0; P < f.length; P += 1)
4495
4458
  f[P] && f[P].m(M, null);
4496
- v(I, z), v(I, V), v(V, oe), ae || (Ae = [
4497
- De(
4459
+ v(I, W), v(I, j), v(j, ie), se || (Pe = [
4460
+ Re(
4498
4461
  r,
4499
4462
  "click",
4500
4463
  /*click_handler*/
4501
4464
  e[22]
4502
4465
  ),
4503
- De(
4504
- V,
4466
+ Re(
4467
+ j,
4505
4468
  "click",
4506
4469
  /*click_handler_2*/
4507
4470
  e[25]
4508
4471
  )
4509
- ], ae = !0);
4472
+ ], se = !0);
4510
4473
  },
4511
4474
  p(p, C) {
4512
4475
  if (C[0] & /*$_*/
4513
4476
  2048 && l !== (l = /*$_*/
4514
- p[11]("filterby") + "") && Y(h, l), C[0] & /*$_*/
4477
+ p[11]("filterby") + "") && q(u, l), C[0] & /*$_*/
4515
4478
  2048 && b !== (b = /*$_*/
4516
- p[11]("providers") + "") && Y(_, b), le === (le = Ce(p)) && $ ? $.p(p, C) : ($.d(1), $ = le(p), $ && ($.c(), $.m(c, null))), C[0] & /*isFilterActive*/
4479
+ p[11]("providers") + "") && q(_, b), ae === (ae = Ae(p)) && D ? D.p(p, C) : (D.d(1), D = ae(p), D && (D.c(), D.m(c, null))), C[0] & /*isFilterActive*/
4517
4480
  16 && L !== (L = "TriangleInactive " + /*isFilterActive*/
4518
4481
  (p[4] ? "TriangleActive" : "")) && g(H, "class", L), C[0] & /*isFilterActive*/
4519
4482
  16 && O !== (O = "FilterSelector " + /*isFilterActive*/
4520
4483
  (p[4] ? "FilterSelectorOpen" : "")) && g(r, "class", O), C[0] & /*filterbylogo, vendorArray, filterByVendors*/
4521
4484
  8228) {
4522
- Q = Ct(
4485
+ J = Et(
4523
4486
  /*vendorArray*/
4524
4487
  p[5]
4525
4488
  );
4526
4489
  let P;
4527
- for (P = 0; P < Q.length; P += 1) {
4528
- const ue = Yt(p, Q, P);
4529
- f[P] ? f[P].p(ue, C) : (f[P] = Kt(ue), f[P].c(), f[P].m(M, null));
4490
+ for (P = 0; P < J.length; P += 1) {
4491
+ const le = Xt(p, J, P);
4492
+ f[P] ? f[P].p(le, C) : (f[P] = Wt(le), f[P].c(), f[P].m(M, null));
4530
4493
  }
4531
4494
  for (; P < f.length; P += 1)
4532
4495
  f[P].d(1);
4533
- f.length = Q.length;
4496
+ f.length = J.length;
4534
4497
  }
4535
4498
  C[0] & /*$_*/
4536
- 2048 && ie !== (ie = /*$_*/
4537
- p[11]("clear") + "") && Y(oe, ie), C[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4538
- 224 && ee !== (ee = /*fullSelection*/
4499
+ 2048 && ne !== (ne = /*$_*/
4500
+ p[11]("clear") + "") && q(ie, ne), C[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4501
+ 224 && K !== (K = /*fullSelection*/
4539
4502
  p[7] && /*selectedVendorArray*/
4540
4503
  p[6].length != /*vendorArray*/
4541
- p[5].length) && (V.disabled = ee), C[0] & /*isFilterActive*/
4542
- 16 && se !== (se = "FilterDropdownContainer " + /*isFilterActive*/
4543
- (p[4] ? "FilterOpen" : "")) && g(I, "class", se), C[0] & /*addfilterselector, addsortingselector*/
4544
- 3 && te !== (te = "FilterContainer " + /*addfilterselector*/
4504
+ p[5].length) && (j.disabled = K), C[0] & /*isFilterActive*/
4505
+ 16 && oe !== (oe = "FilterDropdownContainer " + /*isFilterActive*/
4506
+ (p[4] ? "FilterOpen" : "")) && g(I, "class", oe), C[0] & /*addfilterselector, addsortingselector*/
4507
+ 3 && ee !== (ee = "FilterContainer " + /*addfilterselector*/
4545
4508
  (p[0] == "true" && /*addsortingselector*/
4546
- p[1] == "true" ? "FilerContainerSplit" : "")) && g(t, "class", te);
4509
+ p[1] == "true" ? "FilerContainerSplit" : "")) && g(t, "class", ee);
4547
4510
  },
4548
4511
  d(p) {
4549
- p && j(t), $.d(), Zr(f, p), ae = !1, K(Ae);
4512
+ p && k(t), D.d(), Mr(f, p), se = !1, Y(Pe);
4550
4513
  }
4551
4514
  };
4552
4515
  }
4553
- function yo(e) {
4516
+ function oo(e) {
4554
4517
  let t, r = (
4555
4518
  /*$_*/
4556
4519
  e[11]("500") + ""
4557
4520
  ), n;
4558
4521
  return {
4559
4522
  c() {
4560
- t = F("p"), n = G(r), g(t, "class", "SearchLoading");
4523
+ t = F("p"), n = U(r), g(t, "class", "SearchLoading");
4561
4524
  },
4562
4525
  m(i, o) {
4563
- W(i, t, o), v(t, n);
4526
+ X(i, t, o), v(t, n);
4564
4527
  },
4565
4528
  p(i, o) {
4566
4529
  o[0] & /*$_*/
4567
4530
  2048 && r !== (r = /*$_*/
4568
- i[11]("500") + "") && Y(n, r);
4531
+ i[11]("500") + "") && q(n, r);
4569
4532
  },
4570
4533
  d(i) {
4571
- i && j(t);
4534
+ i && k(t);
4572
4535
  }
4573
4536
  };
4574
4537
  }
4575
- function vo(e) {
4538
+ function so(e) {
4576
4539
  let t, r;
4577
4540
  return {
4578
4541
  c() {
4579
- t = F("span"), r = G(
4542
+ t = F("span"), r = U(
4580
4543
  /*selectionNumber*/
4581
4544
  e[8]
4582
4545
  ), g(t, "class", "FilterCounter");
4583
4546
  },
4584
4547
  m(n, i) {
4585
- W(n, t, i), v(t, r);
4548
+ X(n, t, i), v(t, r);
4586
4549
  },
4587
4550
  p(n, i) {
4588
4551
  i[0] & /*selectionNumber*/
4589
- 256 && Y(
4552
+ 256 && q(
4590
4553
  r,
4591
4554
  /*selectionNumber*/
4592
4555
  n[8]
4593
4556
  );
4594
4557
  },
4595
4558
  d(n) {
4596
- n && j(t);
4559
+ n && k(t);
4597
4560
  }
4598
4561
  };
4599
4562
  }
4600
- function _o(e) {
4563
+ function ao(e) {
4601
4564
  let t, r = (
4602
4565
  /*$_*/
4603
4566
  e[11]("all") + ""
4604
4567
  ), n;
4605
4568
  return {
4606
4569
  c() {
4607
- t = F("span"), n = G(r), g(t, "class", "FilterCounter");
4570
+ t = F("span"), n = U(r), g(t, "class", "FilterCounter");
4608
4571
  },
4609
4572
  m(i, o) {
4610
- W(i, t, o), v(t, n);
4573
+ X(i, t, o), v(t, n);
4611
4574
  },
4612
4575
  p(i, o) {
4613
4576
  o[0] & /*$_*/
4614
4577
  2048 && r !== (r = /*$_*/
4615
- i[11]("all") + "") && Y(n, r);
4578
+ i[11]("all") + "") && q(n, r);
4616
4579
  },
4617
4580
  d(i) {
4618
- i && j(t);
4581
+ i && k(t);
4619
4582
  }
4620
4583
  };
4621
4584
  }
4622
- function xo(e) {
4585
+ function lo(e) {
4623
4586
  let t, r;
4624
4587
  return {
4625
4588
  c() {
4626
- t = F("img"), Ht(t.src, r = /*vendor*/
4589
+ t = F("img"), vt(t.src, r = /*vendor*/
4627
4590
  e[36].logo) || g(t, "src", r), g(t, "alt", "vendor logo");
4628
4591
  },
4629
4592
  m(n, i) {
4630
- W(n, t, i);
4593
+ X(n, t, i);
4631
4594
  },
4632
4595
  p(n, i) {
4633
4596
  i[0] & /*vendorArray*/
4634
- 32 && !Ht(t.src, r = /*vendor*/
4597
+ 32 && !vt(t.src, r = /*vendor*/
4635
4598
  n[36].logo) && g(t, "src", r);
4636
4599
  },
4637
4600
  d(n) {
4638
- n && j(t);
4601
+ n && k(t);
4639
4602
  }
4640
4603
  };
4641
4604
  }
4642
- function Eo(e) {
4605
+ function uo(e) {
4643
4606
  let t, r, n = (
4644
4607
  /*vendor*/
4645
4608
  e[36].name + ""
4646
- ), i, o, s, a, u = (
4609
+ ), i, o, s, a, h = (
4647
4610
  /*vendor*/
4648
4611
  e[36].games.count + ""
4649
- ), l, h;
4612
+ ), l, u;
4650
4613
  return {
4651
4614
  c() {
4652
- t = F("div"), r = F("span"), i = G(n), o = X(), s = F("span"), a = G("("), l = G(u), h = G(")"), g(r, "class", "VendorName"), g(t, "class", "FilterItemLabel");
4615
+ t = F("div"), r = F("span"), i = U(n), o = V(), s = F("span"), a = U("("), l = U(h), u = U(")"), g(r, "class", "VendorName"), g(t, "class", "FilterItemLabel");
4653
4616
  },
4654
4617
  m(d, c) {
4655
- W(d, t, c), v(t, r), v(r, i), v(t, o), v(t, s), v(s, a), v(s, l), v(s, h);
4618
+ X(d, t, c), v(t, r), v(r, i), v(t, o), v(t, s), v(s, a), v(s, l), v(s, u);
4656
4619
  },
4657
4620
  p(d, c) {
4658
4621
  c[0] & /*vendorArray*/
4659
4622
  32 && n !== (n = /*vendor*/
4660
- d[36].name + "") && Y(i, n), c[0] & /*vendorArray*/
4661
- 32 && u !== (u = /*vendor*/
4662
- d[36].games.count + "") && Y(l, u);
4623
+ d[36].name + "") && q(i, n), c[0] & /*vendorArray*/
4624
+ 32 && h !== (h = /*vendor*/
4625
+ d[36].games.count + "") && q(l, h);
4663
4626
  },
4664
4627
  d(d) {
4665
- d && j(t);
4628
+ d && k(t);
4666
4629
  }
4667
4630
  };
4668
4631
  }
4669
- function Kt(e) {
4670
- let t, r, n, i, o, s, a, u, l, h, d, c;
4632
+ function Wt(e) {
4633
+ let t, r, n, i, o, s, a, h, l, u, d, c;
4671
4634
  function m() {
4672
4635
  e[23].call(
4673
4636
  n,
@@ -4690,52 +4653,52 @@ function Kt(e) {
4690
4653
  if (
4691
4654
  /*filterbylogo*/
4692
4655
  H[2] === "false"
4693
- ) return Eo;
4656
+ ) return uo;
4694
4657
  if (
4695
4658
  /*filterbylogo*/
4696
4659
  H[2] === "true"
4697
- ) return xo;
4660
+ ) return lo;
4698
4661
  }
4699
4662
  let T = _(e), y = T && T(e);
4700
4663
  return {
4701
4664
  c() {
4702
- t = F("li"), r = F("label"), n = F("input"), o = X(), s = F("span"), a = X(), y && y.c(), u = X(), g(n, "type", "checkbox"), g(n, "name", "checkbox"), n.__value = i = /*vendor*/
4703
- e[36].name, Pt(n, n.__value), g(s, "class", "FiltersCheckmark"), g(r, "class", "FilterLabel"), g(t, "class", l = "FilterItem " + /*filterbylogo*/
4704
- (e[2] === "true" ? "FilterItemWithLogos" : "")), t.value = h = /*vendor*/
4665
+ t = F("li"), r = F("label"), n = F("input"), o = V(), s = F("span"), a = V(), y && y.c(), h = V(), g(n, "type", "checkbox"), g(n, "name", "checkbox"), n.__value = i = /*vendor*/
4666
+ e[36].name, _t(n, n.__value), g(s, "class", "FiltersCheckmark"), g(r, "class", "FilterLabel"), g(t, "class", l = "FilterItem " + /*filterbylogo*/
4667
+ (e[2] === "true" ? "FilterItemWithLogos" : "")), t.value = u = /*vendor*/
4705
4668
  e[36].name;
4706
4669
  },
4707
4670
  m(H, E) {
4708
- W(H, t, E), v(t, r), v(r, n), n.checked = /*vendor*/
4709
- e[36].isFilterSelected, v(r, o), v(r, s), v(r, a), y && y.m(r, null), v(t, u), d || (c = [
4710
- De(n, "change", m),
4711
- De(n, "click", b)
4671
+ X(H, t, E), v(t, r), v(r, n), n.checked = /*vendor*/
4672
+ e[36].isFilterSelected, v(r, o), v(r, s), v(r, a), y && y.m(r, null), v(t, h), d || (c = [
4673
+ Re(n, "change", m),
4674
+ Re(n, "click", b)
4712
4675
  ], d = !0);
4713
4676
  },
4714
4677
  p(H, E) {
4715
4678
  e = H, E[0] & /*vendorArray*/
4716
4679
  32 && i !== (i = /*vendor*/
4717
- e[36].name) && (n.__value = i, Pt(n, n.__value)), E[0] & /*vendorArray*/
4680
+ e[36].name) && (n.__value = i, _t(n, n.__value)), E[0] & /*vendorArray*/
4718
4681
  32 && (n.checked = /*vendor*/
4719
4682
  e[36].isFilterSelected), T === (T = _(e)) && y ? y.p(e, E) : (y && y.d(1), y = T && T(e), y && (y.c(), y.m(r, null))), E[0] & /*filterbylogo*/
4720
4683
  4 && l !== (l = "FilterItem " + /*filterbylogo*/
4721
4684
  (e[2] === "true" ? "FilterItemWithLogos" : "")) && g(t, "class", l), E[0] & /*vendorArray*/
4722
- 32 && h !== (h = /*vendor*/
4723
- e[36].name) && (t.value = h);
4685
+ 32 && u !== (u = /*vendor*/
4686
+ e[36].name) && (t.value = u);
4724
4687
  },
4725
4688
  d(H) {
4726
- H && j(t), y && y.d(), d = !1, K(c);
4689
+ H && k(t), y && y.d(), d = !1, Y(c);
4727
4690
  }
4728
4691
  };
4729
4692
  }
4730
- function wo(e) {
4693
+ function ho(e) {
4731
4694
  let t;
4732
4695
  function r(o, s) {
4733
4696
  if (
4734
4697
  /*hasErrors*/
4735
4698
  o[10]
4736
- ) return yo;
4699
+ ) return oo;
4737
4700
  if (!/*isLoading*/
4738
- o[9]) return go;
4701
+ o[9]) return io;
4739
4702
  }
4740
4703
  let n = r(e), i = n && n(e);
4741
4704
  return {
@@ -4743,39 +4706,39 @@ function wo(e) {
4743
4706
  t = F("div"), i && i.c();
4744
4707
  },
4745
4708
  m(o, s) {
4746
- W(o, t, s), i && i.m(t, null), e[26](t);
4709
+ X(o, t, s), i && i.m(t, null), e[26](t);
4747
4710
  },
4748
4711
  p(o, s) {
4749
4712
  n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4750
4713
  },
4751
- i: k,
4752
- o: k,
4714
+ i: G,
4715
+ o: G,
4753
4716
  d(o) {
4754
- o && j(t), i && i.d(), e[26](null);
4717
+ o && k(t), i && i.d(), e[26](null);
4755
4718
  }
4756
4719
  };
4757
4720
  }
4758
- function So(e, t, r) {
4721
+ function co(e, t, r) {
4759
4722
  let n;
4760
- Vr(e, co, (f) => r(11, n = f));
4761
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: h = "" } = t, { addfilterselector: d = "false" } = t, { addsortingselector: c = "false" } = t, { filterbylogo: m = "false" } = t, b = !1, _ = window.navigator.userAgent, T = [], y = [], H = {}, E = !1, N = 0, L = !0, O, A = !1;
4762
- mo({ withLocale: "en", translations: {} });
4723
+ Or(e, Ki, (f) => r(11, n = f));
4724
+ let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: u = "" } = t, { addfilterselector: d = "false" } = t, { addsortingselector: c = "false" } = t, { filterbylogo: m = "false" } = t, b = !1, _ = window.navigator.userAgent, T = [], y = [], H = {}, E = !1, N = 0, L = !0, O, A = !1;
4725
+ ro({ withLocale: "en", translations: {} });
4763
4726
  const I = () => {
4764
4727
  fetch(a).then((p) => p.json()).then((p) => {
4765
4728
  Object.keys(p).forEach((C) => {
4766
- Qt(C, p[C]);
4729
+ jt(C, p[C]);
4767
4730
  });
4768
4731
  }).catch((p) => {
4769
4732
  console.log(p);
4770
4733
  });
4771
4734
  };
4772
- Object.keys(qt).forEach((f) => {
4773
- Qt(f, qt[f]);
4735
+ Object.keys(Vt).forEach((f) => {
4736
+ jt(f, Vt[f]);
4774
4737
  });
4775
4738
  const M = () => {
4776
4739
  let f = document.createElement("style");
4777
- f.innerHTML = u, O.appendChild(f);
4778
- }, z = () => {
4740
+ f.innerHTML = h, O.appendChild(f);
4741
+ }, W = () => {
4779
4742
  let f = document.createElement("style");
4780
4743
  fetch(new URL(l)).then((p) => p.text()).then((p) => {
4781
4744
  f.innerHTML = p, setTimeout(
@@ -4786,59 +4749,58 @@ function So(e, t, r) {
4786
4749
  );
4787
4750
  });
4788
4751
  };
4789
- H[h] && (H = { [h]: [] });
4790
- const V = () => {
4752
+ H[u] && (H = { [u]: [] });
4753
+ const j = () => {
4791
4754
  r(4, b = !b), window.postMessage({ type: "FilterOpened" }, window.location.href);
4792
- }, ie = (f) => (r(9, L = !0), new Promise((p, C) => {
4755
+ }, ne = (f) => (r(9, L = !0), new Promise((p, C) => {
4793
4756
  fetch(f).then((P) => P.json()).then((P) => {
4794
4757
  P = P.items, p(P.items), r(6, y = []);
4795
- let ue = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
4796
- P.forEach((Fe) => {
4797
- var _t;
4798
- ue || (ue = { currentCategoryId: [] }), ((_t = ue[h]) == null ? void 0 : _t.indexOf(Fe.id)) >= 0 ? (Fe.isFilterSelected = !0, y.push(Fe)) : Fe.isFilterSelected = !1;
4799
- }), r(5, T = P), ee();
4758
+ let le = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
4759
+ P.forEach((Ce) => {
4760
+ le || (le = { currentCategoryId: [] }), le[u]?.indexOf(Ce.id) >= 0 ? (Ce.isFilterSelected = !0, y.push(Ce)) : Ce.isFilterSelected = !1;
4761
+ }), r(5, T = P), K();
4800
4762
  }).catch((P) => {
4801
4763
  console.error(P), r(10, A = !0), C(P);
4802
4764
  }).finally(() => {
4803
4765
  r(9, L = !1);
4804
4766
  });
4805
- })), oe = (f) => {
4767
+ })), ie = (f) => {
4806
4768
  let p = localStorage.getItem("vendorFiltersByCategory");
4807
4769
  f.isFilterSelected = !f.isFilterSelected, !y.length || y.filter((C) => C.name === f.name).length == 0 ? y.push(f) : r(6, y = y.filter((C) => C.name !== f.name)), p == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(H = {
4808
- [h]: y.map((C) => C.id)
4809
- })) : (p = JSON.parse(p), p[h] = y.map((C) => C.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(p))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), ee();
4810
- }, ee = () => {
4770
+ [u]: y.map((C) => C.id)
4771
+ })) : (p = JSON.parse(p), p[u] = y.map((C) => C.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(p))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), K();
4772
+ }, K = () => {
4811
4773
  r(7, E = y.length === T.length || y.length == 0), r(8, N = y.length);
4812
- }, se = () => {
4774
+ }, oe = () => {
4813
4775
  const f = new URL(`${i}/v1/casino/vendors`);
4814
- r(4, b = !1), f.searchParams.append("fields", "id,name,logo,subVendors,games"), f.searchParams.append("language", s), f.searchParams.append("datasource", o), f.searchParams.append("platform", po(_)), (h.match(/\$/g) || []).length > 1 ? (f.searchParams.append("filter", `games(subGroups=${h})`), f.searchParams.append("subVendors", `games(subGroups=${h})`)) : f.searchParams.append("filter", `games(groups=${h})`), ie(f);
4815
- }, te = () => {
4776
+ r(4, b = !1), f.searchParams.append("fields", "id,name,logo,subVendors,games"), f.searchParams.append("language", s), f.searchParams.append("datasource", o), f.searchParams.append("platform", to(_)), (u.match(/\$/g) || []).length > 1 ? (f.searchParams.append("filter", `games(subGroups=${u})`), f.searchParams.append("subVendors", `games(subGroups=${u})`)) : f.searchParams.append("filter", `games(groups=${u})`), ne(f);
4777
+ }, ee = () => {
4816
4778
  r(6, y = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(H = {
4817
- [h]: y.map((f) => f.id)
4779
+ [u]: y.map((f) => f.id)
4818
4780
  })), T.forEach((f) => f.isFilterSelected = !1), r(5, T), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, E = !0), r(4, b = !1);
4819
- }, ae = (f) => {
4781
+ }, se = (f) => {
4820
4782
  f.data.type == "SortingOpened" && r(4, b = !1);
4821
4783
  };
4822
- Yr(() => (window.addEventListener("message", ae, !1), () => {
4823
- window.removeEventListener("message", ae);
4784
+ Ur(() => (window.addEventListener("message", se, !1), () => {
4785
+ window.removeEventListener("message", se);
4824
4786
  }));
4825
- const Ae = () => V();
4826
- function Ce(f, p) {
4787
+ const Pe = () => j();
4788
+ function Ae(f, p) {
4827
4789
  f[p].isFilterSelected = this.checked, r(5, T);
4828
4790
  }
4829
- const le = (f) => oe(f), $ = () => te();
4830
- function Q(f) {
4831
- et[f ? "unshift" : "push"](() => {
4791
+ const ae = (f) => ie(f), D = () => ee();
4792
+ function J(f) {
4793
+ Ye[f ? "unshift" : "push"](() => {
4832
4794
  O = f, r(3, O);
4833
4795
  });
4834
4796
  }
4835
4797
  return e.$$set = (f) => {
4836
- "endpoint" in f && r(15, i = f.endpoint), "datasource" in f && r(16, o = f.datasource), "lang" in f && r(17, s = f.lang), "translationurl" in f && r(18, a = f.translationurl), "clientstyling" in f && r(19, u = f.clientstyling), "clientstylingurl" in f && r(20, l = f.clientstylingurl), "categoryid" in f && r(21, h = f.categoryid), "addfilterselector" in f && r(0, d = f.addfilterselector), "addsortingselector" in f && r(1, c = f.addsortingselector), "filterbylogo" in f && r(2, m = f.filterbylogo);
4798
+ "endpoint" in f && r(15, i = f.endpoint), "datasource" in f && r(16, o = f.datasource), "lang" in f && r(17, s = f.lang), "translationurl" in f && r(18, a = f.translationurl), "clientstyling" in f && r(19, h = f.clientstyling), "clientstylingurl" in f && r(20, l = f.clientstylingurl), "categoryid" in f && r(21, u = f.categoryid), "addfilterselector" in f && r(0, d = f.addfilterselector), "addsortingselector" in f && r(1, c = f.addsortingselector), "filterbylogo" in f && r(2, m = f.filterbylogo);
4837
4799
  }, e.$$.update = () => {
4838
4800
  e.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
4839
- 2195460 && i && o && h && m && se(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4840
- 524296 && u && O && M(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4841
- 1048584 && l && O && z(), e.$$.dirty[0] & /*translationurl*/
4801
+ 2195460 && i && o && u && m && oe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4802
+ 524296 && h && O && M(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4803
+ 1048584 && l && O && W(), e.$$.dirty[0] & /*translationurl*/
4842
4804
  262144 && a && I();
4843
4805
  }, [
4844
4806
  d,
@@ -4853,31 +4815,31 @@ function So(e, t, r) {
4853
4815
  L,
4854
4816
  A,
4855
4817
  n,
4856
- V,
4857
- oe,
4858
- te,
4818
+ j,
4819
+ ie,
4820
+ ee,
4859
4821
  i,
4860
4822
  o,
4861
4823
  s,
4862
4824
  a,
4863
- u,
4864
- l,
4865
4825
  h,
4826
+ l,
4827
+ u,
4828
+ Pe,
4866
4829
  Ae,
4867
- Ce,
4868
- le,
4869
- $,
4870
- Q
4830
+ ae,
4831
+ D,
4832
+ J
4871
4833
  ];
4872
4834
  }
4873
- class Rr extends ln {
4835
+ class Fr extends Jr {
4874
4836
  constructor(t) {
4875
- super(), sn(
4837
+ super(), zr(
4876
4838
  this,
4877
4839
  t,
4878
- So,
4879
- wo,
4880
- tr,
4840
+ co,
4841
+ ho,
4842
+ Zt,
4881
4843
  {
4882
4844
  endpoint: 15,
4883
4845
  datasource: 16,
@@ -4890,7 +4852,7 @@ class Rr extends ln {
4890
4852
  addsortingselector: 1,
4891
4853
  filterbylogo: 2
4892
4854
  },
4893
- bo,
4855
+ no,
4894
4856
  [-1, -1]
4895
4857
  );
4896
4858
  }
@@ -4898,106 +4860,106 @@ class Rr extends ln {
4898
4860
  return this.$$.ctx[15];
4899
4861
  }
4900
4862
  set endpoint(t) {
4901
- this.$$set({ endpoint: t }), U();
4863
+ this.$$set({ endpoint: t }), $();
4902
4864
  }
4903
4865
  get datasource() {
4904
4866
  return this.$$.ctx[16];
4905
4867
  }
4906
4868
  set datasource(t) {
4907
- this.$$set({ datasource: t }), U();
4869
+ this.$$set({ datasource: t }), $();
4908
4870
  }
4909
4871
  get lang() {
4910
4872
  return this.$$.ctx[17];
4911
4873
  }
4912
4874
  set lang(t) {
4913
- this.$$set({ lang: t }), U();
4875
+ this.$$set({ lang: t }), $();
4914
4876
  }
4915
4877
  get translationurl() {
4916
4878
  return this.$$.ctx[18];
4917
4879
  }
4918
4880
  set translationurl(t) {
4919
- this.$$set({ translationurl: t }), U();
4881
+ this.$$set({ translationurl: t }), $();
4920
4882
  }
4921
4883
  get clientstyling() {
4922
4884
  return this.$$.ctx[19];
4923
4885
  }
4924
4886
  set clientstyling(t) {
4925
- this.$$set({ clientstyling: t }), U();
4887
+ this.$$set({ clientstyling: t }), $();
4926
4888
  }
4927
4889
  get clientstylingurl() {
4928
4890
  return this.$$.ctx[20];
4929
4891
  }
4930
4892
  set clientstylingurl(t) {
4931
- this.$$set({ clientstylingurl: t }), U();
4893
+ this.$$set({ clientstylingurl: t }), $();
4932
4894
  }
4933
4895
  get categoryid() {
4934
4896
  return this.$$.ctx[21];
4935
4897
  }
4936
4898
  set categoryid(t) {
4937
- this.$$set({ categoryid: t }), U();
4899
+ this.$$set({ categoryid: t }), $();
4938
4900
  }
4939
4901
  get addfilterselector() {
4940
4902
  return this.$$.ctx[0];
4941
4903
  }
4942
4904
  set addfilterselector(t) {
4943
- this.$$set({ addfilterselector: t }), U();
4905
+ this.$$set({ addfilterselector: t }), $();
4944
4906
  }
4945
4907
  get addsortingselector() {
4946
4908
  return this.$$.ctx[1];
4947
4909
  }
4948
4910
  set addsortingselector(t) {
4949
- this.$$set({ addsortingselector: t }), U();
4911
+ this.$$set({ addsortingselector: t }), $();
4950
4912
  }
4951
4913
  get filterbylogo() {
4952
4914
  return this.$$.ctx[2];
4953
4915
  }
4954
4916
  set filterbylogo(t) {
4955
- this.$$set({ filterbylogo: t }), U();
4917
+ this.$$set({ filterbylogo: t }), $();
4956
4918
  }
4957
4919
  }
4958
- an(Rr, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {} }, [], [], !0);
4959
- const No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4920
+ Zr(Fr, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {} }, [], [], !0);
4921
+ const Eo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4960
4922
  __proto__: null,
4961
- default: Rr
4923
+ default: Fr
4962
4924
  }, Symbol.toStringTag, { value: "Module" }));
4963
4925
  export {
4964
- re as $,
4965
- Zr as A,
4966
- Ao as B,
4967
- co as C,
4968
- Bo as D,
4969
- Lo as E,
4970
- Io as F,
4971
- Po as G,
4972
- Fo as H,
4973
- Oo as I,
4974
- _e as J,
4975
- No as K,
4976
- ln as S,
4977
- Or as a,
4978
- Xr as b,
4979
- an as c,
4980
- X as d,
4926
+ te as $,
4927
+ Mr as A,
4928
+ mo as B,
4929
+ Ki as C,
4930
+ yo as D,
4931
+ xo as E,
4932
+ _o as F,
4933
+ po as G,
4934
+ go as H,
4935
+ vo as I,
4936
+ ve as J,
4937
+ Eo as K,
4938
+ Jr as S,
4939
+ Tr as a,
4940
+ Ir as b,
4941
+ Zr as c,
4942
+ V as d,
4981
4943
  F as e,
4982
- U as f,
4983
- Ht as g,
4944
+ $ as f,
4945
+ vt as g,
4984
4946
  g as h,
4985
- sn as i,
4986
- W as j,
4947
+ zr as i,
4948
+ X as j,
4987
4949
  v as k,
4988
- j as l,
4989
- Vr as m,
4990
- k as n,
4991
- Yr as o,
4992
- fo as p,
4993
- G as q,
4994
- De as r,
4995
- tr as s,
4996
- Co as t,
4997
- Y as u,
4998
- Ho as v,
4999
- po as w,
5000
- et as x,
5001
- we as y,
5002
- Ct as z
4950
+ k as l,
4951
+ Or as m,
4952
+ G as n,
4953
+ Ur as o,
4954
+ eo as p,
4955
+ U as q,
4956
+ Re as r,
4957
+ Zt as s,
4958
+ bo as t,
4959
+ q as u,
4960
+ fo as v,
4961
+ to as w,
4962
+ Ye as x,
4963
+ Ee as y,
4964
+ Et as z
5003
4965
  };