@everymatrix/player-account-gaming-limits-wrapper-2 1.53.0 → 1.53.10

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,53 +1,24 @@
1
- var Fr = Object.defineProperty, jr = Object.defineProperties;
2
- var kr = Object.getOwnPropertyDescriptors;
3
- var pt = Object.getOwnPropertySymbols;
4
- var Vr = Object.prototype.hasOwnProperty, Wr = Object.prototype.propertyIsEnumerable;
5
- var Re = (e, t, r) => t in e ? Fr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ye = (e, t) => {
6
- for (var r in t || (t = {}))
7
- Vr.call(t, r) && Re(e, r, t[r]);
8
- if (pt)
9
- for (var r of pt(t))
10
- Wr.call(t, r) && Re(e, r, t[r]);
11
- return e;
12
- }, dt = (e, t) => jr(e, kr(t));
13
- var R = (e, t, r) => Re(e, typeof t != "symbol" ? t + "" : t, r);
14
- var yt = (e, t, r) => new Promise((i, n) => {
15
- var o = (l) => {
16
- try {
17
- s(r.next(l));
18
- } catch (u) {
19
- n(u);
20
- }
21
- }, a = (l) => {
22
- try {
23
- s(r.throw(l));
24
- } catch (u) {
25
- n(u);
26
- }
27
- }, s = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(o, a);
28
- s((r = r.apply(e, t)).next());
29
- });
30
1
  function O() {
31
2
  }
32
- function Vt(e) {
3
+ function Mt(e) {
33
4
  return e();
34
5
  }
35
- function gt() {
6
+ function lt() {
36
7
  return /* @__PURE__ */ Object.create(null);
37
8
  }
38
- function fe(e) {
39
- e.forEach(Vt);
9
+ function ce(e) {
10
+ e.forEach(Mt);
40
11
  }
41
- function ut(e) {
12
+ function nt(e) {
42
13
  return typeof e == "function";
43
14
  }
44
- function Wt(e, t) {
15
+ function Dt(e, t) {
45
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
17
  }
47
- function Xr(e) {
18
+ function Or(e) {
48
19
  return Object.keys(e).length === 0;
49
20
  }
50
- function Xt(e, ...t) {
21
+ function $t(e, ...t) {
51
22
  if (e == null) {
52
23
  for (const i of t)
53
24
  i(void 0);
@@ -56,27 +27,27 @@ function Xt(e, ...t) {
56
27
  const r = e.subscribe(...t);
57
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
29
  }
59
- function zr(e, t, r) {
60
- e.$$.on_destroy.push(Xt(t, r));
30
+ function Cr(e, t, r) {
31
+ e.$$.on_destroy.push($t(t, r));
61
32
  }
62
- function bt(e) {
63
- return e == null ? "" : e;
33
+ function ht(e) {
34
+ return e ?? "";
64
35
  }
65
- const Io = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
36
+ const ds = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
66
37
  // @ts-ignore Node typings have this
67
38
  global
68
39
  );
69
40
  function L(e, t) {
70
41
  e.appendChild(t);
71
42
  }
72
- function Zr(e, t, r) {
73
- const i = Qr(e);
43
+ function Nr(e, t, r) {
44
+ const i = Rr(e);
74
45
  if (!i.getElementById(t)) {
75
46
  const n = P("style");
76
- n.id = t, n.textContent = r, Yr(i, n);
47
+ n.id = t, n.textContent = r, Mr(i, n);
77
48
  }
78
49
  }
79
- function Qr(e) {
50
+ function Rr(e) {
80
51
  if (!e) return document;
81
52
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
82
53
  return t && /** @type {ShadowRoot} */
@@ -85,65 +56,65 @@ function Qr(e) {
85
56
  t
86
57
  ) : e.ownerDocument;
87
58
  }
88
- function Yr(e, t) {
59
+ function Mr(e, t) {
89
60
  return L(
90
61
  /** @type {Document} */
91
62
  e.head || e,
92
63
  t
93
64
  ), t.sheet;
94
65
  }
95
- function X(e, t, r) {
66
+ function W(e, t, r) {
96
67
  e.insertBefore(t, r || null);
97
68
  }
98
- function V(e) {
69
+ function k(e) {
99
70
  e.parentNode && e.parentNode.removeChild(e);
100
71
  }
101
- function Jr(e, t) {
72
+ function Dr(e, t) {
102
73
  for (let r = 0; r < e.length; r += 1)
103
74
  e[r] && e[r].d(t);
104
75
  }
105
76
  function P(e) {
106
77
  return document.createElement(e);
107
78
  }
108
- function Me(e) {
79
+ function Ce(e) {
109
80
  return document.createElementNS("http://www.w3.org/2000/svg", e);
110
81
  }
111
- function M(e) {
82
+ function R(e) {
112
83
  return document.createTextNode(e);
113
84
  }
114
- function Xe() {
115
- return M(" ");
85
+ function je() {
86
+ return R(" ");
116
87
  }
117
- function Bo() {
118
- return M("");
88
+ function ys() {
89
+ return R("");
119
90
  }
120
- function qr(e, t, r, i) {
91
+ function $r(e, t, r, i) {
121
92
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
122
93
  }
123
94
  function x(e, t, r) {
124
95
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
125
96
  }
126
- function Oo(e, t, r) {
97
+ function gs(e, t, r) {
127
98
  const i = t.toLowerCase();
128
99
  i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : x(e, t, r);
129
100
  }
130
- function Co(e) {
101
+ function bs(e) {
131
102
  return e === "" ? null : +e;
132
103
  }
133
- function Kr(e) {
104
+ function Ur(e) {
134
105
  return Array.from(e.childNodes);
135
106
  }
136
- function k(e, t) {
107
+ function j(e, t) {
137
108
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
138
109
  t);
139
110
  }
140
- function No(e, t) {
141
- e.value = t == null ? "" : t;
111
+ function vs(e, t) {
112
+ e.value = t ?? "";
142
113
  }
143
- function Ro(e, t, r, i) {
114
+ function _s(e, t, r, i) {
144
115
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
145
116
  }
146
- function Mo(e, t, r) {
117
+ function Es(e, t, r) {
147
118
  for (let i = 0; i < e.options.length; i += 1) {
148
119
  const n = e.options[i];
149
120
  if (n.__value === t) {
@@ -153,14 +124,14 @@ function Mo(e, t, r) {
153
124
  }
154
125
  (!r || t !== void 0) && (e.selectedIndex = -1);
155
126
  }
156
- function Do(e) {
127
+ function xs(e) {
157
128
  const t = e.querySelector(":checked");
158
129
  return t && t.__value;
159
130
  }
160
- function ge(e, t, r) {
131
+ function de(e, t, r) {
161
132
  e.classList.toggle(t, !!r);
162
133
  }
163
- function ei(e) {
134
+ function Gr(e) {
164
135
  const t = {};
165
136
  return e.childNodes.forEach(
166
137
  /** @param {Element} node */
@@ -169,248 +140,244 @@ function ei(e) {
169
140
  }
170
141
  ), t;
171
142
  }
172
- let le;
173
- function ue(e) {
174
- le = e;
143
+ let ue;
144
+ function ae(e) {
145
+ ue = e;
175
146
  }
176
- function ti() {
177
- if (!le) throw new Error("Function called outside component initialization");
178
- return le;
147
+ function Fr() {
148
+ if (!ue) throw new Error("Function called outside component initialization");
149
+ return ue;
179
150
  }
180
- function ri(e) {
181
- ti().$$.on_mount.push(e);
151
+ function jr(e) {
152
+ Fr().$$.on_mount.push(e);
182
153
  }
183
- const Y = [], Le = [];
184
- let J = [];
185
- const vt = [], ii = /* @__PURE__ */ Promise.resolve();
186
- let ze = !1;
187
- function ni() {
188
- ze || (ze = !0, ii.then(C));
154
+ const Q = [], xe = [];
155
+ let Y = [];
156
+ const ct = [], kr = /* @__PURE__ */ Promise.resolve();
157
+ let ke = !1;
158
+ function Vr() {
159
+ ke || (ke = !0, kr.then(C));
189
160
  }
190
- function Ze(e) {
191
- J.push(e);
161
+ function Ve(e) {
162
+ Y.push(e);
192
163
  }
193
- const De = /* @__PURE__ */ new Set();
194
- let Z = 0;
164
+ const Ne = /* @__PURE__ */ new Set();
165
+ let z = 0;
195
166
  function C() {
196
- if (Z !== 0)
167
+ if (z !== 0)
197
168
  return;
198
- const e = le;
169
+ const e = ue;
199
170
  do {
200
171
  try {
201
- for (; Z < Y.length; ) {
202
- const t = Y[Z];
203
- Z++, ue(t), oi(t.$$);
172
+ for (; z < Q.length; ) {
173
+ const t = Q[z];
174
+ z++, ae(t), Wr(t.$$);
204
175
  }
205
176
  } catch (t) {
206
- throw Y.length = 0, Z = 0, t;
177
+ throw Q.length = 0, z = 0, t;
207
178
  }
208
- for (ue(null), Y.length = 0, Z = 0; Le.length; ) Le.pop()();
209
- for (let t = 0; t < J.length; t += 1) {
210
- const r = J[t];
211
- De.has(r) || (De.add(r), r());
179
+ for (ae(null), Q.length = 0, z = 0; xe.length; ) xe.pop()();
180
+ for (let t = 0; t < Y.length; t += 1) {
181
+ const r = Y[t];
182
+ Ne.has(r) || (Ne.add(r), r());
212
183
  }
213
- J.length = 0;
214
- } while (Y.length);
215
- for (; vt.length; )
216
- vt.pop()();
217
- ze = !1, De.clear(), ue(e);
184
+ Y.length = 0;
185
+ } while (Q.length);
186
+ for (; ct.length; )
187
+ ct.pop()();
188
+ ke = !1, Ne.clear(), ae(e);
218
189
  }
219
- function oi(e) {
190
+ function Wr(e) {
220
191
  if (e.fragment !== null) {
221
- e.update(), fe(e.before_update);
192
+ e.update(), ce(e.before_update);
222
193
  const t = e.dirty;
223
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ze);
194
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
224
195
  }
225
196
  }
226
- function si(e) {
197
+ function Xr(e) {
227
198
  const t = [], r = [];
228
- J.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), J = t;
199
+ Y.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), Y = t;
229
200
  }
230
- const ai = /* @__PURE__ */ new Set();
231
- function ui(e, t) {
232
- e && e.i && (ai.delete(e), e.i(t));
201
+ const zr = /* @__PURE__ */ new Set();
202
+ function Zr(e, t) {
203
+ e && e.i && (zr.delete(e), e.i(t));
233
204
  }
234
- function Et(e) {
235
- return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
205
+ function ft(e) {
206
+ return e?.length !== void 0 ? e : Array.from(e);
236
207
  }
237
- function li(e, t, r) {
208
+ function Qr(e, t, r) {
238
209
  const { fragment: i, after_update: n } = e.$$;
239
- i && i.m(t, r), Ze(() => {
240
- const o = e.$$.on_mount.map(Vt).filter(ut);
241
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : fe(o), e.$$.on_mount = [];
242
- }), n.forEach(Ze);
210
+ i && i.m(t, r), Ve(() => {
211
+ const s = e.$$.on_mount.map(Mt).filter(nt);
212
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ce(s), e.$$.on_mount = [];
213
+ }), n.forEach(Ve);
243
214
  }
244
- function hi(e, t) {
215
+ function Yr(e, t) {
245
216
  const r = e.$$;
246
- r.fragment !== null && (si(r.after_update), fe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
217
+ r.fragment !== null && (Xr(r.after_update), ce(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
247
218
  }
248
- function ci(e, t) {
249
- e.$$.dirty[0] === -1 && (Y.push(e), ni(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
219
+ function Jr(e, t) {
220
+ e.$$.dirty[0] === -1 && (Q.push(e), Vr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
250
221
  }
251
- function fi(e, t, r, i, n, o, a = null, s = [-1]) {
252
- const l = le;
253
- ue(e);
222
+ function qr(e, t, r, i, n, s, a = null, o = [-1]) {
223
+ const h = ue;
224
+ ae(e);
254
225
  const u = e.$$ = {
255
226
  fragment: null,
256
227
  ctx: [],
257
228
  // state
258
- props: o,
229
+ props: s,
259
230
  update: O,
260
231
  not_equal: n,
261
- bound: gt(),
232
+ bound: lt(),
262
233
  // lifecycle
263
234
  on_mount: [],
264
235
  on_destroy: [],
265
236
  on_disconnect: [],
266
237
  before_update: [],
267
238
  after_update: [],
268
- context: new Map(t.context || (l ? l.$$.context : [])),
239
+ context: new Map(t.context || (h ? h.$$.context : [])),
269
240
  // everything else
270
- callbacks: gt(),
271
- dirty: s,
241
+ callbacks: lt(),
242
+ dirty: o,
272
243
  skip_bound: !1,
273
- root: t.target || l.$$.root
244
+ root: t.target || h.$$.root
274
245
  };
275
246
  a && a(u.root);
276
- let h = !1;
247
+ let l = !1;
277
248
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
278
249
  const y = p.length ? p[0] : f;
279
- return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && ci(e, c)), f;
280
- }) : [], u.update(), h = !0, fe(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
250
+ return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && Jr(e, c)), f;
251
+ }) : [], u.update(), l = !0, ce(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
281
252
  if (t.hydrate) {
282
- const c = Kr(t.target);
283
- u.fragment && u.fragment.l(c), c.forEach(V);
253
+ const c = Ur(t.target);
254
+ u.fragment && u.fragment.l(c), c.forEach(k);
284
255
  } else
285
256
  u.fragment && u.fragment.c();
286
- t.intro && ui(e.$$.fragment), li(e, t.target, t.anchor), C();
257
+ t.intro && Zr(e.$$.fragment), Qr(e, t.target, t.anchor), C();
287
258
  }
288
- ue(l);
289
- }
290
- let zt;
291
- typeof HTMLElement == "function" && (zt = class extends HTMLElement {
292
- constructor(t, r, i) {
293
- super();
294
- /** The Svelte component constructor */
295
- R(this, "$$ctor");
296
- /** Slots */
297
- R(this, "$$s");
298
- /** The Svelte component instance */
299
- R(this, "$$c");
300
- /** Whether or not the custom element is connected */
301
- R(this, "$$cn", !1);
302
- /** Component props data */
303
- R(this, "$$d", {});
304
- /** `true` if currently in the process of reflecting component props back to attributes */
305
- R(this, "$$r", !1);
306
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
307
- R(this, "$$p_d", {});
308
- /** @type {Record<string, Function[]>} Event listeners */
309
- R(this, "$$l", {});
310
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
311
- R(this, "$$l_u", /* @__PURE__ */ new Map());
312
- this.$$ctor = t, this.$$s = r, i && this.attachShadow({ mode: "open" });
259
+ ae(h);
260
+ }
261
+ let Ut;
262
+ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
263
+ /** The Svelte component constructor */
264
+ $$ctor;
265
+ /** Slots */
266
+ $$s;
267
+ /** The Svelte component instance */
268
+ $$c;
269
+ /** Whether or not the custom element is connected */
270
+ $$cn = !1;
271
+ /** Component props data */
272
+ $$d = {};
273
+ /** `true` if currently in the process of reflecting component props back to attributes */
274
+ $$r = !1;
275
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
276
+ $$p_d = {};
277
+ /** @type {Record<string, Function[]>} Event listeners */
278
+ $$l = {};
279
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
280
+ $$l_u = /* @__PURE__ */ new Map();
281
+ constructor(e, t, r) {
282
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
313
283
  }
314
- addEventListener(t, r, i) {
315
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
316
- const n = this.$$c.$on(t, r);
317
- this.$$l_u.set(r, n);
284
+ addEventListener(e, t, r) {
285
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
286
+ const i = this.$$c.$on(e, t);
287
+ this.$$l_u.set(t, i);
318
288
  }
319
- super.addEventListener(t, r, i);
289
+ super.addEventListener(e, t, r);
320
290
  }
321
- removeEventListener(t, r, i) {
322
- if (super.removeEventListener(t, r, i), this.$$c) {
323
- const n = this.$$l_u.get(r);
324
- n && (n(), this.$$l_u.delete(r));
291
+ removeEventListener(e, t, r) {
292
+ if (super.removeEventListener(e, t, r), this.$$c) {
293
+ const i = this.$$l_u.get(t);
294
+ i && (i(), this.$$l_u.delete(t));
325
295
  }
326
296
  }
327
- connectedCallback() {
328
- return yt(this, null, function* () {
329
- if (this.$$cn = !0, !this.$$c) {
330
- let t = function(o) {
331
- return () => {
332
- let a;
333
- return {
334
- c: function() {
335
- a = P("slot"), o !== "default" && x(a, "name", o);
336
- },
337
- /**
338
- * @param {HTMLElement} target
339
- * @param {HTMLElement} [anchor]
340
- */
341
- m: function(u, h) {
342
- X(u, a, h);
343
- },
344
- d: function(u) {
345
- u && V(a);
346
- }
347
- };
297
+ async connectedCallback() {
298
+ if (this.$$cn = !0, !this.$$c) {
299
+ let e = function(n) {
300
+ return () => {
301
+ let s;
302
+ return {
303
+ c: function() {
304
+ s = P("slot"), n !== "default" && x(s, "name", n);
305
+ },
306
+ /**
307
+ * @param {HTMLElement} target
308
+ * @param {HTMLElement} [anchor]
309
+ */
310
+ m: function(h, u) {
311
+ W(h, s, u);
312
+ },
313
+ d: function(h) {
314
+ h && k(s);
315
+ }
348
316
  };
349
317
  };
350
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
351
- return;
352
- const r = {}, i = ei(this);
353
- for (const o of this.$$s)
354
- o in i && (r[o] = [t(o)]);
355
- for (const o of this.attributes) {
356
- const a = this.$$g_p(o.name);
357
- a in this.$$d || (this.$$d[a] = Ee(a, o.value, this.$$p_d, "toProp"));
318
+ };
319
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
320
+ return;
321
+ const t = {}, r = Gr(this);
322
+ for (const n of this.$$s)
323
+ n in r && (t[n] = [e(n)]);
324
+ for (const n of this.attributes) {
325
+ const s = this.$$g_p(n.name);
326
+ s in this.$$d || (this.$$d[s] = be(s, n.value, this.$$p_d, "toProp"));
327
+ }
328
+ for (const n in this.$$p_d)
329
+ !(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
330
+ this.$$c = new this.$$ctor({
331
+ target: this.shadowRoot || this,
332
+ props: {
333
+ ...this.$$d,
334
+ $$slots: t,
335
+ $$scope: {
336
+ ctx: []
337
+ }
358
338
  }
359
- for (const o in this.$$p_d)
360
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
361
- this.$$c = new this.$$ctor({
362
- target: this.shadowRoot || this,
363
- props: dt(ye({}, this.$$d), {
364
- $$slots: r,
365
- $$scope: {
366
- ctx: []
367
- }
368
- })
369
- });
370
- const n = () => {
371
- this.$$r = !0;
372
- for (const o in this.$$p_d)
373
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
374
- const a = Ee(
375
- o,
376
- this.$$d[o],
377
- this.$$p_d,
378
- "toAttribute"
379
- );
380
- a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
381
- }
382
- this.$$r = !1;
383
- };
384
- this.$$c.$$.after_update.push(n), n();
385
- for (const o in this.$$l)
386
- for (const a of this.$$l[o]) {
387
- const s = this.$$c.$on(o, a);
388
- this.$$l_u.set(a, s);
339
+ });
340
+ const i = () => {
341
+ this.$$r = !0;
342
+ for (const n in this.$$p_d)
343
+ if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
344
+ const s = be(
345
+ n,
346
+ this.$$d[n],
347
+ this.$$p_d,
348
+ "toAttribute"
349
+ );
350
+ s == null ? this.removeAttribute(this.$$p_d[n].attribute || n) : this.setAttribute(this.$$p_d[n].attribute || n, s);
389
351
  }
390
- this.$$l = {};
391
- }
392
- });
352
+ this.$$r = !1;
353
+ };
354
+ this.$$c.$$.after_update.push(i), i();
355
+ for (const n in this.$$l)
356
+ for (const s of this.$$l[n]) {
357
+ const a = this.$$c.$on(n, s);
358
+ this.$$l_u.set(s, a);
359
+ }
360
+ this.$$l = {};
361
+ }
393
362
  }
394
363
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
395
364
  // and setting attributes through setAttribute etc, this is helpful
396
- attributeChangedCallback(t, r, i) {
397
- var n;
398
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ee(t, i, this.$$p_d, "toProp"), (n = this.$$c) == null || n.$set({ [t]: this.$$d[t] }));
365
+ attributeChangedCallback(e, t, r) {
366
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = be(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
399
367
  }
400
368
  disconnectedCallback() {
401
369
  this.$$cn = !1, Promise.resolve().then(() => {
402
370
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
403
371
  });
404
372
  }
405
- $$g_p(t) {
373
+ $$g_p(e) {
406
374
  return Object.keys(this.$$p_d).find(
407
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
408
- ) || t;
375
+ (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
376
+ ) || e;
409
377
  }
410
378
  });
411
- function Ee(e, t, r, i) {
412
- var o;
413
- const n = (o = r[e]) == null ? void 0 : o.type;
379
+ function be(e, t, r, i) {
380
+ const n = r[e]?.type;
414
381
  if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
415
382
  return t;
416
383
  if (i === "toAttribute")
@@ -421,7 +388,7 @@ function Ee(e, t, r, i) {
421
388
  case "Boolean":
422
389
  return t ? "" : null;
423
390
  case "Number":
424
- return t == null ? null : t;
391
+ return t ?? null;
425
392
  default:
426
393
  return t;
427
394
  }
@@ -438,59 +405,55 @@ function Ee(e, t, r, i) {
438
405
  return t;
439
406
  }
440
407
  }
441
- function mi(e, t, r, i, n, o) {
442
- let a = class extends zt {
408
+ function Kr(e, t, r, i, n, s) {
409
+ let a = class extends Ut {
443
410
  constructor() {
444
411
  super(e, r, n), this.$$p_d = t;
445
412
  }
446
413
  static get observedAttributes() {
447
414
  return Object.keys(t).map(
448
- (s) => (t[s].attribute || s).toLowerCase()
415
+ (o) => (t[o].attribute || o).toLowerCase()
449
416
  );
450
417
  }
451
418
  };
452
- return Object.keys(t).forEach((s) => {
453
- Object.defineProperty(a.prototype, s, {
419
+ return Object.keys(t).forEach((o) => {
420
+ Object.defineProperty(a.prototype, o, {
454
421
  get() {
455
- return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
422
+ return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
456
423
  },
457
- set(l) {
458
- var u;
459
- l = Ee(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
424
+ set(h) {
425
+ h = be(o, h, t), this.$$d[o] = h, this.$$c?.$set({ [o]: h });
460
426
  }
461
427
  });
462
- }), i.forEach((s) => {
463
- Object.defineProperty(a.prototype, s, {
428
+ }), i.forEach((o) => {
429
+ Object.defineProperty(a.prototype, o, {
464
430
  get() {
465
- var l;
466
- return (l = this.$$c) == null ? void 0 : l[s];
431
+ return this.$$c?.[o];
467
432
  }
468
433
  });
469
434
  }), e.element = /** @type {any} */
470
435
  a, a;
471
436
  }
472
- class pi {
473
- constructor() {
474
- /**
475
- * ### PRIVATE API
476
- *
477
- * Do not use, may change at any time
478
- *
479
- * @type {any}
480
- */
481
- R(this, "$$");
482
- /**
483
- * ### PRIVATE API
484
- *
485
- * Do not use, may change at any time
486
- *
487
- * @type {any}
488
- */
489
- R(this, "$$set");
490
- }
437
+ class ei {
438
+ /**
439
+ * ### PRIVATE API
440
+ *
441
+ * Do not use, may change at any time
442
+ *
443
+ * @type {any}
444
+ */
445
+ $$ = void 0;
446
+ /**
447
+ * ### PRIVATE API
448
+ *
449
+ * Do not use, may change at any time
450
+ *
451
+ * @type {any}
452
+ */
453
+ $$set = void 0;
491
454
  /** @returns {void} */
492
455
  $destroy() {
493
- hi(this, 1), this.$destroy = O;
456
+ Yr(this, 1), this.$destroy = O;
494
457
  }
495
458
  /**
496
459
  * @template {Extract<keyof Events, string>} K
@@ -499,7 +462,7 @@ class pi {
499
462
  * @returns {() => void}
500
463
  */
501
464
  $on(t, r) {
502
- if (!ut(r))
465
+ if (!nt(r))
503
466
  return O;
504
467
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
505
468
  return i.push(r), () => {
@@ -512,37 +475,37 @@ class pi {
512
475
  * @returns {void}
513
476
  */
514
477
  $set(t) {
515
- this.$$set && !Xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
478
+ this.$$set && !Or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
516
479
  }
517
480
  }
518
- const di = "4";
519
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(di);
520
- var Qe = function(e, t) {
521
- return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
481
+ const ti = "4";
482
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ti);
483
+ var We = function(e, t) {
484
+ return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
522
485
  r.__proto__ = i;
523
486
  } || function(r, i) {
524
487
  for (var n in i) Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
525
- }, Qe(e, t);
488
+ }, We(e, t);
526
489
  };
527
- function F(e, t) {
490
+ function G(e, t) {
528
491
  if (typeof t != "function" && t !== null)
529
492
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
530
- Qe(e, t);
493
+ We(e, t);
531
494
  function r() {
532
495
  this.constructor = e;
533
496
  }
534
497
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
535
498
  }
536
- var _ = function() {
537
- return _ = Object.assign || function(t) {
499
+ var E = function() {
500
+ return E = Object.assign || function(t) {
538
501
  for (var r, i = 1, n = arguments.length; i < n; i++) {
539
502
  r = arguments[i];
540
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
503
+ for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
541
504
  }
542
505
  return t;
543
- }, _.apply(this, arguments);
506
+ }, E.apply(this, arguments);
544
507
  };
545
- function yi(e, t) {
508
+ function ri(e, t) {
546
509
  var r = {};
547
510
  for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
548
511
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -550,7 +513,7 @@ function yi(e, t) {
550
513
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
551
514
  return r;
552
515
  }
553
- function Ye(e) {
516
+ function Xe(e) {
554
517
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
555
518
  if (r) return r.call(e);
556
519
  if (e && typeof e.length == "number") return {
@@ -560,14 +523,14 @@ function Ye(e) {
560
523
  };
561
524
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
562
525
  }
563
- function Je(e, t) {
526
+ function ze(e, t) {
564
527
  var r = typeof Symbol == "function" && e[Symbol.iterator];
565
528
  if (!r) return e;
566
- var i = r.call(e), n, o = [], a;
529
+ var i = r.call(e), n, s = [], a;
567
530
  try {
568
- for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; ) o.push(n.value);
569
- } catch (s) {
570
- a = { error: s };
531
+ for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; ) s.push(n.value);
532
+ } catch (o) {
533
+ a = { error: o };
571
534
  } finally {
572
535
  try {
573
536
  n && !n.done && (r = i.return) && r.call(i);
@@ -575,23 +538,23 @@ function Je(e, t) {
575
538
  if (a) throw a.error;
576
539
  }
577
540
  }
578
- return o;
541
+ return s;
579
542
  }
580
- function q(e, t, r) {
581
- if (r || arguments.length === 2) for (var i = 0, n = t.length, o; i < n; i++)
582
- (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
583
- return e.concat(o || Array.prototype.slice.call(t));
543
+ function J(e, t, r) {
544
+ if (r || arguments.length === 2) for (var i = 0, n = t.length, s; i < n; i++)
545
+ (s || !(i in t)) && (s || (s = Array.prototype.slice.call(t, 0, i)), s[i] = t[i]);
546
+ return e.concat(s || Array.prototype.slice.call(t));
584
547
  }
585
- function G(e) {
548
+ function U(e) {
586
549
  return typeof e == "function";
587
550
  }
588
- function Zt(e) {
551
+ function Gt(e) {
589
552
  var t = function(i) {
590
553
  Error.call(i), i.stack = new Error().stack;
591
554
  }, r = e(t);
592
555
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
593
556
  }
594
- var $e = Zt(function(e) {
557
+ var Re = Gt(function(e) {
595
558
  return function(r) {
596
559
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
597
560
  ` + r.map(function(i, n) {
@@ -600,56 +563,56 @@ var $e = Zt(function(e) {
600
563
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
601
564
  };
602
565
  });
603
- function qe(e, t) {
566
+ function Ze(e, t) {
604
567
  if (e) {
605
568
  var r = e.indexOf(t);
606
569
  0 <= r && e.splice(r, 1);
607
570
  }
608
571
  }
609
- var Ae = function() {
572
+ var Se = function() {
610
573
  function e(t) {
611
574
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
612
575
  }
613
576
  return e.prototype.unsubscribe = function() {
614
- var t, r, i, n, o;
577
+ var t, r, i, n, s;
615
578
  if (!this.closed) {
616
579
  this.closed = !0;
617
580
  var a = this._parentage;
618
581
  if (a)
619
582
  if (this._parentage = null, Array.isArray(a))
620
583
  try {
621
- for (var s = Ye(a), l = s.next(); !l.done; l = s.next()) {
622
- var u = l.value;
584
+ for (var o = Xe(a), h = o.next(); !h.done; h = o.next()) {
585
+ var u = h.value;
623
586
  u.remove(this);
624
587
  }
625
588
  } catch (d) {
626
589
  t = { error: d };
627
590
  } finally {
628
591
  try {
629
- l && !l.done && (r = s.return) && r.call(s);
592
+ h && !h.done && (r = o.return) && r.call(o);
630
593
  } finally {
631
594
  if (t) throw t.error;
632
595
  }
633
596
  }
634
597
  else
635
598
  a.remove(this);
636
- var h = this.initialTeardown;
637
- if (G(h))
599
+ var l = this.initialTeardown;
600
+ if (U(l))
638
601
  try {
639
- h();
602
+ l();
640
603
  } catch (d) {
641
- o = d instanceof $e ? d.errors : [d];
604
+ s = d instanceof Re ? d.errors : [d];
642
605
  }
643
606
  var c = this._finalizers;
644
607
  if (c) {
645
608
  this._finalizers = null;
646
609
  try {
647
- for (var f = Ye(c), p = f.next(); !p.done; p = f.next()) {
610
+ for (var f = Xe(c), p = f.next(); !p.done; p = f.next()) {
648
611
  var y = p.value;
649
612
  try {
650
- _t(y);
613
+ mt(y);
651
614
  } catch (d) {
652
- o = o != null ? o : [], d instanceof $e ? o = q(q([], Je(o)), Je(d.errors)) : o.push(d);
615
+ s = s ?? [], d instanceof Re ? s = J(J([], ze(s)), ze(d.errors)) : s.push(d);
653
616
  }
654
617
  }
655
618
  } catch (d) {
@@ -662,14 +625,14 @@ var Ae = function() {
662
625
  }
663
626
  }
664
627
  }
665
- if (o)
666
- throw new $e(o);
628
+ if (s)
629
+ throw new Re(s);
667
630
  }
668
631
  }, e.prototype.add = function(t) {
669
632
  var r;
670
633
  if (t && t !== this)
671
634
  if (this.closed)
672
- _t(t);
635
+ mt(t);
673
636
  else {
674
637
  if (t instanceof e) {
675
638
  if (t.closed || t._hasParent(this))
@@ -686,56 +649,56 @@ var Ae = function() {
686
649
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
687
650
  }, e.prototype._removeParent = function(t) {
688
651
  var r = this._parentage;
689
- r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
652
+ r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
690
653
  }, e.prototype.remove = function(t) {
691
654
  var r = this._finalizers;
692
- r && qe(r, t), t instanceof e && t._removeParent(this);
655
+ r && Ze(r, t), t instanceof e && t._removeParent(this);
693
656
  }, e.EMPTY = function() {
694
657
  var t = new e();
695
658
  return t.closed = !0, t;
696
659
  }(), e;
697
- }(), Qt = Ae.EMPTY;
698
- function Yt(e) {
699
- return e instanceof Ae || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
660
+ }(), Ft = Se.EMPTY;
661
+ function jt(e) {
662
+ return e instanceof Se || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
700
663
  }
701
- function _t(e) {
702
- G(e) ? e() : e.unsubscribe();
664
+ function mt(e) {
665
+ U(e) ? e() : e.unsubscribe();
703
666
  }
704
- var Jt = {
667
+ var ii = {
705
668
  onUnhandledError: null,
706
669
  onStoppedNotification: null,
707
670
  Promise: void 0,
708
671
  useDeprecatedSynchronousErrorHandling: !1,
709
672
  useDeprecatedNextContext: !1
710
- }, gi = {
673
+ }, ni = {
711
674
  setTimeout: function(e, t) {
712
675
  for (var r = [], i = 2; i < arguments.length; i++)
713
676
  r[i - 2] = arguments[i];
714
- return setTimeout.apply(void 0, q([e, t], Je(r)));
677
+ return setTimeout.apply(void 0, J([e, t], ze(r)));
715
678
  },
716
679
  clearTimeout: function(e) {
717
680
  return clearTimeout(e);
718
681
  },
719
682
  delegate: void 0
720
683
  };
721
- function bi(e) {
722
- gi.setTimeout(function() {
684
+ function si(e) {
685
+ ni.setTimeout(function() {
723
686
  throw e;
724
687
  });
725
688
  }
726
- function xt() {
689
+ function pt() {
727
690
  }
728
- function _e(e) {
691
+ function ve(e) {
729
692
  e();
730
693
  }
731
- var qt = function(e) {
732
- F(t, e);
694
+ var kt = function(e) {
695
+ G(t, e);
733
696
  function t(r) {
734
697
  var i = e.call(this) || this;
735
- return i.isStopped = !1, r ? (i.destination = r, Yt(r) && r.add(i)) : i.destination = xi, i;
698
+ return i.isStopped = !1, r ? (i.destination = r, jt(r) && r.add(i)) : i.destination = ui, i;
736
699
  }
737
700
  return t.create = function(r, i, n) {
738
- return new Ke(r, i, n);
701
+ return new Qe(r, i, n);
739
702
  }, t.prototype.next = function(r) {
740
703
  this.isStopped || this._next(r);
741
704
  }, t.prototype.error = function(r) {
@@ -759,11 +722,7 @@ var qt = function(e) {
759
722
  this.unsubscribe();
760
723
  }
761
724
  }, t;
762
- }(Ae), vi = Function.prototype.bind;
763
- function Ue(e, t) {
764
- return vi.call(e, t);
765
- }
766
- var Ei = function() {
725
+ }(Se), oi = function() {
767
726
  function e(t) {
768
727
  this.partialObserver = t;
769
728
  }
@@ -773,7 +732,7 @@ var Ei = function() {
773
732
  try {
774
733
  r.next(t);
775
734
  } catch (i) {
776
- be(i);
735
+ ye(i);
777
736
  }
778
737
  }, e.prototype.error = function(t) {
779
738
  var r = this.partialObserver;
@@ -781,68 +740,56 @@ var Ei = function() {
781
740
  try {
782
741
  r.error(t);
783
742
  } catch (i) {
784
- be(i);
743
+ ye(i);
785
744
  }
786
745
  else
787
- be(t);
746
+ ye(t);
788
747
  }, e.prototype.complete = function() {
789
748
  var t = this.partialObserver;
790
749
  if (t.complete)
791
750
  try {
792
751
  t.complete();
793
752
  } catch (r) {
794
- be(r);
753
+ ye(r);
795
754
  }
796
755
  }, e;
797
- }(), Ke = function(e) {
798
- F(t, e);
756
+ }(), Qe = function(e) {
757
+ G(t, e);
799
758
  function t(r, i, n) {
800
- var o = e.call(this) || this, a;
801
- if (G(r) || !r)
802
- a = {
803
- next: r != null ? r : void 0,
804
- error: i != null ? i : void 0,
805
- complete: n != null ? n : void 0
806
- };
807
- else {
808
- var s;
809
- o && Jt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
810
- return o.unsubscribe();
811
- }, a = {
812
- next: r.next && Ue(r.next, s),
813
- error: r.error && Ue(r.error, s),
814
- complete: r.complete && Ue(r.complete, s)
815
- }) : a = r;
816
- }
817
- return o.destination = new Ei(a), o;
759
+ var s = e.call(this) || this, a;
760
+ return U(r) || !r ? a = {
761
+ next: r ?? void 0,
762
+ error: i ?? void 0,
763
+ complete: n ?? void 0
764
+ } : a = r, s.destination = new oi(a), s;
818
765
  }
819
766
  return t;
820
- }(qt);
821
- function be(e) {
822
- bi(e);
767
+ }(kt);
768
+ function ye(e) {
769
+ si(e);
823
770
  }
824
- function _i(e) {
771
+ function ai(e) {
825
772
  throw e;
826
773
  }
827
- var xi = {
774
+ var ui = {
828
775
  closed: !0,
829
- next: xt,
830
- error: _i,
831
- complete: xt
832
- }, Ti = function() {
776
+ next: pt,
777
+ error: ai,
778
+ complete: pt
779
+ }, li = function() {
833
780
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
834
781
  }();
835
- function Li(e) {
782
+ function hi(e) {
836
783
  return e;
837
784
  }
838
- function Si(e) {
839
- return e.length === 0 ? Li : e.length === 1 ? e[0] : function(r) {
785
+ function ci(e) {
786
+ return e.length === 0 ? hi : e.length === 1 ? e[0] : function(r) {
840
787
  return e.reduce(function(i, n) {
841
788
  return n(i);
842
789
  }, r);
843
790
  };
844
791
  }
845
- var Tt = function() {
792
+ var dt = function() {
846
793
  function e(t) {
847
794
  t && (this._subscribe = t);
848
795
  }
@@ -850,11 +797,11 @@ var Tt = function() {
850
797
  var r = new e();
851
798
  return r.source = this, r.operator = t, r;
852
799
  }, e.prototype.subscribe = function(t, r, i) {
853
- var n = this, o = Ai(t) ? t : new Ke(t, r, i);
854
- return _e(function() {
855
- var a = n, s = a.operator, l = a.source;
856
- o.add(s ? s.call(o, l) : l ? n._subscribe(o) : n._trySubscribe(o));
857
- }), o;
800
+ var n = this, s = mi(t) ? t : new Qe(t, r, i);
801
+ return ve(function() {
802
+ var a = n, o = a.operator, h = a.source;
803
+ s.add(o ? o.call(s, h) : h ? n._subscribe(s) : n._trySubscribe(s));
804
+ }), s;
858
805
  }, e.prototype._trySubscribe = function(t) {
859
806
  try {
860
807
  return this._subscribe(t);
@@ -863,16 +810,16 @@ var Tt = function() {
863
810
  }
864
811
  }, e.prototype.forEach = function(t, r) {
865
812
  var i = this;
866
- return r = Lt(r), new r(function(n, o) {
867
- var a = new Ke({
868
- next: function(s) {
813
+ return r = yt(r), new r(function(n, s) {
814
+ var a = new Qe({
815
+ next: function(o) {
869
816
  try {
870
- t(s);
871
- } catch (l) {
872
- o(l), a.unsubscribe();
817
+ t(o);
818
+ } catch (h) {
819
+ s(h), a.unsubscribe();
873
820
  }
874
821
  },
875
- error: o,
822
+ error: s,
876
823
  complete: n
877
824
  });
878
825
  i.subscribe(a);
@@ -880,70 +827,70 @@ var Tt = function() {
880
827
  }, e.prototype._subscribe = function(t) {
881
828
  var r;
882
829
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
883
- }, e.prototype[Ti] = function() {
830
+ }, e.prototype[li] = function() {
884
831
  return this;
885
832
  }, e.prototype.pipe = function() {
886
833
  for (var t = [], r = 0; r < arguments.length; r++)
887
834
  t[r] = arguments[r];
888
- return Si(t)(this);
835
+ return ci(t)(this);
889
836
  }, e.prototype.toPromise = function(t) {
890
837
  var r = this;
891
- return t = Lt(t), new t(function(i, n) {
892
- var o;
838
+ return t = yt(t), new t(function(i, n) {
839
+ var s;
893
840
  r.subscribe(function(a) {
894
- return o = a;
841
+ return s = a;
895
842
  }, function(a) {
896
843
  return n(a);
897
844
  }, function() {
898
- return i(o);
845
+ return i(s);
899
846
  });
900
847
  });
901
848
  }, e.create = function(t) {
902
849
  return new e(t);
903
850
  }, e;
904
851
  }();
905
- function Lt(e) {
852
+ function yt(e) {
906
853
  var t;
907
- return (t = e != null ? e : Jt.Promise) !== null && t !== void 0 ? t : Promise;
854
+ return (t = e ?? ii.Promise) !== null && t !== void 0 ? t : Promise;
908
855
  }
909
- function wi(e) {
910
- return e && G(e.next) && G(e.error) && G(e.complete);
856
+ function fi(e) {
857
+ return e && U(e.next) && U(e.error) && U(e.complete);
911
858
  }
912
- function Ai(e) {
913
- return e && e instanceof qt || wi(e) && Yt(e);
859
+ function mi(e) {
860
+ return e && e instanceof kt || fi(e) && jt(e);
914
861
  }
915
- var Pi = Zt(function(e) {
862
+ var pi = Gt(function(e) {
916
863
  return function() {
917
864
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
918
865
  };
919
- }), Kt = function(e) {
920
- F(t, e);
866
+ }), Vt = function(e) {
867
+ G(t, e);
921
868
  function t() {
922
869
  var r = e.call(this) || this;
923
870
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
924
871
  }
925
872
  return t.prototype.lift = function(r) {
926
- var i = new St(this, this);
873
+ var i = new gt(this, this);
927
874
  return i.operator = r, i;
928
875
  }, t.prototype._throwIfClosed = function() {
929
876
  if (this.closed)
930
- throw new Pi();
877
+ throw new pi();
931
878
  }, t.prototype.next = function(r) {
932
879
  var i = this;
933
- _e(function() {
934
- var n, o;
880
+ ve(function() {
881
+ var n, s;
935
882
  if (i._throwIfClosed(), !i.isStopped) {
936
883
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
937
884
  try {
938
- for (var a = Ye(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
939
- var l = s.value;
940
- l.next(r);
885
+ for (var a = Xe(i.currentObservers), o = a.next(); !o.done; o = a.next()) {
886
+ var h = o.value;
887
+ h.next(r);
941
888
  }
942
889
  } catch (u) {
943
890
  n = { error: u };
944
891
  } finally {
945
892
  try {
946
- s && !s.done && (o = a.return) && o.call(a);
893
+ o && !o.done && (s = a.return) && s.call(a);
947
894
  } finally {
948
895
  if (n) throw n.error;
949
896
  }
@@ -952,7 +899,7 @@ var Pi = Zt(function(e) {
952
899
  });
953
900
  }, t.prototype.error = function(r) {
954
901
  var i = this;
955
- _e(function() {
902
+ ve(function() {
956
903
  if (i._throwIfClosed(), !i.isStopped) {
957
904
  i.hasError = i.isStopped = !0, i.thrownError = r;
958
905
  for (var n = i.observers; n.length; )
@@ -961,7 +908,7 @@ var Pi = Zt(function(e) {
961
908
  });
962
909
  }, t.prototype.complete = function() {
963
910
  var r = this;
964
- _e(function() {
911
+ ve(function() {
965
912
  if (r._throwIfClosed(), !r.isStopped) {
966
913
  r.isStopped = !0;
967
914
  for (var i = r.observers; i.length; )
@@ -982,21 +929,21 @@ var Pi = Zt(function(e) {
982
929
  }, t.prototype._subscribe = function(r) {
983
930
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
984
931
  }, t.prototype._innerSubscribe = function(r) {
985
- var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
986
- return o || a ? Qt : (this.currentObservers = null, s.push(r), new Ae(function() {
987
- i.currentObservers = null, qe(s, r);
932
+ var i = this, n = this, s = n.hasError, a = n.isStopped, o = n.observers;
933
+ return s || a ? Ft : (this.currentObservers = null, o.push(r), new Se(function() {
934
+ i.currentObservers = null, Ze(o, r);
988
935
  }));
989
936
  }, t.prototype._checkFinalizedStatuses = function(r) {
990
- var i = this, n = i.hasError, o = i.thrownError, a = i.isStopped;
991
- n ? r.error(o) : a && r.complete();
937
+ var i = this, n = i.hasError, s = i.thrownError, a = i.isStopped;
938
+ n ? r.error(s) : a && r.complete();
992
939
  }, t.prototype.asObservable = function() {
993
- var r = new Tt();
940
+ var r = new dt();
994
941
  return r.source = this, r;
995
942
  }, t.create = function(r, i) {
996
- return new St(r, i);
943
+ return new gt(r, i);
997
944
  }, t;
998
- }(Tt), St = function(e) {
999
- F(t, e);
945
+ }(dt), gt = function(e) {
946
+ G(t, e);
1000
947
  function t(r, i) {
1001
948
  var n = e.call(this) || this;
1002
949
  return n.destination = r, n.source = i, n;
@@ -1012,230 +959,232 @@ var Pi = Zt(function(e) {
1012
959
  (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
1013
960
  }, t.prototype._subscribe = function(r) {
1014
961
  var i, n;
1015
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Qt;
962
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Ft;
1016
963
  }, t;
1017
- }(Kt), er = {
964
+ }(Vt), Wt = {
1018
965
  now: function() {
1019
- return (er.delegate || Date).now();
966
+ return (Wt.delegate || Date).now();
1020
967
  },
1021
968
  delegate: void 0
1022
- }, Hi = function(e) {
1023
- F(t, e);
969
+ }, di = function(e) {
970
+ G(t, e);
1024
971
  function t(r, i, n) {
1025
- r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = er);
1026
- var o = e.call(this) || this;
1027
- return o._bufferSize = r, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, i), o;
972
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Wt);
973
+ var s = e.call(this) || this;
974
+ return s._bufferSize = r, s._windowTime = i, s._timestampProvider = n, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = i === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, i), s;
1028
975
  }
1029
976
  return t.prototype.next = function(r) {
1030
- var i = this, n = i.isStopped, o = i._buffer, a = i._infiniteTimeWindow, s = i._timestampProvider, l = i._windowTime;
1031
- n || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
977
+ var i = this, n = i.isStopped, s = i._buffer, a = i._infiniteTimeWindow, o = i._timestampProvider, h = i._windowTime;
978
+ n || (s.push(r), !a && s.push(o.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
1032
979
  }, t.prototype._subscribe = function(r) {
1033
980
  this._throwIfClosed(), this._trimBuffer();
1034
- for (var i = this._innerSubscribe(r), n = this, o = n._infiniteTimeWindow, a = n._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
1035
- r.next(s[l]);
981
+ for (var i = this._innerSubscribe(r), n = this, s = n._infiniteTimeWindow, a = n._buffer, o = a.slice(), h = 0; h < o.length && !r.closed; h += s ? 1 : 2)
982
+ r.next(o[h]);
1036
983
  return this._checkFinalizedStatuses(r), i;
1037
984
  }, t.prototype._trimBuffer = function() {
1038
- var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * i;
1039
- if (i < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1040
- for (var l = n.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1041
- u = h;
1042
- u && o.splice(0, u + 1);
985
+ var r = this, i = r._bufferSize, n = r._timestampProvider, s = r._buffer, a = r._infiniteTimeWindow, o = (a ? 1 : 2) * i;
986
+ if (i < 1 / 0 && o < s.length && s.splice(0, s.length - o), !a) {
987
+ for (var h = n.now(), u = 0, l = 1; l < s.length && s[l] <= h; l += 2)
988
+ u = l;
989
+ u && s.splice(0, u + 1);
1043
990
  }
1044
991
  }, t;
1045
- }(Kt);
1046
- const wt = [], At = {}, Ii = (e, t = 0) => {
1047
- if (wt.indexOf(e) == -1) {
1048
- const r = new Hi(t);
1049
- At[e] = r, wt.push(e);
992
+ }(Vt);
993
+ const bt = [], vt = {}, yi = (e, t = 0) => {
994
+ if (bt.indexOf(e) == -1) {
995
+ const r = new di(t);
996
+ vt[e] = r, bt.push(e);
1050
997
  }
1051
- return At[e];
1052
- }, Q = [];
1053
- function Bi(e, t) {
998
+ return vt[e];
999
+ }, Z = [];
1000
+ function gi(e, t) {
1054
1001
  return {
1055
- subscribe: Pe(e, t).subscribe
1002
+ subscribe: we(e, t).subscribe
1056
1003
  };
1057
1004
  }
1058
- function Pe(e, t = O) {
1005
+ function we(e, t = O) {
1059
1006
  let r;
1060
1007
  const i = /* @__PURE__ */ new Set();
1061
- function n(s) {
1062
- if (Wt(e, s) && (e = s, r)) {
1063
- const l = !Q.length;
1008
+ function n(o) {
1009
+ if (Dt(e, o) && (e = o, r)) {
1010
+ const h = !Z.length;
1064
1011
  for (const u of i)
1065
- u[1](), Q.push(u, e);
1066
- if (l) {
1067
- for (let u = 0; u < Q.length; u += 2)
1068
- Q[u][0](Q[u + 1]);
1069
- Q.length = 0;
1012
+ u[1](), Z.push(u, e);
1013
+ if (h) {
1014
+ for (let u = 0; u < Z.length; u += 2)
1015
+ Z[u][0](Z[u + 1]);
1016
+ Z.length = 0;
1070
1017
  }
1071
1018
  }
1072
1019
  }
1073
- function o(s) {
1074
- n(s(e));
1020
+ function s(o) {
1021
+ n(o(e));
1075
1022
  }
1076
- function a(s, l = O) {
1077
- const u = [s, l];
1078
- return i.add(u), i.size === 1 && (r = t(n, o) || O), s(e), () => {
1023
+ function a(o, h = O) {
1024
+ const u = [o, h];
1025
+ return i.add(u), i.size === 1 && (r = t(n, s) || O), o(e), () => {
1079
1026
  i.delete(u), i.size === 0 && r && (r(), r = null);
1080
1027
  };
1081
1028
  }
1082
- return { set: n, update: o, subscribe: a };
1029
+ return { set: n, update: s, subscribe: a };
1083
1030
  }
1084
- function ie(e, t, r) {
1031
+ function re(e, t, r) {
1085
1032
  const i = !Array.isArray(e), n = i ? [e] : e;
1086
1033
  if (!n.every(Boolean))
1087
1034
  throw new Error("derived() expects stores as input, got a falsy value");
1088
- const o = t.length < 2;
1089
- return Bi(r, (a, s) => {
1090
- let l = !1;
1035
+ const s = t.length < 2;
1036
+ return gi(r, (a, o) => {
1037
+ let h = !1;
1091
1038
  const u = [];
1092
- let h = 0, c = O;
1039
+ let l = 0, c = O;
1093
1040
  const f = () => {
1094
- if (h)
1041
+ if (l)
1095
1042
  return;
1096
1043
  c();
1097
- const y = t(i ? u[0] : u, a, s);
1098
- o ? a(y) : c = ut(y) ? y : O;
1044
+ const y = t(i ? u[0] : u, a, o);
1045
+ s ? a(y) : c = nt(y) ? y : O;
1099
1046
  }, p = n.map(
1100
- (y, d) => Xt(
1047
+ (y, d) => $t(
1101
1048
  y,
1102
1049
  (b) => {
1103
- u[d] = b, h &= ~(1 << d), l && f();
1050
+ u[d] = b, l &= ~(1 << d), h && f();
1104
1051
  },
1105
1052
  () => {
1106
- h |= 1 << d;
1053
+ l |= 1 << d;
1107
1054
  }
1108
1055
  )
1109
1056
  );
1110
- return l = !0, f(), function() {
1111
- fe(p), c(), l = !1;
1057
+ return h = !0, f(), function() {
1058
+ ce(p), c(), h = !1;
1112
1059
  };
1113
1060
  });
1114
1061
  }
1115
- function Oi(e) {
1116
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1062
+ function bi(e) {
1063
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1117
1064
  }
1118
- var Ci = function(t) {
1119
- return Ni(t) && !Ri(t);
1065
+ var vi = function(t) {
1066
+ return _i(t) && !Ei(t);
1120
1067
  };
1121
- function Ni(e) {
1068
+ function _i(e) {
1122
1069
  return !!e && typeof e == "object";
1123
1070
  }
1124
- function Ri(e) {
1071
+ function Ei(e) {
1125
1072
  var t = Object.prototype.toString.call(e);
1126
- return t === "[object RegExp]" || t === "[object Date]" || $i(e);
1073
+ return t === "[object RegExp]" || t === "[object Date]" || Li(e);
1127
1074
  }
1128
- var Mi = typeof Symbol == "function" && Symbol.for, Di = Mi ? Symbol.for("react.element") : 60103;
1129
- function $i(e) {
1130
- return e.$$typeof === Di;
1075
+ var xi = typeof Symbol == "function" && Symbol.for, Ti = xi ? Symbol.for("react.element") : 60103;
1076
+ function Li(e) {
1077
+ return e.$$typeof === Ti;
1131
1078
  }
1132
- function Ui(e) {
1079
+ function Si(e) {
1133
1080
  return Array.isArray(e) ? [] : {};
1134
1081
  }
1135
- function he(e, t) {
1136
- return t.clone !== !1 && t.isMergeableObject(e) ? K(Ui(e), e, t) : e;
1082
+ function le(e, t) {
1083
+ return t.clone !== !1 && t.isMergeableObject(e) ? q(Si(e), e, t) : e;
1137
1084
  }
1138
- function Gi(e, t, r) {
1085
+ function wi(e, t, r) {
1139
1086
  return e.concat(t).map(function(i) {
1140
- return he(i, r);
1087
+ return le(i, r);
1141
1088
  });
1142
1089
  }
1143
- function Fi(e, t) {
1090
+ function Ai(e, t) {
1144
1091
  if (!t.customMerge)
1145
- return K;
1092
+ return q;
1146
1093
  var r = t.customMerge(e);
1147
- return typeof r == "function" ? r : K;
1094
+ return typeof r == "function" ? r : q;
1148
1095
  }
1149
- function ji(e) {
1096
+ function Pi(e) {
1150
1097
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1151
1098
  return Object.propertyIsEnumerable.call(e, t);
1152
1099
  }) : [];
1153
1100
  }
1154
- function Pt(e) {
1155
- return Object.keys(e).concat(ji(e));
1101
+ function _t(e) {
1102
+ return Object.keys(e).concat(Pi(e));
1156
1103
  }
1157
- function tr(e, t) {
1104
+ function Xt(e, t) {
1158
1105
  try {
1159
1106
  return t in e;
1160
- } catch (r) {
1107
+ } catch {
1161
1108
  return !1;
1162
1109
  }
1163
1110
  }
1164
- function ki(e, t) {
1165
- return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1111
+ function Hi(e, t) {
1112
+ return Xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1166
1113
  }
1167
- function Vi(e, t, r) {
1114
+ function Ii(e, t, r) {
1168
1115
  var i = {};
1169
- return r.isMergeableObject(e) && Pt(e).forEach(function(n) {
1170
- i[n] = he(e[n], r);
1171
- }), Pt(t).forEach(function(n) {
1172
- ki(e, n) || (tr(e, n) && r.isMergeableObject(t[n]) ? i[n] = Fi(n, r)(e[n], t[n], r) : i[n] = he(t[n], r));
1116
+ return r.isMergeableObject(e) && _t(e).forEach(function(n) {
1117
+ i[n] = le(e[n], r);
1118
+ }), _t(t).forEach(function(n) {
1119
+ Hi(e, n) || (Xt(e, n) && r.isMergeableObject(t[n]) ? i[n] = Ai(n, r)(e[n], t[n], r) : i[n] = le(t[n], r));
1173
1120
  }), i;
1174
1121
  }
1175
- function K(e, t, r) {
1176
- r = r || {}, r.arrayMerge = r.arrayMerge || Gi, r.isMergeableObject = r.isMergeableObject || Ci, r.cloneUnlessOtherwiseSpecified = he;
1177
- var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
1178
- return o ? i ? r.arrayMerge(e, t, r) : Vi(e, t, r) : he(t, r);
1122
+ function q(e, t, r) {
1123
+ r = r || {}, r.arrayMerge = r.arrayMerge || wi, r.isMergeableObject = r.isMergeableObject || vi, r.cloneUnlessOtherwiseSpecified = le;
1124
+ var i = Array.isArray(t), n = Array.isArray(e), s = i === n;
1125
+ return s ? i ? r.arrayMerge(e, t, r) : Ii(e, t, r) : le(t, r);
1179
1126
  }
1180
- K.all = function(t, r) {
1127
+ q.all = function(t, r) {
1181
1128
  if (!Array.isArray(t))
1182
1129
  throw new Error("first argument should be an array");
1183
1130
  return t.reduce(function(i, n) {
1184
- return K(i, n, r);
1131
+ return q(i, n, r);
1185
1132
  }, {});
1186
1133
  };
1187
- var Wi = K, Xi = Wi;
1188
- const zi = /* @__PURE__ */ Oi(Xi);
1189
- function Ge(e, t) {
1190
- var r = t && t.cache ? t.cache : Ki, i = t && t.serializer ? t.serializer : qi, n = t && t.strategy ? t.strategy : Qi;
1134
+ var Bi = q, Oi = Bi;
1135
+ const Ci = /* @__PURE__ */ bi(Oi);
1136
+ function Me(e, t) {
1137
+ var r = t && t.cache ? t.cache : Gi, i = t && t.serializer ? t.serializer : $i, n = t && t.strategy ? t.strategy : Ri;
1191
1138
  return n(e, {
1192
1139
  cache: r,
1193
1140
  serializer: i
1194
1141
  });
1195
1142
  }
1196
- function Zi(e) {
1143
+ function Ni(e) {
1197
1144
  return e == null || typeof e == "number" || typeof e == "boolean";
1198
1145
  }
1199
- function rr(e, t, r, i) {
1200
- var n = Zi(i) ? i : r(i), o = t.get(n);
1201
- return typeof o == "undefined" && (o = e.call(this, i), t.set(n, o)), o;
1146
+ function zt(e, t, r, i) {
1147
+ var n = Ni(i) ? i : r(i), s = t.get(n);
1148
+ return typeof s > "u" && (s = e.call(this, i), t.set(n, s)), s;
1202
1149
  }
1203
- function ir(e, t, r) {
1204
- var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
1205
- return typeof o == "undefined" && (o = e.apply(this, i), t.set(n, o)), o;
1150
+ function Zt(e, t, r) {
1151
+ var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
1152
+ return typeof s > "u" && (s = e.apply(this, i), t.set(n, s)), s;
1206
1153
  }
1207
- function lt(e, t, r, i, n) {
1154
+ function st(e, t, r, i, n) {
1208
1155
  return r.bind(t, e, i, n);
1209
1156
  }
1210
- function Qi(e, t) {
1211
- var r = e.length === 1 ? rr : ir;
1212
- return lt(e, this, r, t.cache.create(), t.serializer);
1157
+ function Ri(e, t) {
1158
+ var r = e.length === 1 ? zt : Zt;
1159
+ return st(e, this, r, t.cache.create(), t.serializer);
1213
1160
  }
1214
- function Yi(e, t) {
1215
- return lt(e, this, ir, t.cache.create(), t.serializer);
1161
+ function Mi(e, t) {
1162
+ return st(e, this, Zt, t.cache.create(), t.serializer);
1216
1163
  }
1217
- function Ji(e, t) {
1218
- return lt(e, this, rr, t.cache.create(), t.serializer);
1164
+ function Di(e, t) {
1165
+ return st(e, this, zt, t.cache.create(), t.serializer);
1219
1166
  }
1220
- var qi = function() {
1167
+ var $i = function() {
1221
1168
  return JSON.stringify(arguments);
1222
- };
1223
- function ht() {
1224
- this.cache = /* @__PURE__ */ Object.create(null);
1225
- }
1226
- ht.prototype.get = function(e) {
1227
- return this.cache[e];
1228
- };
1229
- ht.prototype.set = function(e, t) {
1230
- this.cache[e] = t;
1231
- };
1232
- var Ki = {
1169
+ }, Ui = (
1170
+ /** @class */
1171
+ function() {
1172
+ function e() {
1173
+ this.cache = /* @__PURE__ */ Object.create(null);
1174
+ }
1175
+ return e.prototype.get = function(t) {
1176
+ return this.cache[t];
1177
+ }, e.prototype.set = function(t, r) {
1178
+ this.cache[t] = r;
1179
+ }, e;
1180
+ }()
1181
+ ), Gi = {
1233
1182
  create: function() {
1234
- return new ht();
1183
+ return new Ui();
1235
1184
  }
1236
- }, Fe = {
1237
- variadic: Yi,
1238
- monadic: Ji
1185
+ }, De = {
1186
+ variadic: Mi,
1187
+ monadic: Di
1239
1188
  }, g;
1240
1189
  (function(e) {
1241
1190
  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";
@@ -1244,47 +1193,47 @@ var S;
1244
1193
  (function(e) {
1245
1194
  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";
1246
1195
  })(S || (S = {}));
1247
- var ee;
1196
+ var K;
1248
1197
  (function(e) {
1249
1198
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1250
- })(ee || (ee = {}));
1251
- function Ht(e) {
1199
+ })(K || (K = {}));
1200
+ function Et(e) {
1252
1201
  return e.type === S.literal;
1253
1202
  }
1254
- function en(e) {
1203
+ function Fi(e) {
1255
1204
  return e.type === S.argument;
1256
1205
  }
1257
- function nr(e) {
1206
+ function Qt(e) {
1258
1207
  return e.type === S.number;
1259
1208
  }
1260
- function or(e) {
1209
+ function Yt(e) {
1261
1210
  return e.type === S.date;
1262
1211
  }
1263
- function sr(e) {
1212
+ function Jt(e) {
1264
1213
  return e.type === S.time;
1265
1214
  }
1266
- function ar(e) {
1215
+ function qt(e) {
1267
1216
  return e.type === S.select;
1268
1217
  }
1269
- function ur(e) {
1218
+ function Kt(e) {
1270
1219
  return e.type === S.plural;
1271
1220
  }
1272
- function tn(e) {
1221
+ function ji(e) {
1273
1222
  return e.type === S.pound;
1274
1223
  }
1275
- function lr(e) {
1224
+ function er(e) {
1276
1225
  return e.type === S.tag;
1277
1226
  }
1278
- function hr(e) {
1279
- return !!(e && typeof e == "object" && e.type === ee.number);
1227
+ function tr(e) {
1228
+ return !!(e && typeof e == "object" && e.type === K.number);
1280
1229
  }
1281
- function et(e) {
1282
- return !!(e && typeof e == "object" && e.type === ee.dateTime);
1230
+ function Ye(e) {
1231
+ return !!(e && typeof e == "object" && e.type === K.dateTime);
1283
1232
  }
1284
- var cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, rn = /(?:[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;
1285
- function nn(e) {
1233
+ var rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ki = /(?:[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;
1234
+ function Vi(e) {
1286
1235
  var t = {};
1287
- return e.replace(rn, function(r) {
1236
+ return e.replace(ki, function(r) {
1288
1237
  var i = r.length;
1289
1238
  switch (r[0]) {
1290
1239
  case "G":
@@ -1373,36 +1322,36 @@ function nn(e) {
1373
1322
  return "";
1374
1323
  }), t;
1375
1324
  }
1376
- var on = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1377
- function sn(e) {
1325
+ var Wi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1326
+ function Xi(e) {
1378
1327
  if (e.length === 0)
1379
1328
  throw new Error("Number skeleton cannot be empty");
1380
- for (var t = e.split(on).filter(function(f) {
1329
+ for (var t = e.split(Wi).filter(function(f) {
1381
1330
  return f.length > 0;
1382
1331
  }), r = [], i = 0, n = t; i < n.length; i++) {
1383
- var o = n[i], a = o.split("/");
1332
+ var s = n[i], a = s.split("/");
1384
1333
  if (a.length === 0)
1385
1334
  throw new Error("Invalid number skeleton");
1386
- for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1387
- var c = h[u];
1335
+ for (var o = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
1336
+ var c = l[u];
1388
1337
  if (c.length === 0)
1389
1338
  throw new Error("Invalid number skeleton");
1390
1339
  }
1391
- r.push({ stem: s, options: l });
1340
+ r.push({ stem: o, options: h });
1392
1341
  }
1393
1342
  return r;
1394
1343
  }
1395
- function an(e) {
1344
+ function zi(e) {
1396
1345
  return e.replace(/^(.*?)-/, "");
1397
1346
  }
1398
- var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, un = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
1399
- function Bt(e) {
1347
+ var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ir = /^(@+)?(\+|#+)?[rs]?$/g, Zi = /(\*)(0+)|(#+)(0+)|(0+)/g, nr = /^(0+)$/;
1348
+ function Tt(e) {
1400
1349
  var t = {};
1401
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, i, n) {
1350
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ir, function(r, i, n) {
1402
1351
  return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
1403
1352
  }), t;
1404
1353
  }
1405
- function pr(e) {
1354
+ function sr(e) {
1406
1355
  switch (e) {
1407
1356
  case "sign-auto":
1408
1357
  return {
@@ -1442,7 +1391,7 @@ function pr(e) {
1442
1391
  };
1443
1392
  }
1444
1393
  }
1445
- function ln(e) {
1394
+ function Qi(e) {
1446
1395
  var t;
1447
1396
  if (e[0] === "E" && e[1] === "E" ? (t = {
1448
1397
  notation: "engineering"
@@ -1450,17 +1399,17 @@ function ln(e) {
1450
1399
  notation: "scientific"
1451
1400
  }, e = e.slice(1)), t) {
1452
1401
  var r = e.slice(0, 2);
1453
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
1402
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !nr.test(e))
1454
1403
  throw new Error("Malformed concise eng/scientific notation");
1455
1404
  t.minimumIntegerDigits = e.length;
1456
1405
  }
1457
1406
  return t;
1458
1407
  }
1459
- function Ot(e) {
1460
- var t = {}, r = pr(e);
1408
+ function Lt(e) {
1409
+ var t = {}, r = sr(e);
1461
1410
  return r || t;
1462
1411
  }
1463
- function hn(e) {
1412
+ function Yi(e) {
1464
1413
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
1465
1414
  var n = i[r];
1466
1415
  switch (n.stem) {
@@ -1484,7 +1433,7 @@ function hn(e) {
1484
1433
  continue;
1485
1434
  case "measure-unit":
1486
1435
  case "unit":
1487
- t.style = "unit", t.unit = an(n.options[0]);
1436
+ t.style = "unit", t.unit = zi(n.options[0]);
1488
1437
  continue;
1489
1438
  case "compact-short":
1490
1439
  case "K":
@@ -1495,13 +1444,13 @@ function hn(e) {
1495
1444
  t.notation = "compact", t.compactDisplay = "long";
1496
1445
  continue;
1497
1446
  case "scientific":
1498
- t = _(_(_({}, t), { notation: "scientific" }), n.options.reduce(function(l, u) {
1499
- return _(_({}, l), Ot(u));
1447
+ t = E(E(E({}, t), { notation: "scientific" }), n.options.reduce(function(h, u) {
1448
+ return E(E({}, h), Lt(u));
1500
1449
  }, {}));
1501
1450
  continue;
1502
1451
  case "engineering":
1503
- t = _(_(_({}, t), { notation: "engineering" }), n.options.reduce(function(l, u) {
1504
- return _(_({}, l), Ot(u));
1452
+ t = E(E(E({}, t), { notation: "engineering" }), n.options.reduce(function(h, u) {
1453
+ return E(E({}, h), Lt(u));
1505
1454
  }, {}));
1506
1455
  continue;
1507
1456
  case "notation-simple":
@@ -1546,9 +1495,9 @@ function hn(e) {
1546
1495
  case "integer-width":
1547
1496
  if (n.options.length > 1)
1548
1497
  throw new RangeError("integer-width stems only accept a single optional option");
1549
- n.options[0].replace(un, function(l, u, h, c, f, p) {
1498
+ n.options[0].replace(Zi, function(h, u, l, c, f, p) {
1550
1499
  if (u)
1551
- t.minimumIntegerDigits = h.length;
1500
+ t.minimumIntegerDigits = l.length;
1552
1501
  else {
1553
1502
  if (c && f)
1554
1503
  throw new Error("We currently do not support maximum integer digits");
@@ -1559,32 +1508,32 @@ function hn(e) {
1559
1508
  });
1560
1509
  continue;
1561
1510
  }
1562
- if (mr.test(n.stem)) {
1511
+ if (nr.test(n.stem)) {
1563
1512
  t.minimumIntegerDigits = n.stem.length;
1564
1513
  continue;
1565
1514
  }
1566
- if (It.test(n.stem)) {
1515
+ if (xt.test(n.stem)) {
1567
1516
  if (n.options.length > 1)
1568
1517
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1569
- n.stem.replace(It, function(l, u, h, c, f, p) {
1570
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1518
+ n.stem.replace(xt, function(h, u, l, c, f, p) {
1519
+ return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1571
1520
  });
1572
- var o = n.options[0];
1573
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Bt(o)));
1521
+ var s = n.options[0];
1522
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), Tt(s)));
1574
1523
  continue;
1575
1524
  }
1576
- if (fr.test(n.stem)) {
1577
- t = _(_({}, t), Bt(n.stem));
1525
+ if (ir.test(n.stem)) {
1526
+ t = E(E({}, t), Tt(n.stem));
1578
1527
  continue;
1579
1528
  }
1580
- var a = pr(n.stem);
1581
- a && (t = _(_({}, t), a));
1582
- var s = ln(n.stem);
1583
- s && (t = _(_({}, t), s));
1529
+ var a = sr(n.stem);
1530
+ a && (t = E(E({}, t), a));
1531
+ var o = Qi(n.stem);
1532
+ o && (t = E(E({}, t), o));
1584
1533
  }
1585
1534
  return t;
1586
1535
  }
1587
- var ve = {
1536
+ var ge = {
1588
1537
  "001": [
1589
1538
  "H",
1590
1539
  "h"
@@ -2999,22 +2948,22 @@ var ve = {
2999
2948
  "h"
3000
2949
  ]
3001
2950
  };
3002
- function cn(e, t) {
2951
+ function Ji(e, t) {
3003
2952
  for (var r = "", i = 0; i < e.length; i++) {
3004
2953
  var n = e.charAt(i);
3005
2954
  if (n === "j") {
3006
- for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
3007
- o++, i++;
3008
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = fn(t);
3009
- for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3010
- r += l;
2955
+ for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2956
+ s++, i++;
2957
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = qi(t);
2958
+ for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2959
+ r += h;
3011
2960
  for (; a-- > 0; )
3012
2961
  r = u + r;
3013
2962
  } else n === "J" ? r += "H" : r += n;
3014
2963
  }
3015
2964
  return r;
3016
2965
  }
3017
- function fn(e) {
2966
+ function qi(e) {
3018
2967
  var t = e.hourCycle;
3019
2968
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3020
2969
  e.hourCycles && // @ts-ignore
@@ -3033,23 +2982,23 @@ function fn(e) {
3033
2982
  }
3034
2983
  var r = e.language, i;
3035
2984
  r !== "root" && (i = e.maximize().region);
3036
- var n = ve[i || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
2985
+ var n = ge[i || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
3037
2986
  return n[0];
3038
2987
  }
3039
- var je, mn = new RegExp("^".concat(cr.source, "*")), pn = new RegExp("".concat(cr.source, "*$"));
2988
+ var $e, Ki = new RegExp("^".concat(rr.source, "*")), en = new RegExp("".concat(rr.source, "*$"));
3040
2989
  function v(e, t) {
3041
2990
  return { start: e, end: t };
3042
2991
  }
3043
- var dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), yn = !!String.fromCodePoint, gn = !!Object.fromEntries, bn = !!String.prototype.codePointAt, vn = !!String.prototype.trimStart, En = !!String.prototype.trimEnd, _n = !!Number.isSafeInteger, xn = _n ? Number.isSafeInteger : function(e) {
2992
+ var tn = !!String.prototype.startsWith && "_a".startsWith("a", 1), rn = !!String.fromCodePoint, nn = !!Object.fromEntries, sn = !!String.prototype.codePointAt, on = !!String.prototype.trimStart, an = !!String.prototype.trimEnd, un = !!Number.isSafeInteger, ln = un ? Number.isSafeInteger : function(e) {
3044
2993
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3045
- }, tt = !0;
2994
+ }, Je = !0;
3046
2995
  try {
3047
- var Tn = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3048
- tt = ((je = Tn.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
3049
- } catch (e) {
3050
- tt = !1;
2996
+ var hn = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2997
+ Je = (($e = hn.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
2998
+ } catch {
2999
+ Je = !1;
3051
3000
  }
3052
- var Ct = dn ? (
3001
+ var St = tn ? (
3053
3002
  // Native
3054
3003
  function(t, r, i) {
3055
3004
  return t.startsWith(r, i);
@@ -3059,31 +3008,31 @@ var Ct = dn ? (
3059
3008
  function(t, r, i) {
3060
3009
  return t.slice(i, i + r.length) === r;
3061
3010
  }
3062
- ), rt = yn ? String.fromCodePoint : (
3011
+ ), qe = rn ? String.fromCodePoint : (
3063
3012
  // IE11
3064
3013
  function() {
3065
3014
  for (var t = [], r = 0; r < arguments.length; r++)
3066
3015
  t[r] = arguments[r];
3067
- for (var i = "", n = t.length, o = 0, a; n > o; ) {
3068
- if (a = t[o++], a > 1114111)
3016
+ for (var i = "", n = t.length, s = 0, a; n > s; ) {
3017
+ if (a = t[s++], a > 1114111)
3069
3018
  throw RangeError(a + " is not a valid code point");
3070
3019
  i += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3071
3020
  }
3072
3021
  return i;
3073
3022
  }
3074
- ), Nt = (
3023
+ ), wt = (
3075
3024
  // native
3076
- gn ? Object.fromEntries : (
3025
+ nn ? Object.fromEntries : (
3077
3026
  // Ponyfill
3078
3027
  function(t) {
3079
3028
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
3080
- var o = n[i], a = o[0], s = o[1];
3081
- r[a] = s;
3029
+ var s = n[i], a = s[0], o = s[1];
3030
+ r[a] = o;
3082
3031
  }
3083
3032
  return r;
3084
3033
  }
3085
3034
  )
3086
- ), dr = bn ? (
3035
+ ), or = sn ? (
3087
3036
  // Native
3088
3037
  function(t, r) {
3089
3038
  return t.codePointAt(r);
@@ -3093,11 +3042,11 @@ var Ct = dn ? (
3093
3042
  function(t, r) {
3094
3043
  var i = t.length;
3095
3044
  if (!(r < 0 || r >= i)) {
3096
- var n = t.charCodeAt(r), o;
3097
- return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
3045
+ var n = t.charCodeAt(r), s;
3046
+ return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
3098
3047
  }
3099
3048
  }
3100
- ), Ln = vn ? (
3049
+ ), cn = on ? (
3101
3050
  // Native
3102
3051
  function(t) {
3103
3052
  return t.trimStart();
@@ -3105,9 +3054,9 @@ var Ct = dn ? (
3105
3054
  ) : (
3106
3055
  // Ponyfill
3107
3056
  function(t) {
3108
- return t.replace(mn, "");
3057
+ return t.replace(Ki, "");
3109
3058
  }
3110
- ), Sn = En ? (
3059
+ ), fn = an ? (
3111
3060
  // Native
3112
3061
  function(t) {
3113
3062
  return t.trimEnd();
@@ -3115,32 +3064,32 @@ var Ct = dn ? (
3115
3064
  ) : (
3116
3065
  // Ponyfill
3117
3066
  function(t) {
3118
- return t.replace(pn, "");
3067
+ return t.replace(en, "");
3119
3068
  }
3120
3069
  );
3121
- function yr(e, t) {
3070
+ function ar(e, t) {
3122
3071
  return new RegExp(e, t);
3123
3072
  }
3124
- var it;
3125
- if (tt) {
3126
- var Rt = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3127
- it = function(t, r) {
3073
+ var Ke;
3074
+ if (Je) {
3075
+ var At = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3076
+ Ke = function(t, r) {
3128
3077
  var i;
3129
- Rt.lastIndex = r;
3130
- var n = Rt.exec(t);
3078
+ At.lastIndex = r;
3079
+ var n = At.exec(t);
3131
3080
  return (i = n[1]) !== null && i !== void 0 ? i : "";
3132
3081
  };
3133
3082
  } else
3134
- it = function(t, r) {
3083
+ Ke = function(t, r) {
3135
3084
  for (var i = []; ; ) {
3136
- var n = dr(t, r);
3137
- if (n === void 0 || gr(n) || Hn(n))
3085
+ var n = or(t, r);
3086
+ if (n === void 0 || ur(n) || yn(n))
3138
3087
  break;
3139
3088
  i.push(n), r += n >= 65536 ? 2 : 1;
3140
3089
  }
3141
- return rt.apply(void 0, i);
3090
+ return qe.apply(void 0, i);
3142
3091
  };
3143
- var wn = (
3092
+ var mn = (
3144
3093
  /** @class */
3145
3094
  function() {
3146
3095
  function e(t, r) {
@@ -3152,26 +3101,26 @@ var wn = (
3152
3101
  return this.parseMessage(0, "", !1);
3153
3102
  }, e.prototype.parseMessage = function(t, r, i) {
3154
3103
  for (var n = []; !this.isEOF(); ) {
3155
- var o = this.char();
3156
- if (o === 123) {
3104
+ var s = this.char();
3105
+ if (s === 123) {
3157
3106
  var a = this.parseArgument(t, i);
3158
3107
  if (a.err)
3159
3108
  return a;
3160
3109
  n.push(a.val);
3161
3110
  } else {
3162
- if (o === 125 && t > 0)
3111
+ if (s === 125 && t > 0)
3163
3112
  break;
3164
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
3165
- var s = this.clonePosition();
3113
+ if (s === 35 && (r === "plural" || r === "selectordinal")) {
3114
+ var o = this.clonePosition();
3166
3115
  this.bump(), n.push({
3167
3116
  type: S.pound,
3168
- location: v(s, this.clonePosition())
3117
+ location: v(o, this.clonePosition())
3169
3118
  });
3170
- } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3119
+ } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3171
3120
  if (i)
3172
3121
  break;
3173
3122
  return this.error(g.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3174
- } else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
3123
+ } else if (s === 60 && !this.ignoreTag && et(this.peek() || 0)) {
3175
3124
  var a = this.parseTag(t, r);
3176
3125
  if (a.err)
3177
3126
  return a;
@@ -3199,15 +3148,15 @@ var wn = (
3199
3148
  err: null
3200
3149
  };
3201
3150
  if (this.bumpIf(">")) {
3202
- var o = this.parseMessage(t + 1, r, !0);
3203
- if (o.err)
3204
- return o;
3205
- var a = o.val, s = this.clonePosition();
3151
+ var s = this.parseMessage(t + 1, r, !0);
3152
+ if (s.err)
3153
+ return s;
3154
+ var a = s.val, o = this.clonePosition();
3206
3155
  if (this.bumpIf("</")) {
3207
- if (this.isEOF() || !nt(this.char()))
3208
- return this.error(g.INVALID_TAG, v(s, this.clonePosition()));
3209
- var l = this.clonePosition(), u = this.parseTagName();
3210
- return n !== u ? this.error(g.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3156
+ if (this.isEOF() || !et(this.char()))
3157
+ return this.error(g.INVALID_TAG, v(o, this.clonePosition()));
3158
+ var h = this.clonePosition(), u = this.parseTagName();
3159
+ return n !== u ? this.error(g.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3211
3160
  val: {
3212
3161
  type: S.tag,
3213
3162
  value: n,
@@ -3215,21 +3164,21 @@ var wn = (
3215
3164
  location: v(i, this.clonePosition())
3216
3165
  },
3217
3166
  err: null
3218
- } : this.error(g.INVALID_TAG, v(s, this.clonePosition())));
3167
+ } : this.error(g.INVALID_TAG, v(o, this.clonePosition())));
3219
3168
  } else
3220
3169
  return this.error(g.UNCLOSED_TAG, v(i, this.clonePosition()));
3221
3170
  } else
3222
3171
  return this.error(g.INVALID_TAG, v(i, this.clonePosition()));
3223
3172
  }, e.prototype.parseTagName = function() {
3224
3173
  var t = this.offset();
3225
- for (this.bump(); !this.isEOF() && Pn(this.char()); )
3174
+ for (this.bump(); !this.isEOF() && dn(this.char()); )
3226
3175
  this.bump();
3227
3176
  return this.message.slice(t, this.offset());
3228
3177
  }, e.prototype.parseLiteral = function(t, r) {
3229
3178
  for (var i = this.clonePosition(), n = ""; ; ) {
3230
- var o = this.tryParseQuote(r);
3231
- if (o) {
3232
- n += o;
3179
+ var s = this.tryParseQuote(r);
3180
+ if (s) {
3181
+ n += s;
3233
3182
  continue;
3234
3183
  }
3235
3184
  var a = this.tryParseUnquoted(t, r);
@@ -3237,21 +3186,21 @@ var wn = (
3237
3186
  n += a;
3238
3187
  continue;
3239
3188
  }
3240
- var s = this.tryParseLeftAngleBracket();
3241
- if (s) {
3242
- n += s;
3189
+ var o = this.tryParseLeftAngleBracket();
3190
+ if (o) {
3191
+ n += o;
3243
3192
  continue;
3244
3193
  }
3245
3194
  break;
3246
3195
  }
3247
- var l = v(i, this.clonePosition());
3196
+ var h = v(i, this.clonePosition());
3248
3197
  return {
3249
- val: { type: S.literal, value: n, location: l },
3198
+ val: { type: S.literal, value: n, location: h },
3250
3199
  err: null
3251
3200
  };
3252
3201
  }, e.prototype.tryParseLeftAngleBracket = function() {
3253
3202
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3254
- !An(this.peek() || 0)) ? (this.bump(), "<") : null;
3203
+ !pn(this.peek() || 0)) ? (this.bump(), "<") : null;
3255
3204
  }, e.prototype.tryParseQuote = function(t) {
3256
3205
  if (this.isEOF() || this.char() !== 39)
3257
3206
  return null;
@@ -3285,12 +3234,12 @@ var wn = (
3285
3234
  r.push(i);
3286
3235
  this.bump();
3287
3236
  }
3288
- return rt.apply(void 0, r);
3237
+ return qe.apply(void 0, r);
3289
3238
  }, e.prototype.tryParseUnquoted = function(t, r) {
3290
3239
  if (this.isEOF())
3291
3240
  return null;
3292
3241
  var i = this.char();
3293
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), rt(i));
3242
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), qe(i));
3294
3243
  }, e.prototype.parseArgument = function(t, r) {
3295
3244
  var i = this.clonePosition();
3296
3245
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3319,15 +3268,15 @@ var wn = (
3319
3268
  return this.error(g.MALFORMED_ARGUMENT, v(i, this.clonePosition()));
3320
3269
  }
3321
3270
  }, e.prototype.parseIdentifierIfPossible = function() {
3322
- var t = this.clonePosition(), r = this.offset(), i = it(this.message, r), n = r + i.length;
3271
+ var t = this.clonePosition(), r = this.offset(), i = Ke(this.message, r), n = r + i.length;
3323
3272
  this.bumpTo(n);
3324
- var o = this.clonePosition(), a = v(t, o);
3273
+ var s = this.clonePosition(), a = v(t, s);
3325
3274
  return { value: i, location: a };
3326
3275
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
3327
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3328
- switch (s) {
3276
+ var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3277
+ switch (o) {
3329
3278
  case "":
3330
- return this.error(g.EXPECT_ARGUMENT_TYPE, v(a, l));
3279
+ return this.error(g.EXPECT_ARGUMENT_TYPE, v(a, h));
3331
3280
  case "number":
3332
3281
  case "date":
3333
3282
  case "time": {
@@ -3335,22 +3284,22 @@ var wn = (
3335
3284
  var u = null;
3336
3285
  if (this.bumpIf(",")) {
3337
3286
  this.bumpSpace();
3338
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3287
+ var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3339
3288
  if (c.err)
3340
3289
  return c;
3341
- var f = Sn(c.val);
3290
+ var f = fn(c.val);
3342
3291
  if (f.length === 0)
3343
3292
  return this.error(g.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3344
- var p = v(h, this.clonePosition());
3293
+ var p = v(l, this.clonePosition());
3345
3294
  u = { style: f, styleLocation: p };
3346
3295
  }
3347
3296
  var y = this.tryParseArgumentClose(n);
3348
3297
  if (y.err)
3349
3298
  return y;
3350
3299
  var d = v(n, this.clonePosition());
3351
- if (u && Ct(u == null ? void 0 : u.style, "::", 0)) {
3352
- var b = Ln(u.style.slice(2));
3353
- if (s === "number") {
3300
+ if (u && St(u?.style, "::", 0)) {
3301
+ var b = cn(u.style.slice(2));
3302
+ if (o === "number") {
3354
3303
  var c = this.parseNumberSkeletonFromString(b, u.styleLocation);
3355
3304
  return c.err ? c : {
3356
3305
  val: { type: S.number, value: i, location: d, style: c.val },
@@ -3360,25 +3309,25 @@ var wn = (
3360
3309
  if (b.length === 0)
3361
3310
  return this.error(g.EXPECT_DATE_TIME_SKELETON, d);
3362
3311
  var w = b;
3363
- this.locale && (w = cn(b, this.locale));
3312
+ this.locale && (w = Ji(b, this.locale));
3364
3313
  var f = {
3365
- type: ee.dateTime,
3314
+ type: K.dateTime,
3366
3315
  pattern: w,
3367
3316
  location: u.styleLocation,
3368
- parsedOptions: this.shouldParseSkeletons ? nn(w) : {}
3369
- }, E = s === "date" ? S.date : S.time;
3317
+ parsedOptions: this.shouldParseSkeletons ? Vi(w) : {}
3318
+ }, _ = o === "date" ? S.date : S.time;
3370
3319
  return {
3371
- val: { type: E, value: i, location: d, style: f },
3320
+ val: { type: _, value: i, location: d, style: f },
3372
3321
  err: null
3373
3322
  };
3374
3323
  }
3375
3324
  }
3376
3325
  return {
3377
3326
  val: {
3378
- type: s === "number" ? S.number : s === "date" ? S.date : S.time,
3327
+ type: o === "number" ? S.number : o === "date" ? S.date : S.time,
3379
3328
  value: i,
3380
3329
  location: d,
3381
- style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3330
+ style: (s = u?.style) !== null && s !== void 0 ? s : null
3382
3331
  },
3383
3332
  err: null
3384
3333
  };
@@ -3388,47 +3337,47 @@ var wn = (
3388
3337
  case "select": {
3389
3338
  var H = this.clonePosition();
3390
3339
  if (this.bumpSpace(), !this.bumpIf(","))
3391
- return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, v(H, _({}, H)));
3340
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, v(H, E({}, H)));
3392
3341
  this.bumpSpace();
3393
- var D = this.parseIdentifierIfPossible(), N = 0;
3394
- if (s !== "select" && D.value === "offset") {
3342
+ var M = this.parseIdentifierIfPossible(), N = 0;
3343
+ if (o !== "select" && M.value === "offset") {
3395
3344
  if (!this.bumpIf(":"))
3396
3345
  return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3397
3346
  this.bumpSpace();
3398
3347
  var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3399
3348
  if (c.err)
3400
3349
  return c;
3401
- this.bumpSpace(), D = this.parseIdentifierIfPossible(), N = c.val;
3350
+ this.bumpSpace(), M = this.parseIdentifierIfPossible(), N = c.val;
3402
3351
  }
3403
- var $ = this.tryParsePluralOrSelectOptions(t, s, r, D);
3404
- if ($.err)
3405
- return $;
3352
+ var D = this.tryParsePluralOrSelectOptions(t, o, r, M);
3353
+ if (D.err)
3354
+ return D;
3406
3355
  var y = this.tryParseArgumentClose(n);
3407
3356
  if (y.err)
3408
3357
  return y;
3409
- var W = v(n, this.clonePosition());
3410
- return s === "select" ? {
3358
+ var V = v(n, this.clonePosition());
3359
+ return o === "select" ? {
3411
3360
  val: {
3412
3361
  type: S.select,
3413
3362
  value: i,
3414
- options: Nt($.val),
3415
- location: W
3363
+ options: wt(D.val),
3364
+ location: V
3416
3365
  },
3417
3366
  err: null
3418
3367
  } : {
3419
3368
  val: {
3420
3369
  type: S.plural,
3421
3370
  value: i,
3422
- options: Nt($.val),
3371
+ options: wt(D.val),
3423
3372
  offset: N,
3424
- pluralType: s === "plural" ? "cardinal" : "ordinal",
3425
- location: W
3373
+ pluralType: o === "plural" ? "cardinal" : "ordinal",
3374
+ location: V
3426
3375
  },
3427
3376
  err: null
3428
3377
  };
3429
3378
  }
3430
3379
  default:
3431
- return this.error(g.INVALID_ARGUMENT_TYPE, v(a, l));
3380
+ return this.error(g.INVALID_ARGUMENT_TYPE, v(a, h));
3432
3381
  }
3433
3382
  }, e.prototype.tryParseArgumentClose = function(t) {
3434
3383
  return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3470,33 +3419,33 @@ var wn = (
3470
3419
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3471
3420
  var i = [];
3472
3421
  try {
3473
- i = sn(t);
3474
- } catch (n) {
3422
+ i = Xi(t);
3423
+ } catch {
3475
3424
  return this.error(g.INVALID_NUMBER_SKELETON, r);
3476
3425
  }
3477
3426
  return {
3478
3427
  val: {
3479
- type: ee.number,
3428
+ type: K.number,
3480
3429
  tokens: i,
3481
3430
  location: r,
3482
- parsedOptions: this.shouldParseSkeletons ? hn(i) : {}
3431
+ parsedOptions: this.shouldParseSkeletons ? Yi(i) : {}
3483
3432
  },
3484
3433
  err: null
3485
3434
  };
3486
3435
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
3487
- for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = n.value, h = n.location; ; ) {
3436
+ for (var s, a = !1, o = [], h = /* @__PURE__ */ new Set(), u = n.value, l = n.location; ; ) {
3488
3437
  if (u.length === 0) {
3489
3438
  var c = this.clonePosition();
3490
3439
  if (r !== "select" && this.bumpIf("=")) {
3491
3440
  var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3492
3441
  if (f.err)
3493
3442
  return f;
3494
- h = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3443
+ l = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3495
3444
  } else
3496
3445
  break;
3497
3446
  }
3498
- if (l.has(u))
3499
- return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3447
+ if (h.has(u))
3448
+ return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3500
3449
  u === "other" && (a = !0), this.bumpSpace();
3501
3450
  var p = this.clonePosition();
3502
3451
  if (!this.bumpIf("{"))
@@ -3507,27 +3456,27 @@ var wn = (
3507
3456
  var d = this.tryParseArgumentClose(p);
3508
3457
  if (d.err)
3509
3458
  return d;
3510
- s.push([
3459
+ o.push([
3511
3460
  u,
3512
3461
  {
3513
3462
  value: y.val,
3514
3463
  location: v(p, this.clonePosition())
3515
3464
  }
3516
- ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3465
+ ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
3517
3466
  }
3518
- return s.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(g.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3467
+ return o.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(g.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3519
3468
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3520
3469
  var i = 1, n = this.clonePosition();
3521
3470
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
3522
- for (var o = !1, a = 0; !this.isEOF(); ) {
3523
- var s = this.char();
3524
- if (s >= 48 && s <= 57)
3525
- o = !0, a = a * 10 + (s - 48), this.bump();
3471
+ for (var s = !1, a = 0; !this.isEOF(); ) {
3472
+ var o = this.char();
3473
+ if (o >= 48 && o <= 57)
3474
+ s = !0, a = a * 10 + (o - 48), this.bump();
3526
3475
  else
3527
3476
  break;
3528
3477
  }
3529
- var l = v(n, this.clonePosition());
3530
- return o ? (a *= i, xn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3478
+ var h = v(n, this.clonePosition());
3479
+ return s ? (a *= i, ln(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3531
3480
  }, e.prototype.offset = function() {
3532
3481
  return this.position.offset;
3533
3482
  }, e.prototype.isEOF = function() {
@@ -3542,7 +3491,7 @@ var wn = (
3542
3491
  var t = this.position.offset;
3543
3492
  if (t >= this.message.length)
3544
3493
  throw Error("out of bound");
3545
- var r = dr(this.message, t);
3494
+ var r = or(this.message, t);
3546
3495
  if (r === void 0)
3547
3496
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3548
3497
  return r;
@@ -3561,7 +3510,7 @@ var wn = (
3561
3510
  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);
3562
3511
  }
3563
3512
  }, e.prototype.bumpIf = function(t) {
3564
- if (Ct(this.message, t, this.offset())) {
3513
+ if (St(this.message, t, this.offset())) {
3565
3514
  for (var r = 0; r < t.length; r++)
3566
3515
  this.bump();
3567
3516
  return !0;
@@ -3583,213 +3532,213 @@ var wn = (
3583
3532
  break;
3584
3533
  }
3585
3534
  }, e.prototype.bumpSpace = function() {
3586
- for (; !this.isEOF() && gr(this.char()); )
3535
+ for (; !this.isEOF() && ur(this.char()); )
3587
3536
  this.bump();
3588
3537
  }, e.prototype.peek = function() {
3589
3538
  if (this.isEOF())
3590
3539
  return null;
3591
3540
  var t = this.char(), r = this.offset(), i = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3592
- return i != null ? i : null;
3541
+ return i ?? null;
3593
3542
  }, e;
3594
3543
  }()
3595
3544
  );
3596
- function nt(e) {
3545
+ function et(e) {
3597
3546
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3598
3547
  }
3599
- function An(e) {
3600
- return nt(e) || e === 47;
3548
+ function pn(e) {
3549
+ return et(e) || e === 47;
3601
3550
  }
3602
- function Pn(e) {
3551
+ function dn(e) {
3603
3552
  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;
3604
3553
  }
3605
- function gr(e) {
3554
+ function ur(e) {
3606
3555
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3607
3556
  }
3608
- function Hn(e) {
3557
+ function yn(e) {
3609
3558
  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;
3610
3559
  }
3611
- function ot(e) {
3560
+ function tt(e) {
3612
3561
  e.forEach(function(t) {
3613
- if (delete t.location, ar(t) || ur(t))
3562
+ if (delete t.location, qt(t) || Kt(t))
3614
3563
  for (var r in t.options)
3615
- delete t.options[r].location, ot(t.options[r].value);
3616
- else nr(t) && hr(t.style) || (or(t) || sr(t)) && et(t.style) ? delete t.style.location : lr(t) && ot(t.children);
3564
+ delete t.options[r].location, tt(t.options[r].value);
3565
+ else Qt(t) && tr(t.style) || (Yt(t) || Jt(t)) && Ye(t.style) ? delete t.style.location : er(t) && tt(t.children);
3617
3566
  });
3618
3567
  }
3619
- function In(e, t) {
3620
- t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3621
- var r = new wn(e, t).parse();
3568
+ function gn(e, t) {
3569
+ t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3570
+ var r = new mn(e, t).parse();
3622
3571
  if (r.err) {
3623
3572
  var i = SyntaxError(g[r.err.kind]);
3624
3573
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3625
3574
  }
3626
- return t != null && t.captureLocation || ot(r.val), r.val;
3575
+ return t?.captureLocation || tt(r.val), r.val;
3627
3576
  }
3628
- var te;
3577
+ var ee;
3629
3578
  (function(e) {
3630
3579
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3631
- })(te || (te = {}));
3632
- var He = (
3580
+ })(ee || (ee = {}));
3581
+ var Ae = (
3633
3582
  /** @class */
3634
3583
  function(e) {
3635
- F(t, e);
3584
+ G(t, e);
3636
3585
  function t(r, i, n) {
3637
- var o = e.call(this, r) || this;
3638
- return o.code = i, o.originalMessage = n, o;
3586
+ var s = e.call(this, r) || this;
3587
+ return s.code = i, s.originalMessage = n, s;
3639
3588
  }
3640
3589
  return t.prototype.toString = function() {
3641
3590
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3642
3591
  }, t;
3643
3592
  }(Error)
3644
- ), Mt = (
3593
+ ), Pt = (
3645
3594
  /** @class */
3646
3595
  function(e) {
3647
- F(t, e);
3648
- function t(r, i, n, o) {
3649
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3596
+ G(t, e);
3597
+ function t(r, i, n, s) {
3598
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), ee.INVALID_VALUE, s) || this;
3650
3599
  }
3651
3600
  return t;
3652
- }(He)
3653
- ), Bn = (
3601
+ }(Ae)
3602
+ ), bn = (
3654
3603
  /** @class */
3655
3604
  function(e) {
3656
- F(t, e);
3605
+ G(t, e);
3657
3606
  function t(r, i, n) {
3658
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), te.INVALID_VALUE, n) || this;
3607
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), ee.INVALID_VALUE, n) || this;
3659
3608
  }
3660
3609
  return t;
3661
- }(He)
3662
- ), On = (
3610
+ }(Ae)
3611
+ ), vn = (
3663
3612
  /** @class */
3664
3613
  function(e) {
3665
- F(t, e);
3614
+ G(t, e);
3666
3615
  function t(r, i) {
3667
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), te.MISSING_VALUE, i) || this;
3616
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), ee.MISSING_VALUE, i) || this;
3668
3617
  }
3669
3618
  return t;
3670
- }(He)
3619
+ }(Ae)
3671
3620
  ), B;
3672
3621
  (function(e) {
3673
3622
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3674
3623
  })(B || (B = {}));
3675
- function Cn(e) {
3624
+ function _n(e) {
3676
3625
  return e.length < 2 ? e : e.reduce(function(t, r) {
3677
3626
  var i = t[t.length - 1];
3678
3627
  return !i || i.type !== B.literal || r.type !== B.literal ? t.push(r) : i.value += r.value, t;
3679
3628
  }, []);
3680
3629
  }
3681
- function Nn(e) {
3630
+ function En(e) {
3682
3631
  return typeof e == "function";
3683
3632
  }
3684
- function xe(e, t, r, i, n, o, a) {
3685
- if (e.length === 1 && Ht(e[0]))
3633
+ function _e(e, t, r, i, n, s, a) {
3634
+ if (e.length === 1 && Et(e[0]))
3686
3635
  return [
3687
3636
  {
3688
3637
  type: B.literal,
3689
3638
  value: e[0].value
3690
3639
  }
3691
3640
  ];
3692
- for (var s = [], l = 0, u = e; l < u.length; l++) {
3693
- var h = u[l];
3694
- if (Ht(h)) {
3695
- s.push({
3641
+ for (var o = [], h = 0, u = e; h < u.length; h++) {
3642
+ var l = u[h];
3643
+ if (Et(l)) {
3644
+ o.push({
3696
3645
  type: B.literal,
3697
- value: h.value
3646
+ value: l.value
3698
3647
  });
3699
3648
  continue;
3700
3649
  }
3701
- if (tn(h)) {
3702
- typeof o == "number" && s.push({
3650
+ if (ji(l)) {
3651
+ typeof s == "number" && o.push({
3703
3652
  type: B.literal,
3704
- value: r.getNumberFormat(t).format(o)
3653
+ value: r.getNumberFormat(t).format(s)
3705
3654
  });
3706
3655
  continue;
3707
3656
  }
3708
- var c = h.value;
3657
+ var c = l.value;
3709
3658
  if (!(n && c in n))
3710
- throw new On(c, a);
3659
+ throw new vn(c, a);
3711
3660
  var f = n[c];
3712
- if (en(h)) {
3713
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3661
+ if (Fi(l)) {
3662
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3714
3663
  type: typeof f == "string" ? B.literal : B.object,
3715
3664
  value: f
3716
3665
  });
3717
3666
  continue;
3718
3667
  }
3719
- if (or(h)) {
3720
- var p = typeof h.style == "string" ? i.date[h.style] : et(h.style) ? h.style.parsedOptions : void 0;
3721
- s.push({
3668
+ if (Yt(l)) {
3669
+ var p = typeof l.style == "string" ? i.date[l.style] : Ye(l.style) ? l.style.parsedOptions : void 0;
3670
+ o.push({
3722
3671
  type: B.literal,
3723
3672
  value: r.getDateTimeFormat(t, p).format(f)
3724
3673
  });
3725
3674
  continue;
3726
3675
  }
3727
- if (sr(h)) {
3728
- var p = typeof h.style == "string" ? i.time[h.style] : et(h.style) ? h.style.parsedOptions : i.time.medium;
3729
- s.push({
3676
+ if (Jt(l)) {
3677
+ var p = typeof l.style == "string" ? i.time[l.style] : Ye(l.style) ? l.style.parsedOptions : i.time.medium;
3678
+ o.push({
3730
3679
  type: B.literal,
3731
3680
  value: r.getDateTimeFormat(t, p).format(f)
3732
3681
  });
3733
3682
  continue;
3734
3683
  }
3735
- if (nr(h)) {
3736
- var p = typeof h.style == "string" ? i.number[h.style] : hr(h.style) ? h.style.parsedOptions : void 0;
3737
- p && p.scale && (f = f * (p.scale || 1)), s.push({
3684
+ if (Qt(l)) {
3685
+ var p = typeof l.style == "string" ? i.number[l.style] : tr(l.style) ? l.style.parsedOptions : void 0;
3686
+ p && p.scale && (f = f * (p.scale || 1)), o.push({
3738
3687
  type: B.literal,
3739
3688
  value: r.getNumberFormat(t, p).format(f)
3740
3689
  });
3741
3690
  continue;
3742
3691
  }
3743
- if (lr(h)) {
3744
- var y = h.children, d = h.value, b = n[d];
3745
- if (!Nn(b))
3746
- throw new Bn(d, "function", a);
3747
- var w = xe(y, t, r, i, n, o), E = b(w.map(function(N) {
3692
+ if (er(l)) {
3693
+ var y = l.children, d = l.value, b = n[d];
3694
+ if (!En(b))
3695
+ throw new bn(d, "function", a);
3696
+ var w = _e(y, t, r, i, n, s), _ = b(w.map(function(N) {
3748
3697
  return N.value;
3749
3698
  }));
3750
- Array.isArray(E) || (E = [E]), s.push.apply(s, E.map(function(N) {
3699
+ Array.isArray(_) || (_ = [_]), o.push.apply(o, _.map(function(N) {
3751
3700
  return {
3752
3701
  type: typeof N == "string" ? B.literal : B.object,
3753
3702
  value: N
3754
3703
  };
3755
3704
  }));
3756
3705
  }
3757
- if (ar(h)) {
3758
- var H = h.options[f] || h.options.other;
3706
+ if (qt(l)) {
3707
+ var H = l.options[f] || l.options.other;
3759
3708
  if (!H)
3760
- throw new Mt(h.value, f, Object.keys(h.options), a);
3761
- s.push.apply(s, xe(H.value, t, r, i, n));
3709
+ throw new Pt(l.value, f, Object.keys(l.options), a);
3710
+ o.push.apply(o, _e(H.value, t, r, i, n));
3762
3711
  continue;
3763
3712
  }
3764
- if (ur(h)) {
3765
- var H = h.options["=".concat(f)];
3713
+ if (Kt(l)) {
3714
+ var H = l.options["=".concat(f)];
3766
3715
  if (!H) {
3767
3716
  if (!Intl.PluralRules)
3768
- throw new He(`Intl.PluralRules is not available in this environment.
3717
+ throw new Ae(`Intl.PluralRules is not available in this environment.
3769
3718
  Try polyfilling it using "@formatjs/intl-pluralrules"
3770
- `, te.MISSING_INTL_API, a);
3771
- var D = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3772
- H = h.options[D] || h.options.other;
3719
+ `, ee.MISSING_INTL_API, a);
3720
+ var M = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3721
+ H = l.options[M] || l.options.other;
3773
3722
  }
3774
3723
  if (!H)
3775
- throw new Mt(h.value, f, Object.keys(h.options), a);
3776
- s.push.apply(s, xe(H.value, t, r, i, n, f - (h.offset || 0)));
3724
+ throw new Pt(l.value, f, Object.keys(l.options), a);
3725
+ o.push.apply(o, _e(H.value, t, r, i, n, f - (l.offset || 0)));
3777
3726
  continue;
3778
3727
  }
3779
3728
  }
3780
- return Cn(s);
3729
+ return _n(o);
3781
3730
  }
3782
- function Rn(e, t) {
3783
- return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3784
- return r[i] = _(_({}, e[i]), t[i] || {}), r;
3731
+ function xn(e, t) {
3732
+ return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3733
+ return r[i] = E(E({}, e[i]), t[i] || {}), r;
3785
3734
  }, {})) : e;
3786
3735
  }
3787
- function Mn(e, t) {
3736
+ function Tn(e, t) {
3788
3737
  return t ? Object.keys(e).reduce(function(r, i) {
3789
- return r[i] = Rn(e[i], t[i]), r;
3790
- }, _({}, e)) : e;
3738
+ return r[i] = xn(e[i], t[i]), r;
3739
+ }, E({}, e)) : e;
3791
3740
  }
3792
- function ke(e) {
3741
+ function Ue(e) {
3793
3742
  return {
3794
3743
  create: function() {
3795
3744
  return {
@@ -3803,77 +3752,77 @@ function ke(e) {
3803
3752
  }
3804
3753
  };
3805
3754
  }
3806
- function Dn(e) {
3755
+ function Ln(e) {
3807
3756
  return e === void 0 && (e = {
3808
3757
  number: {},
3809
3758
  dateTime: {},
3810
3759
  pluralRules: {}
3811
3760
  }), {
3812
- getNumberFormat: Ge(function() {
3761
+ getNumberFormat: Me(function() {
3813
3762
  for (var t, r = [], i = 0; i < arguments.length; i++)
3814
3763
  r[i] = arguments[i];
3815
- return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
3764
+ return new ((t = Intl.NumberFormat).bind.apply(t, J([void 0], r, !1)))();
3816
3765
  }, {
3817
- cache: ke(e.number),
3818
- strategy: Fe.variadic
3766
+ cache: Ue(e.number),
3767
+ strategy: De.variadic
3819
3768
  }),
3820
- getDateTimeFormat: Ge(function() {
3769
+ getDateTimeFormat: Me(function() {
3821
3770
  for (var t, r = [], i = 0; i < arguments.length; i++)
3822
3771
  r[i] = arguments[i];
3823
- return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
3772
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, J([void 0], r, !1)))();
3824
3773
  }, {
3825
- cache: ke(e.dateTime),
3826
- strategy: Fe.variadic
3774
+ cache: Ue(e.dateTime),
3775
+ strategy: De.variadic
3827
3776
  }),
3828
- getPluralRules: Ge(function() {
3777
+ getPluralRules: Me(function() {
3829
3778
  for (var t, r = [], i = 0; i < arguments.length; i++)
3830
3779
  r[i] = arguments[i];
3831
- return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
3780
+ return new ((t = Intl.PluralRules).bind.apply(t, J([void 0], r, !1)))();
3832
3781
  }, {
3833
- cache: ke(e.pluralRules),
3834
- strategy: Fe.variadic
3782
+ cache: Ue(e.pluralRules),
3783
+ strategy: De.variadic
3835
3784
  })
3836
3785
  };
3837
3786
  }
3838
- var $n = (
3787
+ var Sn = (
3839
3788
  /** @class */
3840
3789
  function() {
3841
3790
  function e(t, r, i, n) {
3842
3791
  r === void 0 && (r = e.defaultLocale);
3843
- var o = this;
3792
+ var s = this;
3844
3793
  if (this.formatterCache = {
3845
3794
  number: {},
3846
3795
  dateTime: {},
3847
3796
  pluralRules: {}
3848
- }, this.format = function(l) {
3849
- var u = o.formatToParts(l);
3797
+ }, this.format = function(h) {
3798
+ var u = s.formatToParts(h);
3850
3799
  if (u.length === 1)
3851
3800
  return u[0].value;
3852
- var h = u.reduce(function(c, f) {
3801
+ var l = u.reduce(function(c, f) {
3853
3802
  return !c.length || f.type !== B.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3854
3803
  }, []);
3855
- return h.length <= 1 ? h[0] || "" : h;
3856
- }, this.formatToParts = function(l) {
3857
- return xe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3804
+ return l.length <= 1 ? l[0] || "" : l;
3805
+ }, this.formatToParts = function(h) {
3806
+ return _e(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3858
3807
  }, this.resolvedOptions = function() {
3859
- var l;
3808
+ var h;
3860
3809
  return {
3861
- locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3810
+ locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3862
3811
  };
3863
3812
  }, this.getAst = function() {
3864
- return o.ast;
3813
+ return s.ast;
3865
3814
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3866
3815
  if (this.message = t, !e.__parse)
3867
3816
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3868
3817
  var a = n || {};
3869
3818
  a.formatters;
3870
- var s = yi(a, ["formatters"]);
3871
- this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
3819
+ var o = ri(a, ["formatters"]);
3820
+ this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
3872
3821
  } else
3873
3822
  this.ast = t;
3874
3823
  if (!Array.isArray(this.ast))
3875
3824
  throw new TypeError("A message must be provided as a String or AST.");
3876
- this.formats = Mn(e.formats, i), this.formatters = n && n.formatters || Dn(this.formatterCache);
3825
+ this.formats = Tn(e.formats, i), this.formatters = n && n.formatters || Ln(this.formatterCache);
3877
3826
  }
3878
3827
  return Object.defineProperty(e, "defaultLocale", {
3879
3828
  get: function() {
@@ -3882,11 +3831,11 @@ var $n = (
3882
3831
  enumerable: !1,
3883
3832
  configurable: !0
3884
3833
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3885
- if (typeof Intl.Locale != "undefined") {
3834
+ if (!(typeof Intl.Locale > "u")) {
3886
3835
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3887
3836
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3888
3837
  }
3889
- }, e.__parse = In, e.formats = {
3838
+ }, e.__parse = gn, e.formats = {
3890
3839
  number: {
3891
3840
  integer: {
3892
3841
  maximumFractionDigits: 0
@@ -3947,7 +3896,7 @@ var $n = (
3947
3896
  }, e;
3948
3897
  }()
3949
3898
  );
3950
- function Un(e, t) {
3899
+ function wn(e, t) {
3951
3900
  if (t == null)
3952
3901
  return;
3953
3902
  if (t in e)
@@ -3957,9 +3906,9 @@ function Un(e, t) {
3957
3906
  for (let n = 0; n < r.length; n++)
3958
3907
  if (typeof i == "object") {
3959
3908
  if (n > 0) {
3960
- const o = r.slice(n, r.length).join(".");
3961
- if (o in i) {
3962
- i = i[o];
3909
+ const s = r.slice(n, r.length).join(".");
3910
+ if (s in i) {
3911
+ i = i[s];
3963
3912
  break;
3964
3913
  }
3965
3914
  }
@@ -3968,92 +3917,92 @@ function Un(e, t) {
3968
3917
  i = void 0;
3969
3918
  return i;
3970
3919
  }
3971
- const j = {}, Gn = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), br = (e, t) => {
3920
+ const F = {}, An = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), lr = (e, t) => {
3972
3921
  if (t == null)
3973
3922
  return;
3974
- if (t in j && e in j[t])
3975
- return j[t][e];
3976
- const r = Ie(t);
3923
+ if (t in F && e in F[t])
3924
+ return F[t][e];
3925
+ const r = Pe(t);
3977
3926
  for (let i = 0; i < r.length; i++) {
3978
- const n = r[i], o = jn(n, e);
3979
- if (o)
3980
- return Gn(e, t, o);
3927
+ const n = r[i], s = Hn(n, e);
3928
+ if (s)
3929
+ return An(e, t, s);
3981
3930
  }
3982
3931
  };
3983
- let ct;
3984
- const me = Pe({});
3985
- function Fn(e) {
3986
- return ct[e] || null;
3932
+ let ot;
3933
+ const fe = we({});
3934
+ function Pn(e) {
3935
+ return ot[e] || null;
3987
3936
  }
3988
- function vr(e) {
3989
- return e in ct;
3937
+ function hr(e) {
3938
+ return e in ot;
3990
3939
  }
3991
- function jn(e, t) {
3992
- if (!vr(e))
3940
+ function Hn(e, t) {
3941
+ if (!hr(e))
3993
3942
  return null;
3994
- const r = Fn(e);
3995
- return Un(r, t);
3943
+ const r = Pn(e);
3944
+ return wn(r, t);
3996
3945
  }
3997
- function kn(e) {
3946
+ function In(e) {
3998
3947
  if (e == null)
3999
3948
  return;
4000
- const t = Ie(e);
3949
+ const t = Pe(e);
4001
3950
  for (let r = 0; r < t.length; r++) {
4002
3951
  const i = t[r];
4003
- if (vr(i))
3952
+ if (hr(i))
4004
3953
  return i;
4005
3954
  }
4006
3955
  }
4007
- function Er(e, ...t) {
4008
- delete j[e], me.update((r) => (r[e] = zi.all([r[e] || {}, ...t]), r));
3956
+ function cr(e, ...t) {
3957
+ delete F[e], fe.update((r) => (r[e] = Ci.all([r[e] || {}, ...t]), r));
4009
3958
  }
4010
- ie(
4011
- [me],
3959
+ re(
3960
+ [fe],
4012
3961
  ([e]) => Object.keys(e)
4013
3962
  );
4014
- me.subscribe((e) => ct = e);
4015
- const Te = {};
4016
- function Vn(e, t) {
4017
- Te[e].delete(t), Te[e].size === 0 && delete Te[e];
3963
+ fe.subscribe((e) => ot = e);
3964
+ const Ee = {};
3965
+ function Bn(e, t) {
3966
+ Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
4018
3967
  }
4019
- function _r(e) {
4020
- return Te[e];
3968
+ function fr(e) {
3969
+ return Ee[e];
4021
3970
  }
4022
- function Wn(e) {
4023
- return Ie(e).map((t) => {
4024
- const r = _r(t);
3971
+ function On(e) {
3972
+ return Pe(e).map((t) => {
3973
+ const r = fr(t);
4025
3974
  return [t, r ? [...r] : []];
4026
3975
  }).filter(([, t]) => t.length > 0);
4027
3976
  }
4028
- function st(e) {
4029
- return e == null ? !1 : Ie(e).some(
3977
+ function rt(e) {
3978
+ return e == null ? !1 : Pe(e).some(
4030
3979
  (t) => {
4031
3980
  var r;
4032
- return (r = _r(t)) == null ? void 0 : r.size;
3981
+ return (r = fr(t)) == null ? void 0 : r.size;
4033
3982
  }
4034
3983
  );
4035
3984
  }
4036
- function Xn(e, t) {
3985
+ function Cn(e, t) {
4037
3986
  return Promise.all(
4038
- t.map((i) => (Vn(e, i), i().then((n) => n.default || n)))
4039
- ).then((i) => Er(e, ...i));
4040
- }
4041
- const ae = {};
4042
- function xr(e) {
4043
- if (!st(e))
4044
- return e in ae ? ae[e] : Promise.resolve();
4045
- const t = Wn(e);
4046
- return ae[e] = Promise.all(
3987
+ t.map((i) => (Bn(e, i), i().then((n) => n.default || n)))
3988
+ ).then((i) => cr(e, ...i));
3989
+ }
3990
+ const oe = {};
3991
+ function mr(e) {
3992
+ if (!rt(e))
3993
+ return e in oe ? oe[e] : Promise.resolve();
3994
+ const t = On(e);
3995
+ return oe[e] = Promise.all(
4047
3996
  t.map(
4048
- ([r, i]) => Xn(r, i)
3997
+ ([r, i]) => Cn(r, i)
4049
3998
  )
4050
3999
  ).then(() => {
4051
- if (st(e))
4052
- return xr(e);
4053
- delete ae[e];
4054
- }), ae[e];
4000
+ if (rt(e))
4001
+ return mr(e);
4002
+ delete oe[e];
4003
+ }), oe[e];
4055
4004
  }
4056
- const zn = {
4005
+ const Nn = {
4057
4006
  number: {
4058
4007
  scientific: { notation: "scientific" },
4059
4008
  engineering: { notation: "engineering" },
@@ -4082,159 +4031,159 @@ const zn = {
4082
4031
  timeZoneName: "short"
4083
4032
  }
4084
4033
  }
4085
- }, Zn = {
4034
+ }, Rn = {
4086
4035
  fallbackLocale: null,
4087
4036
  loadingDelay: 200,
4088
- formats: zn,
4037
+ formats: Nn,
4089
4038
  warnOnMissingMessages: !0,
4090
4039
  handleMissingMessage: void 0,
4091
4040
  ignoreTag: !0
4092
- }, Qn = Zn;
4093
- function re() {
4094
- return Qn;
4095
- }
4096
- const Ve = Pe(!1);
4097
- var Yn = Object.defineProperty, Jn = Object.defineProperties, qn = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, Kn = Object.prototype.hasOwnProperty, eo = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Yn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, to = (e, t) => {
4098
- for (var r in t || (t = {}))
4099
- Kn.call(t, r) && $t(e, r, t[r]);
4100
- if (Dt)
4101
- for (var r of Dt(t))
4102
- eo.call(t, r) && $t(e, r, t[r]);
4041
+ }, Mn = Rn;
4042
+ function te() {
4043
+ return Mn;
4044
+ }
4045
+ const Ge = we(!1);
4046
+ var Dn = Object.defineProperty, $n = Object.defineProperties, Un = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Gn = Object.prototype.hasOwnProperty, Fn = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, jn = (e, t) => {
4047
+ for (var r in t)
4048
+ Gn.call(t, r) && It(e, r, t[r]);
4049
+ if (Ht)
4050
+ for (var r of Ht(t))
4051
+ Fn.call(t, r) && It(e, r, t[r]);
4103
4052
  return e;
4104
- }, ro = (e, t) => Jn(e, qn(t));
4105
- let at;
4106
- const Se = Pe(null);
4107
- function Ut(e) {
4053
+ }, kn = (e, t) => $n(e, Un(t));
4054
+ let it;
4055
+ const Te = we(null);
4056
+ function Bt(e) {
4108
4057
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
4109
4058
  }
4110
- function Ie(e, t = re().fallbackLocale) {
4111
- const r = Ut(e);
4112
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
4059
+ function Pe(e, t = te().fallbackLocale) {
4060
+ const r = Bt(e);
4061
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4113
4062
  }
4114
- function z() {
4115
- return at != null ? at : void 0;
4063
+ function X() {
4064
+ return it ?? void 0;
4116
4065
  }
4117
- Se.subscribe((e) => {
4118
- at = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4066
+ Te.subscribe((e) => {
4067
+ it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4119
4068
  });
4120
- const io = (e) => {
4121
- if (e && kn(e) && st(e)) {
4122
- const { loadingDelay: t } = re();
4069
+ const Vn = (e) => {
4070
+ if (e && In(e) && rt(e)) {
4071
+ const { loadingDelay: t } = te();
4123
4072
  let r;
4124
- return typeof window != "undefined" && z() != null && t ? r = window.setTimeout(
4125
- () => Ve.set(!0),
4073
+ return typeof window < "u" && X() != null && t ? r = window.setTimeout(
4074
+ () => Ge.set(!0),
4126
4075
  t
4127
- ) : Ve.set(!0), xr(e).then(() => {
4128
- Se.set(e);
4076
+ ) : Ge.set(!0), mr(e).then(() => {
4077
+ Te.set(e);
4129
4078
  }).finally(() => {
4130
- clearTimeout(r), Ve.set(!1);
4079
+ clearTimeout(r), Ge.set(!1);
4131
4080
  });
4132
4081
  }
4133
- return Se.set(e);
4134
- }, ne = ro(to({}, Se), {
4135
- set: io
4136
- }), Be = (e) => {
4082
+ return Te.set(e);
4083
+ }, ie = kn(jn({}, Te), {
4084
+ set: Vn
4085
+ }), He = (e) => {
4137
4086
  const t = /* @__PURE__ */ Object.create(null);
4138
4087
  return (i) => {
4139
4088
  const n = JSON.stringify(i);
4140
4089
  return n in t ? t[n] : t[n] = e(i);
4141
4090
  };
4142
4091
  };
4143
- var no = Object.defineProperty, we = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Lr = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? no(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
4092
+ var Wn = Object.defineProperty, Le = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, dr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
4144
4093
  for (var r in t || (t = {}))
4145
- Tr.call(t, r) && Gt(e, r, t[r]);
4146
- if (we)
4147
- for (var r of we(t))
4148
- Lr.call(t, r) && Gt(e, r, t[r]);
4094
+ pr.call(t, r) && Ot(e, r, t[r]);
4095
+ if (Le)
4096
+ for (var r of Le(t))
4097
+ dr.call(t, r) && Ot(e, r, t[r]);
4149
4098
  return e;
4150
- }, oe = (e, t) => {
4099
+ }, ne = (e, t) => {
4151
4100
  var r = {};
4152
4101
  for (var i in e)
4153
- Tr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4154
- if (e != null && we)
4155
- for (var i of we(e))
4156
- t.indexOf(i) < 0 && Lr.call(e, i) && (r[i] = e[i]);
4102
+ pr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4103
+ if (e != null && Le)
4104
+ for (var i of Le(e))
4105
+ t.indexOf(i) < 0 && dr.call(e, i) && (r[i] = e[i]);
4157
4106
  return r;
4158
4107
  };
4159
- const ce = (e, t) => {
4160
- const { formats: r } = re();
4108
+ const he = (e, t) => {
4109
+ const { formats: r } = te();
4161
4110
  if (e in r && t in r[e])
4162
4111
  return r[e][t];
4163
4112
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4164
- }, oo = Be(
4113
+ }, Xn = He(
4165
4114
  (e) => {
4166
- var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
4115
+ var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
4167
4116
  if (r == null)
4168
4117
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4169
- return i && (n = ce("number", i)), new Intl.NumberFormat(r, n);
4118
+ return i && (n = he("number", i)), new Intl.NumberFormat(r, n);
4170
4119
  }
4171
- ), so = Be(
4120
+ ), zn = He(
4172
4121
  (e) => {
4173
- var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
4122
+ var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
4174
4123
  if (r == null)
4175
4124
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4176
- return i ? n = ce("date", i) : Object.keys(n).length === 0 && (n = ce("date", "short")), new Intl.DateTimeFormat(r, n);
4125
+ return i ? n = he("date", i) : Object.keys(n).length === 0 && (n = he("date", "short")), new Intl.DateTimeFormat(r, n);
4177
4126
  }
4178
- ), ao = Be(
4127
+ ), Zn = He(
4179
4128
  (e) => {
4180
- var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
4129
+ var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
4181
4130
  if (r == null)
4182
4131
  throw new Error(
4183
4132
  '[svelte-i18n] A "locale" must be set to format time values'
4184
4133
  );
4185
- return i ? n = ce("time", i) : Object.keys(n).length === 0 && (n = ce("time", "short")), new Intl.DateTimeFormat(r, n);
4134
+ return i ? n = he("time", i) : Object.keys(n).length === 0 && (n = he("time", "short")), new Intl.DateTimeFormat(r, n);
4186
4135
  }
4187
- ), uo = (e = {}) => {
4136
+ ), Qn = (e = {}) => {
4188
4137
  var t = e, {
4189
- locale: r = z()
4190
- } = t, i = oe(t, [
4138
+ locale: r = X()
4139
+ } = t, i = ne(t, [
4191
4140
  "locale"
4192
4141
  ]);
4193
- return oo(ft({ locale: r }, i));
4194
- }, lo = (e = {}) => {
4142
+ return Xn(at({ locale: r }, i));
4143
+ }, Yn = (e = {}) => {
4195
4144
  var t = e, {
4196
- locale: r = z()
4197
- } = t, i = oe(t, [
4145
+ locale: r = X()
4146
+ } = t, i = ne(t, [
4198
4147
  "locale"
4199
4148
  ]);
4200
- return so(ft({ locale: r }, i));
4201
- }, ho = (e = {}) => {
4149
+ return zn(at({ locale: r }, i));
4150
+ }, Jn = (e = {}) => {
4202
4151
  var t = e, {
4203
- locale: r = z()
4204
- } = t, i = oe(t, [
4152
+ locale: r = X()
4153
+ } = t, i = ne(t, [
4205
4154
  "locale"
4206
4155
  ]);
4207
- return ao(ft({ locale: r }, i));
4208
- }, co = Be(
4156
+ return Zn(at({ locale: r }, i));
4157
+ }, qn = He(
4209
4158
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4210
- (e, t = z()) => new $n(e, t, re().formats, {
4211
- ignoreTag: re().ignoreTag
4159
+ (e, t = X()) => new Sn(e, t, te().formats, {
4160
+ ignoreTag: te().ignoreTag
4212
4161
  })
4213
- ), fo = (e, t = {}) => {
4214
- var r, i, n, o;
4162
+ ), Kn = (e, t = {}) => {
4163
+ var r, i, n, s;
4215
4164
  let a = t;
4216
4165
  typeof e == "object" && (a = e, e = a.id);
4217
4166
  const {
4218
- values: s,
4219
- locale: l = z(),
4167
+ values: o,
4168
+ locale: h = X(),
4220
4169
  default: u
4221
4170
  } = a;
4222
- if (l == null)
4171
+ if (h == null)
4223
4172
  throw new Error(
4224
4173
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4225
4174
  );
4226
- let h = br(e, l);
4227
- if (!h)
4228
- h = (o = (n = (i = (r = re()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: l, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
4229
- else if (typeof h != "string")
4175
+ let l = lr(e, h);
4176
+ if (!l)
4177
+ l = (s = (n = (i = (r = te()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: h, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
4178
+ else if (typeof l != "string")
4230
4179
  return console.warn(
4231
- `[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.`
4232
- ), h;
4233
- if (!s)
4234
- return h;
4235
- let c = h;
4180
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4181
+ ), l;
4182
+ if (!o)
4183
+ return l;
4184
+ let c = l;
4236
4185
  try {
4237
- c = co(h, l).format(s);
4186
+ c = qn(l, h).format(o);
4238
4187
  } catch (f) {
4239
4188
  f instanceof Error && console.warn(
4240
4189
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4242,20 +4191,20 @@ const ce = (e, t) => {
4242
4191
  );
4243
4192
  }
4244
4193
  return c;
4245
- }, mo = (e, t) => ho(t).format(e), po = (e, t) => lo(t).format(e), yo = (e, t) => uo(t).format(e), go = (e, t = z()) => br(e, t), bo = ie([ne, me], () => fo);
4246
- ie([ne], () => mo);
4247
- ie([ne], () => po);
4248
- ie([ne], () => yo);
4249
- ie([ne, me], () => go);
4250
- window.emWidgets = { topic: Ii };
4251
- const vo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), $o = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4252
- function Ft(e, t) {
4253
- Er(e, t);
4254
- }
4255
- function Eo(e) {
4256
- ne.set(e);
4257
- }
4258
- const We = {
4194
+ }, es = (e, t) => Jn(t).format(e), ts = (e, t) => Yn(t).format(e), rs = (e, t) => Qn(t).format(e), is = (e, t = X()) => lr(e, t), ns = re([ie, fe], () => Kn);
4195
+ re([ie], () => es);
4196
+ re([ie], () => ts);
4197
+ re([ie], () => rs);
4198
+ re([ie, fe], () => is);
4199
+ window.emWidgets = { topic: yi };
4200
+ const ss = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Ts = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4201
+ function Ct(e, t) {
4202
+ cr(e, t);
4203
+ }
4204
+ function os(e) {
4205
+ ie.set(e);
4206
+ }
4207
+ const Fe = {
4259
4208
  en: {
4260
4209
  expandLimits: "LIMIT HISTORY",
4261
4210
  daily: "per day",
@@ -4506,34 +4455,34 @@ const We = {
4506
4455
  historyLimitTypeLoss: "Loss Limit"
4507
4456
  }
4508
4457
  };
4509
- function _o(e) {
4510
- Zr(e, "svelte-19ml84y", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4458
+ function as(e) {
4459
+ Nr(e, "svelte-19ml84y", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4511
4460
  }
4512
- function jt(e, t, r) {
4461
+ function Nt(e, t, r) {
4513
4462
  const i = e.slice();
4514
4463
  return i[38] = t[r], i[39] = t, i[40] = r, i;
4515
4464
  }
4516
- function xo(e) {
4465
+ function us(e) {
4517
4466
  let t, r, i, n = (
4518
4467
  /*$_*/
4519
4468
  e[9]("expandLimits") + ""
4520
- ), o, a, s, l, u, h, c, f, p, y = Et(
4469
+ ), s, a, o, h, u, l, c, f, p, y = ft(
4521
4470
  /*lazyShowedHistoryArray*/
4522
4471
  e[7]
4523
4472
  ), d = [];
4524
4473
  for (let b = 0; b < y.length; b += 1)
4525
- d[b] = kt(jt(e, y, b));
4474
+ d[b] = Rt(Nt(e, y, b));
4526
4475
  return {
4527
4476
  c() {
4528
- t = P("div"), r = P("div"), i = P("button"), o = M(n), a = Xe(), s = Me("svg"), l = Me("path"), u = Me("path"), h = Xe(), c = P("div");
4477
+ t = P("div"), r = P("div"), i = P("button"), s = R(n), a = je(), o = Ce("svg"), h = Ce("path"), u = Ce("path"), l = je(), c = P("div");
4529
4478
  for (let b = 0; b < d.length; b += 1)
4530
4479
  d[b].c();
4531
- x(l, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), x(l, "class", "svelte-19ml84y"), x(u, "d", "M0 0h36v36h-36z"), x(u, "fill", "none"), x(u, "class", "svelte-19ml84y"), x(s, "class", "ExpandArrow svelte-19ml84y"), x(s, "xmlns", "http://www.w3.org/2000/svg"), x(s, "width", "36"), x(s, "height", "36"), x(s, "viewBox", "0 0 36 36"), x(s, "fill", "#999"), ge(
4532
- s,
4480
+ x(h, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), x(h, "class", "svelte-19ml84y"), x(u, "d", "M0 0h36v36h-36z"), x(u, "fill", "none"), x(u, "class", "svelte-19ml84y"), x(o, "class", "ExpandArrow svelte-19ml84y"), x(o, "xmlns", "http://www.w3.org/2000/svg"), x(o, "width", "36"), x(o, "height", "36"), x(o, "viewBox", "0 0 36 36"), x(o, "fill", "#999"), de(
4481
+ o,
4533
4482
  "extended",
4534
4483
  /*extended*/
4535
4484
  e[8]
4536
- ), x(i, "class", "ExpandButton svelte-19ml84y"), x(c, "class", "HistoryDisplayArea svelte-19ml84y"), ge(
4485
+ ), x(i, "class", "ExpandButton svelte-19ml84y"), x(c, "class", "HistoryDisplayArea svelte-19ml84y"), de(
4537
4486
  c,
4538
4487
  "hidden",
4539
4488
  /*hidden*/
@@ -4542,10 +4491,10 @@ function xo(e) {
4542
4491
  (e[10] ? "Desktop" : "") + " svelte-19ml84y"), x(t, "class", "player-account-gaming-limits-history-2 svelte-19ml84y");
4543
4492
  },
4544
4493
  m(b, w) {
4545
- X(b, t, w), L(t, r), L(r, i), L(i, o), L(i, a), L(i, s), L(s, l), L(s, u), L(r, h), L(r, c);
4546
- for (let E = 0; E < d.length; E += 1)
4547
- d[E] && d[E].m(c, null);
4548
- f || (p = qr(
4494
+ W(b, t, w), L(t, r), L(r, i), L(i, s), L(i, a), L(i, o), L(o, h), L(o, u), L(r, l), L(r, c);
4495
+ for (let _ = 0; _ < d.length; _ += 1)
4496
+ d[_] && d[_].m(c, null);
4497
+ f || (p = $r(
4549
4498
  i,
4550
4499
  "click",
4551
4500
  /*toggleHistoryDisplayArea*/
@@ -4555,29 +4504,29 @@ function xo(e) {
4555
4504
  p(b, w) {
4556
4505
  if (w[0] & /*$_*/
4557
4506
  512 && n !== (n = /*$_*/
4558
- b[9]("expandLimits") + "") && k(o, n), w[0] & /*extended*/
4559
- 256 && ge(
4560
- s,
4507
+ b[9]("expandLimits") + "") && j(s, n), w[0] & /*extended*/
4508
+ 256 && de(
4509
+ o,
4561
4510
  "extended",
4562
4511
  /*extended*/
4563
4512
  b[8]
4564
4513
  ), w[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
4565
4514
  650) {
4566
- y = Et(
4515
+ y = ft(
4567
4516
  /*lazyShowedHistoryArray*/
4568
4517
  b[7]
4569
4518
  );
4570
- let E;
4571
- for (E = 0; E < y.length; E += 1) {
4572
- const H = jt(b, y, E);
4573
- d[E] ? d[E].p(H, w) : (d[E] = kt(H), d[E].c(), d[E].m(c, null));
4519
+ let _;
4520
+ for (_ = 0; _ < y.length; _ += 1) {
4521
+ const H = Nt(b, y, _);
4522
+ d[_] ? d[_].p(H, w) : (d[_] = Rt(H), d[_].c(), d[_].m(c, null));
4574
4523
  }
4575
- for (; E < d.length; E += 1)
4576
- d[E].d(1);
4524
+ for (; _ < d.length; _ += 1)
4525
+ d[_].d(1);
4577
4526
  d.length = y.length;
4578
4527
  }
4579
4528
  w[0] & /*hidden*/
4580
- 32 && ge(
4529
+ 32 && de(
4581
4530
  c,
4582
4531
  "hidden",
4583
4532
  /*hidden*/
@@ -4585,14 +4534,14 @@ function xo(e) {
4585
4534
  );
4586
4535
  },
4587
4536
  d(b) {
4588
- b && V(t), Jr(d, b), f = !1, p();
4537
+ b && k(t), Dr(d, b), f = !1, p();
4589
4538
  }
4590
4539
  };
4591
4540
  }
4592
- function To(e) {
4541
+ function ls(e) {
4593
4542
  return { c: O, m: O, p: O, d: O };
4594
4543
  }
4595
- function Lo(e) {
4544
+ function hs(e) {
4596
4545
  let t, r = (
4597
4546
  /*lang*/
4598
4547
  (e[0] ? (
@@ -4602,101 +4551,101 @@ function Lo(e) {
4602
4551
  ), i;
4603
4552
  return {
4604
4553
  c() {
4605
- t = P("p"), i = M(r), x(t, "class", "svelte-19ml84y");
4554
+ t = P("p"), i = R(r), x(t, "class", "svelte-19ml84y");
4606
4555
  },
4607
- m(n, o) {
4608
- X(n, t, o), L(t, i);
4556
+ m(n, s) {
4557
+ W(n, t, s), L(t, i);
4609
4558
  },
4610
- p(n, o) {
4611
- o[0] & /*lang, $_*/
4559
+ p(n, s) {
4560
+ s[0] & /*lang, $_*/
4612
4561
  513 && r !== (r = /*lang*/
4613
4562
  (n[0] ? (
4614
4563
  /*$_*/
4615
4564
  n[9]("error")
4616
- ) : "500 Server Error") + "") && k(i, r);
4565
+ ) : "500 Server Error") + "") && j(i, r);
4617
4566
  },
4618
4567
  d(n) {
4619
- n && V(t);
4568
+ n && k(t);
4620
4569
  }
4621
4570
  };
4622
4571
  }
4623
- function So(e) {
4572
+ function cs(e) {
4624
4573
  let t, r, i, n = (
4625
4574
  /*history*/
4626
4575
  e[38].type + ""
4627
- ), o, a, s = (
4576
+ ), s, a, o = (
4628
4577
  /*history*/
4629
4578
  e[38].amount + ""
4630
- ), l, u, h = (
4579
+ ), h, u, l = (
4631
4580
  /*history*/
4632
4581
  e[38].date + ""
4633
4582
  ), c;
4634
4583
  return {
4635
4584
  c() {
4636
- t = P("div"), r = P("span"), i = P("span"), o = M(n), a = P("span"), l = M(s), u = P("span"), c = M(h), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4585
+ t = P("div"), r = P("span"), i = P("span"), s = R(n), a = P("span"), h = R(o), u = P("span"), c = R(l), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4637
4586
  },
4638
4587
  m(f, p) {
4639
- X(f, t, p), L(t, r), L(r, i), L(i, o), L(r, a), L(a, l), L(t, u), L(u, c);
4588
+ W(f, t, p), L(t, r), L(r, i), L(i, s), L(r, a), L(a, h), L(t, u), L(u, c);
4640
4589
  },
4641
4590
  p(f, p) {
4642
4591
  p[0] & /*lazyShowedHistoryArray*/
4643
4592
  128 && n !== (n = /*history*/
4644
- f[38].type + "") && k(o, n), p[0] & /*lazyShowedHistoryArray*/
4645
- 128 && s !== (s = /*history*/
4646
- f[38].amount + "") && k(l, s), p[0] & /*lazyShowedHistoryArray*/
4647
- 128 && h !== (h = /*history*/
4648
- f[38].date + "") && k(c, h);
4593
+ f[38].type + "") && j(s, n), p[0] & /*lazyShowedHistoryArray*/
4594
+ 128 && o !== (o = /*history*/
4595
+ f[38].amount + "") && j(h, o), p[0] & /*lazyShowedHistoryArray*/
4596
+ 128 && l !== (l = /*history*/
4597
+ f[38].date + "") && j(c, l);
4649
4598
  },
4650
4599
  d(f) {
4651
- f && V(t);
4600
+ f && k(t);
4652
4601
  }
4653
4602
  };
4654
4603
  }
4655
- function wo(e) {
4604
+ function fs(e) {
4656
4605
  let t, r, i, n = (
4657
4606
  /*history*/
4658
4607
  e[38].type + ""
4659
- ), o, a, s = (
4608
+ ), s, a, o = (
4660
4609
  /*$_*/
4661
4610
  e[9]("limitRemoved") + ""
4662
- ), l, u, h = (
4611
+ ), h, u, l = (
4663
4612
  /*history*/
4664
4613
  e[38].date + ""
4665
4614
  ), c;
4666
4615
  return {
4667
4616
  c() {
4668
- t = P("div"), r = P("span"), i = P("span"), o = M(n), a = P("span"), l = M(s), u = P("span"), c = M(h), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4617
+ t = P("div"), r = P("span"), i = P("span"), s = R(n), a = P("span"), h = R(o), u = P("span"), c = R(l), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4669
4618
  },
4670
4619
  m(f, p) {
4671
- X(f, t, p), L(t, r), L(r, i), L(i, o), L(r, a), L(a, l), L(t, u), L(u, c);
4620
+ W(f, t, p), L(t, r), L(r, i), L(i, s), L(r, a), L(a, h), L(t, u), L(u, c);
4672
4621
  },
4673
4622
  p(f, p) {
4674
4623
  p[0] & /*lazyShowedHistoryArray*/
4675
4624
  128 && n !== (n = /*history*/
4676
- f[38].type + "") && k(o, n), p[0] & /*$_*/
4677
- 512 && s !== (s = /*$_*/
4678
- f[9]("limitRemoved") + "") && k(l, s), p[0] & /*lazyShowedHistoryArray*/
4679
- 128 && h !== (h = /*history*/
4680
- f[38].date + "") && k(c, h);
4625
+ f[38].type + "") && j(s, n), p[0] & /*$_*/
4626
+ 512 && o !== (o = /*$_*/
4627
+ f[9]("limitRemoved") + "") && j(h, o), p[0] & /*lazyShowedHistoryArray*/
4628
+ 128 && l !== (l = /*history*/
4629
+ f[38].date + "") && j(c, l);
4681
4630
  },
4682
4631
  d(f) {
4683
- f && V(t);
4632
+ f && k(t);
4684
4633
  }
4685
4634
  };
4686
4635
  }
4687
- function kt(e) {
4636
+ function Rt(e) {
4688
4637
  let t, r, i, n = (
4689
4638
  /*index*/
4690
4639
  e[40]
4691
4640
  );
4692
- function o(h, c) {
4641
+ function s(l, c) {
4693
4642
  return (
4694
4643
  /*history*/
4695
- h[38].removed ? wo : So
4644
+ l[38].removed ? fs : cs
4696
4645
  );
4697
4646
  }
4698
- let a = o(e), s = a(e);
4699
- const l = () => (
4647
+ let a = s(e), o = a(e);
4648
+ const h = () => (
4700
4649
  /*div_binding*/
4701
4650
  e[21](t, n)
4702
4651
  ), u = () => (
@@ -4705,38 +4654,38 @@ function kt(e) {
4705
4654
  );
4706
4655
  return {
4707
4656
  c() {
4708
- t = P("div"), s.c(), r = Xe(), x(t, "class", i = bt(
4657
+ t = P("div"), o.c(), r = je(), x(t, "class", i = ht(
4709
4658
  /*index*/
4710
4659
  e[40] > +/*numberofentries*/
4711
4660
  e[1] ? "LimitContainer" : ""
4712
4661
  ) + " svelte-19ml84y");
4713
4662
  },
4714
- m(h, c) {
4715
- X(h, t, c), s.m(t, null), L(t, r), l();
4663
+ m(l, c) {
4664
+ W(l, t, c), o.m(t, null), L(t, r), h();
4716
4665
  },
4717
- p(h, c) {
4718
- e = h, a === (a = o(e)) && s ? s.p(e, c) : (s.d(1), s = a(e), s && (s.c(), s.m(t, r))), c[0] & /*numberofentries*/
4719
- 2 && i !== (i = bt(
4666
+ p(l, c) {
4667
+ e = l, a === (a = s(e)) && o ? o.p(e, c) : (o.d(1), o = a(e), o && (o.c(), o.m(t, r))), c[0] & /*numberofentries*/
4668
+ 2 && i !== (i = ht(
4720
4669
  /*index*/
4721
4670
  e[40] > +/*numberofentries*/
4722
4671
  e[1] ? "LimitContainer" : ""
4723
4672
  ) + " svelte-19ml84y") && x(t, "class", i), n !== /*index*/
4724
4673
  e[40] && (u(), n = /*index*/
4725
- e[40], l());
4674
+ e[40], h());
4726
4675
  },
4727
- d(h) {
4728
- h && V(t), s.d(), u();
4676
+ d(l) {
4677
+ l && k(t), o.d(), u();
4729
4678
  }
4730
4679
  };
4731
4680
  }
4732
- function Ao(e) {
4681
+ function ms(e) {
4733
4682
  let t;
4734
- function r(o, a) {
4683
+ function r(s, a) {
4735
4684
  return (
4736
4685
  /*hasErrors*/
4737
- o[6] ? Lo : (
4686
+ s[6] ? hs : (
4738
4687
  /*isLoading*/
4739
- o[4] ? To : xo
4688
+ s[4] ? ls : us
4740
4689
  )
4741
4690
  );
4742
4691
  }
@@ -4745,58 +4694,58 @@ function Ao(e) {
4745
4694
  c() {
4746
4695
  t = P("div"), n.c(), x(t, "class", "svelte-19ml84y");
4747
4696
  },
4748
- m(o, a) {
4749
- X(o, t, a), n.m(t, null), e[22](t);
4697
+ m(s, a) {
4698
+ W(s, t, a), n.m(t, null), e[22](t);
4750
4699
  },
4751
- p(o, a) {
4752
- i === (i = r(o)) && n ? n.p(o, a) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
4700
+ p(s, a) {
4701
+ i === (i = r(s)) && n ? n.p(s, a) : (n.d(1), n = i(s), n && (n.c(), n.m(t, null)));
4753
4702
  },
4754
4703
  i: O,
4755
4704
  o: O,
4756
- d(o) {
4757
- o && V(t), n.d(), e[22](null);
4705
+ d(s) {
4706
+ s && k(t), n.d(), e[22](null);
4758
4707
  }
4759
4708
  };
4760
4709
  }
4761
- function Po(e, t, r) {
4710
+ function ps(e, t, r) {
4762
4711
  let i;
4763
- zr(e, bo, (m) => r(9, i = m));
4764
- let n = window.navigator.userAgent, o = !vo(n), { lang: a = "" } = t, { userid: s = "" } = t, { session: l = "" } = t, { endpoint: u = "" } = t, { apiversion: h = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: b = "" } = t, w, E = new Array(), H = parseInt(c, 10), D = !1, N = !0, $ = [], W = [], pe = !0, Oe = !1, se = { EUR: "€", RON: "lei", TRY: "₺" };
4765
- const wr = () => {
4712
+ Cr(e, ns, (m) => r(9, i = m));
4713
+ let n = window.navigator.userAgent, s = !ss(n), { lang: a = "" } = t, { userid: o = "" } = t, { session: h = "" } = t, { endpoint: u = "" } = t, { apiversion: l = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: b = "" } = t, w, _ = new Array(), H = parseInt(c, 10), M = !1, N = !0, D = [], V = [], me = !0, Ie = !1, se = { EUR: "€", RON: "lei", TRY: "₺" };
4714
+ const gr = () => {
4766
4715
  fetch(b).then((T) => T.json()).then((T) => {
4767
4716
  Object.keys(T).forEach((I) => {
4768
- Ft(I, T[I]);
4717
+ Ct(I, T[I]);
4769
4718
  });
4770
4719
  }).catch((T) => {
4771
4720
  console.log(T);
4772
4721
  });
4773
4722
  };
4774
- Object.keys(We).forEach((m) => {
4775
- Ft(m, We[m]);
4723
+ Object.keys(Fe).forEach((m) => {
4724
+ Ct(m, Fe[m]);
4776
4725
  });
4777
- const Ar = () => {
4778
- let m = h === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, T = new URL(m, u);
4726
+ const br = () => {
4727
+ let m = l === "gmcore" ? `/v2/player/${o}/transactions/limit` : `/v1/player/${o}/limits/monetary/history`, T = new URL(m, u);
4779
4728
  T.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), T.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), T.searchParams.append("limit", "10000");
4780
4729
  let I = {
4781
4730
  method: "GET",
4782
- headers: { "X-SessionID": l }
4731
+ headers: { "X-SessionID": h }
4783
4732
  };
4784
4733
  fetch(T.href, I).then((A) => {
4785
4734
  if (A.status >= 300)
4786
- throw r(4, N = !1), r(6, D = !0), new Error("There was an error fetching the limits");
4735
+ throw r(4, N = !1), r(6, M = !0), new Error("There was an error fetching the limits");
4787
4736
  return A.json();
4788
4737
  }).then(
4789
4738
  (A) => {
4790
- A.length && ($ = Pr(A), r(7, W = $.slice(0, H))), r(4, N = !1);
4739
+ A.length && (D = vr(A), r(7, V = D.slice(0, H))), r(4, N = !1);
4791
4740
  },
4792
4741
  (A) => {
4793
- console.error("There was an error", A), r(6, D = !0);
4742
+ console.error("There was an error", A), r(6, M = !0);
4794
4743
  }
4795
4744
  );
4796
- }, Pr = (m) => {
4797
- const T = !!We[a];
4745
+ }, vr = (m) => {
4746
+ const T = !!Fe[a];
4798
4747
  return m.map((A) => {
4799
- let U = {
4748
+ let $ = {
4800
4749
  amount: "",
4801
4750
  currency: "",
4802
4751
  date: "",
@@ -4804,44 +4753,44 @@ function Po(e, t, r) {
4804
4753
  type: "",
4805
4754
  removed: !1
4806
4755
  };
4807
- return U.amount = Hr(A), U.currency = T ? se[A.limitCurrencyCode] : A.limitCurrencyCode, U.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), U.period = i(`${A.limitPeriod.toLowerCase()}`), U.type = h === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), U.removed = A.limitAmount === -1, U;
4756
+ return $.amount = _r(A), $.currency = T ? se[A.limitCurrencyCode] : A.limitCurrencyCode, $.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), $.period = i(`${A.limitPeriod.toLowerCase()}`), $.type = l === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), $.removed = A.limitAmount === -1, $;
4808
4757
  });
4809
- }, Hr = (m) => {
4758
+ }, _r = (m) => {
4810
4759
  let T = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
4811
4760
  if (!p) {
4812
- let Gr = se[m.limitCurrencyCode] || m.limitCurrencyCode;
4813
- return `${T}${Gr}`;
4761
+ let Br = se[m.limitCurrencyCode] || m.limitCurrencyCode;
4762
+ return `${T}${Br}`;
4814
4763
  }
4815
4764
  typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
4816
- const I = T.match(/\{(\d+)decimals\}/), A = I ? parseInt(I[1], 10) : 2, U = I ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4817
- let de = parseFloat(m.limitAmount).toFixed(A);
4818
- const [$r, Ce] = p.includes(".") ? [",", "."] : [".", ","];
4819
- let [Ne, Ur] = de.split(".");
4820
- return Ne = Ne.replace(/\B(?=(\d{3})+(?!\d))/g, $r), de = `${Ne}${Ce}${Ur}`, T = T.replace("{currency}", se[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", de.split(Ce)[0]).replace(
4821
- U,
4822
- de.split(Ce)[1]
4765
+ const I = T.match(/\{(\d+)decimals\}/), A = I ? parseInt(I[1], 10) : 2, $ = I ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4766
+ let pe = parseFloat(m.limitAmount).toFixed(A);
4767
+ const [Hr, Be] = p.includes(".") ? [",", "."] : [".", ","];
4768
+ let [Oe, Ir] = pe.split(".");
4769
+ return Oe = Oe.replace(/\B(?=(\d{3})+(?!\d))/g, Hr), pe = `${Oe}${Be}${Ir}`, T = T.replace("{currency}", se[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", pe.split(Be)[0]).replace(
4770
+ $,
4771
+ pe.split(Be)[1]
4823
4772
  ), T;
4824
- }, Ir = () => {
4825
- r(5, pe = !pe), r(8, Oe = !Oe);
4773
+ }, Er = () => {
4774
+ r(5, me = !me), r(8, Ie = !Ie);
4826
4775
  };
4827
- let mt = new IntersectionObserver((m) => {
4776
+ let ut = new IntersectionObserver((m) => {
4828
4777
  m.forEach((T) => {
4829
- T.isIntersecting && (H += parseInt(c, 10) || 10, W.length < $.length && r(7, W = $.slice(0, H)));
4778
+ T.isIntersecting && (H += parseInt(c, 10) || 10, V.length < D.length && r(7, V = D.slice(0, H)));
4830
4779
  });
4831
4780
  });
4832
- const Br = () => {
4833
- mt.observe(E[E.length - 1]);
4834
- }, Or = () => {
4781
+ const xr = () => {
4782
+ ut.observe(_[_.length - 1]);
4783
+ }, Tr = () => {
4835
4784
  if (!f) return;
4836
4785
  let m = {};
4837
4786
  f.split(",").forEach((T) => {
4838
4787
  let I = T.split(":");
4839
4788
  m[I[0].trim()] = I[1].trim();
4840
- }), se = ye(ye({}, se), m);
4841
- }, Cr = () => {
4789
+ }), se = { ...se, ...m };
4790
+ }, Lr = () => {
4842
4791
  let m = document.createElement("style");
4843
4792
  m.innerHTML = y, w.appendChild(m);
4844
- }, Nr = () => {
4793
+ }, Sr = () => {
4845
4794
  let m = new URL(d), T = document.createElement("style");
4846
4795
  fetch(m.href).then((I) => I.text()).then((I) => {
4847
4796
  T.innerHTML = I, w && (setTimeout(
@@ -4855,67 +4804,67 @@ function Po(e, t, r) {
4855
4804
  500
4856
4805
  ));
4857
4806
  });
4858
- }, Rr = () => {
4859
- Eo(a);
4807
+ }, wr = () => {
4808
+ os(a);
4860
4809
  };
4861
- ri(() => () => {
4862
- mt.unobserve(E[E.length - 1]);
4810
+ jr(() => () => {
4811
+ ut.unobserve(_[_.length - 1]);
4863
4812
  });
4864
- function Mr(m, T) {
4865
- Le[m ? "unshift" : "push"](() => {
4866
- E[T] = m, r(3, E);
4813
+ function Ar(m, T) {
4814
+ xe[m ? "unshift" : "push"](() => {
4815
+ _[T] = m, r(3, _);
4867
4816
  });
4868
4817
  }
4869
- function Dr(m) {
4870
- Le[m ? "unshift" : "push"](() => {
4818
+ function Pr(m) {
4819
+ xe[m ? "unshift" : "push"](() => {
4871
4820
  w = m, r(2, w);
4872
4821
  });
4873
4822
  }
4874
4823
  return e.$$set = (m) => {
4875
- "lang" in m && r(0, a = m.lang), "userid" in m && r(12, s = m.userid), "session" in m && r(13, l = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, h = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "translationurl" in m && r(20, b = m.translationurl);
4824
+ "lang" in m && r(0, a = m.lang), "userid" in m && r(12, o = m.userid), "session" in m && r(13, h = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, l = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "translationurl" in m && r(20, b = m.translationurl);
4876
4825
  }, e.$$.update = () => {
4877
4826
  e.$$.dirty[0] & /*customcurrencysymbols*/
4878
- 65536 && f && Or(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4879
- 61440 && u && s && l && h && Ar(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4880
- 56 && E[0] && !N && !pe && Br(), e.$$.dirty[0] & /*lang*/
4881
- 1 && a && Rr(), e.$$.dirty[0] & /*clientstylingurl*/
4882
- 524288 && d && Nr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4883
- 262148 && y && w && Cr(), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4884
- 1048580 && b && w && wr();
4827
+ 65536 && f && Tr(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4828
+ 61440 && u && o && h && l && br(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4829
+ 56 && _[0] && !N && !me && xr(), e.$$.dirty[0] & /*lang*/
4830
+ 1 && a && wr(), e.$$.dirty[0] & /*clientstylingurl*/
4831
+ 524288 && d && Sr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4832
+ 262148 && y && w && Lr(), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4833
+ 1048580 && b && w && gr();
4885
4834
  }, [
4886
4835
  a,
4887
4836
  c,
4888
4837
  w,
4889
- E,
4838
+ _,
4890
4839
  N,
4891
- pe,
4892
- D,
4893
- W,
4894
- Oe,
4840
+ me,
4841
+ M,
4842
+ V,
4843
+ Ie,
4895
4844
  i,
4896
- o,
4897
- Ir,
4898
4845
  s,
4899
- l,
4900
- u,
4846
+ Er,
4847
+ o,
4901
4848
  h,
4849
+ u,
4850
+ l,
4902
4851
  f,
4903
4852
  p,
4904
4853
  y,
4905
4854
  d,
4906
4855
  b,
4907
- Mr,
4908
- Dr
4856
+ Ar,
4857
+ Pr
4909
4858
  ];
4910
4859
  }
4911
- class Sr extends pi {
4860
+ class yr extends ei {
4912
4861
  constructor(t) {
4913
- super(), fi(
4862
+ super(), qr(
4914
4863
  this,
4915
4864
  t,
4916
- Po,
4917
- Ao,
4918
- Wt,
4865
+ ps,
4866
+ ms,
4867
+ Dt,
4919
4868
  {
4920
4869
  lang: 0,
4921
4870
  userid: 12,
@@ -4929,7 +4878,7 @@ class Sr extends pi {
4929
4878
  clientstylingurl: 19,
4930
4879
  translationurl: 20
4931
4880
  },
4932
- _o,
4881
+ as,
4933
4882
  [-1, -1]
4934
4883
  );
4935
4884
  }
@@ -5000,49 +4949,49 @@ class Sr extends pi {
5000
4949
  this.$$set({ translationurl: t }), C();
5001
4950
  }
5002
4951
  }
5003
- mi(Sr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
5004
- const Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4952
+ Kr(yr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4953
+ const Ls = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5005
4954
  __proto__: null,
5006
- default: Sr
4955
+ default: yr
5007
4956
  }, Symbol.toStringTag, { value: "Module" }));
5008
4957
  export {
5009
- ne as $,
5010
- fe as A,
5011
- Ze as B,
5012
- Mo as C,
5013
- bo as D,
5014
- Me as E,
5015
- Ro as F,
5016
- me as G,
5017
- $o as H,
5018
- ri as I,
5019
- Oo as J,
5020
- Uo as P,
5021
- pi as S,
5022
- Er as a,
5023
- Zr as b,
5024
- mi as c,
5025
- Xe as d,
4958
+ ie as $,
4959
+ ce as A,
4960
+ Ve as B,
4961
+ Es as C,
4962
+ ns as D,
4963
+ Ce as E,
4964
+ _s as F,
4965
+ fe as G,
4966
+ Ts as H,
4967
+ jr as I,
4968
+ gs as J,
4969
+ Ls as P,
4970
+ ei as S,
4971
+ cr as a,
4972
+ Nr as b,
4973
+ Kr as c,
4974
+ je as d,
5026
4975
  P as e,
5027
4976
  C as f,
5028
4977
  x as g,
5029
4978
  L as h,
5030
- fi as i,
5031
- X as j,
5032
- V as k,
5033
- zr as l,
5034
- vo as m,
4979
+ qr as i,
4980
+ W as j,
4981
+ k,
4982
+ Cr as l,
4983
+ ss as m,
5035
4984
  O as n,
5036
- Io as o,
5037
- Do as p,
5038
- Le as q,
5039
- M as r,
5040
- Wt as s,
5041
- Co as t,
5042
- Bo as u,
5043
- qr as v,
5044
- k as w,
5045
- Et as x,
5046
- No as y,
5047
- Jr as z
4985
+ ds as o,
4986
+ xs as p,
4987
+ xe as q,
4988
+ R as r,
4989
+ Dt as s,
4990
+ bs as t,
4991
+ ys as u,
4992
+ $r as v,
4993
+ j as w,
4994
+ ft as x,
4995
+ vs as y,
4996
+ Dr as z
5048
4997
  };