@everymatrix/cashier-receipt-page 1.77.20 → 1.77.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/components/{CashierError-GYpjTpiU.js → CashierError-Dp1LS5S6.js} +974 -1004
  2. package/components/CashierError-Dp1UI5rY.cjs +5 -0
  3. package/components/{CashierError-lVQYh9JM.js → CashierError-RSXEVpmF.js} +829 -859
  4. package/components/{CashierReceiptPage--fGpnoYJ.js → CashierReceiptPage-B0V8IVKa.js} +297 -228
  5. package/components/{CashierReceiptPage-bRb5M8uY.js → CashierReceiptPage-BGGspUa0.js} +297 -228
  6. package/components/{CashierReceiptPage-CD8WLOw6.cjs → CashierReceiptPage-IT8fEUKO.cjs} +16 -3
  7. package/es2015/cashier-receipt-page.cjs +1 -1
  8. package/es2015/cashier-receipt-page.js +1 -1
  9. package/esnext/cashier-receipt-page.js +1 -1
  10. package/package.json +1 -1
  11. package/stencil/{index-97d17652-D6HPqRtr.js → index-97d17652--F7PvMq9.js} +2 -2
  12. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  13. package/stencil/{index-97d17652-B0NIExnR.js → index-97d17652-CCFHkzJw.js} +2 -2
  14. package/stencil/{ui-image-DJSOH8ZL.cjs → ui-image-BaHsVAxH.cjs} +1 -1
  15. package/stencil/{ui-image-DfVgiF6v.js → ui-image-C7s6Uvn5.js} +1 -1
  16. package/stencil/{ui-image-BY8ZO6br.js → ui-image-CHeV8e9p.js} +1 -1
  17. package/stencil/{ui-image-b7b48fe5-BXmf73Ou.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  18. package/stencil/{ui-image-b7b48fe5-c0NIgcTj.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  19. package/stencil/{ui-image-b7b48fe5-DaWM2RbJ.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  20. package/stencil/{ui-image_2-DbQ7SENq.js → ui-image_2-Bm97-wkj.js} +2 -2
  21. package/stencil/{ui-image_2-Cdo33umq.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  22. package/stencil/{ui-image_2-L-CYescb.js → ui-image_2-qO3reSlr.js} +2 -2
  23. package/components/CashierError-BzXY9Ajb.cjs +0 -18
  24. package/stencil/index-97d17652-DNpK20ur.cjs +0 -1
@@ -1,17 +1,17 @@
1
- var nr = Object.defineProperty, ir = Object.defineProperties;
2
- var sr = Object.getOwnPropertyDescriptors;
3
- var Qe = Object.getOwnPropertySymbols;
4
- var or = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable;
5
- var Se = (e, t, r) => t in e ? nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
1
+ var sr = Object.defineProperty, or = Object.defineProperties;
2
+ var ar = Object.getOwnPropertyDescriptors;
3
+ var Ke = Object.getOwnPropertySymbols;
4
+ var ur = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable;
5
+ var Ae = (e, t, r) => t in e ? sr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- or.call(t, r) && Se(e, r, t[r]);
8
- if (Qe)
9
- for (var r of Qe(t))
10
- ar.call(t, r) && Se(e, r, t[r]);
7
+ ur.call(t, r) && Ae(e, r, t[r]);
8
+ if (Ke)
9
+ for (var r of Ke(t))
10
+ lr.call(t, r) && Ae(e, r, t[r]);
11
11
  return e;
12
- }, Ke = (e, t) => ir(e, sr(t));
13
- var S = (e, t, r) => (Se(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var et = (e, t, r) => new Promise((n, i) => {
12
+ }, tt = (e, t) => or(e, ar(t));
13
+ var S = (e, t, r) => (Ae(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var rt = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -27,10 +27,10 @@ var et = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, o);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- import "../stencil/ui-image-DfVgiF6v.js";
31
- function O() {
30
+ import "../stencil/ui-image-C7s6Uvn5.js";
31
+ function I() {
32
32
  }
33
- function ur(e, t) {
33
+ function hr(e, t) {
34
34
  for (const r in t)
35
35
  e[r] = t[r];
36
36
  return (
@@ -38,50 +38,50 @@ function ur(e, t) {
38
38
  e
39
39
  );
40
40
  }
41
- function St(e) {
41
+ function At(e) {
42
42
  return e();
43
43
  }
44
- function tt() {
44
+ function nt() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
- function J(e) {
48
- e.forEach(St);
47
+ function q(e) {
48
+ e.forEach(At);
49
49
  }
50
- function Xe(e) {
50
+ function Ze(e) {
51
51
  return typeof e == "function";
52
52
  }
53
- function Bt(e, t) {
53
+ function Pt(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
- let ue;
57
- function rt(e, t) {
58
- return e === t ? !0 : (ue || (ue = document.createElement("a")), ue.href = t, e === ue.href);
56
+ let le;
57
+ function it(e, t) {
58
+ return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
59
59
  }
60
- function lr(e) {
60
+ function cr(e) {
61
61
  return Object.keys(e).length === 0;
62
62
  }
63
- function At(e, ...t) {
63
+ function Ot(e, ...t) {
64
64
  if (e == null) {
65
65
  for (const n of t)
66
66
  n(void 0);
67
- return O;
67
+ return I;
68
68
  }
69
69
  const r = e.subscribe(...t);
70
70
  return r.unsubscribe ? () => r.unsubscribe() : r;
71
71
  }
72
- function hr(e, t, r) {
73
- e.$$.on_destroy.push(At(t, r));
72
+ function fr(e, t, r) {
73
+ e.$$.on_destroy.push(Ot(t, r));
74
74
  }
75
- function ce(e, t, r, n) {
75
+ function fe(e, t, r, n) {
76
76
  if (e) {
77
- const i = Pt(e, t, r, n);
77
+ const i = It(e, t, r, n);
78
78
  return e[0](i);
79
79
  }
80
80
  }
81
- function Pt(e, t, r, n) {
82
- return e[1] && n ? ur(r.ctx.slice(), e[1](n(t))) : r.ctx;
81
+ function It(e, t, r, n) {
82
+ return e[1] && n ? hr(r.ctx.slice(), e[1](n(t))) : r.ctx;
83
83
  }
84
- function fe(e, t, r, n) {
84
+ function me(e, t, r, n) {
85
85
  if (e[2] && n) {
86
86
  const i = e[2](n(r));
87
87
  if (t.dirty === void 0)
@@ -96,13 +96,13 @@ function fe(e, t, r, n) {
96
96
  }
97
97
  return t.dirty;
98
98
  }
99
- function me(e, t, r, n, i, s) {
99
+ function de(e, t, r, n, i, s) {
100
100
  if (i) {
101
- const o = Pt(t, r, n, s);
101
+ const o = It(t, r, n, s);
102
102
  e.p(o, i);
103
103
  }
104
104
  }
105
- function de(e) {
105
+ function pe(e) {
106
106
  if (e.ctx.length > 32) {
107
107
  const t = [], r = e.ctx.length / 32;
108
108
  for (let n = 0; n < r; n++)
@@ -111,17 +111,17 @@ function de(e) {
111
111
  }
112
112
  return -1;
113
113
  }
114
- function P(e, t) {
114
+ function O(e, t) {
115
115
  e.appendChild(t);
116
116
  }
117
- function cr(e, t, r) {
118
- const n = fr(e);
117
+ function mr(e, t, r) {
118
+ const n = dr(e);
119
119
  if (!n.getElementById(t)) {
120
- const i = I("style");
121
- i.id = t, i.textContent = r, mr(n, i);
120
+ const i = C("style");
121
+ i.id = t, i.textContent = r, pr(n, i);
122
122
  }
123
123
  }
124
- function fr(e) {
124
+ function dr(e) {
125
125
  if (!e)
126
126
  return document;
127
127
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -131,56 +131,56 @@ function fr(e) {
131
131
  t
132
132
  ) : e.ownerDocument;
133
133
  }
134
- function mr(e, t) {
135
- return P(
134
+ function pr(e, t) {
135
+ return O(
136
136
  /** @type {Document} */
137
137
  e.head || e,
138
138
  t
139
139
  ), t.sheet;
140
140
  }
141
- function D(e, t, r) {
141
+ function U(e, t, r) {
142
142
  e.insertBefore(t, r || null);
143
143
  }
144
- function L(e) {
144
+ function M(e) {
145
145
  e.parentNode && e.parentNode.removeChild(e);
146
146
  }
147
- function Fi(e, t) {
147
+ function zi(e, t) {
148
148
  for (let r = 0; r < e.length; r += 1)
149
149
  e[r] && e[r].d(t);
150
150
  }
151
- function I(e) {
151
+ function C(e) {
152
152
  return document.createElement(e);
153
153
  }
154
- function ji(e) {
154
+ function Vi(e) {
155
155
  return document.createElementNS("http://www.w3.org/2000/svg", e);
156
156
  }
157
- function ie(e) {
157
+ function se(e) {
158
158
  return document.createTextNode(e);
159
159
  }
160
- function Be() {
161
- return ie(" ");
160
+ function Pe() {
161
+ return se(" ");
162
162
  }
163
- function dr() {
164
- return ie("");
163
+ function br() {
164
+ return se("");
165
165
  }
166
- function br(e, t, r, n) {
166
+ function gr(e, t, r, n) {
167
167
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
168
168
  }
169
- function R(e, t, r) {
169
+ function D(e, t, r) {
170
170
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
171
171
  }
172
- function le(e, t, r) {
172
+ function he(e, t, r) {
173
173
  const n = t.toLowerCase();
174
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : R(e, t, r);
174
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : D(e, t, r);
175
175
  }
176
- function pr(e) {
176
+ function yr(e) {
177
177
  return Array.from(e.childNodes);
178
178
  }
179
- function We(e, t) {
179
+ function Je(e, t) {
180
180
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
181
181
  t);
182
182
  }
183
- function gr(e) {
183
+ function _r(e) {
184
184
  const t = {};
185
185
  return e.childNodes.forEach(
186
186
  /** @param {Element} node */
@@ -189,120 +189,120 @@ function gr(e) {
189
189
  }
190
190
  ), t;
191
191
  }
192
- let te;
193
- function ee(e) {
194
- te = e;
192
+ let re;
193
+ function te(e) {
194
+ re = e;
195
195
  }
196
- function yr() {
197
- if (!te)
196
+ function Er() {
197
+ if (!re)
198
198
  throw new Error("Function called outside component initialization");
199
- return te;
199
+ return re;
200
200
  }
201
- function _r(e) {
202
- yr().$$.on_mount.push(e);
201
+ function vr(e) {
202
+ Er().$$.on_mount.push(e);
203
203
  }
204
- const F = [], Me = [];
205
- let z = [];
206
- const nt = [], Er = /* @__PURE__ */ Promise.resolve();
207
- let $e = !1;
208
- function vr() {
209
- $e || ($e = !0, Er.then(A));
204
+ const j = [], Re = [];
205
+ let V = [];
206
+ const st = [], xr = /* @__PURE__ */ Promise.resolve();
207
+ let De = !1;
208
+ function Tr() {
209
+ De || (De = !0, xr.then(A));
210
210
  }
211
- function Re(e) {
212
- z.push(e);
211
+ function Ue(e) {
212
+ V.push(e);
213
213
  }
214
- const Ae = /* @__PURE__ */ new Set();
215
- let G = 0;
214
+ const Oe = /* @__PURE__ */ new Set();
215
+ let k = 0;
216
216
  function A() {
217
- if (G !== 0)
217
+ if (k !== 0)
218
218
  return;
219
- const e = te;
219
+ const e = re;
220
220
  do {
221
221
  try {
222
- for (; G < F.length; ) {
223
- const t = F[G];
224
- G++, ee(t), xr(t.$$);
222
+ for (; k < j.length; ) {
223
+ const t = j[k];
224
+ k++, te(t), Hr(t.$$);
225
225
  }
226
226
  } catch (t) {
227
- throw F.length = 0, G = 0, t;
227
+ throw j.length = 0, k = 0, t;
228
228
  }
229
- for (ee(null), F.length = 0, G = 0; Me.length; )
230
- Me.pop()();
231
- for (let t = 0; t < z.length; t += 1) {
232
- const r = z[t];
233
- Ae.has(r) || (Ae.add(r), r());
229
+ for (te(null), j.length = 0, k = 0; Re.length; )
230
+ Re.pop()();
231
+ for (let t = 0; t < V.length; t += 1) {
232
+ const r = V[t];
233
+ Oe.has(r) || (Oe.add(r), r());
234
234
  }
235
- z.length = 0;
236
- } while (F.length);
237
- for (; nt.length; )
238
- nt.pop()();
239
- $e = !1, Ae.clear(), ee(e);
235
+ V.length = 0;
236
+ } while (j.length);
237
+ for (; st.length; )
238
+ st.pop()();
239
+ De = !1, Oe.clear(), te(e);
240
240
  }
241
- function xr(e) {
241
+ function Hr(e) {
242
242
  if (e.fragment !== null) {
243
- e.update(), J(e.before_update);
243
+ e.update(), q(e.before_update);
244
244
  const t = e.dirty;
245
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
245
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
246
246
  }
247
247
  }
248
- function Tr(e) {
248
+ function wr(e) {
249
249
  const t = [], r = [];
250
- z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
250
+ V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
251
251
  }
252
252
  const be = /* @__PURE__ */ new Set();
253
- let $;
254
- function Hr() {
255
- $ = {
253
+ let R;
254
+ function Sr() {
255
+ R = {
256
256
  r: 0,
257
257
  c: [],
258
- p: $
258
+ p: R
259
259
  // parent group
260
260
  };
261
261
  }
262
- function wr() {
263
- $.r || J($.c), $ = $.p;
262
+ function Br() {
263
+ R.r || q(R.c), R = R.p;
264
264
  }
265
- function C(e, t) {
265
+ function N(e, t) {
266
266
  e && e.i && (be.delete(e), e.i(t));
267
267
  }
268
- function j(e, t, r, n) {
268
+ function z(e, t, r, n) {
269
269
  if (e && e.o) {
270
270
  if (be.has(e))
271
271
  return;
272
- be.add(e), $.c.push(() => {
272
+ be.add(e), R.c.push(() => {
273
273
  be.delete(e), n && (r && e.d(1), n());
274
274
  }), e.o(t);
275
275
  } else
276
276
  n && n();
277
277
  }
278
- function zi(e) {
278
+ function Xi(e) {
279
279
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
280
280
  }
281
- function Sr(e, t, r) {
281
+ function Ar(e, t, r) {
282
282
  const { fragment: n, after_update: i } = e.$$;
283
- n && n.m(t, r), Re(() => {
284
- const s = e.$$.on_mount.map(St).filter(Xe);
285
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : J(s), e.$$.on_mount = [];
286
- }), i.forEach(Re);
283
+ n && n.m(t, r), Ue(() => {
284
+ const s = e.$$.on_mount.map(At).filter(Ze);
285
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : q(s), e.$$.on_mount = [];
286
+ }), i.forEach(Ue);
287
287
  }
288
- function Br(e, t) {
288
+ function Pr(e, t) {
289
289
  const r = e.$$;
290
- r.fragment !== null && (Tr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
290
+ r.fragment !== null && (wr(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
291
291
  }
292
- function Ar(e, t) {
293
- e.$$.dirty[0] === -1 && (F.push(e), vr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
292
+ function Or(e, t) {
293
+ e.$$.dirty[0] === -1 && (j.push(e), Tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
294
294
  }
295
- function Pr(e, t, r, n, i, s, o = null, a = [-1]) {
296
- const l = te;
297
- ee(e);
295
+ function Ir(e, t, r, n, i, s, o = null, a = [-1]) {
296
+ const l = re;
297
+ te(e);
298
298
  const u = e.$$ = {
299
299
  fragment: null,
300
300
  ctx: [],
301
301
  // state
302
302
  props: s,
303
- update: O,
303
+ update: I,
304
304
  not_equal: i,
305
- bound: tt(),
305
+ bound: nt(),
306
306
  // lifecycle
307
307
  on_mount: [],
308
308
  on_destroy: [],
@@ -311,7 +311,7 @@ function Pr(e, t, r, n, i, s, o = null, a = [-1]) {
311
311
  after_update: [],
312
312
  context: new Map(t.context || (l ? l.$$.context : [])),
313
313
  // everything else
314
- callbacks: tt(),
314
+ callbacks: nt(),
315
315
  dirty: a,
316
316
  skip_bound: !1,
317
317
  root: t.target || l.$$.root
@@ -319,20 +319,20 @@ function Pr(e, t, r, n, i, s, o = null, a = [-1]) {
319
319
  o && o(u.root);
320
320
  let h = !1;
321
321
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...y) => {
322
- const b = y.length ? y[0] : c;
323
- return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && Ar(e, f)), c;
324
- }) : [], u.update(), h = !0, J(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
322
+ const p = y.length ? y[0] : c;
323
+ return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), h && Or(e, f)), c;
324
+ }) : [], u.update(), h = !0, q(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
325
325
  if (t.hydrate) {
326
- const f = pr(t.target);
327
- u.fragment && u.fragment.l(f), f.forEach(L);
326
+ const f = yr(t.target);
327
+ u.fragment && u.fragment.l(f), f.forEach(M);
328
328
  } else
329
329
  u.fragment && u.fragment.c();
330
- t.intro && C(e.$$.fragment), Sr(e, t.target, t.anchor), A();
330
+ t.intro && N(e.$$.fragment), Ar(e, t.target, t.anchor), A();
331
331
  }
332
- ee(l);
332
+ te(l);
333
333
  }
334
- let Ot;
335
- typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
334
+ let Ct;
335
+ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
336
336
  constructor(t, r, n) {
337
337
  super();
338
338
  /** The Svelte component constructor */
@@ -369,42 +369,42 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
369
369
  }
370
370
  }
371
371
  connectedCallback() {
372
- return et(this, null, function* () {
372
+ return rt(this, null, function* () {
373
373
  if (this.$$cn = !0, !this.$$c) {
374
374
  let t = function(s) {
375
375
  return () => {
376
376
  let o;
377
377
  return {
378
378
  c: function() {
379
- o = I("slot"), s !== "default" && R(o, "name", s);
379
+ o = C("slot"), s !== "default" && D(o, "name", s);
380
380
  },
381
381
  /**
382
382
  * @param {HTMLElement} target
383
383
  * @param {HTMLElement} [anchor]
384
384
  */
385
385
  m: function(u, h) {
386
- D(u, o, h);
386
+ U(u, o, h);
387
387
  },
388
388
  d: function(u) {
389
- u && L(o);
389
+ u && M(o);
390
390
  }
391
391
  };
392
392
  };
393
393
  };
394
394
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
395
395
  return;
396
- const r = {}, n = gr(this);
396
+ const r = {}, n = _r(this);
397
397
  for (const s of this.$$s)
398
398
  s in n && (r[s] = [t(s)]);
399
399
  for (const s of this.attributes) {
400
400
  const o = this.$$g_p(s.name);
401
- o in this.$$d || (this.$$d[o] = pe(o, s.value, this.$$p_d, "toProp"));
401
+ o in this.$$d || (this.$$d[o] = ge(o, s.value, this.$$p_d, "toProp"));
402
402
  }
403
403
  for (const s in this.$$p_d)
404
404
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
405
405
  this.$$c = new this.$$ctor({
406
406
  target: this.shadowRoot || this,
407
- props: Ke(Ye({}, this.$$d), {
407
+ props: tt(et({}, this.$$d), {
408
408
  $$slots: r,
409
409
  $$scope: {
410
410
  ctx: []
@@ -415,7 +415,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
415
415
  this.$$r = !0;
416
416
  for (const s in this.$$p_d)
417
417
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
418
- const o = pe(
418
+ const o = ge(
419
419
  s,
420
420
  this.$$d[s],
421
421
  this.$$p_d,
@@ -439,7 +439,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
439
439
  // and setting attributes through setAttribute etc, this is helpful
440
440
  attributeChangedCallback(t, r, n) {
441
441
  var i;
442
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = pe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
442
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = ge(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
443
443
  }
444
444
  disconnectedCallback() {
445
445
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -452,7 +452,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
452
452
  ) || t;
453
453
  }
454
454
  });
455
- function pe(e, t, r, n) {
455
+ function ge(e, t, r, n) {
456
456
  var s;
457
457
  const i = (s = r[e]) == null ? void 0 : s.type;
458
458
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -482,8 +482,8 @@ function pe(e, t, r, n) {
482
482
  return t;
483
483
  }
484
484
  }
485
- function Or(e, t, r, n, i, s) {
486
- let o = class extends Ot {
485
+ function Cr(e, t, r, n, i, s) {
486
+ let o = class extends Ct {
487
487
  constructor() {
488
488
  super(e, r, i), this.$$p_d = t;
489
489
  }
@@ -500,7 +500,7 @@ function Or(e, t, r, n, i, s) {
500
500
  },
501
501
  set(l) {
502
502
  var u;
503
- l = pe(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
503
+ l = ge(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
504
504
  }
505
505
  });
506
506
  }), n.forEach((a) => {
@@ -513,7 +513,7 @@ function Or(e, t, r, n, i, s) {
513
513
  }), e.element = /** @type {any} */
514
514
  o, o;
515
515
  }
516
- class Ir {
516
+ class Nr {
517
517
  constructor() {
518
518
  /**
519
519
  * ### PRIVATE API
@@ -534,7 +534,7 @@ class Ir {
534
534
  }
535
535
  /** @returns {void} */
536
536
  $destroy() {
537
- Br(this, 1), this.$destroy = O;
537
+ Pr(this, 1), this.$destroy = I;
538
538
  }
539
539
  /**
540
540
  * @template {Extract<keyof Events, string>} K
@@ -543,8 +543,8 @@ class Ir {
543
543
  * @returns {() => void}
544
544
  */
545
545
  $on(t, r) {
546
- if (!Xe(r))
547
- return O;
546
+ if (!Ze(r))
547
+ return I;
548
548
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
549
549
  return n.push(r), () => {
550
550
  const i = n.indexOf(r);
@@ -556,191 +556,177 @@ class Ir {
556
556
  * @returns {void}
557
557
  */
558
558
  $set(t) {
559
- this.$$set && !lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
559
+ this.$$set && !cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
560
560
  }
561
561
  }
562
- const Cr = "4";
563
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cr);
564
- const k = [];
565
- function Nr(e, t) {
562
+ const Lr = "4";
563
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Lr);
564
+ const F = [];
565
+ function Mr(e, t) {
566
566
  return {
567
- subscribe: xe(e, t).subscribe
567
+ subscribe: He(e, t).subscribe
568
568
  };
569
569
  }
570
- function xe(e, t = O) {
570
+ function He(e, t = I) {
571
571
  let r;
572
572
  const n = /* @__PURE__ */ new Set();
573
573
  function i(a) {
574
- if (Bt(e, a) && (e = a, r)) {
575
- const l = !k.length;
574
+ if (Pt(e, a) && (e = a, r)) {
575
+ const l = !F.length;
576
576
  for (const u of n)
577
- u[1](), k.push(u, e);
577
+ u[1](), F.push(u, e);
578
578
  if (l) {
579
- for (let u = 0; u < k.length; u += 2)
580
- k[u][0](k[u + 1]);
581
- k.length = 0;
579
+ for (let u = 0; u < F.length; u += 2)
580
+ F[u][0](F[u + 1]);
581
+ F.length = 0;
582
582
  }
583
583
  }
584
584
  }
585
585
  function s(a) {
586
586
  i(a(e));
587
587
  }
588
- function o(a, l = O) {
588
+ function o(a, l = I) {
589
589
  const u = [a, l];
590
- return n.add(u), n.size === 1 && (r = t(i, s) || O), a(e), () => {
590
+ return n.add(u), n.size === 1 && (r = t(i, s) || I), a(e), () => {
591
591
  n.delete(u), n.size === 0 && r && (r(), r = null);
592
592
  };
593
593
  }
594
594
  return { set: i, update: s, subscribe: o };
595
595
  }
596
- function q(e, t, r) {
596
+ function Q(e, t, r) {
597
597
  const n = !Array.isArray(e), i = n ? [e] : e;
598
598
  if (!i.every(Boolean))
599
599
  throw new Error("derived() expects stores as input, got a falsy value");
600
600
  const s = t.length < 2;
601
- return Nr(r, (o, a) => {
601
+ return Mr(r, (o, a) => {
602
602
  let l = !1;
603
603
  const u = [];
604
- let h = 0, f = O;
604
+ let h = 0, f = I;
605
605
  const c = () => {
606
606
  if (h)
607
607
  return;
608
608
  f();
609
- const b = t(n ? u[0] : u, o, a);
610
- s ? o(b) : f = Xe(b) ? b : O;
609
+ const p = t(n ? u[0] : u, o, a);
610
+ s ? o(p) : f = Ze(p) ? p : I;
611
611
  }, y = i.map(
612
- (b, v) => At(
613
- b,
614
- (E) => {
615
- u[v] = E, h &= ~(1 << v), l && c();
612
+ (p, E) => Ot(
613
+ p,
614
+ (_) => {
615
+ u[E] = _, h &= ~(1 << E), l && c();
616
616
  },
617
617
  () => {
618
- h |= 1 << v;
618
+ h |= 1 << E;
619
619
  }
620
620
  )
621
621
  );
622
622
  return l = !0, c(), function() {
623
- J(y), f(), l = !1;
623
+ q(y), f(), l = !1;
624
624
  };
625
625
  });
626
626
  }
627
- var Vi = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
628
- function Lr(e) {
627
+ var Wi = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
628
+ function $r(e) {
629
629
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
630
630
  }
631
- var Mr = function(t) {
632
- return $r(t) && !Rr(t);
631
+ var Rr = function(t) {
632
+ return Dr(t) && !Ur(t);
633
633
  };
634
- function $r(e) {
634
+ function Dr(e) {
635
635
  return !!e && typeof e == "object";
636
636
  }
637
- function Rr(e) {
637
+ function Ur(e) {
638
638
  var t = Object.prototype.toString.call(e);
639
- return t === "[object RegExp]" || t === "[object Date]" || Gr(e);
639
+ return t === "[object RegExp]" || t === "[object Date]" || Fr(e);
640
640
  }
641
- var Dr = typeof Symbol == "function" && Symbol.for, Ur = Dr ? Symbol.for("react.element") : 60103;
642
- function Gr(e) {
643
- return e.$$typeof === Ur;
641
+ var Gr = typeof Symbol == "function" && Symbol.for, kr = Gr ? Symbol.for("react.element") : 60103;
642
+ function Fr(e) {
643
+ return e.$$typeof === kr;
644
644
  }
645
- function kr(e) {
645
+ function jr(e) {
646
646
  return Array.isArray(e) ? [] : {};
647
647
  }
648
- function re(e, t) {
649
- return t.clone !== !1 && t.isMergeableObject(e) ? V(kr(e), e, t) : e;
648
+ function ne(e, t) {
649
+ return t.clone !== !1 && t.isMergeableObject(e) ? X(jr(e), e, t) : e;
650
650
  }
651
- function Fr(e, t, r) {
651
+ function zr(e, t, r) {
652
652
  return e.concat(t).map(function(n) {
653
- return re(n, r);
653
+ return ne(n, r);
654
654
  });
655
655
  }
656
- function jr(e, t) {
656
+ function Vr(e, t) {
657
657
  if (!t.customMerge)
658
- return V;
658
+ return X;
659
659
  var r = t.customMerge(e);
660
- return typeof r == "function" ? r : V;
660
+ return typeof r == "function" ? r : X;
661
661
  }
662
- function zr(e) {
662
+ function Xr(e) {
663
663
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
664
664
  return Object.propertyIsEnumerable.call(e, t);
665
665
  }) : [];
666
666
  }
667
- function it(e) {
668
- return Object.keys(e).concat(zr(e));
667
+ function ot(e) {
668
+ return Object.keys(e).concat(Xr(e));
669
669
  }
670
- function It(e, t) {
670
+ function Nt(e, t) {
671
671
  try {
672
672
  return t in e;
673
673
  } catch (r) {
674
674
  return !1;
675
675
  }
676
676
  }
677
- function Vr(e, t) {
678
- return It(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
677
+ function Wr(e, t) {
678
+ return Nt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
679
679
  }
680
- function Xr(e, t, r) {
680
+ function Zr(e, t, r) {
681
681
  var n = {};
682
- return r.isMergeableObject(e) && it(e).forEach(function(i) {
683
- n[i] = re(e[i], r);
684
- }), it(t).forEach(function(i) {
685
- Vr(e, i) || (It(e, i) && r.isMergeableObject(t[i]) ? n[i] = jr(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
682
+ return r.isMergeableObject(e) && ot(e).forEach(function(i) {
683
+ n[i] = ne(e[i], r);
684
+ }), ot(t).forEach(function(i) {
685
+ Wr(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Vr(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
686
686
  }), n;
687
687
  }
688
- function V(e, t, r) {
689
- r = r || {}, r.arrayMerge = r.arrayMerge || Fr, r.isMergeableObject = r.isMergeableObject || Mr, r.cloneUnlessOtherwiseSpecified = re;
688
+ function X(e, t, r) {
689
+ r = r || {}, r.arrayMerge = r.arrayMerge || zr, r.isMergeableObject = r.isMergeableObject || Rr, r.cloneUnlessOtherwiseSpecified = ne;
690
690
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
691
- return s ? n ? r.arrayMerge(e, t, r) : Xr(e, t, r) : re(t, r);
691
+ return s ? n ? r.arrayMerge(e, t, r) : Zr(e, t, r) : ne(t, r);
692
692
  }
693
- V.all = function(t, r) {
693
+ X.all = function(t, r) {
694
694
  if (!Array.isArray(t))
695
695
  throw new Error("first argument should be an array");
696
696
  return t.reduce(function(n, i) {
697
- return V(n, i, r);
697
+ return X(n, i, r);
698
698
  }, {});
699
699
  };
700
- var Wr = V, Zr = Wr;
701
- const Jr = /* @__PURE__ */ Lr(Zr);
702
- /*! *****************************************************************************
703
- Copyright (c) Microsoft Corporation.
704
-
705
- Permission to use, copy, modify, and/or distribute this software for any
706
- purpose with or without fee is hereby granted.
707
-
708
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
709
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
710
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
711
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
712
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
713
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
714
- PERFORMANCE OF THIS SOFTWARE.
715
- ***************************************************************************** */
716
- var De = function(e, t) {
717
- return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
700
+ var Jr = X, qr = Jr;
701
+ const Qr = /* @__PURE__ */ $r(qr);
702
+ var Ge = function(e, t) {
703
+ return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
718
704
  r.__proto__ = n;
719
705
  } || function(r, n) {
720
706
  for (var i in n)
721
707
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
722
- }, De(e, t);
708
+ }, Ge(e, t);
723
709
  };
724
- function Te(e, t) {
710
+ function we(e, t) {
725
711
  if (typeof t != "function" && t !== null)
726
712
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
727
- De(e, t);
713
+ Ge(e, t);
728
714
  function r() {
729
715
  this.constructor = e;
730
716
  }
731
717
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
732
718
  }
733
- var _ = function() {
734
- return _ = Object.assign || function(t) {
719
+ var P = function() {
720
+ return P = Object.assign || function(t) {
735
721
  for (var r, n = 1, i = arguments.length; n < i; n++) {
736
722
  r = arguments[n];
737
723
  for (var s in r)
738
724
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
739
725
  }
740
726
  return t;
741
- }, _.apply(this, arguments);
727
+ }, P.apply(this, arguments);
742
728
  };
743
- function qr(e, t) {
729
+ function Yr(e, t) {
744
730
  var r = {};
745
731
  for (var n in e)
746
732
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -749,75 +735,43 @@ function qr(e, t) {
749
735
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
750
736
  return r;
751
737
  }
752
- function Xi(e) {
753
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
754
- if (r)
755
- return r.call(e);
756
- if (e && typeof e.length == "number")
757
- return {
758
- next: function() {
759
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
760
- }
761
- };
762
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
763
- }
764
- function Wi(e, t) {
765
- var r = typeof Symbol == "function" && e[Symbol.iterator];
766
- if (!r)
767
- return e;
768
- var n = r.call(e), i, s = [], o;
769
- try {
770
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
771
- s.push(i.value);
772
- } catch (a) {
773
- o = { error: a };
774
- } finally {
775
- try {
776
- i && !i.done && (r = n.return) && r.call(n);
777
- } finally {
778
- if (o)
779
- throw o.error;
780
- }
781
- }
782
- return s;
783
- }
784
- function Pe(e, t, r) {
738
+ function Ie(e, t, r) {
785
739
  if (r || arguments.length === 2)
786
740
  for (var n = 0, i = t.length, s; n < i; n++)
787
741
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
788
- return e.concat(s || t);
742
+ return e.concat(s || Array.prototype.slice.call(t));
789
743
  }
790
- function Oe(e, t) {
791
- var r = t && t.cache ? t.cache : nn, n = t && t.serializer ? t.serializer : tn, i = t && t.strategy ? t.strategy : Kr;
744
+ function Ce(e, t) {
745
+ var r = t && t.cache ? t.cache : on, n = t && t.serializer ? t.serializer : nn, i = t && t.strategy ? t.strategy : tn;
792
746
  return i(e, {
793
747
  cache: r,
794
748
  serializer: n
795
749
  });
796
750
  }
797
- function Qr(e) {
751
+ function Kr(e) {
798
752
  return e == null || typeof e == "number" || typeof e == "boolean";
799
753
  }
800
- function Yr(e, t, r, n) {
801
- var i = Qr(n) ? n : r(n), s = t.get(i);
754
+ function en(e, t, r, n) {
755
+ var i = Kr(n) ? n : r(n), s = t.get(i);
802
756
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
803
757
  }
804
- function Ct(e, t, r) {
758
+ function Lt(e, t, r) {
805
759
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
806
760
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
807
761
  }
808
- function Nt(e, t, r, n, i) {
762
+ function Mt(e, t, r, n, i) {
809
763
  return r.bind(t, e, n, i);
810
764
  }
811
- function Kr(e, t) {
812
- var r = e.length === 1 ? Yr : Ct;
813
- return Nt(e, this, r, t.cache.create(), t.serializer);
765
+ function tn(e, t) {
766
+ var r = e.length === 1 ? en : Lt;
767
+ return Mt(e, this, r, t.cache.create(), t.serializer);
814
768
  }
815
- function en(e, t) {
816
- return Nt(e, this, Ct, t.cache.create(), t.serializer);
769
+ function rn(e, t) {
770
+ return Mt(e, this, Lt, t.cache.create(), t.serializer);
817
771
  }
818
- var tn = function() {
772
+ var nn = function() {
819
773
  return JSON.stringify(arguments);
820
- }, rn = (
774
+ }, sn = (
821
775
  /** @class */
822
776
  function() {
823
777
  function e() {
@@ -829,61 +783,71 @@ var tn = function() {
829
783
  this.cache[t] = r;
830
784
  }, e;
831
785
  }()
832
- ), nn = {
786
+ ), on = {
833
787
  create: function() {
834
- return new rn();
788
+ return new sn();
835
789
  }
836
- }, Ie = {
837
- variadic: en
838
- }, p;
790
+ }, Ne = {
791
+ variadic: rn
792
+ }, Ee = function() {
793
+ return Ee = Object.assign || function(t) {
794
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
795
+ r = arguments[n];
796
+ for (var s in r)
797
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
798
+ }
799
+ return t;
800
+ }, Ee.apply(this, arguments);
801
+ };
802
+ var b;
839
803
  (function(e) {
840
804
  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";
841
- })(p || (p = {}));
842
- var T;
805
+ })(b || (b = {}));
806
+ var x;
843
807
  (function(e) {
844
808
  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";
845
- })(T || (T = {}));
846
- var X;
809
+ })(x || (x = {}));
810
+ var W;
847
811
  (function(e) {
848
812
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
849
- })(X || (X = {}));
850
- function st(e) {
851
- return e.type === T.literal;
852
- }
853
- function sn(e) {
854
- return e.type === T.argument;
855
- }
856
- function Lt(e) {
857
- return e.type === T.number;
813
+ })(W || (W = {}));
814
+ function at(e) {
815
+ return e.type === x.literal;
858
816
  }
859
- function Mt(e) {
860
- return e.type === T.date;
817
+ function an(e) {
818
+ return e.type === x.argument;
861
819
  }
862
820
  function $t(e) {
863
- return e.type === T.time;
821
+ return e.type === x.number;
864
822
  }
865
823
  function Rt(e) {
866
- return e.type === T.select;
824
+ return e.type === x.date;
867
825
  }
868
826
  function Dt(e) {
869
- return e.type === T.plural;
870
- }
871
- function on(e) {
872
- return e.type === T.pound;
827
+ return e.type === x.time;
873
828
  }
874
829
  function Ut(e) {
875
- return e.type === T.tag;
830
+ return e.type === x.select;
876
831
  }
877
832
  function Gt(e) {
878
- return !!(e && typeof e == "object" && e.type === X.number);
879
- }
880
- function Ue(e) {
881
- return !!(e && typeof e == "object" && e.type === X.dateTime);
833
+ return e.type === x.plural;
882
834
  }
883
- var kt = /[ \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;
884
835
  function un(e) {
836
+ return e.type === x.pound;
837
+ }
838
+ function kt(e) {
839
+ return e.type === x.tag;
840
+ }
841
+ function Ft(e) {
842
+ return !!(e && typeof e == "object" && e.type === W.number);
843
+ }
844
+ function ke(e) {
845
+ return !!(e && typeof e == "object" && e.type === W.dateTime);
846
+ }
847
+ var jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ln = /(?:[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;
848
+ function hn(e) {
885
849
  var t = {};
886
- return e.replace(an, function(r) {
850
+ return e.replace(ln, function(r) {
887
851
  var n = r.length;
888
852
  switch (r[0]) {
889
853
  case "G":
@@ -972,11 +936,21 @@ function un(e) {
972
936
  return "";
973
937
  }), t;
974
938
  }
975
- var ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
976
- function hn(e) {
939
+ var T = function() {
940
+ return T = Object.assign || function(t) {
941
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
942
+ r = arguments[n];
943
+ for (var s in r)
944
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
945
+ }
946
+ return t;
947
+ }, T.apply(this, arguments);
948
+ };
949
+ var cn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
950
+ function fn(e) {
977
951
  if (e.length === 0)
978
952
  throw new Error("Number skeleton cannot be empty");
979
- for (var t = e.split(ln).filter(function(c) {
953
+ for (var t = e.split(cn).filter(function(c) {
980
954
  return c.length > 0;
981
955
  }), r = [], n = 0, i = t; n < i.length; n++) {
982
956
  var s = i[n], o = s.split("/");
@@ -991,17 +965,17 @@ function hn(e) {
991
965
  }
992
966
  return r;
993
967
  }
994
- function cn(e) {
968
+ function mn(e) {
995
969
  return e.replace(/^(.*?)-/, "");
996
970
  }
997
- var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ft = /^(@+)?(\+|#+)?[rs]?$/g, fn = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
998
- function at(e) {
971
+ var ut = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zt = /^(@+)?(\+|#+)?[rs]?$/g, dn = /(\*)(0+)|(#+)(0+)|(0+)/g, Vt = /^(0+)$/;
972
+ function lt(e) {
999
973
  var t = {};
1000
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ft, function(r, n, i) {
974
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zt, function(r, n, i) {
1001
975
  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)), "";
1002
976
  }), t;
1003
977
  }
1004
- function zt(e) {
978
+ function Xt(e) {
1005
979
  switch (e) {
1006
980
  case "sign-auto":
1007
981
  return {
@@ -1041,7 +1015,7 @@ function zt(e) {
1041
1015
  };
1042
1016
  }
1043
1017
  }
1044
- function mn(e) {
1018
+ function pn(e) {
1045
1019
  var t;
1046
1020
  if (e[0] === "E" && e[1] === "E" ? (t = {
1047
1021
  notation: "engineering"
@@ -1049,17 +1023,17 @@ function mn(e) {
1049
1023
  notation: "scientific"
1050
1024
  }, e = e.slice(1)), t) {
1051
1025
  var r = e.slice(0, 2);
1052
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jt.test(e))
1026
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Vt.test(e))
1053
1027
  throw new Error("Malformed concise eng/scientific notation");
1054
1028
  t.minimumIntegerDigits = e.length;
1055
1029
  }
1056
1030
  return t;
1057
1031
  }
1058
- function ut(e) {
1059
- var t = {}, r = zt(e);
1032
+ function ht(e) {
1033
+ var t = {}, r = Xt(e);
1060
1034
  return r || t;
1061
1035
  }
1062
- function dn(e) {
1036
+ function bn(e) {
1063
1037
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1064
1038
  var i = n[r];
1065
1039
  switch (i.stem) {
@@ -1083,7 +1057,7 @@ function dn(e) {
1083
1057
  continue;
1084
1058
  case "measure-unit":
1085
1059
  case "unit":
1086
- t.style = "unit", t.unit = cn(i.options[0]);
1060
+ t.style = "unit", t.unit = mn(i.options[0]);
1087
1061
  continue;
1088
1062
  case "compact-short":
1089
1063
  case "K":
@@ -1094,13 +1068,13 @@ function dn(e) {
1094
1068
  t.notation = "compact", t.compactDisplay = "long";
1095
1069
  continue;
1096
1070
  case "scientific":
1097
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1098
- return _(_({}, l), ut(u));
1071
+ t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1072
+ return T(T({}, l), ht(u));
1099
1073
  }, {}));
1100
1074
  continue;
1101
1075
  case "engineering":
1102
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1103
- return _(_({}, l), ut(u));
1076
+ t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1077
+ return T(T({}, l), ht(u));
1104
1078
  }, {}));
1105
1079
  continue;
1106
1080
  case "notation-simple":
@@ -1145,7 +1119,7 @@ function dn(e) {
1145
1119
  case "integer-width":
1146
1120
  if (i.options.length > 1)
1147
1121
  throw new RangeError("integer-width stems only accept a single optional option");
1148
- i.options[0].replace(fn, function(l, u, h, f, c, y) {
1122
+ i.options[0].replace(dn, function(l, u, h, f, c, y) {
1149
1123
  if (u)
1150
1124
  t.minimumIntegerDigits = h.length;
1151
1125
  else {
@@ -1158,32 +1132,32 @@ function dn(e) {
1158
1132
  });
1159
1133
  continue;
1160
1134
  }
1161
- if (jt.test(i.stem)) {
1135
+ if (Vt.test(i.stem)) {
1162
1136
  t.minimumIntegerDigits = i.stem.length;
1163
1137
  continue;
1164
1138
  }
1165
- if (ot.test(i.stem)) {
1139
+ if (ut.test(i.stem)) {
1166
1140
  if (i.options.length > 1)
1167
1141
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1168
- i.stem.replace(ot, function(l, u, h, f, c, y) {
1142
+ i.stem.replace(ut, function(l, u, h, f, c, y) {
1169
1143
  return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && y ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1170
1144
  });
1171
1145
  var s = i.options[0];
1172
- s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), at(s)));
1146
+ s === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = T(T({}, t), lt(s)));
1173
1147
  continue;
1174
1148
  }
1175
- if (Ft.test(i.stem)) {
1176
- t = _(_({}, t), at(i.stem));
1149
+ if (zt.test(i.stem)) {
1150
+ t = T(T({}, t), lt(i.stem));
1177
1151
  continue;
1178
1152
  }
1179
- var o = zt(i.stem);
1180
- o && (t = _(_({}, t), o));
1181
- var a = mn(i.stem);
1182
- a && (t = _(_({}, t), a));
1153
+ var o = Xt(i.stem);
1154
+ o && (t = T(T({}, t), o));
1155
+ var a = pn(i.stem);
1156
+ a && (t = T(T({}, t), a));
1183
1157
  }
1184
1158
  return t;
1185
1159
  }
1186
- var he = {
1160
+ var ce = {
1187
1161
  "001": [
1188
1162
  "H",
1189
1163
  "h"
@@ -2598,13 +2572,13 @@ var he = {
2598
2572
  "h"
2599
2573
  ]
2600
2574
  };
2601
- function bn(e, t) {
2575
+ function gn(e, t) {
2602
2576
  for (var r = "", n = 0; n < e.length; n++) {
2603
2577
  var i = e.charAt(n);
2604
2578
  if (i === "j") {
2605
2579
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2606
2580
  s++, n++;
2607
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = pn(t);
2581
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = yn(t);
2608
2582
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2609
2583
  r += l;
2610
2584
  for (; o-- > 0; )
@@ -2614,7 +2588,7 @@ function bn(e, t) {
2614
2588
  }
2615
2589
  return r;
2616
2590
  }
2617
- function pn(e) {
2591
+ function yn(e) {
2618
2592
  var t = e.hourCycle;
2619
2593
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2620
2594
  e.hourCycles && // @ts-ignore
@@ -2633,23 +2607,23 @@ function pn(e) {
2633
2607
  }
2634
2608
  var r = e.language, n;
2635
2609
  r !== "root" && (n = e.maximize().region);
2636
- var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
2610
+ var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
2637
2611
  return i[0];
2638
2612
  }
2639
- var Ce, gn = new RegExp("^".concat(kt.source, "*")), yn = new RegExp("".concat(kt.source, "*$"));
2613
+ var Le, _n = new RegExp("^".concat(jt.source, "*")), En = new RegExp("".concat(jt.source, "*$"));
2640
2614
  function g(e, t) {
2641
2615
  return { start: e, end: t };
2642
2616
  }
2643
- var _n = !!String.prototype.startsWith && "_a".startsWith("a", 1), En = !!String.fromCodePoint, vn = !!Object.fromEntries, xn = !!String.prototype.codePointAt, Tn = !!String.prototype.trimStart, Hn = !!String.prototype.trimEnd, wn = !!Number.isSafeInteger, Sn = wn ? Number.isSafeInteger : function(e) {
2617
+ var vn = !!String.prototype.startsWith && "_a".startsWith("a", 1), xn = !!String.fromCodePoint, Tn = !!Object.fromEntries, Hn = !!String.prototype.codePointAt, wn = !!String.prototype.trimStart, Sn = !!String.prototype.trimEnd, Bn = !!Number.isSafeInteger, An = Bn ? Number.isSafeInteger : function(e) {
2644
2618
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2645
- }, Ge = !0;
2619
+ }, Fe = !0;
2646
2620
  try {
2647
- var Bn = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2648
- Ge = ((Ce = Bn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
2621
+ var Pn = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2622
+ Fe = ((Le = Pn.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
2649
2623
  } catch (e) {
2650
- Ge = !1;
2624
+ Fe = !1;
2651
2625
  }
2652
- var lt = _n ? (
2626
+ var ct = vn ? (
2653
2627
  // Native
2654
2628
  function(t, r, n) {
2655
2629
  return t.startsWith(r, n);
@@ -2659,7 +2633,7 @@ var lt = _n ? (
2659
2633
  function(t, r, n) {
2660
2634
  return t.slice(n, n + r.length) === r;
2661
2635
  }
2662
- ), ke = En ? String.fromCodePoint : (
2636
+ ), je = xn ? String.fromCodePoint : (
2663
2637
  // IE11
2664
2638
  function() {
2665
2639
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2671,9 +2645,9 @@ var lt = _n ? (
2671
2645
  }
2672
2646
  return n;
2673
2647
  }
2674
- ), ht = (
2648
+ ), ft = (
2675
2649
  // native
2676
- vn ? Object.fromEntries : (
2650
+ Tn ? Object.fromEntries : (
2677
2651
  // Ponyfill
2678
2652
  function(t) {
2679
2653
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2683,7 +2657,7 @@ var lt = _n ? (
2683
2657
  return r;
2684
2658
  }
2685
2659
  )
2686
- ), Vt = xn ? (
2660
+ ), Wt = Hn ? (
2687
2661
  // Native
2688
2662
  function(t, r) {
2689
2663
  return t.codePointAt(r);
@@ -2697,7 +2671,7 @@ var lt = _n ? (
2697
2671
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2698
2672
  }
2699
2673
  }
2700
- ), An = Tn ? (
2674
+ ), On = wn ? (
2701
2675
  // Native
2702
2676
  function(t) {
2703
2677
  return t.trimStart();
@@ -2705,9 +2679,9 @@ var lt = _n ? (
2705
2679
  ) : (
2706
2680
  // Ponyfill
2707
2681
  function(t) {
2708
- return t.replace(gn, "");
2682
+ return t.replace(_n, "");
2709
2683
  }
2710
- ), Pn = Hn ? (
2684
+ ), In = Sn ? (
2711
2685
  // Native
2712
2686
  function(t) {
2713
2687
  return t.trimEnd();
@@ -2715,32 +2689,32 @@ var lt = _n ? (
2715
2689
  ) : (
2716
2690
  // Ponyfill
2717
2691
  function(t) {
2718
- return t.replace(yn, "");
2692
+ return t.replace(En, "");
2719
2693
  }
2720
2694
  );
2721
- function Xt(e, t) {
2695
+ function Zt(e, t) {
2722
2696
  return new RegExp(e, t);
2723
2697
  }
2724
- var Fe;
2725
- if (Ge) {
2726
- var ct = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2727
- Fe = function(t, r) {
2698
+ var ze;
2699
+ if (Fe) {
2700
+ var mt = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2701
+ ze = function(t, r) {
2728
2702
  var n;
2729
- ct.lastIndex = r;
2730
- var i = ct.exec(t);
2703
+ mt.lastIndex = r;
2704
+ var i = mt.exec(t);
2731
2705
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2732
2706
  };
2733
2707
  } else
2734
- Fe = function(t, r) {
2708
+ ze = function(t, r) {
2735
2709
  for (var n = []; ; ) {
2736
- var i = Vt(t, r);
2737
- if (i === void 0 || Wt(i) || Nn(i))
2710
+ var i = Wt(t, r);
2711
+ if (i === void 0 || Jt(i) || Mn(i))
2738
2712
  break;
2739
2713
  n.push(i), r += i >= 65536 ? 2 : 1;
2740
2714
  }
2741
- return ke.apply(void 0, n);
2715
+ return je.apply(void 0, n);
2742
2716
  };
2743
- var On = (
2717
+ var Cn = (
2744
2718
  /** @class */
2745
2719
  function() {
2746
2720
  function e(t, r) {
@@ -2764,14 +2738,14 @@ var On = (
2764
2738
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2765
2739
  var a = this.clonePosition();
2766
2740
  this.bump(), i.push({
2767
- type: T.pound,
2741
+ type: x.pound,
2768
2742
  location: g(a, this.clonePosition())
2769
2743
  });
2770
2744
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2771
2745
  if (n)
2772
2746
  break;
2773
- return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
2774
- } else if (s === 60 && !this.ignoreTag && je(this.peek() || 0)) {
2747
+ return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
2748
+ } else if (s === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
2775
2749
  var o = this.parseTag(t, r);
2776
2750
  if (o.err)
2777
2751
  return o;
@@ -2792,7 +2766,7 @@ var On = (
2792
2766
  if (this.bumpSpace(), this.bumpIf("/>"))
2793
2767
  return {
2794
2768
  val: {
2795
- type: T.literal,
2769
+ type: x.literal,
2796
2770
  value: "<".concat(i, "/>"),
2797
2771
  location: g(n, this.clonePosition())
2798
2772
  },
@@ -2804,25 +2778,25 @@ var On = (
2804
2778
  return s;
2805
2779
  var o = s.val, a = this.clonePosition();
2806
2780
  if (this.bumpIf("</")) {
2807
- if (this.isEOF() || !je(this.char()))
2808
- return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
2781
+ if (this.isEOF() || !Ve(this.char()))
2782
+ return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
2809
2783
  var l = this.clonePosition(), u = this.parseTagName();
2810
- return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2784
+ return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2811
2785
  val: {
2812
- type: T.tag,
2786
+ type: x.tag,
2813
2787
  value: i,
2814
2788
  children: o,
2815
2789
  location: g(n, this.clonePosition())
2816
2790
  },
2817
2791
  err: null
2818
- } : this.error(p.INVALID_TAG, g(a, this.clonePosition())));
2792
+ } : this.error(b.INVALID_TAG, g(a, this.clonePosition())));
2819
2793
  } else
2820
- return this.error(p.UNCLOSED_TAG, g(n, this.clonePosition()));
2794
+ return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
2821
2795
  } else
2822
- return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
2796
+ return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
2823
2797
  }, e.prototype.parseTagName = function() {
2824
2798
  var t = this.offset();
2825
- for (this.bump(); !this.isEOF() && Cn(this.char()); )
2799
+ for (this.bump(); !this.isEOF() && Ln(this.char()); )
2826
2800
  this.bump();
2827
2801
  return this.message.slice(t, this.offset());
2828
2802
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2846,12 +2820,12 @@ var On = (
2846
2820
  }
2847
2821
  var l = g(n, this.clonePosition());
2848
2822
  return {
2849
- val: { type: T.literal, value: i, location: l },
2823
+ val: { type: x.literal, value: i, location: l },
2850
2824
  err: null
2851
2825
  };
2852
2826
  }, e.prototype.tryParseLeftAngleBracket = function() {
2853
2827
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2854
- !In(this.peek() || 0)) ? (this.bump(), "<") : null;
2828
+ !Nn(this.peek() || 0)) ? (this.bump(), "<") : null;
2855
2829
  }, e.prototype.tryParseQuote = function(t) {
2856
2830
  if (this.isEOF() || this.char() !== 39)
2857
2831
  return null;
@@ -2885,28 +2859,28 @@ var On = (
2885
2859
  r.push(n);
2886
2860
  this.bump();
2887
2861
  }
2888
- return ke.apply(void 0, r);
2862
+ return je.apply(void 0, r);
2889
2863
  }, e.prototype.tryParseUnquoted = function(t, r) {
2890
2864
  if (this.isEOF())
2891
2865
  return null;
2892
2866
  var n = this.char();
2893
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
2867
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
2894
2868
  }, e.prototype.parseArgument = function(t, r) {
2895
2869
  var n = this.clonePosition();
2896
2870
  if (this.bump(), this.bumpSpace(), this.isEOF())
2897
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
2871
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
2898
2872
  if (this.char() === 125)
2899
- return this.bump(), this.error(p.EMPTY_ARGUMENT, g(n, this.clonePosition()));
2873
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, g(n, this.clonePosition()));
2900
2874
  var i = this.parseIdentifierIfPossible().value;
2901
2875
  if (!i)
2902
- return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
2876
+ return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
2903
2877
  if (this.bumpSpace(), this.isEOF())
2904
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
2878
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
2905
2879
  switch (this.char()) {
2906
2880
  case 125:
2907
2881
  return this.bump(), {
2908
2882
  val: {
2909
- type: T.argument,
2883
+ type: x.argument,
2910
2884
  // value does not include the opening and closing braces.
2911
2885
  value: i,
2912
2886
  location: g(n, this.clonePosition())
@@ -2914,12 +2888,12 @@ var On = (
2914
2888
  err: null
2915
2889
  };
2916
2890
  case 44:
2917
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2891
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2918
2892
  default:
2919
- return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
2893
+ return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
2920
2894
  }
2921
2895
  }, e.prototype.parseIdentifierIfPossible = function() {
2922
- var t = this.clonePosition(), r = this.offset(), n = Fe(this.message, r), i = r + n.length;
2896
+ var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
2923
2897
  this.bumpTo(i);
2924
2898
  var s = this.clonePosition(), o = g(t, s);
2925
2899
  return { value: n, location: o };
@@ -2927,7 +2901,7 @@ var On = (
2927
2901
  var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2928
2902
  switch (a) {
2929
2903
  case "":
2930
- return this.error(p.EXPECT_ARGUMENT_TYPE, g(o, l));
2904
+ return this.error(b.EXPECT_ARGUMENT_TYPE, g(o, l));
2931
2905
  case "number":
2932
2906
  case "date":
2933
2907
  case "time": {
@@ -2938,46 +2912,46 @@ var On = (
2938
2912
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2939
2913
  if (f.err)
2940
2914
  return f;
2941
- var c = Pn(f.val);
2915
+ var c = In(f.val);
2942
2916
  if (c.length === 0)
2943
- return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
2917
+ return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
2944
2918
  var y = g(h, this.clonePosition());
2945
2919
  u = { style: c, styleLocation: y };
2946
2920
  }
2947
- var b = this.tryParseArgumentClose(i);
2948
- if (b.err)
2949
- return b;
2950
- var v = g(i, this.clonePosition());
2951
- if (u && lt(u == null ? void 0 : u.style, "::", 0)) {
2952
- var E = An(u.style.slice(2));
2921
+ var p = this.tryParseArgumentClose(i);
2922
+ if (p.err)
2923
+ return p;
2924
+ var E = g(i, this.clonePosition());
2925
+ if (u && ct(u == null ? void 0 : u.style, "::", 0)) {
2926
+ var _ = On(u.style.slice(2));
2953
2927
  if (a === "number") {
2954
- var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
2928
+ var f = this.parseNumberSkeletonFromString(_, u.styleLocation);
2955
2929
  return f.err ? f : {
2956
- val: { type: T.number, value: n, location: v, style: f.val },
2930
+ val: { type: x.number, value: n, location: E, style: f.val },
2957
2931
  err: null
2958
2932
  };
2959
2933
  } else {
2960
- if (E.length === 0)
2961
- return this.error(p.EXPECT_DATE_TIME_SKELETON, v);
2962
- var m = E;
2963
- this.locale && (m = bn(E, this.locale));
2934
+ if (_.length === 0)
2935
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, E);
2936
+ var m = _;
2937
+ this.locale && (m = gn(_, this.locale));
2964
2938
  var c = {
2965
- type: X.dateTime,
2939
+ type: W.dateTime,
2966
2940
  pattern: m,
2967
2941
  location: u.styleLocation,
2968
- parsedOptions: this.shouldParseSkeletons ? un(m) : {}
2969
- }, x = a === "date" ? T.date : T.time;
2942
+ parsedOptions: this.shouldParseSkeletons ? hn(m) : {}
2943
+ }, v = a === "date" ? x.date : x.time;
2970
2944
  return {
2971
- val: { type: x, value: n, location: v, style: c },
2945
+ val: { type: v, value: n, location: E, style: c },
2972
2946
  err: null
2973
2947
  };
2974
2948
  }
2975
2949
  }
2976
2950
  return {
2977
2951
  val: {
2978
- type: a === "number" ? T.number : a === "date" ? T.date : T.time,
2952
+ type: a === "number" ? x.number : a === "date" ? x.date : x.time,
2979
2953
  value: n,
2980
- location: v,
2954
+ location: E,
2981
2955
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
2982
2956
  },
2983
2957
  err: null
@@ -2988,50 +2962,50 @@ var On = (
2988
2962
  case "select": {
2989
2963
  var d = this.clonePosition();
2990
2964
  if (this.bumpSpace(), !this.bumpIf(","))
2991
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(d, _({}, d)));
2965
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(d, Ee({}, d)));
2992
2966
  this.bumpSpace();
2993
2967
  var w = this.parseIdentifierIfPossible(), B = 0;
2994
2968
  if (a !== "select" && w.value === "offset") {
2995
2969
  if (!this.bumpIf(":"))
2996
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
2970
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
2997
2971
  this.bumpSpace();
2998
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2972
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2999
2973
  if (f.err)
3000
2974
  return f;
3001
2975
  this.bumpSpace(), w = this.parseIdentifierIfPossible(), B = f.val;
3002
2976
  }
3003
- var ae = this.tryParsePluralOrSelectOptions(t, a, r, w);
3004
- if (ae.err)
3005
- return ae;
3006
- var b = this.tryParseArgumentClose(i);
3007
- if (b.err)
3008
- return b;
3009
- var qe = g(i, this.clonePosition());
2977
+ var ue = this.tryParsePluralOrSelectOptions(t, a, r, w);
2978
+ if (ue.err)
2979
+ return ue;
2980
+ var p = this.tryParseArgumentClose(i);
2981
+ if (p.err)
2982
+ return p;
2983
+ var Ye = g(i, this.clonePosition());
3010
2984
  return a === "select" ? {
3011
2985
  val: {
3012
- type: T.select,
2986
+ type: x.select,
3013
2987
  value: n,
3014
- options: ht(ae.val),
3015
- location: qe
2988
+ options: ft(ue.val),
2989
+ location: Ye
3016
2990
  },
3017
2991
  err: null
3018
2992
  } : {
3019
2993
  val: {
3020
- type: T.plural,
2994
+ type: x.plural,
3021
2995
  value: n,
3022
- options: ht(ae.val),
2996
+ options: ft(ue.val),
3023
2997
  offset: B,
3024
2998
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3025
- location: qe
2999
+ location: Ye
3026
3000
  },
3027
3001
  err: null
3028
3002
  };
3029
3003
  }
3030
3004
  default:
3031
- return this.error(p.INVALID_ARGUMENT_TYPE, g(o, l));
3005
+ return this.error(b.INVALID_ARGUMENT_TYPE, g(o, l));
3032
3006
  }
3033
3007
  }, e.prototype.tryParseArgumentClose = function(t) {
3034
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3008
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3035
3009
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3036
3010
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3037
3011
  var n = this.char();
@@ -3040,7 +3014,7 @@ var On = (
3040
3014
  this.bump();
3041
3015
  var i = this.clonePosition();
3042
3016
  if (!this.bumpUntil("'"))
3043
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3017
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3044
3018
  this.bump();
3045
3019
  break;
3046
3020
  }
@@ -3070,16 +3044,16 @@ var On = (
3070
3044
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3071
3045
  var n = [];
3072
3046
  try {
3073
- n = hn(t);
3047
+ n = fn(t);
3074
3048
  } catch (i) {
3075
- return this.error(p.INVALID_NUMBER_SKELETON, r);
3049
+ return this.error(b.INVALID_NUMBER_SKELETON, r);
3076
3050
  }
3077
3051
  return {
3078
3052
  val: {
3079
- type: X.number,
3053
+ type: W.number,
3080
3054
  tokens: n,
3081
3055
  location: r,
3082
- parsedOptions: this.shouldParseSkeletons ? dn(n) : {}
3056
+ parsedOptions: this.shouldParseSkeletons ? bn(n) : {}
3083
3057
  },
3084
3058
  err: null
3085
3059
  };
@@ -3088,7 +3062,7 @@ var On = (
3088
3062
  if (u.length === 0) {
3089
3063
  var f = this.clonePosition();
3090
3064
  if (r !== "select" && this.bumpIf("=")) {
3091
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3065
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3092
3066
  if (c.err)
3093
3067
  return c;
3094
3068
  h = g(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
@@ -3096,26 +3070,26 @@ var On = (
3096
3070
  break;
3097
3071
  }
3098
3072
  if (l.has(u))
3099
- return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3073
+ return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3100
3074
  u === "other" && (o = !0), this.bumpSpace();
3101
3075
  var y = this.clonePosition();
3102
3076
  if (!this.bumpIf("{"))
3103
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3104
- var b = this.parseMessage(t + 1, r, n);
3105
- if (b.err)
3106
- return b;
3107
- var v = this.tryParseArgumentClose(y);
3108
- if (v.err)
3109
- return v;
3077
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3078
+ var p = this.parseMessage(t + 1, r, n);
3079
+ if (p.err)
3080
+ return p;
3081
+ var E = this.tryParseArgumentClose(y);
3082
+ if (E.err)
3083
+ return E;
3110
3084
  a.push([
3111
3085
  u,
3112
3086
  {
3113
- value: b.val,
3087
+ value: p.val,
3114
3088
  location: g(y, this.clonePosition())
3115
3089
  }
3116
3090
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3117
3091
  }
3118
- return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3092
+ return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3119
3093
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3120
3094
  var n = 1, i = this.clonePosition();
3121
3095
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3127,7 +3101,7 @@ var On = (
3127
3101
  break;
3128
3102
  }
3129
3103
  var l = g(i, this.clonePosition());
3130
- return s ? (o *= n, Sn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3104
+ return s ? (o *= n, An(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3131
3105
  }, e.prototype.offset = function() {
3132
3106
  return this.position.offset;
3133
3107
  }, e.prototype.isEOF = function() {
@@ -3142,7 +3116,7 @@ var On = (
3142
3116
  var t = this.position.offset;
3143
3117
  if (t >= this.message.length)
3144
3118
  throw Error("out of bound");
3145
- var r = Vt(this.message, t);
3119
+ var r = Wt(this.message, t);
3146
3120
  if (r === void 0)
3147
3121
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3148
3122
  return r;
@@ -3161,7 +3135,7 @@ var On = (
3161
3135
  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);
3162
3136
  }
3163
3137
  }, e.prototype.bumpIf = function(t) {
3164
- if (lt(this.message, t, this.offset())) {
3138
+ if (ct(this.message, t, this.offset())) {
3165
3139
  for (var r = 0; r < t.length; r++)
3166
3140
  this.bump();
3167
3141
  return !0;
@@ -3183,7 +3157,7 @@ var On = (
3183
3157
  break;
3184
3158
  }
3185
3159
  }, e.prototype.bumpSpace = function() {
3186
- for (; !this.isEOF() && Wt(this.char()); )
3160
+ for (; !this.isEOF() && Jt(this.char()); )
3187
3161
  this.bump();
3188
3162
  }, e.prototype.peek = function() {
3189
3163
  if (this.isEOF())
@@ -3193,47 +3167,47 @@ var On = (
3193
3167
  }, e;
3194
3168
  }()
3195
3169
  );
3196
- function je(e) {
3170
+ function Ve(e) {
3197
3171
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3198
3172
  }
3199
- function In(e) {
3200
- return je(e) || e === 47;
3173
+ function Nn(e) {
3174
+ return Ve(e) || e === 47;
3201
3175
  }
3202
- function Cn(e) {
3176
+ function Ln(e) {
3203
3177
  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;
3204
3178
  }
3205
- function Wt(e) {
3179
+ function Jt(e) {
3206
3180
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3207
3181
  }
3208
- function Nn(e) {
3182
+ function Mn(e) {
3209
3183
  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;
3210
3184
  }
3211
- function ze(e) {
3185
+ function Xe(e) {
3212
3186
  e.forEach(function(t) {
3213
- if (delete t.location, Rt(t) || Dt(t))
3187
+ if (delete t.location, Ut(t) || Gt(t))
3214
3188
  for (var r in t.options)
3215
- delete t.options[r].location, ze(t.options[r].value);
3189
+ delete t.options[r].location, Xe(t.options[r].value);
3216
3190
  else
3217
- Lt(t) && Gt(t.style) || (Mt(t) || $t(t)) && Ue(t.style) ? delete t.style.location : Ut(t) && ze(t.children);
3191
+ $t(t) && Ft(t.style) || (Rt(t) || Dt(t)) && ke(t.style) ? delete t.style.location : kt(t) && Xe(t.children);
3218
3192
  });
3219
3193
  }
3220
- function Ln(e, t) {
3221
- t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3222
- var r = new On(e, t).parse();
3194
+ function $n(e, t) {
3195
+ t === void 0 && (t = {}), t = Ee({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3196
+ var r = new Cn(e, t).parse();
3223
3197
  if (r.err) {
3224
- var n = SyntaxError(p[r.err.kind]);
3198
+ var n = SyntaxError(b[r.err.kind]);
3225
3199
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3226
3200
  }
3227
- return t != null && t.captureLocation || ze(r.val), r.val;
3201
+ return t != null && t.captureLocation || Xe(r.val), r.val;
3228
3202
  }
3229
- var W;
3203
+ var Z;
3230
3204
  (function(e) {
3231
3205
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3232
- })(W || (W = {}));
3233
- var He = (
3206
+ })(Z || (Z = {}));
3207
+ var Se = (
3234
3208
  /** @class */
3235
3209
  function(e) {
3236
- Te(t, e);
3210
+ we(t, e);
3237
3211
  function t(r, n, i) {
3238
3212
  var s = e.call(this, r) || this;
3239
3213
  return s.code = n, s.originalMessage = i, s;
@@ -3242,48 +3216,48 @@ var He = (
3242
3216
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3243
3217
  }, t;
3244
3218
  }(Error)
3245
- ), ft = (
3219
+ ), dt = (
3246
3220
  /** @class */
3247
3221
  function(e) {
3248
- Te(t, e);
3222
+ we(t, e);
3249
3223
  function t(r, n, i, s) {
3250
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, s) || this;
3224
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, s) || this;
3251
3225
  }
3252
3226
  return t;
3253
- }(He)
3254
- ), Mn = (
3227
+ }(Se)
3228
+ ), Rn = (
3255
3229
  /** @class */
3256
3230
  function(e) {
3257
- Te(t, e);
3231
+ we(t, e);
3258
3232
  function t(r, n, i) {
3259
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
3233
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Z.INVALID_VALUE, i) || this;
3260
3234
  }
3261
3235
  return t;
3262
- }(He)
3263
- ), $n = (
3236
+ }(Se)
3237
+ ), Dn = (
3264
3238
  /** @class */
3265
3239
  function(e) {
3266
- Te(t, e);
3240
+ we(t, e);
3267
3241
  function t(r, n) {
3268
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
3242
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Z.MISSING_VALUE, n) || this;
3269
3243
  }
3270
3244
  return t;
3271
- }(He)
3245
+ }(Se)
3272
3246
  ), H;
3273
3247
  (function(e) {
3274
3248
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3275
3249
  })(H || (H = {}));
3276
- function Rn(e) {
3250
+ function Un(e) {
3277
3251
  return e.length < 2 ? e : e.reduce(function(t, r) {
3278
3252
  var n = t[t.length - 1];
3279
3253
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3280
3254
  }, []);
3281
3255
  }
3282
- function Dn(e) {
3256
+ function Gn(e) {
3283
3257
  return typeof e == "function";
3284
3258
  }
3285
- function ge(e, t, r, n, i, s, o) {
3286
- if (e.length === 1 && st(e[0]))
3259
+ function ye(e, t, r, n, i, s, o) {
3260
+ if (e.length === 1 && at(e[0]))
3287
3261
  return [
3288
3262
  {
3289
3263
  type: H.literal,
@@ -3292,14 +3266,14 @@ function ge(e, t, r, n, i, s, o) {
3292
3266
  ];
3293
3267
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3294
3268
  var h = u[l];
3295
- if (st(h)) {
3269
+ if (at(h)) {
3296
3270
  a.push({
3297
3271
  type: H.literal,
3298
3272
  value: h.value
3299
3273
  });
3300
3274
  continue;
3301
3275
  }
3302
- if (on(h)) {
3276
+ if (un(h)) {
3303
3277
  typeof s == "number" && a.push({
3304
3278
  type: H.literal,
3305
3279
  value: r.getNumberFormat(t).format(s)
@@ -3308,89 +3282,89 @@ function ge(e, t, r, n, i, s, o) {
3308
3282
  }
3309
3283
  var f = h.value;
3310
3284
  if (!(i && f in i))
3311
- throw new $n(f, o);
3285
+ throw new Dn(f, o);
3312
3286
  var c = i[f];
3313
- if (sn(h)) {
3287
+ if (an(h)) {
3314
3288
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3315
3289
  type: typeof c == "string" ? H.literal : H.object,
3316
3290
  value: c
3317
3291
  });
3318
3292
  continue;
3319
3293
  }
3320
- if (Mt(h)) {
3321
- var y = typeof h.style == "string" ? n.date[h.style] : Ue(h.style) ? h.style.parsedOptions : void 0;
3294
+ if (Rt(h)) {
3295
+ var y = typeof h.style == "string" ? n.date[h.style] : ke(h.style) ? h.style.parsedOptions : void 0;
3322
3296
  a.push({
3323
3297
  type: H.literal,
3324
3298
  value: r.getDateTimeFormat(t, y).format(c)
3325
3299
  });
3326
3300
  continue;
3327
3301
  }
3328
- if ($t(h)) {
3329
- var y = typeof h.style == "string" ? n.time[h.style] : Ue(h.style) ? h.style.parsedOptions : n.time.medium;
3302
+ if (Dt(h)) {
3303
+ var y = typeof h.style == "string" ? n.time[h.style] : ke(h.style) ? h.style.parsedOptions : n.time.medium;
3330
3304
  a.push({
3331
3305
  type: H.literal,
3332
3306
  value: r.getDateTimeFormat(t, y).format(c)
3333
3307
  });
3334
3308
  continue;
3335
3309
  }
3336
- if (Lt(h)) {
3337
- var y = typeof h.style == "string" ? n.number[h.style] : Gt(h.style) ? h.style.parsedOptions : void 0;
3310
+ if ($t(h)) {
3311
+ var y = typeof h.style == "string" ? n.number[h.style] : Ft(h.style) ? h.style.parsedOptions : void 0;
3338
3312
  y && y.scale && (c = c * (y.scale || 1)), a.push({
3339
3313
  type: H.literal,
3340
3314
  value: r.getNumberFormat(t, y).format(c)
3341
3315
  });
3342
3316
  continue;
3343
3317
  }
3344
- if (Ut(h)) {
3345
- var b = h.children, v = h.value, E = i[v];
3346
- if (!Dn(E))
3347
- throw new Mn(v, "function", o);
3348
- var m = ge(b, t, r, n, i, s), x = E(m.map(function(B) {
3318
+ if (kt(h)) {
3319
+ var p = h.children, E = h.value, _ = i[E];
3320
+ if (!Gn(_))
3321
+ throw new Rn(E, "function", o);
3322
+ var m = ye(p, t, r, n, i, s), v = _(m.map(function(B) {
3349
3323
  return B.value;
3350
3324
  }));
3351
- Array.isArray(x) || (x = [x]), a.push.apply(a, x.map(function(B) {
3325
+ Array.isArray(v) || (v = [v]), a.push.apply(a, v.map(function(B) {
3352
3326
  return {
3353
3327
  type: typeof B == "string" ? H.literal : H.object,
3354
3328
  value: B
3355
3329
  };
3356
3330
  }));
3357
3331
  }
3358
- if (Rt(h)) {
3332
+ if (Ut(h)) {
3359
3333
  var d = h.options[c] || h.options.other;
3360
3334
  if (!d)
3361
- throw new ft(h.value, c, Object.keys(h.options), o);
3362
- a.push.apply(a, ge(d.value, t, r, n, i));
3335
+ throw new dt(h.value, c, Object.keys(h.options), o);
3336
+ a.push.apply(a, ye(d.value, t, r, n, i));
3363
3337
  continue;
3364
3338
  }
3365
- if (Dt(h)) {
3339
+ if (Gt(h)) {
3366
3340
  var d = h.options["=".concat(c)];
3367
3341
  if (!d) {
3368
3342
  if (!Intl.PluralRules)
3369
- throw new He(`Intl.PluralRules is not available in this environment.
3343
+ throw new Se(`Intl.PluralRules is not available in this environment.
3370
3344
  Try polyfilling it using "@formatjs/intl-pluralrules"
3371
- `, W.MISSING_INTL_API, o);
3345
+ `, Z.MISSING_INTL_API, o);
3372
3346
  var w = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3373
3347
  d = h.options[w] || h.options.other;
3374
3348
  }
3375
3349
  if (!d)
3376
- throw new ft(h.value, c, Object.keys(h.options), o);
3377
- a.push.apply(a, ge(d.value, t, r, n, i, c - (h.offset || 0)));
3350
+ throw new dt(h.value, c, Object.keys(h.options), o);
3351
+ a.push.apply(a, ye(d.value, t, r, n, i, c - (h.offset || 0)));
3378
3352
  continue;
3379
3353
  }
3380
3354
  }
3381
- return Rn(a);
3355
+ return Un(a);
3382
3356
  }
3383
- function Un(e, t) {
3384
- return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3385
- return r[n] = _(_({}, e[n]), t[n] || {}), r;
3357
+ function kn(e, t) {
3358
+ return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3359
+ return r[n] = P(P({}, e[n]), t[n] || {}), r;
3386
3360
  }, {})) : e;
3387
3361
  }
3388
- function Gn(e, t) {
3362
+ function Fn(e, t) {
3389
3363
  return t ? Object.keys(e).reduce(function(r, n) {
3390
- return r[n] = Un(e[n], t[n]), r;
3391
- }, _({}, e)) : e;
3364
+ return r[n] = kn(e[n], t[n]), r;
3365
+ }, P({}, e)) : e;
3392
3366
  }
3393
- function Ne(e) {
3367
+ function Me(e) {
3394
3368
  return {
3395
3369
  create: function() {
3396
3370
  return {
@@ -3404,39 +3378,39 @@ function Ne(e) {
3404
3378
  }
3405
3379
  };
3406
3380
  }
3407
- function kn(e) {
3381
+ function jn(e) {
3408
3382
  return e === void 0 && (e = {
3409
3383
  number: {},
3410
3384
  dateTime: {},
3411
3385
  pluralRules: {}
3412
3386
  }), {
3413
- getNumberFormat: Oe(function() {
3387
+ getNumberFormat: Ce(function() {
3414
3388
  for (var t, r = [], n = 0; n < arguments.length; n++)
3415
3389
  r[n] = arguments[n];
3416
- return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
3390
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ie([void 0], r, !1)))();
3417
3391
  }, {
3418
- cache: Ne(e.number),
3419
- strategy: Ie.variadic
3392
+ cache: Me(e.number),
3393
+ strategy: Ne.variadic
3420
3394
  }),
3421
- getDateTimeFormat: Oe(function() {
3395
+ getDateTimeFormat: Ce(function() {
3422
3396
  for (var t, r = [], n = 0; n < arguments.length; n++)
3423
3397
  r[n] = arguments[n];
3424
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
3398
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ie([void 0], r, !1)))();
3425
3399
  }, {
3426
- cache: Ne(e.dateTime),
3427
- strategy: Ie.variadic
3400
+ cache: Me(e.dateTime),
3401
+ strategy: Ne.variadic
3428
3402
  }),
3429
- getPluralRules: Oe(function() {
3403
+ getPluralRules: Ce(function() {
3430
3404
  for (var t, r = [], n = 0; n < arguments.length; n++)
3431
3405
  r[n] = arguments[n];
3432
- return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
3406
+ return new ((t = Intl.PluralRules).bind.apply(t, Ie([void 0], r, !1)))();
3433
3407
  }, {
3434
- cache: Ne(e.pluralRules),
3435
- strategy: Ie.variadic
3408
+ cache: Me(e.pluralRules),
3409
+ strategy: Ne.variadic
3436
3410
  })
3437
3411
  };
3438
3412
  }
3439
- var Zt = (
3413
+ var qt = (
3440
3414
  /** @class */
3441
3415
  function() {
3442
3416
  function e(t, r, n, i) {
@@ -3455,7 +3429,7 @@ var Zt = (
3455
3429
  }, []);
3456
3430
  return h.length <= 1 ? h[0] || "" : h;
3457
3431
  }, this.formatToParts = function(l) {
3458
- return ge(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3432
+ return ye(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3459
3433
  }, this.resolvedOptions = function() {
3460
3434
  var l;
3461
3435
  return {
@@ -3468,13 +3442,13 @@ var Zt = (
3468
3442
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3469
3443
  var o = i || {};
3470
3444
  o.formatters;
3471
- var a = qr(o, ["formatters"]);
3472
- this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3445
+ var a = Yr(o, ["formatters"]);
3446
+ this.ast = e.__parse(t, P(P({}, a), { locale: this.resolvedLocale }));
3473
3447
  } else
3474
3448
  this.ast = t;
3475
3449
  if (!Array.isArray(this.ast))
3476
3450
  throw new TypeError("A message must be provided as a String or AST.");
3477
- this.formats = Gn(e.formats, n), this.formatters = i && i.formatters || kn(this.formatterCache);
3451
+ this.formats = Fn(e.formats, n), this.formatters = i && i.formatters || jn(this.formatterCache);
3478
3452
  }
3479
3453
  return Object.defineProperty(e, "defaultLocale", {
3480
3454
  get: function() {
@@ -3487,7 +3461,7 @@ var Zt = (
3487
3461
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3488
3462
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3489
3463
  }
3490
- }, e.__parse = Ln, e.formats = {
3464
+ }, e.__parse = $n, e.formats = {
3491
3465
  number: {
3492
3466
  integer: {
3493
3467
  maximumFractionDigits: 0
@@ -3548,7 +3522,7 @@ var Zt = (
3548
3522
  }, e;
3549
3523
  }()
3550
3524
  );
3551
- function Fn(e, t) {
3525
+ function zn(e, t) {
3552
3526
  if (t == null)
3553
3527
  return;
3554
3528
  if (t in e)
@@ -3569,101 +3543,101 @@ function Fn(e, t) {
3569
3543
  n = void 0;
3570
3544
  return n;
3571
3545
  }
3572
- const N = {}, jn = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = r), r), Jt = (e, t) => {
3546
+ const L = {}, Vn = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), Qt = (e, t) => {
3573
3547
  if (t == null)
3574
3548
  return;
3575
- if (t in N && e in N[t])
3576
- return N[t][e];
3577
- const r = oe(t);
3549
+ if (t in L && e in L[t])
3550
+ return L[t][e];
3551
+ const r = ae(t);
3578
3552
  for (let n = 0; n < r.length; n++) {
3579
- const i = r[n], s = Vn(i, e);
3553
+ const i = r[n], s = Wn(i, e);
3580
3554
  if (s)
3581
- return jn(e, t, s);
3555
+ return Vn(e, t, s);
3582
3556
  }
3583
3557
  };
3584
- let Ze;
3585
- const se = xe({});
3586
- function zn(e) {
3587
- return Ze[e] || null;
3558
+ let qe;
3559
+ const oe = He({});
3560
+ function Xn(e) {
3561
+ return qe[e] || null;
3588
3562
  }
3589
- function qt(e) {
3590
- return e in Ze;
3563
+ function Yt(e) {
3564
+ return e in qe;
3591
3565
  }
3592
- function Vn(e, t) {
3593
- if (!qt(e))
3566
+ function Wn(e, t) {
3567
+ if (!Yt(e))
3594
3568
  return null;
3595
- const r = zn(e);
3596
- return Fn(r, t);
3569
+ const r = Xn(e);
3570
+ return zn(r, t);
3597
3571
  }
3598
- function Xn(e) {
3572
+ function Zn(e) {
3599
3573
  if (e == null)
3600
3574
  return;
3601
- const t = oe(e);
3575
+ const t = ae(e);
3602
3576
  for (let r = 0; r < t.length; r++) {
3603
3577
  const n = t[r];
3604
- if (qt(n))
3578
+ if (Yt(n))
3605
3579
  return n;
3606
3580
  }
3607
3581
  }
3608
- function Qt(e, ...t) {
3609
- delete N[e], se.update((r) => (r[e] = Jr.all([r[e] || {}, ...t]), r));
3582
+ function Kt(e, ...t) {
3583
+ delete L[e], oe.update((r) => (r[e] = Qr.all([r[e] || {}, ...t]), r));
3610
3584
  }
3611
- q(
3612
- [se],
3585
+ Q(
3586
+ [oe],
3613
3587
  ([e]) => Object.keys(e)
3614
3588
  );
3615
- se.subscribe((e) => Ze = e);
3616
- const ye = {};
3617
- function Wn(e, t) {
3618
- ye[e].delete(t), ye[e].size === 0 && delete ye[e];
3589
+ oe.subscribe((e) => qe = e);
3590
+ const _e = {};
3591
+ function Jn(e, t) {
3592
+ _e[e].delete(t), _e[e].size === 0 && delete _e[e];
3619
3593
  }
3620
- function Yt(e) {
3621
- return ye[e];
3594
+ function er(e) {
3595
+ return _e[e];
3622
3596
  }
3623
- function Zn(e) {
3624
- return oe(e).map((t) => {
3625
- const r = Yt(t);
3597
+ function qn(e) {
3598
+ return ae(e).map((t) => {
3599
+ const r = er(t);
3626
3600
  return [t, r ? [...r] : []];
3627
3601
  }).filter(([, t]) => t.length > 0);
3628
3602
  }
3629
- function _e(e) {
3630
- return e == null ? !1 : oe(e).some(
3603
+ function ve(e) {
3604
+ return e == null ? !1 : ae(e).some(
3631
3605
  (t) => {
3632
3606
  var r;
3633
- return (r = Yt(t)) == null ? void 0 : r.size;
3607
+ return (r = er(t)) == null ? void 0 : r.size;
3634
3608
  }
3635
3609
  );
3636
3610
  }
3637
- function Jn(e, t) {
3611
+ function Qn(e, t) {
3638
3612
  return Promise.all(
3639
- t.map((n) => (Wn(e, n), n().then((i) => i.default || i)))
3640
- ).then((n) => Qt(e, ...n));
3641
- }
3642
- const Y = {};
3643
- function Kt(e) {
3644
- if (!_e(e))
3645
- return e in Y ? Y[e] : Promise.resolve();
3646
- const t = Zn(e);
3647
- return Y[e] = Promise.all(
3613
+ t.map((n) => (Jn(e, n), n().then((i) => i.default || i)))
3614
+ ).then((n) => Kt(e, ...n));
3615
+ }
3616
+ const K = {};
3617
+ function tr(e) {
3618
+ if (!ve(e))
3619
+ return e in K ? K[e] : Promise.resolve();
3620
+ const t = qn(e);
3621
+ return K[e] = Promise.all(
3648
3622
  t.map(
3649
- ([r, n]) => Jn(r, n)
3623
+ ([r, n]) => Qn(r, n)
3650
3624
  )
3651
3625
  ).then(() => {
3652
- if (_e(e))
3653
- return Kt(e);
3654
- delete Y[e];
3655
- }), Y[e];
3626
+ if (ve(e))
3627
+ return tr(e);
3628
+ delete K[e];
3629
+ }), K[e];
3656
3630
  }
3657
- var mt = Object.getOwnPropertySymbols, qn = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, Yn = (e, t) => {
3631
+ var pt = Object.getOwnPropertySymbols, Yn = Object.prototype.hasOwnProperty, Kn = Object.prototype.propertyIsEnumerable, ei = (e, t) => {
3658
3632
  var r = {};
3659
3633
  for (var n in e)
3660
- qn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3661
- if (e != null && mt)
3662
- for (var n of mt(e))
3663
- t.indexOf(n) < 0 && Qn.call(e, n) && (r[n] = e[n]);
3634
+ Yn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3635
+ if (e != null && pt)
3636
+ for (var n of pt(e))
3637
+ t.indexOf(n) < 0 && Kn.call(e, n) && (r[n] = e[n]);
3664
3638
  return r;
3665
3639
  };
3666
- const Kn = {
3640
+ const ti = {
3667
3641
  number: {
3668
3642
  scientific: { notation: "scientific" },
3669
3643
  engineering: { notation: "engineering" },
@@ -3693,174 +3667,174 @@ const Kn = {
3693
3667
  }
3694
3668
  }
3695
3669
  };
3696
- function ei({ locale: e, id: t }) {
3670
+ function ri({ locale: e, id: t }) {
3697
3671
  console.warn(
3698
- `[svelte-i18n] The message "${t}" was not found in "${oe(
3672
+ `[svelte-i18n] The message "${t}" was not found in "${ae(
3699
3673
  e
3700
- ).join('", "')}".${_e(M()) ? `
3674
+ ).join('", "')}".${ve($()) ? `
3701
3675
 
3702
3676
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3703
3677
  );
3704
3678
  }
3705
- const ti = {
3679
+ const ni = {
3706
3680
  fallbackLocale: null,
3707
3681
  loadingDelay: 200,
3708
- formats: Kn,
3682
+ formats: ti,
3709
3683
  warnOnMissingMessages: !0,
3710
3684
  handleMissingMessage: void 0,
3711
3685
  ignoreTag: !0
3712
- }, K = ti;
3713
- function Z() {
3714
- return K;
3686
+ }, ee = ni;
3687
+ function J() {
3688
+ return ee;
3715
3689
  }
3716
- function ri(e) {
3717
- const t = e, { formats: r } = t, n = Yn(t, ["formats"]);
3690
+ function ii(e) {
3691
+ const t = e, { formats: r } = t, n = ei(t, ["formats"]);
3718
3692
  let i = e.fallbackLocale;
3719
3693
  if (e.initialLocale)
3720
3694
  try {
3721
- Zt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3695
+ qt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3722
3696
  } catch (s) {
3723
3697
  console.warn(
3724
3698
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3725
3699
  );
3726
3700
  }
3727
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ei : console.warn(
3701
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ri : console.warn(
3728
3702
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3729
- )), Object.assign(K, n, { initialLocale: i }), r && ("number" in r && Object.assign(K.formats.number, r.number), "date" in r && Object.assign(K.formats.date, r.date), "time" in r && Object.assign(K.formats.time, r.time)), U.set(i);
3703
+ )), Object.assign(ee, n, { initialLocale: i }), r && ("number" in r && Object.assign(ee.formats.number, r.number), "date" in r && Object.assign(ee.formats.date, r.date), "time" in r && Object.assign(ee.formats.time, r.time)), G.set(i);
3730
3704
  }
3731
- const Le = xe(!1);
3732
- var ni = Object.defineProperty, ii = Object.defineProperties, si = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, oi = Object.prototype.hasOwnProperty, ai = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ui = (e, t) => {
3705
+ const $e = He(!1);
3706
+ var si = Object.defineProperty, oi = Object.defineProperties, ai = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, ui = Object.prototype.hasOwnProperty, li = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, hi = (e, t) => {
3733
3707
  for (var r in t || (t = {}))
3734
- oi.call(t, r) && bt(e, r, t[r]);
3735
- if (dt)
3736
- for (var r of dt(t))
3737
- ai.call(t, r) && bt(e, r, t[r]);
3708
+ ui.call(t, r) && gt(e, r, t[r]);
3709
+ if (bt)
3710
+ for (var r of bt(t))
3711
+ li.call(t, r) && gt(e, r, t[r]);
3738
3712
  return e;
3739
- }, li = (e, t) => ii(e, si(t));
3740
- let Ve;
3741
- const Ee = xe(null);
3742
- function pt(e) {
3713
+ }, ci = (e, t) => oi(e, ai(t));
3714
+ let We;
3715
+ const xe = He(null);
3716
+ function yt(e) {
3743
3717
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3744
3718
  }
3745
- function oe(e, t = Z().fallbackLocale) {
3746
- const r = pt(e);
3747
- return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
3719
+ function ae(e, t = J().fallbackLocale) {
3720
+ const r = yt(e);
3721
+ return t ? [.../* @__PURE__ */ new Set([...r, ...yt(t)])] : r;
3748
3722
  }
3749
- function M() {
3750
- return Ve != null ? Ve : void 0;
3723
+ function $() {
3724
+ return We != null ? We : void 0;
3751
3725
  }
3752
- Ee.subscribe((e) => {
3753
- Ve = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3726
+ xe.subscribe((e) => {
3727
+ We = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3754
3728
  });
3755
- const hi = (e) => {
3756
- if (e && Xn(e) && _e(e)) {
3757
- const { loadingDelay: t } = Z();
3729
+ const fi = (e) => {
3730
+ if (e && Zn(e) && ve(e)) {
3731
+ const { loadingDelay: t } = J();
3758
3732
  let r;
3759
- return typeof window != "undefined" && M() != null && t ? r = window.setTimeout(
3760
- () => Le.set(!0),
3733
+ return typeof window != "undefined" && $() != null && t ? r = window.setTimeout(
3734
+ () => $e.set(!0),
3761
3735
  t
3762
- ) : Le.set(!0), Kt(e).then(() => {
3763
- Ee.set(e);
3736
+ ) : $e.set(!0), tr(e).then(() => {
3737
+ xe.set(e);
3764
3738
  }).finally(() => {
3765
- clearTimeout(r), Le.set(!1);
3739
+ clearTimeout(r), $e.set(!1);
3766
3740
  });
3767
3741
  }
3768
- return Ee.set(e);
3769
- }, U = li(ui({}, Ee), {
3770
- set: hi
3771
- }), we = (e) => {
3742
+ return xe.set(e);
3743
+ }, G = ci(hi({}, xe), {
3744
+ set: fi
3745
+ }), Be = (e) => {
3772
3746
  const t = /* @__PURE__ */ Object.create(null);
3773
3747
  return (n) => {
3774
3748
  const i = JSON.stringify(n);
3775
3749
  return i in t ? t[i] : t[i] = e(n);
3776
3750
  };
3777
3751
  };
3778
- var ci = Object.defineProperty, ve = Object.getOwnPropertySymbols, er = Object.prototype.hasOwnProperty, tr = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
3752
+ var mi = Object.defineProperty, Te = Object.getOwnPropertySymbols, rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
3779
3753
  for (var r in t || (t = {}))
3780
- er.call(t, r) && gt(e, r, t[r]);
3781
- if (ve)
3782
- for (var r of ve(t))
3783
- tr.call(t, r) && gt(e, r, t[r]);
3754
+ rr.call(t, r) && _t(e, r, t[r]);
3755
+ if (Te)
3756
+ for (var r of Te(t))
3757
+ nr.call(t, r) && _t(e, r, t[r]);
3784
3758
  return e;
3785
- }, Q = (e, t) => {
3759
+ }, Y = (e, t) => {
3786
3760
  var r = {};
3787
3761
  for (var n in e)
3788
- er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3789
- if (e != null && ve)
3790
- for (var n of ve(e))
3791
- t.indexOf(n) < 0 && tr.call(e, n) && (r[n] = e[n]);
3762
+ rr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3763
+ if (e != null && Te)
3764
+ for (var n of Te(e))
3765
+ t.indexOf(n) < 0 && nr.call(e, n) && (r[n] = e[n]);
3792
3766
  return r;
3793
3767
  };
3794
- const ne = (e, t) => {
3795
- const { formats: r } = Z();
3768
+ const ie = (e, t) => {
3769
+ const { formats: r } = J();
3796
3770
  if (e in r && t in r[e])
3797
3771
  return r[e][t];
3798
3772
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3799
- }, fi = we(
3773
+ }, di = Be(
3800
3774
  (e) => {
3801
- var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3775
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
3802
3776
  if (r == null)
3803
3777
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3804
- return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
3778
+ return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
3805
3779
  }
3806
- ), mi = we(
3780
+ ), pi = Be(
3807
3781
  (e) => {
3808
- var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3782
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
3809
3783
  if (r == null)
3810
3784
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3811
- return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
3785
+ return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
3812
3786
  }
3813
- ), di = we(
3787
+ ), bi = Be(
3814
3788
  (e) => {
3815
- var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3789
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
3816
3790
  if (r == null)
3817
3791
  throw new Error(
3818
3792
  '[svelte-i18n] A "locale" must be set to format time values'
3819
3793
  );
3820
- return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
3794
+ return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
3821
3795
  }
3822
- ), bi = (e = {}) => {
3796
+ ), gi = (e = {}) => {
3823
3797
  var t = e, {
3824
- locale: r = M()
3825
- } = t, n = Q(t, [
3798
+ locale: r = $()
3799
+ } = t, n = Y(t, [
3826
3800
  "locale"
3827
3801
  ]);
3828
- return fi(Je({ locale: r }, n));
3829
- }, pi = (e = {}) => {
3802
+ return di(Qe({ locale: r }, n));
3803
+ }, yi = (e = {}) => {
3830
3804
  var t = e, {
3831
- locale: r = M()
3832
- } = t, n = Q(t, [
3805
+ locale: r = $()
3806
+ } = t, n = Y(t, [
3833
3807
  "locale"
3834
3808
  ]);
3835
- return mi(Je({ locale: r }, n));
3836
- }, gi = (e = {}) => {
3809
+ return pi(Qe({ locale: r }, n));
3810
+ }, _i = (e = {}) => {
3837
3811
  var t = e, {
3838
- locale: r = M()
3839
- } = t, n = Q(t, [
3812
+ locale: r = $()
3813
+ } = t, n = Y(t, [
3840
3814
  "locale"
3841
3815
  ]);
3842
- return di(Je({ locale: r }, n));
3843
- }, yi = we(
3816
+ return bi(Qe({ locale: r }, n));
3817
+ }, Ei = Be(
3844
3818
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3845
- (e, t = M()) => new Zt(e, t, Z().formats, {
3846
- ignoreTag: Z().ignoreTag
3819
+ (e, t = $()) => new qt(e, t, J().formats, {
3820
+ ignoreTag: J().ignoreTag
3847
3821
  })
3848
- ), _i = (e, t = {}) => {
3822
+ ), vi = (e, t = {}) => {
3849
3823
  var r, n, i, s;
3850
3824
  let o = t;
3851
3825
  typeof e == "object" && (o = e, e = o.id);
3852
3826
  const {
3853
3827
  values: a,
3854
- locale: l = M(),
3828
+ locale: l = $(),
3855
3829
  default: u
3856
3830
  } = o;
3857
3831
  if (l == null)
3858
3832
  throw new Error(
3859
3833
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3860
3834
  );
3861
- let h = Jt(e, l);
3835
+ let h = Qt(e, l);
3862
3836
  if (!h)
3863
- h = (s = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3837
+ h = (s = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3864
3838
  else if (typeof h != "string")
3865
3839
  return console.warn(
3866
3840
  `[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.`
@@ -3869,7 +3843,7 @@ const ne = (e, t) => {
3869
3843
  return h;
3870
3844
  let f = h;
3871
3845
  try {
3872
- f = yi(h, l).format(a);
3846
+ f = Ei(h, l).format(a);
3873
3847
  } catch (c) {
3874
3848
  c instanceof Error && console.warn(
3875
3849
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3877,18 +3851,18 @@ const ne = (e, t) => {
3877
3851
  );
3878
3852
  }
3879
3853
  return f;
3880
- }, Ei = (e, t) => gi(t).format(e), vi = (e, t) => pi(t).format(e), xi = (e, t) => bi(t).format(e), Ti = (e, t = M()) => Jt(e, t), Hi = q([U, se], () => _i);
3881
- q([U], () => Ei);
3882
- q([U], () => vi);
3883
- q([U], () => xi);
3884
- q([U, se], () => Ti);
3885
- function wi(e, t) {
3854
+ }, xi = (e, t) => _i(t).format(e), Ti = (e, t) => yi(t).format(e), Hi = (e, t) => gi(t).format(e), wi = (e, t = $()) => Qt(e, t), Si = Q([G, oe], () => vi);
3855
+ Q([G], () => xi);
3856
+ Q([G], () => Ti);
3857
+ Q([G], () => Hi);
3858
+ Q([G, oe], () => wi);
3859
+ function Bi(e, t) {
3886
3860
  if (e) {
3887
3861
  const r = document.createElement("style");
3888
3862
  r.innerHTML = t, e.appendChild(r);
3889
3863
  }
3890
3864
  }
3891
- function Si(e, t) {
3865
+ function Ai(e, t) {
3892
3866
  const r = new URL(t);
3893
3867
  fetch(r.href).then((n) => n.text()).then((n) => {
3894
3868
  const i = document.createElement("style");
@@ -3897,7 +3871,7 @@ function Si(e, t) {
3897
3871
  console.error("There was an error while trying to load client styling from URL", n);
3898
3872
  });
3899
3873
  }
3900
- function Bi(e, t, r) {
3874
+ function Pi(e, t, r) {
3901
3875
  if (window.emMessageBus) {
3902
3876
  const n = document.createElement("style");
3903
3877
  window.emMessageBus.subscribe(t, (i) => {
@@ -3905,15 +3879,15 @@ function Bi(e, t, r) {
3905
3879
  });
3906
3880
  }
3907
3881
  }
3908
- function yt(e, t) {
3909
- Qt(e, t);
3882
+ function Et(e, t) {
3883
+ Kt(e, t);
3910
3884
  }
3911
- function Ai(e) {
3912
- ri({
3885
+ function Oi(e) {
3886
+ ii({
3913
3887
  fallbackLocale: "en"
3914
- }), U.set(e);
3888
+ }), G.set(e);
3915
3889
  }
3916
- const _t = {
3890
+ const vt = {
3917
3891
  en: {
3918
3892
  errorGeneralTitle: "Error Occurred",
3919
3893
  errorGeneralText: "Something went wrong",
@@ -3967,74 +3941,74 @@ const _t = {
3967
3941
  DeclinedByMerchant: "Özür dileriz, ancak işlem satıcı tarafından kapatıldı. Daha fazla yardım için lütfen Müşteri Desteği ile iletişime geçin."
3968
3942
  }
3969
3943
  };
3970
- function Pi(e) {
3971
- cr(e, "svelte-1dt5wyw", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;border-radius:10px;border:1px solid var(--emw--color-grey-105, #E8E9EB);background-color:var(--emw--color-white, #ffffff);padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #3854FF)}.CashierErrorButton:hover{background:var(--emw--color-main-button-active, #3348ce)}.CashierErrorButton:active{background:var(--emw--color-main-button-active, #3348ce)}.CashierErrorContent ui-image img{width:300px}");
3944
+ function Ii(e) {
3945
+ mr(e, "svelte-1dt5wyw", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;border-radius:10px;border:1px solid var(--emw--color-grey-105, #E8E9EB);background-color:var(--emw--color-white, #ffffff);padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #3854FF)}.CashierErrorButton:hover{background:var(--emw--color-main-button-active, #3348ce)}.CashierErrorButton:active{background:var(--emw--color-main-button-active, #3348ce)}.CashierErrorContent ui-image img{width:300px}");
3972
3946
  }
3973
- const Oi = (e) => ({}), Et = (e) => ({}), Ii = (e) => ({}), vt = (e) => ({}), Ci = (e) => ({}), xt = (e) => ({}), Ni = (e) => ({}), Tt = (e) => ({ class: "CashierErrorIcon" });
3974
- function Ht(e) {
3947
+ const Ci = (e) => ({}), xt = (e) => ({}), Ni = (e) => ({}), Tt = (e) => ({}), Li = (e) => ({}), Ht = (e) => ({}), Mi = (e) => ({}), wt = (e) => ({ class: "CashierErrorIcon" });
3948
+ function St(e) {
3975
3949
  let t, r;
3976
3950
  return {
3977
3951
  c() {
3978
- t = I("ui-image"), rt(t.src, r = `${/*assetsurl*/
3979
- e[0]}/error-general-icon.png`) || le(t, "src", r), le(t, "width", "300px"), le(t, "alt", "error");
3952
+ t = C("ui-image"), it(t.src, r = `${/*assetsurl*/
3953
+ e[0]}/error-general-icon.png`) || he(t, "src", r), he(t, "width", "300px"), he(t, "alt", "error");
3980
3954
  },
3981
3955
  m(n, i) {
3982
- D(n, t, i);
3956
+ U(n, t, i);
3983
3957
  },
3984
3958
  p(n, i) {
3985
3959
  i & /*assetsurl*/
3986
- 1 && !rt(t.src, r = `${/*assetsurl*/
3987
- n[0]}/error-general-icon.png`) && le(t, "src", r);
3960
+ 1 && !it(t.src, r = `${/*assetsurl*/
3961
+ n[0]}/error-general-icon.png`) && he(t, "src", r);
3988
3962
  },
3989
3963
  d(n) {
3990
- n && L(t);
3964
+ n && M(t);
3991
3965
  }
3992
3966
  };
3993
3967
  }
3994
- function Li(e) {
3968
+ function $i(e) {
3995
3969
  let t, r = (
3996
3970
  /*assetsurl*/
3997
- e[0] && Ht(e)
3971
+ e[0] && St(e)
3998
3972
  );
3999
3973
  return {
4000
3974
  c() {
4001
- r && r.c(), t = dr();
3975
+ r && r.c(), t = br();
4002
3976
  },
4003
3977
  m(n, i) {
4004
- r && r.m(n, i), D(n, t, i);
3978
+ r && r.m(n, i), U(n, t, i);
4005
3979
  },
4006
3980
  p(n, i) {
4007
3981
  /*assetsurl*/
4008
- n[0] ? r ? r.p(n, i) : (r = Ht(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3982
+ n[0] ? r ? r.p(n, i) : (r = St(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4009
3983
  },
4010
3984
  d(n) {
4011
- n && L(t), r && r.d(n);
3985
+ n && M(t), r && r.d(n);
4012
3986
  }
4013
3987
  };
4014
3988
  }
4015
- function Mi(e) {
3989
+ function Ri(e) {
4016
3990
  let t, r = (
4017
3991
  /*$_*/
4018
3992
  e[4]("errorGeneralTitle") + ""
4019
3993
  ), n;
4020
3994
  return {
4021
3995
  c() {
4022
- t = I("span"), n = ie(r), R(t, "class", "CashierErrorTitle");
3996
+ t = C("span"), n = se(r), D(t, "class", "CashierErrorTitle");
4023
3997
  },
4024
3998
  m(i, s) {
4025
- D(i, t, s), P(t, n);
3999
+ U(i, t, s), O(t, n);
4026
4000
  },
4027
4001
  p(i, s) {
4028
4002
  s & /*$_*/
4029
4003
  16 && r !== (r = /*$_*/
4030
- i[4]("errorGeneralTitle") + "") && We(n, r);
4004
+ i[4]("errorGeneralTitle") + "") && Je(n, r);
4031
4005
  },
4032
4006
  d(i) {
4033
- i && L(t);
4007
+ i && M(t);
4034
4008
  }
4035
4009
  };
4036
4010
  }
4037
- function $i(e) {
4011
+ function Di(e) {
4038
4012
  let t, r = (
4039
4013
  /*$_*/
4040
4014
  e[4](`${/*errorcode*/
@@ -4042,34 +4016,34 @@ function $i(e) {
4042
4016
  ), n;
4043
4017
  return {
4044
4018
  c() {
4045
- t = I("span"), n = ie(r), R(t, "class", "CashierErrorText");
4019
+ t = C("span"), n = se(r), D(t, "class", "CashierErrorText");
4046
4020
  },
4047
4021
  m(i, s) {
4048
- D(i, t, s), P(t, n);
4022
+ U(i, t, s), O(t, n);
4049
4023
  },
4050
4024
  p(i, s) {
4051
4025
  s & /*$_, errorcode*/
4052
4026
  20 && r !== (r = /*$_*/
4053
4027
  i[4](`${/*errorcode*/
4054
- i[2] || "errorGeneralText"}`) + "") && We(n, r);
4028
+ i[2] || "errorGeneralText"}`) + "") && Je(n, r);
4055
4029
  },
4056
4030
  d(i) {
4057
- i && L(t);
4031
+ i && M(t);
4058
4032
  }
4059
4033
  };
4060
4034
  }
4061
- function wt(e) {
4035
+ function Bt(e) {
4062
4036
  let t;
4063
4037
  const r = (
4064
4038
  /*#slots*/
4065
4039
  e[12].button
4066
- ), n = ce(
4040
+ ), n = fe(
4067
4041
  r,
4068
4042
  e,
4069
4043
  /*$$scope*/
4070
4044
  e[11],
4071
- Et
4072
- ), i = n || Ri(e);
4045
+ xt
4046
+ ), i = n || Ui(e);
4073
4047
  return {
4074
4048
  c() {
4075
4049
  i && i.c();
@@ -4079,48 +4053,48 @@ function wt(e) {
4079
4053
  },
4080
4054
  p(s, o) {
4081
4055
  n ? n.p && (!t || o & /*$$scope*/
4082
- 2048) && me(
4056
+ 2048) && de(
4083
4057
  n,
4084
4058
  r,
4085
4059
  s,
4086
4060
  /*$$scope*/
4087
4061
  s[11],
4088
- t ? fe(
4062
+ t ? me(
4089
4063
  r,
4090
4064
  /*$$scope*/
4091
4065
  s[11],
4092
4066
  o,
4093
- Oi
4094
- ) : de(
4067
+ Ci
4068
+ ) : pe(
4095
4069
  /*$$scope*/
4096
4070
  s[11]
4097
4071
  ),
4098
- Et
4072
+ xt
4099
4073
  ) : i && i.p && (!t || o & /*$_*/
4100
4074
  16) && i.p(s, t ? o : -1);
4101
4075
  },
4102
4076
  i(s) {
4103
- t || (C(i, s), t = !0);
4077
+ t || (N(i, s), t = !0);
4104
4078
  },
4105
4079
  o(s) {
4106
- j(i, s), t = !1;
4080
+ z(i, s), t = !1;
4107
4081
  },
4108
4082
  d(s) {
4109
4083
  i && i.d(s);
4110
4084
  }
4111
4085
  };
4112
4086
  }
4113
- function Ri(e) {
4087
+ function Ui(e) {
4114
4088
  let t, r, n = (
4115
4089
  /*$_*/
4116
4090
  e[4]("errorGeneralButton") + ""
4117
4091
  ), i, s, o;
4118
4092
  return {
4119
4093
  c() {
4120
- t = I("button"), r = I("span"), i = ie(n), R(t, "class", "CashierErrorButton");
4094
+ t = C("button"), r = C("span"), i = se(n), D(t, "class", "CashierErrorButton");
4121
4095
  },
4122
4096
  m(a, l) {
4123
- D(a, t, l), P(t, r), P(r, i), s || (o = br(
4097
+ U(a, t, l), O(t, r), O(r, i), s || (o = gr(
4124
4098
  t,
4125
4099
  "click",
4126
4100
  /*close*/
@@ -4130,171 +4104,171 @@ function Ri(e) {
4130
4104
  p(a, l) {
4131
4105
  l & /*$_*/
4132
4106
  16 && n !== (n = /*$_*/
4133
- a[4]("errorGeneralButton") + "") && We(i, n);
4107
+ a[4]("errorGeneralButton") + "") && Je(i, n);
4134
4108
  },
4135
4109
  d(a) {
4136
- a && L(t), s = !1, o();
4110
+ a && M(t), s = !1, o();
4137
4111
  }
4138
4112
  };
4139
4113
  }
4140
- function Di(e) {
4114
+ function Gi(e) {
4141
4115
  let t, r, n, i, s, o;
4142
4116
  const a = (
4143
4117
  /*#slots*/
4144
4118
  e[12].icon
4145
- ), l = ce(
4119
+ ), l = fe(
4146
4120
  a,
4147
4121
  e,
4148
4122
  /*$$scope*/
4149
4123
  e[11],
4150
- Tt
4151
- ), u = l || Li(e), h = (
4124
+ wt
4125
+ ), u = l || $i(e), h = (
4152
4126
  /*#slots*/
4153
4127
  e[12].title
4154
- ), f = ce(
4128
+ ), f = fe(
4155
4129
  h,
4156
4130
  e,
4157
4131
  /*$$scope*/
4158
4132
  e[11],
4159
- xt
4160
- ), c = f || Mi(e), y = (
4133
+ Ht
4134
+ ), c = f || Ri(e), y = (
4161
4135
  /*#slots*/
4162
4136
  e[12].text
4163
- ), b = ce(
4137
+ ), p = fe(
4164
4138
  y,
4165
4139
  e,
4166
4140
  /*$$scope*/
4167
4141
  e[11],
4168
- vt
4169
- ), v = b || $i(e);
4170
- let E = (!/*hidebuttons*/
4142
+ Tt
4143
+ ), E = p || Di(e);
4144
+ let _ = (!/*hidebuttons*/
4171
4145
  e[1] || /*hidebuttons*/
4172
- e[1] === "false") && wt(e);
4146
+ e[1] === "false") && Bt(e);
4173
4147
  return {
4174
4148
  c() {
4175
- t = I("div"), r = I("div"), u && u.c(), n = Be(), c && c.c(), i = Be(), v && v.c(), s = Be(), E && E.c(), R(r, "class", "CashierErrorContent"), R(t, "class", "CashierError");
4149
+ t = C("div"), r = C("div"), u && u.c(), n = Pe(), c && c.c(), i = Pe(), E && E.c(), s = Pe(), _ && _.c(), D(r, "class", "CashierErrorContent"), D(t, "class", "CashierError");
4176
4150
  },
4177
- m(m, x) {
4178
- D(m, t, x), P(t, r), u && u.m(r, null), P(r, n), c && c.m(r, null), P(r, i), v && v.m(r, null), P(r, s), E && E.m(r, null), e[13](t), o = !0;
4151
+ m(m, v) {
4152
+ U(m, t, v), O(t, r), u && u.m(r, null), O(r, n), c && c.m(r, null), O(r, i), E && E.m(r, null), O(r, s), _ && _.m(r, null), e[13](t), o = !0;
4179
4153
  },
4180
- p(m, [x]) {
4181
- l ? l.p && (!o || x & /*$$scope*/
4182
- 2048) && me(
4154
+ p(m, [v]) {
4155
+ l ? l.p && (!o || v & /*$$scope*/
4156
+ 2048) && de(
4183
4157
  l,
4184
4158
  a,
4185
4159
  m,
4186
4160
  /*$$scope*/
4187
4161
  m[11],
4188
- o ? fe(
4162
+ o ? me(
4189
4163
  a,
4190
4164
  /*$$scope*/
4191
4165
  m[11],
4192
- x,
4193
- Ni
4194
- ) : de(
4166
+ v,
4167
+ Mi
4168
+ ) : pe(
4195
4169
  /*$$scope*/
4196
4170
  m[11]
4197
4171
  ),
4198
- Tt
4199
- ) : u && u.p && (!o || x & /*assetsurl*/
4200
- 1) && u.p(m, o ? x : -1), f ? f.p && (!o || x & /*$$scope*/
4201
- 2048) && me(
4172
+ wt
4173
+ ) : u && u.p && (!o || v & /*assetsurl*/
4174
+ 1) && u.p(m, o ? v : -1), f ? f.p && (!o || v & /*$$scope*/
4175
+ 2048) && de(
4202
4176
  f,
4203
4177
  h,
4204
4178
  m,
4205
4179
  /*$$scope*/
4206
4180
  m[11],
4207
- o ? fe(
4181
+ o ? me(
4208
4182
  h,
4209
4183
  /*$$scope*/
4210
4184
  m[11],
4211
- x,
4212
- Ci
4213
- ) : de(
4185
+ v,
4186
+ Li
4187
+ ) : pe(
4214
4188
  /*$$scope*/
4215
4189
  m[11]
4216
4190
  ),
4217
- xt
4218
- ) : c && c.p && (!o || x & /*$_*/
4219
- 16) && c.p(m, o ? x : -1), b ? b.p && (!o || x & /*$$scope*/
4220
- 2048) && me(
4221
- b,
4191
+ Ht
4192
+ ) : c && c.p && (!o || v & /*$_*/
4193
+ 16) && c.p(m, o ? v : -1), p ? p.p && (!o || v & /*$$scope*/
4194
+ 2048) && de(
4195
+ p,
4222
4196
  y,
4223
4197
  m,
4224
4198
  /*$$scope*/
4225
4199
  m[11],
4226
- o ? fe(
4200
+ o ? me(
4227
4201
  y,
4228
4202
  /*$$scope*/
4229
4203
  m[11],
4230
- x,
4231
- Ii
4232
- ) : de(
4204
+ v,
4205
+ Ni
4206
+ ) : pe(
4233
4207
  /*$$scope*/
4234
4208
  m[11]
4235
4209
  ),
4236
- vt
4237
- ) : v && v.p && (!o || x & /*$_, errorcode*/
4238
- 20) && v.p(m, o ? x : -1), !/*hidebuttons*/
4210
+ Tt
4211
+ ) : E && E.p && (!o || v & /*$_, errorcode*/
4212
+ 20) && E.p(m, o ? v : -1), !/*hidebuttons*/
4239
4213
  m[1] || /*hidebuttons*/
4240
- m[1] === "false" ? E ? (E.p(m, x), x & /*hidebuttons*/
4241
- 2 && C(E, 1)) : (E = wt(m), E.c(), C(E, 1), E.m(r, null)) : E && (Hr(), j(E, 1, 1, () => {
4242
- E = null;
4243
- }), wr());
4214
+ m[1] === "false" ? _ ? (_.p(m, v), v & /*hidebuttons*/
4215
+ 2 && N(_, 1)) : (_ = Bt(m), _.c(), N(_, 1), _.m(r, null)) : _ && (Sr(), z(_, 1, 1, () => {
4216
+ _ = null;
4217
+ }), Br());
4244
4218
  },
4245
4219
  i(m) {
4246
- o || (C(u, m), C(c, m), C(v, m), C(E), o = !0);
4220
+ o || (N(u, m), N(c, m), N(E, m), N(_), o = !0);
4247
4221
  },
4248
4222
  o(m) {
4249
- j(u, m), j(c, m), j(v, m), j(E), o = !1;
4223
+ z(u, m), z(c, m), z(E, m), z(_), o = !1;
4250
4224
  },
4251
4225
  d(m) {
4252
- m && L(t), u && u.d(m), c && c.d(m), v && v.d(m), E && E.d(), e[13](null);
4226
+ m && M(t), u && u.d(m), c && c.d(m), E && E.d(m), _ && _.d(), e[13](null);
4253
4227
  }
4254
4228
  };
4255
4229
  }
4256
- function Ui(e, t, r) {
4230
+ function ki(e, t, r) {
4257
4231
  let n;
4258
- hr(e, Hi, (d) => r(4, n = d));
4259
- let { $$slots: i = {}, $$scope: s } = t, { assetsurl: o = "" } = t, { lang: a = "en" } = t, { hidebuttons: l = "" } = t, { errorcode: u = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: c = "" } = t, { mbsource: y = "" } = t, b;
4260
- const v = () => {
4261
- Ai(a);
4262
- }, E = () => {
4232
+ fr(e, Si, (d) => r(4, n = d));
4233
+ let { $$slots: i = {}, $$scope: s } = t, { assetsurl: o = "" } = t, { lang: a = "en" } = t, { hidebuttons: l = "" } = t, { errorcode: u = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: c = "" } = t, { mbsource: y = "" } = t, p;
4234
+ const E = () => {
4235
+ Oi(a);
4236
+ }, _ = () => {
4263
4237
  fetch(c).then((w) => w.json()).then((w) => {
4264
4238
  Object.keys(w).forEach((B) => {
4265
- yt(B, w[B]);
4239
+ Et(B, w[B]);
4266
4240
  });
4267
4241
  }).catch((w) => {
4268
4242
  console.error(w);
4269
4243
  });
4270
4244
  };
4271
- Object.keys(_t).forEach((d) => {
4272
- yt(d, _t[d]);
4245
+ Object.keys(vt).forEach((d) => {
4246
+ Et(d, vt[d]);
4273
4247
  });
4274
4248
  const m = () => {
4275
4249
  window.postMessage({ type: "ErrorClose" }, window.location.href);
4276
4250
  };
4277
- _r(() => () => {
4251
+ vr(() => () => {
4278
4252
  });
4279
- function x(d) {
4280
- Me[d ? "unshift" : "push"](() => {
4281
- b = d, r(3, b);
4253
+ function v(d) {
4254
+ Re[d ? "unshift" : "push"](() => {
4255
+ p = d, r(3, p);
4282
4256
  });
4283
4257
  }
4284
4258
  return e.$$set = (d) => {
4285
4259
  "assetsurl" in d && r(0, o = d.assetsurl), "lang" in d && r(6, a = d.lang), "hidebuttons" in d && r(1, l = d.hidebuttons), "errorcode" in d && r(2, u = d.errorcode), "clientstyling" in d && r(7, h = d.clientstyling), "clientstylingurl" in d && r(8, f = d.clientstylingurl), "translationurl" in d && r(9, c = d.translationurl), "mbsource" in d && r(10, y = d.mbsource), "$$scope" in d && r(11, s = d.$$scope);
4286
4260
  }, e.$$.update = () => {
4287
4261
  e.$$.dirty & /*lang*/
4288
- 64 && a && v(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4289
- 136 && h && b && wi(b, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4290
- 264 && f && b && Si(b, f), e.$$.dirty & /*mbsource, customStylingContainer*/
4291
- 1032 && y && b && Bi(b, `${y}.Style`), e.$$.dirty & /*translationurl*/
4292
- 512 && c && E();
4262
+ 64 && a && E(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4263
+ 136 && h && p && Bi(p, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4264
+ 264 && f && p && Ai(p, f), e.$$.dirty & /*mbsource, customStylingContainer*/
4265
+ 1032 && y && p && Pi(p, `${y}.Style`), e.$$.dirty & /*translationurl*/
4266
+ 512 && c && _();
4293
4267
  }, [
4294
4268
  o,
4295
4269
  l,
4296
4270
  u,
4297
- b,
4271
+ p,
4298
4272
  n,
4299
4273
  m,
4300
4274
  a,
@@ -4304,17 +4278,17 @@ function Ui(e, t, r) {
4304
4278
  y,
4305
4279
  s,
4306
4280
  i,
4307
- x
4281
+ v
4308
4282
  ];
4309
4283
  }
4310
- class rr extends Ir {
4284
+ class ir extends Nr {
4311
4285
  constructor(t) {
4312
- super(), Pr(
4286
+ super(), Ir(
4313
4287
  this,
4314
4288
  t,
4315
- Ui,
4316
- Di,
4317
- Bt,
4289
+ ki,
4290
+ Gi,
4291
+ Pt,
4318
4292
  {
4319
4293
  assetsurl: 0,
4320
4294
  lang: 6,
@@ -4325,7 +4299,7 @@ class rr extends Ir {
4325
4299
  translationurl: 9,
4326
4300
  mbsource: 10
4327
4301
  },
4328
- Pi
4302
+ Ii
4329
4303
  );
4330
4304
  }
4331
4305
  get assetsurl() {
@@ -4377,49 +4351,45 @@ class rr extends Ir {
4377
4351
  this.$$set({ mbsource: t }), A();
4378
4352
  }
4379
4353
  }
4380
- Or(rr, { assetsurl: {}, lang: {}, hidebuttons: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4354
+ Cr(ir, { assetsurl: {}, lang: {}, hidebuttons: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4381
4355
  const Zi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4382
4356
  __proto__: null,
4383
- default: rr
4357
+ default: ir
4384
4358
  }, Symbol.toStringTag, { value: "Module" }));
4385
4359
  export {
4386
- U as $,
4387
- le as A,
4388
- zi as B,
4389
- Fi as C,
4390
- ji as D,
4391
- rt as E,
4392
- Hi as F,
4393
- wi as G,
4394
- Si as H,
4395
- Bi as I,
4396
- Zi as J,
4397
- Ir as S,
4398
- Xi as _,
4399
- Qt as a,
4400
- Pe as b,
4401
- Vi as c,
4402
- Wi as d,
4403
- Te as e,
4404
- Pr as f,
4405
- Lr as g,
4406
- A as h,
4407
- ri as i,
4408
- Or as j,
4409
- cr as k,
4410
- L as l,
4411
- D as m,
4412
- O as n,
4413
- I as o,
4414
- R as p,
4415
- hr as q,
4416
- _r as r,
4417
- Bt as s,
4418
- Me as t,
4419
- We as u,
4420
- P as v,
4360
+ G as $,
4361
+ Vi as A,
4362
+ it as B,
4363
+ Si as C,
4364
+ Bi as D,
4365
+ Ai as E,
4366
+ Pi as F,
4367
+ Zi as G,
4368
+ Nr as S,
4369
+ Kt as a,
4370
+ Ir as b,
4371
+ Wi as c,
4372
+ Cr as d,
4373
+ mr as e,
4374
+ A as f,
4375
+ $r as g,
4376
+ M as h,
4377
+ ii as i,
4378
+ U as j,
4379
+ C as k,
4380
+ D as l,
4381
+ fr as m,
4382
+ I as n,
4383
+ vr as o,
4384
+ Re as p,
4385
+ Je as q,
4386
+ O as r,
4387
+ Pt as s,
4388
+ gr as t,
4389
+ Pe as u,
4390
+ se as v,
4421
4391
  br as w,
4422
- Be as x,
4423
- ie as y,
4424
- dr as z
4392
+ he as x,
4393
+ Xi as y,
4394
+ zi as z
4425
4395
  };