@everymatrix/cashier-header 1.56.0 → 1.56.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,60 +1,61 @@
1
- var ir = Object.defineProperty, sr = Object.defineProperties;
2
- var or = Object.getOwnPropertyDescriptors;
3
- var Qe = Object.getOwnPropertySymbols;
4
- var ar = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable;
5
- var Ee = (e, t, r) => t in e ? ir(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
1
+ var or = Object.defineProperty, ar = Object.defineProperties;
2
+ var hr = Object.getOwnPropertyDescriptors;
3
+ var qe = Object.getOwnPropertySymbols;
4
+ var ur = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable;
5
+ var xe = (e, t, r) => t in e ? or(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- ar.call(t, r) && Ee(e, r, t[r]);
8
- if (Qe)
9
- for (var r of Qe(t))
10
- ur.call(t, r) && Ee(e, r, t[r]);
7
+ ur.call(t, r) && xe(e, r, t[r]);
8
+ if (qe)
9
+ for (var r of qe(t))
10
+ lr.call(t, r) && xe(e, r, t[r]);
11
11
  return e;
12
- }, qe = (e, t) => sr(e, or(t));
13
- var B = (e, t, r) => Ee(e, typeof t != "symbol" ? t + "" : t, r);
14
- var Ye = (e, t, r) => new Promise((n, i) => {
12
+ }, Ke = (e, t) => ar(e, hr(t));
13
+ var B = (e, t, r) => (xe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var et = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (l) => {
16
16
  try {
17
17
  o(r.next(l));
18
- } catch (u) {
19
- i(u);
18
+ } catch (h) {
19
+ i(h);
20
20
  }
21
21
  }, a = (l) => {
22
22
  try {
23
23
  o(r.throw(l));
24
- } catch (u) {
25
- i(u);
24
+ } catch (h) {
25
+ i(h);
26
26
  }
27
27
  }, o = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, a);
28
28
  o((r = r.apply(e, t)).next());
29
29
  });
30
30
  function T() {
31
31
  }
32
- function hr(e, t) {
33
- for (const r in t) e[r] = t[r];
32
+ function fr(e, t) {
33
+ for (const r in t)
34
+ e[r] = t[r];
34
35
  return (
35
36
  /** @type {T & S} */
36
37
  e
37
38
  );
38
39
  }
39
- function Ht(e) {
40
+ function Tt(e) {
40
41
  return e();
41
42
  }
42
- function Ke() {
43
+ function tt() {
43
44
  return /* @__PURE__ */ Object.create(null);
44
45
  }
45
46
  function te(e) {
46
- e.forEach(Ht);
47
+ e.forEach(Tt);
47
48
  }
48
49
  function Ve(e) {
49
50
  return typeof e == "function";
50
51
  }
51
- function Bt(e, t) {
52
+ function wt(e, t) {
52
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
53
54
  }
54
- function lr(e) {
55
+ function cr(e) {
55
56
  return Object.keys(e).length === 0;
56
57
  }
57
- function Tt(e, ...t) {
58
+ function St(e, ...t) {
58
59
  if (e == null) {
59
60
  for (const n of t)
60
61
  n(void 0);
@@ -63,17 +64,17 @@ function Tt(e, ...t) {
63
64
  const r = e.subscribe(...t);
64
65
  return r.unsubscribe ? () => r.unsubscribe() : r;
65
66
  }
66
- function fr(e, t, r) {
67
- e.$$.on_destroy.push(Tt(t, r));
67
+ function mr(e, t, r) {
68
+ e.$$.on_destroy.push(St(t, r));
68
69
  }
69
- function xe(e, t, r, n) {
70
+ function Ee(e, t, r, n) {
70
71
  if (e) {
71
- const i = wt(e, t, r, n);
72
+ const i = At(e, t, r, n);
72
73
  return e[0](i);
73
74
  }
74
75
  }
75
- function wt(e, t, r, n) {
76
- return e[1] && n ? hr(r.ctx.slice(), e[1](n(t))) : r.ctx;
76
+ function At(e, t, r, n) {
77
+ return e[1] && n ? fr(r.ctx.slice(), e[1](n(t))) : r.ctx;
77
78
  }
78
79
  function ve(e, t, r, n) {
79
80
  if (e[2] && n) {
@@ -92,7 +93,7 @@ function ve(e, t, r, n) {
92
93
  }
93
94
  function He(e, t, r, n, i, s) {
94
95
  if (i) {
95
- const a = wt(t, r, n, s);
96
+ const a = At(t, r, n, s);
96
97
  e.p(a, i);
97
98
  }
98
99
  }
@@ -108,15 +109,16 @@ function Be(e) {
108
109
  function ce(e, t) {
109
110
  e.appendChild(t);
110
111
  }
111
- function cr(e, t, r) {
112
- const n = mr(e);
112
+ function dr(e, t, r) {
113
+ const n = pr(e);
113
114
  if (!n.getElementById(t)) {
114
- const i = z("style");
115
- i.id = t, i.textContent = r, pr(n, i);
115
+ const i = W("style");
116
+ i.id = t, i.textContent = r, br(n, i);
116
117
  }
117
118
  }
118
- function mr(e) {
119
- if (!e) return document;
119
+ function pr(e) {
120
+ if (!e)
121
+ return document;
120
122
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
121
123
  return t && /** @type {ShadowRoot} */
122
124
  t.host ? (
@@ -124,7 +126,7 @@ function mr(e) {
124
126
  t
125
127
  ) : e.ownerDocument;
126
128
  }
127
- function pr(e, t) {
129
+ function br(e, t) {
128
130
  return ce(
129
131
  /** @type {Document} */
130
132
  e.head || e,
@@ -137,32 +139,32 @@ function M(e, t, r) {
137
139
  function P(e) {
138
140
  e.parentNode && e.parentNode.removeChild(e);
139
141
  }
140
- function z(e) {
142
+ function W(e) {
141
143
  return document.createElement(e);
142
144
  }
143
145
  function Xe(e) {
144
146
  return document.createTextNode(e);
145
147
  }
146
- function et() {
148
+ function rt() {
147
149
  return Xe(" ");
148
150
  }
149
- function St() {
151
+ function Ct() {
150
152
  return Xe("");
151
153
  }
152
- function At(e, t, r, n) {
154
+ function Ot(e, t, r, n) {
153
155
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
154
156
  }
155
157
  function re(e, t, r) {
156
158
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
157
159
  }
158
- function dr(e) {
160
+ function gr(e) {
159
161
  return Array.from(e.childNodes);
160
162
  }
161
- function br(e, t) {
163
+ function _r(e, t) {
162
164
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
163
165
  t);
164
166
  }
165
- function gr(e) {
167
+ function yr(e) {
166
168
  const t = {};
167
169
  return e.childNodes.forEach(
168
170
  /** @param {Element} node */
@@ -171,16 +173,16 @@ function gr(e) {
171
173
  }
172
174
  ), t;
173
175
  }
174
- let We;
176
+ let ze;
175
177
  function Y(e) {
176
- We = e;
178
+ ze = e;
177
179
  }
178
180
  const F = [], Ne = [];
179
181
  let j = [];
180
- const tt = [], _r = /* @__PURE__ */ Promise.resolve();
182
+ const nt = [], xr = /* @__PURE__ */ Promise.resolve();
181
183
  let Ie = !1;
182
- function yr() {
183
- Ie || (Ie = !0, _r.then(A));
184
+ function Er() {
185
+ Ie || (Ie = !0, xr.then(A));
184
186
  }
185
187
  function Me(e) {
186
188
  j.push(e);
@@ -190,76 +192,78 @@ let D = 0;
190
192
  function A() {
191
193
  if (D !== 0)
192
194
  return;
193
- const e = We;
195
+ const e = ze;
194
196
  do {
195
197
  try {
196
198
  for (; D < F.length; ) {
197
199
  const t = F[D];
198
- D++, Y(t), Er(t.$$);
200
+ D++, Y(t), vr(t.$$);
199
201
  }
200
202
  } catch (t) {
201
203
  throw F.length = 0, D = 0, t;
202
204
  }
203
- for (Y(null), F.length = 0, D = 0; Ne.length; ) Ne.pop()();
205
+ for (Y(null), F.length = 0, D = 0; Ne.length; )
206
+ Ne.pop()();
204
207
  for (let t = 0; t < j.length; t += 1) {
205
208
  const r = j[t];
206
209
  Te.has(r) || (Te.add(r), r());
207
210
  }
208
211
  j.length = 0;
209
212
  } while (F.length);
210
- for (; tt.length; )
211
- tt.pop()();
213
+ for (; nt.length; )
214
+ nt.pop()();
212
215
  Ie = !1, Te.clear(), Y(e);
213
216
  }
214
- function Er(e) {
217
+ function vr(e) {
215
218
  if (e.fragment !== null) {
216
219
  e.update(), te(e.before_update);
217
220
  const t = e.dirty;
218
221
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
219
222
  }
220
223
  }
221
- function xr(e) {
224
+ function Hr(e) {
222
225
  const t = [], r = [];
223
226
  j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
224
227
  }
225
228
  const ae = /* @__PURE__ */ new Set();
226
- let vr;
227
- function ue(e, t) {
229
+ let Br;
230
+ function he(e, t) {
228
231
  e && e.i && (ae.delete(e), e.i(t));
229
232
  }
230
233
  function we(e, t, r, n) {
231
234
  if (e && e.o) {
232
- if (ae.has(e)) return;
233
- ae.add(e), vr.c.push(() => {
235
+ if (ae.has(e))
236
+ return;
237
+ ae.add(e), Br.c.push(() => {
234
238
  ae.delete(e);
235
239
  }), e.o(t);
236
240
  }
237
241
  }
238
- function Hr(e, t, r) {
242
+ function Tr(e, t, r) {
239
243
  const { fragment: n, after_update: i } = e.$$;
240
244
  n && n.m(t, r), Me(() => {
241
- const s = e.$$.on_mount.map(Ht).filter(Ve);
245
+ const s = e.$$.on_mount.map(Tt).filter(Ve);
242
246
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
243
247
  }), i.forEach(Me);
244
248
  }
245
- function Br(e, t) {
249
+ function wr(e, t) {
246
250
  const r = e.$$;
247
- r.fragment !== null && (xr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
251
+ r.fragment !== null && (Hr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
248
252
  }
249
- function Tr(e, t) {
250
- e.$$.dirty[0] === -1 && (F.push(e), yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
253
+ function Sr(e, t) {
254
+ e.$$.dirty[0] === -1 && (F.push(e), Er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
251
255
  }
252
- function wr(e, t, r, n, i, s, a = null, o = [-1]) {
253
- const l = We;
256
+ function Ar(e, t, r, n, i, s, a = null, o = [-1]) {
257
+ const l = ze;
254
258
  Y(e);
255
- const u = e.$$ = {
259
+ const h = e.$$ = {
256
260
  fragment: null,
257
261
  ctx: [],
258
262
  // state
259
263
  props: s,
260
264
  update: T,
261
265
  not_equal: i,
262
- bound: Ke(),
266
+ bound: tt(),
263
267
  // lifecycle
264
268
  on_mount: [],
265
269
  on_destroy: [],
@@ -268,28 +272,28 @@ function wr(e, t, r, n, i, s, a = null, o = [-1]) {
268
272
  after_update: [],
269
273
  context: new Map(t.context || (l ? l.$$.context : [])),
270
274
  // everything else
271
- callbacks: Ke(),
275
+ callbacks: tt(),
272
276
  dirty: o,
273
277
  skip_bound: !1,
274
278
  root: t.target || l.$$.root
275
279
  };
276
- a && a(u.root);
277
- let h = !1;
278
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
279
- const m = p.length ? p[0] : c;
280
- return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && Tr(e, f)), c;
281
- }) : [], u.update(), h = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
280
+ a && a(h.root);
281
+ let u = !1;
282
+ if (h.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
283
+ const m = d.length ? d[0] : c;
284
+ return h.ctx && i(h.ctx[f], h.ctx[f] = m) && (!h.skip_bound && h.bound[f] && h.bound[f](m), u && Sr(e, f)), c;
285
+ }) : [], h.update(), u = !0, te(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
282
286
  if (t.hydrate) {
283
- const f = dr(t.target);
284
- u.fragment && u.fragment.l(f), f.forEach(P);
287
+ const f = gr(t.target);
288
+ h.fragment && h.fragment.l(f), f.forEach(P);
285
289
  } else
286
- u.fragment && u.fragment.c();
287
- t.intro && ue(e.$$.fragment), Hr(e, t.target, t.anchor), A();
290
+ h.fragment && h.fragment.c();
291
+ t.intro && he(e.$$.fragment), Tr(e, t.target, t.anchor), A();
288
292
  }
289
293
  Y(l);
290
294
  }
291
- let Ct;
292
- typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
295
+ let Pt;
296
+ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
293
297
  constructor(t, r, n) {
294
298
  super();
295
299
  /** The Svelte component constructor */
@@ -326,42 +330,42 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
326
330
  }
327
331
  }
328
332
  connectedCallback() {
329
- return Ye(this, null, function* () {
333
+ return et(this, null, function* () {
330
334
  if (this.$$cn = !0, !this.$$c) {
331
335
  let t = function(s) {
332
336
  return () => {
333
337
  let a;
334
338
  return {
335
339
  c: function() {
336
- a = z("slot"), s !== "default" && re(a, "name", s);
340
+ a = W("slot"), s !== "default" && re(a, "name", s);
337
341
  },
338
342
  /**
339
343
  * @param {HTMLElement} target
340
344
  * @param {HTMLElement} [anchor]
341
345
  */
342
- m: function(u, h) {
343
- M(u, a, h);
346
+ m: function(h, u) {
347
+ M(h, a, u);
344
348
  },
345
- d: function(u) {
346
- u && P(a);
349
+ d: function(h) {
350
+ h && P(a);
347
351
  }
348
352
  };
349
353
  };
350
354
  };
351
355
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
352
356
  return;
353
- const r = {}, n = gr(this);
357
+ const r = {}, n = yr(this);
354
358
  for (const s of this.$$s)
355
359
  s in n && (r[s] = [t(s)]);
356
360
  for (const s of this.attributes) {
357
361
  const a = this.$$g_p(s.name);
358
- a in this.$$d || (this.$$d[a] = he(a, s.value, this.$$p_d, "toProp"));
362
+ a in this.$$d || (this.$$d[a] = ue(a, s.value, this.$$p_d, "toProp"));
359
363
  }
360
364
  for (const s in this.$$p_d)
361
365
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
362
366
  this.$$c = new this.$$ctor({
363
367
  target: this.shadowRoot || this,
364
- props: qe(Je({}, this.$$d), {
368
+ props: Ke(Ye({}, this.$$d), {
365
369
  $$slots: r,
366
370
  $$scope: {
367
371
  ctx: []
@@ -372,7 +376,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
372
376
  this.$$r = !0;
373
377
  for (const s in this.$$p_d)
374
378
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
375
- const a = he(
379
+ const a = ue(
376
380
  s,
377
381
  this.$$d[s],
378
382
  this.$$p_d,
@@ -396,7 +400,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
396
400
  // and setting attributes through setAttribute etc, this is helpful
397
401
  attributeChangedCallback(t, r, n) {
398
402
  var i;
399
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = he(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
403
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = ue(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
400
404
  }
401
405
  disconnectedCallback() {
402
406
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -409,7 +413,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
409
413
  ) || t;
410
414
  }
411
415
  });
412
- function he(e, t, r, n) {
416
+ function ue(e, t, r, n) {
413
417
  var s;
414
418
  const i = (s = r[e]) == null ? void 0 : s.type;
415
419
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -439,8 +443,8 @@ function he(e, t, r, n) {
439
443
  return t;
440
444
  }
441
445
  }
442
- function Sr(e, t, r, n, i, s) {
443
- let a = class extends Ct {
446
+ function Cr(e, t, r, n, i, s) {
447
+ let a = class extends Pt {
444
448
  constructor() {
445
449
  super(e, r, i), this.$$p_d = t;
446
450
  }
@@ -456,8 +460,8 @@ function Sr(e, t, r, n, i, s) {
456
460
  return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
457
461
  },
458
462
  set(l) {
459
- var u;
460
- l = he(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
463
+ var h;
464
+ l = ue(o, l, t), this.$$d[o] = l, (h = this.$$c) == null || h.$set({ [o]: l });
461
465
  }
462
466
  });
463
467
  }), n.forEach((o) => {
@@ -470,7 +474,7 @@ function Sr(e, t, r, n, i, s) {
470
474
  }), e.element = /** @type {any} */
471
475
  a, a;
472
476
  }
473
- class Ar {
477
+ class Or {
474
478
  constructor() {
475
479
  /**
476
480
  * ### PRIVATE API
@@ -491,7 +495,7 @@ class Ar {
491
495
  }
492
496
  /** @returns {void} */
493
497
  $destroy() {
494
- Br(this, 1), this.$destroy = T;
498
+ wr(this, 1), this.$destroy = T;
495
499
  }
496
500
  /**
497
501
  * @template {Extract<keyof Events, string>} K
@@ -513,13 +517,13 @@ class Ar {
513
517
  * @returns {void}
514
518
  */
515
519
  $set(t) {
516
- this.$$set && !lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
520
+ this.$$set && !cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
517
521
  }
518
522
  }
519
- const Cr = "4";
520
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cr);
523
+ const Pr = "4";
524
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pr);
521
525
  const G = [];
522
- function Or(e, t) {
526
+ function Lr(e, t) {
523
527
  return {
524
528
  subscribe: be(e, t).subscribe
525
529
  };
@@ -528,13 +532,13 @@ function be(e, t = T) {
528
532
  let r;
529
533
  const n = /* @__PURE__ */ new Set();
530
534
  function i(o) {
531
- if (Bt(e, o) && (e = o, r)) {
535
+ if (wt(e, o) && (e = o, r)) {
532
536
  const l = !G.length;
533
- for (const u of n)
534
- u[1](), G.push(u, e);
537
+ for (const h of n)
538
+ h[1](), G.push(h, e);
535
539
  if (l) {
536
- for (let u = 0; u < G.length; u += 2)
537
- G[u][0](G[u + 1]);
540
+ for (let h = 0; h < G.length; h += 2)
541
+ G[h][0](G[h + 1]);
538
542
  G.length = 0;
539
543
  }
540
544
  }
@@ -543,9 +547,9 @@ function be(e, t = T) {
543
547
  i(o(e));
544
548
  }
545
549
  function a(o, l = T) {
546
- const u = [o, l];
547
- return n.add(u), n.size === 1 && (r = t(i, s) || T), o(e), () => {
548
- n.delete(u), n.size === 0 && r && (r(), r = null);
550
+ const h = [o, l];
551
+ return n.add(h), n.size === 1 && (r = t(i, s) || T), o(e), () => {
552
+ n.delete(h), n.size === 0 && r && (r(), r = null);
549
553
  };
550
554
  }
551
555
  return { set: i, update: s, subscribe: a };
@@ -555,96 +559,96 @@ function Z(e, t, r) {
555
559
  if (!i.every(Boolean))
556
560
  throw new Error("derived() expects stores as input, got a falsy value");
557
561
  const s = t.length < 2;
558
- return Or(r, (a, o) => {
562
+ return Lr(r, (a, o) => {
559
563
  let l = !1;
560
- const u = [];
561
- let h = 0, f = T;
564
+ const h = [];
565
+ let u = 0, f = T;
562
566
  const c = () => {
563
- if (h)
567
+ if (u)
564
568
  return;
565
569
  f();
566
- const m = t(n ? u[0] : u, a, o);
570
+ const m = t(n ? h[0] : h, a, o);
567
571
  s ? a(m) : f = Ve(m) ? m : T;
568
- }, p = i.map(
569
- (m, g) => Tt(
572
+ }, d = i.map(
573
+ (m, g) => St(
570
574
  m,
571
575
  (v) => {
572
- u[g] = v, h &= ~(1 << g), l && c();
576
+ h[g] = v, u &= ~(1 << g), l && c();
573
577
  },
574
578
  () => {
575
- h |= 1 << g;
579
+ u |= 1 << g;
576
580
  }
577
581
  )
578
582
  );
579
583
  return l = !0, c(), function() {
580
- te(p), f(), l = !1;
584
+ te(d), f(), l = !1;
581
585
  };
582
586
  });
583
587
  }
584
- function Pr(e) {
588
+ function Nr(e) {
585
589
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
586
590
  }
587
- var Lr = function(t) {
588
- return Nr(t) && !Ir(t);
591
+ var Ir = function(t) {
592
+ return Mr(t) && !$r(t);
589
593
  };
590
- function Nr(e) {
594
+ function Mr(e) {
591
595
  return !!e && typeof e == "object";
592
596
  }
593
- function Ir(e) {
597
+ function $r(e) {
594
598
  var t = Object.prototype.toString.call(e);
595
- return t === "[object RegExp]" || t === "[object Date]" || Rr(e);
599
+ return t === "[object RegExp]" || t === "[object Date]" || Dr(e);
596
600
  }
597
- var Mr = typeof Symbol == "function" && Symbol.for, $r = Mr ? Symbol.for("react.element") : 60103;
598
- function Rr(e) {
599
- return e.$$typeof === $r;
601
+ var Rr = typeof Symbol == "function" && Symbol.for, Ur = Rr ? Symbol.for("react.element") : 60103;
602
+ function Dr(e) {
603
+ return e.$$typeof === Ur;
600
604
  }
601
- function Ur(e) {
605
+ function Gr(e) {
602
606
  return Array.isArray(e) ? [] : {};
603
607
  }
604
608
  function K(e, t) {
605
- return t.clone !== !1 && t.isMergeableObject(e) ? k(Ur(e), e, t) : e;
609
+ return t.clone !== !1 && t.isMergeableObject(e) ? k(Gr(e), e, t) : e;
606
610
  }
607
- function Dr(e, t, r) {
611
+ function Fr(e, t, r) {
608
612
  return e.concat(t).map(function(n) {
609
613
  return K(n, r);
610
614
  });
611
615
  }
612
- function Gr(e, t) {
616
+ function jr(e, t) {
613
617
  if (!t.customMerge)
614
618
  return k;
615
619
  var r = t.customMerge(e);
616
620
  return typeof r == "function" ? r : k;
617
621
  }
618
- function Fr(e) {
622
+ function kr(e) {
619
623
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
620
624
  return Object.propertyIsEnumerable.call(e, t);
621
625
  }) : [];
622
626
  }
623
- function rt(e) {
624
- return Object.keys(e).concat(Fr(e));
627
+ function it(e) {
628
+ return Object.keys(e).concat(kr(e));
625
629
  }
626
- function Ot(e, t) {
630
+ function Lt(e, t) {
627
631
  try {
628
632
  return t in e;
629
633
  } catch (r) {
630
634
  return !1;
631
635
  }
632
636
  }
633
- function jr(e, t) {
634
- return Ot(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
637
+ function Vr(e, t) {
638
+ return Lt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
635
639
  }
636
- function kr(e, t, r) {
640
+ function Xr(e, t, r) {
637
641
  var n = {};
638
- return r.isMergeableObject(e) && rt(e).forEach(function(i) {
642
+ return r.isMergeableObject(e) && it(e).forEach(function(i) {
639
643
  n[i] = K(e[i], r);
640
- }), rt(t).forEach(function(i) {
641
- jr(e, i) || (Ot(e, i) && r.isMergeableObject(t[i]) ? n[i] = Gr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
644
+ }), it(t).forEach(function(i) {
645
+ Vr(e, i) || (Lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = jr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
642
646
  }), n;
643
647
  }
644
648
  function k(e, t, r) {
645
- r = r || {}, r.arrayMerge = r.arrayMerge || Dr, r.isMergeableObject = r.isMergeableObject || Lr, r.cloneUnlessOtherwiseSpecified = K;
649
+ r = r || {}, r.arrayMerge = r.arrayMerge || Fr, r.isMergeableObject = r.isMergeableObject || Ir, r.cloneUnlessOtherwiseSpecified = K;
646
650
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
647
- return s ? n ? r.arrayMerge(e, t, r) : kr(e, t, r) : K(t, r);
651
+ return s ? n ? r.arrayMerge(e, t, r) : Xr(e, t, r) : K(t, r);
648
652
  }
649
653
  k.all = function(t, r) {
650
654
  if (!Array.isArray(t))
@@ -653,13 +657,28 @@ k.all = function(t, r) {
653
657
  return k(n, i, r);
654
658
  }, {});
655
659
  };
656
- var Vr = k, Xr = Vr;
657
- const Wr = /* @__PURE__ */ Pr(Xr);
660
+ var zr = k, Wr = zr;
661
+ const Zr = /* @__PURE__ */ Nr(Wr);
662
+ /*! *****************************************************************************
663
+ Copyright (c) Microsoft Corporation.
664
+
665
+ Permission to use, copy, modify, and/or distribute this software for any
666
+ purpose with or without fee is hereby granted.
667
+
668
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
669
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
670
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
671
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
672
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
673
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
674
+ PERFORMANCE OF THIS SOFTWARE.
675
+ ***************************************************************************** */
658
676
  var $e = function(e, t) {
659
677
  return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
660
678
  r.__proto__ = n;
661
679
  } || function(r, n) {
662
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
680
+ for (var i in n)
681
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
663
682
  }, $e(e, t);
664
683
  };
665
684
  function ge(e, t) {
@@ -675,121 +694,126 @@ var y = function() {
675
694
  return y = Object.assign || function(t) {
676
695
  for (var r, n = 1, i = arguments.length; n < i; n++) {
677
696
  r = arguments[n];
678
- for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
697
+ for (var s in r)
698
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
679
699
  }
680
700
  return t;
681
701
  }, y.apply(this, arguments);
682
702
  };
683
- function zr(e, t) {
703
+ function Qr(e, t) {
684
704
  var r = {};
685
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
705
+ for (var n in e)
706
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
686
707
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
687
708
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
688
709
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
689
710
  return r;
690
711
  }
691
712
  function Se(e, t, r) {
692
- if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
693
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
694
- return e.concat(s || Array.prototype.slice.call(t));
713
+ if (arguments.length === 2)
714
+ for (var n = 0, i = t.length, s; n < i; n++)
715
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
716
+ return e.concat(s || t);
695
717
  }
696
718
  function Ae(e, t) {
697
- var r = t && t.cache ? t.cache : en, n = t && t.serializer ? t.serializer : Yr, i = t && t.strategy ? t.strategy : Jr;
719
+ var r = t && t.cache ? t.cache : tn, n = t && t.serializer ? t.serializer : en, i = t && t.strategy ? t.strategy : qr;
698
720
  return i(e, {
699
721
  cache: r,
700
722
  serializer: n
701
723
  });
702
724
  }
703
- function Zr(e) {
725
+ function Jr(e) {
704
726
  return e == null || typeof e == "number" || typeof e == "boolean";
705
727
  }
706
- function Qr(e, t, r, n) {
707
- var i = Zr(n) ? n : r(n), s = t.get(i);
728
+ function Nt(e, t, r, n) {
729
+ var i = Jr(n) ? n : r(n), s = t.get(i);
708
730
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
709
731
  }
710
- function Pt(e, t, r) {
732
+ function It(e, t, r) {
711
733
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
712
734
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
713
735
  }
714
- function Lt(e, t, r, n, i) {
736
+ function We(e, t, r, n, i) {
715
737
  return r.bind(t, e, n, i);
716
738
  }
717
- function Jr(e, t) {
718
- var r = e.length === 1 ? Qr : Pt;
719
- return Lt(e, this, r, t.cache.create(), t.serializer);
720
- }
721
739
  function qr(e, t) {
722
- return Lt(e, this, Pt, t.cache.create(), t.serializer);
740
+ var r = e.length === 1 ? Nt : It;
741
+ return We(e, this, r, t.cache.create(), t.serializer);
742
+ }
743
+ function Yr(e, t) {
744
+ return We(e, this, It, t.cache.create(), t.serializer);
745
+ }
746
+ function Kr(e, t) {
747
+ return We(e, this, Nt, t.cache.create(), t.serializer);
723
748
  }
724
- var Yr = function() {
749
+ var en = function() {
725
750
  return JSON.stringify(arguments);
726
- }, Kr = (
727
- /** @class */
728
- function() {
729
- function e() {
730
- this.cache = /* @__PURE__ */ Object.create(null);
731
- }
732
- return e.prototype.get = function(t) {
733
- return this.cache[t];
734
- }, e.prototype.set = function(t, r) {
735
- this.cache[t] = r;
736
- }, e;
737
- }()
738
- ), en = {
751
+ };
752
+ function Ze() {
753
+ this.cache = /* @__PURE__ */ Object.create(null);
754
+ }
755
+ Ze.prototype.get = function(e) {
756
+ return this.cache[e];
757
+ };
758
+ Ze.prototype.set = function(e, t) {
759
+ this.cache[e] = t;
760
+ };
761
+ var tn = {
739
762
  create: function() {
740
- return new Kr();
763
+ return new Ze();
741
764
  }
742
765
  }, Ce = {
743
- variadic: qr
744
- }, d;
766
+ variadic: Yr,
767
+ monadic: Kr
768
+ }, p;
745
769
  (function(e) {
746
770
  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";
747
- })(d || (d = {}));
748
- var E;
771
+ })(p || (p = {}));
772
+ var x;
749
773
  (function(e) {
750
774
  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";
751
- })(E || (E = {}));
775
+ })(x || (x = {}));
752
776
  var V;
753
777
  (function(e) {
754
778
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
755
779
  })(V || (V = {}));
756
- function nt(e) {
757
- return e.type === E.literal;
758
- }
759
- function tn(e) {
760
- return e.type === E.argument;
761
- }
762
- function Nt(e) {
763
- return e.type === E.number;
780
+ function st(e) {
781
+ return e.type === x.literal;
764
782
  }
765
- function It(e) {
766
- return e.type === E.date;
783
+ function rn(e) {
784
+ return e.type === x.argument;
767
785
  }
768
786
  function Mt(e) {
769
- return e.type === E.time;
787
+ return e.type === x.number;
770
788
  }
771
789
  function $t(e) {
772
- return e.type === E.select;
790
+ return e.type === x.date;
773
791
  }
774
792
  function Rt(e) {
775
- return e.type === E.plural;
776
- }
777
- function rn(e) {
778
- return e.type === E.pound;
793
+ return e.type === x.time;
779
794
  }
780
795
  function Ut(e) {
781
- return e.type === E.tag;
796
+ return e.type === x.select;
782
797
  }
783
798
  function Dt(e) {
799
+ return e.type === x.plural;
800
+ }
801
+ function nn(e) {
802
+ return e.type === x.pound;
803
+ }
804
+ function Gt(e) {
805
+ return e.type === x.tag;
806
+ }
807
+ function Ft(e) {
784
808
  return !!(e && typeof e == "object" && e.type === V.number);
785
809
  }
786
810
  function Re(e) {
787
811
  return !!(e && typeof e == "object" && e.type === V.dateTime);
788
812
  }
789
- var Gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, nn = /(?:[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;
790
- function sn(e) {
813
+ var jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, sn = /(?:[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;
814
+ function on(e) {
791
815
  var t = {};
792
- return e.replace(nn, function(r) {
816
+ return e.replace(sn, function(r) {
793
817
  var n = r.length;
794
818
  switch (r[0]) {
795
819
  case "G":
@@ -878,18 +902,18 @@ function sn(e) {
878
902
  return "";
879
903
  }), t;
880
904
  }
881
- var on = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
882
- function an(e) {
905
+ var an = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
906
+ function hn(e) {
883
907
  if (e.length === 0)
884
908
  throw new Error("Number skeleton cannot be empty");
885
- for (var t = e.split(on).filter(function(c) {
909
+ for (var t = e.split(an).filter(function(c) {
886
910
  return c.length > 0;
887
911
  }), r = [], n = 0, i = t; n < i.length; n++) {
888
912
  var s = i[n], a = s.split("/");
889
913
  if (a.length === 0)
890
914
  throw new Error("Invalid number skeleton");
891
- for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
892
- var f = h[u];
915
+ for (var o = a[0], l = a.slice(1), h = 0, u = l; h < u.length; h++) {
916
+ var f = u[h];
893
917
  if (f.length === 0)
894
918
  throw new Error("Invalid number skeleton");
895
919
  }
@@ -900,14 +924,14 @@ function an(e) {
900
924
  function un(e) {
901
925
  return e.replace(/^(.*?)-/, "");
902
926
  }
903
- var it = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ft = /^(@+)?(\+|#+)?[rs]?$/g, hn = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
904
- function st(e) {
927
+ var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kt = /^(@+)?(\+|#+)?[rs]?$/g, ln = /(\*)(0+)|(#+)(0+)|(0+)/g, Vt = /^(0+)$/;
928
+ function at(e) {
905
929
  var t = {};
906
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ft, function(r, n, i) {
930
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kt, function(r, n, i) {
907
931
  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)), "";
908
932
  }), t;
909
933
  }
910
- function kt(e) {
934
+ function Xt(e) {
911
935
  switch (e) {
912
936
  case "sign-auto":
913
937
  return {
@@ -947,7 +971,7 @@ function kt(e) {
947
971
  };
948
972
  }
949
973
  }
950
- function ln(e) {
974
+ function fn(e) {
951
975
  var t;
952
976
  if (e[0] === "E" && e[1] === "E" ? (t = {
953
977
  notation: "engineering"
@@ -955,17 +979,17 @@ function ln(e) {
955
979
  notation: "scientific"
956
980
  }, e = e.slice(1)), t) {
957
981
  var r = e.slice(0, 2);
958
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jt.test(e))
982
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Vt.test(e))
959
983
  throw new Error("Malformed concise eng/scientific notation");
960
984
  t.minimumIntegerDigits = e.length;
961
985
  }
962
986
  return t;
963
987
  }
964
- function ot(e) {
965
- var t = {}, r = kt(e);
988
+ function ht(e) {
989
+ var t = {}, r = Xt(e);
966
990
  return r || t;
967
991
  }
968
- function fn(e) {
992
+ function cn(e) {
969
993
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
970
994
  var i = n[r];
971
995
  switch (i.stem) {
@@ -1000,13 +1024,13 @@ function fn(e) {
1000
1024
  t.notation = "compact", t.compactDisplay = "long";
1001
1025
  continue;
1002
1026
  case "scientific":
1003
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1004
- return y(y({}, l), ot(u));
1027
+ t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, h) {
1028
+ return y(y({}, l), ht(h));
1005
1029
  }, {}));
1006
1030
  continue;
1007
1031
  case "engineering":
1008
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1009
- return y(y({}, l), ot(u));
1032
+ t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, h) {
1033
+ return y(y({}, l), ht(h));
1010
1034
  }, {}));
1011
1035
  continue;
1012
1036
  case "notation-simple":
@@ -1051,40 +1075,40 @@ function fn(e) {
1051
1075
  case "integer-width":
1052
1076
  if (i.options.length > 1)
1053
1077
  throw new RangeError("integer-width stems only accept a single optional option");
1054
- i.options[0].replace(hn, function(l, u, h, f, c, p) {
1055
- if (u)
1056
- t.minimumIntegerDigits = h.length;
1078
+ i.options[0].replace(ln, function(l, h, u, f, c, d) {
1079
+ if (h)
1080
+ t.minimumIntegerDigits = u.length;
1057
1081
  else {
1058
1082
  if (f && c)
1059
1083
  throw new Error("We currently do not support maximum integer digits");
1060
- if (p)
1084
+ if (d)
1061
1085
  throw new Error("We currently do not support exact integer digits");
1062
1086
  }
1063
1087
  return "";
1064
1088
  });
1065
1089
  continue;
1066
1090
  }
1067
- if (jt.test(i.stem)) {
1091
+ if (Vt.test(i.stem)) {
1068
1092
  t.minimumIntegerDigits = i.stem.length;
1069
1093
  continue;
1070
1094
  }
1071
- if (it.test(i.stem)) {
1095
+ if (ot.test(i.stem)) {
1072
1096
  if (i.options.length > 1)
1073
1097
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1074
- i.stem.replace(it, function(l, u, h, f, c, p) {
1075
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1098
+ i.stem.replace(ot, function(l, h, u, f, c, d) {
1099
+ return u === "*" ? t.minimumFractionDigits = h.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1076
1100
  });
1077
1101
  var s = i.options[0];
1078
- s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), st(s)));
1102
+ s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), at(s)));
1079
1103
  continue;
1080
1104
  }
1081
- if (Ft.test(i.stem)) {
1082
- t = y(y({}, t), st(i.stem));
1105
+ if (kt.test(i.stem)) {
1106
+ t = y(y({}, t), at(i.stem));
1083
1107
  continue;
1084
1108
  }
1085
- var a = kt(i.stem);
1109
+ var a = Xt(i.stem);
1086
1110
  a && (t = y(y({}, t), a));
1087
- var o = ln(i.stem);
1111
+ var o = fn(i.stem);
1088
1112
  o && (t = y(y({}, t), o));
1089
1113
  }
1090
1114
  return t;
@@ -2504,22 +2528,23 @@ var oe = {
2504
2528
  "h"
2505
2529
  ]
2506
2530
  };
2507
- function cn(e, t) {
2531
+ function mn(e, t) {
2508
2532
  for (var r = "", n = 0; n < e.length; n++) {
2509
2533
  var i = e.charAt(n);
2510
2534
  if (i === "j") {
2511
2535
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2512
2536
  s++, n++;
2513
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = mn(t);
2514
- for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2537
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", h = dn(t);
2538
+ for ((h == "H" || h == "k") && (o = 0); o-- > 0; )
2515
2539
  r += l;
2516
2540
  for (; a-- > 0; )
2517
- r = u + r;
2518
- } else i === "J" ? r += "H" : r += i;
2541
+ r = h + r;
2542
+ } else
2543
+ i === "J" ? r += "H" : r += i;
2519
2544
  }
2520
2545
  return r;
2521
2546
  }
2522
- function mn(e) {
2547
+ function dn(e) {
2523
2548
  var t = e.hourCycle;
2524
2549
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2525
2550
  e.hourCycles && // @ts-ignore
@@ -2541,20 +2566,20 @@ function mn(e) {
2541
2566
  var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
2542
2567
  return i[0];
2543
2568
  }
2544
- var Oe, pn = new RegExp("^".concat(Gt.source, "*")), dn = new RegExp("".concat(Gt.source, "*$"));
2569
+ var Oe, pn = new RegExp("^".concat(jt.source, "*")), bn = new RegExp("".concat(jt.source, "*$"));
2545
2570
  function b(e, t) {
2546
2571
  return { start: e, end: t };
2547
2572
  }
2548
- var bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), gn = !!String.fromCodePoint, _n = !!Object.fromEntries, yn = !!String.prototype.codePointAt, En = !!String.prototype.trimStart, xn = !!String.prototype.trimEnd, vn = !!Number.isSafeInteger, Hn = vn ? Number.isSafeInteger : function(e) {
2573
+ var gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), _n = !!String.fromCodePoint, yn = !!Object.fromEntries, xn = !!String.prototype.codePointAt, En = !!String.prototype.trimStart, vn = !!String.prototype.trimEnd, Hn = !!Number.isSafeInteger, Bn = Hn ? Number.isSafeInteger : function(e) {
2549
2574
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2550
2575
  }, Ue = !0;
2551
2576
  try {
2552
- var Bn = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2553
- Ue = ((Oe = Bn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2577
+ var Tn = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2578
+ Ue = ((Oe = Tn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2554
2579
  } catch (e) {
2555
2580
  Ue = !1;
2556
2581
  }
2557
- var at = bn ? (
2582
+ var ut = gn ? (
2558
2583
  // Native
2559
2584
  function(t, r, n) {
2560
2585
  return t.startsWith(r, n);
@@ -2564,7 +2589,7 @@ var at = bn ? (
2564
2589
  function(t, r, n) {
2565
2590
  return t.slice(n, n + r.length) === r;
2566
2591
  }
2567
- ), De = gn ? String.fromCodePoint : (
2592
+ ), De = _n ? String.fromCodePoint : (
2568
2593
  // IE11
2569
2594
  function() {
2570
2595
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2576,9 +2601,9 @@ var at = bn ? (
2576
2601
  }
2577
2602
  return n;
2578
2603
  }
2579
- ), ut = (
2604
+ ), lt = (
2580
2605
  // native
2581
- _n ? Object.fromEntries : (
2606
+ yn ? Object.fromEntries : (
2582
2607
  // Ponyfill
2583
2608
  function(t) {
2584
2609
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2588,7 +2613,7 @@ var at = bn ? (
2588
2613
  return r;
2589
2614
  }
2590
2615
  )
2591
- ), Vt = yn ? (
2616
+ ), zt = xn ? (
2592
2617
  // Native
2593
2618
  function(t, r) {
2594
2619
  return t.codePointAt(r);
@@ -2602,7 +2627,7 @@ var at = bn ? (
2602
2627
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2603
2628
  }
2604
2629
  }
2605
- ), Tn = En ? (
2630
+ ), wn = En ? (
2606
2631
  // Native
2607
2632
  function(t) {
2608
2633
  return t.trimStart();
@@ -2612,7 +2637,7 @@ var at = bn ? (
2612
2637
  function(t) {
2613
2638
  return t.replace(pn, "");
2614
2639
  }
2615
- ), wn = xn ? (
2640
+ ), Sn = vn ? (
2616
2641
  // Native
2617
2642
  function(t) {
2618
2643
  return t.trimEnd();
@@ -2620,32 +2645,32 @@ var at = bn ? (
2620
2645
  ) : (
2621
2646
  // Ponyfill
2622
2647
  function(t) {
2623
- return t.replace(dn, "");
2648
+ return t.replace(bn, "");
2624
2649
  }
2625
2650
  );
2626
- function Xt(e, t) {
2651
+ function Wt(e, t) {
2627
2652
  return new RegExp(e, t);
2628
2653
  }
2629
2654
  var Ge;
2630
2655
  if (Ue) {
2631
- var ht = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2656
+ var ft = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2632
2657
  Ge = function(t, r) {
2633
2658
  var n;
2634
- ht.lastIndex = r;
2635
- var i = ht.exec(t);
2659
+ ft.lastIndex = r;
2660
+ var i = ft.exec(t);
2636
2661
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2637
2662
  };
2638
2663
  } else
2639
2664
  Ge = function(t, r) {
2640
2665
  for (var n = []; ; ) {
2641
- var i = Vt(t, r);
2642
- if (i === void 0 || Wt(i) || On(i))
2666
+ var i = zt(t, r);
2667
+ if (i === void 0 || Zt(i) || Pn(i))
2643
2668
  break;
2644
2669
  n.push(i), r += i >= 65536 ? 2 : 1;
2645
2670
  }
2646
2671
  return De.apply(void 0, n);
2647
2672
  };
2648
- var Sn = (
2673
+ var An = (
2649
2674
  /** @class */
2650
2675
  function() {
2651
2676
  function e(t, r) {
@@ -2669,13 +2694,13 @@ var Sn = (
2669
2694
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2670
2695
  var o = this.clonePosition();
2671
2696
  this.bump(), i.push({
2672
- type: E.pound,
2697
+ type: x.pound,
2673
2698
  location: b(o, this.clonePosition())
2674
2699
  });
2675
2700
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2676
2701
  if (n)
2677
2702
  break;
2678
- return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2703
+ return this.error(p.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2679
2704
  } else if (s === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
2680
2705
  var a = this.parseTag(t, r);
2681
2706
  if (a.err)
@@ -2697,7 +2722,7 @@ var Sn = (
2697
2722
  if (this.bumpSpace(), this.bumpIf("/>"))
2698
2723
  return {
2699
2724
  val: {
2700
- type: E.literal,
2725
+ type: x.literal,
2701
2726
  value: "<".concat(i, "/>"),
2702
2727
  location: b(n, this.clonePosition())
2703
2728
  },
@@ -2710,24 +2735,24 @@ var Sn = (
2710
2735
  var a = s.val, o = this.clonePosition();
2711
2736
  if (this.bumpIf("</")) {
2712
2737
  if (this.isEOF() || !Fe(this.char()))
2713
- return this.error(d.INVALID_TAG, b(o, this.clonePosition()));
2714
- var l = this.clonePosition(), u = this.parseTagName();
2715
- return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2738
+ return this.error(p.INVALID_TAG, b(o, this.clonePosition()));
2739
+ var l = this.clonePosition(), h = this.parseTagName();
2740
+ return i !== h ? this.error(p.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2716
2741
  val: {
2717
- type: E.tag,
2742
+ type: x.tag,
2718
2743
  value: i,
2719
2744
  children: a,
2720
2745
  location: b(n, this.clonePosition())
2721
2746
  },
2722
2747
  err: null
2723
- } : this.error(d.INVALID_TAG, b(o, this.clonePosition())));
2748
+ } : this.error(p.INVALID_TAG, b(o, this.clonePosition())));
2724
2749
  } else
2725
- return this.error(d.UNCLOSED_TAG, b(n, this.clonePosition()));
2750
+ return this.error(p.UNCLOSED_TAG, b(n, this.clonePosition()));
2726
2751
  } else
2727
- return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
2752
+ return this.error(p.INVALID_TAG, b(n, this.clonePosition()));
2728
2753
  }, e.prototype.parseTagName = function() {
2729
2754
  var t = this.offset();
2730
- for (this.bump(); !this.isEOF() && Cn(this.char()); )
2755
+ for (this.bump(); !this.isEOF() && On(this.char()); )
2731
2756
  this.bump();
2732
2757
  return this.message.slice(t, this.offset());
2733
2758
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2751,12 +2776,12 @@ var Sn = (
2751
2776
  }
2752
2777
  var l = b(n, this.clonePosition());
2753
2778
  return {
2754
- val: { type: E.literal, value: i, location: l },
2779
+ val: { type: x.literal, value: i, location: l },
2755
2780
  err: null
2756
2781
  };
2757
2782
  }, e.prototype.tryParseLeftAngleBracket = function() {
2758
2783
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2759
- !An(this.peek() || 0)) ? (this.bump(), "<") : null;
2784
+ !Cn(this.peek() || 0)) ? (this.bump(), "<") : null;
2760
2785
  }, e.prototype.tryParseQuote = function(t) {
2761
2786
  if (this.isEOF() || this.char() !== 39)
2762
2787
  return null;
@@ -2799,19 +2824,19 @@ var Sn = (
2799
2824
  }, e.prototype.parseArgument = function(t, r) {
2800
2825
  var n = this.clonePosition();
2801
2826
  if (this.bump(), this.bumpSpace(), this.isEOF())
2802
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2827
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2803
2828
  if (this.char() === 125)
2804
- return this.bump(), this.error(d.EMPTY_ARGUMENT, b(n, this.clonePosition()));
2829
+ return this.bump(), this.error(p.EMPTY_ARGUMENT, b(n, this.clonePosition()));
2805
2830
  var i = this.parseIdentifierIfPossible().value;
2806
2831
  if (!i)
2807
- return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2832
+ return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2808
2833
  if (this.bumpSpace(), this.isEOF())
2809
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2834
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2810
2835
  switch (this.char()) {
2811
2836
  case 125:
2812
2837
  return this.bump(), {
2813
2838
  val: {
2814
- type: E.argument,
2839
+ type: x.argument,
2815
2840
  // value does not include the opening and closing braces.
2816
2841
  value: i,
2817
2842
  location: b(n, this.clonePosition())
@@ -2819,9 +2844,9 @@ var Sn = (
2819
2844
  err: null
2820
2845
  };
2821
2846
  case 44:
2822
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2847
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2823
2848
  default:
2824
- return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2849
+ return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2825
2850
  }
2826
2851
  }, e.prototype.parseIdentifierIfPossible = function() {
2827
2852
  var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
@@ -2832,46 +2857,46 @@ var Sn = (
2832
2857
  var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2833
2858
  switch (o) {
2834
2859
  case "":
2835
- return this.error(d.EXPECT_ARGUMENT_TYPE, b(a, l));
2860
+ return this.error(p.EXPECT_ARGUMENT_TYPE, b(a, l));
2836
2861
  case "number":
2837
2862
  case "date":
2838
2863
  case "time": {
2839
2864
  this.bumpSpace();
2840
- var u = null;
2865
+ var h = null;
2841
2866
  if (this.bumpIf(",")) {
2842
2867
  this.bumpSpace();
2843
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2868
+ var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2844
2869
  if (f.err)
2845
2870
  return f;
2846
- var c = wn(f.val);
2871
+ var c = Sn(f.val);
2847
2872
  if (c.length === 0)
2848
- return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2849
- var p = b(h, this.clonePosition());
2850
- u = { style: c, styleLocation: p };
2873
+ return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2874
+ var d = b(u, this.clonePosition());
2875
+ h = { style: c, styleLocation: d };
2851
2876
  }
2852
2877
  var m = this.tryParseArgumentClose(i);
2853
2878
  if (m.err)
2854
2879
  return m;
2855
2880
  var g = b(i, this.clonePosition());
2856
- if (u && at(u == null ? void 0 : u.style, "::", 0)) {
2857
- var v = Tn(u.style.slice(2));
2881
+ if (h && ut(h == null ? void 0 : h.style, "::", 0)) {
2882
+ var v = wn(h.style.slice(2));
2858
2883
  if (o === "number") {
2859
- var f = this.parseNumberSkeletonFromString(v, u.styleLocation);
2884
+ var f = this.parseNumberSkeletonFromString(v, h.styleLocation);
2860
2885
  return f.err ? f : {
2861
- val: { type: E.number, value: n, location: g, style: f.val },
2886
+ val: { type: x.number, value: n, location: g, style: f.val },
2862
2887
  err: null
2863
2888
  };
2864
2889
  } else {
2865
2890
  if (v.length === 0)
2866
- return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
2891
+ return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
2867
2892
  var N = v;
2868
- this.locale && (N = cn(v, this.locale));
2893
+ this.locale && (N = mn(v, this.locale));
2869
2894
  var c = {
2870
2895
  type: V.dateTime,
2871
2896
  pattern: N,
2872
- location: u.styleLocation,
2873
- parsedOptions: this.shouldParseSkeletons ? sn(N) : {}
2874
- }, C = o === "date" ? E.date : E.time;
2897
+ location: h.styleLocation,
2898
+ parsedOptions: this.shouldParseSkeletons ? on(N) : {}
2899
+ }, C = o === "date" ? x.date : x.time;
2875
2900
  return {
2876
2901
  val: { type: C, value: n, location: g, style: c },
2877
2902
  err: null
@@ -2880,10 +2905,10 @@ var Sn = (
2880
2905
  }
2881
2906
  return {
2882
2907
  val: {
2883
- type: o === "number" ? E.number : o === "date" ? E.date : E.time,
2908
+ type: o === "number" ? x.number : o === "date" ? x.date : x.time,
2884
2909
  value: n,
2885
2910
  location: g,
2886
- style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
2911
+ style: (s = h == null ? void 0 : h.style) !== null && s !== void 0 ? s : null
2887
2912
  },
2888
2913
  err: null
2889
2914
  };
@@ -2893,14 +2918,14 @@ var Sn = (
2893
2918
  case "select": {
2894
2919
  var H = this.clonePosition();
2895
2920
  if (this.bumpSpace(), !this.bumpIf(","))
2896
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, y({}, H)));
2921
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, y({}, H)));
2897
2922
  this.bumpSpace();
2898
2923
  var I = this.parseIdentifierIfPossible(), w = 0;
2899
2924
  if (o !== "select" && I.value === "offset") {
2900
2925
  if (!this.bumpIf(":"))
2901
- return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2926
+ return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2902
2927
  this.bumpSpace();
2903
- var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2928
+ var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2904
2929
  if (f.err)
2905
2930
  return f;
2906
2931
  this.bumpSpace(), I = this.parseIdentifierIfPossible(), w = f.val;
@@ -2914,17 +2939,17 @@ var Sn = (
2914
2939
  var se = b(i, this.clonePosition());
2915
2940
  return o === "select" ? {
2916
2941
  val: {
2917
- type: E.select,
2942
+ type: x.select,
2918
2943
  value: n,
2919
- options: ut(R.val),
2944
+ options: lt(R.val),
2920
2945
  location: se
2921
2946
  },
2922
2947
  err: null
2923
2948
  } : {
2924
2949
  val: {
2925
- type: E.plural,
2950
+ type: x.plural,
2926
2951
  value: n,
2927
- options: ut(R.val),
2952
+ options: lt(R.val),
2928
2953
  offset: w,
2929
2954
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2930
2955
  location: se
@@ -2933,10 +2958,10 @@ var Sn = (
2933
2958
  };
2934
2959
  }
2935
2960
  default:
2936
- return this.error(d.INVALID_ARGUMENT_TYPE, b(a, l));
2961
+ return this.error(p.INVALID_ARGUMENT_TYPE, b(a, l));
2937
2962
  }
2938
2963
  }, e.prototype.tryParseArgumentClose = function(t) {
2939
- return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2964
+ return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2940
2965
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2941
2966
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2942
2967
  var n = this.char();
@@ -2945,7 +2970,7 @@ var Sn = (
2945
2970
  this.bump();
2946
2971
  var i = this.clonePosition();
2947
2972
  if (!this.bumpUntil("'"))
2948
- return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
2973
+ return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
2949
2974
  this.bump();
2950
2975
  break;
2951
2976
  }
@@ -2975,52 +3000,52 @@ var Sn = (
2975
3000
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2976
3001
  var n = [];
2977
3002
  try {
2978
- n = an(t);
3003
+ n = hn(t);
2979
3004
  } catch (i) {
2980
- return this.error(d.INVALID_NUMBER_SKELETON, r);
3005
+ return this.error(p.INVALID_NUMBER_SKELETON, r);
2981
3006
  }
2982
3007
  return {
2983
3008
  val: {
2984
3009
  type: V.number,
2985
3010
  tokens: n,
2986
3011
  location: r,
2987
- parsedOptions: this.shouldParseSkeletons ? fn(n) : {}
3012
+ parsedOptions: this.shouldParseSkeletons ? cn(n) : {}
2988
3013
  },
2989
3014
  err: null
2990
3015
  };
2991
3016
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2992
- for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
2993
- if (u.length === 0) {
3017
+ for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), h = i.value, u = i.location; ; ) {
3018
+ if (h.length === 0) {
2994
3019
  var f = this.clonePosition();
2995
3020
  if (r !== "select" && this.bumpIf("=")) {
2996
- var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3021
+ var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
2997
3022
  if (c.err)
2998
3023
  return c;
2999
- h = b(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3024
+ u = b(f, this.clonePosition()), h = this.message.slice(f.offset, this.offset());
3000
3025
  } else
3001
3026
  break;
3002
3027
  }
3003
- if (l.has(u))
3004
- return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3005
- u === "other" && (a = !0), this.bumpSpace();
3006
- var p = this.clonePosition();
3028
+ if (l.has(h))
3029
+ return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3030
+ h === "other" && (a = !0), this.bumpSpace();
3031
+ var d = this.clonePosition();
3007
3032
  if (!this.bumpIf("{"))
3008
- return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3033
+ return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3009
3034
  var m = this.parseMessage(t + 1, r, n);
3010
3035
  if (m.err)
3011
3036
  return m;
3012
- var g = this.tryParseArgumentClose(p);
3037
+ var g = this.tryParseArgumentClose(d);
3013
3038
  if (g.err)
3014
3039
  return g;
3015
3040
  o.push([
3016
- u,
3041
+ h,
3017
3042
  {
3018
3043
  value: m.val,
3019
- location: b(p, this.clonePosition())
3044
+ location: b(d, this.clonePosition())
3020
3045
  }
3021
- ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3046
+ ]), l.add(h), this.bumpSpace(), s = this.parseIdentifierIfPossible(), h = s.value, u = s.location;
3022
3047
  }
3023
- 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 && !a ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3048
+ 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 && !a ? this.error(p.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3024
3049
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3025
3050
  var n = 1, i = this.clonePosition();
3026
3051
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3032,7 +3057,7 @@ var Sn = (
3032
3057
  break;
3033
3058
  }
3034
3059
  var l = b(i, this.clonePosition());
3035
- return s ? (a *= n, Hn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3060
+ return s ? (a *= n, Bn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3036
3061
  }, e.prototype.offset = function() {
3037
3062
  return this.position.offset;
3038
3063
  }, e.prototype.isEOF = function() {
@@ -3047,7 +3072,7 @@ var Sn = (
3047
3072
  var t = this.position.offset;
3048
3073
  if (t >= this.message.length)
3049
3074
  throw Error("out of bound");
3050
- var r = Vt(this.message, t);
3075
+ var r = zt(this.message, t);
3051
3076
  if (r === void 0)
3052
3077
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3053
3078
  return r;
@@ -3066,7 +3091,7 @@ var Sn = (
3066
3091
  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);
3067
3092
  }
3068
3093
  }, e.prototype.bumpIf = function(t) {
3069
- if (at(this.message, t, this.offset())) {
3094
+ if (ut(this.message, t, this.offset())) {
3070
3095
  for (var r = 0; r < t.length; r++)
3071
3096
  this.bump();
3072
3097
  return !0;
@@ -3088,7 +3113,7 @@ var Sn = (
3088
3113
  break;
3089
3114
  }
3090
3115
  }, e.prototype.bumpSpace = function() {
3091
- for (; !this.isEOF() && Wt(this.char()); )
3116
+ for (; !this.isEOF() && Zt(this.char()); )
3092
3117
  this.bump();
3093
3118
  }, e.prototype.peek = function() {
3094
3119
  if (this.isEOF())
@@ -3101,31 +3126,32 @@ var Sn = (
3101
3126
  function Fe(e) {
3102
3127
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3103
3128
  }
3104
- function An(e) {
3129
+ function Cn(e) {
3105
3130
  return Fe(e) || e === 47;
3106
3131
  }
3107
- function Cn(e) {
3132
+ function On(e) {
3108
3133
  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;
3109
3134
  }
3110
- function Wt(e) {
3135
+ function Zt(e) {
3111
3136
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3112
3137
  }
3113
- function On(e) {
3138
+ function Pn(e) {
3114
3139
  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;
3115
3140
  }
3116
3141
  function je(e) {
3117
3142
  e.forEach(function(t) {
3118
- if (delete t.location, $t(t) || Rt(t))
3143
+ if (delete t.location, Ut(t) || Dt(t))
3119
3144
  for (var r in t.options)
3120
3145
  delete t.options[r].location, je(t.options[r].value);
3121
- else Nt(t) && Dt(t.style) || (It(t) || Mt(t)) && Re(t.style) ? delete t.style.location : Ut(t) && je(t.children);
3146
+ else
3147
+ Mt(t) && Ft(t.style) || ($t(t) || Rt(t)) && Re(t.style) ? delete t.style.location : Gt(t) && je(t.children);
3122
3148
  });
3123
3149
  }
3124
- function Pn(e, t) {
3150
+ function Ln(e, t) {
3125
3151
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3126
- var r = new Sn(e, t).parse();
3152
+ var r = new An(e, t).parse();
3127
3153
  if (r.err) {
3128
- var n = SyntaxError(d[r.err.kind]);
3154
+ var n = SyntaxError(p[r.err.kind]);
3129
3155
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3130
3156
  }
3131
3157
  return t != null && t.captureLocation || je(r.val), r.val;
@@ -3146,7 +3172,7 @@ var _e = (
3146
3172
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3147
3173
  }, t;
3148
3174
  }(Error)
3149
- ), lt = (
3175
+ ), ct = (
3150
3176
  /** @class */
3151
3177
  function(e) {
3152
3178
  ge(t, e);
@@ -3155,7 +3181,7 @@ var _e = (
3155
3181
  }
3156
3182
  return t;
3157
3183
  }(_e)
3158
- ), Ln = (
3184
+ ), Nn = (
3159
3185
  /** @class */
3160
3186
  function(e) {
3161
3187
  ge(t, e);
@@ -3164,7 +3190,7 @@ var _e = (
3164
3190
  }
3165
3191
  return t;
3166
3192
  }(_e)
3167
- ), Nn = (
3193
+ ), In = (
3168
3194
  /** @class */
3169
3195
  function(e) {
3170
3196
  ge(t, e);
@@ -3173,125 +3199,125 @@ var _e = (
3173
3199
  }
3174
3200
  return t;
3175
3201
  }(_e)
3176
- ), x;
3202
+ ), E;
3177
3203
  (function(e) {
3178
3204
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3179
- })(x || (x = {}));
3180
- function In(e) {
3205
+ })(E || (E = {}));
3206
+ function Mn(e) {
3181
3207
  return e.length < 2 ? e : e.reduce(function(t, r) {
3182
3208
  var n = t[t.length - 1];
3183
- return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3209
+ return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3184
3210
  }, []);
3185
3211
  }
3186
- function Mn(e) {
3212
+ function $n(e) {
3187
3213
  return typeof e == "function";
3188
3214
  }
3189
3215
  function le(e, t, r, n, i, s, a) {
3190
- if (e.length === 1 && nt(e[0]))
3216
+ if (e.length === 1 && st(e[0]))
3191
3217
  return [
3192
3218
  {
3193
- type: x.literal,
3219
+ type: E.literal,
3194
3220
  value: e[0].value
3195
3221
  }
3196
3222
  ];
3197
- for (var o = [], l = 0, u = e; l < u.length; l++) {
3198
- var h = u[l];
3199
- if (nt(h)) {
3223
+ for (var o = [], l = 0, h = e; l < h.length; l++) {
3224
+ var u = h[l];
3225
+ if (st(u)) {
3200
3226
  o.push({
3201
- type: x.literal,
3202
- value: h.value
3227
+ type: E.literal,
3228
+ value: u.value
3203
3229
  });
3204
3230
  continue;
3205
3231
  }
3206
- if (rn(h)) {
3232
+ if (nn(u)) {
3207
3233
  typeof s == "number" && o.push({
3208
- type: x.literal,
3234
+ type: E.literal,
3209
3235
  value: r.getNumberFormat(t).format(s)
3210
3236
  });
3211
3237
  continue;
3212
3238
  }
3213
- var f = h.value;
3239
+ var f = u.value;
3214
3240
  if (!(i && f in i))
3215
- throw new Nn(f, a);
3241
+ throw new In(f, a);
3216
3242
  var c = i[f];
3217
- if (tn(h)) {
3243
+ if (rn(u)) {
3218
3244
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3219
- type: typeof c == "string" ? x.literal : x.object,
3245
+ type: typeof c == "string" ? E.literal : E.object,
3220
3246
  value: c
3221
3247
  });
3222
3248
  continue;
3223
3249
  }
3224
- if (It(h)) {
3225
- var p = typeof h.style == "string" ? n.date[h.style] : Re(h.style) ? h.style.parsedOptions : void 0;
3250
+ if ($t(u)) {
3251
+ var d = typeof u.style == "string" ? n.date[u.style] : Re(u.style) ? u.style.parsedOptions : void 0;
3226
3252
  o.push({
3227
- type: x.literal,
3228
- value: r.getDateTimeFormat(t, p).format(c)
3253
+ type: E.literal,
3254
+ value: r.getDateTimeFormat(t, d).format(c)
3229
3255
  });
3230
3256
  continue;
3231
3257
  }
3232
- if (Mt(h)) {
3233
- var p = typeof h.style == "string" ? n.time[h.style] : Re(h.style) ? h.style.parsedOptions : n.time.medium;
3258
+ if (Rt(u)) {
3259
+ var d = typeof u.style == "string" ? n.time[u.style] : Re(u.style) ? u.style.parsedOptions : n.time.medium;
3234
3260
  o.push({
3235
- type: x.literal,
3236
- value: r.getDateTimeFormat(t, p).format(c)
3261
+ type: E.literal,
3262
+ value: r.getDateTimeFormat(t, d).format(c)
3237
3263
  });
3238
3264
  continue;
3239
3265
  }
3240
- if (Nt(h)) {
3241
- var p = typeof h.style == "string" ? n.number[h.style] : Dt(h.style) ? h.style.parsedOptions : void 0;
3242
- p && p.scale && (c = c * (p.scale || 1)), o.push({
3243
- type: x.literal,
3244
- value: r.getNumberFormat(t, p).format(c)
3266
+ if (Mt(u)) {
3267
+ var d = typeof u.style == "string" ? n.number[u.style] : Ft(u.style) ? u.style.parsedOptions : void 0;
3268
+ d && d.scale && (c = c * (d.scale || 1)), o.push({
3269
+ type: E.literal,
3270
+ value: r.getNumberFormat(t, d).format(c)
3245
3271
  });
3246
3272
  continue;
3247
3273
  }
3248
- if (Ut(h)) {
3249
- var m = h.children, g = h.value, v = i[g];
3250
- if (!Mn(v))
3251
- throw new Ln(g, "function", a);
3274
+ if (Gt(u)) {
3275
+ var m = u.children, g = u.value, v = i[g];
3276
+ if (!$n(v))
3277
+ throw new Nn(g, "function", a);
3252
3278
  var N = le(m, t, r, n, i, s), C = v(N.map(function(w) {
3253
3279
  return w.value;
3254
3280
  }));
3255
3281
  Array.isArray(C) || (C = [C]), o.push.apply(o, C.map(function(w) {
3256
3282
  return {
3257
- type: typeof w == "string" ? x.literal : x.object,
3283
+ type: typeof w == "string" ? E.literal : E.object,
3258
3284
  value: w
3259
3285
  };
3260
3286
  }));
3261
3287
  }
3262
- if ($t(h)) {
3263
- var H = h.options[c] || h.options.other;
3288
+ if (Ut(u)) {
3289
+ var H = u.options[c] || u.options.other;
3264
3290
  if (!H)
3265
- throw new lt(h.value, c, Object.keys(h.options), a);
3291
+ throw new ct(u.value, c, Object.keys(u.options), a);
3266
3292
  o.push.apply(o, le(H.value, t, r, n, i));
3267
3293
  continue;
3268
3294
  }
3269
- if (Rt(h)) {
3270
- var H = h.options["=".concat(c)];
3295
+ if (Dt(u)) {
3296
+ var H = u.options["=".concat(c)];
3271
3297
  if (!H) {
3272
3298
  if (!Intl.PluralRules)
3273
3299
  throw new _e(`Intl.PluralRules is not available in this environment.
3274
3300
  Try polyfilling it using "@formatjs/intl-pluralrules"
3275
3301
  `, X.MISSING_INTL_API, a);
3276
- var I = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3277
- H = h.options[I] || h.options.other;
3302
+ var I = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3303
+ H = u.options[I] || u.options.other;
3278
3304
  }
3279
3305
  if (!H)
3280
- throw new lt(h.value, c, Object.keys(h.options), a);
3281
- o.push.apply(o, le(H.value, t, r, n, i, c - (h.offset || 0)));
3306
+ throw new ct(u.value, c, Object.keys(u.options), a);
3307
+ o.push.apply(o, le(H.value, t, r, n, i, c - (u.offset || 0)));
3282
3308
  continue;
3283
3309
  }
3284
3310
  }
3285
- return In(o);
3311
+ return Mn(o);
3286
3312
  }
3287
- function $n(e, t) {
3313
+ function Rn(e, t) {
3288
3314
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3289
3315
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3290
3316
  }, {})) : e;
3291
3317
  }
3292
- function Rn(e, t) {
3318
+ function Un(e, t) {
3293
3319
  return t ? Object.keys(e).reduce(function(r, n) {
3294
- return r[n] = $n(e[n], t[n]), r;
3320
+ return r[n] = Rn(e[n], t[n]), r;
3295
3321
  }, y({}, e)) : e;
3296
3322
  }
3297
3323
  function Pe(e) {
@@ -3308,7 +3334,7 @@ function Pe(e) {
3308
3334
  }
3309
3335
  };
3310
3336
  }
3311
- function Un(e) {
3337
+ function Dn(e) {
3312
3338
  return e === void 0 && (e = {
3313
3339
  number: {},
3314
3340
  dateTime: {},
@@ -3340,7 +3366,7 @@ function Un(e) {
3340
3366
  })
3341
3367
  };
3342
3368
  }
3343
- var zt = (
3369
+ var Qt = (
3344
3370
  /** @class */
3345
3371
  function() {
3346
3372
  function e(t, r, n, i) {
@@ -3351,13 +3377,13 @@ var zt = (
3351
3377
  dateTime: {},
3352
3378
  pluralRules: {}
3353
3379
  }, this.format = function(l) {
3354
- var u = s.formatToParts(l);
3355
- if (u.length === 1)
3356
- return u[0].value;
3357
- var h = u.reduce(function(f, c) {
3358
- return !f.length || c.type !== x.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3380
+ var h = s.formatToParts(l);
3381
+ if (h.length === 1)
3382
+ return h[0].value;
3383
+ var u = h.reduce(function(f, c) {
3384
+ return !f.length || c.type !== E.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3359
3385
  }, []);
3360
- return h.length <= 1 ? h[0] || "" : h;
3386
+ return u.length <= 1 ? u[0] || "" : u;
3361
3387
  }, this.formatToParts = function(l) {
3362
3388
  return le(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3363
3389
  }, this.resolvedOptions = function() {
@@ -3372,13 +3398,13 @@ var zt = (
3372
3398
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3373
3399
  var a = i || {};
3374
3400
  a.formatters;
3375
- var o = zr(a, ["formatters"]);
3401
+ var o = Qr(a, ["formatters"]);
3376
3402
  this.ast = e.__parse(t, y(y({}, o), { locale: this.resolvedLocale }));
3377
3403
  } else
3378
3404
  this.ast = t;
3379
3405
  if (!Array.isArray(this.ast))
3380
3406
  throw new TypeError("A message must be provided as a String or AST.");
3381
- this.formats = Rn(e.formats, n), this.formatters = i && i.formatters || Un(this.formatterCache);
3407
+ this.formats = Un(e.formats, n), this.formatters = i && i.formatters || Dn(this.formatterCache);
3382
3408
  }
3383
3409
  return Object.defineProperty(e, "defaultLocale", {
3384
3410
  get: function() {
@@ -3391,7 +3417,7 @@ var zt = (
3391
3417
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3392
3418
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3393
3419
  }
3394
- }, e.__parse = Pn, e.formats = {
3420
+ }, e.__parse = Ln, e.formats = {
3395
3421
  number: {
3396
3422
  integer: {
3397
3423
  maximumFractionDigits: 0
@@ -3452,7 +3478,7 @@ var zt = (
3452
3478
  }, e;
3453
3479
  }()
3454
3480
  );
3455
- function Dn(e, t) {
3481
+ function Gn(e, t) {
3456
3482
  if (t == null)
3457
3483
  return;
3458
3484
  if (t in e)
@@ -3473,60 +3499,60 @@ function Dn(e, t) {
3473
3499
  n = void 0;
3474
3500
  return n;
3475
3501
  }
3476
- const O = {}, Gn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Zt = (e, t) => {
3502
+ const O = {}, Fn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Jt = (e, t) => {
3477
3503
  if (t == null)
3478
3504
  return;
3479
3505
  if (t in O && e in O[t])
3480
3506
  return O[t][e];
3481
3507
  const r = ie(t);
3482
3508
  for (let n = 0; n < r.length; n++) {
3483
- const i = r[n], s = jn(i, e);
3509
+ const i = r[n], s = kn(i, e);
3484
3510
  if (s)
3485
- return Gn(e, t, s);
3511
+ return Fn(e, t, s);
3486
3512
  }
3487
3513
  };
3488
- let ze;
3514
+ let Qe;
3489
3515
  const ne = be({});
3490
- function Fn(e) {
3491
- return ze[e] || null;
3516
+ function jn(e) {
3517
+ return Qe[e] || null;
3492
3518
  }
3493
- function Qt(e) {
3494
- return e in ze;
3519
+ function qt(e) {
3520
+ return e in Qe;
3495
3521
  }
3496
- function jn(e, t) {
3497
- if (!Qt(e))
3522
+ function kn(e, t) {
3523
+ if (!qt(e))
3498
3524
  return null;
3499
- const r = Fn(e);
3500
- return Dn(r, t);
3525
+ const r = jn(e);
3526
+ return Gn(r, t);
3501
3527
  }
3502
- function kn(e) {
3528
+ function Vn(e) {
3503
3529
  if (e == null)
3504
3530
  return;
3505
3531
  const t = ie(e);
3506
3532
  for (let r = 0; r < t.length; r++) {
3507
3533
  const n = t[r];
3508
- if (Qt(n))
3534
+ if (qt(n))
3509
3535
  return n;
3510
3536
  }
3511
3537
  }
3512
- function Jt(e, ...t) {
3513
- delete O[e], ne.update((r) => (r[e] = Wr.all([r[e] || {}, ...t]), r));
3538
+ function Yt(e, ...t) {
3539
+ delete O[e], ne.update((r) => (r[e] = Zr.all([r[e] || {}, ...t]), r));
3514
3540
  }
3515
3541
  Z(
3516
3542
  [ne],
3517
3543
  ([e]) => Object.keys(e)
3518
3544
  );
3519
- ne.subscribe((e) => ze = e);
3545
+ ne.subscribe((e) => Qe = e);
3520
3546
  const fe = {};
3521
- function Vn(e, t) {
3547
+ function Xn(e, t) {
3522
3548
  fe[e].delete(t), fe[e].size === 0 && delete fe[e];
3523
3549
  }
3524
- function qt(e) {
3550
+ function Kt(e) {
3525
3551
  return fe[e];
3526
3552
  }
3527
- function Xn(e) {
3553
+ function zn(e) {
3528
3554
  return ie(e).map((t) => {
3529
- const r = qt(t);
3555
+ const r = Kt(t);
3530
3556
  return [t, r ? [...r] : []];
3531
3557
  }).filter(([, t]) => t.length > 0);
3532
3558
  }
@@ -3534,40 +3560,40 @@ function me(e) {
3534
3560
  return e == null ? !1 : ie(e).some(
3535
3561
  (t) => {
3536
3562
  var r;
3537
- return (r = qt(t)) == null ? void 0 : r.size;
3563
+ return (r = Kt(t)) == null ? void 0 : r.size;
3538
3564
  }
3539
3565
  );
3540
3566
  }
3541
3567
  function Wn(e, t) {
3542
3568
  return Promise.all(
3543
- t.map((n) => (Vn(e, n), n().then((i) => i.default || i)))
3544
- ).then((n) => Jt(e, ...n));
3569
+ t.map((n) => (Xn(e, n), n().then((i) => i.default || i)))
3570
+ ).then((n) => Yt(e, ...n));
3545
3571
  }
3546
3572
  const J = {};
3547
- function Yt(e) {
3573
+ function er(e) {
3548
3574
  if (!me(e))
3549
3575
  return e in J ? J[e] : Promise.resolve();
3550
- const t = Xn(e);
3576
+ const t = zn(e);
3551
3577
  return J[e] = Promise.all(
3552
3578
  t.map(
3553
3579
  ([r, n]) => Wn(r, n)
3554
3580
  )
3555
3581
  ).then(() => {
3556
3582
  if (me(e))
3557
- return Yt(e);
3583
+ return er(e);
3558
3584
  delete J[e];
3559
3585
  }), J[e];
3560
3586
  }
3561
- var ft = Object.getOwnPropertySymbols, zn = Object.prototype.hasOwnProperty, Zn = Object.prototype.propertyIsEnumerable, Qn = (e, t) => {
3587
+ var mt = Object.getOwnPropertySymbols, Zn = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, Jn = (e, t) => {
3562
3588
  var r = {};
3563
3589
  for (var n in e)
3564
- zn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3565
- if (e != null && ft)
3566
- for (var n of ft(e))
3567
- t.indexOf(n) < 0 && Zn.call(e, n) && (r[n] = e[n]);
3590
+ Zn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3591
+ if (e != null && mt)
3592
+ for (var n of mt(e))
3593
+ t.indexOf(n) < 0 && Qn.call(e, n) && (r[n] = e[n]);
3568
3594
  return r;
3569
3595
  };
3570
- const Jn = {
3596
+ const qn = {
3571
3597
  number: {
3572
3598
  scientific: { notation: "scientific" },
3573
3599
  engineering: { notation: "engineering" },
@@ -3597,7 +3623,7 @@ const Jn = {
3597
3623
  }
3598
3624
  }
3599
3625
  };
3600
- function qn({ locale: e, id: t }) {
3626
+ function Yn({ locale: e, id: t }) {
3601
3627
  console.warn(
3602
3628
  `[svelte-i18n] The message "${t}" was not found in "${ie(
3603
3629
  e
@@ -3606,72 +3632,72 @@ function qn({ locale: e, id: t }) {
3606
3632
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3607
3633
  );
3608
3634
  }
3609
- const Yn = {
3635
+ const Kn = {
3610
3636
  fallbackLocale: null,
3611
3637
  loadingDelay: 200,
3612
- formats: Jn,
3638
+ formats: qn,
3613
3639
  warnOnMissingMessages: !0,
3614
3640
  handleMissingMessage: void 0,
3615
3641
  ignoreTag: !0
3616
- }, q = Yn;
3617
- function W() {
3642
+ }, q = Kn;
3643
+ function z() {
3618
3644
  return q;
3619
3645
  }
3620
- function Kn(e) {
3621
- const t = e, { formats: r } = t, n = Qn(t, ["formats"]);
3646
+ function ei(e) {
3647
+ const t = e, { formats: r } = t, n = Jn(t, ["formats"]);
3622
3648
  let i = e.fallbackLocale;
3623
3649
  if (e.initialLocale)
3624
3650
  try {
3625
- zt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3651
+ Qt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3626
3652
  } catch (s) {
3627
3653
  console.warn(
3628
3654
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3629
3655
  );
3630
3656
  }
3631
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = qn : console.warn(
3657
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Yn : console.warn(
3632
3658
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3633
3659
  )), Object.assign(q, n, { initialLocale: i }), r && ("number" in r && Object.assign(q.formats.number, r.number), "date" in r && Object.assign(q.formats.date, r.date), "time" in r && Object.assign(q.formats.time, r.time)), $.set(i);
3634
3660
  }
3635
3661
  const Le = be(!1);
3636
- var ei = Object.defineProperty, ti = Object.defineProperties, ri = Object.getOwnPropertyDescriptors, ct = Object.getOwnPropertySymbols, ni = Object.prototype.hasOwnProperty, ii = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, si = (e, t) => {
3662
+ var ti = Object.defineProperty, ri = Object.defineProperties, ni = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, ii = Object.prototype.hasOwnProperty, si = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, oi = (e, t) => {
3637
3663
  for (var r in t || (t = {}))
3638
- ni.call(t, r) && mt(e, r, t[r]);
3639
- if (ct)
3640
- for (var r of ct(t))
3641
- ii.call(t, r) && mt(e, r, t[r]);
3664
+ ii.call(t, r) && pt(e, r, t[r]);
3665
+ if (dt)
3666
+ for (var r of dt(t))
3667
+ si.call(t, r) && pt(e, r, t[r]);
3642
3668
  return e;
3643
- }, oi = (e, t) => ti(e, ri(t));
3669
+ }, ai = (e, t) => ri(e, ni(t));
3644
3670
  let ke;
3645
- const pe = be(null);
3646
- function pt(e) {
3671
+ const de = be(null);
3672
+ function bt(e) {
3647
3673
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3648
3674
  }
3649
- function ie(e, t = W().fallbackLocale) {
3650
- const r = pt(e);
3651
- return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
3675
+ function ie(e, t = z().fallbackLocale) {
3676
+ const r = bt(e);
3677
+ return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
3652
3678
  }
3653
3679
  function L() {
3654
3680
  return ke != null ? ke : void 0;
3655
3681
  }
3656
- pe.subscribe((e) => {
3682
+ de.subscribe((e) => {
3657
3683
  ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3658
3684
  });
3659
- const ai = (e) => {
3660
- if (e && kn(e) && me(e)) {
3661
- const { loadingDelay: t } = W();
3685
+ const hi = (e) => {
3686
+ if (e && Vn(e) && me(e)) {
3687
+ const { loadingDelay: t } = z();
3662
3688
  let r;
3663
3689
  return typeof window != "undefined" && L() != null && t ? r = window.setTimeout(
3664
3690
  () => Le.set(!0),
3665
3691
  t
3666
- ) : Le.set(!0), Yt(e).then(() => {
3667
- pe.set(e);
3692
+ ) : Le.set(!0), er(e).then(() => {
3693
+ de.set(e);
3668
3694
  }).finally(() => {
3669
3695
  clearTimeout(r), Le.set(!1);
3670
3696
  });
3671
3697
  }
3672
- return pe.set(e);
3673
- }, $ = oi(si({}, pe), {
3674
- set: ai
3698
+ return de.set(e);
3699
+ }, $ = ai(oi({}, de), {
3700
+ set: hi
3675
3701
  }), ye = (e) => {
3676
3702
  const t = /* @__PURE__ */ Object.create(null);
3677
3703
  return (n) => {
@@ -3679,42 +3705,42 @@ const ai = (e) => {
3679
3705
  return i in t ? t[i] : t[i] = e(n);
3680
3706
  };
3681
3707
  };
3682
- var ui = Object.defineProperty, de = Object.getOwnPropertySymbols, Kt = Object.prototype.hasOwnProperty, er = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
3708
+ var ui = Object.defineProperty, pe = Object.getOwnPropertySymbols, tr = Object.prototype.hasOwnProperty, rr = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
3683
3709
  for (var r in t || (t = {}))
3684
- Kt.call(t, r) && dt(e, r, t[r]);
3685
- if (de)
3686
- for (var r of de(t))
3687
- er.call(t, r) && dt(e, r, t[r]);
3710
+ tr.call(t, r) && gt(e, r, t[r]);
3711
+ if (pe)
3712
+ for (var r of pe(t))
3713
+ rr.call(t, r) && gt(e, r, t[r]);
3688
3714
  return e;
3689
3715
  }, Q = (e, t) => {
3690
3716
  var r = {};
3691
3717
  for (var n in e)
3692
- Kt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3693
- if (e != null && de)
3694
- for (var n of de(e))
3695
- t.indexOf(n) < 0 && er.call(e, n) && (r[n] = e[n]);
3718
+ tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3719
+ if (e != null && pe)
3720
+ for (var n of pe(e))
3721
+ t.indexOf(n) < 0 && rr.call(e, n) && (r[n] = e[n]);
3696
3722
  return r;
3697
3723
  };
3698
3724
  const ee = (e, t) => {
3699
- const { formats: r } = W();
3725
+ const { formats: r } = z();
3700
3726
  if (e in r && t in r[e])
3701
3727
  return r[e][t];
3702
3728
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3703
- }, hi = ye(
3729
+ }, li = ye(
3704
3730
  (e) => {
3705
3731
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3706
3732
  if (r == null)
3707
3733
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3708
3734
  return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
3709
3735
  }
3710
- ), li = ye(
3736
+ ), fi = ye(
3711
3737
  (e) => {
3712
3738
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3713
3739
  if (r == null)
3714
3740
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3715
3741
  return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
3716
3742
  }
3717
- ), fi = ye(
3743
+ ), ci = ye(
3718
3744
  (e) => {
3719
3745
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3720
3746
  if (r == null)
@@ -3723,57 +3749,57 @@ const ee = (e, t) => {
3723
3749
  );
3724
3750
  return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
3725
3751
  }
3726
- ), ci = (e = {}) => {
3752
+ ), mi = (e = {}) => {
3727
3753
  var t = e, {
3728
3754
  locale: r = L()
3729
3755
  } = t, n = Q(t, [
3730
3756
  "locale"
3731
3757
  ]);
3732
- return hi(Ze({ locale: r }, n));
3733
- }, mi = (e = {}) => {
3758
+ return li(Je({ locale: r }, n));
3759
+ }, di = (e = {}) => {
3734
3760
  var t = e, {
3735
3761
  locale: r = L()
3736
3762
  } = t, n = Q(t, [
3737
3763
  "locale"
3738
3764
  ]);
3739
- return li(Ze({ locale: r }, n));
3765
+ return fi(Je({ locale: r }, n));
3740
3766
  }, pi = (e = {}) => {
3741
3767
  var t = e, {
3742
3768
  locale: r = L()
3743
3769
  } = t, n = Q(t, [
3744
3770
  "locale"
3745
3771
  ]);
3746
- return fi(Ze({ locale: r }, n));
3747
- }, di = ye(
3772
+ return ci(Je({ locale: r }, n));
3773
+ }, bi = ye(
3748
3774
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3749
- (e, t = L()) => new zt(e, t, W().formats, {
3750
- ignoreTag: W().ignoreTag
3775
+ (e, t = L()) => new Qt(e, t, z().formats, {
3776
+ ignoreTag: z().ignoreTag
3751
3777
  })
3752
- ), bi = (e, t = {}) => {
3778
+ ), gi = (e, t = {}) => {
3753
3779
  var r, n, i, s;
3754
3780
  let a = t;
3755
3781
  typeof e == "object" && (a = e, e = a.id);
3756
3782
  const {
3757
3783
  values: o,
3758
3784
  locale: l = L(),
3759
- default: u
3785
+ default: h
3760
3786
  } = a;
3761
3787
  if (l == null)
3762
3788
  throw new Error(
3763
3789
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3764
3790
  );
3765
- let h = Zt(e, l);
3766
- if (!h)
3767
- h = (s = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3768
- else if (typeof h != "string")
3791
+ let u = Jt(e, l);
3792
+ if (!u)
3793
+ u = (s = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: h })) != null ? i : h) != null ? s : e;
3794
+ else if (typeof u != "string")
3769
3795
  return console.warn(
3770
- `[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.`
3771
- ), h;
3796
+ `[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.`
3797
+ ), u;
3772
3798
  if (!o)
3773
- return h;
3774
- let f = h;
3799
+ return u;
3800
+ let f = u;
3775
3801
  try {
3776
- f = di(h, l).format(o);
3802
+ f = bi(u, l).format(o);
3777
3803
  } catch (c) {
3778
3804
  c instanceof Error && console.warn(
3779
3805
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3781,20 +3807,20 @@ const ee = (e, t) => {
3781
3807
  );
3782
3808
  }
3783
3809
  return f;
3784
- }, gi = (e, t) => pi(t).format(e), _i = (e, t) => mi(t).format(e), yi = (e, t) => ci(t).format(e), Ei = (e, t = L()) => Zt(e, t), xi = Z([$, ne], () => bi);
3785
- Z([$], () => gi);
3810
+ }, _i = (e, t) => pi(t).format(e), yi = (e, t) => di(t).format(e), xi = (e, t) => mi(t).format(e), Ei = (e, t = L()) => Jt(e, t), vi = Z([$, ne], () => gi);
3786
3811
  Z([$], () => _i);
3787
3812
  Z([$], () => yi);
3813
+ Z([$], () => xi);
3788
3814
  Z([$, ne], () => Ei);
3789
- function bt(e, t) {
3790
- Jt(e, t);
3815
+ function _t(e, t) {
3816
+ Yt(e, t);
3791
3817
  }
3792
- function vi(e) {
3793
- Kn({
3818
+ function Hi(e) {
3819
+ ei({
3794
3820
  fallbackLocale: "en"
3795
3821
  }), $.set(e);
3796
3822
  }
3797
- const gt = {
3823
+ const yt = {
3798
3824
  en: {
3799
3825
  header: {
3800
3826
  general: "Cashier",
@@ -3817,18 +3843,18 @@ const gt = {
3817
3843
  }
3818
3844
  }
3819
3845
  };
3820
- function Hi(e) {
3821
- cr(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}");
3846
+ function Bi(e) {
3847
+ dr(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}");
3822
3848
  }
3823
- const Bi = (e) => ({}), _t = (e) => ({}), Ti = (e) => ({}), yt = (e) => ({}), wi = (e) => ({}), Et = (e) => ({});
3824
- function xt(e) {
3849
+ const Ti = (e) => ({}), xt = (e) => ({}), wi = (e) => ({}), Et = (e) => ({}), Si = (e) => ({}), vt = (e) => ({});
3850
+ function Ht(e) {
3825
3851
  let t, r, n;
3826
3852
  return {
3827
3853
  c() {
3828
- 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>', re(t, "class", "CashierHeaderLeftButton");
3854
+ 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>', re(t, "class", "CashierHeaderLeftButton");
3829
3855
  },
3830
3856
  m(i, s) {
3831
- M(i, t, s), r || (n = At(
3857
+ M(i, t, s), r || (n = Ot(
3832
3858
  t,
3833
3859
  "click",
3834
3860
  /*back*/
@@ -3841,28 +3867,28 @@ function xt(e) {
3841
3867
  }
3842
3868
  };
3843
3869
  }
3844
- function Si(e) {
3870
+ function Ai(e) {
3845
3871
  let t, r = (
3846
3872
  /*backButton*/
3847
- e[1] && xt(e)
3873
+ e[1] && Ht(e)
3848
3874
  );
3849
3875
  return {
3850
3876
  c() {
3851
- r && r.c(), t = St();
3877
+ r && r.c(), t = Ct();
3852
3878
  },
3853
3879
  m(n, i) {
3854
3880
  r && r.m(n, i), M(n, t, i);
3855
3881
  },
3856
3882
  p(n, i) {
3857
3883
  /*backButton*/
3858
- n[1] ? r ? r.p(n, i) : (r = xt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3884
+ n[1] ? r ? r.p(n, i) : (r = Ht(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3859
3885
  },
3860
3886
  d(n) {
3861
3887
  n && P(t), r && r.d(n);
3862
3888
  }
3863
3889
  };
3864
3890
  }
3865
- function Ai(e) {
3891
+ function Ci(e) {
3866
3892
  let t, r = (
3867
3893
  /*$_*/
3868
3894
  e[4](
@@ -3872,7 +3898,7 @@ function Ai(e) {
3872
3898
  ), n;
3873
3899
  return {
3874
3900
  c() {
3875
- t = z("span"), n = Xe(r), re(t, "class", "CashierHeaderTitle");
3901
+ t = W("span"), n = Xe(r), re(t, "class", "CashierHeaderTitle");
3876
3902
  },
3877
3903
  m(i, s) {
3878
3904
  M(i, t, s), ce(t, n);
@@ -3883,21 +3909,21 @@ function Ai(e) {
3883
3909
  i[4](
3884
3910
  /*titleText*/
3885
3911
  i[2]
3886
- ) + "") && br(n, r);
3912
+ ) + "") && _r(n, r);
3887
3913
  },
3888
3914
  d(i) {
3889
3915
  i && P(t);
3890
3916
  }
3891
3917
  };
3892
3918
  }
3893
- function vt(e) {
3919
+ function Bt(e) {
3894
3920
  let t, r, n;
3895
3921
  return {
3896
3922
  c() {
3897
- 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>', re(t, "class", "CashierHeaderRightButton");
3923
+ 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>', re(t, "class", "CashierHeaderRightButton");
3898
3924
  },
3899
3925
  m(i, s) {
3900
- M(i, t, s), r || (n = At(
3926
+ M(i, t, s), r || (n = Ot(
3901
3927
  t,
3902
3928
  "click",
3903
3929
  /*close*/
@@ -3910,63 +3936,63 @@ function vt(e) {
3910
3936
  }
3911
3937
  };
3912
3938
  }
3913
- function Ci(e) {
3939
+ function Oi(e) {
3914
3940
  let t, r = (
3915
3941
  /*closeButton*/
3916
- e[3] && vt(e)
3942
+ e[3] && Bt(e)
3917
3943
  );
3918
3944
  return {
3919
3945
  c() {
3920
- r && r.c(), t = St();
3946
+ r && r.c(), t = Ct();
3921
3947
  },
3922
3948
  m(n, i) {
3923
3949
  r && r.m(n, i), M(n, t, i);
3924
3950
  },
3925
3951
  p(n, i) {
3926
3952
  /*closeButton*/
3927
- n[3] ? r ? r.p(n, i) : (r = vt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3953
+ n[3] ? r ? r.p(n, i) : (r = Bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3928
3954
  },
3929
3955
  d(n) {
3930
3956
  n && P(t), r && r.d(n);
3931
3957
  }
3932
3958
  };
3933
3959
  }
3934
- function Oi(e) {
3960
+ function Pi(e) {
3935
3961
  let t, r, n, i;
3936
3962
  const s = (
3937
3963
  /*#slots*/
3938
3964
  e[15].leftButton
3939
- ), a = xe(
3965
+ ), a = Ee(
3940
3966
  s,
3941
3967
  e,
3942
3968
  /*$$scope*/
3943
3969
  e[14],
3944
- Et
3945
- ), o = a || Si(e), l = (
3970
+ vt
3971
+ ), o = a || Ai(e), l = (
3946
3972
  /*#slots*/
3947
3973
  e[15].title
3948
- ), u = xe(
3974
+ ), h = Ee(
3949
3975
  l,
3950
3976
  e,
3951
3977
  /*$$scope*/
3952
3978
  e[14],
3953
- yt
3954
- ), h = u || Ai(e), f = (
3979
+ Et
3980
+ ), u = h || Ci(e), f = (
3955
3981
  /*#slots*/
3956
3982
  e[15].rightButton
3957
- ), c = xe(
3983
+ ), c = Ee(
3958
3984
  f,
3959
3985
  e,
3960
3986
  /*$$scope*/
3961
3987
  e[14],
3962
- _t
3963
- ), p = c || Ci(e);
3988
+ xt
3989
+ ), d = c || Oi(e);
3964
3990
  return {
3965
3991
  c() {
3966
- t = z("div"), o && o.c(), r = et(), h && h.c(), n = et(), p && p.c(), re(t, "class", "CashierHeader");
3992
+ t = W("div"), o && o.c(), r = rt(), u && u.c(), n = rt(), d && d.c(), re(t, "class", "CashierHeader");
3967
3993
  },
3968
3994
  m(m, g) {
3969
- M(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;
3995
+ M(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;
3970
3996
  },
3971
3997
  p(m, [g]) {
3972
3998
  a ? a.p && (!i || g & /*$$scope*/
@@ -3981,16 +4007,16 @@ function Oi(e) {
3981
4007
  /*$$scope*/
3982
4008
  m[14],
3983
4009
  g,
3984
- wi
4010
+ Si
3985
4011
  ) : Be(
3986
4012
  /*$$scope*/
3987
4013
  m[14]
3988
4014
  ),
3989
- Et
4015
+ vt
3990
4016
  ) : o && o.p && (!i || g & /*backButton*/
3991
- 2) && o.p(m, i ? g : -1), u ? u.p && (!i || g & /*$$scope*/
4017
+ 2) && o.p(m, i ? g : -1), h ? h.p && (!i || g & /*$$scope*/
3992
4018
  16384) && He(
3993
- u,
4019
+ h,
3994
4020
  l,
3995
4021
  m,
3996
4022
  /*$$scope*/
@@ -4000,14 +4026,14 @@ function Oi(e) {
4000
4026
  /*$$scope*/
4001
4027
  m[14],
4002
4028
  g,
4003
- Ti
4029
+ wi
4004
4030
  ) : Be(
4005
4031
  /*$$scope*/
4006
4032
  m[14]
4007
4033
  ),
4008
- yt
4009
- ) : h && h.p && (!i || g & /*$_, titleText*/
4010
- 20) && h.p(m, i ? g : -1), c ? c.p && (!i || g & /*$$scope*/
4034
+ Et
4035
+ ) : u && u.p && (!i || g & /*$_, titleText*/
4036
+ 20) && u.p(m, i ? g : -1), c ? c.p && (!i || g & /*$$scope*/
4011
4037
  16384) && He(
4012
4038
  c,
4013
4039
  f,
@@ -4019,87 +4045,87 @@ function Oi(e) {
4019
4045
  /*$$scope*/
4020
4046
  m[14],
4021
4047
  g,
4022
- Bi
4048
+ Ti
4023
4049
  ) : Be(
4024
4050
  /*$$scope*/
4025
4051
  m[14]
4026
4052
  ),
4027
- _t
4028
- ) : p && p.p && (!i || g & /*closeButton*/
4029
- 8) && p.p(m, i ? g : -1);
4053
+ xt
4054
+ ) : d && d.p && (!i || g & /*closeButton*/
4055
+ 8) && d.p(m, i ? g : -1);
4030
4056
  },
4031
4057
  i(m) {
4032
- i || (ue(o, m), ue(h, m), ue(p, m), i = !0);
4058
+ i || (he(o, m), he(u, m), he(d, m), i = !0);
4033
4059
  },
4034
4060
  o(m) {
4035
- we(o, m), we(h, m), we(p, m), i = !1;
4061
+ we(o, m), we(u, m), we(d, m), i = !1;
4036
4062
  },
4037
4063
  d(m) {
4038
- m && P(t), o && o.d(m), h && h.d(m), p && p.d(m), e[16](null);
4064
+ m && P(t), o && o.d(m), u && u.d(m), d && d.d(m), e[16](null);
4039
4065
  }
4040
4066
  };
4041
4067
  }
4042
- function Pi(e, t, r) {
4068
+ function Li(e, t, r) {
4043
4069
  let n;
4044
- fr(e, xi, (_) => r(4, n = _));
4045
- let { $$slots: i = {}, $$scope: s } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: u = "" } = t, { title: h = "header.general" } = t, { lang: f = "en" } = t, { showclosebutton: c = "" } = t, p, m = !1, g, v = !1;
4070
+ mr(e, vi, (_) => r(4, n = _));
4071
+ let { $$slots: i = {}, $$scope: s } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: h = "" } = t, { title: u = "header.general" } = t, { lang: f = "en" } = t, { showclosebutton: c = "" } = t, d, m = !1, g, v = !1;
4046
4072
  const N = () => {
4047
4073
  let _ = l;
4048
4074
  _ && fetch(_).then((S) => S.json()).then((S) => {
4049
4075
  Object.keys(S).forEach((U) => {
4050
- bt(U, S[U]);
4076
+ _t(U, S[U]);
4051
4077
  });
4052
4078
  }).catch((S) => {
4053
4079
  console.log(S);
4054
4080
  });
4055
4081
  };
4056
- Object.keys(gt).forEach((_) => {
4057
- bt(_, gt[_]);
4082
+ Object.keys(yt).forEach((_) => {
4083
+ _t(_, yt[_]);
4058
4084
  });
4059
4085
  const C = () => {
4060
4086
  let _ = document.createElement("style");
4061
- _.innerHTML = a, p.appendChild(_);
4087
+ _.innerHTML = a, d.appendChild(_);
4062
4088
  }, H = () => {
4063
4089
  let _ = new URL(o), S = document.createElement("style");
4064
4090
  fetch(_.href).then((U) => U.text()).then((U) => {
4065
4091
  S.innerHTML = U, setTimeout(
4066
4092
  () => {
4067
- p.appendChild(S);
4093
+ d.appendChild(S);
4068
4094
  },
4069
4095
  1
4070
4096
  );
4071
4097
  });
4072
4098
  }, I = () => {
4073
- vi(f);
4099
+ Hi(f);
4074
4100
  }, w = () => {
4075
4101
  window.postMessage({ type: "CloseCashier" }, window.location.href);
4076
4102
  }, R = () => {
4077
4103
  window.postMessage({ type: "BackCashier" }, window.location.href);
4078
4104
  }, se = () => {
4079
- r(1, m = !!u && u !== "false");
4080
- }, tr = () => {
4105
+ r(1, m = !!h && h !== "false");
4106
+ }, nr = () => {
4081
4107
  r(3, v = !!c && c !== "false");
4082
- }, rr = () => {
4083
- r(2, g = h || "header.general");
4108
+ }, ir = () => {
4109
+ r(2, g = u || "header.general");
4084
4110
  };
4085
- function nr(_) {
4111
+ function sr(_) {
4086
4112
  Ne[_ ? "unshift" : "push"](() => {
4087
- p = _, r(0, p);
4113
+ d = _, r(0, d);
4088
4114
  });
4089
4115
  }
4090
4116
  return e.$$set = (_) => {
4091
- "clientstyling" in _ && r(7, a = _.clientstyling), "clientstylingurl" in _ && r(8, o = _.clientstylingurl), "translationurl" in _ && r(9, l = _.translationurl), "showbackbutton" in _ && r(10, u = _.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);
4117
+ "clientstyling" in _ && r(7, a = _.clientstyling), "clientstylingurl" in _ && r(8, o = _.clientstylingurl), "translationurl" in _ && r(9, l = _.translationurl), "showbackbutton" in _ && r(10, h = _.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);
4092
4118
  }, e.$$.update = () => {
4093
4119
  e.$$.dirty & /*lang*/
4094
4120
  4096 && f && I(), e.$$.dirty & /*lang, title*/
4095
- 6144 && f && h && rr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4096
- 129 && a && p && C(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4097
- 257 && o && p && H(), e.$$.dirty & /*lang, translationurl*/
4121
+ 6144 && f && u && ir(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4122
+ 129 && a && d && C(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4123
+ 257 && o && d && H(), e.$$.dirty & /*lang, translationurl*/
4098
4124
  4608 && f && l && N(), e.$$.dirty & /*showbackbutton*/
4099
- 1024 && u && se(), e.$$.dirty & /*showclosebutton*/
4100
- 8192 && c && tr();
4125
+ 1024 && h && se(), e.$$.dirty & /*showclosebutton*/
4126
+ 8192 && c && nr();
4101
4127
  }, [
4102
- p,
4128
+ d,
4103
4129
  m,
4104
4130
  g,
4105
4131
  v,
@@ -4109,23 +4135,23 @@ function Pi(e, t, r) {
4109
4135
  a,
4110
4136
  o,
4111
4137
  l,
4112
- u,
4113
4138
  h,
4139
+ u,
4114
4140
  f,
4115
4141
  c,
4116
4142
  s,
4117
4143
  i,
4118
- nr
4144
+ sr
4119
4145
  ];
4120
4146
  }
4121
- class Li extends Ar {
4147
+ class Ni extends Or {
4122
4148
  constructor(t) {
4123
- super(), wr(
4149
+ super(), Ar(
4124
4150
  this,
4125
4151
  t,
4152
+ Li,
4126
4153
  Pi,
4127
- Oi,
4128
- Bt,
4154
+ wt,
4129
4155
  {
4130
4156
  clientstyling: 7,
4131
4157
  clientstylingurl: 8,
@@ -4135,7 +4161,7 @@ class Li extends Ar {
4135
4161
  lang: 12,
4136
4162
  showclosebutton: 13
4137
4163
  },
4138
- Hi
4164
+ Bi
4139
4165
  );
4140
4166
  }
4141
4167
  get clientstyling() {
@@ -4181,7 +4207,7 @@ class Li extends Ar {
4181
4207
  this.$$set({ showclosebutton: t }), A();
4182
4208
  }
4183
4209
  }
4184
- Sr(Li, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4210
+ Cr(Ni, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4185
4211
  export {
4186
- Li as default
4212
+ Ni as default
4187
4213
  };