@everymatrix/cashier-iframe-redirect 1.56.0 → 1.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,35 +1,36 @@
1
1
  function B() {
2
2
  }
3
- function er(e, t) {
4
- for (const r in t) e[r] = t[r];
3
+ function rr(e, t) {
4
+ for (const r in t)
5
+ e[r] = t[r];
5
6
  return (
6
7
  /** @type {T & S} */
7
8
  e
8
9
  );
9
10
  }
10
- function _t(e) {
11
+ function xt(e) {
11
12
  return e();
12
13
  }
13
- function Ze() {
14
+ function qe() {
14
15
  return /* @__PURE__ */ Object.create(null);
15
16
  }
16
17
  function te(e) {
17
- e.forEach(_t);
18
+ e.forEach(xt);
18
19
  }
19
20
  function ke(e) {
20
21
  return typeof e == "function";
21
22
  }
22
- function yt(e, t) {
23
+ function Et(e, t) {
23
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
24
25
  }
25
26
  let se;
26
- function Hi(e, t) {
27
+ function Bi(e, t) {
27
28
  return e === t ? !0 : (se || (se = document.createElement("a")), se.href = t, e === se.href);
28
29
  }
29
- function tr(e) {
30
+ function nr(e) {
30
31
  return Object.keys(e).length === 0;
31
32
  }
32
- function Et(e, ...t) {
33
+ function vt(e, ...t) {
33
34
  if (e == null) {
34
35
  for (const n of t)
35
36
  n(void 0);
@@ -38,26 +39,26 @@ function Et(e, ...t) {
38
39
  const r = e.subscribe(...t);
39
40
  return r.unsubscribe ? () => r.unsubscribe() : r;
40
41
  }
41
- function rr(e, t, r) {
42
- e.$$.on_destroy.push(Et(t, r));
42
+ function ir(e, t, r) {
43
+ e.$$.on_destroy.push(vt(t, r));
43
44
  }
44
- function Ee(e, t, r, n) {
45
+ function xe(e, t, r, n) {
45
46
  if (e) {
46
- const i = xt(e, t, r, n);
47
+ const i = Ht(e, t, r, n);
47
48
  return e[0](i);
48
49
  }
49
50
  }
50
- function xt(e, t, r, n) {
51
- return e[1] && n ? er(r.ctx.slice(), e[1](n(t))) : r.ctx;
51
+ function Ht(e, t, r, n) {
52
+ return e[1] && n ? rr(r.ctx.slice(), e[1](n(t))) : r.ctx;
52
53
  }
53
- function xe(e, t, r, n) {
54
+ function Ee(e, t, r, n) {
54
55
  if (e[2] && n) {
55
56
  const i = e[2](n(r));
56
57
  if (t.dirty === void 0)
57
58
  return i;
58
59
  if (typeof i == "object") {
59
- const s = [], u = Math.max(t.dirty.length, i.length);
60
- for (let o = 0; o < u; o += 1)
60
+ const s = [], h = Math.max(t.dirty.length, i.length);
61
+ for (let o = 0; o < h; o += 1)
61
62
  s[o] = t.dirty[o] | i[o];
62
63
  return s;
63
64
  }
@@ -67,8 +68,8 @@ function xe(e, t, r, n) {
67
68
  }
68
69
  function ve(e, t, r, n, i, s) {
69
70
  if (i) {
70
- const u = xt(t, r, n, s);
71
- e.p(u, i);
71
+ const h = Ht(t, r, n, s);
72
+ e.p(h, i);
72
73
  }
73
74
  }
74
75
  function He(e) {
@@ -83,15 +84,16 @@ function He(e) {
83
84
  function ce(e, t) {
84
85
  e.appendChild(t);
85
86
  }
86
- function nr(e, t, r) {
87
- const n = ir(e);
87
+ function sr(e, t, r) {
88
+ const n = or(e);
88
89
  if (!n.getElementById(t)) {
89
- const i = W("style");
90
- i.id = t, i.textContent = r, sr(n, i);
90
+ const i = z("style");
91
+ i.id = t, i.textContent = r, ar(n, i);
91
92
  }
92
93
  }
93
- function ir(e) {
94
- if (!e) return document;
94
+ function or(e) {
95
+ if (!e)
96
+ return document;
95
97
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
96
98
  return t && /** @type {ShadowRoot} */
97
99
  t.host ? (
@@ -99,7 +101,7 @@ function ir(e) {
99
101
  t
100
102
  ) : e.ownerDocument;
101
103
  }
102
- function sr(e, t) {
104
+ function ar(e, t) {
103
105
  return ce(
104
106
  /** @type {Document} */
105
107
  e.head || e,
@@ -112,36 +114,36 @@ function I(e, t, r) {
112
114
  function O(e) {
113
115
  e.parentNode && e.parentNode.removeChild(e);
114
116
  }
115
- function W(e) {
117
+ function z(e) {
116
118
  return document.createElement(e);
117
119
  }
118
120
  function Ve(e) {
119
121
  return document.createTextNode(e);
120
122
  }
121
- function Qe() {
123
+ function Je() {
122
124
  return Ve(" ");
123
125
  }
124
- function vt() {
126
+ function Bt() {
125
127
  return Ve("");
126
128
  }
127
- function Ht(e, t, r, n) {
129
+ function Tt(e, t, r, n) {
128
130
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
129
131
  }
130
- function z(e, t, r) {
132
+ function W(e, t, r) {
131
133
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
132
134
  }
133
- function Bi(e, t, r) {
135
+ function Ti(e, t, r) {
134
136
  const n = t.toLowerCase();
135
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : z(e, t, r);
137
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : W(e, t, r);
136
138
  }
137
- function or(e) {
139
+ function hr(e) {
138
140
  return Array.from(e.childNodes);
139
141
  }
140
- function ar(e, t) {
142
+ function ur(e, t) {
141
143
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
142
144
  t);
143
145
  }
144
- function ur(e) {
146
+ function lr(e) {
145
147
  const t = {};
146
148
  return e.childNodes.forEach(
147
149
  /** @param {Element} node */
@@ -156,10 +158,10 @@ function Y(e) {
156
158
  }
157
159
  const G = [], Le = [];
158
160
  let F = [];
159
- const qe = [], hr = /* @__PURE__ */ Promise.resolve();
161
+ const Ye = [], fr = /* @__PURE__ */ Promise.resolve();
160
162
  let Ne = !1;
161
- function lr() {
162
- Ne || (Ne = !0, hr.then(S));
163
+ function cr() {
164
+ Ne || (Ne = !0, fr.then(S));
163
165
  }
164
166
  function Ie(e) {
165
167
  F.push(e);
@@ -174,61 +176,63 @@ function S() {
174
176
  try {
175
177
  for (; U < G.length; ) {
176
178
  const t = G[U];
177
- U++, Y(t), fr(t.$$);
179
+ U++, Y(t), mr(t.$$);
178
180
  }
179
181
  } catch (t) {
180
182
  throw G.length = 0, U = 0, t;
181
183
  }
182
- for (Y(null), G.length = 0, U = 0; Le.length; ) Le.pop()();
184
+ for (Y(null), G.length = 0, U = 0; Le.length; )
185
+ Le.pop()();
183
186
  for (let t = 0; t < F.length; t += 1) {
184
187
  const r = F[t];
185
188
  Be.has(r) || (Be.add(r), r());
186
189
  }
187
190
  F.length = 0;
188
191
  } while (G.length);
189
- for (; qe.length; )
190
- qe.pop()();
192
+ for (; Ye.length; )
193
+ Ye.pop()();
191
194
  Ne = !1, Be.clear(), Y(e);
192
195
  }
193
- function fr(e) {
196
+ function mr(e) {
194
197
  if (e.fragment !== null) {
195
198
  e.update(), te(e.before_update);
196
199
  const t = e.dirty;
197
200
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
198
201
  }
199
202
  }
200
- function cr(e) {
203
+ function dr(e) {
201
204
  const t = [], r = [];
202
205
  F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
203
206
  }
204
207
  const ae = /* @__PURE__ */ new Set();
205
- let mr;
206
- function ue(e, t) {
208
+ let pr;
209
+ function he(e, t) {
207
210
  e && e.i && (ae.delete(e), e.i(t));
208
211
  }
209
212
  function Te(e, t, r, n) {
210
213
  if (e && e.o) {
211
- if (ae.has(e)) return;
212
- ae.add(e), mr.c.push(() => {
214
+ if (ae.has(e))
215
+ return;
216
+ ae.add(e), pr.c.push(() => {
213
217
  ae.delete(e);
214
218
  }), e.o(t);
215
219
  }
216
220
  }
217
- function pr(e, t, r) {
221
+ function br(e, t, r) {
218
222
  const { fragment: n, after_update: i } = e.$$;
219
223
  n && n.m(t, r), Ie(() => {
220
- const s = e.$$.on_mount.map(_t).filter(ke);
224
+ const s = e.$$.on_mount.map(xt).filter(ke);
221
225
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
222
226
  }), i.forEach(Ie);
223
227
  }
224
- function dr(e, t) {
228
+ function gr(e, t) {
225
229
  const r = e.$$;
226
- r.fragment !== null && (cr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
230
+ r.fragment !== null && (dr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
227
231
  }
228
- function br(e, t) {
229
- e.$$.dirty[0] === -1 && (G.push(e), lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
232
+ function _r(e, t) {
233
+ e.$$.dirty[0] === -1 && (G.push(e), cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
230
234
  }
231
- function gr(e, t, r, n, i, s, u = null, o = [-1]) {
235
+ function yr(e, t, r, n, i, s, h = null, o = [-1]) {
232
236
  const l = Xe;
233
237
  Y(e);
234
238
  const a = e.$$ = {
@@ -238,7 +242,7 @@ function gr(e, t, r, n, i, s, u = null, o = [-1]) {
238
242
  props: s,
239
243
  update: B,
240
244
  not_equal: i,
241
- bound: Ze(),
245
+ bound: qe(),
242
246
  // lifecycle
243
247
  on_mount: [],
244
248
  on_destroy: [],
@@ -247,28 +251,28 @@ function gr(e, t, r, n, i, s, u = null, o = [-1]) {
247
251
  after_update: [],
248
252
  context: new Map(t.context || (l ? l.$$.context : [])),
249
253
  // everything else
250
- callbacks: Ze(),
254
+ callbacks: qe(),
251
255
  dirty: o,
252
256
  skip_bound: !1,
253
257
  root: t.target || l.$$.root
254
258
  };
255
- u && u(a.root);
256
- let h = !1;
257
- if (a.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
258
- const m = p.length ? p[0] : c;
259
- return a.ctx && i(a.ctx[f], a.ctx[f] = m) && (!a.skip_bound && a.bound[f] && a.bound[f](m), h && br(e, f)), c;
260
- }) : [], a.update(), h = !0, te(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
259
+ h && h(a.root);
260
+ let u = !1;
261
+ if (a.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
262
+ const m = d.length ? d[0] : c;
263
+ return a.ctx && i(a.ctx[f], a.ctx[f] = m) && (!a.skip_bound && a.bound[f] && a.bound[f](m), u && _r(e, f)), c;
264
+ }) : [], a.update(), u = !0, te(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
261
265
  if (t.hydrate) {
262
- const f = or(t.target);
266
+ const f = hr(t.target);
263
267
  a.fragment && a.fragment.l(f), f.forEach(O);
264
268
  } else
265
269
  a.fragment && a.fragment.c();
266
- t.intro && ue(e.$$.fragment), pr(e, t.target, t.anchor), S();
270
+ t.intro && he(e.$$.fragment), br(e, t.target, t.anchor), S();
267
271
  }
268
272
  Y(l);
269
273
  }
270
- let Bt;
271
- typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
274
+ let wt;
275
+ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
272
276
  /** The Svelte component constructor */
273
277
  $$ctor;
274
278
  /** Slots */
@@ -310,7 +314,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
310
314
  let s;
311
315
  return {
312
316
  c: function() {
313
- s = W("slot"), i !== "default" && z(s, "name", i);
317
+ s = z("slot"), i !== "default" && W(s, "name", i);
314
318
  },
315
319
  /**
316
320
  * @param {HTMLElement} target
@@ -327,12 +331,12 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
327
331
  };
328
332
  if (await Promise.resolve(), !this.$$cn || this.$$c)
329
333
  return;
330
- const t = {}, r = ur(this);
334
+ const t = {}, r = lr(this);
331
335
  for (const i of this.$$s)
332
336
  i in r && (t[i] = [e(i)]);
333
337
  for (const i of this.attributes) {
334
338
  const s = this.$$g_p(i.name);
335
- s in this.$$d || (this.$$d[s] = he(s, i.value, this.$$p_d, "toProp"));
339
+ s in this.$$d || (this.$$d[s] = ue(s, i.value, this.$$p_d, "toProp"));
336
340
  }
337
341
  for (const i in this.$$p_d)
338
342
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -350,7 +354,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
350
354
  this.$$r = !0;
351
355
  for (const i in this.$$p_d)
352
356
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
353
- const s = he(
357
+ const s = ue(
354
358
  i,
355
359
  this.$$d[i],
356
360
  this.$$p_d,
@@ -363,8 +367,8 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
363
367
  this.$$c.$$.after_update.push(n), n();
364
368
  for (const i in this.$$l)
365
369
  for (const s of this.$$l[i]) {
366
- const u = this.$$c.$on(i, s);
367
- this.$$l_u.set(s, u);
370
+ const h = this.$$c.$on(i, s);
371
+ this.$$l_u.set(s, h);
368
372
  }
369
373
  this.$$l = {};
370
374
  }
@@ -372,7 +376,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
372
376
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
373
377
  // and setting attributes through setAttribute etc, this is helpful
374
378
  attributeChangedCallback(e, t, r) {
375
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = he(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
379
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ue(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
376
380
  }
377
381
  disconnectedCallback() {
378
382
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -385,7 +389,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
385
389
  ) || e;
386
390
  }
387
391
  });
388
- function he(e, t, r, n) {
392
+ function ue(e, t, r, n) {
389
393
  const i = r[e]?.type;
390
394
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
391
395
  return t;
@@ -414,8 +418,8 @@ function he(e, t, r, n) {
414
418
  return t;
415
419
  }
416
420
  }
417
- function _r(e, t, r, n, i, s) {
418
- let u = class extends Bt {
421
+ function xr(e, t, r, n, i, s) {
422
+ let h = class extends wt {
419
423
  constructor() {
420
424
  super(e, r, i), this.$$p_d = t;
421
425
  }
@@ -426,24 +430,24 @@ function _r(e, t, r, n, i, s) {
426
430
  }
427
431
  };
428
432
  return Object.keys(t).forEach((o) => {
429
- Object.defineProperty(u.prototype, o, {
433
+ Object.defineProperty(h.prototype, o, {
430
434
  get() {
431
435
  return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
432
436
  },
433
437
  set(l) {
434
- l = he(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
438
+ l = ue(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
435
439
  }
436
440
  });
437
441
  }), n.forEach((o) => {
438
- Object.defineProperty(u.prototype, o, {
442
+ Object.defineProperty(h.prototype, o, {
439
443
  get() {
440
444
  return this.$$c?.[o];
441
445
  }
442
446
  });
443
447
  }), e.element = /** @type {any} */
444
- u, u;
448
+ h, h;
445
449
  }
446
- class yr {
450
+ class Er {
447
451
  /**
448
452
  * ### PRIVATE API
449
453
  *
@@ -462,7 +466,7 @@ class yr {
462
466
  $$set = void 0;
463
467
  /** @returns {void} */
464
468
  $destroy() {
465
- dr(this, 1), this.$destroy = B;
469
+ gr(this, 1), this.$destroy = B;
466
470
  }
467
471
  /**
468
472
  * @template {Extract<keyof Events, string>} K
@@ -484,13 +488,13 @@ class yr {
484
488
  * @returns {void}
485
489
  */
486
490
  $set(t) {
487
- this.$$set && !tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
491
+ this.$$set && !nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
488
492
  }
489
493
  }
490
- const Er = "4";
491
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Er);
494
+ const vr = "4";
495
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vr);
492
496
  const D = [];
493
- function xr(e, t) {
497
+ function Hr(e, t) {
494
498
  return {
495
499
  subscribe: be(e, t).subscribe
496
500
  };
@@ -499,7 +503,7 @@ function be(e, t = B) {
499
503
  let r;
500
504
  const n = /* @__PURE__ */ new Set();
501
505
  function i(o) {
502
- if (yt(e, o) && (e = o, r)) {
506
+ if (Et(e, o) && (e = o, r)) {
503
507
  const l = !D.length;
504
508
  for (const a of n)
505
509
  a[1](), D.push(a, e);
@@ -513,109 +517,109 @@ function be(e, t = B) {
513
517
  function s(o) {
514
518
  i(o(e));
515
519
  }
516
- function u(o, l = B) {
520
+ function h(o, l = B) {
517
521
  const a = [o, l];
518
522
  return n.add(a), n.size === 1 && (r = t(i, s) || B), o(e), () => {
519
523
  n.delete(a), n.size === 0 && r && (r(), r = null);
520
524
  };
521
525
  }
522
- return { set: i, update: s, subscribe: u };
526
+ return { set: i, update: s, subscribe: h };
523
527
  }
524
528
  function Z(e, t, r) {
525
529
  const n = !Array.isArray(e), i = n ? [e] : e;
526
530
  if (!i.every(Boolean))
527
531
  throw new Error("derived() expects stores as input, got a falsy value");
528
532
  const s = t.length < 2;
529
- return xr(r, (u, o) => {
533
+ return Hr(r, (h, o) => {
530
534
  let l = !1;
531
535
  const a = [];
532
- let h = 0, f = B;
536
+ let u = 0, f = B;
533
537
  const c = () => {
534
- if (h)
538
+ if (u)
535
539
  return;
536
540
  f();
537
- const m = t(n ? a[0] : a, u, o);
538
- s ? u(m) : f = ke(m) ? m : B;
539
- }, p = i.map(
540
- (m, g) => Et(
541
+ const m = t(n ? a[0] : a, h, o);
542
+ s ? h(m) : f = ke(m) ? m : B;
543
+ }, d = i.map(
544
+ (m, g) => vt(
541
545
  m,
542
546
  (v) => {
543
- a[g] = v, h &= ~(1 << g), l && c();
547
+ a[g] = v, u &= ~(1 << g), l && c();
544
548
  },
545
549
  () => {
546
- h |= 1 << g;
550
+ u |= 1 << g;
547
551
  }
548
552
  )
549
553
  );
550
554
  return l = !0, c(), function() {
551
- te(p), f(), l = !1;
555
+ te(d), f(), l = !1;
552
556
  };
553
557
  });
554
558
  }
555
- function vr(e) {
559
+ function Br(e) {
556
560
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
557
561
  }
558
- var Hr = function(t) {
559
- return Br(t) && !Tr(t);
562
+ var Tr = function(t) {
563
+ return wr(t) && !Sr(t);
560
564
  };
561
- function Br(e) {
565
+ function wr(e) {
562
566
  return !!e && typeof e == "object";
563
567
  }
564
- function Tr(e) {
568
+ function Sr(e) {
565
569
  var t = Object.prototype.toString.call(e);
566
- return t === "[object RegExp]" || t === "[object Date]" || Ar(e);
570
+ return t === "[object RegExp]" || t === "[object Date]" || Or(e);
567
571
  }
568
- var wr = typeof Symbol == "function" && Symbol.for, Sr = wr ? Symbol.for("react.element") : 60103;
569
- function Ar(e) {
570
- return e.$$typeof === Sr;
572
+ var Ar = typeof Symbol == "function" && Symbol.for, Cr = Ar ? Symbol.for("react.element") : 60103;
573
+ function Or(e) {
574
+ return e.$$typeof === Cr;
571
575
  }
572
- function Cr(e) {
576
+ function Pr(e) {
573
577
  return Array.isArray(e) ? [] : {};
574
578
  }
575
579
  function K(e, t) {
576
- return t.clone !== !1 && t.isMergeableObject(e) ? j(Cr(e), e, t) : e;
580
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(Pr(e), e, t) : e;
577
581
  }
578
- function Or(e, t, r) {
582
+ function Lr(e, t, r) {
579
583
  return e.concat(t).map(function(n) {
580
584
  return K(n, r);
581
585
  });
582
586
  }
583
- function Pr(e, t) {
587
+ function Nr(e, t) {
584
588
  if (!t.customMerge)
585
589
  return j;
586
590
  var r = t.customMerge(e);
587
591
  return typeof r == "function" ? r : j;
588
592
  }
589
- function Lr(e) {
593
+ function Ir(e) {
590
594
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
591
595
  return Object.propertyIsEnumerable.call(e, t);
592
596
  }) : [];
593
597
  }
594
- function Je(e) {
595
- return Object.keys(e).concat(Lr(e));
598
+ function Ke(e) {
599
+ return Object.keys(e).concat(Ir(e));
596
600
  }
597
- function Tt(e, t) {
601
+ function St(e, t) {
598
602
  try {
599
603
  return t in e;
600
604
  } catch {
601
605
  return !1;
602
606
  }
603
607
  }
604
- function Nr(e, t) {
605
- return Tt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
608
+ function Mr(e, t) {
609
+ return St(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
606
610
  }
607
- function Ir(e, t, r) {
611
+ function $r(e, t, r) {
608
612
  var n = {};
609
- return r.isMergeableObject(e) && Je(e).forEach(function(i) {
613
+ return r.isMergeableObject(e) && Ke(e).forEach(function(i) {
610
614
  n[i] = K(e[i], r);
611
- }), Je(t).forEach(function(i) {
612
- Nr(e, i) || (Tt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
615
+ }), Ke(t).forEach(function(i) {
616
+ Mr(e, i) || (St(e, i) && r.isMergeableObject(t[i]) ? n[i] = Nr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
613
617
  }), n;
614
618
  }
615
619
  function j(e, t, r) {
616
- r = r || {}, r.arrayMerge = r.arrayMerge || Or, r.isMergeableObject = r.isMergeableObject || Hr, r.cloneUnlessOtherwiseSpecified = K;
620
+ r = r || {}, r.arrayMerge = r.arrayMerge || Lr, r.isMergeableObject = r.isMergeableObject || Tr, r.cloneUnlessOtherwiseSpecified = K;
617
621
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
618
- return s ? n ? r.arrayMerge(e, t, r) : Ir(e, t, r) : K(t, r);
622
+ return s ? n ? r.arrayMerge(e, t, r) : $r(e, t, r) : K(t, r);
619
623
  }
620
624
  j.all = function(t, r) {
621
625
  if (!Array.isArray(t))
@@ -624,13 +628,28 @@ j.all = function(t, r) {
624
628
  return j(n, i, r);
625
629
  }, {});
626
630
  };
627
- var Mr = j, $r = Mr;
628
- const Rr = /* @__PURE__ */ vr($r);
631
+ var Rr = j, Ur = Rr;
632
+ const Dr = /* @__PURE__ */ Br(Ur);
633
+ /*! *****************************************************************************
634
+ Copyright (c) Microsoft Corporation.
635
+
636
+ Permission to use, copy, modify, and/or distribute this software for any
637
+ purpose with or without fee is hereby granted.
638
+
639
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
640
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
641
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
642
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
643
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
644
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
645
+ PERFORMANCE OF THIS SOFTWARE.
646
+ ***************************************************************************** */
629
647
  var Me = function(e, t) {
630
648
  return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
631
649
  r.__proto__ = n;
632
650
  } || function(r, n) {
633
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
651
+ for (var i in n)
652
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
634
653
  }, Me(e, t);
635
654
  };
636
655
  function ge(e, t) {
@@ -646,121 +665,126 @@ var y = function() {
646
665
  return y = Object.assign || function(t) {
647
666
  for (var r, n = 1, i = arguments.length; n < i; n++) {
648
667
  r = arguments[n];
649
- for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
668
+ for (var s in r)
669
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
650
670
  }
651
671
  return t;
652
672
  }, y.apply(this, arguments);
653
673
  };
654
- function Ur(e, t) {
674
+ function Gr(e, t) {
655
675
  var r = {};
656
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
676
+ for (var n in e)
677
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
657
678
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
658
679
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
659
680
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
660
681
  return r;
661
682
  }
662
683
  function we(e, t, r) {
663
- if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
664
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
665
- return e.concat(s || Array.prototype.slice.call(t));
684
+ if (arguments.length === 2)
685
+ for (var n = 0, i = t.length, s; n < i; n++)
686
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
687
+ return e.concat(s || t);
666
688
  }
667
689
  function Se(e, t) {
668
- var r = t && t.cache ? t.cache : Xr, n = t && t.serializer ? t.serializer : kr, i = t && t.strategy ? t.strategy : Fr;
690
+ var r = t && t.cache ? t.cache : zr, n = t && t.serializer ? t.serializer : Xr, i = t && t.strategy ? t.strategy : jr;
669
691
  return i(e, {
670
692
  cache: r,
671
693
  serializer: n
672
694
  });
673
695
  }
674
- function Dr(e) {
696
+ function Fr(e) {
675
697
  return e == null || typeof e == "number" || typeof e == "boolean";
676
698
  }
677
- function Gr(e, t, r, n) {
678
- var i = Dr(n) ? n : r(n), s = t.get(i);
699
+ function At(e, t, r, n) {
700
+ var i = Fr(n) ? n : r(n), s = t.get(i);
679
701
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
680
702
  }
681
- function wt(e, t, r) {
703
+ function Ct(e, t, r) {
682
704
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
683
705
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
684
706
  }
685
- function St(e, t, r, n, i) {
707
+ function ze(e, t, r, n, i) {
686
708
  return r.bind(t, e, n, i);
687
709
  }
688
- function Fr(e, t) {
689
- var r = e.length === 1 ? Gr : wt;
690
- return St(e, this, r, t.cache.create(), t.serializer);
691
- }
692
710
  function jr(e, t) {
693
- return St(e, this, wt, t.cache.create(), t.serializer);
711
+ var r = e.length === 1 ? At : Ct;
712
+ return ze(e, this, r, t.cache.create(), t.serializer);
713
+ }
714
+ function kr(e, t) {
715
+ return ze(e, this, Ct, t.cache.create(), t.serializer);
716
+ }
717
+ function Vr(e, t) {
718
+ return ze(e, this, At, t.cache.create(), t.serializer);
694
719
  }
695
- var kr = function() {
720
+ var Xr = function() {
696
721
  return JSON.stringify(arguments);
697
- }, Vr = (
698
- /** @class */
699
- function() {
700
- function e() {
701
- this.cache = /* @__PURE__ */ Object.create(null);
702
- }
703
- return e.prototype.get = function(t) {
704
- return this.cache[t];
705
- }, e.prototype.set = function(t, r) {
706
- this.cache[t] = r;
707
- }, e;
708
- }()
709
- ), Xr = {
722
+ };
723
+ function We() {
724
+ this.cache = /* @__PURE__ */ Object.create(null);
725
+ }
726
+ We.prototype.get = function(e) {
727
+ return this.cache[e];
728
+ };
729
+ We.prototype.set = function(e, t) {
730
+ this.cache[e] = t;
731
+ };
732
+ var zr = {
710
733
  create: function() {
711
- return new Vr();
734
+ return new We();
712
735
  }
713
736
  }, Ae = {
714
- variadic: jr
715
- }, d;
737
+ variadic: kr,
738
+ monadic: Vr
739
+ }, p;
716
740
  (function(e) {
717
741
  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";
718
- })(d || (d = {}));
719
- var E;
742
+ })(p || (p = {}));
743
+ var x;
720
744
  (function(e) {
721
745
  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";
722
- })(E || (E = {}));
746
+ })(x || (x = {}));
723
747
  var k;
724
748
  (function(e) {
725
749
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
726
750
  })(k || (k = {}));
727
- function Ye(e) {
728
- return e.type === E.literal;
751
+ function et(e) {
752
+ return e.type === x.literal;
729
753
  }
730
754
  function Wr(e) {
731
- return e.type === E.argument;
732
- }
733
- function At(e) {
734
- return e.type === E.number;
735
- }
736
- function Ct(e) {
737
- return e.type === E.date;
755
+ return e.type === x.argument;
738
756
  }
739
757
  function Ot(e) {
740
- return e.type === E.time;
758
+ return e.type === x.number;
741
759
  }
742
760
  function Pt(e) {
743
- return e.type === E.select;
761
+ return e.type === x.date;
744
762
  }
745
763
  function Lt(e) {
746
- return e.type === E.plural;
747
- }
748
- function zr(e) {
749
- return e.type === E.pound;
764
+ return e.type === x.time;
750
765
  }
751
766
  function Nt(e) {
752
- return e.type === E.tag;
767
+ return e.type === x.select;
753
768
  }
754
769
  function It(e) {
770
+ return e.type === x.plural;
771
+ }
772
+ function Zr(e) {
773
+ return e.type === x.pound;
774
+ }
775
+ function Mt(e) {
776
+ return e.type === x.tag;
777
+ }
778
+ function $t(e) {
755
779
  return !!(e && typeof e == "object" && e.type === k.number);
756
780
  }
757
781
  function $e(e) {
758
782
  return !!(e && typeof e == "object" && e.type === k.dateTime);
759
783
  }
760
- var Mt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Zr = /(?:[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;
761
- function Qr(e) {
784
+ var Rt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Qr = /(?:[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;
785
+ function qr(e) {
762
786
  var t = {};
763
- return e.replace(Zr, function(r) {
787
+ return e.replace(Qr, function(r) {
764
788
  var n = r.length;
765
789
  switch (r[0]) {
766
790
  case "G":
@@ -849,18 +873,18 @@ function Qr(e) {
849
873
  return "";
850
874
  }), t;
851
875
  }
852
- var qr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
853
- function Jr(e) {
876
+ var Jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
877
+ function Yr(e) {
854
878
  if (e.length === 0)
855
879
  throw new Error("Number skeleton cannot be empty");
856
- for (var t = e.split(qr).filter(function(c) {
880
+ for (var t = e.split(Jr).filter(function(c) {
857
881
  return c.length > 0;
858
882
  }), r = [], n = 0, i = t; n < i.length; n++) {
859
- var s = i[n], u = s.split("/");
860
- if (u.length === 0)
883
+ var s = i[n], h = s.split("/");
884
+ if (h.length === 0)
861
885
  throw new Error("Invalid number skeleton");
862
- for (var o = u[0], l = u.slice(1), a = 0, h = l; a < h.length; a++) {
863
- var f = h[a];
886
+ for (var o = h[0], l = h.slice(1), a = 0, u = l; a < u.length; a++) {
887
+ var f = u[a];
864
888
  if (f.length === 0)
865
889
  throw new Error("Invalid number skeleton");
866
890
  }
@@ -868,17 +892,17 @@ function Jr(e) {
868
892
  }
869
893
  return r;
870
894
  }
871
- function Yr(e) {
895
+ function Kr(e) {
872
896
  return e.replace(/^(.*?)-/, "");
873
897
  }
874
- var Ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $t = /^(@+)?(\+|#+)?[rs]?$/g, Kr = /(\*)(0+)|(#+)(0+)|(0+)/g, Rt = /^(0+)$/;
875
- function et(e) {
898
+ var tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ut = /^(@+)?(\+|#+)?[rs]?$/g, en = /(\*)(0+)|(#+)(0+)|(0+)/g, Dt = /^(0+)$/;
899
+ function rt(e) {
876
900
  var t = {};
877
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace($t, function(r, n, i) {
901
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ut, function(r, n, i) {
878
902
  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)), "";
879
903
  }), t;
880
904
  }
881
- function Ut(e) {
905
+ function Gt(e) {
882
906
  switch (e) {
883
907
  case "sign-auto":
884
908
  return {
@@ -918,7 +942,7 @@ function Ut(e) {
918
942
  };
919
943
  }
920
944
  }
921
- function en(e) {
945
+ function tn(e) {
922
946
  var t;
923
947
  if (e[0] === "E" && e[1] === "E" ? (t = {
924
948
  notation: "engineering"
@@ -926,17 +950,17 @@ function en(e) {
926
950
  notation: "scientific"
927
951
  }, e = e.slice(1)), t) {
928
952
  var r = e.slice(0, 2);
929
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Rt.test(e))
953
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Dt.test(e))
930
954
  throw new Error("Malformed concise eng/scientific notation");
931
955
  t.minimumIntegerDigits = e.length;
932
956
  }
933
957
  return t;
934
958
  }
935
- function tt(e) {
936
- var t = {}, r = Ut(e);
959
+ function nt(e) {
960
+ var t = {}, r = Gt(e);
937
961
  return r || t;
938
962
  }
939
- function tn(e) {
963
+ function rn(e) {
940
964
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
941
965
  var i = n[r];
942
966
  switch (i.stem) {
@@ -960,7 +984,7 @@ function tn(e) {
960
984
  continue;
961
985
  case "measure-unit":
962
986
  case "unit":
963
- t.style = "unit", t.unit = Yr(i.options[0]);
987
+ t.style = "unit", t.unit = Kr(i.options[0]);
964
988
  continue;
965
989
  case "compact-short":
966
990
  case "K":
@@ -972,12 +996,12 @@ function tn(e) {
972
996
  continue;
973
997
  case "scientific":
974
998
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
975
- return y(y({}, l), tt(a));
999
+ return y(y({}, l), nt(a));
976
1000
  }, {}));
977
1001
  continue;
978
1002
  case "engineering":
979
1003
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
980
- return y(y({}, l), tt(a));
1004
+ return y(y({}, l), nt(a));
981
1005
  }, {}));
982
1006
  continue;
983
1007
  case "notation-simple":
@@ -1022,40 +1046,40 @@ function tn(e) {
1022
1046
  case "integer-width":
1023
1047
  if (i.options.length > 1)
1024
1048
  throw new RangeError("integer-width stems only accept a single optional option");
1025
- i.options[0].replace(Kr, function(l, a, h, f, c, p) {
1049
+ i.options[0].replace(en, function(l, a, u, f, c, d) {
1026
1050
  if (a)
1027
- t.minimumIntegerDigits = h.length;
1051
+ t.minimumIntegerDigits = u.length;
1028
1052
  else {
1029
1053
  if (f && c)
1030
1054
  throw new Error("We currently do not support maximum integer digits");
1031
- if (p)
1055
+ if (d)
1032
1056
  throw new Error("We currently do not support exact integer digits");
1033
1057
  }
1034
1058
  return "";
1035
1059
  });
1036
1060
  continue;
1037
1061
  }
1038
- if (Rt.test(i.stem)) {
1062
+ if (Dt.test(i.stem)) {
1039
1063
  t.minimumIntegerDigits = i.stem.length;
1040
1064
  continue;
1041
1065
  }
1042
- if (Ke.test(i.stem)) {
1066
+ if (tt.test(i.stem)) {
1043
1067
  if (i.options.length > 1)
1044
1068
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1045
- i.stem.replace(Ke, function(l, a, h, f, c, p) {
1046
- return h === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1069
+ i.stem.replace(tt, function(l, a, u, f, c, d) {
1070
+ return u === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1047
1071
  });
1048
1072
  var s = i.options[0];
1049
- s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), et(s)));
1073
+ s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), rt(s)));
1050
1074
  continue;
1051
1075
  }
1052
- if ($t.test(i.stem)) {
1053
- t = y(y({}, t), et(i.stem));
1076
+ if (Ut.test(i.stem)) {
1077
+ t = y(y({}, t), rt(i.stem));
1054
1078
  continue;
1055
1079
  }
1056
- var u = Ut(i.stem);
1057
- u && (t = y(y({}, t), u));
1058
- var o = en(i.stem);
1080
+ var h = Gt(i.stem);
1081
+ h && (t = y(y({}, t), h));
1082
+ var o = tn(i.stem);
1059
1083
  o && (t = y(y({}, t), o));
1060
1084
  }
1061
1085
  return t;
@@ -2475,22 +2499,23 @@ var oe = {
2475
2499
  "h"
2476
2500
  ]
2477
2501
  };
2478
- function rn(e, t) {
2502
+ function nn(e, t) {
2479
2503
  for (var r = "", n = 0; n < e.length; n++) {
2480
2504
  var i = e.charAt(n);
2481
2505
  if (i === "j") {
2482
2506
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2483
2507
  s++, n++;
2484
- var u = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = nn(t);
2508
+ var h = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = sn(t);
2485
2509
  for ((a == "H" || a == "k") && (o = 0); o-- > 0; )
2486
2510
  r += l;
2487
- for (; u-- > 0; )
2511
+ for (; h-- > 0; )
2488
2512
  r = a + r;
2489
- } else i === "J" ? r += "H" : r += i;
2513
+ } else
2514
+ i === "J" ? r += "H" : r += i;
2490
2515
  }
2491
2516
  return r;
2492
2517
  }
2493
- function nn(e) {
2518
+ function sn(e) {
2494
2519
  var t = e.hourCycle;
2495
2520
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2496
2521
  e.hourCycles && // @ts-ignore
@@ -2512,20 +2537,20 @@ function nn(e) {
2512
2537
  var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
2513
2538
  return i[0];
2514
2539
  }
2515
- var Ce, sn = new RegExp("^".concat(Mt.source, "*")), on = new RegExp("".concat(Mt.source, "*$"));
2540
+ var Ce, on = new RegExp("^".concat(Rt.source, "*")), an = new RegExp("".concat(Rt.source, "*$"));
2516
2541
  function b(e, t) {
2517
2542
  return { start: e, end: t };
2518
2543
  }
2519
- var an = !!String.prototype.startsWith && "_a".startsWith("a", 1), un = !!String.fromCodePoint, hn = !!Object.fromEntries, ln = !!String.prototype.codePointAt, fn = !!String.prototype.trimStart, cn = !!String.prototype.trimEnd, mn = !!Number.isSafeInteger, pn = mn ? Number.isSafeInteger : function(e) {
2544
+ var hn = !!String.prototype.startsWith && "_a".startsWith("a", 1), un = !!String.fromCodePoint, ln = !!Object.fromEntries, fn = !!String.prototype.codePointAt, cn = !!String.prototype.trimStart, mn = !!String.prototype.trimEnd, dn = !!Number.isSafeInteger, pn = dn ? Number.isSafeInteger : function(e) {
2520
2545
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2521
2546
  }, Re = !0;
2522
2547
  try {
2523
- var dn = Gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2524
- Re = ((Ce = dn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
2548
+ var bn = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2549
+ Re = ((Ce = bn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
2525
2550
  } catch {
2526
2551
  Re = !1;
2527
2552
  }
2528
- var rt = an ? (
2553
+ var it = hn ? (
2529
2554
  // Native
2530
2555
  function(t, r, n) {
2531
2556
  return t.startsWith(r, n);
@@ -2540,26 +2565,26 @@ var rt = an ? (
2540
2565
  function() {
2541
2566
  for (var t = [], r = 0; r < arguments.length; r++)
2542
2567
  t[r] = arguments[r];
2543
- for (var n = "", i = t.length, s = 0, u; i > s; ) {
2544
- if (u = t[s++], u > 1114111)
2545
- throw RangeError(u + " is not a valid code point");
2546
- n += u < 65536 ? String.fromCharCode(u) : String.fromCharCode(((u -= 65536) >> 10) + 55296, u % 1024 + 56320);
2568
+ for (var n = "", i = t.length, s = 0, h; i > s; ) {
2569
+ if (h = t[s++], h > 1114111)
2570
+ throw RangeError(h + " is not a valid code point");
2571
+ n += h < 65536 ? String.fromCharCode(h) : String.fromCharCode(((h -= 65536) >> 10) + 55296, h % 1024 + 56320);
2547
2572
  }
2548
2573
  return n;
2549
2574
  }
2550
- ), nt = (
2575
+ ), st = (
2551
2576
  // native
2552
- hn ? Object.fromEntries : (
2577
+ ln ? Object.fromEntries : (
2553
2578
  // Ponyfill
2554
2579
  function(t) {
2555
2580
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2556
- var s = i[n], u = s[0], o = s[1];
2557
- r[u] = o;
2581
+ var s = i[n], h = s[0], o = s[1];
2582
+ r[h] = o;
2558
2583
  }
2559
2584
  return r;
2560
2585
  }
2561
2586
  )
2562
- ), Dt = ln ? (
2587
+ ), Ft = fn ? (
2563
2588
  // Native
2564
2589
  function(t, r) {
2565
2590
  return t.codePointAt(r);
@@ -2573,7 +2598,7 @@ var rt = an ? (
2573
2598
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2574
2599
  }
2575
2600
  }
2576
- ), bn = fn ? (
2601
+ ), gn = cn ? (
2577
2602
  // Native
2578
2603
  function(t) {
2579
2604
  return t.trimStart();
@@ -2581,9 +2606,9 @@ var rt = an ? (
2581
2606
  ) : (
2582
2607
  // Ponyfill
2583
2608
  function(t) {
2584
- return t.replace(sn, "");
2609
+ return t.replace(on, "");
2585
2610
  }
2586
- ), gn = cn ? (
2611
+ ), _n = mn ? (
2587
2612
  // Native
2588
2613
  function(t) {
2589
2614
  return t.trimEnd();
@@ -2591,32 +2616,32 @@ var rt = an ? (
2591
2616
  ) : (
2592
2617
  // Ponyfill
2593
2618
  function(t) {
2594
- return t.replace(on, "");
2619
+ return t.replace(an, "");
2595
2620
  }
2596
2621
  );
2597
- function Gt(e, t) {
2622
+ function jt(e, t) {
2598
2623
  return new RegExp(e, t);
2599
2624
  }
2600
2625
  var De;
2601
2626
  if (Re) {
2602
- var it = Gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2627
+ var ot = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2603
2628
  De = function(t, r) {
2604
2629
  var n;
2605
- it.lastIndex = r;
2606
- var i = it.exec(t);
2630
+ ot.lastIndex = r;
2631
+ var i = ot.exec(t);
2607
2632
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2608
2633
  };
2609
2634
  } else
2610
2635
  De = function(t, r) {
2611
2636
  for (var n = []; ; ) {
2612
- var i = Dt(t, r);
2613
- if (i === void 0 || Ft(i) || xn(i))
2637
+ var i = Ft(t, r);
2638
+ if (i === void 0 || kt(i) || vn(i))
2614
2639
  break;
2615
2640
  n.push(i), r += i >= 65536 ? 2 : 1;
2616
2641
  }
2617
2642
  return Ue.apply(void 0, n);
2618
2643
  };
2619
- var _n = (
2644
+ var yn = (
2620
2645
  /** @class */
2621
2646
  function() {
2622
2647
  function e(t, r) {
@@ -2630,33 +2655,33 @@ var _n = (
2630
2655
  for (var i = []; !this.isEOF(); ) {
2631
2656
  var s = this.char();
2632
2657
  if (s === 123) {
2633
- var u = this.parseArgument(t, n);
2634
- if (u.err)
2635
- return u;
2636
- i.push(u.val);
2658
+ var h = this.parseArgument(t, n);
2659
+ if (h.err)
2660
+ return h;
2661
+ i.push(h.val);
2637
2662
  } else {
2638
2663
  if (s === 125 && t > 0)
2639
2664
  break;
2640
2665
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2641
2666
  var o = this.clonePosition();
2642
2667
  this.bump(), i.push({
2643
- type: E.pound,
2668
+ type: x.pound,
2644
2669
  location: b(o, this.clonePosition())
2645
2670
  });
2646
2671
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2647
2672
  if (n)
2648
2673
  break;
2649
- return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2674
+ return this.error(p.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2650
2675
  } else if (s === 60 && !this.ignoreTag && Ge(this.peek() || 0)) {
2651
- var u = this.parseTag(t, r);
2652
- if (u.err)
2653
- return u;
2654
- i.push(u.val);
2676
+ var h = this.parseTag(t, r);
2677
+ if (h.err)
2678
+ return h;
2679
+ i.push(h.val);
2655
2680
  } else {
2656
- var u = this.parseLiteral(t, r);
2657
- if (u.err)
2658
- return u;
2659
- i.push(u.val);
2681
+ var h = this.parseLiteral(t, r);
2682
+ if (h.err)
2683
+ return h;
2684
+ i.push(h.val);
2660
2685
  }
2661
2686
  }
2662
2687
  }
@@ -2668,7 +2693,7 @@ var _n = (
2668
2693
  if (this.bumpSpace(), this.bumpIf("/>"))
2669
2694
  return {
2670
2695
  val: {
2671
- type: E.literal,
2696
+ type: x.literal,
2672
2697
  value: "<".concat(i, "/>"),
2673
2698
  location: b(n, this.clonePosition())
2674
2699
  },
@@ -2678,24 +2703,24 @@ var _n = (
2678
2703
  var s = this.parseMessage(t + 1, r, !0);
2679
2704
  if (s.err)
2680
2705
  return s;
2681
- var u = s.val, o = this.clonePosition();
2706
+ var h = s.val, o = this.clonePosition();
2682
2707
  if (this.bumpIf("</")) {
2683
2708
  if (this.isEOF() || !Ge(this.char()))
2684
- return this.error(d.INVALID_TAG, b(o, this.clonePosition()));
2709
+ return this.error(p.INVALID_TAG, b(o, this.clonePosition()));
2685
2710
  var l = this.clonePosition(), a = this.parseTagName();
2686
- return i !== a ? this.error(d.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2711
+ return i !== a ? this.error(p.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2687
2712
  val: {
2688
- type: E.tag,
2713
+ type: x.tag,
2689
2714
  value: i,
2690
- children: u,
2715
+ children: h,
2691
2716
  location: b(n, this.clonePosition())
2692
2717
  },
2693
2718
  err: null
2694
- } : this.error(d.INVALID_TAG, b(o, this.clonePosition())));
2719
+ } : this.error(p.INVALID_TAG, b(o, this.clonePosition())));
2695
2720
  } else
2696
- return this.error(d.UNCLOSED_TAG, b(n, this.clonePosition()));
2721
+ return this.error(p.UNCLOSED_TAG, b(n, this.clonePosition()));
2697
2722
  } else
2698
- return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
2723
+ return this.error(p.INVALID_TAG, b(n, this.clonePosition()));
2699
2724
  }, e.prototype.parseTagName = function() {
2700
2725
  var t = this.offset();
2701
2726
  for (this.bump(); !this.isEOF() && En(this.char()); )
@@ -2708,9 +2733,9 @@ var _n = (
2708
2733
  i += s;
2709
2734
  continue;
2710
2735
  }
2711
- var u = this.tryParseUnquoted(t, r);
2712
- if (u) {
2713
- i += u;
2736
+ var h = this.tryParseUnquoted(t, r);
2737
+ if (h) {
2738
+ i += h;
2714
2739
  continue;
2715
2740
  }
2716
2741
  var o = this.tryParseLeftAngleBracket();
@@ -2722,12 +2747,12 @@ var _n = (
2722
2747
  }
2723
2748
  var l = b(n, this.clonePosition());
2724
2749
  return {
2725
- val: { type: E.literal, value: i, location: l },
2750
+ val: { type: x.literal, value: i, location: l },
2726
2751
  err: null
2727
2752
  };
2728
2753
  }, e.prototype.tryParseLeftAngleBracket = function() {
2729
2754
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2730
- !yn(this.peek() || 0)) ? (this.bump(), "<") : null;
2755
+ !xn(this.peek() || 0)) ? (this.bump(), "<") : null;
2731
2756
  }, e.prototype.tryParseQuote = function(t) {
2732
2757
  if (this.isEOF() || this.char() !== 39)
2733
2758
  return null;
@@ -2770,19 +2795,19 @@ var _n = (
2770
2795
  }, e.prototype.parseArgument = function(t, r) {
2771
2796
  var n = this.clonePosition();
2772
2797
  if (this.bump(), this.bumpSpace(), this.isEOF())
2773
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2798
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2774
2799
  if (this.char() === 125)
2775
- return this.bump(), this.error(d.EMPTY_ARGUMENT, b(n, this.clonePosition()));
2800
+ return this.bump(), this.error(p.EMPTY_ARGUMENT, b(n, this.clonePosition()));
2776
2801
  var i = this.parseIdentifierIfPossible().value;
2777
2802
  if (!i)
2778
- return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2803
+ return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2779
2804
  if (this.bumpSpace(), this.isEOF())
2780
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2805
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2781
2806
  switch (this.char()) {
2782
2807
  case 125:
2783
2808
  return this.bump(), {
2784
2809
  val: {
2785
- type: E.argument,
2810
+ type: x.argument,
2786
2811
  // value does not include the opening and closing braces.
2787
2812
  value: i,
2788
2813
  location: b(n, this.clonePosition())
@@ -2790,20 +2815,20 @@ var _n = (
2790
2815
  err: null
2791
2816
  };
2792
2817
  case 44:
2793
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2818
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2794
2819
  default:
2795
- return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2820
+ return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2796
2821
  }
2797
2822
  }, e.prototype.parseIdentifierIfPossible = function() {
2798
2823
  var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
2799
2824
  this.bumpTo(i);
2800
- var s = this.clonePosition(), u = b(t, s);
2801
- return { value: n, location: u };
2825
+ var s = this.clonePosition(), h = b(t, s);
2826
+ return { value: n, location: h };
2802
2827
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2803
- var s, u = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2828
+ var s, h = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2804
2829
  switch (o) {
2805
2830
  case "":
2806
- return this.error(d.EXPECT_ARGUMENT_TYPE, b(u, l));
2831
+ return this.error(p.EXPECT_ARGUMENT_TYPE, b(h, l));
2807
2832
  case "number":
2808
2833
  case "date":
2809
2834
  case "time": {
@@ -2811,38 +2836,38 @@ var _n = (
2811
2836
  var a = null;
2812
2837
  if (this.bumpIf(",")) {
2813
2838
  this.bumpSpace();
2814
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2839
+ var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2815
2840
  if (f.err)
2816
2841
  return f;
2817
- var c = gn(f.val);
2842
+ var c = _n(f.val);
2818
2843
  if (c.length === 0)
2819
- return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2820
- var p = b(h, this.clonePosition());
2821
- a = { style: c, styleLocation: p };
2844
+ return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2845
+ var d = b(u, this.clonePosition());
2846
+ a = { style: c, styleLocation: d };
2822
2847
  }
2823
2848
  var m = this.tryParseArgumentClose(i);
2824
2849
  if (m.err)
2825
2850
  return m;
2826
2851
  var g = b(i, this.clonePosition());
2827
- if (a && rt(a?.style, "::", 0)) {
2828
- var v = bn(a.style.slice(2));
2852
+ if (a && it(a?.style, "::", 0)) {
2853
+ var v = gn(a.style.slice(2));
2829
2854
  if (o === "number") {
2830
2855
  var f = this.parseNumberSkeletonFromString(v, a.styleLocation);
2831
2856
  return f.err ? f : {
2832
- val: { type: E.number, value: n, location: g, style: f.val },
2857
+ val: { type: x.number, value: n, location: g, style: f.val },
2833
2858
  err: null
2834
2859
  };
2835
2860
  } else {
2836
2861
  if (v.length === 0)
2837
- return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
2862
+ return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
2838
2863
  var L = v;
2839
- this.locale && (L = rn(v, this.locale));
2864
+ this.locale && (L = nn(v, this.locale));
2840
2865
  var c = {
2841
2866
  type: k.dateTime,
2842
2867
  pattern: L,
2843
2868
  location: a.styleLocation,
2844
- parsedOptions: this.shouldParseSkeletons ? Qr(L) : {}
2845
- }, A = o === "date" ? E.date : E.time;
2869
+ parsedOptions: this.shouldParseSkeletons ? qr(L) : {}
2870
+ }, A = o === "date" ? x.date : x.time;
2846
2871
  return {
2847
2872
  val: { type: A, value: n, location: g, style: c },
2848
2873
  err: null
@@ -2851,7 +2876,7 @@ var _n = (
2851
2876
  }
2852
2877
  return {
2853
2878
  val: {
2854
- type: o === "number" ? E.number : o === "date" ? E.date : E.time,
2879
+ type: o === "number" ? x.number : o === "date" ? x.date : x.time,
2855
2880
  value: n,
2856
2881
  location: g,
2857
2882
  style: (s = a?.style) !== null && s !== void 0 ? s : null
@@ -2864,14 +2889,14 @@ var _n = (
2864
2889
  case "select": {
2865
2890
  var H = this.clonePosition();
2866
2891
  if (this.bumpSpace(), !this.bumpIf(","))
2867
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, y({}, H)));
2892
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, y({}, H)));
2868
2893
  this.bumpSpace();
2869
2894
  var N = this.parseIdentifierIfPossible(), T = 0;
2870
2895
  if (o !== "select" && N.value === "offset") {
2871
2896
  if (!this.bumpIf(":"))
2872
- return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2897
+ return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2873
2898
  this.bumpSpace();
2874
- var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2899
+ var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2875
2900
  if (f.err)
2876
2901
  return f;
2877
2902
  this.bumpSpace(), N = this.parseIdentifierIfPossible(), T = f.val;
@@ -2885,17 +2910,17 @@ var _n = (
2885
2910
  var ie = b(i, this.clonePosition());
2886
2911
  return o === "select" ? {
2887
2912
  val: {
2888
- type: E.select,
2913
+ type: x.select,
2889
2914
  value: n,
2890
- options: nt($.val),
2915
+ options: st($.val),
2891
2916
  location: ie
2892
2917
  },
2893
2918
  err: null
2894
2919
  } : {
2895
2920
  val: {
2896
- type: E.plural,
2921
+ type: x.plural,
2897
2922
  value: n,
2898
- options: nt($.val),
2923
+ options: st($.val),
2899
2924
  offset: T,
2900
2925
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2901
2926
  location: ie
@@ -2904,10 +2929,10 @@ var _n = (
2904
2929
  };
2905
2930
  }
2906
2931
  default:
2907
- return this.error(d.INVALID_ARGUMENT_TYPE, b(u, l));
2932
+ return this.error(p.INVALID_ARGUMENT_TYPE, b(h, l));
2908
2933
  }
2909
2934
  }, e.prototype.tryParseArgumentClose = function(t) {
2910
- return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2935
+ return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2911
2936
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2912
2937
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2913
2938
  var n = this.char();
@@ -2916,7 +2941,7 @@ var _n = (
2916
2941
  this.bump();
2917
2942
  var i = this.clonePosition();
2918
2943
  if (!this.bumpUntil("'"))
2919
- return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
2944
+ return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
2920
2945
  this.bump();
2921
2946
  break;
2922
2947
  }
@@ -2946,64 +2971,64 @@ var _n = (
2946
2971
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2947
2972
  var n = [];
2948
2973
  try {
2949
- n = Jr(t);
2974
+ n = Yr(t);
2950
2975
  } catch {
2951
- return this.error(d.INVALID_NUMBER_SKELETON, r);
2976
+ return this.error(p.INVALID_NUMBER_SKELETON, r);
2952
2977
  }
2953
2978
  return {
2954
2979
  val: {
2955
2980
  type: k.number,
2956
2981
  tokens: n,
2957
2982
  location: r,
2958
- parsedOptions: this.shouldParseSkeletons ? tn(n) : {}
2983
+ parsedOptions: this.shouldParseSkeletons ? rn(n) : {}
2959
2984
  },
2960
2985
  err: null
2961
2986
  };
2962
2987
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2963
- for (var s, u = !1, o = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
2988
+ for (var s, h = !1, o = [], l = /* @__PURE__ */ new Set(), a = i.value, u = i.location; ; ) {
2964
2989
  if (a.length === 0) {
2965
2990
  var f = this.clonePosition();
2966
2991
  if (r !== "select" && this.bumpIf("=")) {
2967
- var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
2992
+ var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
2968
2993
  if (c.err)
2969
2994
  return c;
2970
- h = b(f, this.clonePosition()), a = this.message.slice(f.offset, this.offset());
2995
+ u = b(f, this.clonePosition()), a = this.message.slice(f.offset, this.offset());
2971
2996
  } else
2972
2997
  break;
2973
2998
  }
2974
2999
  if (l.has(a))
2975
- return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2976
- a === "other" && (u = !0), this.bumpSpace();
2977
- var p = this.clonePosition();
3000
+ return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3001
+ a === "other" && (h = !0), this.bumpSpace();
3002
+ var d = this.clonePosition();
2978
3003
  if (!this.bumpIf("{"))
2979
- return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3004
+ return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
2980
3005
  var m = this.parseMessage(t + 1, r, n);
2981
3006
  if (m.err)
2982
3007
  return m;
2983
- var g = this.tryParseArgumentClose(p);
3008
+ var g = this.tryParseArgumentClose(d);
2984
3009
  if (g.err)
2985
3010
  return g;
2986
3011
  o.push([
2987
3012
  a,
2988
3013
  {
2989
3014
  value: m.val,
2990
- location: b(p, this.clonePosition())
3015
+ location: b(d, this.clonePosition())
2991
3016
  }
2992
- ]), l.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
3017
+ ]), l.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, u = s.location;
2993
3018
  }
2994
- return o.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3019
+ return o.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !h ? this.error(p.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
2995
3020
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2996
3021
  var n = 1, i = this.clonePosition();
2997
3022
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
2998
- for (var s = !1, u = 0; !this.isEOF(); ) {
3023
+ for (var s = !1, h = 0; !this.isEOF(); ) {
2999
3024
  var o = this.char();
3000
3025
  if (o >= 48 && o <= 57)
3001
- s = !0, u = u * 10 + (o - 48), this.bump();
3026
+ s = !0, h = h * 10 + (o - 48), this.bump();
3002
3027
  else
3003
3028
  break;
3004
3029
  }
3005
3030
  var l = b(i, this.clonePosition());
3006
- return s ? (u *= n, pn(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
3031
+ return s ? (h *= n, pn(h) ? { val: h, err: null } : this.error(r, l)) : this.error(t, l);
3007
3032
  }, e.prototype.offset = function() {
3008
3033
  return this.position.offset;
3009
3034
  }, e.prototype.isEOF = function() {
@@ -3018,7 +3043,7 @@ var _n = (
3018
3043
  var t = this.position.offset;
3019
3044
  if (t >= this.message.length)
3020
3045
  throw Error("out of bound");
3021
- var r = Dt(this.message, t);
3046
+ var r = Ft(this.message, t);
3022
3047
  if (r === void 0)
3023
3048
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3024
3049
  return r;
@@ -3037,7 +3062,7 @@ var _n = (
3037
3062
  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);
3038
3063
  }
3039
3064
  }, e.prototype.bumpIf = function(t) {
3040
- if (rt(this.message, t, this.offset())) {
3065
+ if (it(this.message, t, this.offset())) {
3041
3066
  for (var r = 0; r < t.length; r++)
3042
3067
  this.bump();
3043
3068
  return !0;
@@ -3059,7 +3084,7 @@ var _n = (
3059
3084
  break;
3060
3085
  }
3061
3086
  }, e.prototype.bumpSpace = function() {
3062
- for (; !this.isEOF() && Ft(this.char()); )
3087
+ for (; !this.isEOF() && kt(this.char()); )
3063
3088
  this.bump();
3064
3089
  }, e.prototype.peek = function() {
3065
3090
  if (this.isEOF())
@@ -3072,31 +3097,32 @@ var _n = (
3072
3097
  function Ge(e) {
3073
3098
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3074
3099
  }
3075
- function yn(e) {
3100
+ function xn(e) {
3076
3101
  return Ge(e) || e === 47;
3077
3102
  }
3078
3103
  function En(e) {
3079
3104
  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;
3080
3105
  }
3081
- function Ft(e) {
3106
+ function kt(e) {
3082
3107
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3083
3108
  }
3084
- function xn(e) {
3109
+ function vn(e) {
3085
3110
  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;
3086
3111
  }
3087
3112
  function Fe(e) {
3088
3113
  e.forEach(function(t) {
3089
- if (delete t.location, Pt(t) || Lt(t))
3114
+ if (delete t.location, Nt(t) || It(t))
3090
3115
  for (var r in t.options)
3091
3116
  delete t.options[r].location, Fe(t.options[r].value);
3092
- else At(t) && It(t.style) || (Ct(t) || Ot(t)) && $e(t.style) ? delete t.style.location : Nt(t) && Fe(t.children);
3117
+ else
3118
+ Ot(t) && $t(t.style) || (Pt(t) || Lt(t)) && $e(t.style) ? delete t.style.location : Mt(t) && Fe(t.children);
3093
3119
  });
3094
3120
  }
3095
- function vn(e, t) {
3121
+ function Hn(e, t) {
3096
3122
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3097
- var r = new _n(e, t).parse();
3123
+ var r = new yn(e, t).parse();
3098
3124
  if (r.err) {
3099
- var n = SyntaxError(d[r.err.kind]);
3125
+ var n = SyntaxError(p[r.err.kind]);
3100
3126
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3101
3127
  }
3102
3128
  return t?.captureLocation || Fe(r.val), r.val;
@@ -3117,7 +3143,7 @@ var _e = (
3117
3143
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3118
3144
  }, t;
3119
3145
  }(Error)
3120
- ), st = (
3146
+ ), at = (
3121
3147
  /** @class */
3122
3148
  function(e) {
3123
3149
  ge(t, e);
@@ -3126,7 +3152,7 @@ var _e = (
3126
3152
  }
3127
3153
  return t;
3128
3154
  }(_e)
3129
- ), Hn = (
3155
+ ), Bn = (
3130
3156
  /** @class */
3131
3157
  function(e) {
3132
3158
  ge(t, e);
@@ -3135,7 +3161,7 @@ var _e = (
3135
3161
  }
3136
3162
  return t;
3137
3163
  }(_e)
3138
- ), Bn = (
3164
+ ), Tn = (
3139
3165
  /** @class */
3140
3166
  function(e) {
3141
3167
  ge(t, e);
@@ -3144,125 +3170,125 @@ var _e = (
3144
3170
  }
3145
3171
  return t;
3146
3172
  }(_e)
3147
- ), x;
3173
+ ), E;
3148
3174
  (function(e) {
3149
3175
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3150
- })(x || (x = {}));
3151
- function Tn(e) {
3176
+ })(E || (E = {}));
3177
+ function wn(e) {
3152
3178
  return e.length < 2 ? e : e.reduce(function(t, r) {
3153
3179
  var n = t[t.length - 1];
3154
- return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3180
+ return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3155
3181
  }, []);
3156
3182
  }
3157
- function wn(e) {
3183
+ function Sn(e) {
3158
3184
  return typeof e == "function";
3159
3185
  }
3160
- function le(e, t, r, n, i, s, u) {
3161
- if (e.length === 1 && Ye(e[0]))
3186
+ function le(e, t, r, n, i, s, h) {
3187
+ if (e.length === 1 && et(e[0]))
3162
3188
  return [
3163
3189
  {
3164
- type: x.literal,
3190
+ type: E.literal,
3165
3191
  value: e[0].value
3166
3192
  }
3167
3193
  ];
3168
3194
  for (var o = [], l = 0, a = e; l < a.length; l++) {
3169
- var h = a[l];
3170
- if (Ye(h)) {
3195
+ var u = a[l];
3196
+ if (et(u)) {
3171
3197
  o.push({
3172
- type: x.literal,
3173
- value: h.value
3198
+ type: E.literal,
3199
+ value: u.value
3174
3200
  });
3175
3201
  continue;
3176
3202
  }
3177
- if (zr(h)) {
3203
+ if (Zr(u)) {
3178
3204
  typeof s == "number" && o.push({
3179
- type: x.literal,
3205
+ type: E.literal,
3180
3206
  value: r.getNumberFormat(t).format(s)
3181
3207
  });
3182
3208
  continue;
3183
3209
  }
3184
- var f = h.value;
3210
+ var f = u.value;
3185
3211
  if (!(i && f in i))
3186
- throw new Bn(f, u);
3212
+ throw new Tn(f, h);
3187
3213
  var c = i[f];
3188
- if (Wr(h)) {
3214
+ if (Wr(u)) {
3189
3215
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3190
- type: typeof c == "string" ? x.literal : x.object,
3216
+ type: typeof c == "string" ? E.literal : E.object,
3191
3217
  value: c
3192
3218
  });
3193
3219
  continue;
3194
3220
  }
3195
- if (Ct(h)) {
3196
- var p = typeof h.style == "string" ? n.date[h.style] : $e(h.style) ? h.style.parsedOptions : void 0;
3221
+ if (Pt(u)) {
3222
+ var d = typeof u.style == "string" ? n.date[u.style] : $e(u.style) ? u.style.parsedOptions : void 0;
3197
3223
  o.push({
3198
- type: x.literal,
3199
- value: r.getDateTimeFormat(t, p).format(c)
3224
+ type: E.literal,
3225
+ value: r.getDateTimeFormat(t, d).format(c)
3200
3226
  });
3201
3227
  continue;
3202
3228
  }
3203
- if (Ot(h)) {
3204
- var p = typeof h.style == "string" ? n.time[h.style] : $e(h.style) ? h.style.parsedOptions : n.time.medium;
3229
+ if (Lt(u)) {
3230
+ var d = typeof u.style == "string" ? n.time[u.style] : $e(u.style) ? u.style.parsedOptions : n.time.medium;
3205
3231
  o.push({
3206
- type: x.literal,
3207
- value: r.getDateTimeFormat(t, p).format(c)
3232
+ type: E.literal,
3233
+ value: r.getDateTimeFormat(t, d).format(c)
3208
3234
  });
3209
3235
  continue;
3210
3236
  }
3211
- if (At(h)) {
3212
- var p = typeof h.style == "string" ? n.number[h.style] : It(h.style) ? h.style.parsedOptions : void 0;
3213
- p && p.scale && (c = c * (p.scale || 1)), o.push({
3214
- type: x.literal,
3215
- value: r.getNumberFormat(t, p).format(c)
3237
+ if (Ot(u)) {
3238
+ var d = typeof u.style == "string" ? n.number[u.style] : $t(u.style) ? u.style.parsedOptions : void 0;
3239
+ d && d.scale && (c = c * (d.scale || 1)), o.push({
3240
+ type: E.literal,
3241
+ value: r.getNumberFormat(t, d).format(c)
3216
3242
  });
3217
3243
  continue;
3218
3244
  }
3219
- if (Nt(h)) {
3220
- var m = h.children, g = h.value, v = i[g];
3221
- if (!wn(v))
3222
- throw new Hn(g, "function", u);
3245
+ if (Mt(u)) {
3246
+ var m = u.children, g = u.value, v = i[g];
3247
+ if (!Sn(v))
3248
+ throw new Bn(g, "function", h);
3223
3249
  var L = le(m, t, r, n, i, s), A = v(L.map(function(T) {
3224
3250
  return T.value;
3225
3251
  }));
3226
3252
  Array.isArray(A) || (A = [A]), o.push.apply(o, A.map(function(T) {
3227
3253
  return {
3228
- type: typeof T == "string" ? x.literal : x.object,
3254
+ type: typeof T == "string" ? E.literal : E.object,
3229
3255
  value: T
3230
3256
  };
3231
3257
  }));
3232
3258
  }
3233
- if (Pt(h)) {
3234
- var H = h.options[c] || h.options.other;
3259
+ if (Nt(u)) {
3260
+ var H = u.options[c] || u.options.other;
3235
3261
  if (!H)
3236
- throw new st(h.value, c, Object.keys(h.options), u);
3262
+ throw new at(u.value, c, Object.keys(u.options), h);
3237
3263
  o.push.apply(o, le(H.value, t, r, n, i));
3238
3264
  continue;
3239
3265
  }
3240
- if (Lt(h)) {
3241
- var H = h.options["=".concat(c)];
3266
+ if (It(u)) {
3267
+ var H = u.options["=".concat(c)];
3242
3268
  if (!H) {
3243
3269
  if (!Intl.PluralRules)
3244
3270
  throw new _e(`Intl.PluralRules is not available in this environment.
3245
3271
  Try polyfilling it using "@formatjs/intl-pluralrules"
3246
- `, V.MISSING_INTL_API, u);
3247
- var N = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3248
- H = h.options[N] || h.options.other;
3272
+ `, V.MISSING_INTL_API, h);
3273
+ var N = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3274
+ H = u.options[N] || u.options.other;
3249
3275
  }
3250
3276
  if (!H)
3251
- throw new st(h.value, c, Object.keys(h.options), u);
3252
- o.push.apply(o, le(H.value, t, r, n, i, c - (h.offset || 0)));
3277
+ throw new at(u.value, c, Object.keys(u.options), h);
3278
+ o.push.apply(o, le(H.value, t, r, n, i, c - (u.offset || 0)));
3253
3279
  continue;
3254
3280
  }
3255
3281
  }
3256
- return Tn(o);
3282
+ return wn(o);
3257
3283
  }
3258
- function Sn(e, t) {
3284
+ function An(e, t) {
3259
3285
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3260
3286
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3261
3287
  }, {})) : e;
3262
3288
  }
3263
- function An(e, t) {
3289
+ function Cn(e, t) {
3264
3290
  return t ? Object.keys(e).reduce(function(r, n) {
3265
- return r[n] = Sn(e[n], t[n]), r;
3291
+ return r[n] = An(e[n], t[n]), r;
3266
3292
  }, y({}, e)) : e;
3267
3293
  }
3268
3294
  function Oe(e) {
@@ -3279,7 +3305,7 @@ function Oe(e) {
3279
3305
  }
3280
3306
  };
3281
3307
  }
3282
- function Cn(e) {
3308
+ function On(e) {
3283
3309
  return e === void 0 && (e = {
3284
3310
  number: {},
3285
3311
  dateTime: {},
@@ -3311,7 +3337,7 @@ function Cn(e) {
3311
3337
  })
3312
3338
  };
3313
3339
  }
3314
- var jt = (
3340
+ var Vt = (
3315
3341
  /** @class */
3316
3342
  function() {
3317
3343
  function e(t, r, n, i) {
@@ -3325,10 +3351,10 @@ var jt = (
3325
3351
  var a = s.formatToParts(l);
3326
3352
  if (a.length === 1)
3327
3353
  return a[0].value;
3328
- var h = a.reduce(function(f, c) {
3329
- return !f.length || c.type !== x.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3354
+ var u = a.reduce(function(f, c) {
3355
+ return !f.length || c.type !== E.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3330
3356
  }, []);
3331
- return h.length <= 1 ? h[0] || "" : h;
3357
+ return u.length <= 1 ? u[0] || "" : u;
3332
3358
  }, this.formatToParts = function(l) {
3333
3359
  return le(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3334
3360
  }, this.resolvedOptions = function() {
@@ -3341,15 +3367,15 @@ var jt = (
3341
3367
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3342
3368
  if (this.message = t, !e.__parse)
3343
3369
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3344
- var u = i || {};
3345
- u.formatters;
3346
- var o = Ur(u, ["formatters"]);
3370
+ var h = i || {};
3371
+ h.formatters;
3372
+ var o = Gr(h, ["formatters"]);
3347
3373
  this.ast = e.__parse(t, y(y({}, o), { locale: this.resolvedLocale }));
3348
3374
  } else
3349
3375
  this.ast = t;
3350
3376
  if (!Array.isArray(this.ast))
3351
3377
  throw new TypeError("A message must be provided as a String or AST.");
3352
- this.formats = An(e.formats, n), this.formatters = i && i.formatters || Cn(this.formatterCache);
3378
+ this.formats = Cn(e.formats, n), this.formatters = i && i.formatters || On(this.formatterCache);
3353
3379
  }
3354
3380
  return Object.defineProperty(e, "defaultLocale", {
3355
3381
  get: function() {
@@ -3362,7 +3388,7 @@ var jt = (
3362
3388
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3363
3389
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3364
3390
  }
3365
- }, e.__parse = vn, e.formats = {
3391
+ }, e.__parse = Hn, e.formats = {
3366
3392
  number: {
3367
3393
  integer: {
3368
3394
  maximumFractionDigits: 0
@@ -3423,7 +3449,7 @@ var jt = (
3423
3449
  }, e;
3424
3450
  }()
3425
3451
  );
3426
- function On(e, t) {
3452
+ function Pn(e, t) {
3427
3453
  if (t == null)
3428
3454
  return;
3429
3455
  if (t in e)
@@ -3444,60 +3470,60 @@ function On(e, t) {
3444
3470
  n = void 0;
3445
3471
  return n;
3446
3472
  }
3447
- const C = {}, Pn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), kt = (e, t) => {
3473
+ const C = {}, Ln = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Xt = (e, t) => {
3448
3474
  if (t == null)
3449
3475
  return;
3450
3476
  if (t in C && e in C[t])
3451
3477
  return C[t][e];
3452
3478
  const r = ne(t);
3453
3479
  for (let n = 0; n < r.length; n++) {
3454
- const i = r[n], s = Nn(i, e);
3480
+ const i = r[n], s = In(i, e);
3455
3481
  if (s)
3456
- return Pn(e, t, s);
3482
+ return Ln(e, t, s);
3457
3483
  }
3458
3484
  };
3459
- let We;
3485
+ let Ze;
3460
3486
  const re = be({});
3461
- function Ln(e) {
3462
- return We[e] || null;
3487
+ function Nn(e) {
3488
+ return Ze[e] || null;
3463
3489
  }
3464
- function Vt(e) {
3465
- return e in We;
3490
+ function zt(e) {
3491
+ return e in Ze;
3466
3492
  }
3467
- function Nn(e, t) {
3468
- if (!Vt(e))
3493
+ function In(e, t) {
3494
+ if (!zt(e))
3469
3495
  return null;
3470
- const r = Ln(e);
3471
- return On(r, t);
3496
+ const r = Nn(e);
3497
+ return Pn(r, t);
3472
3498
  }
3473
- function In(e) {
3499
+ function Mn(e) {
3474
3500
  if (e == null)
3475
3501
  return;
3476
3502
  const t = ne(e);
3477
3503
  for (let r = 0; r < t.length; r++) {
3478
3504
  const n = t[r];
3479
- if (Vt(n))
3505
+ if (zt(n))
3480
3506
  return n;
3481
3507
  }
3482
3508
  }
3483
- function Xt(e, ...t) {
3484
- delete C[e], re.update((r) => (r[e] = Rr.all([r[e] || {}, ...t]), r));
3509
+ function Wt(e, ...t) {
3510
+ delete C[e], re.update((r) => (r[e] = Dr.all([r[e] || {}, ...t]), r));
3485
3511
  }
3486
3512
  Z(
3487
3513
  [re],
3488
3514
  ([e]) => Object.keys(e)
3489
3515
  );
3490
- re.subscribe((e) => We = e);
3516
+ re.subscribe((e) => Ze = e);
3491
3517
  const fe = {};
3492
- function Mn(e, t) {
3518
+ function $n(e, t) {
3493
3519
  fe[e].delete(t), fe[e].size === 0 && delete fe[e];
3494
3520
  }
3495
- function Wt(e) {
3521
+ function Zt(e) {
3496
3522
  return fe[e];
3497
3523
  }
3498
- function $n(e) {
3524
+ function Rn(e) {
3499
3525
  return ne(e).map((t) => {
3500
- const r = Wt(t);
3526
+ const r = Zt(t);
3501
3527
  return [t, r ? [...r] : []];
3502
3528
  }).filter(([, t]) => t.length > 0);
3503
3529
  }
@@ -3505,40 +3531,40 @@ function me(e) {
3505
3531
  return e == null ? !1 : ne(e).some(
3506
3532
  (t) => {
3507
3533
  var r;
3508
- return (r = Wt(t)) == null ? void 0 : r.size;
3534
+ return (r = Zt(t)) == null ? void 0 : r.size;
3509
3535
  }
3510
3536
  );
3511
3537
  }
3512
- function Rn(e, t) {
3538
+ function Un(e, t) {
3513
3539
  return Promise.all(
3514
- t.map((n) => (Mn(e, n), n().then((i) => i.default || i)))
3515
- ).then((n) => Xt(e, ...n));
3540
+ t.map((n) => ($n(e, n), n().then((i) => i.default || i)))
3541
+ ).then((n) => Wt(e, ...n));
3516
3542
  }
3517
3543
  const q = {};
3518
- function zt(e) {
3544
+ function Qt(e) {
3519
3545
  if (!me(e))
3520
3546
  return e in q ? q[e] : Promise.resolve();
3521
- const t = $n(e);
3547
+ const t = Rn(e);
3522
3548
  return q[e] = Promise.all(
3523
3549
  t.map(
3524
- ([r, n]) => Rn(r, n)
3550
+ ([r, n]) => Un(r, n)
3525
3551
  )
3526
3552
  ).then(() => {
3527
3553
  if (me(e))
3528
- return zt(e);
3554
+ return Qt(e);
3529
3555
  delete q[e];
3530
3556
  }), q[e];
3531
3557
  }
3532
- var ot = Object.getOwnPropertySymbols, Un = Object.prototype.hasOwnProperty, Dn = Object.prototype.propertyIsEnumerable, Gn = (e, t) => {
3558
+ var ht = Object.getOwnPropertySymbols, Dn = Object.prototype.hasOwnProperty, Gn = Object.prototype.propertyIsEnumerable, Fn = (e, t) => {
3533
3559
  var r = {};
3534
3560
  for (var n in e)
3535
- Un.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3536
- if (e != null && ot)
3537
- for (var n of ot(e))
3538
- t.indexOf(n) < 0 && Dn.call(e, n) && (r[n] = e[n]);
3561
+ Dn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3562
+ if (e != null && ht)
3563
+ for (var n of ht(e))
3564
+ t.indexOf(n) < 0 && Gn.call(e, n) && (r[n] = e[n]);
3539
3565
  return r;
3540
3566
  };
3541
- const Fn = {
3567
+ const jn = {
3542
3568
  number: {
3543
3569
  scientific: { notation: "scientific" },
3544
3570
  engineering: { notation: "engineering" },
@@ -3568,7 +3594,7 @@ const Fn = {
3568
3594
  }
3569
3595
  }
3570
3596
  };
3571
- function jn({ locale: e, id: t }) {
3597
+ function kn({ locale: e, id: t }) {
3572
3598
  console.warn(
3573
3599
  `[svelte-i18n] The message "${t}" was not found in "${ne(
3574
3600
  e
@@ -3577,72 +3603,72 @@ function jn({ locale: e, id: t }) {
3577
3603
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3578
3604
  );
3579
3605
  }
3580
- const kn = {
3606
+ const Vn = {
3581
3607
  fallbackLocale: null,
3582
3608
  loadingDelay: 200,
3583
- formats: Fn,
3609
+ formats: jn,
3584
3610
  warnOnMissingMessages: !0,
3585
3611
  handleMissingMessage: void 0,
3586
3612
  ignoreTag: !0
3587
- }, J = kn;
3613
+ }, J = Vn;
3588
3614
  function X() {
3589
3615
  return J;
3590
3616
  }
3591
- function Vn(e) {
3592
- const t = e, { formats: r } = t, n = Gn(t, ["formats"]);
3617
+ function Xn(e) {
3618
+ const t = e, { formats: r } = t, n = Fn(t, ["formats"]);
3593
3619
  let i = e.fallbackLocale;
3594
3620
  if (e.initialLocale)
3595
3621
  try {
3596
- jt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3622
+ Vt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3597
3623
  } catch {
3598
3624
  console.warn(
3599
3625
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3600
3626
  );
3601
3627
  }
3602
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = jn : console.warn(
3628
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = kn : console.warn(
3603
3629
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3604
3630
  )), Object.assign(J, n, { initialLocale: i }), r && ("number" in r && Object.assign(J.formats.number, r.number), "date" in r && Object.assign(J.formats.date, r.date), "time" in r && Object.assign(J.formats.time, r.time)), M.set(i);
3605
3631
  }
3606
3632
  const Pe = be(!1);
3607
- var Xn = Object.defineProperty, Wn = Object.defineProperties, zn = Object.getOwnPropertyDescriptors, at = Object.getOwnPropertySymbols, Zn = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? Xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qn = (e, t) => {
3633
+ var zn = Object.defineProperty, Wn = Object.defineProperties, Zn = Object.getOwnPropertyDescriptors, ut = Object.getOwnPropertySymbols, Qn = Object.prototype.hasOwnProperty, qn = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Jn = (e, t) => {
3608
3634
  for (var r in t || (t = {}))
3609
- Zn.call(t, r) && ut(e, r, t[r]);
3610
- if (at)
3611
- for (var r of at(t))
3612
- Qn.call(t, r) && ut(e, r, t[r]);
3635
+ Qn.call(t, r) && lt(e, r, t[r]);
3636
+ if (ut)
3637
+ for (var r of ut(t))
3638
+ qn.call(t, r) && lt(e, r, t[r]);
3613
3639
  return e;
3614
- }, Jn = (e, t) => Wn(e, zn(t));
3640
+ }, Yn = (e, t) => Wn(e, Zn(t));
3615
3641
  let je;
3616
- const pe = be(null);
3617
- function ht(e) {
3642
+ const de = be(null);
3643
+ function ft(e) {
3618
3644
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3619
3645
  }
3620
3646
  function ne(e, t = X().fallbackLocale) {
3621
- const r = ht(e);
3622
- return t ? [.../* @__PURE__ */ new Set([...r, ...ht(t)])] : r;
3647
+ const r = ft(e);
3648
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ft(t)])] : r;
3623
3649
  }
3624
3650
  function P() {
3625
3651
  return je ?? void 0;
3626
3652
  }
3627
- pe.subscribe((e) => {
3653
+ de.subscribe((e) => {
3628
3654
  je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3629
3655
  });
3630
- const Yn = (e) => {
3631
- if (e && In(e) && me(e)) {
3656
+ const Kn = (e) => {
3657
+ if (e && Mn(e) && me(e)) {
3632
3658
  const { loadingDelay: t } = X();
3633
3659
  let r;
3634
3660
  return typeof window < "u" && P() != null && t ? r = window.setTimeout(
3635
3661
  () => Pe.set(!0),
3636
3662
  t
3637
- ) : Pe.set(!0), zt(e).then(() => {
3638
- pe.set(e);
3663
+ ) : Pe.set(!0), Qt(e).then(() => {
3664
+ de.set(e);
3639
3665
  }).finally(() => {
3640
3666
  clearTimeout(r), Pe.set(!1);
3641
3667
  });
3642
3668
  }
3643
- return pe.set(e);
3644
- }, M = Jn(qn({}, pe), {
3645
- set: Yn
3669
+ return de.set(e);
3670
+ }, M = Yn(Jn({}, de), {
3671
+ set: Kn
3646
3672
  }), ye = (e) => {
3647
3673
  const t = /* @__PURE__ */ Object.create(null);
3648
3674
  return (n) => {
@@ -3650,20 +3676,20 @@ const Yn = (e) => {
3650
3676
  return i in t ? t[i] : t[i] = e(n);
3651
3677
  };
3652
3678
  };
3653
- var Kn = Object.defineProperty, de = Object.getOwnPropertySymbols, Zt = Object.prototype.hasOwnProperty, Qt = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? Kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
3679
+ var ei = Object.defineProperty, pe = Object.getOwnPropertySymbols, qt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable, ct = (e, t, r) => t in e ? ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
3654
3680
  for (var r in t || (t = {}))
3655
- Zt.call(t, r) && lt(e, r, t[r]);
3656
- if (de)
3657
- for (var r of de(t))
3658
- Qt.call(t, r) && lt(e, r, t[r]);
3681
+ qt.call(t, r) && ct(e, r, t[r]);
3682
+ if (pe)
3683
+ for (var r of pe(t))
3684
+ Jt.call(t, r) && ct(e, r, t[r]);
3659
3685
  return e;
3660
3686
  }, Q = (e, t) => {
3661
3687
  var r = {};
3662
3688
  for (var n in e)
3663
- Zt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3664
- if (e != null && de)
3665
- for (var n of de(e))
3666
- t.indexOf(n) < 0 && Qt.call(e, n) && (r[n] = e[n]);
3689
+ qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3690
+ if (e != null && pe)
3691
+ for (var n of pe(e))
3692
+ t.indexOf(n) < 0 && Jt.call(e, n) && (r[n] = e[n]);
3667
3693
  return r;
3668
3694
  };
3669
3695
  const ee = (e, t) => {
@@ -3671,21 +3697,21 @@ const ee = (e, t) => {
3671
3697
  if (e in r && t in r[e])
3672
3698
  return r[e][t];
3673
3699
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3674
- }, ei = ye(
3700
+ }, ti = ye(
3675
3701
  (e) => {
3676
3702
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3677
3703
  if (r == null)
3678
3704
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3679
3705
  return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
3680
3706
  }
3681
- ), ti = ye(
3707
+ ), ri = ye(
3682
3708
  (e) => {
3683
3709
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3684
3710
  if (r == null)
3685
3711
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3686
3712
  return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
3687
3713
  }
3688
- ), ri = ye(
3714
+ ), ni = ye(
3689
3715
  (e) => {
3690
3716
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3691
3717
  if (r == null)
@@ -3694,57 +3720,57 @@ const ee = (e, t) => {
3694
3720
  );
3695
3721
  return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
3696
3722
  }
3697
- ), ni = (e = {}) => {
3723
+ ), ii = (e = {}) => {
3698
3724
  var t = e, {
3699
3725
  locale: r = P()
3700
3726
  } = t, n = Q(t, [
3701
3727
  "locale"
3702
3728
  ]);
3703
- return ei(ze({ locale: r }, n));
3704
- }, ii = (e = {}) => {
3729
+ return ti(Qe({ locale: r }, n));
3730
+ }, si = (e = {}) => {
3705
3731
  var t = e, {
3706
3732
  locale: r = P()
3707
3733
  } = t, n = Q(t, [
3708
3734
  "locale"
3709
3735
  ]);
3710
- return ti(ze({ locale: r }, n));
3711
- }, si = (e = {}) => {
3736
+ return ri(Qe({ locale: r }, n));
3737
+ }, oi = (e = {}) => {
3712
3738
  var t = e, {
3713
3739
  locale: r = P()
3714
3740
  } = t, n = Q(t, [
3715
3741
  "locale"
3716
3742
  ]);
3717
- return ri(ze({ locale: r }, n));
3718
- }, oi = ye(
3743
+ return ni(Qe({ locale: r }, n));
3744
+ }, ai = ye(
3719
3745
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3720
- (e, t = P()) => new jt(e, t, X().formats, {
3746
+ (e, t = P()) => new Vt(e, t, X().formats, {
3721
3747
  ignoreTag: X().ignoreTag
3722
3748
  })
3723
- ), ai = (e, t = {}) => {
3749
+ ), hi = (e, t = {}) => {
3724
3750
  var r, n, i, s;
3725
- let u = t;
3726
- typeof e == "object" && (u = e, e = u.id);
3751
+ let h = t;
3752
+ typeof e == "object" && (h = e, e = h.id);
3727
3753
  const {
3728
3754
  values: o,
3729
3755
  locale: l = P(),
3730
3756
  default: a
3731
- } = u;
3757
+ } = h;
3732
3758
  if (l == null)
3733
3759
  throw new Error(
3734
3760
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3735
3761
  );
3736
- let h = kt(e, l);
3737
- if (!h)
3738
- h = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3739
- else if (typeof h != "string")
3762
+ let u = Xt(e, l);
3763
+ if (!u)
3764
+ u = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3765
+ else if (typeof u != "string")
3740
3766
  return console.warn(
3741
- `[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.`
3742
- ), h;
3767
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3768
+ ), u;
3743
3769
  if (!o)
3744
- return h;
3745
- let f = h;
3770
+ return u;
3771
+ let f = u;
3746
3772
  try {
3747
- f = oi(h, l).format(o);
3773
+ f = ai(u, l).format(o);
3748
3774
  } catch (c) {
3749
3775
  c instanceof Error && console.warn(
3750
3776
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3752,20 +3778,20 @@ const ee = (e, t) => {
3752
3778
  );
3753
3779
  }
3754
3780
  return f;
3755
- }, ui = (e, t) => si(t).format(e), hi = (e, t) => ii(t).format(e), li = (e, t) => ni(t).format(e), fi = (e, t = P()) => kt(e, t), ci = Z([M, re], () => ai);
3781
+ }, ui = (e, t) => oi(t).format(e), li = (e, t) => si(t).format(e), fi = (e, t) => ii(t).format(e), ci = (e, t = P()) => Xt(e, t), mi = Z([M, re], () => hi);
3756
3782
  Z([M], () => ui);
3757
- Z([M], () => hi);
3758
3783
  Z([M], () => li);
3759
- Z([M, re], () => fi);
3760
- function ft(e, t) {
3761
- Xt(e, t);
3784
+ Z([M], () => fi);
3785
+ Z([M, re], () => ci);
3786
+ function mt(e, t) {
3787
+ Wt(e, t);
3762
3788
  }
3763
- function mi(e) {
3764
- Vn({
3789
+ function di(e) {
3790
+ Xn({
3765
3791
  fallbackLocale: "en"
3766
3792
  }), M.set(e);
3767
3793
  }
3768
- const ct = {
3794
+ const dt = {
3769
3795
  en: {
3770
3796
  header: {
3771
3797
  general: "Cashier",
@@ -3789,17 +3815,17 @@ const ct = {
3789
3815
  }
3790
3816
  };
3791
3817
  function pi(e) {
3792
- nr(e, "svelte-bbilb", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
3818
+ sr(e, "svelte-bbilb", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
3793
3819
  }
3794
- const di = (e) => ({}), mt = (e) => ({}), bi = (e) => ({}), pt = (e) => ({}), gi = (e) => ({}), dt = (e) => ({});
3795
- function bt(e) {
3820
+ const bi = (e) => ({}), pt = (e) => ({}), gi = (e) => ({}), bt = (e) => ({}), _i = (e) => ({}), gt = (e) => ({});
3821
+ function _t(e) {
3796
3822
  let t, r, n;
3797
3823
  return {
3798
3824
  c() {
3799
- t = W("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', z(t, "class", "CashierHeaderLeftButton");
3825
+ t = z("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', W(t, "class", "CashierHeaderLeftButton");
3800
3826
  },
3801
3827
  m(i, s) {
3802
- I(i, t, s), r || (n = Ht(
3828
+ I(i, t, s), r || (n = Tt(
3803
3829
  t,
3804
3830
  "click",
3805
3831
  /*back*/
@@ -3812,28 +3838,28 @@ function bt(e) {
3812
3838
  }
3813
3839
  };
3814
3840
  }
3815
- function _i(e) {
3841
+ function yi(e) {
3816
3842
  let t, r = (
3817
3843
  /*backButton*/
3818
- e[1] && bt(e)
3844
+ e[1] && _t(e)
3819
3845
  );
3820
3846
  return {
3821
3847
  c() {
3822
- r && r.c(), t = vt();
3848
+ r && r.c(), t = Bt();
3823
3849
  },
3824
3850
  m(n, i) {
3825
3851
  r && r.m(n, i), I(n, t, i);
3826
3852
  },
3827
3853
  p(n, i) {
3828
3854
  /*backButton*/
3829
- n[1] ? r ? r.p(n, i) : (r = bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3855
+ n[1] ? r ? r.p(n, i) : (r = _t(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3830
3856
  },
3831
3857
  d(n) {
3832
3858
  n && O(t), r && r.d(n);
3833
3859
  }
3834
3860
  };
3835
3861
  }
3836
- function yi(e) {
3862
+ function xi(e) {
3837
3863
  let t, r = (
3838
3864
  /*$_*/
3839
3865
  e[4](
@@ -3843,7 +3869,7 @@ function yi(e) {
3843
3869
  ), n;
3844
3870
  return {
3845
3871
  c() {
3846
- t = W("span"), n = Ve(r), z(t, "class", "CashierHeaderTitle");
3872
+ t = z("span"), n = Ve(r), W(t, "class", "CashierHeaderTitle");
3847
3873
  },
3848
3874
  m(i, s) {
3849
3875
  I(i, t, s), ce(t, n);
@@ -3854,21 +3880,21 @@ function yi(e) {
3854
3880
  i[4](
3855
3881
  /*titleText*/
3856
3882
  i[2]
3857
- ) + "") && ar(n, r);
3883
+ ) + "") && ur(n, r);
3858
3884
  },
3859
3885
  d(i) {
3860
3886
  i && O(t);
3861
3887
  }
3862
3888
  };
3863
3889
  }
3864
- function gt(e) {
3890
+ function yt(e) {
3865
3891
  let t, r, n;
3866
3892
  return {
3867
3893
  c() {
3868
- t = W("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', z(t, "class", "CashierHeaderRightButton");
3894
+ t = z("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', W(t, "class", "CashierHeaderRightButton");
3869
3895
  },
3870
3896
  m(i, s) {
3871
- I(i, t, s), r || (n = Ht(
3897
+ I(i, t, s), r || (n = Tt(
3872
3898
  t,
3873
3899
  "click",
3874
3900
  /*close*/
@@ -3884,80 +3910,80 @@ function gt(e) {
3884
3910
  function Ei(e) {
3885
3911
  let t, r = (
3886
3912
  /*closeButton*/
3887
- e[3] && gt(e)
3913
+ e[3] && yt(e)
3888
3914
  );
3889
3915
  return {
3890
3916
  c() {
3891
- r && r.c(), t = vt();
3917
+ r && r.c(), t = Bt();
3892
3918
  },
3893
3919
  m(n, i) {
3894
3920
  r && r.m(n, i), I(n, t, i);
3895
3921
  },
3896
3922
  p(n, i) {
3897
3923
  /*closeButton*/
3898
- n[3] ? r ? r.p(n, i) : (r = gt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3924
+ n[3] ? r ? r.p(n, i) : (r = yt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3899
3925
  },
3900
3926
  d(n) {
3901
3927
  n && O(t), r && r.d(n);
3902
3928
  }
3903
3929
  };
3904
3930
  }
3905
- function xi(e) {
3931
+ function vi(e) {
3906
3932
  let t, r, n, i;
3907
3933
  const s = (
3908
3934
  /*#slots*/
3909
3935
  e[15].leftButton
3910
- ), u = Ee(
3936
+ ), h = xe(
3911
3937
  s,
3912
3938
  e,
3913
3939
  /*$$scope*/
3914
3940
  e[14],
3915
- dt
3916
- ), o = u || _i(e), l = (
3941
+ gt
3942
+ ), o = h || yi(e), l = (
3917
3943
  /*#slots*/
3918
3944
  e[15].title
3919
- ), a = Ee(
3945
+ ), a = xe(
3920
3946
  l,
3921
3947
  e,
3922
3948
  /*$$scope*/
3923
3949
  e[14],
3924
- pt
3925
- ), h = a || yi(e), f = (
3950
+ bt
3951
+ ), u = a || xi(e), f = (
3926
3952
  /*#slots*/
3927
3953
  e[15].rightButton
3928
- ), c = Ee(
3954
+ ), c = xe(
3929
3955
  f,
3930
3956
  e,
3931
3957
  /*$$scope*/
3932
3958
  e[14],
3933
- mt
3934
- ), p = c || Ei(e);
3959
+ pt
3960
+ ), d = c || Ei(e);
3935
3961
  return {
3936
3962
  c() {
3937
- t = W("div"), o && o.c(), r = Qe(), h && h.c(), n = Qe(), p && p.c(), z(t, "class", "CashierHeader");
3963
+ t = z("div"), o && o.c(), r = Je(), u && u.c(), n = Je(), d && d.c(), W(t, "class", "CashierHeader");
3938
3964
  },
3939
3965
  m(m, g) {
3940
- I(m, t, g), o && o.m(t, null), ce(t, r), h && h.m(t, null), ce(t, n), p && p.m(t, null), e[16](t), i = !0;
3966
+ I(m, t, g), o && o.m(t, null), ce(t, r), u && u.m(t, null), ce(t, n), d && d.m(t, null), e[16](t), i = !0;
3941
3967
  },
3942
3968
  p(m, [g]) {
3943
- u ? u.p && (!i || g & /*$$scope*/
3969
+ h ? h.p && (!i || g & /*$$scope*/
3944
3970
  16384) && ve(
3945
- u,
3971
+ h,
3946
3972
  s,
3947
3973
  m,
3948
3974
  /*$$scope*/
3949
3975
  m[14],
3950
- i ? xe(
3976
+ i ? Ee(
3951
3977
  s,
3952
3978
  /*$$scope*/
3953
3979
  m[14],
3954
3980
  g,
3955
- gi
3981
+ _i
3956
3982
  ) : He(
3957
3983
  /*$$scope*/
3958
3984
  m[14]
3959
3985
  ),
3960
- dt
3986
+ gt
3961
3987
  ) : o && o.p && (!i || g & /*backButton*/
3962
3988
  2) && o.p(m, i ? g : -1), a ? a.p && (!i || g & /*$$scope*/
3963
3989
  16384) && ve(
@@ -3966,137 +3992,137 @@ function xi(e) {
3966
3992
  m,
3967
3993
  /*$$scope*/
3968
3994
  m[14],
3969
- i ? xe(
3995
+ i ? Ee(
3970
3996
  l,
3971
3997
  /*$$scope*/
3972
3998
  m[14],
3973
3999
  g,
3974
- bi
4000
+ gi
3975
4001
  ) : He(
3976
4002
  /*$$scope*/
3977
4003
  m[14]
3978
4004
  ),
3979
- pt
3980
- ) : h && h.p && (!i || g & /*$_, titleText*/
3981
- 20) && h.p(m, i ? g : -1), c ? c.p && (!i || g & /*$$scope*/
4005
+ bt
4006
+ ) : u && u.p && (!i || g & /*$_, titleText*/
4007
+ 20) && u.p(m, i ? g : -1), c ? c.p && (!i || g & /*$$scope*/
3982
4008
  16384) && ve(
3983
4009
  c,
3984
4010
  f,
3985
4011
  m,
3986
4012
  /*$$scope*/
3987
4013
  m[14],
3988
- i ? xe(
4014
+ i ? Ee(
3989
4015
  f,
3990
4016
  /*$$scope*/
3991
4017
  m[14],
3992
4018
  g,
3993
- di
4019
+ bi
3994
4020
  ) : He(
3995
4021
  /*$$scope*/
3996
4022
  m[14]
3997
4023
  ),
3998
- mt
3999
- ) : p && p.p && (!i || g & /*closeButton*/
4000
- 8) && p.p(m, i ? g : -1);
4024
+ pt
4025
+ ) : d && d.p && (!i || g & /*closeButton*/
4026
+ 8) && d.p(m, i ? g : -1);
4001
4027
  },
4002
4028
  i(m) {
4003
- i || (ue(o, m), ue(h, m), ue(p, m), i = !0);
4029
+ i || (he(o, m), he(u, m), he(d, m), i = !0);
4004
4030
  },
4005
4031
  o(m) {
4006
- Te(o, m), Te(h, m), Te(p, m), i = !1;
4032
+ Te(o, m), Te(u, m), Te(d, m), i = !1;
4007
4033
  },
4008
4034
  d(m) {
4009
- m && O(t), o && o.d(m), h && h.d(m), p && p.d(m), e[16](null);
4035
+ m && O(t), o && o.d(m), u && u.d(m), d && d.d(m), e[16](null);
4010
4036
  }
4011
4037
  };
4012
4038
  }
4013
- function vi(e, t, r) {
4039
+ function Hi(e, t, r) {
4014
4040
  let n;
4015
- rr(e, ci, (_) => r(4, n = _));
4016
- let { $$slots: i = {}, $$scope: s } = t, { clientstyling: u = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: a = "" } = t, { title: h = "header.general" } = t, { lang: f = "en" } = t, { showclosebutton: c = "" } = t, p, m = !1, g, v = !1;
4041
+ ir(e, mi, (_) => r(4, n = _));
4042
+ let { $$slots: i = {}, $$scope: s } = t, { clientstyling: h = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: a = "" } = t, { title: u = "header.general" } = t, { lang: f = "en" } = t, { showclosebutton: c = "" } = t, d, m = !1, g, v = !1;
4017
4043
  const L = () => {
4018
4044
  let _ = l;
4019
4045
  _ && fetch(_).then((w) => w.json()).then((w) => {
4020
4046
  Object.keys(w).forEach((R) => {
4021
- ft(R, w[R]);
4047
+ mt(R, w[R]);
4022
4048
  });
4023
4049
  }).catch((w) => {
4024
4050
  console.log(w);
4025
4051
  });
4026
4052
  };
4027
- Object.keys(ct).forEach((_) => {
4028
- ft(_, ct[_]);
4053
+ Object.keys(dt).forEach((_) => {
4054
+ mt(_, dt[_]);
4029
4055
  });
4030
4056
  const A = () => {
4031
4057
  let _ = document.createElement("style");
4032
- _.innerHTML = u, p.appendChild(_);
4058
+ _.innerHTML = h, d.appendChild(_);
4033
4059
  }, H = () => {
4034
4060
  let _ = new URL(o), w = document.createElement("style");
4035
4061
  fetch(_.href).then((R) => R.text()).then((R) => {
4036
4062
  w.innerHTML = R, setTimeout(
4037
4063
  () => {
4038
- p.appendChild(w);
4064
+ d.appendChild(w);
4039
4065
  },
4040
4066
  1
4041
4067
  );
4042
4068
  });
4043
4069
  }, N = () => {
4044
- mi(f);
4070
+ di(f);
4045
4071
  }, T = () => {
4046
4072
  window.postMessage({ type: "CloseCashier" }, window.location.href);
4047
4073
  }, $ = () => {
4048
4074
  window.postMessage({ type: "BackCashier" }, window.location.href);
4049
4075
  }, ie = () => {
4050
4076
  r(1, m = !!a && a !== "false");
4051
- }, Jt = () => {
4077
+ }, Kt = () => {
4052
4078
  r(3, v = !!c && c !== "false");
4053
- }, Yt = () => {
4054
- r(2, g = h || "header.general");
4079
+ }, er = () => {
4080
+ r(2, g = u || "header.general");
4055
4081
  };
4056
- function Kt(_) {
4082
+ function tr(_) {
4057
4083
  Le[_ ? "unshift" : "push"](() => {
4058
- p = _, r(0, p);
4084
+ d = _, r(0, d);
4059
4085
  });
4060
4086
  }
4061
4087
  return e.$$set = (_) => {
4062
- "clientstyling" in _ && r(7, u = _.clientstyling), "clientstylingurl" in _ && r(8, o = _.clientstylingurl), "translationurl" in _ && r(9, l = _.translationurl), "showbackbutton" in _ && r(10, a = _.showbackbutton), "title" in _ && r(11, h = _.title), "lang" in _ && r(12, f = _.lang), "showclosebutton" in _ && r(13, c = _.showclosebutton), "$$scope" in _ && r(14, s = _.$$scope);
4088
+ "clientstyling" in _ && r(7, h = _.clientstyling), "clientstylingurl" in _ && r(8, o = _.clientstylingurl), "translationurl" in _ && r(9, l = _.translationurl), "showbackbutton" in _ && r(10, a = _.showbackbutton), "title" in _ && r(11, u = _.title), "lang" in _ && r(12, f = _.lang), "showclosebutton" in _ && r(13, c = _.showclosebutton), "$$scope" in _ && r(14, s = _.$$scope);
4063
4089
  }, e.$$.update = () => {
4064
4090
  e.$$.dirty & /*lang*/
4065
4091
  4096 && f && N(), e.$$.dirty & /*lang, title*/
4066
- 6144 && f && h && Yt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4067
- 129 && u && p && A(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4068
- 257 && o && p && H(), e.$$.dirty & /*lang, translationurl*/
4092
+ 6144 && f && u && er(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4093
+ 129 && h && d && A(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4094
+ 257 && o && d && H(), e.$$.dirty & /*lang, translationurl*/
4069
4095
  4608 && f && l && L(), e.$$.dirty & /*showbackbutton*/
4070
4096
  1024 && a && ie(), e.$$.dirty & /*showclosebutton*/
4071
- 8192 && c && Jt();
4097
+ 8192 && c && Kt();
4072
4098
  }, [
4073
- p,
4099
+ d,
4074
4100
  m,
4075
4101
  g,
4076
4102
  v,
4077
4103
  n,
4078
4104
  T,
4079
4105
  $,
4080
- u,
4106
+ h,
4081
4107
  o,
4082
4108
  l,
4083
4109
  a,
4084
- h,
4110
+ u,
4085
4111
  f,
4086
4112
  c,
4087
4113
  s,
4088
4114
  i,
4089
- Kt
4115
+ tr
4090
4116
  ];
4091
4117
  }
4092
- class qt extends yr {
4118
+ class Yt extends Er {
4093
4119
  constructor(t) {
4094
- super(), gr(
4120
+ super(), yr(
4095
4121
  this,
4096
4122
  t,
4123
+ Hi,
4097
4124
  vi,
4098
- xi,
4099
- yt,
4125
+ Et,
4100
4126
  {
4101
4127
  clientstyling: 7,
4102
4128
  clientstylingurl: 8,
@@ -4152,31 +4178,31 @@ class qt extends yr {
4152
4178
  this.$$set({ showclosebutton: t }), S();
4153
4179
  }
4154
4180
  }
4155
- _r(qt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4156
- const Ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4181
+ xr(Yt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4182
+ const wi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4157
4183
  __proto__: null,
4158
- default: qt
4184
+ default: Yt
4159
4185
  }, Symbol.toStringTag, { value: "Module" }));
4160
4186
  export {
4161
4187
  M as $,
4162
- Ti as C,
4163
- yr as S,
4164
- Xt as a,
4165
- gr as b,
4166
- _r as c,
4167
- nr as d,
4168
- O as e,
4188
+ wi as C,
4189
+ Er as S,
4190
+ Wt as a,
4191
+ yr as b,
4192
+ xr as c,
4193
+ sr as d,
4194
+ z as e,
4169
4195
  S as f,
4170
- Bi as g,
4171
- Hi as h,
4172
- Vn as i,
4173
- z as j,
4174
- I as k,
4175
- ce as l,
4176
- Ht as m,
4177
- B as n,
4178
- W as o,
4179
- Qe as p,
4196
+ Je as g,
4197
+ Ti as h,
4198
+ Xn as i,
4199
+ Bi as j,
4200
+ W as k,
4201
+ I as l,
4202
+ ce as m,
4203
+ Tt as n,
4204
+ B as o,
4205
+ O as p,
4180
4206
  Le as q,
4181
- yt as s
4207
+ Et as s
4182
4208
  };