@everymatrix/player-account-product-restriction 1.77.20 → 1.77.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Cr = Object.defineProperty, Pr = Object.defineProperties;
2
- var Or = Object.getOwnPropertyDescriptors;
3
- var ut = Object.getOwnPropertySymbols;
4
- var Ir = Object.prototype.hasOwnProperty, Mr = Object.prototype.propertyIsEnumerable;
5
- var Oe = (e, t, r) => t in e ? Cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
1
+ var Nr = Object.defineProperty, Lr = Object.defineProperties;
2
+ var $r = Object.getOwnPropertyDescriptors;
3
+ var mt = Object.getOwnPropertySymbols;
4
+ var Rr = Object.prototype.hasOwnProperty, Gr = Object.prototype.propertyIsEnumerable;
5
+ var Me = (e, t, r) => t in e ? Nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Ir.call(t, r) && Oe(e, r, t[r]);
8
- if (ut)
9
- for (var r of ut(t))
10
- Mr.call(t, r) && Oe(e, r, t[r]);
7
+ Rr.call(t, r) && Me(e, r, t[r]);
8
+ if (mt)
9
+ for (var r of mt(t))
10
+ Gr.call(t, r) && Me(e, r, t[r]);
11
11
  return e;
12
- }, ht = (e, t) => Pr(e, Or(t));
13
- var O = (e, t, r) => (Oe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ct = (e, t, r) => new Promise((n, i) => {
12
+ }, dt = (e, t) => Lr(e, $r(t));
13
+ var O = (e, t, r) => (Me(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var bt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -29,8 +29,8 @@ var ct = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function N() {
31
31
  }
32
- const Nr = (e) => e;
33
- function Lr(e, t) {
32
+ const Ur = (e) => e;
33
+ function Dr(e, t) {
34
34
  for (const r in t)
35
35
  e[r] = t[r];
36
36
  return (
@@ -38,25 +38,25 @@ function Lr(e, t) {
38
38
  e
39
39
  );
40
40
  }
41
- function Ft(e) {
41
+ function zt(e) {
42
42
  return e();
43
43
  }
44
- function ft() {
44
+ function gt() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
47
  function U(e) {
48
- e.forEach(Ft);
48
+ e.forEach(zt);
49
49
  }
50
- function Te(e) {
50
+ function He(e) {
51
51
  return typeof e == "function";
52
52
  }
53
- function jt(e, t) {
53
+ function Wt(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
- function Rr(e) {
56
+ function Fr(e) {
57
57
  return Object.keys(e).length === 0;
58
58
  }
59
- function kt(e, ...t) {
59
+ function Zt(e, ...t) {
60
60
  if (e == null) {
61
61
  for (const n of t)
62
62
  n(void 0);
@@ -65,19 +65,19 @@ function kt(e, ...t) {
65
65
  const r = e.subscribe(...t);
66
66
  return r.unsubscribe ? () => r.unsubscribe() : r;
67
67
  }
68
- function $r(e, t, r) {
69
- e.$$.on_destroy.push(kt(t, r));
68
+ function jr(e, t, r) {
69
+ e.$$.on_destroy.push(Zt(t, r));
70
70
  }
71
- function Gr(e, t, r, n) {
71
+ function kr(e, t, r, n) {
72
72
  if (e) {
73
- const i = Vt(e, t, r, n);
73
+ const i = Qt(e, t, r, n);
74
74
  return e[0](i);
75
75
  }
76
76
  }
77
- function Vt(e, t, r, n) {
78
- return e[1] && n ? Lr(r.ctx.slice(), e[1](n(t))) : r.ctx;
77
+ function Qt(e, t, r, n) {
78
+ return e[1] && n ? Dr(r.ctx.slice(), e[1](n(t))) : r.ctx;
79
79
  }
80
- function Ur(e, t, r, n) {
80
+ function Vr(e, t, r, n) {
81
81
  if (e[2] && n) {
82
82
  const i = e[2](n(r));
83
83
  if (t.dirty === void 0)
@@ -92,13 +92,13 @@ function Ur(e, t, r, n) {
92
92
  }
93
93
  return t.dirty;
94
94
  }
95
- function Dr(e, t, r, n, i, o) {
95
+ function Xr(e, t, r, n, i, o) {
96
96
  if (i) {
97
- const s = Vt(t, r, n, o);
97
+ const s = Qt(t, r, n, o);
98
98
  e.p(s, i);
99
99
  }
100
100
  }
101
- function Fr(e) {
101
+ function zr(e) {
102
102
  if (e.ctx.length > 32) {
103
103
  const t = [], r = e.ctx.length / 32;
104
104
  for (let n = 0; n < r; n++)
@@ -107,17 +107,17 @@ function Fr(e) {
107
107
  }
108
108
  return -1;
109
109
  }
110
- const Xt = typeof window != "undefined";
111
- let jr = Xt ? () => window.performance.now() : () => Date.now(), rt = Xt ? (e) => requestAnimationFrame(e) : N;
110
+ const Jt = typeof window != "undefined";
111
+ let Wr = Jt ? () => window.performance.now() : () => Date.now(), at = Jt ? (e) => requestAnimationFrame(e) : N;
112
112
  const z = /* @__PURE__ */ new Set();
113
- function zt(e) {
113
+ function qt(e) {
114
114
  z.forEach((t) => {
115
115
  t.c(e) || (z.delete(t), t.f());
116
- }), z.size !== 0 && rt(zt);
116
+ }), z.size !== 0 && at(qt);
117
117
  }
118
- function kr(e) {
118
+ function Zr(e) {
119
119
  let t;
120
- return z.size === 0 && rt(zt), {
120
+ return z.size === 0 && at(qt), {
121
121
  promise: new Promise((r) => {
122
122
  z.add(t = { c: e, f: r });
123
123
  }),
@@ -129,14 +129,14 @@ function kr(e) {
129
129
  function C(e, t) {
130
130
  e.appendChild(t);
131
131
  }
132
- function Vr(e, t, r) {
133
- const n = nt(e);
132
+ function Qr(e, t, r) {
133
+ const n = ut(e);
134
134
  if (!n.getElementById(t)) {
135
135
  const i = M("style");
136
- i.id = t, i.textContent = r, Wt(n, i);
136
+ i.id = t, i.textContent = r, Yt(n, i);
137
137
  }
138
138
  }
139
- function nt(e) {
139
+ function ut(e) {
140
140
  if (!e)
141
141
  return document;
142
142
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -146,66 +146,66 @@ function nt(e) {
146
146
  t
147
147
  ) : e.ownerDocument;
148
148
  }
149
- function Xr(e) {
149
+ function Jr(e) {
150
150
  const t = M("style");
151
- return t.textContent = "/* empty */", Wt(nt(e), t), t.sheet;
151
+ return t.textContent = "/* empty */", Yt(ut(e), t), t.sheet;
152
152
  }
153
- function Wt(e, t) {
153
+ function Yt(e, t) {
154
154
  return C(
155
155
  /** @type {Document} */
156
156
  e.head || e,
157
157
  t
158
158
  ), t.sheet;
159
159
  }
160
- function ue(e, t, r) {
160
+ function ae(e, t, r) {
161
161
  e.insertBefore(t, r || null);
162
162
  }
163
163
  function D(e) {
164
164
  e.parentNode && e.parentNode.removeChild(e);
165
165
  }
166
- function Po(e, t) {
166
+ function Lo(e, t) {
167
167
  for (let r = 0; r < e.length; r += 1)
168
168
  e[r] && e[r].d(t);
169
169
  }
170
170
  function M(e) {
171
171
  return document.createElement(e);
172
172
  }
173
- function mt(e) {
173
+ function yt(e) {
174
174
  return document.createElementNS("http://www.w3.org/2000/svg", e);
175
175
  }
176
- function le(e) {
176
+ function ue(e) {
177
177
  return document.createTextNode(e);
178
178
  }
179
179
  function fe() {
180
- return le(" ");
180
+ return ue(" ");
181
181
  }
182
- function Oo() {
183
- return le("");
182
+ function $o() {
183
+ return ue("");
184
184
  }
185
- function De(e, t, r, n) {
185
+ function ke(e, t, r, n) {
186
186
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
187
187
  }
188
188
  function H(e, t, r) {
189
189
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
190
190
  }
191
- function Io(e, t, r) {
191
+ function Ro(e, t, r) {
192
192
  const n = t.toLowerCase();
193
193
  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);
194
194
  }
195
- function zr(e) {
195
+ function qr(e) {
196
196
  return Array.from(e.childNodes);
197
197
  }
198
- function it(e, t) {
198
+ function lt(e, t) {
199
199
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
200
200
  t);
201
201
  }
202
- function Mo(e, t, r) {
202
+ function Go(e, t, r) {
203
203
  e.classList.toggle(t, !!r);
204
204
  }
205
- function Wr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
205
+ function Yr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
206
206
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
207
207
  }
208
- function Zr(e) {
208
+ function Kr(e) {
209
209
  const t = {};
210
210
  return e.childNodes.forEach(
211
211
  /** @param {Element} node */
@@ -216,17 +216,17 @@ function Zr(e) {
216
216
  }
217
217
  const _e = /* @__PURE__ */ new Map();
218
218
  let xe = 0;
219
- function Qr(e) {
219
+ function en(e) {
220
220
  let t = 5381, r = e.length;
221
221
  for (; r--; )
222
222
  t = (t << 5) - t ^ e.charCodeAt(r);
223
223
  return t >>> 0;
224
224
  }
225
- function Jr(e, t) {
226
- const r = { stylesheet: Xr(t), rules: {} };
225
+ function tn(e, t) {
226
+ const r = { stylesheet: Jr(t), rules: {} };
227
227
  return _e.set(e, r), r;
228
228
  }
229
- function dt(e, t, r, n, i, o, s, a = 0) {
229
+ function vt(e, t, r, n, i, o, s, a = 0) {
230
230
  const l = 16.666 / n;
231
231
  let u = `{
232
232
  `;
@@ -236,156 +236,156 @@ function dt(e, t, r, n, i, o, s, a = 0) {
236
236
  `;
237
237
  }
238
238
  const h = u + `100% {${s(r, 1 - r)}}
239
- }`, c = `__svelte_${Qr(h)}_${a}`, f = nt(e), { stylesheet: d, rules: m } = _e.get(f) || Jr(f, e);
240
- m[c] || (m[c] = !0, d.insertRule(`@keyframes ${c} ${h}`, d.cssRules.length));
241
- const p = e.style.animation || "";
242
- return e.style.animation = `${p ? `${p}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, xe += 1, c;
239
+ }`, c = `__svelte_${en(h)}_${a}`, f = ut(e), { stylesheet: p, rules: m } = _e.get(f) || tn(f, e);
240
+ m[c] || (m[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
241
+ const d = e.style.animation || "";
242
+ return e.style.animation = `${d ? `${d}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, xe += 1, c;
243
243
  }
244
- function qr(e, t) {
244
+ function rn(e, t) {
245
245
  const r = (e.style.animation || "").split(", "), n = r.filter(
246
246
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
247
247
  // remove all Svelte animations
248
248
  ), i = r.length - n.length;
249
- i && (e.style.animation = n.join(", "), xe -= i, xe || Yr());
249
+ i && (e.style.animation = n.join(", "), xe -= i, xe || nn());
250
250
  }
251
- function Yr() {
252
- rt(() => {
251
+ function nn() {
252
+ at(() => {
253
253
  xe || (_e.forEach((e) => {
254
254
  const { ownerNode: t } = e.stylesheet;
255
255
  t && D(t);
256
256
  }), _e.clear());
257
257
  });
258
258
  }
259
- let oe;
260
- function ie(e) {
261
- oe = e;
259
+ let ie;
260
+ function ne(e) {
261
+ ie = e;
262
262
  }
263
- function Kr() {
264
- if (!oe)
263
+ function on() {
264
+ if (!ie)
265
265
  throw new Error("Function called outside component initialization");
266
- return oe;
266
+ return ie;
267
267
  }
268
- function en(e) {
269
- Kr().$$.on_mount.push(e);
268
+ function sn(e) {
269
+ on().$$.on_mount.push(e);
270
270
  }
271
- const X = [], Fe = [];
271
+ const X = [], Ve = [];
272
272
  let W = [];
273
- const pt = [], tn = /* @__PURE__ */ Promise.resolve();
274
- let je = !1;
275
- function rn() {
276
- je || (je = !0, tn.then(I));
273
+ const _t = [], an = /* @__PURE__ */ Promise.resolve();
274
+ let Xe = !1;
275
+ function un() {
276
+ Xe || (Xe = !0, an.then(I));
277
277
  }
278
278
  function Ee(e) {
279
279
  W.push(e);
280
280
  }
281
- const Ie = /* @__PURE__ */ new Set();
281
+ const Ne = /* @__PURE__ */ new Set();
282
282
  let k = 0;
283
283
  function I() {
284
284
  if (k !== 0)
285
285
  return;
286
- const e = oe;
286
+ const e = ie;
287
287
  do {
288
288
  try {
289
289
  for (; k < X.length; ) {
290
290
  const t = X[k];
291
- k++, ie(t), nn(t.$$);
291
+ k++, ne(t), ln(t.$$);
292
292
  }
293
293
  } catch (t) {
294
294
  throw X.length = 0, k = 0, t;
295
295
  }
296
- for (ie(null), X.length = 0, k = 0; Fe.length; )
297
- Fe.pop()();
296
+ for (ne(null), X.length = 0, k = 0; Ve.length; )
297
+ Ve.pop()();
298
298
  for (let t = 0; t < W.length; t += 1) {
299
299
  const r = W[t];
300
- Ie.has(r) || (Ie.add(r), r());
300
+ Ne.has(r) || (Ne.add(r), r());
301
301
  }
302
302
  W.length = 0;
303
303
  } while (X.length);
304
- for (; pt.length; )
305
- pt.pop()();
306
- je = !1, Ie.clear(), ie(e);
304
+ for (; _t.length; )
305
+ _t.pop()();
306
+ Xe = !1, Ne.clear(), ne(e);
307
307
  }
308
- function nn(e) {
308
+ function ln(e) {
309
309
  if (e.fragment !== null) {
310
310
  e.update(), U(e.before_update);
311
311
  const t = e.dirty;
312
312
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ee);
313
313
  }
314
314
  }
315
- function on(e) {
315
+ function hn(e) {
316
316
  const t = [], r = [];
317
317
  W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
318
318
  }
319
- let re;
320
- function sn() {
321
- return re || (re = Promise.resolve(), re.then(() => {
322
- re = null;
323
- })), re;
319
+ let te;
320
+ function cn() {
321
+ return te || (te = Promise.resolve(), te.then(() => {
322
+ te = null;
323
+ })), te;
324
324
  }
325
- function Me(e, t, r) {
326
- e.dispatchEvent(Wr(`${t ? "intro" : "outro"}${r}`));
325
+ function Le(e, t, r) {
326
+ e.dispatchEvent(Yr(`${t ? "intro" : "outro"}${r}`));
327
327
  }
328
- const pe = /* @__PURE__ */ new Set();
329
- let L;
330
- function No() {
331
- L = {
328
+ const de = /* @__PURE__ */ new Set();
329
+ let $;
330
+ function Uo() {
331
+ $ = {
332
332
  r: 0,
333
333
  c: [],
334
- p: L
334
+ p: $
335
335
  // parent group
336
336
  };
337
337
  }
338
- function Lo() {
339
- L.r || U(L.c), L = L.p;
338
+ function Do() {
339
+ $.r || U($.c), $ = $.p;
340
340
  }
341
- function Zt(e, t) {
342
- e && e.i && (pe.delete(e), e.i(t));
341
+ function Kt(e, t) {
342
+ e && e.i && (de.delete(e), e.i(t));
343
343
  }
344
- function an(e, t, r, n) {
344
+ function fn(e, t, r, n) {
345
345
  if (e && e.o) {
346
- if (pe.has(e))
346
+ if (de.has(e))
347
347
  return;
348
- pe.add(e), L.c.push(() => {
349
- pe.delete(e), n && (r && e.d(1), n());
348
+ de.add(e), $.c.push(() => {
349
+ de.delete(e), n && (r && e.d(1), n());
350
350
  }), e.o(t);
351
351
  } else
352
352
  n && n();
353
353
  }
354
- const un = { duration: 0 };
355
- function Ro(e, t, r, n) {
354
+ const mn = { duration: 0 };
355
+ function Fo(e, t, r, n) {
356
356
  let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, l = null, u = null, h;
357
357
  function c() {
358
- u && qr(e, u);
358
+ u && rn(e, u);
359
359
  }
360
- function f(m, p) {
360
+ function f(m, d) {
361
361
  const g = (
362
362
  /** @type {Program['d']} */
363
363
  m.b - s
364
364
  );
365
- return p *= Math.abs(g), {
365
+ return d *= Math.abs(g), {
366
366
  a: s,
367
367
  b: m.b,
368
368
  d: g,
369
- duration: p,
369
+ duration: d,
370
370
  start: m.start,
371
- end: m.start + p,
371
+ end: m.start + d,
372
372
  group: m.group
373
373
  };
374
374
  }
375
- function d(m) {
375
+ function p(m) {
376
376
  const {
377
- delay: p = 0,
377
+ delay: d = 0,
378
378
  duration: g = 300,
379
- easing: A = Nr,
379
+ easing: A = Ur,
380
380
  tick: T = N,
381
381
  css: x
382
- } = o || un, w = {
383
- start: jr() + p,
382
+ } = o || mn, E = {
383
+ start: Wr() + d,
384
384
  b: m
385
385
  };
386
- m || (w.group = L, L.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
387
- e.inert, e.inert = !0)), a || l ? l = w : (x && (c(), u = dt(e, s, m, g, p, A, x)), m && T(0, 1), a = f(w, g), Ee(() => Me(e, m, "start")), kr((b) => {
388
- if (l && b > l.start && (a = f(l, g), l = null, Me(e, a.b, "start"), x && (c(), u = dt(
386
+ m || (E.group = $, $.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
387
+ e.inert, e.inert = !0)), a || l ? l = E : (x && (c(), u = vt(e, s, m, g, d, A, x)), m && T(0, 1), a = f(E, g), Ee(() => Le(e, m, "start")), Zr((b) => {
388
+ if (l && b > l.start && (a = f(l, g), l = null, Le(e, a.b, "start"), x && (c(), u = vt(
389
389
  e,
390
390
  s,
391
391
  a.b,
@@ -395,7 +395,7 @@ function Ro(e, t, r, n) {
395
395
  o.css
396
396
  ))), a) {
397
397
  if (b >= a.end)
398
- T(s = a.b, 1 - s), Me(e, a.b, "end"), l || (a.b ? c() : --a.group.r || U(a.group.c)), a = null;
398
+ T(s = a.b, 1 - s), Le(e, a.b, "end"), l || (a.b ? c() : --a.group.r || U(a.group.c)), a = null;
399
399
  else if (b >= a.start) {
400
400
  const B = b - a.start;
401
401
  s = a.a + a.d * A(B / a.duration), T(s, 1 - s);
@@ -406,35 +406,35 @@ function Ro(e, t, r, n) {
406
406
  }
407
407
  return {
408
408
  run(m) {
409
- Te(o) ? sn().then(() => {
410
- o = o({ direction: m ? "in" : "out" }), d(m);
411
- }) : d(m);
409
+ He(o) ? cn().then(() => {
410
+ o = o({ direction: m ? "in" : "out" }), p(m);
411
+ }) : p(m);
412
412
  },
413
413
  end() {
414
414
  c(), a = l = null;
415
415
  }
416
416
  };
417
417
  }
418
- function $o(e) {
418
+ function jo(e) {
419
419
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
420
420
  }
421
- function ln(e, t, r) {
421
+ function pn(e, t, r) {
422
422
  const { fragment: n, after_update: i } = e.$$;
423
423
  n && n.m(t, r), Ee(() => {
424
- const o = e.$$.on_mount.map(Ft).filter(Te);
424
+ const o = e.$$.on_mount.map(zt).filter(He);
425
425
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : U(o), e.$$.on_mount = [];
426
426
  }), i.forEach(Ee);
427
427
  }
428
- function hn(e, t) {
428
+ function dn(e, t) {
429
429
  const r = e.$$;
430
- r.fragment !== null && (on(r.after_update), U(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
430
+ r.fragment !== null && (hn(r.after_update), U(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
431
431
  }
432
- function cn(e, t) {
433
- e.$$.dirty[0] === -1 && (X.push(e), rn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
432
+ function bn(e, t) {
433
+ e.$$.dirty[0] === -1 && (X.push(e), un(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
434
434
  }
435
- function fn(e, t, r, n, i, o, s = null, a = [-1]) {
436
- const l = oe;
437
- ie(e);
435
+ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
436
+ const l = ie;
437
+ ne(e);
438
438
  const u = e.$$ = {
439
439
  fragment: null,
440
440
  ctx: [],
@@ -442,7 +442,7 @@ function fn(e, t, r, n, i, o, s = null, a = [-1]) {
442
442
  props: o,
443
443
  update: N,
444
444
  not_equal: i,
445
- bound: ft(),
445
+ bound: gt(),
446
446
  // lifecycle
447
447
  on_mount: [],
448
448
  on_destroy: [],
@@ -451,28 +451,28 @@ function fn(e, t, r, n, i, o, s = null, a = [-1]) {
451
451
  after_update: [],
452
452
  context: new Map(t.context || (l ? l.$$.context : [])),
453
453
  // everything else
454
- callbacks: ft(),
454
+ callbacks: gt(),
455
455
  dirty: a,
456
456
  skip_bound: !1,
457
457
  root: t.target || l.$$.root
458
458
  };
459
459
  s && s(u.root);
460
460
  let h = !1;
461
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
462
- const m = d.length ? d[0] : f;
463
- return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && cn(e, c)), f;
461
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
462
+ const m = p.length ? p[0] : f;
463
+ return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && bn(e, c)), f;
464
464
  }) : [], u.update(), h = !0, U(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
465
465
  if (t.hydrate) {
466
- const c = zr(t.target);
466
+ const c = qr(t.target);
467
467
  u.fragment && u.fragment.l(c), c.forEach(D);
468
468
  } else
469
469
  u.fragment && u.fragment.c();
470
- t.intro && Zt(e.$$.fragment), ln(e, t.target, t.anchor), I();
470
+ t.intro && Kt(e.$$.fragment), pn(e, t.target, t.anchor), I();
471
471
  }
472
- ie(l);
472
+ ne(l);
473
473
  }
474
- let Qt;
475
- typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
474
+ let er;
475
+ typeof HTMLElement == "function" && (er = class extends HTMLElement {
476
476
  constructor(t, r, n) {
477
477
  super();
478
478
  /** The Svelte component constructor */
@@ -509,7 +509,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
509
509
  }
510
510
  }
511
511
  connectedCallback() {
512
- return ct(this, null, function* () {
512
+ return bt(this, null, function* () {
513
513
  if (this.$$cn = !0, !this.$$c) {
514
514
  let t = function(o) {
515
515
  return () => {
@@ -523,7 +523,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
523
523
  * @param {HTMLElement} [anchor]
524
524
  */
525
525
  m: function(u, h) {
526
- ue(u, s, h);
526
+ ae(u, s, h);
527
527
  },
528
528
  d: function(u) {
529
529
  u && D(s);
@@ -533,7 +533,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
533
533
  };
534
534
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
535
535
  return;
536
- const r = {}, n = Zr(this);
536
+ const r = {}, n = Kr(this);
537
537
  for (const o of this.$$s)
538
538
  o in n && (r[o] = [t(o)]);
539
539
  for (const o of this.attributes) {
@@ -544,7 +544,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
544
544
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
545
545
  this.$$c = new this.$$ctor({
546
546
  target: this.shadowRoot || this,
547
- props: ht(lt({}, this.$$d), {
547
+ props: dt(pt({}, this.$$d), {
548
548
  $$slots: r,
549
549
  $$scope: {
550
550
  ctx: []
@@ -622,8 +622,8 @@ function be(e, t, r, n) {
622
622
  return t;
623
623
  }
624
624
  }
625
- function mn(e, t, r, n, i, o) {
626
- let s = class extends Qt {
625
+ function yn(e, t, r, n, i, o) {
626
+ let s = class extends er {
627
627
  constructor() {
628
628
  super(e, r, i), this.$$p_d = t;
629
629
  }
@@ -653,7 +653,7 @@ function mn(e, t, r, n, i, o) {
653
653
  }), e.element = /** @type {any} */
654
654
  s, s;
655
655
  }
656
- class dn {
656
+ class vn {
657
657
  constructor() {
658
658
  /**
659
659
  * ### PRIVATE API
@@ -674,7 +674,7 @@ class dn {
674
674
  }
675
675
  /** @returns {void} */
676
676
  $destroy() {
677
- hn(this, 1), this.$destroy = N;
677
+ dn(this, 1), this.$destroy = N;
678
678
  }
679
679
  /**
680
680
  * @template {Extract<keyof Events, string>} K
@@ -683,7 +683,7 @@ class dn {
683
683
  * @returns {() => void}
684
684
  */
685
685
  $on(t, r) {
686
- if (!Te(r))
686
+ if (!He(r))
687
687
  return N;
688
688
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
689
689
  return n.push(r), () => {
@@ -696,11 +696,11 @@ class dn {
696
696
  * @returns {void}
697
697
  */
698
698
  $set(t) {
699
- this.$$set && !Rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
699
+ this.$$set && !Fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
700
700
  }
701
701
  }
702
- const pn = "4";
703
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pn);
702
+ const _n = "4";
703
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(_n);
704
704
  /*! *****************************************************************************
705
705
  Copyright (c) Microsoft Corporation.
706
706
 
@@ -715,43 +715,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
715
715
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
716
716
  PERFORMANCE OF THIS SOFTWARE.
717
717
  ***************************************************************************** */
718
- var ke = function(e, t) {
719
- return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
718
+ var ze = function(e, t) {
719
+ return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
720
720
  r.__proto__ = n;
721
721
  } || function(r, n) {
722
722
  for (var i in n)
723
723
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
724
- }, ke(e, t);
724
+ }, ze(e, t);
725
725
  };
726
- function $(e, t) {
726
+ function le(e, t) {
727
727
  if (typeof t != "function" && t !== null)
728
728
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
729
- ke(e, t);
729
+ ze(e, t);
730
730
  function r() {
731
731
  this.constructor = e;
732
732
  }
733
733
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
734
734
  }
735
- var E = function() {
736
- return E = Object.assign || function(t) {
737
- for (var r, n = 1, i = arguments.length; n < i; n++) {
738
- r = arguments[n];
739
- for (var o in r)
740
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
741
- }
742
- return t;
743
- }, E.apply(this, arguments);
744
- };
745
- function bn(e, t) {
746
- var r = {};
747
- for (var n in e)
748
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
749
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
750
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
751
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
752
- return r;
753
- }
754
- function Ve(e) {
735
+ function We(e) {
755
736
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
756
737
  if (r)
757
738
  return r.call(e);
@@ -763,7 +744,7 @@ function Ve(e) {
763
744
  };
764
745
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
765
746
  }
766
- function Xe(e, t) {
747
+ function Ze(e, t) {
767
748
  var r = typeof Symbol == "function" && e[Symbol.iterator];
768
749
  if (!r)
769
750
  return e;
@@ -783,8 +764,8 @@ function Xe(e, t) {
783
764
  }
784
765
  return o;
785
766
  }
786
- function Z(e, t, r) {
787
- if (r || arguments.length === 2)
767
+ function Qe(e, t, r) {
768
+ if (arguments.length === 2)
788
769
  for (var n = 0, i = t.length, o; n < i; n++)
789
770
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
790
771
  return e.concat(o || t);
@@ -792,13 +773,13 @@ function Z(e, t, r) {
792
773
  function R(e) {
793
774
  return typeof e == "function";
794
775
  }
795
- function Jt(e) {
776
+ function tr(e) {
796
777
  var t = function(n) {
797
778
  Error.call(n), n.stack = new Error().stack;
798
779
  }, r = e(t);
799
780
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
800
781
  }
801
- var Ne = Jt(function(e) {
782
+ var $e = tr(function(e) {
802
783
  return function(r) {
803
784
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
804
785
  ` + r.map(function(n, i) {
@@ -807,13 +788,13 @@ var Ne = Jt(function(e) {
807
788
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
808
789
  };
809
790
  });
810
- function ze(e, t) {
791
+ function Je(e, t) {
811
792
  if (e) {
812
793
  var r = e.indexOf(t);
813
794
  0 <= r && e.splice(r, 1);
814
795
  }
815
796
  }
816
- var He = function() {
797
+ var Ae = function() {
817
798
  function e(t) {
818
799
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
819
800
  }
@@ -825,12 +806,12 @@ var He = function() {
825
806
  if (s)
826
807
  if (this._parentage = null, Array.isArray(s))
827
808
  try {
828
- for (var a = Ve(s), l = a.next(); !l.done; l = a.next()) {
809
+ for (var a = We(s), l = a.next(); !l.done; l = a.next()) {
829
810
  var u = l.value;
830
811
  u.remove(this);
831
812
  }
832
- } catch (p) {
833
- t = { error: p };
813
+ } catch (d) {
814
+ t = { error: d };
834
815
  } finally {
835
816
  try {
836
817
  l && !l.done && (r = a.return) && r.call(a);
@@ -845,26 +826,26 @@ var He = function() {
845
826
  if (R(h))
846
827
  try {
847
828
  h();
848
- } catch (p) {
849
- o = p instanceof Ne ? p.errors : [p];
829
+ } catch (d) {
830
+ o = d instanceof $e ? d.errors : [d];
850
831
  }
851
832
  var c = this._finalizers;
852
833
  if (c) {
853
834
  this._finalizers = null;
854
835
  try {
855
- for (var f = Ve(c), d = f.next(); !d.done; d = f.next()) {
856
- var m = d.value;
836
+ for (var f = We(c), p = f.next(); !p.done; p = f.next()) {
837
+ var m = p.value;
857
838
  try {
858
- bt(m);
859
- } catch (p) {
860
- o = o != null ? o : [], p instanceof Ne ? o = Z(Z([], Xe(o)), Xe(p.errors)) : o.push(p);
839
+ xt(m);
840
+ } catch (d) {
841
+ o = o != null ? o : [], d instanceof $e ? o = Qe(Qe([], Ze(o)), Ze(d.errors)) : o.push(d);
861
842
  }
862
843
  }
863
- } catch (p) {
864
- n = { error: p };
844
+ } catch (d) {
845
+ n = { error: d };
865
846
  } finally {
866
847
  try {
867
- d && !d.done && (i = f.return) && i.call(f);
848
+ p && !p.done && (i = f.return) && i.call(f);
868
849
  } finally {
869
850
  if (n)
870
851
  throw n.error;
@@ -872,13 +853,13 @@ var He = function() {
872
853
  }
873
854
  }
874
855
  if (o)
875
- throw new Ne(o);
856
+ throw new $e(o);
876
857
  }
877
858
  }, e.prototype.add = function(t) {
878
859
  var r;
879
860
  if (t && t !== this)
880
861
  if (this.closed)
881
- bt(t);
862
+ xt(t);
882
863
  else {
883
864
  if (t instanceof e) {
884
865
  if (t.closed || t._hasParent(this))
@@ -895,52 +876,52 @@ var He = function() {
895
876
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
896
877
  }, e.prototype._removeParent = function(t) {
897
878
  var r = this._parentage;
898
- r === t ? this._parentage = null : Array.isArray(r) && ze(r, t);
879
+ r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
899
880
  }, e.prototype.remove = function(t) {
900
881
  var r = this._finalizers;
901
- r && ze(r, t), t instanceof e && t._removeParent(this);
882
+ r && Je(r, t), t instanceof e && t._removeParent(this);
902
883
  }, e.EMPTY = function() {
903
884
  var t = new e();
904
885
  return t.closed = !0, t;
905
886
  }(), e;
906
- }(), qt = He.EMPTY;
907
- function Yt(e) {
908
- return e instanceof He || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
887
+ }(), rr = Ae.EMPTY;
888
+ function nr(e) {
889
+ return e instanceof Ae || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
909
890
  }
910
- function bt(e) {
891
+ function xt(e) {
911
892
  R(e) ? e() : e.unsubscribe();
912
893
  }
913
- var gn = {
894
+ var xn = {
914
895
  Promise: void 0
915
- }, vn = {
896
+ }, En = {
916
897
  setTimeout: function(e, t) {
917
898
  for (var r = [], n = 2; n < arguments.length; n++)
918
899
  r[n - 2] = arguments[n];
919
- return setTimeout.apply(void 0, Z([e, t], Xe(r)));
900
+ return setTimeout.apply(void 0, Qe([e, t], Ze(r)));
920
901
  },
921
902
  clearTimeout: function(e) {
922
903
  return clearTimeout(e);
923
904
  },
924
905
  delegate: void 0
925
906
  };
926
- function yn(e) {
927
- vn.setTimeout(function() {
907
+ function wn(e) {
908
+ En.setTimeout(function() {
928
909
  throw e;
929
910
  });
930
911
  }
931
- function gt() {
912
+ function Et() {
932
913
  }
933
914
  function ge(e) {
934
915
  e();
935
916
  }
936
- var Kt = function(e) {
937
- $(t, e);
917
+ var ir = function(e) {
918
+ le(t, e);
938
919
  function t(r) {
939
920
  var n = e.call(this) || this;
940
- return n.isStopped = !1, r ? (n.destination = r, Yt(r) && r.add(n)) : n.destination = En, n;
921
+ return n.isStopped = !1, r ? (n.destination = r, nr(r) && r.add(n)) : n.destination = Hn, n;
941
922
  }
942
923
  return t.create = function(r, n, i) {
943
- return new We(r, n, i);
924
+ return new qe(r, n, i);
944
925
  }, t.prototype.next = function(r) {
945
926
  this.isStopped || this._next(r);
946
927
  }, t.prototype.error = function(r) {
@@ -964,7 +945,7 @@ var Kt = function(e) {
964
945
  this.unsubscribe();
965
946
  }
966
947
  }, t;
967
- }(He), _n = function() {
948
+ }(Ae), Sn = function() {
968
949
  function e(t) {
969
950
  this.partialObserver = t;
970
951
  }
@@ -995,43 +976,43 @@ var Kt = function(e) {
995
976
  me(r);
996
977
  }
997
978
  }, e;
998
- }(), We = function(e) {
999
- $(t, e);
979
+ }(), qe = function(e) {
980
+ le(t, e);
1000
981
  function t(r, n, i) {
1001
982
  var o = e.call(this) || this, s;
1002
983
  return R(r) || !r ? s = {
1003
984
  next: r != null ? r : void 0,
1004
985
  error: n != null ? n : void 0,
1005
986
  complete: i != null ? i : void 0
1006
- } : s = r, o.destination = new _n(s), o;
987
+ } : s = r, o.destination = new Sn(s), o;
1007
988
  }
1008
989
  return t;
1009
- }(Kt);
990
+ }(ir);
1010
991
  function me(e) {
1011
- yn(e);
992
+ wn(e);
1012
993
  }
1013
- function xn(e) {
994
+ function Tn(e) {
1014
995
  throw e;
1015
996
  }
1016
- var En = {
997
+ var Hn = {
1017
998
  closed: !0,
1018
- next: gt,
1019
- error: xn,
1020
- complete: gt
1021
- }, wn = function() {
999
+ next: Et,
1000
+ error: Tn,
1001
+ complete: Et
1002
+ }, An = function() {
1022
1003
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1023
1004
  }();
1024
- function Sn(e) {
1005
+ function Bn(e) {
1025
1006
  return e;
1026
1007
  }
1027
- function Tn(e) {
1028
- return e.length === 0 ? Sn : e.length === 1 ? e[0] : function(r) {
1008
+ function Cn(e) {
1009
+ return e.length === 0 ? Bn : e.length === 1 ? e[0] : function(r) {
1029
1010
  return e.reduce(function(n, i) {
1030
1011
  return i(n);
1031
1012
  }, r);
1032
1013
  };
1033
1014
  }
1034
- var vt = function() {
1015
+ var wt = function() {
1035
1016
  function e(t) {
1036
1017
  t && (this._subscribe = t);
1037
1018
  }
@@ -1039,7 +1020,7 @@ var vt = function() {
1039
1020
  var r = new e();
1040
1021
  return r.source = this, r.operator = t, r;
1041
1022
  }, e.prototype.subscribe = function(t, r, n) {
1042
- var i = this, o = An(t) ? t : new We(t, r, n);
1023
+ var i = this, o = On(t) ? t : new qe(t, r, n);
1043
1024
  return ge(function() {
1044
1025
  var s = i, a = s.operator, l = s.source;
1045
1026
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -1052,8 +1033,8 @@ var vt = function() {
1052
1033
  }
1053
1034
  }, e.prototype.forEach = function(t, r) {
1054
1035
  var n = this;
1055
- return r = yt(r), new r(function(i, o) {
1056
- var s = new We({
1036
+ return r = St(r), new r(function(i, o) {
1037
+ var s = new qe({
1057
1038
  next: function(a) {
1058
1039
  try {
1059
1040
  t(a);
@@ -1069,15 +1050,15 @@ var vt = function() {
1069
1050
  }, e.prototype._subscribe = function(t) {
1070
1051
  var r;
1071
1052
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1072
- }, e.prototype[wn] = function() {
1053
+ }, e.prototype[An] = function() {
1073
1054
  return this;
1074
1055
  }, e.prototype.pipe = function() {
1075
1056
  for (var t = [], r = 0; r < arguments.length; r++)
1076
1057
  t[r] = arguments[r];
1077
- return Tn(t)(this);
1058
+ return Cn(t)(this);
1078
1059
  }, e.prototype.toPromise = function(t) {
1079
1060
  var r = this;
1080
- return t = yt(t), new t(function(n, i) {
1061
+ return t = St(t), new t(function(n, i) {
1081
1062
  var o;
1082
1063
  r.subscribe(function(s) {
1083
1064
  return o = s;
@@ -1091,32 +1072,32 @@ var vt = function() {
1091
1072
  return new e(t);
1092
1073
  }, e;
1093
1074
  }();
1094
- function yt(e) {
1075
+ function St(e) {
1095
1076
  var t;
1096
- return (t = e != null ? e : gn.Promise) !== null && t !== void 0 ? t : Promise;
1077
+ return (t = e != null ? e : xn.Promise) !== null && t !== void 0 ? t : Promise;
1097
1078
  }
1098
- function Hn(e) {
1079
+ function Pn(e) {
1099
1080
  return e && R(e.next) && R(e.error) && R(e.complete);
1100
1081
  }
1101
- function An(e) {
1102
- return e && e instanceof Kt || Hn(e) && Yt(e);
1082
+ function On(e) {
1083
+ return e && e instanceof ir || Pn(e) && nr(e);
1103
1084
  }
1104
- var Bn = Jt(function(e) {
1085
+ var In = tr(function(e) {
1105
1086
  return function() {
1106
1087
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1107
1088
  };
1108
- }), er = function(e) {
1109
- $(t, e);
1089
+ }), or = function(e) {
1090
+ le(t, e);
1110
1091
  function t() {
1111
1092
  var r = e.call(this) || this;
1112
1093
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1113
1094
  }
1114
1095
  return t.prototype.lift = function(r) {
1115
- var n = new _t(this, this);
1096
+ var n = new Tt(this, this);
1116
1097
  return n.operator = r, n;
1117
1098
  }, t.prototype._throwIfClosed = function() {
1118
1099
  if (this.closed)
1119
- throw new Bn();
1100
+ throw new In();
1120
1101
  }, t.prototype.next = function(r) {
1121
1102
  var n = this;
1122
1103
  ge(function() {
@@ -1124,7 +1105,7 @@ var Bn = Jt(function(e) {
1124
1105
  if (n._throwIfClosed(), !n.isStopped) {
1125
1106
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1126
1107
  try {
1127
- for (var s = Ve(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1108
+ for (var s = We(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1128
1109
  var l = a.value;
1129
1110
  l.next(r);
1130
1111
  }
@@ -1173,20 +1154,20 @@ var Bn = Jt(function(e) {
1173
1154
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1174
1155
  }, t.prototype._innerSubscribe = function(r) {
1175
1156
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1176
- return o || s ? qt : (this.currentObservers = null, a.push(r), new He(function() {
1177
- n.currentObservers = null, ze(a, r);
1157
+ return o || s ? rr : (this.currentObservers = null, a.push(r), new Ae(function() {
1158
+ n.currentObservers = null, Je(a, r);
1178
1159
  }));
1179
1160
  }, t.prototype._checkFinalizedStatuses = function(r) {
1180
1161
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1181
1162
  i ? r.error(o) : s && r.complete();
1182
1163
  }, t.prototype.asObservable = function() {
1183
- var r = new vt();
1164
+ var r = new wt();
1184
1165
  return r.source = this, r;
1185
1166
  }, t.create = function(r, n) {
1186
- return new _t(r, n);
1167
+ return new Tt(r, n);
1187
1168
  }, t;
1188
- }(vt), _t = function(e) {
1189
- $(t, e);
1169
+ }(wt), Tt = function(e) {
1170
+ le(t, e);
1190
1171
  function t(r, n) {
1191
1172
  var i = e.call(this) || this;
1192
1173
  return i.destination = r, i.source = n, i;
@@ -1202,17 +1183,17 @@ var Bn = Jt(function(e) {
1202
1183
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1203
1184
  }, t.prototype._subscribe = function(r) {
1204
1185
  var n, i;
1205
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : qt;
1186
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : rr;
1206
1187
  }, t;
1207
- }(er), tr = {
1188
+ }(or), sr = {
1208
1189
  now: function() {
1209
- return (tr.delegate || Date).now();
1190
+ return (sr.delegate || Date).now();
1210
1191
  },
1211
1192
  delegate: void 0
1212
- }, Cn = function(e) {
1213
- $(t, e);
1193
+ }, Mn = function(e) {
1194
+ le(t, e);
1214
1195
  function t(r, n, i) {
1215
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = tr);
1196
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = sr);
1216
1197
  var o = e.call(this) || this;
1217
1198
  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;
1218
1199
  }
@@ -1232,24 +1213,24 @@ var Bn = Jt(function(e) {
1232
1213
  u && o.splice(0, u + 1);
1233
1214
  }
1234
1215
  }, t;
1235
- }(er);
1236
- const xt = [], Et = {}, Pn = (e, t = 0) => {
1237
- if (xt.indexOf(e) == -1) {
1238
- const r = new Cn(t);
1239
- Et[e] = r, xt.push(e);
1216
+ }(or);
1217
+ const Ht = [], At = {}, Nn = (e, t = 0) => {
1218
+ if (Ht.indexOf(e) == -1) {
1219
+ const r = new Mn(t);
1220
+ At[e] = r, Ht.push(e);
1240
1221
  }
1241
- return Et[e];
1222
+ return At[e];
1242
1223
  }, V = [];
1243
- function On(e, t) {
1224
+ function Ln(e, t) {
1244
1225
  return {
1245
- subscribe: Ae(e, t).subscribe
1226
+ subscribe: Be(e, t).subscribe
1246
1227
  };
1247
1228
  }
1248
- function Ae(e, t = N) {
1229
+ function Be(e, t = N) {
1249
1230
  let r;
1250
1231
  const n = /* @__PURE__ */ new Set();
1251
1232
  function i(a) {
1252
- if (jt(e, a) && (e = a, r)) {
1233
+ if (Wt(e, a) && (e = a, r)) {
1253
1234
  const l = !V.length;
1254
1235
  for (const u of n)
1255
1236
  u[1](), V.push(u, e);
@@ -1271,12 +1252,12 @@ function Ae(e, t = N) {
1271
1252
  }
1272
1253
  return { set: i, update: o, subscribe: s };
1273
1254
  }
1274
- function K(e, t, r) {
1255
+ function Y(e, t, r) {
1275
1256
  const n = !Array.isArray(e), i = n ? [e] : e;
1276
1257
  if (!i.every(Boolean))
1277
1258
  throw new Error("derived() expects stores as input, got a falsy value");
1278
1259
  const o = t.length < 2;
1279
- return On(r, (s, a) => {
1260
+ return Ln(r, (s, a) => {
1280
1261
  let l = !1;
1281
1262
  const u = [];
1282
1263
  let h = 0, c = N;
@@ -1285,129 +1266,171 @@ function K(e, t, r) {
1285
1266
  return;
1286
1267
  c();
1287
1268
  const m = t(n ? u[0] : u, s, a);
1288
- o ? s(m) : c = Te(m) ? m : N;
1289
- }, d = i.map(
1290
- (m, p) => kt(
1269
+ o ? s(m) : c = He(m) ? m : N;
1270
+ }, p = i.map(
1271
+ (m, d) => Zt(
1291
1272
  m,
1292
1273
  (g) => {
1293
- u[p] = g, h &= ~(1 << p), l && f();
1274
+ u[d] = g, h &= ~(1 << d), l && f();
1294
1275
  },
1295
1276
  () => {
1296
- h |= 1 << p;
1277
+ h |= 1 << d;
1297
1278
  }
1298
1279
  )
1299
1280
  );
1300
1281
  return l = !0, f(), function() {
1301
- U(d), c(), l = !1;
1282
+ U(p), c(), l = !1;
1302
1283
  };
1303
1284
  });
1304
1285
  }
1305
- var Go = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
1306
- function In(e) {
1286
+ var ko = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
1287
+ function $n(e) {
1307
1288
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1308
1289
  }
1309
- var Mn = function(t) {
1310
- return Nn(t) && !Ln(t);
1290
+ var Rn = function(t) {
1291
+ return Gn(t) && !Un(t);
1311
1292
  };
1312
- function Nn(e) {
1293
+ function Gn(e) {
1313
1294
  return !!e && typeof e == "object";
1314
1295
  }
1315
- function Ln(e) {
1296
+ function Un(e) {
1316
1297
  var t = Object.prototype.toString.call(e);
1317
- return t === "[object RegExp]" || t === "[object Date]" || Gn(e);
1298
+ return t === "[object RegExp]" || t === "[object Date]" || jn(e);
1318
1299
  }
1319
- var Rn = typeof Symbol == "function" && Symbol.for, $n = Rn ? Symbol.for("react.element") : 60103;
1320
- function Gn(e) {
1321
- return e.$$typeof === $n;
1300
+ var Dn = typeof Symbol == "function" && Symbol.for, Fn = Dn ? Symbol.for("react.element") : 60103;
1301
+ function jn(e) {
1302
+ return e.$$typeof === Fn;
1322
1303
  }
1323
- function Un(e) {
1304
+ function kn(e) {
1324
1305
  return Array.isArray(e) ? [] : {};
1325
1306
  }
1326
- function se(e, t) {
1327
- return t.clone !== !1 && t.isMergeableObject(e) ? Q(Un(e), e, t) : e;
1307
+ function oe(e, t) {
1308
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(kn(e), e, t) : e;
1328
1309
  }
1329
- function Dn(e, t, r) {
1310
+ function Vn(e, t, r) {
1330
1311
  return e.concat(t).map(function(n) {
1331
- return se(n, r);
1312
+ return oe(n, r);
1332
1313
  });
1333
1314
  }
1334
- function Fn(e, t) {
1315
+ function Xn(e, t) {
1335
1316
  if (!t.customMerge)
1336
- return Q;
1317
+ return Z;
1337
1318
  var r = t.customMerge(e);
1338
- return typeof r == "function" ? r : Q;
1319
+ return typeof r == "function" ? r : Z;
1339
1320
  }
1340
- function jn(e) {
1321
+ function zn(e) {
1341
1322
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1342
1323
  return Object.propertyIsEnumerable.call(e, t);
1343
1324
  }) : [];
1344
1325
  }
1345
- function wt(e) {
1346
- return Object.keys(e).concat(jn(e));
1326
+ function Bt(e) {
1327
+ return Object.keys(e).concat(zn(e));
1347
1328
  }
1348
- function rr(e, t) {
1329
+ function ar(e, t) {
1349
1330
  try {
1350
1331
  return t in e;
1351
1332
  } catch (r) {
1352
1333
  return !1;
1353
1334
  }
1354
1335
  }
1355
- function kn(e, t) {
1356
- return rr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1336
+ function Wn(e, t) {
1337
+ return ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1357
1338
  }
1358
- function Vn(e, t, r) {
1339
+ function Zn(e, t, r) {
1359
1340
  var n = {};
1360
- return r.isMergeableObject(e) && wt(e).forEach(function(i) {
1361
- n[i] = se(e[i], r);
1362
- }), wt(t).forEach(function(i) {
1363
- kn(e, i) || (rr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Fn(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
1341
+ return r.isMergeableObject(e) && Bt(e).forEach(function(i) {
1342
+ n[i] = oe(e[i], r);
1343
+ }), Bt(t).forEach(function(i) {
1344
+ Wn(e, i) || (ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = Xn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1364
1345
  }), n;
1365
1346
  }
1366
- function Q(e, t, r) {
1367
- r = r || {}, r.arrayMerge = r.arrayMerge || Dn, r.isMergeableObject = r.isMergeableObject || Mn, r.cloneUnlessOtherwiseSpecified = se;
1347
+ function Z(e, t, r) {
1348
+ r = r || {}, r.arrayMerge = r.arrayMerge || Vn, r.isMergeableObject = r.isMergeableObject || Rn, r.cloneUnlessOtherwiseSpecified = oe;
1368
1349
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1369
- return o ? n ? r.arrayMerge(e, t, r) : Vn(e, t, r) : se(t, r);
1350
+ return o ? n ? r.arrayMerge(e, t, r) : Zn(e, t, r) : oe(t, r);
1370
1351
  }
1371
- Q.all = function(t, r) {
1352
+ Z.all = function(t, r) {
1372
1353
  if (!Array.isArray(t))
1373
1354
  throw new Error("first argument should be an array");
1374
1355
  return t.reduce(function(n, i) {
1375
- return Q(n, i, r);
1356
+ return Z(n, i, r);
1376
1357
  }, {});
1377
1358
  };
1378
- var Xn = Q, zn = Xn;
1379
- const Wn = /* @__PURE__ */ In(zn);
1380
- function Le(e, t) {
1381
- var r = t && t.cache ? t.cache : ei, n = t && t.serializer ? t.serializer : Yn, i = t && t.strategy ? t.strategy : Jn;
1359
+ var Qn = Z, Jn = Qn;
1360
+ const qn = /* @__PURE__ */ $n(Jn);
1361
+ var Ye = function(e, t) {
1362
+ return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1363
+ r.__proto__ = n;
1364
+ } || function(r, n) {
1365
+ for (var i in n)
1366
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1367
+ }, Ye(e, t);
1368
+ };
1369
+ function Ce(e, t) {
1370
+ if (typeof t != "function" && t !== null)
1371
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1372
+ Ye(e, t);
1373
+ function r() {
1374
+ this.constructor = e;
1375
+ }
1376
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1377
+ }
1378
+ var L = function() {
1379
+ return L = Object.assign || function(t) {
1380
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1381
+ r = arguments[n];
1382
+ for (var o in r)
1383
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1384
+ }
1385
+ return t;
1386
+ }, L.apply(this, arguments);
1387
+ };
1388
+ function Yn(e, t) {
1389
+ var r = {};
1390
+ for (var n in e)
1391
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1392
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1393
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1394
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1395
+ return r;
1396
+ }
1397
+ function Re(e, t, r) {
1398
+ if (r || arguments.length === 2)
1399
+ for (var n = 0, i = t.length, o; n < i; n++)
1400
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1401
+ return e.concat(o || Array.prototype.slice.call(t));
1402
+ }
1403
+ function Ge(e, t) {
1404
+ var r = t && t.cache ? t.cache : oi, n = t && t.serializer ? t.serializer : ni, i = t && t.strategy ? t.strategy : ti;
1382
1405
  return i(e, {
1383
1406
  cache: r,
1384
1407
  serializer: n
1385
1408
  });
1386
1409
  }
1387
- function Zn(e) {
1410
+ function Kn(e) {
1388
1411
  return e == null || typeof e == "number" || typeof e == "boolean";
1389
1412
  }
1390
- function Qn(e, t, r, n) {
1391
- var i = Zn(n) ? n : r(n), o = t.get(i);
1413
+ function ei(e, t, r, n) {
1414
+ var i = Kn(n) ? n : r(n), o = t.get(i);
1392
1415
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1393
1416
  }
1394
- function nr(e, t, r) {
1417
+ function ur(e, t, r) {
1395
1418
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1396
1419
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1397
1420
  }
1398
- function ir(e, t, r, n, i) {
1421
+ function lr(e, t, r, n, i) {
1399
1422
  return r.bind(t, e, n, i);
1400
1423
  }
1401
- function Jn(e, t) {
1402
- var r = e.length === 1 ? Qn : nr;
1403
- return ir(e, this, r, t.cache.create(), t.serializer);
1424
+ function ti(e, t) {
1425
+ var r = e.length === 1 ? ei : ur;
1426
+ return lr(e, this, r, t.cache.create(), t.serializer);
1404
1427
  }
1405
- function qn(e, t) {
1406
- return ir(e, this, nr, t.cache.create(), t.serializer);
1428
+ function ri(e, t) {
1429
+ return lr(e, this, ur, t.cache.create(), t.serializer);
1407
1430
  }
1408
- var Yn = function() {
1431
+ var ni = function() {
1409
1432
  return JSON.stringify(arguments);
1410
- }, Kn = (
1433
+ }, ii = (
1411
1434
  /** @class */
1412
1435
  function() {
1413
1436
  function e() {
@@ -1419,61 +1442,71 @@ var Yn = function() {
1419
1442
  this.cache[t] = r;
1420
1443
  }, e;
1421
1444
  }()
1422
- ), ei = {
1445
+ ), oi = {
1423
1446
  create: function() {
1424
- return new Kn();
1447
+ return new ii();
1425
1448
  }
1426
- }, Re = {
1427
- variadic: qn
1428
- }, v;
1449
+ }, Ue = {
1450
+ variadic: ri
1451
+ }, we = function() {
1452
+ return we = Object.assign || function(t) {
1453
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1454
+ r = arguments[n];
1455
+ for (var o in r)
1456
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1457
+ }
1458
+ return t;
1459
+ }, we.apply(this, arguments);
1460
+ };
1461
+ var y;
1429
1462
  (function(e) {
1430
1463
  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";
1431
- })(v || (v = {}));
1432
- var S;
1464
+ })(y || (y = {}));
1465
+ var w;
1433
1466
  (function(e) {
1434
1467
  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";
1435
- })(S || (S = {}));
1436
- var J;
1468
+ })(w || (w = {}));
1469
+ var Q;
1437
1470
  (function(e) {
1438
1471
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1439
- })(J || (J = {}));
1440
- function St(e) {
1441
- return e.type === S.literal;
1472
+ })(Q || (Q = {}));
1473
+ function Ct(e) {
1474
+ return e.type === w.literal;
1442
1475
  }
1443
- function ti(e) {
1444
- return e.type === S.argument;
1476
+ function si(e) {
1477
+ return e.type === w.argument;
1445
1478
  }
1446
- function or(e) {
1447
- return e.type === S.number;
1479
+ function hr(e) {
1480
+ return e.type === w.number;
1448
1481
  }
1449
- function sr(e) {
1450
- return e.type === S.date;
1482
+ function cr(e) {
1483
+ return e.type === w.date;
1451
1484
  }
1452
- function ar(e) {
1453
- return e.type === S.time;
1485
+ function fr(e) {
1486
+ return e.type === w.time;
1454
1487
  }
1455
- function ur(e) {
1456
- return e.type === S.select;
1488
+ function mr(e) {
1489
+ return e.type === w.select;
1457
1490
  }
1458
- function lr(e) {
1459
- return e.type === S.plural;
1491
+ function pr(e) {
1492
+ return e.type === w.plural;
1460
1493
  }
1461
- function ri(e) {
1462
- return e.type === S.pound;
1494
+ function ai(e) {
1495
+ return e.type === w.pound;
1463
1496
  }
1464
- function hr(e) {
1465
- return e.type === S.tag;
1497
+ function dr(e) {
1498
+ return e.type === w.tag;
1466
1499
  }
1467
- function cr(e) {
1468
- return !!(e && typeof e == "object" && e.type === J.number);
1500
+ function br(e) {
1501
+ return !!(e && typeof e == "object" && e.type === Q.number);
1469
1502
  }
1470
- function Ze(e) {
1471
- return !!(e && typeof e == "object" && e.type === J.dateTime);
1503
+ function Ke(e) {
1504
+ return !!(e && typeof e == "object" && e.type === Q.dateTime);
1472
1505
  }
1473
- var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ni = /(?:[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;
1474
- function ii(e) {
1506
+ var gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ui = /(?:[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;
1507
+ function li(e) {
1475
1508
  var t = {};
1476
- return e.replace(ni, function(r) {
1509
+ return e.replace(ui, function(r) {
1477
1510
  var n = r.length;
1478
1511
  switch (r[0]) {
1479
1512
  case "G":
@@ -1562,11 +1595,21 @@ function ii(e) {
1562
1595
  return "";
1563
1596
  }), t;
1564
1597
  }
1565
- var oi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1566
- function si(e) {
1598
+ var S = function() {
1599
+ return S = Object.assign || function(t) {
1600
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1601
+ r = arguments[n];
1602
+ for (var o in r)
1603
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1604
+ }
1605
+ return t;
1606
+ }, S.apply(this, arguments);
1607
+ };
1608
+ var hi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1609
+ function ci(e) {
1567
1610
  if (e.length === 0)
1568
1611
  throw new Error("Number skeleton cannot be empty");
1569
- for (var t = e.split(oi).filter(function(f) {
1612
+ for (var t = e.split(hi).filter(function(f) {
1570
1613
  return f.length > 0;
1571
1614
  }), r = [], n = 0, i = t; n < i.length; n++) {
1572
1615
  var o = i[n], s = o.split("/");
@@ -1581,17 +1624,17 @@ function si(e) {
1581
1624
  }
1582
1625
  return r;
1583
1626
  }
1584
- function ai(e) {
1627
+ function fi(e) {
1585
1628
  return e.replace(/^(.*?)-/, "");
1586
1629
  }
1587
- var Tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mr = /^(@+)?(\+|#+)?[rs]?$/g, ui = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
1588
- function Ht(e) {
1630
+ var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yr = /^(@+)?(\+|#+)?[rs]?$/g, mi = /(\*)(0+)|(#+)(0+)|(0+)/g, vr = /^(0+)$/;
1631
+ function Ot(e) {
1589
1632
  var t = {};
1590
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mr, function(r, n, i) {
1633
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(yr, function(r, n, i) {
1591
1634
  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)), "";
1592
1635
  }), t;
1593
1636
  }
1594
- function pr(e) {
1637
+ function _r(e) {
1595
1638
  switch (e) {
1596
1639
  case "sign-auto":
1597
1640
  return {
@@ -1631,7 +1674,7 @@ function pr(e) {
1631
1674
  };
1632
1675
  }
1633
1676
  }
1634
- function li(e) {
1677
+ function pi(e) {
1635
1678
  var t;
1636
1679
  if (e[0] === "E" && e[1] === "E" ? (t = {
1637
1680
  notation: "engineering"
@@ -1639,17 +1682,17 @@ function li(e) {
1639
1682
  notation: "scientific"
1640
1683
  }, e = e.slice(1)), t) {
1641
1684
  var r = e.slice(0, 2);
1642
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
1685
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !vr.test(e))
1643
1686
  throw new Error("Malformed concise eng/scientific notation");
1644
1687
  t.minimumIntegerDigits = e.length;
1645
1688
  }
1646
1689
  return t;
1647
1690
  }
1648
- function At(e) {
1649
- var t = {}, r = pr(e);
1691
+ function It(e) {
1692
+ var t = {}, r = _r(e);
1650
1693
  return r || t;
1651
1694
  }
1652
- function hi(e) {
1695
+ function di(e) {
1653
1696
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1654
1697
  var i = n[r];
1655
1698
  switch (i.stem) {
@@ -1673,7 +1716,7 @@ function hi(e) {
1673
1716
  continue;
1674
1717
  case "measure-unit":
1675
1718
  case "unit":
1676
- t.style = "unit", t.unit = ai(i.options[0]);
1719
+ t.style = "unit", t.unit = fi(i.options[0]);
1677
1720
  continue;
1678
1721
  case "compact-short":
1679
1722
  case "K":
@@ -1684,13 +1727,13 @@ function hi(e) {
1684
1727
  t.notation = "compact", t.compactDisplay = "long";
1685
1728
  continue;
1686
1729
  case "scientific":
1687
- t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1688
- return E(E({}, l), At(u));
1730
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1731
+ return S(S({}, l), It(u));
1689
1732
  }, {}));
1690
1733
  continue;
1691
1734
  case "engineering":
1692
- t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1693
- return E(E({}, l), At(u));
1735
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1736
+ return S(S({}, l), It(u));
1694
1737
  }, {}));
1695
1738
  continue;
1696
1739
  case "notation-simple":
@@ -1735,45 +1778,45 @@ function hi(e) {
1735
1778
  case "integer-width":
1736
1779
  if (i.options.length > 1)
1737
1780
  throw new RangeError("integer-width stems only accept a single optional option");
1738
- i.options[0].replace(ui, function(l, u, h, c, f, d) {
1781
+ i.options[0].replace(mi, function(l, u, h, c, f, p) {
1739
1782
  if (u)
1740
1783
  t.minimumIntegerDigits = h.length;
1741
1784
  else {
1742
1785
  if (c && f)
1743
1786
  throw new Error("We currently do not support maximum integer digits");
1744
- if (d)
1787
+ if (p)
1745
1788
  throw new Error("We currently do not support exact integer digits");
1746
1789
  }
1747
1790
  return "";
1748
1791
  });
1749
1792
  continue;
1750
1793
  }
1751
- if (dr.test(i.stem)) {
1794
+ if (vr.test(i.stem)) {
1752
1795
  t.minimumIntegerDigits = i.stem.length;
1753
1796
  continue;
1754
1797
  }
1755
- if (Tt.test(i.stem)) {
1798
+ if (Pt.test(i.stem)) {
1756
1799
  if (i.options.length > 1)
1757
1800
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1758
- i.stem.replace(Tt, function(l, u, h, c, f, d) {
1759
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1801
+ i.stem.replace(Pt, function(l, u, h, c, f, p) {
1802
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1760
1803
  });
1761
1804
  var o = i.options[0];
1762
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Ht(o)));
1805
+ o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Ot(o)));
1763
1806
  continue;
1764
1807
  }
1765
- if (mr.test(i.stem)) {
1766
- t = E(E({}, t), Ht(i.stem));
1808
+ if (yr.test(i.stem)) {
1809
+ t = S(S({}, t), Ot(i.stem));
1767
1810
  continue;
1768
1811
  }
1769
- var s = pr(i.stem);
1770
- s && (t = E(E({}, t), s));
1771
- var a = li(i.stem);
1772
- a && (t = E(E({}, t), a));
1812
+ var s = _r(i.stem);
1813
+ s && (t = S(S({}, t), s));
1814
+ var a = pi(i.stem);
1815
+ a && (t = S(S({}, t), a));
1773
1816
  }
1774
1817
  return t;
1775
1818
  }
1776
- var de = {
1819
+ var pe = {
1777
1820
  "001": [
1778
1821
  "H",
1779
1822
  "h"
@@ -3188,13 +3231,13 @@ var de = {
3188
3231
  "h"
3189
3232
  ]
3190
3233
  };
3191
- function ci(e, t) {
3234
+ function bi(e, t) {
3192
3235
  for (var r = "", n = 0; n < e.length; n++) {
3193
3236
  var i = e.charAt(n);
3194
3237
  if (i === "j") {
3195
3238
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3196
3239
  o++, n++;
3197
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = fi(t);
3240
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = gi(t);
3198
3241
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3199
3242
  r += l;
3200
3243
  for (; s-- > 0; )
@@ -3204,7 +3247,7 @@ function ci(e, t) {
3204
3247
  }
3205
3248
  return r;
3206
3249
  }
3207
- function fi(e) {
3250
+ function gi(e) {
3208
3251
  var t = e.hourCycle;
3209
3252
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3210
3253
  e.hourCycles && // @ts-ignore
@@ -3223,23 +3266,23 @@ function fi(e) {
3223
3266
  }
3224
3267
  var r = e.language, n;
3225
3268
  r !== "root" && (n = e.maximize().region);
3226
- var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
3269
+ var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
3227
3270
  return i[0];
3228
3271
  }
3229
- var $e, mi = new RegExp("^".concat(fr.source, "*")), di = new RegExp("".concat(fr.source, "*$"));
3272
+ var De, yi = new RegExp("^".concat(gr.source, "*")), vi = new RegExp("".concat(gr.source, "*$"));
3230
3273
  function _(e, t) {
3231
3274
  return { start: e, end: t };
3232
3275
  }
3233
- var pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), bi = !!String.fromCodePoint, gi = !!Object.fromEntries, vi = !!String.prototype.codePointAt, yi = !!String.prototype.trimStart, _i = !!String.prototype.trimEnd, xi = !!Number.isSafeInteger, Ei = xi ? Number.isSafeInteger : function(e) {
3276
+ var _i = !!String.prototype.startsWith && "_a".startsWith("a", 1), xi = !!String.fromCodePoint, Ei = !!Object.fromEntries, wi = !!String.prototype.codePointAt, Si = !!String.prototype.trimStart, Ti = !!String.prototype.trimEnd, Hi = !!Number.isSafeInteger, Ai = Hi ? Number.isSafeInteger : function(e) {
3234
3277
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3235
- }, Qe = !0;
3278
+ }, et = !0;
3236
3279
  try {
3237
- var wi = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3238
- Qe = (($e = wi.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
3280
+ var Bi = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3281
+ et = ((De = Bi.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
3239
3282
  } catch (e) {
3240
- Qe = !1;
3283
+ et = !1;
3241
3284
  }
3242
- var Bt = pi ? (
3285
+ var Mt = _i ? (
3243
3286
  // Native
3244
3287
  function(t, r, n) {
3245
3288
  return t.startsWith(r, n);
@@ -3249,7 +3292,7 @@ var Bt = pi ? (
3249
3292
  function(t, r, n) {
3250
3293
  return t.slice(n, n + r.length) === r;
3251
3294
  }
3252
- ), Je = bi ? String.fromCodePoint : (
3295
+ ), tt = xi ? String.fromCodePoint : (
3253
3296
  // IE11
3254
3297
  function() {
3255
3298
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3261,9 +3304,9 @@ var Bt = pi ? (
3261
3304
  }
3262
3305
  return n;
3263
3306
  }
3264
- ), Ct = (
3307
+ ), Nt = (
3265
3308
  // native
3266
- gi ? Object.fromEntries : (
3309
+ Ei ? Object.fromEntries : (
3267
3310
  // Ponyfill
3268
3311
  function(t) {
3269
3312
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3273,7 +3316,7 @@ var Bt = pi ? (
3273
3316
  return r;
3274
3317
  }
3275
3318
  )
3276
- ), br = vi ? (
3319
+ ), xr = wi ? (
3277
3320
  // Native
3278
3321
  function(t, r) {
3279
3322
  return t.codePointAt(r);
@@ -3287,7 +3330,7 @@ var Bt = pi ? (
3287
3330
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3288
3331
  }
3289
3332
  }
3290
- ), Si = yi ? (
3333
+ ), Ci = Si ? (
3291
3334
  // Native
3292
3335
  function(t) {
3293
3336
  return t.trimStart();
@@ -3295,9 +3338,9 @@ var Bt = pi ? (
3295
3338
  ) : (
3296
3339
  // Ponyfill
3297
3340
  function(t) {
3298
- return t.replace(mi, "");
3341
+ return t.replace(yi, "");
3299
3342
  }
3300
- ), Ti = _i ? (
3343
+ ), Pi = Ti ? (
3301
3344
  // Native
3302
3345
  function(t) {
3303
3346
  return t.trimEnd();
@@ -3305,32 +3348,32 @@ var Bt = pi ? (
3305
3348
  ) : (
3306
3349
  // Ponyfill
3307
3350
  function(t) {
3308
- return t.replace(di, "");
3351
+ return t.replace(vi, "");
3309
3352
  }
3310
3353
  );
3311
- function gr(e, t) {
3354
+ function Er(e, t) {
3312
3355
  return new RegExp(e, t);
3313
3356
  }
3314
- var qe;
3315
- if (Qe) {
3316
- var Pt = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3317
- qe = function(t, r) {
3357
+ var rt;
3358
+ if (et) {
3359
+ var Lt = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3360
+ rt = function(t, r) {
3318
3361
  var n;
3319
- Pt.lastIndex = r;
3320
- var i = Pt.exec(t);
3362
+ Lt.lastIndex = r;
3363
+ var i = Lt.exec(t);
3321
3364
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3322
3365
  };
3323
3366
  } else
3324
- qe = function(t, r) {
3367
+ rt = function(t, r) {
3325
3368
  for (var n = []; ; ) {
3326
- var i = br(t, r);
3327
- if (i === void 0 || vr(i) || Ci(i))
3369
+ var i = xr(t, r);
3370
+ if (i === void 0 || wr(i) || Ni(i))
3328
3371
  break;
3329
3372
  n.push(i), r += i >= 65536 ? 2 : 1;
3330
3373
  }
3331
- return Je.apply(void 0, n);
3374
+ return tt.apply(void 0, n);
3332
3375
  };
3333
- var Hi = (
3376
+ var Oi = (
3334
3377
  /** @class */
3335
3378
  function() {
3336
3379
  function e(t, r) {
@@ -3354,14 +3397,14 @@ var Hi = (
3354
3397
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3355
3398
  var a = this.clonePosition();
3356
3399
  this.bump(), i.push({
3357
- type: S.pound,
3400
+ type: w.pound,
3358
3401
  location: _(a, this.clonePosition())
3359
3402
  });
3360
3403
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3361
3404
  if (n)
3362
3405
  break;
3363
- return this.error(v.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3364
- } else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
3406
+ return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3407
+ } else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
3365
3408
  var s = this.parseTag(t, r);
3366
3409
  if (s.err)
3367
3410
  return s;
@@ -3382,7 +3425,7 @@ var Hi = (
3382
3425
  if (this.bumpSpace(), this.bumpIf("/>"))
3383
3426
  return {
3384
3427
  val: {
3385
- type: S.literal,
3428
+ type: w.literal,
3386
3429
  value: "<".concat(i, "/>"),
3387
3430
  location: _(n, this.clonePosition())
3388
3431
  },
@@ -3394,25 +3437,25 @@ var Hi = (
3394
3437
  return o;
3395
3438
  var s = o.val, a = this.clonePosition();
3396
3439
  if (this.bumpIf("</")) {
3397
- if (this.isEOF() || !Ye(this.char()))
3398
- return this.error(v.INVALID_TAG, _(a, this.clonePosition()));
3440
+ if (this.isEOF() || !nt(this.char()))
3441
+ return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
3399
3442
  var l = this.clonePosition(), u = this.parseTagName();
3400
- return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3443
+ return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3401
3444
  val: {
3402
- type: S.tag,
3445
+ type: w.tag,
3403
3446
  value: i,
3404
3447
  children: s,
3405
3448
  location: _(n, this.clonePosition())
3406
3449
  },
3407
3450
  err: null
3408
- } : this.error(v.INVALID_TAG, _(a, this.clonePosition())));
3451
+ } : this.error(y.INVALID_TAG, _(a, this.clonePosition())));
3409
3452
  } else
3410
- return this.error(v.UNCLOSED_TAG, _(n, this.clonePosition()));
3453
+ return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
3411
3454
  } else
3412
- return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
3455
+ return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
3413
3456
  }, e.prototype.parseTagName = function() {
3414
3457
  var t = this.offset();
3415
- for (this.bump(); !this.isEOF() && Bi(this.char()); )
3458
+ for (this.bump(); !this.isEOF() && Mi(this.char()); )
3416
3459
  this.bump();
3417
3460
  return this.message.slice(t, this.offset());
3418
3461
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3436,12 +3479,12 @@ var Hi = (
3436
3479
  }
3437
3480
  var l = _(n, this.clonePosition());
3438
3481
  return {
3439
- val: { type: S.literal, value: i, location: l },
3482
+ val: { type: w.literal, value: i, location: l },
3440
3483
  err: null
3441
3484
  };
3442
3485
  }, e.prototype.tryParseLeftAngleBracket = function() {
3443
3486
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3444
- !Ai(this.peek() || 0)) ? (this.bump(), "<") : null;
3487
+ !Ii(this.peek() || 0)) ? (this.bump(), "<") : null;
3445
3488
  }, e.prototype.tryParseQuote = function(t) {
3446
3489
  if (this.isEOF() || this.char() !== 39)
3447
3490
  return null;
@@ -3475,28 +3518,28 @@ var Hi = (
3475
3518
  r.push(n);
3476
3519
  this.bump();
3477
3520
  }
3478
- return Je.apply(void 0, r);
3521
+ return tt.apply(void 0, r);
3479
3522
  }, e.prototype.tryParseUnquoted = function(t, r) {
3480
3523
  if (this.isEOF())
3481
3524
  return null;
3482
3525
  var n = this.char();
3483
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
3526
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), tt(n));
3484
3527
  }, e.prototype.parseArgument = function(t, r) {
3485
3528
  var n = this.clonePosition();
3486
3529
  if (this.bump(), this.bumpSpace(), this.isEOF())
3487
- return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3530
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3488
3531
  if (this.char() === 125)
3489
- return this.bump(), this.error(v.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3532
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3490
3533
  var i = this.parseIdentifierIfPossible().value;
3491
3534
  if (!i)
3492
- return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3535
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3493
3536
  if (this.bumpSpace(), this.isEOF())
3494
- return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3537
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3495
3538
  switch (this.char()) {
3496
3539
  case 125:
3497
3540
  return this.bump(), {
3498
3541
  val: {
3499
- type: S.argument,
3542
+ type: w.argument,
3500
3543
  // value does not include the opening and closing braces.
3501
3544
  value: i,
3502
3545
  location: _(n, this.clonePosition())
@@ -3504,12 +3547,12 @@ var Hi = (
3504
3547
  err: null
3505
3548
  };
3506
3549
  case 44:
3507
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3550
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3508
3551
  default:
3509
- return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3552
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3510
3553
  }
3511
3554
  }, e.prototype.parseIdentifierIfPossible = function() {
3512
- var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
3555
+ var t = this.clonePosition(), r = this.offset(), n = rt(this.message, r), i = r + n.length;
3513
3556
  this.bumpTo(i);
3514
3557
  var o = this.clonePosition(), s = _(t, o);
3515
3558
  return { value: n, location: s };
@@ -3517,7 +3560,7 @@ var Hi = (
3517
3560
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3518
3561
  switch (a) {
3519
3562
  case "":
3520
- return this.error(v.EXPECT_ARGUMENT_TYPE, _(s, l));
3563
+ return this.error(y.EXPECT_ARGUMENT_TYPE, _(s, l));
3521
3564
  case "number":
3522
3565
  case "date":
3523
3566
  case "time": {
@@ -3528,46 +3571,46 @@ var Hi = (
3528
3571
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3529
3572
  if (c.err)
3530
3573
  return c;
3531
- var f = Ti(c.val);
3574
+ var f = Pi(c.val);
3532
3575
  if (f.length === 0)
3533
- return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3534
- var d = _(h, this.clonePosition());
3535
- u = { style: f, styleLocation: d };
3576
+ return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3577
+ var p = _(h, this.clonePosition());
3578
+ u = { style: f, styleLocation: p };
3536
3579
  }
3537
3580
  var m = this.tryParseArgumentClose(i);
3538
3581
  if (m.err)
3539
3582
  return m;
3540
- var p = _(i, this.clonePosition());
3541
- if (u && Bt(u == null ? void 0 : u.style, "::", 0)) {
3542
- var g = Si(u.style.slice(2));
3583
+ var d = _(i, this.clonePosition());
3584
+ if (u && Mt(u == null ? void 0 : u.style, "::", 0)) {
3585
+ var g = Ci(u.style.slice(2));
3543
3586
  if (a === "number") {
3544
3587
  var c = this.parseNumberSkeletonFromString(g, u.styleLocation);
3545
3588
  return c.err ? c : {
3546
- val: { type: S.number, value: n, location: p, style: c.val },
3589
+ val: { type: w.number, value: n, location: d, style: c.val },
3547
3590
  err: null
3548
3591
  };
3549
3592
  } else {
3550
3593
  if (g.length === 0)
3551
- return this.error(v.EXPECT_DATE_TIME_SKELETON, p);
3594
+ return this.error(y.EXPECT_DATE_TIME_SKELETON, d);
3552
3595
  var A = g;
3553
- this.locale && (A = ci(g, this.locale));
3596
+ this.locale && (A = bi(g, this.locale));
3554
3597
  var f = {
3555
- type: J.dateTime,
3598
+ type: Q.dateTime,
3556
3599
  pattern: A,
3557
3600
  location: u.styleLocation,
3558
- parsedOptions: this.shouldParseSkeletons ? ii(A) : {}
3559
- }, T = a === "date" ? S.date : S.time;
3601
+ parsedOptions: this.shouldParseSkeletons ? li(A) : {}
3602
+ }, T = a === "date" ? w.date : w.time;
3560
3603
  return {
3561
- val: { type: T, value: n, location: p, style: f },
3604
+ val: { type: T, value: n, location: d, style: f },
3562
3605
  err: null
3563
3606
  };
3564
3607
  }
3565
3608
  }
3566
3609
  return {
3567
3610
  val: {
3568
- type: a === "number" ? S.number : a === "date" ? S.date : S.time,
3611
+ type: a === "number" ? w.number : a === "date" ? w.date : w.time,
3569
3612
  value: n,
3570
- location: p,
3613
+ location: d,
3571
3614
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3572
3615
  },
3573
3616
  err: null
@@ -3578,19 +3621,19 @@ var Hi = (
3578
3621
  case "select": {
3579
3622
  var x = this.clonePosition();
3580
3623
  if (this.bumpSpace(), !this.bumpIf(","))
3581
- return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(x, E({}, x)));
3624
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(x, we({}, x)));
3582
3625
  this.bumpSpace();
3583
- var w = this.parseIdentifierIfPossible(), b = 0;
3584
- if (a !== "select" && w.value === "offset") {
3626
+ var E = this.parseIdentifierIfPossible(), b = 0;
3627
+ if (a !== "select" && E.value === "offset") {
3585
3628
  if (!this.bumpIf(":"))
3586
- return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3629
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3587
3630
  this.bumpSpace();
3588
- var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3631
+ var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3589
3632
  if (c.err)
3590
3633
  return c;
3591
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), b = c.val;
3634
+ this.bumpSpace(), E = this.parseIdentifierIfPossible(), b = c.val;
3592
3635
  }
3593
- var B = this.tryParsePluralOrSelectOptions(t, a, r, w);
3636
+ var B = this.tryParsePluralOrSelectOptions(t, a, r, E);
3594
3637
  if (B.err)
3595
3638
  return B;
3596
3639
  var m = this.tryParseArgumentClose(i);
@@ -3599,17 +3642,17 @@ var Hi = (
3599
3642
  var ce = _(i, this.clonePosition());
3600
3643
  return a === "select" ? {
3601
3644
  val: {
3602
- type: S.select,
3645
+ type: w.select,
3603
3646
  value: n,
3604
- options: Ct(B.val),
3647
+ options: Nt(B.val),
3605
3648
  location: ce
3606
3649
  },
3607
3650
  err: null
3608
3651
  } : {
3609
3652
  val: {
3610
- type: S.plural,
3653
+ type: w.plural,
3611
3654
  value: n,
3612
- options: Ct(B.val),
3655
+ options: Nt(B.val),
3613
3656
  offset: b,
3614
3657
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3615
3658
  location: ce
@@ -3618,10 +3661,10 @@ var Hi = (
3618
3661
  };
3619
3662
  }
3620
3663
  default:
3621
- return this.error(v.INVALID_ARGUMENT_TYPE, _(s, l));
3664
+ return this.error(y.INVALID_ARGUMENT_TYPE, _(s, l));
3622
3665
  }
3623
3666
  }, e.prototype.tryParseArgumentClose = function(t) {
3624
- return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3667
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3625
3668
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3626
3669
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3627
3670
  var n = this.char();
@@ -3630,7 +3673,7 @@ var Hi = (
3630
3673
  this.bump();
3631
3674
  var i = this.clonePosition();
3632
3675
  if (!this.bumpUntil("'"))
3633
- return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3676
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3634
3677
  this.bump();
3635
3678
  break;
3636
3679
  }
@@ -3660,16 +3703,16 @@ var Hi = (
3660
3703
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3661
3704
  var n = [];
3662
3705
  try {
3663
- n = si(t);
3706
+ n = ci(t);
3664
3707
  } catch (i) {
3665
- return this.error(v.INVALID_NUMBER_SKELETON, r);
3708
+ return this.error(y.INVALID_NUMBER_SKELETON, r);
3666
3709
  }
3667
3710
  return {
3668
3711
  val: {
3669
- type: J.number,
3712
+ type: Q.number,
3670
3713
  tokens: n,
3671
3714
  location: r,
3672
- parsedOptions: this.shouldParseSkeletons ? hi(n) : {}
3715
+ parsedOptions: this.shouldParseSkeletons ? di(n) : {}
3673
3716
  },
3674
3717
  err: null
3675
3718
  };
@@ -3678,7 +3721,7 @@ var Hi = (
3678
3721
  if (u.length === 0) {
3679
3722
  var c = this.clonePosition();
3680
3723
  if (r !== "select" && this.bumpIf("=")) {
3681
- var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
3724
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3682
3725
  if (f.err)
3683
3726
  return f;
3684
3727
  h = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
@@ -3686,26 +3729,26 @@ var Hi = (
3686
3729
  break;
3687
3730
  }
3688
3731
  if (l.has(u))
3689
- return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3732
+ return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3690
3733
  u === "other" && (s = !0), this.bumpSpace();
3691
- var d = this.clonePosition();
3734
+ var p = this.clonePosition();
3692
3735
  if (!this.bumpIf("{"))
3693
- return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3736
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3694
3737
  var m = this.parseMessage(t + 1, r, n);
3695
3738
  if (m.err)
3696
3739
  return m;
3697
- var p = this.tryParseArgumentClose(d);
3698
- if (p.err)
3699
- return p;
3740
+ var d = this.tryParseArgumentClose(p);
3741
+ if (d.err)
3742
+ return d;
3700
3743
  a.push([
3701
3744
  u,
3702
3745
  {
3703
3746
  value: m.val,
3704
- location: _(d, this.clonePosition())
3747
+ location: _(p, this.clonePosition())
3705
3748
  }
3706
3749
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3707
3750
  }
3708
- return a.length === 0 ? this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(v.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3751
+ return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3709
3752
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3710
3753
  var n = 1, i = this.clonePosition();
3711
3754
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3717,7 +3760,7 @@ var Hi = (
3717
3760
  break;
3718
3761
  }
3719
3762
  var l = _(i, this.clonePosition());
3720
- return o ? (s *= n, Ei(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3763
+ return o ? (s *= n, Ai(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3721
3764
  }, e.prototype.offset = function() {
3722
3765
  return this.position.offset;
3723
3766
  }, e.prototype.isEOF = function() {
@@ -3732,7 +3775,7 @@ var Hi = (
3732
3775
  var t = this.position.offset;
3733
3776
  if (t >= this.message.length)
3734
3777
  throw Error("out of bound");
3735
- var r = br(this.message, t);
3778
+ var r = xr(this.message, t);
3736
3779
  if (r === void 0)
3737
3780
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3738
3781
  return r;
@@ -3751,7 +3794,7 @@ var Hi = (
3751
3794
  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);
3752
3795
  }
3753
3796
  }, e.prototype.bumpIf = function(t) {
3754
- if (Bt(this.message, t, this.offset())) {
3797
+ if (Mt(this.message, t, this.offset())) {
3755
3798
  for (var r = 0; r < t.length; r++)
3756
3799
  this.bump();
3757
3800
  return !0;
@@ -3773,7 +3816,7 @@ var Hi = (
3773
3816
  break;
3774
3817
  }
3775
3818
  }, e.prototype.bumpSpace = function() {
3776
- for (; !this.isEOF() && vr(this.char()); )
3819
+ for (; !this.isEOF() && wr(this.char()); )
3777
3820
  this.bump();
3778
3821
  }, e.prototype.peek = function() {
3779
3822
  if (this.isEOF())
@@ -3783,47 +3826,47 @@ var Hi = (
3783
3826
  }, e;
3784
3827
  }()
3785
3828
  );
3786
- function Ye(e) {
3829
+ function nt(e) {
3787
3830
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3788
3831
  }
3789
- function Ai(e) {
3790
- return Ye(e) || e === 47;
3832
+ function Ii(e) {
3833
+ return nt(e) || e === 47;
3791
3834
  }
3792
- function Bi(e) {
3835
+ function Mi(e) {
3793
3836
  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;
3794
3837
  }
3795
- function vr(e) {
3838
+ function wr(e) {
3796
3839
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3797
3840
  }
3798
- function Ci(e) {
3841
+ function Ni(e) {
3799
3842
  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;
3800
3843
  }
3801
- function Ke(e) {
3844
+ function it(e) {
3802
3845
  e.forEach(function(t) {
3803
- if (delete t.location, ur(t) || lr(t))
3846
+ if (delete t.location, mr(t) || pr(t))
3804
3847
  for (var r in t.options)
3805
- delete t.options[r].location, Ke(t.options[r].value);
3848
+ delete t.options[r].location, it(t.options[r].value);
3806
3849
  else
3807
- or(t) && cr(t.style) || (sr(t) || ar(t)) && Ze(t.style) ? delete t.style.location : hr(t) && Ke(t.children);
3850
+ hr(t) && br(t.style) || (cr(t) || fr(t)) && Ke(t.style) ? delete t.style.location : dr(t) && it(t.children);
3808
3851
  });
3809
3852
  }
3810
- function Pi(e, t) {
3811
- t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3812
- var r = new Hi(e, t).parse();
3853
+ function Li(e, t) {
3854
+ t === void 0 && (t = {}), t = we({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3855
+ var r = new Oi(e, t).parse();
3813
3856
  if (r.err) {
3814
- var n = SyntaxError(v[r.err.kind]);
3857
+ var n = SyntaxError(y[r.err.kind]);
3815
3858
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3816
3859
  }
3817
- return t != null && t.captureLocation || Ke(r.val), r.val;
3860
+ return t != null && t.captureLocation || it(r.val), r.val;
3818
3861
  }
3819
- var q;
3862
+ var J;
3820
3863
  (function(e) {
3821
3864
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3822
- })(q || (q = {}));
3823
- var Be = (
3865
+ })(J || (J = {}));
3866
+ var Pe = (
3824
3867
  /** @class */
3825
3868
  function(e) {
3826
- $(t, e);
3869
+ Ce(t, e);
3827
3870
  function t(r, n, i) {
3828
3871
  var o = e.call(this, r) || this;
3829
3872
  return o.code = n, o.originalMessage = i, o;
@@ -3832,48 +3875,48 @@ var Be = (
3832
3875
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3833
3876
  }, t;
3834
3877
  }(Error)
3835
- ), Ot = (
3878
+ ), $t = (
3836
3879
  /** @class */
3837
3880
  function(e) {
3838
- $(t, e);
3881
+ Ce(t, e);
3839
3882
  function t(r, n, i, o) {
3840
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
3883
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3841
3884
  }
3842
3885
  return t;
3843
- }(Be)
3844
- ), Oi = (
3886
+ }(Pe)
3887
+ ), $i = (
3845
3888
  /** @class */
3846
3889
  function(e) {
3847
- $(t, e);
3890
+ Ce(t, e);
3848
3891
  function t(r, n, i) {
3849
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3892
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3850
3893
  }
3851
3894
  return t;
3852
- }(Be)
3853
- ), Ii = (
3895
+ }(Pe)
3896
+ ), Ri = (
3854
3897
  /** @class */
3855
3898
  function(e) {
3856
- $(t, e);
3899
+ Ce(t, e);
3857
3900
  function t(r, n) {
3858
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3901
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3859
3902
  }
3860
3903
  return t;
3861
- }(Be)
3904
+ }(Pe)
3862
3905
  ), P;
3863
3906
  (function(e) {
3864
3907
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3865
3908
  })(P || (P = {}));
3866
- function Mi(e) {
3909
+ function Gi(e) {
3867
3910
  return e.length < 2 ? e : e.reduce(function(t, r) {
3868
3911
  var n = t[t.length - 1];
3869
3912
  return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3870
3913
  }, []);
3871
3914
  }
3872
- function Ni(e) {
3915
+ function Ui(e) {
3873
3916
  return typeof e == "function";
3874
3917
  }
3875
- function ve(e, t, r, n, i, o, s) {
3876
- if (e.length === 1 && St(e[0]))
3918
+ function ye(e, t, r, n, i, o, s) {
3919
+ if (e.length === 1 && Ct(e[0]))
3877
3920
  return [
3878
3921
  {
3879
3922
  type: P.literal,
@@ -3882,14 +3925,14 @@ function ve(e, t, r, n, i, o, s) {
3882
3925
  ];
3883
3926
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3884
3927
  var h = u[l];
3885
- if (St(h)) {
3928
+ if (Ct(h)) {
3886
3929
  a.push({
3887
3930
  type: P.literal,
3888
3931
  value: h.value
3889
3932
  });
3890
3933
  continue;
3891
3934
  }
3892
- if (ri(h)) {
3935
+ if (ai(h)) {
3893
3936
  typeof o == "number" && a.push({
3894
3937
  type: P.literal,
3895
3938
  value: r.getNumberFormat(t).format(o)
@@ -3898,44 +3941,44 @@ function ve(e, t, r, n, i, o, s) {
3898
3941
  }
3899
3942
  var c = h.value;
3900
3943
  if (!(i && c in i))
3901
- throw new Ii(c, s);
3944
+ throw new Ri(c, s);
3902
3945
  var f = i[c];
3903
- if (ti(h)) {
3946
+ if (si(h)) {
3904
3947
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3905
3948
  type: typeof f == "string" ? P.literal : P.object,
3906
3949
  value: f
3907
3950
  });
3908
3951
  continue;
3909
3952
  }
3910
- if (sr(h)) {
3911
- var d = typeof h.style == "string" ? n.date[h.style] : Ze(h.style) ? h.style.parsedOptions : void 0;
3953
+ if (cr(h)) {
3954
+ var p = typeof h.style == "string" ? n.date[h.style] : Ke(h.style) ? h.style.parsedOptions : void 0;
3912
3955
  a.push({
3913
3956
  type: P.literal,
3914
- value: r.getDateTimeFormat(t, d).format(f)
3957
+ value: r.getDateTimeFormat(t, p).format(f)
3915
3958
  });
3916
3959
  continue;
3917
3960
  }
3918
- if (ar(h)) {
3919
- var d = typeof h.style == "string" ? n.time[h.style] : Ze(h.style) ? h.style.parsedOptions : n.time.medium;
3961
+ if (fr(h)) {
3962
+ var p = typeof h.style == "string" ? n.time[h.style] : Ke(h.style) ? h.style.parsedOptions : n.time.medium;
3920
3963
  a.push({
3921
3964
  type: P.literal,
3922
- value: r.getDateTimeFormat(t, d).format(f)
3965
+ value: r.getDateTimeFormat(t, p).format(f)
3923
3966
  });
3924
3967
  continue;
3925
3968
  }
3926
- if (or(h)) {
3927
- var d = typeof h.style == "string" ? n.number[h.style] : cr(h.style) ? h.style.parsedOptions : void 0;
3928
- d && d.scale && (f = f * (d.scale || 1)), a.push({
3969
+ if (hr(h)) {
3970
+ var p = typeof h.style == "string" ? n.number[h.style] : br(h.style) ? h.style.parsedOptions : void 0;
3971
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3929
3972
  type: P.literal,
3930
- value: r.getNumberFormat(t, d).format(f)
3973
+ value: r.getNumberFormat(t, p).format(f)
3931
3974
  });
3932
3975
  continue;
3933
3976
  }
3934
- if (hr(h)) {
3935
- var m = h.children, p = h.value, g = i[p];
3936
- if (!Ni(g))
3937
- throw new Oi(p, "function", s);
3938
- var A = ve(m, t, r, n, i, o), T = g(A.map(function(b) {
3977
+ if (dr(h)) {
3978
+ var m = h.children, d = h.value, g = i[d];
3979
+ if (!Ui(g))
3980
+ throw new $i(d, "function", s);
3981
+ var A = ye(m, t, r, n, i, o), T = g(A.map(function(b) {
3939
3982
  return b.value;
3940
3983
  }));
3941
3984
  Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(b) {
@@ -3945,42 +3988,42 @@ function ve(e, t, r, n, i, o, s) {
3945
3988
  };
3946
3989
  }));
3947
3990
  }
3948
- if (ur(h)) {
3991
+ if (mr(h)) {
3949
3992
  var x = h.options[f] || h.options.other;
3950
3993
  if (!x)
3951
- throw new Ot(h.value, f, Object.keys(h.options), s);
3952
- a.push.apply(a, ve(x.value, t, r, n, i));
3994
+ throw new $t(h.value, f, Object.keys(h.options), s);
3995
+ a.push.apply(a, ye(x.value, t, r, n, i));
3953
3996
  continue;
3954
3997
  }
3955
- if (lr(h)) {
3998
+ if (pr(h)) {
3956
3999
  var x = h.options["=".concat(f)];
3957
4000
  if (!x) {
3958
4001
  if (!Intl.PluralRules)
3959
- throw new Be(`Intl.PluralRules is not available in this environment.
4002
+ throw new Pe(`Intl.PluralRules is not available in this environment.
3960
4003
  Try polyfilling it using "@formatjs/intl-pluralrules"
3961
- `, q.MISSING_INTL_API, s);
3962
- var w = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3963
- x = h.options[w] || h.options.other;
4004
+ `, J.MISSING_INTL_API, s);
4005
+ var E = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
4006
+ x = h.options[E] || h.options.other;
3964
4007
  }
3965
4008
  if (!x)
3966
- throw new Ot(h.value, f, Object.keys(h.options), s);
3967
- a.push.apply(a, ve(x.value, t, r, n, i, f - (h.offset || 0)));
4009
+ throw new $t(h.value, f, Object.keys(h.options), s);
4010
+ a.push.apply(a, ye(x.value, t, r, n, i, f - (h.offset || 0)));
3968
4011
  continue;
3969
4012
  }
3970
4013
  }
3971
- return Mi(a);
4014
+ return Gi(a);
3972
4015
  }
3973
- function Li(e, t) {
3974
- return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3975
- return r[n] = E(E({}, e[n]), t[n] || {}), r;
4016
+ function Di(e, t) {
4017
+ return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4018
+ return r[n] = L(L({}, e[n]), t[n] || {}), r;
3976
4019
  }, {})) : e;
3977
4020
  }
3978
- function Ri(e, t) {
4021
+ function Fi(e, t) {
3979
4022
  return t ? Object.keys(e).reduce(function(r, n) {
3980
- return r[n] = Li(e[n], t[n]), r;
3981
- }, E({}, e)) : e;
4023
+ return r[n] = Di(e[n], t[n]), r;
4024
+ }, L({}, e)) : e;
3982
4025
  }
3983
- function Ge(e) {
4026
+ function Fe(e) {
3984
4027
  return {
3985
4028
  create: function() {
3986
4029
  return {
@@ -3994,39 +4037,39 @@ function Ge(e) {
3994
4037
  }
3995
4038
  };
3996
4039
  }
3997
- function $i(e) {
4040
+ function ji(e) {
3998
4041
  return e === void 0 && (e = {
3999
4042
  number: {},
4000
4043
  dateTime: {},
4001
4044
  pluralRules: {}
4002
4045
  }), {
4003
- getNumberFormat: Le(function() {
4046
+ getNumberFormat: Ge(function() {
4004
4047
  for (var t, r = [], n = 0; n < arguments.length; n++)
4005
4048
  r[n] = arguments[n];
4006
- return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
4049
+ return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
4007
4050
  }, {
4008
- cache: Ge(e.number),
4009
- strategy: Re.variadic
4051
+ cache: Fe(e.number),
4052
+ strategy: Ue.variadic
4010
4053
  }),
4011
- getDateTimeFormat: Le(function() {
4054
+ getDateTimeFormat: Ge(function() {
4012
4055
  for (var t, r = [], n = 0; n < arguments.length; n++)
4013
4056
  r[n] = arguments[n];
4014
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
4057
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
4015
4058
  }, {
4016
- cache: Ge(e.dateTime),
4017
- strategy: Re.variadic
4059
+ cache: Fe(e.dateTime),
4060
+ strategy: Ue.variadic
4018
4061
  }),
4019
- getPluralRules: Le(function() {
4062
+ getPluralRules: Ge(function() {
4020
4063
  for (var t, r = [], n = 0; n < arguments.length; n++)
4021
4064
  r[n] = arguments[n];
4022
- return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
4065
+ return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
4023
4066
  }, {
4024
- cache: Ge(e.pluralRules),
4025
- strategy: Re.variadic
4067
+ cache: Fe(e.pluralRules),
4068
+ strategy: Ue.variadic
4026
4069
  })
4027
4070
  };
4028
4071
  }
4029
- var Gi = (
4072
+ var ki = (
4030
4073
  /** @class */
4031
4074
  function() {
4032
4075
  function e(t, r, n, i) {
@@ -4045,7 +4088,7 @@ var Gi = (
4045
4088
  }, []);
4046
4089
  return h.length <= 1 ? h[0] || "" : h;
4047
4090
  }, this.formatToParts = function(l) {
4048
- return ve(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4091
+ return ye(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4049
4092
  }, this.resolvedOptions = function() {
4050
4093
  var l;
4051
4094
  return {
@@ -4058,13 +4101,13 @@ var Gi = (
4058
4101
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4059
4102
  var s = i || {};
4060
4103
  s.formatters;
4061
- var a = bn(s, ["formatters"]);
4062
- this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
4104
+ var a = Yn(s, ["formatters"]);
4105
+ this.ast = e.__parse(t, L(L({}, a), { locale: this.resolvedLocale }));
4063
4106
  } else
4064
4107
  this.ast = t;
4065
4108
  if (!Array.isArray(this.ast))
4066
4109
  throw new TypeError("A message must be provided as a String or AST.");
4067
- this.formats = Ri(e.formats, n), this.formatters = i && i.formatters || $i(this.formatterCache);
4110
+ this.formats = Fi(e.formats, n), this.formatters = i && i.formatters || ji(this.formatterCache);
4068
4111
  }
4069
4112
  return Object.defineProperty(e, "defaultLocale", {
4070
4113
  get: function() {
@@ -4077,7 +4120,7 @@ var Gi = (
4077
4120
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4078
4121
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4079
4122
  }
4080
- }, e.__parse = Pi, e.formats = {
4123
+ }, e.__parse = Li, e.formats = {
4081
4124
  number: {
4082
4125
  integer: {
4083
4126
  maximumFractionDigits: 0
@@ -4138,7 +4181,7 @@ var Gi = (
4138
4181
  }, e;
4139
4182
  }()
4140
4183
  );
4141
- function Ui(e, t) {
4184
+ function Vi(e, t) {
4142
4185
  if (t == null)
4143
4186
  return;
4144
4187
  if (t in e)
@@ -4159,92 +4202,92 @@ function Ui(e, t) {
4159
4202
  n = void 0;
4160
4203
  return n;
4161
4204
  }
4162
- const G = {}, Di = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), yr = (e, t) => {
4205
+ const G = {}, Xi = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Sr = (e, t) => {
4163
4206
  if (t == null)
4164
4207
  return;
4165
4208
  if (t in G && e in G[t])
4166
4209
  return G[t][e];
4167
- const r = Ce(t);
4210
+ const r = Oe(t);
4168
4211
  for (let n = 0; n < r.length; n++) {
4169
- const i = r[n], o = ji(i, e);
4212
+ const i = r[n], o = Wi(i, e);
4170
4213
  if (o)
4171
- return Di(e, t, o);
4214
+ return Xi(e, t, o);
4172
4215
  }
4173
4216
  };
4174
- let ot;
4175
- const he = Ae({});
4176
- function Fi(e) {
4177
- return ot[e] || null;
4217
+ let ht;
4218
+ const he = Be({});
4219
+ function zi(e) {
4220
+ return ht[e] || null;
4178
4221
  }
4179
- function _r(e) {
4180
- return e in ot;
4222
+ function Tr(e) {
4223
+ return e in ht;
4181
4224
  }
4182
- function ji(e, t) {
4183
- if (!_r(e))
4225
+ function Wi(e, t) {
4226
+ if (!Tr(e))
4184
4227
  return null;
4185
- const r = Fi(e);
4186
- return Ui(r, t);
4228
+ const r = zi(e);
4229
+ return Vi(r, t);
4187
4230
  }
4188
- function ki(e) {
4231
+ function Zi(e) {
4189
4232
  if (e == null)
4190
4233
  return;
4191
- const t = Ce(e);
4234
+ const t = Oe(e);
4192
4235
  for (let r = 0; r < t.length; r++) {
4193
4236
  const n = t[r];
4194
- if (_r(n))
4237
+ if (Tr(n))
4195
4238
  return n;
4196
4239
  }
4197
4240
  }
4198
- function xr(e, ...t) {
4199
- delete G[e], he.update((r) => (r[e] = Wn.all([r[e] || {}, ...t]), r));
4241
+ function Hr(e, ...t) {
4242
+ delete G[e], he.update((r) => (r[e] = qn.all([r[e] || {}, ...t]), r));
4200
4243
  }
4201
- K(
4244
+ Y(
4202
4245
  [he],
4203
4246
  ([e]) => Object.keys(e)
4204
4247
  );
4205
- he.subscribe((e) => ot = e);
4206
- const ye = {};
4207
- function Vi(e, t) {
4208
- ye[e].delete(t), ye[e].size === 0 && delete ye[e];
4248
+ he.subscribe((e) => ht = e);
4249
+ const ve = {};
4250
+ function Qi(e, t) {
4251
+ ve[e].delete(t), ve[e].size === 0 && delete ve[e];
4209
4252
  }
4210
- function Er(e) {
4211
- return ye[e];
4253
+ function Ar(e) {
4254
+ return ve[e];
4212
4255
  }
4213
- function Xi(e) {
4214
- return Ce(e).map((t) => {
4215
- const r = Er(t);
4256
+ function Ji(e) {
4257
+ return Oe(e).map((t) => {
4258
+ const r = Ar(t);
4216
4259
  return [t, r ? [...r] : []];
4217
4260
  }).filter(([, t]) => t.length > 0);
4218
4261
  }
4219
- function et(e) {
4220
- return e == null ? !1 : Ce(e).some(
4262
+ function ot(e) {
4263
+ return e == null ? !1 : Oe(e).some(
4221
4264
  (t) => {
4222
4265
  var r;
4223
- return (r = Er(t)) == null ? void 0 : r.size;
4266
+ return (r = Ar(t)) == null ? void 0 : r.size;
4224
4267
  }
4225
4268
  );
4226
4269
  }
4227
- function zi(e, t) {
4270
+ function qi(e, t) {
4228
4271
  return Promise.all(
4229
- t.map((n) => (Vi(e, n), n().then((i) => i.default || i)))
4230
- ).then((n) => xr(e, ...n));
4231
- }
4232
- const ne = {};
4233
- function wr(e) {
4234
- if (!et(e))
4235
- return e in ne ? ne[e] : Promise.resolve();
4236
- const t = Xi(e);
4237
- return ne[e] = Promise.all(
4272
+ t.map((n) => (Qi(e, n), n().then((i) => i.default || i)))
4273
+ ).then((n) => Hr(e, ...n));
4274
+ }
4275
+ const re = {};
4276
+ function Br(e) {
4277
+ if (!ot(e))
4278
+ return e in re ? re[e] : Promise.resolve();
4279
+ const t = Ji(e);
4280
+ return re[e] = Promise.all(
4238
4281
  t.map(
4239
- ([r, n]) => zi(r, n)
4282
+ ([r, n]) => qi(r, n)
4240
4283
  )
4241
4284
  ).then(() => {
4242
- if (et(e))
4243
- return wr(e);
4244
- delete ne[e];
4245
- }), ne[e];
4285
+ if (ot(e))
4286
+ return Br(e);
4287
+ delete re[e];
4288
+ }), re[e];
4246
4289
  }
4247
- const Wi = {
4290
+ const Yi = {
4248
4291
  number: {
4249
4292
  scientific: { notation: "scientific" },
4250
4293
  engineering: { notation: "engineering" },
@@ -4273,135 +4316,135 @@ const Wi = {
4273
4316
  timeZoneName: "short"
4274
4317
  }
4275
4318
  }
4276
- }, Zi = {
4319
+ }, Ki = {
4277
4320
  fallbackLocale: null,
4278
4321
  loadingDelay: 200,
4279
- formats: Wi,
4322
+ formats: Yi,
4280
4323
  warnOnMissingMessages: !0,
4281
4324
  handleMissingMessage: void 0,
4282
4325
  ignoreTag: !0
4283
- }, Qi = Zi;
4284
- function Y() {
4285
- return Qi;
4326
+ }, eo = Ki;
4327
+ function q() {
4328
+ return eo;
4286
4329
  }
4287
- const Ue = Ae(!1);
4288
- var Ji = Object.defineProperty, qi = Object.defineProperties, Yi = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, Ki = Object.prototype.hasOwnProperty, eo = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, to = (e, t) => {
4330
+ const je = Be(!1);
4331
+ var to = Object.defineProperty, ro = Object.defineProperties, no = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, io = Object.prototype.hasOwnProperty, oo = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? to(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, so = (e, t) => {
4289
4332
  for (var r in t || (t = {}))
4290
- Ki.call(t, r) && Mt(e, r, t[r]);
4291
- if (It)
4292
- for (var r of It(t))
4293
- eo.call(t, r) && Mt(e, r, t[r]);
4333
+ io.call(t, r) && Gt(e, r, t[r]);
4334
+ if (Rt)
4335
+ for (var r of Rt(t))
4336
+ oo.call(t, r) && Gt(e, r, t[r]);
4294
4337
  return e;
4295
- }, ro = (e, t) => qi(e, Yi(t));
4296
- let tt;
4297
- const we = Ae(null);
4298
- function Nt(e) {
4338
+ }, ao = (e, t) => ro(e, no(t));
4339
+ let st;
4340
+ const Se = Be(null);
4341
+ function Ut(e) {
4299
4342
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4300
4343
  }
4301
- function Ce(e, t = Y().fallbackLocale) {
4302
- const r = Nt(e);
4303
- return t ? [.../* @__PURE__ */ new Set([...r, ...Nt(t)])] : r;
4344
+ function Oe(e, t = q().fallbackLocale) {
4345
+ const r = Ut(e);
4346
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
4304
4347
  }
4305
4348
  function F() {
4306
- return tt != null ? tt : void 0;
4349
+ return st != null ? st : void 0;
4307
4350
  }
4308
- we.subscribe((e) => {
4309
- tt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4351
+ Se.subscribe((e) => {
4352
+ st = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4310
4353
  });
4311
- const no = (e) => {
4312
- if (e && ki(e) && et(e)) {
4313
- const { loadingDelay: t } = Y();
4354
+ const uo = (e) => {
4355
+ if (e && Zi(e) && ot(e)) {
4356
+ const { loadingDelay: t } = q();
4314
4357
  let r;
4315
4358
  return typeof window != "undefined" && F() != null && t ? r = window.setTimeout(
4316
- () => Ue.set(!0),
4359
+ () => je.set(!0),
4317
4360
  t
4318
- ) : Ue.set(!0), wr(e).then(() => {
4319
- we.set(e);
4361
+ ) : je.set(!0), Br(e).then(() => {
4362
+ Se.set(e);
4320
4363
  }).finally(() => {
4321
- clearTimeout(r), Ue.set(!1);
4364
+ clearTimeout(r), je.set(!1);
4322
4365
  });
4323
4366
  }
4324
- return we.set(e);
4325
- }, ee = ro(to({}, we), {
4326
- set: no
4327
- }), Pe = (e) => {
4367
+ return Se.set(e);
4368
+ }, K = ao(so({}, Se), {
4369
+ set: uo
4370
+ }), Ie = (e) => {
4328
4371
  const t = /* @__PURE__ */ Object.create(null);
4329
4372
  return (n) => {
4330
4373
  const i = JSON.stringify(n);
4331
4374
  return i in t ? t[i] : t[i] = e(n);
4332
4375
  };
4333
4376
  };
4334
- var io = Object.defineProperty, Se = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
4377
+ var lo = Object.defineProperty, Te = Object.getOwnPropertySymbols, Cr = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
4335
4378
  for (var r in t || (t = {}))
4336
- Sr.call(t, r) && Lt(e, r, t[r]);
4337
- if (Se)
4338
- for (var r of Se(t))
4339
- Tr.call(t, r) && Lt(e, r, t[r]);
4379
+ Cr.call(t, r) && Dt(e, r, t[r]);
4380
+ if (Te)
4381
+ for (var r of Te(t))
4382
+ Pr.call(t, r) && Dt(e, r, t[r]);
4340
4383
  return e;
4341
- }, te = (e, t) => {
4384
+ }, ee = (e, t) => {
4342
4385
  var r = {};
4343
4386
  for (var n in e)
4344
- Sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4345
- if (e != null && Se)
4346
- for (var n of Se(e))
4347
- t.indexOf(n) < 0 && Tr.call(e, n) && (r[n] = e[n]);
4387
+ Cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4388
+ if (e != null && Te)
4389
+ for (var n of Te(e))
4390
+ t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
4348
4391
  return r;
4349
4392
  };
4350
- const ae = (e, t) => {
4351
- const { formats: r } = Y();
4393
+ const se = (e, t) => {
4394
+ const { formats: r } = q();
4352
4395
  if (e in r && t in r[e])
4353
4396
  return r[e][t];
4354
4397
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4355
- }, oo = Pe(
4398
+ }, ho = Ie(
4356
4399
  (e) => {
4357
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4400
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4358
4401
  if (r == null)
4359
4402
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4360
- return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
4403
+ return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4361
4404
  }
4362
- ), so = Pe(
4405
+ ), co = Ie(
4363
4406
  (e) => {
4364
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4407
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4365
4408
  if (r == null)
4366
4409
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4367
- return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
4410
+ return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4368
4411
  }
4369
- ), ao = Pe(
4412
+ ), fo = Ie(
4370
4413
  (e) => {
4371
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4414
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4372
4415
  if (r == null)
4373
4416
  throw new Error(
4374
4417
  '[svelte-i18n] A "locale" must be set to format time values'
4375
4418
  );
4376
- return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
4419
+ return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4377
4420
  }
4378
- ), uo = (e = {}) => {
4421
+ ), mo = (e = {}) => {
4379
4422
  var t = e, {
4380
4423
  locale: r = F()
4381
- } = t, n = te(t, [
4424
+ } = t, n = ee(t, [
4382
4425
  "locale"
4383
4426
  ]);
4384
- return oo(st({ locale: r }, n));
4385
- }, lo = (e = {}) => {
4427
+ return ho(ct({ locale: r }, n));
4428
+ }, po = (e = {}) => {
4386
4429
  var t = e, {
4387
4430
  locale: r = F()
4388
- } = t, n = te(t, [
4431
+ } = t, n = ee(t, [
4389
4432
  "locale"
4390
4433
  ]);
4391
- return so(st({ locale: r }, n));
4392
- }, ho = (e = {}) => {
4434
+ return co(ct({ locale: r }, n));
4435
+ }, bo = (e = {}) => {
4393
4436
  var t = e, {
4394
4437
  locale: r = F()
4395
- } = t, n = te(t, [
4438
+ } = t, n = ee(t, [
4396
4439
  "locale"
4397
4440
  ]);
4398
- return ao(st({ locale: r }, n));
4399
- }, co = Pe(
4441
+ return fo(ct({ locale: r }, n));
4442
+ }, go = Ie(
4400
4443
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4401
- (e, t = F()) => new Gi(e, t, Y().formats, {
4402
- ignoreTag: Y().ignoreTag
4444
+ (e, t = F()) => new ki(e, t, q().formats, {
4445
+ ignoreTag: q().ignoreTag
4403
4446
  })
4404
- ), fo = (e, t = {}) => {
4447
+ ), yo = (e, t = {}) => {
4405
4448
  var r, n, i, o;
4406
4449
  let s = t;
4407
4450
  typeof e == "object" && (s = e, e = s.id);
@@ -4414,9 +4457,9 @@ const ae = (e, t) => {
4414
4457
  throw new Error(
4415
4458
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4416
4459
  );
4417
- let h = yr(e, l);
4460
+ let h = Sr(e, l);
4418
4461
  if (!h)
4419
- h = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4462
+ 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;
4420
4463
  else if (typeof h != "string")
4421
4464
  return console.warn(
4422
4465
  `[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.`
@@ -4425,7 +4468,7 @@ const ae = (e, t) => {
4425
4468
  return h;
4426
4469
  let c = h;
4427
4470
  try {
4428
- c = co(h, l).format(a);
4471
+ c = go(h, l).format(a);
4429
4472
  } catch (f) {
4430
4473
  f instanceof Error && console.warn(
4431
4474
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4433,20 +4476,20 @@ const ae = (e, t) => {
4433
4476
  );
4434
4477
  }
4435
4478
  return c;
4436
- }, mo = (e, t) => ho(t).format(e), po = (e, t) => lo(t).format(e), bo = (e, t) => uo(t).format(e), go = (e, t = F()) => yr(e, t), vo = K([ee, he], () => fo);
4437
- K([ee], () => mo);
4438
- K([ee], () => po);
4439
- K([ee], () => bo);
4440
- K([ee, he], () => go);
4441
- window.emWidgets = { topic: Pn };
4442
- const yo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4443
- function _o(e, t) {
4479
+ }, vo = (e, t) => bo(t).format(e), _o = (e, t) => po(t).format(e), xo = (e, t) => mo(t).format(e), Eo = (e, t = F()) => Sr(e, t), wo = Y([K, he], () => yo);
4480
+ Y([K], () => vo);
4481
+ Y([K], () => _o);
4482
+ Y([K], () => xo);
4483
+ Y([K, he], () => Eo);
4484
+ window.emWidgets = { topic: Nn };
4485
+ const So = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4486
+ function To(e, t) {
4444
4487
  if (e) {
4445
4488
  const r = document.createElement("style");
4446
4489
  r.innerHTML = t, e.appendChild(r);
4447
4490
  }
4448
4491
  }
4449
- function xo(e, t) {
4492
+ function Ho(e, t) {
4450
4493
  const r = new URL(t);
4451
4494
  fetch(r.href).then((n) => n.text()).then((n) => {
4452
4495
  const i = document.createElement("style");
@@ -4455,7 +4498,7 @@ function xo(e, t) {
4455
4498
  console.error("There was an error while trying to load client styling from URL", n);
4456
4499
  });
4457
4500
  }
4458
- function Eo(e, t, r) {
4501
+ function Ao(e, t, r) {
4459
4502
  if (window.emMessageBus) {
4460
4503
  const n = document.createElement("style");
4461
4504
  window.emMessageBus.subscribe(t, (i) => {
@@ -4463,13 +4506,13 @@ function Eo(e, t, r) {
4463
4506
  });
4464
4507
  }
4465
4508
  }
4466
- function Rt(e, t) {
4467
- xr(e, t);
4509
+ function Ft(e, t) {
4510
+ Hr(e, t);
4468
4511
  }
4469
- function wo(e) {
4470
- ee.set(e);
4512
+ function Bo(e) {
4513
+ K.set(e);
4471
4514
  }
4472
- const $t = {
4515
+ const jt = {
4473
4516
  en: {
4474
4517
  cancel: "Cancel",
4475
4518
  confirm: "Confirm"
@@ -4515,18 +4558,18 @@ const $t = {
4515
4558
  confirm: "Confirm"
4516
4559
  }
4517
4560
  };
4518
- function So(e) {
4519
- Vr(e, "svelte-8g0wf4", '*,*::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}');
4561
+ function Co(e) {
4562
+ Qr(e, "svelte-8g0wf4", '*,*::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}');
4520
4563
  }
4521
- const To = (e) => ({}), Gt = (e) => ({});
4522
- function Ho(e) {
4564
+ const Po = (e) => ({}), kt = (e) => ({});
4565
+ function Oo(e) {
4523
4566
  let t, r;
4524
4567
  return {
4525
4568
  c() {
4526
- t = mt("svg"), r = mt("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");
4569
+ t = yt("svg"), r = yt("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");
4527
4570
  },
4528
4571
  m(n, i) {
4529
- ue(n, t, i), C(t, r);
4572
+ ae(n, t, i), C(t, r);
4530
4573
  },
4531
4574
  p: N,
4532
4575
  d(n) {
@@ -4534,21 +4577,21 @@ function Ho(e) {
4534
4577
  }
4535
4578
  };
4536
4579
  }
4537
- function Ut(e) {
4580
+ function Vt(e) {
4538
4581
  let t, r, n;
4539
4582
  return {
4540
4583
  c() {
4541
- t = M("div"), r = M("h2"), n = le(
4584
+ t = M("div"), r = M("h2"), n = ue(
4542
4585
  /*modaltitle*/
4543
4586
  e[1]
4544
4587
  ), H(t, "class", "GeneralConfirmationTitle");
4545
4588
  },
4546
4589
  m(i, o) {
4547
- ue(i, t, o), C(t, r), C(r, n);
4590
+ ae(i, t, o), C(t, r), C(r, n);
4548
4591
  },
4549
4592
  p(i, o) {
4550
4593
  o & /*modaltitle*/
4551
- 2 && it(
4594
+ 2 && lt(
4552
4595
  n,
4553
4596
  /*modaltitle*/
4554
4597
  i[1]
@@ -4559,17 +4602,17 @@ function Ut(e) {
4559
4602
  }
4560
4603
  };
4561
4604
  }
4562
- function Dt(e) {
4605
+ function Xt(e) {
4563
4606
  let t, r = (
4564
4607
  /*$_*/
4565
4608
  e[4]("cancel") + ""
4566
4609
  ), n, i, o;
4567
4610
  return {
4568
4611
  c() {
4569
- t = M("button"), n = le(r), H(t, "class", "GeneralCancelButton");
4612
+ t = M("button"), n = ue(r), H(t, "class", "GeneralCancelButton");
4570
4613
  },
4571
4614
  m(s, a) {
4572
- ue(s, t, a), C(t, n), i || (o = De(
4615
+ ae(s, t, a), C(t, n), i || (o = ke(
4573
4616
  t,
4574
4617
  "click",
4575
4618
  /*click_handler*/
@@ -4579,52 +4622,52 @@ function Dt(e) {
4579
4622
  p(s, a) {
4580
4623
  a & /*$_*/
4581
4624
  16 && r !== (r = /*$_*/
4582
- s[4]("cancel") + "") && it(n, r);
4625
+ s[4]("cancel") + "") && lt(n, r);
4583
4626
  },
4584
4627
  d(s) {
4585
4628
  s && D(t), i = !1, o();
4586
4629
  }
4587
4630
  };
4588
4631
  }
4589
- function Ao(e) {
4632
+ function Io(e) {
4590
4633
  let t, r, n, i, o, s, a, l, u, h, c = (
4591
4634
  /*$_*/
4592
4635
  e[4]("confirm") + ""
4593
- ), f, d, m, p;
4636
+ ), f, p, m, d;
4594
4637
  const g = (
4595
4638
  /*#slots*/
4596
4639
  e[16].close
4597
- ), A = Gr(
4640
+ ), A = kr(
4598
4641
  g,
4599
4642
  e,
4600
4643
  /*$$scope*/
4601
4644
  e[15],
4602
- Gt
4603
- ), T = A || Ho();
4645
+ kt
4646
+ ), T = A || Oo();
4604
4647
  let x = (
4605
4648
  /*modaltitle*/
4606
- e[1] && Ut(e)
4607
- ), w = (
4649
+ e[1] && Vt(e)
4650
+ ), E = (
4608
4651
  /*hascancelbutton*/
4609
- e[2] && Dt(e)
4652
+ e[2] && Xt(e)
4610
4653
  );
4611
4654
  return {
4612
4655
  c() {
4613
- t = M("div"), r = M("div"), n = M("span"), T && T.c(), i = fe(), x && x.c(), o = fe(), s = M("div"), a = fe(), l = M("div"), w && w.c(), u = fe(), h = M("button"), f = le(c), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(s, "class", "GeneralConfirmationContent"), H(h, "class", "GeneralConfirmButton"), H(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4656
+ t = M("div"), r = M("div"), n = M("span"), T && T.c(), i = fe(), x && x.c(), o = fe(), s = M("div"), a = fe(), l = M("div"), E && E.c(), u = fe(), h = M("button"), f = ue(c), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(s, "class", "GeneralConfirmationContent"), H(h, "class", "GeneralConfirmButton"), H(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4614
4657
  (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4615
4658
  (e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4616
4659
  (e[5] ? "GeneralConfirmationMobileWrapper" : ""));
4617
4660
  },
4618
4661
  m(b, B) {
4619
- ue(b, t, B), C(t, r), C(r, n), T && T.m(n, null), C(r, i), x && x.m(r, null), C(r, o), C(r, s), s.innerHTML = /*modaltext*/
4620
- e[0], C(r, a), C(r, l), w && w.m(l, null), C(l, u), C(l, h), C(h, f), e[19](t), d = !0, m || (p = [
4621
- De(
4662
+ ae(b, t, B), C(t, r), C(r, n), T && T.m(n, null), C(r, i), x && x.m(r, null), C(r, o), C(r, s), s.innerHTML = /*modaltext*/
4663
+ e[0], C(r, a), C(r, l), E && E.m(l, null), C(l, u), C(l, h), C(h, f), e[19](t), p = !0, m || (d = [
4664
+ ke(
4622
4665
  n,
4623
4666
  "click",
4624
4667
  /*close*/
4625
4668
  e[6]
4626
4669
  ),
4627
- De(
4670
+ ke(
4628
4671
  h,
4629
4672
  "click",
4630
4673
  /*click_handler_1*/
@@ -4633,82 +4676,82 @@ function Ao(e) {
4633
4676
  ], m = !0);
4634
4677
  },
4635
4678
  p(b, [B]) {
4636
- A && A.p && (!d || B & /*$$scope*/
4637
- 32768) && Dr(
4679
+ A && A.p && (!p || B & /*$$scope*/
4680
+ 32768) && Xr(
4638
4681
  A,
4639
4682
  g,
4640
4683
  b,
4641
4684
  /*$$scope*/
4642
4685
  b[15],
4643
- d ? Ur(
4686
+ p ? Vr(
4644
4687
  g,
4645
4688
  /*$$scope*/
4646
4689
  b[15],
4647
4690
  B,
4648
- To
4649
- ) : Fr(
4691
+ Po
4692
+ ) : zr(
4650
4693
  /*$$scope*/
4651
4694
  b[15]
4652
4695
  ),
4653
- Gt
4696
+ kt
4654
4697
  ), /*modaltitle*/
4655
- b[1] ? x ? x.p(b, B) : (x = Ut(b), x.c(), x.m(r, o)) : x && (x.d(1), x = null), (!d || B & /*modaltext*/
4698
+ b[1] ? x ? x.p(b, B) : (x = Vt(b), x.c(), x.m(r, o)) : x && (x.d(1), x = null), (!p || B & /*modaltext*/
4656
4699
  1) && (s.innerHTML = /*modaltext*/
4657
4700
  b[0]), /*hascancelbutton*/
4658
- b[2] ? w ? w.p(b, B) : (w = Dt(b), w.c(), w.m(l, u)) : w && (w.d(1), w = null), (!d || B & /*$_*/
4701
+ b[2] ? E ? E.p(b, B) : (E = Xt(b), E.c(), E.m(l, u)) : E && (E.d(1), E = null), (!p || B & /*$_*/
4659
4702
  16) && c !== (c = /*$_*/
4660
- b[4]("confirm") + "") && it(f, c);
4703
+ b[4]("confirm") + "") && lt(f, c);
4661
4704
  },
4662
4705
  i(b) {
4663
- d || (Zt(T, b), d = !0);
4706
+ p || (Kt(T, b), p = !0);
4664
4707
  },
4665
4708
  o(b) {
4666
- an(T, b), d = !1;
4709
+ fn(T, b), p = !1;
4667
4710
  },
4668
4711
  d(b) {
4669
- b && D(t), T && T.d(b), x && x.d(), w && w.d(), e[19](null), m = !1, U(p);
4712
+ b && D(t), T && T.d(b), x && x.d(), E && E.d(), e[19](null), m = !1, U(d);
4670
4713
  }
4671
4714
  };
4672
4715
  }
4673
- function Bo(e, t, r) {
4716
+ function Mo(e, t, r) {
4674
4717
  let n;
4675
- $r(e, vo, (y) => r(4, n = y));
4676
- 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: d = "" } = t, { translationurl: m = "" } = t, { mbsource: p } = t, g, A = window.navigator.userAgent, T = yo(A) !== "PC";
4718
+ jr(e, wo, (v) => r(4, n = v));
4719
+ 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: p = "" } = t, { translationurl: m = "" } = t, { mbsource: d } = t, g, A = window.navigator.userAgent, T = So(A) !== "PC";
4677
4720
  const x = () => {
4678
4721
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4679
- }, w = (y) => {
4680
- y === "confirm" && u && window.postMessage(u, window.location.href), y === "cancel" && h && window.postMessage(h, window.location.href), x();
4722
+ }, E = (v) => {
4723
+ v === "confirm" && u && window.postMessage(u, window.location.href), v === "cancel" && h && window.postMessage(h, window.location.href), x();
4681
4724
  }, b = () => {
4682
4725
  fetch(m).then((j) => j.json()).then((j) => {
4683
- Object.keys(j).forEach((at) => {
4684
- Rt(at, j[at]);
4726
+ Object.keys(j).forEach((ft) => {
4727
+ Ft(ft, j[ft]);
4685
4728
  });
4686
4729
  }).catch((j) => {
4687
4730
  console.log(j);
4688
4731
  });
4689
4732
  };
4690
- Object.keys($t).forEach((y) => {
4691
- Rt(y, $t[y]);
4733
+ Object.keys(jt).forEach((v) => {
4734
+ Ft(v, jt[v]);
4692
4735
  });
4693
4736
  const B = () => {
4694
- wo(c);
4737
+ Bo(c);
4695
4738
  };
4696
- en(() => () => {
4739
+ sn(() => () => {
4697
4740
  });
4698
- const ce = () => w("cancel"), Ar = () => w("confirm");
4699
- function Br(y) {
4700
- Fe[y ? "unshift" : "push"](() => {
4701
- g = y, r(3, g);
4741
+ const ce = () => E("cancel"), Ir = () => E("confirm");
4742
+ function Mr(v) {
4743
+ Ve[v ? "unshift" : "push"](() => {
4744
+ g = v, r(3, g);
4702
4745
  });
4703
4746
  }
4704
- return e.$$set = (y) => {
4705
- "modaltext" in y && r(0, s = y.modaltext), "modaltitle" in y && r(1, a = y.modaltitle), "hascancelbutton" in y && r(2, l = y.hascancelbutton), "modalconfirmevent" in y && r(8, u = y.modalconfirmevent), "modalcancelevent" in y && r(9, h = y.modalcancelevent), "lang" in y && r(10, c = y.lang), "clientstyling" in y && r(11, f = y.clientstyling), "clientstylingurl" in y && r(12, d = y.clientstylingurl), "translationurl" in y && r(13, m = y.translationurl), "mbsource" in y && r(14, p = y.mbsource), "$$scope" in y && r(15, o = y.$$scope);
4747
+ return e.$$set = (v) => {
4748
+ "modaltext" in v && r(0, s = v.modaltext), "modaltitle" in v && r(1, a = v.modaltitle), "hascancelbutton" in v && r(2, l = v.hascancelbutton), "modalconfirmevent" in v && r(8, u = v.modalconfirmevent), "modalcancelevent" in v && r(9, h = v.modalcancelevent), "lang" in v && r(10, c = v.lang), "clientstyling" in v && r(11, f = v.clientstyling), "clientstylingurl" in v && r(12, p = v.clientstylingurl), "translationurl" in v && r(13, m = v.translationurl), "mbsource" in v && r(14, d = v.mbsource), "$$scope" in v && r(15, o = v.$$scope);
4706
4749
  }, e.$$.update = () => {
4707
4750
  e.$$.dirty & /*modaltext, lang*/
4708
4751
  1025 && s && c && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4709
- 2056 && f && g && _o(g, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4710
- 4104 && d && g && xo(g, d), e.$$.dirty & /*mbsource, customStylingContainer*/
4711
- 16392 && p && g && Eo(g, `${p}.Style`), e.$$.dirty & /*translationurl*/
4752
+ 2056 && f && g && To(g, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4753
+ 4104 && p && g && Ho(g, p), e.$$.dirty & /*mbsource, customStylingContainer*/
4754
+ 16392 && d && g && Ao(g, `${d}.Style`), e.$$.dirty & /*translationurl*/
4712
4755
  8192 && m && b();
4713
4756
  }, [
4714
4757
  s,
@@ -4718,29 +4761,29 @@ function Bo(e, t, r) {
4718
4761
  n,
4719
4762
  T,
4720
4763
  x,
4721
- w,
4764
+ E,
4722
4765
  u,
4723
4766
  h,
4724
4767
  c,
4725
4768
  f,
4726
- d,
4727
- m,
4728
4769
  p,
4770
+ m,
4771
+ d,
4729
4772
  o,
4730
4773
  i,
4731
4774
  ce,
4732
- Ar,
4733
- Br
4775
+ Ir,
4776
+ Mr
4734
4777
  ];
4735
4778
  }
4736
- class Hr extends dn {
4779
+ class Or extends vn {
4737
4780
  constructor(t) {
4738
- super(), fn(
4781
+ super(), gn(
4739
4782
  this,
4740
4783
  t,
4741
- Bo,
4742
- Ao,
4743
- jt,
4784
+ Mo,
4785
+ Io,
4786
+ Wt,
4744
4787
  {
4745
4788
  modaltext: 0,
4746
4789
  modaltitle: 1,
@@ -4753,7 +4796,7 @@ class Hr extends dn {
4753
4796
  translationurl: 13,
4754
4797
  mbsource: 14
4755
4798
  },
4756
- So
4799
+ Co
4757
4800
  );
4758
4801
  }
4759
4802
  get modaltext() {
@@ -4817,57 +4860,57 @@ class Hr extends dn {
4817
4860
  this.$$set({ mbsource: t }), I();
4818
4861
  }
4819
4862
  }
4820
- mn(Hr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4821
- const Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4863
+ yn(Or, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4864
+ const Vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4822
4865
  __proto__: null,
4823
- default: Hr
4866
+ default: Or
4824
4867
  }, Symbol.toStringTag, { value: "Module" }));
4825
4868
  export {
4826
- ee as $,
4827
- mn as A,
4828
- Go as B,
4829
- In as C,
4830
- xr as D,
4869
+ K as $,
4870
+ yn as A,
4871
+ ko as B,
4872
+ $n as C,
4873
+ Hr as D,
4831
4874
  N as E,
4832
- $r as F,
4833
- yo as G,
4834
- $o as H,
4835
- Po as I,
4875
+ jr as F,
4876
+ So as G,
4877
+ jo as H,
4878
+ Lo as I,
4836
4879
  fe as J,
4837
- Io as K,
4880
+ Ro as K,
4838
4881
  U as L,
4839
- it as M,
4840
- Mo as N,
4841
- De as O,
4842
- le as P,
4843
- mt as Q,
4844
- vo as R,
4845
- dn as S,
4846
- Uo as T,
4847
- fn as a,
4848
- Vr as b,
4849
- Zt as c,
4882
+ lt as M,
4883
+ Go as N,
4884
+ ke as O,
4885
+ ue as P,
4886
+ yt as Q,
4887
+ wo as R,
4888
+ vn as S,
4889
+ Vo as T,
4890
+ gn as a,
4891
+ Qr as b,
4892
+ Kt as c,
4850
4893
  D as d,
4851
- Lo as e,
4894
+ Do as e,
4852
4895
  I as f,
4853
- ue as g,
4854
- Oo as h,
4855
- Nr as i,
4856
- Gr as j,
4857
- Ro as k,
4896
+ ae as g,
4897
+ $o as h,
4898
+ Ur as i,
4899
+ kr as j,
4900
+ Fo as k,
4858
4901
  Ee as l,
4859
- Fr as m,
4860
- Ur as n,
4861
- en as o,
4902
+ zr as m,
4903
+ Vr as n,
4904
+ sn as o,
4862
4905
  C as p,
4863
4906
  M as q,
4864
4907
  H as r,
4865
- jt as s,
4866
- an as t,
4867
- Dr as u,
4868
- Fe as v,
4869
- No as w,
4870
- _o as x,
4871
- xo as y,
4872
- Eo as z
4908
+ Wt as s,
4909
+ fn as t,
4910
+ Xr as u,
4911
+ Ve as v,
4912
+ Uo as w,
4913
+ To as x,
4914
+ Ho as y,
4915
+ Ao as z
4873
4916
  };