@everymatrix/cashier-error 1.85.16 → 1.85.18

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