@everymatrix/player-panic-button 1.56.0 → 1.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +1,24 @@
1
1
  function T() {
2
2
  }
3
- function vt(e) {
3
+ function Et(e) {
4
4
  return e();
5
5
  }
6
- function We() {
6
+ function Je() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function te(e) {
10
- e.forEach(vt);
10
+ e.forEach(Et);
11
11
  }
12
- function je(e) {
12
+ function ke(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function yt(e, t) {
15
+ function _t(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function Kt(e) {
18
+ function nr(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function xt(e, ...t) {
21
+ function St(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
@@ -27,21 +27,22 @@ function xt(e, ...t) {
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function er(e, t, r) {
31
- e.$$.on_destroy.push(xt(t, r));
30
+ function ir(e, t, r) {
31
+ e.$$.on_destroy.push(St(t, r));
32
32
  }
33
33
  function ae(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function tr(e, t, r) {
37
- const n = rr(e);
36
+ function or(e, t, r) {
37
+ const n = sr(e);
38
38
  if (!n.getElementById(t)) {
39
39
  const i = J("style");
40
- i.id = t, i.textContent = r, nr(n, i);
40
+ i.id = t, i.textContent = r, ar(n, i);
41
41
  }
42
42
  }
43
- function rr(e) {
44
- if (!e) return document;
43
+ function sr(e) {
44
+ if (!e)
45
+ return document;
45
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
46
47
  return t && /** @type {ShadowRoot} */
47
48
  t.host ? (
@@ -49,39 +50,39 @@ function rr(e) {
49
50
  t
50
51
  ) : e.ownerDocument;
51
52
  }
52
- function nr(e, t) {
53
+ function ar(e, t) {
53
54
  return ae(
54
55
  /** @type {Document} */
55
56
  e.head || e,
56
57
  t
57
58
  ), t.sheet;
58
59
  }
59
- function Et(e, t, r) {
60
+ function Bt(e, t, r) {
60
61
  e.insertBefore(t, r || null);
61
62
  }
62
- function ke(e) {
63
+ function Ve(e) {
63
64
  e.parentNode && e.parentNode.removeChild(e);
64
65
  }
65
66
  function J(e) {
66
67
  return document.createElement(e);
67
68
  }
68
- function ir(e) {
69
+ function ur(e) {
69
70
  return document.createTextNode(e);
70
71
  }
71
- function N(e, t, r) {
72
+ function L(e, t, r) {
72
73
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
73
74
  }
74
- function or(e) {
75
+ function hr(e) {
75
76
  return Array.from(e.childNodes);
76
77
  }
77
- function sr(e, t) {
78
+ function lr(e, t) {
78
79
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
79
80
  t);
80
81
  }
81
- function Ze(e, t, r) {
82
+ function Ye(e, t, r) {
82
83
  e.classList.toggle(t, !!r);
83
84
  }
84
- function ar(e) {
85
+ function cr(e) {
85
86
  const t = {};
86
87
  return e.childNodes.forEach(
87
88
  /** @param {Element} node */
@@ -94,22 +95,23 @@ let q;
94
95
  function Y(e) {
95
96
  q = e;
96
97
  }
97
- function ur() {
98
- if (!q) throw new Error("Function called outside component initialization");
98
+ function fr() {
99
+ if (!q)
100
+ throw new Error("Function called outside component initialization");
99
101
  return q;
100
102
  }
101
- function hr(e) {
102
- ur().$$.on_mount.push(e);
103
+ function pr(e) {
104
+ fr().$$.on_mount.push(e);
103
105
  }
104
106
  const U = [], fe = [];
105
- let G = [];
106
- const Qe = [], lr = /* @__PURE__ */ Promise.resolve();
107
- let He = !1;
108
- function cr() {
109
- He || (He = !0, lr.then(H));
107
+ let F = [];
108
+ const qe = [], mr = /* @__PURE__ */ Promise.resolve();
109
+ let Pe = !1;
110
+ function dr() {
111
+ Pe || (Pe = !0, mr.then(H));
110
112
  }
111
- function Pe(e) {
112
- G.push(e);
113
+ function Ae(e) {
114
+ F.push(e);
113
115
  }
114
116
  const xe = /* @__PURE__ */ new Set();
115
117
  let R = 0;
@@ -121,52 +123,53 @@ function H() {
121
123
  try {
122
124
  for (; R < U.length; ) {
123
125
  const t = U[R];
124
- R++, Y(t), fr(t.$$);
126
+ R++, Y(t), br(t.$$);
125
127
  }
126
128
  } catch (t) {
127
129
  throw U.length = 0, R = 0, t;
128
130
  }
129
- for (Y(null), U.length = 0, R = 0; fe.length; ) fe.pop()();
130
- for (let t = 0; t < G.length; t += 1) {
131
- const r = G[t];
131
+ for (Y(null), U.length = 0, R = 0; fe.length; )
132
+ fe.pop()();
133
+ for (let t = 0; t < F.length; t += 1) {
134
+ const r = F[t];
132
135
  xe.has(r) || (xe.add(r), r());
133
136
  }
134
- G.length = 0;
137
+ F.length = 0;
135
138
  } while (U.length);
136
- for (; Qe.length; )
137
- Qe.pop()();
138
- He = !1, xe.clear(), Y(e);
139
+ for (; qe.length; )
140
+ qe.pop()();
141
+ Pe = !1, xe.clear(), Y(e);
139
142
  }
140
- function fr(e) {
143
+ function br(e) {
141
144
  if (e.fragment !== null) {
142
145
  e.update(), te(e.before_update);
143
146
  const t = e.dirty;
144
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pe);
147
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ae);
145
148
  }
146
149
  }
147
- function pr(e) {
150
+ function gr(e) {
148
151
  const t = [], r = [];
149
- G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
152
+ F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
150
153
  }
151
- const mr = /* @__PURE__ */ new Set();
152
- function dr(e, t) {
153
- e && e.i && (mr.delete(e), e.i(t));
154
+ const yr = /* @__PURE__ */ new Set();
155
+ function vr(e, t) {
156
+ e && e.i && (yr.delete(e), e.i(t));
154
157
  }
155
- function br(e, t, r) {
158
+ function xr(e, t, r) {
156
159
  const { fragment: n, after_update: i } = e.$$;
157
- n && n.m(t, r), Pe(() => {
158
- const o = e.$$.on_mount.map(vt).filter(je);
160
+ n && n.m(t, r), Ae(() => {
161
+ const o = e.$$.on_mount.map(Et).filter(ke);
159
162
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
160
- }), i.forEach(Pe);
163
+ }), i.forEach(Ae);
161
164
  }
162
- function gr(e, t) {
165
+ function Er(e, t) {
163
166
  const r = e.$$;
164
- r.fragment !== null && (pr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
167
+ r.fragment !== null && (gr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
165
168
  }
166
- function vr(e, t) {
167
- e.$$.dirty[0] === -1 && (U.push(e), cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
169
+ function _r(e, t) {
170
+ e.$$.dirty[0] === -1 && (U.push(e), dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
168
171
  }
169
- function yr(e, t, r, n, i, o, s = null, a = [-1]) {
172
+ function Sr(e, t, r, n, i, o, a = null, s = [-1]) {
170
173
  const u = q;
171
174
  Y(e);
172
175
  const h = e.$$ = {
@@ -176,7 +179,7 @@ function yr(e, t, r, n, i, o, s = null, a = [-1]) {
176
179
  props: o,
177
180
  update: T,
178
181
  not_equal: i,
179
- bound: We(),
182
+ bound: Je(),
180
183
  // lifecycle
181
184
  on_mount: [],
182
185
  on_destroy: [],
@@ -185,28 +188,28 @@ function yr(e, t, r, n, i, o, s = null, a = [-1]) {
185
188
  after_update: [],
186
189
  context: new Map(t.context || (u ? u.$$.context : [])),
187
190
  // everything else
188
- callbacks: We(),
189
- dirty: a,
191
+ callbacks: Je(),
192
+ dirty: s,
190
193
  skip_bound: !1,
191
194
  root: t.target || u.$$.root
192
195
  };
193
- s && s(h.root);
196
+ a && a(h.root);
194
197
  let l = !1;
195
198
  if (h.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
196
- const v = m.length ? m[0] : f;
197
- return h.ctx && i(h.ctx[c], h.ctx[c] = v) && (!h.skip_bound && h.bound[c] && h.bound[c](v), l && vr(e, c)), f;
199
+ const y = m.length ? m[0] : f;
200
+ return h.ctx && i(h.ctx[c], h.ctx[c] = y) && (!h.skip_bound && h.bound[c] && h.bound[c](y), l && _r(e, c)), f;
198
201
  }) : [], h.update(), l = !0, te(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
199
202
  if (t.hydrate) {
200
- const c = or(t.target);
201
- h.fragment && h.fragment.l(c), c.forEach(ke);
203
+ const c = hr(t.target);
204
+ h.fragment && h.fragment.l(c), c.forEach(Ve);
202
205
  } else
203
206
  h.fragment && h.fragment.c();
204
- t.intro && dr(e.$$.fragment), br(e, t.target, t.anchor), H();
207
+ t.intro && vr(e.$$.fragment), xr(e, t.target, t.anchor), H();
205
208
  }
206
209
  Y(u);
207
210
  }
208
- let _t;
209
- typeof HTMLElement == "function" && (_t = class extends HTMLElement {
211
+ let Tt;
212
+ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
210
213
  /** The Svelte component constructor */
211
214
  $$ctor;
212
215
  /** Slots */
@@ -248,24 +251,24 @@ typeof HTMLElement == "function" && (_t = class extends HTMLElement {
248
251
  let o;
249
252
  return {
250
253
  c: function() {
251
- o = J("slot"), i !== "default" && N(o, "name", i);
254
+ o = J("slot"), i !== "default" && L(o, "name", i);
252
255
  },
253
256
  /**
254
257
  * @param {HTMLElement} target
255
258
  * @param {HTMLElement} [anchor]
256
259
  */
257
260
  m: function(u, h) {
258
- Et(u, o, h);
261
+ Bt(u, o, h);
259
262
  },
260
263
  d: function(u) {
261
- u && ke(o);
264
+ u && Ve(o);
262
265
  }
263
266
  };
264
267
  };
265
268
  };
266
269
  if (await Promise.resolve(), !this.$$cn || this.$$c)
267
270
  return;
268
- const t = {}, r = ar(this);
271
+ const t = {}, r = cr(this);
269
272
  for (const i of this.$$s)
270
273
  i in r && (t[i] = [e(i)]);
271
274
  for (const i of this.attributes) {
@@ -301,8 +304,8 @@ typeof HTMLElement == "function" && (_t = class extends HTMLElement {
301
304
  this.$$c.$$.after_update.push(n), n();
302
305
  for (const i in this.$$l)
303
306
  for (const o of this.$$l[i]) {
304
- const s = this.$$c.$on(i, o);
305
- this.$$l_u.set(o, s);
307
+ const a = this.$$c.$on(i, o);
308
+ this.$$l_u.set(o, a);
306
309
  }
307
310
  this.$$l = {};
308
311
  }
@@ -352,36 +355,36 @@ function ue(e, t, r, n) {
352
355
  return t;
353
356
  }
354
357
  }
355
- function xr(e, t, r, n, i, o) {
356
- let s = class extends _t {
358
+ function Br(e, t, r, n, i, o) {
359
+ let a = class extends Tt {
357
360
  constructor() {
358
361
  super(e, r, i), this.$$p_d = t;
359
362
  }
360
363
  static get observedAttributes() {
361
364
  return Object.keys(t).map(
362
- (a) => (t[a].attribute || a).toLowerCase()
365
+ (s) => (t[s].attribute || s).toLowerCase()
363
366
  );
364
367
  }
365
368
  };
366
- return Object.keys(t).forEach((a) => {
367
- Object.defineProperty(s.prototype, a, {
369
+ return Object.keys(t).forEach((s) => {
370
+ Object.defineProperty(a.prototype, s, {
368
371
  get() {
369
- return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
372
+ return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
370
373
  },
371
374
  set(u) {
372
- u = ue(a, u, t), this.$$d[a] = u, this.$$c?.$set({ [a]: u });
375
+ u = ue(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
373
376
  }
374
377
  });
375
- }), n.forEach((a) => {
376
- Object.defineProperty(s.prototype, a, {
378
+ }), n.forEach((s) => {
379
+ Object.defineProperty(a.prototype, s, {
377
380
  get() {
378
- return this.$$c?.[a];
381
+ return this.$$c?.[s];
379
382
  }
380
383
  });
381
384
  }), e.element = /** @type {any} */
382
- s, s;
385
+ a, a;
383
386
  }
384
- class Er {
387
+ class Tr {
385
388
  /**
386
389
  * ### PRIVATE API
387
390
  *
@@ -400,7 +403,7 @@ class Er {
400
403
  $$set = void 0;
401
404
  /** @returns {void} */
402
405
  $destroy() {
403
- gr(this, 1), this.$destroy = T;
406
+ Er(this, 1), this.$destroy = T;
404
407
  }
405
408
  /**
406
409
  * @template {Extract<keyof Events, string>} K
@@ -409,7 +412,7 @@ class Er {
409
412
  * @returns {() => void}
410
413
  */
411
414
  $on(t, r) {
412
- if (!je(r))
415
+ if (!ke(r))
413
416
  return T;
414
417
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
415
418
  return n.push(r), () => {
@@ -422,18 +425,18 @@ class Er {
422
425
  * @returns {void}
423
426
  */
424
427
  $set(t) {
425
- this.$$set && !Kt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
428
+ this.$$set && !nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
426
429
  }
427
430
  }
428
- const _r = "4";
429
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(_r);
430
- function Sr(e, t) {
431
+ const wr = "4";
432
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wr);
433
+ function Hr(e, t) {
431
434
  if (e) {
432
435
  const r = document.createElement("style");
433
436
  r.innerHTML = t, e.appendChild(r);
434
437
  }
435
438
  }
436
- function Br(e, t) {
439
+ function Pr(e, t) {
437
440
  const r = new URL(t);
438
441
  fetch(r.href).then((n) => n.text()).then((n) => {
439
442
  const i = document.createElement("style");
@@ -442,7 +445,7 @@ function Br(e, t) {
442
445
  console.error("There was an error while trying to load client styling from URL", n);
443
446
  });
444
447
  }
445
- function Tr(e, t, r) {
448
+ function Ar(e, t, r) {
446
449
  if (window.emMessageBus) {
447
450
  const n = document.createElement("style");
448
451
  window.emMessageBus.subscribe(t, (i) => {
@@ -450,17 +453,32 @@ function Tr(e, t, r) {
450
453
  });
451
454
  }
452
455
  }
453
- var Ae = function(e, t) {
454
- return Ae = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
456
+ /*! *****************************************************************************
457
+ Copyright (c) Microsoft Corporation.
458
+
459
+ Permission to use, copy, modify, and/or distribute this software for any
460
+ purpose with or without fee is hereby granted.
461
+
462
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
463
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
464
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
465
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
466
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
467
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
468
+ PERFORMANCE OF THIS SOFTWARE.
469
+ ***************************************************************************** */
470
+ var Oe = function(e, t) {
471
+ return Oe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
455
472
  r.__proto__ = n;
456
473
  } || function(r, n) {
457
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
458
- }, Ae(e, t);
474
+ for (var i in n)
475
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
476
+ }, Oe(e, t);
459
477
  };
460
478
  function A(e, t) {
461
479
  if (typeof t != "function" && t !== null)
462
480
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
463
- Ae(e, t);
481
+ Oe(e, t);
464
482
  function r() {
465
483
  this.constructor = e;
466
484
  }
@@ -470,61 +488,69 @@ var b = function() {
470
488
  return b = Object.assign || function(t) {
471
489
  for (var r, n = 1, i = arguments.length; n < i; n++) {
472
490
  r = arguments[n];
473
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
491
+ for (var o in r)
492
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
474
493
  }
475
494
  return t;
476
495
  }, b.apply(this, arguments);
477
496
  };
478
- function wr(e, t) {
497
+ function Or(e, t) {
479
498
  var r = {};
480
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
499
+ for (var n in e)
500
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
481
501
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
482
502
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
483
503
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
484
504
  return r;
485
505
  }
486
- function Oe(e) {
506
+ function Ie(e) {
487
507
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
488
- if (r) return r.call(e);
489
- if (e && typeof e.length == "number") return {
490
- next: function() {
491
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
492
- }
493
- };
508
+ if (r)
509
+ return r.call(e);
510
+ if (e && typeof e.length == "number")
511
+ return {
512
+ next: function() {
513
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
514
+ }
515
+ };
494
516
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
495
517
  }
496
- function Ie(e, t) {
518
+ function Ce(e, t) {
497
519
  var r = typeof Symbol == "function" && e[Symbol.iterator];
498
- if (!r) return e;
499
- var n = r.call(e), i, o = [], s;
520
+ if (!r)
521
+ return e;
522
+ var n = r.call(e), i, o = [], a;
500
523
  try {
501
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
502
- } catch (a) {
503
- s = { error: a };
524
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
525
+ o.push(i.value);
526
+ } catch (s) {
527
+ a = { error: s };
504
528
  } finally {
505
529
  try {
506
530
  i && !i.done && (r = n.return) && r.call(n);
507
531
  } finally {
508
- if (s) throw s.error;
532
+ if (a)
533
+ throw a.error;
509
534
  }
510
535
  }
511
536
  return o;
512
537
  }
513
- function F(e, t, r) {
514
- if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
515
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
516
- return e.concat(o || Array.prototype.slice.call(t));
538
+ function G(e, t, r) {
539
+ if (r || arguments.length === 2)
540
+ for (var n = 0, i = t.length, o; n < i; n++)
541
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
542
+ return e.concat(o || t);
517
543
  }
518
544
  function P(e) {
519
545
  return typeof e == "function";
520
546
  }
521
- function St(e) {
547
+ function wt(e) {
522
548
  var t = function(n) {
523
549
  Error.call(n), n.stack = new Error().stack;
524
550
  }, r = e(t);
525
551
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
526
552
  }
527
- var Ee = St(function(e) {
553
+ var Ee = wt(function(e) {
528
554
  return function(r) {
529
555
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
530
556
  ` + r.map(function(n, i) {
@@ -533,7 +559,7 @@ var Ee = St(function(e) {
533
559
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
534
560
  };
535
561
  });
536
- function Ce(e, t) {
562
+ function Le(e, t) {
537
563
  if (e) {
538
564
  var r = e.indexOf(t);
539
565
  0 <= r && e.splice(r, 1);
@@ -547,11 +573,11 @@ var de = function() {
547
573
  var t, r, n, i, o;
548
574
  if (!this.closed) {
549
575
  this.closed = !0;
550
- var s = this._parentage;
551
- if (s)
552
- if (this._parentage = null, Array.isArray(s))
576
+ var a = this._parentage;
577
+ if (a)
578
+ if (this._parentage = null, Array.isArray(a))
553
579
  try {
554
- for (var a = Oe(s), u = a.next(); !u.done; u = a.next()) {
580
+ for (var s = Ie(a), u = s.next(); !u.done; u = s.next()) {
555
581
  var h = u.value;
556
582
  h.remove(this);
557
583
  }
@@ -559,13 +585,14 @@ var de = function() {
559
585
  t = { error: g };
560
586
  } finally {
561
587
  try {
562
- u && !u.done && (r = a.return) && r.call(a);
588
+ u && !u.done && (r = s.return) && r.call(s);
563
589
  } finally {
564
- if (t) throw t.error;
590
+ if (t)
591
+ throw t.error;
565
592
  }
566
593
  }
567
594
  else
568
- s.remove(this);
595
+ a.remove(this);
569
596
  var l = this.initialTeardown;
570
597
  if (P(l))
571
598
  try {
@@ -577,12 +604,12 @@ var de = function() {
577
604
  if (c) {
578
605
  this._finalizers = null;
579
606
  try {
580
- for (var f = Oe(c), m = f.next(); !m.done; m = f.next()) {
581
- var v = m.value;
607
+ for (var f = Ie(c), m = f.next(); !m.done; m = f.next()) {
608
+ var y = m.value;
582
609
  try {
583
- Je(v);
610
+ Ke(y);
584
611
  } catch (g) {
585
- o = o ?? [], g instanceof Ee ? o = F(F([], Ie(o)), Ie(g.errors)) : o.push(g);
612
+ o = o ?? [], g instanceof Ee ? o = G(G([], Ce(o)), Ce(g.errors)) : o.push(g);
586
613
  }
587
614
  }
588
615
  } catch (g) {
@@ -591,7 +618,8 @@ var de = function() {
591
618
  try {
592
619
  m && !m.done && (i = f.return) && i.call(f);
593
620
  } finally {
594
- if (n) throw n.error;
621
+ if (n)
622
+ throw n.error;
595
623
  }
596
624
  }
597
625
  }
@@ -602,7 +630,7 @@ var de = function() {
602
630
  var r;
603
631
  if (t && t !== this)
604
632
  if (this.closed)
605
- Je(t);
633
+ Ke(t);
606
634
  else {
607
635
  if (t instanceof e) {
608
636
  if (t.closed || t._hasParent(this))
@@ -619,49 +647,53 @@ var de = function() {
619
647
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
620
648
  }, e.prototype._removeParent = function(t) {
621
649
  var r = this._parentage;
622
- r === t ? this._parentage = null : Array.isArray(r) && Ce(r, t);
650
+ r === t ? this._parentage = null : Array.isArray(r) && Le(r, t);
623
651
  }, e.prototype.remove = function(t) {
624
652
  var r = this._finalizers;
625
- r && Ce(r, t), t instanceof e && t._removeParent(this);
653
+ r && Le(r, t), t instanceof e && t._removeParent(this);
626
654
  }, e.EMPTY = function() {
627
655
  var t = new e();
628
656
  return t.closed = !0, t;
629
657
  }(), e;
630
- }(), Bt = de.EMPTY;
631
- function Tt(e) {
658
+ }(), Ht = de.EMPTY;
659
+ function Pt(e) {
632
660
  return e instanceof de || e && "closed" in e && P(e.remove) && P(e.add) && P(e.unsubscribe);
633
661
  }
634
- function Je(e) {
662
+ function Ke(e) {
635
663
  P(e) ? e() : e.unsubscribe();
636
664
  }
637
- var Hr = {
638
- Promise: void 0
639
- }, Pr = {
665
+ var At = {
666
+ onUnhandledError: null,
667
+ onStoppedNotification: null,
668
+ Promise: void 0,
669
+ useDeprecatedSynchronousErrorHandling: !1,
670
+ useDeprecatedNextContext: !1
671
+ }, Ir = {
640
672
  setTimeout: function(e, t) {
641
673
  for (var r = [], n = 2; n < arguments.length; n++)
642
674
  r[n - 2] = arguments[n];
643
- return setTimeout.apply(void 0, F([e, t], Ie(r)));
675
+ return setTimeout.apply(void 0, G([e, t], Ce(r)));
644
676
  },
645
677
  clearTimeout: function(e) {
646
678
  return clearTimeout(e);
647
679
  },
648
680
  delegate: void 0
649
681
  };
650
- function Ar(e) {
651
- Pr.setTimeout(function() {
682
+ function Cr(e) {
683
+ Ir.setTimeout(function() {
652
684
  throw e;
653
685
  });
654
686
  }
655
- function Ye() {
687
+ function et() {
656
688
  }
657
689
  function he(e) {
658
690
  e();
659
691
  }
660
- var wt = function(e) {
692
+ var Ot = function(e) {
661
693
  A(t, e);
662
694
  function t(r) {
663
695
  var n = e.call(this) || this;
664
- return n.isStopped = !1, r ? (n.destination = r, Tt(r) && r.add(n)) : n.destination = Cr, n;
696
+ return n.isStopped = !1, r ? (n.destination = r, Pt(r) && r.add(n)) : n.destination = $r, n;
665
697
  }
666
698
  return t.create = function(r, n, i) {
667
699
  return new Ne(r, n, i);
@@ -688,7 +720,11 @@ var wt = function(e) {
688
720
  this.unsubscribe();
689
721
  }
690
722
  }, t;
691
- }(de), Or = function() {
723
+ }(de), Lr = Function.prototype.bind;
724
+ function _e(e, t) {
725
+ return Lr.call(e, t);
726
+ }
727
+ var Nr = function() {
692
728
  function e(t) {
693
729
  this.partialObserver = t;
694
730
  }
@@ -722,40 +758,52 @@ var wt = function(e) {
722
758
  }(), Ne = function(e) {
723
759
  A(t, e);
724
760
  function t(r, n, i) {
725
- var o = e.call(this) || this, s;
726
- return P(r) || !r ? s = {
727
- next: r ?? void 0,
728
- error: n ?? void 0,
729
- complete: i ?? void 0
730
- } : s = r, o.destination = new Or(s), o;
761
+ var o = e.call(this) || this, a;
762
+ if (P(r) || !r)
763
+ a = {
764
+ next: r ?? void 0,
765
+ error: n ?? void 0,
766
+ complete: i ?? void 0
767
+ };
768
+ else {
769
+ var s;
770
+ o && At.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
771
+ return o.unsubscribe();
772
+ }, a = {
773
+ next: r.next && _e(r.next, s),
774
+ error: r.error && _e(r.error, s),
775
+ complete: r.complete && _e(r.complete, s)
776
+ }) : a = r;
777
+ }
778
+ return o.destination = new Nr(a), o;
731
779
  }
732
780
  return t;
733
- }(wt);
781
+ }(Ot);
734
782
  function ie(e) {
735
- Ar(e);
783
+ Cr(e);
736
784
  }
737
- function Ir(e) {
785
+ function Mr(e) {
738
786
  throw e;
739
787
  }
740
- var Cr = {
788
+ var $r = {
741
789
  closed: !0,
742
- next: Ye,
743
- error: Ir,
744
- complete: Ye
745
- }, Nr = function() {
790
+ next: et,
791
+ error: Mr,
792
+ complete: et
793
+ }, Rr = function() {
746
794
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
747
795
  }();
748
- function Lr(e) {
796
+ function Dr(e) {
749
797
  return e;
750
798
  }
751
- function Mr(e) {
752
- return e.length === 0 ? Lr : e.length === 1 ? e[0] : function(r) {
799
+ function Ur(e) {
800
+ return e.length === 0 ? Dr : e.length === 1 ? e[0] : function(r) {
753
801
  return e.reduce(function(n, i) {
754
802
  return i(n);
755
803
  }, r);
756
804
  };
757
805
  }
758
- var qe = function() {
806
+ var tt = function() {
759
807
  function e(t) {
760
808
  t && (this._subscribe = t);
761
809
  }
@@ -763,10 +811,10 @@ var qe = function() {
763
811
  var r = new e();
764
812
  return r.source = this, r.operator = t, r;
765
813
  }, e.prototype.subscribe = function(t, r, n) {
766
- var i = this, o = Rr(t) ? t : new Ne(t, r, n);
814
+ var i = this, o = Gr(t) ? t : new Ne(t, r, n);
767
815
  return he(function() {
768
- var s = i, a = s.operator, u = s.source;
769
- o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
816
+ var a = i, s = a.operator, u = a.source;
817
+ o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
770
818
  }), o;
771
819
  }, e.prototype._trySubscribe = function(t) {
772
820
  try {
@@ -776,37 +824,37 @@ var qe = function() {
776
824
  }
777
825
  }, e.prototype.forEach = function(t, r) {
778
826
  var n = this;
779
- return r = Ke(r), new r(function(i, o) {
780
- var s = new Ne({
781
- next: function(a) {
827
+ return r = rt(r), new r(function(i, o) {
828
+ var a = new Ne({
829
+ next: function(s) {
782
830
  try {
783
- t(a);
831
+ t(s);
784
832
  } catch (u) {
785
- o(u), s.unsubscribe();
833
+ o(u), a.unsubscribe();
786
834
  }
787
835
  },
788
836
  error: o,
789
837
  complete: i
790
838
  });
791
- n.subscribe(s);
839
+ n.subscribe(a);
792
840
  });
793
841
  }, e.prototype._subscribe = function(t) {
794
842
  var r;
795
843
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
796
- }, e.prototype[Nr] = function() {
844
+ }, e.prototype[Rr] = function() {
797
845
  return this;
798
846
  }, e.prototype.pipe = function() {
799
847
  for (var t = [], r = 0; r < arguments.length; r++)
800
848
  t[r] = arguments[r];
801
- return Mr(t)(this);
849
+ return Ur(t)(this);
802
850
  }, e.prototype.toPromise = function(t) {
803
851
  var r = this;
804
- return t = Ke(t), new t(function(n, i) {
852
+ return t = rt(t), new t(function(n, i) {
805
853
  var o;
806
- r.subscribe(function(s) {
807
- return o = s;
808
- }, function(s) {
809
- return i(s);
854
+ r.subscribe(function(a) {
855
+ return o = a;
856
+ }, function(a) {
857
+ return i(a);
810
858
  }, function() {
811
859
  return n(o);
812
860
  });
@@ -815,32 +863,32 @@ var qe = function() {
815
863
  return new e(t);
816
864
  }, e;
817
865
  }();
818
- function Ke(e) {
866
+ function rt(e) {
819
867
  var t;
820
- return (t = e ?? Hr.Promise) !== null && t !== void 0 ? t : Promise;
868
+ return (t = e ?? At.Promise) !== null && t !== void 0 ? t : Promise;
821
869
  }
822
- function $r(e) {
870
+ function Fr(e) {
823
871
  return e && P(e.next) && P(e.error) && P(e.complete);
824
872
  }
825
- function Rr(e) {
826
- return e && e instanceof wt || $r(e) && Tt(e);
873
+ function Gr(e) {
874
+ return e && e instanceof Ot || Fr(e) && Pt(e);
827
875
  }
828
- var Dr = St(function(e) {
876
+ var jr = wt(function(e) {
829
877
  return function() {
830
878
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
831
879
  };
832
- }), Ht = function(e) {
880
+ }), It = function(e) {
833
881
  A(t, e);
834
882
  function t() {
835
883
  var r = e.call(this) || this;
836
884
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
837
885
  }
838
886
  return t.prototype.lift = function(r) {
839
- var n = new et(this, this);
887
+ var n = new nt(this, this);
840
888
  return n.operator = r, n;
841
889
  }, t.prototype._throwIfClosed = function() {
842
890
  if (this.closed)
843
- throw new Dr();
891
+ throw new jr();
844
892
  }, t.prototype.next = function(r) {
845
893
  var n = this;
846
894
  he(function() {
@@ -848,17 +896,18 @@ var Dr = St(function(e) {
848
896
  if (n._throwIfClosed(), !n.isStopped) {
849
897
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
850
898
  try {
851
- for (var s = Oe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
852
- var u = a.value;
899
+ for (var a = Ie(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
900
+ var u = s.value;
853
901
  u.next(r);
854
902
  }
855
903
  } catch (h) {
856
904
  i = { error: h };
857
905
  } finally {
858
906
  try {
859
- a && !a.done && (o = s.return) && o.call(s);
907
+ s && !s.done && (o = a.return) && o.call(a);
860
908
  } finally {
861
- if (i) throw i.error;
909
+ if (i)
910
+ throw i.error;
862
911
  }
863
912
  }
864
913
  }
@@ -895,20 +944,20 @@ var Dr = St(function(e) {
895
944
  }, t.prototype._subscribe = function(r) {
896
945
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
897
946
  }, t.prototype._innerSubscribe = function(r) {
898
- var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
899
- return o || s ? Bt : (this.currentObservers = null, a.push(r), new de(function() {
900
- n.currentObservers = null, Ce(a, r);
947
+ var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
948
+ return o || a ? Ht : (this.currentObservers = null, s.push(r), new de(function() {
949
+ n.currentObservers = null, Le(s, r);
901
950
  }));
902
951
  }, t.prototype._checkFinalizedStatuses = function(r) {
903
- var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
904
- i ? r.error(o) : s && r.complete();
952
+ var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
953
+ i ? r.error(o) : a && r.complete();
905
954
  }, t.prototype.asObservable = function() {
906
- var r = new qe();
955
+ var r = new tt();
907
956
  return r.source = this, r;
908
957
  }, t.create = function(r, n) {
909
- return new et(r, n);
958
+ return new nt(r, n);
910
959
  }, t;
911
- }(qe), et = function(e) {
960
+ }(tt), nt = function(e) {
912
961
  A(t, e);
913
962
  function t(r, n) {
914
963
  var i = e.call(this) || this;
@@ -925,45 +974,45 @@ var Dr = St(function(e) {
925
974
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
926
975
  }, t.prototype._subscribe = function(r) {
927
976
  var n, i;
928
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Bt;
977
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ht;
929
978
  }, t;
930
- }(Ht), Pt = {
979
+ }(It), Ct = {
931
980
  now: function() {
932
- return (Pt.delegate || Date).now();
981
+ return (Ct.delegate || Date).now();
933
982
  },
934
983
  delegate: void 0
935
- }, Ur = function(e) {
984
+ }, kr = function(e) {
936
985
  A(t, e);
937
986
  function t(r, n, i) {
938
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Pt);
987
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ct);
939
988
  var o = e.call(this) || this;
940
989
  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;
941
990
  }
942
991
  return t.prototype.next = function(r) {
943
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, u = n._windowTime;
944
- i || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
992
+ var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, u = n._windowTime;
993
+ i || (o.push(r), !a && o.push(s.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
945
994
  }, t.prototype._subscribe = function(r) {
946
995
  this._throwIfClosed(), this._trimBuffer();
947
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !r.closed; u += o ? 1 : 2)
948
- r.next(a[u]);
996
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), u = 0; u < s.length && !r.closed; u += o ? 1 : 2)
997
+ r.next(s[u]);
949
998
  return this._checkFinalizedStatuses(r), n;
950
999
  }, t.prototype._trimBuffer = function() {
951
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
952
- if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1000
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
1001
+ if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
953
1002
  for (var u = i.now(), h = 0, l = 1; l < o.length && o[l] <= u; l += 2)
954
1003
  h = l;
955
1004
  h && o.splice(0, h + 1);
956
1005
  }
957
1006
  }, t;
958
- }(Ht);
959
- const tt = [], rt = {}, Gr = (e, t = 0) => {
960
- if (tt.indexOf(e) == -1) {
961
- const r = new Ur(t);
962
- rt[e] = r, tt.push(e);
1007
+ }(It);
1008
+ const it = [], ot = {}, Vr = (e, t = 0) => {
1009
+ if (it.indexOf(e) == -1) {
1010
+ const r = new kr(t);
1011
+ ot[e] = r, it.push(e);
963
1012
  }
964
- return rt[e];
1013
+ return ot[e];
965
1014
  }, D = [];
966
- function Fr(e, t) {
1015
+ function zr(e, t) {
967
1016
  return {
968
1017
  subscribe: be(e, t).subscribe
969
1018
  };
@@ -971,8 +1020,8 @@ function Fr(e, t) {
971
1020
  function be(e, t = T) {
972
1021
  let r;
973
1022
  const n = /* @__PURE__ */ new Set();
974
- function i(a) {
975
- if (yt(e, a) && (e = a, r)) {
1023
+ function i(s) {
1024
+ if (_t(e, s) && (e = s, r)) {
976
1025
  const u = !D.length;
977
1026
  for (const h of n)
978
1027
  h[1](), D.push(h, e);
@@ -983,23 +1032,23 @@ function be(e, t = T) {
983
1032
  }
984
1033
  }
985
1034
  }
986
- function o(a) {
987
- i(a(e));
1035
+ function o(s) {
1036
+ i(s(e));
988
1037
  }
989
- function s(a, u = T) {
990
- const h = [a, u];
991
- return n.add(h), n.size === 1 && (r = t(i, o) || T), a(e), () => {
1038
+ function a(s, u = T) {
1039
+ const h = [s, u];
1040
+ return n.add(h), n.size === 1 && (r = t(i, o) || T), s(e), () => {
992
1041
  n.delete(h), n.size === 0 && r && (r(), r = null);
993
1042
  };
994
1043
  }
995
- return { set: i, update: o, subscribe: s };
1044
+ return { set: i, update: o, subscribe: a };
996
1045
  }
997
- function z(e, t, r) {
1046
+ function X(e, t, r) {
998
1047
  const n = !Array.isArray(e), i = n ? [e] : e;
999
1048
  if (!i.every(Boolean))
1000
1049
  throw new Error("derived() expects stores as input, got a falsy value");
1001
1050
  const o = t.length < 2;
1002
- return Fr(r, (s, a) => {
1051
+ return zr(r, (a, s) => {
1003
1052
  let u = !1;
1004
1053
  const h = [];
1005
1054
  let l = 0, c = T;
@@ -1007,11 +1056,11 @@ function z(e, t, r) {
1007
1056
  if (l)
1008
1057
  return;
1009
1058
  c();
1010
- const v = t(n ? h[0] : h, s, a);
1011
- o ? s(v) : c = je(v) ? v : T;
1059
+ const y = t(n ? h[0] : h, a, s);
1060
+ o ? a(y) : c = ke(y) ? y : T;
1012
1061
  }, m = i.map(
1013
- (v, g) => xt(
1014
- v,
1062
+ (y, g) => St(
1063
+ y,
1015
1064
  (B) => {
1016
1065
  h[g] = B, l &= ~(1 << g), u && f();
1017
1066
  },
@@ -1025,70 +1074,70 @@ function z(e, t, r) {
1025
1074
  };
1026
1075
  });
1027
1076
  }
1028
- function jr(e) {
1077
+ function Xr(e) {
1029
1078
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1030
1079
  }
1031
- var kr = function(t) {
1032
- return Vr(t) && !Xr(t);
1080
+ var Wr = function(t) {
1081
+ return Zr(t) && !Qr(t);
1033
1082
  };
1034
- function Vr(e) {
1083
+ function Zr(e) {
1035
1084
  return !!e && typeof e == "object";
1036
1085
  }
1037
- function Xr(e) {
1086
+ function Qr(e) {
1038
1087
  var t = Object.prototype.toString.call(e);
1039
- return t === "[object RegExp]" || t === "[object Date]" || Zr(e);
1088
+ return t === "[object RegExp]" || t === "[object Date]" || qr(e);
1040
1089
  }
1041
- var zr = typeof Symbol == "function" && Symbol.for, Wr = zr ? Symbol.for("react.element") : 60103;
1042
- function Zr(e) {
1043
- return e.$$typeof === Wr;
1090
+ var Jr = typeof Symbol == "function" && Symbol.for, Yr = Jr ? Symbol.for("react.element") : 60103;
1091
+ function qr(e) {
1092
+ return e.$$typeof === Yr;
1044
1093
  }
1045
- function Qr(e) {
1094
+ function Kr(e) {
1046
1095
  return Array.isArray(e) ? [] : {};
1047
1096
  }
1048
1097
  function K(e, t) {
1049
- return t.clone !== !1 && t.isMergeableObject(e) ? j(Qr(e), e, t) : e;
1098
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(Kr(e), e, t) : e;
1050
1099
  }
1051
- function Jr(e, t, r) {
1100
+ function en(e, t, r) {
1052
1101
  return e.concat(t).map(function(n) {
1053
1102
  return K(n, r);
1054
1103
  });
1055
1104
  }
1056
- function Yr(e, t) {
1105
+ function tn(e, t) {
1057
1106
  if (!t.customMerge)
1058
1107
  return j;
1059
1108
  var r = t.customMerge(e);
1060
1109
  return typeof r == "function" ? r : j;
1061
1110
  }
1062
- function qr(e) {
1111
+ function rn(e) {
1063
1112
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1064
1113
  return Object.propertyIsEnumerable.call(e, t);
1065
1114
  }) : [];
1066
1115
  }
1067
- function nt(e) {
1068
- return Object.keys(e).concat(qr(e));
1116
+ function st(e) {
1117
+ return Object.keys(e).concat(rn(e));
1069
1118
  }
1070
- function At(e, t) {
1119
+ function Lt(e, t) {
1071
1120
  try {
1072
1121
  return t in e;
1073
1122
  } catch {
1074
1123
  return !1;
1075
1124
  }
1076
1125
  }
1077
- function Kr(e, t) {
1078
- return At(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1126
+ function nn(e, t) {
1127
+ return Lt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1079
1128
  }
1080
- function en(e, t, r) {
1129
+ function on(e, t, r) {
1081
1130
  var n = {};
1082
- return r.isMergeableObject(e) && nt(e).forEach(function(i) {
1131
+ return r.isMergeableObject(e) && st(e).forEach(function(i) {
1083
1132
  n[i] = K(e[i], r);
1084
- }), nt(t).forEach(function(i) {
1085
- Kr(e, i) || (At(e, i) && r.isMergeableObject(t[i]) ? n[i] = Yr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
1133
+ }), st(t).forEach(function(i) {
1134
+ nn(e, i) || (Lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = tn(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
1086
1135
  }), n;
1087
1136
  }
1088
1137
  function j(e, t, r) {
1089
- r = r || {}, r.arrayMerge = r.arrayMerge || Jr, r.isMergeableObject = r.isMergeableObject || kr, r.cloneUnlessOtherwiseSpecified = K;
1138
+ r = r || {}, r.arrayMerge = r.arrayMerge || en, r.isMergeableObject = r.isMergeableObject || Wr, r.cloneUnlessOtherwiseSpecified = K;
1090
1139
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1091
- return o ? n ? r.arrayMerge(e, t, r) : en(e, t, r) : K(t, r);
1140
+ return o ? n ? r.arrayMerge(e, t, r) : on(e, t, r) : K(t, r);
1092
1141
  }
1093
1142
  j.all = function(t, r) {
1094
1143
  if (!Array.isArray(t))
@@ -1097,56 +1146,58 @@ j.all = function(t, r) {
1097
1146
  return j(n, i, r);
1098
1147
  }, {});
1099
1148
  };
1100
- var tn = j, rn = tn;
1101
- const nn = /* @__PURE__ */ jr(rn);
1102
- function _e(e, t) {
1103
- var r = t && t.cache ? t.cache : cn, n = t && t.serializer ? t.serializer : hn, i = t && t.strategy ? t.strategy : an;
1149
+ var sn = j, an = sn;
1150
+ const un = /* @__PURE__ */ Xr(an);
1151
+ function Se(e, t) {
1152
+ var r = t && t.cache ? t.cache : mn, n = t && t.serializer ? t.serializer : pn, i = t && t.strategy ? t.strategy : ln;
1104
1153
  return i(e, {
1105
1154
  cache: r,
1106
1155
  serializer: n
1107
1156
  });
1108
1157
  }
1109
- function on(e) {
1158
+ function hn(e) {
1110
1159
  return e == null || typeof e == "number" || typeof e == "boolean";
1111
1160
  }
1112
- function sn(e, t, r, n) {
1113
- var i = on(n) ? n : r(n), o = t.get(i);
1161
+ function Nt(e, t, r, n) {
1162
+ var i = hn(n) ? n : r(n), o = t.get(i);
1114
1163
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1115
1164
  }
1116
- function Ot(e, t, r) {
1165
+ function Mt(e, t, r) {
1117
1166
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1118
1167
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1119
1168
  }
1120
- function It(e, t, r, n, i) {
1169
+ function ze(e, t, r, n, i) {
1121
1170
  return r.bind(t, e, n, i);
1122
1171
  }
1123
- function an(e, t) {
1124
- var r = e.length === 1 ? sn : Ot;
1125
- return It(e, this, r, t.cache.create(), t.serializer);
1172
+ function ln(e, t) {
1173
+ var r = e.length === 1 ? Nt : Mt;
1174
+ return ze(e, this, r, t.cache.create(), t.serializer);
1175
+ }
1176
+ function cn(e, t) {
1177
+ return ze(e, this, Mt, t.cache.create(), t.serializer);
1126
1178
  }
1127
- function un(e, t) {
1128
- return It(e, this, Ot, t.cache.create(), t.serializer);
1179
+ function fn(e, t) {
1180
+ return ze(e, this, Nt, t.cache.create(), t.serializer);
1129
1181
  }
1130
- var hn = function() {
1182
+ var pn = function() {
1131
1183
  return JSON.stringify(arguments);
1132
- }, ln = (
1133
- /** @class */
1134
- function() {
1135
- function e() {
1136
- this.cache = /* @__PURE__ */ Object.create(null);
1137
- }
1138
- return e.prototype.get = function(t) {
1139
- return this.cache[t];
1140
- }, e.prototype.set = function(t, r) {
1141
- this.cache[t] = r;
1142
- }, e;
1143
- }()
1144
- ), cn = {
1184
+ };
1185
+ function Xe() {
1186
+ this.cache = /* @__PURE__ */ Object.create(null);
1187
+ }
1188
+ Xe.prototype.get = function(e) {
1189
+ return this.cache[e];
1190
+ };
1191
+ Xe.prototype.set = function(e, t) {
1192
+ this.cache[e] = t;
1193
+ };
1194
+ var mn = {
1145
1195
  create: function() {
1146
- return new ln();
1196
+ return new Xe();
1147
1197
  }
1148
- }, Se = {
1149
- variadic: un
1198
+ }, Be = {
1199
+ variadic: cn,
1200
+ monadic: fn
1150
1201
  }, p;
1151
1202
  (function(e) {
1152
1203
  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";
@@ -1159,43 +1210,43 @@ var k;
1159
1210
  (function(e) {
1160
1211
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1161
1212
  })(k || (k = {}));
1162
- function it(e) {
1213
+ function at(e) {
1163
1214
  return e.type === x.literal;
1164
1215
  }
1165
- function fn(e) {
1216
+ function dn(e) {
1166
1217
  return e.type === x.argument;
1167
1218
  }
1168
- function Ct(e) {
1219
+ function $t(e) {
1169
1220
  return e.type === x.number;
1170
1221
  }
1171
- function Nt(e) {
1222
+ function Rt(e) {
1172
1223
  return e.type === x.date;
1173
1224
  }
1174
- function Lt(e) {
1225
+ function Dt(e) {
1175
1226
  return e.type === x.time;
1176
1227
  }
1177
- function Mt(e) {
1228
+ function Ut(e) {
1178
1229
  return e.type === x.select;
1179
1230
  }
1180
- function $t(e) {
1231
+ function Ft(e) {
1181
1232
  return e.type === x.plural;
1182
1233
  }
1183
- function pn(e) {
1234
+ function bn(e) {
1184
1235
  return e.type === x.pound;
1185
1236
  }
1186
- function Rt(e) {
1237
+ function Gt(e) {
1187
1238
  return e.type === x.tag;
1188
1239
  }
1189
- function Dt(e) {
1240
+ function jt(e) {
1190
1241
  return !!(e && typeof e == "object" && e.type === k.number);
1191
1242
  }
1192
- function Le(e) {
1243
+ function Me(e) {
1193
1244
  return !!(e && typeof e == "object" && e.type === k.dateTime);
1194
1245
  }
1195
- var Ut = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, mn = /(?:[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;
1196
- function dn(e) {
1246
+ var kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gn = /(?:[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;
1247
+ function yn(e) {
1197
1248
  var t = {};
1198
- return e.replace(mn, function(r) {
1249
+ return e.replace(gn, function(r) {
1199
1250
  var n = r.length;
1200
1251
  switch (r[0]) {
1201
1252
  case "G":
@@ -1284,36 +1335,36 @@ function dn(e) {
1284
1335
  return "";
1285
1336
  }), t;
1286
1337
  }
1287
- var bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1288
- function gn(e) {
1338
+ var vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1339
+ function xn(e) {
1289
1340
  if (e.length === 0)
1290
1341
  throw new Error("Number skeleton cannot be empty");
1291
- for (var t = e.split(bn).filter(function(f) {
1342
+ for (var t = e.split(vn).filter(function(f) {
1292
1343
  return f.length > 0;
1293
1344
  }), r = [], n = 0, i = t; n < i.length; n++) {
1294
- var o = i[n], s = o.split("/");
1295
- if (s.length === 0)
1345
+ var o = i[n], a = o.split("/");
1346
+ if (a.length === 0)
1296
1347
  throw new Error("Invalid number skeleton");
1297
- for (var a = s[0], u = s.slice(1), h = 0, l = u; h < l.length; h++) {
1348
+ for (var s = a[0], u = a.slice(1), h = 0, l = u; h < l.length; h++) {
1298
1349
  var c = l[h];
1299
1350
  if (c.length === 0)
1300
1351
  throw new Error("Invalid number skeleton");
1301
1352
  }
1302
- r.push({ stem: a, options: u });
1353
+ r.push({ stem: s, options: u });
1303
1354
  }
1304
1355
  return r;
1305
1356
  }
1306
- function vn(e) {
1357
+ function En(e) {
1307
1358
  return e.replace(/^(.*?)-/, "");
1308
1359
  }
1309
- var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gt = /^(@+)?(\+|#+)?[rs]?$/g, yn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ft = /^(0+)$/;
1310
- function st(e) {
1360
+ var ut = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Vt = /^(@+)?(\+|#+)?[rs]?$/g, _n = /(\*)(0+)|(#+)(0+)|(0+)/g, zt = /^(0+)$/;
1361
+ function ht(e) {
1311
1362
  var t = {};
1312
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gt, function(r, n, i) {
1363
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Vt, function(r, n, i) {
1313
1364
  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)), "";
1314
1365
  }), t;
1315
1366
  }
1316
- function jt(e) {
1367
+ function Xt(e) {
1317
1368
  switch (e) {
1318
1369
  case "sign-auto":
1319
1370
  return {
@@ -1353,7 +1404,7 @@ function jt(e) {
1353
1404
  };
1354
1405
  }
1355
1406
  }
1356
- function xn(e) {
1407
+ function Sn(e) {
1357
1408
  var t;
1358
1409
  if (e[0] === "E" && e[1] === "E" ? (t = {
1359
1410
  notation: "engineering"
@@ -1361,17 +1412,17 @@ function xn(e) {
1361
1412
  notation: "scientific"
1362
1413
  }, e = e.slice(1)), t) {
1363
1414
  var r = e.slice(0, 2);
1364
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ft.test(e))
1415
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !zt.test(e))
1365
1416
  throw new Error("Malformed concise eng/scientific notation");
1366
1417
  t.minimumIntegerDigits = e.length;
1367
1418
  }
1368
1419
  return t;
1369
1420
  }
1370
- function at(e) {
1371
- var t = {}, r = jt(e);
1421
+ function lt(e) {
1422
+ var t = {}, r = Xt(e);
1372
1423
  return r || t;
1373
1424
  }
1374
- function En(e) {
1425
+ function Bn(e) {
1375
1426
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1376
1427
  var i = n[r];
1377
1428
  switch (i.stem) {
@@ -1395,7 +1446,7 @@ function En(e) {
1395
1446
  continue;
1396
1447
  case "measure-unit":
1397
1448
  case "unit":
1398
- t.style = "unit", t.unit = vn(i.options[0]);
1449
+ t.style = "unit", t.unit = En(i.options[0]);
1399
1450
  continue;
1400
1451
  case "compact-short":
1401
1452
  case "K":
@@ -1407,12 +1458,12 @@ function En(e) {
1407
1458
  continue;
1408
1459
  case "scientific":
1409
1460
  t = b(b(b({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
1410
- return b(b({}, u), at(h));
1461
+ return b(b({}, u), lt(h));
1411
1462
  }, {}));
1412
1463
  continue;
1413
1464
  case "engineering":
1414
1465
  t = b(b(b({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
1415
- return b(b({}, u), at(h));
1466
+ return b(b({}, u), lt(h));
1416
1467
  }, {}));
1417
1468
  continue;
1418
1469
  case "notation-simple":
@@ -1457,7 +1508,7 @@ function En(e) {
1457
1508
  case "integer-width":
1458
1509
  if (i.options.length > 1)
1459
1510
  throw new RangeError("integer-width stems only accept a single optional option");
1460
- i.options[0].replace(yn, function(u, h, l, c, f, m) {
1511
+ i.options[0].replace(_n, function(u, h, l, c, f, m) {
1461
1512
  if (h)
1462
1513
  t.minimumIntegerDigits = l.length;
1463
1514
  else {
@@ -1470,28 +1521,28 @@ function En(e) {
1470
1521
  });
1471
1522
  continue;
1472
1523
  }
1473
- if (Ft.test(i.stem)) {
1524
+ if (zt.test(i.stem)) {
1474
1525
  t.minimumIntegerDigits = i.stem.length;
1475
1526
  continue;
1476
1527
  }
1477
- if (ot.test(i.stem)) {
1528
+ if (ut.test(i.stem)) {
1478
1529
  if (i.options.length > 1)
1479
1530
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1480
- i.stem.replace(ot, function(u, h, l, c, f, m) {
1531
+ i.stem.replace(ut, function(u, h, l, c, f, m) {
1481
1532
  return l === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1482
1533
  });
1483
1534
  var o = i.options[0];
1484
- o === "w" ? t = b(b({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = b(b({}, t), st(o)));
1535
+ o === "w" ? t = b(b({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = b(b({}, t), ht(o)));
1485
1536
  continue;
1486
1537
  }
1487
- if (Gt.test(i.stem)) {
1488
- t = b(b({}, t), st(i.stem));
1538
+ if (Vt.test(i.stem)) {
1539
+ t = b(b({}, t), ht(i.stem));
1489
1540
  continue;
1490
1541
  }
1491
- var s = jt(i.stem);
1492
- s && (t = b(b({}, t), s));
1493
- var a = xn(i.stem);
1542
+ var a = Xt(i.stem);
1494
1543
  a && (t = b(b({}, t), a));
1544
+ var s = Sn(i.stem);
1545
+ s && (t = b(b({}, t), s));
1495
1546
  }
1496
1547
  return t;
1497
1548
  }
@@ -2910,22 +2961,23 @@ var oe = {
2910
2961
  "h"
2911
2962
  ]
2912
2963
  };
2913
- function _n(e, t) {
2964
+ function Tn(e, t) {
2914
2965
  for (var r = "", n = 0; n < e.length; n++) {
2915
2966
  var i = e.charAt(n);
2916
2967
  if (i === "j") {
2917
2968
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2918
2969
  o++, n++;
2919
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = Sn(t);
2920
- for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
2970
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = wn(t);
2971
+ for ((h == "H" || h == "k") && (s = 0); s-- > 0; )
2921
2972
  r += u;
2922
- for (; s-- > 0; )
2973
+ for (; a-- > 0; )
2923
2974
  r = h + r;
2924
- } else i === "J" ? r += "H" : r += i;
2975
+ } else
2976
+ i === "J" ? r += "H" : r += i;
2925
2977
  }
2926
2978
  return r;
2927
2979
  }
2928
- function Sn(e) {
2980
+ function wn(e) {
2929
2981
  var t = e.hourCycle;
2930
2982
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2931
2983
  e.hourCycles && // @ts-ignore
@@ -2947,20 +2999,20 @@ function Sn(e) {
2947
2999
  var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
2948
3000
  return i[0];
2949
3001
  }
2950
- var Be, Bn = new RegExp("^".concat(Ut.source, "*")), Tn = new RegExp("".concat(Ut.source, "*$"));
3002
+ var Te, Hn = new RegExp("^".concat(kt.source, "*")), Pn = new RegExp("".concat(kt.source, "*$"));
2951
3003
  function d(e, t) {
2952
3004
  return { start: e, end: t };
2953
3005
  }
2954
- var wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Hn = !!String.fromCodePoint, Pn = !!Object.fromEntries, An = !!String.prototype.codePointAt, On = !!String.prototype.trimStart, In = !!String.prototype.trimEnd, Cn = !!Number.isSafeInteger, Nn = Cn ? Number.isSafeInteger : function(e) {
3006
+ var An = !!String.prototype.startsWith && "_a".startsWith("a", 1), On = !!String.fromCodePoint, In = !!Object.fromEntries, Cn = !!String.prototype.codePointAt, Ln = !!String.prototype.trimStart, Nn = !!String.prototype.trimEnd, Mn = !!Number.isSafeInteger, $n = Mn ? Number.isSafeInteger : function(e) {
2955
3007
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2956
- }, Me = !0;
3008
+ }, $e = !0;
2957
3009
  try {
2958
- var Ln = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2959
- Me = ((Be = Ln.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
3010
+ var Rn = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3011
+ $e = ((Te = Rn.exec("a")) === null || Te === void 0 ? void 0 : Te[0]) === "a";
2960
3012
  } catch {
2961
- Me = !1;
3013
+ $e = !1;
2962
3014
  }
2963
- var ut = wn ? (
3015
+ var ct = An ? (
2964
3016
  // Native
2965
3017
  function(t, r, n) {
2966
3018
  return t.startsWith(r, n);
@@ -2970,31 +3022,31 @@ var ut = wn ? (
2970
3022
  function(t, r, n) {
2971
3023
  return t.slice(n, n + r.length) === r;
2972
3024
  }
2973
- ), $e = Hn ? String.fromCodePoint : (
3025
+ ), Re = On ? String.fromCodePoint : (
2974
3026
  // IE11
2975
3027
  function() {
2976
3028
  for (var t = [], r = 0; r < arguments.length; r++)
2977
3029
  t[r] = arguments[r];
2978
- for (var n = "", i = t.length, o = 0, s; i > o; ) {
2979
- if (s = t[o++], s > 1114111)
2980
- throw RangeError(s + " is not a valid code point");
2981
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3030
+ for (var n = "", i = t.length, o = 0, a; i > o; ) {
3031
+ if (a = t[o++], a > 1114111)
3032
+ throw RangeError(a + " is not a valid code point");
3033
+ n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2982
3034
  }
2983
3035
  return n;
2984
3036
  }
2985
- ), ht = (
3037
+ ), ft = (
2986
3038
  // native
2987
- Pn ? Object.fromEntries : (
3039
+ In ? Object.fromEntries : (
2988
3040
  // Ponyfill
2989
3041
  function(t) {
2990
3042
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2991
- var o = i[n], s = o[0], a = o[1];
2992
- r[s] = a;
3043
+ var o = i[n], a = o[0], s = o[1];
3044
+ r[a] = s;
2993
3045
  }
2994
3046
  return r;
2995
3047
  }
2996
3048
  )
2997
- ), kt = An ? (
3049
+ ), Wt = Cn ? (
2998
3050
  // Native
2999
3051
  function(t, r) {
3000
3052
  return t.codePointAt(r);
@@ -3008,7 +3060,7 @@ var ut = wn ? (
3008
3060
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3009
3061
  }
3010
3062
  }
3011
- ), Mn = On ? (
3063
+ ), Dn = Ln ? (
3012
3064
  // Native
3013
3065
  function(t) {
3014
3066
  return t.trimStart();
@@ -3016,9 +3068,9 @@ var ut = wn ? (
3016
3068
  ) : (
3017
3069
  // Ponyfill
3018
3070
  function(t) {
3019
- return t.replace(Bn, "");
3071
+ return t.replace(Hn, "");
3020
3072
  }
3021
- ), $n = In ? (
3073
+ ), Un = Nn ? (
3022
3074
  // Native
3023
3075
  function(t) {
3024
3076
  return t.trimEnd();
@@ -3026,32 +3078,32 @@ var ut = wn ? (
3026
3078
  ) : (
3027
3079
  // Ponyfill
3028
3080
  function(t) {
3029
- return t.replace(Tn, "");
3081
+ return t.replace(Pn, "");
3030
3082
  }
3031
3083
  );
3032
- function Vt(e, t) {
3084
+ function Zt(e, t) {
3033
3085
  return new RegExp(e, t);
3034
3086
  }
3035
- var Re;
3036
- if (Me) {
3037
- var lt = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3038
- Re = function(t, r) {
3087
+ var De;
3088
+ if ($e) {
3089
+ var pt = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3090
+ De = function(t, r) {
3039
3091
  var n;
3040
- lt.lastIndex = r;
3041
- var i = lt.exec(t);
3092
+ pt.lastIndex = r;
3093
+ var i = pt.exec(t);
3042
3094
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3043
3095
  };
3044
3096
  } else
3045
- Re = function(t, r) {
3097
+ De = function(t, r) {
3046
3098
  for (var n = []; ; ) {
3047
- var i = kt(t, r);
3048
- if (i === void 0 || Xt(i) || Gn(i))
3099
+ var i = Wt(t, r);
3100
+ if (i === void 0 || Qt(i) || kn(i))
3049
3101
  break;
3050
3102
  n.push(i), r += i >= 65536 ? 2 : 1;
3051
3103
  }
3052
- return $e.apply(void 0, n);
3104
+ return Re.apply(void 0, n);
3053
3105
  };
3054
- var Rn = (
3106
+ var Fn = (
3055
3107
  /** @class */
3056
3108
  function() {
3057
3109
  function e(t, r) {
@@ -3065,33 +3117,33 @@ var Rn = (
3065
3117
  for (var i = []; !this.isEOF(); ) {
3066
3118
  var o = this.char();
3067
3119
  if (o === 123) {
3068
- var s = this.parseArgument(t, n);
3069
- if (s.err)
3070
- return s;
3071
- i.push(s.val);
3120
+ var a = this.parseArgument(t, n);
3121
+ if (a.err)
3122
+ return a;
3123
+ i.push(a.val);
3072
3124
  } else {
3073
3125
  if (o === 125 && t > 0)
3074
3126
  break;
3075
3127
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3076
- var a = this.clonePosition();
3128
+ var s = this.clonePosition();
3077
3129
  this.bump(), i.push({
3078
3130
  type: x.pound,
3079
- location: d(a, this.clonePosition())
3131
+ location: d(s, this.clonePosition())
3080
3132
  });
3081
3133
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3082
3134
  if (n)
3083
3135
  break;
3084
3136
  return this.error(p.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
3085
- } else if (o === 60 && !this.ignoreTag && De(this.peek() || 0)) {
3086
- var s = this.parseTag(t, r);
3087
- if (s.err)
3088
- return s;
3089
- i.push(s.val);
3137
+ } else if (o === 60 && !this.ignoreTag && Ue(this.peek() || 0)) {
3138
+ var a = this.parseTag(t, r);
3139
+ if (a.err)
3140
+ return a;
3141
+ i.push(a.val);
3090
3142
  } else {
3091
- var s = this.parseLiteral(t, r);
3092
- if (s.err)
3093
- return s;
3094
- i.push(s.val);
3143
+ var a = this.parseLiteral(t, r);
3144
+ if (a.err)
3145
+ return a;
3146
+ i.push(a.val);
3095
3147
  }
3096
3148
  }
3097
3149
  }
@@ -3113,27 +3165,27 @@ var Rn = (
3113
3165
  var o = this.parseMessage(t + 1, r, !0);
3114
3166
  if (o.err)
3115
3167
  return o;
3116
- var s = o.val, a = this.clonePosition();
3168
+ var a = o.val, s = this.clonePosition();
3117
3169
  if (this.bumpIf("</")) {
3118
- if (this.isEOF() || !De(this.char()))
3119
- return this.error(p.INVALID_TAG, d(a, this.clonePosition()));
3170
+ if (this.isEOF() || !Ue(this.char()))
3171
+ return this.error(p.INVALID_TAG, d(s, this.clonePosition()));
3120
3172
  var u = this.clonePosition(), h = this.parseTagName();
3121
3173
  return i !== h ? this.error(p.UNMATCHED_CLOSING_TAG, d(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3122
3174
  val: {
3123
3175
  type: x.tag,
3124
3176
  value: i,
3125
- children: s,
3177
+ children: a,
3126
3178
  location: d(n, this.clonePosition())
3127
3179
  },
3128
3180
  err: null
3129
- } : this.error(p.INVALID_TAG, d(a, this.clonePosition())));
3181
+ } : this.error(p.INVALID_TAG, d(s, this.clonePosition())));
3130
3182
  } else
3131
3183
  return this.error(p.UNCLOSED_TAG, d(n, this.clonePosition()));
3132
3184
  } else
3133
3185
  return this.error(p.INVALID_TAG, d(n, this.clonePosition()));
3134
3186
  }, e.prototype.parseTagName = function() {
3135
3187
  var t = this.offset();
3136
- for (this.bump(); !this.isEOF() && Un(this.char()); )
3188
+ for (this.bump(); !this.isEOF() && jn(this.char()); )
3137
3189
  this.bump();
3138
3190
  return this.message.slice(t, this.offset());
3139
3191
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3143,16 +3195,16 @@ var Rn = (
3143
3195
  i += o;
3144
3196
  continue;
3145
3197
  }
3146
- var s = this.tryParseUnquoted(t, r);
3147
- if (s) {
3148
- i += s;
3149
- continue;
3150
- }
3151
- var a = this.tryParseLeftAngleBracket();
3198
+ var a = this.tryParseUnquoted(t, r);
3152
3199
  if (a) {
3153
3200
  i += a;
3154
3201
  continue;
3155
3202
  }
3203
+ var s = this.tryParseLeftAngleBracket();
3204
+ if (s) {
3205
+ i += s;
3206
+ continue;
3207
+ }
3156
3208
  break;
3157
3209
  }
3158
3210
  var u = d(n, this.clonePosition());
@@ -3162,7 +3214,7 @@ var Rn = (
3162
3214
  };
3163
3215
  }, e.prototype.tryParseLeftAngleBracket = function() {
3164
3216
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3165
- !Dn(this.peek() || 0)) ? (this.bump(), "<") : null;
3217
+ !Gn(this.peek() || 0)) ? (this.bump(), "<") : null;
3166
3218
  }, e.prototype.tryParseQuote = function(t) {
3167
3219
  if (this.isEOF() || this.char() !== 39)
3168
3220
  return null;
@@ -3196,12 +3248,12 @@ var Rn = (
3196
3248
  r.push(n);
3197
3249
  this.bump();
3198
3250
  }
3199
- return $e.apply(void 0, r);
3251
+ return Re.apply(void 0, r);
3200
3252
  }, e.prototype.tryParseUnquoted = function(t, r) {
3201
3253
  if (this.isEOF())
3202
3254
  return null;
3203
3255
  var n = this.char();
3204
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), $e(n));
3256
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Re(n));
3205
3257
  }, e.prototype.parseArgument = function(t, r) {
3206
3258
  var n = this.clonePosition();
3207
3259
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3230,15 +3282,15 @@ var Rn = (
3230
3282
  return this.error(p.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
3231
3283
  }
3232
3284
  }, e.prototype.parseIdentifierIfPossible = function() {
3233
- var t = this.clonePosition(), r = this.offset(), n = Re(this.message, r), i = r + n.length;
3285
+ var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
3234
3286
  this.bumpTo(i);
3235
- var o = this.clonePosition(), s = d(t, o);
3236
- return { value: n, location: s };
3287
+ var o = this.clonePosition(), a = d(t, o);
3288
+ return { value: n, location: a };
3237
3289
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3238
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3239
- switch (a) {
3290
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3291
+ switch (s) {
3240
3292
  case "":
3241
- return this.error(p.EXPECT_ARGUMENT_TYPE, d(s, u));
3293
+ return this.error(p.EXPECT_ARGUMENT_TYPE, d(a, u));
3242
3294
  case "number":
3243
3295
  case "date":
3244
3296
  case "time": {
@@ -3249,19 +3301,19 @@ var Rn = (
3249
3301
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3250
3302
  if (c.err)
3251
3303
  return c;
3252
- var f = $n(c.val);
3304
+ var f = Un(c.val);
3253
3305
  if (f.length === 0)
3254
3306
  return this.error(p.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
3255
3307
  var m = d(l, this.clonePosition());
3256
3308
  h = { style: f, styleLocation: m };
3257
3309
  }
3258
- var v = this.tryParseArgumentClose(i);
3259
- if (v.err)
3260
- return v;
3310
+ var y = this.tryParseArgumentClose(i);
3311
+ if (y.err)
3312
+ return y;
3261
3313
  var g = d(i, this.clonePosition());
3262
- if (h && ut(h?.style, "::", 0)) {
3263
- var B = Mn(h.style.slice(2));
3264
- if (a === "number") {
3314
+ if (h && ct(h?.style, "::", 0)) {
3315
+ var B = Dn(h.style.slice(2));
3316
+ if (s === "number") {
3265
3317
  var c = this.parseNumberSkeletonFromString(B, h.styleLocation);
3266
3318
  return c.err ? c : {
3267
3319
  val: { type: x.number, value: n, location: g, style: c.val },
@@ -3271,13 +3323,13 @@ var Rn = (
3271
3323
  if (B.length === 0)
3272
3324
  return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
3273
3325
  var C = B;
3274
- this.locale && (C = _n(B, this.locale));
3326
+ this.locale && (C = Tn(B, this.locale));
3275
3327
  var f = {
3276
3328
  type: k.dateTime,
3277
3329
  pattern: C,
3278
3330
  location: h.styleLocation,
3279
- parsedOptions: this.shouldParseSkeletons ? dn(C) : {}
3280
- }, O = a === "date" ? x.date : x.time;
3331
+ parsedOptions: this.shouldParseSkeletons ? yn(C) : {}
3332
+ }, O = s === "date" ? x.date : x.time;
3281
3333
  return {
3282
3334
  val: { type: O, value: n, location: g, style: f },
3283
3335
  err: null
@@ -3286,7 +3338,7 @@ var Rn = (
3286
3338
  }
3287
3339
  return {
3288
3340
  val: {
3289
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3341
+ type: s === "number" ? x.number : s === "date" ? x.date : x.time,
3290
3342
  value: n,
3291
3343
  location: g,
3292
3344
  style: (o = h?.style) !== null && o !== void 0 ? o : null
@@ -3302,7 +3354,7 @@ var Rn = (
3302
3354
  return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, d(_, b({}, _)));
3303
3355
  this.bumpSpace();
3304
3356
  var w = this.parseIdentifierIfPossible(), S = 0;
3305
- if (a !== "select" && w.value === "offset") {
3357
+ if (s !== "select" && w.value === "offset") {
3306
3358
  if (!this.bumpIf(":"))
3307
3359
  return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d(this.clonePosition(), this.clonePosition()));
3308
3360
  this.bumpSpace();
@@ -3311,18 +3363,18 @@ var Rn = (
3311
3363
  return c;
3312
3364
  this.bumpSpace(), w = this.parseIdentifierIfPossible(), S = c.val;
3313
3365
  }
3314
- var M = this.tryParsePluralOrSelectOptions(t, a, r, w);
3366
+ var M = this.tryParsePluralOrSelectOptions(t, s, r, w);
3315
3367
  if (M.err)
3316
3368
  return M;
3317
- var v = this.tryParseArgumentClose(i);
3318
- if (v.err)
3319
- return v;
3369
+ var y = this.tryParseArgumentClose(i);
3370
+ if (y.err)
3371
+ return y;
3320
3372
  var ne = d(i, this.clonePosition());
3321
- return a === "select" ? {
3373
+ return s === "select" ? {
3322
3374
  val: {
3323
3375
  type: x.select,
3324
3376
  value: n,
3325
- options: ht(M.val),
3377
+ options: ft(M.val),
3326
3378
  location: ne
3327
3379
  },
3328
3380
  err: null
@@ -3330,16 +3382,16 @@ var Rn = (
3330
3382
  val: {
3331
3383
  type: x.plural,
3332
3384
  value: n,
3333
- options: ht(M.val),
3385
+ options: ft(M.val),
3334
3386
  offset: S,
3335
- pluralType: a === "plural" ? "cardinal" : "ordinal",
3387
+ pluralType: s === "plural" ? "cardinal" : "ordinal",
3336
3388
  location: ne
3337
3389
  },
3338
3390
  err: null
3339
3391
  };
3340
3392
  }
3341
3393
  default:
3342
- return this.error(p.INVALID_ARGUMENT_TYPE, d(s, u));
3394
+ return this.error(p.INVALID_ARGUMENT_TYPE, d(a, u));
3343
3395
  }
3344
3396
  }, e.prototype.tryParseArgumentClose = function(t) {
3345
3397
  return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, d(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3381,7 +3433,7 @@ var Rn = (
3381
3433
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3382
3434
  var n = [];
3383
3435
  try {
3384
- n = gn(t);
3436
+ n = xn(t);
3385
3437
  } catch {
3386
3438
  return this.error(p.INVALID_NUMBER_SKELETON, r);
3387
3439
  }
@@ -3390,12 +3442,12 @@ var Rn = (
3390
3442
  type: k.number,
3391
3443
  tokens: n,
3392
3444
  location: r,
3393
- parsedOptions: this.shouldParseSkeletons ? En(n) : {}
3445
+ parsedOptions: this.shouldParseSkeletons ? Bn(n) : {}
3394
3446
  },
3395
3447
  err: null
3396
3448
  };
3397
3449
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3398
- for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), h = i.value, l = i.location; ; ) {
3450
+ for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), h = i.value, l = i.location; ; ) {
3399
3451
  if (h.length === 0) {
3400
3452
  var c = this.clonePosition();
3401
3453
  if (r !== "select" && this.bumpIf("=")) {
@@ -3408,37 +3460,37 @@ var Rn = (
3408
3460
  }
3409
3461
  if (u.has(h))
3410
3462
  return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3411
- h === "other" && (s = !0), this.bumpSpace();
3463
+ h === "other" && (a = !0), this.bumpSpace();
3412
3464
  var m = this.clonePosition();
3413
3465
  if (!this.bumpIf("{"))
3414
3466
  return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
3415
- var v = this.parseMessage(t + 1, r, n);
3416
- if (v.err)
3417
- return v;
3467
+ var y = this.parseMessage(t + 1, r, n);
3468
+ if (y.err)
3469
+ return y;
3418
3470
  var g = this.tryParseArgumentClose(m);
3419
3471
  if (g.err)
3420
3472
  return g;
3421
- a.push([
3473
+ s.push([
3422
3474
  h,
3423
3475
  {
3424
- value: v.val,
3476
+ value: y.val,
3425
3477
  location: d(m, this.clonePosition())
3426
3478
  }
3427
3479
  ]), u.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, l = o.location;
3428
3480
  }
3429
- return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, d(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, d(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3481
+ return s.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, d(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(p.MISSING_OTHER_CLAUSE, d(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3430
3482
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3431
3483
  var n = 1, i = this.clonePosition();
3432
3484
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3433
- for (var o = !1, s = 0; !this.isEOF(); ) {
3434
- var a = this.char();
3435
- if (a >= 48 && a <= 57)
3436
- o = !0, s = s * 10 + (a - 48), this.bump();
3485
+ for (var o = !1, a = 0; !this.isEOF(); ) {
3486
+ var s = this.char();
3487
+ if (s >= 48 && s <= 57)
3488
+ o = !0, a = a * 10 + (s - 48), this.bump();
3437
3489
  else
3438
3490
  break;
3439
3491
  }
3440
3492
  var u = d(i, this.clonePosition());
3441
- return o ? (s *= n, Nn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3493
+ return o ? (a *= n, $n(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3442
3494
  }, e.prototype.offset = function() {
3443
3495
  return this.position.offset;
3444
3496
  }, e.prototype.isEOF = function() {
@@ -3453,7 +3505,7 @@ var Rn = (
3453
3505
  var t = this.position.offset;
3454
3506
  if (t >= this.message.length)
3455
3507
  throw Error("out of bound");
3456
- var r = kt(this.message, t);
3508
+ var r = Wt(this.message, t);
3457
3509
  if (r === void 0)
3458
3510
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3459
3511
  return r;
@@ -3472,7 +3524,7 @@ var Rn = (
3472
3524
  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);
3473
3525
  }
3474
3526
  }, e.prototype.bumpIf = function(t) {
3475
- if (ut(this.message, t, this.offset())) {
3527
+ if (ct(this.message, t, this.offset())) {
3476
3528
  for (var r = 0; r < t.length; r++)
3477
3529
  this.bump();
3478
3530
  return !0;
@@ -3494,7 +3546,7 @@ var Rn = (
3494
3546
  break;
3495
3547
  }
3496
3548
  }, e.prototype.bumpSpace = function() {
3497
- for (; !this.isEOF() && Xt(this.char()); )
3549
+ for (; !this.isEOF() && Qt(this.char()); )
3498
3550
  this.bump();
3499
3551
  }, e.prototype.peek = function() {
3500
3552
  if (this.isEOF())
@@ -3504,37 +3556,38 @@ var Rn = (
3504
3556
  }, e;
3505
3557
  }()
3506
3558
  );
3507
- function De(e) {
3559
+ function Ue(e) {
3508
3560
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3509
3561
  }
3510
- function Dn(e) {
3511
- return De(e) || e === 47;
3562
+ function Gn(e) {
3563
+ return Ue(e) || e === 47;
3512
3564
  }
3513
- function Un(e) {
3565
+ function jn(e) {
3514
3566
  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;
3515
3567
  }
3516
- function Xt(e) {
3568
+ function Qt(e) {
3517
3569
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3518
3570
  }
3519
- function Gn(e) {
3571
+ function kn(e) {
3520
3572
  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;
3521
3573
  }
3522
- function Ue(e) {
3574
+ function Fe(e) {
3523
3575
  e.forEach(function(t) {
3524
- if (delete t.location, Mt(t) || $t(t))
3576
+ if (delete t.location, Ut(t) || Ft(t))
3525
3577
  for (var r in t.options)
3526
- delete t.options[r].location, Ue(t.options[r].value);
3527
- else Ct(t) && Dt(t.style) || (Nt(t) || Lt(t)) && Le(t.style) ? delete t.style.location : Rt(t) && Ue(t.children);
3578
+ delete t.options[r].location, Fe(t.options[r].value);
3579
+ else
3580
+ $t(t) && jt(t.style) || (Rt(t) || Dt(t)) && Me(t.style) ? delete t.style.location : Gt(t) && Fe(t.children);
3528
3581
  });
3529
3582
  }
3530
- function Fn(e, t) {
3583
+ function Vn(e, t) {
3531
3584
  t === void 0 && (t = {}), t = b({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3532
- var r = new Rn(e, t).parse();
3585
+ var r = new Fn(e, t).parse();
3533
3586
  if (r.err) {
3534
3587
  var n = SyntaxError(p[r.err.kind]);
3535
3588
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3536
3589
  }
3537
- return t?.captureLocation || Ue(r.val), r.val;
3590
+ return t?.captureLocation || Fe(r.val), r.val;
3538
3591
  }
3539
3592
  var V;
3540
3593
  (function(e) {
@@ -3552,7 +3605,7 @@ var ge = (
3552
3605
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3553
3606
  }, t;
3554
3607
  }(Error)
3555
- ), ct = (
3608
+ ), mt = (
3556
3609
  /** @class */
3557
3610
  function(e) {
3558
3611
  A(t, e);
@@ -3561,7 +3614,7 @@ var ge = (
3561
3614
  }
3562
3615
  return t;
3563
3616
  }(ge)
3564
- ), jn = (
3617
+ ), zn = (
3565
3618
  /** @class */
3566
3619
  function(e) {
3567
3620
  A(t, e);
@@ -3570,7 +3623,7 @@ var ge = (
3570
3623
  }
3571
3624
  return t;
3572
3625
  }(ge)
3573
- ), kn = (
3626
+ ), Xn = (
3574
3627
  /** @class */
3575
3628
  function(e) {
3576
3629
  A(t, e);
@@ -3583,34 +3636,34 @@ var ge = (
3583
3636
  (function(e) {
3584
3637
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3585
3638
  })(E || (E = {}));
3586
- function Vn(e) {
3639
+ function Wn(e) {
3587
3640
  return e.length < 2 ? e : e.reduce(function(t, r) {
3588
3641
  var n = t[t.length - 1];
3589
3642
  return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3590
3643
  }, []);
3591
3644
  }
3592
- function Xn(e) {
3645
+ function Zn(e) {
3593
3646
  return typeof e == "function";
3594
3647
  }
3595
- function le(e, t, r, n, i, o, s) {
3596
- if (e.length === 1 && it(e[0]))
3648
+ function le(e, t, r, n, i, o, a) {
3649
+ if (e.length === 1 && at(e[0]))
3597
3650
  return [
3598
3651
  {
3599
3652
  type: E.literal,
3600
3653
  value: e[0].value
3601
3654
  }
3602
3655
  ];
3603
- for (var a = [], u = 0, h = e; u < h.length; u++) {
3656
+ for (var s = [], u = 0, h = e; u < h.length; u++) {
3604
3657
  var l = h[u];
3605
- if (it(l)) {
3606
- a.push({
3658
+ if (at(l)) {
3659
+ s.push({
3607
3660
  type: E.literal,
3608
3661
  value: l.value
3609
3662
  });
3610
3663
  continue;
3611
3664
  }
3612
- if (pn(l)) {
3613
- typeof o == "number" && a.push({
3665
+ if (bn(l)) {
3666
+ typeof o == "number" && s.push({
3614
3667
  type: E.literal,
3615
3668
  value: r.getNumberFormat(t).format(o)
3616
3669
  });
@@ -3618,89 +3671,89 @@ function le(e, t, r, n, i, o, s) {
3618
3671
  }
3619
3672
  var c = l.value;
3620
3673
  if (!(i && c in i))
3621
- throw new kn(c, s);
3674
+ throw new Xn(c, a);
3622
3675
  var f = i[c];
3623
- if (fn(l)) {
3624
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3676
+ if (dn(l)) {
3677
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3625
3678
  type: typeof f == "string" ? E.literal : E.object,
3626
3679
  value: f
3627
3680
  });
3628
3681
  continue;
3629
3682
  }
3630
- if (Nt(l)) {
3631
- var m = typeof l.style == "string" ? n.date[l.style] : Le(l.style) ? l.style.parsedOptions : void 0;
3632
- a.push({
3683
+ if (Rt(l)) {
3684
+ var m = typeof l.style == "string" ? n.date[l.style] : Me(l.style) ? l.style.parsedOptions : void 0;
3685
+ s.push({
3633
3686
  type: E.literal,
3634
3687
  value: r.getDateTimeFormat(t, m).format(f)
3635
3688
  });
3636
3689
  continue;
3637
3690
  }
3638
- if (Lt(l)) {
3639
- var m = typeof l.style == "string" ? n.time[l.style] : Le(l.style) ? l.style.parsedOptions : n.time.medium;
3640
- a.push({
3691
+ if (Dt(l)) {
3692
+ var m = typeof l.style == "string" ? n.time[l.style] : Me(l.style) ? l.style.parsedOptions : n.time.medium;
3693
+ s.push({
3641
3694
  type: E.literal,
3642
3695
  value: r.getDateTimeFormat(t, m).format(f)
3643
3696
  });
3644
3697
  continue;
3645
3698
  }
3646
- if (Ct(l)) {
3647
- var m = typeof l.style == "string" ? n.number[l.style] : Dt(l.style) ? l.style.parsedOptions : void 0;
3648
- m && m.scale && (f = f * (m.scale || 1)), a.push({
3699
+ if ($t(l)) {
3700
+ var m = typeof l.style == "string" ? n.number[l.style] : jt(l.style) ? l.style.parsedOptions : void 0;
3701
+ m && m.scale && (f = f * (m.scale || 1)), s.push({
3649
3702
  type: E.literal,
3650
3703
  value: r.getNumberFormat(t, m).format(f)
3651
3704
  });
3652
3705
  continue;
3653
3706
  }
3654
- if (Rt(l)) {
3655
- var v = l.children, g = l.value, B = i[g];
3656
- if (!Xn(B))
3657
- throw new jn(g, "function", s);
3658
- var C = le(v, t, r, n, i, o), O = B(C.map(function(S) {
3707
+ if (Gt(l)) {
3708
+ var y = l.children, g = l.value, B = i[g];
3709
+ if (!Zn(B))
3710
+ throw new zn(g, "function", a);
3711
+ var C = le(y, t, r, n, i, o), O = B(C.map(function(S) {
3659
3712
  return S.value;
3660
3713
  }));
3661
- Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(S) {
3714
+ Array.isArray(O) || (O = [O]), s.push.apply(s, O.map(function(S) {
3662
3715
  return {
3663
3716
  type: typeof S == "string" ? E.literal : E.object,
3664
3717
  value: S
3665
3718
  };
3666
3719
  }));
3667
3720
  }
3668
- if (Mt(l)) {
3721
+ if (Ut(l)) {
3669
3722
  var _ = l.options[f] || l.options.other;
3670
3723
  if (!_)
3671
- throw new ct(l.value, f, Object.keys(l.options), s);
3672
- a.push.apply(a, le(_.value, t, r, n, i));
3724
+ throw new mt(l.value, f, Object.keys(l.options), a);
3725
+ s.push.apply(s, le(_.value, t, r, n, i));
3673
3726
  continue;
3674
3727
  }
3675
- if ($t(l)) {
3728
+ if (Ft(l)) {
3676
3729
  var _ = l.options["=".concat(f)];
3677
3730
  if (!_) {
3678
3731
  if (!Intl.PluralRules)
3679
3732
  throw new ge(`Intl.PluralRules is not available in this environment.
3680
3733
  Try polyfilling it using "@formatjs/intl-pluralrules"
3681
- `, V.MISSING_INTL_API, s);
3734
+ `, V.MISSING_INTL_API, a);
3682
3735
  var w = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3683
3736
  _ = l.options[w] || l.options.other;
3684
3737
  }
3685
3738
  if (!_)
3686
- throw new ct(l.value, f, Object.keys(l.options), s);
3687
- a.push.apply(a, le(_.value, t, r, n, i, f - (l.offset || 0)));
3739
+ throw new mt(l.value, f, Object.keys(l.options), a);
3740
+ s.push.apply(s, le(_.value, t, r, n, i, f - (l.offset || 0)));
3688
3741
  continue;
3689
3742
  }
3690
3743
  }
3691
- return Vn(a);
3744
+ return Wn(s);
3692
3745
  }
3693
- function zn(e, t) {
3746
+ function Qn(e, t) {
3694
3747
  return t ? b(b(b({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3695
3748
  return r[n] = b(b({}, e[n]), t[n] || {}), r;
3696
3749
  }, {})) : e;
3697
3750
  }
3698
- function Wn(e, t) {
3751
+ function Jn(e, t) {
3699
3752
  return t ? Object.keys(e).reduce(function(r, n) {
3700
- return r[n] = zn(e[n], t[n]), r;
3753
+ return r[n] = Qn(e[n], t[n]), r;
3701
3754
  }, b({}, e)) : e;
3702
3755
  }
3703
- function Te(e) {
3756
+ function we(e) {
3704
3757
  return {
3705
3758
  create: function() {
3706
3759
  return {
@@ -3714,39 +3767,39 @@ function Te(e) {
3714
3767
  }
3715
3768
  };
3716
3769
  }
3717
- function Zn(e) {
3770
+ function Yn(e) {
3718
3771
  return e === void 0 && (e = {
3719
3772
  number: {},
3720
3773
  dateTime: {},
3721
3774
  pluralRules: {}
3722
3775
  }), {
3723
- getNumberFormat: _e(function() {
3776
+ getNumberFormat: Se(function() {
3724
3777
  for (var t, r = [], n = 0; n < arguments.length; n++)
3725
3778
  r[n] = arguments[n];
3726
- return new ((t = Intl.NumberFormat).bind.apply(t, F([void 0], r, !1)))();
3779
+ return new ((t = Intl.NumberFormat).bind.apply(t, G([void 0], r, !1)))();
3727
3780
  }, {
3728
- cache: Te(e.number),
3729
- strategy: Se.variadic
3781
+ cache: we(e.number),
3782
+ strategy: Be.variadic
3730
3783
  }),
3731
- getDateTimeFormat: _e(function() {
3784
+ getDateTimeFormat: Se(function() {
3732
3785
  for (var t, r = [], n = 0; n < arguments.length; n++)
3733
3786
  r[n] = arguments[n];
3734
- return new ((t = Intl.DateTimeFormat).bind.apply(t, F([void 0], r, !1)))();
3787
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, G([void 0], r, !1)))();
3735
3788
  }, {
3736
- cache: Te(e.dateTime),
3737
- strategy: Se.variadic
3789
+ cache: we(e.dateTime),
3790
+ strategy: Be.variadic
3738
3791
  }),
3739
- getPluralRules: _e(function() {
3792
+ getPluralRules: Se(function() {
3740
3793
  for (var t, r = [], n = 0; n < arguments.length; n++)
3741
3794
  r[n] = arguments[n];
3742
- return new ((t = Intl.PluralRules).bind.apply(t, F([void 0], r, !1)))();
3795
+ return new ((t = Intl.PluralRules).bind.apply(t, G([void 0], r, !1)))();
3743
3796
  }, {
3744
- cache: Te(e.pluralRules),
3745
- strategy: Se.variadic
3797
+ cache: we(e.pluralRules),
3798
+ strategy: Be.variadic
3746
3799
  })
3747
3800
  };
3748
3801
  }
3749
- var Qn = (
3802
+ var qn = (
3750
3803
  /** @class */
3751
3804
  function() {
3752
3805
  function e(t, r, n, i) {
@@ -3776,15 +3829,15 @@ var Qn = (
3776
3829
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3777
3830
  if (this.message = t, !e.__parse)
3778
3831
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3779
- var s = i || {};
3780
- s.formatters;
3781
- var a = wr(s, ["formatters"]);
3782
- this.ast = e.__parse(t, b(b({}, a), { locale: this.resolvedLocale }));
3832
+ var a = i || {};
3833
+ a.formatters;
3834
+ var s = Or(a, ["formatters"]);
3835
+ this.ast = e.__parse(t, b(b({}, s), { locale: this.resolvedLocale }));
3783
3836
  } else
3784
3837
  this.ast = t;
3785
3838
  if (!Array.isArray(this.ast))
3786
3839
  throw new TypeError("A message must be provided as a String or AST.");
3787
- this.formats = Wn(e.formats, n), this.formatters = i && i.formatters || Zn(this.formatterCache);
3840
+ this.formats = Jn(e.formats, n), this.formatters = i && i.formatters || Yn(this.formatterCache);
3788
3841
  }
3789
3842
  return Object.defineProperty(e, "defaultLocale", {
3790
3843
  get: function() {
@@ -3797,7 +3850,7 @@ var Qn = (
3797
3850
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3798
3851
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3799
3852
  }
3800
- }, e.__parse = Fn, e.formats = {
3853
+ }, e.__parse = Vn, e.formats = {
3801
3854
  number: {
3802
3855
  integer: {
3803
3856
  maximumFractionDigits: 0
@@ -3858,7 +3911,7 @@ var Qn = (
3858
3911
  }, e;
3859
3912
  }()
3860
3913
  );
3861
- function Jn(e, t) {
3914
+ function Kn(e, t) {
3862
3915
  if (t == null)
3863
3916
  return;
3864
3917
  if (t in e)
@@ -3879,92 +3932,92 @@ function Jn(e, t) {
3879
3932
  n = void 0;
3880
3933
  return n;
3881
3934
  }
3882
- const I = {}, Yn = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), zt = (e, t) => {
3935
+ const I = {}, ei = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), Jt = (e, t) => {
3883
3936
  if (t == null)
3884
3937
  return;
3885
3938
  if (t in I && e in I[t])
3886
3939
  return I[t][e];
3887
- const r = ve(t);
3940
+ const r = ye(t);
3888
3941
  for (let n = 0; n < r.length; n++) {
3889
- const i = r[n], o = Kn(i, e);
3942
+ const i = r[n], o = ri(i, e);
3890
3943
  if (o)
3891
- return Yn(e, t, o);
3944
+ return ei(e, t, o);
3892
3945
  }
3893
3946
  };
3894
- let Ve;
3947
+ let We;
3895
3948
  const re = be({});
3896
- function qn(e) {
3897
- return Ve[e] || null;
3949
+ function ti(e) {
3950
+ return We[e] || null;
3898
3951
  }
3899
- function Wt(e) {
3900
- return e in Ve;
3952
+ function Yt(e) {
3953
+ return e in We;
3901
3954
  }
3902
- function Kn(e, t) {
3903
- if (!Wt(e))
3955
+ function ri(e, t) {
3956
+ if (!Yt(e))
3904
3957
  return null;
3905
- const r = qn(e);
3906
- return Jn(r, t);
3958
+ const r = ti(e);
3959
+ return Kn(r, t);
3907
3960
  }
3908
- function ei(e) {
3961
+ function ni(e) {
3909
3962
  if (e == null)
3910
3963
  return;
3911
- const t = ve(e);
3964
+ const t = ye(e);
3912
3965
  for (let r = 0; r < t.length; r++) {
3913
3966
  const n = t[r];
3914
- if (Wt(n))
3967
+ if (Yt(n))
3915
3968
  return n;
3916
3969
  }
3917
3970
  }
3918
- function Zt(e, ...t) {
3919
- delete I[e], re.update((r) => (r[e] = nn.all([r[e] || {}, ...t]), r));
3971
+ function qt(e, ...t) {
3972
+ delete I[e], re.update((r) => (r[e] = un.all([r[e] || {}, ...t]), r));
3920
3973
  }
3921
- z(
3974
+ X(
3922
3975
  [re],
3923
3976
  ([e]) => Object.keys(e)
3924
3977
  );
3925
- re.subscribe((e) => Ve = e);
3978
+ re.subscribe((e) => We = e);
3926
3979
  const ce = {};
3927
- function ti(e, t) {
3980
+ function ii(e, t) {
3928
3981
  ce[e].delete(t), ce[e].size === 0 && delete ce[e];
3929
3982
  }
3930
- function Qt(e) {
3983
+ function Kt(e) {
3931
3984
  return ce[e];
3932
3985
  }
3933
- function ri(e) {
3934
- return ve(e).map((t) => {
3935
- const r = Qt(t);
3986
+ function oi(e) {
3987
+ return ye(e).map((t) => {
3988
+ const r = Kt(t);
3936
3989
  return [t, r ? [...r] : []];
3937
3990
  }).filter(([, t]) => t.length > 0);
3938
3991
  }
3939
3992
  function Ge(e) {
3940
- return e == null ? !1 : ve(e).some(
3993
+ return e == null ? !1 : ye(e).some(
3941
3994
  (t) => {
3942
3995
  var r;
3943
- return (r = Qt(t)) == null ? void 0 : r.size;
3996
+ return (r = Kt(t)) == null ? void 0 : r.size;
3944
3997
  }
3945
3998
  );
3946
3999
  }
3947
- function ni(e, t) {
4000
+ function si(e, t) {
3948
4001
  return Promise.all(
3949
- t.map((n) => (ti(e, n), n().then((i) => i.default || i)))
3950
- ).then((n) => Zt(e, ...n));
4002
+ t.map((n) => (ii(e, n), n().then((i) => i.default || i)))
4003
+ ).then((n) => qt(e, ...n));
3951
4004
  }
3952
4005
  const Q = {};
3953
- function Jt(e) {
4006
+ function er(e) {
3954
4007
  if (!Ge(e))
3955
4008
  return e in Q ? Q[e] : Promise.resolve();
3956
- const t = ri(e);
4009
+ const t = oi(e);
3957
4010
  return Q[e] = Promise.all(
3958
4011
  t.map(
3959
- ([r, n]) => ni(r, n)
4012
+ ([r, n]) => si(r, n)
3960
4013
  )
3961
4014
  ).then(() => {
3962
4015
  if (Ge(e))
3963
- return Jt(e);
4016
+ return er(e);
3964
4017
  delete Q[e];
3965
4018
  }), Q[e];
3966
4019
  }
3967
- const ii = {
4020
+ const ai = {
3968
4021
  number: {
3969
4022
  scientific: { notation: "scientific" },
3970
4023
  engineering: { notation: "engineering" },
@@ -3993,100 +4046,100 @@ const ii = {
3993
4046
  timeZoneName: "short"
3994
4047
  }
3995
4048
  }
3996
- }, oi = {
4049
+ }, ui = {
3997
4050
  fallbackLocale: null,
3998
4051
  loadingDelay: 200,
3999
- formats: ii,
4052
+ formats: ai,
4000
4053
  warnOnMissingMessages: !0,
4001
4054
  handleMissingMessage: void 0,
4002
4055
  ignoreTag: !0
4003
- }, si = oi;
4004
- function X() {
4005
- return si;
4056
+ }, hi = ui;
4057
+ function z() {
4058
+ return hi;
4006
4059
  }
4007
- const we = be(!1);
4008
- var ai = Object.defineProperty, ui = Object.defineProperties, hi = Object.getOwnPropertyDescriptors, ft = Object.getOwnPropertySymbols, li = Object.prototype.hasOwnProperty, ci = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, fi = (e, t) => {
4060
+ const He = be(!1);
4061
+ var li = Object.defineProperty, ci = Object.defineProperties, fi = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, pi = Object.prototype.hasOwnProperty, mi = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, di = (e, t) => {
4009
4062
  for (var r in t || (t = {}))
4010
- li.call(t, r) && pt(e, r, t[r]);
4011
- if (ft)
4012
- for (var r of ft(t))
4013
- ci.call(t, r) && pt(e, r, t[r]);
4063
+ pi.call(t, r) && bt(e, r, t[r]);
4064
+ if (dt)
4065
+ for (var r of dt(t))
4066
+ mi.call(t, r) && bt(e, r, t[r]);
4014
4067
  return e;
4015
- }, pi = (e, t) => ui(e, hi(t));
4016
- let Fe;
4068
+ }, bi = (e, t) => ci(e, fi(t));
4069
+ let je;
4017
4070
  const pe = be(null);
4018
- function mt(e) {
4071
+ function gt(e) {
4019
4072
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4020
4073
  }
4021
- function ve(e, t = X().fallbackLocale) {
4022
- const r = mt(e);
4023
- return t ? [.../* @__PURE__ */ new Set([...r, ...mt(t)])] : r;
4074
+ function ye(e, t = z().fallbackLocale) {
4075
+ const r = gt(e);
4076
+ return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
4024
4077
  }
4025
- function L() {
4026
- return Fe ?? void 0;
4078
+ function N() {
4079
+ return je ?? void 0;
4027
4080
  }
4028
4081
  pe.subscribe((e) => {
4029
- Fe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4082
+ je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4030
4083
  });
4031
- const mi = (e) => {
4032
- if (e && ei(e) && Ge(e)) {
4033
- const { loadingDelay: t } = X();
4084
+ const gi = (e) => {
4085
+ if (e && ni(e) && Ge(e)) {
4086
+ const { loadingDelay: t } = z();
4034
4087
  let r;
4035
- return typeof window < "u" && L() != null && t ? r = window.setTimeout(
4036
- () => we.set(!0),
4088
+ return typeof window < "u" && N() != null && t ? r = window.setTimeout(
4089
+ () => He.set(!0),
4037
4090
  t
4038
- ) : we.set(!0), Jt(e).then(() => {
4091
+ ) : He.set(!0), er(e).then(() => {
4039
4092
  pe.set(e);
4040
4093
  }).finally(() => {
4041
- clearTimeout(r), we.set(!1);
4094
+ clearTimeout(r), He.set(!1);
4042
4095
  });
4043
4096
  }
4044
4097
  return pe.set(e);
4045
- }, W = pi(fi({}, pe), {
4046
- set: mi
4047
- }), ye = (e) => {
4098
+ }, W = bi(di({}, pe), {
4099
+ set: gi
4100
+ }), ve = (e) => {
4048
4101
  const t = /* @__PURE__ */ Object.create(null);
4049
4102
  return (n) => {
4050
4103
  const i = JSON.stringify(n);
4051
4104
  return i in t ? t[i] : t[i] = e(n);
4052
4105
  };
4053
4106
  };
4054
- var di = Object.defineProperty, me = Object.getOwnPropertySymbols, Yt = Object.prototype.hasOwnProperty, qt = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xe = (e, t) => {
4107
+ var yi = Object.defineProperty, me = Object.getOwnPropertySymbols, tr = Object.prototype.hasOwnProperty, rr = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
4055
4108
  for (var r in t || (t = {}))
4056
- Yt.call(t, r) && dt(e, r, t[r]);
4109
+ tr.call(t, r) && yt(e, r, t[r]);
4057
4110
  if (me)
4058
4111
  for (var r of me(t))
4059
- qt.call(t, r) && dt(e, r, t[r]);
4112
+ rr.call(t, r) && yt(e, r, t[r]);
4060
4113
  return e;
4061
4114
  }, Z = (e, t) => {
4062
4115
  var r = {};
4063
4116
  for (var n in e)
4064
- Yt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4117
+ tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4065
4118
  if (e != null && me)
4066
4119
  for (var n of me(e))
4067
- t.indexOf(n) < 0 && qt.call(e, n) && (r[n] = e[n]);
4120
+ t.indexOf(n) < 0 && rr.call(e, n) && (r[n] = e[n]);
4068
4121
  return r;
4069
4122
  };
4070
4123
  const ee = (e, t) => {
4071
- const { formats: r } = X();
4124
+ const { formats: r } = z();
4072
4125
  if (e in r && t in r[e])
4073
4126
  return r[e][t];
4074
4127
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4075
- }, bi = ye(
4128
+ }, vi = ve(
4076
4129
  (e) => {
4077
4130
  var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
4078
4131
  if (r == null)
4079
4132
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4080
4133
  return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
4081
4134
  }
4082
- ), gi = ye(
4135
+ ), xi = ve(
4083
4136
  (e) => {
4084
4137
  var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
4085
4138
  if (r == null)
4086
4139
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4087
4140
  return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
4088
4141
  }
4089
- ), vi = ye(
4142
+ ), Ei = ve(
4090
4143
  (e) => {
4091
4144
  var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
4092
4145
  if (r == null)
@@ -4095,57 +4148,57 @@ const ee = (e, t) => {
4095
4148
  );
4096
4149
  return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
4097
4150
  }
4098
- ), yi = (e = {}) => {
4151
+ ), _i = (e = {}) => {
4099
4152
  var t = e, {
4100
- locale: r = L()
4153
+ locale: r = N()
4101
4154
  } = t, n = Z(t, [
4102
4155
  "locale"
4103
4156
  ]);
4104
- return bi(Xe({ locale: r }, n));
4105
- }, xi = (e = {}) => {
4157
+ return vi(Ze({ locale: r }, n));
4158
+ }, Si = (e = {}) => {
4106
4159
  var t = e, {
4107
- locale: r = L()
4160
+ locale: r = N()
4108
4161
  } = t, n = Z(t, [
4109
4162
  "locale"
4110
4163
  ]);
4111
- return gi(Xe({ locale: r }, n));
4112
- }, Ei = (e = {}) => {
4164
+ return xi(Ze({ locale: r }, n));
4165
+ }, Bi = (e = {}) => {
4113
4166
  var t = e, {
4114
- locale: r = L()
4167
+ locale: r = N()
4115
4168
  } = t, n = Z(t, [
4116
4169
  "locale"
4117
4170
  ]);
4118
- return vi(Xe({ locale: r }, n));
4119
- }, _i = ye(
4171
+ return Ei(Ze({ locale: r }, n));
4172
+ }, Ti = ve(
4120
4173
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4121
- (e, t = L()) => new Qn(e, t, X().formats, {
4122
- ignoreTag: X().ignoreTag
4174
+ (e, t = N()) => new qn(e, t, z().formats, {
4175
+ ignoreTag: z().ignoreTag
4123
4176
  })
4124
- ), Si = (e, t = {}) => {
4177
+ ), wi = (e, t = {}) => {
4125
4178
  var r, n, i, o;
4126
- let s = t;
4127
- typeof e == "object" && (s = e, e = s.id);
4179
+ let a = t;
4180
+ typeof e == "object" && (a = e, e = a.id);
4128
4181
  const {
4129
- values: a,
4130
- locale: u = L(),
4182
+ values: s,
4183
+ locale: u = N(),
4131
4184
  default: h
4132
- } = s;
4185
+ } = a;
4133
4186
  if (u == null)
4134
4187
  throw new Error(
4135
4188
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4136
4189
  );
4137
- let l = zt(e, u);
4190
+ let l = Jt(e, u);
4138
4191
  if (!l)
4139
- l = (o = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
4192
+ l = (o = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
4140
4193
  else if (typeof l != "string")
4141
4194
  return console.warn(
4142
4195
  `[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.`
4143
4196
  ), l;
4144
- if (!a)
4197
+ if (!s)
4145
4198
  return l;
4146
4199
  let c = l;
4147
4200
  try {
4148
- c = _i(l, u).format(a);
4201
+ c = Ti(l, u).format(s);
4149
4202
  } catch (f) {
4150
4203
  f instanceof Error && console.warn(
4151
4204
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4153,20 +4206,20 @@ const ee = (e, t) => {
4153
4206
  );
4154
4207
  }
4155
4208
  return c;
4156
- }, Bi = (e, t) => Ei(t).format(e), Ti = (e, t) => xi(t).format(e), wi = (e, t) => yi(t).format(e), Hi = (e, t = L()) => zt(e, t), Pi = z([W, re], () => Si);
4157
- z([W], () => Bi);
4158
- z([W], () => Ti);
4159
- z([W], () => wi);
4160
- z([W, re], () => Hi);
4161
- window.emWidgets = { topic: Gr };
4209
+ }, Hi = (e, t) => Bi(t).format(e), Pi = (e, t) => Si(t).format(e), Ai = (e, t) => _i(t).format(e), Oi = (e, t = N()) => Jt(e, t), Ii = X([W, re], () => wi);
4210
+ X([W], () => Hi);
4211
+ X([W], () => Pi);
4212
+ X([W], () => Ai);
4213
+ X([W, re], () => Oi);
4214
+ window.emWidgets = { topic: Vr };
4162
4215
  const se = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4163
- function bt(e, t) {
4164
- Zt(e, t);
4216
+ function vt(e, t) {
4217
+ qt(e, t);
4165
4218
  }
4166
- function Ai(e) {
4219
+ function Ci(e) {
4167
4220
  W.set(e);
4168
4221
  }
4169
- const gt = {
4222
+ const xt = {
4170
4223
  en: {
4171
4224
  panicButtonString: "Hold button for 3 seconds to take 24-hour timeout"
4172
4225
  },
@@ -4207,113 +4260,113 @@ const gt = {
4207
4260
  panicButtonString: "Hold button for 3 seconds to take 24-hour timeout"
4208
4261
  }
4209
4262
  };
4210
- function Oi(e) {
4211
- tr(e, "svelte-1v7b25v", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .PanicButton{border-radius:5px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:10px;width:280px;height:fit-content;padding:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:20px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:100% !important;height:30px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:280px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.PanicButtonV2 .PanicButton{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:388px;font-size:12px}.PanicButtonV2 .PanicButtonMobile{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:10px}.PanicButtonV2 .PanicButtonAnimation{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:388px}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:388px}}");
4263
+ function Li(e) {
4264
+ or(e, "svelte-1v7b25v", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .PanicButton{border-radius:5px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:10px;width:280px;height:fit-content;padding:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:20px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:100% !important;height:30px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:280px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.PanicButtonV2 .PanicButton{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:388px;font-size:12px}.PanicButtonV2 .PanicButtonMobile{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:10px}.PanicButtonV2 .PanicButtonAnimation{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:388px}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:388px}}");
4212
4265
  }
4213
- function Ii(e) {
4266
+ function Ni(e) {
4214
4267
  let t, r, n, i = (
4215
4268
  /*customtext*/
4216
4269
  (e[0] || /*$_*/
4217
4270
  e[5]("panicButtonString")) + ""
4218
- ), o, s;
4271
+ ), o, a;
4219
4272
  return {
4220
4273
  c() {
4221
- t = J("div"), r = J("div"), n = J("button"), o = ir(i), N(n, "class", "PanicButton " + (se(
4274
+ t = J("div"), r = J("div"), n = J("button"), o = ur(i), L(n, "class", "PanicButton " + (se(
4222
4275
  /*userAgent*/
4223
4276
  e[6]
4224
- ) !== "PC" ? "PanicButtonMobile" : "")), N(n, "part", "PanicButton " + (se(
4277
+ ) !== "PC" ? "PanicButtonMobile" : "")), L(n, "part", "PanicButton " + (se(
4225
4278
  /*userAgent*/
4226
4279
  e[6]
4227
- ) !== "PC" ? "PanicButtonMobile" : "")), Ze(
4280
+ ) !== "PC" ? "PanicButtonMobile" : "")), Ye(
4228
4281
  n,
4229
4282
  "PanicButtonAnimation",
4230
4283
  /*panicLoading*/
4231
4284
  e[4]
4232
- ), N(r, "class", "PanicSection " + (se(
4285
+ ), L(r, "class", "PanicSection " + (se(
4233
4286
  /*userAgent*/
4234
4287
  e[6]
4235
- ) !== "PC" ? "PanicSectionMobile" : "")), N(r, "part", "PanicSection " + (se(
4288
+ ) !== "PC" ? "PanicSectionMobile" : "")), L(r, "part", "PanicSection " + (se(
4236
4289
  /*userAgent*/
4237
4290
  e[6]
4238
- ) !== "PC" ? "PanicSectionMobile" : "")), N(t, "class", s = /*alternativestyling*/
4291
+ ) !== "PC" ? "PanicSectionMobile" : "")), L(t, "class", a = /*alternativestyling*/
4239
4292
  e[1] == "true" ? "PanicButtonV2" : "");
4240
4293
  },
4241
- m(a, u) {
4242
- Et(a, t, u), ae(t, r), ae(r, n), ae(n, o), e[12](n), e[13](t);
4294
+ m(s, u) {
4295
+ Bt(s, t, u), ae(t, r), ae(r, n), ae(n, o), e[12](n), e[13](t);
4243
4296
  },
4244
- p(a, [u]) {
4297
+ p(s, [u]) {
4245
4298
  u & /*customtext, $_*/
4246
4299
  33 && i !== (i = /*customtext*/
4247
- (a[0] || /*$_*/
4248
- a[5]("panicButtonString")) + "") && sr(o, i), u & /*panicLoading*/
4249
- 16 && Ze(
4300
+ (s[0] || /*$_*/
4301
+ s[5]("panicButtonString")) + "") && lr(o, i), u & /*panicLoading*/
4302
+ 16 && Ye(
4250
4303
  n,
4251
4304
  "PanicButtonAnimation",
4252
4305
  /*panicLoading*/
4253
- a[4]
4306
+ s[4]
4254
4307
  ), u & /*alternativestyling*/
4255
- 2 && s !== (s = /*alternativestyling*/
4256
- a[1] == "true" ? "PanicButtonV2" : "") && N(t, "class", s);
4308
+ 2 && a !== (a = /*alternativestyling*/
4309
+ s[1] == "true" ? "PanicButtonV2" : "") && L(t, "class", a);
4257
4310
  },
4258
4311
  i: T,
4259
4312
  o: T,
4260
- d(a) {
4261
- a && ke(t), e[12](null), e[13](null);
4313
+ d(s) {
4314
+ s && Ve(t), e[12](null), e[13](null);
4262
4315
  }
4263
4316
  };
4264
4317
  }
4265
- function Ci(e, t, r) {
4318
+ function Mi(e, t, r) {
4266
4319
  let n;
4267
- er(e, Pi, (y) => r(5, n = y));
4268
- let { lang: i = "en" } = t, { customtext: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: u } = t, { alternativestyling: h = "" } = t, { translationurl: l = "" } = t, c, f, m = !1, v = 0, g, B = window.navigator.userAgent;
4320
+ ir(e, Ii, (v) => r(5, n = v));
4321
+ let { lang: i = "en" } = t, { customtext: o = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: u } = t, { alternativestyling: h = "" } = t, { translationurl: l = "" } = t, c, f, m = !1, y = 0, g, B = window.navigator.userAgent;
4269
4322
  const C = () => {
4270
4323
  fetch(l).then(($) => $.json()).then(($) => {
4271
- Object.keys($).forEach((ze) => {
4272
- bt(ze, $[ze]);
4324
+ Object.keys($).forEach((Qe) => {
4325
+ vt(Qe, $[Qe]);
4273
4326
  });
4274
4327
  }).catch(($) => {
4275
4328
  console.log($);
4276
4329
  });
4277
4330
  };
4278
- Object.keys(gt).forEach((y) => {
4279
- bt(y, gt[y]);
4331
+ Object.keys(xt).forEach((v) => {
4332
+ vt(v, xt[v]);
4280
4333
  });
4281
4334
  const O = () => {
4282
4335
  c?.addEventListener("mousedown", w, !1), c?.addEventListener("touchstart", w, !1), c?.addEventListener("mouseup", S, !1), c?.addEventListener("touchend", S, !1);
4283
4336
  }, _ = () => {
4284
4337
  r(4, m = !1), c?.removeEventListener("mousedown", w), c?.removeEventListener("touchstart", w), c?.removeEventListener("mouseup", S), c?.removeEventListener("touchend", S);
4285
4338
  }, w = () => {
4286
- v = 0, r(4, m = !0), g = setInterval(
4339
+ y = 0, r(4, m = !0), g = setInterval(
4287
4340
  () => {
4288
- v++, v >= 2 && (window.postMessage({ type: "PanicButtonClicked" }, window.location.href), clearInterval(g), typeof gtag == "function" && gtag("event", "PanicButtonClicked", { context: "PanicButton" }));
4341
+ y++, y >= 2 && (window.postMessage({ type: "PanicButtonClicked" }, window.location.href), clearInterval(g), typeof gtag == "function" && gtag("event", "PanicButtonClicked", { context: "PanicButton" }));
4289
4342
  },
4290
4343
  1e3
4291
4344
  );
4292
4345
  }, S = () => {
4293
4346
  r(4, m = !1), clearInterval(g);
4294
4347
  };
4295
- hr(() => () => {
4348
+ pr(() => () => {
4296
4349
  _();
4297
4350
  });
4298
- function M(y) {
4299
- fe[y ? "unshift" : "push"](() => {
4300
- c = y, r(2, c);
4351
+ function M(v) {
4352
+ fe[v ? "unshift" : "push"](() => {
4353
+ c = v, r(2, c);
4301
4354
  });
4302
4355
  }
4303
- function ne(y) {
4304
- fe[y ? "unshift" : "push"](() => {
4305
- f = y, r(3, f);
4356
+ function ne(v) {
4357
+ fe[v ? "unshift" : "push"](() => {
4358
+ f = v, r(3, f);
4306
4359
  });
4307
4360
  }
4308
- return e.$$set = (y) => {
4309
- "lang" in y && r(7, i = y.lang), "customtext" in y && r(0, o = y.customtext), "clientstyling" in y && r(8, s = y.clientstyling), "clientstylingurl" in y && r(9, a = y.clientstylingurl), "mbsource" in y && r(10, u = y.mbsource), "alternativestyling" in y && r(1, h = y.alternativestyling), "translationurl" in y && r(11, l = y.translationurl);
4361
+ return e.$$set = (v) => {
4362
+ "lang" in v && r(7, i = v.lang), "customtext" in v && r(0, o = v.customtext), "clientstyling" in v && r(8, a = v.clientstyling), "clientstylingurl" in v && r(9, s = v.clientstylingurl), "mbsource" in v && r(10, u = v.mbsource), "alternativestyling" in v && r(1, h = v.alternativestyling), "translationurl" in v && r(11, l = v.translationurl);
4310
4363
  }, e.$$.update = () => {
4311
4364
  e.$$.dirty & /*panicButton*/
4312
4365
  4 && c && O(), e.$$.dirty & /*lang*/
4313
- 128 && i && Ai(i), e.$$.dirty & /*clientstyling, customStylingContainer*/
4314
- 264 && s && f && Sr(f, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4315
- 520 && a && f && Br(f, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4316
- 1032 && u && f && Tr(f, `${u}.Style`), e.$$.dirty & /*translationurl*/
4366
+ 128 && i && Ci(i), e.$$.dirty & /*clientstyling, customStylingContainer*/
4367
+ 264 && a && f && Hr(f, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4368
+ 520 && s && f && Pr(f, s), e.$$.dirty & /*mbsource, customStylingContainer*/
4369
+ 1032 && u && f && Ar(f, `${u}.Style`), e.$$.dirty & /*translationurl*/
4317
4370
  2048 && l && C();
4318
4371
  }, [
4319
4372
  o,
@@ -4324,22 +4377,22 @@ function Ci(e, t, r) {
4324
4377
  n,
4325
4378
  B,
4326
4379
  i,
4327
- s,
4328
4380
  a,
4381
+ s,
4329
4382
  u,
4330
4383
  l,
4331
4384
  M,
4332
4385
  ne
4333
4386
  ];
4334
4387
  }
4335
- class Ni extends Er {
4388
+ class $i extends Tr {
4336
4389
  constructor(t) {
4337
- super(), yr(
4390
+ super(), Sr(
4338
4391
  this,
4339
4392
  t,
4340
- Ci,
4341
- Ii,
4342
- yt,
4393
+ Mi,
4394
+ Ni,
4395
+ _t,
4343
4396
  {
4344
4397
  lang: 7,
4345
4398
  customtext: 0,
@@ -4349,7 +4402,7 @@ class Ni extends Er {
4349
4402
  alternativestyling: 1,
4350
4403
  translationurl: 11
4351
4404
  },
4352
- Oi
4405
+ Li
4353
4406
  );
4354
4407
  }
4355
4408
  get lang() {
@@ -4395,7 +4448,7 @@ class Ni extends Er {
4395
4448
  this.$$set({ translationurl: t }), H();
4396
4449
  }
4397
4450
  }
4398
- xr(Ni, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
4451
+ Br($i, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
4399
4452
  export {
4400
- Ni as P
4453
+ $i as P
4401
4454
  };