@everymatrix/player-account-menu-nd 1.55.0 → 1.56.2

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