@everymatrix/player-account-timeout 1.56.0 → 1.56.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/components/PlayerAccountGeneralConfirmationModal-BOJYp5ik.cjs +18 -0
  2. package/components/{PlayerAccountGeneralConfirmationModal-CHHl3cC2.js → PlayerAccountGeneralConfirmationModal-Bnh1XDOd.js} +638 -583
  3. package/components/{PlayerAccountGeneralConfirmationModal-BMfVGVNy.js → PlayerAccountGeneralConfirmationModal-DoeReNtd.js} +676 -621
  4. package/components/{PlayerAccountTimeout-XQj4Cdw_.js → PlayerAccountTimeout-B6u6MiWX.js} +1415 -1395
  5. package/components/{PlayerAccountTimeout-CWUvNaQm.js → PlayerAccountTimeout-CNH_sF9k.js} +1546 -1527
  6. package/components/{PlayerAccountTimeout-DZUYC3Pl.cjs → PlayerAccountTimeout-Cf59Bjwj.cjs} +181 -183
  7. package/es2015/player-account-timeout.cjs +1 -1
  8. package/es2015/player-account-timeout.js +1 -1
  9. package/esnext/player-account-timeout.js +1 -1
  10. package/package.json +1 -1
  11. package/stencil/index-ae04a8b1-DPYODDdm.cjs +1 -0
  12. package/stencil/index-ae04a8b1-DRAR7dln.js +532 -0
  13. package/stencil/index-ae04a8b1-eSktas_K.js +516 -0
  14. package/stencil/{ui-skeleton-DtnYQAt6.cjs → ui-skeleton-C1buDKbo.cjs} +1 -1
  15. package/stencil/{ui-skeleton-rqI1NmdA.js → ui-skeleton-C5gPr5Xv.js} +2 -2
  16. package/stencil/{ui-skeleton-DlfwJJb1.js → ui-skeleton-M7HNQCk1.js} +2 -2
  17. package/stencil/{ui-skeleton-982450d2-BH4FIF5y.js → ui-skeleton-a642cced-BFJMszWG.js} +21 -21
  18. package/stencil/ui-skeleton-a642cced-DO34s50a.cjs +1 -0
  19. package/stencil/{ui-skeleton-982450d2-DGJAETMx.js → ui-skeleton-a642cced-p8tGooXk.js} +21 -21
  20. package/components/PlayerAccountGeneralConfirmationModal-BFNeYxW-.cjs +0 -5
  21. package/stencil/index-db5752f9--Bvt52z2.js +0 -610
  22. package/stencil/index-db5752f9-CAzJb5N3.js +0 -594
  23. package/stencil/index-db5752f9-CEbtfUsZ.cjs +0 -1
  24. package/stencil/ui-skeleton-982450d2-BYrWGs9b.cjs +0 -1
@@ -1,31 +1,32 @@
1
1
  function N() {
2
2
  }
3
- function cr(e, t) {
4
- for (const r in t) e[r] = t[r];
3
+ function pr(e, t) {
4
+ for (const r in t)
5
+ e[r] = t[r];
5
6
  return (
6
7
  /** @type {T & S} */
7
8
  e
8
9
  );
9
10
  }
10
- function Ht(e) {
11
+ function Ct(e) {
11
12
  return e();
12
13
  }
13
- function Ye() {
14
+ function tt() {
14
15
  return /* @__PURE__ */ Object.create(null);
15
16
  }
16
17
  function J(e) {
17
- e.forEach(Ht);
18
+ e.forEach(Ct);
18
19
  }
19
- function Ze(e) {
20
+ function Qe(e) {
20
21
  return typeof e == "function";
21
22
  }
22
- function Bt(e, t) {
23
+ function Pt(e, t) {
23
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
24
25
  }
25
- function fr(e) {
26
+ function br(e) {
26
27
  return Object.keys(e).length === 0;
27
28
  }
28
- function At(e, ...t) {
29
+ function Ot(e, ...t) {
29
30
  if (e == null) {
30
31
  for (const n of t)
31
32
  n(void 0);
@@ -34,19 +35,19 @@ function At(e, ...t) {
34
35
  const r = e.subscribe(...t);
35
36
  return r.unsubscribe ? () => r.unsubscribe() : r;
36
37
  }
37
- function mr(e, t, r) {
38
- e.$$.on_destroy.push(At(t, r));
38
+ function gr(e, t, r) {
39
+ e.$$.on_destroy.push(Ot(t, r));
39
40
  }
40
- function dr(e, t, r, n) {
41
+ function yr(e, t, r, n) {
41
42
  if (e) {
42
- const i = Ct(e, t, r, n);
43
+ const i = It(e, t, r, n);
43
44
  return e[0](i);
44
45
  }
45
46
  }
46
- function Ct(e, t, r, n) {
47
- return e[1] && n ? cr(r.ctx.slice(), e[1](n(t))) : r.ctx;
47
+ function It(e, t, r, n) {
48
+ return e[1] && n ? pr(r.ctx.slice(), e[1](n(t))) : r.ctx;
48
49
  }
49
- function pr(e, t, r, n) {
50
+ function vr(e, t, r, n) {
50
51
  if (e[2] && n) {
51
52
  const i = e[2](n(r));
52
53
  if (t.dirty === void 0)
@@ -61,13 +62,13 @@ function pr(e, t, r, n) {
61
62
  }
62
63
  return t.dirty;
63
64
  }
64
- function br(e, t, r, n, i, o) {
65
+ function xr(e, t, r, n, i, o) {
65
66
  if (i) {
66
- const s = Ct(t, r, n, o);
67
+ const s = It(t, r, n, o);
67
68
  e.p(s, i);
68
69
  }
69
70
  }
70
- function gr(e) {
71
+ function _r(e) {
71
72
  if (e.ctx.length > 32) {
72
73
  const t = [], r = e.ctx.length / 32;
73
74
  for (let n = 0; n < r; n++)
@@ -79,15 +80,16 @@ function gr(e) {
79
80
  function B(e, t) {
80
81
  e.appendChild(t);
81
82
  }
82
- function vr(e, t, r) {
83
- const n = yr(e);
83
+ function Er(e, t, r) {
84
+ const n = Sr(e);
84
85
  if (!n.getElementById(t)) {
85
86
  const i = M("style");
86
- i.id = t, i.textContent = r, xr(n, i);
87
+ i.id = t, i.textContent = r, wr(n, i);
87
88
  }
88
89
  }
89
- function yr(e) {
90
- if (!e) return document;
90
+ function Sr(e) {
91
+ if (!e)
92
+ return document;
91
93
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
92
94
  return t && /** @type {ShadowRoot} */
93
95
  t.host ? (
@@ -95,7 +97,7 @@ function yr(e) {
95
97
  t
96
98
  ) : e.ownerDocument;
97
99
  }
98
- function xr(e, t) {
100
+ function wr(e, t) {
99
101
  return B(
100
102
  /** @type {Document} */
101
103
  e.head || e,
@@ -108,14 +110,14 @@ function se(e, t, r) {
108
110
  function q(e) {
109
111
  e.parentNode && e.parentNode.removeChild(e);
110
112
  }
111
- function qi(e, t) {
113
+ function eo(e, t) {
112
114
  for (let r = 0; r < e.length; r += 1)
113
115
  e[r] && e[r].d(t);
114
116
  }
115
117
  function M(e) {
116
118
  return document.createElement(e);
117
119
  }
118
- function Ke(e) {
120
+ function rt(e) {
119
121
  return document.createElementNS("http://www.w3.org/2000/svg", e);
120
122
  }
121
123
  function X(e) {
@@ -124,33 +126,33 @@ function X(e) {
124
126
  function ue() {
125
127
  return X(" ");
126
128
  }
127
- function Yi() {
129
+ function to() {
128
130
  return X("");
129
131
  }
130
- function Oe(e, t, r, n) {
132
+ function Ie(e, t, r, n) {
131
133
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
132
134
  }
133
135
  function H(e, t, r) {
134
136
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
135
137
  }
136
- function Ki(e, t, r) {
138
+ function ro(e, t, r) {
137
139
  const n = t.toLowerCase();
138
140
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
139
141
  }
140
- function _r(e) {
142
+ function Tr(e) {
141
143
  return Array.from(e.childNodes);
142
144
  }
143
145
  function be(e, t) {
144
146
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
145
147
  t);
146
148
  }
147
- function eo(e, t) {
149
+ function no(e, t) {
148
150
  e.value = t ?? "";
149
151
  }
150
- function to(e, t, r, n) {
152
+ function io(e, t, r, n) {
151
153
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
152
154
  }
153
- function ro(e, t, r) {
155
+ function oo(e, t, r) {
154
156
  for (let n = 0; n < e.options.length; n += 1) {
155
157
  const i = e.options[n];
156
158
  if (i.__value === t) {
@@ -160,11 +162,11 @@ function ro(e, t, r) {
160
162
  }
161
163
  (!r || t !== void 0) && (e.selectedIndex = -1);
162
164
  }
163
- function no(e) {
165
+ function so(e) {
164
166
  const t = e.querySelector(":checked");
165
167
  return t && t.__value;
166
168
  }
167
- function Er(e) {
169
+ function Hr(e) {
168
170
  const t = {};
169
171
  return e.childNodes.forEach(
170
172
  /** @param {Element} node */
@@ -177,21 +179,22 @@ let ne;
177
179
  function re(e) {
178
180
  ne = e;
179
181
  }
180
- function Sr() {
181
- if (!ne) throw new Error("Function called outside component initialization");
182
+ function Br() {
183
+ if (!ne)
184
+ throw new Error("Function called outside component initialization");
182
185
  return ne;
183
186
  }
184
- function wr(e) {
185
- Sr().$$.on_mount.push(e);
187
+ function Ar(e) {
188
+ Br().$$.on_mount.push(e);
186
189
  }
187
- const j = [], Ie = [];
190
+ const j = [], Me = [];
188
191
  let k = [];
189
- const et = [], Tr = /* @__PURE__ */ Promise.resolve();
190
- let Me = !1;
191
- function Hr() {
192
- Me || (Me = !0, Tr.then(O));
192
+ const nt = [], Cr = /* @__PURE__ */ Promise.resolve();
193
+ let Ne = !1;
194
+ function Pr() {
195
+ Ne || (Ne = !0, Cr.then(O));
193
196
  }
194
- function Ne(e) {
197
+ function Le(e) {
195
198
  k.push(e);
196
199
  }
197
200
  const we = /* @__PURE__ */ new Set();
@@ -204,64 +207,66 @@ function O() {
204
207
  try {
205
208
  for (; D < j.length; ) {
206
209
  const t = j[D];
207
- D++, re(t), Br(t.$$);
210
+ D++, re(t), Or(t.$$);
208
211
  }
209
212
  } catch (t) {
210
213
  throw j.length = 0, D = 0, t;
211
214
  }
212
- for (re(null), j.length = 0, D = 0; Ie.length; ) Ie.pop()();
215
+ for (re(null), j.length = 0, D = 0; Me.length; )
216
+ Me.pop()();
213
217
  for (let t = 0; t < k.length; t += 1) {
214
218
  const r = k[t];
215
219
  we.has(r) || (we.add(r), r());
216
220
  }
217
221
  k.length = 0;
218
222
  } while (j.length);
219
- for (; et.length; )
220
- et.pop()();
221
- Me = !1, we.clear(), re(e);
223
+ for (; nt.length; )
224
+ nt.pop()();
225
+ Ne = !1, we.clear(), re(e);
222
226
  }
223
- function Br(e) {
227
+ function Or(e) {
224
228
  if (e.fragment !== null) {
225
229
  e.update(), J(e.before_update);
226
230
  const t = e.dirty;
227
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
231
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
228
232
  }
229
233
  }
230
- function Ar(e) {
234
+ function Ir(e) {
231
235
  const t = [], r = [];
232
236
  k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
233
237
  }
234
238
  const ce = /* @__PURE__ */ new Set();
235
- let Cr;
236
- function Pt(e, t) {
239
+ let Mr;
240
+ function Mt(e, t) {
237
241
  e && e.i && (ce.delete(e), e.i(t));
238
242
  }
239
- function Pr(e, t, r, n) {
243
+ function Nr(e, t, r, n) {
240
244
  if (e && e.o) {
241
- if (ce.has(e)) return;
242
- ce.add(e), Cr.c.push(() => {
245
+ if (ce.has(e))
246
+ return;
247
+ ce.add(e), Mr.c.push(() => {
243
248
  ce.delete(e);
244
249
  }), e.o(t);
245
250
  }
246
251
  }
247
- function io(e) {
252
+ function ao(e) {
248
253
  return e?.length !== void 0 ? e : Array.from(e);
249
254
  }
250
- function Or(e, t, r) {
255
+ function Lr(e, t, r) {
251
256
  const { fragment: n, after_update: i } = e.$$;
252
- n && n.m(t, r), Ne(() => {
253
- const o = e.$$.on_mount.map(Ht).filter(Ze);
257
+ n && n.m(t, r), Le(() => {
258
+ const o = e.$$.on_mount.map(Ct).filter(Qe);
254
259
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
255
- }), i.forEach(Ne);
260
+ }), i.forEach(Le);
256
261
  }
257
- function Ir(e, t) {
262
+ function Rr(e, t) {
258
263
  const r = e.$$;
259
- r.fragment !== null && (Ar(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
264
+ r.fragment !== null && (Ir(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
260
265
  }
261
- function Mr(e, t) {
262
- e.$$.dirty[0] === -1 && (j.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
266
+ function $r(e, t) {
267
+ e.$$.dirty[0] === -1 && (j.push(e), Pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
263
268
  }
264
- function Nr(e, t, r, n, i, o, s = null, a = [-1]) {
269
+ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
265
270
  const l = ne;
266
271
  re(e);
267
272
  const u = e.$$ = {
@@ -271,7 +276,7 @@ function Nr(e, t, r, n, i, o, s = null, a = [-1]) {
271
276
  props: o,
272
277
  update: N,
273
278
  not_equal: i,
274
- bound: Ye(),
279
+ bound: tt(),
275
280
  // lifecycle
276
281
  on_mount: [],
277
282
  on_destroy: [],
@@ -280,7 +285,7 @@ function Nr(e, t, r, n, i, o, s = null, a = [-1]) {
280
285
  after_update: [],
281
286
  context: new Map(t.context || (l ? l.$$.context : [])),
282
287
  // everything else
283
- callbacks: Ye(),
288
+ callbacks: tt(),
284
289
  dirty: a,
285
290
  skip_bound: !1,
286
291
  root: t.target || l.$$.root
@@ -289,19 +294,19 @@ function Nr(e, t, r, n, i, o, s = null, a = [-1]) {
289
294
  let h = !1;
290
295
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
291
296
  const d = m.length ? m[0] : f;
292
- return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && Mr(e, c)), f;
297
+ return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && $r(e, c)), f;
293
298
  }) : [], u.update(), h = !0, J(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
294
299
  if (t.hydrate) {
295
- const c = _r(t.target);
300
+ const c = Tr(t.target);
296
301
  u.fragment && u.fragment.l(c), c.forEach(q);
297
302
  } else
298
303
  u.fragment && u.fragment.c();
299
- t.intro && Pt(e.$$.fragment), Or(e, t.target, t.anchor), O();
304
+ t.intro && Mt(e.$$.fragment), Lr(e, t.target, t.anchor), O();
300
305
  }
301
306
  re(l);
302
307
  }
303
- let Ot;
304
- typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
308
+ let Nt;
309
+ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
305
310
  /** The Svelte component constructor */
306
311
  $$ctor;
307
312
  /** Slots */
@@ -360,7 +365,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
360
365
  };
361
366
  if (await Promise.resolve(), !this.$$cn || this.$$c)
362
367
  return;
363
- const t = {}, r = Er(this);
368
+ const t = {}, r = Hr(this);
364
369
  for (const i of this.$$s)
365
370
  i in r && (t[i] = [e(i)]);
366
371
  for (const i of this.attributes) {
@@ -447,8 +452,8 @@ function fe(e, t, r, n) {
447
452
  return t;
448
453
  }
449
454
  }
450
- function Lr(e, t, r, n, i, o) {
451
- let s = class extends Ot {
455
+ function Ur(e, t, r, n, i, o) {
456
+ let s = class extends Nt {
452
457
  constructor() {
453
458
  super(e, r, i), this.$$p_d = t;
454
459
  }
@@ -476,7 +481,7 @@ function Lr(e, t, r, n, i, o) {
476
481
  }), e.element = /** @type {any} */
477
482
  s, s;
478
483
  }
479
- class Rr {
484
+ class Dr {
480
485
  /**
481
486
  * ### PRIVATE API
482
487
  *
@@ -495,7 +500,7 @@ class Rr {
495
500
  $$set = void 0;
496
501
  /** @returns {void} */
497
502
  $destroy() {
498
- Ir(this, 1), this.$destroy = N;
503
+ Rr(this, 1), this.$destroy = N;
499
504
  }
500
505
  /**
501
506
  * @template {Extract<keyof Events, string>} K
@@ -504,7 +509,7 @@ class Rr {
504
509
  * @returns {() => void}
505
510
  */
506
511
  $on(t, r) {
507
- if (!Ze(r))
512
+ if (!Qe(r))
508
513
  return N;
509
514
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
510
515
  return n.push(r), () => {
@@ -517,90 +522,113 @@ class Rr {
517
522
  * @returns {void}
518
523
  */
519
524
  $set(t) {
520
- this.$$set && !fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
525
+ this.$$set && !br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
521
526
  }
522
527
  }
523
- const $r = "4";
524
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add($r);
525
- var oo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
526
- function Gr(e) {
528
+ const Fr = "4";
529
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Fr);
530
+ var uo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
531
+ function jr(e) {
527
532
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
528
533
  }
529
- var Le = function(e, t) {
530
- return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
534
+ /*! *****************************************************************************
535
+ Copyright (c) Microsoft Corporation.
536
+
537
+ Permission to use, copy, modify, and/or distribute this software for any
538
+ purpose with or without fee is hereby granted.
539
+
540
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
541
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
542
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
543
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
544
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
545
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
546
+ PERFORMANCE OF THIS SOFTWARE.
547
+ ***************************************************************************** */
548
+ var Re = function(e, t) {
549
+ return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
531
550
  r.__proto__ = n;
532
551
  } || function(r, n) {
533
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
534
- }, Le(e, t);
552
+ for (var i in n)
553
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
554
+ }, Re(e, t);
535
555
  };
536
556
  function R(e, t) {
537
557
  if (typeof t != "function" && t !== null)
538
558
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
539
- Le(e, t);
559
+ Re(e, t);
540
560
  function r() {
541
561
  this.constructor = e;
542
562
  }
543
563
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
544
564
  }
545
- var y = function() {
546
- return y = Object.assign || function(t) {
565
+ var v = function() {
566
+ return v = Object.assign || function(t) {
547
567
  for (var r, n = 1, i = arguments.length; n < i; n++) {
548
568
  r = arguments[n];
549
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
569
+ for (var o in r)
570
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
550
571
  }
551
572
  return t;
552
- }, y.apply(this, arguments);
573
+ }, v.apply(this, arguments);
553
574
  };
554
- function Ur(e, t) {
575
+ function kr(e, t) {
555
576
  var r = {};
556
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
577
+ for (var n in e)
578
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
557
579
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
558
580
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
559
581
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
560
582
  return r;
561
583
  }
562
- function Re(e) {
584
+ function $e(e) {
563
585
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
564
- if (r) return r.call(e);
565
- if (e && typeof e.length == "number") return {
566
- next: function() {
567
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
568
- }
569
- };
586
+ if (r)
587
+ return r.call(e);
588
+ if (e && typeof e.length == "number")
589
+ return {
590
+ next: function() {
591
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
592
+ }
593
+ };
570
594
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
571
595
  }
572
- function $e(e, t) {
596
+ function Ge(e, t) {
573
597
  var r = typeof Symbol == "function" && e[Symbol.iterator];
574
- if (!r) return e;
598
+ if (!r)
599
+ return e;
575
600
  var n = r.call(e), i, o = [], s;
576
601
  try {
577
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
602
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
603
+ o.push(i.value);
578
604
  } catch (a) {
579
605
  s = { error: a };
580
606
  } finally {
581
607
  try {
582
608
  i && !i.done && (r = n.return) && r.call(n);
583
609
  } finally {
584
- if (s) throw s.error;
610
+ if (s)
611
+ throw s.error;
585
612
  }
586
613
  }
587
614
  return o;
588
615
  }
589
616
  function V(e, t, r) {
590
- if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
591
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
592
- return e.concat(o || Array.prototype.slice.call(t));
617
+ if (r || arguments.length === 2)
618
+ for (var n = 0, i = t.length, o; n < i; n++)
619
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
620
+ return e.concat(o || t);
593
621
  }
594
622
  function L(e) {
595
623
  return typeof e == "function";
596
624
  }
597
- function It(e) {
625
+ function Lt(e) {
598
626
  var t = function(n) {
599
627
  Error.call(n), n.stack = new Error().stack;
600
628
  }, r = e(t);
601
629
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
602
630
  }
603
- var Te = It(function(e) {
631
+ var Te = Lt(function(e) {
604
632
  return function(r) {
605
633
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
606
634
  ` + r.map(function(n, i) {
@@ -609,13 +637,13 @@ var Te = It(function(e) {
609
637
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
610
638
  };
611
639
  });
612
- function Ge(e, t) {
640
+ function Ue(e, t) {
613
641
  if (e) {
614
642
  var r = e.indexOf(t);
615
643
  0 <= r && e.splice(r, 1);
616
644
  }
617
645
  }
618
- var ye = function() {
646
+ var ve = function() {
619
647
  function e(t) {
620
648
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
621
649
  }
@@ -627,7 +655,7 @@ var ye = function() {
627
655
  if (s)
628
656
  if (this._parentage = null, Array.isArray(s))
629
657
  try {
630
- for (var a = Re(s), l = a.next(); !l.done; l = a.next()) {
658
+ for (var a = $e(s), l = a.next(); !l.done; l = a.next()) {
631
659
  var u = l.value;
632
660
  u.remove(this);
633
661
  }
@@ -637,7 +665,8 @@ var ye = function() {
637
665
  try {
638
666
  l && !l.done && (r = a.return) && r.call(a);
639
667
  } finally {
640
- if (t) throw t.error;
668
+ if (t)
669
+ throw t.error;
641
670
  }
642
671
  }
643
672
  else
@@ -653,12 +682,12 @@ var ye = function() {
653
682
  if (c) {
654
683
  this._finalizers = null;
655
684
  try {
656
- for (var f = Re(c), m = f.next(); !m.done; m = f.next()) {
685
+ for (var f = $e(c), m = f.next(); !m.done; m = f.next()) {
657
686
  var d = m.value;
658
687
  try {
659
- tt(d);
688
+ it(d);
660
689
  } catch (p) {
661
- o = o ?? [], p instanceof Te ? o = V(V([], $e(o)), $e(p.errors)) : o.push(p);
690
+ o = o ?? [], p instanceof Te ? o = V(V([], Ge(o)), Ge(p.errors)) : o.push(p);
662
691
  }
663
692
  }
664
693
  } catch (p) {
@@ -667,7 +696,8 @@ var ye = function() {
667
696
  try {
668
697
  m && !m.done && (i = f.return) && i.call(f);
669
698
  } finally {
670
- if (n) throw n.error;
699
+ if (n)
700
+ throw n.error;
671
701
  }
672
702
  }
673
703
  }
@@ -678,7 +708,7 @@ var ye = function() {
678
708
  var r;
679
709
  if (t && t !== this)
680
710
  if (this.closed)
681
- tt(t);
711
+ it(t);
682
712
  else {
683
713
  if (t instanceof e) {
684
714
  if (t.closed || t._hasParent(this))
@@ -695,52 +725,56 @@ var ye = function() {
695
725
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
696
726
  }, e.prototype._removeParent = function(t) {
697
727
  var r = this._parentage;
698
- r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
728
+ r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
699
729
  }, e.prototype.remove = function(t) {
700
730
  var r = this._finalizers;
701
- r && Ge(r, t), t instanceof e && t._removeParent(this);
731
+ r && Ue(r, t), t instanceof e && t._removeParent(this);
702
732
  }, e.EMPTY = function() {
703
733
  var t = new e();
704
734
  return t.closed = !0, t;
705
735
  }(), e;
706
- }(), Mt = ye.EMPTY;
707
- function Nt(e) {
708
- return e instanceof ye || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
736
+ }(), Rt = ve.EMPTY;
737
+ function $t(e) {
738
+ return e instanceof ve || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
709
739
  }
710
- function tt(e) {
740
+ function it(e) {
711
741
  L(e) ? e() : e.unsubscribe();
712
742
  }
713
- var Dr = {
714
- Promise: void 0
715
- }, Fr = {
743
+ var Gt = {
744
+ onUnhandledError: null,
745
+ onStoppedNotification: null,
746
+ Promise: void 0,
747
+ useDeprecatedSynchronousErrorHandling: !1,
748
+ useDeprecatedNextContext: !1
749
+ }, Vr = {
716
750
  setTimeout: function(e, t) {
717
751
  for (var r = [], n = 2; n < arguments.length; n++)
718
752
  r[n - 2] = arguments[n];
719
- return setTimeout.apply(void 0, V([e, t], $e(r)));
753
+ return setTimeout.apply(void 0, V([e, t], Ge(r)));
720
754
  },
721
755
  clearTimeout: function(e) {
722
756
  return clearTimeout(e);
723
757
  },
724
758
  delegate: void 0
725
759
  };
726
- function jr(e) {
727
- Fr.setTimeout(function() {
760
+ function Xr(e) {
761
+ Vr.setTimeout(function() {
728
762
  throw e;
729
763
  });
730
764
  }
731
- function rt() {
765
+ function ot() {
732
766
  }
733
767
  function me(e) {
734
768
  e();
735
769
  }
736
- var Lt = function(e) {
770
+ var Ut = function(e) {
737
771
  R(t, e);
738
772
  function t(r) {
739
773
  var n = e.call(this) || this;
740
- return n.isStopped = !1, r ? (n.destination = r, Nt(r) && r.add(n)) : n.destination = Xr, n;
774
+ return n.isStopped = !1, r ? (n.destination = r, $t(r) && r.add(n)) : n.destination = Qr, n;
741
775
  }
742
776
  return t.create = function(r, n, i) {
743
- return new Ue(r, n, i);
777
+ return new De(r, n, i);
744
778
  }, t.prototype.next = function(r) {
745
779
  this.isStopped || this._next(r);
746
780
  }, t.prototype.error = function(r) {
@@ -764,7 +798,11 @@ var Lt = function(e) {
764
798
  this.unsubscribe();
765
799
  }
766
800
  }, t;
767
- }(ye), kr = function() {
801
+ }(ve), zr = Function.prototype.bind;
802
+ function He(e, t) {
803
+ return zr.call(e, t);
804
+ }
805
+ var Wr = function() {
768
806
  function e(t) {
769
807
  this.partialObserver = t;
770
808
  }
@@ -795,43 +833,55 @@ var Lt = function(e) {
795
833
  le(r);
796
834
  }
797
835
  }, e;
798
- }(), Ue = function(e) {
836
+ }(), De = function(e) {
799
837
  R(t, e);
800
838
  function t(r, n, i) {
801
839
  var o = e.call(this) || this, s;
802
- return L(r) || !r ? s = {
803
- next: r ?? void 0,
804
- error: n ?? void 0,
805
- complete: i ?? void 0
806
- } : s = r, o.destination = new kr(s), o;
840
+ if (L(r) || !r)
841
+ s = {
842
+ next: r ?? void 0,
843
+ error: n ?? void 0,
844
+ complete: i ?? void 0
845
+ };
846
+ else {
847
+ var a;
848
+ o && Gt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
849
+ return o.unsubscribe();
850
+ }, s = {
851
+ next: r.next && He(r.next, a),
852
+ error: r.error && He(r.error, a),
853
+ complete: r.complete && He(r.complete, a)
854
+ }) : s = r;
855
+ }
856
+ return o.destination = new Wr(s), o;
807
857
  }
808
858
  return t;
809
- }(Lt);
859
+ }(Ut);
810
860
  function le(e) {
811
- jr(e);
861
+ Xr(e);
812
862
  }
813
- function Vr(e) {
863
+ function Zr(e) {
814
864
  throw e;
815
865
  }
816
- var Xr = {
866
+ var Qr = {
817
867
  closed: !0,
818
- next: rt,
819
- error: Vr,
820
- complete: rt
821
- }, zr = function() {
868
+ next: ot,
869
+ error: Zr,
870
+ complete: ot
871
+ }, Jr = function() {
822
872
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
823
873
  }();
824
- function Wr(e) {
874
+ function qr(e) {
825
875
  return e;
826
876
  }
827
- function Zr(e) {
828
- return e.length === 0 ? Wr : e.length === 1 ? e[0] : function(r) {
877
+ function Yr(e) {
878
+ return e.length === 0 ? qr : e.length === 1 ? e[0] : function(r) {
829
879
  return e.reduce(function(n, i) {
830
880
  return i(n);
831
881
  }, r);
832
882
  };
833
883
  }
834
- var nt = function() {
884
+ var st = function() {
835
885
  function e(t) {
836
886
  t && (this._subscribe = t);
837
887
  }
@@ -839,7 +889,7 @@ var nt = function() {
839
889
  var r = new e();
840
890
  return r.source = this, r.operator = t, r;
841
891
  }, e.prototype.subscribe = function(t, r, n) {
842
- var i = this, o = Jr(t) ? t : new Ue(t, r, n);
892
+ var i = this, o = en(t) ? t : new De(t, r, n);
843
893
  return me(function() {
844
894
  var s = i, a = s.operator, l = s.source;
845
895
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -852,8 +902,8 @@ var nt = function() {
852
902
  }
853
903
  }, e.prototype.forEach = function(t, r) {
854
904
  var n = this;
855
- return r = it(r), new r(function(i, o) {
856
- var s = new Ue({
905
+ return r = at(r), new r(function(i, o) {
906
+ var s = new De({
857
907
  next: function(a) {
858
908
  try {
859
909
  t(a);
@@ -869,15 +919,15 @@ var nt = function() {
869
919
  }, e.prototype._subscribe = function(t) {
870
920
  var r;
871
921
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
872
- }, e.prototype[zr] = function() {
922
+ }, e.prototype[Jr] = function() {
873
923
  return this;
874
924
  }, e.prototype.pipe = function() {
875
925
  for (var t = [], r = 0; r < arguments.length; r++)
876
926
  t[r] = arguments[r];
877
- return Zr(t)(this);
927
+ return Yr(t)(this);
878
928
  }, e.prototype.toPromise = function(t) {
879
929
  var r = this;
880
- return t = it(t), new t(function(n, i) {
930
+ return t = at(t), new t(function(n, i) {
881
931
  var o;
882
932
  r.subscribe(function(s) {
883
933
  return o = s;
@@ -891,32 +941,32 @@ var nt = function() {
891
941
  return new e(t);
892
942
  }, e;
893
943
  }();
894
- function it(e) {
944
+ function at(e) {
895
945
  var t;
896
- return (t = e ?? Dr.Promise) !== null && t !== void 0 ? t : Promise;
946
+ return (t = e ?? Gt.Promise) !== null && t !== void 0 ? t : Promise;
897
947
  }
898
- function Qr(e) {
948
+ function Kr(e) {
899
949
  return e && L(e.next) && L(e.error) && L(e.complete);
900
950
  }
901
- function Jr(e) {
902
- return e && e instanceof Lt || Qr(e) && Nt(e);
951
+ function en(e) {
952
+ return e && e instanceof Ut || Kr(e) && $t(e);
903
953
  }
904
- var qr = It(function(e) {
954
+ var tn = Lt(function(e) {
905
955
  return function() {
906
956
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
907
957
  };
908
- }), Rt = function(e) {
958
+ }), Dt = function(e) {
909
959
  R(t, e);
910
960
  function t() {
911
961
  var r = e.call(this) || this;
912
962
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
913
963
  }
914
964
  return t.prototype.lift = function(r) {
915
- var n = new ot(this, this);
965
+ var n = new ut(this, this);
916
966
  return n.operator = r, n;
917
967
  }, t.prototype._throwIfClosed = function() {
918
968
  if (this.closed)
919
- throw new qr();
969
+ throw new tn();
920
970
  }, t.prototype.next = function(r) {
921
971
  var n = this;
922
972
  me(function() {
@@ -924,7 +974,7 @@ var qr = It(function(e) {
924
974
  if (n._throwIfClosed(), !n.isStopped) {
925
975
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
926
976
  try {
927
- for (var s = Re(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
977
+ for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
928
978
  var l = a.value;
929
979
  l.next(r);
930
980
  }
@@ -934,7 +984,8 @@ var qr = It(function(e) {
934
984
  try {
935
985
  a && !a.done && (o = s.return) && o.call(s);
936
986
  } finally {
937
- if (i) throw i.error;
987
+ if (i)
988
+ throw i.error;
938
989
  }
939
990
  }
940
991
  }
@@ -972,19 +1023,19 @@ var qr = It(function(e) {
972
1023
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
973
1024
  }, t.prototype._innerSubscribe = function(r) {
974
1025
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
975
- return o || s ? Mt : (this.currentObservers = null, a.push(r), new ye(function() {
976
- n.currentObservers = null, Ge(a, r);
1026
+ return o || s ? Rt : (this.currentObservers = null, a.push(r), new ve(function() {
1027
+ n.currentObservers = null, Ue(a, r);
977
1028
  }));
978
1029
  }, t.prototype._checkFinalizedStatuses = function(r) {
979
1030
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
980
1031
  i ? r.error(o) : s && r.complete();
981
1032
  }, t.prototype.asObservable = function() {
982
- var r = new nt();
1033
+ var r = new st();
983
1034
  return r.source = this, r;
984
1035
  }, t.create = function(r, n) {
985
- return new ot(r, n);
1036
+ return new ut(r, n);
986
1037
  }, t;
987
- }(nt), ot = function(e) {
1038
+ }(st), ut = function(e) {
988
1039
  R(t, e);
989
1040
  function t(r, n) {
990
1041
  var i = e.call(this) || this;
@@ -1001,17 +1052,17 @@ var qr = It(function(e) {
1001
1052
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1002
1053
  }, t.prototype._subscribe = function(r) {
1003
1054
  var n, i;
1004
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mt;
1055
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Rt;
1005
1056
  }, t;
1006
- }(Rt), $t = {
1057
+ }(Dt), Ft = {
1007
1058
  now: function() {
1008
- return ($t.delegate || Date).now();
1059
+ return (Ft.delegate || Date).now();
1009
1060
  },
1010
1061
  delegate: void 0
1011
- }, Yr = function(e) {
1062
+ }, rn = function(e) {
1012
1063
  R(t, e);
1013
1064
  function t(r, n, i) {
1014
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = $t);
1065
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ft);
1015
1066
  var o = e.call(this) || this;
1016
1067
  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;
1017
1068
  }
@@ -1031,15 +1082,15 @@ var qr = It(function(e) {
1031
1082
  u && o.splice(0, u + 1);
1032
1083
  }
1033
1084
  }, t;
1034
- }(Rt);
1035
- const st = [], at = {}, Kr = (e, t = 0) => {
1036
- if (st.indexOf(e) == -1) {
1037
- const r = new Yr(t);
1038
- at[e] = r, st.push(e);
1085
+ }(Dt);
1086
+ const lt = [], ht = {}, nn = (e, t = 0) => {
1087
+ if (lt.indexOf(e) == -1) {
1088
+ const r = new rn(t);
1089
+ ht[e] = r, lt.push(e);
1039
1090
  }
1040
- return at[e];
1091
+ return ht[e];
1041
1092
  }, F = [];
1042
- function en(e, t) {
1093
+ function on(e, t) {
1043
1094
  return {
1044
1095
  subscribe: xe(e, t).subscribe
1045
1096
  };
@@ -1048,7 +1099,7 @@ function xe(e, t = N) {
1048
1099
  let r;
1049
1100
  const n = /* @__PURE__ */ new Set();
1050
1101
  function i(a) {
1051
- if (Bt(e, a) && (e = a, r)) {
1102
+ if (Pt(e, a) && (e = a, r)) {
1052
1103
  const l = !F.length;
1053
1104
  for (const u of n)
1054
1105
  u[1](), F.push(u, e);
@@ -1075,7 +1126,7 @@ function Y(e, t, r) {
1075
1126
  if (!i.every(Boolean))
1076
1127
  throw new Error("derived() expects stores as input, got a falsy value");
1077
1128
  const o = t.length < 2;
1078
- return en(r, (s, a) => {
1129
+ return on(r, (s, a) => {
1079
1130
  let l = !1;
1080
1131
  const u = [];
1081
1132
  let h = 0, c = N;
@@ -1084,9 +1135,9 @@ function Y(e, t, r) {
1084
1135
  return;
1085
1136
  c();
1086
1137
  const d = t(n ? u[0] : u, s, a);
1087
- o ? s(d) : c = Ze(d) ? d : N;
1138
+ o ? s(d) : c = Qe(d) ? d : N;
1088
1139
  }, m = i.map(
1089
- (d, p) => At(
1140
+ (d, p) => Ot(
1090
1141
  d,
1091
1142
  (w) => {
1092
1143
  u[p] = w, h &= ~(1 << p), l && f();
@@ -1101,67 +1152,67 @@ function Y(e, t, r) {
1101
1152
  };
1102
1153
  });
1103
1154
  }
1104
- var tn = function(t) {
1105
- return rn(t) && !nn(t);
1155
+ var sn = function(t) {
1156
+ return an(t) && !un(t);
1106
1157
  };
1107
- function rn(e) {
1158
+ function an(e) {
1108
1159
  return !!e && typeof e == "object";
1109
1160
  }
1110
- function nn(e) {
1161
+ function un(e) {
1111
1162
  var t = Object.prototype.toString.call(e);
1112
- return t === "[object RegExp]" || t === "[object Date]" || an(e);
1163
+ return t === "[object RegExp]" || t === "[object Date]" || cn(e);
1113
1164
  }
1114
- var on = typeof Symbol == "function" && Symbol.for, sn = on ? Symbol.for("react.element") : 60103;
1115
- function an(e) {
1116
- return e.$$typeof === sn;
1165
+ var ln = typeof Symbol == "function" && Symbol.for, hn = ln ? Symbol.for("react.element") : 60103;
1166
+ function cn(e) {
1167
+ return e.$$typeof === hn;
1117
1168
  }
1118
- function un(e) {
1169
+ function fn(e) {
1119
1170
  return Array.isArray(e) ? [] : {};
1120
1171
  }
1121
1172
  function ie(e, t) {
1122
- return t.clone !== !1 && t.isMergeableObject(e) ? z(un(e), e, t) : e;
1173
+ return t.clone !== !1 && t.isMergeableObject(e) ? z(fn(e), e, t) : e;
1123
1174
  }
1124
- function ln(e, t, r) {
1175
+ function mn(e, t, r) {
1125
1176
  return e.concat(t).map(function(n) {
1126
1177
  return ie(n, r);
1127
1178
  });
1128
1179
  }
1129
- function hn(e, t) {
1180
+ function dn(e, t) {
1130
1181
  if (!t.customMerge)
1131
1182
  return z;
1132
1183
  var r = t.customMerge(e);
1133
1184
  return typeof r == "function" ? r : z;
1134
1185
  }
1135
- function cn(e) {
1186
+ function pn(e) {
1136
1187
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1137
1188
  return Object.propertyIsEnumerable.call(e, t);
1138
1189
  }) : [];
1139
1190
  }
1140
- function ut(e) {
1141
- return Object.keys(e).concat(cn(e));
1191
+ function ct(e) {
1192
+ return Object.keys(e).concat(pn(e));
1142
1193
  }
1143
- function Gt(e, t) {
1194
+ function jt(e, t) {
1144
1195
  try {
1145
1196
  return t in e;
1146
1197
  } catch {
1147
1198
  return !1;
1148
1199
  }
1149
1200
  }
1150
- function fn(e, t) {
1151
- return Gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1201
+ function bn(e, t) {
1202
+ return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1152
1203
  }
1153
- function mn(e, t, r) {
1204
+ function gn(e, t, r) {
1154
1205
  var n = {};
1155
- return r.isMergeableObject(e) && ut(e).forEach(function(i) {
1206
+ return r.isMergeableObject(e) && ct(e).forEach(function(i) {
1156
1207
  n[i] = ie(e[i], r);
1157
- }), ut(t).forEach(function(i) {
1158
- fn(e, i) || (Gt(e, i) && r.isMergeableObject(t[i]) ? n[i] = hn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1208
+ }), ct(t).forEach(function(i) {
1209
+ bn(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = dn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1159
1210
  }), n;
1160
1211
  }
1161
1212
  function z(e, t, r) {
1162
- r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || tn, r.cloneUnlessOtherwiseSpecified = ie;
1213
+ r = r || {}, r.arrayMerge = r.arrayMerge || mn, r.isMergeableObject = r.isMergeableObject || sn, r.cloneUnlessOtherwiseSpecified = ie;
1163
1214
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1164
- return o ? n ? r.arrayMerge(e, t, r) : mn(e, t, r) : ie(t, r);
1215
+ return o ? n ? r.arrayMerge(e, t, r) : gn(e, t, r) : ie(t, r);
1165
1216
  }
1166
1217
  z.all = function(t, r) {
1167
1218
  if (!Array.isArray(t))
@@ -1170,56 +1221,58 @@ z.all = function(t, r) {
1170
1221
  return z(n, i, r);
1171
1222
  }, {});
1172
1223
  };
1173
- var dn = z, pn = dn;
1174
- const bn = /* @__PURE__ */ Gr(pn);
1175
- function He(e, t) {
1176
- var r = t && t.cache ? t.cache : Sn, n = t && t.serializer ? t.serializer : _n, i = t && t.strategy ? t.strategy : yn;
1224
+ var yn = z, vn = yn;
1225
+ const xn = /* @__PURE__ */ jr(vn);
1226
+ function Be(e, t) {
1227
+ var r = t && t.cache ? t.cache : Hn, n = t && t.serializer ? t.serializer : Tn, i = t && t.strategy ? t.strategy : En;
1177
1228
  return i(e, {
1178
1229
  cache: r,
1179
1230
  serializer: n
1180
1231
  });
1181
1232
  }
1182
- function gn(e) {
1233
+ function _n(e) {
1183
1234
  return e == null || typeof e == "number" || typeof e == "boolean";
1184
1235
  }
1185
- function vn(e, t, r, n) {
1186
- var i = gn(n) ? n : r(n), o = t.get(i);
1236
+ function kt(e, t, r, n) {
1237
+ var i = _n(n) ? n : r(n), o = t.get(i);
1187
1238
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1188
1239
  }
1189
- function Ut(e, t, r) {
1240
+ function Vt(e, t, r) {
1190
1241
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1191
1242
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1192
1243
  }
1193
- function Dt(e, t, r, n, i) {
1244
+ function Je(e, t, r, n, i) {
1194
1245
  return r.bind(t, e, n, i);
1195
1246
  }
1196
- function yn(e, t) {
1197
- var r = e.length === 1 ? vn : Ut;
1198
- return Dt(e, this, r, t.cache.create(), t.serializer);
1247
+ function En(e, t) {
1248
+ var r = e.length === 1 ? kt : Vt;
1249
+ return Je(e, this, r, t.cache.create(), t.serializer);
1250
+ }
1251
+ function Sn(e, t) {
1252
+ return Je(e, this, Vt, t.cache.create(), t.serializer);
1199
1253
  }
1200
- function xn(e, t) {
1201
- return Dt(e, this, Ut, t.cache.create(), t.serializer);
1254
+ function wn(e, t) {
1255
+ return Je(e, this, kt, t.cache.create(), t.serializer);
1202
1256
  }
1203
- var _n = function() {
1257
+ var Tn = function() {
1204
1258
  return JSON.stringify(arguments);
1205
- }, En = (
1206
- /** @class */
1207
- function() {
1208
- function e() {
1209
- this.cache = /* @__PURE__ */ Object.create(null);
1210
- }
1211
- return e.prototype.get = function(t) {
1212
- return this.cache[t];
1213
- }, e.prototype.set = function(t, r) {
1214
- this.cache[t] = r;
1215
- }, e;
1216
- }()
1217
- ), Sn = {
1259
+ };
1260
+ function qe() {
1261
+ this.cache = /* @__PURE__ */ Object.create(null);
1262
+ }
1263
+ qe.prototype.get = function(e) {
1264
+ return this.cache[e];
1265
+ };
1266
+ qe.prototype.set = function(e, t) {
1267
+ this.cache[e] = t;
1268
+ };
1269
+ var Hn = {
1218
1270
  create: function() {
1219
- return new En();
1271
+ return new qe();
1220
1272
  }
1221
- }, Be = {
1222
- variadic: xn
1273
+ }, Ae = {
1274
+ variadic: Sn,
1275
+ monadic: wn
1223
1276
  }, b;
1224
1277
  (function(e) {
1225
1278
  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";
@@ -1232,43 +1285,43 @@ var W;
1232
1285
  (function(e) {
1233
1286
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1234
1287
  })(W || (W = {}));
1235
- function lt(e) {
1288
+ function ft(e) {
1236
1289
  return e.type === S.literal;
1237
1290
  }
1238
- function wn(e) {
1291
+ function Bn(e) {
1239
1292
  return e.type === S.argument;
1240
1293
  }
1241
- function Ft(e) {
1294
+ function Xt(e) {
1242
1295
  return e.type === S.number;
1243
1296
  }
1244
- function jt(e) {
1297
+ function zt(e) {
1245
1298
  return e.type === S.date;
1246
1299
  }
1247
- function kt(e) {
1300
+ function Wt(e) {
1248
1301
  return e.type === S.time;
1249
1302
  }
1250
- function Vt(e) {
1303
+ function Zt(e) {
1251
1304
  return e.type === S.select;
1252
1305
  }
1253
- function Xt(e) {
1306
+ function Qt(e) {
1254
1307
  return e.type === S.plural;
1255
1308
  }
1256
- function Tn(e) {
1309
+ function An(e) {
1257
1310
  return e.type === S.pound;
1258
1311
  }
1259
- function zt(e) {
1312
+ function Jt(e) {
1260
1313
  return e.type === S.tag;
1261
1314
  }
1262
- function Wt(e) {
1315
+ function qt(e) {
1263
1316
  return !!(e && typeof e == "object" && e.type === W.number);
1264
1317
  }
1265
- function De(e) {
1318
+ function Fe(e) {
1266
1319
  return !!(e && typeof e == "object" && e.type === W.dateTime);
1267
1320
  }
1268
- var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hn = /(?:[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;
1269
- function Bn(e) {
1321
+ var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Cn = /(?:[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;
1322
+ function Pn(e) {
1270
1323
  var t = {};
1271
- return e.replace(Hn, function(r) {
1324
+ return e.replace(Cn, function(r) {
1272
1325
  var n = r.length;
1273
1326
  switch (r[0]) {
1274
1327
  case "G":
@@ -1357,11 +1410,11 @@ function Bn(e) {
1357
1410
  return "";
1358
1411
  }), t;
1359
1412
  }
1360
- var An = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1361
- function Cn(e) {
1413
+ var On = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1414
+ function In(e) {
1362
1415
  if (e.length === 0)
1363
1416
  throw new Error("Number skeleton cannot be empty");
1364
- for (var t = e.split(An).filter(function(f) {
1417
+ for (var t = e.split(On).filter(function(f) {
1365
1418
  return f.length > 0;
1366
1419
  }), r = [], n = 0, i = t; n < i.length; n++) {
1367
1420
  var o = i[n], s = o.split("/");
@@ -1376,17 +1429,17 @@ function Cn(e) {
1376
1429
  }
1377
1430
  return r;
1378
1431
  }
1379
- function Pn(e) {
1432
+ function Mn(e) {
1380
1433
  return e.replace(/^(.*?)-/, "");
1381
1434
  }
1382
- var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g, On = /(\*)(0+)|(#+)(0+)|(0+)/g, Jt = /^(0+)$/;
1383
- function ct(e) {
1435
+ var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
1436
+ function dt(e) {
1384
1437
  var t = {};
1385
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qt, function(r, n, i) {
1438
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
1386
1439
  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)), "";
1387
1440
  }), t;
1388
1441
  }
1389
- function qt(e) {
1442
+ function tr(e) {
1390
1443
  switch (e) {
1391
1444
  case "sign-auto":
1392
1445
  return {
@@ -1426,7 +1479,7 @@ function qt(e) {
1426
1479
  };
1427
1480
  }
1428
1481
  }
1429
- function In(e) {
1482
+ function Ln(e) {
1430
1483
  var t;
1431
1484
  if (e[0] === "E" && e[1] === "E" ? (t = {
1432
1485
  notation: "engineering"
@@ -1434,17 +1487,17 @@ function In(e) {
1434
1487
  notation: "scientific"
1435
1488
  }, e = e.slice(1)), t) {
1436
1489
  var r = e.slice(0, 2);
1437
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Jt.test(e))
1490
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
1438
1491
  throw new Error("Malformed concise eng/scientific notation");
1439
1492
  t.minimumIntegerDigits = e.length;
1440
1493
  }
1441
1494
  return t;
1442
1495
  }
1443
- function ft(e) {
1444
- var t = {}, r = qt(e);
1496
+ function pt(e) {
1497
+ var t = {}, r = tr(e);
1445
1498
  return r || t;
1446
1499
  }
1447
- function Mn(e) {
1500
+ function Rn(e) {
1448
1501
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1449
1502
  var i = n[r];
1450
1503
  switch (i.stem) {
@@ -1468,7 +1521,7 @@ function Mn(e) {
1468
1521
  continue;
1469
1522
  case "measure-unit":
1470
1523
  case "unit":
1471
- t.style = "unit", t.unit = Pn(i.options[0]);
1524
+ t.style = "unit", t.unit = Mn(i.options[0]);
1472
1525
  continue;
1473
1526
  case "compact-short":
1474
1527
  case "K":
@@ -1479,13 +1532,13 @@ function Mn(e) {
1479
1532
  t.notation = "compact", t.compactDisplay = "long";
1480
1533
  continue;
1481
1534
  case "scientific":
1482
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1483
- return y(y({}, l), ft(u));
1535
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1536
+ return v(v({}, l), pt(u));
1484
1537
  }, {}));
1485
1538
  continue;
1486
1539
  case "engineering":
1487
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1488
- return y(y({}, l), ft(u));
1540
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1541
+ return v(v({}, l), pt(u));
1489
1542
  }, {}));
1490
1543
  continue;
1491
1544
  case "notation-simple":
@@ -1530,7 +1583,7 @@ function Mn(e) {
1530
1583
  case "integer-width":
1531
1584
  if (i.options.length > 1)
1532
1585
  throw new RangeError("integer-width stems only accept a single optional option");
1533
- i.options[0].replace(On, function(l, u, h, c, f, m) {
1586
+ i.options[0].replace(Nn, function(l, u, h, c, f, m) {
1534
1587
  if (u)
1535
1588
  t.minimumIntegerDigits = h.length;
1536
1589
  else {
@@ -1543,28 +1596,28 @@ function Mn(e) {
1543
1596
  });
1544
1597
  continue;
1545
1598
  }
1546
- if (Jt.test(i.stem)) {
1599
+ if (er.test(i.stem)) {
1547
1600
  t.minimumIntegerDigits = i.stem.length;
1548
1601
  continue;
1549
1602
  }
1550
- if (ht.test(i.stem)) {
1603
+ if (mt.test(i.stem)) {
1551
1604
  if (i.options.length > 1)
1552
1605
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1553
- i.stem.replace(ht, function(l, u, h, c, f, m) {
1606
+ i.stem.replace(mt, function(l, u, h, c, f, m) {
1554
1607
  return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1555
1608
  });
1556
1609
  var o = i.options[0];
1557
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), ct(o)));
1610
+ o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), dt(o)));
1558
1611
  continue;
1559
1612
  }
1560
- if (Qt.test(i.stem)) {
1561
- t = y(y({}, t), ct(i.stem));
1613
+ if (Kt.test(i.stem)) {
1614
+ t = v(v({}, t), dt(i.stem));
1562
1615
  continue;
1563
1616
  }
1564
- var s = qt(i.stem);
1565
- s && (t = y(y({}, t), s));
1566
- var a = In(i.stem);
1567
- a && (t = y(y({}, t), a));
1617
+ var s = tr(i.stem);
1618
+ s && (t = v(v({}, t), s));
1619
+ var a = Ln(i.stem);
1620
+ a && (t = v(v({}, t), a));
1568
1621
  }
1569
1622
  return t;
1570
1623
  }
@@ -2983,22 +3036,23 @@ var he = {
2983
3036
  "h"
2984
3037
  ]
2985
3038
  };
2986
- function Nn(e, t) {
3039
+ function $n(e, t) {
2987
3040
  for (var r = "", n = 0; n < e.length; n++) {
2988
3041
  var i = e.charAt(n);
2989
3042
  if (i === "j") {
2990
3043
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2991
3044
  o++, n++;
2992
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ln(t);
3045
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Gn(t);
2993
3046
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2994
3047
  r += l;
2995
3048
  for (; s-- > 0; )
2996
3049
  r = u + r;
2997
- } else i === "J" ? r += "H" : r += i;
3050
+ } else
3051
+ i === "J" ? r += "H" : r += i;
2998
3052
  }
2999
3053
  return r;
3000
3054
  }
3001
- function Ln(e) {
3055
+ function Gn(e) {
3002
3056
  var t = e.hourCycle;
3003
3057
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3004
3058
  e.hourCycles && // @ts-ignore
@@ -3020,20 +3074,20 @@ function Ln(e) {
3020
3074
  var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
3021
3075
  return i[0];
3022
3076
  }
3023
- var Ae, Rn = new RegExp("^".concat(Zt.source, "*")), $n = new RegExp("".concat(Zt.source, "*$"));
3024
- function v(e, t) {
3077
+ var Ce, Un = new RegExp("^".concat(Yt.source, "*")), Dn = new RegExp("".concat(Yt.source, "*$"));
3078
+ function y(e, t) {
3025
3079
  return { start: e, end: t };
3026
3080
  }
3027
- var Gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, Dn = !!Object.fromEntries, Fn = !!String.prototype.codePointAt, jn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, Xn = Vn ? Number.isSafeInteger : function(e) {
3081
+ var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), jn = !!String.fromCodePoint, kn = !!Object.fromEntries, Vn = !!String.prototype.codePointAt, Xn = !!String.prototype.trimStart, zn = !!String.prototype.trimEnd, Wn = !!Number.isSafeInteger, Zn = Wn ? Number.isSafeInteger : function(e) {
3028
3082
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3029
- }, Fe = !0;
3083
+ }, je = !0;
3030
3084
  try {
3031
- var zn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3032
- Fe = ((Ae = zn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
3085
+ var Qn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3086
+ je = ((Ce = Qn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
3033
3087
  } catch {
3034
- Fe = !1;
3088
+ je = !1;
3035
3089
  }
3036
- var mt = Gn ? (
3090
+ var bt = Fn ? (
3037
3091
  // Native
3038
3092
  function(t, r, n) {
3039
3093
  return t.startsWith(r, n);
@@ -3043,7 +3097,7 @@ var mt = Gn ? (
3043
3097
  function(t, r, n) {
3044
3098
  return t.slice(n, n + r.length) === r;
3045
3099
  }
3046
- ), je = Un ? String.fromCodePoint : (
3100
+ ), ke = jn ? String.fromCodePoint : (
3047
3101
  // IE11
3048
3102
  function() {
3049
3103
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3055,9 +3109,9 @@ var mt = Gn ? (
3055
3109
  }
3056
3110
  return n;
3057
3111
  }
3058
- ), dt = (
3112
+ ), gt = (
3059
3113
  // native
3060
- Dn ? Object.fromEntries : (
3114
+ kn ? Object.fromEntries : (
3061
3115
  // Ponyfill
3062
3116
  function(t) {
3063
3117
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3067,7 +3121,7 @@ var mt = Gn ? (
3067
3121
  return r;
3068
3122
  }
3069
3123
  )
3070
- ), Yt = Fn ? (
3124
+ ), rr = Vn ? (
3071
3125
  // Native
3072
3126
  function(t, r) {
3073
3127
  return t.codePointAt(r);
@@ -3081,7 +3135,7 @@ var mt = Gn ? (
3081
3135
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3082
3136
  }
3083
3137
  }
3084
- ), Wn = jn ? (
3138
+ ), Jn = Xn ? (
3085
3139
  // Native
3086
3140
  function(t) {
3087
3141
  return t.trimStart();
@@ -3089,9 +3143,9 @@ var mt = Gn ? (
3089
3143
  ) : (
3090
3144
  // Ponyfill
3091
3145
  function(t) {
3092
- return t.replace(Rn, "");
3146
+ return t.replace(Un, "");
3093
3147
  }
3094
- ), Zn = kn ? (
3148
+ ), qn = zn ? (
3095
3149
  // Native
3096
3150
  function(t) {
3097
3151
  return t.trimEnd();
@@ -3099,32 +3153,32 @@ var mt = Gn ? (
3099
3153
  ) : (
3100
3154
  // Ponyfill
3101
3155
  function(t) {
3102
- return t.replace($n, "");
3156
+ return t.replace(Dn, "");
3103
3157
  }
3104
3158
  );
3105
- function Kt(e, t) {
3159
+ function nr(e, t) {
3106
3160
  return new RegExp(e, t);
3107
3161
  }
3108
- var ke;
3109
- if (Fe) {
3110
- var pt = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3111
- ke = function(t, r) {
3162
+ var Ve;
3163
+ if (je) {
3164
+ var yt = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3165
+ Ve = function(t, r) {
3112
3166
  var n;
3113
- pt.lastIndex = r;
3114
- var i = pt.exec(t);
3167
+ yt.lastIndex = r;
3168
+ var i = yt.exec(t);
3115
3169
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3116
3170
  };
3117
3171
  } else
3118
- ke = function(t, r) {
3172
+ Ve = function(t, r) {
3119
3173
  for (var n = []; ; ) {
3120
- var i = Yt(t, r);
3121
- if (i === void 0 || er(i) || Yn(i))
3174
+ var i = rr(t, r);
3175
+ if (i === void 0 || ir(i) || ti(i))
3122
3176
  break;
3123
3177
  n.push(i), r += i >= 65536 ? 2 : 1;
3124
3178
  }
3125
- return je.apply(void 0, n);
3179
+ return ke.apply(void 0, n);
3126
3180
  };
3127
- var Qn = (
3181
+ var Yn = (
3128
3182
  /** @class */
3129
3183
  function() {
3130
3184
  function e(t, r) {
@@ -3149,13 +3203,13 @@ var Qn = (
3149
3203
  var a = this.clonePosition();
3150
3204
  this.bump(), i.push({
3151
3205
  type: S.pound,
3152
- location: v(a, this.clonePosition())
3206
+ location: y(a, this.clonePosition())
3153
3207
  });
3154
3208
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3155
3209
  if (n)
3156
3210
  break;
3157
- return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3158
- } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3211
+ return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3212
+ } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3159
3213
  var s = this.parseTag(t, r);
3160
3214
  if (s.err)
3161
3215
  return s;
@@ -3178,7 +3232,7 @@ var Qn = (
3178
3232
  val: {
3179
3233
  type: S.literal,
3180
3234
  value: "<".concat(i, "/>"),
3181
- location: v(n, this.clonePosition())
3235
+ location: y(n, this.clonePosition())
3182
3236
  },
3183
3237
  err: null
3184
3238
  };
@@ -3188,25 +3242,25 @@ var Qn = (
3188
3242
  return o;
3189
3243
  var s = o.val, a = this.clonePosition();
3190
3244
  if (this.bumpIf("</")) {
3191
- if (this.isEOF() || !Ve(this.char()))
3192
- return this.error(b.INVALID_TAG, v(a, this.clonePosition()));
3245
+ if (this.isEOF() || !Xe(this.char()))
3246
+ return this.error(b.INVALID_TAG, y(a, this.clonePosition()));
3193
3247
  var l = this.clonePosition(), u = this.parseTagName();
3194
- return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3248
+ return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3195
3249
  val: {
3196
3250
  type: S.tag,
3197
3251
  value: i,
3198
3252
  children: s,
3199
- location: v(n, this.clonePosition())
3253
+ location: y(n, this.clonePosition())
3200
3254
  },
3201
3255
  err: null
3202
- } : this.error(b.INVALID_TAG, v(a, this.clonePosition())));
3256
+ } : this.error(b.INVALID_TAG, y(a, this.clonePosition())));
3203
3257
  } else
3204
- return this.error(b.UNCLOSED_TAG, v(n, this.clonePosition()));
3258
+ return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
3205
3259
  } else
3206
- return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
3260
+ return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
3207
3261
  }, e.prototype.parseTagName = function() {
3208
3262
  var t = this.offset();
3209
- for (this.bump(); !this.isEOF() && qn(this.char()); )
3263
+ for (this.bump(); !this.isEOF() && ei(this.char()); )
3210
3264
  this.bump();
3211
3265
  return this.message.slice(t, this.offset());
3212
3266
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3228,14 +3282,14 @@ var Qn = (
3228
3282
  }
3229
3283
  break;
3230
3284
  }
3231
- var l = v(n, this.clonePosition());
3285
+ var l = y(n, this.clonePosition());
3232
3286
  return {
3233
3287
  val: { type: S.literal, value: i, location: l },
3234
3288
  err: null
3235
3289
  };
3236
3290
  }, e.prototype.tryParseLeftAngleBracket = function() {
3237
3291
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3238
- !Jn(this.peek() || 0)) ? (this.bump(), "<") : null;
3292
+ !Kn(this.peek() || 0)) ? (this.bump(), "<") : null;
3239
3293
  }, e.prototype.tryParseQuote = function(t) {
3240
3294
  if (this.isEOF() || this.char() !== 39)
3241
3295
  return null;
@@ -3269,23 +3323,23 @@ var Qn = (
3269
3323
  r.push(n);
3270
3324
  this.bump();
3271
3325
  }
3272
- return je.apply(void 0, r);
3326
+ return ke.apply(void 0, r);
3273
3327
  }, e.prototype.tryParseUnquoted = function(t, r) {
3274
3328
  if (this.isEOF())
3275
3329
  return null;
3276
3330
  var n = this.char();
3277
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3331
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
3278
3332
  }, e.prototype.parseArgument = function(t, r) {
3279
3333
  var n = this.clonePosition();
3280
3334
  if (this.bump(), this.bumpSpace(), this.isEOF())
3281
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3335
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3282
3336
  if (this.char() === 125)
3283
- return this.bump(), this.error(b.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3337
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, y(n, this.clonePosition()));
3284
3338
  var i = this.parseIdentifierIfPossible().value;
3285
3339
  if (!i)
3286
- return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3340
+ return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3287
3341
  if (this.bumpSpace(), this.isEOF())
3288
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3342
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3289
3343
  switch (this.char()) {
3290
3344
  case 125:
3291
3345
  return this.bump(), {
@@ -3293,25 +3347,25 @@ var Qn = (
3293
3347
  type: S.argument,
3294
3348
  // value does not include the opening and closing braces.
3295
3349
  value: i,
3296
- location: v(n, this.clonePosition())
3350
+ location: y(n, this.clonePosition())
3297
3351
  },
3298
3352
  err: null
3299
3353
  };
3300
3354
  case 44:
3301
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3355
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3302
3356
  default:
3303
- return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3357
+ return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3304
3358
  }
3305
3359
  }, e.prototype.parseIdentifierIfPossible = function() {
3306
- var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3360
+ var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3307
3361
  this.bumpTo(i);
3308
- var o = this.clonePosition(), s = v(t, o);
3362
+ var o = this.clonePosition(), s = y(t, o);
3309
3363
  return { value: n, location: s };
3310
3364
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3311
3365
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3312
3366
  switch (a) {
3313
3367
  case "":
3314
- return this.error(b.EXPECT_ARGUMENT_TYPE, v(s, l));
3368
+ return this.error(b.EXPECT_ARGUMENT_TYPE, y(s, l));
3315
3369
  case "number":
3316
3370
  case "date":
3317
3371
  case "time": {
@@ -3322,18 +3376,18 @@ var Qn = (
3322
3376
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3323
3377
  if (c.err)
3324
3378
  return c;
3325
- var f = Zn(c.val);
3379
+ var f = qn(c.val);
3326
3380
  if (f.length === 0)
3327
- return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3328
- var m = v(h, this.clonePosition());
3381
+ return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3382
+ var m = y(h, this.clonePosition());
3329
3383
  u = { style: f, styleLocation: m };
3330
3384
  }
3331
3385
  var d = this.tryParseArgumentClose(i);
3332
3386
  if (d.err)
3333
3387
  return d;
3334
- var p = v(i, this.clonePosition());
3335
- if (u && mt(u?.style, "::", 0)) {
3336
- var w = Wn(u.style.slice(2));
3388
+ var p = y(i, this.clonePosition());
3389
+ if (u && bt(u?.style, "::", 0)) {
3390
+ var w = Jn(u.style.slice(2));
3337
3391
  if (a === "number") {
3338
3392
  var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
3339
3393
  return c.err ? c : {
@@ -3344,12 +3398,12 @@ var Qn = (
3344
3398
  if (w.length === 0)
3345
3399
  return this.error(b.EXPECT_DATE_TIME_SKELETON, p);
3346
3400
  var I = w;
3347
- this.locale && (I = Nn(w, this.locale));
3401
+ this.locale && (I = $n(w, this.locale));
3348
3402
  var f = {
3349
3403
  type: W.dateTime,
3350
3404
  pattern: I,
3351
3405
  location: u.styleLocation,
3352
- parsedOptions: this.shouldParseSkeletons ? Bn(I) : {}
3406
+ parsedOptions: this.shouldParseSkeletons ? Pn(I) : {}
3353
3407
  }, C = a === "date" ? S.date : S.time;
3354
3408
  return {
3355
3409
  val: { type: C, value: n, location: p, style: f },
@@ -3372,12 +3426,12 @@ var Qn = (
3372
3426
  case "select": {
3373
3427
  var T = this.clonePosition();
3374
3428
  if (this.bumpSpace(), !this.bumpIf(","))
3375
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(T, y({}, T)));
3429
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, v({}, T)));
3376
3430
  this.bumpSpace();
3377
3431
  var _ = this.parseIdentifierIfPossible(), E = 0;
3378
3432
  if (a !== "select" && _.value === "offset") {
3379
3433
  if (!this.bumpIf(":"))
3380
- return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3434
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3381
3435
  this.bumpSpace();
3382
3436
  var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3383
3437
  if (c.err)
@@ -3390,12 +3444,12 @@ var Qn = (
3390
3444
  var d = this.tryParseArgumentClose(i);
3391
3445
  if (d.err)
3392
3446
  return d;
3393
- var P = v(i, this.clonePosition());
3447
+ var P = y(i, this.clonePosition());
3394
3448
  return a === "select" ? {
3395
3449
  val: {
3396
3450
  type: S.select,
3397
3451
  value: n,
3398
- options: dt(x.val),
3452
+ options: gt(x.val),
3399
3453
  location: P
3400
3454
  },
3401
3455
  err: null
@@ -3403,7 +3457,7 @@ var Qn = (
3403
3457
  val: {
3404
3458
  type: S.plural,
3405
3459
  value: n,
3406
- options: dt(x.val),
3460
+ options: gt(x.val),
3407
3461
  offset: E,
3408
3462
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3409
3463
  location: P
@@ -3412,10 +3466,10 @@ var Qn = (
3412
3466
  };
3413
3467
  }
3414
3468
  default:
3415
- return this.error(b.INVALID_ARGUMENT_TYPE, v(s, l));
3469
+ return this.error(b.INVALID_ARGUMENT_TYPE, y(s, l));
3416
3470
  }
3417
3471
  }, e.prototype.tryParseArgumentClose = function(t) {
3418
- return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3472
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3419
3473
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3420
3474
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3421
3475
  var n = this.char();
@@ -3424,7 +3478,7 @@ var Qn = (
3424
3478
  this.bump();
3425
3479
  var i = this.clonePosition();
3426
3480
  if (!this.bumpUntil("'"))
3427
- return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3481
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3428
3482
  this.bump();
3429
3483
  break;
3430
3484
  }
@@ -3454,7 +3508,7 @@ var Qn = (
3454
3508
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3455
3509
  var n = [];
3456
3510
  try {
3457
- n = Cn(t);
3511
+ n = In(t);
3458
3512
  } catch {
3459
3513
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3460
3514
  }
@@ -3463,7 +3517,7 @@ var Qn = (
3463
3517
  type: W.number,
3464
3518
  tokens: n,
3465
3519
  location: r,
3466
- parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
3520
+ parsedOptions: this.shouldParseSkeletons ? Rn(n) : {}
3467
3521
  },
3468
3522
  err: null
3469
3523
  };
@@ -3475,7 +3529,7 @@ var Qn = (
3475
3529
  var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3476
3530
  if (f.err)
3477
3531
  return f;
3478
- h = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3532
+ h = y(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3479
3533
  } else
3480
3534
  break;
3481
3535
  }
@@ -3484,7 +3538,7 @@ var Qn = (
3484
3538
  u === "other" && (s = !0), this.bumpSpace();
3485
3539
  var m = this.clonePosition();
3486
3540
  if (!this.bumpIf("{"))
3487
- return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3541
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3488
3542
  var d = this.parseMessage(t + 1, r, n);
3489
3543
  if (d.err)
3490
3544
  return d;
@@ -3495,11 +3549,11 @@ var Qn = (
3495
3549
  u,
3496
3550
  {
3497
3551
  value: d.val,
3498
- location: v(m, this.clonePosition())
3552
+ location: y(m, this.clonePosition())
3499
3553
  }
3500
3554
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3501
3555
  }
3502
- return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3556
+ return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3503
3557
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3504
3558
  var n = 1, i = this.clonePosition();
3505
3559
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3510,8 +3564,8 @@ var Qn = (
3510
3564
  else
3511
3565
  break;
3512
3566
  }
3513
- var l = v(i, this.clonePosition());
3514
- return o ? (s *= n, Xn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3567
+ var l = y(i, this.clonePosition());
3568
+ return o ? (s *= n, Zn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3515
3569
  }, e.prototype.offset = function() {
3516
3570
  return this.position.offset;
3517
3571
  }, e.prototype.isEOF = function() {
@@ -3526,7 +3580,7 @@ var Qn = (
3526
3580
  var t = this.position.offset;
3527
3581
  if (t >= this.message.length)
3528
3582
  throw Error("out of bound");
3529
- var r = Yt(this.message, t);
3583
+ var r = rr(this.message, t);
3530
3584
  if (r === void 0)
3531
3585
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3532
3586
  return r;
@@ -3545,7 +3599,7 @@ var Qn = (
3545
3599
  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);
3546
3600
  }
3547
3601
  }, e.prototype.bumpIf = function(t) {
3548
- if (mt(this.message, t, this.offset())) {
3602
+ if (bt(this.message, t, this.offset())) {
3549
3603
  for (var r = 0; r < t.length; r++)
3550
3604
  this.bump();
3551
3605
  return !0;
@@ -3567,7 +3621,7 @@ var Qn = (
3567
3621
  break;
3568
3622
  }
3569
3623
  }, e.prototype.bumpSpace = function() {
3570
- for (; !this.isEOF() && er(this.char()); )
3624
+ for (; !this.isEOF() && ir(this.char()); )
3571
3625
  this.bump();
3572
3626
  }, e.prototype.peek = function() {
3573
3627
  if (this.isEOF())
@@ -3577,37 +3631,38 @@ var Qn = (
3577
3631
  }, e;
3578
3632
  }()
3579
3633
  );
3580
- function Ve(e) {
3634
+ function Xe(e) {
3581
3635
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3582
3636
  }
3583
- function Jn(e) {
3584
- return Ve(e) || e === 47;
3637
+ function Kn(e) {
3638
+ return Xe(e) || e === 47;
3585
3639
  }
3586
- function qn(e) {
3640
+ function ei(e) {
3587
3641
  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;
3588
3642
  }
3589
- function er(e) {
3643
+ function ir(e) {
3590
3644
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3591
3645
  }
3592
- function Yn(e) {
3646
+ function ti(e) {
3593
3647
  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;
3594
3648
  }
3595
- function Xe(e) {
3649
+ function ze(e) {
3596
3650
  e.forEach(function(t) {
3597
- if (delete t.location, Vt(t) || Xt(t))
3651
+ if (delete t.location, Zt(t) || Qt(t))
3598
3652
  for (var r in t.options)
3599
- delete t.options[r].location, Xe(t.options[r].value);
3600
- else Ft(t) && Wt(t.style) || (jt(t) || kt(t)) && De(t.style) ? delete t.style.location : zt(t) && Xe(t.children);
3653
+ delete t.options[r].location, ze(t.options[r].value);
3654
+ else
3655
+ Xt(t) && qt(t.style) || (zt(t) || Wt(t)) && Fe(t.style) ? delete t.style.location : Jt(t) && ze(t.children);
3601
3656
  });
3602
3657
  }
3603
- function Kn(e, t) {
3604
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3605
- var r = new Qn(e, t).parse();
3658
+ function ri(e, t) {
3659
+ t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3660
+ var r = new Yn(e, t).parse();
3606
3661
  if (r.err) {
3607
3662
  var n = SyntaxError(b[r.err.kind]);
3608
3663
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3609
3664
  }
3610
- return t?.captureLocation || Xe(r.val), r.val;
3665
+ return t?.captureLocation || ze(r.val), r.val;
3611
3666
  }
3612
3667
  var Z;
3613
3668
  (function(e) {
@@ -3625,7 +3680,7 @@ var _e = (
3625
3680
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3626
3681
  }, t;
3627
3682
  }(Error)
3628
- ), bt = (
3683
+ ), vt = (
3629
3684
  /** @class */
3630
3685
  function(e) {
3631
3686
  R(t, e);
@@ -3634,7 +3689,7 @@ var _e = (
3634
3689
  }
3635
3690
  return t;
3636
3691
  }(_e)
3637
- ), ei = (
3692
+ ), ni = (
3638
3693
  /** @class */
3639
3694
  function(e) {
3640
3695
  R(t, e);
@@ -3643,7 +3698,7 @@ var _e = (
3643
3698
  }
3644
3699
  return t;
3645
3700
  }(_e)
3646
- ), ti = (
3701
+ ), ii = (
3647
3702
  /** @class */
3648
3703
  function(e) {
3649
3704
  R(t, e);
@@ -3656,17 +3711,17 @@ var _e = (
3656
3711
  (function(e) {
3657
3712
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3658
3713
  })(A || (A = {}));
3659
- function ri(e) {
3714
+ function oi(e) {
3660
3715
  return e.length < 2 ? e : e.reduce(function(t, r) {
3661
3716
  var n = t[t.length - 1];
3662
3717
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3663
3718
  }, []);
3664
3719
  }
3665
- function ni(e) {
3720
+ function si(e) {
3666
3721
  return typeof e == "function";
3667
3722
  }
3668
3723
  function de(e, t, r, n, i, o, s) {
3669
- if (e.length === 1 && lt(e[0]))
3724
+ if (e.length === 1 && ft(e[0]))
3670
3725
  return [
3671
3726
  {
3672
3727
  type: A.literal,
@@ -3675,14 +3730,14 @@ function de(e, t, r, n, i, o, s) {
3675
3730
  ];
3676
3731
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3677
3732
  var h = u[l];
3678
- if (lt(h)) {
3733
+ if (ft(h)) {
3679
3734
  a.push({
3680
3735
  type: A.literal,
3681
3736
  value: h.value
3682
3737
  });
3683
3738
  continue;
3684
3739
  }
3685
- if (Tn(h)) {
3740
+ if (An(h)) {
3686
3741
  typeof o == "number" && a.push({
3687
3742
  type: A.literal,
3688
3743
  value: r.getNumberFormat(t).format(o)
@@ -3691,43 +3746,43 @@ function de(e, t, r, n, i, o, s) {
3691
3746
  }
3692
3747
  var c = h.value;
3693
3748
  if (!(i && c in i))
3694
- throw new ti(c, s);
3749
+ throw new ii(c, s);
3695
3750
  var f = i[c];
3696
- if (wn(h)) {
3751
+ if (Bn(h)) {
3697
3752
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3698
3753
  type: typeof f == "string" ? A.literal : A.object,
3699
3754
  value: f
3700
3755
  });
3701
3756
  continue;
3702
3757
  }
3703
- if (jt(h)) {
3704
- var m = typeof h.style == "string" ? n.date[h.style] : De(h.style) ? h.style.parsedOptions : void 0;
3758
+ if (zt(h)) {
3759
+ var m = typeof h.style == "string" ? n.date[h.style] : Fe(h.style) ? h.style.parsedOptions : void 0;
3705
3760
  a.push({
3706
3761
  type: A.literal,
3707
3762
  value: r.getDateTimeFormat(t, m).format(f)
3708
3763
  });
3709
3764
  continue;
3710
3765
  }
3711
- if (kt(h)) {
3712
- var m = typeof h.style == "string" ? n.time[h.style] : De(h.style) ? h.style.parsedOptions : n.time.medium;
3766
+ if (Wt(h)) {
3767
+ var m = typeof h.style == "string" ? n.time[h.style] : Fe(h.style) ? h.style.parsedOptions : n.time.medium;
3713
3768
  a.push({
3714
3769
  type: A.literal,
3715
3770
  value: r.getDateTimeFormat(t, m).format(f)
3716
3771
  });
3717
3772
  continue;
3718
3773
  }
3719
- if (Ft(h)) {
3720
- var m = typeof h.style == "string" ? n.number[h.style] : Wt(h.style) ? h.style.parsedOptions : void 0;
3774
+ if (Xt(h)) {
3775
+ var m = typeof h.style == "string" ? n.number[h.style] : qt(h.style) ? h.style.parsedOptions : void 0;
3721
3776
  m && m.scale && (f = f * (m.scale || 1)), a.push({
3722
3777
  type: A.literal,
3723
3778
  value: r.getNumberFormat(t, m).format(f)
3724
3779
  });
3725
3780
  continue;
3726
3781
  }
3727
- if (zt(h)) {
3782
+ if (Jt(h)) {
3728
3783
  var d = h.children, p = h.value, w = i[p];
3729
- if (!ni(w))
3730
- throw new ei(p, "function", s);
3784
+ if (!si(w))
3785
+ throw new ni(p, "function", s);
3731
3786
  var I = de(d, t, r, n, i, o), C = w(I.map(function(E) {
3732
3787
  return E.value;
3733
3788
  }));
@@ -3738,14 +3793,14 @@ function de(e, t, r, n, i, o, s) {
3738
3793
  };
3739
3794
  }));
3740
3795
  }
3741
- if (Vt(h)) {
3796
+ if (Zt(h)) {
3742
3797
  var T = h.options[f] || h.options.other;
3743
3798
  if (!T)
3744
- throw new bt(h.value, f, Object.keys(h.options), s);
3799
+ throw new vt(h.value, f, Object.keys(h.options), s);
3745
3800
  a.push.apply(a, de(T.value, t, r, n, i));
3746
3801
  continue;
3747
3802
  }
3748
- if (Xt(h)) {
3803
+ if (Qt(h)) {
3749
3804
  var T = h.options["=".concat(f)];
3750
3805
  if (!T) {
3751
3806
  if (!Intl.PluralRules)
@@ -3756,24 +3811,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3756
3811
  T = h.options[_] || h.options.other;
3757
3812
  }
3758
3813
  if (!T)
3759
- throw new bt(h.value, f, Object.keys(h.options), s);
3814
+ throw new vt(h.value, f, Object.keys(h.options), s);
3760
3815
  a.push.apply(a, de(T.value, t, r, n, i, f - (h.offset || 0)));
3761
3816
  continue;
3762
3817
  }
3763
3818
  }
3764
- return ri(a);
3819
+ return oi(a);
3765
3820
  }
3766
- function ii(e, t) {
3767
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3768
- return r[n] = y(y({}, e[n]), t[n] || {}), r;
3821
+ function ai(e, t) {
3822
+ return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3823
+ return r[n] = v(v({}, e[n]), t[n] || {}), r;
3769
3824
  }, {})) : e;
3770
3825
  }
3771
- function oi(e, t) {
3826
+ function ui(e, t) {
3772
3827
  return t ? Object.keys(e).reduce(function(r, n) {
3773
- return r[n] = ii(e[n], t[n]), r;
3774
- }, y({}, e)) : e;
3828
+ return r[n] = ai(e[n], t[n]), r;
3829
+ }, v({}, e)) : e;
3775
3830
  }
3776
- function Ce(e) {
3831
+ function Pe(e) {
3777
3832
  return {
3778
3833
  create: function() {
3779
3834
  return {
@@ -3787,39 +3842,39 @@ function Ce(e) {
3787
3842
  }
3788
3843
  };
3789
3844
  }
3790
- function si(e) {
3845
+ function li(e) {
3791
3846
  return e === void 0 && (e = {
3792
3847
  number: {},
3793
3848
  dateTime: {},
3794
3849
  pluralRules: {}
3795
3850
  }), {
3796
- getNumberFormat: He(function() {
3851
+ getNumberFormat: Be(function() {
3797
3852
  for (var t, r = [], n = 0; n < arguments.length; n++)
3798
3853
  r[n] = arguments[n];
3799
3854
  return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
3800
3855
  }, {
3801
- cache: Ce(e.number),
3802
- strategy: Be.variadic
3856
+ cache: Pe(e.number),
3857
+ strategy: Ae.variadic
3803
3858
  }),
3804
- getDateTimeFormat: He(function() {
3859
+ getDateTimeFormat: Be(function() {
3805
3860
  for (var t, r = [], n = 0; n < arguments.length; n++)
3806
3861
  r[n] = arguments[n];
3807
3862
  return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
3808
3863
  }, {
3809
- cache: Ce(e.dateTime),
3810
- strategy: Be.variadic
3864
+ cache: Pe(e.dateTime),
3865
+ strategy: Ae.variadic
3811
3866
  }),
3812
- getPluralRules: He(function() {
3867
+ getPluralRules: Be(function() {
3813
3868
  for (var t, r = [], n = 0; n < arguments.length; n++)
3814
3869
  r[n] = arguments[n];
3815
3870
  return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
3816
3871
  }, {
3817
- cache: Ce(e.pluralRules),
3818
- strategy: Be.variadic
3872
+ cache: Pe(e.pluralRules),
3873
+ strategy: Ae.variadic
3819
3874
  })
3820
3875
  };
3821
3876
  }
3822
- var ai = (
3877
+ var hi = (
3823
3878
  /** @class */
3824
3879
  function() {
3825
3880
  function e(t, r, n, i) {
@@ -3851,13 +3906,13 @@ var ai = (
3851
3906
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3852
3907
  var s = i || {};
3853
3908
  s.formatters;
3854
- var a = Ur(s, ["formatters"]);
3855
- this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3909
+ var a = kr(s, ["formatters"]);
3910
+ this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3856
3911
  } else
3857
3912
  this.ast = t;
3858
3913
  if (!Array.isArray(this.ast))
3859
3914
  throw new TypeError("A message must be provided as a String or AST.");
3860
- this.formats = oi(e.formats, n), this.formatters = i && i.formatters || si(this.formatterCache);
3915
+ this.formats = ui(e.formats, n), this.formatters = i && i.formatters || li(this.formatterCache);
3861
3916
  }
3862
3917
  return Object.defineProperty(e, "defaultLocale", {
3863
3918
  get: function() {
@@ -3870,7 +3925,7 @@ var ai = (
3870
3925
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3871
3926
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3872
3927
  }
3873
- }, e.__parse = Kn, e.formats = {
3928
+ }, e.__parse = ri, e.formats = {
3874
3929
  number: {
3875
3930
  integer: {
3876
3931
  maximumFractionDigits: 0
@@ -3931,7 +3986,7 @@ var ai = (
3931
3986
  }, e;
3932
3987
  }()
3933
3988
  );
3934
- function ui(e, t) {
3989
+ function ci(e, t) {
3935
3990
  if (t == null)
3936
3991
  return;
3937
3992
  if (t in e)
@@ -3952,92 +4007,92 @@ function ui(e, t) {
3952
4007
  n = void 0;
3953
4008
  return n;
3954
4009
  }
3955
- const $ = {}, li = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), tr = (e, t) => {
4010
+ const $ = {}, fi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), or = (e, t) => {
3956
4011
  if (t == null)
3957
4012
  return;
3958
4013
  if (t in $ && e in $[t])
3959
4014
  return $[t][e];
3960
4015
  const r = Ee(t);
3961
4016
  for (let n = 0; n < r.length; n++) {
3962
- const i = r[n], o = ci(i, e);
4017
+ const i = r[n], o = di(i, e);
3963
4018
  if (o)
3964
- return li(e, t, o);
4019
+ return fi(e, t, o);
3965
4020
  }
3966
4021
  };
3967
- let Qe;
4022
+ let Ye;
3968
4023
  const ae = xe({});
3969
- function hi(e) {
3970
- return Qe[e] || null;
4024
+ function mi(e) {
4025
+ return Ye[e] || null;
3971
4026
  }
3972
- function rr(e) {
3973
- return e in Qe;
4027
+ function sr(e) {
4028
+ return e in Ye;
3974
4029
  }
3975
- function ci(e, t) {
3976
- if (!rr(e))
4030
+ function di(e, t) {
4031
+ if (!sr(e))
3977
4032
  return null;
3978
- const r = hi(e);
3979
- return ui(r, t);
4033
+ const r = mi(e);
4034
+ return ci(r, t);
3980
4035
  }
3981
- function fi(e) {
4036
+ function pi(e) {
3982
4037
  if (e == null)
3983
4038
  return;
3984
4039
  const t = Ee(e);
3985
4040
  for (let r = 0; r < t.length; r++) {
3986
4041
  const n = t[r];
3987
- if (rr(n))
4042
+ if (sr(n))
3988
4043
  return n;
3989
4044
  }
3990
4045
  }
3991
- function nr(e, ...t) {
3992
- delete $[e], ae.update((r) => (r[e] = bn.all([r[e] || {}, ...t]), r));
4046
+ function ar(e, ...t) {
4047
+ delete $[e], ae.update((r) => (r[e] = xn.all([r[e] || {}, ...t]), r));
3993
4048
  }
3994
4049
  Y(
3995
4050
  [ae],
3996
4051
  ([e]) => Object.keys(e)
3997
4052
  );
3998
- ae.subscribe((e) => Qe = e);
4053
+ ae.subscribe((e) => Ye = e);
3999
4054
  const pe = {};
4000
- function mi(e, t) {
4055
+ function bi(e, t) {
4001
4056
  pe[e].delete(t), pe[e].size === 0 && delete pe[e];
4002
4057
  }
4003
- function ir(e) {
4058
+ function ur(e) {
4004
4059
  return pe[e];
4005
4060
  }
4006
- function di(e) {
4061
+ function gi(e) {
4007
4062
  return Ee(e).map((t) => {
4008
- const r = ir(t);
4063
+ const r = ur(t);
4009
4064
  return [t, r ? [...r] : []];
4010
4065
  }).filter(([, t]) => t.length > 0);
4011
4066
  }
4012
- function ze(e) {
4067
+ function We(e) {
4013
4068
  return e == null ? !1 : Ee(e).some(
4014
4069
  (t) => {
4015
4070
  var r;
4016
- return (r = ir(t)) == null ? void 0 : r.size;
4071
+ return (r = ur(t)) == null ? void 0 : r.size;
4017
4072
  }
4018
4073
  );
4019
4074
  }
4020
- function pi(e, t) {
4075
+ function yi(e, t) {
4021
4076
  return Promise.all(
4022
- t.map((n) => (mi(e, n), n().then((i) => i.default || i)))
4023
- ).then((n) => nr(e, ...n));
4077
+ t.map((n) => (bi(e, n), n().then((i) => i.default || i)))
4078
+ ).then((n) => ar(e, ...n));
4024
4079
  }
4025
4080
  const te = {};
4026
- function or(e) {
4027
- if (!ze(e))
4081
+ function lr(e) {
4082
+ if (!We(e))
4028
4083
  return e in te ? te[e] : Promise.resolve();
4029
- const t = di(e);
4084
+ const t = gi(e);
4030
4085
  return te[e] = Promise.all(
4031
4086
  t.map(
4032
- ([r, n]) => pi(r, n)
4087
+ ([r, n]) => yi(r, n)
4033
4088
  )
4034
4089
  ).then(() => {
4035
- if (ze(e))
4036
- return or(e);
4090
+ if (We(e))
4091
+ return lr(e);
4037
4092
  delete te[e];
4038
4093
  }), te[e];
4039
4094
  }
4040
- const bi = {
4095
+ const vi = {
4041
4096
  number: {
4042
4097
  scientific: { notation: "scientific" },
4043
4098
  engineering: { notation: "engineering" },
@@ -4066,57 +4121,57 @@ const bi = {
4066
4121
  timeZoneName: "short"
4067
4122
  }
4068
4123
  }
4069
- }, gi = {
4124
+ }, xi = {
4070
4125
  fallbackLocale: null,
4071
4126
  loadingDelay: 200,
4072
- formats: bi,
4127
+ formats: vi,
4073
4128
  warnOnMissingMessages: !0,
4074
4129
  handleMissingMessage: void 0,
4075
4130
  ignoreTag: !0
4076
- }, vi = gi;
4131
+ }, _i = xi;
4077
4132
  function Q() {
4078
- return vi;
4133
+ return _i;
4079
4134
  }
4080
- const Pe = xe(!1);
4081
- var yi = Object.defineProperty, xi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wi = (e, t) => {
4135
+ const Oe = xe(!1);
4136
+ var Ei = Object.defineProperty, Si = Object.defineProperties, wi = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, Hi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? Ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bi = (e, t) => {
4082
4137
  for (var r in t || (t = {}))
4083
- Ei.call(t, r) && vt(e, r, t[r]);
4084
- if (gt)
4085
- for (var r of gt(t))
4086
- Si.call(t, r) && vt(e, r, t[r]);
4138
+ Ti.call(t, r) && _t(e, r, t[r]);
4139
+ if (xt)
4140
+ for (var r of xt(t))
4141
+ Hi.call(t, r) && _t(e, r, t[r]);
4087
4142
  return e;
4088
- }, Ti = (e, t) => xi(e, _i(t));
4089
- let We;
4143
+ }, Ai = (e, t) => Si(e, wi(t));
4144
+ let Ze;
4090
4145
  const ge = xe(null);
4091
- function yt(e) {
4146
+ function Et(e) {
4092
4147
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4093
4148
  }
4094
4149
  function Ee(e, t = Q().fallbackLocale) {
4095
- const r = yt(e);
4096
- return t ? [.../* @__PURE__ */ new Set([...r, ...yt(t)])] : r;
4150
+ const r = Et(e);
4151
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
4097
4152
  }
4098
4153
  function G() {
4099
- return We ?? void 0;
4154
+ return Ze ?? void 0;
4100
4155
  }
4101
4156
  ge.subscribe((e) => {
4102
- We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4157
+ Ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4103
4158
  });
4104
- const Hi = (e) => {
4105
- if (e && fi(e) && ze(e)) {
4159
+ const Ci = (e) => {
4160
+ if (e && pi(e) && We(e)) {
4106
4161
  const { loadingDelay: t } = Q();
4107
4162
  let r;
4108
4163
  return typeof window < "u" && G() != null && t ? r = window.setTimeout(
4109
- () => Pe.set(!0),
4164
+ () => Oe.set(!0),
4110
4165
  t
4111
- ) : Pe.set(!0), or(e).then(() => {
4166
+ ) : Oe.set(!0), lr(e).then(() => {
4112
4167
  ge.set(e);
4113
4168
  }).finally(() => {
4114
- clearTimeout(r), Pe.set(!1);
4169
+ clearTimeout(r), Oe.set(!1);
4115
4170
  });
4116
4171
  }
4117
4172
  return ge.set(e);
4118
- }, K = Ti(wi({}, ge), {
4119
- set: Hi
4173
+ }, K = Ai(Bi({}, ge), {
4174
+ set: Ci
4120
4175
  }), Se = (e) => {
4121
4176
  const t = /* @__PURE__ */ Object.create(null);
4122
4177
  return (n) => {
@@ -4124,20 +4179,20 @@ const Hi = (e) => {
4124
4179
  return i in t ? t[i] : t[i] = e(n);
4125
4180
  };
4126
4181
  };
4127
- var Bi = Object.defineProperty, ve = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
4182
+ var Pi = Object.defineProperty, ye = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4128
4183
  for (var r in t || (t = {}))
4129
- sr.call(t, r) && xt(e, r, t[r]);
4130
- if (ve)
4131
- for (var r of ve(t))
4132
- ar.call(t, r) && xt(e, r, t[r]);
4184
+ hr.call(t, r) && St(e, r, t[r]);
4185
+ if (ye)
4186
+ for (var r of ye(t))
4187
+ cr.call(t, r) && St(e, r, t[r]);
4133
4188
  return e;
4134
4189
  }, ee = (e, t) => {
4135
4190
  var r = {};
4136
4191
  for (var n in e)
4137
- sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4138
- if (e != null && ve)
4139
- for (var n of ve(e))
4140
- t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
4192
+ hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4193
+ if (e != null && ye)
4194
+ for (var n of ye(e))
4195
+ t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
4141
4196
  return r;
4142
4197
  };
4143
4198
  const oe = (e, t) => {
@@ -4145,21 +4200,21 @@ const oe = (e, t) => {
4145
4200
  if (e in r && t in r[e])
4146
4201
  return r[e][t];
4147
4202
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4148
- }, Ai = Se(
4203
+ }, Oi = Se(
4149
4204
  (e) => {
4150
4205
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4151
4206
  if (r == null)
4152
4207
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4153
4208
  return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4154
4209
  }
4155
- ), Ci = Se(
4210
+ ), Ii = Se(
4156
4211
  (e) => {
4157
4212
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4158
4213
  if (r == null)
4159
4214
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4160
4215
  return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4161
4216
  }
4162
- ), Pi = Se(
4217
+ ), Mi = Se(
4163
4218
  (e) => {
4164
4219
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4165
4220
  if (r == null)
@@ -4168,33 +4223,33 @@ const oe = (e, t) => {
4168
4223
  );
4169
4224
  return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4170
4225
  }
4171
- ), Oi = (e = {}) => {
4226
+ ), Ni = (e = {}) => {
4172
4227
  var t = e, {
4173
4228
  locale: r = G()
4174
4229
  } = t, n = ee(t, [
4175
4230
  "locale"
4176
4231
  ]);
4177
- return Ai(Je({ locale: r }, n));
4178
- }, Ii = (e = {}) => {
4232
+ return Oi(Ke({ locale: r }, n));
4233
+ }, Li = (e = {}) => {
4179
4234
  var t = e, {
4180
4235
  locale: r = G()
4181
4236
  } = t, n = ee(t, [
4182
4237
  "locale"
4183
4238
  ]);
4184
- return Ci(Je({ locale: r }, n));
4185
- }, Mi = (e = {}) => {
4239
+ return Ii(Ke({ locale: r }, n));
4240
+ }, Ri = (e = {}) => {
4186
4241
  var t = e, {
4187
4242
  locale: r = G()
4188
4243
  } = t, n = ee(t, [
4189
4244
  "locale"
4190
4245
  ]);
4191
- return Pi(Je({ locale: r }, n));
4192
- }, Ni = Se(
4246
+ return Mi(Ke({ locale: r }, n));
4247
+ }, $i = Se(
4193
4248
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4194
- (e, t = G()) => new ai(e, t, Q().formats, {
4249
+ (e, t = G()) => new hi(e, t, Q().formats, {
4195
4250
  ignoreTag: Q().ignoreTag
4196
4251
  })
4197
- ), Li = (e, t = {}) => {
4252
+ ), Gi = (e, t = {}) => {
4198
4253
  var r, n, i, o;
4199
4254
  let s = t;
4200
4255
  typeof e == "object" && (s = e, e = s.id);
@@ -4207,7 +4262,7 @@ const oe = (e, t) => {
4207
4262
  throw new Error(
4208
4263
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4209
4264
  );
4210
- let h = tr(e, l);
4265
+ let h = or(e, l);
4211
4266
  if (!h)
4212
4267
  h = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4213
4268
  else if (typeof h != "string")
@@ -4218,7 +4273,7 @@ const oe = (e, t) => {
4218
4273
  return h;
4219
4274
  let c = h;
4220
4275
  try {
4221
- c = Ni(h, l).format(a);
4276
+ c = $i(h, l).format(a);
4222
4277
  } catch (f) {
4223
4278
  f instanceof Error && console.warn(
4224
4279
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4226,20 +4281,20 @@ const oe = (e, t) => {
4226
4281
  );
4227
4282
  }
4228
4283
  return c;
4229
- }, Ri = (e, t) => Mi(t).format(e), $i = (e, t) => Ii(t).format(e), Gi = (e, t) => Oi(t).format(e), Ui = (e, t = G()) => tr(e, t), Di = Y([K, ae], () => Li);
4230
- Y([K], () => Ri);
4231
- Y([K], () => $i);
4232
- Y([K], () => Gi);
4233
- Y([K, ae], () => Ui);
4234
- window.emWidgets = { topic: Kr };
4235
- const Fi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4236
- function ji(e, t) {
4284
+ }, Ui = (e, t) => Ri(t).format(e), Di = (e, t) => Li(t).format(e), Fi = (e, t) => Ni(t).format(e), ji = (e, t = G()) => or(e, t), ki = Y([K, ae], () => Gi);
4285
+ Y([K], () => Ui);
4286
+ Y([K], () => Di);
4287
+ Y([K], () => Fi);
4288
+ Y([K, ae], () => ji);
4289
+ window.emWidgets = { topic: nn };
4290
+ const Vi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4291
+ function Xi(e, t) {
4237
4292
  if (e) {
4238
4293
  const r = document.createElement("style");
4239
4294
  r.innerHTML = t, e.appendChild(r);
4240
4295
  }
4241
4296
  }
4242
- function ki(e, t) {
4297
+ function zi(e, t) {
4243
4298
  const r = new URL(t);
4244
4299
  fetch(r.href).then((n) => n.text()).then((n) => {
4245
4300
  const i = document.createElement("style");
@@ -4248,7 +4303,7 @@ function ki(e, t) {
4248
4303
  console.error("There was an error while trying to load client styling from URL", n);
4249
4304
  });
4250
4305
  }
4251
- function Vi(e, t, r) {
4306
+ function Wi(e, t, r) {
4252
4307
  if (window.emMessageBus) {
4253
4308
  const n = document.createElement("style");
4254
4309
  window.emMessageBus.subscribe(t, (i) => {
@@ -4256,13 +4311,13 @@ function Vi(e, t, r) {
4256
4311
  });
4257
4312
  }
4258
4313
  }
4259
- function _t(e, t) {
4260
- nr(e, t);
4314
+ function wt(e, t) {
4315
+ ar(e, t);
4261
4316
  }
4262
- function Xi(e) {
4317
+ function Zi(e) {
4263
4318
  K.set(e);
4264
4319
  }
4265
- const Et = {
4320
+ const Tt = {
4266
4321
  en: {
4267
4322
  cancel: "Cancel",
4268
4323
  confirm: "Confirm"
@@ -4308,15 +4363,15 @@ const Et = {
4308
4363
  confirm: "Confirm"
4309
4364
  }
4310
4365
  };
4311
- function zi(e) {
4312
- vr(e, "svelte-1o81iqe", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #BFCBC3);color:var(--emw--color-gray-100, #BFCBC3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4366
+ function Qi(e) {
4367
+ Er(e, "svelte-1o81iqe", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #BFCBC3);color:var(--emw--color-gray-100, #BFCBC3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4313
4368
  }
4314
- const Wi = (e) => ({}), St = (e) => ({});
4315
- function Zi(e) {
4369
+ const Ji = (e) => ({}), Ht = (e) => ({});
4370
+ function qi(e) {
4316
4371
  let t, r;
4317
4372
  return {
4318
4373
  c() {
4319
- t = Ke("svg"), r = Ke("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(t, "class", "w-6 h-6"), H(t, "fill", "none"), H(t, "stroke", "currentColor"), H(t, "viewBox", "0 0 24 24"), H(t, "xmlns", "http://www.w3.org/2000/svg");
4374
+ t = rt("svg"), r = rt("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(t, "class", "w-6 h-6"), H(t, "fill", "none"), H(t, "stroke", "currentColor"), H(t, "viewBox", "0 0 24 24"), H(t, "xmlns", "http://www.w3.org/2000/svg");
4320
4375
  },
4321
4376
  m(n, i) {
4322
4377
  se(n, t, i), B(t, r);
@@ -4327,7 +4382,7 @@ function Zi(e) {
4327
4382
  }
4328
4383
  };
4329
4384
  }
4330
- function wt(e) {
4385
+ function Bt(e) {
4331
4386
  let t, r, n;
4332
4387
  return {
4333
4388
  c() {
@@ -4352,7 +4407,7 @@ function wt(e) {
4352
4407
  }
4353
4408
  };
4354
4409
  }
4355
- function Tt(e) {
4410
+ function At(e) {
4356
4411
  let t, r = (
4357
4412
  /*$_*/
4358
4413
  e[4]("cancel") + ""
@@ -4362,7 +4417,7 @@ function Tt(e) {
4362
4417
  t = M("button"), n = X(r), H(t, "class", "GeneralCancelButton");
4363
4418
  },
4364
4419
  m(s, a) {
4365
- se(s, t, a), B(t, n), i || (o = Oe(
4420
+ se(s, t, a), B(t, n), i || (o = Ie(
4366
4421
  t,
4367
4422
  "click",
4368
4423
  /*click_handler*/
@@ -4379,7 +4434,7 @@ function Tt(e) {
4379
4434
  }
4380
4435
  };
4381
4436
  }
4382
- function Qi(e) {
4437
+ function Yi(e) {
4383
4438
  let t, r, n, i, o, s, a, l, u, h, c, f = (
4384
4439
  /*$_*/
4385
4440
  e[4]("confirm") + ""
@@ -4387,19 +4442,19 @@ function Qi(e) {
4387
4442
  const I = (
4388
4443
  /*#slots*/
4389
4444
  e[16].close
4390
- ), C = dr(
4445
+ ), C = yr(
4391
4446
  I,
4392
4447
  e,
4393
4448
  /*$$scope*/
4394
4449
  e[15],
4395
- St
4396
- ), T = C || Zi();
4450
+ Ht
4451
+ ), T = C || qi();
4397
4452
  let _ = (
4398
4453
  /*modaltitle*/
4399
- e[1] && wt(e)
4454
+ e[1] && Bt(e)
4400
4455
  ), E = (
4401
4456
  /*hascancelbutton*/
4402
- e[2] && Tt(e)
4457
+ e[2] && At(e)
4403
4458
  );
4404
4459
  return {
4405
4460
  c() {
@@ -4413,13 +4468,13 @@ function Qi(e) {
4413
4468
  },
4414
4469
  m(x, P) {
4415
4470
  se(x, t, P), B(t, r), B(r, n), T && T.m(n, null), B(r, i), _ && _.m(r, null), B(r, o), B(r, s), B(s, a), B(r, l), B(r, u), E && E.m(u, null), B(u, h), B(u, c), B(c, m), e[19](t), d = !0, p || (w = [
4416
- Oe(
4471
+ Ie(
4417
4472
  n,
4418
4473
  "click",
4419
4474
  /*close*/
4420
4475
  e[6]
4421
4476
  ),
4422
- Oe(
4477
+ Ie(
4423
4478
  c,
4424
4479
  "click",
4425
4480
  /*click_handler_1*/
@@ -4429,73 +4484,73 @@ function Qi(e) {
4429
4484
  },
4430
4485
  p(x, [P]) {
4431
4486
  C && C.p && (!d || P & /*$$scope*/
4432
- 32768) && br(
4487
+ 32768) && xr(
4433
4488
  C,
4434
4489
  I,
4435
4490
  x,
4436
4491
  /*$$scope*/
4437
4492
  x[15],
4438
- d ? pr(
4493
+ d ? vr(
4439
4494
  I,
4440
4495
  /*$$scope*/
4441
4496
  x[15],
4442
4497
  P,
4443
- Wi
4444
- ) : gr(
4498
+ Ji
4499
+ ) : _r(
4445
4500
  /*$$scope*/
4446
4501
  x[15]
4447
4502
  ),
4448
- St
4503
+ Ht
4449
4504
  ), /*modaltitle*/
4450
- x[1] ? _ ? _.p(x, P) : (_ = wt(x), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!d || P & /*modaltext*/
4505
+ x[1] ? _ ? _.p(x, P) : (_ = Bt(x), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!d || P & /*modaltext*/
4451
4506
  1) && be(
4452
4507
  a,
4453
4508
  /*modaltext*/
4454
4509
  x[0]
4455
4510
  ), /*hascancelbutton*/
4456
- x[2] ? E ? E.p(x, P) : (E = Tt(x), E.c(), E.m(u, h)) : E && (E.d(1), E = null), (!d || P & /*$_*/
4511
+ x[2] ? E ? E.p(x, P) : (E = At(x), E.c(), E.m(u, h)) : E && (E.d(1), E = null), (!d || P & /*$_*/
4457
4512
  16) && f !== (f = /*$_*/
4458
4513
  x[4]("confirm") + "") && be(m, f);
4459
4514
  },
4460
4515
  i(x) {
4461
- d || (Pt(T, x), d = !0);
4516
+ d || (Mt(T, x), d = !0);
4462
4517
  },
4463
4518
  o(x) {
4464
- Pr(T, x), d = !1;
4519
+ Nr(T, x), d = !1;
4465
4520
  },
4466
4521
  d(x) {
4467
4522
  x && q(t), T && T.d(x), _ && _.d(), E && E.d(), e[19](null), p = !1, J(w);
4468
4523
  }
4469
4524
  };
4470
4525
  }
4471
- function Ji(e, t, r) {
4526
+ function Ki(e, t, r) {
4472
4527
  let n;
4473
- mr(e, Di, (g) => r(4, n = g));
4474
- let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: d = "" } = t, { mbsource: p } = t, w, I = window.navigator.userAgent, C = Fi(I) !== "PC";
4528
+ gr(e, ki, (g) => r(4, n = g));
4529
+ let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: d = "" } = t, { mbsource: p } = t, w, I = window.navigator.userAgent, C = Vi(I) !== "PC";
4475
4530
  const T = () => {
4476
4531
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4477
4532
  }, _ = (g) => {
4478
4533
  g === "confirm" && u && window.postMessage(u, window.location.href), g === "cancel" && h && window.postMessage(h, window.location.href), T();
4479
4534
  }, E = () => {
4480
4535
  fetch(d).then((U) => U.json()).then((U) => {
4481
- Object.keys(U).forEach((qe) => {
4482
- _t(qe, U[qe]);
4536
+ Object.keys(U).forEach((et) => {
4537
+ wt(et, U[et]);
4483
4538
  });
4484
4539
  }).catch((U) => {
4485
4540
  console.log(U);
4486
4541
  });
4487
4542
  };
4488
- Object.keys(Et).forEach((g) => {
4489
- _t(g, Et[g]);
4543
+ Object.keys(Tt).forEach((g) => {
4544
+ wt(g, Tt[g]);
4490
4545
  });
4491
4546
  const x = () => {
4492
- Xi(c);
4547
+ Zi(c);
4493
4548
  };
4494
- wr(() => () => {
4549
+ Ar(() => () => {
4495
4550
  });
4496
- const P = () => _("cancel"), lr = () => _("confirm");
4497
- function hr(g) {
4498
- Ie[g ? "unshift" : "push"](() => {
4551
+ const P = () => _("cancel"), mr = () => _("confirm");
4552
+ function dr(g) {
4553
+ Me[g ? "unshift" : "push"](() => {
4499
4554
  w = g, r(3, w);
4500
4555
  });
4501
4556
  }
@@ -4504,9 +4559,9 @@ function Ji(e, t, r) {
4504
4559
  }, e.$$.update = () => {
4505
4560
  e.$$.dirty & /*modaltext, lang*/
4506
4561
  1025 && s && c && x(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4507
- 2056 && f && w && ji(w, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4508
- 4104 && m && w && ki(w, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4509
- 16392 && p && w && Vi(w, `${p}.Style`), e.$$.dirty & /*translationurl*/
4562
+ 2056 && f && w && Xi(w, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4563
+ 4104 && m && w && zi(w, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4564
+ 16392 && p && w && Wi(w, `${p}.Style`), e.$$.dirty & /*translationurl*/
4510
4565
  8192 && d && E();
4511
4566
  }, [
4512
4567
  s,
@@ -4527,18 +4582,18 @@ function Ji(e, t, r) {
4527
4582
  o,
4528
4583
  i,
4529
4584
  P,
4530
- lr,
4531
- hr
4585
+ mr,
4586
+ dr
4532
4587
  ];
4533
4588
  }
4534
- class ur extends Rr {
4589
+ class fr extends Dr {
4535
4590
  constructor(t) {
4536
- super(), Nr(
4591
+ super(), Gr(
4537
4592
  this,
4538
4593
  t,
4539
- Ji,
4540
- Qi,
4541
- Bt,
4594
+ Ki,
4595
+ Yi,
4596
+ Pt,
4542
4597
  {
4543
4598
  modaltext: 0,
4544
4599
  modaltitle: 1,
@@ -4551,7 +4606,7 @@ class ur extends Rr {
4551
4606
  translationurl: 13,
4552
4607
  mbsource: 14
4553
4608
  },
4554
- zi
4609
+ Qi
4555
4610
  );
4556
4611
  }
4557
4612
  get modaltext() {
@@ -4615,50 +4670,50 @@ class ur extends Rr {
4615
4670
  this.$$set({ mbsource: t }), O();
4616
4671
  }
4617
4672
  }
4618
- Lr(ur, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4619
- const so = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4673
+ Ur(fr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4674
+ const lo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4620
4675
  __proto__: null,
4621
- default: ur
4676
+ default: fr
4622
4677
  }, Symbol.toStringTag, { value: "Module" }));
4623
4678
  export {
4624
4679
  K as $,
4625
- ro as A,
4626
- Oe as B,
4627
- X as C,
4628
- Yi as D,
4629
- Ne as E,
4630
- Ke as F,
4631
- eo as G,
4632
- Di as H,
4633
- ji as I,
4634
- ki as J,
4635
- Vi as K,
4636
- so as P,
4637
- Rr as S,
4638
- nr as a,
4639
- Lr as b,
4640
- oo as c,
4641
- vr as d,
4642
- q as e,
4680
+ B as A,
4681
+ oo as B,
4682
+ Ie as C,
4683
+ be as D,
4684
+ eo as E,
4685
+ J as F,
4686
+ ro as G,
4687
+ io as H,
4688
+ rt as I,
4689
+ no as J,
4690
+ ki as K,
4691
+ lo as P,
4692
+ Dr as S,
4693
+ ar as a,
4694
+ Ur as b,
4695
+ uo as c,
4696
+ Er as d,
4697
+ M as e,
4643
4698
  O as f,
4644
- Gr as g,
4699
+ jr as g,
4645
4700
  se as h,
4646
- Nr as i,
4647
- M as j,
4648
- mr as k,
4649
- Fi as l,
4650
- no as m,
4701
+ Gr as i,
4702
+ q as j,
4703
+ gr as k,
4704
+ Vi as l,
4705
+ zi as m,
4651
4706
  N as n,
4652
- wr as o,
4653
- Ie as p,
4654
- B as q,
4655
- ue as r,
4656
- Bt as s,
4657
- Ki as t,
4658
- to as u,
4659
- H as v,
4660
- io as w,
4661
- qi as x,
4662
- J as y,
4663
- be as z
4707
+ Ar as o,
4708
+ Wi as p,
4709
+ so as q,
4710
+ Me as r,
4711
+ Pt as s,
4712
+ Xi as t,
4713
+ ao as u,
4714
+ ue as v,
4715
+ X as w,
4716
+ to as x,
4717
+ H as y,
4718
+ Le as z
4664
4719
  };