@everymatrix/player-account-timeout 1.65.2 → 1.65.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/components/{PlayerAccountGeneralConfirmationModal-Zyz_OEuJ.js → PlayerAccountGeneralConfirmationModal-6i8q0VzZ.js} +934 -969
  2. package/components/PlayerAccountGeneralConfirmationModal-B-KQoOY-.cjs +18 -0
  3. package/components/{PlayerAccountGeneralConfirmationModal-uYwTgnnB.js → PlayerAccountGeneralConfirmationModal-dWXVEPZv.js} +890 -925
  4. package/components/{PlayerAccountTimeout-Cp5KUUpP.js → PlayerAccountTimeout-BJcFKc4I.js} +1068 -1066
  5. package/components/{PlayerAccountTimeout-D7bfp5da.js → PlayerAccountTimeout-CHwQGRHJ.js} +1338 -1336
  6. package/components/{PlayerAccountTimeout-CiYC4keu.cjs → PlayerAccountTimeout-DChmbL7A.cjs} +156 -156
  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-b2193545-CayB6jRX.js +519 -0
  12. package/stencil/index-b2193545-DrvOqGyq.js +503 -0
  13. package/stencil/index-b2193545-lC_KoC4p.cjs +1 -0
  14. package/stencil/{ui-skeleton-1cb75d00-CUSs6C3A.cjs → ui-skeleton-1cb75d00-6KKxtHwu.cjs} +1 -1
  15. package/stencil/{ui-skeleton-1cb75d00-CXHx_pAM.js → ui-skeleton-1cb75d00-BAHBT-wb.js} +1 -1
  16. package/stencil/{ui-skeleton-1cb75d00-z2mX3TRi.js → ui-skeleton-1cb75d00-BPfsKHrC.js} +1 -1
  17. package/stencil/{ui-skeleton-CCXvjIzA.cjs → ui-skeleton-CaX4F6ue.cjs} +1 -1
  18. package/stencil/{ui-skeleton-4ifa-7wH.js → ui-skeleton-QVfoKja7.js} +2 -2
  19. package/stencil/{ui-skeleton-Bk5dn5mu.js → ui-skeleton-b2oavT4f.js} +2 -2
  20. package/components/PlayerAccountGeneralConfirmationModal-FkuCh0hP.cjs +0 -18
  21. package/stencil/index-b2193545-BcYyCldH.js +0 -519
  22. package/stencil/index-b2193545-CPztmidm.js +0 -503
  23. package/stencil/index-b2193545-D1Z0k4-D.cjs +0 -1
@@ -1,17 +1,17 @@
1
- var Er = Object.defineProperty, Sr = Object.defineProperties;
2
- var wr = Object.getOwnPropertyDescriptors;
3
- var ot = Object.getOwnPropertySymbols;
4
- var Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable;
5
- var Be = (e, t, r) => t in e ? Er(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
1
+ var yr = Object.defineProperty, vr = Object.defineProperties;
2
+ var xr = Object.getOwnPropertyDescriptors;
3
+ var tt = Object.getOwnPropertySymbols;
4
+ var _r = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable;
5
+ var Te = (e, t, r) => t in e ? yr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Tr.call(t, r) && Be(e, r, t[r]);
8
- if (ot)
9
- for (var r of ot(t))
10
- Hr.call(t, r) && Be(e, r, t[r]);
7
+ _r.call(t, r) && Te(e, r, t[r]);
8
+ if (tt)
9
+ for (var r of tt(t))
10
+ Er.call(t, r) && Te(e, r, t[r]);
11
11
  return e;
12
- }, at = (e, t) => Sr(e, wr(t));
13
- var O = (e, t, r) => (Be(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ut = (e, t, r) => new Promise((n, i) => {
12
+ }, nt = (e, t) => vr(e, xr(t));
13
+ var O = (e, t, r) => (Te(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var it = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -27,9 +27,9 @@ var ut = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function R() {
30
+ function L() {
31
31
  }
32
- function Br(e, t) {
32
+ function Sr(e, t) {
33
33
  for (const r in t)
34
34
  e[r] = t[r];
35
35
  return (
@@ -37,46 +37,46 @@ function Br(e, t) {
37
37
  e
38
38
  );
39
39
  }
40
- function $t(e) {
40
+ function Nt(e) {
41
41
  return e();
42
42
  }
43
- function lt() {
43
+ function ot() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
- function J(e) {
47
- e.forEach($t);
46
+ function q(e) {
47
+ e.forEach(Nt);
48
48
  }
49
- function tt(e) {
49
+ function Je(e) {
50
50
  return typeof e == "function";
51
51
  }
52
- function Gt(e, t) {
52
+ function Mt(e, t) {
53
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
54
  }
55
- function Ar(e) {
55
+ function wr(e) {
56
56
  return Object.keys(e).length === 0;
57
57
  }
58
- function Ut(e, ...t) {
58
+ function Lt(e, ...t) {
59
59
  if (e == null) {
60
60
  for (const n of t)
61
61
  n(void 0);
62
- return R;
62
+ return L;
63
63
  }
64
64
  const r = e.subscribe(...t);
65
65
  return r.unsubscribe ? () => r.unsubscribe() : r;
66
66
  }
67
- function Cr(e, t, r) {
68
- e.$$.on_destroy.push(Ut(t, r));
67
+ function Tr(e, t, r) {
68
+ e.$$.on_destroy.push(Lt(t, r));
69
69
  }
70
- function Pr(e, t, r, n) {
70
+ function Hr(e, t, r, n) {
71
71
  if (e) {
72
- const i = Dt(e, t, r, n);
72
+ const i = Rt(e, t, r, n);
73
73
  return e[0](i);
74
74
  }
75
75
  }
76
- function Dt(e, t, r, n) {
77
- return e[1] && n ? Br(r.ctx.slice(), e[1](n(t))) : r.ctx;
76
+ function Rt(e, t, r, n) {
77
+ return e[1] && n ? Sr(r.ctx.slice(), e[1](n(t))) : r.ctx;
78
78
  }
79
- function Or(e, t, r, n) {
79
+ function Br(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 Or(e, t, r, n) {
91
91
  }
92
92
  return t.dirty;
93
93
  }
94
- function Ir(e, t, r, n, i, o) {
94
+ function Ar(e, t, r, n, i, o) {
95
95
  if (i) {
96
- const s = Dt(t, r, n, o);
96
+ const s = Rt(t, r, n, o);
97
97
  e.p(s, i);
98
98
  }
99
99
  }
100
- function Mr(e) {
100
+ function Cr(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 Mr(e) {
109
109
  function B(e, t) {
110
110
  e.appendChild(t);
111
111
  }
112
- function Nr(e, t, r) {
113
- const n = Lr(e);
112
+ function Pr(e, t, r) {
113
+ const n = Or(e);
114
114
  if (!n.getElementById(t)) {
115
- const i = N("style");
116
- i.id = t, i.textContent = r, Rr(n, i);
115
+ const i = M("style");
116
+ i.id = t, i.textContent = r, Ir(n, i);
117
117
  }
118
118
  }
119
- function Lr(e) {
119
+ function Or(e) {
120
120
  if (!e)
121
121
  return document;
122
122
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -126,62 +126,62 @@ function Lr(e) {
126
126
  t
127
127
  ) : e.ownerDocument;
128
128
  }
129
- function Rr(e, t) {
129
+ function Ir(e, t) {
130
130
  return B(
131
131
  /** @type {Document} */
132
132
  e.head || e,
133
133
  t
134
134
  ), t.sheet;
135
135
  }
136
- function se(e, t, r) {
136
+ function ae(e, t, r) {
137
137
  e.insertBefore(t, r || null);
138
138
  }
139
- function q(e) {
139
+ function Y(e) {
140
140
  e.parentNode && e.parentNode.removeChild(e);
141
141
  }
142
- function po(e, t) {
142
+ function ho(e, t) {
143
143
  for (let r = 0; r < e.length; r += 1)
144
144
  e[r] && e[r].d(t);
145
145
  }
146
- function N(e) {
146
+ function M(e) {
147
147
  return document.createElement(e);
148
148
  }
149
- function ht(e) {
149
+ function st(e) {
150
150
  return document.createElementNS("http://www.w3.org/2000/svg", e);
151
151
  }
152
- function X(e) {
152
+ function z(e) {
153
153
  return document.createTextNode(e);
154
154
  }
155
155
  function le() {
156
- return X(" ");
156
+ return z(" ");
157
157
  }
158
- function bo() {
159
- return X("");
158
+ function fo() {
159
+ return z("");
160
160
  }
161
- function Re(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
- function H(e, t, r) {
164
+ function T(e, t, r) {
165
165
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
166
166
  }
167
- function go(e, t, r) {
167
+ function co(e, t, r) {
168
168
  const n = t.toLowerCase();
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);
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 : T(e, t, r);
170
170
  }
171
- function $r(e) {
171
+ function Nr(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 vo(e, t) {
178
+ function mo(e, t) {
179
179
  e.value = t == null ? "" : t;
180
180
  }
181
- function yo(e, t, r, n) {
181
+ function po(e, t, r, n) {
182
182
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
183
183
  }
184
- function _o(e, t, r) {
184
+ function bo(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 _o(e, t, r) {
191
191
  }
192
192
  (!r || t !== void 0) && (e.selectedIndex = -1);
193
193
  }
194
- function xo(e) {
194
+ function go(e) {
195
195
  const t = e.querySelector(":checked");
196
196
  return t && t.__value;
197
197
  }
198
- function Gr(e) {
198
+ function Mr(e) {
199
199
  const t = {};
200
200
  return e.childNodes.forEach(
201
201
  /** @param {Element} node */
@@ -204,108 +204,108 @@ function Gr(e) {
204
204
  }
205
205
  ), t;
206
206
  }
207
- let ne;
208
- function re(e) {
209
- ne = e;
207
+ let ie;
208
+ function ne(e) {
209
+ ie = e;
210
210
  }
211
- function Ur() {
212
- if (!ne)
211
+ function Lr() {
212
+ if (!ie)
213
213
  throw new Error("Function called outside component initialization");
214
- return ne;
214
+ return ie;
215
215
  }
216
- function Dr(e) {
217
- Ur().$$.on_mount.push(e);
216
+ function Rr(e) {
217
+ Lr().$$.on_mount.push(e);
218
218
  }
219
- const k = [], $e = [];
219
+ const k = [], Me = [];
220
220
  let V = [];
221
- const ct = [], Fr = /* @__PURE__ */ Promise.resolve();
222
- let Ge = !1;
223
- function jr() {
224
- Ge || (Ge = !0, Fr.then(I));
221
+ const at = [], $r = /* @__PURE__ */ Promise.resolve();
222
+ let Le = !1;
223
+ function Gr() {
224
+ Le || (Le = !0, $r.then(I));
225
225
  }
226
- function Ue(e) {
226
+ function Re(e) {
227
227
  V.push(e);
228
228
  }
229
- const Ae = /* @__PURE__ */ new Set();
229
+ const He = /* @__PURE__ */ new Set();
230
230
  let F = 0;
231
231
  function I() {
232
232
  if (F !== 0)
233
233
  return;
234
- const e = ne;
234
+ const e = ie;
235
235
  do {
236
236
  try {
237
237
  for (; F < k.length; ) {
238
238
  const t = k[F];
239
- F++, re(t), kr(t.$$);
239
+ F++, ne(t), Ur(t.$$);
240
240
  }
241
241
  } catch (t) {
242
242
  throw k.length = 0, F = 0, t;
243
243
  }
244
- for (re(null), k.length = 0, F = 0; $e.length; )
245
- $e.pop()();
244
+ for (ne(null), k.length = 0, F = 0; Me.length; )
245
+ Me.pop()();
246
246
  for (let t = 0; t < V.length; t += 1) {
247
247
  const r = V[t];
248
- Ae.has(r) || (Ae.add(r), r());
248
+ He.has(r) || (He.add(r), r());
249
249
  }
250
250
  V.length = 0;
251
251
  } while (k.length);
252
- for (; ct.length; )
253
- ct.pop()();
254
- Ge = !1, Ae.clear(), re(e);
252
+ for (; at.length; )
253
+ at.pop()();
254
+ Le = !1, He.clear(), ne(e);
255
255
  }
256
- function kr(e) {
256
+ function Ur(e) {
257
257
  if (e.fragment !== null) {
258
- e.update(), J(e.before_update);
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(Ue);
260
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
261
261
  }
262
262
  }
263
- function Vr(e) {
263
+ function Dr(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
- const fe = /* @__PURE__ */ new Set();
268
- let Xr;
269
- function Ft(e, t) {
270
- e && e.i && (fe.delete(e), e.i(t));
267
+ const ce = /* @__PURE__ */ new Set();
268
+ let Fr;
269
+ function $t(e, t) {
270
+ e && e.i && (ce.delete(e), e.i(t));
271
271
  }
272
- function zr(e, t, r, n) {
273
- if (e && e.o) {
274
- if (fe.has(e))
272
+ function jr(e, t, r, n) {
273
+ if (e.o) {
274
+ if (ce.has(e))
275
275
  return;
276
- fe.add(e), Xr.c.push(() => {
277
- fe.delete(e);
276
+ ce.add(e), Fr.c.push(() => {
277
+ ce.delete(e);
278
278
  }), e.o(t);
279
279
  }
280
280
  }
281
- function Eo(e) {
281
+ function yo(e) {
282
282
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
283
283
  }
284
- function Wr(e, t, r) {
284
+ function kr(e, t, r) {
285
285
  const { fragment: n, after_update: i } = e.$$;
286
- n && n.m(t, r), Ue(() => {
287
- const o = e.$$.on_mount.map($t).filter(tt);
288
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
289
- }), i.forEach(Ue);
286
+ n && n.m(t, r), Re(() => {
287
+ const o = e.$$.on_mount.map(Nt).filter(Je);
288
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : q(o), e.$$.on_mount = [];
289
+ }), i.forEach(Re);
290
290
  }
291
- function Zr(e, t) {
291
+ function Vr(e, t) {
292
292
  const r = e.$$;
293
- r.fragment !== null && (Vr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
293
+ r.fragment !== null && (Dr(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 Qr(e, t) {
296
- e.$$.dirty[0] === -1 && (k.push(e), jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
295
+ function Xr(e, t) {
296
+ e.$$.dirty[0] === -1 && (k.push(e), Gr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
297
297
  }
298
- function Jr(e, t, r, n, i, o, s = null, a = [-1]) {
299
- const l = ne;
300
- re(e);
298
+ function zr(e, t, r, n, i, o, s = null, a = [-1]) {
299
+ const l = ie;
300
+ ne(e);
301
301
  const u = e.$$ = {
302
302
  fragment: null,
303
303
  ctx: [],
304
304
  // state
305
305
  props: o,
306
- update: R,
306
+ update: L,
307
307
  not_equal: i,
308
- bound: lt(),
308
+ bound: ot(),
309
309
  // lifecycle
310
310
  on_mount: [],
311
311
  on_destroy: [],
@@ -314,28 +314,28 @@ function Jr(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: lt(),
317
+ callbacks: ot(),
318
318
  dirty: a,
319
319
  skip_bound: !1,
320
320
  root: t.target || l.$$.root
321
321
  };
322
322
  s && s(u.root);
323
323
  let h = !1;
324
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
325
- const p = m.length ? m[0] : f;
326
- return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), h && Qr(e, c)), f;
327
- }) : [], u.update(), h = !0, J(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
324
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
325
+ const m = d.length ? d[0] : c;
326
+ return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && Xr(e, f)), c;
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 = $r(t.target);
330
- u.fragment && u.fragment.l(c), c.forEach(q);
329
+ const f = Nr(t.target);
330
+ u.fragment && u.fragment.l(f), f.forEach(Y);
331
331
  } else
332
332
  u.fragment && u.fragment.c();
333
- t.intro && Ft(e.$$.fragment), Wr(e, t.target, t.anchor), I();
333
+ t.intro && $t(e.$$.fragment), kr(e, t.target, t.anchor), I();
334
334
  }
335
- re(l);
335
+ ne(l);
336
336
  }
337
- let jt;
338
- typeof HTMLElement == "function" && (jt = class extends HTMLElement {
337
+ let Gt;
338
+ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
339
339
  constructor(t, r, n) {
340
340
  super();
341
341
  /** The Svelte component constructor */
@@ -372,42 +372,42 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
372
372
  }
373
373
  }
374
374
  connectedCallback() {
375
- return ut(this, null, function* () {
375
+ return it(this, null, function* () {
376
376
  if (this.$$cn = !0, !this.$$c) {
377
377
  let t = function(o) {
378
378
  return () => {
379
379
  let s;
380
380
  return {
381
381
  c: function() {
382
- s = N("slot"), o !== "default" && H(s, "name", o);
382
+ s = M("slot"), o !== "default" && T(s, "name", o);
383
383
  },
384
384
  /**
385
385
  * @param {HTMLElement} target
386
386
  * @param {HTMLElement} [anchor]
387
387
  */
388
388
  m: function(u, h) {
389
- se(u, s, h);
389
+ ae(u, s, h);
390
390
  },
391
391
  d: function(u) {
392
- u && q(s);
392
+ u && Y(s);
393
393
  }
394
394
  };
395
395
  };
396
396
  };
397
397
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
398
398
  return;
399
- const r = {}, n = Gr(this);
399
+ const r = {}, n = Mr(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) {
403
403
  const s = this.$$g_p(o.name);
404
- s in this.$$d || (this.$$d[s] = me(s, o.value, this.$$p_d, "toProp"));
404
+ s in this.$$d || (this.$$d[s] = de(s, o.value, this.$$p_d, "toProp"));
405
405
  }
406
406
  for (const o in this.$$p_d)
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: at(st({}, this.$$d), {
410
+ props: nt(rt({}, this.$$d), {
411
411
  $$slots: r,
412
412
  $$scope: {
413
413
  ctx: []
@@ -418,7 +418,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
418
418
  this.$$r = !0;
419
419
  for (const o in this.$$p_d)
420
420
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
421
- const s = me(
421
+ const s = de(
422
422
  o,
423
423
  this.$$d[o],
424
424
  this.$$p_d,
@@ -442,7 +442,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
442
442
  // and setting attributes through setAttribute etc, this is helpful
443
443
  attributeChangedCallback(t, r, n) {
444
444
  var i;
445
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = me(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
445
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = de(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
446
446
  }
447
447
  disconnectedCallback() {
448
448
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -455,7 +455,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
455
455
  ) || t;
456
456
  }
457
457
  });
458
- function me(e, t, r, n) {
458
+ function de(e, t, r, n) {
459
459
  var o;
460
460
  const i = (o = r[e]) == null ? void 0 : o.type;
461
461
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -485,8 +485,8 @@ function me(e, t, r, n) {
485
485
  return t;
486
486
  }
487
487
  }
488
- function qr(e, t, r, n, i, o) {
489
- let s = class extends jt {
488
+ function Wr(e, t, r, n, i, o) {
489
+ let s = class extends Gt {
490
490
  constructor() {
491
491
  super(e, r, i), this.$$p_d = t;
492
492
  }
@@ -503,7 +503,7 @@ function qr(e, t, r, n, i, o) {
503
503
  },
504
504
  set(l) {
505
505
  var u;
506
- l = me(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
506
+ l = de(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
507
507
  }
508
508
  });
509
509
  }), n.forEach((a) => {
@@ -516,7 +516,7 @@ function qr(e, t, r, n, i, o) {
516
516
  }), e.element = /** @type {any} */
517
517
  s, s;
518
518
  }
519
- class Yr {
519
+ class Zr {
520
520
  constructor() {
521
521
  /**
522
522
  * ### PRIVATE API
@@ -537,7 +537,7 @@ class Yr {
537
537
  }
538
538
  /** @returns {void} */
539
539
  $destroy() {
540
- Zr(this, 1), this.$destroy = R;
540
+ Vr(this, 1), this.$destroy = L;
541
541
  }
542
542
  /**
543
543
  * @template {Extract<keyof Events, string>} K
@@ -546,8 +546,8 @@ class Yr {
546
546
  * @returns {() => void}
547
547
  */
548
548
  $on(t, r) {
549
- if (!tt(r))
550
- return R;
549
+ if (!Je(r))
550
+ return L;
551
551
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
552
552
  return n.push(r), () => {
553
553
  const i = n.indexOf(r);
@@ -559,13 +559,13 @@ class Yr {
559
559
  * @returns {void}
560
560
  */
561
561
  $set(t) {
562
- this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
562
+ this.$$set && !wr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
563
563
  }
564
564
  }
565
- const Kr = "4";
566
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kr);
567
- var So = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
568
- function en(e) {
565
+ const Qr = "4";
566
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Qr);
567
+ var vo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
568
+ function Jr(e) {
569
569
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
570
570
  }
571
571
  /*! *****************************************************************************
@@ -582,24 +582,43 @@ 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 De = function(e, t) {
586
- return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
585
+ var $e = function(e, t) {
586
+ return $e = 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
- }, De(e, t);
591
+ }, $e(e, t);
592
592
  };
593
- function ae(e, t) {
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
- De(e, t);
596
+ $e(e, t);
597
597
  function r() {
598
598
  this.constructor = e;
599
599
  }
600
600
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
601
601
  }
602
- function Fe(e) {
602
+ var v = function() {
603
+ return v = Object.assign || function(t) {
604
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
605
+ r = arguments[n];
606
+ for (var o in r)
607
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
608
+ }
609
+ return t;
610
+ }, v.apply(this, arguments);
611
+ };
612
+ function qr(e, t) {
613
+ var r = {};
614
+ for (var n in e)
615
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
616
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
617
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
618
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
619
+ return r;
620
+ }
621
+ function Ge(e) {
603
622
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
604
623
  if (r)
605
624
  return r.call(e);
@@ -611,7 +630,7 @@ function Fe(e) {
611
630
  };
612
631
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
613
632
  }
614
- function je(e, t) {
633
+ function Ue(e, t) {
615
634
  var r = typeof Symbol == "function" && e[Symbol.iterator];
616
635
  if (!r)
617
636
  return e;
@@ -631,22 +650,22 @@ function je(e, t) {
631
650
  }
632
651
  return o;
633
652
  }
634
- function ke(e, t, r) {
635
- if (arguments.length === 2)
653
+ function X(e, t, r) {
654
+ if (r || arguments.length === 2)
636
655
  for (var n = 0, i = t.length, o; n < i; n++)
637
656
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
638
657
  return e.concat(o || t);
639
658
  }
640
- function $(e) {
659
+ function R(e) {
641
660
  return typeof e == "function";
642
661
  }
643
- function kt(e) {
662
+ function Ut(e) {
644
663
  var t = function(n) {
645
664
  Error.call(n), n.stack = new Error().stack;
646
665
  }, r = e(t);
647
666
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
648
667
  }
649
- var Ce = kt(function(e) {
668
+ var Be = Ut(function(e) {
650
669
  return function(r) {
651
670
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
652
671
  ` + r.map(function(n, i) {
@@ -655,7 +674,7 @@ var Ce = kt(function(e) {
655
674
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
656
675
  };
657
676
  });
658
- function Ve(e, t) {
677
+ function De(e, t) {
659
678
  if (e) {
660
679
  var r = e.indexOf(t);
661
680
  0 <= r && e.splice(r, 1);
@@ -673,12 +692,12 @@ var xe = function() {
673
692
  if (s)
674
693
  if (this._parentage = null, Array.isArray(s))
675
694
  try {
676
- for (var a = Fe(s), l = a.next(); !l.done; l = a.next()) {
695
+ for (var a = Ge(s), l = a.next(); !l.done; l = a.next()) {
677
696
  var u = l.value;
678
697
  u.remove(this);
679
698
  }
680
- } catch (d) {
681
- t = { error: d };
699
+ } catch (p) {
700
+ t = { error: p };
682
701
  } finally {
683
702
  try {
684
703
  l && !l.done && (r = a.return) && r.call(a);
@@ -690,29 +709,29 @@ var xe = function() {
690
709
  else
691
710
  s.remove(this);
692
711
  var h = this.initialTeardown;
693
- if ($(h))
712
+ if (R(h))
694
713
  try {
695
714
  h();
696
- } catch (d) {
697
- o = d instanceof Ce ? d.errors : [d];
715
+ } catch (p) {
716
+ o = p instanceof Be ? p.errors : [p];
698
717
  }
699
- var c = this._finalizers;
700
- if (c) {
718
+ var f = this._finalizers;
719
+ if (f) {
701
720
  this._finalizers = null;
702
721
  try {
703
- for (var f = Fe(c), m = f.next(); !m.done; m = f.next()) {
704
- var p = m.value;
722
+ for (var c = Ge(f), d = c.next(); !d.done; d = c.next()) {
723
+ var m = d.value;
705
724
  try {
706
- ft(p);
707
- } catch (d) {
708
- o = o != null ? o : [], d instanceof Ce ? o = ke(ke([], je(o)), je(d.errors)) : o.push(d);
725
+ ut(m);
726
+ } catch (p) {
727
+ o = o != null ? o : [], p instanceof Be ? o = X(X([], Ue(o)), Ue(p.errors)) : o.push(p);
709
728
  }
710
729
  }
711
- } catch (d) {
712
- n = { error: d };
730
+ } catch (p) {
731
+ n = { error: p };
713
732
  } finally {
714
733
  try {
715
- m && !m.done && (i = f.return) && i.call(f);
734
+ d && !d.done && (i = c.return) && i.call(c);
716
735
  } finally {
717
736
  if (n)
718
737
  throw n.error;
@@ -720,13 +739,13 @@ var xe = function() {
720
739
  }
721
740
  }
722
741
  if (o)
723
- throw new Ce(o);
742
+ throw new Be(o);
724
743
  }
725
744
  }, e.prototype.add = function(t) {
726
745
  var r;
727
746
  if (t && t !== this)
728
747
  if (this.closed)
729
- ft(t);
748
+ ut(t);
730
749
  else {
731
750
  if (t instanceof e) {
732
751
  if (t.closed || t._hasParent(this))
@@ -743,52 +762,56 @@ var xe = function() {
743
762
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
744
763
  }, e.prototype._removeParent = function(t) {
745
764
  var r = this._parentage;
746
- r === t ? this._parentage = null : Array.isArray(r) && Ve(r, t);
765
+ r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
747
766
  }, e.prototype.remove = function(t) {
748
767
  var r = this._finalizers;
749
- r && Ve(r, t), t instanceof e && t._removeParent(this);
768
+ r && De(r, t), t instanceof e && t._removeParent(this);
750
769
  }, e.EMPTY = function() {
751
770
  var t = new e();
752
771
  return t.closed = !0, t;
753
772
  }(), e;
754
- }(), Vt = xe.EMPTY;
755
- function Xt(e) {
756
- return e instanceof xe || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
757
- }
758
- function ft(e) {
759
- $(e) ? e() : e.unsubscribe();
760
- }
761
- var tn = {
762
- Promise: void 0
763
- }, rn = {
773
+ }(), Dt = xe.EMPTY;
774
+ function Ft(e) {
775
+ return e instanceof xe || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
776
+ }
777
+ function ut(e) {
778
+ R(e) ? e() : e.unsubscribe();
779
+ }
780
+ var Yr = {
781
+ onUnhandledError: null,
782
+ onStoppedNotification: null,
783
+ Promise: void 0,
784
+ useDeprecatedSynchronousErrorHandling: !1,
785
+ useDeprecatedNextContext: !1
786
+ }, Kr = {
764
787
  setTimeout: function(e, t) {
765
788
  for (var r = [], n = 2; n < arguments.length; n++)
766
789
  r[n - 2] = arguments[n];
767
- return setTimeout.apply(void 0, ke([e, t], je(r)));
790
+ return setTimeout.apply(void 0, X([e, t], Ue(r)));
768
791
  },
769
792
  clearTimeout: function(e) {
770
793
  return clearTimeout(e);
771
794
  },
772
795
  delegate: void 0
773
796
  };
774
- function nn(e) {
775
- rn.setTimeout(function() {
797
+ function en(e) {
798
+ Kr.setTimeout(function() {
776
799
  throw e;
777
800
  });
778
801
  }
779
- function mt() {
802
+ function lt() {
780
803
  }
781
- function pe(e) {
804
+ function me(e) {
782
805
  e();
783
806
  }
784
- var zt = function(e) {
785
- ae(t, e);
807
+ var jt = function(e) {
808
+ $(t, e);
786
809
  function t(r) {
787
810
  var n = e.call(this) || this;
788
- return n.isStopped = !1, r ? (n.destination = r, Xt(r) && r.add(n)) : n.destination = an, n;
811
+ return n.isStopped = !1, r ? (n.destination = r, Ft(r) && r.add(n)) : n.destination = nn, n;
789
812
  }
790
813
  return t.create = function(r, n, i) {
791
- return new Xe(r, n, i);
814
+ return new Fe(r, n, i);
792
815
  }, t.prototype.next = function(r) {
793
816
  this.isStopped || this._next(r);
794
817
  }, t.prototype.error = function(r) {
@@ -812,7 +835,7 @@ var zt = function(e) {
812
835
  this.unsubscribe();
813
836
  }
814
837
  }, t;
815
- }(xe), on = function() {
838
+ }(xe), tn = function() {
816
839
  function e(t) {
817
840
  this.partialObserver = t;
818
841
  }
@@ -843,43 +866,43 @@ var zt = function(e) {
843
866
  he(r);
844
867
  }
845
868
  }, e;
846
- }(), Xe = function(e) {
847
- ae(t, e);
869
+ }(), Fe = function(e) {
870
+ $(t, e);
848
871
  function t(r, n, i) {
849
872
  var o = e.call(this) || this, s;
850
- return $(r) || !r ? s = {
873
+ return R(r) || !r ? s = {
851
874
  next: r != null ? r : void 0,
852
875
  error: n != null ? n : void 0,
853
876
  complete: i != null ? i : void 0
854
- } : s = r, o.destination = new on(s), o;
877
+ } : s = r, o.destination = new tn(s), o;
855
878
  }
856
879
  return t;
857
- }(zt);
880
+ }(jt);
858
881
  function he(e) {
859
- nn(e);
882
+ en(e);
860
883
  }
861
- function sn(e) {
884
+ function rn(e) {
862
885
  throw e;
863
886
  }
864
- var an = {
887
+ var nn = {
865
888
  closed: !0,
866
- next: mt,
867
- error: sn,
868
- complete: mt
869
- }, un = function() {
889
+ next: lt,
890
+ error: rn,
891
+ complete: lt
892
+ }, on = function() {
870
893
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
871
894
  }();
872
- function ln(e) {
895
+ function sn(e) {
873
896
  return e;
874
897
  }
875
- function hn(e) {
876
- return e.length === 0 ? ln : e.length === 1 ? e[0] : function(r) {
898
+ function an(e) {
899
+ return e.length === 0 ? sn : e.length === 1 ? e[0] : function(r) {
877
900
  return e.reduce(function(n, i) {
878
901
  return i(n);
879
902
  }, r);
880
903
  };
881
904
  }
882
- var pt = function() {
905
+ var ht = function() {
883
906
  function e(t) {
884
907
  t && (this._subscribe = t);
885
908
  }
@@ -887,8 +910,8 @@ var pt = function() {
887
910
  var r = new e();
888
911
  return r.source = this, r.operator = t, r;
889
912
  }, e.prototype.subscribe = function(t, r, n) {
890
- var i = this, o = fn(t) ? t : new Xe(t, r, n);
891
- return pe(function() {
913
+ var i = this, o = ln(t) ? t : new Fe(t, r, n);
914
+ return me(function() {
892
915
  var s = i, a = s.operator, l = s.source;
893
916
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
894
917
  }), o;
@@ -900,8 +923,8 @@ var pt = function() {
900
923
  }
901
924
  }, e.prototype.forEach = function(t, r) {
902
925
  var n = this;
903
- return r = dt(r), new r(function(i, o) {
904
- var s = new Xe({
926
+ return r = ft(r), new r(function(i, o) {
927
+ var s = new Fe({
905
928
  next: function(a) {
906
929
  try {
907
930
  t(a);
@@ -917,15 +940,15 @@ var pt = function() {
917
940
  }, e.prototype._subscribe = function(t) {
918
941
  var r;
919
942
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
920
- }, e.prototype[un] = function() {
943
+ }, e.prototype[on] = function() {
921
944
  return this;
922
945
  }, e.prototype.pipe = function() {
923
946
  for (var t = [], r = 0; r < arguments.length; r++)
924
947
  t[r] = arguments[r];
925
- return hn(t)(this);
948
+ return an(t)(this);
926
949
  }, e.prototype.toPromise = function(t) {
927
950
  var r = this;
928
- return t = dt(t), new t(function(n, i) {
951
+ return t = ft(t), new t(function(n, i) {
929
952
  var o;
930
953
  r.subscribe(function(s) {
931
954
  return o = s;
@@ -939,40 +962,40 @@ var pt = function() {
939
962
  return new e(t);
940
963
  }, e;
941
964
  }();
942
- function dt(e) {
965
+ function ft(e) {
943
966
  var t;
944
- return (t = e != null ? e : tn.Promise) !== null && t !== void 0 ? t : Promise;
967
+ return (t = e != null ? e : Yr.Promise) !== null && t !== void 0 ? t : Promise;
945
968
  }
946
- function cn(e) {
947
- return e && $(e.next) && $(e.error) && $(e.complete);
969
+ function un(e) {
970
+ return e && R(e.next) && R(e.error) && R(e.complete);
948
971
  }
949
- function fn(e) {
950
- return e && e instanceof zt || cn(e) && Xt(e);
972
+ function ln(e) {
973
+ return e && e instanceof jt || un(e) && Ft(e);
951
974
  }
952
- var mn = kt(function(e) {
975
+ var hn = Ut(function(e) {
953
976
  return function() {
954
977
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
955
978
  };
956
- }), Wt = function(e) {
957
- ae(t, e);
979
+ }), kt = function(e) {
980
+ $(t, e);
958
981
  function t() {
959
982
  var r = e.call(this) || this;
960
983
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
961
984
  }
962
985
  return t.prototype.lift = function(r) {
963
- var n = new bt(this, this);
986
+ var n = new ct(this, this);
964
987
  return n.operator = r, n;
965
988
  }, t.prototype._throwIfClosed = function() {
966
989
  if (this.closed)
967
- throw new mn();
990
+ throw new hn();
968
991
  }, t.prototype.next = function(r) {
969
992
  var n = this;
970
- pe(function() {
993
+ me(function() {
971
994
  var i, o;
972
995
  if (n._throwIfClosed(), !n.isStopped) {
973
996
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
974
997
  try {
975
- for (var s = Fe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
998
+ for (var s = Ge(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
976
999
  var l = a.value;
977
1000
  l.next(r);
978
1001
  }
@@ -990,7 +1013,7 @@ var mn = kt(function(e) {
990
1013
  });
991
1014
  }, t.prototype.error = function(r) {
992
1015
  var n = this;
993
- pe(function() {
1016
+ me(function() {
994
1017
  if (n._throwIfClosed(), !n.isStopped) {
995
1018
  n.hasError = n.isStopped = !0, n.thrownError = r;
996
1019
  for (var i = n.observers; i.length; )
@@ -999,7 +1022,7 @@ var mn = kt(function(e) {
999
1022
  });
1000
1023
  }, t.prototype.complete = function() {
1001
1024
  var r = this;
1002
- pe(function() {
1025
+ me(function() {
1003
1026
  if (r._throwIfClosed(), !r.isStopped) {
1004
1027
  r.isStopped = !0;
1005
1028
  for (var n = r.observers; n.length; )
@@ -1021,20 +1044,20 @@ var mn = kt(function(e) {
1021
1044
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1022
1045
  }, t.prototype._innerSubscribe = function(r) {
1023
1046
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1024
- return o || s ? Vt : (this.currentObservers = null, a.push(r), new xe(function() {
1025
- n.currentObservers = null, Ve(a, r);
1047
+ return o || s ? Dt : (this.currentObservers = null, a.push(r), new xe(function() {
1048
+ n.currentObservers = null, De(a, r);
1026
1049
  }));
1027
1050
  }, t.prototype._checkFinalizedStatuses = function(r) {
1028
1051
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1029
1052
  i ? r.error(o) : s && r.complete();
1030
1053
  }, t.prototype.asObservable = function() {
1031
- var r = new pt();
1054
+ var r = new ht();
1032
1055
  return r.source = this, r;
1033
1056
  }, t.create = function(r, n) {
1034
- return new bt(r, n);
1057
+ return new ct(r, n);
1035
1058
  }, t;
1036
- }(pt), bt = function(e) {
1037
- ae(t, e);
1059
+ }(ht), ct = function(e) {
1060
+ $(t, e);
1038
1061
  function t(r, n) {
1039
1062
  var i = e.call(this) || this;
1040
1063
  return i.destination = r, i.source = n, i;
@@ -1050,17 +1073,17 @@ var mn = kt(function(e) {
1050
1073
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1051
1074
  }, t.prototype._subscribe = function(r) {
1052
1075
  var n, i;
1053
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Vt;
1076
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Dt;
1054
1077
  }, t;
1055
- }(Wt), Zt = {
1078
+ }(kt), Vt = {
1056
1079
  now: function() {
1057
- return (Zt.delegate || Date).now();
1080
+ return (Vt.delegate || Date).now();
1058
1081
  },
1059
1082
  delegate: void 0
1060
- }, pn = function(e) {
1061
- ae(t, e);
1083
+ }, fn = function(e) {
1084
+ $(t, e);
1062
1085
  function t(r, n, i) {
1063
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Zt);
1086
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Vt);
1064
1087
  var o = e.call(this) || this;
1065
1088
  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;
1066
1089
  }
@@ -1080,24 +1103,24 @@ var mn = kt(function(e) {
1080
1103
  u && o.splice(0, u + 1);
1081
1104
  }
1082
1105
  }, t;
1083
- }(Wt);
1084
- const gt = [], vt = {}, dn = (e, t = 0) => {
1085
- if (gt.indexOf(e) == -1) {
1086
- const r = new pn(t);
1087
- vt[e] = r, gt.push(e);
1106
+ }(kt);
1107
+ const dt = [], mt = {}, cn = (e, t = 0) => {
1108
+ if (dt.indexOf(e) == -1) {
1109
+ const r = new fn(t);
1110
+ mt[e] = r, dt.push(e);
1088
1111
  }
1089
- return vt[e];
1112
+ return mt[e];
1090
1113
  }, j = [];
1091
- function bn(e, t) {
1114
+ function dn(e, t) {
1092
1115
  return {
1093
- subscribe: Ee(e, t).subscribe
1116
+ subscribe: _e(e, t).subscribe
1094
1117
  };
1095
1118
  }
1096
- function Ee(e, t = R) {
1119
+ function _e(e, t = L) {
1097
1120
  let r;
1098
1121
  const n = /* @__PURE__ */ new Set();
1099
1122
  function i(a) {
1100
- if (Gt(e, a) && (e = a, r)) {
1123
+ if (Mt(e, a) && (e = a, r)) {
1101
1124
  const l = !j.length;
1102
1125
  for (const u of n)
1103
1126
  u[1](), j.push(u, e);
@@ -1111,189 +1134,150 @@ function Ee(e, t = R) {
1111
1134
  function o(a) {
1112
1135
  i(a(e));
1113
1136
  }
1114
- function s(a, l = R) {
1137
+ function s(a, l = L) {
1115
1138
  const u = [a, l];
1116
- return n.add(u), n.size === 1 && (r = t(i, o) || R), a(e), () => {
1139
+ return n.add(u), n.size === 1 && (r = t(i, o) || L), a(e), () => {
1117
1140
  n.delete(u), n.size === 0 && r && (r(), r = null);
1118
1141
  };
1119
1142
  }
1120
1143
  return { set: i, update: o, subscribe: s };
1121
1144
  }
1122
- function Y(e, t, r) {
1145
+ function K(e, t, r) {
1123
1146
  const n = !Array.isArray(e), i = n ? [e] : e;
1124
1147
  if (!i.every(Boolean))
1125
1148
  throw new Error("derived() expects stores as input, got a falsy value");
1126
1149
  const o = t.length < 2;
1127
- return bn(r, (s, a) => {
1150
+ return dn(r, (s, a) => {
1128
1151
  let l = !1;
1129
1152
  const u = [];
1130
- let h = 0, c = R;
1131
- const f = () => {
1153
+ let h = 0, f = L;
1154
+ const c = () => {
1132
1155
  if (h)
1133
1156
  return;
1134
- c();
1135
- const p = t(n ? u[0] : u, s, a);
1136
- o ? s(p) : c = tt(p) ? p : R;
1137
- }, m = i.map(
1138
- (p, d) => Ut(
1139
- p,
1140
- (S) => {
1141
- u[d] = S, h &= ~(1 << d), l && f();
1157
+ f();
1158
+ const m = t(n ? u[0] : u, s, a);
1159
+ o ? s(m) : f = Je(m) ? m : L;
1160
+ }, d = i.map(
1161
+ (m, p) => Lt(
1162
+ m,
1163
+ (w) => {
1164
+ u[p] = w, h &= ~(1 << p), l && c();
1142
1165
  },
1143
1166
  () => {
1144
- h |= 1 << d;
1167
+ h |= 1 << p;
1145
1168
  }
1146
1169
  )
1147
1170
  );
1148
- return l = !0, f(), function() {
1149
- J(m), c(), l = !1;
1171
+ return l = !0, c(), function() {
1172
+ q(d), f(), l = !1;
1150
1173
  };
1151
1174
  });
1152
1175
  }
1153
- var gn = function(t) {
1154
- return vn(t) && !yn(t);
1176
+ var mn = function(t) {
1177
+ return pn(t) && !bn(t);
1155
1178
  };
1156
- function vn(e) {
1179
+ function pn(e) {
1157
1180
  return !!e && typeof e == "object";
1158
1181
  }
1159
- function yn(e) {
1182
+ function bn(e) {
1160
1183
  var t = Object.prototype.toString.call(e);
1161
- return t === "[object RegExp]" || t === "[object Date]" || En(e);
1184
+ return t === "[object RegExp]" || t === "[object Date]" || vn(e);
1162
1185
  }
1163
- var _n = typeof Symbol == "function" && Symbol.for, xn = _n ? Symbol.for("react.element") : 60103;
1164
- function En(e) {
1165
- return e.$$typeof === xn;
1186
+ var gn = typeof Symbol == "function" && Symbol.for, yn = gn ? Symbol.for("react.element") : 60103;
1187
+ function vn(e) {
1188
+ return e.$$typeof === yn;
1166
1189
  }
1167
- function Sn(e) {
1190
+ function xn(e) {
1168
1191
  return Array.isArray(e) ? [] : {};
1169
1192
  }
1170
- function ie(e, t) {
1171
- return t.clone !== !1 && t.isMergeableObject(e) ? z(Sn(e), e, t) : e;
1193
+ function oe(e, t) {
1194
+ return t.clone !== !1 && t.isMergeableObject(e) ? W(xn(e), e, t) : e;
1172
1195
  }
1173
- function wn(e, t, r) {
1196
+ function _n(e, t, r) {
1174
1197
  return e.concat(t).map(function(n) {
1175
- return ie(n, r);
1198
+ return oe(n, r);
1176
1199
  });
1177
1200
  }
1178
- function Tn(e, t) {
1201
+ function En(e, t) {
1179
1202
  if (!t.customMerge)
1180
- return z;
1203
+ return W;
1181
1204
  var r = t.customMerge(e);
1182
- return typeof r == "function" ? r : z;
1205
+ return typeof r == "function" ? r : W;
1183
1206
  }
1184
- function Hn(e) {
1207
+ function Sn(e) {
1185
1208
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1186
1209
  return Object.propertyIsEnumerable.call(e, t);
1187
1210
  }) : [];
1188
1211
  }
1189
- function yt(e) {
1190
- return Object.keys(e).concat(Hn(e));
1212
+ function pt(e) {
1213
+ return Object.keys(e).concat(Sn(e));
1191
1214
  }
1192
- function Qt(e, t) {
1215
+ function Xt(e, t) {
1193
1216
  try {
1194
1217
  return t in e;
1195
1218
  } catch (r) {
1196
1219
  return !1;
1197
1220
  }
1198
1221
  }
1199
- function Bn(e, t) {
1200
- return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1222
+ function wn(e, t) {
1223
+ return Xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1201
1224
  }
1202
- function An(e, t, r) {
1225
+ function Tn(e, t, r) {
1203
1226
  var n = {};
1204
- return r.isMergeableObject(e) && yt(e).forEach(function(i) {
1205
- n[i] = ie(e[i], r);
1206
- }), yt(t).forEach(function(i) {
1207
- Bn(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Tn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1227
+ return r.isMergeableObject(e) && pt(e).forEach(function(i) {
1228
+ n[i] = oe(e[i], r);
1229
+ }), pt(t).forEach(function(i) {
1230
+ wn(e, i) || (Xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1208
1231
  }), n;
1209
1232
  }
1210
- function z(e, t, r) {
1211
- r = r || {}, r.arrayMerge = r.arrayMerge || wn, r.isMergeableObject = r.isMergeableObject || gn, r.cloneUnlessOtherwiseSpecified = ie;
1233
+ function W(e, t, r) {
1234
+ r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || mn, r.cloneUnlessOtherwiseSpecified = oe;
1212
1235
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1213
- return o ? n ? r.arrayMerge(e, t, r) : An(e, t, r) : ie(t, r);
1236
+ return o ? n ? r.arrayMerge(e, t, r) : Tn(e, t, r) : oe(t, r);
1214
1237
  }
1215
- z.all = function(t, r) {
1238
+ W.all = function(t, r) {
1216
1239
  if (!Array.isArray(t))
1217
1240
  throw new Error("first argument should be an array");
1218
1241
  return t.reduce(function(n, i) {
1219
- return z(n, i, r);
1242
+ return W(n, i, r);
1220
1243
  }, {});
1221
1244
  };
1222
- var Cn = z, Pn = Cn;
1223
- const On = /* @__PURE__ */ en(Pn);
1224
- var ze = function(e, t) {
1225
- return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1226
- r.__proto__ = n;
1227
- } || function(r, n) {
1228
- for (var i in n)
1229
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1230
- }, ze(e, t);
1231
- };
1232
- function Se(e, t) {
1233
- if (typeof t != "function" && t !== null)
1234
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1235
- ze(e, t);
1236
- function r() {
1237
- this.constructor = e;
1238
- }
1239
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1240
- }
1241
- var L = function() {
1242
- return L = Object.assign || function(t) {
1243
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1244
- r = arguments[n];
1245
- for (var o in r)
1246
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1247
- }
1248
- return t;
1249
- }, L.apply(this, arguments);
1250
- };
1251
- function In(e, t) {
1252
- var r = {};
1253
- for (var n in e)
1254
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1255
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1256
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1257
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1258
- return r;
1259
- }
1260
- function Pe(e, t, r) {
1261
- if (r || arguments.length === 2)
1262
- for (var n = 0, i = t.length, o; n < i; n++)
1263
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1264
- return e.concat(o || Array.prototype.slice.call(t));
1265
- }
1266
- function Oe(e, t) {
1267
- var r = t && t.cache ? t.cache : Un, n = t && t.serializer ? t.serializer : $n, i = t && t.strategy ? t.strategy : Ln;
1245
+ var Hn = W, Bn = Hn;
1246
+ const An = /* @__PURE__ */ Jr(Bn);
1247
+ function Ae(e, t) {
1248
+ var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : Nn, i = t && t.strategy ? t.strategy : Pn;
1268
1249
  return i(e, {
1269
1250
  cache: r,
1270
1251
  serializer: n
1271
1252
  });
1272
1253
  }
1273
- function Mn(e) {
1254
+ function Cn(e) {
1274
1255
  return e == null || typeof e == "number" || typeof e == "boolean";
1275
1256
  }
1276
- function Nn(e, t, r, n) {
1277
- var i = Mn(n) ? n : r(n), o = t.get(i);
1257
+ function zt(e, t, r, n) {
1258
+ var i = Cn(n) ? n : r(n), o = t.get(i);
1278
1259
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1279
1260
  }
1280
- function Jt(e, t, r) {
1261
+ function Wt(e, t, r) {
1281
1262
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1282
1263
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1283
1264
  }
1284
- function qt(e, t, r, n, i) {
1265
+ function qe(e, t, r, n, i) {
1285
1266
  return r.bind(t, e, n, i);
1286
1267
  }
1287
- function Ln(e, t) {
1288
- var r = e.length === 1 ? Nn : Jt;
1289
- return qt(e, this, r, t.cache.create(), t.serializer);
1268
+ function Pn(e, t) {
1269
+ var r = e.length === 1 ? zt : Wt;
1270
+ return qe(e, this, r, t.cache.create(), t.serializer);
1290
1271
  }
1291
- function Rn(e, t) {
1292
- return qt(e, this, Jt, t.cache.create(), t.serializer);
1272
+ function On(e, t) {
1273
+ return qe(e, this, Wt, t.cache.create(), t.serializer);
1293
1274
  }
1294
- var $n = function() {
1275
+ function In(e, t) {
1276
+ return qe(e, this, zt, t.cache.create(), t.serializer);
1277
+ }
1278
+ var Nn = function() {
1295
1279
  return JSON.stringify(arguments);
1296
- }, Gn = (
1280
+ }, Mn = (
1297
1281
  /** @class */
1298
1282
  function() {
1299
1283
  function e() {
@@ -1305,71 +1289,62 @@ var $n = function() {
1305
1289
  this.cache[t] = r;
1306
1290
  }, e;
1307
1291
  }()
1308
- ), Un = {
1292
+ ), Ln = {
1309
1293
  create: function() {
1310
- return new Gn();
1294
+ return new Mn();
1311
1295
  }
1312
- }, Ie = {
1313
- variadic: Rn
1314
- }, ve = function() {
1315
- return ve = Object.assign || function(t) {
1316
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1317
- r = arguments[n];
1318
- for (var o in r)
1319
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1320
- }
1321
- return t;
1322
- }, ve.apply(this, arguments);
1323
- };
1324
- var b;
1296
+ }, Ce = {
1297
+ variadic: On,
1298
+ monadic: In
1299
+ }, b;
1325
1300
  (function(e) {
1326
1301
  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";
1327
1302
  })(b || (b = {}));
1328
- var E;
1303
+ var S;
1329
1304
  (function(e) {
1330
1305
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1331
- })(E || (E = {}));
1332
- var W;
1306
+ })(S || (S = {}));
1307
+ var Z;
1333
1308
  (function(e) {
1334
1309
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1335
- })(W || (W = {}));
1336
- function _t(e) {
1337
- return e.type === E.literal;
1310
+ })(Z || (Z = {}));
1311
+ function bt(e) {
1312
+ return e.type === S.literal;
1338
1313
  }
1339
- function Dn(e) {
1340
- return e.type === E.argument;
1314
+ function Rn(e) {
1315
+ return e.type === S.argument;
1341
1316
  }
1342
- function Yt(e) {
1343
- return e.type === E.number;
1317
+ function Zt(e) {
1318
+ return e.type === S.number;
1344
1319
  }
1345
- function Kt(e) {
1346
- return e.type === E.date;
1320
+ function Qt(e) {
1321
+ return e.type === S.date;
1347
1322
  }
1348
- function er(e) {
1349
- return e.type === E.time;
1323
+ function Jt(e) {
1324
+ return e.type === S.time;
1350
1325
  }
1351
- function tr(e) {
1352
- return e.type === E.select;
1326
+ function qt(e) {
1327
+ return e.type === S.select;
1353
1328
  }
1354
- function rr(e) {
1355
- return e.type === E.plural;
1329
+ function Yt(e) {
1330
+ return e.type === S.plural;
1356
1331
  }
1357
- function Fn(e) {
1358
- return e.type === E.pound;
1332
+ function $n(e) {
1333
+ return e.type === S.pound;
1359
1334
  }
1360
- function nr(e) {
1361
- return e.type === E.tag;
1335
+ function Kt(e) {
1336
+ return e.type === S.tag;
1362
1337
  }
1363
- function ir(e) {
1364
- return !!(e && typeof e == "object" && e.type === W.number);
1338
+ function er(e) {
1339
+ return !!(e && typeof e == "object" && e.type === Z.number);
1365
1340
  }
1366
- function We(e) {
1367
- return !!(e && typeof e == "object" && e.type === W.dateTime);
1341
+ function je(e) {
1342
+ return !!(e && typeof e == "object" && e.type === Z.dateTime);
1368
1343
  }
1369
- var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jn = /(?:[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;
1370
- function kn(e) {
1344
+ var tr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1345
+ function Un(e) {
1371
1346
  var t = {};
1372
- return e.replace(jn, function(r) {
1347
+ return e.replace(Gn, function(r) {
1373
1348
  var n = r.length;
1374
1349
  switch (r[0]) {
1375
1350
  case "G":
@@ -1458,46 +1433,36 @@ function kn(e) {
1458
1433
  return "";
1459
1434
  }), t;
1460
1435
  }
1461
- var T = function() {
1462
- return T = Object.assign || function(t) {
1463
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1464
- r = arguments[n];
1465
- for (var o in r)
1466
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1467
- }
1468
- return t;
1469
- }, T.apply(this, arguments);
1470
- };
1471
- var Vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1472
- function Xn(e) {
1436
+ var Dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1437
+ function Fn(e) {
1473
1438
  if (e.length === 0)
1474
1439
  throw new Error("Number skeleton cannot be empty");
1475
- for (var t = e.split(Vn).filter(function(f) {
1476
- return f.length > 0;
1440
+ for (var t = e.split(Dn).filter(function(c) {
1441
+ return c.length > 0;
1477
1442
  }), r = [], n = 0, i = t; n < i.length; n++) {
1478
1443
  var o = i[n], s = o.split("/");
1479
1444
  if (s.length === 0)
1480
1445
  throw new Error("Invalid number skeleton");
1481
1446
  for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1482
- var c = h[u];
1483
- if (c.length === 0)
1447
+ var f = h[u];
1448
+ if (f.length === 0)
1484
1449
  throw new Error("Invalid number skeleton");
1485
1450
  }
1486
1451
  r.push({ stem: a, options: l });
1487
1452
  }
1488
1453
  return r;
1489
1454
  }
1490
- function zn(e) {
1455
+ function jn(e) {
1491
1456
  return e.replace(/^(.*?)-/, "");
1492
1457
  }
1493
- var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, Wn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
1494
- function Et(e) {
1458
+ var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rr = /^(@+)?(\+|#+)?[rs]?$/g, kn = /(\*)(0+)|(#+)(0+)|(0+)/g, nr = /^(0+)$/;
1459
+ function yt(e) {
1495
1460
  var t = {};
1496
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
1461
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(rr, function(r, n, i) {
1497
1462
  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)), "";
1498
1463
  }), t;
1499
1464
  }
1500
- function ur(e) {
1465
+ function ir(e) {
1501
1466
  switch (e) {
1502
1467
  case "sign-auto":
1503
1468
  return {
@@ -1537,7 +1502,7 @@ function ur(e) {
1537
1502
  };
1538
1503
  }
1539
1504
  }
1540
- function Zn(e) {
1505
+ function Vn(e) {
1541
1506
  var t;
1542
1507
  if (e[0] === "E" && e[1] === "E" ? (t = {
1543
1508
  notation: "engineering"
@@ -1545,17 +1510,17 @@ function Zn(e) {
1545
1510
  notation: "scientific"
1546
1511
  }, e = e.slice(1)), t) {
1547
1512
  var r = e.slice(0, 2);
1548
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
1513
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !nr.test(e))
1549
1514
  throw new Error("Malformed concise eng/scientific notation");
1550
1515
  t.minimumIntegerDigits = e.length;
1551
1516
  }
1552
1517
  return t;
1553
1518
  }
1554
- function St(e) {
1555
- var t = {}, r = ur(e);
1519
+ function vt(e) {
1520
+ var t = {}, r = ir(e);
1556
1521
  return r || t;
1557
1522
  }
1558
- function Qn(e) {
1523
+ function Xn(e) {
1559
1524
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1560
1525
  var i = n[r];
1561
1526
  switch (i.stem) {
@@ -1579,7 +1544,7 @@ function Qn(e) {
1579
1544
  continue;
1580
1545
  case "measure-unit":
1581
1546
  case "unit":
1582
- t.style = "unit", t.unit = zn(i.options[0]);
1547
+ t.style = "unit", t.unit = jn(i.options[0]);
1583
1548
  continue;
1584
1549
  case "compact-short":
1585
1550
  case "K":
@@ -1590,13 +1555,13 @@ function Qn(e) {
1590
1555
  t.notation = "compact", t.compactDisplay = "long";
1591
1556
  continue;
1592
1557
  case "scientific":
1593
- t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1594
- return T(T({}, l), St(u));
1558
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1559
+ return v(v({}, l), vt(u));
1595
1560
  }, {}));
1596
1561
  continue;
1597
1562
  case "engineering":
1598
- t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1599
- return T(T({}, l), St(u));
1563
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1564
+ return v(v({}, l), vt(u));
1600
1565
  }, {}));
1601
1566
  continue;
1602
1567
  case "notation-simple":
@@ -1641,45 +1606,45 @@ function Qn(e) {
1641
1606
  case "integer-width":
1642
1607
  if (i.options.length > 1)
1643
1608
  throw new RangeError("integer-width stems only accept a single optional option");
1644
- i.options[0].replace(Wn, function(l, u, h, c, f, m) {
1609
+ i.options[0].replace(kn, function(l, u, h, f, c, d) {
1645
1610
  if (u)
1646
1611
  t.minimumIntegerDigits = h.length;
1647
1612
  else {
1648
- if (c && f)
1613
+ if (f && c)
1649
1614
  throw new Error("We currently do not support maximum integer digits");
1650
- if (m)
1615
+ if (d)
1651
1616
  throw new Error("We currently do not support exact integer digits");
1652
1617
  }
1653
1618
  return "";
1654
1619
  });
1655
1620
  continue;
1656
1621
  }
1657
- if (ar.test(i.stem)) {
1622
+ if (nr.test(i.stem)) {
1658
1623
  t.minimumIntegerDigits = i.stem.length;
1659
1624
  continue;
1660
1625
  }
1661
- if (xt.test(i.stem)) {
1626
+ if (gt.test(i.stem)) {
1662
1627
  if (i.options.length > 1)
1663
1628
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1664
- i.stem.replace(xt, function(l, u, h, c, f, m) {
1665
- 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), "";
1629
+ i.stem.replace(gt, function(l, u, h, f, c, d) {
1630
+ return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1666
1631
  });
1667
1632
  var o = i.options[0];
1668
- o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), Et(o)));
1633
+ o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), yt(o)));
1669
1634
  continue;
1670
1635
  }
1671
- if (sr.test(i.stem)) {
1672
- t = T(T({}, t), Et(i.stem));
1636
+ if (rr.test(i.stem)) {
1637
+ t = v(v({}, t), yt(i.stem));
1673
1638
  continue;
1674
1639
  }
1675
- var s = ur(i.stem);
1676
- s && (t = T(T({}, t), s));
1677
- var a = Zn(i.stem);
1678
- a && (t = T(T({}, t), a));
1640
+ var s = ir(i.stem);
1641
+ s && (t = v(v({}, t), s));
1642
+ var a = Vn(i.stem);
1643
+ a && (t = v(v({}, t), a));
1679
1644
  }
1680
1645
  return t;
1681
1646
  }
1682
- var ce = {
1647
+ var fe = {
1683
1648
  "001": [
1684
1649
  "H",
1685
1650
  "h"
@@ -3094,13 +3059,13 @@ var ce = {
3094
3059
  "h"
3095
3060
  ]
3096
3061
  };
3097
- function Jn(e, t) {
3062
+ function zn(e, t) {
3098
3063
  for (var r = "", n = 0; n < e.length; n++) {
3099
3064
  var i = e.charAt(n);
3100
3065
  if (i === "j") {
3101
3066
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3102
3067
  o++, n++;
3103
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = qn(t);
3068
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Wn(t);
3104
3069
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3105
3070
  r += l;
3106
3071
  for (; s-- > 0; )
@@ -3110,7 +3075,7 @@ function Jn(e, t) {
3110
3075
  }
3111
3076
  return r;
3112
3077
  }
3113
- function qn(e) {
3078
+ function Wn(e) {
3114
3079
  var t = e.hourCycle;
3115
3080
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3116
3081
  e.hourCycles && // @ts-ignore
@@ -3129,23 +3094,23 @@ function qn(e) {
3129
3094
  }
3130
3095
  var r = e.language, n;
3131
3096
  r !== "root" && (n = e.maximize().region);
3132
- var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
3097
+ var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
3133
3098
  return i[0];
3134
3099
  }
3135
- var Me, Yn = new RegExp("^".concat(or.source, "*")), Kn = new RegExp("".concat(or.source, "*$"));
3136
- function v(e, t) {
3100
+ var Pe, Zn = new RegExp("^".concat(tr.source, "*")), Qn = new RegExp("".concat(tr.source, "*$"));
3101
+ function y(e, t) {
3137
3102
  return { start: e, end: t };
3138
3103
  }
3139
- var ei = !!String.prototype.startsWith && "_a".startsWith("a", 1), ti = !!String.fromCodePoint, ri = !!Object.fromEntries, ni = !!String.prototype.codePointAt, ii = !!String.prototype.trimStart, oi = !!String.prototype.trimEnd, si = !!Number.isSafeInteger, ai = si ? Number.isSafeInteger : function(e) {
3104
+ var Jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), qn = !!String.fromCodePoint, Yn = !!Object.fromEntries, Kn = !!String.prototype.codePointAt, ei = !!String.prototype.trimStart, ti = !!String.prototype.trimEnd, ri = !!Number.isSafeInteger, ni = ri ? Number.isSafeInteger : function(e) {
3140
3105
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3141
- }, Ze = !0;
3106
+ }, ke = !0;
3142
3107
  try {
3143
- var ui = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3144
- Ze = ((Me = ui.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
3108
+ var ii = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3109
+ ke = ((Pe = ii.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
3145
3110
  } catch (e) {
3146
- Ze = !1;
3111
+ ke = !1;
3147
3112
  }
3148
- var wt = ei ? (
3113
+ var xt = Jn ? (
3149
3114
  // Native
3150
3115
  function(t, r, n) {
3151
3116
  return t.startsWith(r, n);
@@ -3155,7 +3120,7 @@ var wt = ei ? (
3155
3120
  function(t, r, n) {
3156
3121
  return t.slice(n, n + r.length) === r;
3157
3122
  }
3158
- ), Qe = ti ? String.fromCodePoint : (
3123
+ ), Ve = qn ? String.fromCodePoint : (
3159
3124
  // IE11
3160
3125
  function() {
3161
3126
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3167,9 +3132,9 @@ var wt = ei ? (
3167
3132
  }
3168
3133
  return n;
3169
3134
  }
3170
- ), Tt = (
3135
+ ), _t = (
3171
3136
  // native
3172
- ri ? Object.fromEntries : (
3137
+ Yn ? Object.fromEntries : (
3173
3138
  // Ponyfill
3174
3139
  function(t) {
3175
3140
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3179,7 +3144,7 @@ var wt = ei ? (
3179
3144
  return r;
3180
3145
  }
3181
3146
  )
3182
- ), lr = ni ? (
3147
+ ), or = Kn ? (
3183
3148
  // Native
3184
3149
  function(t, r) {
3185
3150
  return t.codePointAt(r);
@@ -3193,7 +3158,7 @@ var wt = ei ? (
3193
3158
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3194
3159
  }
3195
3160
  }
3196
- ), li = ii ? (
3161
+ ), oi = ei ? (
3197
3162
  // Native
3198
3163
  function(t) {
3199
3164
  return t.trimStart();
@@ -3201,9 +3166,9 @@ var wt = ei ? (
3201
3166
  ) : (
3202
3167
  // Ponyfill
3203
3168
  function(t) {
3204
- return t.replace(Yn, "");
3169
+ return t.replace(Zn, "");
3205
3170
  }
3206
- ), hi = oi ? (
3171
+ ), si = ti ? (
3207
3172
  // Native
3208
3173
  function(t) {
3209
3174
  return t.trimEnd();
@@ -3211,32 +3176,32 @@ var wt = ei ? (
3211
3176
  ) : (
3212
3177
  // Ponyfill
3213
3178
  function(t) {
3214
- return t.replace(Kn, "");
3179
+ return t.replace(Qn, "");
3215
3180
  }
3216
3181
  );
3217
- function hr(e, t) {
3182
+ function sr(e, t) {
3218
3183
  return new RegExp(e, t);
3219
3184
  }
3220
- var Je;
3221
- if (Ze) {
3222
- var Ht = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3223
- Je = function(t, r) {
3185
+ var Xe;
3186
+ if (ke) {
3187
+ var Et = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3188
+ Xe = function(t, r) {
3224
3189
  var n;
3225
- Ht.lastIndex = r;
3226
- var i = Ht.exec(t);
3190
+ Et.lastIndex = r;
3191
+ var i = Et.exec(t);
3227
3192
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3228
3193
  };
3229
3194
  } else
3230
- Je = function(t, r) {
3195
+ Xe = function(t, r) {
3231
3196
  for (var n = []; ; ) {
3232
- var i = lr(t, r);
3233
- if (i === void 0 || cr(i) || pi(i))
3197
+ var i = or(t, r);
3198
+ if (i === void 0 || ar(i) || hi(i))
3234
3199
  break;
3235
3200
  n.push(i), r += i >= 65536 ? 2 : 1;
3236
3201
  }
3237
- return Qe.apply(void 0, n);
3202
+ return Ve.apply(void 0, n);
3238
3203
  };
3239
- var ci = (
3204
+ var ai = (
3240
3205
  /** @class */
3241
3206
  function() {
3242
3207
  function e(t, r) {
@@ -3260,14 +3225,14 @@ var ci = (
3260
3225
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3261
3226
  var a = this.clonePosition();
3262
3227
  this.bump(), i.push({
3263
- type: E.pound,
3264
- location: v(a, this.clonePosition())
3228
+ type: S.pound,
3229
+ location: y(a, this.clonePosition())
3265
3230
  });
3266
3231
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3267
3232
  if (n)
3268
3233
  break;
3269
- return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3270
- } else if (o === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
3234
+ return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3235
+ } else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
3271
3236
  var s = this.parseTag(t, r);
3272
3237
  if (s.err)
3273
3238
  return s;
@@ -3288,9 +3253,9 @@ var ci = (
3288
3253
  if (this.bumpSpace(), this.bumpIf("/>"))
3289
3254
  return {
3290
3255
  val: {
3291
- type: E.literal,
3256
+ type: S.literal,
3292
3257
  value: "<".concat(i, "/>"),
3293
- location: v(n, this.clonePosition())
3258
+ location: y(n, this.clonePosition())
3294
3259
  },
3295
3260
  err: null
3296
3261
  };
@@ -3300,25 +3265,25 @@ var ci = (
3300
3265
  return o;
3301
3266
  var s = o.val, a = this.clonePosition();
3302
3267
  if (this.bumpIf("</")) {
3303
- if (this.isEOF() || !qe(this.char()))
3304
- return this.error(b.INVALID_TAG, v(a, this.clonePosition()));
3268
+ if (this.isEOF() || !ze(this.char()))
3269
+ return this.error(b.INVALID_TAG, y(a, this.clonePosition()));
3305
3270
  var l = this.clonePosition(), u = this.parseTagName();
3306
- return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3271
+ return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3307
3272
  val: {
3308
- type: E.tag,
3273
+ type: S.tag,
3309
3274
  value: i,
3310
3275
  children: s,
3311
- location: v(n, this.clonePosition())
3276
+ location: y(n, this.clonePosition())
3312
3277
  },
3313
3278
  err: null
3314
- } : this.error(b.INVALID_TAG, v(a, this.clonePosition())));
3279
+ } : this.error(b.INVALID_TAG, y(a, this.clonePosition())));
3315
3280
  } else
3316
- return this.error(b.UNCLOSED_TAG, v(n, this.clonePosition()));
3281
+ return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
3317
3282
  } else
3318
- return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
3283
+ return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
3319
3284
  }, e.prototype.parseTagName = function() {
3320
3285
  var t = this.offset();
3321
- for (this.bump(); !this.isEOF() && mi(this.char()); )
3286
+ for (this.bump(); !this.isEOF() && li(this.char()); )
3322
3287
  this.bump();
3323
3288
  return this.message.slice(t, this.offset());
3324
3289
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3340,14 +3305,14 @@ var ci = (
3340
3305
  }
3341
3306
  break;
3342
3307
  }
3343
- var l = v(n, this.clonePosition());
3308
+ var l = y(n, this.clonePosition());
3344
3309
  return {
3345
- val: { type: E.literal, value: i, location: l },
3310
+ val: { type: S.literal, value: i, location: l },
3346
3311
  err: null
3347
3312
  };
3348
3313
  }, e.prototype.tryParseLeftAngleBracket = function() {
3349
3314
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3350
- !fi(this.peek() || 0)) ? (this.bump(), "<") : null;
3315
+ !ui(this.peek() || 0)) ? (this.bump(), "<") : null;
3351
3316
  }, e.prototype.tryParseQuote = function(t) {
3352
3317
  if (this.isEOF() || this.char() !== 39)
3353
3318
  return null;
@@ -3381,49 +3346,49 @@ var ci = (
3381
3346
  r.push(n);
3382
3347
  this.bump();
3383
3348
  }
3384
- return Qe.apply(void 0, r);
3349
+ return Ve.apply(void 0, r);
3385
3350
  }, e.prototype.tryParseUnquoted = function(t, r) {
3386
3351
  if (this.isEOF())
3387
3352
  return null;
3388
3353
  var n = this.char();
3389
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
3354
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3390
3355
  }, e.prototype.parseArgument = function(t, r) {
3391
3356
  var n = this.clonePosition();
3392
3357
  if (this.bump(), this.bumpSpace(), this.isEOF())
3393
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3358
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3394
3359
  if (this.char() === 125)
3395
- return this.bump(), this.error(b.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3360
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, y(n, this.clonePosition()));
3396
3361
  var i = this.parseIdentifierIfPossible().value;
3397
3362
  if (!i)
3398
- return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3363
+ return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3399
3364
  if (this.bumpSpace(), this.isEOF())
3400
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3365
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3401
3366
  switch (this.char()) {
3402
3367
  case 125:
3403
3368
  return this.bump(), {
3404
3369
  val: {
3405
- type: E.argument,
3370
+ type: S.argument,
3406
3371
  // value does not include the opening and closing braces.
3407
3372
  value: i,
3408
- location: v(n, this.clonePosition())
3373
+ location: y(n, this.clonePosition())
3409
3374
  },
3410
3375
  err: null
3411
3376
  };
3412
3377
  case 44:
3413
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3378
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3414
3379
  default:
3415
- return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3380
+ return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3416
3381
  }
3417
3382
  }, e.prototype.parseIdentifierIfPossible = function() {
3418
- var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
3383
+ var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
3419
3384
  this.bumpTo(i);
3420
- var o = this.clonePosition(), s = v(t, o);
3385
+ var o = this.clonePosition(), s = y(t, o);
3421
3386
  return { value: n, location: s };
3422
3387
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3423
3388
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3424
3389
  switch (a) {
3425
3390
  case "":
3426
- return this.error(b.EXPECT_ARGUMENT_TYPE, v(s, l));
3391
+ return this.error(b.EXPECT_ARGUMENT_TYPE, y(s, l));
3427
3392
  case "number":
3428
3393
  case "date":
3429
3394
  case "time": {
@@ -3431,49 +3396,49 @@ var ci = (
3431
3396
  var u = null;
3432
3397
  if (this.bumpIf(",")) {
3433
3398
  this.bumpSpace();
3434
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3435
- if (c.err)
3436
- return c;
3437
- var f = hi(c.val);
3438
- if (f.length === 0)
3439
- return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3440
- var m = v(h, this.clonePosition());
3441
- u = { style: f, styleLocation: m };
3399
+ var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3400
+ if (f.err)
3401
+ return f;
3402
+ var c = si(f.val);
3403
+ if (c.length === 0)
3404
+ return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3405
+ var d = y(h, this.clonePosition());
3406
+ u = { style: c, styleLocation: d };
3442
3407
  }
3443
- var p = this.tryParseArgumentClose(i);
3444
- if (p.err)
3445
- return p;
3446
- var d = v(i, this.clonePosition());
3447
- if (u && wt(u == null ? void 0 : u.style, "::", 0)) {
3448
- var S = li(u.style.slice(2));
3408
+ var m = this.tryParseArgumentClose(i);
3409
+ if (m.err)
3410
+ return m;
3411
+ var p = y(i, this.clonePosition());
3412
+ if (u && xt(u == null ? void 0 : u.style, "::", 0)) {
3413
+ var w = oi(u.style.slice(2));
3449
3414
  if (a === "number") {
3450
- var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
3451
- return c.err ? c : {
3452
- val: { type: E.number, value: n, location: d, style: c.val },
3415
+ var f = this.parseNumberSkeletonFromString(w, u.styleLocation);
3416
+ return f.err ? f : {
3417
+ val: { type: S.number, value: n, location: p, style: f.val },
3453
3418
  err: null
3454
3419
  };
3455
3420
  } else {
3456
- if (S.length === 0)
3457
- return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3458
- var M = S;
3459
- this.locale && (M = Jn(S, this.locale));
3460
- var f = {
3461
- type: W.dateTime,
3462
- pattern: M,
3421
+ if (w.length === 0)
3422
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, p);
3423
+ var N = w;
3424
+ this.locale && (N = zn(w, this.locale));
3425
+ var c = {
3426
+ type: Z.dateTime,
3427
+ pattern: N,
3463
3428
  location: u.styleLocation,
3464
- parsedOptions: this.shouldParseSkeletons ? kn(M) : {}
3465
- }, C = a === "date" ? E.date : E.time;
3429
+ parsedOptions: this.shouldParseSkeletons ? Un(N) : {}
3430
+ }, C = a === "date" ? S.date : S.time;
3466
3431
  return {
3467
- val: { type: C, value: n, location: d, style: f },
3432
+ val: { type: C, value: n, location: p, style: c },
3468
3433
  err: null
3469
3434
  };
3470
3435
  }
3471
3436
  }
3472
3437
  return {
3473
3438
  val: {
3474
- type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3439
+ type: a === "number" ? S.number : a === "date" ? S.date : S.time,
3475
3440
  value: n,
3476
- location: d,
3441
+ location: p,
3477
3442
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3478
3443
  },
3479
3444
  err: null
@@ -3482,41 +3447,41 @@ var ci = (
3482
3447
  case "plural":
3483
3448
  case "selectordinal":
3484
3449
  case "select": {
3485
- var w = this.clonePosition();
3450
+ var H = this.clonePosition();
3486
3451
  if (this.bumpSpace(), !this.bumpIf(","))
3487
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, ve({}, w)));
3452
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(H, v({}, H)));
3488
3453
  this.bumpSpace();
3489
- var _ = this.parseIdentifierIfPossible(), x = 0;
3454
+ var _ = this.parseIdentifierIfPossible(), E = 0;
3490
3455
  if (a !== "select" && _.value === "offset") {
3491
3456
  if (!this.bumpIf(":"))
3492
- return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3457
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3493
3458
  this.bumpSpace();
3494
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3495
- if (c.err)
3496
- return c;
3497
- this.bumpSpace(), _ = this.parseIdentifierIfPossible(), x = c.val;
3459
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3460
+ if (f.err)
3461
+ return f;
3462
+ this.bumpSpace(), _ = this.parseIdentifierIfPossible(), E = f.val;
3498
3463
  }
3499
- var y = this.tryParsePluralOrSelectOptions(t, a, r, _);
3500
- if (y.err)
3501
- return y;
3502
- var p = this.tryParseArgumentClose(i);
3503
- if (p.err)
3504
- return p;
3505
- var P = v(i, this.clonePosition());
3464
+ var x = this.tryParsePluralOrSelectOptions(t, a, r, _);
3465
+ if (x.err)
3466
+ return x;
3467
+ var m = this.tryParseArgumentClose(i);
3468
+ if (m.err)
3469
+ return m;
3470
+ var P = y(i, this.clonePosition());
3506
3471
  return a === "select" ? {
3507
3472
  val: {
3508
- type: E.select,
3473
+ type: S.select,
3509
3474
  value: n,
3510
- options: Tt(y.val),
3475
+ options: _t(x.val),
3511
3476
  location: P
3512
3477
  },
3513
3478
  err: null
3514
3479
  } : {
3515
3480
  val: {
3516
- type: E.plural,
3481
+ type: S.plural,
3517
3482
  value: n,
3518
- options: Tt(y.val),
3519
- offset: x,
3483
+ options: _t(x.val),
3484
+ offset: E,
3520
3485
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3521
3486
  location: P
3522
3487
  },
@@ -3524,10 +3489,10 @@ var ci = (
3524
3489
  };
3525
3490
  }
3526
3491
  default:
3527
- return this.error(b.INVALID_ARGUMENT_TYPE, v(s, l));
3492
+ return this.error(b.INVALID_ARGUMENT_TYPE, y(s, l));
3528
3493
  }
3529
3494
  }, e.prototype.tryParseArgumentClose = function(t) {
3530
- return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3495
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3531
3496
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3532
3497
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3533
3498
  var n = this.char();
@@ -3536,7 +3501,7 @@ var ci = (
3536
3501
  this.bump();
3537
3502
  var i = this.clonePosition();
3538
3503
  if (!this.bumpUntil("'"))
3539
- return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3504
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3540
3505
  this.bump();
3541
3506
  break;
3542
3507
  }
@@ -3566,52 +3531,52 @@ var ci = (
3566
3531
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3567
3532
  var n = [];
3568
3533
  try {
3569
- n = Xn(t);
3534
+ n = Fn(t);
3570
3535
  } catch (i) {
3571
3536
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3572
3537
  }
3573
3538
  return {
3574
3539
  val: {
3575
- type: W.number,
3540
+ type: Z.number,
3576
3541
  tokens: n,
3577
3542
  location: r,
3578
- parsedOptions: this.shouldParseSkeletons ? Qn(n) : {}
3543
+ parsedOptions: this.shouldParseSkeletons ? Xn(n) : {}
3579
3544
  },
3580
3545
  err: null
3581
3546
  };
3582
3547
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3583
3548
  for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3584
3549
  if (u.length === 0) {
3585
- var c = this.clonePosition();
3550
+ var f = this.clonePosition();
3586
3551
  if (r !== "select" && this.bumpIf("=")) {
3587
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3588
- if (f.err)
3589
- return f;
3590
- h = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3552
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3553
+ if (c.err)
3554
+ return c;
3555
+ h = y(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3591
3556
  } else
3592
3557
  break;
3593
3558
  }
3594
3559
  if (l.has(u))
3595
3560
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3596
3561
  u === "other" && (s = !0), this.bumpSpace();
3597
- var m = this.clonePosition();
3562
+ var d = this.clonePosition();
3598
3563
  if (!this.bumpIf("{"))
3599
- return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3600
- var p = this.parseMessage(t + 1, r, n);
3564
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3565
+ var m = this.parseMessage(t + 1, r, n);
3566
+ if (m.err)
3567
+ return m;
3568
+ var p = this.tryParseArgumentClose(d);
3601
3569
  if (p.err)
3602
3570
  return p;
3603
- var d = this.tryParseArgumentClose(m);
3604
- if (d.err)
3605
- return d;
3606
3571
  a.push([
3607
3572
  u,
3608
3573
  {
3609
- value: p.val,
3610
- location: v(m, this.clonePosition())
3574
+ value: m.val,
3575
+ location: y(d, this.clonePosition())
3611
3576
  }
3612
3577
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3613
3578
  }
3614
- return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3579
+ return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3615
3580
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3616
3581
  var n = 1, i = this.clonePosition();
3617
3582
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3622,8 +3587,8 @@ var ci = (
3622
3587
  else
3623
3588
  break;
3624
3589
  }
3625
- var l = v(i, this.clonePosition());
3626
- return o ? (s *= n, ai(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3590
+ var l = y(i, this.clonePosition());
3591
+ return o ? (s *= n, ni(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3627
3592
  }, e.prototype.offset = function() {
3628
3593
  return this.position.offset;
3629
3594
  }, e.prototype.isEOF = function() {
@@ -3638,7 +3603,7 @@ var ci = (
3638
3603
  var t = this.position.offset;
3639
3604
  if (t >= this.message.length)
3640
3605
  throw Error("out of bound");
3641
- var r = lr(this.message, t);
3606
+ var r = or(this.message, t);
3642
3607
  if (r === void 0)
3643
3608
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3644
3609
  return r;
@@ -3657,7 +3622,7 @@ var ci = (
3657
3622
  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);
3658
3623
  }
3659
3624
  }, e.prototype.bumpIf = function(t) {
3660
- if (wt(this.message, t, this.offset())) {
3625
+ if (xt(this.message, t, this.offset())) {
3661
3626
  for (var r = 0; r < t.length; r++)
3662
3627
  this.bump();
3663
3628
  return !0;
@@ -3679,7 +3644,7 @@ var ci = (
3679
3644
  break;
3680
3645
  }
3681
3646
  }, e.prototype.bumpSpace = function() {
3682
- for (; !this.isEOF() && cr(this.char()); )
3647
+ for (; !this.isEOF() && ar(this.char()); )
3683
3648
  this.bump();
3684
3649
  }, e.prototype.peek = function() {
3685
3650
  if (this.isEOF())
@@ -3689,47 +3654,47 @@ var ci = (
3689
3654
  }, e;
3690
3655
  }()
3691
3656
  );
3692
- function qe(e) {
3657
+ function ze(e) {
3693
3658
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3694
3659
  }
3695
- function fi(e) {
3696
- return qe(e) || e === 47;
3660
+ function ui(e) {
3661
+ return ze(e) || e === 47;
3697
3662
  }
3698
- function mi(e) {
3663
+ function li(e) {
3699
3664
  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;
3700
3665
  }
3701
- function cr(e) {
3666
+ function ar(e) {
3702
3667
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3703
3668
  }
3704
- function pi(e) {
3669
+ function hi(e) {
3705
3670
  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;
3706
3671
  }
3707
- function Ye(e) {
3672
+ function We(e) {
3708
3673
  e.forEach(function(t) {
3709
- if (delete t.location, tr(t) || rr(t))
3674
+ if (delete t.location, qt(t) || Yt(t))
3710
3675
  for (var r in t.options)
3711
- delete t.options[r].location, Ye(t.options[r].value);
3676
+ delete t.options[r].location, We(t.options[r].value);
3712
3677
  else
3713
- Yt(t) && ir(t.style) || (Kt(t) || er(t)) && We(t.style) ? delete t.style.location : nr(t) && Ye(t.children);
3678
+ Zt(t) && er(t.style) || (Qt(t) || Jt(t)) && je(t.style) ? delete t.style.location : Kt(t) && We(t.children);
3714
3679
  });
3715
3680
  }
3716
- function di(e, t) {
3717
- t === void 0 && (t = {}), t = ve({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3718
- var r = new ci(e, t).parse();
3681
+ function fi(e, t) {
3682
+ t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3683
+ var r = new ai(e, t).parse();
3719
3684
  if (r.err) {
3720
3685
  var n = SyntaxError(b[r.err.kind]);
3721
3686
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3722
3687
  }
3723
- return t != null && t.captureLocation || Ye(r.val), r.val;
3688
+ return t != null && t.captureLocation || We(r.val), r.val;
3724
3689
  }
3725
- var Z;
3690
+ var Q;
3726
3691
  (function(e) {
3727
3692
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3728
- })(Z || (Z = {}));
3729
- var we = (
3693
+ })(Q || (Q = {}));
3694
+ var Ee = (
3730
3695
  /** @class */
3731
3696
  function(e) {
3732
- Se(t, e);
3697
+ $(t, e);
3733
3698
  function t(r, n, i) {
3734
3699
  var o = e.call(this, r) || this;
3735
3700
  return o.code = n, o.originalMessage = i, o;
@@ -3738,48 +3703,48 @@ var we = (
3738
3703
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3739
3704
  }, t;
3740
3705
  }(Error)
3741
- ), Bt = (
3706
+ ), St = (
3742
3707
  /** @class */
3743
3708
  function(e) {
3744
- Se(t, e);
3709
+ $(t, e);
3745
3710
  function t(r, n, i, o) {
3746
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, o) || this;
3711
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
3747
3712
  }
3748
3713
  return t;
3749
- }(we)
3750
- ), bi = (
3714
+ }(Ee)
3715
+ ), ci = (
3751
3716
  /** @class */
3752
3717
  function(e) {
3753
- Se(t, e);
3718
+ $(t, e);
3754
3719
  function t(r, n, i) {
3755
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Z.INVALID_VALUE, i) || this;
3720
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3756
3721
  }
3757
3722
  return t;
3758
- }(we)
3759
- ), gi = (
3723
+ }(Ee)
3724
+ ), di = (
3760
3725
  /** @class */
3761
3726
  function(e) {
3762
- Se(t, e);
3727
+ $(t, e);
3763
3728
  function t(r, n) {
3764
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Z.MISSING_VALUE, n) || this;
3729
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3765
3730
  }
3766
3731
  return t;
3767
- }(we)
3732
+ }(Ee)
3768
3733
  ), A;
3769
3734
  (function(e) {
3770
3735
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3771
3736
  })(A || (A = {}));
3772
- function vi(e) {
3737
+ function mi(e) {
3773
3738
  return e.length < 2 ? e : e.reduce(function(t, r) {
3774
3739
  var n = t[t.length - 1];
3775
3740
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3776
3741
  }, []);
3777
3742
  }
3778
- function yi(e) {
3743
+ function pi(e) {
3779
3744
  return typeof e == "function";
3780
3745
  }
3781
- function de(e, t, r, n, i, o, s) {
3782
- if (e.length === 1 && _t(e[0]))
3746
+ function pe(e, t, r, n, i, o, s) {
3747
+ if (e.length === 1 && bt(e[0]))
3783
3748
  return [
3784
3749
  {
3785
3750
  type: A.literal,
@@ -3788,105 +3753,105 @@ function de(e, t, r, n, i, o, s) {
3788
3753
  ];
3789
3754
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3790
3755
  var h = u[l];
3791
- if (_t(h)) {
3756
+ if (bt(h)) {
3792
3757
  a.push({
3793
3758
  type: A.literal,
3794
3759
  value: h.value
3795
3760
  });
3796
3761
  continue;
3797
3762
  }
3798
- if (Fn(h)) {
3763
+ if ($n(h)) {
3799
3764
  typeof o == "number" && a.push({
3800
3765
  type: A.literal,
3801
3766
  value: r.getNumberFormat(t).format(o)
3802
3767
  });
3803
3768
  continue;
3804
3769
  }
3805
- var c = h.value;
3806
- if (!(i && c in i))
3807
- throw new gi(c, s);
3808
- var f = i[c];
3809
- if (Dn(h)) {
3810
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3811
- type: typeof f == "string" ? A.literal : A.object,
3812
- value: f
3770
+ var f = h.value;
3771
+ if (!(i && f in i))
3772
+ throw new di(f, s);
3773
+ var c = i[f];
3774
+ if (Rn(h)) {
3775
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3776
+ type: typeof c == "string" ? A.literal : A.object,
3777
+ value: c
3813
3778
  });
3814
3779
  continue;
3815
3780
  }
3816
- if (Kt(h)) {
3817
- var m = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
3781
+ if (Qt(h)) {
3782
+ var d = typeof h.style == "string" ? n.date[h.style] : je(h.style) ? h.style.parsedOptions : void 0;
3818
3783
  a.push({
3819
3784
  type: A.literal,
3820
- value: r.getDateTimeFormat(t, m).format(f)
3785
+ value: r.getDateTimeFormat(t, d).format(c)
3821
3786
  });
3822
3787
  continue;
3823
3788
  }
3824
- if (er(h)) {
3825
- var m = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
3789
+ if (Jt(h)) {
3790
+ var d = typeof h.style == "string" ? n.time[h.style] : je(h.style) ? h.style.parsedOptions : n.time.medium;
3826
3791
  a.push({
3827
3792
  type: A.literal,
3828
- value: r.getDateTimeFormat(t, m).format(f)
3793
+ value: r.getDateTimeFormat(t, d).format(c)
3829
3794
  });
3830
3795
  continue;
3831
3796
  }
3832
- if (Yt(h)) {
3833
- var m = typeof h.style == "string" ? n.number[h.style] : ir(h.style) ? h.style.parsedOptions : void 0;
3834
- m && m.scale && (f = f * (m.scale || 1)), a.push({
3797
+ if (Zt(h)) {
3798
+ var d = typeof h.style == "string" ? n.number[h.style] : er(h.style) ? h.style.parsedOptions : void 0;
3799
+ d && d.scale && (c = c * (d.scale || 1)), a.push({
3835
3800
  type: A.literal,
3836
- value: r.getNumberFormat(t, m).format(f)
3801
+ value: r.getNumberFormat(t, d).format(c)
3837
3802
  });
3838
3803
  continue;
3839
3804
  }
3840
- if (nr(h)) {
3841
- var p = h.children, d = h.value, S = i[d];
3842
- if (!yi(S))
3843
- throw new bi(d, "function", s);
3844
- var M = de(p, t, r, n, i, o), C = S(M.map(function(x) {
3845
- return x.value;
3805
+ if (Kt(h)) {
3806
+ var m = h.children, p = h.value, w = i[p];
3807
+ if (!pi(w))
3808
+ throw new ci(p, "function", s);
3809
+ var N = pe(m, t, r, n, i, o), C = w(N.map(function(E) {
3810
+ return E.value;
3846
3811
  }));
3847
- Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(x) {
3812
+ Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(E) {
3848
3813
  return {
3849
- type: typeof x == "string" ? A.literal : A.object,
3850
- value: x
3814
+ type: typeof E == "string" ? A.literal : A.object,
3815
+ value: E
3851
3816
  };
3852
3817
  }));
3853
3818
  }
3854
- if (tr(h)) {
3855
- var w = h.options[f] || h.options.other;
3856
- if (!w)
3857
- throw new Bt(h.value, f, Object.keys(h.options), s);
3858
- a.push.apply(a, de(w.value, t, r, n, i));
3819
+ if (qt(h)) {
3820
+ var H = h.options[c] || h.options.other;
3821
+ if (!H)
3822
+ throw new St(h.value, c, Object.keys(h.options), s);
3823
+ a.push.apply(a, pe(H.value, t, r, n, i));
3859
3824
  continue;
3860
3825
  }
3861
- if (rr(h)) {
3862
- var w = h.options["=".concat(f)];
3863
- if (!w) {
3826
+ if (Yt(h)) {
3827
+ var H = h.options["=".concat(c)];
3828
+ if (!H) {
3864
3829
  if (!Intl.PluralRules)
3865
- throw new we(`Intl.PluralRules is not available in this environment.
3830
+ throw new Ee(`Intl.PluralRules is not available in this environment.
3866
3831
  Try polyfilling it using "@formatjs/intl-pluralrules"
3867
- `, Z.MISSING_INTL_API, s);
3868
- var _ = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3869
- w = h.options[_] || h.options.other;
3832
+ `, Q.MISSING_INTL_API, s);
3833
+ var _ = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3834
+ H = h.options[_] || h.options.other;
3870
3835
  }
3871
- if (!w)
3872
- throw new Bt(h.value, f, Object.keys(h.options), s);
3873
- a.push.apply(a, de(w.value, t, r, n, i, f - (h.offset || 0)));
3836
+ if (!H)
3837
+ throw new St(h.value, c, Object.keys(h.options), s);
3838
+ a.push.apply(a, pe(H.value, t, r, n, i, c - (h.offset || 0)));
3874
3839
  continue;
3875
3840
  }
3876
3841
  }
3877
- return vi(a);
3842
+ return mi(a);
3878
3843
  }
3879
- function _i(e, t) {
3880
- return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3881
- return r[n] = L(L({}, e[n]), t[n] || {}), r;
3844
+ function bi(e, t) {
3845
+ return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3846
+ return r[n] = v(v({}, e[n]), t[n] || {}), r;
3882
3847
  }, {})) : e;
3883
3848
  }
3884
- function xi(e, t) {
3849
+ function gi(e, t) {
3885
3850
  return t ? Object.keys(e).reduce(function(r, n) {
3886
- return r[n] = _i(e[n], t[n]), r;
3887
- }, L({}, e)) : e;
3851
+ return r[n] = bi(e[n], t[n]), r;
3852
+ }, v({}, e)) : e;
3888
3853
  }
3889
- function Ne(e) {
3854
+ function Oe(e) {
3890
3855
  return {
3891
3856
  create: function() {
3892
3857
  return {
@@ -3900,39 +3865,39 @@ function Ne(e) {
3900
3865
  }
3901
3866
  };
3902
3867
  }
3903
- function Ei(e) {
3868
+ function yi(e) {
3904
3869
  return e === void 0 && (e = {
3905
3870
  number: {},
3906
3871
  dateTime: {},
3907
3872
  pluralRules: {}
3908
3873
  }), {
3909
- getNumberFormat: Oe(function() {
3874
+ getNumberFormat: Ae(function() {
3910
3875
  for (var t, r = [], n = 0; n < arguments.length; n++)
3911
3876
  r[n] = arguments[n];
3912
- return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
3877
+ return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
3913
3878
  }, {
3914
- cache: Ne(e.number),
3915
- strategy: Ie.variadic
3879
+ cache: Oe(e.number),
3880
+ strategy: Ce.variadic
3916
3881
  }),
3917
- getDateTimeFormat: Oe(function() {
3882
+ getDateTimeFormat: Ae(function() {
3918
3883
  for (var t, r = [], n = 0; n < arguments.length; n++)
3919
3884
  r[n] = arguments[n];
3920
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
3885
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
3921
3886
  }, {
3922
- cache: Ne(e.dateTime),
3923
- strategy: Ie.variadic
3887
+ cache: Oe(e.dateTime),
3888
+ strategy: Ce.variadic
3924
3889
  }),
3925
- getPluralRules: Oe(function() {
3890
+ getPluralRules: Ae(function() {
3926
3891
  for (var t, r = [], n = 0; n < arguments.length; n++)
3927
3892
  r[n] = arguments[n];
3928
- return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
3893
+ return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
3929
3894
  }, {
3930
- cache: Ne(e.pluralRules),
3931
- strategy: Ie.variadic
3895
+ cache: Oe(e.pluralRules),
3896
+ strategy: Ce.variadic
3932
3897
  })
3933
3898
  };
3934
3899
  }
3935
- var Si = (
3900
+ var vi = (
3936
3901
  /** @class */
3937
3902
  function() {
3938
3903
  function e(t, r, n, i) {
@@ -3946,12 +3911,12 @@ var Si = (
3946
3911
  var u = o.formatToParts(l);
3947
3912
  if (u.length === 1)
3948
3913
  return u[0].value;
3949
- var h = u.reduce(function(c, f) {
3950
- return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3914
+ var h = u.reduce(function(f, c) {
3915
+ return !f.length || c.type !== A.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3951
3916
  }, []);
3952
3917
  return h.length <= 1 ? h[0] || "" : h;
3953
3918
  }, this.formatToParts = function(l) {
3954
- return de(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3919
+ return pe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3955
3920
  }, this.resolvedOptions = function() {
3956
3921
  var l;
3957
3922
  return {
@@ -3964,13 +3929,13 @@ var Si = (
3964
3929
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3965
3930
  var s = i || {};
3966
3931
  s.formatters;
3967
- var a = In(s, ["formatters"]);
3968
- this.ast = e.__parse(t, L(L({}, a), { locale: this.resolvedLocale }));
3932
+ var a = qr(s, ["formatters"]);
3933
+ this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3969
3934
  } else
3970
3935
  this.ast = t;
3971
3936
  if (!Array.isArray(this.ast))
3972
3937
  throw new TypeError("A message must be provided as a String or AST.");
3973
- this.formats = xi(e.formats, n), this.formatters = i && i.formatters || Ei(this.formatterCache);
3938
+ this.formats = gi(e.formats, n), this.formatters = i && i.formatters || yi(this.formatterCache);
3974
3939
  }
3975
3940
  return Object.defineProperty(e, "defaultLocale", {
3976
3941
  get: function() {
@@ -3983,7 +3948,7 @@ var Si = (
3983
3948
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3984
3949
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3985
3950
  }
3986
- }, e.__parse = di, e.formats = {
3951
+ }, e.__parse = fi, e.formats = {
3987
3952
  number: {
3988
3953
  integer: {
3989
3954
  maximumFractionDigits: 0
@@ -4044,7 +4009,7 @@ var Si = (
4044
4009
  }, e;
4045
4010
  }()
4046
4011
  );
4047
- function wi(e, t) {
4012
+ function xi(e, t) {
4048
4013
  if (t == null)
4049
4014
  return;
4050
4015
  if (t in e)
@@ -4065,92 +4030,92 @@ function wi(e, t) {
4065
4030
  n = void 0;
4066
4031
  return n;
4067
4032
  }
4068
- const G = {}, Ti = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), fr = (e, t) => {
4033
+ const G = {}, _i = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), ur = (e, t) => {
4069
4034
  if (t == null)
4070
4035
  return;
4071
4036
  if (t in G && e in G[t])
4072
4037
  return G[t][e];
4073
- const r = Te(t);
4038
+ const r = Se(t);
4074
4039
  for (let n = 0; n < r.length; n++) {
4075
- const i = r[n], o = Bi(i, e);
4040
+ const i = r[n], o = Si(i, e);
4076
4041
  if (o)
4077
- return Ti(e, t, o);
4042
+ return _i(e, t, o);
4078
4043
  }
4079
4044
  };
4080
- let rt;
4081
- const ue = Ee({});
4082
- function Hi(e) {
4083
- return rt[e] || null;
4045
+ let Ye;
4046
+ const ue = _e({});
4047
+ function Ei(e) {
4048
+ return Ye[e] || null;
4084
4049
  }
4085
- function mr(e) {
4086
- return e in rt;
4050
+ function lr(e) {
4051
+ return e in Ye;
4087
4052
  }
4088
- function Bi(e, t) {
4089
- if (!mr(e))
4053
+ function Si(e, t) {
4054
+ if (!lr(e))
4090
4055
  return null;
4091
- const r = Hi(e);
4092
- return wi(r, t);
4056
+ const r = Ei(e);
4057
+ return xi(r, t);
4093
4058
  }
4094
- function Ai(e) {
4059
+ function wi(e) {
4095
4060
  if (e == null)
4096
4061
  return;
4097
- const t = Te(e);
4062
+ const t = Se(e);
4098
4063
  for (let r = 0; r < t.length; r++) {
4099
4064
  const n = t[r];
4100
- if (mr(n))
4065
+ if (lr(n))
4101
4066
  return n;
4102
4067
  }
4103
4068
  }
4104
- function pr(e, ...t) {
4105
- delete G[e], ue.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
4069
+ function hr(e, ...t) {
4070
+ delete G[e], ue.update((r) => (r[e] = An.all([r[e] || {}, ...t]), r));
4106
4071
  }
4107
- Y(
4072
+ K(
4108
4073
  [ue],
4109
4074
  ([e]) => Object.keys(e)
4110
4075
  );
4111
- ue.subscribe((e) => rt = e);
4076
+ ue.subscribe((e) => Ye = e);
4112
4077
  const be = {};
4113
- function Ci(e, t) {
4078
+ function Ti(e, t) {
4114
4079
  be[e].delete(t), be[e].size === 0 && delete be[e];
4115
4080
  }
4116
- function dr(e) {
4081
+ function fr(e) {
4117
4082
  return be[e];
4118
4083
  }
4119
- function Pi(e) {
4120
- return Te(e).map((t) => {
4121
- const r = dr(t);
4084
+ function Hi(e) {
4085
+ return Se(e).map((t) => {
4086
+ const r = fr(t);
4122
4087
  return [t, r ? [...r] : []];
4123
4088
  }).filter(([, t]) => t.length > 0);
4124
4089
  }
4125
- function Ke(e) {
4126
- return e == null ? !1 : Te(e).some(
4090
+ function Ze(e) {
4091
+ return e == null ? !1 : Se(e).some(
4127
4092
  (t) => {
4128
4093
  var r;
4129
- return (r = dr(t)) == null ? void 0 : r.size;
4094
+ return (r = fr(t)) == null ? void 0 : r.size;
4130
4095
  }
4131
4096
  );
4132
4097
  }
4133
- function Oi(e, t) {
4098
+ function Bi(e, t) {
4134
4099
  return Promise.all(
4135
- t.map((n) => (Ci(e, n), n().then((i) => i.default || i)))
4136
- ).then((n) => pr(e, ...n));
4137
- }
4138
- const te = {};
4139
- function br(e) {
4140
- if (!Ke(e))
4141
- return e in te ? te[e] : Promise.resolve();
4142
- const t = Pi(e);
4143
- return te[e] = Promise.all(
4100
+ t.map((n) => (Ti(e, n), n().then((i) => i.default || i)))
4101
+ ).then((n) => hr(e, ...n));
4102
+ }
4103
+ const re = {};
4104
+ function cr(e) {
4105
+ if (!Ze(e))
4106
+ return e in re ? re[e] : Promise.resolve();
4107
+ const t = Hi(e);
4108
+ return re[e] = Promise.all(
4144
4109
  t.map(
4145
- ([r, n]) => Oi(r, n)
4110
+ ([r, n]) => Bi(r, n)
4146
4111
  )
4147
4112
  ).then(() => {
4148
- if (Ke(e))
4149
- return br(e);
4150
- delete te[e];
4151
- }), te[e];
4113
+ if (Ze(e))
4114
+ return cr(e);
4115
+ delete re[e];
4116
+ }), re[e];
4152
4117
  }
4153
- const Ii = {
4118
+ const Ai = {
4154
4119
  number: {
4155
4120
  scientific: { notation: "scientific" },
4156
4121
  engineering: { notation: "engineering" },
@@ -4179,135 +4144,135 @@ const Ii = {
4179
4144
  timeZoneName: "short"
4180
4145
  }
4181
4146
  }
4182
- }, Mi = {
4147
+ }, Ci = {
4183
4148
  fallbackLocale: null,
4184
4149
  loadingDelay: 200,
4185
- formats: Ii,
4150
+ formats: Ai,
4186
4151
  warnOnMissingMessages: !0,
4187
4152
  handleMissingMessage: void 0,
4188
4153
  ignoreTag: !0
4189
- }, Ni = Mi;
4190
- function Q() {
4191
- return Ni;
4192
- }
4193
- const Le = Ee(!1);
4194
- var Li = Object.defineProperty, Ri = Object.defineProperties, $i = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, Gi = Object.prototype.hasOwnProperty, Ui = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Di = (e, t) => {
4195
- for (var r in t || (t = {}))
4196
- Gi.call(t, r) && Ct(e, r, t[r]);
4197
- if (At)
4198
- for (var r of At(t))
4199
- Ui.call(t, r) && Ct(e, r, t[r]);
4154
+ }, Pi = Ci;
4155
+ function J() {
4156
+ return Pi;
4157
+ }
4158
+ const Ie = _e(!1);
4159
+ var Oi = Object.defineProperty, Ii = Object.defineProperties, Ni = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Mi = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ri = (e, t) => {
4160
+ for (var r in t)
4161
+ Mi.call(t, r) && Tt(e, r, t[r]);
4162
+ if (wt)
4163
+ for (var r of wt(t))
4164
+ Li.call(t, r) && Tt(e, r, t[r]);
4200
4165
  return e;
4201
- }, Fi = (e, t) => Ri(e, $i(t));
4202
- let et;
4203
- const ye = Ee(null);
4204
- function Pt(e) {
4166
+ }, $i = (e, t) => Ii(e, Ni(t));
4167
+ let Qe;
4168
+ const ye = _e(null);
4169
+ function Ht(e) {
4205
4170
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4206
4171
  }
4207
- function Te(e, t = Q().fallbackLocale) {
4208
- const r = Pt(e);
4209
- return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
4172
+ function Se(e, t = J().fallbackLocale) {
4173
+ const r = Ht(e);
4174
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
4210
4175
  }
4211
4176
  function U() {
4212
- return et != null ? et : void 0;
4177
+ return Qe != null ? Qe : void 0;
4213
4178
  }
4214
4179
  ye.subscribe((e) => {
4215
- et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4180
+ Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4216
4181
  });
4217
- const ji = (e) => {
4218
- if (e && Ai(e) && Ke(e)) {
4219
- const { loadingDelay: t } = Q();
4182
+ const Gi = (e) => {
4183
+ if (e && wi(e) && Ze(e)) {
4184
+ const { loadingDelay: t } = J();
4220
4185
  let r;
4221
4186
  return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
4222
- () => Le.set(!0),
4187
+ () => Ie.set(!0),
4223
4188
  t
4224
- ) : Le.set(!0), br(e).then(() => {
4189
+ ) : Ie.set(!0), cr(e).then(() => {
4225
4190
  ye.set(e);
4226
4191
  }).finally(() => {
4227
- clearTimeout(r), Le.set(!1);
4192
+ clearTimeout(r), Ie.set(!1);
4228
4193
  });
4229
4194
  }
4230
4195
  return ye.set(e);
4231
- }, K = Fi(Di({}, ye), {
4232
- set: ji
4233
- }), He = (e) => {
4196
+ }, ee = $i(Ri({}, ye), {
4197
+ set: Gi
4198
+ }), we = (e) => {
4234
4199
  const t = /* @__PURE__ */ Object.create(null);
4235
4200
  return (n) => {
4236
4201
  const i = JSON.stringify(n);
4237
4202
  return i in t ? t[i] : t[i] = e(n);
4238
4203
  };
4239
4204
  };
4240
- var ki = Object.defineProperty, _e = Object.getOwnPropertySymbols, gr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
4205
+ var Ui = Object.defineProperty, ve = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4241
4206
  for (var r in t || (t = {}))
4242
- gr.call(t, r) && Ot(e, r, t[r]);
4243
- if (_e)
4244
- for (var r of _e(t))
4245
- vr.call(t, r) && Ot(e, r, t[r]);
4207
+ dr.call(t, r) && Bt(e, r, t[r]);
4208
+ if (ve)
4209
+ for (var r of ve(t))
4210
+ mr.call(t, r) && Bt(e, r, t[r]);
4246
4211
  return e;
4247
- }, ee = (e, t) => {
4212
+ }, te = (e, t) => {
4248
4213
  var r = {};
4249
4214
  for (var n in e)
4250
- gr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4251
- if (e != null && _e)
4252
- for (var n of _e(e))
4253
- t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
4215
+ dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4216
+ if (e != null && ve)
4217
+ for (var n of ve(e))
4218
+ t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
4254
4219
  return r;
4255
4220
  };
4256
- const oe = (e, t) => {
4257
- const { formats: r } = Q();
4221
+ const se = (e, t) => {
4222
+ const { formats: r } = J();
4258
4223
  if (e in r && t in r[e])
4259
4224
  return r[e][t];
4260
4225
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4261
- }, Vi = He(
4226
+ }, Di = we(
4262
4227
  (e) => {
4263
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4228
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4264
4229
  if (r == null)
4265
4230
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4266
- return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4231
+ return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4267
4232
  }
4268
- ), Xi = He(
4233
+ ), Fi = we(
4269
4234
  (e) => {
4270
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4235
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4271
4236
  if (r == null)
4272
4237
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4273
- return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4238
+ return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4274
4239
  }
4275
- ), zi = He(
4240
+ ), ji = we(
4276
4241
  (e) => {
4277
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4242
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4278
4243
  if (r == null)
4279
4244
  throw new Error(
4280
4245
  '[svelte-i18n] A "locale" must be set to format time values'
4281
4246
  );
4282
- return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4247
+ return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4283
4248
  }
4284
- ), Wi = (e = {}) => {
4249
+ ), ki = (e = {}) => {
4285
4250
  var t = e, {
4286
4251
  locale: r = U()
4287
- } = t, n = ee(t, [
4252
+ } = t, n = te(t, [
4288
4253
  "locale"
4289
4254
  ]);
4290
- return Vi(nt({ locale: r }, n));
4291
- }, Zi = (e = {}) => {
4255
+ return Di(Ke({ locale: r }, n));
4256
+ }, Vi = (e = {}) => {
4292
4257
  var t = e, {
4293
4258
  locale: r = U()
4294
- } = t, n = ee(t, [
4259
+ } = t, n = te(t, [
4295
4260
  "locale"
4296
4261
  ]);
4297
- return Xi(nt({ locale: r }, n));
4298
- }, Qi = (e = {}) => {
4262
+ return Fi(Ke({ locale: r }, n));
4263
+ }, Xi = (e = {}) => {
4299
4264
  var t = e, {
4300
4265
  locale: r = U()
4301
- } = t, n = ee(t, [
4266
+ } = t, n = te(t, [
4302
4267
  "locale"
4303
4268
  ]);
4304
- return zi(nt({ locale: r }, n));
4305
- }, Ji = He(
4269
+ return ji(Ke({ locale: r }, n));
4270
+ }, zi = we(
4306
4271
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4307
- (e, t = U()) => new Si(e, t, Q().formats, {
4308
- ignoreTag: Q().ignoreTag
4272
+ (e, t = U()) => new vi(e, t, J().formats, {
4273
+ ignoreTag: J().ignoreTag
4309
4274
  })
4310
- ), qi = (e, t = {}) => {
4275
+ ), Wi = (e, t = {}) => {
4311
4276
  var r, n, i, o;
4312
4277
  let s = t;
4313
4278
  typeof e == "object" && (s = e, e = s.id);
@@ -4320,39 +4285,39 @@ const oe = (e, t) => {
4320
4285
  throw new Error(
4321
4286
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4322
4287
  );
4323
- let h = fr(e, l);
4288
+ let h = ur(e, l);
4324
4289
  if (!h)
4325
- h = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4290
+ 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;
4326
4291
  else if (typeof h != "string")
4327
4292
  return console.warn(
4328
4293
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4329
4294
  ), h;
4330
4295
  if (!a)
4331
4296
  return h;
4332
- let c = h;
4297
+ let f = h;
4333
4298
  try {
4334
- c = Ji(h, l).format(a);
4335
- } catch (f) {
4336
- f instanceof Error && console.warn(
4299
+ f = zi(h, l).format(a);
4300
+ } catch (c) {
4301
+ c instanceof Error && console.warn(
4337
4302
  `[svelte-i18n] Message "${e}" has syntax error:`,
4338
- f.message
4303
+ c.message
4339
4304
  );
4340
4305
  }
4341
- return c;
4342
- }, Yi = (e, t) => Qi(t).format(e), Ki = (e, t) => Zi(t).format(e), eo = (e, t) => Wi(t).format(e), to = (e, t = U()) => fr(e, t), ro = Y([K, ue], () => qi);
4343
- Y([K], () => Yi);
4344
- Y([K], () => Ki);
4345
- Y([K], () => eo);
4346
- Y([K, ue], () => to);
4347
- window.emWidgets = { topic: dn };
4348
- const no = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4349
- function io(e, t) {
4306
+ return f;
4307
+ }, Zi = (e, t) => Xi(t).format(e), Qi = (e, t) => Vi(t).format(e), Ji = (e, t) => ki(t).format(e), qi = (e, t = U()) => ur(e, t), Yi = K([ee, ue], () => Wi);
4308
+ K([ee], () => Zi);
4309
+ K([ee], () => Qi);
4310
+ K([ee], () => Ji);
4311
+ K([ee, ue], () => qi);
4312
+ window.emWidgets = { topic: cn };
4313
+ const Ki = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4314
+ function eo(e, t) {
4350
4315
  if (e) {
4351
4316
  const r = document.createElement("style");
4352
4317
  r.innerHTML = t, e.appendChild(r);
4353
4318
  }
4354
4319
  }
4355
- function oo(e, t) {
4320
+ function to(e, t) {
4356
4321
  const r = new URL(t);
4357
4322
  fetch(r.href).then((n) => n.text()).then((n) => {
4358
4323
  const i = document.createElement("style");
@@ -4361,7 +4326,7 @@ function oo(e, t) {
4361
4326
  console.error("There was an error while trying to load client styling from URL", n);
4362
4327
  });
4363
4328
  }
4364
- function so(e, t, r) {
4329
+ function ro(e, t, r) {
4365
4330
  if (window.emMessageBus) {
4366
4331
  const n = document.createElement("style");
4367
4332
  window.emMessageBus.subscribe(t, (i) => {
@@ -4369,13 +4334,13 @@ function so(e, t, r) {
4369
4334
  });
4370
4335
  }
4371
4336
  }
4372
- function It(e, t) {
4373
- pr(e, t);
4337
+ function At(e, t) {
4338
+ hr(e, t);
4374
4339
  }
4375
- function ao(e) {
4376
- K.set(e);
4340
+ function no(e) {
4341
+ ee.set(e);
4377
4342
  }
4378
- const Mt = {
4343
+ const Ct = {
4379
4344
  en: {
4380
4345
  cancel: "Cancel",
4381
4346
  confirm: "Confirm"
@@ -4421,36 +4386,36 @@ const Mt = {
4421
4386
  confirm: "Confirm"
4422
4387
  }
4423
4388
  };
4424
- function uo(e) {
4425
- Nr(e, "svelte-s0xip8", '*,*::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, 10px);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, 10px)}.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}');
4389
+ function io(e) {
4390
+ Pr(e, "svelte-s0xip8", '*,*::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, 10px);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, 10px)}.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}');
4426
4391
  }
4427
- const lo = (e) => ({}), Nt = (e) => ({});
4428
- function ho(e) {
4392
+ const oo = (e) => ({}), Pt = (e) => ({});
4393
+ function so(e) {
4429
4394
  let t, r;
4430
4395
  return {
4431
4396
  c() {
4432
- t = ht("svg"), r = ht("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");
4397
+ t = st("svg"), r = st("path"), T(r, "stroke-linecap", "round"), T(r, "stroke-linejoin", "round"), T(r, "stroke-width", "2"), T(r, "d", "M6 18L18 6M6 6l12 12"), T(t, "class", "w-6 h-6"), T(t, "fill", "none"), T(t, "stroke", "currentColor"), T(t, "viewBox", "0 0 24 24"), T(t, "xmlns", "http://www.w3.org/2000/svg");
4433
4398
  },
4434
4399
  m(n, i) {
4435
- se(n, t, i), B(t, r);
4400
+ ae(n, t, i), B(t, r);
4436
4401
  },
4437
- p: R,
4402
+ p: L,
4438
4403
  d(n) {
4439
- n && q(t);
4404
+ n && Y(t);
4440
4405
  }
4441
4406
  };
4442
4407
  }
4443
- function Lt(e) {
4408
+ function Ot(e) {
4444
4409
  let t, r, n;
4445
4410
  return {
4446
4411
  c() {
4447
- t = N("div"), r = N("h2"), n = X(
4412
+ t = M("div"), r = M("h2"), n = z(
4448
4413
  /*modaltitle*/
4449
4414
  e[1]
4450
- ), H(t, "class", "GeneralConfirmationTitle");
4415
+ ), T(t, "class", "GeneralConfirmationTitle");
4451
4416
  },
4452
4417
  m(i, o) {
4453
- se(i, t, o), B(t, r), B(r, n);
4418
+ ae(i, t, o), B(t, r), B(r, n);
4454
4419
  },
4455
4420
  p(i, o) {
4456
4421
  o & /*modaltitle*/
@@ -4461,21 +4426,21 @@ function Lt(e) {
4461
4426
  );
4462
4427
  },
4463
4428
  d(i) {
4464
- i && q(t);
4429
+ i && Y(t);
4465
4430
  }
4466
4431
  };
4467
4432
  }
4468
- function Rt(e) {
4433
+ function It(e) {
4469
4434
  let t, r = (
4470
4435
  /*$_*/
4471
4436
  e[4]("cancel") + ""
4472
4437
  ), n, i, o;
4473
4438
  return {
4474
4439
  c() {
4475
- t = N("button"), n = X(r), H(t, "class", "GeneralCancelButton");
4440
+ t = M("button"), n = z(r), T(t, "class", "GeneralCancelButton");
4476
4441
  },
4477
4442
  m(s, a) {
4478
- se(s, t, a), B(t, n), i || (o = Re(
4443
+ ae(s, t, a), B(t, n), i || (o = Ne(
4479
4444
  t,
4480
4445
  "click",
4481
4446
  /*click_handler*/
@@ -4488,170 +4453,170 @@ function Rt(e) {
4488
4453
  s[4]("cancel") + "") && ge(n, r);
4489
4454
  },
4490
4455
  d(s) {
4491
- s && q(t), i = !1, o();
4456
+ s && Y(t), i = !1, o();
4492
4457
  }
4493
4458
  };
4494
4459
  }
4495
- function co(e) {
4496
- let t, r, n, i, o, s, a, l, u, h, c, f = (
4460
+ function ao(e) {
4461
+ let t, r, n, i, o, s, a, l, u, h, f, c = (
4497
4462
  /*$_*/
4498
4463
  e[4]("confirm") + ""
4499
- ), m, p, d, S;
4500
- const M = (
4464
+ ), d, m, p, w;
4465
+ const N = (
4501
4466
  /*#slots*/
4502
4467
  e[16].close
4503
- ), C = Pr(
4504
- M,
4468
+ ), C = Hr(
4469
+ N,
4505
4470
  e,
4506
4471
  /*$$scope*/
4507
4472
  e[15],
4508
- Nt
4509
- ), w = C || ho();
4473
+ Pt
4474
+ ), H = C || so();
4510
4475
  let _ = (
4511
4476
  /*modaltitle*/
4512
- e[1] && Lt(e)
4513
- ), x = (
4477
+ e[1] && Ot(e)
4478
+ ), E = (
4514
4479
  /*hascancelbutton*/
4515
- e[2] && Rt(e)
4480
+ e[2] && It(e)
4516
4481
  );
4517
4482
  return {
4518
4483
  c() {
4519
- t = N("div"), r = N("div"), n = N("span"), w && w.c(), i = le(), _ && _.c(), o = le(), s = N("div"), a = X(
4484
+ t = M("div"), r = M("div"), n = M("span"), H.c(), i = le(), _ && _.c(), o = le(), s = M("div"), a = z(
4520
4485
  /*modaltext*/
4521
4486
  e[0]
4522
- ), l = le(), u = N("div"), x && x.c(), h = le(), c = N("button"), m = X(f), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(s, "class", "GeneralConfirmationContent"), H(c, "class", "GeneralConfirmButton"), H(u, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4523
- (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4524
- (e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4487
+ ), l = le(), u = M("div"), E && E.c(), h = le(), f = M("button"), d = z(c), T(n, "class", "ModalCloseBtn"), T(n, "role", "button"), T(s, "class", "GeneralConfirmationContent"), T(f, "class", "GeneralConfirmButton"), T(u, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4488
+ (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), T(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4489
+ (e[5] ? "GeneralConfirmationContainerMobile" : "")), T(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4525
4490
  (e[5] ? "GeneralConfirmationMobileWrapper" : ""));
4526
4491
  },
4527
- m(y, P) {
4528
- se(y, t, P), B(t, r), B(r, n), w && w.m(n, null), B(r, i), _ && _.m(r, null), B(r, o), B(r, s), B(s, a), B(r, l), B(r, u), x && x.m(u, null), B(u, h), B(u, c), B(c, m), e[19](t), p = !0, d || (S = [
4529
- Re(
4492
+ m(x, P) {
4493
+ ae(x, t, P), B(t, r), B(r, n), H.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, f), B(f, d), e[19](t), m = !0, p || (w = [
4494
+ Ne(
4530
4495
  n,
4531
4496
  "click",
4532
4497
  /*close*/
4533
4498
  e[6]
4534
4499
  ),
4535
- Re(
4536
- c,
4500
+ Ne(
4501
+ f,
4537
4502
  "click",
4538
4503
  /*click_handler_1*/
4539
4504
  e[18]
4540
4505
  )
4541
- ], d = !0);
4506
+ ], p = !0);
4542
4507
  },
4543
- p(y, [P]) {
4544
- C && C.p && (!p || P & /*$$scope*/
4545
- 32768) && Ir(
4508
+ p(x, [P]) {
4509
+ C && C.p && (!m || P & /*$$scope*/
4510
+ 32768) && Ar(
4546
4511
  C,
4547
- M,
4548
- y,
4512
+ N,
4513
+ x,
4549
4514
  /*$$scope*/
4550
- y[15],
4551
- p ? Or(
4552
- M,
4515
+ x[15],
4516
+ m ? Br(
4517
+ N,
4553
4518
  /*$$scope*/
4554
- y[15],
4519
+ x[15],
4555
4520
  P,
4556
- lo
4557
- ) : Mr(
4521
+ oo
4522
+ ) : Cr(
4558
4523
  /*$$scope*/
4559
- y[15]
4524
+ x[15]
4560
4525
  ),
4561
- Nt
4526
+ Pt
4562
4527
  ), /*modaltitle*/
4563
- y[1] ? _ ? _.p(y, P) : (_ = Lt(y), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!p || P & /*modaltext*/
4528
+ x[1] ? _ ? _.p(x, P) : (_ = Ot(x), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!m || P & /*modaltext*/
4564
4529
  1) && ge(
4565
4530
  a,
4566
4531
  /*modaltext*/
4567
- y[0]
4532
+ x[0]
4568
4533
  ), /*hascancelbutton*/
4569
- y[2] ? x ? x.p(y, P) : (x = Rt(y), x.c(), x.m(u, h)) : x && (x.d(1), x = null), (!p || P & /*$_*/
4570
- 16) && f !== (f = /*$_*/
4571
- y[4]("confirm") + "") && ge(m, f);
4534
+ x[2] ? E ? E.p(x, P) : (E = It(x), E.c(), E.m(u, h)) : E && (E.d(1), E = null), (!m || P & /*$_*/
4535
+ 16) && c !== (c = /*$_*/
4536
+ x[4]("confirm") + "") && ge(d, c);
4572
4537
  },
4573
- i(y) {
4574
- p || (Ft(w, y), p = !0);
4538
+ i(x) {
4539
+ m || ($t(H, x), m = !0);
4575
4540
  },
4576
- o(y) {
4577
- zr(w, y), p = !1;
4541
+ o(x) {
4542
+ jr(H, x), m = !1;
4578
4543
  },
4579
- d(y) {
4580
- y && q(t), w && w.d(y), _ && _.d(), x && x.d(), e[19](null), d = !1, J(S);
4544
+ d(x) {
4545
+ x && Y(t), H.d(x), _ && _.d(), E && E.d(), e[19](null), p = !1, q(w);
4581
4546
  }
4582
4547
  };
4583
4548
  }
4584
- function fo(e, t, r) {
4549
+ function uo(e, t, r) {
4585
4550
  let n;
4586
- Cr(e, ro, (g) => r(4, n = g));
4587
- 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: p = "" } = t, { mbsource: d } = t, S, M = window.navigator.userAgent, C = no(M) !== "PC";
4588
- const w = () => {
4551
+ Tr(e, Yi, (g) => r(4, n = g));
4552
+ 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: f = "en" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: m = "" } = t, { mbsource: p } = t, w, N = window.navigator.userAgent, C = Ki(N) !== "PC";
4553
+ const H = () => {
4589
4554
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4590
4555
  }, _ = (g) => {
4591
- g === "confirm" && u && window.postMessage(u, window.location.href), g === "cancel" && h && window.postMessage(h, window.location.href), w();
4592
- }, x = () => {
4593
- fetch(p).then((D) => D.json()).then((D) => {
4594
- Object.keys(D).forEach((it) => {
4595
- It(it, D[it]);
4556
+ g === "confirm" && u && window.postMessage(u, window.location.href), g === "cancel" && h && window.postMessage(h, window.location.href), H();
4557
+ }, E = () => {
4558
+ fetch(m).then((D) => D.json()).then((D) => {
4559
+ Object.keys(D).forEach((et) => {
4560
+ At(et, D[et]);
4596
4561
  });
4597
4562
  }).catch((D) => {
4598
4563
  console.log(D);
4599
4564
  });
4600
4565
  };
4601
- Object.keys(Mt).forEach((g) => {
4602
- It(g, Mt[g]);
4566
+ Object.keys(Ct).forEach((g) => {
4567
+ At(g, Ct[g]);
4603
4568
  });
4604
- const y = () => {
4605
- ao(c);
4569
+ const x = () => {
4570
+ no(f);
4606
4571
  };
4607
- Dr(() => () => {
4572
+ Rr(() => () => {
4608
4573
  });
4609
- const P = () => _("cancel"), _r = () => _("confirm");
4610
- function xr(g) {
4611
- $e[g ? "unshift" : "push"](() => {
4612
- S = g, r(3, S);
4574
+ const P = () => _("cancel"), br = () => _("confirm");
4575
+ function gr(g) {
4576
+ Me[g ? "unshift" : "push"](() => {
4577
+ w = g, r(3, w);
4613
4578
  });
4614
4579
  }
4615
4580
  return e.$$set = (g) => {
4616
- "modaltext" in g && r(0, s = g.modaltext), "modaltitle" in g && r(1, a = g.modaltitle), "hascancelbutton" in g && r(2, l = g.hascancelbutton), "modalconfirmevent" in g && r(8, u = g.modalconfirmevent), "modalcancelevent" in g && r(9, h = g.modalcancelevent), "lang" in g && r(10, c = g.lang), "clientstyling" in g && r(11, f = g.clientstyling), "clientstylingurl" in g && r(12, m = g.clientstylingurl), "translationurl" in g && r(13, p = g.translationurl), "mbsource" in g && r(14, d = g.mbsource), "$$scope" in g && r(15, o = g.$$scope);
4581
+ "modaltext" in g && r(0, s = g.modaltext), "modaltitle" in g && r(1, a = g.modaltitle), "hascancelbutton" in g && r(2, l = g.hascancelbutton), "modalconfirmevent" in g && r(8, u = g.modalconfirmevent), "modalcancelevent" in g && r(9, h = g.modalcancelevent), "lang" in g && r(10, f = g.lang), "clientstyling" in g && r(11, c = g.clientstyling), "clientstylingurl" in g && r(12, d = g.clientstylingurl), "translationurl" in g && r(13, m = g.translationurl), "mbsource" in g && r(14, p = g.mbsource), "$$scope" in g && r(15, o = g.$$scope);
4617
4582
  }, e.$$.update = () => {
4618
4583
  e.$$.dirty & /*modaltext, lang*/
4619
- 1025 && s && c && y(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4620
- 2056 && f && S && io(S, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4621
- 4104 && m && S && oo(S, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4622
- 16392 && d && S && so(S, `${d}.Style`), e.$$.dirty & /*translationurl*/
4623
- 8192 && p && x();
4584
+ 1025 && s && f && x(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4585
+ 2056 && c && w && eo(w, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4586
+ 4104 && d && w && to(w, d), e.$$.dirty & /*mbsource, customStylingContainer*/
4587
+ 16392 && p && w && ro(w, `${p}.Style`), e.$$.dirty & /*translationurl*/
4588
+ 8192 && m && E();
4624
4589
  }, [
4625
4590
  s,
4626
4591
  a,
4627
4592
  l,
4628
- S,
4593
+ w,
4629
4594
  n,
4630
4595
  C,
4631
- w,
4596
+ H,
4632
4597
  _,
4633
4598
  u,
4634
4599
  h,
4635
- c,
4636
4600
  f,
4601
+ c,
4602
+ d,
4637
4603
  m,
4638
4604
  p,
4639
- d,
4640
4605
  o,
4641
4606
  i,
4642
4607
  P,
4643
- _r,
4644
- xr
4608
+ br,
4609
+ gr
4645
4610
  ];
4646
4611
  }
4647
- class yr extends Yr {
4612
+ class pr extends Zr {
4648
4613
  constructor(t) {
4649
- super(), Jr(
4614
+ super(), zr(
4650
4615
  this,
4651
4616
  t,
4652
- fo,
4653
- co,
4654
- Gt,
4617
+ uo,
4618
+ ao,
4619
+ Mt,
4655
4620
  {
4656
4621
  modaltext: 0,
4657
4622
  modaltitle: 1,
@@ -4664,7 +4629,7 @@ class yr extends Yr {
4664
4629
  translationurl: 13,
4665
4630
  mbsource: 14
4666
4631
  },
4667
- uo
4632
+ io
4668
4633
  );
4669
4634
  }
4670
4635
  get modaltext() {
@@ -4728,50 +4693,50 @@ class yr extends Yr {
4728
4693
  this.$$set({ mbsource: t }), I();
4729
4694
  }
4730
4695
  }
4731
- qr(yr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4732
- const wo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4696
+ Wr(pr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4697
+ const xo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4733
4698
  __proto__: null,
4734
- default: yr
4699
+ default: pr
4735
4700
  }, Symbol.toStringTag, { value: "Module" }));
4736
4701
  export {
4737
- K as $,
4738
- _o as A,
4739
- Re as B,
4740
- X as C,
4741
- bo as D,
4742
- Ue as E,
4743
- ht as F,
4744
- vo as G,
4745
- ro as H,
4746
- io as I,
4747
- oo as J,
4748
- so as K,
4749
- wo as P,
4750
- Yr as S,
4751
- pr as a,
4752
- qr as b,
4753
- So as c,
4754
- Nr as d,
4755
- q as e,
4702
+ ee as $,
4703
+ B as A,
4704
+ bo as B,
4705
+ Ne as C,
4706
+ ge as D,
4707
+ ho as E,
4708
+ q as F,
4709
+ co as G,
4710
+ po as H,
4711
+ st as I,
4712
+ mo as J,
4713
+ Yi as K,
4714
+ xo as P,
4715
+ Zr as S,
4716
+ hr as a,
4717
+ Wr as b,
4718
+ vo as c,
4719
+ Pr as d,
4720
+ M as e,
4756
4721
  I as f,
4757
- en as g,
4758
- se as h,
4759
- Jr as i,
4760
- N as j,
4761
- Cr as k,
4762
- no as l,
4763
- xo as m,
4764
- R as n,
4765
- Dr as o,
4766
- $e as p,
4767
- B as q,
4768
- le as r,
4769
- Gt as s,
4770
- go as t,
4722
+ Jr as g,
4723
+ ae as h,
4724
+ zr as i,
4725
+ Y as j,
4726
+ Tr as k,
4727
+ Ki as l,
4728
+ go as m,
4729
+ L as n,
4730
+ Rr as o,
4731
+ Me as p,
4732
+ eo as q,
4733
+ to as r,
4734
+ Mt as s,
4735
+ ro as t,
4771
4736
  yo as u,
4772
- H as v,
4773
- Eo as w,
4774
- po as x,
4775
- J as y,
4776
- ge as z
4737
+ le as v,
4738
+ z as w,
4739
+ fo as x,
4740
+ T as y,
4741
+ Re as z
4777
4742
  };