@everymatrix/general-logout 1.86.4 → 1.86.5

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