@everymatrix/casino-filter 1.54.0 → 1.54.2

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 Lr = Object.defineProperty, Nr = Object.defineProperties;
2
- var Mr = Object.getOwnPropertyDescriptors;
3
- var xt = Object.getOwnPropertySymbols;
4
- var Rr = Object.prototype.hasOwnProperty, Dr = Object.prototype.propertyIsEnumerable;
5
- var We = (e, t, r) => t in e ? Lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
6
- for (var r in t || (t = {}))
7
- Rr.call(t, r) && We(e, r, t[r]);
8
- if (xt)
9
- for (var r of xt(t))
10
- Dr.call(t, r) && We(e, r, t[r]);
11
- return e;
12
- }, St = (e, t) => Nr(e, Mr(t));
13
- var M = (e, t, r) => We(e, typeof t != "symbol" ? t + "" : t, r);
14
- var wt = (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 $() {
1
+ function D() {
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 te(e) {
39
- e.forEach(er);
9
+ function ee(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 Ce;
48
- function Ht(e, t) {
49
- return e === t ? !0 : (Ce || (Ce = document.createElement("a")), Ce.href = t, e === Ce.href);
18
+ let Pe;
19
+ function vt(e, t) {
20
+ return e === t ? !0 : (Pe || (Pe = document.createElement("a")), Pe.href = t, e === Pe.href);
50
21
  }
51
- function $r(e) {
22
+ function Ar(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 $;
29
+ return D;
59
30
  }
60
31
  const r = e.subscribe(...t);
61
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
33
  }
63
- function Ur(e, t, r) {
64
- e.$$.on_destroy.push(rr(t, r));
34
+ function Fr(e, t, r) {
35
+ e.$$.on_destroy.push(Jt(t, r));
65
36
  }
66
37
  function b(e, t) {
67
38
  e.appendChild(t);
68
39
  }
69
- function Gr(e, t, r) {
70
- const n = kr(e);
40
+ function Pr(e, t, r) {
41
+ const n = Cr(e);
71
42
  if (!n.getElementById(t)) {
72
43
  const i = P("style");
73
- i.id = t, i.textContent = r, jr(n, i);
44
+ i.id = t, i.textContent = r, Br(n, i);
74
45
  }
75
46
  }
76
- function kr(e) {
47
+ function Cr(e) {
77
48
  if (!e) return document;
78
49
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
79
50
  return t && /** @type {ShadowRoot} */
@@ -82,52 +53,52 @@ function kr(e) {
82
53
  t
83
54
  ) : e.ownerDocument;
84
55
  }
85
- function jr(e, t) {
56
+ function Br(e, t) {
86
57
  return b(
87
58
  /** @type {Document} */
88
59
  e.head || e,
89
60
  t
90
61
  ), t.sheet;
91
62
  }
92
- function X(e, t, r) {
63
+ function V(e, t, r) {
93
64
  e.insertBefore(t, r || null);
94
65
  }
95
- function k(e) {
66
+ function G(e) {
96
67
  e.parentNode && e.parentNode.removeChild(e);
97
68
  }
98
- function Vr(e, t) {
69
+ function Ir(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 P(e) {
103
74
  return document.createElement(e);
104
75
  }
105
- function Be(e) {
76
+ function Ce(e) {
106
77
  return document.createElementNS("http://www.w3.org/2000/svg", e);
107
78
  }
108
- function D(e) {
79
+ function R(e) {
109
80
  return document.createTextNode(e);
110
81
  }
111
- function G() {
112
- return D(" ");
82
+ function U() {
83
+ return R(" ");
113
84
  }
114
- function De(e, t, r, n) {
85
+ function Re(e, t, r, n) {
115
86
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
116
87
  }
117
88
  function m(e, t, r) {
118
89
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
119
90
  }
120
- function Xr(e) {
91
+ function Or(e) {
121
92
  return Array.from(e.childNodes);
122
93
  }
123
- function Q(e, t) {
94
+ function J(e, t) {
124
95
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
125
96
  t);
126
97
  }
127
- function At(e, t) {
128
- e.value = t == null ? "" : t;
98
+ function _t(e, t) {
99
+ e.value = t ?? "";
129
100
  }
130
- function Wr(e) {
101
+ function Lr(e) {
131
102
  const t = {};
132
103
  return e.childNodes.forEach(
133
104
  /** @param {Element} node */
@@ -136,248 +107,244 @@ function Wr(e) {
136
107
  }
137
108
  ), t;
138
109
  }
139
- let Se;
140
- function Ee(e) {
141
- Se = e;
110
+ let Ee;
111
+ function xe(e) {
112
+ Ee = e;
142
113
  }
143
- function zr() {
144
- if (!Se) throw new Error("Function called outside component initialization");
145
- return Se;
114
+ function Nr() {
115
+ if (!Ee) throw new Error("Function called outside component initialization");
116
+ return Ee;
146
117
  }
147
- function Zr(e) {
148
- zr().$$.on_mount.push(e);
118
+ function Mr(e) {
119
+ Nr().$$.on_mount.push(e);
149
120
  }
150
- const ce = [], et = [];
151
- let fe = [];
152
- const Ft = [], Jr = /* @__PURE__ */ Promise.resolve();
153
- let tt = !1;
154
- function Qr() {
155
- tt || (tt = !0, Jr.then(R));
121
+ const he = [], Ye = [];
122
+ let ce = [];
123
+ const xt = [], Rr = /* @__PURE__ */ Promise.resolve();
124
+ let Ke = !1;
125
+ function Dr() {
126
+ Ke || (Ke = !0, Rr.then(M));
156
127
  }
157
- function rt(e) {
158
- fe.push(e);
128
+ function et(e) {
129
+ ce.push(e);
159
130
  }
160
- const ze = /* @__PURE__ */ new Set();
161
- let ue = 0;
162
- function R() {
163
- if (ue !== 0)
131
+ const Xe = /* @__PURE__ */ new Set();
132
+ let le = 0;
133
+ function M() {
134
+ if (le !== 0)
164
135
  return;
165
- const e = Se;
136
+ const e = Ee;
166
137
  do {
167
138
  try {
168
- for (; ue < ce.length; ) {
169
- const t = ce[ue];
170
- ue++, Ee(t), qr(t.$$);
139
+ for (; le < he.length; ) {
140
+ const t = he[le];
141
+ le++, xe(t), $r(t.$$);
171
142
  }
172
143
  } catch (t) {
173
- throw ce.length = 0, ue = 0, t;
144
+ throw he.length = 0, le = 0, t;
174
145
  }
175
- for (Ee(null), ce.length = 0, ue = 0; et.length; ) et.pop()();
176
- for (let t = 0; t < fe.length; t += 1) {
177
- const r = fe[t];
178
- ze.has(r) || (ze.add(r), r());
146
+ for (xe(null), he.length = 0, le = 0; Ye.length; ) Ye.pop()();
147
+ for (let t = 0; t < ce.length; t += 1) {
148
+ const r = ce[t];
149
+ Xe.has(r) || (Xe.add(r), r());
179
150
  }
180
- fe.length = 0;
181
- } while (ce.length);
182
- for (; Ft.length; )
183
- Ft.pop()();
184
- tt = !1, ze.clear(), Ee(e);
151
+ ce.length = 0;
152
+ } while (he.length);
153
+ for (; xt.length; )
154
+ xt.pop()();
155
+ Ke = !1, Xe.clear(), xe(e);
185
156
  }
186
- function qr(e) {
157
+ function $r(e) {
187
158
  if (e.fragment !== null) {
188
- e.update(), te(e.before_update);
159
+ e.update(), ee(e.before_update);
189
160
  const t = e.dirty;
190
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(rt);
161
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(et);
191
162
  }
192
163
  }
193
- function Yr(e) {
164
+ function Ur(e) {
194
165
  const t = [], r = [];
195
- fe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), fe = t;
166
+ ce.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ce = t;
196
167
  }
197
- const Kr = /* @__PURE__ */ new Set();
198
- function en(e, t) {
199
- e && e.i && (Kr.delete(e), e.i(t));
168
+ const Gr = /* @__PURE__ */ new Set();
169
+ function kr(e, t) {
170
+ e && e.i && (Gr.delete(e), e.i(t));
200
171
  }
201
- function Pt(e) {
202
- return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
172
+ function Et(e) {
173
+ return e?.length !== void 0 ? e : Array.from(e);
203
174
  }
204
- function tn(e, t, r) {
175
+ function jr(e, t, r) {
205
176
  const { fragment: n, after_update: i } = e.$$;
206
- n && n.m(t, r), rt(() => {
207
- const o = e.$$.on_mount.map(er).filter(bt);
208
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
209
- }), i.forEach(rt);
177
+ n && n.m(t, r), et(() => {
178
+ const o = e.$$.on_mount.map(zt).filter(pt);
179
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
180
+ }), i.forEach(et);
210
181
  }
211
- function rn(e, t) {
182
+ function Vr(e, t) {
212
183
  const r = e.$$;
213
- r.fragment !== null && (Yr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
184
+ r.fragment !== null && (Ur(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
214
185
  }
215
- function nn(e, t) {
216
- e.$$.dirty[0] === -1 && (ce.push(e), Qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
186
+ function Xr(e, t) {
187
+ e.$$.dirty[0] === -1 && (he.push(e), Dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
217
188
  }
218
- function on(e, t, r, n, i, o, s = null, a = [-1]) {
219
- const u = Se;
220
- Ee(e);
189
+ function Wr(e, t, r, n, i, o, s = null, a = [-1]) {
190
+ const h = Ee;
191
+ xe(e);
221
192
  const l = e.$$ = {
222
193
  fragment: null,
223
194
  ctx: [],
224
195
  // state
225
196
  props: o,
226
- update: $,
197
+ update: D,
227
198
  not_equal: i,
228
- bound: Tt(),
199
+ bound: yt(),
229
200
  // lifecycle
230
201
  on_mount: [],
231
202
  on_destroy: [],
232
203
  on_disconnect: [],
233
204
  before_update: [],
234
205
  after_update: [],
235
- context: new Map(t.context || (u ? u.$$.context : [])),
206
+ context: new Map(t.context || (h ? h.$$.context : [])),
236
207
  // everything else
237
- callbacks: Tt(),
208
+ callbacks: yt(),
238
209
  dirty: a,
239
210
  skip_bound: !1,
240
- root: t.target || u.$$.root
211
+ root: t.target || h.$$.root
241
212
  };
242
213
  s && s(l.root);
243
- let h = !1;
214
+ let u = !1;
244
215
  if (l.ctx = r(e, t.props || {}, (d, f, ...g) => {
245
216
  const v = g.length ? g[0] : f;
246
- return l.ctx && i(l.ctx[d], l.ctx[d] = v) && (!l.skip_bound && l.bound[d] && l.bound[d](v), h && nn(e, d)), f;
247
- }), l.update(), h = !0, te(l.before_update), l.fragment = n(l.ctx), t.target) {
217
+ return l.ctx && i(l.ctx[d], l.ctx[d] = v) && (!l.skip_bound && l.bound[d] && l.bound[d](v), u && Xr(e, d)), f;
218
+ }), l.update(), u = !0, ee(l.before_update), l.fragment = n(l.ctx), t.target) {
248
219
  if (t.hydrate) {
249
- const d = Xr(t.target);
250
- l.fragment && l.fragment.l(d), d.forEach(k);
220
+ const d = Or(t.target);
221
+ l.fragment && l.fragment.l(d), d.forEach(G);
251
222
  } else
252
223
  l.fragment && l.fragment.c();
253
- t.intro && en(e.$$.fragment), tn(e, t.target, t.anchor), R();
224
+ t.intro && kr(e.$$.fragment), jr(e, t.target, t.anchor), M();
254
225
  }
255
- Ee(u);
256
- }
257
- let nr;
258
- typeof HTMLElement == "function" && (nr = class extends HTMLElement {
259
- constructor(t, r, n) {
260
- super();
261
- /** The Svelte component constructor */
262
- M(this, "$$ctor");
263
- /** Slots */
264
- M(this, "$$s");
265
- /** The Svelte component instance */
266
- M(this, "$$c");
267
- /** Whether or not the custom element is connected */
268
- M(this, "$$cn", !1);
269
- /** Component props data */
270
- M(this, "$$d", {});
271
- /** `true` if currently in the process of reflecting component props back to attributes */
272
- M(this, "$$r", !1);
273
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
274
- M(this, "$$p_d", {});
275
- /** @type {Record<string, Function[]>} Event listeners */
276
- M(this, "$$l", {});
277
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
278
- M(this, "$$l_u", /* @__PURE__ */ new Map());
279
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
226
+ xe(h);
227
+ }
228
+ let Qt;
229
+ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
230
+ /** The Svelte component constructor */
231
+ $$ctor;
232
+ /** Slots */
233
+ $$s;
234
+ /** The Svelte component instance */
235
+ $$c;
236
+ /** Whether or not the custom element is connected */
237
+ $$cn = !1;
238
+ /** Component props data */
239
+ $$d = {};
240
+ /** `true` if currently in the process of reflecting component props back to attributes */
241
+ $$r = !1;
242
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
243
+ $$p_d = {};
244
+ /** @type {Record<string, Function[]>} Event listeners */
245
+ $$l = {};
246
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
247
+ $$l_u = /* @__PURE__ */ new Map();
248
+ constructor(e, t, r) {
249
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
280
250
  }
281
- addEventListener(t, r, n) {
282
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
283
- const i = this.$$c.$on(t, r);
284
- this.$$l_u.set(r, i);
251
+ addEventListener(e, t, r) {
252
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
253
+ const n = this.$$c.$on(e, t);
254
+ this.$$l_u.set(t, n);
285
255
  }
286
- super.addEventListener(t, r, n);
256
+ super.addEventListener(e, t, r);
287
257
  }
288
- removeEventListener(t, r, n) {
289
- if (super.removeEventListener(t, r, n), this.$$c) {
290
- const i = this.$$l_u.get(r);
291
- i && (i(), this.$$l_u.delete(r));
258
+ removeEventListener(e, t, r) {
259
+ if (super.removeEventListener(e, t, r), this.$$c) {
260
+ const n = this.$$l_u.get(t);
261
+ n && (n(), this.$$l_u.delete(t));
292
262
  }
293
263
  }
294
- connectedCallback() {
295
- return wt(this, null, function* () {
296
- if (this.$$cn = !0, !this.$$c) {
297
- let t = function(o) {
298
- return () => {
299
- let s;
300
- return {
301
- c: function() {
302
- s = P("slot"), o !== "default" && m(s, "name", o);
303
- },
304
- /**
305
- * @param {HTMLElement} target
306
- * @param {HTMLElement} [anchor]
307
- */
308
- m: function(l, h) {
309
- X(l, s, h);
310
- },
311
- d: function(l) {
312
- l && k(s);
313
- }
314
- };
264
+ async connectedCallback() {
265
+ if (this.$$cn = !0, !this.$$c) {
266
+ let e = function(i) {
267
+ return () => {
268
+ let o;
269
+ return {
270
+ c: function() {
271
+ o = P("slot"), i !== "default" && m(o, "name", i);
272
+ },
273
+ /**
274
+ * @param {HTMLElement} target
275
+ * @param {HTMLElement} [anchor]
276
+ */
277
+ m: function(h, l) {
278
+ V(h, o, l);
279
+ },
280
+ d: function(h) {
281
+ h && G(o);
282
+ }
315
283
  };
316
284
  };
317
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
318
- return;
319
- const r = {}, n = Wr(this);
320
- for (const o of this.$$s)
321
- o in n && (r[o] = [t(o)]);
322
- for (const o of this.attributes) {
323
- const s = this.$$g_p(o.name);
324
- s in this.$$d || (this.$$d[s] = Le(s, o.value, this.$$p_d, "toProp"));
285
+ };
286
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
287
+ return;
288
+ const t = {}, r = Lr(this);
289
+ for (const i of this.$$s)
290
+ i in r && (t[i] = [e(i)]);
291
+ for (const i of this.attributes) {
292
+ const o = this.$$g_p(i.name);
293
+ o in this.$$d || (this.$$d[o] = Oe(o, i.value, this.$$p_d, "toProp"));
294
+ }
295
+ for (const i in this.$$p_d)
296
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
297
+ this.$$c = new this.$$ctor({
298
+ target: this.shadowRoot || this,
299
+ props: {
300
+ ...this.$$d,
301
+ $$slots: t,
302
+ $$scope: {
303
+ ctx: []
304
+ }
325
305
  }
326
- for (const o in this.$$p_d)
327
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
328
- this.$$c = new this.$$ctor({
329
- target: this.shadowRoot || this,
330
- props: St(Et({}, this.$$d), {
331
- $$slots: r,
332
- $$scope: {
333
- ctx: []
334
- }
335
- })
336
- });
337
- const i = () => {
338
- this.$$r = !0;
339
- for (const o in this.$$p_d)
340
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
341
- const s = Le(
342
- o,
343
- this.$$d[o],
344
- this.$$p_d,
345
- "toAttribute"
346
- );
347
- s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
348
- }
349
- this.$$r = !1;
350
- };
351
- this.$$c.$$.after_update.push(i), i();
352
- for (const o in this.$$l)
353
- for (const s of this.$$l[o]) {
354
- const a = this.$$c.$on(o, s);
355
- this.$$l_u.set(s, a);
306
+ });
307
+ const n = () => {
308
+ this.$$r = !0;
309
+ for (const i in this.$$p_d)
310
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
311
+ const o = Oe(
312
+ i,
313
+ this.$$d[i],
314
+ this.$$p_d,
315
+ "toAttribute"
316
+ );
317
+ o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
356
318
  }
357
- this.$$l = {};
358
- }
359
- });
319
+ this.$$r = !1;
320
+ };
321
+ this.$$c.$$.after_update.push(n), n();
322
+ for (const i in this.$$l)
323
+ for (const o of this.$$l[i]) {
324
+ const s = this.$$c.$on(i, o);
325
+ this.$$l_u.set(o, s);
326
+ }
327
+ this.$$l = {};
328
+ }
360
329
  }
361
330
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
362
331
  // and setting attributes through setAttribute etc, this is helpful
363
- attributeChangedCallback(t, r, n) {
364
- var i;
365
- 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] }));
332
+ attributeChangedCallback(e, t, r) {
333
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Oe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
366
334
  }
367
335
  disconnectedCallback() {
368
336
  this.$$cn = !1, Promise.resolve().then(() => {
369
337
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
370
338
  });
371
339
  }
372
- $$g_p(t) {
340
+ $$g_p(e) {
373
341
  return Object.keys(this.$$p_d).find(
374
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
375
- ) || t;
342
+ (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
343
+ ) || e;
376
344
  }
377
345
  });
378
- function Le(e, t, r, n) {
379
- var o;
380
- const i = (o = r[e]) == null ? void 0 : o.type;
346
+ function Oe(e, t, r, n) {
347
+ const i = r[e]?.type;
381
348
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
382
349
  return t;
383
350
  if (n === "toAttribute")
@@ -388,7 +355,7 @@ function Le(e, t, r, n) {
388
355
  case "Boolean":
389
356
  return t ? "" : null;
390
357
  case "Number":
391
- return t == null ? null : t;
358
+ return t ?? null;
392
359
  default:
393
360
  return t;
394
361
  }
@@ -405,8 +372,8 @@ function Le(e, t, r, n) {
405
372
  return t;
406
373
  }
407
374
  }
408
- function sn(e, t, r, n, i, o) {
409
- let s = class extends nr {
375
+ function zr(e, t, r, n, i, o) {
376
+ let s = class extends Qt {
410
377
  constructor() {
411
378
  super(e, r, i), this.$$p_d = t;
412
379
  }
@@ -421,43 +388,39 @@ function sn(e, t, r, n, i, o) {
421
388
  get() {
422
389
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
423
390
  },
424
- set(u) {
425
- var l;
426
- u = Le(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
391
+ set(h) {
392
+ h = Oe(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
427
393
  }
428
394
  });
429
395
  }), n.forEach((a) => {
430
396
  Object.defineProperty(s.prototype, a, {
431
397
  get() {
432
- var u;
433
- return (u = this.$$c) == null ? void 0 : u[a];
398
+ return this.$$c?.[a];
434
399
  }
435
400
  });
436
401
  }), e.element = /** @type {any} */
437
402
  s, s;
438
403
  }
439
- class an {
440
- constructor() {
441
- /**
442
- * ### PRIVATE API
443
- *
444
- * Do not use, may change at any time
445
- *
446
- * @type {any}
447
- */
448
- M(this, "$$");
449
- /**
450
- * ### PRIVATE API
451
- *
452
- * Do not use, may change at any time
453
- *
454
- * @type {any}
455
- */
456
- M(this, "$$set");
457
- }
404
+ class Zr {
405
+ /**
406
+ * ### PRIVATE API
407
+ *
408
+ * Do not use, may change at any time
409
+ *
410
+ * @type {any}
411
+ */
412
+ $$ = void 0;
413
+ /**
414
+ * ### PRIVATE API
415
+ *
416
+ * Do not use, may change at any time
417
+ *
418
+ * @type {any}
419
+ */
420
+ $$set = void 0;
458
421
  /** @returns {void} */
459
422
  $destroy() {
460
- rn(this, 1), this.$destroy = $;
423
+ Vr(this, 1), this.$destroy = D;
461
424
  }
462
425
  /**
463
426
  * @template {Extract<keyof Events, string>} K
@@ -466,8 +429,8 @@ class an {
466
429
  * @returns {() => void}
467
430
  */
468
431
  $on(t, r) {
469
- if (!bt(r))
470
- return $;
432
+ if (!pt(r))
433
+ return D;
471
434
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
472
435
  return n.push(r), () => {
473
436
  const i = n.indexOf(r);
@@ -479,22 +442,22 @@ class an {
479
442
  * @returns {void}
480
443
  */
481
444
  $set(t) {
482
- this.$$set && !$r(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
445
+ this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
483
446
  }
484
447
  }
485
- const ln = "4";
486
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ln);
487
- var nt = function(e, t) {
488
- return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
448
+ const Jr = "4";
449
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jr);
450
+ var tt = function(e, t) {
451
+ return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
489
452
  r.__proto__ = n;
490
453
  } || function(r, n) {
491
454
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
492
- }, nt(e, t);
455
+ }, tt(e, t);
493
456
  };
494
- function W(e, t) {
457
+ function X(e, t) {
495
458
  if (typeof t != "function" && t !== null)
496
459
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
497
- nt(e, t);
460
+ tt(e, t);
498
461
  function r() {
499
462
  this.constructor = e;
500
463
  }
@@ -509,7 +472,7 @@ var S = function() {
509
472
  return t;
510
473
  }, S.apply(this, arguments);
511
474
  };
512
- function un(e, t) {
475
+ function Qr(e, t) {
513
476
  var r = {};
514
477
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
515
478
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -517,7 +480,7 @@ function un(e, t) {
517
480
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
518
481
  return r;
519
482
  }
520
- function it(e) {
483
+ function rt(e) {
521
484
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
522
485
  if (r) return r.call(e);
523
486
  if (e && typeof e.length == "number") return {
@@ -527,7 +490,7 @@ function it(e) {
527
490
  };
528
491
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
529
492
  }
530
- function ot(e, t) {
493
+ function nt(e, t) {
531
494
  var r = typeof Symbol == "function" && e[Symbol.iterator];
532
495
  if (!r) return e;
533
496
  var n = r.call(e), i, o = [], s;
@@ -544,21 +507,21 @@ function ot(e, t) {
544
507
  }
545
508
  return o;
546
509
  }
547
- function de(e, t, r) {
510
+ function fe(e, t, r) {
548
511
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
549
512
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
550
513
  return e.concat(o || Array.prototype.slice.call(t));
551
514
  }
552
- function V(e) {
515
+ function j(e) {
553
516
  return typeof e == "function";
554
517
  }
555
- function ir(e) {
518
+ function qt(e) {
556
519
  var t = function(n) {
557
520
  Error.call(n), n.stack = new Error().stack;
558
521
  }, r = e(t);
559
522
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
560
523
  }
561
- var Ze = ir(function(e) {
524
+ var We = qt(function(e) {
562
525
  return function(r) {
563
526
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
564
527
  ` + r.map(function(n, i) {
@@ -567,13 +530,13 @@ var Ze = ir(function(e) {
567
530
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
568
531
  };
569
532
  });
570
- function st(e, t) {
533
+ function it(e, t) {
571
534
  if (e) {
572
535
  var r = e.indexOf(t);
573
536
  0 <= r && e.splice(r, 1);
574
537
  }
575
538
  }
576
- var Ge = function() {
539
+ var Ue = function() {
577
540
  function e(t) {
578
541
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
579
542
  }
@@ -585,38 +548,38 @@ var Ge = function() {
585
548
  if (s)
586
549
  if (this._parentage = null, Array.isArray(s))
587
550
  try {
588
- for (var a = it(s), u = a.next(); !u.done; u = a.next()) {
589
- var l = u.value;
551
+ for (var a = rt(s), h = a.next(); !h.done; h = a.next()) {
552
+ var l = h.value;
590
553
  l.remove(this);
591
554
  }
592
555
  } catch (_) {
593
556
  t = { error: _ };
594
557
  } finally {
595
558
  try {
596
- u && !u.done && (r = a.return) && r.call(a);
559
+ h && !h.done && (r = a.return) && r.call(a);
597
560
  } finally {
598
561
  if (t) throw t.error;
599
562
  }
600
563
  }
601
564
  else
602
565
  s.remove(this);
603
- var h = this.initialTeardown;
604
- if (V(h))
566
+ var u = this.initialTeardown;
567
+ if (j(u))
605
568
  try {
606
- h();
569
+ u();
607
570
  } catch (_) {
608
- o = _ instanceof Ze ? _.errors : [_];
571
+ o = _ instanceof We ? _.errors : [_];
609
572
  }
610
573
  var d = this._finalizers;
611
574
  if (d) {
612
575
  this._finalizers = null;
613
576
  try {
614
- for (var f = it(d), g = f.next(); !g.done; g = f.next()) {
577
+ for (var f = rt(d), g = f.next(); !g.done; g = f.next()) {
615
578
  var v = g.value;
616
579
  try {
617
- Ct(v);
580
+ St(v);
618
581
  } catch (_) {
619
- o = o != null ? o : [], _ instanceof Ze ? o = de(de([], ot(o)), ot(_.errors)) : o.push(_);
582
+ o = o ?? [], _ instanceof We ? o = fe(fe([], nt(o)), nt(_.errors)) : o.push(_);
620
583
  }
621
584
  }
622
585
  } catch (_) {
@@ -630,13 +593,13 @@ var Ge = function() {
630
593
  }
631
594
  }
632
595
  if (o)
633
- throw new Ze(o);
596
+ throw new We(o);
634
597
  }
635
598
  }, e.prototype.add = function(t) {
636
599
  var r;
637
600
  if (t && t !== this)
638
601
  if (this.closed)
639
- Ct(t);
602
+ St(t);
640
603
  else {
641
604
  if (t instanceof e) {
642
605
  if (t.closed || t._hasParent(this))
@@ -653,56 +616,56 @@ var Ge = function() {
653
616
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
654
617
  }, e.prototype._removeParent = function(t) {
655
618
  var r = this._parentage;
656
- r === t ? this._parentage = null : Array.isArray(r) && st(r, t);
619
+ r === t ? this._parentage = null : Array.isArray(r) && it(r, t);
657
620
  }, e.prototype.remove = function(t) {
658
621
  var r = this._finalizers;
659
- r && st(r, t), t instanceof e && t._removeParent(this);
622
+ r && it(r, t), t instanceof e && t._removeParent(this);
660
623
  }, e.EMPTY = function() {
661
624
  var t = new e();
662
625
  return t.closed = !0, t;
663
626
  }(), e;
664
- }(), or = Ge.EMPTY;
665
- function sr(e) {
666
- return e instanceof Ge || e && "closed" in e && V(e.remove) && V(e.add) && V(e.unsubscribe);
627
+ }(), Yt = Ue.EMPTY;
628
+ function Kt(e) {
629
+ return e instanceof Ue || e && "closed" in e && j(e.remove) && j(e.add) && j(e.unsubscribe);
667
630
  }
668
- function Ct(e) {
669
- V(e) ? e() : e.unsubscribe();
631
+ function St(e) {
632
+ j(e) ? e() : e.unsubscribe();
670
633
  }
671
- var hn = {
634
+ var qr = {
672
635
  onUnhandledError: null,
673
636
  onStoppedNotification: null,
674
637
  Promise: void 0,
675
638
  useDeprecatedSynchronousErrorHandling: !1,
676
639
  useDeprecatedNextContext: !1
677
- }, cn = {
640
+ }, Yr = {
678
641
  setTimeout: function(e, t) {
679
642
  for (var r = [], n = 2; n < arguments.length; n++)
680
643
  r[n - 2] = arguments[n];
681
- return setTimeout.apply(void 0, de([e, t], ot(r)));
644
+ return setTimeout.apply(void 0, fe([e, t], nt(r)));
682
645
  },
683
646
  clearTimeout: function(e) {
684
647
  return clearTimeout(e);
685
648
  },
686
649
  delegate: void 0
687
650
  };
688
- function fn(e) {
689
- cn.setTimeout(function() {
651
+ function Kr(e) {
652
+ Yr.setTimeout(function() {
690
653
  throw e;
691
654
  });
692
655
  }
693
- function Bt() {
656
+ function wt() {
694
657
  }
695
- function Ne(e) {
658
+ function Le(e) {
696
659
  e();
697
660
  }
698
- var ar = function(e) {
699
- W(t, e);
661
+ var er = function(e) {
662
+ X(t, e);
700
663
  function t(r) {
701
664
  var n = e.call(this) || this;
702
- return n.isStopped = !1, r ? (n.destination = r, sr(r) && r.add(n)) : n.destination = mn, n;
665
+ return n.isStopped = !1, r ? (n.destination = r, Kt(r) && r.add(n)) : n.destination = rn, n;
703
666
  }
704
667
  return t.create = function(r, n, i) {
705
- return new at(r, n, i);
668
+ return new ot(r, n, i);
706
669
  }, t.prototype.next = function(r) {
707
670
  this.isStopped || this._next(r);
708
671
  }, t.prototype.error = function(r) {
@@ -726,7 +689,7 @@ var ar = function(e) {
726
689
  this.unsubscribe();
727
690
  }
728
691
  }, t;
729
- }(Ge), dn = function() {
692
+ }(Ue), en = function() {
730
693
  function e(t) {
731
694
  this.partialObserver = t;
732
695
  }
@@ -736,7 +699,7 @@ var ar = function(e) {
736
699
  try {
737
700
  r.next(t);
738
701
  } catch (n) {
739
- Ie(n);
702
+ Be(n);
740
703
  }
741
704
  }, e.prototype.error = function(t) {
742
705
  var r = this.partialObserver;
@@ -744,56 +707,56 @@ var ar = function(e) {
744
707
  try {
745
708
  r.error(t);
746
709
  } catch (n) {
747
- Ie(n);
710
+ Be(n);
748
711
  }
749
712
  else
750
- Ie(t);
713
+ Be(t);
751
714
  }, e.prototype.complete = function() {
752
715
  var t = this.partialObserver;
753
716
  if (t.complete)
754
717
  try {
755
718
  t.complete();
756
719
  } catch (r) {
757
- Ie(r);
720
+ Be(r);
758
721
  }
759
722
  }, e;
760
- }(), at = function(e) {
761
- W(t, e);
723
+ }(), ot = function(e) {
724
+ X(t, e);
762
725
  function t(r, n, i) {
763
726
  var o = e.call(this) || this, s;
764
- return V(r) || !r ? s = {
765
- next: r != null ? r : void 0,
766
- error: n != null ? n : void 0,
767
- complete: i != null ? i : void 0
768
- } : s = r, o.destination = new dn(s), o;
727
+ return j(r) || !r ? s = {
728
+ next: r ?? void 0,
729
+ error: n ?? void 0,
730
+ complete: i ?? void 0
731
+ } : s = r, o.destination = new en(s), o;
769
732
  }
770
733
  return t;
771
- }(ar);
772
- function Ie(e) {
773
- fn(e);
734
+ }(er);
735
+ function Be(e) {
736
+ Kr(e);
774
737
  }
775
- function pn(e) {
738
+ function tn(e) {
776
739
  throw e;
777
740
  }
778
- var mn = {
741
+ var rn = {
779
742
  closed: !0,
780
- next: Bt,
781
- error: pn,
782
- complete: Bt
783
- }, bn = function() {
743
+ next: wt,
744
+ error: tn,
745
+ complete: wt
746
+ }, nn = function() {
784
747
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
785
748
  }();
786
- function gn(e) {
749
+ function on(e) {
787
750
  return e;
788
751
  }
789
- function yn(e) {
790
- return e.length === 0 ? gn : e.length === 1 ? e[0] : function(r) {
752
+ function sn(e) {
753
+ return e.length === 0 ? on : e.length === 1 ? e[0] : function(r) {
791
754
  return e.reduce(function(n, i) {
792
755
  return i(n);
793
756
  }, r);
794
757
  };
795
758
  }
796
- var It = function() {
759
+ var Tt = function() {
797
760
  function e(t) {
798
761
  t && (this._subscribe = t);
799
762
  }
@@ -801,10 +764,10 @@ var It = function() {
801
764
  var r = new e();
802
765
  return r.source = this, r.operator = t, r;
803
766
  }, e.prototype.subscribe = function(t, r, n) {
804
- var i = this, o = _n(t) ? t : new at(t, r, n);
805
- return Ne(function() {
806
- var s = i, a = s.operator, u = s.source;
807
- o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
767
+ var i = this, o = ln(t) ? t : new ot(t, r, n);
768
+ return Le(function() {
769
+ var s = i, a = s.operator, h = s.source;
770
+ o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
808
771
  }), o;
809
772
  }, e.prototype._trySubscribe = function(t) {
810
773
  try {
@@ -814,13 +777,13 @@ var It = function() {
814
777
  }
815
778
  }, e.prototype.forEach = function(t, r) {
816
779
  var n = this;
817
- return r = Ot(r), new r(function(i, o) {
818
- var s = new at({
780
+ return r = Ht(r), new r(function(i, o) {
781
+ var s = new ot({
819
782
  next: function(a) {
820
783
  try {
821
784
  t(a);
822
- } catch (u) {
823
- o(u), s.unsubscribe();
785
+ } catch (h) {
786
+ o(h), s.unsubscribe();
824
787
  }
825
788
  },
826
789
  error: o,
@@ -831,15 +794,15 @@ var It = function() {
831
794
  }, e.prototype._subscribe = function(t) {
832
795
  var r;
833
796
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
834
- }, e.prototype[bn] = function() {
797
+ }, e.prototype[nn] = function() {
835
798
  return this;
836
799
  }, e.prototype.pipe = function() {
837
800
  for (var t = [], r = 0; r < arguments.length; r++)
838
801
  t[r] = arguments[r];
839
- return yn(t)(this);
802
+ return sn(t)(this);
840
803
  }, e.prototype.toPromise = function(t) {
841
804
  var r = this;
842
- return t = Ot(t), new t(function(n, i) {
805
+ return t = Ht(t), new t(function(n, i) {
843
806
  var o;
844
807
  r.subscribe(function(s) {
845
808
  return o = s;
@@ -853,42 +816,42 @@ var It = function() {
853
816
  return new e(t);
854
817
  }, e;
855
818
  }();
856
- function Ot(e) {
819
+ function Ht(e) {
857
820
  var t;
858
- return (t = e != null ? e : hn.Promise) !== null && t !== void 0 ? t : Promise;
821
+ return (t = e ?? qr.Promise) !== null && t !== void 0 ? t : Promise;
859
822
  }
860
- function vn(e) {
861
- return e && V(e.next) && V(e.error) && V(e.complete);
823
+ function an(e) {
824
+ return e && j(e.next) && j(e.error) && j(e.complete);
862
825
  }
863
- function _n(e) {
864
- return e && e instanceof ar || vn(e) && sr(e);
826
+ function ln(e) {
827
+ return e && e instanceof er || an(e) && Kt(e);
865
828
  }
866
- var xn = ir(function(e) {
829
+ var un = qt(function(e) {
867
830
  return function() {
868
831
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
869
832
  };
870
- }), lr = function(e) {
871
- W(t, e);
833
+ }), tr = function(e) {
834
+ X(t, e);
872
835
  function t() {
873
836
  var r = e.call(this) || this;
874
837
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
875
838
  }
876
839
  return t.prototype.lift = function(r) {
877
- var n = new Lt(this, this);
840
+ var n = new At(this, this);
878
841
  return n.operator = r, n;
879
842
  }, t.prototype._throwIfClosed = function() {
880
843
  if (this.closed)
881
- throw new xn();
844
+ throw new un();
882
845
  }, t.prototype.next = function(r) {
883
846
  var n = this;
884
- Ne(function() {
847
+ Le(function() {
885
848
  var i, o;
886
849
  if (n._throwIfClosed(), !n.isStopped) {
887
850
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
888
851
  try {
889
- for (var s = it(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
890
- var u = a.value;
891
- u.next(r);
852
+ for (var s = rt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
853
+ var h = a.value;
854
+ h.next(r);
892
855
  }
893
856
  } catch (l) {
894
857
  i = { error: l };
@@ -903,7 +866,7 @@ var xn = ir(function(e) {
903
866
  });
904
867
  }, t.prototype.error = function(r) {
905
868
  var n = this;
906
- Ne(function() {
869
+ Le(function() {
907
870
  if (n._throwIfClosed(), !n.isStopped) {
908
871
  n.hasError = n.isStopped = !0, n.thrownError = r;
909
872
  for (var i = n.observers; i.length; )
@@ -912,7 +875,7 @@ var xn = ir(function(e) {
912
875
  });
913
876
  }, t.prototype.complete = function() {
914
877
  var r = this;
915
- Ne(function() {
878
+ Le(function() {
916
879
  if (r._throwIfClosed(), !r.isStopped) {
917
880
  r.isStopped = !0;
918
881
  for (var n = r.observers; n.length; )
@@ -934,20 +897,20 @@ var xn = ir(function(e) {
934
897
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
935
898
  }, t.prototype._innerSubscribe = function(r) {
936
899
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
937
- return o || s ? or : (this.currentObservers = null, a.push(r), new Ge(function() {
938
- n.currentObservers = null, st(a, r);
900
+ return o || s ? Yt : (this.currentObservers = null, a.push(r), new Ue(function() {
901
+ n.currentObservers = null, it(a, r);
939
902
  }));
940
903
  }, t.prototype._checkFinalizedStatuses = function(r) {
941
904
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
942
905
  i ? r.error(o) : s && r.complete();
943
906
  }, t.prototype.asObservable = function() {
944
- var r = new It();
907
+ var r = new Tt();
945
908
  return r.source = this, r;
946
909
  }, t.create = function(r, n) {
947
- return new Lt(r, n);
910
+ return new At(r, n);
948
911
  }, t;
949
- }(It), Lt = function(e) {
950
- W(t, e);
912
+ }(Tt), At = function(e) {
913
+ X(t, e);
951
914
  function t(r, n) {
952
915
  var i = e.call(this) || this;
953
916
  return i.destination = r, i.source = n, i;
@@ -963,214 +926,214 @@ var xn = ir(function(e) {
963
926
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
964
927
  }, t.prototype._subscribe = function(r) {
965
928
  var n, i;
966
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : or;
929
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Yt;
967
930
  }, t;
968
- }(lr), ur = {
931
+ }(tr), rr = {
969
932
  now: function() {
970
- return (ur.delegate || Date).now();
933
+ return (rr.delegate || Date).now();
971
934
  },
972
935
  delegate: void 0
973
- }, En = function(e) {
974
- W(t, e);
936
+ }, hn = function(e) {
937
+ X(t, e);
975
938
  function t(r, n, i) {
976
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = ur);
939
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = rr);
977
940
  var o = e.call(this) || this;
978
941
  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;
979
942
  }
980
943
  return t.prototype.next = function(r) {
981
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, u = n._windowTime;
982
- i || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
944
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
945
+ i || (o.push(r), !s && o.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
983
946
  }, t.prototype._subscribe = function(r) {
984
947
  this._throwIfClosed(), this._trimBuffer();
985
- 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)
986
- r.next(a[u]);
948
+ 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)
949
+ r.next(a[h]);
987
950
  return this._checkFinalizedStatuses(r), n;
988
951
  }, t.prototype._trimBuffer = function() {
989
952
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
990
953
  if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
991
- for (var u = i.now(), l = 0, h = 1; h < o.length && o[h] <= u; h += 2)
992
- l = h;
954
+ for (var h = i.now(), l = 0, u = 1; u < o.length && o[u] <= h; u += 2)
955
+ l = u;
993
956
  l && o.splice(0, l + 1);
994
957
  }
995
958
  }, t;
996
- }(lr);
997
- const Nt = [], Mt = {}, Sn = (e, t = 0) => {
998
- if (Nt.indexOf(e) == -1) {
999
- const r = new En(t);
1000
- Mt[e] = r, Nt.push(e);
959
+ }(tr);
960
+ const Ft = [], Pt = {}, cn = (e, t = 0) => {
961
+ if (Ft.indexOf(e) == -1) {
962
+ const r = new hn(t);
963
+ Pt[e] = r, Ft.push(e);
1001
964
  }
1002
- return Mt[e];
1003
- }, he = [];
1004
- function wn(e, t) {
965
+ return Pt[e];
966
+ }, ue = [];
967
+ function fn(e, t) {
1005
968
  return {
1006
- subscribe: ke(e, t).subscribe
969
+ subscribe: Ge(e, t).subscribe
1007
970
  };
1008
971
  }
1009
- function ke(e, t = $) {
972
+ function Ge(e, t = D) {
1010
973
  let r;
1011
974
  const n = /* @__PURE__ */ new Set();
1012
975
  function i(a) {
1013
- if (tr(e, a) && (e = a, r)) {
1014
- const u = !he.length;
976
+ if (Zt(e, a) && (e = a, r)) {
977
+ const h = !ue.length;
1015
978
  for (const l of n)
1016
- l[1](), he.push(l, e);
1017
- if (u) {
1018
- for (let l = 0; l < he.length; l += 2)
1019
- he[l][0](he[l + 1]);
1020
- he.length = 0;
979
+ l[1](), ue.push(l, e);
980
+ if (h) {
981
+ for (let l = 0; l < ue.length; l += 2)
982
+ ue[l][0](ue[l + 1]);
983
+ ue.length = 0;
1021
984
  }
1022
985
  }
1023
986
  }
1024
987
  function o(a) {
1025
988
  i(a(e));
1026
989
  }
1027
- function s(a, u = $) {
1028
- const l = [a, u];
1029
- return n.add(l), n.size === 1 && (r = t(i, o) || $), a(e), () => {
990
+ function s(a, h = D) {
991
+ const l = [a, h];
992
+ return n.add(l), n.size === 1 && (r = t(i, o) || D), a(e), () => {
1030
993
  n.delete(l), n.size === 0 && r && (r(), r = null);
1031
994
  };
1032
995
  }
1033
996
  return { set: i, update: o, subscribe: s };
1034
997
  }
1035
- function ye(e, t, r) {
998
+ function ge(e, t, r) {
1036
999
  const n = !Array.isArray(e), i = n ? [e] : e;
1037
1000
  if (!i.every(Boolean))
1038
1001
  throw new Error("derived() expects stores as input, got a falsy value");
1039
1002
  const o = t.length < 2;
1040
- return wn(r, (s, a) => {
1041
- let u = !1;
1003
+ return fn(r, (s, a) => {
1004
+ let h = !1;
1042
1005
  const l = [];
1043
- let h = 0, d = $;
1006
+ let u = 0, d = D;
1044
1007
  const f = () => {
1045
- if (h)
1008
+ if (u)
1046
1009
  return;
1047
1010
  d();
1048
1011
  const v = t(n ? l[0] : l, s, a);
1049
- o ? s(v) : d = bt(v) ? v : $;
1012
+ o ? s(v) : d = pt(v) ? v : D;
1050
1013
  }, g = i.map(
1051
- (v, _) => rr(
1014
+ (v, _) => Jt(
1052
1015
  v,
1053
1016
  (A) => {
1054
- l[_] = A, h &= ~(1 << _), u && f();
1017
+ l[_] = A, u &= ~(1 << _), h && f();
1055
1018
  },
1056
1019
  () => {
1057
- h |= 1 << _;
1020
+ u |= 1 << _;
1058
1021
  }
1059
1022
  )
1060
1023
  );
1061
- return u = !0, f(), function() {
1062
- te(g), d(), u = !1;
1024
+ return h = !0, f(), function() {
1025
+ ee(g), d(), h = !1;
1063
1026
  };
1064
1027
  });
1065
1028
  }
1066
- function Tn(e) {
1029
+ function dn(e) {
1067
1030
  return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1068
1031
  }
1069
- var Hn = function(t) {
1070
- return An(t) && !Fn(t);
1032
+ var pn = function(t) {
1033
+ return mn(t) && !bn(t);
1071
1034
  };
1072
- function An(e) {
1035
+ function mn(e) {
1073
1036
  return !!e && typeof e == "object";
1074
1037
  }
1075
- function Fn(e) {
1038
+ function bn(e) {
1076
1039
  var t = Object.prototype.toString.call(e);
1077
- return t === "[object RegExp]" || t === "[object Date]" || Bn(e);
1040
+ return t === "[object RegExp]" || t === "[object Date]" || vn(e);
1078
1041
  }
1079
- var Pn = typeof Symbol == "function" && Symbol.for, Cn = Pn ? Symbol.for("react.element") : 60103;
1080
- function Bn(e) {
1081
- return e.$$typeof === Cn;
1042
+ var gn = typeof Symbol == "function" && Symbol.for, yn = gn ? Symbol.for("react.element") : 60103;
1043
+ function vn(e) {
1044
+ return e.$$typeof === yn;
1082
1045
  }
1083
- function In(e) {
1046
+ function _n(e) {
1084
1047
  return Array.isArray(e) ? [] : {};
1085
1048
  }
1086
- function we(e, t) {
1087
- return t.clone !== !1 && t.isMergeableObject(e) ? pe(In(e), e, t) : e;
1049
+ function Se(e, t) {
1050
+ return t.clone !== !1 && t.isMergeableObject(e) ? de(_n(e), e, t) : e;
1088
1051
  }
1089
- function On(e, t, r) {
1052
+ function xn(e, t, r) {
1090
1053
  return e.concat(t).map(function(n) {
1091
- return we(n, r);
1054
+ return Se(n, r);
1092
1055
  });
1093
1056
  }
1094
- function Ln(e, t) {
1057
+ function En(e, t) {
1095
1058
  if (!t.customMerge)
1096
- return pe;
1059
+ return de;
1097
1060
  var r = t.customMerge(e);
1098
- return typeof r == "function" ? r : pe;
1061
+ return typeof r == "function" ? r : de;
1099
1062
  }
1100
- function Nn(e) {
1063
+ function Sn(e) {
1101
1064
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1102
1065
  return Object.propertyIsEnumerable.call(e, t);
1103
1066
  }) : [];
1104
1067
  }
1105
- function Rt(e) {
1106
- return Object.keys(e).concat(Nn(e));
1068
+ function Ct(e) {
1069
+ return Object.keys(e).concat(Sn(e));
1107
1070
  }
1108
- function hr(e, t) {
1071
+ function nr(e, t) {
1109
1072
  try {
1110
1073
  return t in e;
1111
- } catch (r) {
1074
+ } catch {
1112
1075
  return !1;
1113
1076
  }
1114
1077
  }
1115
- function Mn(e, t) {
1116
- return hr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1078
+ function wn(e, t) {
1079
+ return nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1117
1080
  }
1118
- function Rn(e, t, r) {
1081
+ function Tn(e, t, r) {
1119
1082
  var n = {};
1120
- return r.isMergeableObject(e) && Rt(e).forEach(function(i) {
1121
- n[i] = we(e[i], r);
1122
- }), Rt(t).forEach(function(i) {
1123
- Mn(e, i) || (hr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ln(i, r)(e[i], t[i], r) : n[i] = we(t[i], r));
1083
+ return r.isMergeableObject(e) && Ct(e).forEach(function(i) {
1084
+ n[i] = Se(e[i], r);
1085
+ }), Ct(t).forEach(function(i) {
1086
+ wn(e, i) || (nr(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = Se(t[i], r));
1124
1087
  }), n;
1125
1088
  }
1126
- function pe(e, t, r) {
1127
- r = r || {}, r.arrayMerge = r.arrayMerge || On, r.isMergeableObject = r.isMergeableObject || Hn, r.cloneUnlessOtherwiseSpecified = we;
1089
+ function de(e, t, r) {
1090
+ r = r || {}, r.arrayMerge = r.arrayMerge || xn, r.isMergeableObject = r.isMergeableObject || pn, r.cloneUnlessOtherwiseSpecified = Se;
1128
1091
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1129
- return o ? n ? r.arrayMerge(e, t, r) : Rn(e, t, r) : we(t, r);
1092
+ return o ? n ? r.arrayMerge(e, t, r) : Tn(e, t, r) : Se(t, r);
1130
1093
  }
1131
- pe.all = function(t, r) {
1094
+ de.all = function(t, r) {
1132
1095
  if (!Array.isArray(t))
1133
1096
  throw new Error("first argument should be an array");
1134
1097
  return t.reduce(function(n, i) {
1135
- return pe(n, i, r);
1098
+ return de(n, i, r);
1136
1099
  }, {});
1137
1100
  };
1138
- var Dn = pe, $n = Dn;
1139
- const Un = /* @__PURE__ */ Tn($n);
1140
- function Je(e, t) {
1141
- var r = t && t.cache ? t.cache : zn, n = t && t.serializer ? t.serializer : Xn, i = t && t.strategy ? t.strategy : kn;
1101
+ var Hn = de, An = Hn;
1102
+ const Fn = /* @__PURE__ */ dn(An);
1103
+ function ze(e, t) {
1104
+ var r = t && t.cache ? t.cache : Nn, n = t && t.serializer ? t.serializer : On, i = t && t.strategy ? t.strategy : Cn;
1142
1105
  return i(e, {
1143
1106
  cache: r,
1144
1107
  serializer: n
1145
1108
  });
1146
1109
  }
1147
- function Gn(e) {
1110
+ function Pn(e) {
1148
1111
  return e == null || typeof e == "number" || typeof e == "boolean";
1149
1112
  }
1150
- function cr(e, t, r, n) {
1151
- var i = Gn(n) ? n : r(n), o = t.get(i);
1152
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1113
+ function ir(e, t, r, n) {
1114
+ var i = Pn(n) ? n : r(n), o = t.get(i);
1115
+ return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1153
1116
  }
1154
- function fr(e, t, r) {
1117
+ function or(e, t, r) {
1155
1118
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1156
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1119
+ return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1157
1120
  }
1158
- function gt(e, t, r, n, i) {
1121
+ function mt(e, t, r, n, i) {
1159
1122
  return r.bind(t, e, n, i);
1160
1123
  }
1161
- function kn(e, t) {
1162
- var r = e.length === 1 ? cr : fr;
1163
- return gt(e, this, r, t.cache.create(), t.serializer);
1124
+ function Cn(e, t) {
1125
+ var r = e.length === 1 ? ir : or;
1126
+ return mt(e, this, r, t.cache.create(), t.serializer);
1164
1127
  }
1165
- function jn(e, t) {
1166
- return gt(e, this, fr, t.cache.create(), t.serializer);
1128
+ function Bn(e, t) {
1129
+ return mt(e, this, or, t.cache.create(), t.serializer);
1167
1130
  }
1168
- function Vn(e, t) {
1169
- return gt(e, this, cr, t.cache.create(), t.serializer);
1131
+ function In(e, t) {
1132
+ return mt(e, this, ir, t.cache.create(), t.serializer);
1170
1133
  }
1171
- var Xn = function() {
1134
+ var On = function() {
1172
1135
  return JSON.stringify(arguments);
1173
- }, Wn = (
1136
+ }, Ln = (
1174
1137
  /** @class */
1175
1138
  function() {
1176
1139
  function e() {
@@ -1182,13 +1145,13 @@ var Xn = function() {
1182
1145
  this.cache[t] = r;
1183
1146
  }, e;
1184
1147
  }()
1185
- ), zn = {
1148
+ ), Nn = {
1186
1149
  create: function() {
1187
- return new Wn();
1150
+ return new Ln();
1188
1151
  }
1189
- }, Qe = {
1190
- variadic: jn,
1191
- monadic: Vn
1152
+ }, Ze = {
1153
+ variadic: Bn,
1154
+ monadic: In
1192
1155
  }, x;
1193
1156
  (function(e) {
1194
1157
  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";
@@ -1197,47 +1160,47 @@ var C;
1197
1160
  (function(e) {
1198
1161
  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";
1199
1162
  })(C || (C = {}));
1200
- var me;
1163
+ var pe;
1201
1164
  (function(e) {
1202
1165
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1203
- })(me || (me = {}));
1204
- function Dt(e) {
1166
+ })(pe || (pe = {}));
1167
+ function Bt(e) {
1205
1168
  return e.type === C.literal;
1206
1169
  }
1207
- function Zn(e) {
1170
+ function Mn(e) {
1208
1171
  return e.type === C.argument;
1209
1172
  }
1210
- function dr(e) {
1173
+ function sr(e) {
1211
1174
  return e.type === C.number;
1212
1175
  }
1213
- function pr(e) {
1176
+ function ar(e) {
1214
1177
  return e.type === C.date;
1215
1178
  }
1216
- function mr(e) {
1179
+ function lr(e) {
1217
1180
  return e.type === C.time;
1218
1181
  }
1219
- function br(e) {
1182
+ function ur(e) {
1220
1183
  return e.type === C.select;
1221
1184
  }
1222
- function gr(e) {
1185
+ function hr(e) {
1223
1186
  return e.type === C.plural;
1224
1187
  }
1225
- function Jn(e) {
1188
+ function Rn(e) {
1226
1189
  return e.type === C.pound;
1227
1190
  }
1228
- function yr(e) {
1191
+ function cr(e) {
1229
1192
  return e.type === C.tag;
1230
1193
  }
1231
- function vr(e) {
1232
- return !!(e && typeof e == "object" && e.type === me.number);
1194
+ function fr(e) {
1195
+ return !!(e && typeof e == "object" && e.type === pe.number);
1233
1196
  }
1234
- function lt(e) {
1235
- return !!(e && typeof e == "object" && e.type === me.dateTime);
1197
+ function st(e) {
1198
+ return !!(e && typeof e == "object" && e.type === pe.dateTime);
1236
1199
  }
1237
- var _r = /[ \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;
1238
- function qn(e) {
1200
+ var dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dn = /(?:[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;
1201
+ function $n(e) {
1239
1202
  var t = {};
1240
- return e.replace(Qn, function(r) {
1203
+ return e.replace(Dn, function(r) {
1241
1204
  var n = r.length;
1242
1205
  switch (r[0]) {
1243
1206
  case "G":
@@ -1326,36 +1289,36 @@ function qn(e) {
1326
1289
  return "";
1327
1290
  }), t;
1328
1291
  }
1329
- var Yn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1330
- function Kn(e) {
1292
+ var Un = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1293
+ function Gn(e) {
1331
1294
  if (e.length === 0)
1332
1295
  throw new Error("Number skeleton cannot be empty");
1333
- for (var t = e.split(Yn).filter(function(f) {
1296
+ for (var t = e.split(Un).filter(function(f) {
1334
1297
  return f.length > 0;
1335
1298
  }), r = [], n = 0, i = t; n < i.length; n++) {
1336
1299
  var o = i[n], s = o.split("/");
1337
1300
  if (s.length === 0)
1338
1301
  throw new Error("Invalid number skeleton");
1339
- for (var a = s[0], u = s.slice(1), l = 0, h = u; l < h.length; l++) {
1340
- var d = h[l];
1302
+ for (var a = s[0], h = s.slice(1), l = 0, u = h; l < u.length; l++) {
1303
+ var d = u[l];
1341
1304
  if (d.length === 0)
1342
1305
  throw new Error("Invalid number skeleton");
1343
1306
  }
1344
- r.push({ stem: a, options: u });
1307
+ r.push({ stem: a, options: h });
1345
1308
  }
1346
1309
  return r;
1347
1310
  }
1348
- function ei(e) {
1311
+ function kn(e) {
1349
1312
  return e.replace(/^(.*?)-/, "");
1350
1313
  }
1351
- var $t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xr = /^(@+)?(\+|#+)?[rs]?$/g, ti = /(\*)(0+)|(#+)(0+)|(0+)/g, Er = /^(0+)$/;
1352
- function Ut(e) {
1314
+ var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, jn = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
1315
+ function Ot(e) {
1353
1316
  var t = {};
1354
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(xr, function(r, n, i) {
1317
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pr, function(r, n, i) {
1355
1318
  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)), "";
1356
1319
  }), t;
1357
1320
  }
1358
- function Sr(e) {
1321
+ function br(e) {
1359
1322
  switch (e) {
1360
1323
  case "sign-auto":
1361
1324
  return {
@@ -1395,7 +1358,7 @@ function Sr(e) {
1395
1358
  };
1396
1359
  }
1397
1360
  }
1398
- function ri(e) {
1361
+ function Vn(e) {
1399
1362
  var t;
1400
1363
  if (e[0] === "E" && e[1] === "E" ? (t = {
1401
1364
  notation: "engineering"
@@ -1403,17 +1366,17 @@ function ri(e) {
1403
1366
  notation: "scientific"
1404
1367
  }, e = e.slice(1)), t) {
1405
1368
  var r = e.slice(0, 2);
1406
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Er.test(e))
1369
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
1407
1370
  throw new Error("Malformed concise eng/scientific notation");
1408
1371
  t.minimumIntegerDigits = e.length;
1409
1372
  }
1410
1373
  return t;
1411
1374
  }
1412
- function Gt(e) {
1413
- var t = {}, r = Sr(e);
1375
+ function Lt(e) {
1376
+ var t = {}, r = br(e);
1414
1377
  return r || t;
1415
1378
  }
1416
- function ni(e) {
1379
+ function Xn(e) {
1417
1380
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1418
1381
  var i = n[r];
1419
1382
  switch (i.stem) {
@@ -1437,7 +1400,7 @@ function ni(e) {
1437
1400
  continue;
1438
1401
  case "measure-unit":
1439
1402
  case "unit":
1440
- t.style = "unit", t.unit = ei(i.options[0]);
1403
+ t.style = "unit", t.unit = kn(i.options[0]);
1441
1404
  continue;
1442
1405
  case "compact-short":
1443
1406
  case "K":
@@ -1448,13 +1411,13 @@ function ni(e) {
1448
1411
  t.notation = "compact", t.compactDisplay = "long";
1449
1412
  continue;
1450
1413
  case "scientific":
1451
- t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1452
- return S(S({}, u), Gt(l));
1414
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1415
+ return S(S({}, h), Lt(l));
1453
1416
  }, {}));
1454
1417
  continue;
1455
1418
  case "engineering":
1456
- t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1457
- return S(S({}, u), Gt(l));
1419
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1420
+ return S(S({}, h), Lt(l));
1458
1421
  }, {}));
1459
1422
  continue;
1460
1423
  case "notation-simple":
@@ -1499,9 +1462,9 @@ function ni(e) {
1499
1462
  case "integer-width":
1500
1463
  if (i.options.length > 1)
1501
1464
  throw new RangeError("integer-width stems only accept a single optional option");
1502
- i.options[0].replace(ti, function(u, l, h, d, f, g) {
1465
+ i.options[0].replace(jn, function(h, l, u, d, f, g) {
1503
1466
  if (l)
1504
- t.minimumIntegerDigits = h.length;
1467
+ t.minimumIntegerDigits = u.length;
1505
1468
  else {
1506
1469
  if (d && f)
1507
1470
  throw new Error("We currently do not support maximum integer digits");
@@ -1512,32 +1475,32 @@ function ni(e) {
1512
1475
  });
1513
1476
  continue;
1514
1477
  }
1515
- if (Er.test(i.stem)) {
1478
+ if (mr.test(i.stem)) {
1516
1479
  t.minimumIntegerDigits = i.stem.length;
1517
1480
  continue;
1518
1481
  }
1519
- if ($t.test(i.stem)) {
1482
+ if (It.test(i.stem)) {
1520
1483
  if (i.options.length > 1)
1521
1484
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1522
- i.stem.replace($t, function(u, l, h, d, f, g) {
1523
- return h === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && g ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + g.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1485
+ i.stem.replace(It, function(h, l, u, d, f, g) {
1486
+ return u === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && g ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + g.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1524
1487
  });
1525
1488
  var o = i.options[0];
1526
- o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Ut(o)));
1489
+ o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Ot(o)));
1527
1490
  continue;
1528
1491
  }
1529
- if (xr.test(i.stem)) {
1530
- t = S(S({}, t), Ut(i.stem));
1492
+ if (pr.test(i.stem)) {
1493
+ t = S(S({}, t), Ot(i.stem));
1531
1494
  continue;
1532
1495
  }
1533
- var s = Sr(i.stem);
1496
+ var s = br(i.stem);
1534
1497
  s && (t = S(S({}, t), s));
1535
- var a = ri(i.stem);
1498
+ var a = Vn(i.stem);
1536
1499
  a && (t = S(S({}, t), a));
1537
1500
  }
1538
1501
  return t;
1539
1502
  }
1540
- var Oe = {
1503
+ var Ie = {
1541
1504
  "001": [
1542
1505
  "H",
1543
1506
  "h"
@@ -2952,22 +2915,22 @@ var Oe = {
2952
2915
  "h"
2953
2916
  ]
2954
2917
  };
2955
- function ii(e, t) {
2918
+ function Wn(e, t) {
2956
2919
  for (var r = "", n = 0; n < e.length; n++) {
2957
2920
  var i = e.charAt(n);
2958
2921
  if (i === "j") {
2959
2922
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2960
2923
  o++, n++;
2961
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = oi(t);
2924
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = zn(t);
2962
2925
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2963
- r += u;
2926
+ r += h;
2964
2927
  for (; s-- > 0; )
2965
2928
  r = l + r;
2966
2929
  } else i === "J" ? r += "H" : r += i;
2967
2930
  }
2968
2931
  return r;
2969
2932
  }
2970
- function oi(e) {
2933
+ function zn(e) {
2971
2934
  var t = e.hourCycle;
2972
2935
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2973
2936
  e.hourCycles && // @ts-ignore
@@ -2986,23 +2949,23 @@ function oi(e) {
2986
2949
  }
2987
2950
  var r = e.language, n;
2988
2951
  r !== "root" && (n = e.maximize().region);
2989
- var i = Oe[n || ""] || Oe[r || ""] || Oe["".concat(r, "-001")] || Oe["001"];
2952
+ var i = Ie[n || ""] || Ie[r || ""] || Ie["".concat(r, "-001")] || Ie["001"];
2990
2953
  return i[0];
2991
2954
  }
2992
- var qe, si = new RegExp("^".concat(_r.source, "*")), ai = new RegExp("".concat(_r.source, "*$"));
2955
+ var Je, Zn = new RegExp("^".concat(dr.source, "*")), Jn = new RegExp("".concat(dr.source, "*$"));
2993
2956
  function E(e, t) {
2994
2957
  return { start: e, end: t };
2995
2958
  }
2996
- var li = !!String.prototype.startsWith && "_a".startsWith("a", 1), ui = !!String.fromCodePoint, hi = !!Object.fromEntries, ci = !!String.prototype.codePointAt, fi = !!String.prototype.trimStart, di = !!String.prototype.trimEnd, pi = !!Number.isSafeInteger, mi = pi ? Number.isSafeInteger : function(e) {
2959
+ var Qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), qn = !!String.fromCodePoint, Yn = !!Object.fromEntries, Kn = !!String.prototype.codePointAt, ei = !!String.prototype.trimStart, ti = !!String.prototype.trimEnd, ri = !!Number.isSafeInteger, ni = ri ? Number.isSafeInteger : function(e) {
2997
2960
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2998
- }, ut = !0;
2961
+ }, at = !0;
2999
2962
  try {
3000
- var bi = Tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3001
- ut = ((qe = bi.exec("a")) === null || qe === void 0 ? void 0 : qe[0]) === "a";
3002
- } catch (e) {
3003
- ut = !1;
2963
+ var ii = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2964
+ at = ((Je = ii.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
2965
+ } catch {
2966
+ at = !1;
3004
2967
  }
3005
- var kt = li ? (
2968
+ var Nt = Qn ? (
3006
2969
  // Native
3007
2970
  function(t, r, n) {
3008
2971
  return t.startsWith(r, n);
@@ -3012,7 +2975,7 @@ var kt = li ? (
3012
2975
  function(t, r, n) {
3013
2976
  return t.slice(n, n + r.length) === r;
3014
2977
  }
3015
- ), ht = ui ? String.fromCodePoint : (
2978
+ ), lt = qn ? String.fromCodePoint : (
3016
2979
  // IE11
3017
2980
  function() {
3018
2981
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3024,9 +2987,9 @@ var kt = li ? (
3024
2987
  }
3025
2988
  return n;
3026
2989
  }
3027
- ), jt = (
2990
+ ), Mt = (
3028
2991
  // native
3029
- hi ? Object.fromEntries : (
2992
+ Yn ? Object.fromEntries : (
3030
2993
  // Ponyfill
3031
2994
  function(t) {
3032
2995
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3036,7 +2999,7 @@ var kt = li ? (
3036
2999
  return r;
3037
3000
  }
3038
3001
  )
3039
- ), wr = ci ? (
3002
+ ), gr = Kn ? (
3040
3003
  // Native
3041
3004
  function(t, r) {
3042
3005
  return t.codePointAt(r);
@@ -3050,7 +3013,7 @@ var kt = li ? (
3050
3013
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3051
3014
  }
3052
3015
  }
3053
- ), gi = fi ? (
3016
+ ), oi = ei ? (
3054
3017
  // Native
3055
3018
  function(t) {
3056
3019
  return t.trimStart();
@@ -3058,9 +3021,9 @@ var kt = li ? (
3058
3021
  ) : (
3059
3022
  // Ponyfill
3060
3023
  function(t) {
3061
- return t.replace(si, "");
3024
+ return t.replace(Zn, "");
3062
3025
  }
3063
- ), yi = di ? (
3026
+ ), si = ti ? (
3064
3027
  // Native
3065
3028
  function(t) {
3066
3029
  return t.trimEnd();
@@ -3068,32 +3031,32 @@ var kt = li ? (
3068
3031
  ) : (
3069
3032
  // Ponyfill
3070
3033
  function(t) {
3071
- return t.replace(ai, "");
3034
+ return t.replace(Jn, "");
3072
3035
  }
3073
3036
  );
3074
- function Tr(e, t) {
3037
+ function yr(e, t) {
3075
3038
  return new RegExp(e, t);
3076
3039
  }
3077
- var ct;
3078
- if (ut) {
3079
- var Vt = Tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3080
- ct = function(t, r) {
3040
+ var ut;
3041
+ if (at) {
3042
+ var Rt = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3043
+ ut = function(t, r) {
3081
3044
  var n;
3082
- Vt.lastIndex = r;
3083
- var i = Vt.exec(t);
3045
+ Rt.lastIndex = r;
3046
+ var i = Rt.exec(t);
3084
3047
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3085
3048
  };
3086
3049
  } else
3087
- ct = function(t, r) {
3050
+ ut = function(t, r) {
3088
3051
  for (var n = []; ; ) {
3089
- var i = wr(t, r);
3090
- if (i === void 0 || Hr(i) || Ei(i))
3052
+ var i = gr(t, r);
3053
+ if (i === void 0 || vr(i) || hi(i))
3091
3054
  break;
3092
3055
  n.push(i), r += i >= 65536 ? 2 : 1;
3093
3056
  }
3094
- return ht.apply(void 0, n);
3057
+ return lt.apply(void 0, n);
3095
3058
  };
3096
- var vi = (
3059
+ var ai = (
3097
3060
  /** @class */
3098
3061
  function() {
3099
3062
  function e(t, r) {
@@ -3124,7 +3087,7 @@ var vi = (
3124
3087
  if (n)
3125
3088
  break;
3126
3089
  return this.error(x.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
3127
- } else if (o === 60 && !this.ignoreTag && ft(this.peek() || 0)) {
3090
+ } else if (o === 60 && !this.ignoreTag && ht(this.peek() || 0)) {
3128
3091
  var s = this.parseTag(t, r);
3129
3092
  if (s.err)
3130
3093
  return s;
@@ -3157,10 +3120,10 @@ var vi = (
3157
3120
  return o;
3158
3121
  var s = o.val, a = this.clonePosition();
3159
3122
  if (this.bumpIf("</")) {
3160
- if (this.isEOF() || !ft(this.char()))
3123
+ if (this.isEOF() || !ht(this.char()))
3161
3124
  return this.error(x.INVALID_TAG, E(a, this.clonePosition()));
3162
- var u = this.clonePosition(), l = this.parseTagName();
3163
- return i !== l ? this.error(x.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3125
+ var h = this.clonePosition(), l = this.parseTagName();
3126
+ return i !== l ? this.error(x.UNMATCHED_CLOSING_TAG, E(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3164
3127
  val: {
3165
3128
  type: C.tag,
3166
3129
  value: i,
@@ -3175,7 +3138,7 @@ var vi = (
3175
3138
  return this.error(x.INVALID_TAG, E(n, this.clonePosition()));
3176
3139
  }, e.prototype.parseTagName = function() {
3177
3140
  var t = this.offset();
3178
- for (this.bump(); !this.isEOF() && xi(this.char()); )
3141
+ for (this.bump(); !this.isEOF() && ui(this.char()); )
3179
3142
  this.bump();
3180
3143
  return this.message.slice(t, this.offset());
3181
3144
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3197,14 +3160,14 @@ var vi = (
3197
3160
  }
3198
3161
  break;
3199
3162
  }
3200
- var u = E(n, this.clonePosition());
3163
+ var h = E(n, this.clonePosition());
3201
3164
  return {
3202
- val: { type: C.literal, value: i, location: u },
3165
+ val: { type: C.literal, value: i, location: h },
3203
3166
  err: null
3204
3167
  };
3205
3168
  }, e.prototype.tryParseLeftAngleBracket = function() {
3206
3169
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3207
- !_i(this.peek() || 0)) ? (this.bump(), "<") : null;
3170
+ !li(this.peek() || 0)) ? (this.bump(), "<") : null;
3208
3171
  }, e.prototype.tryParseQuote = function(t) {
3209
3172
  if (this.isEOF() || this.char() !== 39)
3210
3173
  return null;
@@ -3238,12 +3201,12 @@ var vi = (
3238
3201
  r.push(n);
3239
3202
  this.bump();
3240
3203
  }
3241
- return ht.apply(void 0, r);
3204
+ return lt.apply(void 0, r);
3242
3205
  }, e.prototype.tryParseUnquoted = function(t, r) {
3243
3206
  if (this.isEOF())
3244
3207
  return null;
3245
3208
  var n = this.char();
3246
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ht(n));
3209
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), lt(n));
3247
3210
  }, e.prototype.parseArgument = function(t, r) {
3248
3211
  var n = this.clonePosition();
3249
3212
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3272,15 +3235,15 @@ var vi = (
3272
3235
  return this.error(x.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3273
3236
  }
3274
3237
  }, e.prototype.parseIdentifierIfPossible = function() {
3275
- var t = this.clonePosition(), r = this.offset(), n = ct(this.message, r), i = r + n.length;
3238
+ var t = this.clonePosition(), r = this.offset(), n = ut(this.message, r), i = r + n.length;
3276
3239
  this.bumpTo(i);
3277
3240
  var o = this.clonePosition(), s = E(t, o);
3278
3241
  return { value: n, location: s };
3279
3242
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3280
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3243
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3281
3244
  switch (a) {
3282
3245
  case "":
3283
- return this.error(x.EXPECT_ARGUMENT_TYPE, E(s, u));
3246
+ return this.error(x.EXPECT_ARGUMENT_TYPE, E(s, h));
3284
3247
  case "number":
3285
3248
  case "date":
3286
3249
  case "time": {
@@ -3288,21 +3251,21 @@ var vi = (
3288
3251
  var l = null;
3289
3252
  if (this.bumpIf(",")) {
3290
3253
  this.bumpSpace();
3291
- var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3254
+ var u = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3292
3255
  if (d.err)
3293
3256
  return d;
3294
- var f = yi(d.val);
3257
+ var f = si(d.val);
3295
3258
  if (f.length === 0)
3296
3259
  return this.error(x.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3297
- var g = E(h, this.clonePosition());
3260
+ var g = E(u, this.clonePosition());
3298
3261
  l = { style: f, styleLocation: g };
3299
3262
  }
3300
3263
  var v = this.tryParseArgumentClose(i);
3301
3264
  if (v.err)
3302
3265
  return v;
3303
3266
  var _ = E(i, this.clonePosition());
3304
- if (l && kt(l == null ? void 0 : l.style, "::", 0)) {
3305
- var A = gi(l.style.slice(2));
3267
+ if (l && Nt(l?.style, "::", 0)) {
3268
+ var A = oi(l.style.slice(2));
3306
3269
  if (a === "number") {
3307
3270
  var d = this.parseNumberSkeletonFromString(A, l.styleLocation);
3308
3271
  return d.err ? d : {
@@ -3313,12 +3276,12 @@ var vi = (
3313
3276
  if (A.length === 0)
3314
3277
  return this.error(x.EXPECT_DATE_TIME_SKELETON, _);
3315
3278
  var y = A;
3316
- this.locale && (y = ii(A, this.locale));
3279
+ this.locale && (y = Wn(A, this.locale));
3317
3280
  var f = {
3318
- type: me.dateTime,
3281
+ type: pe.dateTime,
3319
3282
  pattern: y,
3320
3283
  location: l.styleLocation,
3321
- parsedOptions: this.shouldParseSkeletons ? qn(y) : {}
3284
+ parsedOptions: this.shouldParseSkeletons ? $n(y) : {}
3322
3285
  }, F = a === "date" ? C.date : C.time;
3323
3286
  return {
3324
3287
  val: { type: F, value: n, location: _, style: f },
@@ -3331,7 +3294,7 @@ var vi = (
3331
3294
  type: a === "number" ? C.number : a === "date" ? C.date : C.time,
3332
3295
  value: n,
3333
3296
  location: _,
3334
- style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3297
+ style: (o = l?.style) !== null && o !== void 0 ? o : null
3335
3298
  },
3336
3299
  err: null
3337
3300
  };
@@ -3359,29 +3322,29 @@ var vi = (
3359
3322
  var v = this.tryParseArgumentClose(i);
3360
3323
  if (v.err)
3361
3324
  return v;
3362
- var z = E(i, this.clonePosition());
3325
+ var W = E(i, this.clonePosition());
3363
3326
  return a === "select" ? {
3364
3327
  val: {
3365
3328
  type: C.select,
3366
3329
  value: n,
3367
- options: jt(B.val),
3368
- location: z
3330
+ options: Mt(B.val),
3331
+ location: W
3369
3332
  },
3370
3333
  err: null
3371
3334
  } : {
3372
3335
  val: {
3373
3336
  type: C.plural,
3374
3337
  value: n,
3375
- options: jt(B.val),
3338
+ options: Mt(B.val),
3376
3339
  offset: I,
3377
3340
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3378
- location: z
3341
+ location: W
3379
3342
  },
3380
3343
  err: null
3381
3344
  };
3382
3345
  }
3383
3346
  default:
3384
- return this.error(x.INVALID_ARGUMENT_TYPE, E(s, u));
3347
+ return this.error(x.INVALID_ARGUMENT_TYPE, E(s, h));
3385
3348
  }
3386
3349
  }, e.prototype.tryParseArgumentClose = function(t) {
3387
3350
  return this.isEOF() || this.char() !== 125 ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3423,33 +3386,33 @@ var vi = (
3423
3386
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3424
3387
  var n = [];
3425
3388
  try {
3426
- n = Kn(t);
3427
- } catch (i) {
3389
+ n = Gn(t);
3390
+ } catch {
3428
3391
  return this.error(x.INVALID_NUMBER_SKELETON, r);
3429
3392
  }
3430
3393
  return {
3431
3394
  val: {
3432
- type: me.number,
3395
+ type: pe.number,
3433
3396
  tokens: n,
3434
3397
  location: r,
3435
- parsedOptions: this.shouldParseSkeletons ? ni(n) : {}
3398
+ parsedOptions: this.shouldParseSkeletons ? Xn(n) : {}
3436
3399
  },
3437
3400
  err: null
3438
3401
  };
3439
3402
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3440
- for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3403
+ for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
3441
3404
  if (l.length === 0) {
3442
3405
  var d = this.clonePosition();
3443
3406
  if (r !== "select" && this.bumpIf("=")) {
3444
3407
  var f = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
3445
3408
  if (f.err)
3446
3409
  return f;
3447
- h = E(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
3410
+ u = E(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
3448
3411
  } else
3449
3412
  break;
3450
3413
  }
3451
- if (u.has(l))
3452
- return this.error(r === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3414
+ if (h.has(l))
3415
+ return this.error(r === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3453
3416
  l === "other" && (s = !0), this.bumpSpace();
3454
3417
  var g = this.clonePosition();
3455
3418
  if (!this.bumpIf("{"))
@@ -3466,7 +3429,7 @@ var vi = (
3466
3429
  value: v.val,
3467
3430
  location: E(g, this.clonePosition())
3468
3431
  }
3469
- ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3432
+ ]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
3470
3433
  }
3471
3434
  return a.length === 0 ? this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(x.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3472
3435
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -3479,8 +3442,8 @@ var vi = (
3479
3442
  else
3480
3443
  break;
3481
3444
  }
3482
- var u = E(i, this.clonePosition());
3483
- return o ? (s *= n, mi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3445
+ var h = E(i, this.clonePosition());
3446
+ return o ? (s *= n, ni(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3484
3447
  }, e.prototype.offset = function() {
3485
3448
  return this.position.offset;
3486
3449
  }, e.prototype.isEOF = function() {
@@ -3495,7 +3458,7 @@ var vi = (
3495
3458
  var t = this.position.offset;
3496
3459
  if (t >= this.message.length)
3497
3460
  throw Error("out of bound");
3498
- var r = wr(this.message, t);
3461
+ var r = gr(this.message, t);
3499
3462
  if (r === void 0)
3500
3463
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3501
3464
  return r;
@@ -3514,7 +3477,7 @@ var vi = (
3514
3477
  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);
3515
3478
  }
3516
3479
  }, e.prototype.bumpIf = function(t) {
3517
- if (kt(this.message, t, this.offset())) {
3480
+ if (Nt(this.message, t, this.offset())) {
3518
3481
  for (var r = 0; r < t.length; r++)
3519
3482
  this.bump();
3520
3483
  return !0;
@@ -3536,56 +3499,56 @@ var vi = (
3536
3499
  break;
3537
3500
  }
3538
3501
  }, e.prototype.bumpSpace = function() {
3539
- for (; !this.isEOF() && Hr(this.char()); )
3502
+ for (; !this.isEOF() && vr(this.char()); )
3540
3503
  this.bump();
3541
3504
  }, e.prototype.peek = function() {
3542
3505
  if (this.isEOF())
3543
3506
  return null;
3544
3507
  var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3545
- return n != null ? n : null;
3508
+ return n ?? null;
3546
3509
  }, e;
3547
3510
  }()
3548
3511
  );
3549
- function ft(e) {
3512
+ function ht(e) {
3550
3513
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3551
3514
  }
3552
- function _i(e) {
3553
- return ft(e) || e === 47;
3515
+ function li(e) {
3516
+ return ht(e) || e === 47;
3554
3517
  }
3555
- function xi(e) {
3518
+ function ui(e) {
3556
3519
  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;
3557
3520
  }
3558
- function Hr(e) {
3521
+ function vr(e) {
3559
3522
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3560
3523
  }
3561
- function Ei(e) {
3524
+ function hi(e) {
3562
3525
  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;
3563
3526
  }
3564
- function dt(e) {
3527
+ function ct(e) {
3565
3528
  e.forEach(function(t) {
3566
- if (delete t.location, br(t) || gr(t))
3529
+ if (delete t.location, ur(t) || hr(t))
3567
3530
  for (var r in t.options)
3568
- delete t.options[r].location, dt(t.options[r].value);
3569
- else dr(t) && vr(t.style) || (pr(t) || mr(t)) && lt(t.style) ? delete t.style.location : yr(t) && dt(t.children);
3531
+ delete t.options[r].location, ct(t.options[r].value);
3532
+ else sr(t) && fr(t.style) || (ar(t) || lr(t)) && st(t.style) ? delete t.style.location : cr(t) && ct(t.children);
3570
3533
  });
3571
3534
  }
3572
- function Si(e, t) {
3535
+ function ci(e, t) {
3573
3536
  t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3574
- var r = new vi(e, t).parse();
3537
+ var r = new ai(e, t).parse();
3575
3538
  if (r.err) {
3576
3539
  var n = SyntaxError(x[r.err.kind]);
3577
3540
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3578
3541
  }
3579
- return t != null && t.captureLocation || dt(r.val), r.val;
3542
+ return t?.captureLocation || ct(r.val), r.val;
3580
3543
  }
3581
- var be;
3544
+ var me;
3582
3545
  (function(e) {
3583
3546
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3584
- })(be || (be = {}));
3585
- var je = (
3547
+ })(me || (me = {}));
3548
+ var ke = (
3586
3549
  /** @class */
3587
3550
  function(e) {
3588
- W(t, e);
3551
+ X(t, e);
3589
3552
  function t(r, n, i) {
3590
3553
  var o = e.call(this, r) || this;
3591
3554
  return o.code = n, o.originalMessage = i, o;
@@ -3594,110 +3557,110 @@ var je = (
3594
3557
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3595
3558
  }, t;
3596
3559
  }(Error)
3597
- ), Xt = (
3560
+ ), Dt = (
3598
3561
  /** @class */
3599
3562
  function(e) {
3600
- W(t, e);
3563
+ X(t, e);
3601
3564
  function t(r, n, i, o) {
3602
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), be.INVALID_VALUE, o) || this;
3565
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), me.INVALID_VALUE, o) || this;
3603
3566
  }
3604
3567
  return t;
3605
- }(je)
3606
- ), wi = (
3568
+ }(ke)
3569
+ ), fi = (
3607
3570
  /** @class */
3608
3571
  function(e) {
3609
- W(t, e);
3572
+ X(t, e);
3610
3573
  function t(r, n, i) {
3611
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), be.INVALID_VALUE, i) || this;
3574
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), me.INVALID_VALUE, i) || this;
3612
3575
  }
3613
3576
  return t;
3614
- }(je)
3615
- ), Ti = (
3577
+ }(ke)
3578
+ ), di = (
3616
3579
  /** @class */
3617
3580
  function(e) {
3618
- W(t, e);
3581
+ X(t, e);
3619
3582
  function t(r, n) {
3620
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), be.MISSING_VALUE, n) || this;
3583
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), me.MISSING_VALUE, n) || this;
3621
3584
  }
3622
3585
  return t;
3623
- }(je)
3586
+ }(ke)
3624
3587
  ), L;
3625
3588
  (function(e) {
3626
3589
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3627
3590
  })(L || (L = {}));
3628
- function Hi(e) {
3591
+ function pi(e) {
3629
3592
  return e.length < 2 ? e : e.reduce(function(t, r) {
3630
3593
  var n = t[t.length - 1];
3631
3594
  return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
3632
3595
  }, []);
3633
3596
  }
3634
- function Ai(e) {
3597
+ function mi(e) {
3635
3598
  return typeof e == "function";
3636
3599
  }
3637
- function Me(e, t, r, n, i, o, s) {
3638
- if (e.length === 1 && Dt(e[0]))
3600
+ function Ne(e, t, r, n, i, o, s) {
3601
+ if (e.length === 1 && Bt(e[0]))
3639
3602
  return [
3640
3603
  {
3641
3604
  type: L.literal,
3642
3605
  value: e[0].value
3643
3606
  }
3644
3607
  ];
3645
- for (var a = [], u = 0, l = e; u < l.length; u++) {
3646
- var h = l[u];
3647
- if (Dt(h)) {
3608
+ for (var a = [], h = 0, l = e; h < l.length; h++) {
3609
+ var u = l[h];
3610
+ if (Bt(u)) {
3648
3611
  a.push({
3649
3612
  type: L.literal,
3650
- value: h.value
3613
+ value: u.value
3651
3614
  });
3652
3615
  continue;
3653
3616
  }
3654
- if (Jn(h)) {
3617
+ if (Rn(u)) {
3655
3618
  typeof o == "number" && a.push({
3656
3619
  type: L.literal,
3657
3620
  value: r.getNumberFormat(t).format(o)
3658
3621
  });
3659
3622
  continue;
3660
3623
  }
3661
- var d = h.value;
3624
+ var d = u.value;
3662
3625
  if (!(i && d in i))
3663
- throw new Ti(d, s);
3626
+ throw new di(d, s);
3664
3627
  var f = i[d];
3665
- if (Zn(h)) {
3628
+ if (Mn(u)) {
3666
3629
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3667
3630
  type: typeof f == "string" ? L.literal : L.object,
3668
3631
  value: f
3669
3632
  });
3670
3633
  continue;
3671
3634
  }
3672
- if (pr(h)) {
3673
- var g = typeof h.style == "string" ? n.date[h.style] : lt(h.style) ? h.style.parsedOptions : void 0;
3635
+ if (ar(u)) {
3636
+ var g = typeof u.style == "string" ? n.date[u.style] : st(u.style) ? u.style.parsedOptions : void 0;
3674
3637
  a.push({
3675
3638
  type: L.literal,
3676
3639
  value: r.getDateTimeFormat(t, g).format(f)
3677
3640
  });
3678
3641
  continue;
3679
3642
  }
3680
- if (mr(h)) {
3681
- var g = typeof h.style == "string" ? n.time[h.style] : lt(h.style) ? h.style.parsedOptions : n.time.medium;
3643
+ if (lr(u)) {
3644
+ var g = typeof u.style == "string" ? n.time[u.style] : st(u.style) ? u.style.parsedOptions : n.time.medium;
3682
3645
  a.push({
3683
3646
  type: L.literal,
3684
3647
  value: r.getDateTimeFormat(t, g).format(f)
3685
3648
  });
3686
3649
  continue;
3687
3650
  }
3688
- if (dr(h)) {
3689
- var g = typeof h.style == "string" ? n.number[h.style] : vr(h.style) ? h.style.parsedOptions : void 0;
3651
+ if (sr(u)) {
3652
+ var g = typeof u.style == "string" ? n.number[u.style] : fr(u.style) ? u.style.parsedOptions : void 0;
3690
3653
  g && g.scale && (f = f * (g.scale || 1)), a.push({
3691
3654
  type: L.literal,
3692
3655
  value: r.getNumberFormat(t, g).format(f)
3693
3656
  });
3694
3657
  continue;
3695
3658
  }
3696
- if (yr(h)) {
3697
- var v = h.children, _ = h.value, A = i[_];
3698
- if (!Ai(A))
3699
- throw new wi(_, "function", s);
3700
- var y = Me(v, t, r, n, i, o), F = A(y.map(function(I) {
3659
+ if (cr(u)) {
3660
+ var v = u.children, _ = u.value, A = i[_];
3661
+ if (!mi(A))
3662
+ throw new fi(_, "function", s);
3663
+ var y = Ne(v, t, r, n, i, o), F = A(y.map(function(I) {
3701
3664
  return I.value;
3702
3665
  }));
3703
3666
  Array.isArray(F) || (F = [F]), a.push.apply(a, F.map(function(I) {
@@ -3707,42 +3670,42 @@ function Me(e, t, r, n, i, o, s) {
3707
3670
  };
3708
3671
  }));
3709
3672
  }
3710
- if (br(h)) {
3711
- var w = h.options[f] || h.options.other;
3673
+ if (ur(u)) {
3674
+ var w = u.options[f] || u.options.other;
3712
3675
  if (!w)
3713
- throw new Xt(h.value, f, Object.keys(h.options), s);
3714
- a.push.apply(a, Me(w.value, t, r, n, i));
3676
+ throw new Dt(u.value, f, Object.keys(u.options), s);
3677
+ a.push.apply(a, Ne(w.value, t, r, n, i));
3715
3678
  continue;
3716
3679
  }
3717
- if (gr(h)) {
3718
- var w = h.options["=".concat(f)];
3680
+ if (hr(u)) {
3681
+ var w = u.options["=".concat(f)];
3719
3682
  if (!w) {
3720
3683
  if (!Intl.PluralRules)
3721
- throw new je(`Intl.PluralRules is not available in this environment.
3684
+ throw new ke(`Intl.PluralRules is not available in this environment.
3722
3685
  Try polyfilling it using "@formatjs/intl-pluralrules"
3723
- `, be.MISSING_INTL_API, s);
3724
- var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3725
- w = h.options[O] || h.options.other;
3686
+ `, me.MISSING_INTL_API, s);
3687
+ var O = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
3688
+ w = u.options[O] || u.options.other;
3726
3689
  }
3727
3690
  if (!w)
3728
- throw new Xt(h.value, f, Object.keys(h.options), s);
3729
- a.push.apply(a, Me(w.value, t, r, n, i, f - (h.offset || 0)));
3691
+ throw new Dt(u.value, f, Object.keys(u.options), s);
3692
+ a.push.apply(a, Ne(w.value, t, r, n, i, f - (u.offset || 0)));
3730
3693
  continue;
3731
3694
  }
3732
3695
  }
3733
- return Hi(a);
3696
+ return pi(a);
3734
3697
  }
3735
- function Fi(e, t) {
3698
+ function bi(e, t) {
3736
3699
  return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3737
3700
  return r[n] = S(S({}, e[n]), t[n] || {}), r;
3738
3701
  }, {})) : e;
3739
3702
  }
3740
- function Pi(e, t) {
3703
+ function gi(e, t) {
3741
3704
  return t ? Object.keys(e).reduce(function(r, n) {
3742
- return r[n] = Fi(e[n], t[n]), r;
3705
+ return r[n] = bi(e[n], t[n]), r;
3743
3706
  }, S({}, e)) : e;
3744
3707
  }
3745
- function Ye(e) {
3708
+ function Qe(e) {
3746
3709
  return {
3747
3710
  create: function() {
3748
3711
  return {
@@ -3756,39 +3719,39 @@ function Ye(e) {
3756
3719
  }
3757
3720
  };
3758
3721
  }
3759
- function Ci(e) {
3722
+ function yi(e) {
3760
3723
  return e === void 0 && (e = {
3761
3724
  number: {},
3762
3725
  dateTime: {},
3763
3726
  pluralRules: {}
3764
3727
  }), {
3765
- getNumberFormat: Je(function() {
3728
+ getNumberFormat: ze(function() {
3766
3729
  for (var t, r = [], n = 0; n < arguments.length; n++)
3767
3730
  r[n] = arguments[n];
3768
- return new ((t = Intl.NumberFormat).bind.apply(t, de([void 0], r, !1)))();
3731
+ return new ((t = Intl.NumberFormat).bind.apply(t, fe([void 0], r, !1)))();
3769
3732
  }, {
3770
- cache: Ye(e.number),
3771
- strategy: Qe.variadic
3733
+ cache: Qe(e.number),
3734
+ strategy: Ze.variadic
3772
3735
  }),
3773
- getDateTimeFormat: Je(function() {
3736
+ getDateTimeFormat: ze(function() {
3774
3737
  for (var t, r = [], n = 0; n < arguments.length; n++)
3775
3738
  r[n] = arguments[n];
3776
- return new ((t = Intl.DateTimeFormat).bind.apply(t, de([void 0], r, !1)))();
3739
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, fe([void 0], r, !1)))();
3777
3740
  }, {
3778
- cache: Ye(e.dateTime),
3779
- strategy: Qe.variadic
3741
+ cache: Qe(e.dateTime),
3742
+ strategy: Ze.variadic
3780
3743
  }),
3781
- getPluralRules: Je(function() {
3744
+ getPluralRules: ze(function() {
3782
3745
  for (var t, r = [], n = 0; n < arguments.length; n++)
3783
3746
  r[n] = arguments[n];
3784
- return new ((t = Intl.PluralRules).bind.apply(t, de([void 0], r, !1)))();
3747
+ return new ((t = Intl.PluralRules).bind.apply(t, fe([void 0], r, !1)))();
3785
3748
  }, {
3786
- cache: Ye(e.pluralRules),
3787
- strategy: Qe.variadic
3749
+ cache: Qe(e.pluralRules),
3750
+ strategy: Ze.variadic
3788
3751
  })
3789
3752
  };
3790
3753
  }
3791
- var Bi = (
3754
+ var vi = (
3792
3755
  /** @class */
3793
3756
  function() {
3794
3757
  function e(t, r, n, i) {
@@ -3798,20 +3761,20 @@ var Bi = (
3798
3761
  number: {},
3799
3762
  dateTime: {},
3800
3763
  pluralRules: {}
3801
- }, this.format = function(u) {
3802
- var l = o.formatToParts(u);
3764
+ }, this.format = function(h) {
3765
+ var l = o.formatToParts(h);
3803
3766
  if (l.length === 1)
3804
3767
  return l[0].value;
3805
- var h = l.reduce(function(d, f) {
3768
+ var u = l.reduce(function(d, f) {
3806
3769
  return !d.length || f.type !== L.literal || typeof d[d.length - 1] != "string" ? d.push(f.value) : d[d.length - 1] += f.value, d;
3807
3770
  }, []);
3808
- return h.length <= 1 ? h[0] || "" : h;
3809
- }, this.formatToParts = function(u) {
3810
- return Me(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3771
+ return u.length <= 1 ? u[0] || "" : u;
3772
+ }, this.formatToParts = function(h) {
3773
+ return Ne(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3811
3774
  }, this.resolvedOptions = function() {
3812
- var u;
3775
+ var h;
3813
3776
  return {
3814
- locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3777
+ locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3815
3778
  };
3816
3779
  }, this.getAst = function() {
3817
3780
  return o.ast;
@@ -3820,13 +3783,13 @@ var Bi = (
3820
3783
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3821
3784
  var s = i || {};
3822
3785
  s.formatters;
3823
- var a = un(s, ["formatters"]);
3786
+ var a = Qr(s, ["formatters"]);
3824
3787
  this.ast = e.__parse(t, S(S({}, a), { locale: this.resolvedLocale }));
3825
3788
  } else
3826
3789
  this.ast = t;
3827
3790
  if (!Array.isArray(this.ast))
3828
3791
  throw new TypeError("A message must be provided as a String or AST.");
3829
- this.formats = Pi(e.formats, n), this.formatters = i && i.formatters || Ci(this.formatterCache);
3792
+ this.formats = gi(e.formats, n), this.formatters = i && i.formatters || yi(this.formatterCache);
3830
3793
  }
3831
3794
  return Object.defineProperty(e, "defaultLocale", {
3832
3795
  get: function() {
@@ -3835,11 +3798,11 @@ var Bi = (
3835
3798
  enumerable: !1,
3836
3799
  configurable: !0
3837
3800
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3838
- if (typeof Intl.Locale != "undefined") {
3801
+ if (!(typeof Intl.Locale > "u")) {
3839
3802
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3840
3803
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3841
3804
  }
3842
- }, e.__parse = Si, e.formats = {
3805
+ }, e.__parse = ci, e.formats = {
3843
3806
  number: {
3844
3807
  integer: {
3845
3808
  maximumFractionDigits: 0
@@ -3900,7 +3863,7 @@ var Bi = (
3900
3863
  }, e;
3901
3864
  }()
3902
3865
  );
3903
- function Ii(e, t) {
3866
+ function _i(e, t) {
3904
3867
  if (t == null)
3905
3868
  return;
3906
3869
  if (t in e)
@@ -3921,92 +3884,92 @@ function Ii(e, t) {
3921
3884
  n = void 0;
3922
3885
  return n;
3923
3886
  }
3924
- const J = {}, Oi = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), Ar = (e, t) => {
3887
+ const Z = {}, xi = (e, t, r) => r && (t in Z || (Z[t] = {}), e in Z[t] || (Z[t][e] = r), r), _r = (e, t) => {
3925
3888
  if (t == null)
3926
3889
  return;
3927
- if (t in J && e in J[t])
3928
- return J[t][e];
3929
- const r = Ve(t);
3890
+ if (t in Z && e in Z[t])
3891
+ return Z[t][e];
3892
+ const r = je(t);
3930
3893
  for (let n = 0; n < r.length; n++) {
3931
- const i = r[n], o = Ni(i, e);
3894
+ const i = r[n], o = Si(i, e);
3932
3895
  if (o)
3933
- return Oi(e, t, o);
3896
+ return xi(e, t, o);
3934
3897
  }
3935
3898
  };
3936
- let yt;
3937
- const ve = ke({});
3938
- function Li(e) {
3939
- return yt[e] || null;
3899
+ let bt;
3900
+ const ye = Ge({});
3901
+ function Ei(e) {
3902
+ return bt[e] || null;
3940
3903
  }
3941
- function Fr(e) {
3942
- return e in yt;
3904
+ function xr(e) {
3905
+ return e in bt;
3943
3906
  }
3944
- function Ni(e, t) {
3945
- if (!Fr(e))
3907
+ function Si(e, t) {
3908
+ if (!xr(e))
3946
3909
  return null;
3947
- const r = Li(e);
3948
- return Ii(r, t);
3910
+ const r = Ei(e);
3911
+ return _i(r, t);
3949
3912
  }
3950
- function Mi(e) {
3913
+ function wi(e) {
3951
3914
  if (e == null)
3952
3915
  return;
3953
- const t = Ve(e);
3916
+ const t = je(e);
3954
3917
  for (let r = 0; r < t.length; r++) {
3955
3918
  const n = t[r];
3956
- if (Fr(n))
3919
+ if (xr(n))
3957
3920
  return n;
3958
3921
  }
3959
3922
  }
3960
- function Pr(e, ...t) {
3961
- delete J[e], ve.update((r) => (r[e] = Un.all([r[e] || {}, ...t]), r));
3923
+ function Er(e, ...t) {
3924
+ delete Z[e], ye.update((r) => (r[e] = Fn.all([r[e] || {}, ...t]), r));
3962
3925
  }
3963
- ye(
3964
- [ve],
3926
+ ge(
3927
+ [ye],
3965
3928
  ([e]) => Object.keys(e)
3966
3929
  );
3967
- ve.subscribe((e) => yt = e);
3968
- const Re = {};
3969
- function Ri(e, t) {
3970
- Re[e].delete(t), Re[e].size === 0 && delete Re[e];
3930
+ ye.subscribe((e) => bt = e);
3931
+ const Me = {};
3932
+ function Ti(e, t) {
3933
+ Me[e].delete(t), Me[e].size === 0 && delete Me[e];
3971
3934
  }
3972
- function Cr(e) {
3973
- return Re[e];
3935
+ function Sr(e) {
3936
+ return Me[e];
3974
3937
  }
3975
- function Di(e) {
3976
- return Ve(e).map((t) => {
3977
- const r = Cr(t);
3938
+ function Hi(e) {
3939
+ return je(e).map((t) => {
3940
+ const r = Sr(t);
3978
3941
  return [t, r ? [...r] : []];
3979
3942
  }).filter(([, t]) => t.length > 0);
3980
3943
  }
3981
- function pt(e) {
3982
- return e == null ? !1 : Ve(e).some(
3944
+ function ft(e) {
3945
+ return e == null ? !1 : je(e).some(
3983
3946
  (t) => {
3984
3947
  var r;
3985
- return (r = Cr(t)) == null ? void 0 : r.size;
3948
+ return (r = Sr(t)) == null ? void 0 : r.size;
3986
3949
  }
3987
3950
  );
3988
3951
  }
3989
- function $i(e, t) {
3952
+ function Ai(e, t) {
3990
3953
  return Promise.all(
3991
- t.map((n) => (Ri(e, n), n().then((i) => i.default || i)))
3992
- ).then((n) => Pr(e, ...n));
3993
- }
3994
- const xe = {};
3995
- function Br(e) {
3996
- if (!pt(e))
3997
- return e in xe ? xe[e] : Promise.resolve();
3998
- const t = Di(e);
3999
- return xe[e] = Promise.all(
3954
+ t.map((n) => (Ti(e, n), n().then((i) => i.default || i)))
3955
+ ).then((n) => Er(e, ...n));
3956
+ }
3957
+ const _e = {};
3958
+ function wr(e) {
3959
+ if (!ft(e))
3960
+ return e in _e ? _e[e] : Promise.resolve();
3961
+ const t = Hi(e);
3962
+ return _e[e] = Promise.all(
4000
3963
  t.map(
4001
- ([r, n]) => $i(r, n)
3964
+ ([r, n]) => Ai(r, n)
4002
3965
  )
4003
3966
  ).then(() => {
4004
- if (pt(e))
4005
- return Br(e);
4006
- delete xe[e];
4007
- }), xe[e];
3967
+ if (ft(e))
3968
+ return wr(e);
3969
+ delete _e[e];
3970
+ }), _e[e];
4008
3971
  }
4009
- const Ui = {
3972
+ const Fi = {
4010
3973
  number: {
4011
3974
  scientific: { notation: "scientific" },
4012
3975
  engineering: { notation: "engineering" },
@@ -4035,159 +3998,159 @@ const Ui = {
4035
3998
  timeZoneName: "short"
4036
3999
  }
4037
4000
  }
4038
- }, Gi = {
4001
+ }, Pi = {
4039
4002
  fallbackLocale: null,
4040
4003
  loadingDelay: 200,
4041
- formats: Ui,
4004
+ formats: Fi,
4042
4005
  warnOnMissingMessages: !0,
4043
4006
  handleMissingMessage: void 0,
4044
4007
  ignoreTag: !0
4045
- }, ki = Gi;
4046
- function ge() {
4047
- return ki;
4008
+ }, Ci = Pi;
4009
+ function be() {
4010
+ return Ci;
4048
4011
  }
4049
- const Ke = ke(!1);
4050
- var ji = Object.defineProperty, Vi = Object.defineProperties, Xi = Object.getOwnPropertyDescriptors, Wt = Object.getOwnPropertySymbols, Wi = Object.prototype.hasOwnProperty, zi = Object.prototype.propertyIsEnumerable, zt = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Zi = (e, t) => {
4012
+ const qe = Ge(!1);
4013
+ var Bi = Object.defineProperty, Ii = Object.defineProperties, Oi = Object.getOwnPropertyDescriptors, $t = Object.getOwnPropertySymbols, Li = Object.prototype.hasOwnProperty, Ni = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mi = (e, t) => {
4051
4014
  for (var r in t)
4052
- Wi.call(t, r) && zt(e, r, t[r]);
4053
- if (Wt)
4054
- for (var r of Wt(t))
4055
- zi.call(t, r) && zt(e, r, t[r]);
4015
+ Li.call(t, r) && Ut(e, r, t[r]);
4016
+ if ($t)
4017
+ for (var r of $t(t))
4018
+ Ni.call(t, r) && Ut(e, r, t[r]);
4056
4019
  return e;
4057
- }, Ji = (e, t) => Vi(e, Xi(t));
4058
- let mt;
4059
- const $e = ke(null);
4060
- function Zt(e) {
4020
+ }, Ri = (e, t) => Ii(e, Oi(t));
4021
+ let dt;
4022
+ const De = Ge(null);
4023
+ function Gt(e) {
4061
4024
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4062
4025
  }
4063
- function Ve(e, t = ge().fallbackLocale) {
4064
- const r = Zt(e);
4065
- return t ? [.../* @__PURE__ */ new Set([...r, ...Zt(t)])] : r;
4026
+ function je(e, t = be().fallbackLocale) {
4027
+ const r = Gt(e);
4028
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Gt(t)])] : r;
4066
4029
  }
4067
- function re() {
4068
- return mt != null ? mt : void 0;
4030
+ function te() {
4031
+ return dt ?? void 0;
4069
4032
  }
4070
- $e.subscribe((e) => {
4071
- mt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4033
+ De.subscribe((e) => {
4034
+ dt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4072
4035
  });
4073
- const Qi = (e) => {
4074
- if (e && Mi(e) && pt(e)) {
4075
- const { loadingDelay: t } = ge();
4036
+ const Di = (e) => {
4037
+ if (e && wi(e) && ft(e)) {
4038
+ const { loadingDelay: t } = be();
4076
4039
  let r;
4077
- return typeof window != "undefined" && re() != null && t ? r = window.setTimeout(
4078
- () => Ke.set(!0),
4040
+ return typeof window < "u" && te() != null && t ? r = window.setTimeout(
4041
+ () => qe.set(!0),
4079
4042
  t
4080
- ) : Ke.set(!0), Br(e).then(() => {
4081
- $e.set(e);
4043
+ ) : qe.set(!0), wr(e).then(() => {
4044
+ De.set(e);
4082
4045
  }).finally(() => {
4083
- clearTimeout(r), Ke.set(!1);
4046
+ clearTimeout(r), qe.set(!1);
4084
4047
  });
4085
4048
  }
4086
- return $e.set(e);
4087
- }, ee = Ji(Zi({}, $e), {
4088
- set: Qi
4089
- }), Xe = (e) => {
4049
+ return De.set(e);
4050
+ }, K = Ri(Mi({}, De), {
4051
+ set: Di
4052
+ }), Ve = (e) => {
4090
4053
  const t = /* @__PURE__ */ Object.create(null);
4091
4054
  return (n) => {
4092
4055
  const i = JSON.stringify(n);
4093
4056
  return i in t ? t[i] : t[i] = e(n);
4094
4057
  };
4095
4058
  };
4096
- var qi = Object.defineProperty, Ue = Object.getOwnPropertySymbols, Ir = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable, Jt = (e, t, r) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vt = (e, t) => {
4059
+ var $i = Object.defineProperty, $e = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
4097
4060
  for (var r in t || (t = {}))
4098
- Ir.call(t, r) && Jt(e, r, t[r]);
4099
- if (Ue)
4100
- for (var r of Ue(t))
4101
- Or.call(t, r) && Jt(e, r, t[r]);
4061
+ Tr.call(t, r) && kt(e, r, t[r]);
4062
+ if ($e)
4063
+ for (var r of $e(t))
4064
+ Hr.call(t, r) && kt(e, r, t[r]);
4102
4065
  return e;
4103
- }, _e = (e, t) => {
4066
+ }, ve = (e, t) => {
4104
4067
  var r = {};
4105
4068
  for (var n in e)
4106
- Ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4107
- if (e != null && Ue)
4108
- for (var n of Ue(e))
4109
- t.indexOf(n) < 0 && Or.call(e, n) && (r[n] = e[n]);
4069
+ Tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4070
+ if (e != null && $e)
4071
+ for (var n of $e(e))
4072
+ t.indexOf(n) < 0 && Hr.call(e, n) && (r[n] = e[n]);
4110
4073
  return r;
4111
4074
  };
4112
- const Te = (e, t) => {
4113
- const { formats: r } = ge();
4075
+ const we = (e, t) => {
4076
+ const { formats: r } = be();
4114
4077
  if (e in r && t in r[e])
4115
4078
  return r[e][t];
4116
4079
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4117
- }, Yi = Xe(
4080
+ }, Ui = Ve(
4118
4081
  (e) => {
4119
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4082
+ var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4120
4083
  if (r == null)
4121
4084
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4122
- return n && (i = Te("number", n)), new Intl.NumberFormat(r, i);
4085
+ return n && (i = we("number", n)), new Intl.NumberFormat(r, i);
4123
4086
  }
4124
- ), Ki = Xe(
4087
+ ), Gi = Ve(
4125
4088
  (e) => {
4126
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4089
+ var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4127
4090
  if (r == null)
4128
4091
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4129
- return n ? i = Te("date", n) : Object.keys(i).length === 0 && (i = Te("date", "short")), new Intl.DateTimeFormat(r, i);
4092
+ return n ? i = we("date", n) : Object.keys(i).length === 0 && (i = we("date", "short")), new Intl.DateTimeFormat(r, i);
4130
4093
  }
4131
- ), eo = Xe(
4094
+ ), ki = Ve(
4132
4095
  (e) => {
4133
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4096
+ var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4134
4097
  if (r == null)
4135
4098
  throw new Error(
4136
4099
  '[svelte-i18n] A "locale" must be set to format time values'
4137
4100
  );
4138
- return n ? i = Te("time", n) : Object.keys(i).length === 0 && (i = Te("time", "short")), new Intl.DateTimeFormat(r, i);
4101
+ return n ? i = we("time", n) : Object.keys(i).length === 0 && (i = we("time", "short")), new Intl.DateTimeFormat(r, i);
4139
4102
  }
4140
- ), to = (e = {}) => {
4103
+ ), ji = (e = {}) => {
4141
4104
  var t = e, {
4142
- locale: r = re()
4143
- } = t, n = _e(t, [
4105
+ locale: r = te()
4106
+ } = t, n = ve(t, [
4144
4107
  "locale"
4145
4108
  ]);
4146
- return Yi(vt({ locale: r }, n));
4147
- }, ro = (e = {}) => {
4109
+ return Ui(gt({ locale: r }, n));
4110
+ }, Vi = (e = {}) => {
4148
4111
  var t = e, {
4149
- locale: r = re()
4150
- } = t, n = _e(t, [
4112
+ locale: r = te()
4113
+ } = t, n = ve(t, [
4151
4114
  "locale"
4152
4115
  ]);
4153
- return Ki(vt({ locale: r }, n));
4154
- }, no = (e = {}) => {
4116
+ return Gi(gt({ locale: r }, n));
4117
+ }, Xi = (e = {}) => {
4155
4118
  var t = e, {
4156
- locale: r = re()
4157
- } = t, n = _e(t, [
4119
+ locale: r = te()
4120
+ } = t, n = ve(t, [
4158
4121
  "locale"
4159
4122
  ]);
4160
- return eo(vt({ locale: r }, n));
4161
- }, io = Xe(
4123
+ return ki(gt({ locale: r }, n));
4124
+ }, Wi = Ve(
4162
4125
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4163
- (e, t = re()) => new Bi(e, t, ge().formats, {
4164
- ignoreTag: ge().ignoreTag
4126
+ (e, t = te()) => new vi(e, t, be().formats, {
4127
+ ignoreTag: be().ignoreTag
4165
4128
  })
4166
- ), oo = (e, t = {}) => {
4129
+ ), zi = (e, t = {}) => {
4167
4130
  var r, n, i, o;
4168
4131
  let s = t;
4169
4132
  typeof e == "object" && (s = e, e = s.id);
4170
4133
  const {
4171
4134
  values: a,
4172
- locale: u = re(),
4135
+ locale: h = te(),
4173
4136
  default: l
4174
4137
  } = s;
4175
- if (u == null)
4138
+ if (h == null)
4176
4139
  throw new Error(
4177
4140
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4178
4141
  );
4179
- let h = Ar(e, u);
4180
- if (!h)
4181
- h = (o = (i = (n = (r = ge()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4182
- else if (typeof h != "string")
4142
+ let u = _r(e, h);
4143
+ if (!u)
4144
+ u = (o = (i = (n = (r = be()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4145
+ else if (typeof u != "string")
4183
4146
  return console.warn(
4184
- `[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.`
4185
- ), h;
4147
+ `[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.`
4148
+ ), u;
4186
4149
  if (!a)
4187
- return h;
4188
- let d = h;
4150
+ return u;
4151
+ let d = u;
4189
4152
  try {
4190
- d = io(h, u).format(a);
4153
+ d = Wi(u, h).format(a);
4191
4154
  } catch (f) {
4192
4155
  f instanceof Error && console.warn(
4193
4156
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4195,22 +4158,22 @@ const Te = (e, t) => {
4195
4158
  );
4196
4159
  }
4197
4160
  return d;
4198
- }, so = (e, t) => no(t).format(e), ao = (e, t) => ro(t).format(e), lo = (e, t) => to(t).format(e), uo = (e, t = re()) => Ar(e, t), ho = ye([ee, ve], () => oo);
4199
- ye([ee], () => so);
4200
- ye([ee], () => ao);
4201
- ye([ee], () => lo);
4202
- ye([ee, ve], () => uo);
4203
- window.emWidgets = { topic: Sn };
4204
- const co = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4205
- function fo({ withLocale: e, translations: t }) {
4206
- ee.subscribe((r) => {
4207
- r == null && (ve.set(t), ee.set(e));
4161
+ }, Zi = (e, t) => Xi(t).format(e), Ji = (e, t) => Vi(t).format(e), Qi = (e, t) => ji(t).format(e), qi = (e, t = te()) => _r(e, t), Yi = ge([K, ye], () => zi);
4162
+ ge([K], () => Zi);
4163
+ ge([K], () => Ji);
4164
+ ge([K], () => Qi);
4165
+ ge([K, ye], () => qi);
4166
+ window.emWidgets = { topic: cn };
4167
+ const Ki = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4168
+ function eo({ withLocale: e, translations: t }) {
4169
+ K.subscribe((r) => {
4170
+ r == null && (ye.set(t), K.set(e));
4208
4171
  });
4209
4172
  }
4210
- function Qt(e, t) {
4211
- Pr(e, t);
4173
+ function jt(e, t) {
4174
+ Er(e, t);
4212
4175
  }
4213
- const qt = {
4176
+ const Vt = {
4214
4177
  en: {
4215
4178
  providers: "Providers:",
4216
4179
  filterby: "Filter by:",
@@ -4320,230 +4283,230 @@ const qt = {
4320
4283
  clear: "Clear all"
4321
4284
  }
4322
4285
  };
4323
- function po(e) {
4324
- Gr(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%}}');
4286
+ function to(e) {
4287
+ Pr(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%}}');
4325
4288
  }
4326
- function Yt(e, t, r) {
4289
+ function Xt(e, t, r) {
4327
4290
  const n = e.slice();
4328
4291
  return n[36] = t[r], n[37] = t, n[38] = r, n;
4329
4292
  }
4330
- function mo(e) {
4331
- let t, r, n, i, o, s, a, u, l = (
4293
+ function ro(e) {
4294
+ let t, r, n, i, o, s, a, h, l = (
4332
4295
  /*$_*/
4333
4296
  e[11]("filterby") + ""
4334
- ), h, d, f, g, v = (
4297
+ ), u, d, f, g, v = (
4335
4298
  /*$_*/
4336
4299
  e[11]("providers") + ""
4337
- ), _, A, y, F, w, O, I, B, z, j, q, He, U, ne = (
4300
+ ), _, A, y, F, w, O, I, B, W, k, Q, Te, $, re = (
4338
4301
  /*$_*/
4339
4302
  e[11]("clear") + ""
4340
- ), ie, Y, oe, K, se, Ae;
4341
- function Fe(p, H) {
4303
+ ), ne, q, ie, Y, oe, He;
4304
+ function Ae(p, H) {
4342
4305
  return (
4343
4306
  /*fullSelection*/
4344
- p[7] ? yo : go
4307
+ p[7] ? oo : io
4345
4308
  );
4346
4309
  }
4347
- let ae = Fe(e), N = ae(e), Z = Pt(
4310
+ let se = Ae(e), N = se(e), z = Et(
4348
4311
  /*vendorArray*/
4349
4312
  e[5]
4350
4313
  ), c = [];
4351
- for (let p = 0; p < Z.length; p += 1)
4352
- c[p] = Kt(Yt(e, Z, p));
4314
+ for (let p = 0; p < z.length; p += 1)
4315
+ c[p] = Wt(Xt(e, z, p));
4353
4316
  return {
4354
4317
  c() {
4355
- t = P("div"), r = P("div"), n = P("div"), i = Be("svg"), o = Be("path"), s = G(), a = P("div"), u = P("span"), h = D(l), d = G(), f = P("div"), g = P("span"), _ = D(v), A = G(), N.c(), y = G(), F = P("span"), w = Be("svg"), O = Be("path"), z = G(), j = P("div"), q = P("ul");
4318
+ t = P("div"), r = P("div"), n = P("div"), i = Ce("svg"), o = Ce("path"), s = U(), a = P("div"), h = P("span"), u = R(l), d = U(), f = P("div"), g = P("span"), _ = R(v), A = U(), N.c(), y = U(), F = P("span"), w = Ce("svg"), O = Ce("path"), W = U(), k = P("div"), Q = P("ul");
4356
4319
  for (let p = 0; p < c.length; p += 1)
4357
4320
  c[p].c();
4358
- He = G(), U = P("button"), ie = D(ne), m(o, "id", "noun_filter_736223"), m(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"), m(o, "transform", "translate(-5 -6.2)"), m(o, "fill", "#fff"), m(i, "xmlns", "http://www.w3.org/2000/svg"), m(i, "width", "16"), m(i, "height", "16"), m(i, "viewBox", "0 0 16 16"), m(u, "class", "FilterName"), m(f, "class", "FilterValueContainer"), m(a, "class", "FilterTextContainer"), m(n, "class", "FilterMainArea"), m(O, "id", "arrow"), m(O, "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"), m(O, "transform", "translate(-274.511 -441.088)"), m(O, "fill", "#d1d1d1"), m(w, "xmlns", "http://www.w3.org/2000/svg"), m(w, "width", "14"), m(w, "height", "6.835"), m(w, "viewBox", "0 0 14 6.835"), m(F, "class", I = "TriangleInactive " + /*isFilterActive*/
4321
+ Te = U(), $ = P("button"), ne = R(re), m(o, "id", "noun_filter_736223"), m(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"), m(o, "transform", "translate(-5 -6.2)"), m(o, "fill", "#fff"), m(i, "xmlns", "http://www.w3.org/2000/svg"), m(i, "width", "16"), m(i, "height", "16"), m(i, "viewBox", "0 0 16 16"), m(h, "class", "FilterName"), m(f, "class", "FilterValueContainer"), m(a, "class", "FilterTextContainer"), m(n, "class", "FilterMainArea"), m(O, "id", "arrow"), m(O, "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"), m(O, "transform", "translate(-274.511 -441.088)"), m(O, "fill", "#d1d1d1"), m(w, "xmlns", "http://www.w3.org/2000/svg"), m(w, "width", "14"), m(w, "height", "6.835"), m(w, "viewBox", "0 0 14 6.835"), m(F, "class", I = "TriangleInactive " + /*isFilterActive*/
4359
4322
  (e[4] ? "TriangleActive" : "")), m(r, "class", B = "FilterSelector " + /*isFilterActive*/
4360
- (e[4] ? "FilterSelectorOpen" : "")), m(q, "class", "FilterDropdown"), m(U, "class", "ClearFilters"), U.disabled = Y = /*fullSelection*/
4323
+ (e[4] ? "FilterSelectorOpen" : "")), m(Q, "class", "FilterDropdown"), m($, "class", "ClearFilters"), $.disabled = q = /*fullSelection*/
4361
4324
  e[7] && /*selectedVendorArray*/
4362
4325
  e[6].length != /*vendorArray*/
4363
- e[5].length, m(j, "class", oe = "FilterDropdownContainer " + /*isFilterActive*/
4364
- (e[4] ? "FilterOpen" : "")), m(t, "class", K = "FilterContainer " + /*addfilterselector*/
4326
+ e[5].length, m(k, "class", ie = "FilterDropdownContainer " + /*isFilterActive*/
4327
+ (e[4] ? "FilterOpen" : "")), m(t, "class", Y = "FilterContainer " + /*addfilterselector*/
4365
4328
  (e[0] == "true" && /*addsortingselector*/
4366
4329
  e[1] == "true" ? "FilerContainerSplit" : ""));
4367
4330
  },
4368
4331
  m(p, H) {
4369
- X(p, t, H), b(t, r), b(r, n), b(n, i), b(i, o), b(n, s), b(n, a), b(a, u), b(u, h), b(a, d), b(a, f), b(f, g), b(g, _), b(f, A), N.m(f, null), b(r, y), b(r, F), b(F, w), b(w, O), b(t, z), b(t, j), b(j, q);
4332
+ V(p, t, H), b(t, r), b(r, n), b(n, i), b(i, o), b(n, s), b(n, a), b(a, h), b(h, u), b(a, d), b(a, f), b(f, g), b(g, _), b(f, A), N.m(f, null), b(r, y), b(r, F), b(F, w), b(w, O), b(t, W), b(t, k), b(k, Q);
4370
4333
  for (let T = 0; T < c.length; T += 1)
4371
- c[T] && c[T].m(q, null);
4372
- b(j, He), b(j, U), b(U, ie), se || (Ae = [
4373
- De(
4334
+ c[T] && c[T].m(Q, null);
4335
+ b(k, Te), b(k, $), b($, ne), oe || (He = [
4336
+ Re(
4374
4337
  r,
4375
4338
  "click",
4376
4339
  /*click_handler*/
4377
4340
  e[22]
4378
4341
  ),
4379
- De(
4380
- U,
4342
+ Re(
4343
+ $,
4381
4344
  "click",
4382
4345
  /*click_handler_2*/
4383
4346
  e[25]
4384
4347
  )
4385
- ], se = !0);
4348
+ ], oe = !0);
4386
4349
  },
4387
4350
  p(p, H) {
4388
4351
  if (H[0] & /*$_*/
4389
4352
  2048 && l !== (l = /*$_*/
4390
- p[11]("filterby") + "") && Q(h, l), H[0] & /*$_*/
4353
+ p[11]("filterby") + "") && J(u, l), H[0] & /*$_*/
4391
4354
  2048 && v !== (v = /*$_*/
4392
- p[11]("providers") + "") && Q(_, v), ae === (ae = Fe(p)) && N ? N.p(p, H) : (N.d(1), N = ae(p), N && (N.c(), N.m(f, null))), H[0] & /*isFilterActive*/
4355
+ p[11]("providers") + "") && J(_, v), se === (se = Ae(p)) && N ? N.p(p, H) : (N.d(1), N = se(p), N && (N.c(), N.m(f, null))), H[0] & /*isFilterActive*/
4393
4356
  16 && I !== (I = "TriangleInactive " + /*isFilterActive*/
4394
4357
  (p[4] ? "TriangleActive" : "")) && m(F, "class", I), H[0] & /*isFilterActive*/
4395
4358
  16 && B !== (B = "FilterSelector " + /*isFilterActive*/
4396
4359
  (p[4] ? "FilterSelectorOpen" : "")) && m(r, "class", B), H[0] & /*filterbylogo, vendorArray, filterByVendors*/
4397
4360
  8228) {
4398
- Z = Pt(
4361
+ z = Et(
4399
4362
  /*vendorArray*/
4400
4363
  p[5]
4401
4364
  );
4402
4365
  let T;
4403
- for (T = 0; T < Z.length; T += 1) {
4404
- const le = Yt(p, Z, T);
4405
- c[T] ? c[T].p(le, H) : (c[T] = Kt(le), c[T].c(), c[T].m(q, null));
4366
+ for (T = 0; T < z.length; T += 1) {
4367
+ const ae = Xt(p, z, T);
4368
+ c[T] ? c[T].p(ae, H) : (c[T] = Wt(ae), c[T].c(), c[T].m(Q, null));
4406
4369
  }
4407
4370
  for (; T < c.length; T += 1)
4408
4371
  c[T].d(1);
4409
- c.length = Z.length;
4372
+ c.length = z.length;
4410
4373
  }
4411
4374
  H[0] & /*$_*/
4412
- 2048 && ne !== (ne = /*$_*/
4413
- p[11]("clear") + "") && Q(ie, ne), H[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4414
- 224 && Y !== (Y = /*fullSelection*/
4375
+ 2048 && re !== (re = /*$_*/
4376
+ p[11]("clear") + "") && J(ne, re), H[0] & /*fullSelection, selectedVendorArray, vendorArray*/
4377
+ 224 && q !== (q = /*fullSelection*/
4415
4378
  p[7] && /*selectedVendorArray*/
4416
4379
  p[6].length != /*vendorArray*/
4417
- p[5].length) && (U.disabled = Y), H[0] & /*isFilterActive*/
4418
- 16 && oe !== (oe = "FilterDropdownContainer " + /*isFilterActive*/
4419
- (p[4] ? "FilterOpen" : "")) && m(j, "class", oe), H[0] & /*addfilterselector, addsortingselector*/
4420
- 3 && K !== (K = "FilterContainer " + /*addfilterselector*/
4380
+ p[5].length) && ($.disabled = q), H[0] & /*isFilterActive*/
4381
+ 16 && ie !== (ie = "FilterDropdownContainer " + /*isFilterActive*/
4382
+ (p[4] ? "FilterOpen" : "")) && m(k, "class", ie), H[0] & /*addfilterselector, addsortingselector*/
4383
+ 3 && Y !== (Y = "FilterContainer " + /*addfilterselector*/
4421
4384
  (p[0] == "true" && /*addsortingselector*/
4422
- p[1] == "true" ? "FilerContainerSplit" : "")) && m(t, "class", K);
4385
+ p[1] == "true" ? "FilerContainerSplit" : "")) && m(t, "class", Y);
4423
4386
  },
4424
4387
  d(p) {
4425
- p && k(t), N.d(), Vr(c, p), se = !1, te(Ae);
4388
+ p && G(t), N.d(), Ir(c, p), oe = !1, ee(He);
4426
4389
  }
4427
4390
  };
4428
4391
  }
4429
- function bo(e) {
4392
+ function no(e) {
4430
4393
  let t, r = (
4431
4394
  /*$_*/
4432
4395
  e[11]("500") + ""
4433
4396
  ), n;
4434
4397
  return {
4435
4398
  c() {
4436
- t = P("p"), n = D(r), m(t, "class", "SearchLoading");
4399
+ t = P("p"), n = R(r), m(t, "class", "SearchLoading");
4437
4400
  },
4438
4401
  m(i, o) {
4439
- X(i, t, o), b(t, n);
4402
+ V(i, t, o), b(t, n);
4440
4403
  },
4441
4404
  p(i, o) {
4442
4405
  o[0] & /*$_*/
4443
4406
  2048 && r !== (r = /*$_*/
4444
- i[11]("500") + "") && Q(n, r);
4407
+ i[11]("500") + "") && J(n, r);
4445
4408
  },
4446
4409
  d(i) {
4447
- i && k(t);
4410
+ i && G(t);
4448
4411
  }
4449
4412
  };
4450
4413
  }
4451
- function go(e) {
4414
+ function io(e) {
4452
4415
  let t, r;
4453
4416
  return {
4454
4417
  c() {
4455
- t = P("span"), r = D(
4418
+ t = P("span"), r = R(
4456
4419
  /*selectionNumber*/
4457
4420
  e[8]
4458
4421
  ), m(t, "class", "FilterCounter");
4459
4422
  },
4460
4423
  m(n, i) {
4461
- X(n, t, i), b(t, r);
4424
+ V(n, t, i), b(t, r);
4462
4425
  },
4463
4426
  p(n, i) {
4464
4427
  i[0] & /*selectionNumber*/
4465
- 256 && Q(
4428
+ 256 && J(
4466
4429
  r,
4467
4430
  /*selectionNumber*/
4468
4431
  n[8]
4469
4432
  );
4470
4433
  },
4471
4434
  d(n) {
4472
- n && k(t);
4435
+ n && G(t);
4473
4436
  }
4474
4437
  };
4475
4438
  }
4476
- function yo(e) {
4439
+ function oo(e) {
4477
4440
  let t, r = (
4478
4441
  /*$_*/
4479
4442
  e[11]("all") + ""
4480
4443
  ), n;
4481
4444
  return {
4482
4445
  c() {
4483
- t = P("span"), n = D(r), m(t, "class", "FilterCounter");
4446
+ t = P("span"), n = R(r), m(t, "class", "FilterCounter");
4484
4447
  },
4485
4448
  m(i, o) {
4486
- X(i, t, o), b(t, n);
4449
+ V(i, t, o), b(t, n);
4487
4450
  },
4488
4451
  p(i, o) {
4489
4452
  o[0] & /*$_*/
4490
4453
  2048 && r !== (r = /*$_*/
4491
- i[11]("all") + "") && Q(n, r);
4454
+ i[11]("all") + "") && J(n, r);
4492
4455
  },
4493
4456
  d(i) {
4494
- i && k(t);
4457
+ i && G(t);
4495
4458
  }
4496
4459
  };
4497
4460
  }
4498
- function vo(e) {
4461
+ function so(e) {
4499
4462
  let t, r;
4500
4463
  return {
4501
4464
  c() {
4502
- t = P("img"), Ht(t.src, r = /*vendor*/
4465
+ t = P("img"), vt(t.src, r = /*vendor*/
4503
4466
  e[36].logo) || m(t, "src", r), m(t, "alt", "vendor logo");
4504
4467
  },
4505
4468
  m(n, i) {
4506
- X(n, t, i);
4469
+ V(n, t, i);
4507
4470
  },
4508
4471
  p(n, i) {
4509
4472
  i[0] & /*vendorArray*/
4510
- 32 && !Ht(t.src, r = /*vendor*/
4473
+ 32 && !vt(t.src, r = /*vendor*/
4511
4474
  n[36].logo) && m(t, "src", r);
4512
4475
  },
4513
4476
  d(n) {
4514
- n && k(t);
4477
+ n && G(t);
4515
4478
  }
4516
4479
  };
4517
4480
  }
4518
- function _o(e) {
4481
+ function ao(e) {
4519
4482
  let t, r, n = (
4520
4483
  /*vendor*/
4521
4484
  e[36].name + ""
4522
- ), i, o, s, a, u = (
4485
+ ), i, o, s, a, h = (
4523
4486
  /*vendor*/
4524
4487
  e[36].games.count + ""
4525
- ), l, h;
4488
+ ), l, u;
4526
4489
  return {
4527
4490
  c() {
4528
- t = P("div"), r = P("span"), i = D(n), o = G(), s = P("span"), a = D("("), l = D(u), h = D(")"), m(r, "class", "VendorName"), m(t, "class", "FilterItemLabel");
4491
+ t = P("div"), r = P("span"), i = R(n), o = U(), s = P("span"), a = R("("), l = R(h), u = R(")"), m(r, "class", "VendorName"), m(t, "class", "FilterItemLabel");
4529
4492
  },
4530
4493
  m(d, f) {
4531
- X(d, t, f), b(t, r), b(r, i), b(t, o), b(t, s), b(s, a), b(s, l), b(s, h);
4494
+ V(d, t, f), b(t, r), b(r, i), b(t, o), b(t, s), b(s, a), b(s, l), b(s, u);
4532
4495
  },
4533
4496
  p(d, f) {
4534
4497
  f[0] & /*vendorArray*/
4535
4498
  32 && n !== (n = /*vendor*/
4536
- d[36].name + "") && Q(i, n), f[0] & /*vendorArray*/
4537
- 32 && u !== (u = /*vendor*/
4538
- d[36].games.count + "") && Q(l, u);
4499
+ d[36].name + "") && J(i, n), f[0] & /*vendorArray*/
4500
+ 32 && h !== (h = /*vendor*/
4501
+ d[36].games.count + "") && J(l, h);
4539
4502
  },
4540
4503
  d(d) {
4541
- d && k(t);
4504
+ d && G(t);
4542
4505
  }
4543
4506
  };
4544
4507
  }
4545
- function Kt(e) {
4546
- let t, r, n, i, o, s, a, u, l, h, d, f;
4508
+ function Wt(e) {
4509
+ let t, r, n, i, o, s, a, h, l, u, d, f;
4547
4510
  function g() {
4548
4511
  e[23].call(
4549
4512
  n,
@@ -4566,52 +4529,52 @@ function Kt(e) {
4566
4529
  if (
4567
4530
  /*filterbylogo*/
4568
4531
  F[2] === "false"
4569
- ) return _o;
4532
+ ) return ao;
4570
4533
  if (
4571
4534
  /*filterbylogo*/
4572
4535
  F[2] === "true"
4573
- ) return vo;
4536
+ ) return so;
4574
4537
  }
4575
4538
  let A = _(e), y = A && A(e);
4576
4539
  return {
4577
4540
  c() {
4578
- t = P("li"), r = P("label"), n = P("input"), o = G(), s = P("span"), a = G(), y && y.c(), u = G(), m(n, "type", "checkbox"), m(n, "name", "checkbox"), n.__value = i = /*vendor*/
4579
- e[36].name, At(n, n.__value), m(s, "class", "FiltersCheckmark"), m(r, "class", "FilterLabel"), m(t, "class", l = "FilterItem " + /*filterbylogo*/
4580
- (e[2] === "true" ? "FilterItemWithLogos" : "")), t.value = h = /*vendor*/
4541
+ t = P("li"), r = P("label"), n = P("input"), o = U(), s = P("span"), a = U(), y && y.c(), h = U(), m(n, "type", "checkbox"), m(n, "name", "checkbox"), n.__value = i = /*vendor*/
4542
+ e[36].name, _t(n, n.__value), m(s, "class", "FiltersCheckmark"), m(r, "class", "FilterLabel"), m(t, "class", l = "FilterItem " + /*filterbylogo*/
4543
+ (e[2] === "true" ? "FilterItemWithLogos" : "")), t.value = u = /*vendor*/
4581
4544
  e[36].name;
4582
4545
  },
4583
4546
  m(F, w) {
4584
- X(F, t, w), b(t, r), b(r, n), n.checked = /*vendor*/
4585
- e[36].isFilterSelected, b(r, o), b(r, s), b(r, a), y && y.m(r, null), b(t, u), d || (f = [
4586
- De(n, "change", g),
4587
- De(n, "click", v)
4547
+ V(F, t, w), b(t, r), b(r, n), n.checked = /*vendor*/
4548
+ e[36].isFilterSelected, b(r, o), b(r, s), b(r, a), y && y.m(r, null), b(t, h), d || (f = [
4549
+ Re(n, "change", g),
4550
+ Re(n, "click", v)
4588
4551
  ], d = !0);
4589
4552
  },
4590
4553
  p(F, w) {
4591
4554
  e = F, w[0] & /*vendorArray*/
4592
4555
  32 && i !== (i = /*vendor*/
4593
- e[36].name) && (n.__value = i, At(n, n.__value)), w[0] & /*vendorArray*/
4556
+ e[36].name) && (n.__value = i, _t(n, n.__value)), w[0] & /*vendorArray*/
4594
4557
  32 && (n.checked = /*vendor*/
4595
4558
  e[36].isFilterSelected), A === (A = _(e)) && y ? y.p(e, w) : (y && y.d(1), y = A && A(e), y && (y.c(), y.m(r, null))), w[0] & /*filterbylogo*/
4596
4559
  4 && l !== (l = "FilterItem " + /*filterbylogo*/
4597
4560
  (e[2] === "true" ? "FilterItemWithLogos" : "")) && m(t, "class", l), w[0] & /*vendorArray*/
4598
- 32 && h !== (h = /*vendor*/
4599
- e[36].name) && (t.value = h);
4561
+ 32 && u !== (u = /*vendor*/
4562
+ e[36].name) && (t.value = u);
4600
4563
  },
4601
4564
  d(F) {
4602
- F && k(t), y && y.d(), d = !1, te(f);
4565
+ F && G(t), y && y.d(), d = !1, ee(f);
4603
4566
  }
4604
4567
  };
4605
4568
  }
4606
- function xo(e) {
4569
+ function lo(e) {
4607
4570
  let t;
4608
4571
  function r(o, s) {
4609
4572
  if (
4610
4573
  /*hasErrors*/
4611
4574
  o[10]
4612
- ) return bo;
4575
+ ) return no;
4613
4576
  if (!/*isLoading*/
4614
- o[9]) return mo;
4577
+ o[9]) return ro;
4615
4578
  }
4616
4579
  let n = r(e), i = n && n(e);
4617
4580
  return {
@@ -4619,39 +4582,39 @@ function xo(e) {
4619
4582
  t = P("div"), i && i.c();
4620
4583
  },
4621
4584
  m(o, s) {
4622
- X(o, t, s), i && i.m(t, null), e[26](t);
4585
+ V(o, t, s), i && i.m(t, null), e[26](t);
4623
4586
  },
4624
4587
  p(o, s) {
4625
4588
  n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4626
4589
  },
4627
- i: $,
4628
- o: $,
4590
+ i: D,
4591
+ o: D,
4629
4592
  d(o) {
4630
- o && k(t), i && i.d(), e[26](null);
4593
+ o && G(t), i && i.d(), e[26](null);
4631
4594
  }
4632
4595
  };
4633
4596
  }
4634
- function Eo(e, t, r) {
4597
+ function uo(e, t, r) {
4635
4598
  let n;
4636
- Ur(e, ho, (c) => r(11, n = c));
4637
- 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: f = "false" } = t, { filterbylogo: g = "false" } = t, v = !1, _ = window.navigator.userAgent, A = [], y = [], F = {}, w = !1, O = 0, I = !0, B, z = !1;
4638
- fo({ withLocale: "en", translations: {} });
4639
- const j = () => {
4599
+ Fr(e, Yi, (c) => r(11, n = c));
4600
+ 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: f = "false" } = t, { filterbylogo: g = "false" } = t, v = !1, _ = window.navigator.userAgent, A = [], y = [], F = {}, w = !1, O = 0, I = !0, B, W = !1;
4601
+ eo({ withLocale: "en", translations: {} });
4602
+ const k = () => {
4640
4603
  fetch(a).then((p) => p.json()).then((p) => {
4641
4604
  Object.keys(p).forEach((H) => {
4642
- Qt(H, p[H]);
4605
+ jt(H, p[H]);
4643
4606
  });
4644
4607
  }).catch((p) => {
4645
4608
  console.log(p);
4646
4609
  });
4647
4610
  };
4648
- Object.keys(qt).forEach((c) => {
4649
- Qt(c, qt[c]);
4611
+ Object.keys(Vt).forEach((c) => {
4612
+ jt(c, Vt[c]);
4650
4613
  });
4651
- const q = () => {
4614
+ const Q = () => {
4652
4615
  let c = document.createElement("style");
4653
- c.innerHTML = u, B.appendChild(c);
4654
- }, He = () => {
4616
+ c.innerHTML = h, B.appendChild(c);
4617
+ }, Te = () => {
4655
4618
  let c = document.createElement("style");
4656
4619
  fetch(new URL(l)).then((p) => p.text()).then((p) => {
4657
4620
  c.innerHTML = p, setTimeout(
@@ -4662,60 +4625,59 @@ function Eo(e, t, r) {
4662
4625
  );
4663
4626
  });
4664
4627
  };
4665
- F[h] && (F = { [h]: [] });
4666
- const U = () => {
4628
+ F[u] && (F = { [u]: [] });
4629
+ const $ = () => {
4667
4630
  r(4, v = !v), window.postMessage({ type: "FilterOpened" }, window.location.href);
4668
- }, ne = (c) => (r(9, I = !0), new Promise((p, H) => {
4631
+ }, re = (c) => (r(9, I = !0), new Promise((p, H) => {
4669
4632
  fetch(c).then((T) => T.json()).then((T) => {
4670
4633
  T = T.items, p(T.items), r(6, y = []);
4671
- let le = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
4672
- T.forEach((Pe) => {
4673
- var _t;
4674
- le || (le = { currentCategoryId: [] }), ((_t = le[h]) == null ? void 0 : _t.indexOf(Pe.id)) >= 0 ? (Pe.isFilterSelected = !0, y.push(Pe)) : Pe.isFilterSelected = !1;
4675
- }), r(5, A = T), Y();
4634
+ let ae = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
4635
+ T.forEach((Fe) => {
4636
+ ae || (ae = { currentCategoryId: [] }), ae[u]?.indexOf(Fe.id) >= 0 ? (Fe.isFilterSelected = !0, y.push(Fe)) : Fe.isFilterSelected = !1;
4637
+ }), r(5, A = T), q();
4676
4638
  }).catch((T) => {
4677
- console.error(T), r(10, z = !0), H(T);
4639
+ console.error(T), r(10, W = !0), H(T);
4678
4640
  }).finally(() => {
4679
4641
  r(9, I = !1);
4680
4642
  });
4681
- })), ie = (c) => {
4643
+ })), ne = (c) => {
4682
4644
  let p = localStorage.getItem("vendorFiltersByCategory");
4683
4645
  c.isFilterSelected = !c.isFilterSelected, !y.length || y.filter((H) => H.name === c.name).length == 0 ? y.push(c) : r(6, y = y.filter((H) => H.name !== c.name)), p == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(F = {
4684
- [h]: y.map((H) => H.id)
4685
- })) : (p = JSON.parse(p), p[h] = y.map((H) => H.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(p))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), Y();
4686
- }, Y = () => {
4646
+ [u]: y.map((H) => H.id)
4647
+ })) : (p = JSON.parse(p), p[u] = y.map((H) => H.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(p))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), q();
4648
+ }, q = () => {
4687
4649
  r(7, w = y.length === A.length || y.length == 0), r(8, O = y.length);
4688
- }, oe = () => {
4650
+ }, ie = () => {
4689
4651
  const c = new URL(`${i}/v1/casino/vendors`);
4690
- r(4, v = !1), c.searchParams.append("fields", "id,name,logo,subVendors,games"), c.searchParams.append("language", s), c.searchParams.append("datasource", o), c.searchParams.append("platform", co(_)), (h.match(/\$/g) || []).length > 1 ? (c.searchParams.append("filter", `games(subGroups=${h})`), c.searchParams.append("subVendors", `games(subGroups=${h})`)) : c.searchParams.append("filter", `games(groups=${h})`), ne(c);
4691
- }, K = () => {
4652
+ r(4, v = !1), c.searchParams.append("fields", "id,name,logo,subVendors,games"), c.searchParams.append("language", s), c.searchParams.append("datasource", o), c.searchParams.append("platform", Ki(_)), (u.match(/\$/g) || []).length > 1 ? (c.searchParams.append("filter", `games(subGroups=${u})`), c.searchParams.append("subVendors", `games(subGroups=${u})`)) : c.searchParams.append("filter", `games(groups=${u})`), re(c);
4653
+ }, Y = () => {
4692
4654
  r(6, y = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(F = {
4693
- [h]: y.map((c) => c.id)
4655
+ [u]: y.map((c) => c.id)
4694
4656
  })), A.forEach((c) => c.isFilterSelected = !1), r(5, A), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, w = !0), r(4, v = !1);
4695
- }, se = (c) => {
4657
+ }, oe = (c) => {
4696
4658
  c.data.type == "SortingOpened" && r(4, v = !1);
4697
4659
  };
4698
- Zr(() => (window.addEventListener("message", se, !1), () => {
4699
- window.removeEventListener("message", se);
4660
+ Mr(() => (window.addEventListener("message", oe, !1), () => {
4661
+ window.removeEventListener("message", oe);
4700
4662
  }));
4701
- const Ae = () => U();
4702
- function Fe(c, p) {
4663
+ const He = () => $();
4664
+ function Ae(c, p) {
4703
4665
  c[p].isFilterSelected = this.checked, r(5, A);
4704
4666
  }
4705
- const ae = (c) => ie(c), N = () => K();
4706
- function Z(c) {
4707
- et[c ? "unshift" : "push"](() => {
4667
+ const se = (c) => ne(c), N = () => Y();
4668
+ function z(c) {
4669
+ Ye[c ? "unshift" : "push"](() => {
4708
4670
  B = c, r(3, B);
4709
4671
  });
4710
4672
  }
4711
4673
  return e.$$set = (c) => {
4712
- "endpoint" in c && r(15, i = c.endpoint), "datasource" in c && r(16, o = c.datasource), "lang" in c && r(17, s = c.lang), "translationurl" in c && r(18, a = c.translationurl), "clientstyling" in c && r(19, u = c.clientstyling), "clientstylingurl" in c && r(20, l = c.clientstylingurl), "categoryid" in c && r(21, h = c.categoryid), "addfilterselector" in c && r(0, d = c.addfilterselector), "addsortingselector" in c && r(1, f = c.addsortingselector), "filterbylogo" in c && r(2, g = c.filterbylogo);
4674
+ "endpoint" in c && r(15, i = c.endpoint), "datasource" in c && r(16, o = c.datasource), "lang" in c && r(17, s = c.lang), "translationurl" in c && r(18, a = c.translationurl), "clientstyling" in c && r(19, h = c.clientstyling), "clientstylingurl" in c && r(20, l = c.clientstylingurl), "categoryid" in c && r(21, u = c.categoryid), "addfilterselector" in c && r(0, d = c.addfilterselector), "addsortingselector" in c && r(1, f = c.addsortingselector), "filterbylogo" in c && r(2, g = c.filterbylogo);
4713
4675
  }, e.$$.update = () => {
4714
4676
  e.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
4715
- 2195460 && i && o && h && g && oe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4716
- 524296 && u && B && q(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4717
- 1048584 && l && B && He(), e.$$.dirty[0] & /*translationurl*/
4718
- 262144 && a && j();
4677
+ 2195460 && i && o && u && g && ie(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4678
+ 524296 && h && B && Q(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4679
+ 1048584 && l && B && Te(), e.$$.dirty[0] & /*translationurl*/
4680
+ 262144 && a && k();
4719
4681
  }, [
4720
4682
  d,
4721
4683
  f,
@@ -4727,33 +4689,33 @@ function Eo(e, t, r) {
4727
4689
  w,
4728
4690
  O,
4729
4691
  I,
4730
- z,
4692
+ W,
4731
4693
  n,
4732
- U,
4733
- ie,
4734
- K,
4694
+ $,
4695
+ ne,
4696
+ Y,
4735
4697
  i,
4736
4698
  o,
4737
4699
  s,
4738
4700
  a,
4739
- u,
4740
- l,
4741
4701
  h,
4702
+ l,
4703
+ u,
4704
+ He,
4742
4705
  Ae,
4743
- Fe,
4744
- ae,
4706
+ se,
4745
4707
  N,
4746
- Z
4708
+ z
4747
4709
  ];
4748
4710
  }
4749
- class So extends an {
4711
+ class ho extends Zr {
4750
4712
  constructor(t) {
4751
- super(), on(
4713
+ super(), Wr(
4752
4714
  this,
4753
4715
  t,
4754
- Eo,
4755
- xo,
4756
- tr,
4716
+ uo,
4717
+ lo,
4718
+ Zt,
4757
4719
  {
4758
4720
  endpoint: 15,
4759
4721
  datasource: 16,
@@ -4766,7 +4728,7 @@ class So extends an {
4766
4728
  addsortingselector: 1,
4767
4729
  filterbylogo: 2
4768
4730
  },
4769
- po,
4731
+ to,
4770
4732
  [-1, -1]
4771
4733
  );
4772
4734
  }
@@ -4774,64 +4736,64 @@ class So extends an {
4774
4736
  return this.$$.ctx[15];
4775
4737
  }
4776
4738
  set endpoint(t) {
4777
- this.$$set({ endpoint: t }), R();
4739
+ this.$$set({ endpoint: t }), M();
4778
4740
  }
4779
4741
  get datasource() {
4780
4742
  return this.$$.ctx[16];
4781
4743
  }
4782
4744
  set datasource(t) {
4783
- this.$$set({ datasource: t }), R();
4745
+ this.$$set({ datasource: t }), M();
4784
4746
  }
4785
4747
  get lang() {
4786
4748
  return this.$$.ctx[17];
4787
4749
  }
4788
4750
  set lang(t) {
4789
- this.$$set({ lang: t }), R();
4751
+ this.$$set({ lang: t }), M();
4790
4752
  }
4791
4753
  get translationurl() {
4792
4754
  return this.$$.ctx[18];
4793
4755
  }
4794
4756
  set translationurl(t) {
4795
- this.$$set({ translationurl: t }), R();
4757
+ this.$$set({ translationurl: t }), M();
4796
4758
  }
4797
4759
  get clientstyling() {
4798
4760
  return this.$$.ctx[19];
4799
4761
  }
4800
4762
  set clientstyling(t) {
4801
- this.$$set({ clientstyling: t }), R();
4763
+ this.$$set({ clientstyling: t }), M();
4802
4764
  }
4803
4765
  get clientstylingurl() {
4804
4766
  return this.$$.ctx[20];
4805
4767
  }
4806
4768
  set clientstylingurl(t) {
4807
- this.$$set({ clientstylingurl: t }), R();
4769
+ this.$$set({ clientstylingurl: t }), M();
4808
4770
  }
4809
4771
  get categoryid() {
4810
4772
  return this.$$.ctx[21];
4811
4773
  }
4812
4774
  set categoryid(t) {
4813
- this.$$set({ categoryid: t }), R();
4775
+ this.$$set({ categoryid: t }), M();
4814
4776
  }
4815
4777
  get addfilterselector() {
4816
4778
  return this.$$.ctx[0];
4817
4779
  }
4818
4780
  set addfilterselector(t) {
4819
- this.$$set({ addfilterselector: t }), R();
4781
+ this.$$set({ addfilterselector: t }), M();
4820
4782
  }
4821
4783
  get addsortingselector() {
4822
4784
  return this.$$.ctx[1];
4823
4785
  }
4824
4786
  set addsortingselector(t) {
4825
- this.$$set({ addsortingselector: t }), R();
4787
+ this.$$set({ addsortingselector: t }), M();
4826
4788
  }
4827
4789
  get filterbylogo() {
4828
4790
  return this.$$.ctx[2];
4829
4791
  }
4830
4792
  set filterbylogo(t) {
4831
- this.$$set({ filterbylogo: t }), R();
4793
+ this.$$set({ filterbylogo: t }), M();
4832
4794
  }
4833
4795
  }
4834
- sn(So, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {} }, [], [], !0);
4796
+ zr(ho, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {} }, [], [], !0);
4835
4797
  export {
4836
- So as default
4798
+ ho as C
4837
4799
  };