@everymatrix/player-account-menu-nd 1.76.3 → 1.76.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/components/GeneralLogout-B6bRHXkC.cjs +18 -0
  2. package/components/{GeneralLogout-GRuKSPyD.js → GeneralLogout-D307q6JD.js} +885 -850
  3. package/components/{GeneralLogout-C6LtI21m.js → GeneralLogout-DAKbZeD9.js} +883 -848
  4. package/components/{PlayerAccountMenuNd-ehuCAahb.cjs → PlayerAccountMenuNd-BNwx21wz.cjs} +1 -1
  5. package/components/{PlayerAccountMenuNd-Bw9HX5pe.js → PlayerAccountMenuNd-BVtoJb2b.js} +27 -27
  6. package/components/{PlayerAccountMenuNd-D9eyRCPZ.js → PlayerAccountMenuNd-DtrS0wcM.js} +29 -29
  7. package/es2015/player-account-menu-nd.cjs +1 -1
  8. package/es2015/player-account-menu-nd.js +1 -1
  9. package/esnext/player-account-menu-nd.js +1 -1
  10. package/package.json +1 -1
  11. package/stencil/index-b2193545-BeKKnKhR.js +519 -0
  12. package/stencil/index-b2193545-HC0t7mHa.js +503 -0
  13. package/stencil/index-b2193545-YW9b062G.cjs +1 -0
  14. package/stencil/{ui-skeleton-bhljBTS7.cjs → ui-skeleton-BL4789dS.cjs} +1 -1
  15. package/stencil/{ui-skeleton-CJbkvgG7.js → ui-skeleton-Ca5rz3Hv.js} +2 -2
  16. package/stencil/{ui-skeleton-ae35c6f2-ZB0isFAq.js → ui-skeleton-ae35c6f2-BDBUiN3S.js} +1 -1
  17. package/stencil/{ui-skeleton-ae35c6f2-gun6WX2F.js → ui-skeleton-ae35c6f2-Cn0ZM_hs.js} +1 -1
  18. package/stencil/{ui-skeleton-ae35c6f2-CXlvqczG.cjs → ui-skeleton-ae35c6f2-xLf3HyeB.cjs} +1 -1
  19. package/stencil/{ui-skeleton-BKDs0-7H.js → ui-skeleton-hI4GeaLk.js} +2 -2
  20. package/components/GeneralLogout-DqlvbXrp.cjs +0 -18
  21. package/stencil/index-b2193545-BbCeNxUG.js +0 -519
  22. package/stencil/index-b2193545-C9PH-6qK.js +0 -503
  23. package/stencil/index-b2193545-D-u-gzj3.cjs +0 -1
@@ -1,28 +1,28 @@
1
1
  function B() {
2
2
  }
3
- function Et(e) {
3
+ function Bt(e) {
4
4
  return e();
5
5
  }
6
- function Je() {
6
+ function tt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function ie(e) {
10
- e.forEach(Et);
9
+ function ne(e) {
10
+ e.forEach(Bt);
11
11
  }
12
- function ze(e) {
12
+ function Ye(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function St(e, t) {
15
+ function wt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let ue;
19
- function Vi(e, t) {
19
+ function Zi(e, t) {
20
20
  return e === t ? !0 : (ue || (ue = document.createElement("a")), ue.href = t, e === ue.href);
21
21
  }
22
- function sr(e) {
22
+ function lr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Tt(e, ...t) {
25
+ function At(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,20 +31,20 @@ function Tt(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function ar(e, t, r) {
35
- e.$$.on_destroy.push(Tt(t, r));
34
+ function cr(e, t, r) {
35
+ e.$$.on_destroy.push(At(t, r));
36
36
  }
37
37
  function T(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function ur(e, t, r) {
41
- const n = hr(e);
40
+ function fr(e, t, r) {
41
+ const n = pr(e);
42
42
  if (!n.getElementById(t)) {
43
- const i = P("style");
44
- i.id = t, i.textContent = r, lr(n, i);
43
+ const i = O("style");
44
+ i.id = t, i.textContent = r, dr(n, i);
45
45
  }
46
46
  }
47
- function hr(e) {
47
+ function pr(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,56 +54,56 @@ function hr(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function lr(e, t) {
57
+ function dr(e, t) {
58
58
  return T(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function oe(e, t, r) {
64
+ function ie(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
- function Z(e) {
67
+ function z(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function Xi(e, t) {
70
+ function Qi(e, t) {
71
71
  for (let r = 0; r < e.length; r += 1)
72
72
  e[r] && e[r].d(t);
73
73
  }
74
- function P(e) {
74
+ function O(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function Y(e) {
77
+ function J(e) {
78
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
79
  }
80
- function ge(e) {
80
+ function ye(e) {
81
81
  return document.createTextNode(e);
82
82
  }
83
- function fr() {
84
- return ge(" ");
83
+ function mr() {
84
+ return ye(" ");
85
85
  }
86
- function Ht(e, t, r, n) {
86
+ function Pt(e, t, r, n) {
87
87
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
88
88
  }
89
89
  function S(e, t, r) {
90
90
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
91
91
  }
92
- function Wi(e, t, r) {
92
+ function qi(e, t, r) {
93
93
  const n = t.toLowerCase();
94
94
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : S(e, t, r);
95
95
  }
96
- function cr(e) {
96
+ function br(e) {
97
97
  return Array.from(e.childNodes);
98
98
  }
99
- function Bt(e, t) {
99
+ function Ot(e, t) {
100
100
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
101
101
  t);
102
102
  }
103
- function dr(e, t, r, n) {
103
+ function gr(e, t, r, n) {
104
104
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
105
105
  }
106
- function pr(e) {
106
+ function yr(e) {
107
107
  const t = {};
108
108
  return e.childNodes.forEach(
109
109
  /** @param {Element} node */
@@ -112,90 +112,90 @@ function pr(e) {
112
112
  }
113
113
  ), t;
114
114
  }
115
- let te;
116
- function ee(e) {
117
- te = e;
115
+ let ee;
116
+ function K(e) {
117
+ ee = e;
118
118
  }
119
- function mr() {
120
- if (!te)
119
+ function vr() {
120
+ if (!ee)
121
121
  throw new Error("Function called outside component initialization");
122
- return te;
122
+ return ee;
123
123
  }
124
- function br(e) {
125
- mr().$$.on_mount.push(e);
124
+ function _r(e) {
125
+ vr().$$.on_mount.push(e);
126
126
  }
127
- const F = [], Ie = [];
127
+ const F = [], Me = [];
128
128
  let j = [];
129
- const Ye = [], gr = /* @__PURE__ */ Promise.resolve();
130
- let Le = !1;
131
- function yr() {
132
- Le || (Le = !0, gr.then(w));
129
+ const rt = [], Er = /* @__PURE__ */ Promise.resolve();
130
+ let Ce = !1;
131
+ function xr() {
132
+ Ce || (Ce = !0, Er.then(w));
133
133
  }
134
- function Ne(e) {
134
+ function $e(e) {
135
135
  j.push(e);
136
136
  }
137
- const Te = /* @__PURE__ */ new Set();
138
- let D = 0;
137
+ const Be = /* @__PURE__ */ new Set();
138
+ let G = 0;
139
139
  function w() {
140
- if (D !== 0)
140
+ if (G !== 0)
141
141
  return;
142
- const e = te;
142
+ const e = ee;
143
143
  do {
144
144
  try {
145
- for (; D < F.length; ) {
146
- const t = F[D];
147
- D++, ee(t), vr(t.$$);
145
+ for (; G < F.length; ) {
146
+ const t = F[G];
147
+ G++, K(t), Sr(t.$$);
148
148
  }
149
149
  } catch (t) {
150
- throw F.length = 0, D = 0, t;
150
+ throw F.length = 0, G = 0, t;
151
151
  }
152
- for (ee(null), F.length = 0, D = 0; Ie.length; )
153
- Ie.pop()();
152
+ for (K(null), F.length = 0, G = 0; Me.length; )
153
+ Me.pop()();
154
154
  for (let t = 0; t < j.length; t += 1) {
155
155
  const r = j[t];
156
- Te.has(r) || (Te.add(r), r());
156
+ Be.has(r) || (Be.add(r), r());
157
157
  }
158
158
  j.length = 0;
159
159
  } while (F.length);
160
- for (; Ye.length; )
161
- Ye.pop()();
162
- Le = !1, Te.clear(), ee(e);
160
+ for (; rt.length; )
161
+ rt.pop()();
162
+ Ce = !1, Be.clear(), K(e);
163
163
  }
164
- function vr(e) {
164
+ function Sr(e) {
165
165
  if (e.fragment !== null) {
166
- e.update(), ie(e.before_update);
166
+ e.update(), ne(e.before_update);
167
167
  const t = e.dirty;
168
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
168
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
169
169
  }
170
170
  }
171
- function _r(e) {
171
+ function Tr(e) {
172
172
  const t = [], r = [];
173
173
  j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
174
174
  }
175
- const xr = /* @__PURE__ */ new Set();
176
- function Er(e, t) {
177
- e && e.i && (xr.delete(e), e.i(t));
175
+ const Hr = /* @__PURE__ */ new Set();
176
+ function Br(e, t) {
177
+ e && e.i && (Hr.delete(e), e.i(t));
178
178
  }
179
- function zi(e) {
179
+ function Ji(e) {
180
180
  return e?.length !== void 0 ? e : Array.from(e);
181
181
  }
182
- function Sr(e, t, r) {
182
+ function wr(e, t, r) {
183
183
  const { fragment: n, after_update: i } = e.$$;
184
- n && n.m(t, r), Ne(() => {
185
- const o = e.$$.on_mount.map(Et).filter(ze);
186
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
187
- }), i.forEach(Ne);
184
+ n && n.m(t, r), $e(() => {
185
+ const o = e.$$.on_mount.map(Bt).filter(Ye);
186
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
187
+ }), i.forEach($e);
188
188
  }
189
- function Tr(e, t) {
189
+ function Ar(e, t) {
190
190
  const r = e.$$;
191
- r.fragment !== null && (_r(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
191
+ r.fragment !== null && (Tr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
192
192
  }
193
- function Hr(e, t) {
194
- e.$$.dirty[0] === -1 && (F.push(e), yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
193
+ function Pr(e, t) {
194
+ e.$$.dirty[0] === -1 && (F.push(e), xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
195
195
  }
196
- function Br(e, t, r, n, i, o, s = null, a = [-1]) {
197
- const h = te;
198
- ee(e);
196
+ function Or(e, t, r, n, i, o, s = null, a = [-1]) {
197
+ const h = ee;
198
+ K(e);
199
199
  const u = e.$$ = {
200
200
  fragment: null,
201
201
  ctx: [],
@@ -203,7 +203,7 @@ function Br(e, t, r, n, i, o, s = null, a = [-1]) {
203
203
  props: o,
204
204
  update: B,
205
205
  not_equal: i,
206
- bound: Je(),
206
+ bound: tt(),
207
207
  // lifecycle
208
208
  on_mount: [],
209
209
  on_destroy: [],
@@ -212,28 +212,28 @@ function Br(e, t, r, n, i, o, s = null, a = [-1]) {
212
212
  after_update: [],
213
213
  context: new Map(t.context || (h ? h.$$.context : [])),
214
214
  // everything else
215
- callbacks: Je(),
215
+ callbacks: tt(),
216
216
  dirty: a,
217
217
  skip_bound: !1,
218
218
  root: t.target || h.$$.root
219
219
  };
220
220
  s && s(u.root);
221
221
  let l = !1;
222
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
223
- const p = d.length ? d[0] : f;
224
- return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), l && Hr(e, c)), f;
225
- }) : [], u.update(), l = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
222
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
223
+ const d = p.length ? p[0] : c;
224
+ return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), l && Pr(e, f)), c;
225
+ }) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
226
226
  if (t.hydrate) {
227
- const c = cr(t.target);
228
- u.fragment && u.fragment.l(c), c.forEach(Z);
227
+ const f = br(t.target);
228
+ u.fragment && u.fragment.l(f), f.forEach(z);
229
229
  } else
230
230
  u.fragment && u.fragment.c();
231
- t.intro && Er(e.$$.fragment), Sr(e, t.target, t.anchor), w();
231
+ t.intro && Br(e.$$.fragment), wr(e, t.target, t.anchor), w();
232
232
  }
233
- ee(h);
233
+ K(h);
234
234
  }
235
- let wt;
236
- typeof HTMLElement == "function" && (wt = class extends HTMLElement {
235
+ let It;
236
+ typeof HTMLElement == "function" && (It = class extends HTMLElement {
237
237
  /** The Svelte component constructor */
238
238
  $$ctor;
239
239
  /** Slots */
@@ -275,29 +275,29 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
275
275
  let o;
276
276
  return {
277
277
  c: function() {
278
- o = P("slot"), i !== "default" && S(o, "name", i);
278
+ o = O("slot"), i !== "default" && S(o, "name", i);
279
279
  },
280
280
  /**
281
281
  * @param {HTMLElement} target
282
282
  * @param {HTMLElement} [anchor]
283
283
  */
284
284
  m: function(h, u) {
285
- oe(h, o, u);
285
+ ie(h, o, u);
286
286
  },
287
287
  d: function(h) {
288
- h && Z(o);
288
+ h && z(o);
289
289
  }
290
290
  };
291
291
  };
292
292
  };
293
293
  if (await Promise.resolve(), !this.$$cn || this.$$c)
294
294
  return;
295
- const t = {}, r = pr(this);
295
+ const t = {}, r = yr(this);
296
296
  for (const i of this.$$s)
297
297
  i in r && (t[i] = [e(i)]);
298
298
  for (const i of this.attributes) {
299
299
  const o = this.$$g_p(i.name);
300
- o in this.$$d || (this.$$d[o] = fe(o, i.value, this.$$p_d, "toProp"));
300
+ o in this.$$d || (this.$$d[o] = ce(o, i.value, this.$$p_d, "toProp"));
301
301
  }
302
302
  for (const i in this.$$p_d)
303
303
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -315,7 +315,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
315
315
  this.$$r = !0;
316
316
  for (const i in this.$$p_d)
317
317
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
318
- const o = fe(
318
+ const o = ce(
319
319
  i,
320
320
  this.$$d[i],
321
321
  this.$$p_d,
@@ -337,7 +337,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
337
337
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
338
338
  // and setting attributes through setAttribute etc, this is helpful
339
339
  attributeChangedCallback(e, t, r) {
340
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = fe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
340
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ce(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
341
341
  }
342
342
  disconnectedCallback() {
343
343
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -350,7 +350,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
350
350
  ) || e;
351
351
  }
352
352
  });
353
- function fe(e, t, r, n) {
353
+ function ce(e, t, r, n) {
354
354
  const i = r[e]?.type;
355
355
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
356
356
  return t;
@@ -379,8 +379,8 @@ function fe(e, t, r, n) {
379
379
  return t;
380
380
  }
381
381
  }
382
- function wr(e, t, r, n, i, o) {
383
- let s = class extends wt {
382
+ function Ir(e, t, r, n, i, o) {
383
+ let s = class extends It {
384
384
  constructor() {
385
385
  super(e, r, i), this.$$p_d = t;
386
386
  }
@@ -396,7 +396,7 @@ function wr(e, t, r, n, i, o) {
396
396
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
397
397
  },
398
398
  set(h) {
399
- h = fe(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
399
+ h = ce(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
400
400
  }
401
401
  });
402
402
  }), n.forEach((a) => {
@@ -408,7 +408,7 @@ function wr(e, t, r, n, i, o) {
408
408
  }), e.element = /** @type {any} */
409
409
  s, s;
410
410
  }
411
- class Ar {
411
+ class Lr {
412
412
  /**
413
413
  * ### PRIVATE API
414
414
  *
@@ -427,7 +427,7 @@ class Ar {
427
427
  $$set = void 0;
428
428
  /** @returns {void} */
429
429
  $destroy() {
430
- Tr(this, 1), this.$destroy = B;
430
+ Ar(this, 1), this.$destroy = B;
431
431
  }
432
432
  /**
433
433
  * @template {Extract<keyof Events, string>} K
@@ -436,7 +436,7 @@ class Ar {
436
436
  * @returns {() => void}
437
437
  */
438
438
  $on(t, r) {
439
- if (!ze(r))
439
+ if (!Ye(r))
440
440
  return B;
441
441
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
442
442
  return n.push(r), () => {
@@ -449,11 +449,11 @@ class Ar {
449
449
  * @returns {void}
450
450
  */
451
451
  $set(t) {
452
- this.$$set && !sr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
452
+ this.$$set && !lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
453
453
  }
454
454
  }
455
- const Pr = "4";
456
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pr);
455
+ const Nr = "4";
456
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
457
457
  /*! *****************************************************************************
458
458
  Copyright (c) Microsoft Corporation.
459
459
 
@@ -468,43 +468,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
468
468
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
469
469
  PERFORMANCE OF THIS SOFTWARE.
470
470
  ***************************************************************************** */
471
- var Me = function(e, t) {
472
- return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
471
+ var Re = function(e, t) {
472
+ return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
473
473
  r.__proto__ = n;
474
474
  } || function(r, n) {
475
475
  for (var i in n)
476
476
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
477
- }, Me(e, t);
477
+ }, Re(e, t);
478
478
  };
479
- function I(e, t) {
479
+ function oe(e, t) {
480
480
  if (typeof t != "function" && t !== null)
481
481
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
482
- Me(e, t);
482
+ Re(e, t);
483
483
  function r() {
484
484
  this.constructor = e;
485
485
  }
486
486
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
487
487
  }
488
- var g = function() {
489
- return g = Object.assign || function(t) {
490
- for (var r, n = 1, i = arguments.length; n < i; n++) {
491
- r = arguments[n];
492
- for (var o in r)
493
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
494
- }
495
- return t;
496
- }, g.apply(this, arguments);
497
- };
498
- function Or(e, t) {
499
- var r = {};
500
- for (var n in e)
501
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
502
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
503
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
504
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
505
- return r;
506
- }
507
- function Ce(e) {
488
+ function Ue(e) {
508
489
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
509
490
  if (r)
510
491
  return r.call(e);
@@ -516,7 +497,7 @@ function Ce(e) {
516
497
  };
517
498
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
518
499
  }
519
- function $e(e, t) {
500
+ function Ge(e, t) {
520
501
  var r = typeof Symbol == "function" && e[Symbol.iterator];
521
502
  if (!r)
522
503
  return e;
@@ -536,22 +517,22 @@ function $e(e, t) {
536
517
  }
537
518
  return o;
538
519
  }
539
- function k(e, t, r) {
540
- if (r || arguments.length === 2)
520
+ function De(e, t, r) {
521
+ if (arguments.length === 2)
541
522
  for (var n = 0, i = t.length, o; n < i; n++)
542
523
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
543
524
  return e.concat(o || t);
544
525
  }
545
- function O(e) {
526
+ function I(e) {
546
527
  return typeof e == "function";
547
528
  }
548
- function At(e) {
529
+ function Lt(e) {
549
530
  var t = function(n) {
550
531
  Error.call(n), n.stack = new Error().stack;
551
532
  }, r = e(t);
552
533
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
553
534
  }
554
- var He = At(function(e) {
535
+ var we = Lt(function(e) {
555
536
  return function(r) {
556
537
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
557
538
  ` + r.map(function(n, i) {
@@ -560,13 +541,13 @@ var He = At(function(e) {
560
541
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
561
542
  };
562
543
  });
563
- function Re(e, t) {
544
+ function Fe(e, t) {
564
545
  if (e) {
565
546
  var r = e.indexOf(t);
566
547
  0 <= r && e.splice(r, 1);
567
548
  }
568
549
  }
569
- var ye = function() {
550
+ var ve = function() {
570
551
  function e(t) {
571
552
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
572
553
  }
@@ -578,12 +559,12 @@ var ye = function() {
578
559
  if (s)
579
560
  if (this._parentage = null, Array.isArray(s))
580
561
  try {
581
- for (var a = Ce(s), h = a.next(); !h.done; h = a.next()) {
562
+ for (var a = Ue(s), h = a.next(); !h.done; h = a.next()) {
582
563
  var u = h.value;
583
564
  u.remove(this);
584
565
  }
585
- } catch (v) {
586
- t = { error: v };
566
+ } catch (y) {
567
+ t = { error: y };
587
568
  } finally {
588
569
  try {
589
570
  h && !h.done && (r = a.return) && r.call(a);
@@ -595,29 +576,29 @@ var ye = function() {
595
576
  else
596
577
  s.remove(this);
597
578
  var l = this.initialTeardown;
598
- if (O(l))
579
+ if (I(l))
599
580
  try {
600
581
  l();
601
- } catch (v) {
602
- o = v instanceof He ? v.errors : [v];
582
+ } catch (y) {
583
+ o = y instanceof we ? y.errors : [y];
603
584
  }
604
- var c = this._finalizers;
605
- if (c) {
585
+ var f = this._finalizers;
586
+ if (f) {
606
587
  this._finalizers = null;
607
588
  try {
608
- for (var f = Ce(c), d = f.next(); !d.done; d = f.next()) {
609
- var p = d.value;
589
+ for (var c = Ue(f), p = c.next(); !p.done; p = c.next()) {
590
+ var d = p.value;
610
591
  try {
611
- Ke(p);
612
- } catch (v) {
613
- o = o ?? [], v instanceof He ? o = k(k([], $e(o)), $e(v.errors)) : o.push(v);
592
+ nt(d);
593
+ } catch (y) {
594
+ o = o ?? [], y instanceof we ? o = De(De([], Ge(o)), Ge(y.errors)) : o.push(y);
614
595
  }
615
596
  }
616
- } catch (v) {
617
- n = { error: v };
597
+ } catch (y) {
598
+ n = { error: y };
618
599
  } finally {
619
600
  try {
620
- d && !d.done && (i = f.return) && i.call(f);
601
+ p && !p.done && (i = c.return) && i.call(c);
621
602
  } finally {
622
603
  if (n)
623
604
  throw n.error;
@@ -625,13 +606,13 @@ var ye = function() {
625
606
  }
626
607
  }
627
608
  if (o)
628
- throw new He(o);
609
+ throw new we(o);
629
610
  }
630
611
  }, e.prototype.add = function(t) {
631
612
  var r;
632
613
  if (t && t !== this)
633
614
  if (this.closed)
634
- Ke(t);
615
+ nt(t);
635
616
  else {
636
617
  if (t instanceof e) {
637
618
  if (t.closed || t._hasParent(this))
@@ -648,56 +629,52 @@ var ye = function() {
648
629
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
649
630
  }, e.prototype._removeParent = function(t) {
650
631
  var r = this._parentage;
651
- r === t ? this._parentage = null : Array.isArray(r) && Re(r, t);
632
+ r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
652
633
  }, e.prototype.remove = function(t) {
653
634
  var r = this._finalizers;
654
- r && Re(r, t), t instanceof e && t._removeParent(this);
635
+ r && Fe(r, t), t instanceof e && t._removeParent(this);
655
636
  }, e.EMPTY = function() {
656
637
  var t = new e();
657
638
  return t.closed = !0, t;
658
639
  }(), e;
659
- }(), Pt = ye.EMPTY;
660
- function Ot(e) {
661
- return e instanceof ye || e && "closed" in e && O(e.remove) && O(e.add) && O(e.unsubscribe);
662
- }
663
- function Ke(e) {
664
- O(e) ? e() : e.unsubscribe();
665
- }
666
- var Ir = {
667
- onUnhandledError: null,
668
- onStoppedNotification: null,
669
- Promise: void 0,
670
- useDeprecatedSynchronousErrorHandling: !1,
671
- useDeprecatedNextContext: !1
672
- }, Lr = {
640
+ }(), Nt = ve.EMPTY;
641
+ function Mt(e) {
642
+ return e instanceof ve || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
643
+ }
644
+ function nt(e) {
645
+ I(e) ? e() : e.unsubscribe();
646
+ }
647
+ var Mr = {
648
+ Promise: void 0
649
+ }, Cr = {
673
650
  setTimeout: function(e, t) {
674
651
  for (var r = [], n = 2; n < arguments.length; n++)
675
652
  r[n - 2] = arguments[n];
676
- return setTimeout.apply(void 0, k([e, t], $e(r)));
653
+ return setTimeout.apply(void 0, De([e, t], Ge(r)));
677
654
  },
678
655
  clearTimeout: function(e) {
679
656
  return clearTimeout(e);
680
657
  },
681
658
  delegate: void 0
682
659
  };
683
- function Nr(e) {
684
- Lr.setTimeout(function() {
660
+ function $r(e) {
661
+ Cr.setTimeout(function() {
685
662
  throw e;
686
663
  });
687
664
  }
688
- function et() {
665
+ function it() {
689
666
  }
690
- function ce(e) {
667
+ function fe(e) {
691
668
  e();
692
669
  }
693
- var It = function(e) {
694
- I(t, e);
670
+ var Ct = function(e) {
671
+ oe(t, e);
695
672
  function t(r) {
696
673
  var n = e.call(this) || this;
697
- return n.isStopped = !1, r ? (n.destination = r, Ot(r) && r.add(n)) : n.destination = $r, n;
674
+ return n.isStopped = !1, r ? (n.destination = r, Mt(r) && r.add(n)) : n.destination = Gr, n;
698
675
  }
699
676
  return t.create = function(r, n, i) {
700
- return new Ue(r, n, i);
677
+ return new je(r, n, i);
701
678
  }, t.prototype.next = function(r) {
702
679
  this.isStopped || this._next(r);
703
680
  }, t.prototype.error = function(r) {
@@ -721,7 +698,7 @@ var It = function(e) {
721
698
  this.unsubscribe();
722
699
  }
723
700
  }, t;
724
- }(ye), Mr = function() {
701
+ }(ve), Rr = function() {
725
702
  function e(t) {
726
703
  this.partialObserver = t;
727
704
  }
@@ -752,43 +729,43 @@ var It = function(e) {
752
729
  he(r);
753
730
  }
754
731
  }, e;
755
- }(), Ue = function(e) {
756
- I(t, e);
732
+ }(), je = function(e) {
733
+ oe(t, e);
757
734
  function t(r, n, i) {
758
735
  var o = e.call(this) || this, s;
759
- return O(r) || !r ? s = {
736
+ return I(r) || !r ? s = {
760
737
  next: r ?? void 0,
761
738
  error: n ?? void 0,
762
739
  complete: i ?? void 0
763
- } : s = r, o.destination = new Mr(s), o;
740
+ } : s = r, o.destination = new Rr(s), o;
764
741
  }
765
742
  return t;
766
- }(It);
743
+ }(Ct);
767
744
  function he(e) {
768
- Nr(e);
745
+ $r(e);
769
746
  }
770
- function Cr(e) {
747
+ function Ur(e) {
771
748
  throw e;
772
749
  }
773
- var $r = {
750
+ var Gr = {
774
751
  closed: !0,
775
- next: et,
776
- error: Cr,
777
- complete: et
778
- }, Rr = function() {
752
+ next: it,
753
+ error: Ur,
754
+ complete: it
755
+ }, Dr = function() {
779
756
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
780
757
  }();
781
- function Ur(e) {
758
+ function Fr(e) {
782
759
  return e;
783
760
  }
784
- function Dr(e) {
785
- return e.length === 0 ? Ur : e.length === 1 ? e[0] : function(r) {
761
+ function jr(e) {
762
+ return e.length === 0 ? Fr : e.length === 1 ? e[0] : function(r) {
786
763
  return e.reduce(function(n, i) {
787
764
  return i(n);
788
765
  }, r);
789
766
  };
790
767
  }
791
- var tt = function() {
768
+ var ot = function() {
792
769
  function e(t) {
793
770
  t && (this._subscribe = t);
794
771
  }
@@ -796,8 +773,8 @@ var tt = function() {
796
773
  var r = new e();
797
774
  return r.source = this, r.operator = t, r;
798
775
  }, e.prototype.subscribe = function(t, r, n) {
799
- var i = this, o = Fr(t) ? t : new Ue(t, r, n);
800
- return ce(function() {
776
+ var i = this, o = Vr(t) ? t : new je(t, r, n);
777
+ return fe(function() {
801
778
  var s = i, a = s.operator, h = s.source;
802
779
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
803
780
  }), o;
@@ -809,8 +786,8 @@ var tt = function() {
809
786
  }
810
787
  }, e.prototype.forEach = function(t, r) {
811
788
  var n = this;
812
- return r = rt(r), new r(function(i, o) {
813
- var s = new Ue({
789
+ return r = st(r), new r(function(i, o) {
790
+ var s = new je({
814
791
  next: function(a) {
815
792
  try {
816
793
  t(a);
@@ -826,15 +803,15 @@ var tt = function() {
826
803
  }, e.prototype._subscribe = function(t) {
827
804
  var r;
828
805
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
829
- }, e.prototype[Rr] = function() {
806
+ }, e.prototype[Dr] = function() {
830
807
  return this;
831
808
  }, e.prototype.pipe = function() {
832
809
  for (var t = [], r = 0; r < arguments.length; r++)
833
810
  t[r] = arguments[r];
834
- return Dr(t)(this);
811
+ return jr(t)(this);
835
812
  }, e.prototype.toPromise = function(t) {
836
813
  var r = this;
837
- return t = rt(t), new t(function(n, i) {
814
+ return t = st(t), new t(function(n, i) {
838
815
  var o;
839
816
  r.subscribe(function(s) {
840
817
  return o = s;
@@ -848,40 +825,40 @@ var tt = function() {
848
825
  return new e(t);
849
826
  }, e;
850
827
  }();
851
- function rt(e) {
828
+ function st(e) {
852
829
  var t;
853
- return (t = e ?? Ir.Promise) !== null && t !== void 0 ? t : Promise;
830
+ return (t = e ?? Mr.Promise) !== null && t !== void 0 ? t : Promise;
854
831
  }
855
- function Gr(e) {
856
- return e && O(e.next) && O(e.error) && O(e.complete);
832
+ function kr(e) {
833
+ return e && I(e.next) && I(e.error) && I(e.complete);
857
834
  }
858
- function Fr(e) {
859
- return e && e instanceof It || Gr(e) && Ot(e);
835
+ function Vr(e) {
836
+ return e && e instanceof Ct || kr(e) && Mt(e);
860
837
  }
861
- var jr = At(function(e) {
838
+ var Xr = Lt(function(e) {
862
839
  return function() {
863
840
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
864
841
  };
865
- }), Lt = function(e) {
866
- I(t, e);
842
+ }), $t = function(e) {
843
+ oe(t, e);
867
844
  function t() {
868
845
  var r = e.call(this) || this;
869
846
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
870
847
  }
871
848
  return t.prototype.lift = function(r) {
872
- var n = new nt(this, this);
849
+ var n = new at(this, this);
873
850
  return n.operator = r, n;
874
851
  }, t.prototype._throwIfClosed = function() {
875
852
  if (this.closed)
876
- throw new jr();
853
+ throw new Xr();
877
854
  }, t.prototype.next = function(r) {
878
855
  var n = this;
879
- ce(function() {
856
+ fe(function() {
880
857
  var i, o;
881
858
  if (n._throwIfClosed(), !n.isStopped) {
882
859
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
883
860
  try {
884
- for (var s = Ce(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
861
+ for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
885
862
  var h = a.value;
886
863
  h.next(r);
887
864
  }
@@ -899,7 +876,7 @@ var jr = At(function(e) {
899
876
  });
900
877
  }, t.prototype.error = function(r) {
901
878
  var n = this;
902
- ce(function() {
879
+ fe(function() {
903
880
  if (n._throwIfClosed(), !n.isStopped) {
904
881
  n.hasError = n.isStopped = !0, n.thrownError = r;
905
882
  for (var i = n.observers; i.length; )
@@ -908,7 +885,7 @@ var jr = At(function(e) {
908
885
  });
909
886
  }, t.prototype.complete = function() {
910
887
  var r = this;
911
- ce(function() {
888
+ fe(function() {
912
889
  if (r._throwIfClosed(), !r.isStopped) {
913
890
  r.isStopped = !0;
914
891
  for (var n = r.observers; n.length; )
@@ -930,20 +907,20 @@ var jr = At(function(e) {
930
907
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
931
908
  }, t.prototype._innerSubscribe = function(r) {
932
909
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
933
- return o || s ? Pt : (this.currentObservers = null, a.push(r), new ye(function() {
934
- n.currentObservers = null, Re(a, r);
910
+ return o || s ? Nt : (this.currentObservers = null, a.push(r), new ve(function() {
911
+ n.currentObservers = null, Fe(a, r);
935
912
  }));
936
913
  }, t.prototype._checkFinalizedStatuses = function(r) {
937
914
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
938
915
  i ? r.error(o) : s && r.complete();
939
916
  }, t.prototype.asObservable = function() {
940
- var r = new tt();
917
+ var r = new ot();
941
918
  return r.source = this, r;
942
919
  }, t.create = function(r, n) {
943
- return new nt(r, n);
920
+ return new at(r, n);
944
921
  }, t;
945
- }(tt), nt = function(e) {
946
- I(t, e);
922
+ }(ot), at = function(e) {
923
+ oe(t, e);
947
924
  function t(r, n) {
948
925
  var i = e.call(this) || this;
949
926
  return i.destination = r, i.source = n, i;
@@ -959,17 +936,17 @@ var jr = At(function(e) {
959
936
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
960
937
  }, t.prototype._subscribe = function(r) {
961
938
  var n, i;
962
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Pt;
939
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Nt;
963
940
  }, t;
964
- }(Lt), Nt = {
941
+ }($t), Rt = {
965
942
  now: function() {
966
- return (Nt.delegate || Date).now();
943
+ return (Rt.delegate || Date).now();
967
944
  },
968
945
  delegate: void 0
969
- }, kr = function(e) {
970
- I(t, e);
946
+ }, Wr = function(e) {
947
+ oe(t, e);
971
948
  function t(r, n, i) {
972
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Nt);
949
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Rt);
973
950
  var o = e.call(this) || this;
974
951
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
975
952
  }
@@ -989,31 +966,31 @@ var jr = At(function(e) {
989
966
  u && o.splice(0, u + 1);
990
967
  }
991
968
  }, t;
992
- }(Lt);
993
- const it = [], ot = {}, Vr = (e, t = 0) => {
994
- if (it.indexOf(e) == -1) {
995
- const r = new kr(t);
996
- ot[e] = r, it.push(e);
969
+ }($t);
970
+ const ut = [], ht = {}, zr = (e, t = 0) => {
971
+ if (ut.indexOf(e) == -1) {
972
+ const r = new Wr(t);
973
+ ht[e] = r, ut.push(e);
997
974
  }
998
- return ot[e];
999
- }, G = [];
1000
- function Xr(e, t) {
975
+ return ht[e];
976
+ }, D = [];
977
+ function Zr(e, t) {
1001
978
  return {
1002
- subscribe: ve(e, t).subscribe
979
+ subscribe: _e(e, t).subscribe
1003
980
  };
1004
981
  }
1005
- function ve(e, t = B) {
982
+ function _e(e, t = B) {
1006
983
  let r;
1007
984
  const n = /* @__PURE__ */ new Set();
1008
985
  function i(a) {
1009
- if (St(e, a) && (e = a, r)) {
1010
- const h = !G.length;
986
+ if (wt(e, a) && (e = a, r)) {
987
+ const h = !D.length;
1011
988
  for (const u of n)
1012
- u[1](), G.push(u, e);
989
+ u[1](), D.push(u, e);
1013
990
  if (h) {
1014
- for (let u = 0; u < G.length; u += 2)
1015
- G[u][0](G[u + 1]);
1016
- G.length = 0;
991
+ for (let u = 0; u < D.length; u += 2)
992
+ D[u][0](D[u + 1]);
993
+ D.length = 0;
1017
994
  }
1018
995
  }
1019
996
  }
@@ -1028,145 +1005,184 @@ function ve(e, t = B) {
1028
1005
  }
1029
1006
  return { set: i, update: o, subscribe: s };
1030
1007
  }
1031
- function Q(e, t, r) {
1008
+ function Z(e, t, r) {
1032
1009
  const n = !Array.isArray(e), i = n ? [e] : e;
1033
1010
  if (!i.every(Boolean))
1034
1011
  throw new Error("derived() expects stores as input, got a falsy value");
1035
1012
  const o = t.length < 2;
1036
- return Xr(r, (s, a) => {
1013
+ return Zr(r, (s, a) => {
1037
1014
  let h = !1;
1038
1015
  const u = [];
1039
- let l = 0, c = B;
1040
- const f = () => {
1016
+ let l = 0, f = B;
1017
+ const c = () => {
1041
1018
  if (l)
1042
1019
  return;
1043
- c();
1044
- const p = t(n ? u[0] : u, s, a);
1045
- o ? s(p) : c = ze(p) ? p : B;
1046
- }, d = i.map(
1047
- (p, v) => Tt(
1048
- p,
1020
+ f();
1021
+ const d = t(n ? u[0] : u, s, a);
1022
+ o ? s(d) : f = Ye(d) ? d : B;
1023
+ }, p = i.map(
1024
+ (d, y) => At(
1025
+ d,
1049
1026
  (H) => {
1050
- u[v] = H, l &= ~(1 << v), h && f();
1027
+ u[y] = H, l &= ~(1 << y), h && c();
1051
1028
  },
1052
1029
  () => {
1053
- l |= 1 << v;
1030
+ l |= 1 << y;
1054
1031
  }
1055
1032
  )
1056
1033
  );
1057
- return h = !0, f(), function() {
1058
- ie(d), c(), h = !1;
1034
+ return h = !0, c(), function() {
1035
+ ne(p), f(), h = !1;
1059
1036
  };
1060
1037
  });
1061
1038
  }
1062
- function Wr(e) {
1063
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1039
+ function Qr(e) {
1040
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1064
1041
  }
1065
- var zr = function(t) {
1066
- return Zr(t) && !Qr(t);
1042
+ var qr = function(t) {
1043
+ return Jr(t) && !Yr(t);
1067
1044
  };
1068
- function Zr(e) {
1045
+ function Jr(e) {
1069
1046
  return !!e && typeof e == "object";
1070
1047
  }
1071
- function Qr(e) {
1048
+ function Yr(e) {
1072
1049
  var t = Object.prototype.toString.call(e);
1073
- return t === "[object RegExp]" || t === "[object Date]" || Yr(e);
1050
+ return t === "[object RegExp]" || t === "[object Date]" || tn(e);
1074
1051
  }
1075
- var qr = typeof Symbol == "function" && Symbol.for, Jr = qr ? Symbol.for("react.element") : 60103;
1076
- function Yr(e) {
1077
- return e.$$typeof === Jr;
1052
+ var Kr = typeof Symbol == "function" && Symbol.for, en = Kr ? Symbol.for("react.element") : 60103;
1053
+ function tn(e) {
1054
+ return e.$$typeof === en;
1078
1055
  }
1079
- function Kr(e) {
1056
+ function rn(e) {
1080
1057
  return Array.isArray(e) ? [] : {};
1081
1058
  }
1082
- function re(e, t) {
1083
- return t.clone !== !1 && t.isMergeableObject(e) ? V(Kr(e), e, t) : e;
1059
+ function te(e, t) {
1060
+ return t.clone !== !1 && t.isMergeableObject(e) ? k(rn(e), e, t) : e;
1084
1061
  }
1085
- function en(e, t, r) {
1062
+ function nn(e, t, r) {
1086
1063
  return e.concat(t).map(function(n) {
1087
- return re(n, r);
1064
+ return te(n, r);
1088
1065
  });
1089
1066
  }
1090
- function tn(e, t) {
1067
+ function on(e, t) {
1091
1068
  if (!t.customMerge)
1092
- return V;
1069
+ return k;
1093
1070
  var r = t.customMerge(e);
1094
- return typeof r == "function" ? r : V;
1071
+ return typeof r == "function" ? r : k;
1095
1072
  }
1096
- function rn(e) {
1073
+ function sn(e) {
1097
1074
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1098
1075
  return Object.propertyIsEnumerable.call(e, t);
1099
1076
  }) : [];
1100
1077
  }
1101
- function st(e) {
1102
- return Object.keys(e).concat(rn(e));
1078
+ function lt(e) {
1079
+ return Object.keys(e).concat(sn(e));
1103
1080
  }
1104
- function Mt(e, t) {
1081
+ function Ut(e, t) {
1105
1082
  try {
1106
1083
  return t in e;
1107
1084
  } catch {
1108
1085
  return !1;
1109
1086
  }
1110
1087
  }
1111
- function nn(e, t) {
1112
- return Mt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1088
+ function an(e, t) {
1089
+ return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1113
1090
  }
1114
- function on(e, t, r) {
1091
+ function un(e, t, r) {
1115
1092
  var n = {};
1116
- return r.isMergeableObject(e) && st(e).forEach(function(i) {
1117
- n[i] = re(e[i], r);
1118
- }), st(t).forEach(function(i) {
1119
- nn(e, i) || (Mt(e, i) && r.isMergeableObject(t[i]) ? n[i] = tn(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
1093
+ return r.isMergeableObject(e) && lt(e).forEach(function(i) {
1094
+ n[i] = te(e[i], r);
1095
+ }), lt(t).forEach(function(i) {
1096
+ an(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = on(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
1120
1097
  }), n;
1121
1098
  }
1122
- function V(e, t, r) {
1123
- r = r || {}, r.arrayMerge = r.arrayMerge || en, r.isMergeableObject = r.isMergeableObject || zr, r.cloneUnlessOtherwiseSpecified = re;
1099
+ function k(e, t, r) {
1100
+ r = r || {}, r.arrayMerge = r.arrayMerge || nn, r.isMergeableObject = r.isMergeableObject || qr, r.cloneUnlessOtherwiseSpecified = te;
1124
1101
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1125
- return o ? n ? r.arrayMerge(e, t, r) : on(e, t, r) : re(t, r);
1102
+ return o ? n ? r.arrayMerge(e, t, r) : un(e, t, r) : te(t, r);
1126
1103
  }
1127
- V.all = function(t, r) {
1104
+ k.all = function(t, r) {
1128
1105
  if (!Array.isArray(t))
1129
1106
  throw new Error("first argument should be an array");
1130
1107
  return t.reduce(function(n, i) {
1131
- return V(n, i, r);
1108
+ return k(n, i, r);
1132
1109
  }, {});
1133
1110
  };
1134
- var sn = V, an = sn;
1135
- const un = /* @__PURE__ */ Wr(an);
1136
- function Be(e, t) {
1137
- var r = t && t.cache ? t.cache : mn, n = t && t.serializer ? t.serializer : dn, i = t && t.strategy ? t.strategy : ln;
1111
+ var hn = k, ln = hn;
1112
+ const cn = /* @__PURE__ */ Qr(ln);
1113
+ var ke = function(e, t) {
1114
+ return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1115
+ r.__proto__ = n;
1116
+ } || function(r, n) {
1117
+ for (var i in n)
1118
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1119
+ }, ke(e, t);
1120
+ };
1121
+ function Ee(e, t) {
1122
+ if (typeof t != "function" && t !== null)
1123
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1124
+ ke(e, t);
1125
+ function r() {
1126
+ this.constructor = e;
1127
+ }
1128
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1129
+ }
1130
+ var A = function() {
1131
+ return A = Object.assign || function(t) {
1132
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1133
+ r = arguments[n];
1134
+ for (var o in r)
1135
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1136
+ }
1137
+ return t;
1138
+ }, A.apply(this, arguments);
1139
+ };
1140
+ function fn(e, t) {
1141
+ var r = {};
1142
+ for (var n in e)
1143
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1144
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1145
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1146
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1147
+ return r;
1148
+ }
1149
+ function Ae(e, t, r) {
1150
+ if (r || arguments.length === 2)
1151
+ for (var n = 0, i = t.length, o; n < i; n++)
1152
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1153
+ return e.concat(o || Array.prototype.slice.call(t));
1154
+ }
1155
+ function Pe(e, t) {
1156
+ var r = t && t.cache ? t.cache : vn, n = t && t.serializer ? t.serializer : gn, i = t && t.strategy ? t.strategy : mn;
1138
1157
  return i(e, {
1139
1158
  cache: r,
1140
1159
  serializer: n
1141
1160
  });
1142
1161
  }
1143
- function hn(e) {
1162
+ function pn(e) {
1144
1163
  return e == null || typeof e == "number" || typeof e == "boolean";
1145
1164
  }
1146
- function Ct(e, t, r, n) {
1147
- var i = hn(n) ? n : r(n), o = t.get(i);
1165
+ function dn(e, t, r, n) {
1166
+ var i = pn(n) ? n : r(n), o = t.get(i);
1148
1167
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1149
1168
  }
1150
- function $t(e, t, r) {
1169
+ function Gt(e, t, r) {
1151
1170
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1152
1171
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1153
1172
  }
1154
- function Ze(e, t, r, n, i) {
1173
+ function Dt(e, t, r, n, i) {
1155
1174
  return r.bind(t, e, n, i);
1156
1175
  }
1157
- function ln(e, t) {
1158
- var r = e.length === 1 ? Ct : $t;
1159
- return Ze(e, this, r, t.cache.create(), t.serializer);
1176
+ function mn(e, t) {
1177
+ var r = e.length === 1 ? dn : Gt;
1178
+ return Dt(e, this, r, t.cache.create(), t.serializer);
1160
1179
  }
1161
- function fn(e, t) {
1162
- return Ze(e, this, $t, t.cache.create(), t.serializer);
1180
+ function bn(e, t) {
1181
+ return Dt(e, this, Gt, t.cache.create(), t.serializer);
1163
1182
  }
1164
- function cn(e, t) {
1165
- return Ze(e, this, Ct, t.cache.create(), t.serializer);
1166
- }
1167
- var dn = function() {
1183
+ var gn = function() {
1168
1184
  return JSON.stringify(arguments);
1169
- }, pn = (
1185
+ }, yn = (
1170
1186
  /** @class */
1171
1187
  function() {
1172
1188
  function e() {
@@ -1178,62 +1194,71 @@ var dn = function() {
1178
1194
  this.cache[t] = r;
1179
1195
  }, e;
1180
1196
  }()
1181
- ), mn = {
1197
+ ), vn = {
1182
1198
  create: function() {
1183
- return new pn();
1199
+ return new yn();
1184
1200
  }
1185
- }, we = {
1186
- variadic: fn,
1187
- monadic: cn
1188
- }, m;
1201
+ }, Oe = {
1202
+ variadic: bn
1203
+ }, me = function() {
1204
+ return me = Object.assign || function(t) {
1205
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1206
+ r = arguments[n];
1207
+ for (var o in r)
1208
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1209
+ }
1210
+ return t;
1211
+ }, me.apply(this, arguments);
1212
+ };
1213
+ var m;
1189
1214
  (function(e) {
1190
1215
  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";
1191
1216
  })(m || (m = {}));
1192
- var _;
1217
+ var v;
1193
1218
  (function(e) {
1194
1219
  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";
1195
- })(_ || (_ = {}));
1196
- var X;
1220
+ })(v || (v = {}));
1221
+ var V;
1197
1222
  (function(e) {
1198
1223
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1199
- })(X || (X = {}));
1200
- function at(e) {
1201
- return e.type === _.literal;
1224
+ })(V || (V = {}));
1225
+ function ct(e) {
1226
+ return e.type === v.literal;
1202
1227
  }
1203
- function bn(e) {
1204
- return e.type === _.argument;
1228
+ function _n(e) {
1229
+ return e.type === v.argument;
1205
1230
  }
1206
- function Rt(e) {
1207
- return e.type === _.number;
1231
+ function Ft(e) {
1232
+ return e.type === v.number;
1208
1233
  }
1209
- function Ut(e) {
1210
- return e.type === _.date;
1234
+ function jt(e) {
1235
+ return e.type === v.date;
1211
1236
  }
1212
- function Dt(e) {
1213
- return e.type === _.time;
1237
+ function kt(e) {
1238
+ return e.type === v.time;
1214
1239
  }
1215
- function Gt(e) {
1216
- return e.type === _.select;
1240
+ function Vt(e) {
1241
+ return e.type === v.select;
1217
1242
  }
1218
- function Ft(e) {
1219
- return e.type === _.plural;
1243
+ function Xt(e) {
1244
+ return e.type === v.plural;
1220
1245
  }
1221
- function gn(e) {
1222
- return e.type === _.pound;
1246
+ function En(e) {
1247
+ return e.type === v.pound;
1223
1248
  }
1224
- function jt(e) {
1225
- return e.type === _.tag;
1249
+ function Wt(e) {
1250
+ return e.type === v.tag;
1226
1251
  }
1227
- function kt(e) {
1228
- return !!(e && typeof e == "object" && e.type === X.number);
1252
+ function zt(e) {
1253
+ return !!(e && typeof e == "object" && e.type === V.number);
1229
1254
  }
1230
- function De(e) {
1231
- return !!(e && typeof e == "object" && e.type === X.dateTime);
1255
+ function Ve(e) {
1256
+ return !!(e && typeof e == "object" && e.type === V.dateTime);
1232
1257
  }
1233
- var Vt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yn = /(?:[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 vn(e) {
1258
+ var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, xn = /(?:[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;
1259
+ function Sn(e) {
1235
1260
  var t = {};
1236
- return e.replace(yn, function(r) {
1261
+ return e.replace(xn, function(r) {
1237
1262
  var n = r.length;
1238
1263
  switch (r[0]) {
1239
1264
  case "G":
@@ -1322,36 +1347,46 @@ function vn(e) {
1322
1347
  return "";
1323
1348
  }), t;
1324
1349
  }
1325
- var _n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1326
- function xn(e) {
1350
+ var _ = function() {
1351
+ return _ = Object.assign || function(t) {
1352
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1353
+ r = arguments[n];
1354
+ for (var o in r)
1355
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1356
+ }
1357
+ return t;
1358
+ }, _.apply(this, arguments);
1359
+ };
1360
+ var Tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1361
+ function Hn(e) {
1327
1362
  if (e.length === 0)
1328
1363
  throw new Error("Number skeleton cannot be empty");
1329
- for (var t = e.split(_n).filter(function(f) {
1330
- return f.length > 0;
1364
+ for (var t = e.split(Tn).filter(function(c) {
1365
+ return c.length > 0;
1331
1366
  }), r = [], n = 0, i = t; n < i.length; n++) {
1332
1367
  var o = i[n], s = o.split("/");
1333
1368
  if (s.length === 0)
1334
1369
  throw new Error("Invalid number skeleton");
1335
1370
  for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
1336
- var c = l[u];
1337
- if (c.length === 0)
1371
+ var f = l[u];
1372
+ if (f.length === 0)
1338
1373
  throw new Error("Invalid number skeleton");
1339
1374
  }
1340
1375
  r.push({ stem: a, options: h });
1341
1376
  }
1342
1377
  return r;
1343
1378
  }
1344
- function En(e) {
1379
+ function Bn(e) {
1345
1380
  return e.replace(/^(.*?)-/, "");
1346
1381
  }
1347
- var ut = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Xt = /^(@+)?(\+|#+)?[rs]?$/g, Sn = /(\*)(0+)|(#+)(0+)|(0+)/g, Wt = /^(0+)$/;
1348
- function ht(e) {
1382
+ var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g, wn = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
1383
+ function pt(e) {
1349
1384
  var t = {};
1350
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Xt, function(r, n, i) {
1385
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qt, function(r, n, i) {
1351
1386
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1352
1387
  }), t;
1353
1388
  }
1354
- function zt(e) {
1389
+ function Jt(e) {
1355
1390
  switch (e) {
1356
1391
  case "sign-auto":
1357
1392
  return {
@@ -1391,7 +1426,7 @@ function zt(e) {
1391
1426
  };
1392
1427
  }
1393
1428
  }
1394
- function Tn(e) {
1429
+ function An(e) {
1395
1430
  var t;
1396
1431
  if (e[0] === "E" && e[1] === "E" ? (t = {
1397
1432
  notation: "engineering"
@@ -1399,17 +1434,17 @@ function Tn(e) {
1399
1434
  notation: "scientific"
1400
1435
  }, e = e.slice(1)), t) {
1401
1436
  var r = e.slice(0, 2);
1402
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Wt.test(e))
1437
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qt.test(e))
1403
1438
  throw new Error("Malformed concise eng/scientific notation");
1404
1439
  t.minimumIntegerDigits = e.length;
1405
1440
  }
1406
1441
  return t;
1407
1442
  }
1408
- function lt(e) {
1409
- var t = {}, r = zt(e);
1443
+ function dt(e) {
1444
+ var t = {}, r = Jt(e);
1410
1445
  return r || t;
1411
1446
  }
1412
- function Hn(e) {
1447
+ function Pn(e) {
1413
1448
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1414
1449
  var i = n[r];
1415
1450
  switch (i.stem) {
@@ -1433,7 +1468,7 @@ function Hn(e) {
1433
1468
  continue;
1434
1469
  case "measure-unit":
1435
1470
  case "unit":
1436
- t.style = "unit", t.unit = En(i.options[0]);
1471
+ t.style = "unit", t.unit = Bn(i.options[0]);
1437
1472
  continue;
1438
1473
  case "compact-short":
1439
1474
  case "K":
@@ -1444,13 +1479,13 @@ function Hn(e) {
1444
1479
  t.notation = "compact", t.compactDisplay = "long";
1445
1480
  continue;
1446
1481
  case "scientific":
1447
- t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1448
- return g(g({}, h), lt(u));
1482
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1483
+ return _(_({}, h), dt(u));
1449
1484
  }, {}));
1450
1485
  continue;
1451
1486
  case "engineering":
1452
- t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1453
- return g(g({}, h), lt(u));
1487
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1488
+ return _(_({}, h), dt(u));
1454
1489
  }, {}));
1455
1490
  continue;
1456
1491
  case "notation-simple":
@@ -1495,41 +1530,41 @@ function Hn(e) {
1495
1530
  case "integer-width":
1496
1531
  if (i.options.length > 1)
1497
1532
  throw new RangeError("integer-width stems only accept a single optional option");
1498
- i.options[0].replace(Sn, function(h, u, l, c, f, d) {
1533
+ i.options[0].replace(wn, function(h, u, l, f, c, p) {
1499
1534
  if (u)
1500
1535
  t.minimumIntegerDigits = l.length;
1501
1536
  else {
1502
- if (c && f)
1537
+ if (f && c)
1503
1538
  throw new Error("We currently do not support maximum integer digits");
1504
- if (d)
1539
+ if (p)
1505
1540
  throw new Error("We currently do not support exact integer digits");
1506
1541
  }
1507
1542
  return "";
1508
1543
  });
1509
1544
  continue;
1510
1545
  }
1511
- if (Wt.test(i.stem)) {
1546
+ if (qt.test(i.stem)) {
1512
1547
  t.minimumIntegerDigits = i.stem.length;
1513
1548
  continue;
1514
1549
  }
1515
- if (ut.test(i.stem)) {
1550
+ if (ft.test(i.stem)) {
1516
1551
  if (i.options.length > 1)
1517
1552
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1518
- i.stem.replace(ut, function(h, u, l, c, f, d) {
1519
- return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1553
+ i.stem.replace(ft, function(h, u, l, f, c, p) {
1554
+ return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1520
1555
  });
1521
1556
  var o = i.options[0];
1522
- o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), ht(o)));
1557
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), pt(o)));
1523
1558
  continue;
1524
1559
  }
1525
- if (Xt.test(i.stem)) {
1526
- t = g(g({}, t), ht(i.stem));
1560
+ if (Qt.test(i.stem)) {
1561
+ t = _(_({}, t), pt(i.stem));
1527
1562
  continue;
1528
1563
  }
1529
- var s = zt(i.stem);
1530
- s && (t = g(g({}, t), s));
1531
- var a = Tn(i.stem);
1532
- a && (t = g(g({}, t), a));
1564
+ var s = Jt(i.stem);
1565
+ s && (t = _(_({}, t), s));
1566
+ var a = An(i.stem);
1567
+ a && (t = _(_({}, t), a));
1533
1568
  }
1534
1569
  return t;
1535
1570
  }
@@ -2948,13 +2983,13 @@ var le = {
2948
2983
  "h"
2949
2984
  ]
2950
2985
  };
2951
- function Bn(e, t) {
2986
+ function On(e, t) {
2952
2987
  for (var r = "", n = 0; n < e.length; n++) {
2953
2988
  var i = e.charAt(n);
2954
2989
  if (i === "j") {
2955
2990
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2956
2991
  o++, n++;
2957
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = wn(t);
2992
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = In(t);
2958
2993
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2959
2994
  r += h;
2960
2995
  for (; s-- > 0; )
@@ -2964,7 +2999,7 @@ function Bn(e, t) {
2964
2999
  }
2965
3000
  return r;
2966
3001
  }
2967
- function wn(e) {
3002
+ function In(e) {
2968
3003
  var t = e.hourCycle;
2969
3004
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2970
3005
  e.hourCycles && // @ts-ignore
@@ -2986,20 +3021,20 @@ function wn(e) {
2986
3021
  var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
2987
3022
  return i[0];
2988
3023
  }
2989
- var Ae, An = new RegExp("^".concat(Vt.source, "*")), Pn = new RegExp("".concat(Vt.source, "*$"));
3024
+ var Ie, Ln = new RegExp("^".concat(Zt.source, "*")), Nn = new RegExp("".concat(Zt.source, "*$"));
2990
3025
  function b(e, t) {
2991
3026
  return { start: e, end: t };
2992
3027
  }
2993
- var On = !!String.prototype.startsWith && "_a".startsWith("a", 1), In = !!String.fromCodePoint, Ln = !!Object.fromEntries, Nn = !!String.prototype.codePointAt, Mn = !!String.prototype.trimStart, Cn = !!String.prototype.trimEnd, $n = !!Number.isSafeInteger, Rn = $n ? Number.isSafeInteger : function(e) {
3028
+ var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Cn = !!String.fromCodePoint, $n = !!Object.fromEntries, Rn = !!String.prototype.codePointAt, Un = !!String.prototype.trimStart, Gn = !!String.prototype.trimEnd, Dn = !!Number.isSafeInteger, Fn = Dn ? Number.isSafeInteger : function(e) {
2994
3029
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2995
- }, Ge = !0;
3030
+ }, Xe = !0;
2996
3031
  try {
2997
- var Un = Qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2998
- Ge = ((Ae = Un.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
3032
+ var jn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3033
+ Xe = ((Ie = jn.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
2999
3034
  } catch {
3000
- Ge = !1;
3035
+ Xe = !1;
3001
3036
  }
3002
- var ft = On ? (
3037
+ var mt = Mn ? (
3003
3038
  // Native
3004
3039
  function(t, r, n) {
3005
3040
  return t.startsWith(r, n);
@@ -3009,7 +3044,7 @@ var ft = On ? (
3009
3044
  function(t, r, n) {
3010
3045
  return t.slice(n, n + r.length) === r;
3011
3046
  }
3012
- ), Fe = In ? String.fromCodePoint : (
3047
+ ), We = Cn ? String.fromCodePoint : (
3013
3048
  // IE11
3014
3049
  function() {
3015
3050
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3021,9 +3056,9 @@ var ft = On ? (
3021
3056
  }
3022
3057
  return n;
3023
3058
  }
3024
- ), ct = (
3059
+ ), bt = (
3025
3060
  // native
3026
- Ln ? Object.fromEntries : (
3061
+ $n ? Object.fromEntries : (
3027
3062
  // Ponyfill
3028
3063
  function(t) {
3029
3064
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3033,7 +3068,7 @@ var ft = On ? (
3033
3068
  return r;
3034
3069
  }
3035
3070
  )
3036
- ), Zt = Nn ? (
3071
+ ), Yt = Rn ? (
3037
3072
  // Native
3038
3073
  function(t, r) {
3039
3074
  return t.codePointAt(r);
@@ -3047,7 +3082,7 @@ var ft = On ? (
3047
3082
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3048
3083
  }
3049
3084
  }
3050
- ), Dn = Mn ? (
3085
+ ), kn = Un ? (
3051
3086
  // Native
3052
3087
  function(t) {
3053
3088
  return t.trimStart();
@@ -3055,9 +3090,9 @@ var ft = On ? (
3055
3090
  ) : (
3056
3091
  // Ponyfill
3057
3092
  function(t) {
3058
- return t.replace(An, "");
3093
+ return t.replace(Ln, "");
3059
3094
  }
3060
- ), Gn = Cn ? (
3095
+ ), Vn = Gn ? (
3061
3096
  // Native
3062
3097
  function(t) {
3063
3098
  return t.trimEnd();
@@ -3065,32 +3100,32 @@ var ft = On ? (
3065
3100
  ) : (
3066
3101
  // Ponyfill
3067
3102
  function(t) {
3068
- return t.replace(Pn, "");
3103
+ return t.replace(Nn, "");
3069
3104
  }
3070
3105
  );
3071
- function Qt(e, t) {
3106
+ function Kt(e, t) {
3072
3107
  return new RegExp(e, t);
3073
3108
  }
3074
- var je;
3075
- if (Ge) {
3076
- var dt = Qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3077
- je = function(t, r) {
3109
+ var ze;
3110
+ if (Xe) {
3111
+ var gt = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3112
+ ze = function(t, r) {
3078
3113
  var n;
3079
- dt.lastIndex = r;
3080
- var i = dt.exec(t);
3114
+ gt.lastIndex = r;
3115
+ var i = gt.exec(t);
3081
3116
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3082
3117
  };
3083
3118
  } else
3084
- je = function(t, r) {
3119
+ ze = function(t, r) {
3085
3120
  for (var n = []; ; ) {
3086
- var i = Zt(t, r);
3087
- if (i === void 0 || qt(i) || Vn(i))
3121
+ var i = Yt(t, r);
3122
+ if (i === void 0 || er(i) || Zn(i))
3088
3123
  break;
3089
3124
  n.push(i), r += i >= 65536 ? 2 : 1;
3090
3125
  }
3091
- return Fe.apply(void 0, n);
3126
+ return We.apply(void 0, n);
3092
3127
  };
3093
- var Fn = (
3128
+ var Xn = (
3094
3129
  /** @class */
3095
3130
  function() {
3096
3131
  function e(t, r) {
@@ -3114,14 +3149,14 @@ var Fn = (
3114
3149
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3115
3150
  var a = this.clonePosition();
3116
3151
  this.bump(), i.push({
3117
- type: _.pound,
3152
+ type: v.pound,
3118
3153
  location: b(a, this.clonePosition())
3119
3154
  });
3120
3155
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3121
3156
  if (n)
3122
3157
  break;
3123
3158
  return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3124
- } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
3159
+ } else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
3125
3160
  var s = this.parseTag(t, r);
3126
3161
  if (s.err)
3127
3162
  return s;
@@ -3142,7 +3177,7 @@ var Fn = (
3142
3177
  if (this.bumpSpace(), this.bumpIf("/>"))
3143
3178
  return {
3144
3179
  val: {
3145
- type: _.literal,
3180
+ type: v.literal,
3146
3181
  value: "<".concat(i, "/>"),
3147
3182
  location: b(n, this.clonePosition())
3148
3183
  },
@@ -3154,12 +3189,12 @@ var Fn = (
3154
3189
  return o;
3155
3190
  var s = o.val, a = this.clonePosition();
3156
3191
  if (this.bumpIf("</")) {
3157
- if (this.isEOF() || !ke(this.char()))
3192
+ if (this.isEOF() || !Ze(this.char()))
3158
3193
  return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
3159
3194
  var h = this.clonePosition(), u = this.parseTagName();
3160
3195
  return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3161
3196
  val: {
3162
- type: _.tag,
3197
+ type: v.tag,
3163
3198
  value: i,
3164
3199
  children: s,
3165
3200
  location: b(n, this.clonePosition())
@@ -3172,7 +3207,7 @@ var Fn = (
3172
3207
  return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
3173
3208
  }, e.prototype.parseTagName = function() {
3174
3209
  var t = this.offset();
3175
- for (this.bump(); !this.isEOF() && kn(this.char()); )
3210
+ for (this.bump(); !this.isEOF() && zn(this.char()); )
3176
3211
  this.bump();
3177
3212
  return this.message.slice(t, this.offset());
3178
3213
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3196,12 +3231,12 @@ var Fn = (
3196
3231
  }
3197
3232
  var h = b(n, this.clonePosition());
3198
3233
  return {
3199
- val: { type: _.literal, value: i, location: h },
3234
+ val: { type: v.literal, value: i, location: h },
3200
3235
  err: null
3201
3236
  };
3202
3237
  }, e.prototype.tryParseLeftAngleBracket = function() {
3203
3238
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3204
- !jn(this.peek() || 0)) ? (this.bump(), "<") : null;
3239
+ !Wn(this.peek() || 0)) ? (this.bump(), "<") : null;
3205
3240
  }, e.prototype.tryParseQuote = function(t) {
3206
3241
  if (this.isEOF() || this.char() !== 39)
3207
3242
  return null;
@@ -3235,12 +3270,12 @@ var Fn = (
3235
3270
  r.push(n);
3236
3271
  this.bump();
3237
3272
  }
3238
- return Fe.apply(void 0, r);
3273
+ return We.apply(void 0, r);
3239
3274
  }, e.prototype.tryParseUnquoted = function(t, r) {
3240
3275
  if (this.isEOF())
3241
3276
  return null;
3242
3277
  var n = this.char();
3243
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
3278
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
3244
3279
  }, e.prototype.parseArgument = function(t, r) {
3245
3280
  var n = this.clonePosition();
3246
3281
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3256,7 +3291,7 @@ var Fn = (
3256
3291
  case 125:
3257
3292
  return this.bump(), {
3258
3293
  val: {
3259
- type: _.argument,
3294
+ type: v.argument,
3260
3295
  // value does not include the opening and closing braces.
3261
3296
  value: i,
3262
3297
  location: b(n, this.clonePosition())
@@ -3269,7 +3304,7 @@ var Fn = (
3269
3304
  return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3270
3305
  }
3271
3306
  }, e.prototype.parseIdentifierIfPossible = function() {
3272
- var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
3307
+ var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
3273
3308
  this.bumpTo(i);
3274
3309
  var o = this.clonePosition(), s = b(t, o);
3275
3310
  return { value: n, location: s };
@@ -3285,49 +3320,49 @@ var Fn = (
3285
3320
  var u = null;
3286
3321
  if (this.bumpIf(",")) {
3287
3322
  this.bumpSpace();
3288
- var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3289
- if (c.err)
3290
- return c;
3291
- var f = Gn(c.val);
3292
- if (f.length === 0)
3323
+ var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3324
+ if (f.err)
3325
+ return f;
3326
+ var c = Vn(f.val);
3327
+ if (c.length === 0)
3293
3328
  return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3294
- var d = b(l, this.clonePosition());
3295
- u = { style: f, styleLocation: d };
3329
+ var p = b(l, this.clonePosition());
3330
+ u = { style: c, styleLocation: p };
3296
3331
  }
3297
- var p = this.tryParseArgumentClose(i);
3298
- if (p.err)
3299
- return p;
3300
- var v = b(i, this.clonePosition());
3301
- if (u && ft(u?.style, "::", 0)) {
3302
- var H = Dn(u.style.slice(2));
3332
+ var d = this.tryParseArgumentClose(i);
3333
+ if (d.err)
3334
+ return d;
3335
+ var y = b(i, this.clonePosition());
3336
+ if (u && mt(u?.style, "::", 0)) {
3337
+ var H = kn(u.style.slice(2));
3303
3338
  if (a === "number") {
3304
- var c = this.parseNumberSkeletonFromString(H, u.styleLocation);
3305
- return c.err ? c : {
3306
- val: { type: _.number, value: n, location: v, style: c.val },
3339
+ var f = this.parseNumberSkeletonFromString(H, u.styleLocation);
3340
+ return f.err ? f : {
3341
+ val: { type: v.number, value: n, location: y, style: f.val },
3307
3342
  err: null
3308
3343
  };
3309
3344
  } else {
3310
3345
  if (H.length === 0)
3311
- return this.error(m.EXPECT_DATE_TIME_SKELETON, v);
3346
+ return this.error(m.EXPECT_DATE_TIME_SKELETON, y);
3312
3347
  var C = H;
3313
- this.locale && (C = Bn(H, this.locale));
3314
- var f = {
3315
- type: X.dateTime,
3348
+ this.locale && (C = On(H, this.locale));
3349
+ var c = {
3350
+ type: V.dateTime,
3316
3351
  pattern: C,
3317
3352
  location: u.styleLocation,
3318
- parsedOptions: this.shouldParseSkeletons ? vn(C) : {}
3319
- }, L = a === "date" ? _.date : _.time;
3353
+ parsedOptions: this.shouldParseSkeletons ? Sn(C) : {}
3354
+ }, L = a === "date" ? v.date : v.time;
3320
3355
  return {
3321
- val: { type: L, value: n, location: v, style: f },
3356
+ val: { type: L, value: n, location: y, style: c },
3322
3357
  err: null
3323
3358
  };
3324
3359
  }
3325
3360
  }
3326
3361
  return {
3327
3362
  val: {
3328
- type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3363
+ type: a === "number" ? v.number : a === "date" ? v.date : v.time,
3329
3364
  value: n,
3330
- location: v,
3365
+ location: y,
3331
3366
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3332
3367
  },
3333
3368
  err: null
@@ -3336,41 +3371,41 @@ var Fn = (
3336
3371
  case "plural":
3337
3372
  case "selectordinal":
3338
3373
  case "select": {
3339
- var E = this.clonePosition();
3374
+ var x = this.clonePosition();
3340
3375
  if (this.bumpSpace(), !this.bumpIf(","))
3341
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(E, g({}, E)));
3376
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(x, me({}, x)));
3342
3377
  this.bumpSpace();
3343
- var $ = this.parseIdentifierIfPossible(), A = 0;
3378
+ var $ = this.parseIdentifierIfPossible(), P = 0;
3344
3379
  if (a !== "select" && $.value === "offset") {
3345
3380
  if (!this.bumpIf(":"))
3346
3381
  return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3347
3382
  this.bumpSpace();
3348
- var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3349
- if (c.err)
3350
- return c;
3351
- this.bumpSpace(), $ = this.parseIdentifierIfPossible(), A = c.val;
3383
+ var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3384
+ if (f.err)
3385
+ return f;
3386
+ this.bumpSpace(), $ = this.parseIdentifierIfPossible(), P = f.val;
3352
3387
  }
3353
3388
  var U = this.tryParsePluralOrSelectOptions(t, a, r, $);
3354
3389
  if (U.err)
3355
3390
  return U;
3356
- var p = this.tryParseArgumentClose(i);
3357
- if (p.err)
3358
- return p;
3391
+ var d = this.tryParseArgumentClose(i);
3392
+ if (d.err)
3393
+ return d;
3359
3394
  var ae = b(i, this.clonePosition());
3360
3395
  return a === "select" ? {
3361
3396
  val: {
3362
- type: _.select,
3397
+ type: v.select,
3363
3398
  value: n,
3364
- options: ct(U.val),
3399
+ options: bt(U.val),
3365
3400
  location: ae
3366
3401
  },
3367
3402
  err: null
3368
3403
  } : {
3369
3404
  val: {
3370
- type: _.plural,
3405
+ type: v.plural,
3371
3406
  value: n,
3372
- options: ct(U.val),
3373
- offset: A,
3407
+ options: bt(U.val),
3408
+ offset: P,
3374
3409
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3375
3410
  location: ae
3376
3411
  },
@@ -3420,48 +3455,48 @@ var Fn = (
3420
3455
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3421
3456
  var n = [];
3422
3457
  try {
3423
- n = xn(t);
3458
+ n = Hn(t);
3424
3459
  } catch {
3425
3460
  return this.error(m.INVALID_NUMBER_SKELETON, r);
3426
3461
  }
3427
3462
  return {
3428
3463
  val: {
3429
- type: X.number,
3464
+ type: V.number,
3430
3465
  tokens: n,
3431
3466
  location: r,
3432
- parsedOptions: this.shouldParseSkeletons ? Hn(n) : {}
3467
+ parsedOptions: this.shouldParseSkeletons ? Pn(n) : {}
3433
3468
  },
3434
3469
  err: null
3435
3470
  };
3436
3471
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3437
3472
  for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3438
3473
  if (u.length === 0) {
3439
- var c = this.clonePosition();
3474
+ var f = this.clonePosition();
3440
3475
  if (r !== "select" && this.bumpIf("=")) {
3441
- var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
3442
- if (f.err)
3443
- return f;
3444
- l = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3476
+ var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
3477
+ if (c.err)
3478
+ return c;
3479
+ l = b(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3445
3480
  } else
3446
3481
  break;
3447
3482
  }
3448
3483
  if (h.has(u))
3449
3484
  return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3450
3485
  u === "other" && (s = !0), this.bumpSpace();
3451
- var d = this.clonePosition();
3486
+ var p = this.clonePosition();
3452
3487
  if (!this.bumpIf("{"))
3453
3488
  return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3454
- var p = this.parseMessage(t + 1, r, n);
3455
- if (p.err)
3456
- return p;
3457
- var v = this.tryParseArgumentClose(d);
3458
- if (v.err)
3459
- return v;
3489
+ var d = this.parseMessage(t + 1, r, n);
3490
+ if (d.err)
3491
+ return d;
3492
+ var y = this.tryParseArgumentClose(p);
3493
+ if (y.err)
3494
+ return y;
3460
3495
  a.push([
3461
3496
  u,
3462
3497
  {
3463
- value: p.val,
3464
- location: b(d, this.clonePosition())
3498
+ value: d.val,
3499
+ location: b(p, this.clonePosition())
3465
3500
  }
3466
3501
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3467
3502
  }
@@ -3477,7 +3512,7 @@ var Fn = (
3477
3512
  break;
3478
3513
  }
3479
3514
  var h = b(i, this.clonePosition());
3480
- return o ? (s *= n, Rn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3515
+ return o ? (s *= n, Fn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3481
3516
  }, e.prototype.offset = function() {
3482
3517
  return this.position.offset;
3483
3518
  }, e.prototype.isEOF = function() {
@@ -3492,7 +3527,7 @@ var Fn = (
3492
3527
  var t = this.position.offset;
3493
3528
  if (t >= this.message.length)
3494
3529
  throw Error("out of bound");
3495
- var r = Zt(this.message, t);
3530
+ var r = Yt(this.message, t);
3496
3531
  if (r === void 0)
3497
3532
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3498
3533
  return r;
@@ -3511,7 +3546,7 @@ var Fn = (
3511
3546
  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);
3512
3547
  }
3513
3548
  }, e.prototype.bumpIf = function(t) {
3514
- if (ft(this.message, t, this.offset())) {
3549
+ if (mt(this.message, t, this.offset())) {
3515
3550
  for (var r = 0; r < t.length; r++)
3516
3551
  this.bump();
3517
3552
  return !0;
@@ -3533,7 +3568,7 @@ var Fn = (
3533
3568
  break;
3534
3569
  }
3535
3570
  }, e.prototype.bumpSpace = function() {
3536
- for (; !this.isEOF() && qt(this.char()); )
3571
+ for (; !this.isEOF() && er(this.char()); )
3537
3572
  this.bump();
3538
3573
  }, e.prototype.peek = function() {
3539
3574
  if (this.isEOF())
@@ -3543,47 +3578,47 @@ var Fn = (
3543
3578
  }, e;
3544
3579
  }()
3545
3580
  );
3546
- function ke(e) {
3581
+ function Ze(e) {
3547
3582
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3548
3583
  }
3549
- function jn(e) {
3550
- return ke(e) || e === 47;
3584
+ function Wn(e) {
3585
+ return Ze(e) || e === 47;
3551
3586
  }
3552
- function kn(e) {
3587
+ function zn(e) {
3553
3588
  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;
3554
3589
  }
3555
- function qt(e) {
3590
+ function er(e) {
3556
3591
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3557
3592
  }
3558
- function Vn(e) {
3593
+ function Zn(e) {
3559
3594
  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;
3560
3595
  }
3561
- function Ve(e) {
3596
+ function Qe(e) {
3562
3597
  e.forEach(function(t) {
3563
- if (delete t.location, Gt(t) || Ft(t))
3598
+ if (delete t.location, Vt(t) || Xt(t))
3564
3599
  for (var r in t.options)
3565
- delete t.options[r].location, Ve(t.options[r].value);
3600
+ delete t.options[r].location, Qe(t.options[r].value);
3566
3601
  else
3567
- Rt(t) && kt(t.style) || (Ut(t) || Dt(t)) && De(t.style) ? delete t.style.location : jt(t) && Ve(t.children);
3602
+ Ft(t) && zt(t.style) || (jt(t) || kt(t)) && Ve(t.style) ? delete t.style.location : Wt(t) && Qe(t.children);
3568
3603
  });
3569
3604
  }
3570
- function Xn(e, t) {
3571
- t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3572
- var r = new Fn(e, t).parse();
3605
+ function Qn(e, t) {
3606
+ t === void 0 && (t = {}), t = me({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3607
+ var r = new Xn(e, t).parse();
3573
3608
  if (r.err) {
3574
3609
  var n = SyntaxError(m[r.err.kind]);
3575
3610
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3576
3611
  }
3577
- return t?.captureLocation || Ve(r.val), r.val;
3612
+ return t?.captureLocation || Qe(r.val), r.val;
3578
3613
  }
3579
- var W;
3614
+ var X;
3580
3615
  (function(e) {
3581
3616
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3582
- })(W || (W = {}));
3583
- var _e = (
3617
+ })(X || (X = {}));
3618
+ var xe = (
3584
3619
  /** @class */
3585
3620
  function(e) {
3586
- I(t, e);
3621
+ Ee(t, e);
3587
3622
  function t(r, n, i) {
3588
3623
  var o = e.call(this, r) || this;
3589
3624
  return o.code = n, o.originalMessage = i, o;
@@ -3592,155 +3627,155 @@ var _e = (
3592
3627
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3593
3628
  }, t;
3594
3629
  }(Error)
3595
- ), pt = (
3630
+ ), yt = (
3596
3631
  /** @class */
3597
3632
  function(e) {
3598
- I(t, e);
3633
+ Ee(t, e);
3599
3634
  function t(r, n, i, o) {
3600
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, o) || this;
3635
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, o) || this;
3601
3636
  }
3602
3637
  return t;
3603
- }(_e)
3604
- ), Wn = (
3638
+ }(xe)
3639
+ ), qn = (
3605
3640
  /** @class */
3606
3641
  function(e) {
3607
- I(t, e);
3642
+ Ee(t, e);
3608
3643
  function t(r, n, i) {
3609
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
3644
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
3610
3645
  }
3611
3646
  return t;
3612
- }(_e)
3613
- ), zn = (
3647
+ }(xe)
3648
+ ), Jn = (
3614
3649
  /** @class */
3615
3650
  function(e) {
3616
- I(t, e);
3651
+ Ee(t, e);
3617
3652
  function t(r, n) {
3618
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
3653
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
3619
3654
  }
3620
3655
  return t;
3621
- }(_e)
3622
- ), x;
3656
+ }(xe)
3657
+ ), E;
3623
3658
  (function(e) {
3624
3659
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3625
- })(x || (x = {}));
3626
- function Zn(e) {
3660
+ })(E || (E = {}));
3661
+ function Yn(e) {
3627
3662
  return e.length < 2 ? e : e.reduce(function(t, r) {
3628
3663
  var n = t[t.length - 1];
3629
- return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3664
+ return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3630
3665
  }, []);
3631
3666
  }
3632
- function Qn(e) {
3667
+ function Kn(e) {
3633
3668
  return typeof e == "function";
3634
3669
  }
3635
- function de(e, t, r, n, i, o, s) {
3636
- if (e.length === 1 && at(e[0]))
3670
+ function pe(e, t, r, n, i, o, s) {
3671
+ if (e.length === 1 && ct(e[0]))
3637
3672
  return [
3638
3673
  {
3639
- type: x.literal,
3674
+ type: E.literal,
3640
3675
  value: e[0].value
3641
3676
  }
3642
3677
  ];
3643
3678
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3644
3679
  var l = u[h];
3645
- if (at(l)) {
3680
+ if (ct(l)) {
3646
3681
  a.push({
3647
- type: x.literal,
3682
+ type: E.literal,
3648
3683
  value: l.value
3649
3684
  });
3650
3685
  continue;
3651
3686
  }
3652
- if (gn(l)) {
3687
+ if (En(l)) {
3653
3688
  typeof o == "number" && a.push({
3654
- type: x.literal,
3689
+ type: E.literal,
3655
3690
  value: r.getNumberFormat(t).format(o)
3656
3691
  });
3657
3692
  continue;
3658
3693
  }
3659
- var c = l.value;
3660
- if (!(i && c in i))
3661
- throw new zn(c, s);
3662
- var f = i[c];
3663
- if (bn(l)) {
3664
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3665
- type: typeof f == "string" ? x.literal : x.object,
3666
- value: f
3694
+ var f = l.value;
3695
+ if (!(i && f in i))
3696
+ throw new Jn(f, s);
3697
+ var c = i[f];
3698
+ if (_n(l)) {
3699
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3700
+ type: typeof c == "string" ? E.literal : E.object,
3701
+ value: c
3667
3702
  });
3668
3703
  continue;
3669
3704
  }
3670
- if (Ut(l)) {
3671
- var d = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
3705
+ if (jt(l)) {
3706
+ var p = typeof l.style == "string" ? n.date[l.style] : Ve(l.style) ? l.style.parsedOptions : void 0;
3672
3707
  a.push({
3673
- type: x.literal,
3674
- value: r.getDateTimeFormat(t, d).format(f)
3708
+ type: E.literal,
3709
+ value: r.getDateTimeFormat(t, p).format(c)
3675
3710
  });
3676
3711
  continue;
3677
3712
  }
3678
- if (Dt(l)) {
3679
- var d = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
3713
+ if (kt(l)) {
3714
+ var p = typeof l.style == "string" ? n.time[l.style] : Ve(l.style) ? l.style.parsedOptions : n.time.medium;
3680
3715
  a.push({
3681
- type: x.literal,
3682
- value: r.getDateTimeFormat(t, d).format(f)
3716
+ type: E.literal,
3717
+ value: r.getDateTimeFormat(t, p).format(c)
3683
3718
  });
3684
3719
  continue;
3685
3720
  }
3686
- if (Rt(l)) {
3687
- var d = typeof l.style == "string" ? n.number[l.style] : kt(l.style) ? l.style.parsedOptions : void 0;
3688
- d && d.scale && (f = f * (d.scale || 1)), a.push({
3689
- type: x.literal,
3690
- value: r.getNumberFormat(t, d).format(f)
3721
+ if (Ft(l)) {
3722
+ var p = typeof l.style == "string" ? n.number[l.style] : zt(l.style) ? l.style.parsedOptions : void 0;
3723
+ p && p.scale && (c = c * (p.scale || 1)), a.push({
3724
+ type: E.literal,
3725
+ value: r.getNumberFormat(t, p).format(c)
3691
3726
  });
3692
3727
  continue;
3693
3728
  }
3694
- if (jt(l)) {
3695
- var p = l.children, v = l.value, H = i[v];
3696
- if (!Qn(H))
3697
- throw new Wn(v, "function", s);
3698
- var C = de(p, t, r, n, i, o), L = H(C.map(function(A) {
3699
- return A.value;
3729
+ if (Wt(l)) {
3730
+ var d = l.children, y = l.value, H = i[y];
3731
+ if (!Kn(H))
3732
+ throw new qn(y, "function", s);
3733
+ var C = pe(d, t, r, n, i, o), L = H(C.map(function(P) {
3734
+ return P.value;
3700
3735
  }));
3701
- Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(A) {
3736
+ Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(P) {
3702
3737
  return {
3703
- type: typeof A == "string" ? x.literal : x.object,
3704
- value: A
3738
+ type: typeof P == "string" ? E.literal : E.object,
3739
+ value: P
3705
3740
  };
3706
3741
  }));
3707
3742
  }
3708
- if (Gt(l)) {
3709
- var E = l.options[f] || l.options.other;
3710
- if (!E)
3711
- throw new pt(l.value, f, Object.keys(l.options), s);
3712
- a.push.apply(a, de(E.value, t, r, n, i));
3743
+ if (Vt(l)) {
3744
+ var x = l.options[c] || l.options.other;
3745
+ if (!x)
3746
+ throw new yt(l.value, c, Object.keys(l.options), s);
3747
+ a.push.apply(a, pe(x.value, t, r, n, i));
3713
3748
  continue;
3714
3749
  }
3715
- if (Ft(l)) {
3716
- var E = l.options["=".concat(f)];
3717
- if (!E) {
3750
+ if (Xt(l)) {
3751
+ var x = l.options["=".concat(c)];
3752
+ if (!x) {
3718
3753
  if (!Intl.PluralRules)
3719
- throw new _e(`Intl.PluralRules is not available in this environment.
3754
+ throw new xe(`Intl.PluralRules is not available in this environment.
3720
3755
  Try polyfilling it using "@formatjs/intl-pluralrules"
3721
- `, W.MISSING_INTL_API, s);
3722
- var $ = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3723
- E = l.options[$] || l.options.other;
3756
+ `, X.MISSING_INTL_API, s);
3757
+ var $ = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3758
+ x = l.options[$] || l.options.other;
3724
3759
  }
3725
- if (!E)
3726
- throw new pt(l.value, f, Object.keys(l.options), s);
3727
- a.push.apply(a, de(E.value, t, r, n, i, f - (l.offset || 0)));
3760
+ if (!x)
3761
+ throw new yt(l.value, c, Object.keys(l.options), s);
3762
+ a.push.apply(a, pe(x.value, t, r, n, i, c - (l.offset || 0)));
3728
3763
  continue;
3729
3764
  }
3730
3765
  }
3731
- return Zn(a);
3766
+ return Yn(a);
3732
3767
  }
3733
- function qn(e, t) {
3734
- return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3735
- return r[n] = g(g({}, e[n]), t[n] || {}), r;
3768
+ function ei(e, t) {
3769
+ return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3770
+ return r[n] = A(A({}, e[n]), t[n] || {}), r;
3736
3771
  }, {})) : e;
3737
3772
  }
3738
- function Jn(e, t) {
3773
+ function ti(e, t) {
3739
3774
  return t ? Object.keys(e).reduce(function(r, n) {
3740
- return r[n] = qn(e[n], t[n]), r;
3741
- }, g({}, e)) : e;
3775
+ return r[n] = ei(e[n], t[n]), r;
3776
+ }, A({}, e)) : e;
3742
3777
  }
3743
- function Pe(e) {
3778
+ function Le(e) {
3744
3779
  return {
3745
3780
  create: function() {
3746
3781
  return {
@@ -3754,39 +3789,39 @@ function Pe(e) {
3754
3789
  }
3755
3790
  };
3756
3791
  }
3757
- function Yn(e) {
3792
+ function ri(e) {
3758
3793
  return e === void 0 && (e = {
3759
3794
  number: {},
3760
3795
  dateTime: {},
3761
3796
  pluralRules: {}
3762
3797
  }), {
3763
- getNumberFormat: Be(function() {
3798
+ getNumberFormat: Pe(function() {
3764
3799
  for (var t, r = [], n = 0; n < arguments.length; n++)
3765
3800
  r[n] = arguments[n];
3766
- return new ((t = Intl.NumberFormat).bind.apply(t, k([void 0], r, !1)))();
3801
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3767
3802
  }, {
3768
- cache: Pe(e.number),
3769
- strategy: we.variadic
3803
+ cache: Le(e.number),
3804
+ strategy: Oe.variadic
3770
3805
  }),
3771
- getDateTimeFormat: Be(function() {
3806
+ getDateTimeFormat: Pe(function() {
3772
3807
  for (var t, r = [], n = 0; n < arguments.length; n++)
3773
3808
  r[n] = arguments[n];
3774
- return new ((t = Intl.DateTimeFormat).bind.apply(t, k([void 0], r, !1)))();
3809
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3775
3810
  }, {
3776
- cache: Pe(e.dateTime),
3777
- strategy: we.variadic
3811
+ cache: Le(e.dateTime),
3812
+ strategy: Oe.variadic
3778
3813
  }),
3779
- getPluralRules: Be(function() {
3814
+ getPluralRules: Pe(function() {
3780
3815
  for (var t, r = [], n = 0; n < arguments.length; n++)
3781
3816
  r[n] = arguments[n];
3782
- return new ((t = Intl.PluralRules).bind.apply(t, k([void 0], r, !1)))();
3817
+ return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3783
3818
  }, {
3784
- cache: Pe(e.pluralRules),
3785
- strategy: we.variadic
3819
+ cache: Le(e.pluralRules),
3820
+ strategy: Oe.variadic
3786
3821
  })
3787
3822
  };
3788
3823
  }
3789
- var Kn = (
3824
+ var ni = (
3790
3825
  /** @class */
3791
3826
  function() {
3792
3827
  function e(t, r, n, i) {
@@ -3800,12 +3835,12 @@ var Kn = (
3800
3835
  var u = o.formatToParts(h);
3801
3836
  if (u.length === 1)
3802
3837
  return u[0].value;
3803
- var l = u.reduce(function(c, f) {
3804
- return !c.length || f.type !== x.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3838
+ var l = u.reduce(function(f, c) {
3839
+ return !f.length || c.type !== E.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3805
3840
  }, []);
3806
3841
  return l.length <= 1 ? l[0] || "" : l;
3807
3842
  }, this.formatToParts = function(h) {
3808
- return de(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3843
+ return pe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3809
3844
  }, this.resolvedOptions = function() {
3810
3845
  var h;
3811
3846
  return {
@@ -3818,13 +3853,13 @@ var Kn = (
3818
3853
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3819
3854
  var s = i || {};
3820
3855
  s.formatters;
3821
- var a = Or(s, ["formatters"]);
3822
- this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
3856
+ var a = fn(s, ["formatters"]);
3857
+ this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3823
3858
  } else
3824
3859
  this.ast = t;
3825
3860
  if (!Array.isArray(this.ast))
3826
3861
  throw new TypeError("A message must be provided as a String or AST.");
3827
- this.formats = Jn(e.formats, n), this.formatters = i && i.formatters || Yn(this.formatterCache);
3862
+ this.formats = ti(e.formats, n), this.formatters = i && i.formatters || ri(this.formatterCache);
3828
3863
  }
3829
3864
  return Object.defineProperty(e, "defaultLocale", {
3830
3865
  get: function() {
@@ -3837,7 +3872,7 @@ var Kn = (
3837
3872
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3838
3873
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3839
3874
  }
3840
- }, e.__parse = Xn, e.formats = {
3875
+ }, e.__parse = Qn, e.formats = {
3841
3876
  number: {
3842
3877
  integer: {
3843
3878
  maximumFractionDigits: 0
@@ -3898,7 +3933,7 @@ var Kn = (
3898
3933
  }, e;
3899
3934
  }()
3900
3935
  );
3901
- function ei(e, t) {
3936
+ function ii(e, t) {
3902
3937
  if (t == null)
3903
3938
  return;
3904
3939
  if (t in e)
@@ -3919,92 +3954,92 @@ function ei(e, t) {
3919
3954
  n = void 0;
3920
3955
  return n;
3921
3956
  }
3922
- const M = {}, ti = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), Jt = (e, t) => {
3957
+ const M = {}, oi = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), tr = (e, t) => {
3923
3958
  if (t == null)
3924
3959
  return;
3925
3960
  if (t in M && e in M[t])
3926
3961
  return M[t][e];
3927
- const r = xe(t);
3962
+ const r = Se(t);
3928
3963
  for (let n = 0; n < r.length; n++) {
3929
- const i = r[n], o = ni(i, e);
3964
+ const i = r[n], o = ai(i, e);
3930
3965
  if (o)
3931
- return ti(e, t, o);
3966
+ return oi(e, t, o);
3932
3967
  }
3933
3968
  };
3934
- let Qe;
3935
- const se = ve({});
3936
- function ri(e) {
3937
- return Qe[e] || null;
3969
+ let Ke;
3970
+ const se = _e({});
3971
+ function si(e) {
3972
+ return Ke[e] || null;
3938
3973
  }
3939
- function Yt(e) {
3940
- return e in Qe;
3974
+ function rr(e) {
3975
+ return e in Ke;
3941
3976
  }
3942
- function ni(e, t) {
3943
- if (!Yt(e))
3977
+ function ai(e, t) {
3978
+ if (!rr(e))
3944
3979
  return null;
3945
- const r = ri(e);
3946
- return ei(r, t);
3980
+ const r = si(e);
3981
+ return ii(r, t);
3947
3982
  }
3948
- function ii(e) {
3983
+ function ui(e) {
3949
3984
  if (e == null)
3950
3985
  return;
3951
- const t = xe(e);
3986
+ const t = Se(e);
3952
3987
  for (let r = 0; r < t.length; r++) {
3953
3988
  const n = t[r];
3954
- if (Yt(n))
3989
+ if (rr(n))
3955
3990
  return n;
3956
3991
  }
3957
3992
  }
3958
- function Kt(e, ...t) {
3959
- delete M[e], se.update((r) => (r[e] = un.all([r[e] || {}, ...t]), r));
3993
+ function nr(e, ...t) {
3994
+ delete M[e], se.update((r) => (r[e] = cn.all([r[e] || {}, ...t]), r));
3960
3995
  }
3961
- Q(
3996
+ Z(
3962
3997
  [se],
3963
3998
  ([e]) => Object.keys(e)
3964
3999
  );
3965
- se.subscribe((e) => Qe = e);
3966
- const pe = {};
3967
- function oi(e, t) {
3968
- pe[e].delete(t), pe[e].size === 0 && delete pe[e];
4000
+ se.subscribe((e) => Ke = e);
4001
+ const de = {};
4002
+ function hi(e, t) {
4003
+ de[e].delete(t), de[e].size === 0 && delete de[e];
3969
4004
  }
3970
- function er(e) {
3971
- return pe[e];
4005
+ function ir(e) {
4006
+ return de[e];
3972
4007
  }
3973
- function si(e) {
3974
- return xe(e).map((t) => {
3975
- const r = er(t);
4008
+ function li(e) {
4009
+ return Se(e).map((t) => {
4010
+ const r = ir(t);
3976
4011
  return [t, r ? [...r] : []];
3977
4012
  }).filter(([, t]) => t.length > 0);
3978
4013
  }
3979
- function Xe(e) {
3980
- return e == null ? !1 : xe(e).some(
4014
+ function qe(e) {
4015
+ return e == null ? !1 : Se(e).some(
3981
4016
  (t) => {
3982
4017
  var r;
3983
- return (r = er(t)) == null ? void 0 : r.size;
4018
+ return (r = ir(t)) == null ? void 0 : r.size;
3984
4019
  }
3985
4020
  );
3986
4021
  }
3987
- function ai(e, t) {
4022
+ function ci(e, t) {
3988
4023
  return Promise.all(
3989
- t.map((n) => (oi(e, n), n().then((i) => i.default || i)))
3990
- ).then((n) => Kt(e, ...n));
3991
- }
3992
- const K = {};
3993
- function tr(e) {
3994
- if (!Xe(e))
3995
- return e in K ? K[e] : Promise.resolve();
3996
- const t = si(e);
3997
- return K[e] = Promise.all(
4024
+ t.map((n) => (hi(e, n), n().then((i) => i.default || i)))
4025
+ ).then((n) => nr(e, ...n));
4026
+ }
4027
+ const Y = {};
4028
+ function or(e) {
4029
+ if (!qe(e))
4030
+ return e in Y ? Y[e] : Promise.resolve();
4031
+ const t = li(e);
4032
+ return Y[e] = Promise.all(
3998
4033
  t.map(
3999
- ([r, n]) => ai(r, n)
4034
+ ([r, n]) => ci(r, n)
4000
4035
  )
4001
4036
  ).then(() => {
4002
- if (Xe(e))
4003
- return tr(e);
4004
- delete K[e];
4005
- }), K[e];
4037
+ if (qe(e))
4038
+ return or(e);
4039
+ delete Y[e];
4040
+ }), Y[e];
4006
4041
  }
4007
- const ui = {
4042
+ const fi = {
4008
4043
  number: {
4009
4044
  scientific: { notation: "scientific" },
4010
4045
  engineering: { notation: "engineering" },
@@ -4033,135 +4068,135 @@ const ui = {
4033
4068
  timeZoneName: "short"
4034
4069
  }
4035
4070
  }
4036
- }, hi = {
4071
+ }, pi = {
4037
4072
  fallbackLocale: null,
4038
4073
  loadingDelay: 200,
4039
- formats: ui,
4074
+ formats: fi,
4040
4075
  warnOnMissingMessages: !0,
4041
4076
  handleMissingMessage: void 0,
4042
4077
  ignoreTag: !0
4043
- }, li = hi;
4044
- function z() {
4045
- return li;
4046
- }
4047
- const Oe = ve(!1);
4048
- var fi = Object.defineProperty, ci = Object.defineProperties, di = Object.getOwnPropertyDescriptors, mt = Object.getOwnPropertySymbols, pi = Object.prototype.hasOwnProperty, mi = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bi = (e, t) => {
4049
- for (var r in t)
4050
- pi.call(t, r) && bt(e, r, t[r]);
4051
- if (mt)
4052
- for (var r of mt(t))
4053
- mi.call(t, r) && bt(e, r, t[r]);
4078
+ }, di = pi;
4079
+ function W() {
4080
+ return di;
4081
+ }
4082
+ const Ne = _e(!1);
4083
+ var mi = Object.defineProperty, bi = Object.defineProperties, gi = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, yi = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _i = (e, t) => {
4084
+ for (var r in t || (t = {}))
4085
+ yi.call(t, r) && _t(e, r, t[r]);
4086
+ if (vt)
4087
+ for (var r of vt(t))
4088
+ vi.call(t, r) && _t(e, r, t[r]);
4054
4089
  return e;
4055
- }, gi = (e, t) => ci(e, di(t));
4056
- let We;
4057
- const me = ve(null);
4058
- function gt(e) {
4090
+ }, Ei = (e, t) => bi(e, gi(t));
4091
+ let Je;
4092
+ const be = _e(null);
4093
+ function Et(e) {
4059
4094
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4060
4095
  }
4061
- function xe(e, t = z().fallbackLocale) {
4062
- const r = gt(e);
4063
- return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
4096
+ function Se(e, t = W().fallbackLocale) {
4097
+ const r = Et(e);
4098
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
4064
4099
  }
4065
4100
  function R() {
4066
- return We ?? void 0;
4101
+ return Je ?? void 0;
4067
4102
  }
4068
- me.subscribe((e) => {
4069
- We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4103
+ be.subscribe((e) => {
4104
+ Je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4070
4105
  });
4071
- const yi = (e) => {
4072
- if (e && ii(e) && Xe(e)) {
4073
- const { loadingDelay: t } = z();
4106
+ const xi = (e) => {
4107
+ if (e && ui(e) && qe(e)) {
4108
+ const { loadingDelay: t } = W();
4074
4109
  let r;
4075
4110
  return typeof window < "u" && R() != null && t ? r = window.setTimeout(
4076
- () => Oe.set(!0),
4111
+ () => Ne.set(!0),
4077
4112
  t
4078
- ) : Oe.set(!0), tr(e).then(() => {
4079
- me.set(e);
4113
+ ) : Ne.set(!0), or(e).then(() => {
4114
+ be.set(e);
4080
4115
  }).finally(() => {
4081
- clearTimeout(r), Oe.set(!1);
4116
+ clearTimeout(r), Ne.set(!1);
4082
4117
  });
4083
4118
  }
4084
- return me.set(e);
4085
- }, q = gi(bi({}, me), {
4086
- set: yi
4087
- }), Ee = (e) => {
4119
+ return be.set(e);
4120
+ }, Q = Ei(_i({}, be), {
4121
+ set: xi
4122
+ }), Te = (e) => {
4088
4123
  const t = /* @__PURE__ */ Object.create(null);
4089
4124
  return (n) => {
4090
4125
  const i = JSON.stringify(n);
4091
4126
  return i in t ? t[i] : t[i] = e(n);
4092
4127
  };
4093
4128
  };
4094
- var vi = Object.defineProperty, be = Object.getOwnPropertySymbols, rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
4129
+ var Si = Object.defineProperty, ge = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
4095
4130
  for (var r in t || (t = {}))
4096
- rr.call(t, r) && yt(e, r, t[r]);
4097
- if (be)
4098
- for (var r of be(t))
4099
- nr.call(t, r) && yt(e, r, t[r]);
4131
+ sr.call(t, r) && xt(e, r, t[r]);
4132
+ if (ge)
4133
+ for (var r of ge(t))
4134
+ ar.call(t, r) && xt(e, r, t[r]);
4100
4135
  return e;
4101
- }, J = (e, t) => {
4136
+ }, q = (e, t) => {
4102
4137
  var r = {};
4103
4138
  for (var n in e)
4104
- rr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4105
- if (e != null && be)
4106
- for (var n of be(e))
4107
- t.indexOf(n) < 0 && nr.call(e, n) && (r[n] = e[n]);
4139
+ sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4140
+ if (e != null && ge)
4141
+ for (var n of ge(e))
4142
+ t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
4108
4143
  return r;
4109
4144
  };
4110
- const ne = (e, t) => {
4111
- const { formats: r } = z();
4145
+ const re = (e, t) => {
4146
+ const { formats: r } = W();
4112
4147
  if (e in r && t in r[e])
4113
4148
  return r[e][t];
4114
4149
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4115
- }, _i = Ee(
4150
+ }, Ti = Te(
4116
4151
  (e) => {
4117
- var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
4152
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4118
4153
  if (r == null)
4119
4154
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4120
- return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
4155
+ return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
4121
4156
  }
4122
- ), xi = Ee(
4157
+ ), Hi = Te(
4123
4158
  (e) => {
4124
- var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
4159
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4125
4160
  if (r == null)
4126
4161
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4127
- return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
4162
+ return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
4128
4163
  }
4129
- ), Ei = Ee(
4164
+ ), Bi = Te(
4130
4165
  (e) => {
4131
- var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
4166
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4132
4167
  if (r == null)
4133
4168
  throw new Error(
4134
4169
  '[svelte-i18n] A "locale" must be set to format time values'
4135
4170
  );
4136
- return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
4171
+ return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
4137
4172
  }
4138
- ), Si = (e = {}) => {
4173
+ ), wi = (e = {}) => {
4139
4174
  var t = e, {
4140
4175
  locale: r = R()
4141
- } = t, n = J(t, [
4176
+ } = t, n = q(t, [
4142
4177
  "locale"
4143
4178
  ]);
4144
- return _i(qe({ locale: r }, n));
4145
- }, Ti = (e = {}) => {
4179
+ return Ti(et({ locale: r }, n));
4180
+ }, Ai = (e = {}) => {
4146
4181
  var t = e, {
4147
4182
  locale: r = R()
4148
- } = t, n = J(t, [
4183
+ } = t, n = q(t, [
4149
4184
  "locale"
4150
4185
  ]);
4151
- return xi(qe({ locale: r }, n));
4152
- }, Hi = (e = {}) => {
4186
+ return Hi(et({ locale: r }, n));
4187
+ }, Pi = (e = {}) => {
4153
4188
  var t = e, {
4154
4189
  locale: r = R()
4155
- } = t, n = J(t, [
4190
+ } = t, n = q(t, [
4156
4191
  "locale"
4157
4192
  ]);
4158
- return Ei(qe({ locale: r }, n));
4159
- }, Bi = Ee(
4193
+ return Bi(et({ locale: r }, n));
4194
+ }, Oi = Te(
4160
4195
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4161
- (e, t = R()) => new Kn(e, t, z().formats, {
4162
- ignoreTag: z().ignoreTag
4196
+ (e, t = R()) => new ni(e, t, W().formats, {
4197
+ ignoreTag: W().ignoreTag
4163
4198
  })
4164
- ), wi = (e, t = {}) => {
4199
+ ), Ii = (e, t = {}) => {
4165
4200
  var r, n, i, o;
4166
4201
  let s = t;
4167
4202
  typeof e == "object" && (s = e, e = s.id);
@@ -4174,39 +4209,39 @@ const ne = (e, t) => {
4174
4209
  throw new Error(
4175
4210
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4176
4211
  );
4177
- let l = Jt(e, h);
4212
+ let l = tr(e, h);
4178
4213
  if (!l)
4179
- l = (o = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4214
+ l = (o = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4180
4215
  else if (typeof l != "string")
4181
4216
  return console.warn(
4182
4217
  `[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.`
4183
4218
  ), l;
4184
4219
  if (!a)
4185
4220
  return l;
4186
- let c = l;
4221
+ let f = l;
4187
4222
  try {
4188
- c = Bi(l, h).format(a);
4189
- } catch (f) {
4190
- f instanceof Error && console.warn(
4223
+ f = Oi(l, h).format(a);
4224
+ } catch (c) {
4225
+ c instanceof Error && console.warn(
4191
4226
  `[svelte-i18n] Message "${e}" has syntax error:`,
4192
- f.message
4227
+ c.message
4193
4228
  );
4194
4229
  }
4195
- return c;
4196
- }, Ai = (e, t) => Hi(t).format(e), Pi = (e, t) => Ti(t).format(e), Oi = (e, t) => Si(t).format(e), Ii = (e, t = R()) => Jt(e, t), Li = Q([q, se], () => wi);
4197
- Q([q], () => Ai);
4198
- Q([q], () => Pi);
4199
- Q([q], () => Oi);
4200
- Q([q, se], () => Ii);
4201
- window.emWidgets = { topic: Vr };
4202
- const Ni = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4203
- function vt(e, t) {
4230
+ return f;
4231
+ }, Li = (e, t) => Pi(t).format(e), Ni = (e, t) => Ai(t).format(e), Mi = (e, t) => wi(t).format(e), Ci = (e, t = R()) => tr(e, t), $i = Z([Q, se], () => Ii);
4232
+ Z([Q], () => Li);
4233
+ Z([Q], () => Ni);
4234
+ Z([Q], () => Mi);
4235
+ Z([Q, se], () => Ci);
4236
+ window.emWidgets = { topic: zr };
4237
+ const Ri = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4238
+ function St(e, t) {
4204
4239
  if (e) {
4205
4240
  const r = document.createElement("style");
4206
4241
  r.innerHTML = t, e.appendChild(r);
4207
4242
  }
4208
4243
  }
4209
- function Mi(e, t) {
4244
+ function Ui(e, t) {
4210
4245
  const r = new URL(t);
4211
4246
  fetch(r.href).then((n) => n.text()).then((n) => {
4212
4247
  const i = document.createElement("style");
@@ -4215,7 +4250,7 @@ function Mi(e, t) {
4215
4250
  console.error("There was an error while trying to load client styling from URL", n);
4216
4251
  });
4217
4252
  }
4218
- function Ci(e, t, r) {
4253
+ function Gi(e, t, r) {
4219
4254
  if (window.emMessageBus) {
4220
4255
  const n = document.createElement("style");
4221
4256
  window.emMessageBus.subscribe(t, (i) => {
@@ -4223,7 +4258,7 @@ function Ci(e, t, r) {
4223
4258
  });
4224
4259
  }
4225
4260
  }
4226
- const $i = (e, t = {}) => {
4261
+ const Di = (e, t = {}) => {
4227
4262
  const r = new CustomEvent("track-custom-event", {
4228
4263
  detail: {
4229
4264
  type: e,
@@ -4234,13 +4269,13 @@ const $i = (e, t = {}) => {
4234
4269
  });
4235
4270
  document.dispatchEvent(r);
4236
4271
  };
4237
- function _t(e, t) {
4238
- Kt(e, t);
4272
+ function Tt(e, t) {
4273
+ nr(e, t);
4239
4274
  }
4240
- function Ri(e) {
4241
- q.set(e);
4275
+ function Fi(e) {
4276
+ Q.set(e);
4242
4277
  }
4243
- const xt = {
4278
+ const Ht = {
4244
4279
  en: {
4245
4280
  logoutButton: "Logout"
4246
4281
  },
@@ -4275,20 +4310,20 @@ const xt = {
4275
4310
  logoutButton: "Logout"
4276
4311
  }
4277
4312
  };
4278
- function Ui(e) {
4279
- ur(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
4313
+ function ji(e) {
4314
+ fr(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
4280
4315
  }
4281
- function Di(e) {
4316
+ function ki(e) {
4282
4317
  let t, r, n, i = (
4283
4318
  /*$_*/
4284
4319
  e[2]("logoutButton") + ""
4285
4320
  ), o, s, a;
4286
4321
  return {
4287
4322
  c() {
4288
- t = P("div"), r = P("button"), n = P("span"), o = ge(i), S(t, "class", "GeneralLogout");
4323
+ t = O("div"), r = O("button"), n = O("span"), o = ye(i), S(t, "class", "GeneralLogout");
4289
4324
  },
4290
4325
  m(h, u) {
4291
- oe(h, t, u), T(t, r), T(r, n), T(n, o), s || (a = Ht(
4326
+ ie(h, t, u), T(t, r), T(r, n), T(n, o), s || (a = Pt(
4292
4327
  r,
4293
4328
  "click",
4294
4329
  /*click_handler_1*/
@@ -4298,19 +4333,19 @@ function Di(e) {
4298
4333
  p(h, u) {
4299
4334
  u & /*$_*/
4300
4335
  4 && i !== (i = /*$_*/
4301
- h[2]("logoutButton") + "") && Bt(o, i);
4336
+ h[2]("logoutButton") + "") && Ot(o, i);
4302
4337
  },
4303
4338
  d(h) {
4304
- h && Z(t), s = !1, a();
4339
+ h && z(t), s = !1, a();
4305
4340
  }
4306
4341
  };
4307
4342
  }
4308
- function Gi(e) {
4309
- let t, r, n, i, o, s, a, h, u, l, c, f = !/*isMobile*/
4310
- e[3] && Fi(e);
4343
+ function Vi(e) {
4344
+ let t, r, n, i, o, s, a, h, u, l, f, c = !/*isMobile*/
4345
+ e[3] && Xi(e);
4311
4346
  return {
4312
4347
  c() {
4313
- t = P("p"), r = P("span"), n = Y("svg"), i = Y("defs"), o = Y("style"), s = ge(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = Y("path"), h = Y("path"), u = fr(), f && f.c(), S(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), S(a, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), S(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), S(h, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), S(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), S(n, "data-name", "Layer 1"), S(n, "xmlns", "http://www.w3.org/2000/svg"), S(n, "viewBox", "0 0 150 150"), dr(r, "width", /*isMobile*/
4348
+ t = O("p"), r = O("span"), n = J("svg"), i = J("defs"), o = J("style"), s = ye(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = J("path"), h = J("path"), u = mr(), c && c.c(), S(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), S(a, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), S(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), S(h, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), S(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), S(n, "data-name", "Layer 1"), S(n, "xmlns", "http://www.w3.org/2000/svg"), S(n, "viewBox", "0 0 150 150"), gr(r, "width", /*isMobile*/
4314
4349
  e[3] ? (
4315
4350
  /*mediaQuery*/
4316
4351
  e[4].matches ? "20px" : "24px"
@@ -4319,60 +4354,60 @@ function Gi(e) {
4319
4354
  (e[4].matches && /*isMobile*/
4320
4355
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4321
4356
  },
4322
- m(d, p) {
4323
- oe(d, t, p), T(t, r), T(r, n), T(n, i), T(i, o), T(o, s), T(n, a), T(n, h), T(t, u), f && f.m(t, null), l || (c = Ht(
4357
+ m(p, d) {
4358
+ ie(p, t, d), T(t, r), T(r, n), T(n, i), T(i, o), T(o, s), T(n, a), T(n, h), T(t, u), c && c.m(t, null), l || (f = Pt(
4324
4359
  t,
4325
4360
  "click",
4326
4361
  /*click_handler*/
4327
4362
  e[13]
4328
4363
  ), l = !0);
4329
4364
  },
4330
- p(d, p) {
4365
+ p(p, d) {
4331
4366
  /*isMobile*/
4332
- d[3] || f.p(d, p);
4367
+ p[3] || c.p(p, d);
4333
4368
  },
4334
- d(d) {
4335
- d && Z(t), f && f.d(), l = !1, c();
4369
+ d(p) {
4370
+ p && z(t), c && c.d(), l = !1, f();
4336
4371
  }
4337
4372
  };
4338
4373
  }
4339
- function Fi(e) {
4374
+ function Xi(e) {
4340
4375
  let t, r = (
4341
4376
  /*$_*/
4342
4377
  e[2]("logoutButton") + ""
4343
4378
  ), n;
4344
4379
  return {
4345
4380
  c() {
4346
- t = P("span"), n = ge(r), S(t, "class", "PlayerLogoutText");
4381
+ t = O("span"), n = ye(r), S(t, "class", "PlayerLogoutText");
4347
4382
  },
4348
4383
  m(i, o) {
4349
- oe(i, t, o), T(t, n);
4384
+ ie(i, t, o), T(t, n);
4350
4385
  },
4351
4386
  p(i, o) {
4352
4387
  o & /*$_*/
4353
4388
  4 && r !== (r = /*$_*/
4354
- i[2]("logoutButton") + "") && Bt(n, r);
4389
+ i[2]("logoutButton") + "") && Ot(n, r);
4355
4390
  },
4356
4391
  d(i) {
4357
- i && Z(t);
4392
+ i && z(t);
4358
4393
  }
4359
4394
  };
4360
4395
  }
4361
- function ji(e) {
4396
+ function Wi(e) {
4362
4397
  let t;
4363
4398
  function r(o, s) {
4364
4399
  return (
4365
4400
  /*buttonlocation*/
4366
- o[0] === "PlayerAccountMenu" ? Gi : Di
4401
+ o[0] === "PlayerAccountMenu" ? Vi : ki
4367
4402
  );
4368
4403
  }
4369
4404
  let n = r(e), i = n(e);
4370
4405
  return {
4371
4406
  c() {
4372
- t = P("div"), i.c();
4407
+ t = O("div"), i.c();
4373
4408
  },
4374
4409
  m(o, s) {
4375
- oe(o, t, s), i.m(t, null), e[15](t);
4410
+ ie(o, t, s), i.m(t, null), e[15](t);
4376
4411
  },
4377
4412
  p(o, [s]) {
4378
4413
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
@@ -4380,82 +4415,82 @@ function ji(e) {
4380
4415
  i: B,
4381
4416
  o: B,
4382
4417
  d(o) {
4383
- o && Z(t), i.d(), e[15](null);
4418
+ o && z(t), i.d(), e[15](null);
4384
4419
  }
4385
4420
  };
4386
4421
  }
4387
- function ki(e, t, r) {
4422
+ function zi(e, t, r) {
4388
4423
  let n;
4389
- ar(e, Li, (y) => r(2, n = y));
4390
- let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, f = "", d = !1, p, v = window.navigator.userAgent, H = Ni(v) !== "PC";
4424
+ cr(e, $i, (g) => r(2, n = g));
4425
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, c = "", p = !1, d, y = window.navigator.userAgent, H = Ri(y) !== "PC";
4391
4426
  const C = window.matchMedia("(min-width: 768px)"), L = () => {
4392
- fetch(c).then((N) => N.json()).then((N) => {
4393
- Object.keys(N).forEach((Se) => {
4394
- _t(Se, N[Se]);
4427
+ fetch(f).then((N) => N.json()).then((N) => {
4428
+ Object.keys(N).forEach((He) => {
4429
+ Tt(He, N[He]);
4395
4430
  });
4396
4431
  }).catch((N) => {
4397
4432
  console.log(N);
4398
4433
  });
4399
4434
  };
4400
- Object.keys(xt).forEach((y) => {
4401
- _t(y, xt[y]);
4435
+ Object.keys(Ht).forEach((g) => {
4436
+ Tt(g, Ht[g]);
4402
4437
  });
4403
- const E = () => {
4404
- let y = new Headers();
4405
- y.append("Content-type", "application/json"), y.append("X-SessionID", o);
4406
- let N = { method: "DELETE", headers: y };
4407
- fetch(`${i}/v1/player/session/player`, N).then((Se) => {
4408
- window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), $i("logged_out", {});
4438
+ const x = () => {
4439
+ let g = new Headers();
4440
+ g.append("Content-type", "application/json"), g.append("X-SessionID", o);
4441
+ let N = { method: "DELETE", headers: g };
4442
+ fetch(`${i}/v1/player/session/player`, N).then((He) => {
4443
+ window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), Di("logged_out", {});
4409
4444
  });
4410
- }, $ = () => (i || (f = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", d = !0, console.error(f)), o || (f = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", d = !0, console.error(f)), d), A = () => {
4411
- Ri(a);
4445
+ }, $ = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", p = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", p = !0, console.error(c)), p), P = () => {
4446
+ Fi(a);
4412
4447
  };
4413
- br(() => () => {
4448
+ _r(() => () => {
4414
4449
  });
4415
- const U = () => E(), ae = () => E();
4416
- function or(y) {
4417
- Ie[y ? "unshift" : "push"](() => {
4418
- p = y, r(1, p);
4450
+ const U = () => x(), ae = () => x();
4451
+ function hr(g) {
4452
+ Me[g ? "unshift" : "push"](() => {
4453
+ d = g, r(1, d);
4419
4454
  });
4420
4455
  }
4421
- return e.$$set = (y) => {
4422
- "endpoint" in y && r(6, i = y.endpoint), "session" in y && r(7, o = y.session), "buttonlocation" in y && r(0, s = y.buttonlocation), "lang" in y && r(8, a = y.lang), "mbsource" in y && r(9, h = y.mbsource), "clientstyling" in y && r(10, u = y.clientstyling), "clientstylingurl" in y && r(11, l = y.clientstylingurl), "translationurl" in y && r(12, c = y.translationurl);
4456
+ return e.$$set = (g) => {
4457
+ "endpoint" in g && r(6, i = g.endpoint), "session" in g && r(7, o = g.session), "buttonlocation" in g && r(0, s = g.buttonlocation), "lang" in g && r(8, a = g.lang), "mbsource" in g && r(9, h = g.mbsource), "clientstyling" in g && r(10, u = g.clientstyling), "clientstylingurl" in g && r(11, l = g.clientstylingurl), "translationurl" in g && r(12, f = g.translationurl);
4423
4458
  }, e.$$.update = () => {
4424
4459
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4425
4460
  193 && i && o && s && $(), e.$$.dirty & /*lang*/
4426
- 256 && a && A(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4427
- 1026 && u && p && vt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4428
- 1026 && u && p && vt(p, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4429
- 2050 && l && p && Mi(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4430
- 514 && h && p && Ci(p, `${h}.Style`), e.$$.dirty & /*translationurl*/
4431
- 4096 && c && L();
4461
+ 256 && a && P(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4462
+ 1026 && u && d && St(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4463
+ 1026 && u && d && St(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4464
+ 2050 && l && d && Ui(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4465
+ 514 && h && d && Gi(d, `${h}.Style`), e.$$.dirty & /*translationurl*/
4466
+ 4096 && f && L();
4432
4467
  }, [
4433
4468
  s,
4434
- p,
4469
+ d,
4435
4470
  n,
4436
4471
  H,
4437
4472
  C,
4438
- E,
4473
+ x,
4439
4474
  i,
4440
4475
  o,
4441
4476
  a,
4442
4477
  h,
4443
4478
  u,
4444
4479
  l,
4445
- c,
4480
+ f,
4446
4481
  U,
4447
4482
  ae,
4448
- or
4483
+ hr
4449
4484
  ];
4450
4485
  }
4451
- class ir extends Ar {
4486
+ class ur extends Lr {
4452
4487
  constructor(t) {
4453
- super(), Br(
4488
+ super(), Or(
4454
4489
  this,
4455
4490
  t,
4456
- ki,
4457
- ji,
4458
- St,
4491
+ zi,
4492
+ Wi,
4493
+ wt,
4459
4494
  {
4460
4495
  endpoint: 6,
4461
4496
  session: 7,
@@ -4466,7 +4501,7 @@ class ir extends Ar {
4466
4501
  clientstylingurl: 11,
4467
4502
  translationurl: 12
4468
4503
  },
4469
- Ui
4504
+ ji
4470
4505
  );
4471
4506
  }
4472
4507
  get endpoint() {
@@ -4518,43 +4553,43 @@ class ir extends Ar {
4518
4553
  this.$$set({ translationurl: t }), w();
4519
4554
  }
4520
4555
  }
4521
- wr(ir, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4522
- const Zi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4556
+ Ir(ur, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4557
+ const Yi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4523
4558
  __proto__: null,
4524
- default: ir
4559
+ default: ur
4525
4560
  }, Symbol.toStringTag, { value: "Module" }));
4526
4561
  export {
4527
- q as $,
4528
- Ht as A,
4529
- ie as B,
4530
- Vi as C,
4531
- Li as D,
4532
- Zi as G,
4533
- Ar as S,
4534
- Kt as a,
4535
- ur as b,
4536
- wr as c,
4537
- oe as d,
4538
- P as e,
4562
+ Q as $,
4563
+ $i as A,
4564
+ St as B,
4565
+ Ui as C,
4566
+ Gi as D,
4567
+ Yi as G,
4568
+ Lr as S,
4569
+ nr as a,
4570
+ fr as b,
4571
+ Ir as c,
4572
+ z as d,
4573
+ ie as e,
4539
4574
  w as f,
4540
- Z as g,
4541
- ar as h,
4542
- Br as i,
4543
- Ni as j,
4544
- Ie as k,
4545
- vt as l,
4546
- Mi as m,
4575
+ O as g,
4576
+ cr as h,
4577
+ Or as i,
4578
+ Ri as j,
4579
+ Me as k,
4580
+ Ji as l,
4581
+ Qi as m,
4547
4582
  B as n,
4548
- br as o,
4549
- Ci as p,
4550
- zi as q,
4551
- fr as r,
4552
- St as s,
4553
- ge as t,
4554
- S as u,
4555
- T as v,
4556
- Bt as w,
4557
- Xi as x,
4558
- Wi as y,
4559
- Y as z
4583
+ _r as o,
4584
+ T as p,
4585
+ mr as q,
4586
+ qi as r,
4587
+ wt as s,
4588
+ S as t,
4589
+ Ot as u,
4590
+ ye as v,
4591
+ ne as w,
4592
+ Pt as x,
4593
+ J as y,
4594
+ Zi as z
4560
4595
  };