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