@everymatrix/cashier-verifications 1.76.1 → 1.76.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +1,21 @@
1
- import { n as ge, s as Fr, r as Vr, a as Qt, i as Gr, S as jr, b as $r, f as ne, c as zr, d as Wr, e as W, g as $, t as we, h as oe, j as se, k as _t, o as Xr, l as qr, m as Yr, p as Zr, q as Et, u as _e, v as wt, w as Z, x as J, y as Jr, z as mt, A as Qr, B as Kr, C as ei } from "./CashierModal-tNHHrPEW.js";
1
+ import { n as ve, s as Rr, r as Ur, a as Zt, i as kr, S as Fr, b as Vr, f as ne, c as Gr, d as jr, e as W, g as $, t as we, h as oe, j as se, k as yt, o as $r, l as zr, m as Wr, p as Xr, q as xt, u as _e, v as _t, w as Z, x as J, y as qr, z as pt, A as Yr, B as Zr, C as Jr } from "./CashierModal-PoatyaKT.js";
2
2
  const xe = [];
3
- function ti(e, t) {
3
+ function Qr(e, t) {
4
4
  return {
5
- subscribe: Ie(e, t).subscribe
5
+ subscribe: De(e, t).subscribe
6
6
  };
7
7
  }
8
- function Ie(e, t = ge) {
8
+ function De(e, t = ve) {
9
9
  let r;
10
10
  const i = /* @__PURE__ */ new Set();
11
11
  function n(a) {
12
- if (Qt(e, a) && (e = a, r)) {
12
+ if (Zt(e, a) && (e = a, r)) {
13
13
  const l = !xe.length;
14
- for (const f of i)
15
- f[1](), xe.push(f, e);
14
+ for (const h of i)
15
+ h[1](), xe.push(h, e);
16
16
  if (l) {
17
- for (let f = 0; f < xe.length; f += 2)
18
- xe[f][0](xe[f + 1]);
17
+ for (let h = 0; h < xe.length; h += 2)
18
+ xe[h][0](xe[h + 1]);
19
19
  xe.length = 0;
20
20
  }
21
21
  }
@@ -23,10 +23,10 @@ function Ie(e, t = ge) {
23
23
  function o(a) {
24
24
  n(a(e));
25
25
  }
26
- function s(a, l = ge) {
27
- const f = [a, l];
28
- return i.add(f), i.size === 1 && (r = t(n, o) || ge), a(e), () => {
29
- i.delete(f), i.size === 0 && r && (r(), r = null);
26
+ function s(a, l = ve) {
27
+ const h = [a, l];
28
+ return i.add(h), i.size === 1 && (r = t(n, o) || ve), a(e), () => {
29
+ i.delete(h), i.size === 0 && r && (r(), r = null);
30
30
  };
31
31
  }
32
32
  return { set: n, update: o, subscribe: s };
@@ -36,97 +36,97 @@ function Oe(e, t, r) {
36
36
  if (!n.every(Boolean))
37
37
  throw new Error("derived() expects stores as input, got a falsy value");
38
38
  const o = t.length < 2;
39
- return ti(r, (s, a) => {
39
+ return Qr(r, (s, a) => {
40
40
  let l = !1;
41
- const f = [];
42
- let h = 0, m = ge;
41
+ const h = [];
42
+ let f = 0, m = ve;
43
43
  const d = () => {
44
- if (h)
44
+ if (f)
45
45
  return;
46
46
  m();
47
- const E = t(i ? f[0] : f, s, a);
48
- o ? s(E) : m = Gr(E) ? E : ge;
47
+ const E = t(i ? h[0] : h, s, a);
48
+ o ? s(E) : m = kr(E) ? E : ve;
49
49
  }, y = n.map(
50
- (E, c) => Fr(
50
+ (E, c) => Rr(
51
51
  E,
52
52
  (b) => {
53
- f[c] = b, h &= ~(1 << c), l && d();
53
+ h[c] = b, f &= ~(1 << c), l && d();
54
54
  },
55
55
  () => {
56
- h |= 1 << c;
56
+ f |= 1 << c;
57
57
  }
58
58
  )
59
59
  );
60
60
  return l = !0, d(), function() {
61
- Vr(y), m(), l = !1;
61
+ Ur(y), m(), l = !1;
62
62
  };
63
63
  });
64
64
  }
65
- var Kt = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
66
- function vt(e) {
65
+ var Jt = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
66
+ function mt(e) {
67
67
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
68
68
  }
69
- var ri = function(t) {
70
- return ii(t) && !ni(t);
69
+ var Kr = function(t) {
70
+ return ei(t) && !ti(t);
71
71
  };
72
- function ii(e) {
72
+ function ei(e) {
73
73
  return !!e && typeof e == "object";
74
74
  }
75
- function ni(e) {
75
+ function ti(e) {
76
76
  var t = Object.prototype.toString.call(e);
77
- return t === "[object RegExp]" || t === "[object Date]" || ai(e);
77
+ return t === "[object RegExp]" || t === "[object Date]" || ni(e);
78
78
  }
79
- var oi = typeof Symbol == "function" && Symbol.for, si = oi ? Symbol.for("react.element") : 60103;
80
- function ai(e) {
81
- return e.$$typeof === si;
79
+ var ri = typeof Symbol == "function" && Symbol.for, ii = ri ? Symbol.for("react.element") : 60103;
80
+ function ni(e) {
81
+ return e.$$typeof === ii;
82
82
  }
83
- function ui(e) {
83
+ function oi(e) {
84
84
  return Array.isArray(e) ? [] : {};
85
85
  }
86
86
  function Ce(e, t) {
87
- return t.clone !== !1 && t.isMergeableObject(e) ? Se(ui(e), e, t) : e;
87
+ return t.clone !== !1 && t.isMergeableObject(e) ? Se(oi(e), e, t) : e;
88
88
  }
89
- function li(e, t, r) {
89
+ function si(e, t, r) {
90
90
  return e.concat(t).map(function(i) {
91
91
  return Ce(i, r);
92
92
  });
93
93
  }
94
- function hi(e, t) {
94
+ function ai(e, t) {
95
95
  if (!t.customMerge)
96
96
  return Se;
97
97
  var r = t.customMerge(e);
98
98
  return typeof r == "function" ? r : Se;
99
99
  }
100
- function fi(e) {
100
+ function ui(e) {
101
101
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
102
102
  return Object.propertyIsEnumerable.call(e, t);
103
103
  }) : [];
104
104
  }
105
- function St(e) {
106
- return Object.keys(e).concat(fi(e));
105
+ function Et(e) {
106
+ return Object.keys(e).concat(ui(e));
107
107
  }
108
- function er(e, t) {
108
+ function Qt(e, t) {
109
109
  try {
110
110
  return t in e;
111
111
  } catch (r) {
112
112
  return !1;
113
113
  }
114
114
  }
115
- function ci(e, t) {
116
- return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
115
+ function li(e, t) {
116
+ return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
117
117
  }
118
- function di(e, t, r) {
118
+ function fi(e, t, r) {
119
119
  var i = {};
120
- return r.isMergeableObject(e) && St(e).forEach(function(n) {
120
+ return r.isMergeableObject(e) && Et(e).forEach(function(n) {
121
121
  i[n] = Ce(e[n], r);
122
- }), St(t).forEach(function(n) {
123
- ci(e, n) || (er(e, n) && r.isMergeableObject(t[n]) ? i[n] = hi(n, r)(e[n], t[n], r) : i[n] = Ce(t[n], r));
122
+ }), Et(t).forEach(function(n) {
123
+ li(e, n) || (Qt(e, n) && r.isMergeableObject(t[n]) ? i[n] = ai(n, r)(e[n], t[n], r) : i[n] = Ce(t[n], r));
124
124
  }), i;
125
125
  }
126
126
  function Se(e, t, r) {
127
- r = r || {}, r.arrayMerge = r.arrayMerge || li, r.isMergeableObject = r.isMergeableObject || ri, r.cloneUnlessOtherwiseSpecified = Ce;
127
+ r = r || {}, r.arrayMerge = r.arrayMerge || si, r.isMergeableObject = r.isMergeableObject || Kr, r.cloneUnlessOtherwiseSpecified = Ce;
128
128
  var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
129
- return o ? i ? r.arrayMerge(e, t, r) : di(e, t, r) : Ce(t, r);
129
+ return o ? i ? r.arrayMerge(e, t, r) : fi(e, t, r) : Ce(t, r);
130
130
  }
131
131
  Se.all = function(t, r) {
132
132
  if (!Array.isArray(t))
@@ -135,8 +135,8 @@ Se.all = function(t, r) {
135
135
  return Se(i, n, r);
136
136
  }, {});
137
137
  };
138
- var pi = Se, mi = pi;
139
- const vi = /* @__PURE__ */ vt(mi);
138
+ var hi = Se, ci = hi;
139
+ const di = /* @__PURE__ */ mt(ci);
140
140
  /*! *****************************************************************************
141
141
  Copyright (c) Microsoft Corporation.
142
142
 
@@ -151,18 +151,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
151
151
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
152
152
  PERFORMANCE OF THIS SOFTWARE.
153
153
  ***************************************************************************** */
154
- var it = function(e, t) {
155
- return it = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
154
+ var rt = function(e, t) {
155
+ return rt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
156
156
  r.__proto__ = i;
157
157
  } || function(r, i) {
158
158
  for (var n in i)
159
159
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
160
- }, it(e, t);
160
+ }, rt(e, t);
161
161
  };
162
162
  function ue(e, t) {
163
163
  if (typeof t != "function" && t !== null)
164
164
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
165
- it(e, t);
165
+ rt(e, t);
166
166
  function r() {
167
167
  this.constructor = e;
168
168
  }
@@ -178,7 +178,7 @@ var C = function() {
178
178
  return t;
179
179
  }, C.apply(this, arguments);
180
180
  };
181
- function gi(e, t) {
181
+ function pi(e, t) {
182
182
  var r = {};
183
183
  for (var i in e)
184
184
  Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
@@ -187,7 +187,7 @@ function gi(e, t) {
187
187
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
188
188
  return r;
189
189
  }
190
- function nt(e) {
190
+ function it(e) {
191
191
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
192
192
  if (r)
193
193
  return r.call(e);
@@ -199,7 +199,7 @@ function nt(e) {
199
199
  };
200
200
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
201
201
  }
202
- function ot(e, t) {
202
+ function nt(e, t) {
203
203
  var r = typeof Symbol == "function" && e[Symbol.iterator];
204
204
  if (!r)
205
205
  return e;
@@ -226,55 +226,57 @@ function Ee(e, t, r) {
226
226
  return e.concat(o || t);
227
227
  }
228
228
  function Ze(e, t) {
229
- var r = t && t.cache ? t.cache : wi, i = t && t.serializer ? t.serializer : Ei, n = t && t.strategy ? t.strategy : yi;
229
+ var r = t && t.cache ? t.cache : _i, i = t && t.serializer ? t.serializer : yi, n = t && t.strategy ? t.strategy : gi;
230
230
  return n(e, {
231
231
  cache: r,
232
232
  serializer: i
233
233
  });
234
234
  }
235
- function bi(e) {
235
+ function mi(e) {
236
236
  return e == null || typeof e == "number" || typeof e == "boolean";
237
237
  }
238
- function tr(e, t, r, i) {
239
- var n = bi(i) ? i : r(i), o = t.get(n);
238
+ function Kt(e, t, r, i) {
239
+ var n = mi(i) ? i : r(i), o = t.get(n);
240
240
  return typeof o == "undefined" && (o = e.call(this, i), t.set(n, o)), o;
241
241
  }
242
- function rr(e, t, r) {
242
+ function er(e, t, r) {
243
243
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
244
244
  return typeof o == "undefined" && (o = e.apply(this, i), t.set(n, o)), o;
245
245
  }
246
246
  function gt(e, t, r, i, n) {
247
247
  return r.bind(t, e, i, n);
248
248
  }
249
- function yi(e, t) {
250
- var r = e.length === 1 ? tr : rr;
249
+ function gi(e, t) {
250
+ var r = e.length === 1 ? Kt : er;
251
251
  return gt(e, this, r, t.cache.create(), t.serializer);
252
252
  }
253
- function xi(e, t) {
254
- return gt(e, this, rr, t.cache.create(), t.serializer);
253
+ function vi(e, t) {
254
+ return gt(e, this, er, t.cache.create(), t.serializer);
255
255
  }
256
- function _i(e, t) {
257
- return gt(e, this, tr, t.cache.create(), t.serializer);
256
+ function bi(e, t) {
257
+ return gt(e, this, Kt, t.cache.create(), t.serializer);
258
258
  }
259
- var Ei = function() {
259
+ var yi = function() {
260
260
  return JSON.stringify(arguments);
261
- };
262
- function bt() {
263
- this.cache = /* @__PURE__ */ Object.create(null);
264
- }
265
- bt.prototype.get = function(e) {
266
- return this.cache[e];
267
- };
268
- bt.prototype.set = function(e, t) {
269
- this.cache[e] = t;
270
- };
271
- var wi = {
261
+ }, xi = (
262
+ /** @class */
263
+ function() {
264
+ function e() {
265
+ this.cache = /* @__PURE__ */ Object.create(null);
266
+ }
267
+ return e.prototype.get = function(t) {
268
+ return this.cache[t];
269
+ }, e.prototype.set = function(t, r) {
270
+ this.cache[t] = r;
271
+ }, e;
272
+ }()
273
+ ), _i = {
272
274
  create: function() {
273
- return new bt();
275
+ return new xi();
274
276
  }
275
277
  }, Je = {
276
- variadic: xi,
277
- monadic: _i
278
+ variadic: vi,
279
+ monadic: bi
278
280
  }, H;
279
281
  (function(e) {
280
282
  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";
@@ -287,43 +289,43 @@ var Te;
287
289
  (function(e) {
288
290
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
289
291
  })(Te || (Te = {}));
290
- function Tt(e) {
292
+ function wt(e) {
291
293
  return e.type === L.literal;
292
294
  }
293
- function Si(e) {
295
+ function Ei(e) {
294
296
  return e.type === L.argument;
295
297
  }
296
- function ir(e) {
298
+ function tr(e) {
297
299
  return e.type === L.number;
298
300
  }
299
- function nr(e) {
301
+ function rr(e) {
300
302
  return e.type === L.date;
301
303
  }
302
- function or(e) {
304
+ function ir(e) {
303
305
  return e.type === L.time;
304
306
  }
305
- function sr(e) {
307
+ function nr(e) {
306
308
  return e.type === L.select;
307
309
  }
308
- function ar(e) {
310
+ function or(e) {
309
311
  return e.type === L.plural;
310
312
  }
311
- function Ti(e) {
313
+ function wi(e) {
312
314
  return e.type === L.pound;
313
315
  }
314
- function ur(e) {
316
+ function sr(e) {
315
317
  return e.type === L.tag;
316
318
  }
317
- function lr(e) {
319
+ function ar(e) {
318
320
  return !!(e && typeof e == "object" && e.type === Te.number);
319
321
  }
320
- function st(e) {
322
+ function ot(e) {
321
323
  return !!(e && typeof e == "object" && e.type === Te.dateTime);
322
324
  }
323
- var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pi = /(?:[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;
324
- function Hi(e) {
325
+ var ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Si = /(?:[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;
326
+ function Ti(e) {
325
327
  var t = {};
326
- return e.replace(Pi, function(r) {
328
+ return e.replace(Si, function(r) {
327
329
  var i = r.length;
328
330
  switch (r[0]) {
329
331
  case "G":
@@ -412,18 +414,18 @@ function Hi(e) {
412
414
  return "";
413
415
  }), t;
414
416
  }
415
- var Oi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
416
- function Ai(e) {
417
+ var Pi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
418
+ function Hi(e) {
417
419
  if (e.length === 0)
418
420
  throw new Error("Number skeleton cannot be empty");
419
- for (var t = e.split(Oi).filter(function(d) {
421
+ for (var t = e.split(Pi).filter(function(d) {
420
422
  return d.length > 0;
421
423
  }), r = [], i = 0, n = t; i < n.length; i++) {
422
424
  var o = n[i], s = o.split("/");
423
425
  if (s.length === 0)
424
426
  throw new Error("Invalid number skeleton");
425
- for (var a = s[0], l = s.slice(1), f = 0, h = l; f < h.length; f++) {
426
- var m = h[f];
427
+ for (var a = s[0], l = s.slice(1), h = 0, f = l; h < f.length; h++) {
428
+ var m = f[h];
427
429
  if (m.length === 0)
428
430
  throw new Error("Invalid number skeleton");
429
431
  }
@@ -431,17 +433,17 @@ function Ai(e) {
431
433
  }
432
434
  return r;
433
435
  }
434
- function Bi(e) {
436
+ function Oi(e) {
435
437
  return e.replace(/^(.*?)-/, "");
436
438
  }
437
- var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, Mi = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
438
- function Ht(e) {
439
+ var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, lr = /^(@+)?(\+|#+)?[rs]?$/g, Ai = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
440
+ function Tt(e) {
439
441
  var t = {};
440
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, i, n) {
442
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(lr, function(r, i, n) {
441
443
  return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
442
444
  }), t;
443
445
  }
444
- function dr(e) {
446
+ function hr(e) {
445
447
  switch (e) {
446
448
  case "sign-auto":
447
449
  return {
@@ -481,7 +483,7 @@ function dr(e) {
481
483
  };
482
484
  }
483
485
  }
484
- function Ci(e) {
486
+ function Bi(e) {
485
487
  var t;
486
488
  if (e[0] === "E" && e[1] === "E" ? (t = {
487
489
  notation: "engineering"
@@ -489,17 +491,17 @@ function Ci(e) {
489
491
  notation: "scientific"
490
492
  }, e = e.slice(1)), t) {
491
493
  var r = e.slice(0, 2);
492
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
494
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
493
495
  throw new Error("Malformed concise eng/scientific notation");
494
496
  t.minimumIntegerDigits = e.length;
495
497
  }
496
498
  return t;
497
499
  }
498
- function Ot(e) {
499
- var t = {}, r = dr(e);
500
+ function Pt(e) {
501
+ var t = {}, r = hr(e);
500
502
  return r || t;
501
503
  }
502
- function Di(e) {
504
+ function Mi(e) {
503
505
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
504
506
  var n = i[r];
505
507
  switch (n.stem) {
@@ -523,7 +525,7 @@ function Di(e) {
523
525
  continue;
524
526
  case "measure-unit":
525
527
  case "unit":
526
- t.style = "unit", t.unit = Bi(n.options[0]);
528
+ t.style = "unit", t.unit = Oi(n.options[0]);
527
529
  continue;
528
530
  case "compact-short":
529
531
  case "K":
@@ -534,13 +536,13 @@ function Di(e) {
534
536
  t.notation = "compact", t.compactDisplay = "long";
535
537
  continue;
536
538
  case "scientific":
537
- t = C(C(C({}, t), { notation: "scientific" }), n.options.reduce(function(l, f) {
538
- return C(C({}, l), Ot(f));
539
+ t = C(C(C({}, t), { notation: "scientific" }), n.options.reduce(function(l, h) {
540
+ return C(C({}, l), Pt(h));
539
541
  }, {}));
540
542
  continue;
541
543
  case "engineering":
542
- t = C(C(C({}, t), { notation: "engineering" }), n.options.reduce(function(l, f) {
543
- return C(C({}, l), Ot(f));
544
+ t = C(C(C({}, t), { notation: "engineering" }), n.options.reduce(function(l, h) {
545
+ return C(C({}, l), Pt(h));
544
546
  }, {}));
545
547
  continue;
546
548
  case "notation-simple":
@@ -585,9 +587,9 @@ function Di(e) {
585
587
  case "integer-width":
586
588
  if (n.options.length > 1)
587
589
  throw new RangeError("integer-width stems only accept a single optional option");
588
- n.options[0].replace(Mi, function(l, f, h, m, d, y) {
589
- if (f)
590
- t.minimumIntegerDigits = h.length;
590
+ n.options[0].replace(Ai, function(l, h, f, m, d, y) {
591
+ if (h)
592
+ t.minimumIntegerDigits = f.length;
591
593
  else {
592
594
  if (m && d)
593
595
  throw new Error("We currently do not support maximum integer digits");
@@ -598,27 +600,27 @@ function Di(e) {
598
600
  });
599
601
  continue;
600
602
  }
601
- if (cr.test(n.stem)) {
603
+ if (fr.test(n.stem)) {
602
604
  t.minimumIntegerDigits = n.stem.length;
603
605
  continue;
604
606
  }
605
- if (Pt.test(n.stem)) {
607
+ if (St.test(n.stem)) {
606
608
  if (n.options.length > 1)
607
609
  throw new RangeError("Fraction-precision stems only accept a single optional option");
608
- n.stem.replace(Pt, function(l, f, h, m, d, y) {
609
- return h === "*" ? t.minimumFractionDigits = f.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : d && y ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + y.length) : (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length), "";
610
+ n.stem.replace(St, function(l, h, f, m, d, y) {
611
+ return f === "*" ? t.minimumFractionDigits = h.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : d && y ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + y.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
610
612
  });
611
613
  var o = n.options[0];
612
- o === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = C(C({}, t), Ht(o)));
614
+ o === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = C(C({}, t), Tt(o)));
613
615
  continue;
614
616
  }
615
- if (fr.test(n.stem)) {
616
- t = C(C({}, t), Ht(n.stem));
617
+ if (lr.test(n.stem)) {
618
+ t = C(C({}, t), Tt(n.stem));
617
619
  continue;
618
620
  }
619
- var s = dr(n.stem);
621
+ var s = hr(n.stem);
620
622
  s && (t = C(C({}, t), s));
621
- var a = Ci(n.stem);
623
+ var a = Bi(n.stem);
622
624
  a && (t = C(C({}, t), a));
623
625
  }
624
626
  return t;
@@ -2038,23 +2040,23 @@ var Ue = {
2038
2040
  "h"
2039
2041
  ]
2040
2042
  };
2041
- function Ii(e, t) {
2043
+ function Ci(e, t) {
2042
2044
  for (var r = "", i = 0; i < e.length; i++) {
2043
2045
  var n = e.charAt(i);
2044
2046
  if (n === "j") {
2045
2047
  for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2046
2048
  o++, i++;
2047
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", f = Li(t);
2048
- for ((f == "H" || f == "k") && (a = 0); a-- > 0; )
2049
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", h = Ii(t);
2050
+ for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
2049
2051
  r += l;
2050
2052
  for (; s-- > 0; )
2051
- r = f + r;
2053
+ r = h + r;
2052
2054
  } else
2053
2055
  n === "J" ? r += "H" : r += n;
2054
2056
  }
2055
2057
  return r;
2056
2058
  }
2057
- function Li(e) {
2059
+ function Ii(e) {
2058
2060
  var t = e.hourCycle;
2059
2061
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2060
2062
  e.hourCycles && // @ts-ignore
@@ -2076,20 +2078,20 @@ function Li(e) {
2076
2078
  var n = Ue[i || ""] || Ue[r || ""] || Ue["".concat(r, "-001")] || Ue["001"];
2077
2079
  return n[0];
2078
2080
  }
2079
- var Qe, Ni = new RegExp("^".concat(hr.source, "*")), Ri = new RegExp("".concat(hr.source, "*$"));
2081
+ var Qe, Di = new RegExp("^".concat(ur.source, "*")), Li = new RegExp("".concat(ur.source, "*$"));
2080
2082
  function M(e, t) {
2081
2083
  return { start: e, end: t };
2082
2084
  }
2083
- var Ui = !!String.prototype.startsWith && "_a".startsWith("a", 1), ki = !!String.fromCodePoint, Fi = !!Object.fromEntries, Vi = !!String.prototype.codePointAt, Gi = !!String.prototype.trimStart, ji = !!String.prototype.trimEnd, $i = !!Number.isSafeInteger, zi = $i ? Number.isSafeInteger : function(e) {
2085
+ var Ni = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ri = !!String.fromCodePoint, Ui = !!Object.fromEntries, ki = !!String.prototype.codePointAt, Fi = !!String.prototype.trimStart, Vi = !!String.prototype.trimEnd, Gi = !!Number.isSafeInteger, ji = Gi ? Number.isSafeInteger : function(e) {
2084
2086
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2085
- }, at = !0;
2087
+ }, st = !0;
2086
2088
  try {
2087
- var Wi = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2088
- at = ((Qe = Wi.exec("a")) === null || Qe === void 0 ? void 0 : Qe[0]) === "a";
2089
+ var $i = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2090
+ st = ((Qe = $i.exec("a")) === null || Qe === void 0 ? void 0 : Qe[0]) === "a";
2089
2091
  } catch (e) {
2090
- at = !1;
2092
+ st = !1;
2091
2093
  }
2092
- var At = Ui ? (
2094
+ var Ht = Ni ? (
2093
2095
  // Native
2094
2096
  function(t, r, i) {
2095
2097
  return t.startsWith(r, i);
@@ -2099,7 +2101,7 @@ var At = Ui ? (
2099
2101
  function(t, r, i) {
2100
2102
  return t.slice(i, i + r.length) === r;
2101
2103
  }
2102
- ), ut = ki ? String.fromCodePoint : (
2104
+ ), at = Ri ? String.fromCodePoint : (
2103
2105
  // IE11
2104
2106
  function() {
2105
2107
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2111,9 +2113,9 @@ var At = Ui ? (
2111
2113
  }
2112
2114
  return i;
2113
2115
  }
2114
- ), Bt = (
2116
+ ), Ot = (
2115
2117
  // native
2116
- Fi ? Object.fromEntries : (
2118
+ Ui ? Object.fromEntries : (
2117
2119
  // Ponyfill
2118
2120
  function(t) {
2119
2121
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
@@ -2123,7 +2125,7 @@ var At = Ui ? (
2123
2125
  return r;
2124
2126
  }
2125
2127
  )
2126
- ), pr = Vi ? (
2128
+ ), cr = ki ? (
2127
2129
  // Native
2128
2130
  function(t, r) {
2129
2131
  return t.codePointAt(r);
@@ -2137,7 +2139,7 @@ var At = Ui ? (
2137
2139
  return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
2138
2140
  }
2139
2141
  }
2140
- ), Xi = Gi ? (
2142
+ ), zi = Fi ? (
2141
2143
  // Native
2142
2144
  function(t) {
2143
2145
  return t.trimStart();
@@ -2145,9 +2147,9 @@ var At = Ui ? (
2145
2147
  ) : (
2146
2148
  // Ponyfill
2147
2149
  function(t) {
2148
- return t.replace(Ni, "");
2150
+ return t.replace(Di, "");
2149
2151
  }
2150
- ), qi = ji ? (
2152
+ ), Wi = Vi ? (
2151
2153
  // Native
2152
2154
  function(t) {
2153
2155
  return t.trimEnd();
@@ -2155,32 +2157,32 @@ var At = Ui ? (
2155
2157
  ) : (
2156
2158
  // Ponyfill
2157
2159
  function(t) {
2158
- return t.replace(Ri, "");
2160
+ return t.replace(Li, "");
2159
2161
  }
2160
2162
  );
2161
- function mr(e, t) {
2163
+ function dr(e, t) {
2162
2164
  return new RegExp(e, t);
2163
2165
  }
2164
- var lt;
2165
- if (at) {
2166
- var Mt = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2167
- lt = function(t, r) {
2166
+ var ut;
2167
+ if (st) {
2168
+ var At = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2169
+ ut = function(t, r) {
2168
2170
  var i;
2169
- Mt.lastIndex = r;
2170
- var n = Mt.exec(t);
2171
+ At.lastIndex = r;
2172
+ var n = At.exec(t);
2171
2173
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2172
2174
  };
2173
2175
  } else
2174
- lt = function(t, r) {
2176
+ ut = function(t, r) {
2175
2177
  for (var i = []; ; ) {
2176
- var n = pr(t, r);
2177
- if (n === void 0 || vr(n) || Qi(n))
2178
+ var n = cr(t, r);
2179
+ if (n === void 0 || pr(n) || Zi(n))
2178
2180
  break;
2179
2181
  i.push(n), r += n >= 65536 ? 2 : 1;
2180
2182
  }
2181
- return ut.apply(void 0, i);
2183
+ return at.apply(void 0, i);
2182
2184
  };
2183
- var Yi = (
2185
+ var Xi = (
2184
2186
  /** @class */
2185
2187
  function() {
2186
2188
  function e(t, r) {
@@ -2211,7 +2213,7 @@ var Yi = (
2211
2213
  if (i)
2212
2214
  break;
2213
2215
  return this.error(H.UNMATCHED_CLOSING_TAG, M(this.clonePosition(), this.clonePosition()));
2214
- } else if (o === 60 && !this.ignoreTag && ht(this.peek() || 0)) {
2216
+ } else if (o === 60 && !this.ignoreTag && lt(this.peek() || 0)) {
2215
2217
  var s = this.parseTag(t, r);
2216
2218
  if (s.err)
2217
2219
  return s;
@@ -2244,10 +2246,10 @@ var Yi = (
2244
2246
  return o;
2245
2247
  var s = o.val, a = this.clonePosition();
2246
2248
  if (this.bumpIf("</")) {
2247
- if (this.isEOF() || !ht(this.char()))
2249
+ if (this.isEOF() || !lt(this.char()))
2248
2250
  return this.error(H.INVALID_TAG, M(a, this.clonePosition()));
2249
- var l = this.clonePosition(), f = this.parseTagName();
2250
- return n !== f ? this.error(H.UNMATCHED_CLOSING_TAG, M(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2251
+ var l = this.clonePosition(), h = this.parseTagName();
2252
+ return n !== h ? this.error(H.UNMATCHED_CLOSING_TAG, M(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2251
2253
  val: {
2252
2254
  type: L.tag,
2253
2255
  value: n,
@@ -2262,7 +2264,7 @@ var Yi = (
2262
2264
  return this.error(H.INVALID_TAG, M(i, this.clonePosition()));
2263
2265
  }, e.prototype.parseTagName = function() {
2264
2266
  var t = this.offset();
2265
- for (this.bump(); !this.isEOF() && Ji(this.char()); )
2267
+ for (this.bump(); !this.isEOF() && Yi(this.char()); )
2266
2268
  this.bump();
2267
2269
  return this.message.slice(t, this.offset());
2268
2270
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2291,7 +2293,7 @@ var Yi = (
2291
2293
  };
2292
2294
  }, e.prototype.tryParseLeftAngleBracket = function() {
2293
2295
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2294
- !Zi(this.peek() || 0)) ? (this.bump(), "<") : null;
2296
+ !qi(this.peek() || 0)) ? (this.bump(), "<") : null;
2295
2297
  }, e.prototype.tryParseQuote = function(t) {
2296
2298
  if (this.isEOF() || this.char() !== 39)
2297
2299
  return null;
@@ -2325,12 +2327,12 @@ var Yi = (
2325
2327
  r.push(i);
2326
2328
  this.bump();
2327
2329
  }
2328
- return ut.apply(void 0, r);
2330
+ return at.apply(void 0, r);
2329
2331
  }, e.prototype.tryParseUnquoted = function(t, r) {
2330
2332
  if (this.isEOF())
2331
2333
  return null;
2332
2334
  var i = this.char();
2333
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), ut(i));
2335
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), at(i));
2334
2336
  }, e.prototype.parseArgument = function(t, r) {
2335
2337
  var i = this.clonePosition();
2336
2338
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2359,7 +2361,7 @@ var Yi = (
2359
2361
  return this.error(H.MALFORMED_ARGUMENT, M(i, this.clonePosition()));
2360
2362
  }
2361
2363
  }, e.prototype.parseIdentifierIfPossible = function() {
2362
- var t = this.clonePosition(), r = this.offset(), i = lt(this.message, r), n = r + i.length;
2364
+ var t = this.clonePosition(), r = this.offset(), i = ut(this.message, r), n = r + i.length;
2363
2365
  this.bumpTo(n);
2364
2366
  var o = this.clonePosition(), s = M(t, o);
2365
2367
  return { value: i, location: s };
@@ -2372,26 +2374,26 @@ var Yi = (
2372
2374
  case "date":
2373
2375
  case "time": {
2374
2376
  this.bumpSpace();
2375
- var f = null;
2377
+ var h = null;
2376
2378
  if (this.bumpIf(",")) {
2377
2379
  this.bumpSpace();
2378
- var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2380
+ var f = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2379
2381
  if (m.err)
2380
2382
  return m;
2381
- var d = qi(m.val);
2383
+ var d = Wi(m.val);
2382
2384
  if (d.length === 0)
2383
2385
  return this.error(H.EXPECT_ARGUMENT_STYLE, M(this.clonePosition(), this.clonePosition()));
2384
- var y = M(h, this.clonePosition());
2385
- f = { style: d, styleLocation: y };
2386
+ var y = M(f, this.clonePosition());
2387
+ h = { style: d, styleLocation: y };
2386
2388
  }
2387
2389
  var E = this.tryParseArgumentClose(n);
2388
2390
  if (E.err)
2389
2391
  return E;
2390
2392
  var c = M(n, this.clonePosition());
2391
- if (f && At(f == null ? void 0 : f.style, "::", 0)) {
2392
- var b = Xi(f.style.slice(2));
2393
+ if (h && Ht(h == null ? void 0 : h.style, "::", 0)) {
2394
+ var b = zi(h.style.slice(2));
2393
2395
  if (a === "number") {
2394
- var m = this.parseNumberSkeletonFromString(b, f.styleLocation);
2396
+ var m = this.parseNumberSkeletonFromString(b, h.styleLocation);
2395
2397
  return m.err ? m : {
2396
2398
  val: { type: L.number, value: i, location: c, style: m.val },
2397
2399
  err: null
@@ -2400,12 +2402,12 @@ var Yi = (
2400
2402
  if (b.length === 0)
2401
2403
  return this.error(H.EXPECT_DATE_TIME_SKELETON, c);
2402
2404
  var O = b;
2403
- this.locale && (O = Ii(b, this.locale));
2405
+ this.locale && (O = Ci(b, this.locale));
2404
2406
  var d = {
2405
2407
  type: Te.dateTime,
2406
2408
  pattern: O,
2407
- location: f.styleLocation,
2408
- parsedOptions: this.shouldParseSkeletons ? Hi(O) : {}
2409
+ location: h.styleLocation,
2410
+ parsedOptions: this.shouldParseSkeletons ? Ti(O) : {}
2409
2411
  }, P = a === "date" ? L.date : L.time;
2410
2412
  return {
2411
2413
  val: { type: P, value: i, location: c, style: d },
@@ -2418,7 +2420,7 @@ var Yi = (
2418
2420
  type: a === "number" ? L.number : a === "date" ? L.date : L.time,
2419
2421
  value: i,
2420
2422
  location: c,
2421
- style: (o = f == null ? void 0 : f.style) !== null && o !== void 0 ? o : null
2423
+ style: (o = h == null ? void 0 : h.style) !== null && o !== void 0 ? o : null
2422
2424
  },
2423
2425
  err: null
2424
2426
  };
@@ -2426,9 +2428,9 @@ var Yi = (
2426
2428
  case "plural":
2427
2429
  case "selectordinal":
2428
2430
  case "select": {
2429
- var D = this.clonePosition();
2431
+ var I = this.clonePosition();
2430
2432
  if (this.bumpSpace(), !this.bumpIf(","))
2431
- return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, M(D, C({}, D)));
2433
+ return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, M(I, C({}, I)));
2432
2434
  this.bumpSpace();
2433
2435
  var Y = this.parseIdentifierIfPossible(), R = 0;
2434
2436
  if (a !== "select" && Y.value === "offset") {
@@ -2451,7 +2453,7 @@ var Yi = (
2451
2453
  val: {
2452
2454
  type: L.select,
2453
2455
  value: i,
2454
- options: Bt(F.val),
2456
+ options: Ot(F.val),
2455
2457
  location: Q
2456
2458
  },
2457
2459
  err: null
@@ -2459,7 +2461,7 @@ var Yi = (
2459
2461
  val: {
2460
2462
  type: L.plural,
2461
2463
  value: i,
2462
- options: Bt(F.val),
2464
+ options: Ot(F.val),
2463
2465
  offset: R,
2464
2466
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2465
2467
  location: Q
@@ -2510,7 +2512,7 @@ var Yi = (
2510
2512
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2511
2513
  var i = [];
2512
2514
  try {
2513
- i = Ai(t);
2515
+ i = Hi(t);
2514
2516
  } catch (n) {
2515
2517
  return this.error(H.INVALID_NUMBER_SKELETON, r);
2516
2518
  }
@@ -2519,25 +2521,25 @@ var Yi = (
2519
2521
  type: Te.number,
2520
2522
  tokens: i,
2521
2523
  location: r,
2522
- parsedOptions: this.shouldParseSkeletons ? Di(i) : {}
2524
+ parsedOptions: this.shouldParseSkeletons ? Mi(i) : {}
2523
2525
  },
2524
2526
  err: null
2525
2527
  };
2526
2528
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
2527
- for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), f = n.value, h = n.location; ; ) {
2528
- if (f.length === 0) {
2529
+ for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), h = n.value, f = n.location; ; ) {
2530
+ if (h.length === 0) {
2529
2531
  var m = this.clonePosition();
2530
2532
  if (r !== "select" && this.bumpIf("=")) {
2531
2533
  var d = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR, H.INVALID_PLURAL_ARGUMENT_SELECTOR);
2532
2534
  if (d.err)
2533
2535
  return d;
2534
- h = M(m, this.clonePosition()), f = this.message.slice(m.offset, this.offset());
2536
+ f = M(m, this.clonePosition()), h = this.message.slice(m.offset, this.offset());
2535
2537
  } else
2536
2538
  break;
2537
2539
  }
2538
- if (l.has(f))
2539
- return this.error(r === "select" ? H.DUPLICATE_SELECT_ARGUMENT_SELECTOR : H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2540
- f === "other" && (s = !0), this.bumpSpace();
2540
+ if (l.has(h))
2541
+ return this.error(r === "select" ? H.DUPLICATE_SELECT_ARGUMENT_SELECTOR : H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
2542
+ h === "other" && (s = !0), this.bumpSpace();
2541
2543
  var y = this.clonePosition();
2542
2544
  if (!this.bumpIf("{"))
2543
2545
  return this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, M(this.clonePosition(), this.clonePosition()));
@@ -2548,12 +2550,12 @@ var Yi = (
2548
2550
  if (c.err)
2549
2551
  return c;
2550
2552
  a.push([
2551
- f,
2553
+ h,
2552
2554
  {
2553
2555
  value: E.val,
2554
2556
  location: M(y, this.clonePosition())
2555
2557
  }
2556
- ]), l.add(f), this.bumpSpace(), o = this.parseIdentifierIfPossible(), f = o.value, h = o.location;
2558
+ ]), l.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, f = o.location;
2557
2559
  }
2558
2560
  return a.length === 0 ? this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR : H.EXPECT_PLURAL_ARGUMENT_SELECTOR, M(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(H.MISSING_OTHER_CLAUSE, M(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2559
2561
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -2567,7 +2569,7 @@ var Yi = (
2567
2569
  break;
2568
2570
  }
2569
2571
  var l = M(n, this.clonePosition());
2570
- return o ? (s *= i, zi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
2572
+ return o ? (s *= i, ji(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
2571
2573
  }, e.prototype.offset = function() {
2572
2574
  return this.position.offset;
2573
2575
  }, e.prototype.isEOF = function() {
@@ -2582,7 +2584,7 @@ var Yi = (
2582
2584
  var t = this.position.offset;
2583
2585
  if (t >= this.message.length)
2584
2586
  throw Error("out of bound");
2585
- var r = pr(this.message, t);
2587
+ var r = cr(this.message, t);
2586
2588
  if (r === void 0)
2587
2589
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2588
2590
  return r;
@@ -2601,7 +2603,7 @@ var Yi = (
2601
2603
  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);
2602
2604
  }
2603
2605
  }, e.prototype.bumpIf = function(t) {
2604
- if (At(this.message, t, this.offset())) {
2606
+ if (Ht(this.message, t, this.offset())) {
2605
2607
  for (var r = 0; r < t.length; r++)
2606
2608
  this.bump();
2607
2609
  return !0;
@@ -2623,7 +2625,7 @@ var Yi = (
2623
2625
  break;
2624
2626
  }
2625
2627
  }, e.prototype.bumpSpace = function() {
2626
- for (; !this.isEOF() && vr(this.char()); )
2628
+ for (; !this.isEOF() && pr(this.char()); )
2627
2629
  this.bump();
2628
2630
  }, e.prototype.peek = function() {
2629
2631
  if (this.isEOF())
@@ -2633,33 +2635,33 @@ var Yi = (
2633
2635
  }, e;
2634
2636
  }()
2635
2637
  );
2636
- function ht(e) {
2638
+ function lt(e) {
2637
2639
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
2638
2640
  }
2639
- function Zi(e) {
2640
- return ht(e) || e === 47;
2641
+ function qi(e) {
2642
+ return lt(e) || e === 47;
2641
2643
  }
2642
- function Ji(e) {
2644
+ function Yi(e) {
2643
2645
  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;
2644
2646
  }
2645
- function vr(e) {
2647
+ function pr(e) {
2646
2648
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
2647
2649
  }
2648
- function Qi(e) {
2650
+ function Zi(e) {
2649
2651
  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;
2650
2652
  }
2651
2653
  function ft(e) {
2652
2654
  e.forEach(function(t) {
2653
- if (delete t.location, sr(t) || ar(t))
2655
+ if (delete t.location, nr(t) || or(t))
2654
2656
  for (var r in t.options)
2655
2657
  delete t.options[r].location, ft(t.options[r].value);
2656
2658
  else
2657
- ir(t) && lr(t.style) || (nr(t) || or(t)) && st(t.style) ? delete t.style.location : ur(t) && ft(t.children);
2659
+ tr(t) && ar(t.style) || (rr(t) || ir(t)) && ot(t.style) ? delete t.style.location : sr(t) && ft(t.children);
2658
2660
  });
2659
2661
  }
2660
- function Ki(e, t) {
2662
+ function Ji(e, t) {
2661
2663
  t === void 0 && (t = {}), t = C({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2662
- var r = new Yi(e, t).parse();
2664
+ var r = new Xi(e, t).parse();
2663
2665
  if (r.err) {
2664
2666
  var i = SyntaxError(H[r.err.kind]);
2665
2667
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
@@ -2682,7 +2684,7 @@ var We = (
2682
2684
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
2683
2685
  }, t;
2684
2686
  }(Error)
2685
- ), Ct = (
2687
+ ), Bt = (
2686
2688
  /** @class */
2687
2689
  function(e) {
2688
2690
  ue(t, e);
@@ -2691,7 +2693,7 @@ var We = (
2691
2693
  }
2692
2694
  return t;
2693
2695
  }(We)
2694
- ), en = (
2696
+ ), Qi = (
2695
2697
  /** @class */
2696
2698
  function(e) {
2697
2699
  ue(t, e);
@@ -2700,7 +2702,7 @@ var We = (
2700
2702
  }
2701
2703
  return t;
2702
2704
  }(We)
2703
- ), tn = (
2705
+ ), Ki = (
2704
2706
  /** @class */
2705
2707
  function(e) {
2706
2708
  ue(t, e);
@@ -2713,78 +2715,78 @@ var We = (
2713
2715
  (function(e) {
2714
2716
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
2715
2717
  })(q || (q = {}));
2716
- function rn(e) {
2718
+ function en(e) {
2717
2719
  return e.length < 2 ? e : e.reduce(function(t, r) {
2718
2720
  var i = t[t.length - 1];
2719
2721
  return !i || i.type !== q.literal || r.type !== q.literal ? t.push(r) : i.value += r.value, t;
2720
2722
  }, []);
2721
2723
  }
2722
- function nn(e) {
2724
+ function tn(e) {
2723
2725
  return typeof e == "function";
2724
2726
  }
2725
2727
  function Fe(e, t, r, i, n, o, s) {
2726
- if (e.length === 1 && Tt(e[0]))
2728
+ if (e.length === 1 && wt(e[0]))
2727
2729
  return [
2728
2730
  {
2729
2731
  type: q.literal,
2730
2732
  value: e[0].value
2731
2733
  }
2732
2734
  ];
2733
- for (var a = [], l = 0, f = e; l < f.length; l++) {
2734
- var h = f[l];
2735
- if (Tt(h)) {
2735
+ for (var a = [], l = 0, h = e; l < h.length; l++) {
2736
+ var f = h[l];
2737
+ if (wt(f)) {
2736
2738
  a.push({
2737
2739
  type: q.literal,
2738
- value: h.value
2740
+ value: f.value
2739
2741
  });
2740
2742
  continue;
2741
2743
  }
2742
- if (Ti(h)) {
2744
+ if (wi(f)) {
2743
2745
  typeof o == "number" && a.push({
2744
2746
  type: q.literal,
2745
2747
  value: r.getNumberFormat(t).format(o)
2746
2748
  });
2747
2749
  continue;
2748
2750
  }
2749
- var m = h.value;
2751
+ var m = f.value;
2750
2752
  if (!(n && m in n))
2751
- throw new tn(m, s);
2753
+ throw new Ki(m, s);
2752
2754
  var d = n[m];
2753
- if (Si(h)) {
2755
+ if (Ei(f)) {
2754
2756
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
2755
2757
  type: typeof d == "string" ? q.literal : q.object,
2756
2758
  value: d
2757
2759
  });
2758
2760
  continue;
2759
2761
  }
2760
- if (nr(h)) {
2761
- var y = typeof h.style == "string" ? i.date[h.style] : st(h.style) ? h.style.parsedOptions : void 0;
2762
+ if (rr(f)) {
2763
+ var y = typeof f.style == "string" ? i.date[f.style] : ot(f.style) ? f.style.parsedOptions : void 0;
2762
2764
  a.push({
2763
2765
  type: q.literal,
2764
2766
  value: r.getDateTimeFormat(t, y).format(d)
2765
2767
  });
2766
2768
  continue;
2767
2769
  }
2768
- if (or(h)) {
2769
- var y = typeof h.style == "string" ? i.time[h.style] : st(h.style) ? h.style.parsedOptions : i.time.medium;
2770
+ if (ir(f)) {
2771
+ var y = typeof f.style == "string" ? i.time[f.style] : ot(f.style) ? f.style.parsedOptions : i.time.medium;
2770
2772
  a.push({
2771
2773
  type: q.literal,
2772
2774
  value: r.getDateTimeFormat(t, y).format(d)
2773
2775
  });
2774
2776
  continue;
2775
2777
  }
2776
- if (ir(h)) {
2777
- var y = typeof h.style == "string" ? i.number[h.style] : lr(h.style) ? h.style.parsedOptions : void 0;
2778
+ if (tr(f)) {
2779
+ var y = typeof f.style == "string" ? i.number[f.style] : ar(f.style) ? f.style.parsedOptions : void 0;
2778
2780
  y && y.scale && (d = d * (y.scale || 1)), a.push({
2779
2781
  type: q.literal,
2780
2782
  value: r.getNumberFormat(t, y).format(d)
2781
2783
  });
2782
2784
  continue;
2783
2785
  }
2784
- if (ur(h)) {
2785
- var E = h.children, c = h.value, b = n[c];
2786
- if (!nn(b))
2787
- throw new en(c, "function", s);
2786
+ if (sr(f)) {
2787
+ var E = f.children, c = f.value, b = n[c];
2788
+ if (!tn(b))
2789
+ throw new Qi(c, "function", s);
2788
2790
  var O = Fe(E, t, r, i, n, o), P = b(O.map(function(R) {
2789
2791
  return R.value;
2790
2792
  }));
@@ -2795,39 +2797,39 @@ function Fe(e, t, r, i, n, o, s) {
2795
2797
  };
2796
2798
  }));
2797
2799
  }
2798
- if (sr(h)) {
2799
- var D = h.options[d] || h.options.other;
2800
- if (!D)
2801
- throw new Ct(h.value, d, Object.keys(h.options), s);
2802
- a.push.apply(a, Fe(D.value, t, r, i, n));
2800
+ if (nr(f)) {
2801
+ var I = f.options[d] || f.options.other;
2802
+ if (!I)
2803
+ throw new Bt(f.value, d, Object.keys(f.options), s);
2804
+ a.push.apply(a, Fe(I.value, t, r, i, n));
2803
2805
  continue;
2804
2806
  }
2805
- if (ar(h)) {
2806
- var D = h.options["=".concat(d)];
2807
- if (!D) {
2807
+ if (or(f)) {
2808
+ var I = f.options["=".concat(d)];
2809
+ if (!I) {
2808
2810
  if (!Intl.PluralRules)
2809
2811
  throw new We(`Intl.PluralRules is not available in this environment.
2810
2812
  Try polyfilling it using "@formatjs/intl-pluralrules"
2811
2813
  `, Pe.MISSING_INTL_API, s);
2812
- var Y = r.getPluralRules(t, { type: h.pluralType }).select(d - (h.offset || 0));
2813
- D = h.options[Y] || h.options.other;
2814
+ var Y = r.getPluralRules(t, { type: f.pluralType }).select(d - (f.offset || 0));
2815
+ I = f.options[Y] || f.options.other;
2814
2816
  }
2815
- if (!D)
2816
- throw new Ct(h.value, d, Object.keys(h.options), s);
2817
- a.push.apply(a, Fe(D.value, t, r, i, n, d - (h.offset || 0)));
2817
+ if (!I)
2818
+ throw new Bt(f.value, d, Object.keys(f.options), s);
2819
+ a.push.apply(a, Fe(I.value, t, r, i, n, d - (f.offset || 0)));
2818
2820
  continue;
2819
2821
  }
2820
2822
  }
2821
- return rn(a);
2823
+ return en(a);
2822
2824
  }
2823
- function on(e, t) {
2825
+ function rn(e, t) {
2824
2826
  return t ? C(C(C({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
2825
2827
  return r[i] = C(C({}, e[i]), t[i] || {}), r;
2826
2828
  }, {})) : e;
2827
2829
  }
2828
- function sn(e, t) {
2830
+ function nn(e, t) {
2829
2831
  return t ? Object.keys(e).reduce(function(r, i) {
2830
- return r[i] = on(e[i], t[i]), r;
2832
+ return r[i] = rn(e[i], t[i]), r;
2831
2833
  }, C({}, e)) : e;
2832
2834
  }
2833
2835
  function Ke(e) {
@@ -2844,7 +2846,7 @@ function Ke(e) {
2844
2846
  }
2845
2847
  };
2846
2848
  }
2847
- function an(e) {
2849
+ function on(e) {
2848
2850
  return e === void 0 && (e = {
2849
2851
  number: {},
2850
2852
  dateTime: {},
@@ -2876,7 +2878,7 @@ function an(e) {
2876
2878
  })
2877
2879
  };
2878
2880
  }
2879
- var gr = (
2881
+ var mr = (
2880
2882
  /** @class */
2881
2883
  function() {
2882
2884
  function e(t, r, i, n) {
@@ -2887,13 +2889,13 @@ var gr = (
2887
2889
  dateTime: {},
2888
2890
  pluralRules: {}
2889
2891
  }, this.format = function(l) {
2890
- var f = o.formatToParts(l);
2891
- if (f.length === 1)
2892
- return f[0].value;
2893
- var h = f.reduce(function(m, d) {
2892
+ var h = o.formatToParts(l);
2893
+ if (h.length === 1)
2894
+ return h[0].value;
2895
+ var f = h.reduce(function(m, d) {
2894
2896
  return !m.length || d.type !== q.literal || typeof m[m.length - 1] != "string" ? m.push(d.value) : m[m.length - 1] += d.value, m;
2895
2897
  }, []);
2896
- return h.length <= 1 ? h[0] || "" : h;
2898
+ return f.length <= 1 ? f[0] || "" : f;
2897
2899
  }, this.formatToParts = function(l) {
2898
2900
  return Fe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
2899
2901
  }, this.resolvedOptions = function() {
@@ -2908,13 +2910,13 @@ var gr = (
2908
2910
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
2909
2911
  var s = n || {};
2910
2912
  s.formatters;
2911
- var a = gi(s, ["formatters"]);
2913
+ var a = pi(s, ["formatters"]);
2912
2914
  this.ast = e.__parse(t, C(C({}, a), { locale: this.resolvedLocale }));
2913
2915
  } else
2914
2916
  this.ast = t;
2915
2917
  if (!Array.isArray(this.ast))
2916
2918
  throw new TypeError("A message must be provided as a String or AST.");
2917
- this.formats = sn(e.formats, i), this.formatters = n && n.formatters || an(this.formatterCache);
2919
+ this.formats = nn(e.formats, i), this.formatters = n && n.formatters || on(this.formatterCache);
2918
2920
  }
2919
2921
  return Object.defineProperty(e, "defaultLocale", {
2920
2922
  get: function() {
@@ -2927,7 +2929,7 @@ var gr = (
2927
2929
  var r = Intl.NumberFormat.supportedLocalesOf(t);
2928
2930
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
2929
2931
  }
2930
- }, e.__parse = Ki, e.formats = {
2932
+ }, e.__parse = Ji, e.formats = {
2931
2933
  number: {
2932
2934
  integer: {
2933
2935
  maximumFractionDigits: 0
@@ -2988,7 +2990,7 @@ var gr = (
2988
2990
  }, e;
2989
2991
  }()
2990
2992
  );
2991
- function un(e, t) {
2993
+ function sn(e, t) {
2992
2994
  if (t == null)
2993
2995
  return;
2994
2996
  if (t in e)
@@ -3009,60 +3011,60 @@ function un(e, t) {
3009
3011
  i = void 0;
3010
3012
  return i;
3011
3013
  }
3012
- const ce = {}, ln = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), br = (e, t) => {
3014
+ const ce = {}, an = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), gr = (e, t) => {
3013
3015
  if (t == null)
3014
3016
  return;
3015
3017
  if (t in ce && e in ce[t])
3016
3018
  return ce[t][e];
3017
3019
  const r = Ne(t);
3018
3020
  for (let i = 0; i < r.length; i++) {
3019
- const n = r[i], o = fn(n, e);
3021
+ const n = r[i], o = ln(n, e);
3020
3022
  if (o)
3021
- return ln(e, t, o);
3023
+ return an(e, t, o);
3022
3024
  }
3023
3025
  };
3024
- let yt;
3025
- const Le = Ie({});
3026
- function hn(e) {
3027
- return yt[e] || null;
3026
+ let vt;
3027
+ const Le = De({});
3028
+ function un(e) {
3029
+ return vt[e] || null;
3028
3030
  }
3029
- function yr(e) {
3030
- return e in yt;
3031
+ function vr(e) {
3032
+ return e in vt;
3031
3033
  }
3032
- function fn(e, t) {
3033
- if (!yr(e))
3034
+ function ln(e, t) {
3035
+ if (!vr(e))
3034
3036
  return null;
3035
- const r = hn(e);
3036
- return un(r, t);
3037
+ const r = un(e);
3038
+ return sn(r, t);
3037
3039
  }
3038
- function cn(e) {
3040
+ function fn(e) {
3039
3041
  if (e == null)
3040
3042
  return;
3041
3043
  const t = Ne(e);
3042
3044
  for (let r = 0; r < t.length; r++) {
3043
3045
  const i = t[r];
3044
- if (yr(i))
3046
+ if (vr(i))
3045
3047
  return i;
3046
3048
  }
3047
3049
  }
3048
- function xr(e, ...t) {
3049
- delete ce[e], Le.update((r) => (r[e] = vi.all([r[e] || {}, ...t]), r));
3050
+ function br(e, ...t) {
3051
+ delete ce[e], Le.update((r) => (r[e] = di.all([r[e] || {}, ...t]), r));
3050
3052
  }
3051
3053
  Oe(
3052
3054
  [Le],
3053
3055
  ([e]) => Object.keys(e)
3054
3056
  );
3055
- Le.subscribe((e) => yt = e);
3057
+ Le.subscribe((e) => vt = e);
3056
3058
  const Ve = {};
3057
- function dn(e, t) {
3059
+ function hn(e, t) {
3058
3060
  Ve[e].delete(t), Ve[e].size === 0 && delete Ve[e];
3059
3061
  }
3060
- function _r(e) {
3062
+ function yr(e) {
3061
3063
  return Ve[e];
3062
3064
  }
3063
- function pn(e) {
3065
+ function cn(e) {
3064
3066
  return Ne(e).map((t) => {
3065
- const r = _r(t);
3067
+ const r = yr(t);
3066
3068
  return [t, r ? [...r] : []];
3067
3069
  }).filter(([, t]) => t.length > 0);
3068
3070
  }
@@ -3070,40 +3072,40 @@ function je(e) {
3070
3072
  return e == null ? !1 : Ne(e).some(
3071
3073
  (t) => {
3072
3074
  var r;
3073
- return (r = _r(t)) == null ? void 0 : r.size;
3075
+ return (r = yr(t)) == null ? void 0 : r.size;
3074
3076
  }
3075
3077
  );
3076
3078
  }
3077
- function mn(e, t) {
3079
+ function dn(e, t) {
3078
3080
  return Promise.all(
3079
- t.map((i) => (dn(e, i), i().then((n) => n.default || n)))
3080
- ).then((i) => xr(e, ...i));
3081
+ t.map((i) => (hn(e, i), i().then((n) => n.default || n)))
3082
+ ).then((i) => br(e, ...i));
3081
3083
  }
3082
3084
  const Be = {};
3083
- function Er(e) {
3085
+ function xr(e) {
3084
3086
  if (!je(e))
3085
3087
  return e in Be ? Be[e] : Promise.resolve();
3086
- const t = pn(e);
3088
+ const t = cn(e);
3087
3089
  return Be[e] = Promise.all(
3088
3090
  t.map(
3089
- ([r, i]) => mn(r, i)
3091
+ ([r, i]) => dn(r, i)
3090
3092
  )
3091
3093
  ).then(() => {
3092
3094
  if (je(e))
3093
- return Er(e);
3095
+ return xr(e);
3094
3096
  delete Be[e];
3095
3097
  }), Be[e];
3096
3098
  }
3097
- var Dt = Object.getOwnPropertySymbols, vn = Object.prototype.hasOwnProperty, gn = Object.prototype.propertyIsEnumerable, bn = (e, t) => {
3099
+ var Mt = Object.getOwnPropertySymbols, pn = Object.prototype.hasOwnProperty, mn = Object.prototype.propertyIsEnumerable, gn = (e, t) => {
3098
3100
  var r = {};
3099
3101
  for (var i in e)
3100
- vn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3101
- if (e != null && Dt)
3102
- for (var i of Dt(e))
3103
- t.indexOf(i) < 0 && gn.call(e, i) && (r[i] = e[i]);
3102
+ pn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3103
+ if (e != null && Mt)
3104
+ for (var i of Mt(e))
3105
+ t.indexOf(i) < 0 && mn.call(e, i) && (r[i] = e[i]);
3104
3106
  return r;
3105
3107
  };
3106
- const yn = {
3108
+ const vn = {
3107
3109
  number: {
3108
3110
  scientific: { notation: "scientific" },
3109
3111
  engineering: { notation: "engineering" },
@@ -3133,7 +3135,7 @@ const yn = {
3133
3135
  }
3134
3136
  }
3135
3137
  };
3136
- function xn({ locale: e, id: t }) {
3138
+ function bn({ locale: e, id: t }) {
3137
3139
  console.warn(
3138
3140
  `[svelte-i18n] The message "${t}" was not found in "${Ne(
3139
3141
  e
@@ -3142,72 +3144,72 @@ function xn({ locale: e, id: t }) {
3142
3144
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3143
3145
  );
3144
3146
  }
3145
- const _n = {
3147
+ const yn = {
3146
3148
  fallbackLocale: null,
3147
3149
  loadingDelay: 200,
3148
- formats: yn,
3150
+ formats: vn,
3149
3151
  warnOnMissingMessages: !0,
3150
3152
  handleMissingMessage: void 0,
3151
3153
  ignoreTag: !0
3152
- }, Me = _n;
3154
+ }, Me = yn;
3153
3155
  function He() {
3154
3156
  return Me;
3155
3157
  }
3156
- function En(e) {
3157
- const t = e, { formats: r } = t, i = bn(t, ["formats"]);
3158
+ function xn(e) {
3159
+ const t = e, { formats: r } = t, i = gn(t, ["formats"]);
3158
3160
  let n = e.fallbackLocale;
3159
3161
  if (e.initialLocale)
3160
3162
  try {
3161
- gr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3163
+ mr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3162
3164
  } catch (o) {
3163
3165
  console.warn(
3164
3166
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3165
3167
  );
3166
3168
  }
3167
- return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = xn : console.warn(
3169
+ return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = bn : console.warn(
3168
3170
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3169
3171
  )), Object.assign(Me, i, { initialLocale: n }), r && ("number" in r && Object.assign(Me.formats.number, r.number), "date" in r && Object.assign(Me.formats.date, r.date), "time" in r && Object.assign(Me.formats.time, r.time)), be.set(n);
3170
3172
  }
3171
- const et = Ie(!1);
3172
- var wn = Object.defineProperty, Sn = Object.defineProperties, Tn = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, Pn = Object.prototype.hasOwnProperty, Hn = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, On = (e, t) => {
3173
- for (var r in t || (t = {}))
3174
- Pn.call(t, r) && Lt(e, r, t[r]);
3175
- if (It)
3176
- for (var r of It(t))
3177
- Hn.call(t, r) && Lt(e, r, t[r]);
3173
+ const et = De(!1);
3174
+ var _n = Object.defineProperty, En = Object.defineProperties, wn = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, Sn = Object.prototype.hasOwnProperty, Tn = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? _n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pn = (e, t) => {
3175
+ for (var r in t)
3176
+ Sn.call(t, r) && It(e, r, t[r]);
3177
+ if (Ct)
3178
+ for (var r of Ct(t))
3179
+ Tn.call(t, r) && It(e, r, t[r]);
3178
3180
  return e;
3179
- }, An = (e, t) => Sn(e, Tn(t));
3180
- let ct;
3181
- const $e = Ie(null);
3182
- function Nt(e) {
3181
+ }, Hn = (e, t) => En(e, wn(t));
3182
+ let ht;
3183
+ const $e = De(null);
3184
+ function Dt(e) {
3183
3185
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3184
3186
  }
3185
3187
  function Ne(e, t = He().fallbackLocale) {
3186
- const r = Nt(e);
3187
- return t ? [.../* @__PURE__ */ new Set([...r, ...Nt(t)])] : r;
3188
+ const r = Dt(e);
3189
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Dt(t)])] : r;
3188
3190
  }
3189
3191
  function de() {
3190
- return ct != null ? ct : void 0;
3192
+ return ht != null ? ht : void 0;
3191
3193
  }
3192
3194
  $e.subscribe((e) => {
3193
- ct = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3195
+ ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3194
3196
  });
3195
- const Bn = (e) => {
3196
- if (e && cn(e) && je(e)) {
3197
+ const On = (e) => {
3198
+ if (e && fn(e) && je(e)) {
3197
3199
  const { loadingDelay: t } = He();
3198
3200
  let r;
3199
3201
  return typeof window != "undefined" && de() != null && t ? r = window.setTimeout(
3200
3202
  () => et.set(!0),
3201
3203
  t
3202
- ) : et.set(!0), Er(e).then(() => {
3204
+ ) : et.set(!0), xr(e).then(() => {
3203
3205
  $e.set(e);
3204
3206
  }).finally(() => {
3205
3207
  clearTimeout(r), et.set(!1);
3206
3208
  });
3207
3209
  }
3208
3210
  return $e.set(e);
3209
- }, be = An(On({}, $e), {
3210
- set: Bn
3211
+ }, be = Hn(Pn({}, $e), {
3212
+ set: On
3211
3213
  }), Xe = (e) => {
3212
3214
  const t = /* @__PURE__ */ Object.create(null);
3213
3215
  return (i) => {
@@ -3215,101 +3217,101 @@ const Bn = (e) => {
3215
3217
  return n in t ? t[n] : t[n] = e(i);
3216
3218
  };
3217
3219
  };
3218
- var Mn = Object.defineProperty, ze = Object.getOwnPropertySymbols, wr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xt = (e, t) => {
3220
+ var An = Object.defineProperty, ze = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? An(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
3219
3221
  for (var r in t || (t = {}))
3220
- wr.call(t, r) && Rt(e, r, t[r]);
3222
+ _r.call(t, r) && Lt(e, r, t[r]);
3221
3223
  if (ze)
3222
3224
  for (var r of ze(t))
3223
- Sr.call(t, r) && Rt(e, r, t[r]);
3225
+ Er.call(t, r) && Lt(e, r, t[r]);
3224
3226
  return e;
3225
3227
  }, Ae = (e, t) => {
3226
3228
  var r = {};
3227
3229
  for (var i in e)
3228
- wr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3230
+ _r.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3229
3231
  if (e != null && ze)
3230
3232
  for (var i of ze(e))
3231
- t.indexOf(i) < 0 && Sr.call(e, i) && (r[i] = e[i]);
3233
+ t.indexOf(i) < 0 && Er.call(e, i) && (r[i] = e[i]);
3232
3234
  return r;
3233
3235
  };
3234
- const De = (e, t) => {
3236
+ const Ie = (e, t) => {
3235
3237
  const { formats: r } = He();
3236
3238
  if (e in r && t in r[e])
3237
3239
  return r[e][t];
3238
3240
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3239
- }, Cn = Xe(
3241
+ }, Bn = Xe(
3240
3242
  (e) => {
3241
3243
  var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3242
3244
  if (r == null)
3243
3245
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3244
- return i && (n = De("number", i)), new Intl.NumberFormat(r, n);
3246
+ return i && (n = Ie("number", i)), new Intl.NumberFormat(r, n);
3245
3247
  }
3246
- ), Dn = Xe(
3248
+ ), Mn = Xe(
3247
3249
  (e) => {
3248
3250
  var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3249
3251
  if (r == null)
3250
3252
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3251
- return i ? n = De("date", i) : Object.keys(n).length === 0 && (n = De("date", "short")), new Intl.DateTimeFormat(r, n);
3253
+ return i ? n = Ie("date", i) : Object.keys(n).length === 0 && (n = Ie("date", "short")), new Intl.DateTimeFormat(r, n);
3252
3254
  }
3253
- ), In = Xe(
3255
+ ), Cn = Xe(
3254
3256
  (e) => {
3255
3257
  var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3256
3258
  if (r == null)
3257
3259
  throw new Error(
3258
3260
  '[svelte-i18n] A "locale" must be set to format time values'
3259
3261
  );
3260
- return i ? n = De("time", i) : Object.keys(n).length === 0 && (n = De("time", "short")), new Intl.DateTimeFormat(r, n);
3262
+ return i ? n = Ie("time", i) : Object.keys(n).length === 0 && (n = Ie("time", "short")), new Intl.DateTimeFormat(r, n);
3261
3263
  }
3262
- ), Ln = (e = {}) => {
3264
+ ), In = (e = {}) => {
3263
3265
  var t = e, {
3264
3266
  locale: r = de()
3265
3267
  } = t, i = Ae(t, [
3266
3268
  "locale"
3267
3269
  ]);
3268
- return Cn(xt({ locale: r }, i));
3269
- }, Nn = (e = {}) => {
3270
+ return Bn(bt({ locale: r }, i));
3271
+ }, Dn = (e = {}) => {
3270
3272
  var t = e, {
3271
3273
  locale: r = de()
3272
3274
  } = t, i = Ae(t, [
3273
3275
  "locale"
3274
3276
  ]);
3275
- return Dn(xt({ locale: r }, i));
3276
- }, Rn = (e = {}) => {
3277
+ return Mn(bt({ locale: r }, i));
3278
+ }, Ln = (e = {}) => {
3277
3279
  var t = e, {
3278
3280
  locale: r = de()
3279
3281
  } = t, i = Ae(t, [
3280
3282
  "locale"
3281
3283
  ]);
3282
- return In(xt({ locale: r }, i));
3283
- }, Un = Xe(
3284
+ return Cn(bt({ locale: r }, i));
3285
+ }, Nn = Xe(
3284
3286
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3285
- (e, t = de()) => new gr(e, t, He().formats, {
3287
+ (e, t = de()) => new mr(e, t, He().formats, {
3286
3288
  ignoreTag: He().ignoreTag
3287
3289
  })
3288
- ), kn = (e, t = {}) => {
3290
+ ), Rn = (e, t = {}) => {
3289
3291
  var r, i, n, o;
3290
3292
  let s = t;
3291
3293
  typeof e == "object" && (s = e, e = s.id);
3292
3294
  const {
3293
3295
  values: a,
3294
3296
  locale: l = de(),
3295
- default: f
3297
+ default: h
3296
3298
  } = s;
3297
3299
  if (l == null)
3298
3300
  throw new Error(
3299
3301
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3300
3302
  );
3301
- let h = br(e, l);
3302
- if (!h)
3303
- h = (o = (n = (i = (r = He()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: l, id: e, defaultValue: f })) != null ? n : f) != null ? o : e;
3304
- else if (typeof h != "string")
3303
+ let f = gr(e, l);
3304
+ if (!f)
3305
+ f = (o = (n = (i = (r = He()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: l, id: e, defaultValue: h })) != null ? n : h) != null ? o : e;
3306
+ else if (typeof f != "string")
3305
3307
  return console.warn(
3306
- `[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.`
3307
- ), h;
3308
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3309
+ ), f;
3308
3310
  if (!a)
3309
- return h;
3310
- let m = h;
3311
+ return f;
3312
+ let m = f;
3311
3313
  try {
3312
- m = Un(h, l).format(a);
3314
+ m = Nn(f, l).format(a);
3313
3315
  } catch (d) {
3314
3316
  d instanceof Error && console.warn(
3315
3317
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3317,20 +3319,20 @@ const De = (e, t) => {
3317
3319
  );
3318
3320
  }
3319
3321
  return m;
3320
- }, Fn = (e, t) => Rn(t).format(e), Vn = (e, t) => Nn(t).format(e), Gn = (e, t) => Ln(t).format(e), jn = (e, t = de()) => br(e, t), $n = Oe([be, Le], () => kn);
3322
+ }, Un = (e, t) => Ln(t).format(e), kn = (e, t) => Dn(t).format(e), Fn = (e, t) => In(t).format(e), Vn = (e, t = de()) => gr(e, t), Gn = Oe([be, Le], () => Rn);
3323
+ Oe([be], () => Un);
3324
+ Oe([be], () => kn);
3321
3325
  Oe([be], () => Fn);
3322
- Oe([be], () => Vn);
3323
- Oe([be], () => Gn);
3324
- Oe([be, Le], () => jn);
3325
- function Ut(e, t) {
3326
- xr(e, t);
3326
+ Oe([be, Le], () => Vn);
3327
+ function Nt(e, t) {
3328
+ br(e, t);
3327
3329
  }
3328
- function zn(e) {
3329
- En({
3330
+ function jn(e) {
3331
+ xn({
3330
3332
  fallbackLocale: "en"
3331
3333
  }), be.set(e);
3332
3334
  }
3333
- const kt = {
3335
+ const Rt = {
3334
3336
  en: {
3335
3337
  "verification.video.how-to": "How to verify yourself",
3336
3338
  "verification.idenfy.referred-awaiting": "ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back",
@@ -3386,17 +3388,17 @@ const kt = {
3386
3388
  "verification.shuftipro.validations-started": "After completing verification, please proceed with the transaction"
3387
3389
  }
3388
3390
  };
3389
- let Wn = Ie(null);
3391
+ let $n = De(null);
3390
3392
  function ae(e) {
3391
3393
  return typeof e == "function";
3392
3394
  }
3393
- function Tr(e) {
3395
+ function wr(e) {
3394
3396
  var t = function(i) {
3395
3397
  Error.call(i), i.stack = new Error().stack;
3396
3398
  }, r = e(t);
3397
3399
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3398
3400
  }
3399
- var tt = Tr(function(e) {
3401
+ var tt = wr(function(e) {
3400
3402
  return function(r) {
3401
3403
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3402
3404
  ` + r.map(function(i, n) {
@@ -3405,7 +3407,7 @@ var tt = Tr(function(e) {
3405
3407
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3406
3408
  };
3407
3409
  });
3408
- function dt(e, t) {
3410
+ function ct(e, t) {
3409
3411
  if (e) {
3410
3412
  var r = e.indexOf(t);
3411
3413
  0 <= r && e.splice(r, 1);
@@ -3423,9 +3425,9 @@ var qe = function() {
3423
3425
  if (s)
3424
3426
  if (this._parentage = null, Array.isArray(s))
3425
3427
  try {
3426
- for (var a = nt(s), l = a.next(); !l.done; l = a.next()) {
3427
- var f = l.value;
3428
- f.remove(this);
3428
+ for (var a = it(s), l = a.next(); !l.done; l = a.next()) {
3429
+ var h = l.value;
3430
+ h.remove(this);
3429
3431
  }
3430
3432
  } catch (c) {
3431
3433
  t = { error: c };
@@ -3439,10 +3441,10 @@ var qe = function() {
3439
3441
  }
3440
3442
  else
3441
3443
  s.remove(this);
3442
- var h = this.initialTeardown;
3443
- if (ae(h))
3444
+ var f = this.initialTeardown;
3445
+ if (ae(f))
3444
3446
  try {
3445
- h();
3447
+ f();
3446
3448
  } catch (c) {
3447
3449
  o = c instanceof tt ? c.errors : [c];
3448
3450
  }
@@ -3450,12 +3452,12 @@ var qe = function() {
3450
3452
  if (m) {
3451
3453
  this._finalizers = null;
3452
3454
  try {
3453
- for (var d = nt(m), y = d.next(); !y.done; y = d.next()) {
3455
+ for (var d = it(m), y = d.next(); !y.done; y = d.next()) {
3454
3456
  var E = y.value;
3455
3457
  try {
3456
- Ft(E);
3458
+ Ut(E);
3457
3459
  } catch (c) {
3458
- o = o != null ? o : [], c instanceof tt ? o = Ee(Ee([], ot(o)), ot(c.errors)) : o.push(c);
3460
+ o = o != null ? o : [], c instanceof tt ? o = Ee(Ee([], nt(o)), nt(c.errors)) : o.push(c);
3459
3461
  }
3460
3462
  }
3461
3463
  } catch (c) {
@@ -3476,7 +3478,7 @@ var qe = function() {
3476
3478
  var r;
3477
3479
  if (t && t !== this)
3478
3480
  if (this.closed)
3479
- Ft(t);
3481
+ Ut(t);
3480
3482
  else {
3481
3483
  if (t instanceof e) {
3482
3484
  if (t.closed || t._hasParent(this))
@@ -3493,56 +3495,56 @@ var qe = function() {
3493
3495
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3494
3496
  }, e.prototype._removeParent = function(t) {
3495
3497
  var r = this._parentage;
3496
- r === t ? this._parentage = null : Array.isArray(r) && dt(r, t);
3498
+ r === t ? this._parentage = null : Array.isArray(r) && ct(r, t);
3497
3499
  }, e.prototype.remove = function(t) {
3498
3500
  var r = this._finalizers;
3499
- r && dt(r, t), t instanceof e && t._removeParent(this);
3501
+ r && ct(r, t), t instanceof e && t._removeParent(this);
3500
3502
  }, e.EMPTY = function() {
3501
3503
  var t = new e();
3502
3504
  return t.closed = !0, t;
3503
3505
  }(), e;
3504
- }(), Pr = qe.EMPTY;
3505
- function Hr(e) {
3506
+ }(), Sr = qe.EMPTY;
3507
+ function Tr(e) {
3506
3508
  return e instanceof qe || e && "closed" in e && ae(e.remove) && ae(e.add) && ae(e.unsubscribe);
3507
3509
  }
3508
- function Ft(e) {
3510
+ function Ut(e) {
3509
3511
  ae(e) ? e() : e.unsubscribe();
3510
3512
  }
3511
- var Or = {
3513
+ var zn = {
3512
3514
  onUnhandledError: null,
3513
3515
  onStoppedNotification: null,
3514
3516
  Promise: void 0,
3515
3517
  useDeprecatedSynchronousErrorHandling: !1,
3516
3518
  useDeprecatedNextContext: !1
3517
- }, Xn = {
3519
+ }, Wn = {
3518
3520
  setTimeout: function(e, t) {
3519
3521
  for (var r = [], i = 2; i < arguments.length; i++)
3520
3522
  r[i - 2] = arguments[i];
3521
- return setTimeout.apply(void 0, Ee([e, t], ot(r)));
3523
+ return setTimeout.apply(void 0, Ee([e, t], nt(r)));
3522
3524
  },
3523
3525
  clearTimeout: function(e) {
3524
3526
  return clearTimeout(e);
3525
3527
  },
3526
3528
  delegate: void 0
3527
3529
  };
3528
- function qn(e) {
3529
- Xn.setTimeout(function() {
3530
+ function Xn(e) {
3531
+ Wn.setTimeout(function() {
3530
3532
  throw e;
3531
3533
  });
3532
3534
  }
3533
- function Vt() {
3535
+ function kt() {
3534
3536
  }
3535
3537
  function Ge(e) {
3536
3538
  e();
3537
3539
  }
3538
- var Ar = function(e) {
3540
+ var Pr = function(e) {
3539
3541
  ue(t, e);
3540
3542
  function t(r) {
3541
3543
  var i = e.call(this) || this;
3542
- return i.isStopped = !1, r ? (i.destination = r, Hr(r) && r.add(i)) : i.destination = Qn, i;
3544
+ return i.isStopped = !1, r ? (i.destination = r, Tr(r) && r.add(i)) : i.destination = Zn, i;
3543
3545
  }
3544
3546
  return t.create = function(r, i, n) {
3545
- return new pt(r, i, n);
3547
+ return new dt(r, i, n);
3546
3548
  }, t.prototype.next = function(r) {
3547
3549
  this.isStopped || this._next(r);
3548
3550
  }, t.prototype.error = function(r) {
@@ -3566,11 +3568,7 @@ var Ar = function(e) {
3566
3568
  this.unsubscribe();
3567
3569
  }
3568
3570
  }, t;
3569
- }(qe), Yn = Function.prototype.bind;
3570
- function rt(e, t) {
3571
- return Yn.call(e, t);
3572
- }
3573
- var Zn = function() {
3571
+ }(qe), qn = function() {
3574
3572
  function e(t) {
3575
3573
  this.partialObserver = t;
3576
3574
  }
@@ -3601,55 +3599,43 @@ var Zn = function() {
3601
3599
  ke(r);
3602
3600
  }
3603
3601
  }, e;
3604
- }(), pt = function(e) {
3602
+ }(), dt = function(e) {
3605
3603
  ue(t, e);
3606
3604
  function t(r, i, n) {
3607
3605
  var o = e.call(this) || this, s;
3608
- if (ae(r) || !r)
3609
- s = {
3610
- next: r != null ? r : void 0,
3611
- error: i != null ? i : void 0,
3612
- complete: n != null ? n : void 0
3613
- };
3614
- else {
3615
- var a;
3616
- o && Or.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
3617
- return o.unsubscribe();
3618
- }, s = {
3619
- next: r.next && rt(r.next, a),
3620
- error: r.error && rt(r.error, a),
3621
- complete: r.complete && rt(r.complete, a)
3622
- }) : s = r;
3623
- }
3624
- return o.destination = new Zn(s), o;
3606
+ return ae(r) || !r ? s = {
3607
+ next: r != null ? r : void 0,
3608
+ error: i != null ? i : void 0,
3609
+ complete: n != null ? n : void 0
3610
+ } : s = r, o.destination = new qn(s), o;
3625
3611
  }
3626
3612
  return t;
3627
- }(Ar);
3613
+ }(Pr);
3628
3614
  function ke(e) {
3629
- qn(e);
3615
+ Xn(e);
3630
3616
  }
3631
- function Jn(e) {
3617
+ function Yn(e) {
3632
3618
  throw e;
3633
3619
  }
3634
- var Qn = {
3620
+ var Zn = {
3635
3621
  closed: !0,
3636
- next: Vt,
3637
- error: Jn,
3638
- complete: Vt
3639
- }, Kn = function() {
3622
+ next: kt,
3623
+ error: Yn,
3624
+ complete: kt
3625
+ }, Jn = function() {
3640
3626
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
3641
3627
  }();
3642
- function eo(e) {
3628
+ function Qn(e) {
3643
3629
  return e;
3644
3630
  }
3645
- function to(e) {
3646
- return e.length === 0 ? eo : e.length === 1 ? e[0] : function(r) {
3631
+ function Kn(e) {
3632
+ return e.length === 0 ? Qn : e.length === 1 ? e[0] : function(r) {
3647
3633
  return e.reduce(function(i, n) {
3648
3634
  return n(i);
3649
3635
  }, r);
3650
3636
  };
3651
3637
  }
3652
- var Gt = function() {
3638
+ var Ft = function() {
3653
3639
  function e(t) {
3654
3640
  t && (this._subscribe = t);
3655
3641
  }
@@ -3657,7 +3643,7 @@ var Gt = function() {
3657
3643
  var r = new e();
3658
3644
  return r.source = this, r.operator = t, r;
3659
3645
  }, e.prototype.subscribe = function(t, r, i) {
3660
- var n = this, o = io(t) ? t : new pt(t, r, i);
3646
+ var n = this, o = to(t) ? t : new dt(t, r, i);
3661
3647
  return Ge(function() {
3662
3648
  var s = n, a = s.operator, l = s.source;
3663
3649
  o.add(a ? a.call(o, l) : l ? n._subscribe(o) : n._trySubscribe(o));
@@ -3670,8 +3656,8 @@ var Gt = function() {
3670
3656
  }
3671
3657
  }, e.prototype.forEach = function(t, r) {
3672
3658
  var i = this;
3673
- return r = jt(r), new r(function(n, o) {
3674
- var s = new pt({
3659
+ return r = Vt(r), new r(function(n, o) {
3660
+ var s = new dt({
3675
3661
  next: function(a) {
3676
3662
  try {
3677
3663
  t(a);
@@ -3687,15 +3673,15 @@ var Gt = function() {
3687
3673
  }, e.prototype._subscribe = function(t) {
3688
3674
  var r;
3689
3675
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
3690
- }, e.prototype[Kn] = function() {
3676
+ }, e.prototype[Jn] = function() {
3691
3677
  return this;
3692
3678
  }, e.prototype.pipe = function() {
3693
3679
  for (var t = [], r = 0; r < arguments.length; r++)
3694
3680
  t[r] = arguments[r];
3695
- return to(t)(this);
3681
+ return Kn(t)(this);
3696
3682
  }, e.prototype.toPromise = function(t) {
3697
3683
  var r = this;
3698
- return t = jt(t), new t(function(i, n) {
3684
+ return t = Vt(t), new t(function(i, n) {
3699
3685
  var o;
3700
3686
  r.subscribe(function(s) {
3701
3687
  return o = s;
@@ -3709,32 +3695,32 @@ var Gt = function() {
3709
3695
  return new e(t);
3710
3696
  }, e;
3711
3697
  }();
3712
- function jt(e) {
3698
+ function Vt(e) {
3713
3699
  var t;
3714
- return (t = e != null ? e : Or.Promise) !== null && t !== void 0 ? t : Promise;
3700
+ return (t = e != null ? e : zn.Promise) !== null && t !== void 0 ? t : Promise;
3715
3701
  }
3716
- function ro(e) {
3702
+ function eo(e) {
3717
3703
  return e && ae(e.next) && ae(e.error) && ae(e.complete);
3718
3704
  }
3719
- function io(e) {
3720
- return e && e instanceof Ar || ro(e) && Hr(e);
3705
+ function to(e) {
3706
+ return e && e instanceof Pr || eo(e) && Tr(e);
3721
3707
  }
3722
- var no = Tr(function(e) {
3708
+ var ro = wr(function(e) {
3723
3709
  return function() {
3724
3710
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
3725
3711
  };
3726
- }), Br = function(e) {
3712
+ }), Hr = function(e) {
3727
3713
  ue(t, e);
3728
3714
  function t() {
3729
3715
  var r = e.call(this) || this;
3730
3716
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
3731
3717
  }
3732
3718
  return t.prototype.lift = function(r) {
3733
- var i = new $t(this, this);
3719
+ var i = new Gt(this, this);
3734
3720
  return i.operator = r, i;
3735
3721
  }, t.prototype._throwIfClosed = function() {
3736
3722
  if (this.closed)
3737
- throw new no();
3723
+ throw new ro();
3738
3724
  }, t.prototype.next = function(r) {
3739
3725
  var i = this;
3740
3726
  Ge(function() {
@@ -3742,12 +3728,12 @@ var no = Tr(function(e) {
3742
3728
  if (i._throwIfClosed(), !i.isStopped) {
3743
3729
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
3744
3730
  try {
3745
- for (var s = nt(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
3731
+ for (var s = it(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
3746
3732
  var l = a.value;
3747
3733
  l.next(r);
3748
3734
  }
3749
- } catch (f) {
3750
- n = { error: f };
3735
+ } catch (h) {
3736
+ n = { error: h };
3751
3737
  } finally {
3752
3738
  try {
3753
3739
  a && !a.done && (o = s.return) && o.call(s);
@@ -3791,19 +3777,19 @@ var no = Tr(function(e) {
3791
3777
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
3792
3778
  }, t.prototype._innerSubscribe = function(r) {
3793
3779
  var i = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
3794
- return o || s ? Pr : (this.currentObservers = null, a.push(r), new qe(function() {
3795
- i.currentObservers = null, dt(a, r);
3780
+ return o || s ? Sr : (this.currentObservers = null, a.push(r), new qe(function() {
3781
+ i.currentObservers = null, ct(a, r);
3796
3782
  }));
3797
3783
  }, t.prototype._checkFinalizedStatuses = function(r) {
3798
3784
  var i = this, n = i.hasError, o = i.thrownError, s = i.isStopped;
3799
3785
  n ? r.error(o) : s && r.complete();
3800
3786
  }, t.prototype.asObservable = function() {
3801
- var r = new Gt();
3787
+ var r = new Ft();
3802
3788
  return r.source = this, r;
3803
3789
  }, t.create = function(r, i) {
3804
- return new $t(r, i);
3790
+ return new Gt(r, i);
3805
3791
  }, t;
3806
- }(Gt), $t = function(e) {
3792
+ }(Ft), Gt = function(e) {
3807
3793
  ue(t, e);
3808
3794
  function t(r, i) {
3809
3795
  var n = e.call(this) || this;
@@ -3820,17 +3806,17 @@ var no = Tr(function(e) {
3820
3806
  (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
3821
3807
  }, t.prototype._subscribe = function(r) {
3822
3808
  var i, n;
3823
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Pr;
3809
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Sr;
3824
3810
  }, t;
3825
- }(Br), Mr = {
3811
+ }(Hr), Or = {
3826
3812
  now: function() {
3827
- return (Mr.delegate || Date).now();
3813
+ return (Or.delegate || Date).now();
3828
3814
  },
3829
3815
  delegate: void 0
3830
- }, oo = function(e) {
3816
+ }, io = function(e) {
3831
3817
  ue(t, e);
3832
3818
  function t(r, i, n) {
3833
- r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Mr);
3819
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Or);
3834
3820
  var o = e.call(this) || this;
3835
3821
  return o._bufferSize = r, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, i), o;
3836
3822
  }
@@ -3845,21 +3831,21 @@ var no = Tr(function(e) {
3845
3831
  }, t.prototype._trimBuffer = function() {
3846
3832
  var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * i;
3847
3833
  if (i < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
3848
- for (var l = n.now(), f = 0, h = 1; h < o.length && o[h] <= l; h += 2)
3849
- f = h;
3850
- f && o.splice(0, f + 1);
3834
+ for (var l = n.now(), h = 0, f = 1; f < o.length && o[f] <= l; f += 2)
3835
+ h = f;
3836
+ h && o.splice(0, h + 1);
3851
3837
  }
3852
3838
  }, t;
3853
- }(Br);
3854
- const zt = [], Wt = {}, so = (e, t = 0) => {
3855
- if (zt.indexOf(e) == -1) {
3856
- const r = new oo(t);
3857
- Wt[e] = r, zt.push(e);
3839
+ }(Hr);
3840
+ const jt = [], $t = {}, no = (e, t = 0) => {
3841
+ if (jt.indexOf(e) == -1) {
3842
+ const r = new io(t);
3843
+ $t[e] = r, jt.push(e);
3858
3844
  }
3859
- return Wt[e];
3845
+ return $t[e];
3860
3846
  };
3861
- window.emWidgets = { topic: so };
3862
- const ao = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
3847
+ window.emWidgets = { topic: no };
3848
+ const oo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
3863
3849
  if (typeof window != "undefined") {
3864
3850
  let e = function(t) {
3865
3851
  return function(...r) {
@@ -3872,151 +3858,151 @@ if (typeof window != "undefined") {
3872
3858
  }
3873
3859
  };
3874
3860
  };
3875
- customElements.define = e(customElements.define), import("./CashierModal-tNHHrPEW.js").then((t) => t.D).then(({ default: t }) => {
3861
+ customElements.define = e(customElements.define), import("./CashierModal-PoatyaKT.js").then((t) => t.D).then(({ default: t }) => {
3876
3862
  !customElements.get("cashier-modal") && customElements.define("cashier-modal", t.element);
3877
3863
  });
3878
3864
  }
3879
- var Cr = { exports: {} };
3865
+ var Ar = { exports: {} };
3880
3866
  (function(e, t) {
3881
3867
  (function(r, i) {
3882
3868
  e.exports = i();
3883
- })(Kt, function() {
3884
- var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", l = "hour", f = "day", h = "week", m = "month", d = "quarter", y = "year", E = "date", c = "Invalid Date", b = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, O = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, P = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(w) {
3885
- var g = ["th", "st", "nd", "rd"], p = w % 100;
3886
- return "[" + w + (g[(p - 20) % 10] || g[p] || g[0]) + "]";
3887
- } }, D = function(w, g, p) {
3869
+ })(Jt, function() {
3870
+ var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", l = "hour", h = "day", f = "week", m = "month", d = "quarter", y = "year", E = "date", c = "Invalid Date", b = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, O = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, P = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(w) {
3871
+ var v = ["th", "st", "nd", "rd"], p = w % 100;
3872
+ return "[" + w + (v[(p - 20) % 10] || v[p] || v[0]) + "]";
3873
+ } }, I = function(w, v, p) {
3888
3874
  var x = String(w);
3889
- return !x || x.length >= g ? w : "" + Array(g + 1 - x.length).join(p) + w;
3890
- }, Y = { s: D, z: function(w) {
3891
- var g = -w.utcOffset(), p = Math.abs(g), x = Math.floor(p / 60), v = p % 60;
3892
- return (g <= 0 ? "+" : "-") + D(x, 2, "0") + ":" + D(v, 2, "0");
3893
- }, m: function w(g, p) {
3894
- if (g.date() < p.date())
3895
- return -w(p, g);
3896
- var x = 12 * (p.year() - g.year()) + (p.month() - g.month()), v = g.clone().add(x, m), S = p - v < 0, T = g.clone().add(x + (S ? -1 : 1), m);
3897
- return +(-(x + (p - v) / (S ? v - T : T - v)) || 0);
3875
+ return !x || x.length >= v ? w : "" + Array(v + 1 - x.length).join(p) + w;
3876
+ }, Y = { s: I, z: function(w) {
3877
+ var v = -w.utcOffset(), p = Math.abs(v), x = Math.floor(p / 60), g = p % 60;
3878
+ return (v <= 0 ? "+" : "-") + I(x, 2, "0") + ":" + I(g, 2, "0");
3879
+ }, m: function w(v, p) {
3880
+ if (v.date() < p.date())
3881
+ return -w(p, v);
3882
+ var x = 12 * (p.year() - v.year()) + (p.month() - v.month()), g = v.clone().add(x, m), S = p - g < 0, T = v.clone().add(x + (S ? -1 : 1), m);
3883
+ return +(-(x + (p - g) / (S ? g - T : T - g)) || 0);
3898
3884
  }, a: function(w) {
3899
3885
  return w < 0 ? Math.ceil(w) || 0 : Math.floor(w);
3900
3886
  }, p: function(w) {
3901
- return { M: m, y, w: h, d: f, D: E, h: l, m: a, s, ms: o, Q: d }[w] || String(w || "").toLowerCase().replace(/s$/, "");
3887
+ return { M: m, y, w: f, d: h, D: E, h: l, m: a, s, ms: o, Q: d }[w] || String(w || "").toLowerCase().replace(/s$/, "");
3902
3888
  }, u: function(w) {
3903
3889
  return w === void 0;
3904
3890
  } }, R = "en", F = {};
3905
3891
  F[R] = P;
3906
3892
  var Q = "$isDayjsObject", re = function(w) {
3907
3893
  return w instanceof le || !(!w || !w[Q]);
3908
- }, K = function w(g, p, x) {
3909
- var v;
3910
- if (!g)
3894
+ }, K = function w(v, p, x) {
3895
+ var g;
3896
+ if (!v)
3911
3897
  return R;
3912
- if (typeof g == "string") {
3913
- var S = g.toLowerCase();
3914
- F[S] && (v = S), p && (F[S] = p, v = S);
3915
- var T = g.split("-");
3916
- if (!v && T.length > 1)
3898
+ if (typeof v == "string") {
3899
+ var S = v.toLowerCase();
3900
+ F[S] && (g = S), p && (F[S] = p, g = S);
3901
+ var T = v.split("-");
3902
+ if (!g && T.length > 1)
3917
3903
  return w(T[0]);
3918
3904
  } else {
3919
- var I = g.name;
3920
- F[I] = g, v = I;
3905
+ var D = v.name;
3906
+ F[D] = v, g = D;
3921
3907
  }
3922
- return !x && v && (R = v), v || !x && R;
3923
- }, U = function(w, g) {
3908
+ return !x && g && (R = g), g || !x && R;
3909
+ }, U = function(w, v) {
3924
3910
  if (re(w))
3925
3911
  return w.clone();
3926
- var p = typeof g == "object" ? g : {};
3912
+ var p = typeof v == "object" ? v : {};
3927
3913
  return p.date = w, p.args = arguments, new le(p);
3928
3914
  }, A = Y;
3929
- A.l = K, A.i = re, A.w = function(w, g) {
3930
- return U(w, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3915
+ A.l = K, A.i = re, A.w = function(w, v) {
3916
+ return U(w, { locale: v.$L, utc: v.$u, x: v.$x, $offset: v.$offset });
3931
3917
  };
3932
3918
  var le = function() {
3933
3919
  function w(p) {
3934
3920
  this.$L = K(p.locale, null, !0), this.parse(p), this.$x = this.$x || p.x || {}, this[Q] = !0;
3935
3921
  }
3936
- var g = w.prototype;
3937
- return g.parse = function(p) {
3922
+ var v = w.prototype;
3923
+ return v.parse = function(p) {
3938
3924
  this.$d = function(x) {
3939
- var v = x.date, S = x.utc;
3940
- if (v === null)
3925
+ var g = x.date, S = x.utc;
3926
+ if (g === null)
3941
3927
  return /* @__PURE__ */ new Date(NaN);
3942
- if (A.u(v))
3928
+ if (A.u(g))
3943
3929
  return /* @__PURE__ */ new Date();
3944
- if (v instanceof Date)
3945
- return new Date(v);
3946
- if (typeof v == "string" && !/Z$/i.test(v)) {
3947
- var T = v.match(b);
3930
+ if (g instanceof Date)
3931
+ return new Date(g);
3932
+ if (typeof g == "string" && !/Z$/i.test(g)) {
3933
+ var T = g.match(b);
3948
3934
  if (T) {
3949
- var I = T[2] - 1 || 0, N = (T[7] || "0").substring(0, 3);
3950
- return S ? new Date(Date.UTC(T[1], I, T[3] || 1, T[4] || 0, T[5] || 0, T[6] || 0, N)) : new Date(T[1], I, T[3] || 1, T[4] || 0, T[5] || 0, T[6] || 0, N);
3935
+ var D = T[2] - 1 || 0, N = (T[7] || "0").substring(0, 3);
3936
+ return S ? new Date(Date.UTC(T[1], D, T[3] || 1, T[4] || 0, T[5] || 0, T[6] || 0, N)) : new Date(T[1], D, T[3] || 1, T[4] || 0, T[5] || 0, T[6] || 0, N);
3951
3937
  }
3952
3938
  }
3953
- return new Date(v);
3939
+ return new Date(g);
3954
3940
  }(p), this.init();
3955
- }, g.init = function() {
3941
+ }, v.init = function() {
3956
3942
  var p = this.$d;
3957
3943
  this.$y = p.getFullYear(), this.$M = p.getMonth(), this.$D = p.getDate(), this.$W = p.getDay(), this.$H = p.getHours(), this.$m = p.getMinutes(), this.$s = p.getSeconds(), this.$ms = p.getMilliseconds();
3958
- }, g.$utils = function() {
3944
+ }, v.$utils = function() {
3959
3945
  return A;
3960
- }, g.isValid = function() {
3946
+ }, v.isValid = function() {
3961
3947
  return this.$d.toString() !== c;
3962
- }, g.isSame = function(p, x) {
3963
- var v = U(p);
3964
- return this.startOf(x) <= v && v <= this.endOf(x);
3965
- }, g.isAfter = function(p, x) {
3948
+ }, v.isSame = function(p, x) {
3949
+ var g = U(p);
3950
+ return this.startOf(x) <= g && g <= this.endOf(x);
3951
+ }, v.isAfter = function(p, x) {
3966
3952
  return U(p) < this.startOf(x);
3967
- }, g.isBefore = function(p, x) {
3953
+ }, v.isBefore = function(p, x) {
3968
3954
  return this.endOf(x) < U(p);
3969
- }, g.$g = function(p, x, v) {
3970
- return A.u(p) ? this[x] : this.set(v, p);
3971
- }, g.unix = function() {
3955
+ }, v.$g = function(p, x, g) {
3956
+ return A.u(p) ? this[x] : this.set(g, p);
3957
+ }, v.unix = function() {
3972
3958
  return Math.floor(this.valueOf() / 1e3);
3973
- }, g.valueOf = function() {
3959
+ }, v.valueOf = function() {
3974
3960
  return this.$d.getTime();
3975
- }, g.startOf = function(p, x) {
3976
- var v = this, S = !!A.u(x) || x, T = A.p(p), I = function(ee, z) {
3977
- var te = A.w(v.$u ? Date.UTC(v.$y, z, ee) : new Date(v.$y, z, ee), v);
3978
- return S ? te : te.endOf(f);
3961
+ }, v.startOf = function(p, x) {
3962
+ var g = this, S = !!A.u(x) || x, T = A.p(p), D = function(ee, z) {
3963
+ var te = A.w(g.$u ? Date.UTC(g.$y, z, ee) : new Date(g.$y, z, ee), g);
3964
+ return S ? te : te.endOf(h);
3979
3965
  }, N = function(ee, z) {
3980
- return A.w(v.toDate()[ee].apply(v.toDate("s"), (S ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(z)), v);
3981
- }, k = this.$W, G = this.$M, X = this.$D, he = "set" + (this.$u ? "UTC" : "");
3966
+ return A.w(g.toDate()[ee].apply(g.toDate("s"), (S ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(z)), g);
3967
+ }, k = this.$W, G = this.$M, X = this.$D, fe = "set" + (this.$u ? "UTC" : "");
3982
3968
  switch (T) {
3983
3969
  case y:
3984
- return S ? I(1, 0) : I(31, 11);
3970
+ return S ? D(1, 0) : D(31, 11);
3985
3971
  case m:
3986
- return S ? I(1, G) : I(0, G + 1);
3987
- case h:
3988
- var ie = this.$locale().weekStart || 0, pe = (k < ie ? k + 7 : k) - ie;
3989
- return I(S ? X - pe : X + (6 - pe), G);
3972
+ return S ? D(1, G) : D(0, G + 1);
3990
3973
  case f:
3974
+ var ie = this.$locale().weekStart || 0, pe = (k < ie ? k + 7 : k) - ie;
3975
+ return D(S ? X - pe : X + (6 - pe), G);
3976
+ case h:
3991
3977
  case E:
3992
- return N(he + "Hours", 0);
3978
+ return N(fe + "Hours", 0);
3993
3979
  case l:
3994
- return N(he + "Minutes", 1);
3980
+ return N(fe + "Minutes", 1);
3995
3981
  case a:
3996
- return N(he + "Seconds", 2);
3982
+ return N(fe + "Seconds", 2);
3997
3983
  case s:
3998
- return N(he + "Milliseconds", 3);
3984
+ return N(fe + "Milliseconds", 3);
3999
3985
  default:
4000
3986
  return this.clone();
4001
3987
  }
4002
- }, g.endOf = function(p) {
3988
+ }, v.endOf = function(p) {
4003
3989
  return this.startOf(p, !1);
4004
- }, g.$set = function(p, x) {
4005
- var v, S = A.p(p), T = "set" + (this.$u ? "UTC" : ""), I = (v = {}, v[f] = T + "Date", v[E] = T + "Date", v[m] = T + "Month", v[y] = T + "FullYear", v[l] = T + "Hours", v[a] = T + "Minutes", v[s] = T + "Seconds", v[o] = T + "Milliseconds", v)[S], N = S === f ? this.$D + (x - this.$W) : x;
3990
+ }, v.$set = function(p, x) {
3991
+ var g, S = A.p(p), T = "set" + (this.$u ? "UTC" : ""), D = (g = {}, g[h] = T + "Date", g[E] = T + "Date", g[m] = T + "Month", g[y] = T + "FullYear", g[l] = T + "Hours", g[a] = T + "Minutes", g[s] = T + "Seconds", g[o] = T + "Milliseconds", g)[S], N = S === h ? this.$D + (x - this.$W) : x;
4006
3992
  if (S === m || S === y) {
4007
3993
  var k = this.clone().set(E, 1);
4008
- k.$d[I](N), k.init(), this.$d = k.set(E, Math.min(this.$D, k.daysInMonth())).$d;
3994
+ k.$d[D](N), k.init(), this.$d = k.set(E, Math.min(this.$D, k.daysInMonth())).$d;
4009
3995
  } else
4010
- I && this.$d[I](N);
3996
+ D && this.$d[D](N);
4011
3997
  return this.init(), this;
4012
- }, g.set = function(p, x) {
3998
+ }, v.set = function(p, x) {
4013
3999
  return this.clone().$set(p, x);
4014
- }, g.get = function(p) {
4000
+ }, v.get = function(p) {
4015
4001
  return this[A.p(p)]();
4016
- }, g.add = function(p, x) {
4017
- var v, S = this;
4002
+ }, v.add = function(p, x) {
4003
+ var g, S = this;
4018
4004
  p = Number(p);
4019
- var T = A.p(x), I = function(G) {
4005
+ var T = A.p(x), D = function(G) {
4020
4006
  var X = U(S);
4021
4007
  return A.w(X.date(X.date() + Math.round(G * p)), S);
4022
4008
  };
@@ -4024,23 +4010,23 @@ var Cr = { exports: {} };
4024
4010
  return this.set(m, this.$M + p);
4025
4011
  if (T === y)
4026
4012
  return this.set(y, this.$y + p);
4027
- if (T === f)
4028
- return I(1);
4029
4013
  if (T === h)
4030
- return I(7);
4031
- var N = (v = {}, v[a] = i, v[l] = n, v[s] = r, v)[T] || 1, k = this.$d.getTime() + p * N;
4014
+ return D(1);
4015
+ if (T === f)
4016
+ return D(7);
4017
+ var N = (g = {}, g[a] = i, g[l] = n, g[s] = r, g)[T] || 1, k = this.$d.getTime() + p * N;
4032
4018
  return A.w(k, this);
4033
- }, g.subtract = function(p, x) {
4019
+ }, v.subtract = function(p, x) {
4034
4020
  return this.add(-1 * p, x);
4035
- }, g.format = function(p) {
4036
- var x = this, v = this.$locale();
4021
+ }, v.format = function(p) {
4022
+ var x = this, g = this.$locale();
4037
4023
  if (!this.isValid())
4038
- return v.invalidDate || c;
4039
- var S = p || "YYYY-MM-DDTHH:mm:ssZ", T = A.z(this), I = this.$H, N = this.$m, k = this.$M, G = v.weekdays, X = v.months, he = v.meridiem, ie = function(z, te, me, ye) {
4024
+ return g.invalidDate || c;
4025
+ var S = p || "YYYY-MM-DDTHH:mm:ssZ", T = A.z(this), D = this.$H, N = this.$m, k = this.$M, G = g.weekdays, X = g.months, fe = g.meridiem, ie = function(z, te, me, ye) {
4040
4026
  return z && (z[te] || z(x, S)) || me[te].slice(0, ye);
4041
4027
  }, pe = function(z) {
4042
- return A.s(I % 12 || 12, z, "0");
4043
- }, ee = he || function(z, te, me) {
4028
+ return A.s(D % 12 || 12, z, "0");
4029
+ }, ee = fe || function(z, te, me) {
4044
4030
  var ye = z < 12 ? "AM" : "PM";
4045
4031
  return me ? ye.toLowerCase() : ye;
4046
4032
  };
@@ -4056,7 +4042,7 @@ var Cr = { exports: {} };
4056
4042
  case "MM":
4057
4043
  return A.s(k + 1, 2, "0");
4058
4044
  case "MMM":
4059
- return ie(v.monthsShort, k, X, 3);
4045
+ return ie(g.monthsShort, k, X, 3);
4060
4046
  case "MMMM":
4061
4047
  return ie(X, k);
4062
4048
  case "D":
@@ -4066,23 +4052,23 @@ var Cr = { exports: {} };
4066
4052
  case "d":
4067
4053
  return String(x.$W);
4068
4054
  case "dd":
4069
- return ie(v.weekdaysMin, x.$W, G, 2);
4055
+ return ie(g.weekdaysMin, x.$W, G, 2);
4070
4056
  case "ddd":
4071
- return ie(v.weekdaysShort, x.$W, G, 3);
4057
+ return ie(g.weekdaysShort, x.$W, G, 3);
4072
4058
  case "dddd":
4073
4059
  return G[x.$W];
4074
4060
  case "H":
4075
- return String(I);
4061
+ return String(D);
4076
4062
  case "HH":
4077
- return A.s(I, 2, "0");
4063
+ return A.s(D, 2, "0");
4078
4064
  case "h":
4079
4065
  return pe(1);
4080
4066
  case "hh":
4081
4067
  return pe(2);
4082
4068
  case "a":
4083
- return ee(I, N, !0);
4069
+ return ee(D, N, !0);
4084
4070
  case "A":
4085
- return ee(I, N, !1);
4071
+ return ee(D, N, !1);
4086
4072
  case "m":
4087
4073
  return String(N);
4088
4074
  case "mm":
@@ -4099,13 +4085,13 @@ var Cr = { exports: {} };
4099
4085
  return null;
4100
4086
  }(z) || T.replace(":", "");
4101
4087
  });
4102
- }, g.utcOffset = function() {
4088
+ }, v.utcOffset = function() {
4103
4089
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4104
- }, g.diff = function(p, x, v) {
4105
- var S, T = this, I = A.p(x), N = U(p), k = (N.utcOffset() - this.utcOffset()) * i, G = this - N, X = function() {
4090
+ }, v.diff = function(p, x, g) {
4091
+ var S, T = this, D = A.p(x), N = U(p), k = (N.utcOffset() - this.utcOffset()) * i, G = this - N, X = function() {
4106
4092
  return A.m(T, N);
4107
4093
  };
4108
- switch (I) {
4094
+ switch (D) {
4109
4095
  case y:
4110
4096
  S = X() / 12;
4111
4097
  break;
@@ -4115,10 +4101,10 @@ var Cr = { exports: {} };
4115
4101
  case d:
4116
4102
  S = X() / 3;
4117
4103
  break;
4118
- case h:
4104
+ case f:
4119
4105
  S = (G - k) / 6048e5;
4120
4106
  break;
4121
- case f:
4107
+ case h:
4122
4108
  S = (G - k) / 864e5;
4123
4109
  break;
4124
4110
  case l:
@@ -4133,46 +4119,46 @@ var Cr = { exports: {} };
4133
4119
  default:
4134
4120
  S = G;
4135
4121
  }
4136
- return v ? S : A.a(S);
4137
- }, g.daysInMonth = function() {
4122
+ return g ? S : A.a(S);
4123
+ }, v.daysInMonth = function() {
4138
4124
  return this.endOf(m).$D;
4139
- }, g.$locale = function() {
4125
+ }, v.$locale = function() {
4140
4126
  return F[this.$L];
4141
- }, g.locale = function(p, x) {
4127
+ }, v.locale = function(p, x) {
4142
4128
  if (!p)
4143
4129
  return this.$L;
4144
- var v = this.clone(), S = K(p, x, !0);
4145
- return S && (v.$L = S), v;
4146
- }, g.clone = function() {
4130
+ var g = this.clone(), S = K(p, x, !0);
4131
+ return S && (g.$L = S), g;
4132
+ }, v.clone = function() {
4147
4133
  return A.w(this.$d, this);
4148
- }, g.toDate = function() {
4134
+ }, v.toDate = function() {
4149
4135
  return new Date(this.valueOf());
4150
- }, g.toJSON = function() {
4136
+ }, v.toJSON = function() {
4151
4137
  return this.isValid() ? this.toISOString() : null;
4152
- }, g.toISOString = function() {
4138
+ }, v.toISOString = function() {
4153
4139
  return this.$d.toISOString();
4154
- }, g.toString = function() {
4140
+ }, v.toString = function() {
4155
4141
  return this.$d.toUTCString();
4156
4142
  }, w;
4157
4143
  }(), j = le.prototype;
4158
- return U.prototype = j, [["$ms", o], ["$s", s], ["$m", a], ["$H", l], ["$W", f], ["$M", m], ["$y", y], ["$D", E]].forEach(function(w) {
4159
- j[w[1]] = function(g) {
4160
- return this.$g(g, w[0], w[1]);
4144
+ return U.prototype = j, [["$ms", o], ["$s", s], ["$m", a], ["$H", l], ["$W", h], ["$M", m], ["$y", y], ["$D", E]].forEach(function(w) {
4145
+ j[w[1]] = function(v) {
4146
+ return this.$g(v, w[0], w[1]);
4161
4147
  };
4162
- }), U.extend = function(w, g) {
4163
- return w.$i || (w(g, le, U), w.$i = !0), U;
4148
+ }), U.extend = function(w, v) {
4149
+ return w.$i || (w(v, le, U), w.$i = !0), U;
4164
4150
  }, U.locale = K, U.isDayjs = re, U.unix = function(w) {
4165
4151
  return U(1e3 * w);
4166
4152
  }, U.en = F[R], U.Ls = F, U.p = {}, U;
4167
4153
  });
4168
- })(Cr);
4169
- var uo = Cr.exports;
4170
- const Xt = /* @__PURE__ */ vt(uo);
4171
- var Dr = { exports: {} };
4154
+ })(Ar);
4155
+ var so = Ar.exports;
4156
+ const zt = /* @__PURE__ */ mt(so);
4157
+ var Br = { exports: {} };
4172
4158
  (function(e, t) {
4173
4159
  (function(r, i) {
4174
4160
  e.exports = i();
4175
- })(Kt, function() {
4161
+ })(Jt, function() {
4176
4162
  var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
4177
4163
  return function(o, s, a) {
4178
4164
  var l = s.prototype;
@@ -4185,17 +4171,17 @@ var Dr = { exports: {} };
4185
4171
  }, l.local = function() {
4186
4172
  return a(this.toDate(), { locale: this.$L, utc: !1 });
4187
4173
  };
4188
- var f = l.parse;
4174
+ var h = l.parse;
4189
4175
  l.parse = function(c) {
4190
- c.utc && (this.$u = !0), this.$utils().u(c.$offset) || (this.$offset = c.$offset), f.call(this, c);
4176
+ c.utc && (this.$u = !0), this.$utils().u(c.$offset) || (this.$offset = c.$offset), h.call(this, c);
4191
4177
  };
4192
- var h = l.init;
4178
+ var f = l.init;
4193
4179
  l.init = function() {
4194
4180
  if (this.$u) {
4195
4181
  var c = this.$d;
4196
4182
  this.$y = c.getUTCFullYear(), this.$M = c.getUTCMonth(), this.$D = c.getUTCDate(), this.$W = c.getUTCDay(), this.$H = c.getUTCHours(), this.$m = c.getUTCMinutes(), this.$s = c.getUTCSeconds(), this.$ms = c.getUTCMilliseconds();
4197
4183
  } else
4198
- h.call(this);
4184
+ f.call(this);
4199
4185
  };
4200
4186
  var m = l.utcOffset;
4201
4187
  l.utcOffset = function(c, b) {
@@ -4211,15 +4197,15 @@ var Dr = { exports: {} };
4211
4197
  return K === 0 ? 0 : re === "+" ? K : -K;
4212
4198
  }(c), c === null))
4213
4199
  return this;
4214
- var P = Math.abs(c) <= 16 ? 60 * c : c, D = this;
4200
+ var P = Math.abs(c) <= 16 ? 60 * c : c, I = this;
4215
4201
  if (b)
4216
- return D.$offset = P, D.$u = c === 0, D;
4202
+ return I.$offset = P, I.$u = c === 0, I;
4217
4203
  if (c !== 0) {
4218
4204
  var Y = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4219
- (D = this.local().add(P + Y, r)).$offset = P, D.$x.$localOffset = Y;
4205
+ (I = this.local().add(P + Y, r)).$offset = P, I.$x.$localOffset = Y;
4220
4206
  } else
4221
- D = this.utc();
4222
- return D;
4207
+ I = this.utc();
4208
+ return I;
4223
4209
  };
4224
4210
  var d = l.format;
4225
4211
  l.format = function(c) {
@@ -4243,39 +4229,39 @@ var Dr = { exports: {} };
4243
4229
  l.diff = function(c, b, O) {
4244
4230
  if (c && this.$u === c.$u)
4245
4231
  return E.call(this, c, b, O);
4246
- var P = this.local(), D = a(c).local();
4247
- return E.call(P, D, b, O);
4232
+ var P = this.local(), I = a(c).local();
4233
+ return E.call(P, I, b, O);
4248
4234
  };
4249
4235
  };
4250
4236
  });
4251
- })(Dr);
4252
- var lo = Dr.exports;
4253
- const ho = /* @__PURE__ */ vt(lo);
4254
- function fo(e) {
4255
- Wr(e, "svelte-il1hy", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative;box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}.ModalContentContainer{height:100%;width:100%;display:flex;flex-direction:column}.CashierVideoWrapper{position:relative;display:flex;justify-content:center;align-items:center;width:100%;height:100%;left:0;top:0;z-index:8}.CashierVideo{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.CashierVideo video{object-fit:contain;width:100%;height:90%;justify-self:center}");
4237
+ })(Br);
4238
+ var ao = Br.exports;
4239
+ const uo = /* @__PURE__ */ mt(ao);
4240
+ function lo(e) {
4241
+ jr(e, "svelte-il1hy", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative;box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}.ModalContentContainer{height:100%;width:100%;display:flex;flex-direction:column}.CashierVideoWrapper{position:relative;display:flex;justify-content:center;align-items:center;width:100%;height:100%;left:0;top:0;z-index:8}.CashierVideo{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.CashierVideo video{object-fit:contain;width:100%;height:90%;justify-self:center}");
4256
4242
  }
4257
- function qt(e, t, r) {
4243
+ function Wt(e, t, r) {
4258
4244
  const i = e.slice();
4259
4245
  return i[55] = t[r], i[57] = r, i;
4260
4246
  }
4261
- function co(e) {
4262
- let t, r, i, n, o, s, a, l, f, h, m, d, y = Et(
4247
+ function fo(e) {
4248
+ let t, r, i, n, o, s, a, l, h, f, m, d, y = xt(
4263
4249
  /*displayMessages*/
4264
4250
  e[4]
4265
4251
  ), E = [];
4266
4252
  for (let b = 0; b < y.length; b += 1)
4267
- E[b] = Zt(qt(e, y, b));
4253
+ E[b] = qt(Wt(e, y, b));
4268
4254
  let c = (
4269
4255
  /*videoExists*/
4270
- e[7] && Jt(e)
4256
+ e[7] && Yt(e)
4271
4257
  );
4272
4258
  return {
4273
4259
  c() {
4274
4260
  t = W("div");
4275
4261
  for (let b = 0; b < E.length; b += 1)
4276
4262
  E[b].c();
4277
- r = _e(), c && c.c(), i = _e(), n = W("cashier-modal"), o = W("div"), s = W("div"), a = W("div"), l = W("video"), f = W("source"), $(t, "class", "CashierVerificationsWrapper"), wt(f.src, h = /*videoSrc*/
4278
- e[8]) || $(f, "src", h), l.controls = !0, $(l, "controlslist", "nodownload"), $(l, "disablepictureinpicture", ""), $(a, "class", "CashierVideo"), $(s, "class", "CashierVideoWrapper"), $(o, "slot", "content"), $(o, "class", "ModalContentContainer"), Z(n, "show", m = `${/*modalState*/
4263
+ r = _e(), c && c.c(), i = _e(), n = W("cashier-modal"), o = W("div"), s = W("div"), a = W("div"), l = W("video"), h = W("source"), $(t, "class", "CashierVerificationsWrapper"), _t(h.src, f = /*videoSrc*/
4264
+ e[8]) || $(h, "src", f), l.controls = !0, $(l, "controlslist", "nodownload"), $(l, "disablepictureinpicture", ""), $(a, "class", "CashierVideo"), $(s, "class", "CashierVideoWrapper"), $(o, "slot", "content"), $(o, "class", "ModalContentContainer"), Z(n, "show", m = `${/*modalState*/
4279
4265
  e[10] !== "closed"}`), Z(n, "isvideo", d = `${/*modalState*/
4280
4266
  e[10] === "video"}`), Z(
4281
4267
  n,
@@ -4298,28 +4284,28 @@ function co(e) {
4298
4284
  oe(b, t, O);
4299
4285
  for (let P = 0; P < E.length; P += 1)
4300
4286
  E[P] && E[P].m(t, null);
4301
- oe(b, r, O), c && c.m(b, O), oe(b, i, O), oe(b, n, O), J(n, o), J(o, s), J(s, a), J(a, l), J(l, f);
4287
+ oe(b, r, O), c && c.m(b, O), oe(b, i, O), oe(b, n, O), J(n, o), J(o, s), J(s, a), J(a, l), J(l, h);
4302
4288
  },
4303
4289
  p(b, O) {
4304
4290
  if (O[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
4305
4291
  4144) {
4306
- y = Et(
4292
+ y = xt(
4307
4293
  /*displayMessages*/
4308
4294
  b[4]
4309
4295
  );
4310
4296
  let P;
4311
4297
  for (P = 0; P < y.length; P += 1) {
4312
- const D = qt(b, y, P);
4313
- E[P] ? E[P].p(D, O) : (E[P] = Zt(D), E[P].c(), E[P].m(t, null));
4298
+ const I = Wt(b, y, P);
4299
+ E[P] ? E[P].p(I, O) : (E[P] = qt(I), E[P].c(), E[P].m(t, null));
4314
4300
  }
4315
4301
  for (; P < E.length; P += 1)
4316
4302
  E[P].d(1);
4317
4303
  E.length = y.length;
4318
4304
  }
4319
4305
  /*videoExists*/
4320
- b[7] ? c ? c.p(b, O) : (c = Jt(b), c.c(), c.m(i.parentNode, i)) : c && (c.d(1), c = null), O[0] & /*videoSrc*/
4321
- 256 && !wt(f.src, h = /*videoSrc*/
4322
- b[8]) && $(f, "src", h), O[0] & /*modalState*/
4306
+ b[7] ? c ? c.p(b, O) : (c = Yt(b), c.c(), c.m(i.parentNode, i)) : c && (c.d(1), c = null), O[0] & /*videoSrc*/
4307
+ 256 && !_t(h.src, f = /*videoSrc*/
4308
+ b[8]) && $(h, "src", f), O[0] & /*modalState*/
4323
4309
  1024 && m !== (m = `${/*modalState*/
4324
4310
  b[10] !== "closed"}`) && Z(n, "show", m), O[0] & /*modalState*/
4325
4311
  1024 && d !== (d = `${/*modalState*/
@@ -4344,11 +4330,11 @@ function co(e) {
4344
4330
  );
4345
4331
  },
4346
4332
  d(b) {
4347
- b && (se(t), se(r), se(i), se(n)), Jr(E, b), c && c.d(b);
4333
+ b && (se(t), se(r), se(i), se(n)), qr(E, b), c && c.d(b);
4348
4334
  }
4349
4335
  };
4350
4336
  }
4351
- function po(e) {
4337
+ function ho(e) {
4352
4338
  let t;
4353
4339
  return {
4354
4340
  c() {
@@ -4387,7 +4373,7 @@ function po(e) {
4387
4373
  }
4388
4374
  };
4389
4375
  }
4390
- function Yt(e) {
4376
+ function Xt(e) {
4391
4377
  let t, r, i;
4392
4378
  function n(...o) {
4393
4379
  return (
@@ -4404,7 +4390,7 @@ function Yt(e) {
4404
4390
  t = W("span"), t.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', $(t, "class", "CashierVerificationChevron");
4405
4391
  },
4406
4392
  m(o, s) {
4407
- oe(o, t, s), r || (i = mt(t, "click", n), r = !0);
4393
+ oe(o, t, s), r || (i = pt(t, "click", n), r = !0);
4408
4394
  },
4409
4395
  p(o, s) {
4410
4396
  e = o;
@@ -4414,14 +4400,14 @@ function Yt(e) {
4414
4400
  }
4415
4401
  };
4416
4402
  }
4417
- function Zt(e) {
4403
+ function qt(e) {
4418
4404
  let t, r, i, n, o = (
4419
4405
  /*message*/
4420
4406
  e[55] + ""
4421
- ), s, a, l, f, h = (
4407
+ ), s, a, l, h, f = (
4422
4408
  /*displayMessages*/
4423
4409
  e[4].length > 1 && /*index*/
4424
- e[57] === 0 && Yt(e)
4410
+ e[57] === 0 && Xt(e)
4425
4411
  );
4426
4412
  function m(...d) {
4427
4413
  return (
@@ -4435,7 +4421,7 @@ function Zt(e) {
4435
4421
  }
4436
4422
  return {
4437
4423
  c() {
4438
- t = W("div"), r = W("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = _e(), n = W("p"), s = _e(), h && h.c(), a = _e(), $(r, "class", "IconVerification"), $(n, "class", "text"), $(t, "class", "CashierVerificationMessage"), we(
4424
+ t = W("div"), r = W("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = _e(), n = W("p"), s = _e(), f && f.c(), a = _e(), $(r, "class", "IconVerification"), $(n, "class", "text"), $(t, "class", "CashierVerificationMessage"), we(
4439
4425
  t,
4440
4426
  "ShowAll",
4441
4427
  /*allVerificationsVisible*/
@@ -4443,14 +4429,14 @@ function Zt(e) {
4443
4429
  );
4444
4430
  },
4445
4431
  m(d, y) {
4446
- oe(d, t, y), J(t, r), J(t, i), J(t, n), n.innerHTML = o, J(t, s), h && h.m(t, null), J(t, a), l || (f = mt(t, "click", m), l = !0);
4432
+ oe(d, t, y), J(t, r), J(t, i), J(t, n), n.innerHTML = o, J(t, s), f && f.m(t, null), J(t, a), l || (h = pt(t, "click", m), l = !0);
4447
4433
  },
4448
4434
  p(d, y) {
4449
4435
  e = d, y[0] & /*displayMessages*/
4450
4436
  16 && o !== (o = /*message*/
4451
4437
  e[55] + "") && (n.innerHTML = o), /*displayMessages*/
4452
4438
  e[4].length > 1 && /*index*/
4453
- e[57] === 0 ? h ? h.p(e, y) : (h = Yt(e), h.c(), h.m(t, a)) : h && (h.d(1), h = null), y[0] & /*allVerificationsVisible*/
4439
+ e[57] === 0 ? f ? f.p(e, y) : (f = Xt(e), f.c(), f.m(t, a)) : f && (f.d(1), f = null), y[0] & /*allVerificationsVisible*/
4454
4440
  32 && we(
4455
4441
  t,
4456
4442
  "ShowAll",
@@ -4459,61 +4445,61 @@ function Zt(e) {
4459
4445
  );
4460
4446
  },
4461
4447
  d(d) {
4462
- d && se(t), h && h.d(), l = !1, f();
4448
+ d && se(t), f && f.d(), l = !1, h();
4463
4449
  }
4464
4450
  };
4465
4451
  }
4466
- function Jt(e) {
4452
+ function Yt(e) {
4467
4453
  let t, r, i, n, o = (
4468
4454
  /*$_*/
4469
4455
  e[11]("verification.video.how-to") + ""
4470
4456
  ), s, a, l;
4471
4457
  return {
4472
4458
  c() {
4473
- t = W("div"), r = W("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = _e(), n = W("div"), s = Qr(o), $(r, "class", "IconVideo"), $(n, "class", "CashierVerificationVideoLink"), we(
4459
+ t = W("div"), r = W("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = _e(), n = W("div"), s = Yr(o), $(r, "class", "IconVideo"), $(n, "class", "CashierVerificationVideoLink"), we(
4474
4460
  n,
4475
4461
  "CashierVerificationVideoLinkDesktop",
4476
4462
  /*desktopView*/
4477
4463
  e[6]
4478
4464
  ), $(t, "class", "CashierVerificationVideo");
4479
4465
  },
4480
- m(f, h) {
4481
- oe(f, t, h), J(t, r), J(t, i), J(t, n), J(n, s), a || (l = mt(
4466
+ m(h, f) {
4467
+ oe(h, t, f), J(t, r), J(t, i), J(t, n), J(n, s), a || (l = pt(
4482
4468
  n,
4483
4469
  "click",
4484
4470
  /*showVideo*/
4485
4471
  e[13]
4486
4472
  ), a = !0);
4487
4473
  },
4488
- p(f, h) {
4489
- h[0] & /*$_*/
4474
+ p(h, f) {
4475
+ f[0] & /*$_*/
4490
4476
  2048 && o !== (o = /*$_*/
4491
- f[11]("verification.video.how-to") + "") && Kr(s, o), h[0] & /*desktopView*/
4477
+ h[11]("verification.video.how-to") + "") && Zr(s, o), f[0] & /*desktopView*/
4492
4478
  64 && we(
4493
4479
  n,
4494
4480
  "CashierVerificationVideoLinkDesktop",
4495
4481
  /*desktopView*/
4496
- f[6]
4482
+ h[6]
4497
4483
  );
4498
4484
  },
4499
- d(f) {
4500
- f && se(t), a = !1, l();
4485
+ d(h) {
4486
+ h && se(t), a = !1, l();
4501
4487
  }
4502
4488
  };
4503
4489
  }
4504
- function mo(e) {
4490
+ function co(e) {
4505
4491
  let t;
4506
4492
  function r(o, s) {
4507
4493
  if (
4508
4494
  /*isLoading*/
4509
4495
  o[9]
4510
4496
  )
4511
- return po;
4497
+ return ho;
4512
4498
  if (
4513
4499
  /*displayMessages*/
4514
4500
  o[4]
4515
4501
  )
4516
- return co;
4502
+ return fo;
4517
4503
  }
4518
4504
  let i = r(e), n = i && i(e);
4519
4505
  return {
@@ -4537,18 +4523,18 @@ function mo(e) {
4537
4523
  o[6]
4538
4524
  );
4539
4525
  },
4540
- i: ge,
4541
- o: ge,
4526
+ i: ve,
4527
+ o: ve,
4542
4528
  d(o) {
4543
4529
  o && se(t), n && n.d(), e[23](null);
4544
4530
  }
4545
4531
  };
4546
4532
  }
4547
- const vo = "verification_explanation_video_widgets.MP4";
4548
- function go(e, t, r) {
4533
+ const po = "verification_explanation_video_widgets.MP4";
4534
+ function mo(e, t, r) {
4549
4535
  let i, n;
4550
- _t(e, $n, (u) => r(11, i = u)), _t(e, Wn, (u) => r(29, n = u)), Xt.extend(ho);
4551
- let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: f = "" } = t, { session: h = "" } = t, { customerid: m = "" } = t, { playersession: d = "" } = t, { mbsource: y = "" } = t, E, c = /* @__PURE__ */ new Set(), b = /* @__PURE__ */ new Set(), O, P, D, Y = !0, R = !0, F = !1, Q = "", re = !1, K = "closed", U = window.navigator.userAgent;
4536
+ yt(e, Gn, (u) => r(11, i = u)), yt(e, $n, (u) => r(29, n = u)), zt.extend(uo);
4537
+ let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { session: f = "" } = t, { customerid: m = "" } = t, { playersession: d = "" } = t, { mbsource: y = "" } = t, E, c = /* @__PURE__ */ new Set(), b = /* @__PURE__ */ new Set(), O, P, I, Y = !0, R = !0, F = !1, Q = "", re = !1, K = "closed", U = window.navigator.userAgent;
4552
4538
  var A;
4553
4539
  (function(u) {
4554
4540
  u.Manual = "Manual", u.ShuftiPro = "ShuftiPro";
@@ -4565,11 +4551,11 @@ function go(e, t, r) {
4565
4551
  (function(u) {
4566
4552
  u.Unknown = "Unknown", u.Documents = "Documents", u.Age = "Age", u.Pep = "Pep", u.Sanction = "Sanction", u.Aml = "Aml", u.ProofOfAddress = "ProofOfAddress", u.SourceOfWealth = "SourceOfWealth", u.SocialMedia = "SocialMedia", u.Biometric = "Biometric";
4567
4553
  })(w || (w = {}));
4568
- const g = (u) => {
4554
+ const v = (u) => {
4569
4555
  u.data && u.data.type === "CloseModal" && r(10, K = "closed");
4570
4556
  };
4571
- Xr(() => (window.addEventListener("message", g), Ir(), () => {
4572
- window.removeEventListener("message", g);
4557
+ $r(() => (window.addEventListener("message", v), Mr(), () => {
4558
+ window.removeEventListener("message", v);
4573
4559
  }));
4574
4560
  const p = [
4575
4561
  j.InProgress,
@@ -4580,36 +4566,36 @@ function go(e, t, r) {
4580
4566
  if (u)
4581
4567
  return fetch(u).then((_) => _.json()).then((_) => {
4582
4568
  Object.keys(_).forEach((B) => {
4583
- Ut(B, _[B]);
4569
+ Nt(B, _[B]);
4584
4570
  });
4585
4571
  }).catch((_) => {
4586
4572
  console.log(_);
4587
4573
  });
4588
4574
  };
4589
- Object.keys(kt).forEach((u) => {
4590
- Ut(u, kt[u]);
4575
+ Object.keys(Rt).forEach((u) => {
4576
+ Nt(u, Rt[u]);
4591
4577
  });
4592
- const v = () => {
4593
- zn(s);
4578
+ const g = () => {
4579
+ jn(s);
4594
4580
  }, S = () => {
4595
4581
  r(20, P = N());
4596
4582
  const u = new URL(`${o}/v1/player/${m}/verification/GetKYCCustomerStatus?language=${s}`), _ = new Headers();
4597
- _.append("accept", "application/json"), _.append("Content-Type", "application/json"), _.append("x-sessionid", `${d}`), _.append("X-Client-Request-Timestamp", Xt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4583
+ _.append("accept", "application/json"), _.append("Content-Type", "application/json"), _.append("x-sessionid", `${d}`), _.append("X-Client-Request-Timestamp", zt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4598
4584
  const B = {
4599
4585
  method: "POST",
4600
4586
  headers: _,
4601
4587
  body: JSON.stringify({})
4602
4588
  };
4603
4589
  r(9, re = !0), fetch(u, B).then((V) => V.json()).then((V) => {
4604
- const fe = T(V == null ? void 0 : V.Verifications);
4605
- O = k(fe), O.VerificationStatuses.forEach((Re) => {
4590
+ const he = T(V == null ? void 0 : V.Verifications);
4591
+ O = k(he), O.VerificationStatuses.forEach((Re) => {
4606
4592
  Re.VerificationUrlType !== "Widget" && c.add(Re.Vendor);
4607
- }), r(4, D = ee());
4593
+ }), r(4, I = ee());
4608
4594
  }).finally(() => r(9, re = !1));
4609
- }, T = (u) => u ? u.sort((_, B) => new Date(B.Created).getTime() - new Date(_.Created).getTime()) : [], I = () => {
4595
+ }, T = (u) => u ? u.sort((_, B) => new Date(B.Created).getTime() - new Date(_.Created).getTime()) : [], D = () => {
4610
4596
  n && S();
4611
4597
  }, N = () => {
4612
- let u = (h || n).split(".")[1];
4598
+ let u = (f || n).split(".")[1];
4613
4599
  if (u) {
4614
4600
  let _ = JSON.parse(atob(u));
4615
4601
  return _.cdn + "/cashier/operator-assets/" + (_ == null ? void 0 : _.mid);
@@ -4622,7 +4608,7 @@ function go(e, t, r) {
4622
4608
  VerificationSummaryStatus: j.Unverified,
4623
4609
  VerificationStatuses: []
4624
4610
  };
4625
- const _ = he(u);
4611
+ const _ = fe(u);
4626
4612
  if (_ && _.length) {
4627
4613
  const V = G(_);
4628
4614
  return {
@@ -4632,22 +4618,22 @@ function go(e, t, r) {
4632
4618
  };
4633
4619
  } else
4634
4620
  return {
4635
- VerificationSummaryStatus: u.some((fe) => fe.Status === j.Failed) ? j.Failed : j.Verified,
4621
+ VerificationSummaryStatus: u.some((he) => he.Status === j.Failed) ? j.Failed : j.Verified,
4636
4622
  VerificationStatuses: X(u, [j.Failed])
4637
4623
  };
4638
4624
  }, G = (u) => u.reduce(
4639
4625
  (_, B) => _ ? new Date(_) < new Date(B) ? B : _ : B,
4640
4626
  0
4641
4627
  ), X = (u, _) => u.filter((B) => _.includes(B.Status)).map((B) => {
4642
- var V, fe;
4628
+ var V, he;
4643
4629
  return {
4644
4630
  Type: B.Type,
4645
4631
  Vendor: B.VendorName,
4646
4632
  VerificationDocuments: B.Documents ? [...B.Documents] : [],
4647
4633
  VerificationUrlType: (V = B.FlowInfo) == null ? void 0 : V.Type,
4648
- VerificationUrl: (fe = B.FlowInfo) == null ? void 0 : fe.Url
4634
+ VerificationUrl: (he = B.FlowInfo) == null ? void 0 : he.Url
4649
4635
  };
4650
- }), he = (u) => u.filter((_) => p.includes(_.Status) ? _.FlowInfo && _.FlowInfo.Url || ie(_) || pe(_) : !1), ie = (u) => {
4636
+ }), fe = (u) => u.filter((_) => p.includes(_.Status) ? _.FlowInfo && _.FlowInfo.Url || ie(_) || pe(_) : !1), ie = (u) => {
4651
4637
  const _ = u.Documents && u.VendorName === A.Manual, B = u.Documents && u.Documents.some((V) => V.Status === le.Requested);
4652
4638
  return _ && B;
4653
4639
  }, pe = (u) => u.VendorName === A.ShuftiPro && u.Status === j.Referred, ee = () => {
@@ -4678,24 +4664,24 @@ function go(e, t, r) {
4678
4664
  w.Documents,
4679
4665
  w.ProofOfAddress
4680
4666
  ];
4681
- u.forEach((ve) => {
4682
- V.includes(ve.Type) && (_.push(ve.Type), B[ve.Type] = me(ve, ye(ve.Type)));
4667
+ u.forEach((ge) => {
4668
+ V.includes(ge.Type) && (_.push(ge.Type), B[ge.Type] = me(ge, ye(ge.Type)));
4683
4669
  });
4684
- let fe = _.every((ve) => b.has(ve)), Re = `verification.shuftipro.in-progress.${_.sort().join(".")}`;
4685
- return fe ? i("verification.shuftipro.validations-started") : i(Re, { values: B });
4670
+ let he = _.every((ge) => b.has(ge)), Re = `verification.shuftipro.in-progress.${_.sort().join(".")}`;
4671
+ return he ? i("verification.shuftipro.validations-started") : i(Re, { values: B });
4686
4672
  }, me = (u, _) => `<a class="verificationLink ${u.Type}" href=" ${u.VerificationUrl} " target="_blank">${_}</a>`, ye = (u) => i(`verification.shuftipro.link-name.${u}`), Ye = (u, _) => {
4687
4673
  if (u.stopPropagation(), u.target && (u.target.href || u.target.closest("a"))) {
4688
4674
  if (u.target.closest(".verificationLink")) {
4689
4675
  const B = u.target.className.split(" ")[1];
4690
- b.add(B), r(4, D = ee());
4676
+ b.add(B), r(4, I = ee());
4691
4677
  }
4692
4678
  return;
4693
4679
  }
4694
4680
  _ === 0 && r(5, Y = !Y);
4695
- }, Ir = () => {
4696
- r(6, R = !ao(U));
4697
- }, Lr = () => {
4698
- r(8, Q = P + "/" + s + "/" + vo);
4681
+ }, Mr = () => {
4682
+ r(6, R = !oo(U));
4683
+ }, Cr = () => {
4684
+ r(8, Q = P + "/" + s + "/" + po);
4699
4685
  try {
4700
4686
  fetch(Q, { method: "HEAD" }).then((u) => {
4701
4687
  r(7, F = u.ok);
@@ -4703,32 +4689,32 @@ function go(e, t, r) {
4703
4689
  } catch (u) {
4704
4690
  r(7, F = !1);
4705
4691
  }
4706
- }, Nr = () => {
4692
+ }, Ir = () => {
4707
4693
  r(10, K = "video");
4708
- }, Rr = (u, _) => Ye(_, u), Ur = (u, _) => Ye(_, u);
4709
- function kr(u) {
4710
- Zr[u ? "unshift" : "push"](() => {
4694
+ }, Dr = (u, _) => Ye(_, u), Lr = (u, _) => Ye(_, u);
4695
+ function Nr(u) {
4696
+ zr[u ? "unshift" : "push"](() => {
4711
4697
  E = u, r(3, E);
4712
4698
  });
4713
4699
  }
4714
4700
  return e.$$set = (u) => {
4715
- "endpoint" in u && r(14, o = u.endpoint), "lang" in u && r(15, s = u.lang), "translationurl" in u && r(16, a = u.translationurl), "clientstyling" in u && r(0, l = u.clientstyling), "clientstylingurl" in u && r(1, f = u.clientstylingurl), "session" in u && r(17, h = u.session), "customerid" in u && r(18, m = u.customerid), "playersession" in u && r(19, d = u.playersession), "mbsource" in u && r(2, y = u.mbsource);
4701
+ "endpoint" in u && r(14, o = u.endpoint), "lang" in u && r(15, s = u.lang), "translationurl" in u && r(16, a = u.translationurl), "clientstyling" in u && r(0, l = u.clientstyling), "clientstylingurl" in u && r(1, h = u.clientstylingurl), "session" in u && r(17, f = u.session), "customerid" in u && r(18, m = u.customerid), "playersession" in u && r(19, d = u.playersession), "mbsource" in u && r(2, y = u.mbsource);
4716
4702
  }, e.$$.update = () => {
4717
4703
  e.$$.dirty[0] & /*lang*/
4718
- 32768 && s && v(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4719
- 671744 && o && h && d && S(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4720
- 671744 && o && !h && d && I(), e.$$.dirty[0] & /*translationurl*/
4704
+ 32768 && s && g(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4705
+ 671744 && o && f && d && S(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4706
+ 671744 && o && !f && d && D(), e.$$.dirty[0] & /*translationurl*/
4721
4707
  65536 && a && x(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4722
- 9 && l && E && ei(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4723
- 10 && f && E && qr(), e.$$.dirty[0] & /*staticCdnUrl*/
4724
- 1048576 && P && Lr(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4725
- 12 && y && E && Yr(E, `${y}.Style`);
4708
+ 9 && l && E && Jr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4709
+ 10 && h && E && Wr(), e.$$.dirty[0] & /*staticCdnUrl*/
4710
+ 1048576 && P && Cr(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4711
+ 12 && y && E && Xr(E, `${y}.Style`);
4726
4712
  }, [
4727
4713
  l,
4728
- f,
4714
+ h,
4729
4715
  y,
4730
4716
  E,
4731
- D,
4717
+ I,
4732
4718
  Y,
4733
4719
  R,
4734
4720
  F,
@@ -4737,27 +4723,27 @@ function go(e, t, r) {
4737
4723
  K,
4738
4724
  i,
4739
4725
  Ye,
4740
- Nr,
4726
+ Ir,
4741
4727
  o,
4742
4728
  s,
4743
4729
  a,
4744
- h,
4730
+ f,
4745
4731
  m,
4746
4732
  d,
4747
4733
  P,
4748
- Rr,
4749
- Ur,
4750
- kr
4734
+ Dr,
4735
+ Lr,
4736
+ Nr
4751
4737
  ];
4752
4738
  }
4753
- class bo extends jr {
4739
+ class go extends Fr {
4754
4740
  constructor(t) {
4755
- super(), $r(
4741
+ super(), Vr(
4756
4742
  this,
4757
4743
  t,
4758
- go,
4759
4744
  mo,
4760
- Qt,
4745
+ co,
4746
+ Zt,
4761
4747
  {
4762
4748
  endpoint: 14,
4763
4749
  lang: 15,
@@ -4769,7 +4755,7 @@ class bo extends jr {
4769
4755
  playersession: 19,
4770
4756
  mbsource: 2
4771
4757
  },
4772
- fo,
4758
+ lo,
4773
4759
  [-1, -1]
4774
4760
  );
4775
4761
  }
@@ -4828,7 +4814,7 @@ class bo extends jr {
4828
4814
  this.$$set({ mbsource: t }), ne();
4829
4815
  }
4830
4816
  }
4831
- zr(bo, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
4817
+ Gr(go, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
4832
4818
  export {
4833
- bo as default
4819
+ go as default
4834
4820
  };