@everymatrix/player-account-notifications 1.87.26 → 1.87.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,48 +1,48 @@
1
1
  import "../stencil/ui-skeleton-W50o8tfg.js";
2
- function H() {
2
+ function T() {
3
3
  }
4
- function Bt(e) {
4
+ function Nt(e) {
5
5
  return e();
6
6
  }
7
- function et() {
7
+ function rt() {
8
8
  return /* @__PURE__ */ Object.create(null);
9
9
  }
10
- function ne(e) {
11
- e.forEach(Bt);
10
+ function ie(e) {
11
+ e.forEach(Nt);
12
12
  }
13
- function qe(e) {
13
+ function Ke(e) {
14
14
  return typeof e == "function";
15
15
  }
16
- function Ot(e, t) {
16
+ function It(e, t) {
17
17
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
18
18
  }
19
- let ae;
20
- function tt(e, t) {
21
- return e === t ? !0 : (ae || (ae = document.createElement("a")), ae.href = t, e === ae.href);
19
+ let he;
20
+ function nt(e, t) {
21
+ return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
22
22
  }
23
- function lr(e) {
23
+ function fr(e) {
24
24
  return Object.keys(e).length === 0;
25
25
  }
26
- function cr(e, ...t) {
26
+ function pr(e, ...t) {
27
27
  if (e == null) {
28
28
  for (const n of t)
29
29
  n(void 0);
30
- return H;
30
+ return T;
31
31
  }
32
32
  const r = e.subscribe(...t);
33
33
  return r.unsubscribe ? () => r.unsubscribe() : r;
34
34
  }
35
- function w(e, t) {
35
+ function A(e, t) {
36
36
  e.appendChild(t);
37
37
  }
38
- function fr(e, t, r) {
39
- const n = pr(e);
38
+ function dr(e, t, r) {
39
+ const n = mr(e);
40
40
  if (!n.getElementById(t)) {
41
- const i = T("style");
42
- i.id = t, i.textContent = r, mr(n, i);
41
+ const i = w("style");
42
+ i.id = t, i.textContent = r, br(n, i);
43
43
  }
44
44
  }
45
- function pr(e) {
45
+ function mr(e) {
46
46
  if (!e)
47
47
  return document;
48
48
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -52,50 +52,50 @@ function pr(e) {
52
52
  t
53
53
  ) : e.ownerDocument;
54
54
  }
55
- function mr(e, t) {
56
- return w(
55
+ function br(e, t) {
56
+ return A(
57
57
  /** @type {Document} */
58
58
  e.head || e,
59
59
  t
60
60
  ), t.sheet;
61
61
  }
62
- function M(e, t, r) {
62
+ function $(e, t, r) {
63
63
  e.insertBefore(t, r || null);
64
64
  }
65
- function I(e) {
65
+ function C(e) {
66
66
  e.parentNode && e.parentNode.removeChild(e);
67
67
  }
68
- function Nt(e, t) {
68
+ function Ct(e, t) {
69
69
  for (let r = 0; r < e.length; r += 1)
70
70
  e[r] && e[r].d(t);
71
71
  }
72
- function T(e) {
72
+ function w(e) {
73
73
  return document.createElement(e);
74
74
  }
75
- function It(e) {
75
+ function Lt(e) {
76
76
  return document.createTextNode(e);
77
77
  }
78
- function le() {
79
- return It(" ");
78
+ function fe() {
79
+ return Lt(" ");
80
80
  }
81
81
  function x(e, t, r) {
82
82
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
83
83
  }
84
- function V(e, t, r) {
84
+ function X(e, t, r) {
85
85
  const n = t.toLowerCase();
86
86
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : x(e, t, r);
87
87
  }
88
- function dr(e) {
88
+ function gr(e) {
89
89
  return Array.from(e.childNodes);
90
90
  }
91
- function br(e, t) {
91
+ function yr(e, t) {
92
92
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
93
93
  t);
94
94
  }
95
- function rt(e, t, r, n) {
95
+ function it(e, t, r, n) {
96
96
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
97
97
  }
98
- function gr(e) {
98
+ function vr(e) {
99
99
  const t = {};
100
100
  return e.childNodes.forEach(
101
101
  /** @param {Element} node */
@@ -104,98 +104,98 @@ function gr(e) {
104
104
  }
105
105
  ), t;
106
106
  }
107
- let ee;
108
- function K(e) {
109
- ee = e;
107
+ let te;
108
+ function ee(e) {
109
+ te = e;
110
110
  }
111
- function yr() {
112
- if (!ee)
111
+ function _r() {
112
+ if (!te)
113
113
  throw new Error("Function called outside component initialization");
114
- return ee;
114
+ return te;
115
115
  }
116
- function vr(e) {
117
- yr().$$.on_mount.push(e);
116
+ function xr(e) {
117
+ _r().$$.on_mount.push(e);
118
118
  }
119
- const k = [], Ce = [];
120
- let X = [];
121
- const nt = [], _r = /* @__PURE__ */ Promise.resolve();
122
- let Le = !1;
123
- function xr() {
124
- Le || (Le = !0, _r.then(B));
119
+ const k = [], Me = [];
120
+ let W = [];
121
+ const ot = [], Er = /* @__PURE__ */ Promise.resolve();
122
+ let $e = !1;
123
+ function Sr() {
124
+ $e || ($e = !0, Er.then(B));
125
125
  }
126
- function Me(e) {
127
- X.push(e);
126
+ function Re(e) {
127
+ W.push(e);
128
128
  }
129
- const He = /* @__PURE__ */ new Set();
129
+ const Ae = /* @__PURE__ */ new Set();
130
130
  let F = 0;
131
131
  function B() {
132
132
  if (F !== 0)
133
133
  return;
134
- const e = ee;
134
+ const e = te;
135
135
  do {
136
136
  try {
137
137
  for (; F < k.length; ) {
138
138
  const t = k[F];
139
- F++, K(t), Er(t.$$);
139
+ F++, ee(t), wr(t.$$);
140
140
  }
141
141
  } catch (t) {
142
142
  throw k.length = 0, F = 0, t;
143
143
  }
144
- for (K(null), k.length = 0, F = 0; Ce.length; )
145
- Ce.pop()();
146
- for (let t = 0; t < X.length; t += 1) {
147
- const r = X[t];
148
- He.has(r) || (He.add(r), r());
144
+ for (ee(null), k.length = 0, F = 0; Me.length; )
145
+ Me.pop()();
146
+ for (let t = 0; t < W.length; t += 1) {
147
+ const r = W[t];
148
+ Ae.has(r) || (Ae.add(r), r());
149
149
  }
150
- X.length = 0;
150
+ W.length = 0;
151
151
  } while (k.length);
152
- for (; nt.length; )
153
- nt.pop()();
154
- Le = !1, He.clear(), K(e);
152
+ for (; ot.length; )
153
+ ot.pop()();
154
+ $e = !1, Ae.clear(), ee(e);
155
155
  }
156
- function Er(e) {
156
+ function wr(e) {
157
157
  if (e.fragment !== null) {
158
- e.update(), ne(e.before_update);
158
+ e.update(), ie(e.before_update);
159
159
  const t = e.dirty;
160
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
160
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
161
161
  }
162
162
  }
163
- function Sr(e) {
163
+ function Tr(e) {
164
164
  const t = [], r = [];
165
- X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
165
+ W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
166
166
  }
167
- const Tr = /* @__PURE__ */ new Set();
168
- function Hr(e, t) {
169
- e && e.i && (Tr.delete(e), e.i(t));
167
+ const Hr = /* @__PURE__ */ new Set();
168
+ function Ar(e, t) {
169
+ e && e.i && (Hr.delete(e), e.i(t));
170
170
  }
171
- function de(e) {
171
+ function ge(e) {
172
172
  return e?.length !== void 0 ? e : Array.from(e);
173
173
  }
174
- function Ar(e, t, r) {
174
+ function Pr(e, t, r) {
175
175
  const { fragment: n, after_update: i } = e.$$;
176
- n && n.m(t, r), Me(() => {
177
- const o = e.$$.on_mount.map(Bt).filter(qe);
178
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
179
- }), i.forEach(Me);
176
+ n && n.m(t, r), Re(() => {
177
+ const o = e.$$.on_mount.map(Nt).filter(Ke);
178
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
179
+ }), i.forEach(Re);
180
180
  }
181
- function wr(e, t) {
181
+ function Br(e, t) {
182
182
  const r = e.$$;
183
- r.fragment !== null && (Sr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
183
+ r.fragment !== null && (Tr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
184
184
  }
185
- function Pr(e, t) {
186
- e.$$.dirty[0] === -1 && (k.push(e), xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
185
+ function Or(e, t) {
186
+ e.$$.dirty[0] === -1 && (k.push(e), Sr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
187
187
  }
188
- function Br(e, t, r, n, i, o, s = null, a = [-1]) {
189
- const h = ee;
190
- K(e);
188
+ function Nr(e, t, r, n, i, o, s = null, a = [-1]) {
189
+ const h = te;
190
+ ee(e);
191
191
  const u = e.$$ = {
192
192
  fragment: null,
193
193
  ctx: [],
194
194
  // state
195
195
  props: o,
196
- update: H,
196
+ update: T,
197
197
  not_equal: i,
198
- bound: et(),
198
+ bound: rt(),
199
199
  // lifecycle
200
200
  on_mount: [],
201
201
  on_destroy: [],
@@ -204,7 +204,7 @@ function Br(e, t, r, n, i, o, s = null, a = [-1]) {
204
204
  after_update: [],
205
205
  context: new Map(t.context || (h ? h.$$.context : [])),
206
206
  // everything else
207
- callbacks: et(),
207
+ callbacks: rt(),
208
208
  dirty: a,
209
209
  skip_bound: !1,
210
210
  root: t.target || h.$$.root
@@ -212,20 +212,20 @@ function Br(e, t, r, n, i, o, s = null, a = [-1]) {
212
212
  s && s(u.root);
213
213
  let l = !1;
214
214
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
215
- const d = m.length ? m[0] : f;
216
- return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), l && Pr(e, c)), f;
217
- }) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
215
+ const p = m.length ? m[0] : f;
216
+ return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), l && Or(e, c)), f;
217
+ }) : [], u.update(), l = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
218
218
  if (t.hydrate) {
219
- const c = dr(t.target);
220
- u.fragment && u.fragment.l(c), c.forEach(I);
219
+ const c = gr(t.target);
220
+ u.fragment && u.fragment.l(c), c.forEach(C);
221
221
  } else
222
222
  u.fragment && u.fragment.c();
223
- t.intro && Hr(e.$$.fragment), Ar(e, t.target, t.anchor), B();
223
+ t.intro && Ar(e.$$.fragment), Pr(e, t.target, t.anchor), B();
224
224
  }
225
- K(h);
225
+ ee(h);
226
226
  }
227
- let Ct;
228
- typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
227
+ let Mt;
228
+ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
229
229
  /** The Svelte component constructor */
230
230
  $$ctor;
231
231
  /** Slots */
@@ -267,29 +267,29 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
267
267
  let o;
268
268
  return {
269
269
  c: function() {
270
- o = T("slot"), i !== "default" && x(o, "name", i);
270
+ o = w("slot"), i !== "default" && x(o, "name", i);
271
271
  },
272
272
  /**
273
273
  * @param {HTMLElement} target
274
274
  * @param {HTMLElement} [anchor]
275
275
  */
276
276
  m: function(h, u) {
277
- M(h, o, u);
277
+ $(h, o, u);
278
278
  },
279
279
  d: function(h) {
280
- h && I(o);
280
+ h && C(o);
281
281
  }
282
282
  };
283
283
  };
284
284
  };
285
285
  if (await Promise.resolve(), !this.$$cn || this.$$c)
286
286
  return;
287
- const t = {}, r = gr(this);
287
+ const t = {}, r = vr(this);
288
288
  for (const i of this.$$s)
289
289
  i in r && (t[i] = [e(i)]);
290
290
  for (const i of this.attributes) {
291
291
  const o = this.$$g_p(i.name);
292
- o in this.$$d || (this.$$d[o] = ce(o, i.value, this.$$p_d, "toProp"));
292
+ o in this.$$d || (this.$$d[o] = pe(o, i.value, this.$$p_d, "toProp"));
293
293
  }
294
294
  for (const i in this.$$p_d)
295
295
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -307,7 +307,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
307
307
  this.$$r = !0;
308
308
  for (const i in this.$$p_d)
309
309
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
310
- const o = ce(
310
+ const o = pe(
311
311
  i,
312
312
  this.$$d[i],
313
313
  this.$$p_d,
@@ -329,7 +329,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
329
329
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
330
330
  // and setting attributes through setAttribute etc, this is helpful
331
331
  attributeChangedCallback(e, t, r) {
332
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ce(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
332
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = pe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
333
333
  }
334
334
  disconnectedCallback() {
335
335
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -342,7 +342,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
342
342
  ) || e;
343
343
  }
344
344
  });
345
- function ce(e, t, r, n) {
345
+ function pe(e, t, r, n) {
346
346
  const i = r[e]?.type;
347
347
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
348
348
  return t;
@@ -371,8 +371,8 @@ function ce(e, t, r, n) {
371
371
  return t;
372
372
  }
373
373
  }
374
- function Or(e, t, r, n, i, o) {
375
- let s = class extends Ct {
374
+ function Ir(e, t, r, n, i, o) {
375
+ let s = class extends Mt {
376
376
  constructor() {
377
377
  super(e, r, i), this.$$p_d = t;
378
378
  }
@@ -388,7 +388,7 @@ function Or(e, t, r, n, i, o) {
388
388
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
389
389
  },
390
390
  set(h) {
391
- h = ce(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
391
+ h = pe(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
392
392
  }
393
393
  });
394
394
  }), n.forEach((a) => {
@@ -400,7 +400,7 @@ function Or(e, t, r, n, i, o) {
400
400
  }), e.element = /** @type {any} */
401
401
  s, s;
402
402
  }
403
- class Nr {
403
+ class Cr {
404
404
  /**
405
405
  * ### PRIVATE API
406
406
  *
@@ -419,7 +419,7 @@ class Nr {
419
419
  $$set = void 0;
420
420
  /** @returns {void} */
421
421
  $destroy() {
422
- wr(this, 1), this.$destroy = H;
422
+ Br(this, 1), this.$destroy = T;
423
423
  }
424
424
  /**
425
425
  * @template {Extract<keyof Events, string>} K
@@ -428,8 +428,8 @@ class Nr {
428
428
  * @returns {() => void}
429
429
  */
430
430
  $on(t, r) {
431
- if (!qe(r))
432
- return H;
431
+ if (!Ke(r))
432
+ return T;
433
433
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
434
434
  return n.push(r), () => {
435
435
  const i = n.indexOf(r);
@@ -441,11 +441,11 @@ class Nr {
441
441
  * @returns {void}
442
442
  */
443
443
  $set(t) {
444
- this.$$set && !lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
444
+ this.$$set && !fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
445
445
  }
446
446
  }
447
- const Ir = "4";
448
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ir);
447
+ const Lr = "4";
448
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Lr);
449
449
  /*! *****************************************************************************
450
450
  Copyright (c) Microsoft Corporation.
451
451
 
@@ -460,24 +460,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
460
460
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
461
461
  PERFORMANCE OF THIS SOFTWARE.
462
462
  ***************************************************************************** */
463
- var $e = function(e, t) {
464
- return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
463
+ var Ue = function(e, t) {
464
+ return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
465
465
  r.__proto__ = n;
466
466
  } || function(r, n) {
467
467
  for (var i in n)
468
468
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
469
- }, $e(e, t);
469
+ }, Ue(e, t);
470
470
  };
471
- function ie(e, t) {
471
+ function oe(e, t) {
472
472
  if (typeof t != "function" && t !== null)
473
473
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
474
- $e(e, t);
474
+ Ue(e, t);
475
475
  function r() {
476
476
  this.constructor = e;
477
477
  }
478
478
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
479
479
  }
480
- function Re(e) {
480
+ function De(e) {
481
481
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
482
482
  if (r)
483
483
  return r.call(e);
@@ -489,7 +489,7 @@ function Re(e) {
489
489
  };
490
490
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
491
491
  }
492
- function Ue(e, t) {
492
+ function Ge(e, t) {
493
493
  var r = typeof Symbol == "function" && e[Symbol.iterator];
494
494
  if (!r)
495
495
  return e;
@@ -509,22 +509,22 @@ function Ue(e, t) {
509
509
  }
510
510
  return o;
511
511
  }
512
- function De(e, t, r) {
512
+ function Fe(e, t, r) {
513
513
  if (arguments.length === 2)
514
514
  for (var n = 0, i = t.length, o; n < i; n++)
515
515
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
516
516
  return e.concat(o || t);
517
517
  }
518
- function N(e) {
518
+ function I(e) {
519
519
  return typeof e == "function";
520
520
  }
521
- function Lt(e) {
521
+ function $t(e) {
522
522
  var t = function(n) {
523
523
  Error.call(n), n.stack = new Error().stack;
524
524
  }, r = e(t);
525
525
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
526
526
  }
527
- var Ae = Lt(function(e) {
527
+ var Pe = $t(function(e) {
528
528
  return function(r) {
529
529
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
530
530
  ` + r.map(function(n, i) {
@@ -533,13 +533,13 @@ var Ae = Lt(function(e) {
533
533
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
534
534
  };
535
535
  });
536
- function Ge(e, t) {
536
+ function je(e, t) {
537
537
  if (e) {
538
538
  var r = e.indexOf(t);
539
539
  0 <= r && e.splice(r, 1);
540
540
  }
541
541
  }
542
- var ve = function() {
542
+ var xe = function() {
543
543
  function e(t) {
544
544
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
545
545
  }
@@ -551,12 +551,12 @@ var ve = function() {
551
551
  if (s)
552
552
  if (this._parentage = null, Array.isArray(s))
553
553
  try {
554
- for (var a = Re(s), h = a.next(); !h.done; h = a.next()) {
554
+ for (var a = De(s), h = a.next(); !h.done; h = a.next()) {
555
555
  var u = h.value;
556
556
  u.remove(this);
557
557
  }
558
- } catch (p) {
559
- t = { error: p };
558
+ } catch (d) {
559
+ t = { error: d };
560
560
  } finally {
561
561
  try {
562
562
  h && !h.done && (r = a.return) && r.call(a);
@@ -568,26 +568,26 @@ var ve = function() {
568
568
  else
569
569
  s.remove(this);
570
570
  var l = this.initialTeardown;
571
- if (N(l))
571
+ if (I(l))
572
572
  try {
573
573
  l();
574
- } catch (p) {
575
- o = p instanceof Ae ? p.errors : [p];
574
+ } catch (d) {
575
+ o = d instanceof Pe ? d.errors : [d];
576
576
  }
577
577
  var c = this._finalizers;
578
578
  if (c) {
579
579
  this._finalizers = null;
580
580
  try {
581
- for (var f = Re(c), m = f.next(); !m.done; m = f.next()) {
582
- var d = m.value;
581
+ for (var f = De(c), m = f.next(); !m.done; m = f.next()) {
582
+ var p = m.value;
583
583
  try {
584
- it(d);
585
- } catch (p) {
586
- o = o ?? [], p instanceof Ae ? o = De(De([], Ue(o)), Ue(p.errors)) : o.push(p);
584
+ st(p);
585
+ } catch (d) {
586
+ o = o ?? [], d instanceof Pe ? o = Fe(Fe([], Ge(o)), Ge(d.errors)) : o.push(d);
587
587
  }
588
588
  }
589
- } catch (p) {
590
- n = { error: p };
589
+ } catch (d) {
590
+ n = { error: d };
591
591
  } finally {
592
592
  try {
593
593
  m && !m.done && (i = f.return) && i.call(f);
@@ -598,13 +598,13 @@ var ve = function() {
598
598
  }
599
599
  }
600
600
  if (o)
601
- throw new Ae(o);
601
+ throw new Pe(o);
602
602
  }
603
603
  }, e.prototype.add = function(t) {
604
604
  var r;
605
605
  if (t && t !== this)
606
606
  if (this.closed)
607
- it(t);
607
+ st(t);
608
608
  else {
609
609
  if (t instanceof e) {
610
610
  if (t.closed || t._hasParent(this))
@@ -621,52 +621,52 @@ var ve = function() {
621
621
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
622
622
  }, e.prototype._removeParent = function(t) {
623
623
  var r = this._parentage;
624
- r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
624
+ r === t ? this._parentage = null : Array.isArray(r) && je(r, t);
625
625
  }, e.prototype.remove = function(t) {
626
626
  var r = this._finalizers;
627
- r && Ge(r, t), t instanceof e && t._removeParent(this);
627
+ r && je(r, t), t instanceof e && t._removeParent(this);
628
628
  }, e.EMPTY = function() {
629
629
  var t = new e();
630
630
  return t.closed = !0, t;
631
631
  }(), e;
632
- }(), Mt = ve.EMPTY;
633
- function $t(e) {
634
- return e instanceof ve || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
632
+ }(), Rt = xe.EMPTY;
633
+ function Ut(e) {
634
+ return e instanceof xe || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
635
635
  }
636
- function it(e) {
637
- N(e) ? e() : e.unsubscribe();
636
+ function st(e) {
637
+ I(e) ? e() : e.unsubscribe();
638
638
  }
639
- var Cr = {
639
+ var Mr = {
640
640
  Promise: void 0
641
- }, Lr = {
641
+ }, $r = {
642
642
  setTimeout: function(e, t) {
643
643
  for (var r = [], n = 2; n < arguments.length; n++)
644
644
  r[n - 2] = arguments[n];
645
- return setTimeout.apply(void 0, De([e, t], Ue(r)));
645
+ return setTimeout.apply(void 0, Fe([e, t], Ge(r)));
646
646
  },
647
647
  clearTimeout: function(e) {
648
648
  return clearTimeout(e);
649
649
  },
650
650
  delegate: void 0
651
651
  };
652
- function Mr(e) {
653
- Lr.setTimeout(function() {
652
+ function Rr(e) {
653
+ $r.setTimeout(function() {
654
654
  throw e;
655
655
  });
656
656
  }
657
- function ot() {
657
+ function at() {
658
658
  }
659
- function fe(e) {
659
+ function de(e) {
660
660
  e();
661
661
  }
662
- var Rt = function(e) {
663
- ie(t, e);
662
+ var Dt = function(e) {
663
+ oe(t, e);
664
664
  function t(r) {
665
665
  var n = e.call(this) || this;
666
- return n.isStopped = !1, r ? (n.destination = r, $t(r) && r.add(n)) : n.destination = Ur, n;
666
+ return n.isStopped = !1, r ? (n.destination = r, Ut(r) && r.add(n)) : n.destination = Gr, n;
667
667
  }
668
668
  return t.create = function(r, n, i) {
669
- return new Fe(r, n, i);
669
+ return new ke(r, n, i);
670
670
  }, t.prototype.next = function(r) {
671
671
  this.isStopped || this._next(r);
672
672
  }, t.prototype.error = function(r) {
@@ -690,7 +690,7 @@ var Rt = function(e) {
690
690
  this.unsubscribe();
691
691
  }
692
692
  }, t;
693
- }(ve), $r = function() {
693
+ }(xe), Ur = function() {
694
694
  function e(t) {
695
695
  this.partialObserver = t;
696
696
  }
@@ -700,7 +700,7 @@ var Rt = function(e) {
700
700
  try {
701
701
  r.next(t);
702
702
  } catch (n) {
703
- ue(n);
703
+ le(n);
704
704
  }
705
705
  }, e.prototype.error = function(t) {
706
706
  var r = this.partialObserver;
@@ -708,56 +708,56 @@ var Rt = function(e) {
708
708
  try {
709
709
  r.error(t);
710
710
  } catch (n) {
711
- ue(n);
711
+ le(n);
712
712
  }
713
713
  else
714
- ue(t);
714
+ le(t);
715
715
  }, e.prototype.complete = function() {
716
716
  var t = this.partialObserver;
717
717
  if (t.complete)
718
718
  try {
719
719
  t.complete();
720
720
  } catch (r) {
721
- ue(r);
721
+ le(r);
722
722
  }
723
723
  }, e;
724
- }(), Fe = function(e) {
725
- ie(t, e);
724
+ }(), ke = function(e) {
725
+ oe(t, e);
726
726
  function t(r, n, i) {
727
727
  var o = e.call(this) || this, s;
728
- return N(r) || !r ? s = {
728
+ return I(r) || !r ? s = {
729
729
  next: r ?? void 0,
730
730
  error: n ?? void 0,
731
731
  complete: i ?? void 0
732
- } : s = r, o.destination = new $r(s), o;
732
+ } : s = r, o.destination = new Ur(s), o;
733
733
  }
734
734
  return t;
735
- }(Rt);
736
- function ue(e) {
737
- Mr(e);
735
+ }(Dt);
736
+ function le(e) {
737
+ Rr(e);
738
738
  }
739
- function Rr(e) {
739
+ function Dr(e) {
740
740
  throw e;
741
741
  }
742
- var Ur = {
742
+ var Gr = {
743
743
  closed: !0,
744
- next: ot,
745
- error: Rr,
746
- complete: ot
747
- }, Dr = function() {
744
+ next: at,
745
+ error: Dr,
746
+ complete: at
747
+ }, Fr = function() {
748
748
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
749
749
  }();
750
- function Gr(e) {
750
+ function jr(e) {
751
751
  return e;
752
752
  }
753
- function Fr(e) {
754
- return e.length === 0 ? Gr : e.length === 1 ? e[0] : function(r) {
753
+ function kr(e) {
754
+ return e.length === 0 ? jr : e.length === 1 ? e[0] : function(r) {
755
755
  return e.reduce(function(n, i) {
756
756
  return i(n);
757
757
  }, r);
758
758
  };
759
759
  }
760
- var st = function() {
760
+ var ut = function() {
761
761
  function e(t) {
762
762
  t && (this._subscribe = t);
763
763
  }
@@ -765,8 +765,8 @@ var st = function() {
765
765
  var r = new e();
766
766
  return r.source = this, r.operator = t, r;
767
767
  }, e.prototype.subscribe = function(t, r, n) {
768
- var i = this, o = kr(t) ? t : new Fe(t, r, n);
769
- return fe(function() {
768
+ var i = this, o = Xr(t) ? t : new ke(t, r, n);
769
+ return de(function() {
770
770
  var s = i, a = s.operator, h = s.source;
771
771
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
772
772
  }), o;
@@ -778,8 +778,8 @@ var st = function() {
778
778
  }
779
779
  }, e.prototype.forEach = function(t, r) {
780
780
  var n = this;
781
- return r = at(r), new r(function(i, o) {
782
- var s = new Fe({
781
+ return r = ht(r), new r(function(i, o) {
782
+ var s = new ke({
783
783
  next: function(a) {
784
784
  try {
785
785
  t(a);
@@ -795,15 +795,15 @@ var st = function() {
795
795
  }, e.prototype._subscribe = function(t) {
796
796
  var r;
797
797
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
798
- }, e.prototype[Dr] = function() {
798
+ }, e.prototype[Fr] = function() {
799
799
  return this;
800
800
  }, e.prototype.pipe = function() {
801
801
  for (var t = [], r = 0; r < arguments.length; r++)
802
802
  t[r] = arguments[r];
803
- return Fr(t)(this);
803
+ return kr(t)(this);
804
804
  }, e.prototype.toPromise = function(t) {
805
805
  var r = this;
806
- return t = at(t), new t(function(n, i) {
806
+ return t = ht(t), new t(function(n, i) {
807
807
  var o;
808
808
  r.subscribe(function(s) {
809
809
  return o = s;
@@ -817,40 +817,40 @@ var st = function() {
817
817
  return new e(t);
818
818
  }, e;
819
819
  }();
820
- function at(e) {
820
+ function ht(e) {
821
821
  var t;
822
- return (t = e ?? Cr.Promise) !== null && t !== void 0 ? t : Promise;
822
+ return (t = e ?? Mr.Promise) !== null && t !== void 0 ? t : Promise;
823
823
  }
824
- function jr(e) {
825
- return e && N(e.next) && N(e.error) && N(e.complete);
824
+ function Vr(e) {
825
+ return e && I(e.next) && I(e.error) && I(e.complete);
826
826
  }
827
- function kr(e) {
828
- return e && e instanceof Rt || jr(e) && $t(e);
827
+ function Xr(e) {
828
+ return e && e instanceof Dt || Vr(e) && Ut(e);
829
829
  }
830
- var Vr = Lt(function(e) {
830
+ var Wr = $t(function(e) {
831
831
  return function() {
832
832
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
833
833
  };
834
- }), Ut = function(e) {
835
- ie(t, e);
834
+ }), Gt = function(e) {
835
+ oe(t, e);
836
836
  function t() {
837
837
  var r = e.call(this) || this;
838
838
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
839
839
  }
840
840
  return t.prototype.lift = function(r) {
841
- var n = new ut(this, this);
841
+ var n = new lt(this, this);
842
842
  return n.operator = r, n;
843
843
  }, t.prototype._throwIfClosed = function() {
844
844
  if (this.closed)
845
- throw new Vr();
845
+ throw new Wr();
846
846
  }, t.prototype.next = function(r) {
847
847
  var n = this;
848
- fe(function() {
848
+ de(function() {
849
849
  var i, o;
850
850
  if (n._throwIfClosed(), !n.isStopped) {
851
851
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
852
852
  try {
853
- for (var s = Re(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
853
+ for (var s = De(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
854
854
  var h = a.value;
855
855
  h.next(r);
856
856
  }
@@ -868,7 +868,7 @@ var Vr = Lt(function(e) {
868
868
  });
869
869
  }, t.prototype.error = function(r) {
870
870
  var n = this;
871
- fe(function() {
871
+ de(function() {
872
872
  if (n._throwIfClosed(), !n.isStopped) {
873
873
  n.hasError = n.isStopped = !0, n.thrownError = r;
874
874
  for (var i = n.observers; i.length; )
@@ -877,7 +877,7 @@ var Vr = Lt(function(e) {
877
877
  });
878
878
  }, t.prototype.complete = function() {
879
879
  var r = this;
880
- fe(function() {
880
+ de(function() {
881
881
  if (r._throwIfClosed(), !r.isStopped) {
882
882
  r.isStopped = !0;
883
883
  for (var n = r.observers; n.length; )
@@ -899,20 +899,20 @@ var Vr = Lt(function(e) {
899
899
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
900
900
  }, t.prototype._innerSubscribe = function(r) {
901
901
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
902
- return o || s ? Mt : (this.currentObservers = null, a.push(r), new ve(function() {
903
- n.currentObservers = null, Ge(a, r);
902
+ return o || s ? Rt : (this.currentObservers = null, a.push(r), new xe(function() {
903
+ n.currentObservers = null, je(a, r);
904
904
  }));
905
905
  }, t.prototype._checkFinalizedStatuses = function(r) {
906
906
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
907
907
  i ? r.error(o) : s && r.complete();
908
908
  }, t.prototype.asObservable = function() {
909
- var r = new st();
909
+ var r = new ut();
910
910
  return r.source = this, r;
911
911
  }, t.create = function(r, n) {
912
- return new ut(r, n);
912
+ return new lt(r, n);
913
913
  }, t;
914
- }(st), ut = function(e) {
915
- ie(t, e);
914
+ }(ut), lt = function(e) {
915
+ oe(t, e);
916
916
  function t(r, n) {
917
917
  var i = e.call(this) || this;
918
918
  return i.destination = r, i.source = n, i;
@@ -928,17 +928,17 @@ var Vr = Lt(function(e) {
928
928
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
929
929
  }, t.prototype._subscribe = function(r) {
930
930
  var n, i;
931
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mt;
931
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Rt;
932
932
  }, t;
933
- }(Ut), Dt = {
933
+ }(Gt), Ft = {
934
934
  now: function() {
935
- return (Dt.delegate || Date).now();
935
+ return (Ft.delegate || Date).now();
936
936
  },
937
937
  delegate: void 0
938
- }, Xr = function(e) {
939
- ie(t, e);
938
+ }, zr = function(e) {
939
+ oe(t, e);
940
940
  function t(r, n, i) {
941
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dt);
941
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ft);
942
942
  var o = e.call(this) || this;
943
943
  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;
944
944
  }
@@ -958,24 +958,24 @@ var Vr = Lt(function(e) {
958
958
  u && o.splice(0, u + 1);
959
959
  }
960
960
  }, t;
961
- }(Ut);
962
- const ht = [], lt = {}, Wr = (e, t = 0) => {
963
- if (ht.indexOf(e) == -1) {
964
- const r = new Xr(t);
965
- lt[e] = r, ht.push(e);
961
+ }(Gt);
962
+ const ct = [], ft = {}, Zr = (e, t = 0) => {
963
+ if (ct.indexOf(e) == -1) {
964
+ const r = new zr(t);
965
+ ft[e] = r, ct.push(e);
966
966
  }
967
- return lt[e];
967
+ return ft[e];
968
968
  }, j = [];
969
- function zr(e, t) {
969
+ function Qr(e, t) {
970
970
  return {
971
- subscribe: _e(e, t).subscribe
971
+ subscribe: Ee(e, t).subscribe
972
972
  };
973
973
  }
974
- function _e(e, t = H) {
974
+ function Ee(e, t = T) {
975
975
  let r;
976
976
  const n = /* @__PURE__ */ new Set();
977
977
  function i(a) {
978
- if (Ot(e, a) && (e = a, r)) {
978
+ if (It(e, a) && (e = a, r)) {
979
979
  const h = !j.length;
980
980
  for (const u of n)
981
981
  u[1](), j.push(u, e);
@@ -989,131 +989,131 @@ function _e(e, t = H) {
989
989
  function o(a) {
990
990
  i(a(e));
991
991
  }
992
- function s(a, h = H) {
992
+ function s(a, h = T) {
993
993
  const u = [a, h];
994
- return n.add(u), n.size === 1 && (r = t(i, o) || H), a(e), () => {
994
+ return n.add(u), n.size === 1 && (r = t(i, o) || T), a(e), () => {
995
995
  n.delete(u), n.size === 0 && r && (r(), r = null);
996
996
  };
997
997
  }
998
998
  return { set: i, update: o, subscribe: s };
999
999
  }
1000
- function J(e, t, r) {
1000
+ function Y(e, t, r) {
1001
1001
  const n = !Array.isArray(e), i = n ? [e] : e;
1002
1002
  if (!i.every(Boolean))
1003
1003
  throw new Error("derived() expects stores as input, got a falsy value");
1004
1004
  const o = t.length < 2;
1005
- return zr(r, (s, a) => {
1005
+ return Qr(r, (s, a) => {
1006
1006
  let h = !1;
1007
1007
  const u = [];
1008
- let l = 0, c = H;
1008
+ let l = 0, c = T;
1009
1009
  const f = () => {
1010
1010
  if (l)
1011
1011
  return;
1012
1012
  c();
1013
- const d = t(n ? u[0] : u, s, a);
1014
- o ? s(d) : c = qe(d) ? d : H;
1013
+ const p = t(n ? u[0] : u, s, a);
1014
+ o ? s(p) : c = Ke(p) ? p : T;
1015
1015
  }, m = i.map(
1016
- (d, p) => cr(
1017
- d,
1016
+ (p, d) => pr(
1017
+ p,
1018
1018
  (S) => {
1019
- u[p] = S, l &= ~(1 << p), h && f();
1019
+ u[d] = S, l &= ~(1 << d), h && f();
1020
1020
  },
1021
1021
  () => {
1022
- l |= 1 << p;
1022
+ l |= 1 << d;
1023
1023
  }
1024
1024
  )
1025
1025
  );
1026
1026
  return h = !0, f(), function() {
1027
- ne(m), c(), h = !1;
1027
+ ie(m), c(), h = !1;
1028
1028
  };
1029
1029
  });
1030
1030
  }
1031
- function Zr(e) {
1031
+ function Jr(e) {
1032
1032
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1033
1033
  }
1034
- var Qr = function(t) {
1035
- return Jr(t) && !qr(t);
1034
+ var Yr = function(t) {
1035
+ return qr(t) && !Kr(t);
1036
1036
  };
1037
- function Jr(e) {
1037
+ function qr(e) {
1038
1038
  return !!e && typeof e == "object";
1039
1039
  }
1040
- function qr(e) {
1040
+ function Kr(e) {
1041
1041
  var t = Object.prototype.toString.call(e);
1042
- return t === "[object RegExp]" || t === "[object Date]" || en(e);
1042
+ return t === "[object RegExp]" || t === "[object Date]" || rn(e);
1043
1043
  }
1044
- var Yr = typeof Symbol == "function" && Symbol.for, Kr = Yr ? Symbol.for("react.element") : 60103;
1045
- function en(e) {
1046
- return e.$$typeof === Kr;
1044
+ var en = typeof Symbol == "function" && Symbol.for, tn = en ? Symbol.for("react.element") : 60103;
1045
+ function rn(e) {
1046
+ return e.$$typeof === tn;
1047
1047
  }
1048
- function tn(e) {
1048
+ function nn(e) {
1049
1049
  return Array.isArray(e) ? [] : {};
1050
1050
  }
1051
- function te(e, t) {
1052
- return t.clone !== !1 && t.isMergeableObject(e) ? W(tn(e), e, t) : e;
1051
+ function re(e, t) {
1052
+ return t.clone !== !1 && t.isMergeableObject(e) ? z(nn(e), e, t) : e;
1053
1053
  }
1054
- function rn(e, t, r) {
1054
+ function on(e, t, r) {
1055
1055
  return e.concat(t).map(function(n) {
1056
- return te(n, r);
1056
+ return re(n, r);
1057
1057
  });
1058
1058
  }
1059
- function nn(e, t) {
1059
+ function sn(e, t) {
1060
1060
  if (!t.customMerge)
1061
- return W;
1061
+ return z;
1062
1062
  var r = t.customMerge(e);
1063
- return typeof r == "function" ? r : W;
1063
+ return typeof r == "function" ? r : z;
1064
1064
  }
1065
- function on(e) {
1065
+ function an(e) {
1066
1066
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1067
1067
  return Object.propertyIsEnumerable.call(e, t);
1068
1068
  }) : [];
1069
1069
  }
1070
- function ct(e) {
1071
- return Object.keys(e).concat(on(e));
1070
+ function pt(e) {
1071
+ return Object.keys(e).concat(an(e));
1072
1072
  }
1073
- function Gt(e, t) {
1073
+ function jt(e, t) {
1074
1074
  try {
1075
1075
  return t in e;
1076
1076
  } catch {
1077
1077
  return !1;
1078
1078
  }
1079
1079
  }
1080
- function sn(e, t) {
1081
- return Gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1080
+ function un(e, t) {
1081
+ return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1082
1082
  }
1083
- function an(e, t, r) {
1083
+ function hn(e, t, r) {
1084
1084
  var n = {};
1085
- return r.isMergeableObject(e) && ct(e).forEach(function(i) {
1086
- n[i] = te(e[i], r);
1087
- }), ct(t).forEach(function(i) {
1088
- sn(e, i) || (Gt(e, i) && r.isMergeableObject(t[i]) ? n[i] = nn(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
1085
+ return r.isMergeableObject(e) && pt(e).forEach(function(i) {
1086
+ n[i] = re(e[i], r);
1087
+ }), pt(t).forEach(function(i) {
1088
+ un(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = sn(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
1089
1089
  }), n;
1090
1090
  }
1091
- function W(e, t, r) {
1092
- r = r || {}, r.arrayMerge = r.arrayMerge || rn, r.isMergeableObject = r.isMergeableObject || Qr, r.cloneUnlessOtherwiseSpecified = te;
1091
+ function z(e, t, r) {
1092
+ r = r || {}, r.arrayMerge = r.arrayMerge || on, r.isMergeableObject = r.isMergeableObject || Yr, r.cloneUnlessOtherwiseSpecified = re;
1093
1093
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1094
- return o ? n ? r.arrayMerge(e, t, r) : an(e, t, r) : te(t, r);
1094
+ return o ? n ? r.arrayMerge(e, t, r) : hn(e, t, r) : re(t, r);
1095
1095
  }
1096
- W.all = function(t, r) {
1096
+ z.all = function(t, r) {
1097
1097
  if (!Array.isArray(t))
1098
1098
  throw new Error("first argument should be an array");
1099
1099
  return t.reduce(function(n, i) {
1100
- return W(n, i, r);
1100
+ return z(n, i, r);
1101
1101
  }, {});
1102
1102
  };
1103
- var un = W, hn = un;
1104
- const ln = /* @__PURE__ */ Zr(hn);
1105
- var je = function(e, t) {
1106
- return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1103
+ var ln = z, cn = ln;
1104
+ const fn = /* @__PURE__ */ Jr(cn);
1105
+ var Ve = function(e, t) {
1106
+ return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1107
1107
  r.__proto__ = n;
1108
1108
  } || function(r, n) {
1109
1109
  for (var i in n)
1110
1110
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1111
- }, je(e, t);
1111
+ }, Ve(e, t);
1112
1112
  };
1113
- function xe(e, t) {
1113
+ function Se(e, t) {
1114
1114
  if (typeof t != "function" && t !== null)
1115
1115
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1116
- je(e, t);
1116
+ Ve(e, t);
1117
1117
  function r() {
1118
1118
  this.constructor = e;
1119
1119
  }
@@ -1129,7 +1129,7 @@ var O = function() {
1129
1129
  return t;
1130
1130
  }, O.apply(this, arguments);
1131
1131
  };
1132
- function cn(e, t) {
1132
+ function pn(e, t) {
1133
1133
  var r = {};
1134
1134
  for (var n in e)
1135
1135
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1138,43 +1138,43 @@ function cn(e, t) {
1138
1138
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1139
1139
  return r;
1140
1140
  }
1141
- function we(e, t, r) {
1141
+ function Be(e, t, r) {
1142
1142
  if (r || arguments.length === 2)
1143
1143
  for (var n = 0, i = t.length, o; n < i; n++)
1144
1144
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1145
1145
  return e.concat(o || Array.prototype.slice.call(t));
1146
1146
  }
1147
- function Pe(e, t) {
1148
- var r = t && t.cache ? t.cache : yn, n = t && t.serializer ? t.serializer : bn, i = t && t.strategy ? t.strategy : mn;
1147
+ function Oe(e, t) {
1148
+ var r = t && t.cache ? t.cache : _n, n = t && t.serializer ? t.serializer : yn, i = t && t.strategy ? t.strategy : bn;
1149
1149
  return i(e, {
1150
1150
  cache: r,
1151
1151
  serializer: n
1152
1152
  });
1153
1153
  }
1154
- function fn(e) {
1154
+ function dn(e) {
1155
1155
  return e == null || typeof e == "number" || typeof e == "boolean";
1156
1156
  }
1157
- function pn(e, t, r, n) {
1158
- var i = fn(n) ? n : r(n), o = t.get(i);
1157
+ function mn(e, t, r, n) {
1158
+ var i = dn(n) ? n : r(n), o = t.get(i);
1159
1159
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1160
1160
  }
1161
- function Ft(e, t, r) {
1161
+ function kt(e, t, r) {
1162
1162
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1163
1163
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1164
1164
  }
1165
- function jt(e, t, r, n, i) {
1165
+ function Vt(e, t, r, n, i) {
1166
1166
  return r.bind(t, e, n, i);
1167
1167
  }
1168
- function mn(e, t) {
1169
- var r = e.length === 1 ? pn : Ft;
1170
- return jt(e, this, r, t.cache.create(), t.serializer);
1168
+ function bn(e, t) {
1169
+ var r = e.length === 1 ? mn : kt;
1170
+ return Vt(e, this, r, t.cache.create(), t.serializer);
1171
1171
  }
1172
- function dn(e, t) {
1173
- return jt(e, this, Ft, t.cache.create(), t.serializer);
1172
+ function gn(e, t) {
1173
+ return Vt(e, this, kt, t.cache.create(), t.serializer);
1174
1174
  }
1175
- var bn = function() {
1175
+ var yn = function() {
1176
1176
  return JSON.stringify(arguments);
1177
- }, gn = (
1177
+ }, vn = (
1178
1178
  /** @class */
1179
1179
  function() {
1180
1180
  function e() {
@@ -1186,21 +1186,21 @@ var bn = function() {
1186
1186
  this.cache[t] = r;
1187
1187
  }, e;
1188
1188
  }()
1189
- ), yn = {
1189
+ ), _n = {
1190
1190
  create: function() {
1191
- return new gn();
1191
+ return new vn();
1192
1192
  }
1193
- }, Be = {
1194
- variadic: dn
1195
- }, be = function() {
1196
- return be = Object.assign || function(t) {
1193
+ }, Ne = {
1194
+ variadic: gn
1195
+ }, ye = function() {
1196
+ return ye = Object.assign || function(t) {
1197
1197
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1198
1198
  r = arguments[n];
1199
1199
  for (var o in r)
1200
1200
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1201
1201
  }
1202
1202
  return t;
1203
- }, be.apply(this, arguments);
1203
+ }, ye.apply(this, arguments);
1204
1204
  };
1205
1205
  var b;
1206
1206
  (function(e) {
@@ -1210,47 +1210,47 @@ var v;
1210
1210
  (function(e) {
1211
1211
  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";
1212
1212
  })(v || (v = {}));
1213
- var z;
1213
+ var Z;
1214
1214
  (function(e) {
1215
1215
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1216
- })(z || (z = {}));
1217
- function ft(e) {
1216
+ })(Z || (Z = {}));
1217
+ function dt(e) {
1218
1218
  return e.type === v.literal;
1219
1219
  }
1220
- function vn(e) {
1220
+ function xn(e) {
1221
1221
  return e.type === v.argument;
1222
1222
  }
1223
- function kt(e) {
1223
+ function Xt(e) {
1224
1224
  return e.type === v.number;
1225
1225
  }
1226
- function Vt(e) {
1226
+ function Wt(e) {
1227
1227
  return e.type === v.date;
1228
1228
  }
1229
- function Xt(e) {
1229
+ function zt(e) {
1230
1230
  return e.type === v.time;
1231
1231
  }
1232
- function Wt(e) {
1232
+ function Zt(e) {
1233
1233
  return e.type === v.select;
1234
1234
  }
1235
- function zt(e) {
1235
+ function Qt(e) {
1236
1236
  return e.type === v.plural;
1237
1237
  }
1238
- function _n(e) {
1238
+ function En(e) {
1239
1239
  return e.type === v.pound;
1240
1240
  }
1241
- function Zt(e) {
1241
+ function Jt(e) {
1242
1242
  return e.type === v.tag;
1243
1243
  }
1244
- function Qt(e) {
1245
- return !!(e && typeof e == "object" && e.type === z.number);
1244
+ function Yt(e) {
1245
+ return !!(e && typeof e == "object" && e.type === Z.number);
1246
1246
  }
1247
- function ke(e) {
1248
- return !!(e && typeof e == "object" && e.type === z.dateTime);
1247
+ function Xe(e) {
1248
+ return !!(e && typeof e == "object" && e.type === Z.dateTime);
1249
1249
  }
1250
- var Jt = /[ \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;
1251
- function En(e) {
1250
+ var qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[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;
1251
+ function wn(e) {
1252
1252
  var t = {};
1253
- return e.replace(xn, function(r) {
1253
+ return e.replace(Sn, function(r) {
1254
1254
  var n = r.length;
1255
1255
  switch (r[0]) {
1256
1256
  case "G":
@@ -1349,11 +1349,11 @@ var _ = function() {
1349
1349
  return t;
1350
1350
  }, _.apply(this, arguments);
1351
1351
  };
1352
- var Sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1353
- function Tn(e) {
1352
+ var Tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1353
+ function Hn(e) {
1354
1354
  if (e.length === 0)
1355
1355
  throw new Error("Number skeleton cannot be empty");
1356
- for (var t = e.split(Sn).filter(function(f) {
1356
+ for (var t = e.split(Tn).filter(function(f) {
1357
1357
  return f.length > 0;
1358
1358
  }), r = [], n = 0, i = t; n < i.length; n++) {
1359
1359
  var o = i[n], s = o.split("/");
@@ -1368,17 +1368,17 @@ function Tn(e) {
1368
1368
  }
1369
1369
  return r;
1370
1370
  }
1371
- function Hn(e) {
1371
+ function An(e) {
1372
1372
  return e.replace(/^(.*?)-/, "");
1373
1373
  }
1374
- var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qt = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
1375
- function mt(e) {
1374
+ var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Pn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
1375
+ function bt(e) {
1376
1376
  var t = {};
1377
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qt, function(r, n, i) {
1377
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
1378
1378
  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)), "";
1379
1379
  }), t;
1380
1380
  }
1381
- function Kt(e) {
1381
+ function tr(e) {
1382
1382
  switch (e) {
1383
1383
  case "sign-auto":
1384
1384
  return {
@@ -1418,7 +1418,7 @@ function Kt(e) {
1418
1418
  };
1419
1419
  }
1420
1420
  }
1421
- function wn(e) {
1421
+ function Bn(e) {
1422
1422
  var t;
1423
1423
  if (e[0] === "E" && e[1] === "E" ? (t = {
1424
1424
  notation: "engineering"
@@ -1426,17 +1426,17 @@ function wn(e) {
1426
1426
  notation: "scientific"
1427
1427
  }, e = e.slice(1)), t) {
1428
1428
  var r = e.slice(0, 2);
1429
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yt.test(e))
1429
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
1430
1430
  throw new Error("Malformed concise eng/scientific notation");
1431
1431
  t.minimumIntegerDigits = e.length;
1432
1432
  }
1433
1433
  return t;
1434
1434
  }
1435
- function dt(e) {
1436
- var t = {}, r = Kt(e);
1435
+ function gt(e) {
1436
+ var t = {}, r = tr(e);
1437
1437
  return r || t;
1438
1438
  }
1439
- function Pn(e) {
1439
+ function On(e) {
1440
1440
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1441
1441
  var i = n[r];
1442
1442
  switch (i.stem) {
@@ -1460,7 +1460,7 @@ function Pn(e) {
1460
1460
  continue;
1461
1461
  case "measure-unit":
1462
1462
  case "unit":
1463
- t.style = "unit", t.unit = Hn(i.options[0]);
1463
+ t.style = "unit", t.unit = An(i.options[0]);
1464
1464
  continue;
1465
1465
  case "compact-short":
1466
1466
  case "K":
@@ -1472,12 +1472,12 @@ function Pn(e) {
1472
1472
  continue;
1473
1473
  case "scientific":
1474
1474
  t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1475
- return _(_({}, h), dt(u));
1475
+ return _(_({}, h), gt(u));
1476
1476
  }, {}));
1477
1477
  continue;
1478
1478
  case "engineering":
1479
1479
  t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1480
- return _(_({}, h), dt(u));
1480
+ return _(_({}, h), gt(u));
1481
1481
  }, {}));
1482
1482
  continue;
1483
1483
  case "notation-simple":
@@ -1522,7 +1522,7 @@ function Pn(e) {
1522
1522
  case "integer-width":
1523
1523
  if (i.options.length > 1)
1524
1524
  throw new RangeError("integer-width stems only accept a single optional option");
1525
- i.options[0].replace(An, function(h, u, l, c, f, m) {
1525
+ i.options[0].replace(Pn, function(h, u, l, c, f, m) {
1526
1526
  if (u)
1527
1527
  t.minimumIntegerDigits = l.length;
1528
1528
  else {
@@ -1535,32 +1535,32 @@ function Pn(e) {
1535
1535
  });
1536
1536
  continue;
1537
1537
  }
1538
- if (Yt.test(i.stem)) {
1538
+ if (er.test(i.stem)) {
1539
1539
  t.minimumIntegerDigits = i.stem.length;
1540
1540
  continue;
1541
1541
  }
1542
- if (pt.test(i.stem)) {
1542
+ if (mt.test(i.stem)) {
1543
1543
  if (i.options.length > 1)
1544
1544
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1545
- i.stem.replace(pt, function(h, u, l, c, f, m) {
1545
+ i.stem.replace(mt, function(h, u, l, c, f, m) {
1546
1546
  return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1547
1547
  });
1548
1548
  var o = i.options[0];
1549
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), mt(o)));
1549
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), bt(o)));
1550
1550
  continue;
1551
1551
  }
1552
- if (qt.test(i.stem)) {
1553
- t = _(_({}, t), mt(i.stem));
1552
+ if (Kt.test(i.stem)) {
1553
+ t = _(_({}, t), bt(i.stem));
1554
1554
  continue;
1555
1555
  }
1556
- var s = Kt(i.stem);
1556
+ var s = tr(i.stem);
1557
1557
  s && (t = _(_({}, t), s));
1558
- var a = wn(i.stem);
1558
+ var a = Bn(i.stem);
1559
1559
  a && (t = _(_({}, t), a));
1560
1560
  }
1561
1561
  return t;
1562
1562
  }
1563
- var he = {
1563
+ var ce = {
1564
1564
  "001": [
1565
1565
  "H",
1566
1566
  "h"
@@ -2975,13 +2975,13 @@ var he = {
2975
2975
  "h"
2976
2976
  ]
2977
2977
  };
2978
- function Bn(e, t) {
2978
+ function Nn(e, t) {
2979
2979
  for (var r = "", n = 0; n < e.length; n++) {
2980
2980
  var i = e.charAt(n);
2981
2981
  if (i === "j") {
2982
2982
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2983
2983
  o++, n++;
2984
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = On(t);
2984
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = In(t);
2985
2985
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2986
2986
  r += h;
2987
2987
  for (; s-- > 0; )
@@ -2991,7 +2991,7 @@ function Bn(e, t) {
2991
2991
  }
2992
2992
  return r;
2993
2993
  }
2994
- function On(e) {
2994
+ function In(e) {
2995
2995
  var t = e.hourCycle;
2996
2996
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2997
2997
  e.hourCycles && // @ts-ignore
@@ -3010,23 +3010,23 @@ function On(e) {
3010
3010
  }
3011
3011
  var r = e.language, n;
3012
3012
  r !== "root" && (n = e.maximize().region);
3013
- var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
3013
+ var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
3014
3014
  return i[0];
3015
3015
  }
3016
- var Oe, Nn = new RegExp("^".concat(Jt.source, "*")), In = new RegExp("".concat(Jt.source, "*$"));
3016
+ var Ie, Cn = new RegExp("^".concat(qt.source, "*")), Ln = new RegExp("".concat(qt.source, "*$"));
3017
3017
  function g(e, t) {
3018
3018
  return { start: e, end: t };
3019
3019
  }
3020
- var Cn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ln = !!String.fromCodePoint, Mn = !!Object.fromEntries, $n = !!String.prototype.codePointAt, Rn = !!String.prototype.trimStart, Un = !!String.prototype.trimEnd, Dn = !!Number.isSafeInteger, Gn = Dn ? Number.isSafeInteger : function(e) {
3020
+ var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), $n = !!String.fromCodePoint, Rn = !!Object.fromEntries, Un = !!String.prototype.codePointAt, Dn = !!String.prototype.trimStart, Gn = !!String.prototype.trimEnd, Fn = !!Number.isSafeInteger, jn = Fn ? Number.isSafeInteger : function(e) {
3021
3021
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3022
- }, Ve = !0;
3022
+ }, We = !0;
3023
3023
  try {
3024
- var Fn = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3025
- Ve = ((Oe = Fn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
3024
+ var kn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3025
+ We = ((Ie = kn.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
3026
3026
  } catch {
3027
- Ve = !1;
3027
+ We = !1;
3028
3028
  }
3029
- var bt = Cn ? (
3029
+ var yt = Mn ? (
3030
3030
  // Native
3031
3031
  function(t, r, n) {
3032
3032
  return t.startsWith(r, n);
@@ -3036,7 +3036,7 @@ var bt = Cn ? (
3036
3036
  function(t, r, n) {
3037
3037
  return t.slice(n, n + r.length) === r;
3038
3038
  }
3039
- ), Xe = Ln ? String.fromCodePoint : (
3039
+ ), ze = $n ? String.fromCodePoint : (
3040
3040
  // IE11
3041
3041
  function() {
3042
3042
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3048,9 +3048,9 @@ var bt = Cn ? (
3048
3048
  }
3049
3049
  return n;
3050
3050
  }
3051
- ), gt = (
3051
+ ), vt = (
3052
3052
  // native
3053
- Mn ? Object.fromEntries : (
3053
+ Rn ? Object.fromEntries : (
3054
3054
  // Ponyfill
3055
3055
  function(t) {
3056
3056
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3060,7 +3060,7 @@ var bt = Cn ? (
3060
3060
  return r;
3061
3061
  }
3062
3062
  )
3063
- ), er = $n ? (
3063
+ ), rr = Un ? (
3064
3064
  // Native
3065
3065
  function(t, r) {
3066
3066
  return t.codePointAt(r);
@@ -3074,7 +3074,7 @@ var bt = Cn ? (
3074
3074
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3075
3075
  }
3076
3076
  }
3077
- ), jn = Rn ? (
3077
+ ), Vn = Dn ? (
3078
3078
  // Native
3079
3079
  function(t) {
3080
3080
  return t.trimStart();
@@ -3082,9 +3082,9 @@ var bt = Cn ? (
3082
3082
  ) : (
3083
3083
  // Ponyfill
3084
3084
  function(t) {
3085
- return t.replace(Nn, "");
3085
+ return t.replace(Cn, "");
3086
3086
  }
3087
- ), kn = Un ? (
3087
+ ), Xn = Gn ? (
3088
3088
  // Native
3089
3089
  function(t) {
3090
3090
  return t.trimEnd();
@@ -3092,32 +3092,32 @@ var bt = Cn ? (
3092
3092
  ) : (
3093
3093
  // Ponyfill
3094
3094
  function(t) {
3095
- return t.replace(In, "");
3095
+ return t.replace(Ln, "");
3096
3096
  }
3097
3097
  );
3098
- function tr(e, t) {
3098
+ function nr(e, t) {
3099
3099
  return new RegExp(e, t);
3100
3100
  }
3101
- var We;
3102
- if (Ve) {
3103
- var yt = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3104
- We = function(t, r) {
3101
+ var Ze;
3102
+ if (We) {
3103
+ var _t = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3104
+ Ze = function(t, r) {
3105
3105
  var n;
3106
- yt.lastIndex = r;
3107
- var i = yt.exec(t);
3106
+ _t.lastIndex = r;
3107
+ var i = _t.exec(t);
3108
3108
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3109
3109
  };
3110
3110
  } else
3111
- We = function(t, r) {
3111
+ Ze = function(t, r) {
3112
3112
  for (var n = []; ; ) {
3113
- var i = er(t, r);
3114
- if (i === void 0 || rr(i) || zn(i))
3113
+ var i = rr(t, r);
3114
+ if (i === void 0 || ir(i) || Qn(i))
3115
3115
  break;
3116
3116
  n.push(i), r += i >= 65536 ? 2 : 1;
3117
3117
  }
3118
- return Xe.apply(void 0, n);
3118
+ return ze.apply(void 0, n);
3119
3119
  };
3120
- var Vn = (
3120
+ var Wn = (
3121
3121
  /** @class */
3122
3122
  function() {
3123
3123
  function e(t, r) {
@@ -3148,7 +3148,7 @@ var Vn = (
3148
3148
  if (n)
3149
3149
  break;
3150
3150
  return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3151
- } else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
3151
+ } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
3152
3152
  var s = this.parseTag(t, r);
3153
3153
  if (s.err)
3154
3154
  return s;
@@ -3181,7 +3181,7 @@ var Vn = (
3181
3181
  return o;
3182
3182
  var s = o.val, a = this.clonePosition();
3183
3183
  if (this.bumpIf("</")) {
3184
- if (this.isEOF() || !ze(this.char()))
3184
+ if (this.isEOF() || !Qe(this.char()))
3185
3185
  return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3186
3186
  var h = this.clonePosition(), u = this.parseTagName();
3187
3187
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3199,7 +3199,7 @@ var Vn = (
3199
3199
  return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3200
3200
  }, e.prototype.parseTagName = function() {
3201
3201
  var t = this.offset();
3202
- for (this.bump(); !this.isEOF() && Wn(this.char()); )
3202
+ for (this.bump(); !this.isEOF() && Zn(this.char()); )
3203
3203
  this.bump();
3204
3204
  return this.message.slice(t, this.offset());
3205
3205
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3228,7 +3228,7 @@ var Vn = (
3228
3228
  };
3229
3229
  }, e.prototype.tryParseLeftAngleBracket = function() {
3230
3230
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3231
- !Xn(this.peek() || 0)) ? (this.bump(), "<") : null;
3231
+ !zn(this.peek() || 0)) ? (this.bump(), "<") : null;
3232
3232
  }, e.prototype.tryParseQuote = function(t) {
3233
3233
  if (this.isEOF() || this.char() !== 39)
3234
3234
  return null;
@@ -3262,12 +3262,12 @@ var Vn = (
3262
3262
  r.push(n);
3263
3263
  this.bump();
3264
3264
  }
3265
- return Xe.apply(void 0, r);
3265
+ return ze.apply(void 0, r);
3266
3266
  }, e.prototype.tryParseUnquoted = function(t, r) {
3267
3267
  if (this.isEOF())
3268
3268
  return null;
3269
3269
  var n = this.char();
3270
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
3270
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
3271
3271
  }, e.prototype.parseArgument = function(t, r) {
3272
3272
  var n = this.clonePosition();
3273
3273
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3296,7 +3296,7 @@ var Vn = (
3296
3296
  return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3297
3297
  }
3298
3298
  }, e.prototype.parseIdentifierIfPossible = function() {
3299
- var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
3299
+ var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
3300
3300
  this.bumpTo(i);
3301
3301
  var o = this.clonePosition(), s = g(t, o);
3302
3302
  return { value: n, location: s };
@@ -3315,37 +3315,37 @@ var Vn = (
3315
3315
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3316
3316
  if (c.err)
3317
3317
  return c;
3318
- var f = kn(c.val);
3318
+ var f = Xn(c.val);
3319
3319
  if (f.length === 0)
3320
3320
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3321
3321
  var m = g(l, this.clonePosition());
3322
3322
  u = { style: f, styleLocation: m };
3323
3323
  }
3324
- var d = this.tryParseArgumentClose(i);
3325
- if (d.err)
3326
- return d;
3327
- var p = g(i, this.clonePosition());
3328
- if (u && bt(u?.style, "::", 0)) {
3329
- var S = jn(u.style.slice(2));
3324
+ var p = this.tryParseArgumentClose(i);
3325
+ if (p.err)
3326
+ return p;
3327
+ var d = g(i, this.clonePosition());
3328
+ if (u && yt(u?.style, "::", 0)) {
3329
+ var S = Vn(u.style.slice(2));
3330
3330
  if (a === "number") {
3331
3331
  var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
3332
3332
  return c.err ? c : {
3333
- val: { type: v.number, value: n, location: p, style: c.val },
3333
+ val: { type: v.number, value: n, location: d, style: c.val },
3334
3334
  err: null
3335
3335
  };
3336
3336
  } else {
3337
3337
  if (S.length === 0)
3338
- return this.error(b.EXPECT_DATE_TIME_SKELETON, p);
3339
- var $ = S;
3340
- this.locale && ($ = Bn(S, this.locale));
3338
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3339
+ var P = S;
3340
+ this.locale && (P = Nn(S, this.locale));
3341
3341
  var f = {
3342
- type: z.dateTime,
3343
- pattern: $,
3342
+ type: Z.dateTime,
3343
+ pattern: P,
3344
3344
  location: u.styleLocation,
3345
- parsedOptions: this.shouldParseSkeletons ? En($) : {}
3346
- }, C = a === "date" ? v.date : v.time;
3345
+ parsedOptions: this.shouldParseSkeletons ? wn(P) : {}
3346
+ }, L = a === "date" ? v.date : v.time;
3347
3347
  return {
3348
- val: { type: C, value: n, location: p, style: f },
3348
+ val: { type: L, value: n, location: d, style: f },
3349
3349
  err: null
3350
3350
  };
3351
3351
  }
@@ -3354,7 +3354,7 @@ var Vn = (
3354
3354
  val: {
3355
3355
  type: a === "number" ? v.number : a === "date" ? v.date : v.time,
3356
3356
  value: n,
3357
- location: p,
3357
+ location: d,
3358
3358
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3359
3359
  },
3360
3360
  err: null
@@ -3363,11 +3363,11 @@ var Vn = (
3363
3363
  case "plural":
3364
3364
  case "selectordinal":
3365
3365
  case "select": {
3366
- var A = this.clonePosition();
3366
+ var H = this.clonePosition();
3367
3367
  if (this.bumpSpace(), !this.bumpIf(","))
3368
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(A, be({}, A)));
3368
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(H, ye({}, H)));
3369
3369
  this.bumpSpace();
3370
- var R = this.parseIdentifierIfPossible(), P = 0;
3370
+ var R = this.parseIdentifierIfPossible(), N = 0;
3371
3371
  if (a !== "select" && R.value === "offset") {
3372
3372
  if (!this.bumpIf(":"))
3373
3373
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
@@ -3375,31 +3375,31 @@ var Vn = (
3375
3375
  var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3376
3376
  if (c.err)
3377
3377
  return c;
3378
- this.bumpSpace(), R = this.parseIdentifierIfPossible(), P = c.val;
3378
+ this.bumpSpace(), R = this.parseIdentifierIfPossible(), N = c.val;
3379
3379
  }
3380
- var D = this.tryParsePluralOrSelectOptions(t, a, r, R);
3381
- if (D.err)
3382
- return D;
3383
- var d = this.tryParseArgumentClose(i);
3384
- if (d.err)
3385
- return d;
3386
- var y = g(i, this.clonePosition());
3380
+ var U = this.tryParsePluralOrSelectOptions(t, a, r, R);
3381
+ if (U.err)
3382
+ return U;
3383
+ var p = this.tryParseArgumentClose(i);
3384
+ if (p.err)
3385
+ return p;
3386
+ var ue = g(i, this.clonePosition());
3387
3387
  return a === "select" ? {
3388
3388
  val: {
3389
3389
  type: v.select,
3390
3390
  value: n,
3391
- options: gt(D.val),
3392
- location: y
3391
+ options: vt(U.val),
3392
+ location: ue
3393
3393
  },
3394
3394
  err: null
3395
3395
  } : {
3396
3396
  val: {
3397
3397
  type: v.plural,
3398
3398
  value: n,
3399
- options: gt(D.val),
3400
- offset: P,
3399
+ options: vt(U.val),
3400
+ offset: N,
3401
3401
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3402
- location: y
3402
+ location: ue
3403
3403
  },
3404
3404
  err: null
3405
3405
  };
@@ -3447,16 +3447,16 @@ var Vn = (
3447
3447
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3448
3448
  var n = [];
3449
3449
  try {
3450
- n = Tn(t);
3450
+ n = Hn(t);
3451
3451
  } catch {
3452
3452
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3453
3453
  }
3454
3454
  return {
3455
3455
  val: {
3456
- type: z.number,
3456
+ type: Z.number,
3457
3457
  tokens: n,
3458
3458
  location: r,
3459
- parsedOptions: this.shouldParseSkeletons ? Pn(n) : {}
3459
+ parsedOptions: this.shouldParseSkeletons ? On(n) : {}
3460
3460
  },
3461
3461
  err: null
3462
3462
  };
@@ -3478,16 +3478,16 @@ var Vn = (
3478
3478
  var m = this.clonePosition();
3479
3479
  if (!this.bumpIf("{"))
3480
3480
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3481
- var d = this.parseMessage(t + 1, r, n);
3482
- if (d.err)
3483
- return d;
3484
- var p = this.tryParseArgumentClose(m);
3481
+ var p = this.parseMessage(t + 1, r, n);
3485
3482
  if (p.err)
3486
3483
  return p;
3484
+ var d = this.tryParseArgumentClose(m);
3485
+ if (d.err)
3486
+ return d;
3487
3487
  a.push([
3488
3488
  u,
3489
3489
  {
3490
- value: d.val,
3490
+ value: p.val,
3491
3491
  location: g(m, this.clonePosition())
3492
3492
  }
3493
3493
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
@@ -3504,7 +3504,7 @@ var Vn = (
3504
3504
  break;
3505
3505
  }
3506
3506
  var h = g(i, this.clonePosition());
3507
- return o ? (s *= n, Gn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3507
+ return o ? (s *= n, jn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3508
3508
  }, e.prototype.offset = function() {
3509
3509
  return this.position.offset;
3510
3510
  }, e.prototype.isEOF = function() {
@@ -3519,7 +3519,7 @@ var Vn = (
3519
3519
  var t = this.position.offset;
3520
3520
  if (t >= this.message.length)
3521
3521
  throw Error("out of bound");
3522
- var r = er(this.message, t);
3522
+ var r = rr(this.message, t);
3523
3523
  if (r === void 0)
3524
3524
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3525
3525
  return r;
@@ -3538,7 +3538,7 @@ var Vn = (
3538
3538
  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);
3539
3539
  }
3540
3540
  }, e.prototype.bumpIf = function(t) {
3541
- if (bt(this.message, t, this.offset())) {
3541
+ if (yt(this.message, t, this.offset())) {
3542
3542
  for (var r = 0; r < t.length; r++)
3543
3543
  this.bump();
3544
3544
  return !0;
@@ -3560,7 +3560,7 @@ var Vn = (
3560
3560
  break;
3561
3561
  }
3562
3562
  }, e.prototype.bumpSpace = function() {
3563
- for (; !this.isEOF() && rr(this.char()); )
3563
+ for (; !this.isEOF() && ir(this.char()); )
3564
3564
  this.bump();
3565
3565
  }, e.prototype.peek = function() {
3566
3566
  if (this.isEOF())
@@ -3570,47 +3570,47 @@ var Vn = (
3570
3570
  }, e;
3571
3571
  }()
3572
3572
  );
3573
- function ze(e) {
3573
+ function Qe(e) {
3574
3574
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3575
3575
  }
3576
- function Xn(e) {
3577
- return ze(e) || e === 47;
3576
+ function zn(e) {
3577
+ return Qe(e) || e === 47;
3578
3578
  }
3579
- function Wn(e) {
3579
+ function Zn(e) {
3580
3580
  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;
3581
3581
  }
3582
- function rr(e) {
3582
+ function ir(e) {
3583
3583
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3584
3584
  }
3585
- function zn(e) {
3585
+ function Qn(e) {
3586
3586
  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;
3587
3587
  }
3588
- function Ze(e) {
3588
+ function Je(e) {
3589
3589
  e.forEach(function(t) {
3590
- if (delete t.location, Wt(t) || zt(t))
3590
+ if (delete t.location, Zt(t) || Qt(t))
3591
3591
  for (var r in t.options)
3592
- delete t.options[r].location, Ze(t.options[r].value);
3592
+ delete t.options[r].location, Je(t.options[r].value);
3593
3593
  else
3594
- kt(t) && Qt(t.style) || (Vt(t) || Xt(t)) && ke(t.style) ? delete t.style.location : Zt(t) && Ze(t.children);
3594
+ Xt(t) && Yt(t.style) || (Wt(t) || zt(t)) && Xe(t.style) ? delete t.style.location : Jt(t) && Je(t.children);
3595
3595
  });
3596
3596
  }
3597
- function Zn(e, t) {
3598
- t === void 0 && (t = {}), t = be({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3599
- var r = new Vn(e, t).parse();
3597
+ function Jn(e, t) {
3598
+ t === void 0 && (t = {}), t = ye({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3599
+ var r = new Wn(e, t).parse();
3600
3600
  if (r.err) {
3601
3601
  var n = SyntaxError(b[r.err.kind]);
3602
3602
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3603
3603
  }
3604
- return t?.captureLocation || Ze(r.val), r.val;
3604
+ return t?.captureLocation || Je(r.val), r.val;
3605
3605
  }
3606
- var Z;
3606
+ var Q;
3607
3607
  (function(e) {
3608
3608
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3609
- })(Z || (Z = {}));
3610
- var Ee = (
3609
+ })(Q || (Q = {}));
3610
+ var we = (
3611
3611
  /** @class */
3612
3612
  function(e) {
3613
- xe(t, e);
3613
+ Se(t, e);
3614
3614
  function t(r, n, i) {
3615
3615
  var o = e.call(this, r) || this;
3616
3616
  return o.code = n, o.originalMessage = i, o;
@@ -3619,48 +3619,48 @@ var Ee = (
3619
3619
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3620
3620
  }, t;
3621
3621
  }(Error)
3622
- ), vt = (
3622
+ ), xt = (
3623
3623
  /** @class */
3624
3624
  function(e) {
3625
- xe(t, e);
3625
+ Se(t, e);
3626
3626
  function t(r, n, i, o) {
3627
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, o) || this;
3627
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
3628
3628
  }
3629
3629
  return t;
3630
- }(Ee)
3631
- ), Qn = (
3630
+ }(we)
3631
+ ), Yn = (
3632
3632
  /** @class */
3633
3633
  function(e) {
3634
- xe(t, e);
3634
+ Se(t, e);
3635
3635
  function t(r, n, i) {
3636
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Z.INVALID_VALUE, i) || this;
3636
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3637
3637
  }
3638
3638
  return t;
3639
- }(Ee)
3640
- ), Jn = (
3639
+ }(we)
3640
+ ), qn = (
3641
3641
  /** @class */
3642
3642
  function(e) {
3643
- xe(t, e);
3643
+ Se(t, e);
3644
3644
  function t(r, n) {
3645
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Z.MISSING_VALUE, n) || this;
3645
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3646
3646
  }
3647
3647
  return t;
3648
- }(Ee)
3648
+ }(we)
3649
3649
  ), E;
3650
3650
  (function(e) {
3651
3651
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3652
3652
  })(E || (E = {}));
3653
- function qn(e) {
3653
+ function Kn(e) {
3654
3654
  return e.length < 2 ? e : e.reduce(function(t, r) {
3655
3655
  var n = t[t.length - 1];
3656
3656
  return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3657
3657
  }, []);
3658
3658
  }
3659
- function Yn(e) {
3659
+ function ei(e) {
3660
3660
  return typeof e == "function";
3661
3661
  }
3662
- function pe(e, t, r, n, i, o, s) {
3663
- if (e.length === 1 && ft(e[0]))
3662
+ function me(e, t, r, n, i, o, s) {
3663
+ if (e.length === 1 && dt(e[0]))
3664
3664
  return [
3665
3665
  {
3666
3666
  type: E.literal,
@@ -3669,14 +3669,14 @@ function pe(e, t, r, n, i, o, s) {
3669
3669
  ];
3670
3670
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3671
3671
  var l = u[h];
3672
- if (ft(l)) {
3672
+ if (dt(l)) {
3673
3673
  a.push({
3674
3674
  type: E.literal,
3675
3675
  value: l.value
3676
3676
  });
3677
3677
  continue;
3678
3678
  }
3679
- if (_n(l)) {
3679
+ if (En(l)) {
3680
3680
  typeof o == "number" && a.push({
3681
3681
  type: E.literal,
3682
3682
  value: r.getNumberFormat(t).format(o)
@@ -3685,89 +3685,89 @@ function pe(e, t, r, n, i, o, s) {
3685
3685
  }
3686
3686
  var c = l.value;
3687
3687
  if (!(i && c in i))
3688
- throw new Jn(c, s);
3688
+ throw new qn(c, s);
3689
3689
  var f = i[c];
3690
- if (vn(l)) {
3690
+ if (xn(l)) {
3691
3691
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3692
3692
  type: typeof f == "string" ? E.literal : E.object,
3693
3693
  value: f
3694
3694
  });
3695
3695
  continue;
3696
3696
  }
3697
- if (Vt(l)) {
3698
- var m = typeof l.style == "string" ? n.date[l.style] : ke(l.style) ? l.style.parsedOptions : void 0;
3697
+ if (Wt(l)) {
3698
+ var m = typeof l.style == "string" ? n.date[l.style] : Xe(l.style) ? l.style.parsedOptions : void 0;
3699
3699
  a.push({
3700
3700
  type: E.literal,
3701
3701
  value: r.getDateTimeFormat(t, m).format(f)
3702
3702
  });
3703
3703
  continue;
3704
3704
  }
3705
- if (Xt(l)) {
3706
- var m = typeof l.style == "string" ? n.time[l.style] : ke(l.style) ? l.style.parsedOptions : n.time.medium;
3705
+ if (zt(l)) {
3706
+ var m = typeof l.style == "string" ? n.time[l.style] : Xe(l.style) ? l.style.parsedOptions : n.time.medium;
3707
3707
  a.push({
3708
3708
  type: E.literal,
3709
3709
  value: r.getDateTimeFormat(t, m).format(f)
3710
3710
  });
3711
3711
  continue;
3712
3712
  }
3713
- if (kt(l)) {
3714
- var m = typeof l.style == "string" ? n.number[l.style] : Qt(l.style) ? l.style.parsedOptions : void 0;
3713
+ if (Xt(l)) {
3714
+ var m = typeof l.style == "string" ? n.number[l.style] : Yt(l.style) ? l.style.parsedOptions : void 0;
3715
3715
  m && m.scale && (f = f * (m.scale || 1)), a.push({
3716
3716
  type: E.literal,
3717
3717
  value: r.getNumberFormat(t, m).format(f)
3718
3718
  });
3719
3719
  continue;
3720
3720
  }
3721
- if (Zt(l)) {
3722
- var d = l.children, p = l.value, S = i[p];
3723
- if (!Yn(S))
3724
- throw new Qn(p, "function", s);
3725
- var $ = pe(d, t, r, n, i, o), C = S($.map(function(P) {
3726
- return P.value;
3721
+ if (Jt(l)) {
3722
+ var p = l.children, d = l.value, S = i[d];
3723
+ if (!ei(S))
3724
+ throw new Yn(d, "function", s);
3725
+ var P = me(p, t, r, n, i, o), L = S(P.map(function(N) {
3726
+ return N.value;
3727
3727
  }));
3728
- Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(P) {
3728
+ Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(N) {
3729
3729
  return {
3730
- type: typeof P == "string" ? E.literal : E.object,
3731
- value: P
3730
+ type: typeof N == "string" ? E.literal : E.object,
3731
+ value: N
3732
3732
  };
3733
3733
  }));
3734
3734
  }
3735
- if (Wt(l)) {
3736
- var A = l.options[f] || l.options.other;
3737
- if (!A)
3738
- throw new vt(l.value, f, Object.keys(l.options), s);
3739
- a.push.apply(a, pe(A.value, t, r, n, i));
3735
+ if (Zt(l)) {
3736
+ var H = l.options[f] || l.options.other;
3737
+ if (!H)
3738
+ throw new xt(l.value, f, Object.keys(l.options), s);
3739
+ a.push.apply(a, me(H.value, t, r, n, i));
3740
3740
  continue;
3741
3741
  }
3742
- if (zt(l)) {
3743
- var A = l.options["=".concat(f)];
3744
- if (!A) {
3742
+ if (Qt(l)) {
3743
+ var H = l.options["=".concat(f)];
3744
+ if (!H) {
3745
3745
  if (!Intl.PluralRules)
3746
- throw new Ee(`Intl.PluralRules is not available in this environment.
3746
+ throw new we(`Intl.PluralRules is not available in this environment.
3747
3747
  Try polyfilling it using "@formatjs/intl-pluralrules"
3748
- `, Z.MISSING_INTL_API, s);
3748
+ `, Q.MISSING_INTL_API, s);
3749
3749
  var R = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3750
- A = l.options[R] || l.options.other;
3750
+ H = l.options[R] || l.options.other;
3751
3751
  }
3752
- if (!A)
3753
- throw new vt(l.value, f, Object.keys(l.options), s);
3754
- a.push.apply(a, pe(A.value, t, r, n, i, f - (l.offset || 0)));
3752
+ if (!H)
3753
+ throw new xt(l.value, f, Object.keys(l.options), s);
3754
+ a.push.apply(a, me(H.value, t, r, n, i, f - (l.offset || 0)));
3755
3755
  continue;
3756
3756
  }
3757
3757
  }
3758
- return qn(a);
3758
+ return Kn(a);
3759
3759
  }
3760
- function Kn(e, t) {
3760
+ function ti(e, t) {
3761
3761
  return t ? O(O(O({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3762
3762
  return r[n] = O(O({}, e[n]), t[n] || {}), r;
3763
3763
  }, {})) : e;
3764
3764
  }
3765
- function ei(e, t) {
3765
+ function ri(e, t) {
3766
3766
  return t ? Object.keys(e).reduce(function(r, n) {
3767
- return r[n] = Kn(e[n], t[n]), r;
3767
+ return r[n] = ti(e[n], t[n]), r;
3768
3768
  }, O({}, e)) : e;
3769
3769
  }
3770
- function Ne(e) {
3770
+ function Ce(e) {
3771
3771
  return {
3772
3772
  create: function() {
3773
3773
  return {
@@ -3781,39 +3781,39 @@ function Ne(e) {
3781
3781
  }
3782
3782
  };
3783
3783
  }
3784
- function ti(e) {
3784
+ function ni(e) {
3785
3785
  return e === void 0 && (e = {
3786
3786
  number: {},
3787
3787
  dateTime: {},
3788
3788
  pluralRules: {}
3789
3789
  }), {
3790
- getNumberFormat: Pe(function() {
3790
+ getNumberFormat: Oe(function() {
3791
3791
  for (var t, r = [], n = 0; n < arguments.length; n++)
3792
3792
  r[n] = arguments[n];
3793
- return new ((t = Intl.NumberFormat).bind.apply(t, we([void 0], r, !1)))();
3793
+ return new ((t = Intl.NumberFormat).bind.apply(t, Be([void 0], r, !1)))();
3794
3794
  }, {
3795
- cache: Ne(e.number),
3796
- strategy: Be.variadic
3795
+ cache: Ce(e.number),
3796
+ strategy: Ne.variadic
3797
3797
  }),
3798
- getDateTimeFormat: Pe(function() {
3798
+ getDateTimeFormat: Oe(function() {
3799
3799
  for (var t, r = [], n = 0; n < arguments.length; n++)
3800
3800
  r[n] = arguments[n];
3801
- return new ((t = Intl.DateTimeFormat).bind.apply(t, we([void 0], r, !1)))();
3801
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Be([void 0], r, !1)))();
3802
3802
  }, {
3803
- cache: Ne(e.dateTime),
3804
- strategy: Be.variadic
3803
+ cache: Ce(e.dateTime),
3804
+ strategy: Ne.variadic
3805
3805
  }),
3806
- getPluralRules: Pe(function() {
3806
+ getPluralRules: Oe(function() {
3807
3807
  for (var t, r = [], n = 0; n < arguments.length; n++)
3808
3808
  r[n] = arguments[n];
3809
- return new ((t = Intl.PluralRules).bind.apply(t, we([void 0], r, !1)))();
3809
+ return new ((t = Intl.PluralRules).bind.apply(t, Be([void 0], r, !1)))();
3810
3810
  }, {
3811
- cache: Ne(e.pluralRules),
3812
- strategy: Be.variadic
3811
+ cache: Ce(e.pluralRules),
3812
+ strategy: Ne.variadic
3813
3813
  })
3814
3814
  };
3815
3815
  }
3816
- var ri = (
3816
+ var ii = (
3817
3817
  /** @class */
3818
3818
  function() {
3819
3819
  function e(t, r, n, i) {
@@ -3832,7 +3832,7 @@ var ri = (
3832
3832
  }, []);
3833
3833
  return l.length <= 1 ? l[0] || "" : l;
3834
3834
  }, this.formatToParts = function(h) {
3835
- return pe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3835
+ return me(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3836
3836
  }, this.resolvedOptions = function() {
3837
3837
  var h;
3838
3838
  return {
@@ -3845,13 +3845,13 @@ var ri = (
3845
3845
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3846
3846
  var s = i || {};
3847
3847
  s.formatters;
3848
- var a = cn(s, ["formatters"]);
3848
+ var a = pn(s, ["formatters"]);
3849
3849
  this.ast = e.__parse(t, O(O({}, a), { locale: this.resolvedLocale }));
3850
3850
  } else
3851
3851
  this.ast = t;
3852
3852
  if (!Array.isArray(this.ast))
3853
3853
  throw new TypeError("A message must be provided as a String or AST.");
3854
- this.formats = ei(e.formats, n), this.formatters = i && i.formatters || ti(this.formatterCache);
3854
+ this.formats = ri(e.formats, n), this.formatters = i && i.formatters || ni(this.formatterCache);
3855
3855
  }
3856
3856
  return Object.defineProperty(e, "defaultLocale", {
3857
3857
  get: function() {
@@ -3864,7 +3864,7 @@ var ri = (
3864
3864
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3865
3865
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3866
3866
  }
3867
- }, e.__parse = Zn, e.formats = {
3867
+ }, e.__parse = Jn, e.formats = {
3868
3868
  number: {
3869
3869
  integer: {
3870
3870
  maximumFractionDigits: 0
@@ -3925,7 +3925,7 @@ var ri = (
3925
3925
  }, e;
3926
3926
  }()
3927
3927
  );
3928
- function ni(e, t) {
3928
+ function oi(e, t) {
3929
3929
  if (t == null)
3930
3930
  return;
3931
3931
  if (t in e)
@@ -3946,92 +3946,92 @@ function ni(e, t) {
3946
3946
  n = void 0;
3947
3947
  return n;
3948
3948
  }
3949
- const L = {}, ii = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), nr = (e, t) => {
3949
+ const M = {}, si = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), or = (e, t) => {
3950
3950
  if (t == null)
3951
3951
  return;
3952
- if (t in L && e in L[t])
3953
- return L[t][e];
3954
- const r = Se(t);
3952
+ if (t in M && e in M[t])
3953
+ return M[t][e];
3954
+ const r = Te(t);
3955
3955
  for (let n = 0; n < r.length; n++) {
3956
- const i = r[n], o = si(i, e);
3956
+ const i = r[n], o = ui(i, e);
3957
3957
  if (o)
3958
- return ii(e, t, o);
3958
+ return si(e, t, o);
3959
3959
  }
3960
3960
  };
3961
- let Ye;
3962
- const oe = _e({});
3963
- function oi(e) {
3964
- return Ye[e] || null;
3961
+ let et;
3962
+ const se = Ee({});
3963
+ function ai(e) {
3964
+ return et[e] || null;
3965
3965
  }
3966
- function ir(e) {
3967
- return e in Ye;
3966
+ function sr(e) {
3967
+ return e in et;
3968
3968
  }
3969
- function si(e, t) {
3970
- if (!ir(e))
3969
+ function ui(e, t) {
3970
+ if (!sr(e))
3971
3971
  return null;
3972
- const r = oi(e);
3973
- return ni(r, t);
3972
+ const r = ai(e);
3973
+ return oi(r, t);
3974
3974
  }
3975
- function ai(e) {
3975
+ function hi(e) {
3976
3976
  if (e == null)
3977
3977
  return;
3978
- const t = Se(e);
3978
+ const t = Te(e);
3979
3979
  for (let r = 0; r < t.length; r++) {
3980
3980
  const n = t[r];
3981
- if (ir(n))
3981
+ if (sr(n))
3982
3982
  return n;
3983
3983
  }
3984
3984
  }
3985
- function ui(e, ...t) {
3986
- delete L[e], oe.update((r) => (r[e] = ln.all([r[e] || {}, ...t]), r));
3985
+ function li(e, ...t) {
3986
+ delete M[e], se.update((r) => (r[e] = fn.all([r[e] || {}, ...t]), r));
3987
3987
  }
3988
- J(
3989
- [oe],
3988
+ Y(
3989
+ [se],
3990
3990
  ([e]) => Object.keys(e)
3991
3991
  );
3992
- oe.subscribe((e) => Ye = e);
3993
- const me = {};
3994
- function hi(e, t) {
3995
- me[e].delete(t), me[e].size === 0 && delete me[e];
3992
+ se.subscribe((e) => et = e);
3993
+ const be = {};
3994
+ function ci(e, t) {
3995
+ be[e].delete(t), be[e].size === 0 && delete be[e];
3996
3996
  }
3997
- function or(e) {
3998
- return me[e];
3997
+ function ar(e) {
3998
+ return be[e];
3999
3999
  }
4000
- function li(e) {
4001
- return Se(e).map((t) => {
4002
- const r = or(t);
4000
+ function fi(e) {
4001
+ return Te(e).map((t) => {
4002
+ const r = ar(t);
4003
4003
  return [t, r ? [...r] : []];
4004
4004
  }).filter(([, t]) => t.length > 0);
4005
4005
  }
4006
- function Qe(e) {
4007
- return e == null ? !1 : Se(e).some(
4006
+ function Ye(e) {
4007
+ return e == null ? !1 : Te(e).some(
4008
4008
  (t) => {
4009
4009
  var r;
4010
- return (r = or(t)) == null ? void 0 : r.size;
4010
+ return (r = ar(t)) == null ? void 0 : r.size;
4011
4011
  }
4012
4012
  );
4013
4013
  }
4014
- function ci(e, t) {
4014
+ function pi(e, t) {
4015
4015
  return Promise.all(
4016
- t.map((n) => (hi(e, n), n().then((i) => i.default || i)))
4017
- ).then((n) => ui(e, ...n));
4018
- }
4019
- const Y = {};
4020
- function sr(e) {
4021
- if (!Qe(e))
4022
- return e in Y ? Y[e] : Promise.resolve();
4023
- const t = li(e);
4024
- return Y[e] = Promise.all(
4016
+ t.map((n) => (ci(e, n), n().then((i) => i.default || i)))
4017
+ ).then((n) => li(e, ...n));
4018
+ }
4019
+ const K = {};
4020
+ function ur(e) {
4021
+ if (!Ye(e))
4022
+ return e in K ? K[e] : Promise.resolve();
4023
+ const t = fi(e);
4024
+ return K[e] = Promise.all(
4025
4025
  t.map(
4026
- ([r, n]) => ci(r, n)
4026
+ ([r, n]) => pi(r, n)
4027
4027
  )
4028
4028
  ).then(() => {
4029
- if (Qe(e))
4030
- return sr(e);
4031
- delete Y[e];
4032
- }), Y[e];
4029
+ if (Ye(e))
4030
+ return ur(e);
4031
+ delete K[e];
4032
+ }), K[e];
4033
4033
  }
4034
- const fi = {
4034
+ const di = {
4035
4035
  number: {
4036
4036
  scientific: { notation: "scientific" },
4037
4037
  engineering: { notation: "engineering" },
@@ -4060,150 +4060,150 @@ const fi = {
4060
4060
  timeZoneName: "short"
4061
4061
  }
4062
4062
  }
4063
- }, pi = {
4063
+ }, mi = {
4064
4064
  fallbackLocale: null,
4065
4065
  loadingDelay: 200,
4066
- formats: fi,
4066
+ formats: di,
4067
4067
  warnOnMissingMessages: !0,
4068
4068
  handleMissingMessage: void 0,
4069
4069
  ignoreTag: !0
4070
- }, mi = pi;
4071
- function Q() {
4072
- return mi;
4070
+ }, bi = mi;
4071
+ function J() {
4072
+ return bi;
4073
4073
  }
4074
- const Ie = _e(!1);
4075
- var di = Object.defineProperty, bi = Object.defineProperties, gi = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, yi = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _i = (e, t) => {
4074
+ const Le = Ee(!1);
4075
+ var gi = Object.defineProperty, yi = Object.defineProperties, vi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ei = (e, t) => {
4076
4076
  for (var r in t || (t = {}))
4077
- yi.call(t, r) && xt(e, r, t[r]);
4078
- if (_t)
4079
- for (var r of _t(t))
4080
- vi.call(t, r) && xt(e, r, t[r]);
4077
+ _i.call(t, r) && St(e, r, t[r]);
4078
+ if (Et)
4079
+ for (var r of Et(t))
4080
+ xi.call(t, r) && St(e, r, t[r]);
4081
4081
  return e;
4082
- }, xi = (e, t) => bi(e, gi(t));
4083
- let Je;
4084
- const ge = _e(null);
4085
- function Et(e) {
4082
+ }, Si = (e, t) => yi(e, vi(t));
4083
+ let qe;
4084
+ const ve = Ee(null);
4085
+ function wt(e) {
4086
4086
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4087
4087
  }
4088
- function Se(e, t = Q().fallbackLocale) {
4089
- const r = Et(e);
4090
- return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
4088
+ function Te(e, t = J().fallbackLocale) {
4089
+ const r = wt(e);
4090
+ return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
4091
4091
  }
4092
- function U() {
4093
- return Je ?? void 0;
4092
+ function D() {
4093
+ return qe ?? void 0;
4094
4094
  }
4095
- ge.subscribe((e) => {
4096
- Je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4095
+ ve.subscribe((e) => {
4096
+ qe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4097
4097
  });
4098
- const Ei = (e) => {
4099
- if (e && ai(e) && Qe(e)) {
4100
- const { loadingDelay: t } = Q();
4098
+ const wi = (e) => {
4099
+ if (e && hi(e) && Ye(e)) {
4100
+ const { loadingDelay: t } = J();
4101
4101
  let r;
4102
- return typeof window < "u" && U() != null && t ? r = window.setTimeout(
4103
- () => Ie.set(!0),
4102
+ return typeof window < "u" && D() != null && t ? r = window.setTimeout(
4103
+ () => Le.set(!0),
4104
4104
  t
4105
- ) : Ie.set(!0), sr(e).then(() => {
4106
- ge.set(e);
4105
+ ) : Le.set(!0), ur(e).then(() => {
4106
+ ve.set(e);
4107
4107
  }).finally(() => {
4108
- clearTimeout(r), Ie.set(!1);
4108
+ clearTimeout(r), Le.set(!1);
4109
4109
  });
4110
4110
  }
4111
- return ge.set(e);
4112
- }, se = xi(_i({}, ge), {
4113
- set: Ei
4114
- }), Te = (e) => {
4111
+ return ve.set(e);
4112
+ }, ae = Si(Ei({}, ve), {
4113
+ set: wi
4114
+ }), He = (e) => {
4115
4115
  const t = /* @__PURE__ */ Object.create(null);
4116
4116
  return (n) => {
4117
4117
  const i = JSON.stringify(n);
4118
4118
  return i in t ? t[i] : t[i] = e(n);
4119
4119
  };
4120
4120
  };
4121
- var Si = Object.defineProperty, ye = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4121
+ var Ti = Object.defineProperty, _e = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4122
4122
  for (var r in t || (t = {}))
4123
- ar.call(t, r) && St(e, r, t[r]);
4124
- if (ye)
4125
- for (var r of ye(t))
4126
- ur.call(t, r) && St(e, r, t[r]);
4123
+ hr.call(t, r) && Tt(e, r, t[r]);
4124
+ if (_e)
4125
+ for (var r of _e(t))
4126
+ lr.call(t, r) && Tt(e, r, t[r]);
4127
4127
  return e;
4128
4128
  }, q = (e, t) => {
4129
4129
  var r = {};
4130
4130
  for (var n in e)
4131
- ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4132
- if (e != null && ye)
4133
- for (var n of ye(e))
4134
- t.indexOf(n) < 0 && ur.call(e, n) && (r[n] = e[n]);
4131
+ hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4132
+ if (e != null && _e)
4133
+ for (var n of _e(e))
4134
+ t.indexOf(n) < 0 && lr.call(e, n) && (r[n] = e[n]);
4135
4135
  return r;
4136
4136
  };
4137
- const re = (e, t) => {
4138
- const { formats: r } = Q();
4137
+ const ne = (e, t) => {
4138
+ const { formats: r } = J();
4139
4139
  if (e in r && t in r[e])
4140
4140
  return r[e][t];
4141
4141
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4142
- }, Ti = Te(
4142
+ }, Hi = He(
4143
4143
  (e) => {
4144
4144
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4145
4145
  if (r == null)
4146
4146
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4147
- return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
4147
+ return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
4148
4148
  }
4149
- ), Hi = Te(
4149
+ ), Ai = He(
4150
4150
  (e) => {
4151
4151
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4152
4152
  if (r == null)
4153
4153
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4154
- return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
4154
+ return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
4155
4155
  }
4156
- ), Ai = Te(
4156
+ ), Pi = He(
4157
4157
  (e) => {
4158
4158
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4159
4159
  if (r == null)
4160
4160
  throw new Error(
4161
4161
  '[svelte-i18n] A "locale" must be set to format time values'
4162
4162
  );
4163
- return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
4163
+ return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
4164
4164
  }
4165
- ), wi = (e = {}) => {
4165
+ ), Bi = (e = {}) => {
4166
4166
  var t = e, {
4167
- locale: r = U()
4167
+ locale: r = D()
4168
4168
  } = t, n = q(t, [
4169
4169
  "locale"
4170
4170
  ]);
4171
- return Ti(Ke({ locale: r }, n));
4172
- }, Pi = (e = {}) => {
4171
+ return Hi(tt({ locale: r }, n));
4172
+ }, Oi = (e = {}) => {
4173
4173
  var t = e, {
4174
- locale: r = U()
4174
+ locale: r = D()
4175
4175
  } = t, n = q(t, [
4176
4176
  "locale"
4177
4177
  ]);
4178
- return Hi(Ke({ locale: r }, n));
4179
- }, Bi = (e = {}) => {
4178
+ return Ai(tt({ locale: r }, n));
4179
+ }, Ni = (e = {}) => {
4180
4180
  var t = e, {
4181
- locale: r = U()
4181
+ locale: r = D()
4182
4182
  } = t, n = q(t, [
4183
4183
  "locale"
4184
4184
  ]);
4185
- return Ai(Ke({ locale: r }, n));
4186
- }, Oi = Te(
4185
+ return Pi(tt({ locale: r }, n));
4186
+ }, Ii = He(
4187
4187
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4188
- (e, t = U()) => new ri(e, t, Q().formats, {
4189
- ignoreTag: Q().ignoreTag
4188
+ (e, t = D()) => new ii(e, t, J().formats, {
4189
+ ignoreTag: J().ignoreTag
4190
4190
  })
4191
- ), Ni = (e, t = {}) => {
4191
+ ), Ci = (e, t = {}) => {
4192
4192
  var r, n, i, o;
4193
4193
  let s = t;
4194
4194
  typeof e == "object" && (s = e, e = s.id);
4195
4195
  const {
4196
4196
  values: a,
4197
- locale: h = U(),
4197
+ locale: h = D(),
4198
4198
  default: u
4199
4199
  } = s;
4200
4200
  if (h == null)
4201
4201
  throw new Error(
4202
4202
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4203
4203
  );
4204
- let l = nr(e, h);
4204
+ let l = or(e, h);
4205
4205
  if (!l)
4206
- l = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4206
+ l = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4207
4207
  else if (typeof l != "string")
4208
4208
  return console.warn(
4209
4209
  `[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.`
@@ -4212,7 +4212,7 @@ const re = (e, t) => {
4212
4212
  return l;
4213
4213
  let c = l;
4214
4214
  try {
4215
- c = Oi(l, h).format(a);
4215
+ c = Ii(l, h).format(a);
4216
4216
  } catch (f) {
4217
4217
  f instanceof Error && console.warn(
4218
4218
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4220,22 +4220,23 @@ const re = (e, t) => {
4220
4220
  );
4221
4221
  }
4222
4222
  return c;
4223
- }, Ii = (e, t) => Bi(t).format(e), Ci = (e, t) => Pi(t).format(e), Li = (e, t) => wi(t).format(e), Mi = (e, t = U()) => nr(e, t);
4224
- J([se, oe], () => Ni);
4225
- J([se], () => Ii);
4226
- J([se], () => Ci);
4227
- J([se], () => Li);
4228
- J([se, oe], () => Mi);
4229
- window.emWidgets = { topic: Wr };
4230
- const Tt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4223
+ }, Li = (e, t) => Ni(t).format(e), Mi = (e, t) => Oi(t).format(e), $i = (e, t) => Bi(t).format(e), Ri = (e, t = D()) => or(e, t);
4224
+ Y([ae, se], () => Ci);
4225
+ Y([ae], () => Li);
4226
+ Y([ae], () => Mi);
4227
+ Y([ae], () => $i);
4228
+ Y([ae, se], () => Ri);
4229
+ window.emWidgets = { topic: Zr };
4230
+ const Ht = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4231
4231
  String(Number.MAX_SAFE_INTEGER).length;
4232
- function $i(e, t) {
4232
+ const V = "__WIDGET_GLOBAL_STYLE_CACHE__";
4233
+ function Ui(e, t) {
4233
4234
  if (e) {
4234
4235
  const r = document.createElement("style");
4235
4236
  r.innerHTML = t, e.appendChild(r);
4236
4237
  }
4237
4238
  }
4238
- function Ri(e, t) {
4239
+ function Di(e, t) {
4239
4240
  if (!e || !t)
4240
4241
  return;
4241
4242
  const r = new URL(t);
@@ -4246,35 +4247,62 @@ function Ri(e, t) {
4246
4247
  console.error("There was an error while trying to load client styling from URL", n);
4247
4248
  });
4248
4249
  }
4249
- function Ui(e, t, r) {
4250
- if (window.emMessageBus) {
4251
- const n = document.createElement("style");
4252
- window.emMessageBus.subscribe(t, (i) => {
4253
- n.innerHTML = i, e && e.appendChild(n);
4250
+ function Gi(e, t, r, n = !1) {
4251
+ if (!window.emMessageBus)
4252
+ return;
4253
+ if (!("adoptedStyleSheets" in Document.prototype) || !n)
4254
+ return r = Fi(e, t), r;
4255
+ window[V] || (window[V] = {}), r = ji(e, t);
4256
+ const o = r.unsubscribe.bind(r), s = () => {
4257
+ if (window[V][t]) {
4258
+ const a = window[V][t];
4259
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[V][t];
4260
+ }
4261
+ o();
4262
+ };
4263
+ return r.unsubscribe = s, r;
4264
+ }
4265
+ function Fi(e, t) {
4266
+ const r = document.createElement("style");
4267
+ return window.emMessageBus.subscribe(t, (n) => {
4268
+ e && (r.innerHTML = n, e.appendChild(r));
4269
+ });
4270
+ }
4271
+ function ji(e, t) {
4272
+ return window.emMessageBus.subscribe(t, (r) => {
4273
+ if (!e)
4274
+ return;
4275
+ const n = e.getRootNode(), i = window[V];
4276
+ let o = i[t]?.sheet;
4277
+ o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
4278
+ sheet: o,
4279
+ refCount: 1
4254
4280
  });
4255
- }
4281
+ const s = n.adoptedStyleSheets || [];
4282
+ s.includes(o) || (n.adoptedStyleSheets = [...s, o]);
4283
+ });
4256
4284
  }
4257
- function Di(e) {
4258
- fr(e, "svelte-1b8j2p", ':host{padding:0;margin:0;font-family:inherit}.PlayerAccountNotificationsContainer{padding:0 5px;display:grid;grid-gap:20px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s;container-type:inline-size;container-name:notifications-container}.PlayerAccountNotificationBox{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));display:block;padding:20px;border-radius:var(--emw--border-radius-medium, 10px);width:100%;color:var(--emw--color-black, #000);box-sizing:border-box;text-decoration:none;word-break:break-word;word-wrap:break-word;overflow-wrap:anywhere;white-space:normal}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.skeletonContainer{container-type:inline-size}.skeletonContainer .skeletonWrapper{animation:fadeIn ease 0.3s}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@container (max-width: 425px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:20px;padding:0px 10px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
4285
+ function ki(e) {
4286
+ dr(e, "svelte-1b8j2p", ':host{padding:0;margin:0;font-family:inherit}.PlayerAccountNotificationsContainer{padding:0 5px;display:grid;grid-gap:20px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s;container-type:inline-size;container-name:notifications-container}.PlayerAccountNotificationBox{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));display:block;padding:20px;border-radius:var(--emw--border-radius-medium, 10px);width:100%;color:var(--emw--color-black, #000);box-sizing:border-box;text-decoration:none;word-break:break-word;word-wrap:break-word;overflow-wrap:anywhere;white-space:normal}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.skeletonContainer{container-type:inline-size}.skeletonContainer .skeletonWrapper{animation:fadeIn ease 0.3s}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@container (max-width: 425px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:20px;padding:0px 10px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
4259
4287
  }
4260
- function Ht(e, t, r) {
4288
+ function At(e, t, r) {
4261
4289
  const n = e.slice();
4262
4290
  return n[24] = t[r], n;
4263
4291
  }
4264
- function At(e, t, r) {
4292
+ function Pt(e, t, r) {
4265
4293
  const n = e.slice();
4266
4294
  return n[21] = t[r], n;
4267
4295
  }
4268
- function Gi(e) {
4269
- let t, r = de(
4296
+ function Vi(e) {
4297
+ let t, r = ge(
4270
4298
  /*notificationsData*/
4271
4299
  e[1]
4272
4300
  ), n = [];
4273
4301
  for (let i = 0; i < r.length; i += 1)
4274
- n[i] = wt(Ht(e, r, i));
4302
+ n[i] = Bt(At(e, r, i));
4275
4303
  return {
4276
4304
  c() {
4277
- t = T("div");
4305
+ t = w("div");
4278
4306
  for (let i = 0; i < n.length; i += 1)
4279
4307
  n[i].c();
4280
4308
  x(t, "class", "PlayerAccountNotificationsContainer " + /*isMobile*/
@@ -4282,21 +4310,21 @@ function Gi(e) {
4282
4310
  (e[3] ? "PlayerAccountNotificationsMobileContainer" : ""));
4283
4311
  },
4284
4312
  m(i, o) {
4285
- M(i, t, o);
4313
+ $(i, t, o);
4286
4314
  for (let s = 0; s < n.length; s += 1)
4287
4315
  n[s] && n[s].m(t, null);
4288
4316
  },
4289
4317
  p(i, o) {
4290
4318
  if (o & /*notificationsData*/
4291
4319
  2) {
4292
- r = de(
4320
+ r = ge(
4293
4321
  /*notificationsData*/
4294
4322
  i[1]
4295
4323
  );
4296
4324
  let s;
4297
4325
  for (s = 0; s < r.length; s += 1) {
4298
- const a = Ht(i, r, s);
4299
- n[s] ? n[s].p(a, o) : (n[s] = wt(a), n[s].c(), n[s].m(t, null));
4326
+ const a = At(i, r, s);
4327
+ n[s] ? n[s].p(a, o) : (n[s] = Bt(a), n[s].c(), n[s].m(t, null));
4300
4328
  }
4301
4329
  for (; s < n.length; s += 1)
4302
4330
  n[s].d(1);
@@ -4304,34 +4332,34 @@ function Gi(e) {
4304
4332
  }
4305
4333
  },
4306
4334
  d(i) {
4307
- i && I(t), Nt(n, i);
4335
+ i && C(t), Ct(n, i);
4308
4336
  }
4309
4337
  };
4310
4338
  }
4311
- function Fi(e) {
4312
- let t, r, n = de({ length: 3 }), i = [];
4339
+ function Xi(e) {
4340
+ let t, r, n = ge({ length: 3 }), i = [];
4313
4341
  for (let o = 0; o < n.length; o += 1)
4314
- i[o] = Pt(At(e, n, o));
4342
+ i[o] = Ot(Pt(e, n, o));
4315
4343
  return {
4316
4344
  c() {
4317
- t = T("div"), r = T("div");
4345
+ t = w("div"), r = w("div");
4318
4346
  for (let o = 0; o < i.length; o += 1)
4319
4347
  i[o].c();
4320
4348
  x(r, "class", "skeletonWrapper"), x(t, "class", "skeletonContainer");
4321
4349
  },
4322
4350
  m(o, s) {
4323
- M(o, t, s), w(t, r);
4351
+ $(o, t, s), A(t, r);
4324
4352
  for (let a = 0; a < i.length; a += 1)
4325
4353
  i[a] && i[a].m(r, null);
4326
4354
  },
4327
4355
  p(o, s) {
4328
4356
  if (s & /*isMobile, mediaQuery*/
4329
4357
  24) {
4330
- n = de({ length: 3 });
4358
+ n = ge({ length: 3 });
4331
4359
  let a;
4332
4360
  for (a = 0; a < n.length; a += 1) {
4333
- const h = At(o, n, a);
4334
- i[a] ? i[a].p(h, s) : (i[a] = Pt(h), i[a].c(), i[a].m(r, null));
4361
+ const h = Pt(o, n, a);
4362
+ i[a] ? i[a].p(h, s) : (i[a] = Ot(h), i[a].c(), i[a].m(r, null));
4335
4363
  }
4336
4364
  for (; a < i.length; a += 1)
4337
4365
  i[a].d(1);
@@ -4339,11 +4367,11 @@ function Fi(e) {
4339
4367
  }
4340
4368
  },
4341
4369
  d(o) {
4342
- o && I(t), Nt(i, o);
4370
+ o && C(t), Ct(i, o);
4343
4371
  }
4344
4372
  };
4345
4373
  }
4346
- function wt(e) {
4374
+ function Bt(e) {
4347
4375
  let t, r, n, i, o, s, a, h = (
4348
4376
  /*notification*/
4349
4377
  e[24].title + ""
@@ -4353,45 +4381,45 @@ function wt(e) {
4353
4381
  ), m;
4354
4382
  return {
4355
4383
  c() {
4356
- t = T("div"), r = T("div"), n = T("img"), s = le(), a = T("p"), u = It(h), l = le(), c = T("p"), m = le(), x(n, "class", "PlayerAccountNotificationIcon"), x(n, "width", "24px"), x(n, "height", "24px"), tt(n.src, i = /*notification*/
4384
+ t = w("div"), r = w("div"), n = w("img"), s = fe(), a = w("p"), u = Lt(h), l = fe(), c = w("p"), m = fe(), x(n, "class", "PlayerAccountNotificationIcon"), x(n, "width", "24px"), x(n, "height", "24px"), nt(n.src, i = /*notification*/
4357
4385
  e[24].icon) || x(n, "src", i), x(n, "alt", o = /*notification*/
4358
- e[24].title), x(a, "class", "PlayerAccountNotificationTitle"), x(r, "class", "PlayerAccountNotificationBoxHeader"), x(c, "class", "PlayerAccountNotificationText"), x(t, "class", "PlayerAccountNotificationBox"), rt(
4386
+ e[24].title), x(a, "class", "PlayerAccountNotificationTitle"), x(r, "class", "PlayerAccountNotificationBoxHeader"), x(c, "class", "PlayerAccountNotificationText"), x(t, "class", "PlayerAccountNotificationBox"), it(
4359
4387
  t,
4360
4388
  "background",
4361
4389
  /*notification*/
4362
4390
  e[24].backgroundColor
4363
4391
  );
4364
4392
  },
4365
- m(d, p) {
4366
- M(d, t, p), w(t, r), w(r, n), w(r, s), w(r, a), w(a, u), w(t, l), w(t, c), c.innerHTML = f, w(t, m);
4393
+ m(p, d) {
4394
+ $(p, t, d), A(t, r), A(r, n), A(r, s), A(r, a), A(a, u), A(t, l), A(t, c), c.innerHTML = f, A(t, m);
4367
4395
  },
4368
- p(d, p) {
4369
- p & /*notificationsData*/
4370
- 2 && !tt(n.src, i = /*notification*/
4371
- d[24].icon) && x(n, "src", i), p & /*notificationsData*/
4396
+ p(p, d) {
4397
+ d & /*notificationsData*/
4398
+ 2 && !nt(n.src, i = /*notification*/
4399
+ p[24].icon) && x(n, "src", i), d & /*notificationsData*/
4372
4400
  2 && o !== (o = /*notification*/
4373
- d[24].title) && x(n, "alt", o), p & /*notificationsData*/
4401
+ p[24].title) && x(n, "alt", o), d & /*notificationsData*/
4374
4402
  2 && h !== (h = /*notification*/
4375
- d[24].title + "") && br(u, h), p & /*notificationsData*/
4403
+ p[24].title + "") && yr(u, h), d & /*notificationsData*/
4376
4404
  2 && f !== (f = /*notification*/
4377
- d[24].description + "") && (c.innerHTML = f), p & /*notificationsData*/
4378
- 2 && rt(
4405
+ p[24].description + "") && (c.innerHTML = f), d & /*notificationsData*/
4406
+ 2 && it(
4379
4407
  t,
4380
4408
  "background",
4381
4409
  /*notification*/
4382
- d[24].backgroundColor
4410
+ p[24].backgroundColor
4383
4411
  );
4384
4412
  },
4385
- d(d) {
4386
- d && I(t);
4413
+ d(p) {
4414
+ p && C(t);
4387
4415
  }
4388
4416
  };
4389
4417
  }
4390
- function ji(e) {
4418
+ function Wi(e) {
4391
4419
  let t;
4392
4420
  return {
4393
4421
  c() {
4394
- t = T("ui-skeleton"), V(t, "structure", "rectangle"), V(t, "width", "auto"), V(
4422
+ t = w("ui-skeleton"), X(t, "structure", "rectangle"), X(t, "width", "auto"), X(
4395
4423
  t,
4396
4424
  "height",
4397
4425
  /*isMobile*/
@@ -4400,116 +4428,116 @@ function ji(e) {
4400
4428
  );
4401
4429
  },
4402
4430
  m(r, n) {
4403
- M(r, t, n);
4431
+ $(r, t, n);
4404
4432
  },
4405
- p: H,
4433
+ p: T,
4406
4434
  d(r) {
4407
- r && I(t);
4435
+ r && C(t);
4408
4436
  }
4409
4437
  };
4410
4438
  }
4411
- function ki(e) {
4439
+ function zi(e) {
4412
4440
  let t;
4413
4441
  return {
4414
4442
  c() {
4415
- t = T("ui-skeleton"), t.innerHTML = "", V(t, "structure", "rectangle"), V(t, "width", "auto"), V(t, "height", "130px");
4443
+ t = w("ui-skeleton"), t.innerHTML = "", X(t, "structure", "rectangle"), X(t, "width", "auto"), X(t, "height", "130px");
4416
4444
  },
4417
4445
  m(r, n) {
4418
- M(r, t, n);
4446
+ $(r, t, n);
4419
4447
  },
4420
- p: H,
4448
+ p: T,
4421
4449
  d(r) {
4422
- r && I(t);
4450
+ r && C(t);
4423
4451
  }
4424
4452
  };
4425
4453
  }
4426
- function Pt(e) {
4454
+ function Ot(e) {
4427
4455
  let t, r;
4428
4456
  function n(s, a) {
4429
4457
  return (
4430
4458
  /*isMobile*/
4431
- s[3] ? ji : ki
4459
+ s[3] ? Wi : zi
4432
4460
  );
4433
4461
  }
4434
4462
  let o = n(e)(e);
4435
4463
  return {
4436
4464
  c() {
4437
- t = T("div"), o.c(), r = le(), x(t, "class", "skeletonNotification");
4465
+ t = w("div"), o.c(), r = fe(), x(t, "class", "skeletonNotification");
4438
4466
  },
4439
4467
  m(s, a) {
4440
- M(s, t, a), o.m(t, null), w(t, r);
4468
+ $(s, t, a), o.m(t, null), A(t, r);
4441
4469
  },
4442
4470
  p(s, a) {
4443
4471
  o.p(s, a);
4444
4472
  },
4445
4473
  d(s) {
4446
- s && I(t), o.d();
4474
+ s && C(t), o.d();
4447
4475
  }
4448
4476
  };
4449
4477
  }
4450
- function Vi(e) {
4478
+ function Zi(e) {
4451
4479
  let t;
4452
4480
  function r(o, s) {
4453
4481
  if (
4454
4482
  /*skeletonLoading*/
4455
4483
  o[2]
4456
4484
  )
4457
- return Fi;
4485
+ return Xi;
4458
4486
  if (
4459
4487
  /*notificationsData*/
4460
4488
  o[1]?.length
4461
4489
  )
4462
- return Gi;
4490
+ return Vi;
4463
4491
  }
4464
4492
  let n = r(e), i = n && n(e);
4465
4493
  return {
4466
4494
  c() {
4467
- t = T("div"), i && i.c();
4495
+ t = w("div"), i && i.c();
4468
4496
  },
4469
4497
  m(o, s) {
4470
- M(o, t, s), i && i.m(t, null), e[13](t);
4498
+ $(o, t, s), i && i.m(t, null), e[13](t);
4471
4499
  },
4472
4500
  p(o, [s]) {
4473
4501
  n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4474
4502
  },
4475
- i: H,
4476
- o: H,
4503
+ i: T,
4504
+ o: T,
4477
4505
  d(o) {
4478
- o && I(t), i && i.d(), e[13](null);
4506
+ o && C(t), i && i.d(), e[13](null);
4479
4507
  }
4480
4508
  };
4481
4509
  }
4482
- function Xi(e, t, r) {
4483
- let { lang: n = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: s = "" } = t, { customnotif: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: l } = t, c, f = !0, m = window.navigator.userAgent, d = Tt(m) !== "PC", p = [], S = [], $ = A();
4484
- const C = window.matchMedia("(min-width: 768px)");
4485
- function A() {
4486
- const y = Tt(m);
4510
+ function Qi(e, t, r) {
4511
+ let { lang: n = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: s = "" } = t, { customnotif: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: l } = t, c, f, m = !0, p = window.navigator.userAgent, d = Ht(p) !== "PC", S = [], P = [], L = R();
4512
+ const H = window.matchMedia("(min-width: 768px)");
4513
+ function R() {
4514
+ const y = Ht(p);
4487
4515
  if (y)
4488
4516
  return y === "PC" ? "dk" : "mtWeb";
4489
4517
  }
4490
- const R = () => {
4518
+ const N = () => {
4491
4519
  const y = new URL(`${i}/${n}/support-information`);
4492
- y.searchParams.append("env", o), y.searchParams.append("userRoles", s), y.searchParams.append("device", $), fetch(y.href).then((G) => G.json()).then((G) => {
4493
- G.length && (r(1, p = G[0].children), p?.forEach((hr) => {
4494
- S.length && (hr.backgroundColor = S[0], S.shift());
4520
+ y.searchParams.append("env", o), y.searchParams.append("userRoles", s), y.searchParams.append("device", L), fetch(y.href).then((G) => G.json()).then((G) => {
4521
+ G.length && (r(1, S = G[0].children), S?.forEach((cr) => {
4522
+ P.length && (cr.backgroundColor = P[0], P.shift());
4495
4523
  }));
4496
4524
  }).catch((G) => {
4497
4525
  console.error(G);
4498
4526
  }).finally(() => {
4499
4527
  setTimeout(
4500
4528
  () => {
4501
- r(2, f = !1);
4529
+ r(2, m = !1);
4502
4530
  },
4503
4531
  1e3
4504
4532
  );
4505
4533
  });
4506
- }, P = () => {
4507
- a.replace(" ", ""), S = a.split(",");
4534
+ }, U = () => {
4535
+ a.replace(" ", ""), P = a.split(",");
4508
4536
  };
4509
- vr(() => () => {
4537
+ xr(() => () => {
4510
4538
  });
4511
- function D(y) {
4512
- Ce[y ? "unshift" : "push"](() => {
4539
+ function ue(y) {
4540
+ Me[y ? "unshift" : "push"](() => {
4513
4541
  c = y, r(0, c);
4514
4542
  });
4515
4543
  }
@@ -4517,18 +4545,18 @@ function Xi(e, t, r) {
4517
4545
  "lang" in y && r(5, n = y.lang), "cmsendpoint" in y && r(6, i = y.cmsendpoint), "env" in y && r(7, o = y.env), "userroles" in y && r(8, s = y.userroles), "customnotif" in y && r(9, a = y.customnotif), "clientstyling" in y && r(10, h = y.clientstyling), "clientstylingurl" in y && r(11, u = y.clientstylingurl), "mbsource" in y && r(12, l = y.mbsource);
4518
4546
  }, e.$$.update = () => {
4519
4547
  e.$$.dirty & /*customnotif*/
4520
- 512 && a && P(), e.$$.dirty & /*notificationsData*/
4521
- 2 && p && P(), e.$$.dirty & /*userroles, cmsendpoint, env, lang*/
4522
- 480 && s && i && o && n && R(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4523
- 1025 && h && c && $i(c, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4524
- 2049 && u && c && Ri(c, u), e.$$.dirty & /*mbsource, customStylingContainer*/
4525
- 4097 && l && c && Ui(c, `${l}.Style`);
4548
+ 512 && a && U(), e.$$.dirty & /*notificationsData*/
4549
+ 2 && S && U(), e.$$.dirty & /*userroles, cmsendpoint, env, lang*/
4550
+ 480 && s && i && o && n && N(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4551
+ 1025 && h && c && Ui(c, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4552
+ 2049 && u && c && Di(c, u), e.$$.dirty & /*mbsource, customStylingContainer*/
4553
+ 4097 && l && c && Gi(c, `${l}.Style`, f);
4526
4554
  }, [
4527
4555
  c,
4528
- p,
4529
- f,
4556
+ S,
4557
+ m,
4530
4558
  d,
4531
- C,
4559
+ H,
4532
4560
  n,
4533
4561
  i,
4534
4562
  o,
@@ -4537,17 +4565,17 @@ function Xi(e, t, r) {
4537
4565
  h,
4538
4566
  u,
4539
4567
  l,
4540
- D
4568
+ ue
4541
4569
  ];
4542
4570
  }
4543
- class Wi extends Nr {
4571
+ class Ji extends Cr {
4544
4572
  constructor(t) {
4545
- super(), Br(
4573
+ super(), Nr(
4546
4574
  this,
4547
4575
  t,
4548
- Xi,
4549
- Vi,
4550
- Ot,
4576
+ Qi,
4577
+ Zi,
4578
+ It,
4551
4579
  {
4552
4580
  lang: 5,
4553
4581
  cmsendpoint: 6,
@@ -4558,7 +4586,7 @@ class Wi extends Nr {
4558
4586
  clientstylingurl: 11,
4559
4587
  mbsource: 12
4560
4588
  },
4561
- Di
4589
+ ki
4562
4590
  );
4563
4591
  }
4564
4592
  get lang() {
@@ -4610,7 +4638,7 @@ class Wi extends Nr {
4610
4638
  this.$$set({ mbsource: t }), B();
4611
4639
  }
4612
4640
  }
4613
- Or(Wi, { lang: {}, cmsendpoint: {}, env: {}, userroles: {}, customnotif: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4641
+ Ir(Ji, { lang: {}, cmsendpoint: {}, env: {}, userroles: {}, customnotif: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4614
4642
  export {
4615
- Wi as P
4643
+ Ji as P
4616
4644
  };