@everymatrix/player-account-timeout 1.59.3 → 1.60.0

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 (23) hide show
  1. package/components/PlayerAccountGeneralConfirmationModal-BOJYp5ik.cjs +18 -0
  2. package/components/{PlayerAccountGeneralConfirmationModal-Bw8OUJ0O.js → PlayerAccountGeneralConfirmationModal-Bnh1XDOd.js} +582 -560
  3. package/components/{PlayerAccountGeneralConfirmationModal-BJlFEgEt.js → PlayerAccountGeneralConfirmationModal-DoeReNtd.js} +621 -599
  4. package/components/{PlayerAccountTimeout-CumYINDT.js → PlayerAccountTimeout-B6u6MiWX.js} +767 -762
  5. package/components/{PlayerAccountTimeout-CD3CVuTq.js → PlayerAccountTimeout-CNH_sF9k.js} +782 -777
  6. package/components/{PlayerAccountTimeout-BrEWXYC6.cjs → PlayerAccountTimeout-Cf59Bjwj.cjs} +153 -153
  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-IHMCRYEX.cjs → ui-skeleton-C1buDKbo.cjs} +1 -1
  15. package/stencil/{ui-skeleton-DFpfaKvi.js → ui-skeleton-C5gPr5Xv.js} +2 -2
  16. package/stencil/{ui-skeleton-UUT_AJxa.js → ui-skeleton-M7HNQCk1.js} +2 -2
  17. package/stencil/{ui-skeleton-a642cced-BNXFvvk_.js → ui-skeleton-a642cced-BFJMszWG.js} +1 -1
  18. package/stencil/{ui-skeleton-a642cced-5nW6b8_l.cjs → ui-skeleton-a642cced-DO34s50a.cjs} +1 -1
  19. package/stencil/{ui-skeleton-a642cced-DdY2eEM0.js → ui-skeleton-a642cced-p8tGooXk.js} +1 -1
  20. package/components/PlayerAccountGeneralConfirmationModal-jvS4uZK0.cjs +0 -18
  21. package/stencil/index-ae04a8b1-BxaX26xW.js +0 -516
  22. package/stencil/index-ae04a8b1-D7qYBP-T.js +0 -532
  23. package/stencil/index-ae04a8b1-Dk7mk6oB.cjs +0 -1
@@ -1,17 +1,17 @@
1
- var gr = Object.defineProperty, vr = Object.defineProperties;
2
- var yr = Object.getOwnPropertyDescriptors;
3
- var et = Object.getOwnPropertySymbols;
4
- var xr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable;
5
- var Te = (e, t, r) => t in e ? gr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
1
+ var _r = Object.defineProperty, Er = Object.defineProperties;
2
+ var Sr = Object.getOwnPropertyDescriptors;
3
+ var nt = Object.getOwnPropertySymbols;
4
+ var wr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable;
5
+ var Te = (e, t, r) => t in e ? _r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- xr.call(t, r) && Te(e, r, t[r]);
8
- if (et)
9
- for (var r of et(t))
10
- _r.call(t, r) && Te(e, r, t[r]);
7
+ wr.call(t, r) && Te(e, r, t[r]);
8
+ if (nt)
9
+ for (var r of nt(t))
10
+ Tr.call(t, r) && Te(e, r, t[r]);
11
11
  return e;
12
- }, rt = (e, t) => vr(e, yr(t));
12
+ }, ot = (e, t) => Er(e, Sr(t));
13
13
  var O = (e, t, r) => (Te(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var nt = (e, t, r) => new Promise((n, i) => {
14
+ var st = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -29,7 +29,7 @@ var nt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function L() {
31
31
  }
32
- function Er(e, t) {
32
+ function Hr(e, t) {
33
33
  for (const r in t)
34
34
  e[r] = t[r];
35
35
  return (
@@ -37,25 +37,25 @@ function Er(e, t) {
37
37
  e
38
38
  );
39
39
  }
40
- function It(e) {
40
+ function Lt(e) {
41
41
  return e();
42
42
  }
43
- function it() {
43
+ function at() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
46
  function q(e) {
47
- e.forEach(It);
47
+ e.forEach(Lt);
48
48
  }
49
- function Je(e) {
49
+ function qe(e) {
50
50
  return typeof e == "function";
51
51
  }
52
- function Mt(e, t) {
52
+ function Rt(e, t) {
53
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
54
  }
55
- function Sr(e) {
55
+ function Br(e) {
56
56
  return Object.keys(e).length === 0;
57
57
  }
58
- function Nt(e, ...t) {
58
+ function $t(e, ...t) {
59
59
  if (e == null) {
60
60
  for (const n of t)
61
61
  n(void 0);
@@ -64,19 +64,19 @@ function Nt(e, ...t) {
64
64
  const r = e.subscribe(...t);
65
65
  return r.unsubscribe ? () => r.unsubscribe() : r;
66
66
  }
67
- function wr(e, t, r) {
68
- e.$$.on_destroy.push(Nt(t, r));
67
+ function Ar(e, t, r) {
68
+ e.$$.on_destroy.push($t(t, r));
69
69
  }
70
- function Tr(e, t, r, n) {
70
+ function Cr(e, t, r, n) {
71
71
  if (e) {
72
- const i = Lt(e, t, r, n);
72
+ const i = Gt(e, t, r, n);
73
73
  return e[0](i);
74
74
  }
75
75
  }
76
- function Lt(e, t, r, n) {
77
- return e[1] && n ? Er(r.ctx.slice(), e[1](n(t))) : r.ctx;
76
+ function Gt(e, t, r, n) {
77
+ return e[1] && n ? Hr(r.ctx.slice(), e[1](n(t))) : r.ctx;
78
78
  }
79
- function Hr(e, t, r, n) {
79
+ function Pr(e, t, r, n) {
80
80
  if (e[2] && n) {
81
81
  const i = e[2](n(r));
82
82
  if (t.dirty === void 0)
@@ -91,13 +91,13 @@ function Hr(e, t, r, n) {
91
91
  }
92
92
  return t.dirty;
93
93
  }
94
- function Br(e, t, r, n, i, o) {
94
+ function Or(e, t, r, n, i, o) {
95
95
  if (i) {
96
- const s = Lt(t, r, n, o);
96
+ const s = Gt(t, r, n, o);
97
97
  e.p(s, i);
98
98
  }
99
99
  }
100
- function Ar(e) {
100
+ function Ir(e) {
101
101
  if (e.ctx.length > 32) {
102
102
  const t = [], r = e.ctx.length / 32;
103
103
  for (let n = 0; n < r; n++)
@@ -109,14 +109,14 @@ function Ar(e) {
109
109
  function B(e, t) {
110
110
  e.appendChild(t);
111
111
  }
112
- function Cr(e, t, r) {
113
- const n = Pr(e);
112
+ function Mr(e, t, r) {
113
+ const n = Nr(e);
114
114
  if (!n.getElementById(t)) {
115
115
  const i = N("style");
116
- i.id = t, i.textContent = r, Or(n, i);
116
+ i.id = t, i.textContent = r, Lr(n, i);
117
117
  }
118
118
  }
119
- function Pr(e) {
119
+ function Nr(e) {
120
120
  if (!e)
121
121
  return document;
122
122
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -126,7 +126,7 @@ function Pr(e) {
126
126
  t
127
127
  ) : e.ownerDocument;
128
128
  }
129
- function Or(e, t) {
129
+ function Lr(e, t) {
130
130
  return B(
131
131
  /** @type {Document} */
132
132
  e.head || e,
@@ -139,14 +139,14 @@ function ae(e, t, r) {
139
139
  function Y(e) {
140
140
  e.parentNode && e.parentNode.removeChild(e);
141
141
  }
142
- function lo(e, t) {
142
+ function fo(e, t) {
143
143
  for (let r = 0; r < e.length; r += 1)
144
144
  e[r] && e[r].d(t);
145
145
  }
146
146
  function N(e) {
147
147
  return document.createElement(e);
148
148
  }
149
- function ot(e) {
149
+ function ut(e) {
150
150
  return document.createElementNS("http://www.w3.org/2000/svg", e);
151
151
  }
152
152
  function z(e) {
@@ -155,33 +155,33 @@ function z(e) {
155
155
  function le() {
156
156
  return z(" ");
157
157
  }
158
- function ho() {
158
+ function mo() {
159
159
  return z("");
160
160
  }
161
- function Me(e, t, r, n) {
161
+ function Ne(e, t, r, n) {
162
162
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
163
163
  }
164
164
  function H(e, t, r) {
165
165
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
166
166
  }
167
- function co(e, t, r) {
167
+ function po(e, t, r) {
168
168
  const n = t.toLowerCase();
169
169
  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);
170
170
  }
171
- function Ir(e) {
171
+ function Rr(e) {
172
172
  return Array.from(e.childNodes);
173
173
  }
174
174
  function ge(e, t) {
175
175
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
176
176
  t);
177
177
  }
178
- function fo(e, t) {
178
+ function bo(e, t) {
179
179
  e.value = t == null ? "" : t;
180
180
  }
181
- function mo(e, t, r, n) {
181
+ function go(e, t, r, n) {
182
182
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
183
183
  }
184
- function po(e, t, r) {
184
+ function vo(e, t, r) {
185
185
  for (let n = 0; n < e.options.length; n += 1) {
186
186
  const i = e.options[n];
187
187
  if (i.__value === t) {
@@ -191,11 +191,11 @@ function po(e, t, r) {
191
191
  }
192
192
  (!r || t !== void 0) && (e.selectedIndex = -1);
193
193
  }
194
- function bo(e) {
194
+ function yo(e) {
195
195
  const t = e.querySelector(":checked");
196
196
  return t && t.__value;
197
197
  }
198
- function Mr(e) {
198
+ function $r(e) {
199
199
  const t = {};
200
200
  return e.childNodes.forEach(
201
201
  /** @param {Element} node */
@@ -208,22 +208,22 @@ let ie;
208
208
  function ne(e) {
209
209
  ie = e;
210
210
  }
211
- function Nr() {
211
+ function Gr() {
212
212
  if (!ie)
213
213
  throw new Error("Function called outside component initialization");
214
214
  return ie;
215
215
  }
216
- function Lr(e) {
217
- Nr().$$.on_mount.push(e);
216
+ function Ur(e) {
217
+ Gr().$$.on_mount.push(e);
218
218
  }
219
- const k = [], Ne = [];
219
+ const k = [], Le = [];
220
220
  let V = [];
221
- const st = [], Rr = /* @__PURE__ */ Promise.resolve();
222
- let Le = !1;
223
- function $r() {
224
- Le || (Le = !0, Rr.then(I));
221
+ const lt = [], Dr = /* @__PURE__ */ Promise.resolve();
222
+ let Re = !1;
223
+ function Fr() {
224
+ Re || (Re = !0, Dr.then(I));
225
225
  }
226
- function Re(e) {
226
+ function $e(e) {
227
227
  V.push(e);
228
228
  }
229
229
  const He = /* @__PURE__ */ new Set();
@@ -236,66 +236,66 @@ function I() {
236
236
  try {
237
237
  for (; F < k.length; ) {
238
238
  const t = k[F];
239
- F++, ne(t), Gr(t.$$);
239
+ F++, ne(t), jr(t.$$);
240
240
  }
241
241
  } catch (t) {
242
242
  throw k.length = 0, F = 0, t;
243
243
  }
244
- for (ne(null), k.length = 0, F = 0; Ne.length; )
245
- Ne.pop()();
244
+ for (ne(null), k.length = 0, F = 0; Le.length; )
245
+ Le.pop()();
246
246
  for (let t = 0; t < V.length; t += 1) {
247
247
  const r = V[t];
248
248
  He.has(r) || (He.add(r), r());
249
249
  }
250
250
  V.length = 0;
251
251
  } while (k.length);
252
- for (; st.length; )
253
- st.pop()();
254
- Le = !1, He.clear(), ne(e);
252
+ for (; lt.length; )
253
+ lt.pop()();
254
+ Re = !1, He.clear(), ne(e);
255
255
  }
256
- function Gr(e) {
256
+ function jr(e) {
257
257
  if (e.fragment !== null) {
258
258
  e.update(), q(e.before_update);
259
259
  const t = e.dirty;
260
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
260
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
261
261
  }
262
262
  }
263
- function Ur(e) {
263
+ function kr(e) {
264
264
  const t = [], r = [];
265
265
  V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
266
266
  }
267
267
  const fe = /* @__PURE__ */ new Set();
268
- let Dr;
269
- function Rt(e, t) {
268
+ let Vr;
269
+ function Ut(e, t) {
270
270
  e && e.i && (fe.delete(e), e.i(t));
271
271
  }
272
- function Fr(e, t, r, n) {
272
+ function Xr(e, t, r, n) {
273
273
  if (e && e.o) {
274
274
  if (fe.has(e))
275
275
  return;
276
- fe.add(e), Dr.c.push(() => {
276
+ fe.add(e), Vr.c.push(() => {
277
277
  fe.delete(e);
278
278
  }), e.o(t);
279
279
  }
280
280
  }
281
- function go(e) {
281
+ function xo(e) {
282
282
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
283
283
  }
284
- function jr(e, t, r) {
284
+ function zr(e, t, r) {
285
285
  const { fragment: n, after_update: i } = e.$$;
286
- n && n.m(t, r), Re(() => {
287
- const o = e.$$.on_mount.map(It).filter(Je);
286
+ n && n.m(t, r), $e(() => {
287
+ const o = e.$$.on_mount.map(Lt).filter(qe);
288
288
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : q(o), e.$$.on_mount = [];
289
- }), i.forEach(Re);
289
+ }), i.forEach($e);
290
290
  }
291
- function kr(e, t) {
291
+ function Wr(e, t) {
292
292
  const r = e.$$;
293
- r.fragment !== null && (Ur(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
293
+ r.fragment !== null && (kr(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
294
294
  }
295
- function Vr(e, t) {
296
- e.$$.dirty[0] === -1 && (k.push(e), $r(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
295
+ function Zr(e, t) {
296
+ e.$$.dirty[0] === -1 && (k.push(e), Fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
297
297
  }
298
- function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
298
+ function Qr(e, t, r, n, i, o, s = null, a = [-1]) {
299
299
  const l = ie;
300
300
  ne(e);
301
301
  const u = e.$$ = {
@@ -305,7 +305,7 @@ function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
305
305
  props: o,
306
306
  update: L,
307
307
  not_equal: i,
308
- bound: it(),
308
+ bound: at(),
309
309
  // lifecycle
310
310
  on_mount: [],
311
311
  on_destroy: [],
@@ -314,7 +314,7 @@ function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
314
314
  after_update: [],
315
315
  context: new Map(t.context || (l ? l.$$.context : [])),
316
316
  // everything else
317
- callbacks: it(),
317
+ callbacks: at(),
318
318
  dirty: a,
319
319
  skip_bound: !1,
320
320
  root: t.target || l.$$.root
@@ -323,19 +323,19 @@ function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
323
323
  let h = !1;
324
324
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
325
325
  const d = m.length ? m[0] : f;
326
- return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && Vr(e, c)), f;
326
+ return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && Zr(e, c)), f;
327
327
  }) : [], u.update(), h = !0, q(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
328
328
  if (t.hydrate) {
329
- const c = Ir(t.target);
329
+ const c = Rr(t.target);
330
330
  u.fragment && u.fragment.l(c), c.forEach(Y);
331
331
  } else
332
332
  u.fragment && u.fragment.c();
333
- t.intro && Rt(e.$$.fragment), jr(e, t.target, t.anchor), I();
333
+ t.intro && Ut(e.$$.fragment), zr(e, t.target, t.anchor), I();
334
334
  }
335
335
  ne(l);
336
336
  }
337
- let $t;
338
- typeof HTMLElement == "function" && ($t = class extends HTMLElement {
337
+ let Dt;
338
+ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
339
339
  constructor(t, r, n) {
340
340
  super();
341
341
  /** The Svelte component constructor */
@@ -372,7 +372,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
372
372
  }
373
373
  }
374
374
  connectedCallback() {
375
- return nt(this, null, function* () {
375
+ return st(this, null, function* () {
376
376
  if (this.$$cn = !0, !this.$$c) {
377
377
  let t = function(o) {
378
378
  return () => {
@@ -396,7 +396,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
396
396
  };
397
397
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
398
398
  return;
399
- const r = {}, n = Mr(this);
399
+ const r = {}, n = $r(this);
400
400
  for (const o of this.$$s)
401
401
  o in n && (r[o] = [t(o)]);
402
402
  for (const o of this.attributes) {
@@ -407,7 +407,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
407
407
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
408
408
  this.$$c = new this.$$ctor({
409
409
  target: this.shadowRoot || this,
410
- props: rt(tt({}, this.$$d), {
410
+ props: ot(it({}, this.$$d), {
411
411
  $$slots: r,
412
412
  $$scope: {
413
413
  ctx: []
@@ -485,8 +485,8 @@ function me(e, t, r, n) {
485
485
  return t;
486
486
  }
487
487
  }
488
- function zr(e, t, r, n, i, o) {
489
- let s = class extends $t {
488
+ function Jr(e, t, r, n, i, o) {
489
+ let s = class extends Dt {
490
490
  constructor() {
491
491
  super(e, r, i), this.$$p_d = t;
492
492
  }
@@ -516,7 +516,7 @@ function zr(e, t, r, n, i, o) {
516
516
  }), e.element = /** @type {any} */
517
517
  s, s;
518
518
  }
519
- class Wr {
519
+ class qr {
520
520
  constructor() {
521
521
  /**
522
522
  * ### PRIVATE API
@@ -537,7 +537,7 @@ class Wr {
537
537
  }
538
538
  /** @returns {void} */
539
539
  $destroy() {
540
- kr(this, 1), this.$destroy = L;
540
+ Wr(this, 1), this.$destroy = L;
541
541
  }
542
542
  /**
543
543
  * @template {Extract<keyof Events, string>} K
@@ -546,7 +546,7 @@ class Wr {
546
546
  * @returns {() => void}
547
547
  */
548
548
  $on(t, r) {
549
- if (!Je(r))
549
+ if (!qe(r))
550
550
  return L;
551
551
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
552
552
  return n.push(r), () => {
@@ -559,13 +559,13 @@ class Wr {
559
559
  * @returns {void}
560
560
  */
561
561
  $set(t) {
562
- this.$$set && !Sr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
562
+ this.$$set && !Br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
563
563
  }
564
564
  }
565
- const Zr = "4";
566
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
567
- var vo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
568
- function Qr(e) {
565
+ const Yr = "4";
566
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Yr);
567
+ var _o = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
568
+ function Kr(e) {
569
569
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
570
570
  }
571
571
  /*! *****************************************************************************
@@ -582,18 +582,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
582
582
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
583
583
  PERFORMANCE OF THIS SOFTWARE.
584
584
  ***************************************************************************** */
585
- var $e = function(e, t) {
586
- return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
585
+ var Ge = function(e, t) {
586
+ return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
587
587
  r.__proto__ = n;
588
588
  } || function(r, n) {
589
589
  for (var i in n)
590
590
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
591
- }, $e(e, t);
591
+ }, Ge(e, t);
592
592
  };
593
593
  function $(e, t) {
594
594
  if (typeof t != "function" && t !== null)
595
595
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
596
- $e(e, t);
596
+ Ge(e, t);
597
597
  function r() {
598
598
  this.constructor = e;
599
599
  }
@@ -609,7 +609,7 @@ var y = function() {
609
609
  return t;
610
610
  }, y.apply(this, arguments);
611
611
  };
612
- function Jr(e, t) {
612
+ function en(e, t) {
613
613
  var r = {};
614
614
  for (var n in e)
615
615
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -618,7 +618,7 @@ function Jr(e, t) {
618
618
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
619
619
  return r;
620
620
  }
621
- function Ge(e) {
621
+ function Ue(e) {
622
622
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
623
623
  if (r)
624
624
  return r.call(e);
@@ -630,7 +630,7 @@ function Ge(e) {
630
630
  };
631
631
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
632
632
  }
633
- function Ue(e, t) {
633
+ function De(e, t) {
634
634
  var r = typeof Symbol == "function" && e[Symbol.iterator];
635
635
  if (!r)
636
636
  return e;
@@ -659,13 +659,13 @@ function X(e, t, r) {
659
659
  function R(e) {
660
660
  return typeof e == "function";
661
661
  }
662
- function Gt(e) {
662
+ function Ft(e) {
663
663
  var t = function(n) {
664
664
  Error.call(n), n.stack = new Error().stack;
665
665
  }, r = e(t);
666
666
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
667
667
  }
668
- var Be = Gt(function(e) {
668
+ var Be = Ft(function(e) {
669
669
  return function(r) {
670
670
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
671
671
  ` + r.map(function(n, i) {
@@ -674,7 +674,7 @@ var Be = Gt(function(e) {
674
674
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
675
675
  };
676
676
  });
677
- function De(e, t) {
677
+ function Fe(e, t) {
678
678
  if (e) {
679
679
  var r = e.indexOf(t);
680
680
  0 <= r && e.splice(r, 1);
@@ -692,7 +692,7 @@ var xe = function() {
692
692
  if (s)
693
693
  if (this._parentage = null, Array.isArray(s))
694
694
  try {
695
- for (var a = Ge(s), l = a.next(); !l.done; l = a.next()) {
695
+ for (var a = Ue(s), l = a.next(); !l.done; l = a.next()) {
696
696
  var u = l.value;
697
697
  u.remove(this);
698
698
  }
@@ -719,12 +719,12 @@ var xe = function() {
719
719
  if (c) {
720
720
  this._finalizers = null;
721
721
  try {
722
- for (var f = Ge(c), m = f.next(); !m.done; m = f.next()) {
722
+ for (var f = Ue(c), m = f.next(); !m.done; m = f.next()) {
723
723
  var d = m.value;
724
724
  try {
725
- at(d);
725
+ ht(d);
726
726
  } catch (p) {
727
- o = o != null ? o : [], p instanceof Be ? o = X(X([], Ue(o)), Ue(p.errors)) : o.push(p);
727
+ o = o != null ? o : [], p instanceof Be ? o = X(X([], De(o)), De(p.errors)) : o.push(p);
728
728
  }
729
729
  }
730
730
  } catch (p) {
@@ -745,7 +745,7 @@ var xe = function() {
745
745
  var r;
746
746
  if (t && t !== this)
747
747
  if (this.closed)
748
- at(t);
748
+ ht(t);
749
749
  else {
750
750
  if (t instanceof e) {
751
751
  if (t.closed || t._hasParent(this))
@@ -762,52 +762,56 @@ var xe = function() {
762
762
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
763
763
  }, e.prototype._removeParent = function(t) {
764
764
  var r = this._parentage;
765
- r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
765
+ r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
766
766
  }, e.prototype.remove = function(t) {
767
767
  var r = this._finalizers;
768
- r && De(r, t), t instanceof e && t._removeParent(this);
768
+ r && Fe(r, t), t instanceof e && t._removeParent(this);
769
769
  }, e.EMPTY = function() {
770
770
  var t = new e();
771
771
  return t.closed = !0, t;
772
772
  }(), e;
773
- }(), Ut = xe.EMPTY;
774
- function Dt(e) {
773
+ }(), jt = xe.EMPTY;
774
+ function kt(e) {
775
775
  return e instanceof xe || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
776
776
  }
777
- function at(e) {
777
+ function ht(e) {
778
778
  R(e) ? e() : e.unsubscribe();
779
779
  }
780
- var qr = {
781
- Promise: void 0
782
- }, Yr = {
780
+ var Vt = {
781
+ onUnhandledError: null,
782
+ onStoppedNotification: null,
783
+ Promise: void 0,
784
+ useDeprecatedSynchronousErrorHandling: !1,
785
+ useDeprecatedNextContext: !1
786
+ }, tn = {
783
787
  setTimeout: function(e, t) {
784
788
  for (var r = [], n = 2; n < arguments.length; n++)
785
789
  r[n - 2] = arguments[n];
786
- return setTimeout.apply(void 0, X([e, t], Ue(r)));
790
+ return setTimeout.apply(void 0, X([e, t], De(r)));
787
791
  },
788
792
  clearTimeout: function(e) {
789
793
  return clearTimeout(e);
790
794
  },
791
795
  delegate: void 0
792
796
  };
793
- function Kr(e) {
794
- Yr.setTimeout(function() {
797
+ function rn(e) {
798
+ tn.setTimeout(function() {
795
799
  throw e;
796
800
  });
797
801
  }
798
- function ut() {
802
+ function ct() {
799
803
  }
800
804
  function de(e) {
801
805
  e();
802
806
  }
803
- var Ft = function(e) {
807
+ var Xt = function(e) {
804
808
  $(t, e);
805
809
  function t(r) {
806
810
  var n = e.call(this) || this;
807
- return n.isStopped = !1, r ? (n.destination = r, Dt(r) && r.add(n)) : n.destination = rn, n;
811
+ return n.isStopped = !1, r ? (n.destination = r, kt(r) && r.add(n)) : n.destination = an, n;
808
812
  }
809
813
  return t.create = function(r, n, i) {
810
- return new Fe(r, n, i);
814
+ return new je(r, n, i);
811
815
  }, t.prototype.next = function(r) {
812
816
  this.isStopped || this._next(r);
813
817
  }, t.prototype.error = function(r) {
@@ -831,7 +835,11 @@ var Ft = function(e) {
831
835
  this.unsubscribe();
832
836
  }
833
837
  }, t;
834
- }(xe), en = function() {
838
+ }(xe), nn = Function.prototype.bind;
839
+ function Ae(e, t) {
840
+ return nn.call(e, t);
841
+ }
842
+ var on = function() {
835
843
  function e(t) {
836
844
  this.partialObserver = t;
837
845
  }
@@ -862,43 +870,55 @@ var Ft = function(e) {
862
870
  he(r);
863
871
  }
864
872
  }, e;
865
- }(), Fe = function(e) {
873
+ }(), je = function(e) {
866
874
  $(t, e);
867
875
  function t(r, n, i) {
868
876
  var o = e.call(this) || this, s;
869
- return R(r) || !r ? s = {
870
- next: r != null ? r : void 0,
871
- error: n != null ? n : void 0,
872
- complete: i != null ? i : void 0
873
- } : s = r, o.destination = new en(s), o;
877
+ if (R(r) || !r)
878
+ s = {
879
+ next: r != null ? r : void 0,
880
+ error: n != null ? n : void 0,
881
+ complete: i != null ? i : void 0
882
+ };
883
+ else {
884
+ var a;
885
+ o && Vt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
886
+ return o.unsubscribe();
887
+ }, s = {
888
+ next: r.next && Ae(r.next, a),
889
+ error: r.error && Ae(r.error, a),
890
+ complete: r.complete && Ae(r.complete, a)
891
+ }) : s = r;
892
+ }
893
+ return o.destination = new on(s), o;
874
894
  }
875
895
  return t;
876
- }(Ft);
896
+ }(Xt);
877
897
  function he(e) {
878
- Kr(e);
898
+ rn(e);
879
899
  }
880
- function tn(e) {
900
+ function sn(e) {
881
901
  throw e;
882
902
  }
883
- var rn = {
903
+ var an = {
884
904
  closed: !0,
885
- next: ut,
886
- error: tn,
887
- complete: ut
888
- }, nn = function() {
905
+ next: ct,
906
+ error: sn,
907
+ complete: ct
908
+ }, un = function() {
889
909
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
890
910
  }();
891
- function on(e) {
911
+ function ln(e) {
892
912
  return e;
893
913
  }
894
- function sn(e) {
895
- return e.length === 0 ? on : e.length === 1 ? e[0] : function(r) {
914
+ function hn(e) {
915
+ return e.length === 0 ? ln : e.length === 1 ? e[0] : function(r) {
896
916
  return e.reduce(function(n, i) {
897
917
  return i(n);
898
918
  }, r);
899
919
  };
900
920
  }
901
- var lt = function() {
921
+ var ft = function() {
902
922
  function e(t) {
903
923
  t && (this._subscribe = t);
904
924
  }
@@ -906,7 +926,7 @@ var lt = function() {
906
926
  var r = new e();
907
927
  return r.source = this, r.operator = t, r;
908
928
  }, e.prototype.subscribe = function(t, r, n) {
909
- var i = this, o = un(t) ? t : new Fe(t, r, n);
929
+ var i = this, o = fn(t) ? t : new je(t, r, n);
910
930
  return de(function() {
911
931
  var s = i, a = s.operator, l = s.source;
912
932
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -919,8 +939,8 @@ var lt = function() {
919
939
  }
920
940
  }, e.prototype.forEach = function(t, r) {
921
941
  var n = this;
922
- return r = ht(r), new r(function(i, o) {
923
- var s = new Fe({
942
+ return r = mt(r), new r(function(i, o) {
943
+ var s = new je({
924
944
  next: function(a) {
925
945
  try {
926
946
  t(a);
@@ -936,15 +956,15 @@ var lt = function() {
936
956
  }, e.prototype._subscribe = function(t) {
937
957
  var r;
938
958
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
939
- }, e.prototype[nn] = function() {
959
+ }, e.prototype[un] = function() {
940
960
  return this;
941
961
  }, e.prototype.pipe = function() {
942
962
  for (var t = [], r = 0; r < arguments.length; r++)
943
963
  t[r] = arguments[r];
944
- return sn(t)(this);
964
+ return hn(t)(this);
945
965
  }, e.prototype.toPromise = function(t) {
946
966
  var r = this;
947
- return t = ht(t), new t(function(n, i) {
967
+ return t = mt(t), new t(function(n, i) {
948
968
  var o;
949
969
  r.subscribe(function(s) {
950
970
  return o = s;
@@ -958,32 +978,32 @@ var lt = function() {
958
978
  return new e(t);
959
979
  }, e;
960
980
  }();
961
- function ht(e) {
981
+ function mt(e) {
962
982
  var t;
963
- return (t = e != null ? e : qr.Promise) !== null && t !== void 0 ? t : Promise;
983
+ return (t = e != null ? e : Vt.Promise) !== null && t !== void 0 ? t : Promise;
964
984
  }
965
- function an(e) {
985
+ function cn(e) {
966
986
  return e && R(e.next) && R(e.error) && R(e.complete);
967
987
  }
968
- function un(e) {
969
- return e && e instanceof Ft || an(e) && Dt(e);
988
+ function fn(e) {
989
+ return e && e instanceof Xt || cn(e) && kt(e);
970
990
  }
971
- var ln = Gt(function(e) {
991
+ var mn = Ft(function(e) {
972
992
  return function() {
973
993
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
974
994
  };
975
- }), jt = function(e) {
995
+ }), zt = function(e) {
976
996
  $(t, e);
977
997
  function t() {
978
998
  var r = e.call(this) || this;
979
999
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
980
1000
  }
981
1001
  return t.prototype.lift = function(r) {
982
- var n = new ct(this, this);
1002
+ var n = new dt(this, this);
983
1003
  return n.operator = r, n;
984
1004
  }, t.prototype._throwIfClosed = function() {
985
1005
  if (this.closed)
986
- throw new ln();
1006
+ throw new mn();
987
1007
  }, t.prototype.next = function(r) {
988
1008
  var n = this;
989
1009
  de(function() {
@@ -991,7 +1011,7 @@ var ln = Gt(function(e) {
991
1011
  if (n._throwIfClosed(), !n.isStopped) {
992
1012
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
993
1013
  try {
994
- for (var s = Ge(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1014
+ for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
995
1015
  var l = a.value;
996
1016
  l.next(r);
997
1017
  }
@@ -1040,19 +1060,19 @@ var ln = Gt(function(e) {
1040
1060
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1041
1061
  }, t.prototype._innerSubscribe = function(r) {
1042
1062
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1043
- return o || s ? Ut : (this.currentObservers = null, a.push(r), new xe(function() {
1044
- n.currentObservers = null, De(a, r);
1063
+ return o || s ? jt : (this.currentObservers = null, a.push(r), new xe(function() {
1064
+ n.currentObservers = null, Fe(a, r);
1045
1065
  }));
1046
1066
  }, t.prototype._checkFinalizedStatuses = function(r) {
1047
1067
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1048
1068
  i ? r.error(o) : s && r.complete();
1049
1069
  }, t.prototype.asObservable = function() {
1050
- var r = new lt();
1070
+ var r = new ft();
1051
1071
  return r.source = this, r;
1052
1072
  }, t.create = function(r, n) {
1053
- return new ct(r, n);
1073
+ return new dt(r, n);
1054
1074
  }, t;
1055
- }(lt), ct = function(e) {
1075
+ }(ft), dt = function(e) {
1056
1076
  $(t, e);
1057
1077
  function t(r, n) {
1058
1078
  var i = e.call(this) || this;
@@ -1069,17 +1089,17 @@ var ln = Gt(function(e) {
1069
1089
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1070
1090
  }, t.prototype._subscribe = function(r) {
1071
1091
  var n, i;
1072
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ut;
1092
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : jt;
1073
1093
  }, t;
1074
- }(jt), kt = {
1094
+ }(zt), Wt = {
1075
1095
  now: function() {
1076
- return (kt.delegate || Date).now();
1096
+ return (Wt.delegate || Date).now();
1077
1097
  },
1078
1098
  delegate: void 0
1079
- }, hn = function(e) {
1099
+ }, dn = function(e) {
1080
1100
  $(t, e);
1081
1101
  function t(r, n, i) {
1082
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = kt);
1102
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Wt);
1083
1103
  var o = e.call(this) || this;
1084
1104
  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;
1085
1105
  }
@@ -1099,15 +1119,15 @@ var ln = Gt(function(e) {
1099
1119
  u && o.splice(0, u + 1);
1100
1120
  }
1101
1121
  }, t;
1102
- }(jt);
1103
- const ft = [], mt = {}, cn = (e, t = 0) => {
1104
- if (ft.indexOf(e) == -1) {
1105
- const r = new hn(t);
1106
- mt[e] = r, ft.push(e);
1122
+ }(zt);
1123
+ const pt = [], bt = {}, pn = (e, t = 0) => {
1124
+ if (pt.indexOf(e) == -1) {
1125
+ const r = new dn(t);
1126
+ bt[e] = r, pt.push(e);
1107
1127
  }
1108
- return mt[e];
1128
+ return bt[e];
1109
1129
  }, j = [];
1110
- function fn(e, t) {
1130
+ function bn(e, t) {
1111
1131
  return {
1112
1132
  subscribe: _e(e, t).subscribe
1113
1133
  };
@@ -1116,7 +1136,7 @@ function _e(e, t = L) {
1116
1136
  let r;
1117
1137
  const n = /* @__PURE__ */ new Set();
1118
1138
  function i(a) {
1119
- if (Mt(e, a) && (e = a, r)) {
1139
+ if (Rt(e, a) && (e = a, r)) {
1120
1140
  const l = !j.length;
1121
1141
  for (const u of n)
1122
1142
  u[1](), j.push(u, e);
@@ -1143,7 +1163,7 @@ function K(e, t, r) {
1143
1163
  if (!i.every(Boolean))
1144
1164
  throw new Error("derived() expects stores as input, got a falsy value");
1145
1165
  const o = t.length < 2;
1146
- return fn(r, (s, a) => {
1166
+ return bn(r, (s, a) => {
1147
1167
  let l = !1;
1148
1168
  const u = [];
1149
1169
  let h = 0, c = L;
@@ -1152,9 +1172,9 @@ function K(e, t, r) {
1152
1172
  return;
1153
1173
  c();
1154
1174
  const d = t(n ? u[0] : u, s, a);
1155
- o ? s(d) : c = Je(d) ? d : L;
1175
+ o ? s(d) : c = qe(d) ? d : L;
1156
1176
  }, m = i.map(
1157
- (d, p) => Nt(
1177
+ (d, p) => $t(
1158
1178
  d,
1159
1179
  (w) => {
1160
1180
  u[p] = w, h &= ~(1 << p), l && f();
@@ -1169,67 +1189,67 @@ function K(e, t, r) {
1169
1189
  };
1170
1190
  });
1171
1191
  }
1172
- var mn = function(t) {
1173
- return dn(t) && !pn(t);
1192
+ var gn = function(t) {
1193
+ return vn(t) && !yn(t);
1174
1194
  };
1175
- function dn(e) {
1195
+ function vn(e) {
1176
1196
  return !!e && typeof e == "object";
1177
1197
  }
1178
- function pn(e) {
1198
+ function yn(e) {
1179
1199
  var t = Object.prototype.toString.call(e);
1180
- return t === "[object RegExp]" || t === "[object Date]" || vn(e);
1200
+ return t === "[object RegExp]" || t === "[object Date]" || En(e);
1181
1201
  }
1182
- var bn = typeof Symbol == "function" && Symbol.for, gn = bn ? Symbol.for("react.element") : 60103;
1183
- function vn(e) {
1184
- return e.$$typeof === gn;
1202
+ var xn = typeof Symbol == "function" && Symbol.for, _n = xn ? Symbol.for("react.element") : 60103;
1203
+ function En(e) {
1204
+ return e.$$typeof === _n;
1185
1205
  }
1186
- function yn(e) {
1206
+ function Sn(e) {
1187
1207
  return Array.isArray(e) ? [] : {};
1188
1208
  }
1189
1209
  function oe(e, t) {
1190
- return t.clone !== !1 && t.isMergeableObject(e) ? W(yn(e), e, t) : e;
1210
+ return t.clone !== !1 && t.isMergeableObject(e) ? W(Sn(e), e, t) : e;
1191
1211
  }
1192
- function xn(e, t, r) {
1212
+ function wn(e, t, r) {
1193
1213
  return e.concat(t).map(function(n) {
1194
1214
  return oe(n, r);
1195
1215
  });
1196
1216
  }
1197
- function _n(e, t) {
1217
+ function Tn(e, t) {
1198
1218
  if (!t.customMerge)
1199
1219
  return W;
1200
1220
  var r = t.customMerge(e);
1201
1221
  return typeof r == "function" ? r : W;
1202
1222
  }
1203
- function En(e) {
1223
+ function Hn(e) {
1204
1224
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1205
1225
  return Object.propertyIsEnumerable.call(e, t);
1206
1226
  }) : [];
1207
1227
  }
1208
- function dt(e) {
1209
- return Object.keys(e).concat(En(e));
1228
+ function gt(e) {
1229
+ return Object.keys(e).concat(Hn(e));
1210
1230
  }
1211
- function Vt(e, t) {
1231
+ function Zt(e, t) {
1212
1232
  try {
1213
1233
  return t in e;
1214
1234
  } catch (r) {
1215
1235
  return !1;
1216
1236
  }
1217
1237
  }
1218
- function Sn(e, t) {
1219
- return Vt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1238
+ function Bn(e, t) {
1239
+ return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1220
1240
  }
1221
- function wn(e, t, r) {
1241
+ function An(e, t, r) {
1222
1242
  var n = {};
1223
- return r.isMergeableObject(e) && dt(e).forEach(function(i) {
1243
+ return r.isMergeableObject(e) && gt(e).forEach(function(i) {
1224
1244
  n[i] = oe(e[i], r);
1225
- }), dt(t).forEach(function(i) {
1226
- Sn(e, i) || (Vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = _n(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1245
+ }), gt(t).forEach(function(i) {
1246
+ Bn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Tn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1227
1247
  }), n;
1228
1248
  }
1229
1249
  function W(e, t, r) {
1230
- r = r || {}, r.arrayMerge = r.arrayMerge || xn, r.isMergeableObject = r.isMergeableObject || mn, r.cloneUnlessOtherwiseSpecified = oe;
1250
+ r = r || {}, r.arrayMerge = r.arrayMerge || wn, r.isMergeableObject = r.isMergeableObject || gn, r.cloneUnlessOtherwiseSpecified = oe;
1231
1251
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1232
- return o ? n ? r.arrayMerge(e, t, r) : wn(e, t, r) : oe(t, r);
1252
+ return o ? n ? r.arrayMerge(e, t, r) : An(e, t, r) : oe(t, r);
1233
1253
  }
1234
1254
  W.all = function(t, r) {
1235
1255
  if (!Array.isArray(t))
@@ -1238,56 +1258,58 @@ W.all = function(t, r) {
1238
1258
  return W(n, i, r);
1239
1259
  }, {});
1240
1260
  };
1241
- var Tn = W, Hn = Tn;
1242
- const Bn = /* @__PURE__ */ Qr(Hn);
1243
- function Ae(e, t) {
1244
- var r = t && t.cache ? t.cache : Nn, n = t && t.serializer ? t.serializer : In, i = t && t.strategy ? t.strategy : Pn;
1261
+ var Cn = W, Pn = Cn;
1262
+ const On = /* @__PURE__ */ Kr(Pn);
1263
+ function Ce(e, t) {
1264
+ var r = t && t.cache ? t.cache : $n, n = t && t.serializer ? t.serializer : Rn, i = t && t.strategy ? t.strategy : Mn;
1245
1265
  return i(e, {
1246
1266
  cache: r,
1247
1267
  serializer: n
1248
1268
  });
1249
1269
  }
1250
- function An(e) {
1270
+ function In(e) {
1251
1271
  return e == null || typeof e == "number" || typeof e == "boolean";
1252
1272
  }
1253
- function Cn(e, t, r, n) {
1254
- var i = An(n) ? n : r(n), o = t.get(i);
1273
+ function Qt(e, t, r, n) {
1274
+ var i = In(n) ? n : r(n), o = t.get(i);
1255
1275
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1256
1276
  }
1257
- function Xt(e, t, r) {
1277
+ function Jt(e, t, r) {
1258
1278
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1259
1279
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1260
1280
  }
1261
- function zt(e, t, r, n, i) {
1281
+ function Ye(e, t, r, n, i) {
1262
1282
  return r.bind(t, e, n, i);
1263
1283
  }
1264
- function Pn(e, t) {
1265
- var r = e.length === 1 ? Cn : Xt;
1266
- return zt(e, this, r, t.cache.create(), t.serializer);
1284
+ function Mn(e, t) {
1285
+ var r = e.length === 1 ? Qt : Jt;
1286
+ return Ye(e, this, r, t.cache.create(), t.serializer);
1267
1287
  }
1268
- function On(e, t) {
1269
- return zt(e, this, Xt, t.cache.create(), t.serializer);
1288
+ function Nn(e, t) {
1289
+ return Ye(e, this, Jt, t.cache.create(), t.serializer);
1270
1290
  }
1271
- var In = function() {
1291
+ function Ln(e, t) {
1292
+ return Ye(e, this, Qt, t.cache.create(), t.serializer);
1293
+ }
1294
+ var Rn = function() {
1272
1295
  return JSON.stringify(arguments);
1273
- }, Mn = (
1274
- /** @class */
1275
- function() {
1276
- function e() {
1277
- this.cache = /* @__PURE__ */ Object.create(null);
1278
- }
1279
- return e.prototype.get = function(t) {
1280
- return this.cache[t];
1281
- }, e.prototype.set = function(t, r) {
1282
- this.cache[t] = r;
1283
- }, e;
1284
- }()
1285
- ), Nn = {
1296
+ };
1297
+ function Ke() {
1298
+ this.cache = /* @__PURE__ */ Object.create(null);
1299
+ }
1300
+ Ke.prototype.get = function(e) {
1301
+ return this.cache[e];
1302
+ };
1303
+ Ke.prototype.set = function(e, t) {
1304
+ this.cache[e] = t;
1305
+ };
1306
+ var $n = {
1286
1307
  create: function() {
1287
- return new Mn();
1308
+ return new Ke();
1288
1309
  }
1289
- }, Ce = {
1290
- variadic: On
1310
+ }, Pe = {
1311
+ variadic: Nn,
1312
+ monadic: Ln
1291
1313
  }, b;
1292
1314
  (function(e) {
1293
1315
  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";
@@ -1300,43 +1322,43 @@ var Z;
1300
1322
  (function(e) {
1301
1323
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1302
1324
  })(Z || (Z = {}));
1303
- function pt(e) {
1325
+ function vt(e) {
1304
1326
  return e.type === S.literal;
1305
1327
  }
1306
- function Ln(e) {
1328
+ function Gn(e) {
1307
1329
  return e.type === S.argument;
1308
1330
  }
1309
- function Wt(e) {
1331
+ function qt(e) {
1310
1332
  return e.type === S.number;
1311
1333
  }
1312
- function Zt(e) {
1334
+ function Yt(e) {
1313
1335
  return e.type === S.date;
1314
1336
  }
1315
- function Qt(e) {
1337
+ function Kt(e) {
1316
1338
  return e.type === S.time;
1317
1339
  }
1318
- function Jt(e) {
1340
+ function er(e) {
1319
1341
  return e.type === S.select;
1320
1342
  }
1321
- function qt(e) {
1343
+ function tr(e) {
1322
1344
  return e.type === S.plural;
1323
1345
  }
1324
- function Rn(e) {
1346
+ function Un(e) {
1325
1347
  return e.type === S.pound;
1326
1348
  }
1327
- function Yt(e) {
1349
+ function rr(e) {
1328
1350
  return e.type === S.tag;
1329
1351
  }
1330
- function Kt(e) {
1352
+ function nr(e) {
1331
1353
  return !!(e && typeof e == "object" && e.type === Z.number);
1332
1354
  }
1333
- function je(e) {
1355
+ function ke(e) {
1334
1356
  return !!(e && typeof e == "object" && e.type === Z.dateTime);
1335
1357
  }
1336
- var er = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, $n = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1337
- function Gn(e) {
1358
+ var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dn = /(?:[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;
1359
+ function Fn(e) {
1338
1360
  var t = {};
1339
- return e.replace($n, function(r) {
1361
+ return e.replace(Dn, function(r) {
1340
1362
  var n = r.length;
1341
1363
  switch (r[0]) {
1342
1364
  case "G":
@@ -1425,11 +1447,11 @@ function Gn(e) {
1425
1447
  return "";
1426
1448
  }), t;
1427
1449
  }
1428
- var Un = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1429
- function Dn(e) {
1450
+ var jn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1451
+ function kn(e) {
1430
1452
  if (e.length === 0)
1431
1453
  throw new Error("Number skeleton cannot be empty");
1432
- for (var t = e.split(Un).filter(function(f) {
1454
+ for (var t = e.split(jn).filter(function(f) {
1433
1455
  return f.length > 0;
1434
1456
  }), r = [], n = 0, i = t; n < i.length; n++) {
1435
1457
  var o = i[n], s = o.split("/");
@@ -1444,17 +1466,17 @@ function Dn(e) {
1444
1466
  }
1445
1467
  return r;
1446
1468
  }
1447
- function Fn(e) {
1469
+ function Vn(e) {
1448
1470
  return e.replace(/^(.*?)-/, "");
1449
1471
  }
1450
- var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, jn = /(\*)(0+)|(#+)(0+)|(0+)/g, rr = /^(0+)$/;
1451
- function gt(e) {
1472
+ var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Xn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
1473
+ function xt(e) {
1452
1474
  var t = {};
1453
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tr, function(r, n, i) {
1475
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
1454
1476
  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)), "";
1455
1477
  }), t;
1456
1478
  }
1457
- function nr(e) {
1479
+ function ar(e) {
1458
1480
  switch (e) {
1459
1481
  case "sign-auto":
1460
1482
  return {
@@ -1494,7 +1516,7 @@ function nr(e) {
1494
1516
  };
1495
1517
  }
1496
1518
  }
1497
- function kn(e) {
1519
+ function zn(e) {
1498
1520
  var t;
1499
1521
  if (e[0] === "E" && e[1] === "E" ? (t = {
1500
1522
  notation: "engineering"
@@ -1502,17 +1524,17 @@ function kn(e) {
1502
1524
  notation: "scientific"
1503
1525
  }, e = e.slice(1)), t) {
1504
1526
  var r = e.slice(0, 2);
1505
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !rr.test(e))
1527
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
1506
1528
  throw new Error("Malformed concise eng/scientific notation");
1507
1529
  t.minimumIntegerDigits = e.length;
1508
1530
  }
1509
1531
  return t;
1510
1532
  }
1511
- function vt(e) {
1512
- var t = {}, r = nr(e);
1533
+ function _t(e) {
1534
+ var t = {}, r = ar(e);
1513
1535
  return r || t;
1514
1536
  }
1515
- function Vn(e) {
1537
+ function Wn(e) {
1516
1538
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1517
1539
  var i = n[r];
1518
1540
  switch (i.stem) {
@@ -1536,7 +1558,7 @@ function Vn(e) {
1536
1558
  continue;
1537
1559
  case "measure-unit":
1538
1560
  case "unit":
1539
- t.style = "unit", t.unit = Fn(i.options[0]);
1561
+ t.style = "unit", t.unit = Vn(i.options[0]);
1540
1562
  continue;
1541
1563
  case "compact-short":
1542
1564
  case "K":
@@ -1548,12 +1570,12 @@ function Vn(e) {
1548
1570
  continue;
1549
1571
  case "scientific":
1550
1572
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1551
- return y(y({}, l), vt(u));
1573
+ return y(y({}, l), _t(u));
1552
1574
  }, {}));
1553
1575
  continue;
1554
1576
  case "engineering":
1555
1577
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1556
- return y(y({}, l), vt(u));
1578
+ return y(y({}, l), _t(u));
1557
1579
  }, {}));
1558
1580
  continue;
1559
1581
  case "notation-simple":
@@ -1598,7 +1620,7 @@ function Vn(e) {
1598
1620
  case "integer-width":
1599
1621
  if (i.options.length > 1)
1600
1622
  throw new RangeError("integer-width stems only accept a single optional option");
1601
- i.options[0].replace(jn, function(l, u, h, c, f, m) {
1623
+ i.options[0].replace(Xn, function(l, u, h, c, f, m) {
1602
1624
  if (u)
1603
1625
  t.minimumIntegerDigits = h.length;
1604
1626
  else {
@@ -1611,27 +1633,27 @@ function Vn(e) {
1611
1633
  });
1612
1634
  continue;
1613
1635
  }
1614
- if (rr.test(i.stem)) {
1636
+ if (sr.test(i.stem)) {
1615
1637
  t.minimumIntegerDigits = i.stem.length;
1616
1638
  continue;
1617
1639
  }
1618
- if (bt.test(i.stem)) {
1640
+ if (yt.test(i.stem)) {
1619
1641
  if (i.options.length > 1)
1620
1642
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1621
- i.stem.replace(bt, function(l, u, h, c, f, m) {
1643
+ i.stem.replace(yt, function(l, u, h, c, f, m) {
1622
1644
  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), "";
1623
1645
  });
1624
1646
  var o = i.options[0];
1625
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), gt(o)));
1647
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), xt(o)));
1626
1648
  continue;
1627
1649
  }
1628
- if (tr.test(i.stem)) {
1629
- t = y(y({}, t), gt(i.stem));
1650
+ if (or.test(i.stem)) {
1651
+ t = y(y({}, t), xt(i.stem));
1630
1652
  continue;
1631
1653
  }
1632
- var s = nr(i.stem);
1654
+ var s = ar(i.stem);
1633
1655
  s && (t = y(y({}, t), s));
1634
- var a = kn(i.stem);
1656
+ var a = zn(i.stem);
1635
1657
  a && (t = y(y({}, t), a));
1636
1658
  }
1637
1659
  return t;
@@ -3051,13 +3073,13 @@ var ce = {
3051
3073
  "h"
3052
3074
  ]
3053
3075
  };
3054
- function Xn(e, t) {
3076
+ function Zn(e, t) {
3055
3077
  for (var r = "", n = 0; n < e.length; n++) {
3056
3078
  var i = e.charAt(n);
3057
3079
  if (i === "j") {
3058
3080
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3059
3081
  o++, n++;
3060
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = zn(t);
3082
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Qn(t);
3061
3083
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3062
3084
  r += l;
3063
3085
  for (; s-- > 0; )
@@ -3067,7 +3089,7 @@ function Xn(e, t) {
3067
3089
  }
3068
3090
  return r;
3069
3091
  }
3070
- function zn(e) {
3092
+ function Qn(e) {
3071
3093
  var t = e.hourCycle;
3072
3094
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3073
3095
  e.hourCycles && // @ts-ignore
@@ -3089,20 +3111,20 @@ function zn(e) {
3089
3111
  var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
3090
3112
  return i[0];
3091
3113
  }
3092
- var Pe, Wn = new RegExp("^".concat(er.source, "*")), Zn = new RegExp("".concat(er.source, "*$"));
3114
+ var Oe, Jn = new RegExp("^".concat(ir.source, "*")), qn = new RegExp("".concat(ir.source, "*$"));
3093
3115
  function v(e, t) {
3094
3116
  return { start: e, end: t };
3095
3117
  }
3096
- var Qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Jn = !!String.fromCodePoint, qn = !!Object.fromEntries, Yn = !!String.prototype.codePointAt, Kn = !!String.prototype.trimStart, ei = !!String.prototype.trimEnd, ti = !!Number.isSafeInteger, ri = ti ? Number.isSafeInteger : function(e) {
3118
+ var Yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kn = !!String.fromCodePoint, ei = !!Object.fromEntries, ti = !!String.prototype.codePointAt, ri = !!String.prototype.trimStart, ni = !!String.prototype.trimEnd, ii = !!Number.isSafeInteger, oi = ii ? Number.isSafeInteger : function(e) {
3097
3119
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3098
- }, ke = !0;
3120
+ }, Ve = !0;
3099
3121
  try {
3100
- var ni = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3101
- ke = ((Pe = ni.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
3122
+ var si = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3123
+ Ve = ((Oe = si.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
3102
3124
  } catch (e) {
3103
- ke = !1;
3125
+ Ve = !1;
3104
3126
  }
3105
- var yt = Qn ? (
3127
+ var Et = Yn ? (
3106
3128
  // Native
3107
3129
  function(t, r, n) {
3108
3130
  return t.startsWith(r, n);
@@ -3112,7 +3134,7 @@ var yt = Qn ? (
3112
3134
  function(t, r, n) {
3113
3135
  return t.slice(n, n + r.length) === r;
3114
3136
  }
3115
- ), Ve = Jn ? String.fromCodePoint : (
3137
+ ), Xe = Kn ? String.fromCodePoint : (
3116
3138
  // IE11
3117
3139
  function() {
3118
3140
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3124,9 +3146,9 @@ var yt = Qn ? (
3124
3146
  }
3125
3147
  return n;
3126
3148
  }
3127
- ), xt = (
3149
+ ), St = (
3128
3150
  // native
3129
- qn ? Object.fromEntries : (
3151
+ ei ? Object.fromEntries : (
3130
3152
  // Ponyfill
3131
3153
  function(t) {
3132
3154
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3136,7 +3158,7 @@ var yt = Qn ? (
3136
3158
  return r;
3137
3159
  }
3138
3160
  )
3139
- ), ir = Yn ? (
3161
+ ), ur = ti ? (
3140
3162
  // Native
3141
3163
  function(t, r) {
3142
3164
  return t.codePointAt(r);
@@ -3150,7 +3172,7 @@ var yt = Qn ? (
3150
3172
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3151
3173
  }
3152
3174
  }
3153
- ), ii = Kn ? (
3175
+ ), ai = ri ? (
3154
3176
  // Native
3155
3177
  function(t) {
3156
3178
  return t.trimStart();
@@ -3158,9 +3180,9 @@ var yt = Qn ? (
3158
3180
  ) : (
3159
3181
  // Ponyfill
3160
3182
  function(t) {
3161
- return t.replace(Wn, "");
3183
+ return t.replace(Jn, "");
3162
3184
  }
3163
- ), oi = ei ? (
3185
+ ), ui = ni ? (
3164
3186
  // Native
3165
3187
  function(t) {
3166
3188
  return t.trimEnd();
@@ -3168,32 +3190,32 @@ var yt = Qn ? (
3168
3190
  ) : (
3169
3191
  // Ponyfill
3170
3192
  function(t) {
3171
- return t.replace(Zn, "");
3193
+ return t.replace(qn, "");
3172
3194
  }
3173
3195
  );
3174
- function or(e, t) {
3196
+ function lr(e, t) {
3175
3197
  return new RegExp(e, t);
3176
3198
  }
3177
- var Xe;
3178
- if (ke) {
3179
- var _t = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3180
- Xe = function(t, r) {
3199
+ var ze;
3200
+ if (Ve) {
3201
+ var wt = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3202
+ ze = function(t, r) {
3181
3203
  var n;
3182
- _t.lastIndex = r;
3183
- var i = _t.exec(t);
3204
+ wt.lastIndex = r;
3205
+ var i = wt.exec(t);
3184
3206
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3185
3207
  };
3186
3208
  } else
3187
- Xe = function(t, r) {
3209
+ ze = function(t, r) {
3188
3210
  for (var n = []; ; ) {
3189
- var i = ir(t, r);
3190
- if (i === void 0 || sr(i) || li(i))
3211
+ var i = ur(t, r);
3212
+ if (i === void 0 || hr(i) || fi(i))
3191
3213
  break;
3192
3214
  n.push(i), r += i >= 65536 ? 2 : 1;
3193
3215
  }
3194
- return Ve.apply(void 0, n);
3216
+ return Xe.apply(void 0, n);
3195
3217
  };
3196
- var si = (
3218
+ var li = (
3197
3219
  /** @class */
3198
3220
  function() {
3199
3221
  function e(t, r) {
@@ -3224,7 +3246,7 @@ var si = (
3224
3246
  if (n)
3225
3247
  break;
3226
3248
  return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3227
- } else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
3249
+ } else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
3228
3250
  var s = this.parseTag(t, r);
3229
3251
  if (s.err)
3230
3252
  return s;
@@ -3257,7 +3279,7 @@ var si = (
3257
3279
  return o;
3258
3280
  var s = o.val, a = this.clonePosition();
3259
3281
  if (this.bumpIf("</")) {
3260
- if (this.isEOF() || !ze(this.char()))
3282
+ if (this.isEOF() || !We(this.char()))
3261
3283
  return this.error(b.INVALID_TAG, v(a, this.clonePosition()));
3262
3284
  var l = this.clonePosition(), u = this.parseTagName();
3263
3285
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3275,7 +3297,7 @@ var si = (
3275
3297
  return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
3276
3298
  }, e.prototype.parseTagName = function() {
3277
3299
  var t = this.offset();
3278
- for (this.bump(); !this.isEOF() && ui(this.char()); )
3300
+ for (this.bump(); !this.isEOF() && ci(this.char()); )
3279
3301
  this.bump();
3280
3302
  return this.message.slice(t, this.offset());
3281
3303
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3304,7 +3326,7 @@ var si = (
3304
3326
  };
3305
3327
  }, e.prototype.tryParseLeftAngleBracket = function() {
3306
3328
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3307
- !ai(this.peek() || 0)) ? (this.bump(), "<") : null;
3329
+ !hi(this.peek() || 0)) ? (this.bump(), "<") : null;
3308
3330
  }, e.prototype.tryParseQuote = function(t) {
3309
3331
  if (this.isEOF() || this.char() !== 39)
3310
3332
  return null;
@@ -3338,12 +3360,12 @@ var si = (
3338
3360
  r.push(n);
3339
3361
  this.bump();
3340
3362
  }
3341
- return Ve.apply(void 0, r);
3363
+ return Xe.apply(void 0, r);
3342
3364
  }, e.prototype.tryParseUnquoted = function(t, r) {
3343
3365
  if (this.isEOF())
3344
3366
  return null;
3345
3367
  var n = this.char();
3346
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3368
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
3347
3369
  }, e.prototype.parseArgument = function(t, r) {
3348
3370
  var n = this.clonePosition();
3349
3371
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3372,7 +3394,7 @@ var si = (
3372
3394
  return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3373
3395
  }
3374
3396
  }, e.prototype.parseIdentifierIfPossible = function() {
3375
- var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
3397
+ var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
3376
3398
  this.bumpTo(i);
3377
3399
  var o = this.clonePosition(), s = v(t, o);
3378
3400
  return { value: n, location: s };
@@ -3391,7 +3413,7 @@ var si = (
3391
3413
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3392
3414
  if (c.err)
3393
3415
  return c;
3394
- var f = oi(c.val);
3416
+ var f = ui(c.val);
3395
3417
  if (f.length === 0)
3396
3418
  return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3397
3419
  var m = v(h, this.clonePosition());
@@ -3401,8 +3423,8 @@ var si = (
3401
3423
  if (d.err)
3402
3424
  return d;
3403
3425
  var p = v(i, this.clonePosition());
3404
- if (u && yt(u == null ? void 0 : u.style, "::", 0)) {
3405
- var w = ii(u.style.slice(2));
3426
+ if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
3427
+ var w = ai(u.style.slice(2));
3406
3428
  if (a === "number") {
3407
3429
  var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
3408
3430
  return c.err ? c : {
@@ -3413,12 +3435,12 @@ var si = (
3413
3435
  if (w.length === 0)
3414
3436
  return this.error(b.EXPECT_DATE_TIME_SKELETON, p);
3415
3437
  var M = w;
3416
- this.locale && (M = Xn(w, this.locale));
3438
+ this.locale && (M = Zn(w, this.locale));
3417
3439
  var f = {
3418
3440
  type: Z.dateTime,
3419
3441
  pattern: M,
3420
3442
  location: u.styleLocation,
3421
- parsedOptions: this.shouldParseSkeletons ? Gn(M) : {}
3443
+ parsedOptions: this.shouldParseSkeletons ? Fn(M) : {}
3422
3444
  }, C = a === "date" ? S.date : S.time;
3423
3445
  return {
3424
3446
  val: { type: C, value: n, location: p, style: f },
@@ -3464,7 +3486,7 @@ var si = (
3464
3486
  val: {
3465
3487
  type: S.select,
3466
3488
  value: n,
3467
- options: xt(x.val),
3489
+ options: St(x.val),
3468
3490
  location: P
3469
3491
  },
3470
3492
  err: null
@@ -3472,7 +3494,7 @@ var si = (
3472
3494
  val: {
3473
3495
  type: S.plural,
3474
3496
  value: n,
3475
- options: xt(x.val),
3497
+ options: St(x.val),
3476
3498
  offset: E,
3477
3499
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3478
3500
  location: P
@@ -3523,7 +3545,7 @@ var si = (
3523
3545
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3524
3546
  var n = [];
3525
3547
  try {
3526
- n = Dn(t);
3548
+ n = kn(t);
3527
3549
  } catch (i) {
3528
3550
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3529
3551
  }
@@ -3532,7 +3554,7 @@ var si = (
3532
3554
  type: Z.number,
3533
3555
  tokens: n,
3534
3556
  location: r,
3535
- parsedOptions: this.shouldParseSkeletons ? Vn(n) : {}
3557
+ parsedOptions: this.shouldParseSkeletons ? Wn(n) : {}
3536
3558
  },
3537
3559
  err: null
3538
3560
  };
@@ -3580,7 +3602,7 @@ var si = (
3580
3602
  break;
3581
3603
  }
3582
3604
  var l = v(i, this.clonePosition());
3583
- return o ? (s *= n, ri(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3605
+ return o ? (s *= n, oi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3584
3606
  }, e.prototype.offset = function() {
3585
3607
  return this.position.offset;
3586
3608
  }, e.prototype.isEOF = function() {
@@ -3595,7 +3617,7 @@ var si = (
3595
3617
  var t = this.position.offset;
3596
3618
  if (t >= this.message.length)
3597
3619
  throw Error("out of bound");
3598
- var r = ir(this.message, t);
3620
+ var r = ur(this.message, t);
3599
3621
  if (r === void 0)
3600
3622
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3601
3623
  return r;
@@ -3614,7 +3636,7 @@ var si = (
3614
3636
  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);
3615
3637
  }
3616
3638
  }, e.prototype.bumpIf = function(t) {
3617
- if (yt(this.message, t, this.offset())) {
3639
+ if (Et(this.message, t, this.offset())) {
3618
3640
  for (var r = 0; r < t.length; r++)
3619
3641
  this.bump();
3620
3642
  return !0;
@@ -3636,7 +3658,7 @@ var si = (
3636
3658
  break;
3637
3659
  }
3638
3660
  }, e.prototype.bumpSpace = function() {
3639
- for (; !this.isEOF() && sr(this.char()); )
3661
+ for (; !this.isEOF() && hr(this.char()); )
3640
3662
  this.bump();
3641
3663
  }, e.prototype.peek = function() {
3642
3664
  if (this.isEOF())
@@ -3646,38 +3668,38 @@ var si = (
3646
3668
  }, e;
3647
3669
  }()
3648
3670
  );
3649
- function ze(e) {
3671
+ function We(e) {
3650
3672
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3651
3673
  }
3652
- function ai(e) {
3653
- return ze(e) || e === 47;
3674
+ function hi(e) {
3675
+ return We(e) || e === 47;
3654
3676
  }
3655
- function ui(e) {
3677
+ function ci(e) {
3656
3678
  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;
3657
3679
  }
3658
- function sr(e) {
3680
+ function hr(e) {
3659
3681
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3660
3682
  }
3661
- function li(e) {
3683
+ function fi(e) {
3662
3684
  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;
3663
3685
  }
3664
- function We(e) {
3686
+ function Ze(e) {
3665
3687
  e.forEach(function(t) {
3666
- if (delete t.location, Jt(t) || qt(t))
3688
+ if (delete t.location, er(t) || tr(t))
3667
3689
  for (var r in t.options)
3668
- delete t.options[r].location, We(t.options[r].value);
3690
+ delete t.options[r].location, Ze(t.options[r].value);
3669
3691
  else
3670
- Wt(t) && Kt(t.style) || (Zt(t) || Qt(t)) && je(t.style) ? delete t.style.location : Yt(t) && We(t.children);
3692
+ qt(t) && nr(t.style) || (Yt(t) || Kt(t)) && ke(t.style) ? delete t.style.location : rr(t) && Ze(t.children);
3671
3693
  });
3672
3694
  }
3673
- function hi(e, t) {
3695
+ function mi(e, t) {
3674
3696
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3675
- var r = new si(e, t).parse();
3697
+ var r = new li(e, t).parse();
3676
3698
  if (r.err) {
3677
3699
  var n = SyntaxError(b[r.err.kind]);
3678
3700
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3679
3701
  }
3680
- return t != null && t.captureLocation || We(r.val), r.val;
3702
+ return t != null && t.captureLocation || Ze(r.val), r.val;
3681
3703
  }
3682
3704
  var Q;
3683
3705
  (function(e) {
@@ -3695,7 +3717,7 @@ var Ee = (
3695
3717
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3696
3718
  }, t;
3697
3719
  }(Error)
3698
- ), Et = (
3720
+ ), Tt = (
3699
3721
  /** @class */
3700
3722
  function(e) {
3701
3723
  $(t, e);
@@ -3704,7 +3726,7 @@ var Ee = (
3704
3726
  }
3705
3727
  return t;
3706
3728
  }(Ee)
3707
- ), ci = (
3729
+ ), di = (
3708
3730
  /** @class */
3709
3731
  function(e) {
3710
3732
  $(t, e);
@@ -3713,7 +3735,7 @@ var Ee = (
3713
3735
  }
3714
3736
  return t;
3715
3737
  }(Ee)
3716
- ), fi = (
3738
+ ), pi = (
3717
3739
  /** @class */
3718
3740
  function(e) {
3719
3741
  $(t, e);
@@ -3726,17 +3748,17 @@ var Ee = (
3726
3748
  (function(e) {
3727
3749
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3728
3750
  })(A || (A = {}));
3729
- function mi(e) {
3751
+ function bi(e) {
3730
3752
  return e.length < 2 ? e : e.reduce(function(t, r) {
3731
3753
  var n = t[t.length - 1];
3732
3754
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3733
3755
  }, []);
3734
3756
  }
3735
- function di(e) {
3757
+ function gi(e) {
3736
3758
  return typeof e == "function";
3737
3759
  }
3738
3760
  function pe(e, t, r, n, i, o, s) {
3739
- if (e.length === 1 && pt(e[0]))
3761
+ if (e.length === 1 && vt(e[0]))
3740
3762
  return [
3741
3763
  {
3742
3764
  type: A.literal,
@@ -3745,14 +3767,14 @@ function pe(e, t, r, n, i, o, s) {
3745
3767
  ];
3746
3768
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3747
3769
  var h = u[l];
3748
- if (pt(h)) {
3770
+ if (vt(h)) {
3749
3771
  a.push({
3750
3772
  type: A.literal,
3751
3773
  value: h.value
3752
3774
  });
3753
3775
  continue;
3754
3776
  }
3755
- if (Rn(h)) {
3777
+ if (Un(h)) {
3756
3778
  typeof o == "number" && a.push({
3757
3779
  type: A.literal,
3758
3780
  value: r.getNumberFormat(t).format(o)
@@ -3761,43 +3783,43 @@ function pe(e, t, r, n, i, o, s) {
3761
3783
  }
3762
3784
  var c = h.value;
3763
3785
  if (!(i && c in i))
3764
- throw new fi(c, s);
3786
+ throw new pi(c, s);
3765
3787
  var f = i[c];
3766
- if (Ln(h)) {
3788
+ if (Gn(h)) {
3767
3789
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3768
3790
  type: typeof f == "string" ? A.literal : A.object,
3769
3791
  value: f
3770
3792
  });
3771
3793
  continue;
3772
3794
  }
3773
- if (Zt(h)) {
3774
- var m = typeof h.style == "string" ? n.date[h.style] : je(h.style) ? h.style.parsedOptions : void 0;
3795
+ if (Yt(h)) {
3796
+ var m = typeof h.style == "string" ? n.date[h.style] : ke(h.style) ? h.style.parsedOptions : void 0;
3775
3797
  a.push({
3776
3798
  type: A.literal,
3777
3799
  value: r.getDateTimeFormat(t, m).format(f)
3778
3800
  });
3779
3801
  continue;
3780
3802
  }
3781
- if (Qt(h)) {
3782
- var m = typeof h.style == "string" ? n.time[h.style] : je(h.style) ? h.style.parsedOptions : n.time.medium;
3803
+ if (Kt(h)) {
3804
+ var m = typeof h.style == "string" ? n.time[h.style] : ke(h.style) ? h.style.parsedOptions : n.time.medium;
3783
3805
  a.push({
3784
3806
  type: A.literal,
3785
3807
  value: r.getDateTimeFormat(t, m).format(f)
3786
3808
  });
3787
3809
  continue;
3788
3810
  }
3789
- if (Wt(h)) {
3790
- var m = typeof h.style == "string" ? n.number[h.style] : Kt(h.style) ? h.style.parsedOptions : void 0;
3811
+ if (qt(h)) {
3812
+ var m = typeof h.style == "string" ? n.number[h.style] : nr(h.style) ? h.style.parsedOptions : void 0;
3791
3813
  m && m.scale && (f = f * (m.scale || 1)), a.push({
3792
3814
  type: A.literal,
3793
3815
  value: r.getNumberFormat(t, m).format(f)
3794
3816
  });
3795
3817
  continue;
3796
3818
  }
3797
- if (Yt(h)) {
3819
+ if (rr(h)) {
3798
3820
  var d = h.children, p = h.value, w = i[p];
3799
- if (!di(w))
3800
- throw new ci(p, "function", s);
3821
+ if (!gi(w))
3822
+ throw new di(p, "function", s);
3801
3823
  var M = pe(d, t, r, n, i, o), C = w(M.map(function(E) {
3802
3824
  return E.value;
3803
3825
  }));
@@ -3808,14 +3830,14 @@ function pe(e, t, r, n, i, o, s) {
3808
3830
  };
3809
3831
  }));
3810
3832
  }
3811
- if (Jt(h)) {
3833
+ if (er(h)) {
3812
3834
  var T = h.options[f] || h.options.other;
3813
3835
  if (!T)
3814
- throw new Et(h.value, f, Object.keys(h.options), s);
3836
+ throw new Tt(h.value, f, Object.keys(h.options), s);
3815
3837
  a.push.apply(a, pe(T.value, t, r, n, i));
3816
3838
  continue;
3817
3839
  }
3818
- if (qt(h)) {
3840
+ if (tr(h)) {
3819
3841
  var T = h.options["=".concat(f)];
3820
3842
  if (!T) {
3821
3843
  if (!Intl.PluralRules)
@@ -3826,24 +3848,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3826
3848
  T = h.options[_] || h.options.other;
3827
3849
  }
3828
3850
  if (!T)
3829
- throw new Et(h.value, f, Object.keys(h.options), s);
3851
+ throw new Tt(h.value, f, Object.keys(h.options), s);
3830
3852
  a.push.apply(a, pe(T.value, t, r, n, i, f - (h.offset || 0)));
3831
3853
  continue;
3832
3854
  }
3833
3855
  }
3834
- return mi(a);
3856
+ return bi(a);
3835
3857
  }
3836
- function pi(e, t) {
3858
+ function vi(e, t) {
3837
3859
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3838
3860
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3839
3861
  }, {})) : e;
3840
3862
  }
3841
- function bi(e, t) {
3863
+ function yi(e, t) {
3842
3864
  return t ? Object.keys(e).reduce(function(r, n) {
3843
- return r[n] = pi(e[n], t[n]), r;
3865
+ return r[n] = vi(e[n], t[n]), r;
3844
3866
  }, y({}, e)) : e;
3845
3867
  }
3846
- function Oe(e) {
3868
+ function Ie(e) {
3847
3869
  return {
3848
3870
  create: function() {
3849
3871
  return {
@@ -3857,39 +3879,39 @@ function Oe(e) {
3857
3879
  }
3858
3880
  };
3859
3881
  }
3860
- function gi(e) {
3882
+ function xi(e) {
3861
3883
  return e === void 0 && (e = {
3862
3884
  number: {},
3863
3885
  dateTime: {},
3864
3886
  pluralRules: {}
3865
3887
  }), {
3866
- getNumberFormat: Ae(function() {
3888
+ getNumberFormat: Ce(function() {
3867
3889
  for (var t, r = [], n = 0; n < arguments.length; n++)
3868
3890
  r[n] = arguments[n];
3869
3891
  return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
3870
3892
  }, {
3871
- cache: Oe(e.number),
3872
- strategy: Ce.variadic
3893
+ cache: Ie(e.number),
3894
+ strategy: Pe.variadic
3873
3895
  }),
3874
- getDateTimeFormat: Ae(function() {
3896
+ getDateTimeFormat: Ce(function() {
3875
3897
  for (var t, r = [], n = 0; n < arguments.length; n++)
3876
3898
  r[n] = arguments[n];
3877
3899
  return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
3878
3900
  }, {
3879
- cache: Oe(e.dateTime),
3880
- strategy: Ce.variadic
3901
+ cache: Ie(e.dateTime),
3902
+ strategy: Pe.variadic
3881
3903
  }),
3882
- getPluralRules: Ae(function() {
3904
+ getPluralRules: Ce(function() {
3883
3905
  for (var t, r = [], n = 0; n < arguments.length; n++)
3884
3906
  r[n] = arguments[n];
3885
3907
  return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
3886
3908
  }, {
3887
- cache: Oe(e.pluralRules),
3888
- strategy: Ce.variadic
3909
+ cache: Ie(e.pluralRules),
3910
+ strategy: Pe.variadic
3889
3911
  })
3890
3912
  };
3891
3913
  }
3892
- var vi = (
3914
+ var _i = (
3893
3915
  /** @class */
3894
3916
  function() {
3895
3917
  function e(t, r, n, i) {
@@ -3921,13 +3943,13 @@ var vi = (
3921
3943
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3922
3944
  var s = i || {};
3923
3945
  s.formatters;
3924
- var a = Jr(s, ["formatters"]);
3946
+ var a = en(s, ["formatters"]);
3925
3947
  this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3926
3948
  } else
3927
3949
  this.ast = t;
3928
3950
  if (!Array.isArray(this.ast))
3929
3951
  throw new TypeError("A message must be provided as a String or AST.");
3930
- this.formats = bi(e.formats, n), this.formatters = i && i.formatters || gi(this.formatterCache);
3952
+ this.formats = yi(e.formats, n), this.formatters = i && i.formatters || xi(this.formatterCache);
3931
3953
  }
3932
3954
  return Object.defineProperty(e, "defaultLocale", {
3933
3955
  get: function() {
@@ -3940,7 +3962,7 @@ var vi = (
3940
3962
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3941
3963
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3942
3964
  }
3943
- }, e.__parse = hi, e.formats = {
3965
+ }, e.__parse = mi, e.formats = {
3944
3966
  number: {
3945
3967
  integer: {
3946
3968
  maximumFractionDigits: 0
@@ -4001,7 +4023,7 @@ var vi = (
4001
4023
  }, e;
4002
4024
  }()
4003
4025
  );
4004
- function yi(e, t) {
4026
+ function Ei(e, t) {
4005
4027
  if (t == null)
4006
4028
  return;
4007
4029
  if (t in e)
@@ -4022,92 +4044,92 @@ function yi(e, t) {
4022
4044
  n = void 0;
4023
4045
  return n;
4024
4046
  }
4025
- const G = {}, xi = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), ar = (e, t) => {
4047
+ const G = {}, Si = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), cr = (e, t) => {
4026
4048
  if (t == null)
4027
4049
  return;
4028
4050
  if (t in G && e in G[t])
4029
4051
  return G[t][e];
4030
4052
  const r = Se(t);
4031
4053
  for (let n = 0; n < r.length; n++) {
4032
- const i = r[n], o = Ei(i, e);
4054
+ const i = r[n], o = Ti(i, e);
4033
4055
  if (o)
4034
- return xi(e, t, o);
4056
+ return Si(e, t, o);
4035
4057
  }
4036
4058
  };
4037
- let qe;
4059
+ let et;
4038
4060
  const ue = _e({});
4039
- function _i(e) {
4040
- return qe[e] || null;
4061
+ function wi(e) {
4062
+ return et[e] || null;
4041
4063
  }
4042
- function ur(e) {
4043
- return e in qe;
4064
+ function fr(e) {
4065
+ return e in et;
4044
4066
  }
4045
- function Ei(e, t) {
4046
- if (!ur(e))
4067
+ function Ti(e, t) {
4068
+ if (!fr(e))
4047
4069
  return null;
4048
- const r = _i(e);
4049
- return yi(r, t);
4070
+ const r = wi(e);
4071
+ return Ei(r, t);
4050
4072
  }
4051
- function Si(e) {
4073
+ function Hi(e) {
4052
4074
  if (e == null)
4053
4075
  return;
4054
4076
  const t = Se(e);
4055
4077
  for (let r = 0; r < t.length; r++) {
4056
4078
  const n = t[r];
4057
- if (ur(n))
4079
+ if (fr(n))
4058
4080
  return n;
4059
4081
  }
4060
4082
  }
4061
- function lr(e, ...t) {
4062
- delete G[e], ue.update((r) => (r[e] = Bn.all([r[e] || {}, ...t]), r));
4083
+ function mr(e, ...t) {
4084
+ delete G[e], ue.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
4063
4085
  }
4064
4086
  K(
4065
4087
  [ue],
4066
4088
  ([e]) => Object.keys(e)
4067
4089
  );
4068
- ue.subscribe((e) => qe = e);
4090
+ ue.subscribe((e) => et = e);
4069
4091
  const be = {};
4070
- function wi(e, t) {
4092
+ function Bi(e, t) {
4071
4093
  be[e].delete(t), be[e].size === 0 && delete be[e];
4072
4094
  }
4073
- function hr(e) {
4095
+ function dr(e) {
4074
4096
  return be[e];
4075
4097
  }
4076
- function Ti(e) {
4098
+ function Ai(e) {
4077
4099
  return Se(e).map((t) => {
4078
- const r = hr(t);
4100
+ const r = dr(t);
4079
4101
  return [t, r ? [...r] : []];
4080
4102
  }).filter(([, t]) => t.length > 0);
4081
4103
  }
4082
- function Ze(e) {
4104
+ function Qe(e) {
4083
4105
  return e == null ? !1 : Se(e).some(
4084
4106
  (t) => {
4085
4107
  var r;
4086
- return (r = hr(t)) == null ? void 0 : r.size;
4108
+ return (r = dr(t)) == null ? void 0 : r.size;
4087
4109
  }
4088
4110
  );
4089
4111
  }
4090
- function Hi(e, t) {
4112
+ function Ci(e, t) {
4091
4113
  return Promise.all(
4092
- t.map((n) => (wi(e, n), n().then((i) => i.default || i)))
4093
- ).then((n) => lr(e, ...n));
4114
+ t.map((n) => (Bi(e, n), n().then((i) => i.default || i)))
4115
+ ).then((n) => mr(e, ...n));
4094
4116
  }
4095
4117
  const re = {};
4096
- function cr(e) {
4097
- if (!Ze(e))
4118
+ function pr(e) {
4119
+ if (!Qe(e))
4098
4120
  return e in re ? re[e] : Promise.resolve();
4099
- const t = Ti(e);
4121
+ const t = Ai(e);
4100
4122
  return re[e] = Promise.all(
4101
4123
  t.map(
4102
- ([r, n]) => Hi(r, n)
4124
+ ([r, n]) => Ci(r, n)
4103
4125
  )
4104
4126
  ).then(() => {
4105
- if (Ze(e))
4106
- return cr(e);
4127
+ if (Qe(e))
4128
+ return pr(e);
4107
4129
  delete re[e];
4108
4130
  }), re[e];
4109
4131
  }
4110
- const Bi = {
4132
+ const Pi = {
4111
4133
  number: {
4112
4134
  scientific: { notation: "scientific" },
4113
4135
  engineering: { notation: "engineering" },
@@ -4136,57 +4158,57 @@ const Bi = {
4136
4158
  timeZoneName: "short"
4137
4159
  }
4138
4160
  }
4139
- }, Ai = {
4161
+ }, Oi = {
4140
4162
  fallbackLocale: null,
4141
4163
  loadingDelay: 200,
4142
- formats: Bi,
4164
+ formats: Pi,
4143
4165
  warnOnMissingMessages: !0,
4144
4166
  handleMissingMessage: void 0,
4145
4167
  ignoreTag: !0
4146
- }, Ci = Ai;
4168
+ }, Ii = Oi;
4147
4169
  function J() {
4148
- return Ci;
4170
+ return Ii;
4149
4171
  }
4150
- const Ie = _e(!1);
4151
- var Pi = Object.defineProperty, Oi = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, Mi = Object.prototype.hasOwnProperty, Ni = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Li = (e, t) => {
4172
+ const Me = _e(!1);
4173
+ var Mi = Object.defineProperty, Ni = Object.defineProperties, Li = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gi = (e, t) => {
4152
4174
  for (var r in t || (t = {}))
4153
- Mi.call(t, r) && wt(e, r, t[r]);
4154
- if (St)
4155
- for (var r of St(t))
4156
- Ni.call(t, r) && wt(e, r, t[r]);
4175
+ Ri.call(t, r) && Bt(e, r, t[r]);
4176
+ if (Ht)
4177
+ for (var r of Ht(t))
4178
+ $i.call(t, r) && Bt(e, r, t[r]);
4157
4179
  return e;
4158
- }, Ri = (e, t) => Oi(e, Ii(t));
4159
- let Qe;
4180
+ }, Ui = (e, t) => Ni(e, Li(t));
4181
+ let Je;
4160
4182
  const ve = _e(null);
4161
- function Tt(e) {
4183
+ function At(e) {
4162
4184
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4163
4185
  }
4164
4186
  function Se(e, t = J().fallbackLocale) {
4165
- const r = Tt(e);
4166
- return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
4187
+ const r = At(e);
4188
+ return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
4167
4189
  }
4168
4190
  function U() {
4169
- return Qe != null ? Qe : void 0;
4191
+ return Je != null ? Je : void 0;
4170
4192
  }
4171
4193
  ve.subscribe((e) => {
4172
- Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4194
+ Je = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4173
4195
  });
4174
- const $i = (e) => {
4175
- if (e && Si(e) && Ze(e)) {
4196
+ const Di = (e) => {
4197
+ if (e && Hi(e) && Qe(e)) {
4176
4198
  const { loadingDelay: t } = J();
4177
4199
  let r;
4178
4200
  return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
4179
- () => Ie.set(!0),
4201
+ () => Me.set(!0),
4180
4202
  t
4181
- ) : Ie.set(!0), cr(e).then(() => {
4203
+ ) : Me.set(!0), pr(e).then(() => {
4182
4204
  ve.set(e);
4183
4205
  }).finally(() => {
4184
- clearTimeout(r), Ie.set(!1);
4206
+ clearTimeout(r), Me.set(!1);
4185
4207
  });
4186
4208
  }
4187
4209
  return ve.set(e);
4188
- }, ee = Ri(Li({}, ve), {
4189
- set: $i
4210
+ }, ee = Ui(Gi({}, ve), {
4211
+ set: Di
4190
4212
  }), we = (e) => {
4191
4213
  const t = /* @__PURE__ */ Object.create(null);
4192
4214
  return (n) => {
@@ -4194,20 +4216,20 @@ const $i = (e) => {
4194
4216
  return i in t ? t[i] : t[i] = e(n);
4195
4217
  };
4196
4218
  };
4197
- var Gi = Object.defineProperty, ye = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
4219
+ var Fi = Object.defineProperty, ye = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4198
4220
  for (var r in t || (t = {}))
4199
- fr.call(t, r) && Ht(e, r, t[r]);
4221
+ br.call(t, r) && Ct(e, r, t[r]);
4200
4222
  if (ye)
4201
4223
  for (var r of ye(t))
4202
- mr.call(t, r) && Ht(e, r, t[r]);
4224
+ gr.call(t, r) && Ct(e, r, t[r]);
4203
4225
  return e;
4204
4226
  }, te = (e, t) => {
4205
4227
  var r = {};
4206
4228
  for (var n in e)
4207
- fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4229
+ br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4208
4230
  if (e != null && ye)
4209
4231
  for (var n of ye(e))
4210
- t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
4232
+ t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
4211
4233
  return r;
4212
4234
  };
4213
4235
  const se = (e, t) => {
@@ -4215,21 +4237,21 @@ const se = (e, t) => {
4215
4237
  if (e in r && t in r[e])
4216
4238
  return r[e][t];
4217
4239
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4218
- }, Ui = we(
4240
+ }, ji = we(
4219
4241
  (e) => {
4220
4242
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4221
4243
  if (r == null)
4222
4244
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4223
4245
  return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4224
4246
  }
4225
- ), Di = we(
4247
+ ), ki = we(
4226
4248
  (e) => {
4227
4249
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4228
4250
  if (r == null)
4229
4251
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4230
4252
  return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4231
4253
  }
4232
- ), Fi = we(
4254
+ ), Vi = we(
4233
4255
  (e) => {
4234
4256
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4235
4257
  if (r == null)
@@ -4238,33 +4260,33 @@ const se = (e, t) => {
4238
4260
  );
4239
4261
  return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4240
4262
  }
4241
- ), ji = (e = {}) => {
4263
+ ), Xi = (e = {}) => {
4242
4264
  var t = e, {
4243
4265
  locale: r = U()
4244
4266
  } = t, n = te(t, [
4245
4267
  "locale"
4246
4268
  ]);
4247
- return Ui(Ye({ locale: r }, n));
4248
- }, ki = (e = {}) => {
4269
+ return ji(tt({ locale: r }, n));
4270
+ }, zi = (e = {}) => {
4249
4271
  var t = e, {
4250
4272
  locale: r = U()
4251
4273
  } = t, n = te(t, [
4252
4274
  "locale"
4253
4275
  ]);
4254
- return Di(Ye({ locale: r }, n));
4255
- }, Vi = (e = {}) => {
4276
+ return ki(tt({ locale: r }, n));
4277
+ }, Wi = (e = {}) => {
4256
4278
  var t = e, {
4257
4279
  locale: r = U()
4258
4280
  } = t, n = te(t, [
4259
4281
  "locale"
4260
4282
  ]);
4261
- return Fi(Ye({ locale: r }, n));
4262
- }, Xi = we(
4283
+ return Vi(tt({ locale: r }, n));
4284
+ }, Zi = we(
4263
4285
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4264
- (e, t = U()) => new vi(e, t, J().formats, {
4286
+ (e, t = U()) => new _i(e, t, J().formats, {
4265
4287
  ignoreTag: J().ignoreTag
4266
4288
  })
4267
- ), zi = (e, t = {}) => {
4289
+ ), Qi = (e, t = {}) => {
4268
4290
  var r, n, i, o;
4269
4291
  let s = t;
4270
4292
  typeof e == "object" && (s = e, e = s.id);
@@ -4277,7 +4299,7 @@ const se = (e, t) => {
4277
4299
  throw new Error(
4278
4300
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4279
4301
  );
4280
- let h = ar(e, l);
4302
+ let h = cr(e, l);
4281
4303
  if (!h)
4282
4304
  h = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4283
4305
  else if (typeof h != "string")
@@ -4288,7 +4310,7 @@ const se = (e, t) => {
4288
4310
  return h;
4289
4311
  let c = h;
4290
4312
  try {
4291
- c = Xi(h, l).format(a);
4313
+ c = Zi(h, l).format(a);
4292
4314
  } catch (f) {
4293
4315
  f instanceof Error && console.warn(
4294
4316
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4296,20 +4318,20 @@ const se = (e, t) => {
4296
4318
  );
4297
4319
  }
4298
4320
  return c;
4299
- }, Wi = (e, t) => Vi(t).format(e), Zi = (e, t) => ki(t).format(e), Qi = (e, t) => ji(t).format(e), Ji = (e, t = U()) => ar(e, t), qi = K([ee, ue], () => zi);
4300
- K([ee], () => Wi);
4301
- K([ee], () => Zi);
4302
- K([ee], () => Qi);
4303
- K([ee, ue], () => Ji);
4304
- window.emWidgets = { topic: cn };
4305
- const Yi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4306
- function Ki(e, t) {
4321
+ }, Ji = (e, t) => Wi(t).format(e), qi = (e, t) => zi(t).format(e), Yi = (e, t) => Xi(t).format(e), Ki = (e, t = U()) => cr(e, t), eo = K([ee, ue], () => Qi);
4322
+ K([ee], () => Ji);
4323
+ K([ee], () => qi);
4324
+ K([ee], () => Yi);
4325
+ K([ee, ue], () => Ki);
4326
+ window.emWidgets = { topic: pn };
4327
+ const to = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4328
+ function ro(e, t) {
4307
4329
  if (e) {
4308
4330
  const r = document.createElement("style");
4309
4331
  r.innerHTML = t, e.appendChild(r);
4310
4332
  }
4311
4333
  }
4312
- function eo(e, t) {
4334
+ function no(e, t) {
4313
4335
  const r = new URL(t);
4314
4336
  fetch(r.href).then((n) => n.text()).then((n) => {
4315
4337
  const i = document.createElement("style");
@@ -4318,7 +4340,7 @@ function eo(e, t) {
4318
4340
  console.error("There was an error while trying to load client styling from URL", n);
4319
4341
  });
4320
4342
  }
4321
- function to(e, t, r) {
4343
+ function io(e, t, r) {
4322
4344
  if (window.emMessageBus) {
4323
4345
  const n = document.createElement("style");
4324
4346
  window.emMessageBus.subscribe(t, (i) => {
@@ -4326,13 +4348,13 @@ function to(e, t, r) {
4326
4348
  });
4327
4349
  }
4328
4350
  }
4329
- function Bt(e, t) {
4330
- lr(e, t);
4351
+ function Pt(e, t) {
4352
+ mr(e, t);
4331
4353
  }
4332
- function ro(e) {
4354
+ function oo(e) {
4333
4355
  ee.set(e);
4334
4356
  }
4335
- const At = {
4357
+ const Ot = {
4336
4358
  en: {
4337
4359
  cancel: "Cancel",
4338
4360
  confirm: "Confirm"
@@ -4378,15 +4400,15 @@ const At = {
4378
4400
  confirm: "Confirm"
4379
4401
  }
4380
4402
  };
4381
- function no(e) {
4382
- Cr(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}');
4403
+ function so(e) {
4404
+ Mr(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}');
4383
4405
  }
4384
- const io = (e) => ({}), Ct = (e) => ({});
4385
- function oo(e) {
4406
+ const ao = (e) => ({}), It = (e) => ({});
4407
+ function uo(e) {
4386
4408
  let t, r;
4387
4409
  return {
4388
4410
  c() {
4389
- t = ot("svg"), r = ot("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");
4411
+ t = ut("svg"), r = ut("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");
4390
4412
  },
4391
4413
  m(n, i) {
4392
4414
  ae(n, t, i), B(t, r);
@@ -4397,7 +4419,7 @@ function oo(e) {
4397
4419
  }
4398
4420
  };
4399
4421
  }
4400
- function Pt(e) {
4422
+ function Mt(e) {
4401
4423
  let t, r, n;
4402
4424
  return {
4403
4425
  c() {
@@ -4422,7 +4444,7 @@ function Pt(e) {
4422
4444
  }
4423
4445
  };
4424
4446
  }
4425
- function Ot(e) {
4447
+ function Nt(e) {
4426
4448
  let t, r = (
4427
4449
  /*$_*/
4428
4450
  e[4]("cancel") + ""
@@ -4432,7 +4454,7 @@ function Ot(e) {
4432
4454
  t = N("button"), n = z(r), H(t, "class", "GeneralCancelButton");
4433
4455
  },
4434
4456
  m(s, a) {
4435
- ae(s, t, a), B(t, n), i || (o = Me(
4457
+ ae(s, t, a), B(t, n), i || (o = Ne(
4436
4458
  t,
4437
4459
  "click",
4438
4460
  /*click_handler*/
@@ -4449,7 +4471,7 @@ function Ot(e) {
4449
4471
  }
4450
4472
  };
4451
4473
  }
4452
- function so(e) {
4474
+ function lo(e) {
4453
4475
  let t, r, n, i, o, s, a, l, u, h, c, f = (
4454
4476
  /*$_*/
4455
4477
  e[4]("confirm") + ""
@@ -4457,19 +4479,19 @@ function so(e) {
4457
4479
  const M = (
4458
4480
  /*#slots*/
4459
4481
  e[16].close
4460
- ), C = Tr(
4482
+ ), C = Cr(
4461
4483
  M,
4462
4484
  e,
4463
4485
  /*$$scope*/
4464
4486
  e[15],
4465
- Ct
4466
- ), T = C || oo();
4487
+ It
4488
+ ), T = C || uo();
4467
4489
  let _ = (
4468
4490
  /*modaltitle*/
4469
- e[1] && Pt(e)
4491
+ e[1] && Mt(e)
4470
4492
  ), E = (
4471
4493
  /*hascancelbutton*/
4472
- e[2] && Ot(e)
4494
+ e[2] && Nt(e)
4473
4495
  );
4474
4496
  return {
4475
4497
  c() {
@@ -4483,13 +4505,13 @@ function so(e) {
4483
4505
  },
4484
4506
  m(x, P) {
4485
4507
  ae(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 = [
4486
- Me(
4508
+ Ne(
4487
4509
  n,
4488
4510
  "click",
4489
4511
  /*close*/
4490
4512
  e[6]
4491
4513
  ),
4492
- Me(
4514
+ Ne(
4493
4515
  c,
4494
4516
  "click",
4495
4517
  /*click_handler_1*/
@@ -4499,73 +4521,73 @@ function so(e) {
4499
4521
  },
4500
4522
  p(x, [P]) {
4501
4523
  C && C.p && (!d || P & /*$$scope*/
4502
- 32768) && Br(
4524
+ 32768) && Or(
4503
4525
  C,
4504
4526
  M,
4505
4527
  x,
4506
4528
  /*$$scope*/
4507
4529
  x[15],
4508
- d ? Hr(
4530
+ d ? Pr(
4509
4531
  M,
4510
4532
  /*$$scope*/
4511
4533
  x[15],
4512
4534
  P,
4513
- io
4514
- ) : Ar(
4535
+ ao
4536
+ ) : Ir(
4515
4537
  /*$$scope*/
4516
4538
  x[15]
4517
4539
  ),
4518
- Ct
4540
+ It
4519
4541
  ), /*modaltitle*/
4520
- x[1] ? _ ? _.p(x, P) : (_ = Pt(x), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!d || P & /*modaltext*/
4542
+ x[1] ? _ ? _.p(x, P) : (_ = Mt(x), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!d || P & /*modaltext*/
4521
4543
  1) && ge(
4522
4544
  a,
4523
4545
  /*modaltext*/
4524
4546
  x[0]
4525
4547
  ), /*hascancelbutton*/
4526
- x[2] ? E ? E.p(x, P) : (E = Ot(x), E.c(), E.m(u, h)) : E && (E.d(1), E = null), (!d || P & /*$_*/
4548
+ x[2] ? E ? E.p(x, P) : (E = Nt(x), E.c(), E.m(u, h)) : E && (E.d(1), E = null), (!d || P & /*$_*/
4527
4549
  16) && f !== (f = /*$_*/
4528
4550
  x[4]("confirm") + "") && ge(m, f);
4529
4551
  },
4530
4552
  i(x) {
4531
- d || (Rt(T, x), d = !0);
4553
+ d || (Ut(T, x), d = !0);
4532
4554
  },
4533
4555
  o(x) {
4534
- Fr(T, x), d = !1;
4556
+ Xr(T, x), d = !1;
4535
4557
  },
4536
4558
  d(x) {
4537
4559
  x && Y(t), T && T.d(x), _ && _.d(), E && E.d(), e[19](null), p = !1, q(w);
4538
4560
  }
4539
4561
  };
4540
4562
  }
4541
- function ao(e, t, r) {
4563
+ function ho(e, t, r) {
4542
4564
  let n;
4543
- wr(e, qi, (g) => r(4, n = g));
4544
- 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, M = window.navigator.userAgent, C = Yi(M) !== "PC";
4565
+ Ar(e, eo, (g) => r(4, n = g));
4566
+ 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, M = window.navigator.userAgent, C = to(M) !== "PC";
4545
4567
  const T = () => {
4546
4568
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4547
4569
  }, _ = (g) => {
4548
4570
  g === "confirm" && u && window.postMessage(u, window.location.href), g === "cancel" && h && window.postMessage(h, window.location.href), T();
4549
4571
  }, E = () => {
4550
4572
  fetch(d).then((D) => D.json()).then((D) => {
4551
- Object.keys(D).forEach((Ke) => {
4552
- Bt(Ke, D[Ke]);
4573
+ Object.keys(D).forEach((rt) => {
4574
+ Pt(rt, D[rt]);
4553
4575
  });
4554
4576
  }).catch((D) => {
4555
4577
  console.log(D);
4556
4578
  });
4557
4579
  };
4558
- Object.keys(At).forEach((g) => {
4559
- Bt(g, At[g]);
4580
+ Object.keys(Ot).forEach((g) => {
4581
+ Pt(g, Ot[g]);
4560
4582
  });
4561
4583
  const x = () => {
4562
- ro(c);
4584
+ oo(c);
4563
4585
  };
4564
- Lr(() => () => {
4586
+ Ur(() => () => {
4565
4587
  });
4566
- const P = () => _("cancel"), pr = () => _("confirm");
4567
- function br(g) {
4568
- Ne[g ? "unshift" : "push"](() => {
4588
+ const P = () => _("cancel"), yr = () => _("confirm");
4589
+ function xr(g) {
4590
+ Le[g ? "unshift" : "push"](() => {
4569
4591
  w = g, r(3, w);
4570
4592
  });
4571
4593
  }
@@ -4574,9 +4596,9 @@ function ao(e, t, r) {
4574
4596
  }, e.$$.update = () => {
4575
4597
  e.$$.dirty & /*modaltext, lang*/
4576
4598
  1025 && s && c && x(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4577
- 2056 && f && w && Ki(w, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4578
- 4104 && m && w && eo(w, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4579
- 16392 && p && w && to(w, `${p}.Style`), e.$$.dirty & /*translationurl*/
4599
+ 2056 && f && w && ro(w, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4600
+ 4104 && m && w && no(w, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4601
+ 16392 && p && w && io(w, `${p}.Style`), e.$$.dirty & /*translationurl*/
4580
4602
  8192 && d && E();
4581
4603
  }, [
4582
4604
  s,
@@ -4597,18 +4619,18 @@ function ao(e, t, r) {
4597
4619
  o,
4598
4620
  i,
4599
4621
  P,
4600
- pr,
4601
- br
4622
+ yr,
4623
+ xr
4602
4624
  ];
4603
4625
  }
4604
- class dr extends Wr {
4626
+ class vr extends qr {
4605
4627
  constructor(t) {
4606
- super(), Xr(
4628
+ super(), Qr(
4607
4629
  this,
4608
4630
  t,
4609
- ao,
4610
- so,
4611
- Mt,
4631
+ ho,
4632
+ lo,
4633
+ Rt,
4612
4634
  {
4613
4635
  modaltext: 0,
4614
4636
  modaltitle: 1,
@@ -4621,7 +4643,7 @@ class dr extends Wr {
4621
4643
  translationurl: 13,
4622
4644
  mbsource: 14
4623
4645
  },
4624
- no
4646
+ so
4625
4647
  );
4626
4648
  }
4627
4649
  get modaltext() {
@@ -4685,50 +4707,50 @@ class dr extends Wr {
4685
4707
  this.$$set({ mbsource: t }), I();
4686
4708
  }
4687
4709
  }
4688
- zr(dr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4689
- const yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4710
+ Jr(vr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4711
+ const Eo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4690
4712
  __proto__: null,
4691
- default: dr
4713
+ default: vr
4692
4714
  }, Symbol.toStringTag, { value: "Module" }));
4693
4715
  export {
4694
4716
  ee as $,
4695
- po as A,
4696
- Me as B,
4697
- z as C,
4698
- ho as D,
4699
- Re as E,
4700
- ot as F,
4701
- fo as G,
4702
- qi as H,
4703
- Ki as I,
4704
- eo as J,
4705
- to as K,
4706
- yo as P,
4707
- Wr as S,
4708
- lr as a,
4709
- zr as b,
4710
- vo as c,
4711
- Cr as d,
4712
- Y as e,
4717
+ B as A,
4718
+ vo as B,
4719
+ Ne as C,
4720
+ ge as D,
4721
+ fo as E,
4722
+ q as F,
4723
+ po as G,
4724
+ go as H,
4725
+ ut as I,
4726
+ bo as J,
4727
+ eo as K,
4728
+ Eo as P,
4729
+ qr as S,
4730
+ mr as a,
4731
+ Jr as b,
4732
+ _o as c,
4733
+ Mr as d,
4734
+ N as e,
4713
4735
  I as f,
4714
- Qr as g,
4736
+ Kr as g,
4715
4737
  ae as h,
4716
- Xr as i,
4717
- N as j,
4718
- wr as k,
4719
- Yi as l,
4720
- bo as m,
4738
+ Qr as i,
4739
+ Y as j,
4740
+ Ar as k,
4741
+ to as l,
4742
+ no as m,
4721
4743
  L as n,
4722
- Lr as o,
4723
- Ne as p,
4724
- B as q,
4725
- le as r,
4726
- Mt as s,
4727
- co as t,
4728
- mo as u,
4729
- H as v,
4730
- go as w,
4731
- lo as x,
4732
- q as y,
4733
- ge as z
4744
+ Ur as o,
4745
+ io as p,
4746
+ yo as q,
4747
+ Le as r,
4748
+ Rt as s,
4749
+ ro as t,
4750
+ xo as u,
4751
+ le as v,
4752
+ z as w,
4753
+ mo as x,
4754
+ H as y,
4755
+ $e as z
4734
4756
  };