@everymatrix/cashier-iframe-redirect 1.76.3 → 1.76.4

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 sr = Object.defineProperty, or = Object.defineProperties;
2
- var ar = Object.getOwnPropertyDescriptors;
3
- var qe = 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, Je = (e, t) => {
1
+ var or = Object.defineProperty, ar = Object.defineProperties;
2
+ var ur = Object.getOwnPropertyDescriptors;
3
+ var Je = 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) => {
6
6
  for (var r in t || (t = {}))
7
- ur.call(t, r) && xe(e, r, t[r]);
8
- if (qe)
9
- for (var r of qe(t))
10
- hr.call(t, r) && xe(e, r, t[r]);
7
+ hr.call(t, r) && ve(e, r, t[r]);
8
+ if (Je)
9
+ for (var r of Je(t))
10
+ lr.call(t, r) && ve(e, r, t[r]);
11
11
  return e;
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) => {
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) => {
15
15
  var s = (l) => {
16
16
  try {
17
- a(r.next(l));
17
+ o(r.next(l));
18
18
  } catch (u) {
19
19
  i(u);
20
20
  }
21
- }, o = (l) => {
21
+ }, a = (l) => {
22
22
  try {
23
- a(r.throw(l));
23
+ o(r.throw(l));
24
24
  } catch (u) {
25
25
  i(u);
26
26
  }
27
- }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, o);
28
- a((r = r.apply(e, t)).next());
27
+ }, o = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, a);
28
+ o((r = r.apply(e, t)).next());
29
29
  });
30
30
  function T() {
31
31
  }
32
- function lr(e, t) {
32
+ function fr(e, t) {
33
33
  for (const r in t)
34
34
  e[r] = t[r];
35
35
  return (
@@ -37,29 +37,29 @@ function lr(e, t) {
37
37
  e
38
38
  );
39
39
  }
40
- function Bt(e) {
40
+ function Tt(e) {
41
41
  return e();
42
42
  }
43
- function et() {
43
+ function tt() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
- function te(e) {
47
- e.forEach(Bt);
46
+ function re(e) {
47
+ e.forEach(Tt);
48
48
  }
49
- function Ve(e) {
49
+ function ze(e) {
50
50
  return typeof e == "function";
51
51
  }
52
- function Tt(e, t) {
52
+ function wt(e, t) {
53
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
54
  }
55
- let se;
56
- function Di(e, t) {
57
- return e === t ? !0 : (se || (se = document.createElement("a")), se.href = t, e === se.href);
55
+ let oe;
56
+ function Gi(e, t) {
57
+ return e === t ? !0 : (oe || (oe = document.createElement("a")), oe.href = t, e === oe.href);
58
58
  }
59
- function fr(e) {
59
+ function cr(e) {
60
60
  return Object.keys(e).length === 0;
61
61
  }
62
- function wt(e, ...t) {
62
+ function St(e, ...t) {
63
63
  if (e == null) {
64
64
  for (const n of t)
65
65
  n(void 0);
@@ -68,40 +68,40 @@ function wt(e, ...t) {
68
68
  const r = e.subscribe(...t);
69
69
  return r.unsubscribe ? () => r.unsubscribe() : r;
70
70
  }
71
- function cr(e, t, r) {
72
- e.$$.on_destroy.push(wt(t, r));
71
+ function mr(e, t, r) {
72
+ e.$$.on_destroy.push(St(t, r));
73
73
  }
74
- function Ee(e, t, r, n) {
74
+ function He(e, t, r, n) {
75
75
  if (e) {
76
- const i = St(e, t, r, n);
76
+ const i = At(e, t, r, n);
77
77
  return e[0](i);
78
78
  }
79
79
  }
80
- function St(e, t, r, n) {
81
- return e[1] && n ? lr(r.ctx.slice(), e[1](n(t))) : r.ctx;
80
+ function At(e, t, r, n) {
81
+ return e[1] && n ? fr(r.ctx.slice(), e[1](n(t))) : r.ctx;
82
82
  }
83
- function ve(e, t, r, n) {
83
+ function Be(e, t, r, n) {
84
84
  if (e[2] && n) {
85
85
  const i = e[2](n(r));
86
86
  if (t.dirty === void 0)
87
87
  return i;
88
88
  if (typeof i == "object") {
89
- const s = [], o = Math.max(t.dirty.length, i.length);
90
- for (let a = 0; a < o; a += 1)
91
- s[a] = t.dirty[a] | i[a];
89
+ const s = [], a = Math.max(t.dirty.length, i.length);
90
+ for (let o = 0; o < a; o += 1)
91
+ s[o] = t.dirty[o] | i[o];
92
92
  return s;
93
93
  }
94
94
  return t.dirty | i;
95
95
  }
96
96
  return t.dirty;
97
97
  }
98
- function He(e, t, r, n, i, s) {
98
+ function Te(e, t, r, n, i, s) {
99
99
  if (i) {
100
- const o = St(t, r, n, s);
101
- e.p(o, i);
100
+ const a = At(t, r, n, s);
101
+ e.p(a, i);
102
102
  }
103
103
  }
104
- function Be(e) {
104
+ function we(e) {
105
105
  if (e.ctx.length > 32) {
106
106
  const t = [], r = e.ctx.length / 32;
107
107
  for (let n = 0; n < r; n++)
@@ -110,13 +110,13 @@ function Be(e) {
110
110
  }
111
111
  return -1;
112
112
  }
113
- function ce(e, t) {
113
+ function me(e, t) {
114
114
  e.appendChild(t);
115
115
  }
116
- function mr(e, t, r) {
116
+ function pr(e, t, r) {
117
117
  const n = dr(e);
118
118
  if (!n.getElementById(t)) {
119
- const i = X("style");
119
+ const i = z("style");
120
120
  i.id = t, i.textContent = r, br(n, i);
121
121
  }
122
122
  }
@@ -131,48 +131,48 @@ function dr(e) {
131
131
  ) : e.ownerDocument;
132
132
  }
133
133
  function br(e, t) {
134
- return ce(
134
+ return me(
135
135
  /** @type {Document} */
136
136
  e.head || e,
137
137
  t
138
138
  ), t.sheet;
139
139
  }
140
- function I(e, t, r) {
140
+ function M(e, t, r) {
141
141
  e.insertBefore(t, r || null);
142
142
  }
143
- function P(e) {
143
+ function L(e) {
144
144
  e.parentNode && e.parentNode.removeChild(e);
145
145
  }
146
- function X(e) {
146
+ function z(e) {
147
147
  return document.createElement(e);
148
148
  }
149
- function Xe(e) {
149
+ function We(e) {
150
150
  return document.createTextNode(e);
151
151
  }
152
- function tt() {
153
- return Xe(" ");
152
+ function rt() {
153
+ return We(" ");
154
154
  }
155
- function At() {
156
- return Xe("");
155
+ function Ot() {
156
+ return We("");
157
157
  }
158
- function Ot(e, t, r, n) {
158
+ function Pt(e, t, r, n) {
159
159
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
160
160
  }
161
- function z(e, t, r) {
161
+ function W(e, t, r) {
162
162
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
163
163
  }
164
- function Gi(e, t, r) {
164
+ function Fi(e, t, r) {
165
165
  const n = t.toLowerCase();
166
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : z(e, t, r);
166
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : W(e, t, r);
167
167
  }
168
- function pr(e) {
168
+ function gr(e) {
169
169
  return Array.from(e.childNodes);
170
170
  }
171
- function gr(e, t) {
171
+ function _r(e, t) {
172
172
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
173
173
  t);
174
174
  }
175
- function _r(e) {
175
+ function yr(e) {
176
176
  const t = {};
177
177
  return e.childNodes.forEach(
178
178
  /** @param {Element} node */
@@ -181,97 +181,97 @@ function _r(e) {
181
181
  }
182
182
  ), t;
183
183
  }
184
- let Y;
185
- function J(e) {
186
- Y = e;
184
+ let K;
185
+ function Y(e) {
186
+ K = e;
187
187
  }
188
- function yr() {
189
- if (!Y)
188
+ function Er() {
189
+ if (!K)
190
190
  throw new Error("Function called outside component initialization");
191
- return Y;
191
+ return K;
192
192
  }
193
193
  function xr(e) {
194
- yr().$$.on_mount.push(e);
194
+ Er().$$.on_mount.push(e);
195
195
  }
196
- const D = [], Ne = [];
197
- let G = [];
198
- const rt = [], Er = /* @__PURE__ */ Promise.resolve();
199
- let Ie = !1;
200
- function vr() {
201
- Ie || (Ie = !0, Er.then(w));
196
+ const G = [], Me = [];
197
+ let F = [];
198
+ const nt = [], vr = /* @__PURE__ */ Promise.resolve();
199
+ let $e = !1;
200
+ function Hr() {
201
+ $e || ($e = !0, vr.then(w));
202
202
  }
203
- function Me(e) {
204
- G.push(e);
203
+ function Re(e) {
204
+ F.push(e);
205
205
  }
206
- const Te = /* @__PURE__ */ new Set();
207
- let R = 0;
206
+ const Se = /* @__PURE__ */ new Set();
207
+ let U = 0;
208
208
  function w() {
209
- if (R !== 0)
209
+ if (U !== 0)
210
210
  return;
211
- const e = Y;
211
+ const e = K;
212
212
  do {
213
213
  try {
214
- for (; R < D.length; ) {
215
- const t = D[R];
216
- R++, J(t), Hr(t.$$);
214
+ for (; U < G.length; ) {
215
+ const t = G[U];
216
+ U++, Y(t), Br(t.$$);
217
217
  }
218
218
  } catch (t) {
219
- throw D.length = 0, R = 0, t;
219
+ throw G.length = 0, U = 0, t;
220
220
  }
221
- for (J(null), D.length = 0, R = 0; Ne.length; )
222
- Ne.pop()();
223
- for (let t = 0; t < G.length; t += 1) {
224
- const r = G[t];
225
- Te.has(r) || (Te.add(r), r());
221
+ for (Y(null), G.length = 0, U = 0; Me.length; )
222
+ Me.pop()();
223
+ for (let t = 0; t < F.length; t += 1) {
224
+ const r = F[t];
225
+ Se.has(r) || (Se.add(r), r());
226
226
  }
227
- G.length = 0;
228
- } while (D.length);
229
- for (; rt.length; )
230
- rt.pop()();
231
- Ie = !1, Te.clear(), J(e);
227
+ F.length = 0;
228
+ } while (G.length);
229
+ for (; nt.length; )
230
+ nt.pop()();
231
+ $e = !1, Se.clear(), Y(e);
232
232
  }
233
- function Hr(e) {
233
+ function Br(e) {
234
234
  if (e.fragment !== null) {
235
- e.update(), te(e.before_update);
235
+ e.update(), re(e.before_update);
236
236
  const t = e.dirty;
237
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
237
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
238
238
  }
239
239
  }
240
- function Br(e) {
240
+ function Tr(e) {
241
241
  const t = [], r = [];
242
- G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
242
+ F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
243
243
  }
244
- const ae = /* @__PURE__ */ new Set();
245
- let Tr;
246
- function ue(e, t) {
247
- e && e.i && (ae.delete(e), e.i(t));
244
+ const ue = /* @__PURE__ */ new Set();
245
+ let wr;
246
+ function he(e, t) {
247
+ e && e.i && (ue.delete(e), e.i(t));
248
248
  }
249
- function we(e, t, r, n) {
249
+ function Ae(e, t, r, n) {
250
250
  if (e && e.o) {
251
- if (ae.has(e))
251
+ if (ue.has(e))
252
252
  return;
253
- ae.add(e), Tr.c.push(() => {
254
- ae.delete(e);
253
+ ue.add(e), wr.c.push(() => {
254
+ ue.delete(e);
255
255
  }), e.o(t);
256
256
  }
257
257
  }
258
- function wr(e, t, r) {
258
+ function Sr(e, t, r) {
259
259
  const { fragment: n, after_update: i } = e.$$;
260
- n && n.m(t, r), Me(() => {
261
- const s = e.$$.on_mount.map(Bt).filter(Ve);
262
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
263
- }), i.forEach(Me);
260
+ n && n.m(t, r), Re(() => {
261
+ const s = e.$$.on_mount.map(Tt).filter(ze);
262
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
263
+ }), i.forEach(Re);
264
264
  }
265
- function Sr(e, t) {
265
+ function Ar(e, t) {
266
266
  const r = e.$$;
267
- r.fragment !== null && (Br(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
267
+ r.fragment !== null && (Tr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
268
268
  }
269
- function Ar(e, t) {
270
- e.$$.dirty[0] === -1 && (D.push(e), vr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
269
+ function Or(e, t) {
270
+ e.$$.dirty[0] === -1 && (G.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
271
271
  }
272
- function Or(e, t, r, n, i, s, o = null, a = [-1]) {
273
- const l = Y;
274
- J(e);
272
+ function Pr(e, t, r, n, i, s, a = null, o = [-1]) {
273
+ const l = K;
274
+ Y(e);
275
275
  const u = e.$$ = {
276
276
  fragment: null,
277
277
  ctx: [],
@@ -279,7 +279,7 @@ function Or(e, t, r, n, i, s, o = null, a = [-1]) {
279
279
  props: s,
280
280
  update: T,
281
281
  not_equal: i,
282
- bound: et(),
282
+ bound: tt(),
283
283
  // lifecycle
284
284
  on_mount: [],
285
285
  on_destroy: [],
@@ -288,25 +288,25 @@ function Or(e, t, r, n, i, s, o = null, a = [-1]) {
288
288
  after_update: [],
289
289
  context: new Map(t.context || (l ? l.$$.context : [])),
290
290
  // everything else
291
- callbacks: et(),
292
- dirty: a,
291
+ callbacks: tt(),
292
+ dirty: o,
293
293
  skip_bound: !1,
294
294
  root: t.target || l.$$.root
295
295
  };
296
- o && o(u.root);
296
+ a && a(u.root);
297
297
  let h = !1;
298
- if (u.ctx = r ? r(e, t.props || {}, (c, m, ...d) => {
299
- const f = d.length ? d[0] : m;
300
- return u.ctx && i(u.ctx[c], u.ctx[c] = f) && (!u.skip_bound && u.bound[c] && u.bound[c](f), h && Ar(e, c)), m;
301
- }) : [], u.update(), h = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
298
+ if (u.ctx = r ? r(e, t.props || {}, (c, m, ...p) => {
299
+ const f = p.length ? p[0] : m;
300
+ return u.ctx && i(u.ctx[c], u.ctx[c] = f) && (!u.skip_bound && u.bound[c] && u.bound[c](f), h && Or(e, c)), m;
301
+ }) : [], u.update(), h = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
302
302
  if (t.hydrate) {
303
- const c = pr(t.target);
304
- u.fragment && u.fragment.l(c), c.forEach(P);
303
+ const c = gr(t.target);
304
+ u.fragment && u.fragment.l(c), c.forEach(L);
305
305
  } else
306
306
  u.fragment && u.fragment.c();
307
- t.intro && ue(e.$$.fragment), wr(e, t.target, t.anchor), w();
307
+ t.intro && he(e.$$.fragment), Sr(e, t.target, t.anchor), w();
308
308
  }
309
- J(l);
309
+ Y(l);
310
310
  }
311
311
  let Ct;
312
312
  typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
@@ -346,42 +346,42 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
346
346
  }
347
347
  }
348
348
  connectedCallback() {
349
- return Ke(this, null, function* () {
349
+ return et(this, null, function* () {
350
350
  if (this.$$cn = !0, !this.$$c) {
351
351
  let t = function(s) {
352
352
  return () => {
353
- let o;
353
+ let a;
354
354
  return {
355
355
  c: function() {
356
- o = X("slot"), s !== "default" && z(o, "name", s);
356
+ a = z("slot"), s !== "default" && W(a, "name", s);
357
357
  },
358
358
  /**
359
359
  * @param {HTMLElement} target
360
360
  * @param {HTMLElement} [anchor]
361
361
  */
362
362
  m: function(u, h) {
363
- I(u, o, h);
363
+ M(u, a, h);
364
364
  },
365
365
  d: function(u) {
366
- u && P(o);
366
+ u && L(a);
367
367
  }
368
368
  };
369
369
  };
370
370
  };
371
371
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
372
372
  return;
373
- const r = {}, n = _r(this);
373
+ const r = {}, n = yr(this);
374
374
  for (const s of this.$$s)
375
375
  s in n && (r[s] = [t(s)]);
376
376
  for (const s of this.attributes) {
377
- const o = this.$$g_p(s.name);
378
- o in this.$$d || (this.$$d[o] = he(o, s.value, this.$$p_d, "toProp"));
377
+ const a = this.$$g_p(s.name);
378
+ a in this.$$d || (this.$$d[a] = le(a, s.value, this.$$p_d, "toProp"));
379
379
  }
380
380
  for (const s in this.$$p_d)
381
381
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
382
382
  this.$$c = new this.$$ctor({
383
383
  target: this.shadowRoot || this,
384
- props: Ye(Je({}, this.$$d), {
384
+ props: Ke(Ye({}, this.$$d), {
385
385
  $$slots: r,
386
386
  $$scope: {
387
387
  ctx: []
@@ -392,21 +392,21 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
392
392
  this.$$r = !0;
393
393
  for (const s in this.$$p_d)
394
394
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
395
- const o = he(
395
+ const a = le(
396
396
  s,
397
397
  this.$$d[s],
398
398
  this.$$p_d,
399
399
  "toAttribute"
400
400
  );
401
- o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
401
+ a == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, a);
402
402
  }
403
403
  this.$$r = !1;
404
404
  };
405
405
  this.$$c.$$.after_update.push(i), i();
406
406
  for (const s in this.$$l)
407
- for (const o of this.$$l[s]) {
408
- const a = this.$$c.$on(s, o);
409
- this.$$l_u.set(o, a);
407
+ for (const a of this.$$l[s]) {
408
+ const o = this.$$c.$on(s, a);
409
+ this.$$l_u.set(a, o);
410
410
  }
411
411
  this.$$l = {};
412
412
  }
@@ -416,7 +416,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
416
416
  // and setting attributes through setAttribute etc, this is helpful
417
417
  attributeChangedCallback(t, r, n) {
418
418
  var i;
419
- 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] }));
419
+ 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] }));
420
420
  }
421
421
  disconnectedCallback() {
422
422
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -429,7 +429,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
429
429
  ) || t;
430
430
  }
431
431
  });
432
- function he(e, t, r, n) {
432
+ function le(e, t, r, n) {
433
433
  var s;
434
434
  const i = (s = r[e]) == null ? void 0 : s.type;
435
435
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -460,37 +460,37 @@ function he(e, t, r, n) {
460
460
  }
461
461
  }
462
462
  function Cr(e, t, r, n, i, s) {
463
- let o = class extends Ct {
463
+ let a = class extends Ct {
464
464
  constructor() {
465
465
  super(e, r, i), this.$$p_d = t;
466
466
  }
467
467
  static get observedAttributes() {
468
468
  return Object.keys(t).map(
469
- (a) => (t[a].attribute || a).toLowerCase()
469
+ (o) => (t[o].attribute || o).toLowerCase()
470
470
  );
471
471
  }
472
472
  };
473
- return Object.keys(t).forEach((a) => {
474
- Object.defineProperty(o.prototype, a, {
473
+ return Object.keys(t).forEach((o) => {
474
+ Object.defineProperty(a.prototype, o, {
475
475
  get() {
476
- return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
476
+ return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
477
477
  },
478
478
  set(l) {
479
479
  var u;
480
- l = he(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
480
+ l = le(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
481
481
  }
482
482
  });
483
- }), n.forEach((a) => {
484
- Object.defineProperty(o.prototype, a, {
483
+ }), n.forEach((o) => {
484
+ Object.defineProperty(a.prototype, o, {
485
485
  get() {
486
486
  var l;
487
- return (l = this.$$c) == null ? void 0 : l[a];
487
+ return (l = this.$$c) == null ? void 0 : l[o];
488
488
  }
489
489
  });
490
490
  }), e.element = /** @type {any} */
491
- o, o;
491
+ a, a;
492
492
  }
493
- class Pr {
493
+ class Lr {
494
494
  constructor() {
495
495
  /**
496
496
  * ### PRIVATE API
@@ -511,7 +511,7 @@ class Pr {
511
511
  }
512
512
  /** @returns {void} */
513
513
  $destroy() {
514
- Sr(this, 1), this.$destroy = T;
514
+ Ar(this, 1), this.$destroy = T;
515
515
  }
516
516
  /**
517
517
  * @template {Extract<keyof Events, string>} K
@@ -520,7 +520,7 @@ class Pr {
520
520
  * @returns {() => void}
521
521
  */
522
522
  $on(t, r) {
523
- if (!Ve(r))
523
+ if (!ze(r))
524
524
  return T;
525
525
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
526
526
  return n.push(r), () => {
@@ -533,49 +533,49 @@ class Pr {
533
533
  * @returns {void}
534
534
  */
535
535
  $set(t) {
536
- this.$$set && !fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
536
+ this.$$set && !cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
537
537
  }
538
538
  }
539
- const Lr = "4";
540
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Lr);
541
- const U = [];
542
- function Nr(e, t) {
539
+ const Nr = "4";
540
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
541
+ const D = [];
542
+ function Ir(e, t) {
543
543
  return {
544
- subscribe: pe(e, t).subscribe
544
+ subscribe: _e(e, t).subscribe
545
545
  };
546
546
  }
547
- function pe(e, t = T) {
547
+ function _e(e, t = T) {
548
548
  let r;
549
549
  const n = /* @__PURE__ */ new Set();
550
- function i(a) {
551
- if (Tt(e, a) && (e = a, r)) {
552
- const l = !U.length;
550
+ function i(o) {
551
+ if (wt(e, o) && (e = o, r)) {
552
+ const l = !D.length;
553
553
  for (const u of n)
554
- u[1](), U.push(u, e);
554
+ u[1](), D.push(u, e);
555
555
  if (l) {
556
- for (let u = 0; u < U.length; u += 2)
557
- U[u][0](U[u + 1]);
558
- U.length = 0;
556
+ for (let u = 0; u < D.length; u += 2)
557
+ D[u][0](D[u + 1]);
558
+ D.length = 0;
559
559
  }
560
560
  }
561
561
  }
562
- function s(a) {
563
- i(a(e));
562
+ function s(o) {
563
+ i(o(e));
564
564
  }
565
- function o(a, l = T) {
566
- const u = [a, l];
567
- return n.add(u), n.size === 1 && (r = t(i, s) || T), a(e), () => {
565
+ function a(o, l = T) {
566
+ const u = [o, l];
567
+ return n.add(u), n.size === 1 && (r = t(i, s) || T), o(e), () => {
568
568
  n.delete(u), n.size === 0 && r && (r(), r = null);
569
569
  };
570
570
  }
571
- return { set: i, update: s, subscribe: o };
571
+ return { set: i, update: s, subscribe: a };
572
572
  }
573
- function W(e, t, r) {
573
+ function Z(e, t, r) {
574
574
  const n = !Array.isArray(e), i = n ? [e] : e;
575
575
  if (!i.every(Boolean))
576
576
  throw new Error("derived() expects stores as input, got a falsy value");
577
577
  const s = t.length < 2;
578
- return Nr(r, (o, a) => {
578
+ return Ir(r, (a, o) => {
579
579
  let l = !1;
580
580
  const u = [];
581
581
  let h = 0, c = T;
@@ -583,10 +583,10 @@ function W(e, t, r) {
583
583
  if (h)
584
584
  return;
585
585
  c();
586
- const f = t(n ? u[0] : u, o, a);
587
- s ? o(f) : c = Ve(f) ? f : T;
588
- }, d = i.map(
589
- (f, _) => wt(
586
+ const f = t(n ? u[0] : u, a, o);
587
+ s ? a(f) : c = ze(f) ? f : T;
588
+ }, p = i.map(
589
+ (f, _) => St(
590
590
  f,
591
591
  (v) => {
592
592
  u[_] = v, h &= ~(1 << _), l && m();
@@ -597,126 +597,112 @@ function W(e, t, r) {
597
597
  )
598
598
  );
599
599
  return l = !0, m(), function() {
600
- te(d), c(), l = !1;
600
+ re(p), c(), l = !1;
601
601
  };
602
602
  });
603
603
  }
604
- function Ir(e) {
605
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
604
+ function Mr(e) {
605
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
606
606
  }
607
- var Mr = function(t) {
608
- return $r(t) && !Rr(t);
607
+ var $r = function(t) {
608
+ return Rr(t) && !Ur(t);
609
609
  };
610
- function $r(e) {
610
+ function Rr(e) {
611
611
  return !!e && typeof e == "object";
612
612
  }
613
- function Rr(e) {
613
+ function Ur(e) {
614
614
  var t = Object.prototype.toString.call(e);
615
- return t === "[object RegExp]" || t === "[object Date]" || Gr(e);
616
- }
617
- var Ur = typeof Symbol == "function" && Symbol.for, Dr = Ur ? Symbol.for("react.element") : 60103;
618
- function Gr(e) {
619
- return e.$$typeof === Dr;
615
+ return t === "[object RegExp]" || t === "[object Date]" || Fr(e);
620
616
  }
617
+ var Dr = typeof Symbol == "function" && Symbol.for, Gr = Dr ? Symbol.for("react.element") : 60103;
621
618
  function Fr(e) {
619
+ return e.$$typeof === Gr;
620
+ }
621
+ function jr(e) {
622
622
  return Array.isArray(e) ? [] : {};
623
623
  }
624
- function K(e, t) {
625
- return t.clone !== !1 && t.isMergeableObject(e) ? F(Fr(e), e, t) : e;
624
+ function ee(e, t) {
625
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(jr(e), e, t) : e;
626
626
  }
627
- function jr(e, t, r) {
627
+ function kr(e, t, r) {
628
628
  return e.concat(t).map(function(n) {
629
- return K(n, r);
629
+ return ee(n, r);
630
630
  });
631
631
  }
632
- function kr(e, t) {
632
+ function Vr(e, t) {
633
633
  if (!t.customMerge)
634
- return F;
634
+ return j;
635
635
  var r = t.customMerge(e);
636
- return typeof r == "function" ? r : F;
636
+ return typeof r == "function" ? r : j;
637
637
  }
638
- function Vr(e) {
638
+ function Xr(e) {
639
639
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
640
640
  return Object.propertyIsEnumerable.call(e, t);
641
641
  }) : [];
642
642
  }
643
- function nt(e) {
644
- return Object.keys(e).concat(Vr(e));
643
+ function it(e) {
644
+ return Object.keys(e).concat(Xr(e));
645
645
  }
646
- function Pt(e, t) {
646
+ function Lt(e, t) {
647
647
  try {
648
648
  return t in e;
649
649
  } catch (r) {
650
650
  return !1;
651
651
  }
652
652
  }
653
- function Xr(e, t) {
654
- return Pt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
653
+ function zr(e, t) {
654
+ return Lt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
655
655
  }
656
- function zr(e, t, r) {
656
+ function Wr(e, t, r) {
657
657
  var n = {};
658
- return r.isMergeableObject(e) && nt(e).forEach(function(i) {
659
- n[i] = K(e[i], r);
660
- }), nt(t).forEach(function(i) {
661
- Xr(e, i) || (Pt(e, i) && r.isMergeableObject(t[i]) ? n[i] = kr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
658
+ return r.isMergeableObject(e) && it(e).forEach(function(i) {
659
+ n[i] = ee(e[i], r);
660
+ }), it(t).forEach(function(i) {
661
+ zr(e, i) || (Lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Vr(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
662
662
  }), n;
663
663
  }
664
- function F(e, t, r) {
665
- r = r || {}, r.arrayMerge = r.arrayMerge || jr, r.isMergeableObject = r.isMergeableObject || Mr, r.cloneUnlessOtherwiseSpecified = K;
664
+ function j(e, t, r) {
665
+ r = r || {}, r.arrayMerge = r.arrayMerge || kr, r.isMergeableObject = r.isMergeableObject || $r, r.cloneUnlessOtherwiseSpecified = ee;
666
666
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
667
- return s ? n ? r.arrayMerge(e, t, r) : zr(e, t, r) : K(t, r);
667
+ return s ? n ? r.arrayMerge(e, t, r) : Wr(e, t, r) : ee(t, r);
668
668
  }
669
- F.all = function(t, r) {
669
+ j.all = function(t, r) {
670
670
  if (!Array.isArray(t))
671
671
  throw new Error("first argument should be an array");
672
672
  return t.reduce(function(n, i) {
673
- return F(n, i, r);
673
+ return j(n, i, r);
674
674
  }, {});
675
675
  };
676
- var Wr = F, Zr = Wr;
677
- const Qr = /* @__PURE__ */ Ir(Zr);
678
- /*! *****************************************************************************
679
- Copyright (c) Microsoft Corporation.
680
-
681
- Permission to use, copy, modify, and/or distribute this software for any
682
- purpose with or without fee is hereby granted.
683
-
684
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
685
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
686
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
687
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
688
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
689
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
690
- PERFORMANCE OF THIS SOFTWARE.
691
- ***************************************************************************** */
692
- var $e = function(e, t) {
693
- return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
676
+ var Zr = j, Qr = Zr;
677
+ const qr = /* @__PURE__ */ Mr(Qr);
678
+ var Ue = function(e, t) {
679
+ return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
694
680
  r.__proto__ = n;
695
681
  } || function(r, n) {
696
682
  for (var i in n)
697
683
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
698
- }, $e(e, t);
684
+ }, Ue(e, t);
699
685
  };
700
- function ge(e, t) {
686
+ function ye(e, t) {
701
687
  if (typeof t != "function" && t !== null)
702
688
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
703
- $e(e, t);
689
+ Ue(e, t);
704
690
  function r() {
705
691
  this.constructor = e;
706
692
  }
707
693
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
708
694
  }
709
- var y = function() {
710
- return y = Object.assign || function(t) {
695
+ var S = function() {
696
+ return S = Object.assign || function(t) {
711
697
  for (var r, n = 1, i = arguments.length; n < i; n++) {
712
698
  r = arguments[n];
713
699
  for (var s in r)
714
700
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
715
701
  }
716
702
  return t;
717
- }, y.apply(this, arguments);
703
+ }, S.apply(this, arguments);
718
704
  };
719
- function qr(e, t) {
705
+ function Jr(e, t) {
720
706
  var r = {};
721
707
  for (var n in e)
722
708
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -725,46 +711,43 @@ function qr(e, t) {
725
711
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
726
712
  return r;
727
713
  }
728
- function Se(e, t, r) {
729
- if (arguments.length === 2)
714
+ function Oe(e, t, r) {
715
+ if (r || arguments.length === 2)
730
716
  for (var n = 0, i = t.length, s; n < i; n++)
731
717
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
732
- return e.concat(s || t);
718
+ return e.concat(s || Array.prototype.slice.call(t));
733
719
  }
734
- function Ae(e, t) {
735
- var r = t && t.cache ? t.cache : nn, n = t && t.serializer ? t.serializer : tn, i = t && t.strategy ? t.strategy : Yr;
720
+ function Pe(e, t) {
721
+ var r = t && t.cache ? t.cache : sn, n = t && t.serializer ? t.serializer : rn, i = t && t.strategy ? t.strategy : en;
736
722
  return i(e, {
737
723
  cache: r,
738
724
  serializer: n
739
725
  });
740
726
  }
741
- function Jr(e) {
727
+ function Yr(e) {
742
728
  return e == null || typeof e == "number" || typeof e == "boolean";
743
729
  }
744
- function Lt(e, t, r, n) {
745
- var i = Jr(n) ? n : r(n), s = t.get(i);
730
+ function Kr(e, t, r, n) {
731
+ var i = Yr(n) ? n : r(n), s = t.get(i);
746
732
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
747
733
  }
748
734
  function Nt(e, t, r) {
749
735
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
750
736
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
751
737
  }
752
- function ze(e, t, r, n, i) {
738
+ function It(e, t, r, n, i) {
753
739
  return r.bind(t, e, n, i);
754
740
  }
755
- function Yr(e, t) {
756
- var r = e.length === 1 ? Lt : Nt;
757
- return ze(e, this, r, t.cache.create(), t.serializer);
758
- }
759
- function Kr(e, t) {
760
- return ze(e, this, Nt, t.cache.create(), t.serializer);
761
- }
762
741
  function en(e, t) {
763
- return ze(e, this, Lt, t.cache.create(), t.serializer);
742
+ var r = e.length === 1 ? Kr : Nt;
743
+ return It(e, this, r, t.cache.create(), t.serializer);
764
744
  }
765
- var tn = function() {
745
+ function tn(e, t) {
746
+ return It(e, this, Nt, t.cache.create(), t.serializer);
747
+ }
748
+ var rn = function() {
766
749
  return JSON.stringify(arguments);
767
- }, rn = (
750
+ }, nn = (
768
751
  /** @class */
769
752
  function() {
770
753
  function e() {
@@ -776,62 +759,71 @@ var tn = function() {
776
759
  this.cache[t] = r;
777
760
  }, e;
778
761
  }()
779
- ), nn = {
762
+ ), sn = {
780
763
  create: function() {
781
- return new rn();
764
+ return new nn();
782
765
  }
783
- }, Oe = {
784
- variadic: Kr,
785
- monadic: en
786
- }, b;
766
+ }, Ce = {
767
+ variadic: tn
768
+ }, pe = function() {
769
+ return pe = Object.assign || function(t) {
770
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
771
+ r = arguments[n];
772
+ for (var s in r)
773
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
774
+ }
775
+ return t;
776
+ }, pe.apply(this, arguments);
777
+ };
778
+ var d;
787
779
  (function(e) {
788
780
  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";
789
- })(b || (b = {}));
790
- var x;
781
+ })(d || (d = {}));
782
+ var y;
791
783
  (function(e) {
792
784
  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";
793
- })(x || (x = {}));
794
- var j;
785
+ })(y || (y = {}));
786
+ var k;
795
787
  (function(e) {
796
788
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
797
- })(j || (j = {}));
798
- function it(e) {
799
- return e.type === x.literal;
800
- }
801
- function sn(e) {
802
- return e.type === x.argument;
789
+ })(k || (k = {}));
790
+ function st(e) {
791
+ return e.type === y.literal;
803
792
  }
804
- function It(e) {
805
- return e.type === x.number;
793
+ function on(e) {
794
+ return e.type === y.argument;
806
795
  }
807
796
  function Mt(e) {
808
- return e.type === x.date;
797
+ return e.type === y.number;
809
798
  }
810
799
  function $t(e) {
811
- return e.type === x.time;
800
+ return e.type === y.date;
812
801
  }
813
802
  function Rt(e) {
814
- return e.type === x.select;
803
+ return e.type === y.time;
815
804
  }
816
805
  function Ut(e) {
817
- return e.type === x.plural;
818
- }
819
- function on(e) {
820
- return e.type === x.pound;
806
+ return e.type === y.select;
821
807
  }
822
808
  function Dt(e) {
823
- return e.type === x.tag;
809
+ return e.type === y.plural;
810
+ }
811
+ function an(e) {
812
+ return e.type === y.pound;
824
813
  }
825
814
  function Gt(e) {
826
- return !!(e && typeof e == "object" && e.type === j.number);
815
+ return e.type === y.tag;
827
816
  }
828
- function Re(e) {
829
- return !!(e && typeof e == "object" && e.type === j.dateTime);
817
+ function Ft(e) {
818
+ return !!(e && typeof e == "object" && e.type === k.number);
819
+ }
820
+ function De(e) {
821
+ return !!(e && typeof e == "object" && e.type === k.dateTime);
830
822
  }
831
- var Ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, an = /(?:[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;
832
- function un(e) {
823
+ var jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, un = /(?:[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;
824
+ function hn(e) {
833
825
  var t = {};
834
- return e.replace(an, function(r) {
826
+ return e.replace(un, function(r) {
835
827
  var n = r.length;
836
828
  switch (r[0]) {
837
829
  case "G":
@@ -920,36 +912,46 @@ function un(e) {
920
912
  return "";
921
913
  }), t;
922
914
  }
923
- var hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
924
- function ln(e) {
915
+ var E = function() {
916
+ return E = Object.assign || function(t) {
917
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
918
+ r = arguments[n];
919
+ for (var s in r)
920
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
921
+ }
922
+ return t;
923
+ }, E.apply(this, arguments);
924
+ };
925
+ var ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
926
+ function fn(e) {
925
927
  if (e.length === 0)
926
928
  throw new Error("Number skeleton cannot be empty");
927
- for (var t = e.split(hn).filter(function(m) {
929
+ for (var t = e.split(ln).filter(function(m) {
928
930
  return m.length > 0;
929
931
  }), r = [], n = 0, i = t; n < i.length; n++) {
930
- var s = i[n], o = s.split("/");
931
- if (o.length === 0)
932
+ var s = i[n], a = s.split("/");
933
+ if (a.length === 0)
932
934
  throw new Error("Invalid number skeleton");
933
- for (var a = o[0], l = o.slice(1), u = 0, h = l; u < h.length; u++) {
935
+ for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
934
936
  var c = h[u];
935
937
  if (c.length === 0)
936
938
  throw new Error("Invalid number skeleton");
937
939
  }
938
- r.push({ stem: a, options: l });
940
+ r.push({ stem: o, options: l });
939
941
  }
940
942
  return r;
941
943
  }
942
- function fn(e) {
944
+ function cn(e) {
943
945
  return e.replace(/^(.*?)-/, "");
944
946
  }
945
- var st = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g, cn = /(\*)(0+)|(#+)(0+)|(0+)/g, kt = /^(0+)$/;
946
- function ot(e) {
947
+ var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kt = /^(@+)?(\+|#+)?[rs]?$/g, mn = /(\*)(0+)|(#+)(0+)|(0+)/g, Vt = /^(0+)$/;
948
+ function at(e) {
947
949
  var t = {};
948
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jt, function(r, n, i) {
950
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kt, function(r, n, i) {
949
951
  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)), "";
950
952
  }), t;
951
953
  }
952
- function Vt(e) {
954
+ function Xt(e) {
953
955
  switch (e) {
954
956
  case "sign-auto":
955
957
  return {
@@ -989,7 +991,7 @@ function Vt(e) {
989
991
  };
990
992
  }
991
993
  }
992
- function mn(e) {
994
+ function pn(e) {
993
995
  var t;
994
996
  if (e[0] === "E" && e[1] === "E" ? (t = {
995
997
  notation: "engineering"
@@ -997,14 +999,14 @@ function mn(e) {
997
999
  notation: "scientific"
998
1000
  }, e = e.slice(1)), t) {
999
1001
  var r = e.slice(0, 2);
1000
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kt.test(e))
1002
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Vt.test(e))
1001
1003
  throw new Error("Malformed concise eng/scientific notation");
1002
1004
  t.minimumIntegerDigits = e.length;
1003
1005
  }
1004
1006
  return t;
1005
1007
  }
1006
- function at(e) {
1007
- var t = {}, r = Vt(e);
1008
+ function ut(e) {
1009
+ var t = {}, r = Xt(e);
1008
1010
  return r || t;
1009
1011
  }
1010
1012
  function dn(e) {
@@ -1031,7 +1033,7 @@ function dn(e) {
1031
1033
  continue;
1032
1034
  case "measure-unit":
1033
1035
  case "unit":
1034
- t.style = "unit", t.unit = fn(i.options[0]);
1036
+ t.style = "unit", t.unit = cn(i.options[0]);
1035
1037
  continue;
1036
1038
  case "compact-short":
1037
1039
  case "K":
@@ -1042,13 +1044,13 @@ function dn(e) {
1042
1044
  t.notation = "compact", t.compactDisplay = "long";
1043
1045
  continue;
1044
1046
  case "scientific":
1045
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1046
- return y(y({}, l), at(u));
1047
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1048
+ return E(E({}, l), ut(u));
1047
1049
  }, {}));
1048
1050
  continue;
1049
1051
  case "engineering":
1050
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1051
- return y(y({}, l), at(u));
1052
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1053
+ return E(E({}, l), ut(u));
1052
1054
  }, {}));
1053
1055
  continue;
1054
1056
  case "notation-simple":
@@ -1093,45 +1095,45 @@ function dn(e) {
1093
1095
  case "integer-width":
1094
1096
  if (i.options.length > 1)
1095
1097
  throw new RangeError("integer-width stems only accept a single optional option");
1096
- i.options[0].replace(cn, function(l, u, h, c, m, d) {
1098
+ i.options[0].replace(mn, function(l, u, h, c, m, p) {
1097
1099
  if (u)
1098
1100
  t.minimumIntegerDigits = h.length;
1099
1101
  else {
1100
1102
  if (c && m)
1101
1103
  throw new Error("We currently do not support maximum integer digits");
1102
- if (d)
1104
+ if (p)
1103
1105
  throw new Error("We currently do not support exact integer digits");
1104
1106
  }
1105
1107
  return "";
1106
1108
  });
1107
1109
  continue;
1108
1110
  }
1109
- if (kt.test(i.stem)) {
1111
+ if (Vt.test(i.stem)) {
1110
1112
  t.minimumIntegerDigits = i.stem.length;
1111
1113
  continue;
1112
1114
  }
1113
- if (st.test(i.stem)) {
1115
+ if (ot.test(i.stem)) {
1114
1116
  if (i.options.length > 1)
1115
1117
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1116
- i.stem.replace(st, function(l, u, h, c, m, d) {
1117
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && d ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1118
+ i.stem.replace(ot, function(l, u, h, c, m, p) {
1119
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && p ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1118
1120
  });
1119
1121
  var s = i.options[0];
1120
- s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), ot(s)));
1122
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), at(s)));
1121
1123
  continue;
1122
1124
  }
1123
- if (jt.test(i.stem)) {
1124
- t = y(y({}, t), ot(i.stem));
1125
+ if (kt.test(i.stem)) {
1126
+ t = E(E({}, t), at(i.stem));
1125
1127
  continue;
1126
1128
  }
1127
- var o = Vt(i.stem);
1128
- o && (t = y(y({}, t), o));
1129
- var a = mn(i.stem);
1130
- a && (t = y(y({}, t), a));
1129
+ var a = Xt(i.stem);
1130
+ a && (t = E(E({}, t), a));
1131
+ var o = pn(i.stem);
1132
+ o && (t = E(E({}, t), o));
1131
1133
  }
1132
1134
  return t;
1133
1135
  }
1134
- var oe = {
1136
+ var ae = {
1135
1137
  "001": [
1136
1138
  "H",
1137
1139
  "h"
@@ -2552,17 +2554,17 @@ function bn(e, t) {
2552
2554
  if (i === "j") {
2553
2555
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2554
2556
  s++, n++;
2555
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = pn(t);
2556
- for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2557
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = gn(t);
2558
+ for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2557
2559
  r += l;
2558
- for (; o-- > 0; )
2560
+ for (; a-- > 0; )
2559
2561
  r = u + r;
2560
2562
  } else
2561
2563
  i === "J" ? r += "H" : r += i;
2562
2564
  }
2563
2565
  return r;
2564
2566
  }
2565
- function pn(e) {
2567
+ function gn(e) {
2566
2568
  var t = e.hourCycle;
2567
2569
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2568
2570
  e.hourCycles && // @ts-ignore
@@ -2581,23 +2583,23 @@ function pn(e) {
2581
2583
  }
2582
2584
  var r = e.language, n;
2583
2585
  r !== "root" && (n = e.maximize().region);
2584
- var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
2586
+ var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
2585
2587
  return i[0];
2586
2588
  }
2587
- var Ce, gn = new RegExp("^".concat(Ft.source, "*")), _n = new RegExp("".concat(Ft.source, "*$"));
2588
- function p(e, t) {
2589
+ var Le, _n = new RegExp("^".concat(jt.source, "*")), yn = new RegExp("".concat(jt.source, "*$"));
2590
+ function b(e, t) {
2589
2591
  return { start: e, end: t };
2590
2592
  }
2591
- var yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), xn = !!String.fromCodePoint, En = !!Object.fromEntries, vn = !!String.prototype.codePointAt, Hn = !!String.prototype.trimStart, Bn = !!String.prototype.trimEnd, Tn = !!Number.isSafeInteger, wn = Tn ? Number.isSafeInteger : function(e) {
2593
+ var En = !!String.prototype.startsWith && "_a".startsWith("a", 1), xn = !!String.fromCodePoint, vn = !!Object.fromEntries, Hn = !!String.prototype.codePointAt, Bn = !!String.prototype.trimStart, Tn = !!String.prototype.trimEnd, wn = !!Number.isSafeInteger, Sn = wn ? Number.isSafeInteger : function(e) {
2592
2594
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2593
- }, Ue = !0;
2595
+ }, Ge = !0;
2594
2596
  try {
2595
- var Sn = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2596
- Ue = ((Ce = Sn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
2597
+ var An = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2598
+ Ge = ((Le = An.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
2597
2599
  } catch (e) {
2598
- Ue = !1;
2600
+ Ge = !1;
2599
2601
  }
2600
- var ut = yn ? (
2602
+ var ht = En ? (
2601
2603
  // Native
2602
2604
  function(t, r, n) {
2603
2605
  return t.startsWith(r, n);
@@ -2607,31 +2609,31 @@ var ut = yn ? (
2607
2609
  function(t, r, n) {
2608
2610
  return t.slice(n, n + r.length) === r;
2609
2611
  }
2610
- ), De = xn ? String.fromCodePoint : (
2612
+ ), Fe = xn ? String.fromCodePoint : (
2611
2613
  // IE11
2612
2614
  function() {
2613
2615
  for (var t = [], r = 0; r < arguments.length; r++)
2614
2616
  t[r] = arguments[r];
2615
- for (var n = "", i = t.length, s = 0, o; i > s; ) {
2616
- if (o = t[s++], o > 1114111)
2617
- throw RangeError(o + " is not a valid code point");
2618
- n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2617
+ for (var n = "", i = t.length, s = 0, a; i > s; ) {
2618
+ if (a = t[s++], a > 1114111)
2619
+ throw RangeError(a + " is not a valid code point");
2620
+ n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2619
2621
  }
2620
2622
  return n;
2621
2623
  }
2622
- ), ht = (
2624
+ ), lt = (
2623
2625
  // native
2624
- En ? Object.fromEntries : (
2626
+ vn ? Object.fromEntries : (
2625
2627
  // Ponyfill
2626
2628
  function(t) {
2627
2629
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2628
- var s = i[n], o = s[0], a = s[1];
2629
- r[o] = a;
2630
+ var s = i[n], a = s[0], o = s[1];
2631
+ r[a] = o;
2630
2632
  }
2631
2633
  return r;
2632
2634
  }
2633
2635
  )
2634
- ), Xt = vn ? (
2636
+ ), zt = Hn ? (
2635
2637
  // Native
2636
2638
  function(t, r) {
2637
2639
  return t.codePointAt(r);
@@ -2645,7 +2647,7 @@ var ut = yn ? (
2645
2647
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2646
2648
  }
2647
2649
  }
2648
- ), An = Hn ? (
2650
+ ), On = Bn ? (
2649
2651
  // Native
2650
2652
  function(t) {
2651
2653
  return t.trimStart();
@@ -2653,9 +2655,9 @@ var ut = yn ? (
2653
2655
  ) : (
2654
2656
  // Ponyfill
2655
2657
  function(t) {
2656
- return t.replace(gn, "");
2658
+ return t.replace(_n, "");
2657
2659
  }
2658
- ), On = Bn ? (
2660
+ ), Pn = Tn ? (
2659
2661
  // Native
2660
2662
  function(t) {
2661
2663
  return t.trimEnd();
@@ -2663,30 +2665,30 @@ var ut = yn ? (
2663
2665
  ) : (
2664
2666
  // Ponyfill
2665
2667
  function(t) {
2666
- return t.replace(_n, "");
2668
+ return t.replace(yn, "");
2667
2669
  }
2668
2670
  );
2669
- function zt(e, t) {
2671
+ function Wt(e, t) {
2670
2672
  return new RegExp(e, t);
2671
2673
  }
2672
- var Ge;
2673
- if (Ue) {
2674
- var lt = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2675
- Ge = function(t, r) {
2674
+ var je;
2675
+ if (Ge) {
2676
+ var ft = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2677
+ je = function(t, r) {
2676
2678
  var n;
2677
- lt.lastIndex = r;
2678
- var i = lt.exec(t);
2679
+ ft.lastIndex = r;
2680
+ var i = ft.exec(t);
2679
2681
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2680
2682
  };
2681
2683
  } else
2682
- Ge = function(t, r) {
2684
+ je = function(t, r) {
2683
2685
  for (var n = []; ; ) {
2684
- var i = Xt(t, r);
2685
- if (i === void 0 || Wt(i) || Nn(i))
2686
+ var i = zt(t, r);
2687
+ if (i === void 0 || Zt(i) || In(i))
2686
2688
  break;
2687
2689
  n.push(i), r += i >= 65536 ? 2 : 1;
2688
2690
  }
2689
- return De.apply(void 0, n);
2691
+ return Fe.apply(void 0, n);
2690
2692
  };
2691
2693
  var Cn = (
2692
2694
  /** @class */
@@ -2702,33 +2704,33 @@ var Cn = (
2702
2704
  for (var i = []; !this.isEOF(); ) {
2703
2705
  var s = this.char();
2704
2706
  if (s === 123) {
2705
- var o = this.parseArgument(t, n);
2706
- if (o.err)
2707
- return o;
2708
- i.push(o.val);
2707
+ var a = this.parseArgument(t, n);
2708
+ if (a.err)
2709
+ return a;
2710
+ i.push(a.val);
2709
2711
  } else {
2710
2712
  if (s === 125 && t > 0)
2711
2713
  break;
2712
2714
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2713
- var a = this.clonePosition();
2715
+ var o = this.clonePosition();
2714
2716
  this.bump(), i.push({
2715
- type: x.pound,
2716
- location: p(a, this.clonePosition())
2717
+ type: y.pound,
2718
+ location: b(o, this.clonePosition())
2717
2719
  });
2718
2720
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2719
2721
  if (n)
2720
2722
  break;
2721
- return this.error(b.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
2722
- } else if (s === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
2723
- var o = this.parseTag(t, r);
2724
- if (o.err)
2725
- return o;
2726
- i.push(o.val);
2723
+ return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2724
+ } else if (s === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
2725
+ var a = this.parseTag(t, r);
2726
+ if (a.err)
2727
+ return a;
2728
+ i.push(a.val);
2727
2729
  } else {
2728
- var o = this.parseLiteral(t, r);
2729
- if (o.err)
2730
- return o;
2731
- i.push(o.val);
2730
+ var a = this.parseLiteral(t, r);
2731
+ if (a.err)
2732
+ return a;
2733
+ i.push(a.val);
2732
2734
  }
2733
2735
  }
2734
2736
  }
@@ -2740,9 +2742,9 @@ var Cn = (
2740
2742
  if (this.bumpSpace(), this.bumpIf("/>"))
2741
2743
  return {
2742
2744
  val: {
2743
- type: x.literal,
2745
+ type: y.literal,
2744
2746
  value: "<".concat(i, "/>"),
2745
- location: p(n, this.clonePosition())
2747
+ location: b(n, this.clonePosition())
2746
2748
  },
2747
2749
  err: null
2748
2750
  };
@@ -2750,27 +2752,27 @@ var Cn = (
2750
2752
  var s = this.parseMessage(t + 1, r, !0);
2751
2753
  if (s.err)
2752
2754
  return s;
2753
- var o = s.val, a = this.clonePosition();
2755
+ var a = s.val, o = this.clonePosition();
2754
2756
  if (this.bumpIf("</")) {
2755
- if (this.isEOF() || !Fe(this.char()))
2756
- return this.error(b.INVALID_TAG, p(a, this.clonePosition()));
2757
+ if (this.isEOF() || !ke(this.char()))
2758
+ return this.error(d.INVALID_TAG, b(o, this.clonePosition()));
2757
2759
  var l = this.clonePosition(), u = this.parseTagName();
2758
- return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2760
+ return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2759
2761
  val: {
2760
- type: x.tag,
2762
+ type: y.tag,
2761
2763
  value: i,
2762
- children: o,
2763
- location: p(n, this.clonePosition())
2764
+ children: a,
2765
+ location: b(n, this.clonePosition())
2764
2766
  },
2765
2767
  err: null
2766
- } : this.error(b.INVALID_TAG, p(a, this.clonePosition())));
2768
+ } : this.error(d.INVALID_TAG, b(o, this.clonePosition())));
2767
2769
  } else
2768
- return this.error(b.UNCLOSED_TAG, p(n, this.clonePosition()));
2770
+ return this.error(d.UNCLOSED_TAG, b(n, this.clonePosition()));
2769
2771
  } else
2770
- return this.error(b.INVALID_TAG, p(n, this.clonePosition()));
2772
+ return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
2771
2773
  }, e.prototype.parseTagName = function() {
2772
2774
  var t = this.offset();
2773
- for (this.bump(); !this.isEOF() && Ln(this.char()); )
2775
+ for (this.bump(); !this.isEOF() && Nn(this.char()); )
2774
2776
  this.bump();
2775
2777
  return this.message.slice(t, this.offset());
2776
2778
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2780,26 +2782,26 @@ var Cn = (
2780
2782
  i += s;
2781
2783
  continue;
2782
2784
  }
2783
- var o = this.tryParseUnquoted(t, r);
2784
- if (o) {
2785
- i += o;
2786
- continue;
2787
- }
2788
- var a = this.tryParseLeftAngleBracket();
2785
+ var a = this.tryParseUnquoted(t, r);
2789
2786
  if (a) {
2790
2787
  i += a;
2791
2788
  continue;
2792
2789
  }
2790
+ var o = this.tryParseLeftAngleBracket();
2791
+ if (o) {
2792
+ i += o;
2793
+ continue;
2794
+ }
2793
2795
  break;
2794
2796
  }
2795
- var l = p(n, this.clonePosition());
2797
+ var l = b(n, this.clonePosition());
2796
2798
  return {
2797
- val: { type: x.literal, value: i, location: l },
2799
+ val: { type: y.literal, value: i, location: l },
2798
2800
  err: null
2799
2801
  };
2800
2802
  }, e.prototype.tryParseLeftAngleBracket = function() {
2801
2803
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2802
- !Pn(this.peek() || 0)) ? (this.bump(), "<") : null;
2804
+ !Ln(this.peek() || 0)) ? (this.bump(), "<") : null;
2803
2805
  }, e.prototype.tryParseQuote = function(t) {
2804
2806
  if (this.isEOF() || this.char() !== 39)
2805
2807
  return null;
@@ -2833,49 +2835,49 @@ var Cn = (
2833
2835
  r.push(n);
2834
2836
  this.bump();
2835
2837
  }
2836
- return De.apply(void 0, r);
2838
+ return Fe.apply(void 0, r);
2837
2839
  }, e.prototype.tryParseUnquoted = function(t, r) {
2838
2840
  if (this.isEOF())
2839
2841
  return null;
2840
2842
  var n = this.char();
2841
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), De(n));
2843
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
2842
2844
  }, e.prototype.parseArgument = function(t, r) {
2843
2845
  var n = this.clonePosition();
2844
2846
  if (this.bump(), this.bumpSpace(), this.isEOF())
2845
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition()));
2847
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2846
2848
  if (this.char() === 125)
2847
- return this.bump(), this.error(b.EMPTY_ARGUMENT, p(n, this.clonePosition()));
2849
+ return this.bump(), this.error(d.EMPTY_ARGUMENT, b(n, this.clonePosition()));
2848
2850
  var i = this.parseIdentifierIfPossible().value;
2849
2851
  if (!i)
2850
- return this.error(b.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
2852
+ return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2851
2853
  if (this.bumpSpace(), this.isEOF())
2852
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition()));
2854
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2853
2855
  switch (this.char()) {
2854
2856
  case 125:
2855
2857
  return this.bump(), {
2856
2858
  val: {
2857
- type: x.argument,
2859
+ type: y.argument,
2858
2860
  // value does not include the opening and closing braces.
2859
2861
  value: i,
2860
- location: p(n, this.clonePosition())
2862
+ location: b(n, this.clonePosition())
2861
2863
  },
2862
2864
  err: null
2863
2865
  };
2864
2866
  case 44:
2865
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2867
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2866
2868
  default:
2867
- return this.error(b.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
2869
+ return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2868
2870
  }
2869
2871
  }, e.prototype.parseIdentifierIfPossible = function() {
2870
- var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
2872
+ var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
2871
2873
  this.bumpTo(i);
2872
- var s = this.clonePosition(), o = p(t, s);
2873
- return { value: n, location: o };
2874
+ var s = this.clonePosition(), a = b(t, s);
2875
+ return { value: n, location: a };
2874
2876
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2875
- var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2876
- switch (a) {
2877
+ var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2878
+ switch (o) {
2877
2879
  case "":
2878
- return this.error(b.EXPECT_ARGUMENT_TYPE, p(o, l));
2880
+ return this.error(d.EXPECT_ARGUMENT_TYPE, b(a, l));
2879
2881
  case "number":
2880
2882
  case "date":
2881
2883
  case "time": {
@@ -2886,44 +2888,44 @@ var Cn = (
2886
2888
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2887
2889
  if (c.err)
2888
2890
  return c;
2889
- var m = On(c.val);
2891
+ var m = Pn(c.val);
2890
2892
  if (m.length === 0)
2891
- return this.error(b.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
2892
- var d = p(h, this.clonePosition());
2893
- u = { style: m, styleLocation: d };
2893
+ return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2894
+ var p = b(h, this.clonePosition());
2895
+ u = { style: m, styleLocation: p };
2894
2896
  }
2895
2897
  var f = this.tryParseArgumentClose(i);
2896
2898
  if (f.err)
2897
2899
  return f;
2898
- var _ = p(i, this.clonePosition());
2899
- if (u && ut(u == null ? void 0 : u.style, "::", 0)) {
2900
- var v = An(u.style.slice(2));
2901
- if (a === "number") {
2900
+ var _ = b(i, this.clonePosition());
2901
+ if (u && ht(u == null ? void 0 : u.style, "::", 0)) {
2902
+ var v = On(u.style.slice(2));
2903
+ if (o === "number") {
2902
2904
  var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
2903
2905
  return c.err ? c : {
2904
- val: { type: x.number, value: n, location: _, style: c.val },
2906
+ val: { type: y.number, value: n, location: _, style: c.val },
2905
2907
  err: null
2906
2908
  };
2907
2909
  } else {
2908
2910
  if (v.length === 0)
2909
- return this.error(b.EXPECT_DATE_TIME_SKELETON, _);
2910
- var A = v;
2911
- this.locale && (A = bn(v, this.locale));
2911
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
2912
+ var O = v;
2913
+ this.locale && (O = bn(v, this.locale));
2912
2914
  var m = {
2913
- type: j.dateTime,
2914
- pattern: A,
2915
+ type: k.dateTime,
2916
+ pattern: O,
2915
2917
  location: u.styleLocation,
2916
- parsedOptions: this.shouldParseSkeletons ? un(A) : {}
2917
- }, O = a === "date" ? x.date : x.time;
2918
+ parsedOptions: this.shouldParseSkeletons ? hn(O) : {}
2919
+ }, P = o === "date" ? y.date : y.time;
2918
2920
  return {
2919
- val: { type: O, value: n, location: _, style: m },
2921
+ val: { type: P, value: n, location: _, style: m },
2920
2922
  err: null
2921
2923
  };
2922
2924
  }
2923
2925
  }
2924
2926
  return {
2925
2927
  val: {
2926
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
2928
+ type: o === "number" ? y.number : o === "date" ? y.date : y.time,
2927
2929
  value: n,
2928
2930
  location: _,
2929
2931
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
@@ -2936,50 +2938,50 @@ var Cn = (
2936
2938
  case "select": {
2937
2939
  var H = this.clonePosition();
2938
2940
  if (this.bumpSpace(), !this.bumpIf(","))
2939
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, p(H, y({}, H)));
2941
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, pe({}, H)));
2940
2942
  this.bumpSpace();
2941
- var N = this.parseIdentifierIfPossible(), S = 0;
2942
- if (a !== "select" && N.value === "offset") {
2943
+ var I = this.parseIdentifierIfPossible(), A = 0;
2944
+ if (o !== "select" && I.value === "offset") {
2943
2945
  if (!this.bumpIf(":"))
2944
- return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p(this.clonePosition(), this.clonePosition()));
2946
+ return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2945
2947
  this.bumpSpace();
2946
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2948
+ var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2947
2949
  if (c.err)
2948
2950
  return c;
2949
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), S = c.val;
2951
+ this.bumpSpace(), I = this.parseIdentifierIfPossible(), A = c.val;
2950
2952
  }
2951
- var $ = this.tryParsePluralOrSelectOptions(t, a, r, N);
2952
- if ($.err)
2953
- return $;
2953
+ var R = this.tryParsePluralOrSelectOptions(t, o, r, I);
2954
+ if (R.err)
2955
+ return R;
2954
2956
  var f = this.tryParseArgumentClose(i);
2955
2957
  if (f.err)
2956
2958
  return f;
2957
- var ie = p(i, this.clonePosition());
2958
- return a === "select" ? {
2959
+ var se = b(i, this.clonePosition());
2960
+ return o === "select" ? {
2959
2961
  val: {
2960
- type: x.select,
2962
+ type: y.select,
2961
2963
  value: n,
2962
- options: ht($.val),
2963
- location: ie
2964
+ options: lt(R.val),
2965
+ location: se
2964
2966
  },
2965
2967
  err: null
2966
2968
  } : {
2967
2969
  val: {
2968
- type: x.plural,
2970
+ type: y.plural,
2969
2971
  value: n,
2970
- options: ht($.val),
2971
- offset: S,
2972
- pluralType: a === "plural" ? "cardinal" : "ordinal",
2973
- location: ie
2972
+ options: lt(R.val),
2973
+ offset: A,
2974
+ pluralType: o === "plural" ? "cardinal" : "ordinal",
2975
+ location: se
2974
2976
  },
2975
2977
  err: null
2976
2978
  };
2977
2979
  }
2978
2980
  default:
2979
- return this.error(b.INVALID_ARGUMENT_TYPE, p(o, l));
2981
+ return this.error(d.INVALID_ARGUMENT_TYPE, b(a, l));
2980
2982
  }
2981
2983
  }, e.prototype.tryParseArgumentClose = function(t) {
2982
- return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, p(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2984
+ return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2983
2985
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2984
2986
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2985
2987
  var n = this.char();
@@ -2988,7 +2990,7 @@ var Cn = (
2988
2990
  this.bump();
2989
2991
  var i = this.clonePosition();
2990
2992
  if (!this.bumpUntil("'"))
2991
- return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, p(i, this.clonePosition()));
2993
+ return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
2992
2994
  this.bump();
2993
2995
  break;
2994
2996
  }
@@ -3018,13 +3020,13 @@ var Cn = (
3018
3020
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3019
3021
  var n = [];
3020
3022
  try {
3021
- n = ln(t);
3023
+ n = fn(t);
3022
3024
  } catch (i) {
3023
- return this.error(b.INVALID_NUMBER_SKELETON, r);
3025
+ return this.error(d.INVALID_NUMBER_SKELETON, r);
3024
3026
  }
3025
3027
  return {
3026
3028
  val: {
3027
- type: j.number,
3029
+ type: k.number,
3028
3030
  tokens: n,
3029
3031
  location: r,
3030
3032
  parsedOptions: this.shouldParseSkeletons ? dn(n) : {}
@@ -3032,50 +3034,50 @@ var Cn = (
3032
3034
  err: null
3033
3035
  };
3034
3036
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3035
- for (var s, o = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3037
+ for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3036
3038
  if (u.length === 0) {
3037
3039
  var c = this.clonePosition();
3038
3040
  if (r !== "select" && this.bumpIf("=")) {
3039
- var m = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3041
+ var m = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3040
3042
  if (m.err)
3041
3043
  return m;
3042
- h = p(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3044
+ h = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3043
3045
  } else
3044
3046
  break;
3045
3047
  }
3046
3048
  if (l.has(u))
3047
- return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3048
- u === "other" && (o = !0), this.bumpSpace();
3049
- var d = this.clonePosition();
3049
+ return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3050
+ u === "other" && (a = !0), this.bumpSpace();
3051
+ var p = this.clonePosition();
3050
3052
  if (!this.bumpIf("{"))
3051
- return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
3053
+ return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3052
3054
  var f = this.parseMessage(t + 1, r, n);
3053
3055
  if (f.err)
3054
3056
  return f;
3055
- var _ = this.tryParseArgumentClose(d);
3057
+ var _ = this.tryParseArgumentClose(p);
3056
3058
  if (_.err)
3057
3059
  return _;
3058
- a.push([
3060
+ o.push([
3059
3061
  u,
3060
3062
  {
3061
3063
  value: f.val,
3062
- location: p(d, this.clonePosition())
3064
+ location: b(p, this.clonePosition())
3063
3065
  }
3064
3066
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3065
3067
  }
3066
- return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(b.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3068
+ 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 };
3067
3069
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3068
3070
  var n = 1, i = this.clonePosition();
3069
3071
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3070
- for (var s = !1, o = 0; !this.isEOF(); ) {
3071
- var a = this.char();
3072
- if (a >= 48 && a <= 57)
3073
- s = !0, o = o * 10 + (a - 48), this.bump();
3072
+ for (var s = !1, a = 0; !this.isEOF(); ) {
3073
+ var o = this.char();
3074
+ if (o >= 48 && o <= 57)
3075
+ s = !0, a = a * 10 + (o - 48), this.bump();
3074
3076
  else
3075
3077
  break;
3076
3078
  }
3077
- var l = p(i, this.clonePosition());
3078
- return s ? (o *= n, wn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3079
+ var l = b(i, this.clonePosition());
3080
+ return s ? (a *= n, Sn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3079
3081
  }, e.prototype.offset = function() {
3080
3082
  return this.position.offset;
3081
3083
  }, e.prototype.isEOF = function() {
@@ -3090,7 +3092,7 @@ var Cn = (
3090
3092
  var t = this.position.offset;
3091
3093
  if (t >= this.message.length)
3092
3094
  throw Error("out of bound");
3093
- var r = Xt(this.message, t);
3095
+ var r = zt(this.message, t);
3094
3096
  if (r === void 0)
3095
3097
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3096
3098
  return r;
@@ -3109,7 +3111,7 @@ var Cn = (
3109
3111
  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);
3110
3112
  }
3111
3113
  }, e.prototype.bumpIf = function(t) {
3112
- if (ut(this.message, t, this.offset())) {
3114
+ if (ht(this.message, t, this.offset())) {
3113
3115
  for (var r = 0; r < t.length; r++)
3114
3116
  this.bump();
3115
3117
  return !0;
@@ -3131,7 +3133,7 @@ var Cn = (
3131
3133
  break;
3132
3134
  }
3133
3135
  }, e.prototype.bumpSpace = function() {
3134
- for (; !this.isEOF() && Wt(this.char()); )
3136
+ for (; !this.isEOF() && Zt(this.char()); )
3135
3137
  this.bump();
3136
3138
  }, e.prototype.peek = function() {
3137
3139
  if (this.isEOF())
@@ -3141,47 +3143,47 @@ var Cn = (
3141
3143
  }, e;
3142
3144
  }()
3143
3145
  );
3144
- function Fe(e) {
3146
+ function ke(e) {
3145
3147
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3146
3148
  }
3147
- function Pn(e) {
3148
- return Fe(e) || e === 47;
3149
- }
3150
3149
  function Ln(e) {
3150
+ return ke(e) || e === 47;
3151
+ }
3152
+ function Nn(e) {
3151
3153
  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;
3152
3154
  }
3153
- function Wt(e) {
3155
+ function Zt(e) {
3154
3156
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3155
3157
  }
3156
- function Nn(e) {
3158
+ function In(e) {
3157
3159
  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;
3158
3160
  }
3159
- function je(e) {
3161
+ function Ve(e) {
3160
3162
  e.forEach(function(t) {
3161
- if (delete t.location, Rt(t) || Ut(t))
3163
+ if (delete t.location, Ut(t) || Dt(t))
3162
3164
  for (var r in t.options)
3163
- delete t.options[r].location, je(t.options[r].value);
3165
+ delete t.options[r].location, Ve(t.options[r].value);
3164
3166
  else
3165
- It(t) && Gt(t.style) || (Mt(t) || $t(t)) && Re(t.style) ? delete t.style.location : Dt(t) && je(t.children);
3167
+ Mt(t) && Ft(t.style) || ($t(t) || Rt(t)) && De(t.style) ? delete t.style.location : Gt(t) && Ve(t.children);
3166
3168
  });
3167
3169
  }
3168
- function In(e, t) {
3169
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3170
+ function Mn(e, t) {
3171
+ t === void 0 && (t = {}), t = pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3170
3172
  var r = new Cn(e, t).parse();
3171
3173
  if (r.err) {
3172
- var n = SyntaxError(b[r.err.kind]);
3174
+ var n = SyntaxError(d[r.err.kind]);
3173
3175
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3174
3176
  }
3175
- return t != null && t.captureLocation || je(r.val), r.val;
3177
+ return t != null && t.captureLocation || Ve(r.val), r.val;
3176
3178
  }
3177
- var k;
3179
+ var V;
3178
3180
  (function(e) {
3179
3181
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3180
- })(k || (k = {}));
3181
- var _e = (
3182
+ })(V || (V = {}));
3183
+ var Ee = (
3182
3184
  /** @class */
3183
3185
  function(e) {
3184
- ge(t, e);
3186
+ ye(t, e);
3185
3187
  function t(r, n, i) {
3186
3188
  var s = e.call(this, r) || this;
3187
3189
  return s.code = n, s.originalMessage = i, s;
@@ -3190,155 +3192,155 @@ var _e = (
3190
3192
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3191
3193
  }, t;
3192
3194
  }(Error)
3193
- ), ft = (
3195
+ ), ct = (
3194
3196
  /** @class */
3195
3197
  function(e) {
3196
- ge(t, e);
3198
+ ye(t, e);
3197
3199
  function t(r, n, i, s) {
3198
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, s) || this;
3200
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
3199
3201
  }
3200
3202
  return t;
3201
- }(_e)
3202
- ), Mn = (
3203
+ }(Ee)
3204
+ ), $n = (
3203
3205
  /** @class */
3204
3206
  function(e) {
3205
- ge(t, e);
3207
+ ye(t, e);
3206
3208
  function t(r, n, i) {
3207
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), k.INVALID_VALUE, i) || this;
3209
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3208
3210
  }
3209
3211
  return t;
3210
- }(_e)
3211
- ), $n = (
3212
+ }(Ee)
3213
+ ), Rn = (
3212
3214
  /** @class */
3213
3215
  function(e) {
3214
- ge(t, e);
3216
+ ye(t, e);
3215
3217
  function t(r, n) {
3216
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), k.MISSING_VALUE, n) || this;
3218
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3217
3219
  }
3218
3220
  return t;
3219
- }(_e)
3220
- ), E;
3221
+ }(Ee)
3222
+ ), x;
3221
3223
  (function(e) {
3222
3224
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3223
- })(E || (E = {}));
3224
- function Rn(e) {
3225
+ })(x || (x = {}));
3226
+ function Un(e) {
3225
3227
  return e.length < 2 ? e : e.reduce(function(t, r) {
3226
3228
  var n = t[t.length - 1];
3227
- return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3229
+ return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3228
3230
  }, []);
3229
3231
  }
3230
- function Un(e) {
3232
+ function Dn(e) {
3231
3233
  return typeof e == "function";
3232
3234
  }
3233
- function le(e, t, r, n, i, s, o) {
3234
- if (e.length === 1 && it(e[0]))
3235
+ function fe(e, t, r, n, i, s, a) {
3236
+ if (e.length === 1 && st(e[0]))
3235
3237
  return [
3236
3238
  {
3237
- type: E.literal,
3239
+ type: x.literal,
3238
3240
  value: e[0].value
3239
3241
  }
3240
3242
  ];
3241
- for (var a = [], l = 0, u = e; l < u.length; l++) {
3243
+ for (var o = [], l = 0, u = e; l < u.length; l++) {
3242
3244
  var h = u[l];
3243
- if (it(h)) {
3244
- a.push({
3245
- type: E.literal,
3245
+ if (st(h)) {
3246
+ o.push({
3247
+ type: x.literal,
3246
3248
  value: h.value
3247
3249
  });
3248
3250
  continue;
3249
3251
  }
3250
- if (on(h)) {
3251
- typeof s == "number" && a.push({
3252
- type: E.literal,
3252
+ if (an(h)) {
3253
+ typeof s == "number" && o.push({
3254
+ type: x.literal,
3253
3255
  value: r.getNumberFormat(t).format(s)
3254
3256
  });
3255
3257
  continue;
3256
3258
  }
3257
3259
  var c = h.value;
3258
3260
  if (!(i && c in i))
3259
- throw new $n(c, o);
3261
+ throw new Rn(c, a);
3260
3262
  var m = i[c];
3261
- if (sn(h)) {
3262
- (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3263
- type: typeof m == "string" ? E.literal : E.object,
3263
+ if (on(h)) {
3264
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), o.push({
3265
+ type: typeof m == "string" ? x.literal : x.object,
3264
3266
  value: m
3265
3267
  });
3266
3268
  continue;
3267
3269
  }
3268
- if (Mt(h)) {
3269
- var d = typeof h.style == "string" ? n.date[h.style] : Re(h.style) ? h.style.parsedOptions : void 0;
3270
- a.push({
3271
- type: E.literal,
3272
- value: r.getDateTimeFormat(t, d).format(m)
3270
+ if ($t(h)) {
3271
+ var p = typeof h.style == "string" ? n.date[h.style] : De(h.style) ? h.style.parsedOptions : void 0;
3272
+ o.push({
3273
+ type: x.literal,
3274
+ value: r.getDateTimeFormat(t, p).format(m)
3273
3275
  });
3274
3276
  continue;
3275
3277
  }
3276
- if ($t(h)) {
3277
- var d = typeof h.style == "string" ? n.time[h.style] : Re(h.style) ? h.style.parsedOptions : n.time.medium;
3278
- a.push({
3279
- type: E.literal,
3280
- value: r.getDateTimeFormat(t, d).format(m)
3278
+ if (Rt(h)) {
3279
+ var p = typeof h.style == "string" ? n.time[h.style] : De(h.style) ? h.style.parsedOptions : n.time.medium;
3280
+ o.push({
3281
+ type: x.literal,
3282
+ value: r.getDateTimeFormat(t, p).format(m)
3281
3283
  });
3282
3284
  continue;
3283
3285
  }
3284
- if (It(h)) {
3285
- var d = typeof h.style == "string" ? n.number[h.style] : Gt(h.style) ? h.style.parsedOptions : void 0;
3286
- d && d.scale && (m = m * (d.scale || 1)), a.push({
3287
- type: E.literal,
3288
- value: r.getNumberFormat(t, d).format(m)
3286
+ if (Mt(h)) {
3287
+ var p = typeof h.style == "string" ? n.number[h.style] : Ft(h.style) ? h.style.parsedOptions : void 0;
3288
+ p && p.scale && (m = m * (p.scale || 1)), o.push({
3289
+ type: x.literal,
3290
+ value: r.getNumberFormat(t, p).format(m)
3289
3291
  });
3290
3292
  continue;
3291
3293
  }
3292
- if (Dt(h)) {
3294
+ if (Gt(h)) {
3293
3295
  var f = h.children, _ = h.value, v = i[_];
3294
- if (!Un(v))
3295
- throw new Mn(_, "function", o);
3296
- var A = le(f, t, r, n, i, s), O = v(A.map(function(S) {
3297
- return S.value;
3296
+ if (!Dn(v))
3297
+ throw new $n(_, "function", a);
3298
+ var O = fe(f, t, r, n, i, s), P = v(O.map(function(A) {
3299
+ return A.value;
3298
3300
  }));
3299
- Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(S) {
3301
+ Array.isArray(P) || (P = [P]), o.push.apply(o, P.map(function(A) {
3300
3302
  return {
3301
- type: typeof S == "string" ? E.literal : E.object,
3302
- value: S
3303
+ type: typeof A == "string" ? x.literal : x.object,
3304
+ value: A
3303
3305
  };
3304
3306
  }));
3305
3307
  }
3306
- if (Rt(h)) {
3308
+ if (Ut(h)) {
3307
3309
  var H = h.options[m] || h.options.other;
3308
3310
  if (!H)
3309
- throw new ft(h.value, m, Object.keys(h.options), o);
3310
- a.push.apply(a, le(H.value, t, r, n, i));
3311
+ throw new ct(h.value, m, Object.keys(h.options), a);
3312
+ o.push.apply(o, fe(H.value, t, r, n, i));
3311
3313
  continue;
3312
3314
  }
3313
- if (Ut(h)) {
3315
+ if (Dt(h)) {
3314
3316
  var H = h.options["=".concat(m)];
3315
3317
  if (!H) {
3316
3318
  if (!Intl.PluralRules)
3317
- throw new _e(`Intl.PluralRules is not available in this environment.
3319
+ throw new Ee(`Intl.PluralRules is not available in this environment.
3318
3320
  Try polyfilling it using "@formatjs/intl-pluralrules"
3319
- `, k.MISSING_INTL_API, o);
3320
- var N = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
3321
- H = h.options[N] || h.options.other;
3321
+ `, V.MISSING_INTL_API, a);
3322
+ var I = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
3323
+ H = h.options[I] || h.options.other;
3322
3324
  }
3323
3325
  if (!H)
3324
- throw new ft(h.value, m, Object.keys(h.options), o);
3325
- a.push.apply(a, le(H.value, t, r, n, i, m - (h.offset || 0)));
3326
+ throw new ct(h.value, m, Object.keys(h.options), a);
3327
+ o.push.apply(o, fe(H.value, t, r, n, i, m - (h.offset || 0)));
3326
3328
  continue;
3327
3329
  }
3328
3330
  }
3329
- return Rn(a);
3331
+ return Un(o);
3330
3332
  }
3331
- function Dn(e, t) {
3332
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3333
- return r[n] = y(y({}, e[n]), t[n] || {}), r;
3333
+ function Gn(e, t) {
3334
+ return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3335
+ return r[n] = S(S({}, e[n]), t[n] || {}), r;
3334
3336
  }, {})) : e;
3335
3337
  }
3336
- function Gn(e, t) {
3338
+ function Fn(e, t) {
3337
3339
  return t ? Object.keys(e).reduce(function(r, n) {
3338
- return r[n] = Dn(e[n], t[n]), r;
3339
- }, y({}, e)) : e;
3340
+ return r[n] = Gn(e[n], t[n]), r;
3341
+ }, S({}, e)) : e;
3340
3342
  }
3341
- function Pe(e) {
3343
+ function Ne(e) {
3342
3344
  return {
3343
3345
  create: function() {
3344
3346
  return {
@@ -3352,39 +3354,39 @@ function Pe(e) {
3352
3354
  }
3353
3355
  };
3354
3356
  }
3355
- function Fn(e) {
3357
+ function jn(e) {
3356
3358
  return e === void 0 && (e = {
3357
3359
  number: {},
3358
3360
  dateTime: {},
3359
3361
  pluralRules: {}
3360
3362
  }), {
3361
- getNumberFormat: Ae(function() {
3363
+ getNumberFormat: Pe(function() {
3362
3364
  for (var t, r = [], n = 0; n < arguments.length; n++)
3363
3365
  r[n] = arguments[n];
3364
- return new ((t = Intl.NumberFormat).bind.apply(t, Se([void 0], r, !1)))();
3366
+ return new ((t = Intl.NumberFormat).bind.apply(t, Oe([void 0], r, !1)))();
3365
3367
  }, {
3366
- cache: Pe(e.number),
3367
- strategy: Oe.variadic
3368
+ cache: Ne(e.number),
3369
+ strategy: Ce.variadic
3368
3370
  }),
3369
- getDateTimeFormat: Ae(function() {
3371
+ getDateTimeFormat: Pe(function() {
3370
3372
  for (var t, r = [], n = 0; n < arguments.length; n++)
3371
3373
  r[n] = arguments[n];
3372
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Se([void 0], r, !1)))();
3374
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Oe([void 0], r, !1)))();
3373
3375
  }, {
3374
- cache: Pe(e.dateTime),
3375
- strategy: Oe.variadic
3376
+ cache: Ne(e.dateTime),
3377
+ strategy: Ce.variadic
3376
3378
  }),
3377
- getPluralRules: Ae(function() {
3379
+ getPluralRules: Pe(function() {
3378
3380
  for (var t, r = [], n = 0; n < arguments.length; n++)
3379
3381
  r[n] = arguments[n];
3380
- return new ((t = Intl.PluralRules).bind.apply(t, Se([void 0], r, !1)))();
3382
+ return new ((t = Intl.PluralRules).bind.apply(t, Oe([void 0], r, !1)))();
3381
3383
  }, {
3382
- cache: Pe(e.pluralRules),
3383
- strategy: Oe.variadic
3384
+ cache: Ne(e.pluralRules),
3385
+ strategy: Ce.variadic
3384
3386
  })
3385
3387
  };
3386
3388
  }
3387
- var Zt = (
3389
+ var Qt = (
3388
3390
  /** @class */
3389
3391
  function() {
3390
3392
  function e(t, r, n, i) {
@@ -3399,11 +3401,11 @@ var Zt = (
3399
3401
  if (u.length === 1)
3400
3402
  return u[0].value;
3401
3403
  var h = u.reduce(function(c, m) {
3402
- return !c.length || m.type !== E.literal || typeof c[c.length - 1] != "string" ? c.push(m.value) : c[c.length - 1] += m.value, c;
3404
+ return !c.length || m.type !== x.literal || typeof c[c.length - 1] != "string" ? c.push(m.value) : c[c.length - 1] += m.value, c;
3403
3405
  }, []);
3404
3406
  return h.length <= 1 ? h[0] || "" : h;
3405
3407
  }, this.formatToParts = function(l) {
3406
- return le(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3408
+ return fe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3407
3409
  }, this.resolvedOptions = function() {
3408
3410
  var l;
3409
3411
  return {
@@ -3414,15 +3416,15 @@ var Zt = (
3414
3416
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3415
3417
  if (this.message = t, !e.__parse)
3416
3418
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3417
- var o = i || {};
3418
- o.formatters;
3419
- var a = qr(o, ["formatters"]);
3420
- this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3419
+ var a = i || {};
3420
+ a.formatters;
3421
+ var o = Jr(a, ["formatters"]);
3422
+ this.ast = e.__parse(t, S(S({}, o), { locale: this.resolvedLocale }));
3421
3423
  } else
3422
3424
  this.ast = t;
3423
3425
  if (!Array.isArray(this.ast))
3424
3426
  throw new TypeError("A message must be provided as a String or AST.");
3425
- this.formats = Gn(e.formats, n), this.formatters = i && i.formatters || Fn(this.formatterCache);
3427
+ this.formats = Fn(e.formats, n), this.formatters = i && i.formatters || jn(this.formatterCache);
3426
3428
  }
3427
3429
  return Object.defineProperty(e, "defaultLocale", {
3428
3430
  get: function() {
@@ -3435,7 +3437,7 @@ var Zt = (
3435
3437
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3436
3438
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3437
3439
  }
3438
- }, e.__parse = In, e.formats = {
3440
+ }, e.__parse = Mn, e.formats = {
3439
3441
  number: {
3440
3442
  integer: {
3441
3443
  maximumFractionDigits: 0
@@ -3496,7 +3498,7 @@ var Zt = (
3496
3498
  }, e;
3497
3499
  }()
3498
3500
  );
3499
- function jn(e, t) {
3501
+ function kn(e, t) {
3500
3502
  if (t == null)
3501
3503
  return;
3502
3504
  if (t in e)
@@ -3517,101 +3519,101 @@ function jn(e, t) {
3517
3519
  n = void 0;
3518
3520
  return n;
3519
3521
  }
3520
- const C = {}, kn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Qt = (e, t) => {
3522
+ const C = {}, Vn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), qt = (e, t) => {
3521
3523
  if (t == null)
3522
3524
  return;
3523
3525
  if (t in C && e in C[t])
3524
3526
  return C[t][e];
3525
- const r = ne(t);
3527
+ const r = ie(t);
3526
3528
  for (let n = 0; n < r.length; n++) {
3527
- const i = r[n], s = Xn(i, e);
3529
+ const i = r[n], s = zn(i, e);
3528
3530
  if (s)
3529
- return kn(e, t, s);
3531
+ return Vn(e, t, s);
3530
3532
  }
3531
3533
  };
3532
- let We;
3533
- const re = pe({});
3534
- function Vn(e) {
3535
- return We[e] || null;
3534
+ let Ze;
3535
+ const ne = _e({});
3536
+ function Xn(e) {
3537
+ return Ze[e] || null;
3536
3538
  }
3537
- function qt(e) {
3538
- return e in We;
3539
+ function Jt(e) {
3540
+ return e in Ze;
3539
3541
  }
3540
- function Xn(e, t) {
3541
- if (!qt(e))
3542
+ function zn(e, t) {
3543
+ if (!Jt(e))
3542
3544
  return null;
3543
- const r = Vn(e);
3544
- return jn(r, t);
3545
+ const r = Xn(e);
3546
+ return kn(r, t);
3545
3547
  }
3546
- function zn(e) {
3548
+ function Wn(e) {
3547
3549
  if (e == null)
3548
3550
  return;
3549
- const t = ne(e);
3551
+ const t = ie(e);
3550
3552
  for (let r = 0; r < t.length; r++) {
3551
3553
  const n = t[r];
3552
- if (qt(n))
3554
+ if (Jt(n))
3553
3555
  return n;
3554
3556
  }
3555
3557
  }
3556
- function Jt(e, ...t) {
3557
- delete C[e], re.update((r) => (r[e] = Qr.all([r[e] || {}, ...t]), r));
3558
+ function Yt(e, ...t) {
3559
+ delete C[e], ne.update((r) => (r[e] = qr.all([r[e] || {}, ...t]), r));
3558
3560
  }
3559
- W(
3560
- [re],
3561
+ Z(
3562
+ [ne],
3561
3563
  ([e]) => Object.keys(e)
3562
3564
  );
3563
- re.subscribe((e) => We = e);
3564
- const fe = {};
3565
- function Wn(e, t) {
3566
- fe[e].delete(t), fe[e].size === 0 && delete fe[e];
3565
+ ne.subscribe((e) => Ze = e);
3566
+ const ce = {};
3567
+ function Zn(e, t) {
3568
+ ce[e].delete(t), ce[e].size === 0 && delete ce[e];
3567
3569
  }
3568
- function Yt(e) {
3569
- return fe[e];
3570
+ function Kt(e) {
3571
+ return ce[e];
3570
3572
  }
3571
- function Zn(e) {
3572
- return ne(e).map((t) => {
3573
- const r = Yt(t);
3573
+ function Qn(e) {
3574
+ return ie(e).map((t) => {
3575
+ const r = Kt(t);
3574
3576
  return [t, r ? [...r] : []];
3575
3577
  }).filter(([, t]) => t.length > 0);
3576
3578
  }
3577
- function me(e) {
3578
- return e == null ? !1 : ne(e).some(
3579
+ function de(e) {
3580
+ return e == null ? !1 : ie(e).some(
3579
3581
  (t) => {
3580
3582
  var r;
3581
- return (r = Yt(t)) == null ? void 0 : r.size;
3583
+ return (r = Kt(t)) == null ? void 0 : r.size;
3582
3584
  }
3583
3585
  );
3584
3586
  }
3585
- function Qn(e, t) {
3587
+ function qn(e, t) {
3586
3588
  return Promise.all(
3587
- t.map((n) => (Wn(e, n), n().then((i) => i.default || i)))
3588
- ).then((n) => Jt(e, ...n));
3589
- }
3590
- const Q = {};
3591
- function Kt(e) {
3592
- if (!me(e))
3593
- return e in Q ? Q[e] : Promise.resolve();
3594
- const t = Zn(e);
3595
- return Q[e] = Promise.all(
3589
+ t.map((n) => (Zn(e, n), n().then((i) => i.default || i)))
3590
+ ).then((n) => Yt(e, ...n));
3591
+ }
3592
+ const q = {};
3593
+ function er(e) {
3594
+ if (!de(e))
3595
+ return e in q ? q[e] : Promise.resolve();
3596
+ const t = Qn(e);
3597
+ return q[e] = Promise.all(
3596
3598
  t.map(
3597
- ([r, n]) => Qn(r, n)
3599
+ ([r, n]) => qn(r, n)
3598
3600
  )
3599
3601
  ).then(() => {
3600
- if (me(e))
3601
- return Kt(e);
3602
- delete Q[e];
3603
- }), Q[e];
3602
+ if (de(e))
3603
+ return er(e);
3604
+ delete q[e];
3605
+ }), q[e];
3604
3606
  }
3605
- var ct = Object.getOwnPropertySymbols, qn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, Yn = (e, t) => {
3607
+ var mt = Object.getOwnPropertySymbols, Jn = Object.prototype.hasOwnProperty, Yn = Object.prototype.propertyIsEnumerable, Kn = (e, t) => {
3606
3608
  var r = {};
3607
3609
  for (var n in e)
3608
- qn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3609
- if (e != null && ct)
3610
- for (var n of ct(e))
3611
- t.indexOf(n) < 0 && Jn.call(e, n) && (r[n] = e[n]);
3610
+ Jn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3611
+ if (e != null && mt)
3612
+ for (var n of mt(e))
3613
+ t.indexOf(n) < 0 && Yn.call(e, n) && (r[n] = e[n]);
3612
3614
  return r;
3613
3615
  };
3614
- const Kn = {
3616
+ const ei = {
3615
3617
  number: {
3616
3618
  scientific: { notation: "scientific" },
3617
3619
  engineering: { notation: "engineering" },
@@ -3641,183 +3643,183 @@ const Kn = {
3641
3643
  }
3642
3644
  }
3643
3645
  };
3644
- function ei({ locale: e, id: t }) {
3646
+ function ti({ locale: e, id: t }) {
3645
3647
  console.warn(
3646
- `[svelte-i18n] The message "${t}" was not found in "${ne(
3648
+ `[svelte-i18n] The message "${t}" was not found in "${ie(
3647
3649
  e
3648
- ).join('", "')}".${me(L()) ? `
3650
+ ).join('", "')}".${de(N()) ? `
3649
3651
 
3650
3652
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3651
3653
  );
3652
3654
  }
3653
- const ti = {
3655
+ const ri = {
3654
3656
  fallbackLocale: null,
3655
3657
  loadingDelay: 200,
3656
- formats: Kn,
3658
+ formats: ei,
3657
3659
  warnOnMissingMessages: !0,
3658
3660
  handleMissingMessage: void 0,
3659
3661
  ignoreTag: !0
3660
- }, q = ti;
3661
- function V() {
3662
- return q;
3662
+ }, J = ri;
3663
+ function X() {
3664
+ return J;
3663
3665
  }
3664
- function ri(e) {
3665
- const t = e, { formats: r } = t, n = Yn(t, ["formats"]);
3666
+ function ni(e) {
3667
+ const t = e, { formats: r } = t, n = Kn(t, ["formats"]);
3666
3668
  let i = e.fallbackLocale;
3667
3669
  if (e.initialLocale)
3668
3670
  try {
3669
- Zt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3671
+ Qt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3670
3672
  } catch (s) {
3671
3673
  console.warn(
3672
3674
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3673
3675
  );
3674
3676
  }
3675
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ei : console.warn(
3677
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ti : console.warn(
3676
3678
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3677
- )), 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)), M.set(i);
3678
- }
3679
- const Le = pe(!1);
3680
- var ni = Object.defineProperty, ii = Object.defineProperties, si = Object.getOwnPropertyDescriptors, mt = Object.getOwnPropertySymbols, oi = Object.prototype.hasOwnProperty, ai = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ui = (e, t) => {
3681
- for (var r in t)
3682
- oi.call(t, r) && dt(e, r, t[r]);
3683
- if (mt)
3684
- for (var r of mt(t))
3685
- ai.call(t, r) && dt(e, r, t[r]);
3679
+ )), Object.assign(J, n, { initialLocale: i }), r && ("number" in r && Object.assign(J.formats.number, r.number), "date" in r && Object.assign(J.formats.date, r.date), "time" in r && Object.assign(J.formats.time, r.time)), $.set(i);
3680
+ }
3681
+ const Ie = _e(!1);
3682
+ var ii = Object.defineProperty, si = Object.defineProperties, oi = Object.getOwnPropertyDescriptors, pt = Object.getOwnPropertySymbols, ai = Object.prototype.hasOwnProperty, ui = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, hi = (e, t) => {
3683
+ for (var r in t || (t = {}))
3684
+ ai.call(t, r) && dt(e, r, t[r]);
3685
+ if (pt)
3686
+ for (var r of pt(t))
3687
+ ui.call(t, r) && dt(e, r, t[r]);
3686
3688
  return e;
3687
- }, hi = (e, t) => ii(e, si(t));
3688
- let ke;
3689
- const de = pe(null);
3689
+ }, li = (e, t) => si(e, oi(t));
3690
+ let Xe;
3691
+ const be = _e(null);
3690
3692
  function bt(e) {
3691
3693
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3692
3694
  }
3693
- function ne(e, t = V().fallbackLocale) {
3695
+ function ie(e, t = X().fallbackLocale) {
3694
3696
  const r = bt(e);
3695
3697
  return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
3696
3698
  }
3697
- function L() {
3698
- return ke != null ? ke : void 0;
3699
+ function N() {
3700
+ return Xe != null ? Xe : void 0;
3699
3701
  }
3700
- de.subscribe((e) => {
3701
- ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3702
+ be.subscribe((e) => {
3703
+ Xe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3702
3704
  });
3703
- const li = (e) => {
3704
- if (e && zn(e) && me(e)) {
3705
- const { loadingDelay: t } = V();
3705
+ const fi = (e) => {
3706
+ if (e && Wn(e) && de(e)) {
3707
+ const { loadingDelay: t } = X();
3706
3708
  let r;
3707
- return typeof window != "undefined" && L() != null && t ? r = window.setTimeout(
3708
- () => Le.set(!0),
3709
+ return typeof window != "undefined" && N() != null && t ? r = window.setTimeout(
3710
+ () => Ie.set(!0),
3709
3711
  t
3710
- ) : Le.set(!0), Kt(e).then(() => {
3711
- de.set(e);
3712
+ ) : Ie.set(!0), er(e).then(() => {
3713
+ be.set(e);
3712
3714
  }).finally(() => {
3713
- clearTimeout(r), Le.set(!1);
3715
+ clearTimeout(r), Ie.set(!1);
3714
3716
  });
3715
3717
  }
3716
- return de.set(e);
3717
- }, M = hi(ui({}, de), {
3718
- set: li
3719
- }), ye = (e) => {
3718
+ return be.set(e);
3719
+ }, $ = li(hi({}, be), {
3720
+ set: fi
3721
+ }), xe = (e) => {
3720
3722
  const t = /* @__PURE__ */ Object.create(null);
3721
3723
  return (n) => {
3722
3724
  const i = JSON.stringify(n);
3723
3725
  return i in t ? t[i] : t[i] = e(n);
3724
3726
  };
3725
3727
  };
3726
- var fi = Object.defineProperty, be = Object.getOwnPropertySymbols, er = Object.prototype.hasOwnProperty, tr = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
3728
+ var ci = Object.defineProperty, ge = Object.getOwnPropertySymbols, tr = Object.prototype.hasOwnProperty, rr = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
3727
3729
  for (var r in t || (t = {}))
3728
- er.call(t, r) && pt(e, r, t[r]);
3729
- if (be)
3730
- for (var r of be(t))
3731
- tr.call(t, r) && pt(e, r, t[r]);
3730
+ tr.call(t, r) && gt(e, r, t[r]);
3731
+ if (ge)
3732
+ for (var r of ge(t))
3733
+ rr.call(t, r) && gt(e, r, t[r]);
3732
3734
  return e;
3733
- }, Z = (e, t) => {
3735
+ }, Q = (e, t) => {
3734
3736
  var r = {};
3735
3737
  for (var n in e)
3736
- er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3737
- if (e != null && be)
3738
- for (var n of be(e))
3739
- t.indexOf(n) < 0 && tr.call(e, n) && (r[n] = e[n]);
3738
+ tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3739
+ if (e != null && ge)
3740
+ for (var n of ge(e))
3741
+ t.indexOf(n) < 0 && rr.call(e, n) && (r[n] = e[n]);
3740
3742
  return r;
3741
3743
  };
3742
- const ee = (e, t) => {
3743
- const { formats: r } = V();
3744
+ const te = (e, t) => {
3745
+ const { formats: r } = X();
3744
3746
  if (e in r && t in r[e])
3745
3747
  return r[e][t];
3746
3748
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3747
- }, ci = ye(
3749
+ }, mi = xe(
3748
3750
  (e) => {
3749
- var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3751
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3750
3752
  if (r == null)
3751
3753
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3752
- return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
3754
+ return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
3753
3755
  }
3754
- ), mi = ye(
3756
+ ), pi = xe(
3755
3757
  (e) => {
3756
- var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3758
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3757
3759
  if (r == null)
3758
3760
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3759
- return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
3761
+ return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
3760
3762
  }
3761
- ), di = ye(
3763
+ ), di = xe(
3762
3764
  (e) => {
3763
- var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3765
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3764
3766
  if (r == null)
3765
3767
  throw new Error(
3766
3768
  '[svelte-i18n] A "locale" must be set to format time values'
3767
3769
  );
3768
- return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
3770
+ return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
3769
3771
  }
3770
3772
  ), bi = (e = {}) => {
3771
3773
  var t = e, {
3772
- locale: r = L()
3773
- } = t, n = Z(t, [
3774
+ locale: r = N()
3775
+ } = t, n = Q(t, [
3774
3776
  "locale"
3775
3777
  ]);
3776
- return ci(Ze({ locale: r }, n));
3777
- }, pi = (e = {}) => {
3778
+ return mi(Qe({ locale: r }, n));
3779
+ }, gi = (e = {}) => {
3778
3780
  var t = e, {
3779
- locale: r = L()
3780
- } = t, n = Z(t, [
3781
+ locale: r = N()
3782
+ } = t, n = Q(t, [
3781
3783
  "locale"
3782
3784
  ]);
3783
- return mi(Ze({ locale: r }, n));
3784
- }, gi = (e = {}) => {
3785
+ return pi(Qe({ locale: r }, n));
3786
+ }, _i = (e = {}) => {
3785
3787
  var t = e, {
3786
- locale: r = L()
3787
- } = t, n = Z(t, [
3788
+ locale: r = N()
3789
+ } = t, n = Q(t, [
3788
3790
  "locale"
3789
3791
  ]);
3790
- return di(Ze({ locale: r }, n));
3791
- }, _i = ye(
3792
+ return di(Qe({ locale: r }, n));
3793
+ }, yi = xe(
3792
3794
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3793
- (e, t = L()) => new Zt(e, t, V().formats, {
3794
- ignoreTag: V().ignoreTag
3795
+ (e, t = N()) => new Qt(e, t, X().formats, {
3796
+ ignoreTag: X().ignoreTag
3795
3797
  })
3796
- ), yi = (e, t = {}) => {
3798
+ ), Ei = (e, t = {}) => {
3797
3799
  var r, n, i, s;
3798
- let o = t;
3799
- typeof e == "object" && (o = e, e = o.id);
3800
+ let a = t;
3801
+ typeof e == "object" && (a = e, e = a.id);
3800
3802
  const {
3801
- values: a,
3802
- locale: l = L(),
3803
+ values: o,
3804
+ locale: l = N(),
3803
3805
  default: u
3804
- } = o;
3806
+ } = a;
3805
3807
  if (l == null)
3806
3808
  throw new Error(
3807
3809
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3808
3810
  );
3809
- let h = Qt(e, l);
3811
+ let h = qt(e, l);
3810
3812
  if (!h)
3811
- h = (s = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3813
+ h = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3812
3814
  else if (typeof h != "string")
3813
3815
  return console.warn(
3814
3816
  `[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.`
3815
3817
  ), h;
3816
- if (!a)
3818
+ if (!o)
3817
3819
  return h;
3818
3820
  let c = h;
3819
3821
  try {
3820
- c = _i(h, l).format(a);
3822
+ c = yi(h, l).format(o);
3821
3823
  } catch (m) {
3822
3824
  m instanceof Error && console.warn(
3823
3825
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3825,18 +3827,18 @@ const ee = (e, t) => {
3825
3827
  );
3826
3828
  }
3827
3829
  return c;
3828
- }, xi = (e, t) => gi(t).format(e), Ei = (e, t) => pi(t).format(e), vi = (e, t) => bi(t).format(e), Hi = (e, t = L()) => Qt(e, t), Bi = W([M, re], () => yi);
3829
- W([M], () => xi);
3830
- W([M], () => Ei);
3831
- W([M], () => vi);
3832
- W([M, re], () => Hi);
3833
- function Ti(e, t) {
3830
+ }, xi = (e, t) => _i(t).format(e), vi = (e, t) => gi(t).format(e), Hi = (e, t) => bi(t).format(e), Bi = (e, t = N()) => qt(e, t), Ti = Z([$, ne], () => Ei);
3831
+ Z([$], () => xi);
3832
+ Z([$], () => vi);
3833
+ Z([$], () => Hi);
3834
+ Z([$, ne], () => Bi);
3835
+ function wi(e, t) {
3834
3836
  if (e) {
3835
3837
  const r = document.createElement("style");
3836
3838
  r.innerHTML = t, e.appendChild(r);
3837
3839
  }
3838
3840
  }
3839
- function wi(e, t) {
3841
+ function Si(e, t) {
3840
3842
  const r = new URL(t);
3841
3843
  fetch(r.href).then((n) => n.text()).then((n) => {
3842
3844
  const i = document.createElement("style");
@@ -3845,7 +3847,7 @@ function wi(e, t) {
3845
3847
  console.error("There was an error while trying to load client styling from URL", n);
3846
3848
  });
3847
3849
  }
3848
- function Si(e, t, r) {
3850
+ function Ai(e, t, r) {
3849
3851
  if (window.emMessageBus) {
3850
3852
  const n = document.createElement("style");
3851
3853
  window.emMessageBus.subscribe(t, (i) => {
@@ -3853,15 +3855,15 @@ function Si(e, t, r) {
3853
3855
  });
3854
3856
  }
3855
3857
  }
3856
- function gt(e, t) {
3857
- Jt(e, t);
3858
+ function _t(e, t) {
3859
+ Yt(e, t);
3858
3860
  }
3859
- function Ai(e) {
3860
- ri({
3861
+ function Oi(e) {
3862
+ ni({
3861
3863
  fallbackLocale: "en"
3862
- }), M.set(e);
3864
+ }), $.set(e);
3863
3865
  }
3864
- const _t = {
3866
+ const yt = {
3865
3867
  en: {
3866
3868
  header: {
3867
3869
  general: "Cashier",
@@ -3884,18 +3886,18 @@ const _t = {
3884
3886
  }
3885
3887
  }
3886
3888
  };
3887
- function Oi(e) {
3888
- 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}");
3889
+ function Pi(e) {
3890
+ 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}");
3889
3891
  }
3890
- const Ci = (e) => ({}), yt = (e) => ({}), Pi = (e) => ({}), xt = (e) => ({}), Li = (e) => ({}), Et = (e) => ({});
3891
- function vt(e) {
3892
+ const Ci = (e) => ({}), Et = (e) => ({}), Li = (e) => ({}), xt = (e) => ({}), Ni = (e) => ({}), vt = (e) => ({});
3893
+ function Ht(e) {
3892
3894
  let t, r, n;
3893
3895
  return {
3894
3896
  c() {
3895
- t = X("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', z(t, "class", "CashierHeaderLeftButton");
3897
+ t = z("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', W(t, "class", "CashierHeaderLeftButton");
3896
3898
  },
3897
3899
  m(i, s) {
3898
- I(i, t, s), r || (n = Ot(
3900
+ M(i, t, s), r || (n = Pt(
3899
3901
  t,
3900
3902
  "click",
3901
3903
  /*back*/
@@ -3904,32 +3906,32 @@ function vt(e) {
3904
3906
  },
3905
3907
  p: T,
3906
3908
  d(i) {
3907
- i && P(t), r = !1, n();
3909
+ i && L(t), r = !1, n();
3908
3910
  }
3909
3911
  };
3910
3912
  }
3911
- function Ni(e) {
3913
+ function Ii(e) {
3912
3914
  let t, r = (
3913
3915
  /*backButton*/
3914
- e[1] && vt(e)
3916
+ e[1] && Ht(e)
3915
3917
  );
3916
3918
  return {
3917
3919
  c() {
3918
- r && r.c(), t = At();
3920
+ r && r.c(), t = Ot();
3919
3921
  },
3920
3922
  m(n, i) {
3921
- r && r.m(n, i), I(n, t, i);
3923
+ r && r.m(n, i), M(n, t, i);
3922
3924
  },
3923
3925
  p(n, i) {
3924
3926
  /*backButton*/
3925
- n[1] ? r ? r.p(n, i) : (r = vt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3927
+ n[1] ? r ? r.p(n, i) : (r = Ht(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3926
3928
  },
3927
3929
  d(n) {
3928
- n && P(t), r && r.d(n);
3930
+ n && L(t), r && r.d(n);
3929
3931
  }
3930
3932
  };
3931
3933
  }
3932
- function Ii(e) {
3934
+ function Mi(e) {
3933
3935
  let t, r = (
3934
3936
  /*$_*/
3935
3937
  e[4](
@@ -3939,10 +3941,10 @@ function Ii(e) {
3939
3941
  ), n;
3940
3942
  return {
3941
3943
  c() {
3942
- t = X("span"), n = Xe(r), z(t, "class", "CashierHeaderTitle");
3944
+ t = z("span"), n = We(r), W(t, "class", "CashierHeaderTitle");
3943
3945
  },
3944
3946
  m(i, s) {
3945
- I(i, t, s), ce(t, n);
3947
+ M(i, t, s), me(t, n);
3946
3948
  },
3947
3949
  p(i, s) {
3948
3950
  s & /*$_, titleText*/
@@ -3950,21 +3952,21 @@ function Ii(e) {
3950
3952
  i[4](
3951
3953
  /*titleText*/
3952
3954
  i[2]
3953
- ) + "") && gr(n, r);
3955
+ ) + "") && _r(n, r);
3954
3956
  },
3955
3957
  d(i) {
3956
- i && P(t);
3958
+ i && L(t);
3957
3959
  }
3958
3960
  };
3959
3961
  }
3960
- function Ht(e) {
3962
+ function Bt(e) {
3961
3963
  let t, r, n;
3962
3964
  return {
3963
3965
  c() {
3964
- t = X("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', z(t, "class", "CashierHeaderRightButton");
3966
+ t = z("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', W(t, "class", "CashierHeaderRightButton");
3965
3967
  },
3966
3968
  m(i, s) {
3967
- I(i, t, s), r || (n = Ot(
3969
+ M(i, t, s), r || (n = Pt(
3968
3970
  t,
3969
3971
  "click",
3970
3972
  /*close*/
@@ -3973,216 +3975,216 @@ function Ht(e) {
3973
3975
  },
3974
3976
  p: T,
3975
3977
  d(i) {
3976
- i && P(t), r = !1, n();
3978
+ i && L(t), r = !1, n();
3977
3979
  }
3978
3980
  };
3979
3981
  }
3980
- function Mi(e) {
3982
+ function $i(e) {
3981
3983
  let t, r = (
3982
3984
  /*closeButton*/
3983
- e[3] && Ht(e)
3985
+ e[3] && Bt(e)
3984
3986
  );
3985
3987
  return {
3986
3988
  c() {
3987
- r && r.c(), t = At();
3989
+ r && r.c(), t = Ot();
3988
3990
  },
3989
3991
  m(n, i) {
3990
- r && r.m(n, i), I(n, t, i);
3992
+ r && r.m(n, i), M(n, t, i);
3991
3993
  },
3992
3994
  p(n, i) {
3993
3995
  /*closeButton*/
3994
- n[3] ? r ? r.p(n, i) : (r = Ht(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3996
+ n[3] ? r ? r.p(n, i) : (r = Bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3995
3997
  },
3996
3998
  d(n) {
3997
- n && P(t), r && r.d(n);
3999
+ n && L(t), r && r.d(n);
3998
4000
  }
3999
4001
  };
4000
4002
  }
4001
- function $i(e) {
4003
+ function Ri(e) {
4002
4004
  let t, r, n, i;
4003
4005
  const s = (
4004
4006
  /*#slots*/
4005
4007
  e[16].leftButton
4006
- ), o = Ee(
4008
+ ), a = He(
4007
4009
  s,
4008
4010
  e,
4009
4011
  /*$$scope*/
4010
4012
  e[15],
4011
- Et
4012
- ), a = o || Ni(e), l = (
4013
+ vt
4014
+ ), o = a || Ii(e), l = (
4013
4015
  /*#slots*/
4014
4016
  e[16].title
4015
- ), u = Ee(
4017
+ ), u = He(
4016
4018
  l,
4017
4019
  e,
4018
4020
  /*$$scope*/
4019
4021
  e[15],
4020
4022
  xt
4021
- ), h = u || Ii(e), c = (
4023
+ ), h = u || Mi(e), c = (
4022
4024
  /*#slots*/
4023
4025
  e[16].rightButton
4024
- ), m = Ee(
4026
+ ), m = He(
4025
4027
  c,
4026
4028
  e,
4027
4029
  /*$$scope*/
4028
4030
  e[15],
4029
- yt
4030
- ), d = m || Mi(e);
4031
+ Et
4032
+ ), p = m || $i(e);
4031
4033
  return {
4032
4034
  c() {
4033
- t = X("div"), a.c(), r = tt(), h.c(), n = tt(), d.c(), z(t, "class", "CashierHeader");
4035
+ t = z("div"), o && o.c(), r = rt(), h && h.c(), n = rt(), p && p.c(), W(t, "class", "CashierHeader");
4034
4036
  },
4035
4037
  m(f, _) {
4036
- I(f, t, _), a.m(t, null), ce(t, r), h.m(t, null), ce(t, n), d.m(t, null), e[17](t), i = !0;
4038
+ M(f, t, _), o && o.m(t, null), me(t, r), h && h.m(t, null), me(t, n), p && p.m(t, null), e[17](t), i = !0;
4037
4039
  },
4038
4040
  p(f, [_]) {
4039
- o ? o.p && (!i || _ & /*$$scope*/
4040
- 32768) && He(
4041
- o,
4041
+ a ? a.p && (!i || _ & /*$$scope*/
4042
+ 32768) && Te(
4043
+ a,
4042
4044
  s,
4043
4045
  f,
4044
4046
  /*$$scope*/
4045
4047
  f[15],
4046
- i ? ve(
4048
+ i ? Be(
4047
4049
  s,
4048
4050
  /*$$scope*/
4049
4051
  f[15],
4050
4052
  _,
4051
- Li
4052
- ) : Be(
4053
+ Ni
4054
+ ) : we(
4053
4055
  /*$$scope*/
4054
4056
  f[15]
4055
4057
  ),
4056
- Et
4057
- ) : a.p && (!i || _ & /*backButton*/
4058
- 2) && a.p(f, i ? _ : -1), u ? u.p && (!i || _ & /*$$scope*/
4059
- 32768) && He(
4058
+ vt
4059
+ ) : o && o.p && (!i || _ & /*backButton*/
4060
+ 2) && o.p(f, i ? _ : -1), u ? u.p && (!i || _ & /*$$scope*/
4061
+ 32768) && Te(
4060
4062
  u,
4061
4063
  l,
4062
4064
  f,
4063
4065
  /*$$scope*/
4064
4066
  f[15],
4065
- i ? ve(
4067
+ i ? Be(
4066
4068
  l,
4067
4069
  /*$$scope*/
4068
4070
  f[15],
4069
4071
  _,
4070
- Pi
4071
- ) : Be(
4072
+ Li
4073
+ ) : we(
4072
4074
  /*$$scope*/
4073
4075
  f[15]
4074
4076
  ),
4075
4077
  xt
4076
- ) : h.p && (!i || _ & /*$_, titleText*/
4078
+ ) : h && h.p && (!i || _ & /*$_, titleText*/
4077
4079
  20) && h.p(f, i ? _ : -1), m ? m.p && (!i || _ & /*$$scope*/
4078
- 32768) && He(
4080
+ 32768) && Te(
4079
4081
  m,
4080
4082
  c,
4081
4083
  f,
4082
4084
  /*$$scope*/
4083
4085
  f[15],
4084
- i ? ve(
4086
+ i ? Be(
4085
4087
  c,
4086
4088
  /*$$scope*/
4087
4089
  f[15],
4088
4090
  _,
4089
4091
  Ci
4090
- ) : Be(
4092
+ ) : we(
4091
4093
  /*$$scope*/
4092
4094
  f[15]
4093
4095
  ),
4094
- yt
4095
- ) : d.p && (!i || _ & /*closeButton*/
4096
- 8) && d.p(f, i ? _ : -1);
4096
+ Et
4097
+ ) : p && p.p && (!i || _ & /*closeButton*/
4098
+ 8) && p.p(f, i ? _ : -1);
4097
4099
  },
4098
4100
  i(f) {
4099
- i || (ue(a, f), ue(h, f), ue(d, f), i = !0);
4101
+ i || (he(o, f), he(h, f), he(p, f), i = !0);
4100
4102
  },
4101
4103
  o(f) {
4102
- we(a, f), we(h, f), we(d, f), i = !1;
4104
+ Ae(o, f), Ae(h, f), Ae(p, f), i = !1;
4103
4105
  },
4104
4106
  d(f) {
4105
- f && P(t), a.d(f), h.d(f), d.d(f), e[17](null);
4107
+ f && L(t), o && o.d(f), h && h.d(f), p && p.d(f), e[17](null);
4106
4108
  }
4107
4109
  };
4108
4110
  }
4109
- function Ri(e, t, r) {
4111
+ function Ui(e, t, r) {
4110
4112
  let n;
4111
- cr(e, Bi, (g) => r(4, n = g));
4112
- let { $$slots: i = {}, $$scope: s } = t, { clientstyling: o = "" } = t, { clientstylingurl: a = "" } = t, { translationurl: l = "" } = t, { showbackbutton: u = "" } = t, { title: h = "header.general" } = t, { lang: c = "en" } = t, { showclosebutton: m = "" } = t, { mbsource: d = "" } = t, f, _ = !1, v, A = !1;
4113
- const O = () => {
4113
+ mr(e, Ti, (g) => r(4, n = g));
4114
+ let { $$slots: i = {}, $$scope: s } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: u = "" } = t, { title: h = "header.general" } = t, { lang: c = "en" } = t, { showclosebutton: m = "" } = t, { mbsource: p = "" } = t, f, _ = !1, v, O = !1;
4115
+ const P = () => {
4114
4116
  fetch(l).then((g) => g.json()).then((g) => {
4115
- Object.keys(g).forEach((Qe) => {
4116
- gt(Qe, g[Qe]);
4117
+ Object.keys(g).forEach((qe) => {
4118
+ _t(qe, g[qe]);
4117
4119
  });
4118
4120
  }).catch((g) => {
4119
4121
  console.log(g);
4120
4122
  });
4121
4123
  };
4122
- Object.keys(_t).forEach((g) => {
4123
- gt(g, _t[g]);
4124
+ Object.keys(yt).forEach((g) => {
4125
+ _t(g, yt[g]);
4124
4126
  });
4125
4127
  const H = () => {
4126
- Ai(c);
4127
- }, N = () => {
4128
+ Oi(c);
4129
+ }, I = () => {
4128
4130
  window.postMessage({ type: "CloseCashier" }, window.location.href);
4129
- }, S = () => {
4131
+ }, A = () => {
4130
4132
  window.postMessage({ type: "BackCashier" }, window.location.href);
4131
- }, $ = () => {
4133
+ }, R = () => {
4132
4134
  r(1, _ = !!u && u !== "false");
4133
- }, ie = () => {
4134
- r(3, A = !!m && m !== "false");
4135
- }, nr = () => {
4135
+ }, se = () => {
4136
+ r(3, O = !!m && m !== "false");
4137
+ }, ir = () => {
4136
4138
  r(2, v = h || "header.general");
4137
4139
  };
4138
4140
  xr(() => () => {
4139
4141
  });
4140
- function ir(g) {
4141
- Ne[g ? "unshift" : "push"](() => {
4142
+ function sr(g) {
4143
+ Me[g ? "unshift" : "push"](() => {
4142
4144
  f = g, r(0, f);
4143
4145
  });
4144
4146
  }
4145
4147
  return e.$$set = (g) => {
4146
- "clientstyling" in g && r(7, o = g.clientstyling), "clientstylingurl" in g && r(8, a = g.clientstylingurl), "translationurl" in g && r(9, l = g.translationurl), "showbackbutton" in g && r(10, u = g.showbackbutton), "title" in g && r(11, h = g.title), "lang" in g && r(12, c = g.lang), "showclosebutton" in g && r(13, m = g.showclosebutton), "mbsource" in g && r(14, d = g.mbsource), "$$scope" in g && r(15, s = g.$$scope);
4148
+ "clientstyling" in g && r(7, a = g.clientstyling), "clientstylingurl" in g && r(8, o = g.clientstylingurl), "translationurl" in g && r(9, l = g.translationurl), "showbackbutton" in g && r(10, u = g.showbackbutton), "title" in g && r(11, h = g.title), "lang" in g && r(12, c = g.lang), "showclosebutton" in g && r(13, m = g.showclosebutton), "mbsource" in g && r(14, p = g.mbsource), "$$scope" in g && r(15, s = g.$$scope);
4147
4149
  }, e.$$.update = () => {
4148
4150
  e.$$.dirty & /*lang*/
4149
4151
  4096 && c && H(), e.$$.dirty & /*lang, title*/
4150
- 6144 && c && h && nr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4151
- 129 && o && f && Ti(f, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4152
- 257 && a && f && wi(f, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4153
- 16385 && d && f && Si(f, `${d}.Style`), e.$$.dirty & /*lang, translationurl*/
4154
- 4608 && c && l && O(), e.$$.dirty & /*showbackbutton*/
4155
- 1024 && u && $(), e.$$.dirty & /*showclosebutton*/
4156
- 8192 && m && ie();
4152
+ 6144 && c && h && ir(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4153
+ 129 && a && f && wi(f, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4154
+ 257 && o && f && Si(f, o), e.$$.dirty & /*mbsource, customStylingContainer*/
4155
+ 16385 && p && f && Ai(f, `${p}.Style`), e.$$.dirty & /*lang, translationurl*/
4156
+ 4608 && c && l && P(), e.$$.dirty & /*showbackbutton*/
4157
+ 1024 && u && R(), e.$$.dirty & /*showclosebutton*/
4158
+ 8192 && m && se();
4157
4159
  }, [
4158
4160
  f,
4159
4161
  _,
4160
4162
  v,
4161
- A,
4163
+ O,
4162
4164
  n,
4163
- N,
4164
- S,
4165
- o,
4165
+ I,
4166
+ A,
4166
4167
  a,
4168
+ o,
4167
4169
  l,
4168
4170
  u,
4169
4171
  h,
4170
4172
  c,
4171
4173
  m,
4172
- d,
4174
+ p,
4173
4175
  s,
4174
4176
  i,
4175
- ir
4177
+ sr
4176
4178
  ];
4177
4179
  }
4178
- class rr extends Pr {
4180
+ class nr extends Lr {
4179
4181
  constructor(t) {
4180
- super(), Or(
4182
+ super(), Pr(
4181
4183
  this,
4182
4184
  t,
4185
+ Ui,
4183
4186
  Ri,
4184
- $i,
4185
- Tt,
4187
+ wt,
4186
4188
  {
4187
4189
  clientstyling: 7,
4188
4190
  clientstylingurl: 8,
@@ -4193,7 +4195,7 @@ class rr extends Pr {
4193
4195
  showclosebutton: 13,
4194
4196
  mbsource: 14
4195
4197
  },
4196
- Oi
4198
+ Pi
4197
4199
  );
4198
4200
  }
4199
4201
  get clientstyling() {
@@ -4245,35 +4247,35 @@ class rr extends Pr {
4245
4247
  this.$$set({ mbsource: t }), w();
4246
4248
  }
4247
4249
  }
4248
- Cr(rr, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
4249
- const Fi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4250
+ Cr(nr, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
4251
+ const ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4250
4252
  __proto__: null,
4251
- default: rr
4253
+ default: nr
4252
4254
  }, Symbol.toStringTag, { value: "Module" }));
4253
4255
  export {
4254
- M as $,
4255
- Fi as C,
4256
- Pr as S,
4257
- Jt as a,
4258
- Or as b,
4256
+ $,
4257
+ ji as C,
4258
+ Lr as S,
4259
+ Yt as a,
4260
+ Pr as b,
4259
4261
  Cr as c,
4260
- mr as d,
4261
- X as e,
4262
+ pr as d,
4263
+ L as e,
4262
4264
  w as f,
4263
- tt as g,
4265
+ Fi as g,
4264
4266
  Gi as h,
4265
- ri as i,
4266
- Di as j,
4267
- z as k,
4268
- I as l,
4269
- ce as m,
4270
- Ot as n,
4271
- T as o,
4272
- P as p,
4267
+ ni as i,
4268
+ W as j,
4269
+ M as k,
4270
+ me as l,
4271
+ Pt as m,
4272
+ T as n,
4273
+ z as o,
4274
+ rt as p,
4273
4275
  xr as q,
4274
- Ne as r,
4275
- Tt as s,
4276
- Ti as t,
4277
- wi as u,
4278
- Si as v
4276
+ Me as r,
4277
+ wt as s,
4278
+ wi as t,
4279
+ Si as u,
4280
+ Ai as v
4279
4281
  };