@everymatrix/cashier-verifications 1.74.10 → 1.75.0

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