@everymatrix/cashier-verifications 1.85.21 → 1.85.22

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,11 +1,11 @@
1
- import { n as ve, s as Qt, a as Vr, r as Fr, i as Gr, c as jr, S as $r, b as zr, f as ne, d as Wr, e as he, t as ue, g as fe, h as Z, j as D, k as _t, o as Xr, l as qr, m as Ne, p as wt, q as Yr, u as Kt, v as z, w as er, x as ke, y as xe, z as tr, A as Zr, B as Jr, C as Qr } from "./CashierModal-DHrU_qq9.js";
1
+ import { n as ve, s as Qt, a as Vr, r as Fr, i as Gr, c as jr, S as $r, b as zr, f as ne, d as Wr, e as he, t as ue, g as fe, h as Z, j as D, k as _t, o as Xr, l as Yr, m as Ne, p as wt, q as qr, u as Kt, v as z, w as er, x as ke, y as xe, z as tr, A as Zr, B as Jr, C as Qr } from "./CashierModal-DozCEzqK.js";
2
2
  const ye = [];
3
3
  function Kr(e, t) {
4
4
  return {
5
- subscribe: Me(e, t).subscribe
5
+ subscribe: Be(e, t).subscribe
6
6
  };
7
7
  }
8
- function Me(e, t = ve) {
8
+ function Be(e, t = ve) {
9
9
  let r;
10
10
  const i = /* @__PURE__ */ new Set();
11
11
  function n(a) {
@@ -283,7 +283,7 @@ function st(e) {
283
283
  return !!(e && typeof e == "object" && e.type === _e.dateTime);
284
284
  }
285
285
  var dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ti = /(?:[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;
286
- function Pi(e) {
286
+ function Hi(e) {
287
287
  var t = {};
288
288
  return e.replace(Ti, function(r) {
289
289
  var i = r.length;
@@ -385,7 +385,7 @@ var F = function() {
385
385
  }, F.apply(this, arguments);
386
386
  };
387
387
  var Oi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
388
- function Hi(e) {
388
+ function Pi(e) {
389
389
  if (e.length === 0)
390
390
  throw new Error("Number skeleton cannot be empty");
391
391
  for (var t = e.split(Oi).filter(function(v) {
@@ -406,7 +406,7 @@ function Hi(e) {
406
406
  function Ai(e) {
407
407
  return e.replace(/^(.*?)-/, "");
408
408
  }
409
- var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, Bi = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
409
+ var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, Mi = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
410
410
  function Ot(e) {
411
411
  var t = {};
412
412
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pr, function(r, i, n) {
@@ -453,7 +453,7 @@ function vr(e) {
453
453
  };
454
454
  }
455
455
  }
456
- function Mi(e) {
456
+ function Bi(e) {
457
457
  var t;
458
458
  if (e[0] === "E" && e[1] === "E" ? (t = {
459
459
  notation: "engineering"
@@ -467,7 +467,7 @@ function Mi(e) {
467
467
  }
468
468
  return t;
469
469
  }
470
- function Ht(e) {
470
+ function Pt(e) {
471
471
  var t = {}, r = vr(e);
472
472
  return r || t;
473
473
  }
@@ -507,12 +507,12 @@ function Ci(e) {
507
507
  continue;
508
508
  case "scientific":
509
509
  t = F(F(F({}, t), { notation: "scientific" }), n.options.reduce(function(u, h) {
510
- return F(F({}, u), Ht(h));
510
+ return F(F({}, u), Pt(h));
511
511
  }, {}));
512
512
  continue;
513
513
  case "engineering":
514
514
  t = F(F(F({}, t), { notation: "engineering" }), n.options.reduce(function(u, h) {
515
- return F(F({}, u), Ht(h));
515
+ return F(F({}, u), Pt(h));
516
516
  }, {}));
517
517
  continue;
518
518
  case "notation-simple":
@@ -557,7 +557,7 @@ function Ci(e) {
557
557
  case "integer-width":
558
558
  if (n.options.length > 1)
559
559
  throw new RangeError("integer-width stems only accept a single optional option");
560
- n.options[0].replace(Bi, function(u, h, f, p, v, y) {
560
+ n.options[0].replace(Mi, function(u, h, f, p, v, y) {
561
561
  if (h)
562
562
  t.minimumIntegerDigits = f.length;
563
563
  else {
@@ -574,10 +574,10 @@ function Ci(e) {
574
574
  t.minimumIntegerDigits = n.stem.length;
575
575
  continue;
576
576
  }
577
- if (Pt.test(n.stem)) {
577
+ if (Ht.test(n.stem)) {
578
578
  if (n.options.length > 1)
579
579
  throw new RangeError("Fraction-precision stems only accept a single optional option");
580
- n.stem.replace(Pt, function(u, h, f, p, v, y) {
580
+ n.stem.replace(Ht, function(u, h, f, p, v, y) {
581
581
  return f === "*" ? t.minimumFractionDigits = h.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : v && y ? (t.minimumFractionDigits = v.length, t.maximumFractionDigits = v.length + y.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
582
582
  });
583
583
  var o = n.options[0];
@@ -590,7 +590,7 @@ function Ci(e) {
590
590
  }
591
591
  var s = vr(n.stem);
592
592
  s && (t = F(F({}, t), s));
593
- var a = Mi(n.stem);
593
+ var a = Bi(n.stem);
594
594
  a && (t = F(F({}, t), a));
595
595
  }
596
596
  return t;
@@ -2049,7 +2049,7 @@ function Di(e) {
2049
2049
  return n[0];
2050
2050
  }
2051
2051
  var tt, Li = new RegExp("^".concat(dr.source, "*")), Ni = new RegExp("".concat(dr.source, "*$"));
2052
- function M(e, t) {
2052
+ function B(e, t) {
2053
2053
  return { start: e, end: t };
2054
2054
  }
2055
2055
  var ki = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ri = !!String.fromCodePoint, Ui = !!Object.fromEntries, Vi = !!String.prototype.codePointAt, Fi = !!String.prototype.trimStart, Gi = !!String.prototype.trimEnd, ji = !!Number.isSafeInteger, $i = ji ? Number.isSafeInteger : function(e) {
@@ -2083,7 +2083,7 @@ var At = ki ? (
2083
2083
  }
2084
2084
  return i;
2085
2085
  }
2086
- ), Bt = (
2086
+ ), Mt = (
2087
2087
  // native
2088
2088
  Ui ? Object.fromEntries : (
2089
2089
  // Ponyfill
@@ -2135,11 +2135,11 @@ function br(e, t) {
2135
2135
  }
2136
2136
  var lt;
2137
2137
  if (at) {
2138
- var Mt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2138
+ var Bt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2139
2139
  lt = function(t, r) {
2140
2140
  var i;
2141
- Mt.lastIndex = r;
2142
- var n = Mt.exec(t);
2141
+ Bt.lastIndex = r;
2142
+ var n = Bt.exec(t);
2143
2143
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2144
2144
  };
2145
2145
  } else
@@ -2152,7 +2152,7 @@ if (at) {
2152
2152
  }
2153
2153
  return ut.apply(void 0, i);
2154
2154
  };
2155
- var qi = (
2155
+ var Yi = (
2156
2156
  /** @class */
2157
2157
  function() {
2158
2158
  function e(t, r) {
@@ -2177,12 +2177,12 @@ var qi = (
2177
2177
  var a = this.clonePosition();
2178
2178
  this.bump(), n.push({
2179
2179
  type: U.pound,
2180
- location: M(a, this.clonePosition())
2180
+ location: B(a, this.clonePosition())
2181
2181
  });
2182
2182
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2183
2183
  if (i)
2184
2184
  break;
2185
- return this.error(A.UNMATCHED_CLOSING_TAG, M(this.clonePosition(), this.clonePosition()));
2185
+ return this.error(A.UNMATCHED_CLOSING_TAG, B(this.clonePosition(), this.clonePosition()));
2186
2186
  } else if (o === 60 && !this.ignoreTag && ht(this.peek() || 0)) {
2187
2187
  var s = this.parseTag(t, r);
2188
2188
  if (s.err)
@@ -2206,7 +2206,7 @@ var qi = (
2206
2206
  val: {
2207
2207
  type: U.literal,
2208
2208
  value: "<".concat(n, "/>"),
2209
- location: M(i, this.clonePosition())
2209
+ location: B(i, this.clonePosition())
2210
2210
  },
2211
2211
  err: null
2212
2212
  };
@@ -2217,21 +2217,21 @@ var qi = (
2217
2217
  var s = o.val, a = this.clonePosition();
2218
2218
  if (this.bumpIf("</")) {
2219
2219
  if (this.isEOF() || !ht(this.char()))
2220
- return this.error(A.INVALID_TAG, M(a, this.clonePosition()));
2220
+ return this.error(A.INVALID_TAG, B(a, this.clonePosition()));
2221
2221
  var u = this.clonePosition(), h = this.parseTagName();
2222
- return n !== h ? this.error(A.UNMATCHED_CLOSING_TAG, M(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2222
+ return n !== h ? this.error(A.UNMATCHED_CLOSING_TAG, B(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2223
2223
  val: {
2224
2224
  type: U.tag,
2225
2225
  value: n,
2226
2226
  children: s,
2227
- location: M(i, this.clonePosition())
2227
+ location: B(i, this.clonePosition())
2228
2228
  },
2229
2229
  err: null
2230
- } : this.error(A.INVALID_TAG, M(a, this.clonePosition())));
2230
+ } : this.error(A.INVALID_TAG, B(a, this.clonePosition())));
2231
2231
  } else
2232
- return this.error(A.UNCLOSED_TAG, M(i, this.clonePosition()));
2232
+ return this.error(A.UNCLOSED_TAG, B(i, this.clonePosition()));
2233
2233
  } else
2234
- return this.error(A.INVALID_TAG, M(i, this.clonePosition()));
2234
+ return this.error(A.INVALID_TAG, B(i, this.clonePosition()));
2235
2235
  }, e.prototype.parseTagName = function() {
2236
2236
  var t = this.offset();
2237
2237
  for (this.bump(); !this.isEOF() && Zi(this.char()); )
@@ -2256,14 +2256,14 @@ var qi = (
2256
2256
  }
2257
2257
  break;
2258
2258
  }
2259
- var u = M(i, this.clonePosition());
2259
+ var u = B(i, this.clonePosition());
2260
2260
  return {
2261
2261
  val: { type: U.literal, value: n, location: u },
2262
2262
  err: null
2263
2263
  };
2264
2264
  }, e.prototype.tryParseLeftAngleBracket = function() {
2265
2265
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2266
- !Yi(this.peek() || 0)) ? (this.bump(), "<") : null;
2266
+ !qi(this.peek() || 0)) ? (this.bump(), "<") : null;
2267
2267
  }, e.prototype.tryParseQuote = function(t) {
2268
2268
  if (this.isEOF() || this.char() !== 39)
2269
2269
  return null;
@@ -2306,14 +2306,14 @@ var qi = (
2306
2306
  }, e.prototype.parseArgument = function(t, r) {
2307
2307
  var i = this.clonePosition();
2308
2308
  if (this.bump(), this.bumpSpace(), this.isEOF())
2309
- return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, M(i, this.clonePosition()));
2309
+ return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, B(i, this.clonePosition()));
2310
2310
  if (this.char() === 125)
2311
- return this.bump(), this.error(A.EMPTY_ARGUMENT, M(i, this.clonePosition()));
2311
+ return this.bump(), this.error(A.EMPTY_ARGUMENT, B(i, this.clonePosition()));
2312
2312
  var n = this.parseIdentifierIfPossible().value;
2313
2313
  if (!n)
2314
- return this.error(A.MALFORMED_ARGUMENT, M(i, this.clonePosition()));
2314
+ return this.error(A.MALFORMED_ARGUMENT, B(i, this.clonePosition()));
2315
2315
  if (this.bumpSpace(), this.isEOF())
2316
- return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, M(i, this.clonePosition()));
2316
+ return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, B(i, this.clonePosition()));
2317
2317
  switch (this.char()) {
2318
2318
  case 125:
2319
2319
  return this.bump(), {
@@ -2321,25 +2321,25 @@ var qi = (
2321
2321
  type: U.argument,
2322
2322
  // value does not include the opening and closing braces.
2323
2323
  value: n,
2324
- location: M(i, this.clonePosition())
2324
+ location: B(i, this.clonePosition())
2325
2325
  },
2326
2326
  err: null
2327
2327
  };
2328
2328
  case 44:
2329
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, M(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2329
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, B(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2330
2330
  default:
2331
- return this.error(A.MALFORMED_ARGUMENT, M(i, this.clonePosition()));
2331
+ return this.error(A.MALFORMED_ARGUMENT, B(i, this.clonePosition()));
2332
2332
  }
2333
2333
  }, e.prototype.parseIdentifierIfPossible = function() {
2334
2334
  var t = this.clonePosition(), r = this.offset(), i = lt(this.message, r), n = r + i.length;
2335
2335
  this.bumpTo(n);
2336
- var o = this.clonePosition(), s = M(t, o);
2336
+ var o = this.clonePosition(), s = B(t, o);
2337
2337
  return { value: i, location: s };
2338
2338
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
2339
2339
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2340
2340
  switch (a) {
2341
2341
  case "":
2342
- return this.error(A.EXPECT_ARGUMENT_TYPE, M(s, u));
2342
+ return this.error(A.EXPECT_ARGUMENT_TYPE, B(s, u));
2343
2343
  case "number":
2344
2344
  case "date":
2345
2345
  case "time": {
@@ -2352,14 +2352,14 @@ var qi = (
2352
2352
  return p;
2353
2353
  var v = Xi(p.val);
2354
2354
  if (v.length === 0)
2355
- return this.error(A.EXPECT_ARGUMENT_STYLE, M(this.clonePosition(), this.clonePosition()));
2356
- var y = M(f, this.clonePosition());
2355
+ return this.error(A.EXPECT_ARGUMENT_STYLE, B(this.clonePosition(), this.clonePosition()));
2356
+ var y = B(f, this.clonePosition());
2357
2357
  h = { style: v, styleLocation: y };
2358
2358
  }
2359
2359
  var _ = this.tryParseArgumentClose(n);
2360
2360
  if (_.err)
2361
2361
  return _;
2362
- var c = M(n, this.clonePosition());
2362
+ var c = B(n, this.clonePosition());
2363
2363
  if (h && At(h?.style, "::", 0)) {
2364
2364
  var L = Wi(h.style.slice(2));
2365
2365
  if (a === "number") {
@@ -2377,10 +2377,10 @@ var qi = (
2377
2377
  type: _e.dateTime,
2378
2378
  pattern: k,
2379
2379
  location: h.styleLocation,
2380
- parsedOptions: this.shouldParseSkeletons ? Pi(k) : {}
2381
- }, H = a === "date" ? U.date : U.time;
2380
+ parsedOptions: this.shouldParseSkeletons ? Hi(k) : {}
2381
+ }, P = a === "date" ? U.date : U.time;
2382
2382
  return {
2383
- val: { type: H, value: i, location: c, style: v },
2383
+ val: { type: P, value: i, location: c, style: v },
2384
2384
  err: null
2385
2385
  };
2386
2386
  }
@@ -2400,30 +2400,30 @@ var qi = (
2400
2400
  case "select": {
2401
2401
  var T = this.clonePosition();
2402
2402
  if (this.bumpSpace(), !this.bumpIf(","))
2403
- return this.error(A.EXPECT_SELECT_ARGUMENT_OPTIONS, M(T, je({}, T)));
2403
+ return this.error(A.EXPECT_SELECT_ARGUMENT_OPTIONS, B(T, je({}, T)));
2404
2404
  this.bumpSpace();
2405
- var P = this.parseIdentifierIfPossible(), I = 0;
2406
- if (a !== "select" && P.value === "offset") {
2405
+ var H = this.parseIdentifierIfPossible(), I = 0;
2406
+ if (a !== "select" && H.value === "offset") {
2407
2407
  if (!this.bumpIf(":"))
2408
- return this.error(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, M(this.clonePosition(), this.clonePosition()));
2408
+ return this.error(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, B(this.clonePosition(), this.clonePosition()));
2409
2409
  this.bumpSpace();
2410
2410
  var p = this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2411
2411
  if (p.err)
2412
2412
  return p;
2413
- this.bumpSpace(), P = this.parseIdentifierIfPossible(), I = p.val;
2413
+ this.bumpSpace(), H = this.parseIdentifierIfPossible(), I = p.val;
2414
2414
  }
2415
- var O = this.tryParsePluralOrSelectOptions(t, a, r, P);
2415
+ var O = this.tryParsePluralOrSelectOptions(t, a, r, H);
2416
2416
  if (O.err)
2417
2417
  return O;
2418
2418
  var _ = this.tryParseArgumentClose(n);
2419
2419
  if (_.err)
2420
2420
  return _;
2421
- var W = M(n, this.clonePosition());
2421
+ var W = B(n, this.clonePosition());
2422
2422
  return a === "select" ? {
2423
2423
  val: {
2424
2424
  type: U.select,
2425
2425
  value: i,
2426
- options: Bt(O.val),
2426
+ options: Mt(O.val),
2427
2427
  location: W
2428
2428
  },
2429
2429
  err: null
@@ -2431,7 +2431,7 @@ var qi = (
2431
2431
  val: {
2432
2432
  type: U.plural,
2433
2433
  value: i,
2434
- options: Bt(O.val),
2434
+ options: Mt(O.val),
2435
2435
  offset: I,
2436
2436
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2437
2437
  location: W
@@ -2440,10 +2440,10 @@ var qi = (
2440
2440
  };
2441
2441
  }
2442
2442
  default:
2443
- return this.error(A.INVALID_ARGUMENT_TYPE, M(s, u));
2443
+ return this.error(A.INVALID_ARGUMENT_TYPE, B(s, u));
2444
2444
  }
2445
2445
  }, e.prototype.tryParseArgumentClose = function(t) {
2446
- return this.isEOF() || this.char() !== 125 ? this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, M(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2446
+ return this.isEOF() || this.char() !== 125 ? this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, B(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2447
2447
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2448
2448
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2449
2449
  var i = this.char();
@@ -2452,7 +2452,7 @@ var qi = (
2452
2452
  this.bump();
2453
2453
  var n = this.clonePosition();
2454
2454
  if (!this.bumpUntil("'"))
2455
- return this.error(A.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, M(n, this.clonePosition()));
2455
+ return this.error(A.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, B(n, this.clonePosition()));
2456
2456
  this.bump();
2457
2457
  break;
2458
2458
  }
@@ -2482,7 +2482,7 @@ var qi = (
2482
2482
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2483
2483
  var i = [];
2484
2484
  try {
2485
- i = Hi(t);
2485
+ i = Pi(t);
2486
2486
  } catch {
2487
2487
  return this.error(A.INVALID_NUMBER_SKELETON, r);
2488
2488
  }
@@ -2503,7 +2503,7 @@ var qi = (
2503
2503
  var v = this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_SELECTOR, A.INVALID_PLURAL_ARGUMENT_SELECTOR);
2504
2504
  if (v.err)
2505
2505
  return v;
2506
- f = M(p, this.clonePosition()), h = this.message.slice(p.offset, this.offset());
2506
+ f = B(p, this.clonePosition()), h = this.message.slice(p.offset, this.offset());
2507
2507
  } else
2508
2508
  break;
2509
2509
  }
@@ -2512,7 +2512,7 @@ var qi = (
2512
2512
  h === "other" && (s = !0), this.bumpSpace();
2513
2513
  var y = this.clonePosition();
2514
2514
  if (!this.bumpIf("{"))
2515
- return this.error(r === "select" ? A.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : A.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, M(this.clonePosition(), this.clonePosition()));
2515
+ return this.error(r === "select" ? A.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : A.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, B(this.clonePosition(), this.clonePosition()));
2516
2516
  var _ = this.parseMessage(t + 1, r, i);
2517
2517
  if (_.err)
2518
2518
  return _;
@@ -2523,11 +2523,11 @@ var qi = (
2523
2523
  h,
2524
2524
  {
2525
2525
  value: _.val,
2526
- location: M(y, this.clonePosition())
2526
+ location: B(y, this.clonePosition())
2527
2527
  }
2528
2528
  ]), u.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, f = o.location;
2529
2529
  }
2530
- return a.length === 0 ? this.error(r === "select" ? A.EXPECT_SELECT_ARGUMENT_SELECTOR : A.EXPECT_PLURAL_ARGUMENT_SELECTOR, M(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(A.MISSING_OTHER_CLAUSE, M(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2530
+ return a.length === 0 ? this.error(r === "select" ? A.EXPECT_SELECT_ARGUMENT_SELECTOR : A.EXPECT_PLURAL_ARGUMENT_SELECTOR, B(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(A.MISSING_OTHER_CLAUSE, B(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2531
2531
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2532
2532
  var i = 1, n = this.clonePosition();
2533
2533
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
@@ -2538,7 +2538,7 @@ var qi = (
2538
2538
  else
2539
2539
  break;
2540
2540
  }
2541
- var u = M(n, this.clonePosition());
2541
+ var u = B(n, this.clonePosition());
2542
2542
  return o ? (s *= i, $i(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
2543
2543
  }, e.prototype.offset = function() {
2544
2544
  return this.position.offset;
@@ -2608,7 +2608,7 @@ var qi = (
2608
2608
  function ht(e) {
2609
2609
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
2610
2610
  }
2611
- function Yi(e) {
2611
+ function qi(e) {
2612
2612
  return ht(e) || e === 47;
2613
2613
  }
2614
2614
  function Zi(e) {
@@ -2631,7 +2631,7 @@ function ft(e) {
2631
2631
  }
2632
2632
  function Qi(e, t) {
2633
2633
  t === void 0 && (t = {}), t = je({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2634
- var r = new qi(e, t).parse();
2634
+ var r = new Yi(e, t).parse();
2635
2635
  if (r.err) {
2636
2636
  var i = SyntaxError(A[r.err.kind]);
2637
2637
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
@@ -2642,7 +2642,7 @@ var we;
2642
2642
  (function(e) {
2643
2643
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
2644
2644
  })(we || (we = {}));
2645
- var qe = (
2645
+ var Ye = (
2646
2646
  /** @class */
2647
2647
  function(e) {
2648
2648
  Xe(t, e);
@@ -2662,7 +2662,7 @@ var qe = (
2662
2662
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), we.INVALID_VALUE, o) || this;
2663
2663
  }
2664
2664
  return t;
2665
- }(qe)
2665
+ }(Ye)
2666
2666
  ), Ki = (
2667
2667
  /** @class */
2668
2668
  function(e) {
@@ -2671,7 +2671,7 @@ var qe = (
2671
2671
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), we.INVALID_VALUE, n) || this;
2672
2672
  }
2673
2673
  return t;
2674
- }(qe)
2674
+ }(Ye)
2675
2675
  ), en = (
2676
2676
  /** @class */
2677
2677
  function(e) {
@@ -2680,15 +2680,15 @@ var qe = (
2680
2680
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), we.MISSING_VALUE, i) || this;
2681
2681
  }
2682
2682
  return t;
2683
- }(qe)
2684
- ), q;
2683
+ }(Ye)
2684
+ ), Y;
2685
2685
  (function(e) {
2686
2686
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
2687
- })(q || (q = {}));
2687
+ })(Y || (Y = {}));
2688
2688
  function tn(e) {
2689
2689
  return e.length < 2 ? e : e.reduce(function(t, r) {
2690
2690
  var i = t[t.length - 1];
2691
- return !i || i.type !== q.literal || r.type !== q.literal ? t.push(r) : i.value += r.value, t;
2691
+ return !i || i.type !== Y.literal || r.type !== Y.literal ? t.push(r) : i.value += r.value, t;
2692
2692
  }, []);
2693
2693
  }
2694
2694
  function rn(e) {
@@ -2698,7 +2698,7 @@ function Ve(e, t, r, i, n, o, s) {
2698
2698
  if (e.length === 1 && Tt(e[0]))
2699
2699
  return [
2700
2700
  {
2701
- type: q.literal,
2701
+ type: Y.literal,
2702
2702
  value: e[0].value
2703
2703
  }
2704
2704
  ];
@@ -2706,14 +2706,14 @@ function Ve(e, t, r, i, n, o, s) {
2706
2706
  var f = h[u];
2707
2707
  if (Tt(f)) {
2708
2708
  a.push({
2709
- type: q.literal,
2709
+ type: Y.literal,
2710
2710
  value: f.value
2711
2711
  });
2712
2712
  continue;
2713
2713
  }
2714
2714
  if (Si(f)) {
2715
2715
  typeof o == "number" && a.push({
2716
- type: q.literal,
2716
+ type: Y.literal,
2717
2717
  value: r.getNumberFormat(t).format(o)
2718
2718
  });
2719
2719
  continue;
@@ -2724,7 +2724,7 @@ function Ve(e, t, r, i, n, o, s) {
2724
2724
  var v = n[p];
2725
2725
  if (wi(f)) {
2726
2726
  (!v || typeof v == "string" || typeof v == "number") && (v = typeof v == "string" || typeof v == "number" ? String(v) : ""), a.push({
2727
- type: typeof v == "string" ? q.literal : q.object,
2727
+ type: typeof v == "string" ? Y.literal : Y.object,
2728
2728
  value: v
2729
2729
  });
2730
2730
  continue;
@@ -2732,7 +2732,7 @@ function Ve(e, t, r, i, n, o, s) {
2732
2732
  if (ar(f)) {
2733
2733
  var y = typeof f.style == "string" ? i.date[f.style] : st(f.style) ? f.style.parsedOptions : void 0;
2734
2734
  a.push({
2735
- type: q.literal,
2735
+ type: Y.literal,
2736
2736
  value: r.getDateTimeFormat(t, y).format(v)
2737
2737
  });
2738
2738
  continue;
@@ -2740,7 +2740,7 @@ function Ve(e, t, r, i, n, o, s) {
2740
2740
  if (ur(f)) {
2741
2741
  var y = typeof f.style == "string" ? i.time[f.style] : st(f.style) ? f.style.parsedOptions : i.time.medium;
2742
2742
  a.push({
2743
- type: q.literal,
2743
+ type: Y.literal,
2744
2744
  value: r.getDateTimeFormat(t, y).format(v)
2745
2745
  });
2746
2746
  continue;
@@ -2748,7 +2748,7 @@ function Ve(e, t, r, i, n, o, s) {
2748
2748
  if (sr(f)) {
2749
2749
  var y = typeof f.style == "string" ? i.number[f.style] : cr(f.style) ? f.style.parsedOptions : void 0;
2750
2750
  y && y.scale && (v = v * (y.scale || 1)), a.push({
2751
- type: q.literal,
2751
+ type: Y.literal,
2752
2752
  value: r.getNumberFormat(t, y).format(v)
2753
2753
  });
2754
2754
  continue;
@@ -2757,12 +2757,12 @@ function Ve(e, t, r, i, n, o, s) {
2757
2757
  var _ = f.children, c = f.value, L = n[c];
2758
2758
  if (!rn(L))
2759
2759
  throw new Ki(c, "function", s);
2760
- var k = Ve(_, t, r, i, n, o), H = L(k.map(function(I) {
2760
+ var k = Ve(_, t, r, i, n, o), P = L(k.map(function(I) {
2761
2761
  return I.value;
2762
2762
  }));
2763
- Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(I) {
2763
+ Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(I) {
2764
2764
  return {
2765
- type: typeof I == "string" ? q.literal : q.object,
2765
+ type: typeof I == "string" ? Y.literal : Y.object,
2766
2766
  value: I
2767
2767
  };
2768
2768
  }));
@@ -2778,11 +2778,11 @@ function Ve(e, t, r, i, n, o, s) {
2778
2778
  var T = f.options["=".concat(v)];
2779
2779
  if (!T) {
2780
2780
  if (!Intl.PluralRules)
2781
- throw new qe(`Intl.PluralRules is not available in this environment.
2781
+ throw new Ye(`Intl.PluralRules is not available in this environment.
2782
2782
  Try polyfilling it using "@formatjs/intl-pluralrules"
2783
2783
  `, we.MISSING_INTL_API, s);
2784
- var P = r.getPluralRules(t, { type: f.pluralType }).select(v - (f.offset || 0));
2785
- T = f.options[P] || f.options.other;
2784
+ var H = r.getPluralRules(t, { type: f.pluralType }).select(v - (f.offset || 0));
2785
+ T = f.options[H] || f.options.other;
2786
2786
  }
2787
2787
  if (!T)
2788
2788
  throw new Ct(f.value, v, Object.keys(f.options), s);
@@ -2863,7 +2863,7 @@ var xr = (
2863
2863
  if (h.length === 1)
2864
2864
  return h[0].value;
2865
2865
  var f = h.reduce(function(p, v) {
2866
- return !p.length || v.type !== q.literal || typeof p[p.length - 1] != "string" ? p.push(v.value) : p[p.length - 1] += v.value, p;
2866
+ return !p.length || v.type !== Y.literal || typeof p[p.length - 1] != "string" ? p.push(v.value) : p[p.length - 1] += v.value, p;
2867
2867
  }, []);
2868
2868
  return f.length <= 1 ? f[0] || "" : f;
2869
2869
  }, this.formatToParts = function(u) {
@@ -2994,7 +2994,7 @@ const le = {}, un = (e, t, r) => r && (t in le || (le[t] = {}), e in le[t] || (l
2994
2994
  }
2995
2995
  };
2996
2996
  let xt;
2997
- const Ce = Me({});
2997
+ const Ce = Be({});
2998
2998
  function ln(e) {
2999
2999
  return xt[e] || null;
3000
3000
  }
@@ -3121,9 +3121,9 @@ const xn = {
3121
3121
  warnOnMissingMessages: !0,
3122
3122
  handleMissingMessage: void 0,
3123
3123
  ignoreTag: !0
3124
- }, He = xn;
3124
+ }, Pe = xn;
3125
3125
  function Se() {
3126
- return He;
3126
+ return Pe;
3127
3127
  }
3128
3128
  function En(e) {
3129
3129
  const t = e, { formats: r } = t, i = gn(t, ["formats"]);
@@ -3138,19 +3138,19 @@ function En(e) {
3138
3138
  }
3139
3139
  return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = yn : console.warn(
3140
3140
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3141
- )), Object.assign(He, i, { initialLocale: n }), r && ("number" in r && Object.assign(He.formats.number, r.number), "date" in r && Object.assign(He.formats.date, r.date), "time" in r && Object.assign(He.formats.time, r.time)), ge.set(n);
3141
+ )), Object.assign(Pe, i, { initialLocale: n }), r && ("number" in r && Object.assign(Pe.formats.number, r.number), "date" in r && Object.assign(Pe.formats.date, r.date), "time" in r && Object.assign(Pe.formats.time, r.time)), ge.set(n);
3142
3142
  }
3143
- const it = Me(!1);
3144
- var _n = Object.defineProperty, wn = Object.defineProperties, Sn = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Pn = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? _n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, On = (e, t) => {
3143
+ const it = Be(!1);
3144
+ var _n = Object.defineProperty, wn = Object.defineProperties, Sn = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Hn = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? _n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, On = (e, t) => {
3145
3145
  for (var r in t || (t = {}))
3146
3146
  Tn.call(t, r) && Lt(e, r, t[r]);
3147
3147
  if (Dt)
3148
3148
  for (var r of Dt(t))
3149
- Pn.call(t, r) && Lt(e, r, t[r]);
3149
+ Hn.call(t, r) && Lt(e, r, t[r]);
3150
3150
  return e;
3151
- }, Hn = (e, t) => wn(e, Sn(t));
3151
+ }, Pn = (e, t) => wn(e, Sn(t));
3152
3152
  let ct;
3153
- const ze = Me(null);
3153
+ const ze = Be(null);
3154
3154
  function Nt(e) {
3155
3155
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3156
3156
  }
@@ -3178,81 +3178,81 @@ const An = (e) => {
3178
3178
  });
3179
3179
  }
3180
3180
  return ze.set(e);
3181
- }, ge = Hn(On({}, ze), {
3181
+ }, ge = Pn(On({}, ze), {
3182
3182
  set: An
3183
- }), Ye = (e) => {
3183
+ }), qe = (e) => {
3184
3184
  const t = /* @__PURE__ */ Object.create(null);
3185
3185
  return (i) => {
3186
3186
  const n = JSON.stringify(i);
3187
3187
  return n in t ? t[n] : t[n] = e(i);
3188
3188
  };
3189
3189
  };
3190
- var Bn = Object.defineProperty, We = Object.getOwnPropertySymbols, Pr = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? Bn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
3190
+ var Mn = Object.defineProperty, We = Object.getOwnPropertySymbols, Hr = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
3191
3191
  for (var r in t || (t = {}))
3192
- Pr.call(t, r) && kt(e, r, t[r]);
3192
+ Hr.call(t, r) && kt(e, r, t[r]);
3193
3193
  if (We)
3194
3194
  for (var r of We(t))
3195
3195
  Or.call(t, r) && kt(e, r, t[r]);
3196
3196
  return e;
3197
- }, Pe = (e, t) => {
3197
+ }, He = (e, t) => {
3198
3198
  var r = {};
3199
3199
  for (var i in e)
3200
- Pr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3200
+ Hr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3201
3201
  if (e != null && We)
3202
3202
  for (var i of We(e))
3203
3203
  t.indexOf(i) < 0 && Or.call(e, i) && (r[i] = e[i]);
3204
3204
  return r;
3205
3205
  };
3206
- const Be = (e, t) => {
3206
+ const Me = (e, t) => {
3207
3207
  const { formats: r } = Se();
3208
3208
  if (e in r && t in r[e])
3209
3209
  return r[e][t];
3210
3210
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3211
- }, Mn = Ye(
3211
+ }, Bn = qe(
3212
3212
  (e) => {
3213
- var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3213
+ var t = e, { locale: r, format: i } = t, n = He(t, ["locale", "format"]);
3214
3214
  if (r == null)
3215
3215
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3216
- return i && (n = Be("number", i)), new Intl.NumberFormat(r, n);
3216
+ return i && (n = Me("number", i)), new Intl.NumberFormat(r, n);
3217
3217
  }
3218
- ), Cn = Ye(
3218
+ ), Cn = qe(
3219
3219
  (e) => {
3220
- var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3220
+ var t = e, { locale: r, format: i } = t, n = He(t, ["locale", "format"]);
3221
3221
  if (r == null)
3222
3222
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3223
- return i ? n = Be("date", i) : Object.keys(n).length === 0 && (n = Be("date", "short")), new Intl.DateTimeFormat(r, n);
3223
+ return i ? n = Me("date", i) : Object.keys(n).length === 0 && (n = Me("date", "short")), new Intl.DateTimeFormat(r, n);
3224
3224
  }
3225
- ), In = Ye(
3225
+ ), In = qe(
3226
3226
  (e) => {
3227
- var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3227
+ var t = e, { locale: r, format: i } = t, n = He(t, ["locale", "format"]);
3228
3228
  if (r == null)
3229
3229
  throw new Error(
3230
3230
  '[svelte-i18n] A "locale" must be set to format time values'
3231
3231
  );
3232
- return i ? n = Be("time", i) : Object.keys(n).length === 0 && (n = Be("time", "short")), new Intl.DateTimeFormat(r, n);
3232
+ return i ? n = Me("time", i) : Object.keys(n).length === 0 && (n = Me("time", "short")), new Intl.DateTimeFormat(r, n);
3233
3233
  }
3234
3234
  ), Dn = (e = {}) => {
3235
3235
  var t = e, {
3236
3236
  locale: r = ce()
3237
- } = t, i = Pe(t, [
3237
+ } = t, i = He(t, [
3238
3238
  "locale"
3239
3239
  ]);
3240
- return Mn(Et({ locale: r }, i));
3240
+ return Bn(Et({ locale: r }, i));
3241
3241
  }, Ln = (e = {}) => {
3242
3242
  var t = e, {
3243
3243
  locale: r = ce()
3244
- } = t, i = Pe(t, [
3244
+ } = t, i = He(t, [
3245
3245
  "locale"
3246
3246
  ]);
3247
3247
  return Cn(Et({ locale: r }, i));
3248
3248
  }, Nn = (e = {}) => {
3249
3249
  var t = e, {
3250
3250
  locale: r = ce()
3251
- } = t, i = Pe(t, [
3251
+ } = t, i = He(t, [
3252
3252
  "locale"
3253
3253
  ]);
3254
3254
  return In(Et({ locale: r }, i));
3255
- }, kn = Ye(
3255
+ }, kn = qe(
3256
3256
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3257
3257
  (e, t = ce()) => new xr(e, t, Se().formats, {
3258
3258
  ignoreTag: Se().ignoreTag
@@ -3340,28 +3340,9 @@ const Ut = {
3340
3340
  "verification.shuftipro.link-name.Documents": "Documents",
3341
3341
  "verification.shuftipro.link-name.ProofOfAddress": "Proof Of Address",
3342
3342
  "verification.shuftipro.validations-started": "Lütfen Doğrulamayı tamamladıktan sonra işleme devam ediniz"
3343
- },
3344
- hr: {
3345
- verificationsRequired: "Potrebne su provjere",
3346
- "verification.video.how-to": "How to verify yourself?",
3347
- "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",
3348
- "verification.message.failed": "We apologize, but we were unable to verify your account. Please contact support team",
3349
- "verification.idenfy.link-name": "link",
3350
- "verification.idenfy.in-progress": "To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification",
3351
- "verification.shuftipro.in-progress.Biometric": "To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.",
3352
- "verification.shuftipro.in-progress.Biometric.Documents": "To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.",
3353
- "verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress": "To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.",
3354
- "verification.shuftipro.in-progress.Biometric.ProofOfAddress": "To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.",
3355
- "verification.shuftipro.in-progress.Documents": "To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.",
3356
- "verification.shuftipro.in-progress.Documents.ProofOfAddress": "To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.",
3357
- "verification.shuftipro.in-progress.ProofOfAddress": "To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.",
3358
- "verification.shuftipro.link-name.Biometric": "Biometric",
3359
- "verification.shuftipro.link-name.Documents": "Documents",
3360
- "verification.shuftipro.link-name.ProofOfAddress": "Proof Of Address",
3361
- "verification.shuftipro.validations-started": "After completing verification, please proceed with the transaction"
3362
3343
  }
3363
3344
  };
3364
- let zn = Me(null);
3345
+ let zn = Be(null);
3365
3346
  /*! *****************************************************************************
3366
3347
  Copyright (c) Microsoft Corporation.
3367
3348
 
@@ -3434,13 +3415,13 @@ function vt(e, t, r) {
3434
3415
  function oe(e) {
3435
3416
  return typeof e == "function";
3436
3417
  }
3437
- function Hr(e) {
3418
+ function Pr(e) {
3438
3419
  var t = function(i) {
3439
3420
  Error.call(i), i.stack = new Error().stack;
3440
3421
  }, r = e(t);
3441
3422
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3442
3423
  }
3443
- var nt = Hr(function(e) {
3424
+ var nt = Pr(function(e) {
3444
3425
  return function(r) {
3445
3426
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3446
3427
  ` + r.map(function(i, n) {
@@ -3546,7 +3527,7 @@ var Ze = function() {
3546
3527
  return t.closed = !0, t;
3547
3528
  }(), e;
3548
3529
  }(), Ar = Ze.EMPTY;
3549
- function Br(e) {
3530
+ function Mr(e) {
3550
3531
  return e instanceof Ze || e && "closed" in e && oe(e.remove) && oe(e.add) && oe(e.unsubscribe);
3551
3532
  }
3552
3533
  function Vt(e) {
@@ -3565,7 +3546,7 @@ var Wn = {
3565
3546
  },
3566
3547
  delegate: void 0
3567
3548
  };
3568
- function qn(e) {
3549
+ function Yn(e) {
3569
3550
  Xn.setTimeout(function() {
3570
3551
  throw e;
3571
3552
  });
@@ -3575,11 +3556,11 @@ function Ft() {
3575
3556
  function Ge(e) {
3576
3557
  e();
3577
3558
  }
3578
- var Mr = function(e) {
3559
+ var Br = function(e) {
3579
3560
  De(t, e);
3580
3561
  function t(r) {
3581
3562
  var i = e.call(this) || this;
3582
- return i.isStopped = !1, r ? (i.destination = r, Br(r) && r.add(i)) : i.destination = Jn, i;
3563
+ return i.isStopped = !1, r ? (i.destination = r, Mr(r) && r.add(i)) : i.destination = Jn, i;
3583
3564
  }
3584
3565
  return t.create = function(r, i, n) {
3585
3566
  return new bt(r, i, n);
@@ -3606,7 +3587,7 @@ var Mr = function(e) {
3606
3587
  this.unsubscribe();
3607
3588
  }
3608
3589
  }, t;
3609
- }(Ze), Yn = function() {
3590
+ }(Ze), qn = function() {
3610
3591
  function e(t) {
3611
3592
  this.partialObserver = t;
3612
3593
  }
@@ -3645,12 +3626,12 @@ var Mr = function(e) {
3645
3626
  next: r ?? void 0,
3646
3627
  error: i ?? void 0,
3647
3628
  complete: n ?? void 0
3648
- } : s = r, o.destination = new Yn(s), o;
3629
+ } : s = r, o.destination = new qn(s), o;
3649
3630
  }
3650
3631
  return t;
3651
- }(Mr);
3632
+ }(Br);
3652
3633
  function Ue(e) {
3653
- qn(e);
3634
+ Yn(e);
3654
3635
  }
3655
3636
  function Zn(e) {
3656
3637
  throw e;
@@ -3741,9 +3722,9 @@ function to(e) {
3741
3722
  return e && oe(e.next) && oe(e.error) && oe(e.complete);
3742
3723
  }
3743
3724
  function ro(e) {
3744
- return e && e instanceof Mr || to(e) && Br(e);
3725
+ return e && e instanceof Br || to(e) && Mr(e);
3745
3726
  }
3746
- var io = Hr(function(e) {
3727
+ var io = Pr(function(e) {
3747
3728
  return function() {
3748
3729
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
3749
3730
  };
@@ -3897,7 +3878,7 @@ if (typeof window < "u") {
3897
3878
  }
3898
3879
  };
3899
3880
  };
3900
- customElements.define = e(customElements.define), import("./CashierModal-DHrU_qq9.js").then((t) => t.D).then(({ default: t }) => {
3881
+ customElements.define = e(customElements.define), import("./CashierModal-DozCEzqK.js").then((t) => t.D).then(({ default: t }) => {
3901
3882
  !customElements.get("cashier-modal") && customElements.define("cashier-modal", t.element);
3902
3883
  });
3903
3884
  }
@@ -3906,13 +3887,13 @@ var Dr = { exports: {} };
3906
3887
  (function(r, i) {
3907
3888
  e.exports = i();
3908
3889
  })(rr, function() {
3909
- var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", h = "day", f = "week", p = "month", v = "quarter", y = "year", _ = "date", c = "Invalid Date", L = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, k = /\[([^\]]+)]|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, H = { 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(x) {
3890
+ var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", h = "day", f = "week", p = "month", v = "quarter", y = "year", _ = "date", c = "Invalid Date", L = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, k = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, P = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(x) {
3910
3891
  var g = ["th", "st", "nd", "rd"], d = x % 100;
3911
3892
  return "[" + x + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
3912
3893
  } }, T = function(x, g, d) {
3913
3894
  var b = String(x);
3914
3895
  return !b || b.length >= g ? x : "" + Array(g + 1 - b.length).join(d) + x;
3915
- }, P = { s: T, z: function(x) {
3896
+ }, H = { s: T, z: function(x) {
3916
3897
  var g = -x.utcOffset(), d = Math.abs(g), b = Math.floor(d / 60), m = d % 60;
3917
3898
  return (g <= 0 ? "+" : "-") + T(b, 2, "0") + ":" + T(m, 2, "0");
3918
3899
  }, m: function x(g, d) {
@@ -3927,7 +3908,7 @@ var Dr = { exports: {} };
3927
3908
  }, u: function(x) {
3928
3909
  return x === void 0;
3929
3910
  } }, I = "en", O = {};
3930
- O[I] = H;
3911
+ O[I] = P;
3931
3912
  var W = "$isDayjsObject", te = function(x) {
3932
3913
  return x instanceof j || !(!x || !x[W]);
3933
3914
  }, Q = function x(g, d, b) {
@@ -3950,7 +3931,7 @@ var Dr = { exports: {} };
3950
3931
  return x.clone();
3951
3932
  var d = typeof g == "object" ? g : {};
3952
3933
  return d.date = x, d.args = arguments, new j(d);
3953
- }, C = P;
3934
+ }, C = H;
3954
3935
  C.l = Q, C.i = te, C.w = function(x, g) {
3955
3936
  return R(x, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3956
3937
  };
@@ -4003,7 +3984,7 @@ var Dr = { exports: {} };
4003
3984
  return w ? K : K.endOf(h);
4004
3985
  }, V = function(ie, X) {
4005
3986
  return C.w(m.toDate()[ie].apply(m.toDate("s"), (w ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(X)), m);
4006
- }, G = this.$W, $ = this.$M, Y = this.$D, ae = "set" + (this.$u ? "UTC" : "");
3987
+ }, G = this.$W, $ = this.$M, q = this.$D, ae = "set" + (this.$u ? "UTC" : "");
4007
3988
  switch (S) {
4008
3989
  case y:
4009
3990
  return w ? N(1, 0) : N(31, 11);
@@ -4011,7 +3992,7 @@ var Dr = { exports: {} };
4011
3992
  return w ? N(1, $) : N(0, $ + 1);
4012
3993
  case f:
4013
3994
  var re = this.$locale().weekStart || 0, de = (G < re ? G + 7 : G) - re;
4014
- return N(w ? Y - de : Y + (6 - de), $);
3995
+ return N(w ? q - de : q + (6 - de), $);
4015
3996
  case h:
4016
3997
  case _:
4017
3998
  return V(ae + "Hours", 0);
@@ -4042,8 +4023,8 @@ var Dr = { exports: {} };
4042
4023
  var m, w = this;
4043
4024
  d = Number(d);
4044
4025
  var S = C.p(b), N = function($) {
4045
- var Y = R(w);
4046
- return C.w(Y.date(Y.date() + Math.round($ * d)), w);
4026
+ var q = R(w);
4027
+ return C.w(q.date(q.date() + Math.round($ * d)), w);
4047
4028
  };
4048
4029
  if (S === p)
4049
4030
  return this.set(p, this.$M + d);
@@ -4061,7 +4042,7 @@ var Dr = { exports: {} };
4061
4042
  var b = this, m = this.$locale();
4062
4043
  if (!this.isValid())
4063
4044
  return m.invalidDate || c;
4064
- var w = d || "YYYY-MM-DDTHH:mm:ssZ", S = C.z(this), N = this.$H, V = this.$m, G = this.$M, $ = m.weekdays, Y = m.months, ae = m.meridiem, re = function(X, K, pe, be) {
4045
+ var w = d || "YYYY-MM-DDTHH:mm:ssZ", S = C.z(this), N = this.$H, V = this.$m, G = this.$M, $ = m.weekdays, q = m.months, ae = m.meridiem, re = function(X, K, pe, be) {
4065
4046
  return X && (X[K] || X(b, w)) || pe[K].slice(0, be);
4066
4047
  }, de = function(X) {
4067
4048
  return C.s(N % 12 || 12, X, "0");
@@ -4081,9 +4062,9 @@ var Dr = { exports: {} };
4081
4062
  case "MM":
4082
4063
  return C.s(G + 1, 2, "0");
4083
4064
  case "MMM":
4084
- return re(m.monthsShort, G, Y, 3);
4065
+ return re(m.monthsShort, G, q, 3);
4085
4066
  case "MMMM":
4086
- return re(Y, G);
4067
+ return re(q, G);
4087
4068
  case "D":
4088
4069
  return b.$D;
4089
4070
  case "DD":
@@ -4127,18 +4108,18 @@ var Dr = { exports: {} };
4127
4108
  }, g.utcOffset = function() {
4128
4109
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4129
4110
  }, g.diff = function(d, b, m) {
4130
- var w, S = this, N = C.p(b), V = R(d), G = (V.utcOffset() - this.utcOffset()) * i, $ = this - V, Y = function() {
4111
+ var w, S = this, N = C.p(b), V = R(d), G = (V.utcOffset() - this.utcOffset()) * i, $ = this - V, q = function() {
4131
4112
  return C.m(S, V);
4132
4113
  };
4133
4114
  switch (N) {
4134
4115
  case y:
4135
- w = Y() / 12;
4116
+ w = q() / 12;
4136
4117
  break;
4137
4118
  case p:
4138
- w = Y();
4119
+ w = q();
4139
4120
  break;
4140
4121
  case v:
4141
- w = Y() / 3;
4122
+ w = q() / 3;
4142
4123
  break;
4143
4124
  case f:
4144
4125
  w = ($ - G) / 6048e5;
@@ -4236,12 +4217,12 @@ var Lr = { exports: {} };
4236
4217
  return Q === 0 ? 0 : te === "+" ? Q : -Q;
4237
4218
  }(c), c === null))
4238
4219
  return this;
4239
- var H = Math.abs(c) <= 16 ? 60 * c : c, T = this;
4220
+ var P = Math.abs(c) <= 16 ? 60 * c : c, T = this;
4240
4221
  if (L)
4241
- return T.$offset = H, T.$u = c === 0, T;
4222
+ return T.$offset = P, T.$u = c === 0, T;
4242
4223
  if (c !== 0) {
4243
- var P = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4244
- (T = this.local().add(H + P, r)).$offset = H, T.$x.$localOffset = P;
4224
+ var H = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4225
+ (T = this.local().add(P + H, r)).$offset = P, T.$x.$localOffset = H;
4245
4226
  } else
4246
4227
  T = this.utc();
4247
4228
  return T;
@@ -4268,8 +4249,8 @@ var Lr = { exports: {} };
4268
4249
  u.diff = function(c, L, k) {
4269
4250
  if (c && this.$u === c.$u)
4270
4251
  return _.call(this, c, L, k);
4271
- var H = this.local(), T = a(c).local();
4272
- return _.call(H, T, L, k);
4252
+ var P = this.local(), T = a(c).local();
4253
+ return _.call(P, T, L, k);
4273
4254
  };
4274
4255
  };
4275
4256
  });
@@ -4279,14 +4260,14 @@ const lo = /* @__PURE__ */ yt(uo);
4279
4260
  function ho(e) {
4280
4261
  Wr(e, "svelte-19ii49m", '*,*::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}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);position:relative;overflow:hidden;isolation:isolate;flex-direction:column;background-color:rgba(255, 255, 255, 0.063);display:flex;z-index:1;width:97%;margin:auto;cursor:pointer;user-select:none}.CashierVerificationsWrapper::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary) 0%, var(--emw--color-black) 100%);background-size:200% 200%;animation:gradientWave 8s ease infinite}.CashierVerificationsWrapper::after{content:"";position:absolute;inset:-2px;z-index:-2;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary), var(--emw--color-black) transparent);background-size:200% 200%;animation:gradientWave 8s ease infinite reverse;filter:blur(10px);opacity:0.6}@keyframes gradientWave{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:100%;transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotateX(180deg);-ms-transform:rotateX(180deg);-moz-transform:rotateX(180deg);-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;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;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #f9c408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));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:rotateX(90deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #f9c408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #f9c408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}');
4281
4262
  }
4282
- function qt(e, t, r) {
4263
+ function Yt(e, t, r) {
4283
4264
  const i = e.slice();
4284
4265
  return i[53] = t[r], i;
4285
4266
  }
4286
4267
  function fo(e) {
4287
4268
  let t, r = (
4288
4269
  /*displayMessages*/
4289
- e[3].length > 0 && Yt(e)
4270
+ e[3].length > 0 && qt(e)
4290
4271
  );
4291
4272
  return {
4292
4273
  c() {
@@ -4297,7 +4278,7 @@ function fo(e) {
4297
4278
  },
4298
4279
  p(i, n) {
4299
4280
  /*displayMessages*/
4300
- i[3].length > 0 ? r ? r.p(i, n) : (r = Yt(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4281
+ i[3].length > 0 ? r ? r.p(i, n) : (r = qt(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4301
4282
  },
4302
4283
  d(i) {
4303
4284
  i && he(t), r && r.d();
@@ -4343,16 +4324,16 @@ function co(e) {
4343
4324
  }
4344
4325
  };
4345
4326
  }
4346
- function Yt(e) {
4327
+ function qt(e) {
4347
4328
  let t, r, i, n, o, s, a, u = (
4348
4329
  /*$_*/
4349
4330
  e[8]("verificationsRequired") + ""
4350
4331
  ), h, f, p, v, y, _, c, L, k = wt(
4351
4332
  /*displayMessages*/
4352
4333
  e[3]
4353
- ), H = [];
4354
- for (let P = 0; P < k.length; P += 1)
4355
- H[P] = Zt(qt(e, k, P));
4334
+ ), P = [];
4335
+ for (let H = 0; H < k.length; H += 1)
4336
+ P[H] = Zt(Yt(e, k, H));
4356
4337
  let T = (
4357
4338
  /*videoExists*/
4358
4339
  e[6] && Jt(e)
@@ -4360,8 +4341,8 @@ function Yt(e) {
4360
4341
  return {
4361
4342
  c() {
4362
4343
  t = Z("div"), r = ke("svg"), i = ke("path"), n = ke("path"), o = ke("path"), s = xe(), a = Z("p"), h = tr(u), f = xe(), p = Z("span"), p.innerHTML = '<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>', v = xe(), y = Z("div");
4363
- for (let P = 0; P < H.length; P += 1)
4364
- H[P].c();
4344
+ for (let H = 0; H < P.length; H += 1)
4345
+ P[H].c();
4365
4346
  _ = xe(), T && T.c(), D(i, "d", "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"), D(i, "stroke", "#6E738F"), D(i, "stroke-width", "2"), D(i, "stroke-linecap", "round"), D(i, "stroke-linejoin", "round"), D(n, "d", "M12 8V12"), D(n, "stroke", "#6E738F"), D(n, "stroke-width", "2"), D(n, "stroke-linecap", "round"), D(n, "stroke-linejoin", "round"), D(o, "d", "M12 16H12.01"), D(o, "stroke", "#6E738F"), D(o, "stroke-width", "2"), D(o, "stroke-linecap", "round"), D(o, "stroke-linejoin", "round"), D(r, "width", "24"), D(r, "height", "24"), D(r, "viewBox", "0 0 24 24"), D(r, "fill", "none"), D(r, "xmlns", "http://www.w3.org/2000/svg"), D(p, "class", "CashierVerificationChevron"), ue(
4366
4347
  p,
4367
4348
  "ShowVerifications",
@@ -4374,10 +4355,10 @@ function Yt(e) {
4374
4355
  e[4]
4375
4356
  );
4376
4357
  },
4377
- m(P, I) {
4378
- fe(P, t, I), z(t, r), z(r, i), z(r, n), z(r, o), z(t, s), z(t, a), z(a, h), z(t, f), z(t, p), fe(P, v, I), fe(P, y, I);
4379
- for (let O = 0; O < H.length; O += 1)
4380
- H[O] && H[O].m(y, null);
4358
+ m(H, I) {
4359
+ fe(H, t, I), z(t, r), z(r, i), z(r, n), z(r, o), z(t, s), z(t, a), z(a, h), z(t, f), z(t, p), fe(H, v, I), fe(H, y, I);
4360
+ for (let O = 0; O < P.length; O += 1)
4361
+ P[O] && P[O].m(y, null);
4381
4362
  z(y, _), T && T.m(y, null), c || (L = er(
4382
4363
  t,
4383
4364
  "click",
@@ -4385,41 +4366,41 @@ function Yt(e) {
4385
4366
  e[9]
4386
4367
  ), c = !0);
4387
4368
  },
4388
- p(P, I) {
4369
+ p(H, I) {
4389
4370
  if (I[0] & /*$_*/
4390
4371
  256 && u !== (u = /*$_*/
4391
- P[8]("verificationsRequired") + "") && Kt(h, u), I[0] & /*allVerificationsVisible*/
4372
+ H[8]("verificationsRequired") + "") && Kt(h, u), I[0] & /*allVerificationsVisible*/
4392
4373
  16 && ue(
4393
4374
  p,
4394
4375
  "ShowVerifications",
4395
4376
  /*allVerificationsVisible*/
4396
- P[4]
4377
+ H[4]
4397
4378
  ), I[0] & /*displayMessages*/
4398
4379
  8) {
4399
4380
  k = wt(
4400
4381
  /*displayMessages*/
4401
- P[3]
4382
+ H[3]
4402
4383
  );
4403
4384
  let O;
4404
4385
  for (O = 0; O < k.length; O += 1) {
4405
- const W = qt(P, k, O);
4406
- H[O] ? H[O].p(W, I) : (H[O] = Zt(W), H[O].c(), H[O].m(y, _));
4386
+ const W = Yt(H, k, O);
4387
+ P[O] ? P[O].p(W, I) : (P[O] = Zt(W), P[O].c(), P[O].m(y, _));
4407
4388
  }
4408
- for (; O < H.length; O += 1)
4409
- H[O].d(1);
4410
- H.length = k.length;
4389
+ for (; O < P.length; O += 1)
4390
+ P[O].d(1);
4391
+ P.length = k.length;
4411
4392
  }
4412
4393
  /*videoExists*/
4413
- P[6] ? T ? T.p(P, I) : (T = Jt(P), T.c(), T.m(y, null)) : T && (T.d(1), T = null), I[0] & /*allVerificationsVisible*/
4394
+ H[6] ? T ? T.p(H, I) : (T = Jt(H), T.c(), T.m(y, null)) : T && (T.d(1), T = null), I[0] & /*allVerificationsVisible*/
4414
4395
  16 && ue(
4415
4396
  y,
4416
4397
  "ShowVerifications",
4417
4398
  /*allVerificationsVisible*/
4418
- P[4]
4399
+ H[4]
4419
4400
  );
4420
4401
  },
4421
- d(P) {
4422
- P && (he(t), he(v), he(y)), Yr(H, P), T && T.d(), c = !1, L();
4402
+ d(H) {
4403
+ H && (he(t), he(v), he(y)), qr(P, H), T && T.d(), c = !1, L();
4423
4404
  }
4424
4405
  };
4425
4406
  }
@@ -4530,7 +4511,7 @@ const mo = "verification_explanation_video_widgets.MP4";
4530
4511
  function vo(e, t, r) {
4531
4512
  let i, n;
4532
4513
  _t(e, jn, (l) => r(8, i = l)), _t(e, zn, (l) => r(27, n = l)), Xt.extend(lo);
4533
- let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { session: f = "" } = t, { customerid: p = "" } = t, { playersession: v = "" } = t, { mbsource: y = "" } = t, _, c = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set(), k, H, T, P = !1, I = !0, O = !1, W = "", te = !1, Q = window.navigator.userAgent;
4514
+ let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { session: f = "" } = t, { customerid: p = "" } = t, { playersession: v = "" } = t, { mbsource: y = "" } = t, _, c = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set(), k, P, T, H = !1, I = !0, O = !1, W = "", te = !1, Q = window.navigator.userAgent;
4534
4515
  var R;
4535
4516
  (function(l) {
4536
4517
  l.Manual = "Manual", l.ShuftiPro = "ShuftiPro";
@@ -4561,8 +4542,8 @@ function vo(e, t, r) {
4561
4542
  let l = a;
4562
4543
  if (l)
4563
4544
  return fetch(l).then((E) => E.json()).then((E) => {
4564
- Object.keys(E).forEach((B) => {
4565
- Rt(B, E[B]);
4545
+ Object.keys(E).forEach((M) => {
4546
+ Rt(M, E[M]);
4566
4547
  });
4567
4548
  }).catch((E) => {
4568
4549
  console.log(E);
@@ -4574,21 +4555,21 @@ function vo(e, t, r) {
4574
4555
  const b = () => {
4575
4556
  $n(s);
4576
4557
  }, m = () => {
4577
- r(18, H = N());
4558
+ r(18, P = N());
4578
4559
  const l = new URL(`${o}/v1/player/${p}/verification/GetKYCCustomerStatus?language=${s}`), E = new Headers();
4579
4560
  E.append("accept", "application/json"), E.append("Content-Type", "application/json"), E.append("x-sessionid", `${v}`), E.append("X-Client-Request-Timestamp", Xt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4580
- const B = {
4561
+ const M = {
4581
4562
  method: "POST",
4582
4563
  headers: E,
4583
4564
  body: JSON.stringify({})
4584
4565
  };
4585
- r(7, te = !0), fetch(l, B).then((J) => J.json()).then((J) => {
4566
+ r(7, te = !0), fetch(l, M).then((J) => J.json()).then((J) => {
4586
4567
  const Je = w(J?.Verifications);
4587
4568
  k = V(Je), k.VerificationStatuses.forEach((Le) => {
4588
4569
  Le.VerificationUrlType !== "Widget" && c.add(Le.Vendor);
4589
4570
  }), r(3, T = de());
4590
4571
  }).finally(() => r(7, te = !1));
4591
- }, w = (l) => l ? l.sort((E, B) => new Date(B.Created).getTime() - new Date(E.Created).getTime()) : [], S = () => {
4572
+ }, w = (l) => l ? l.sort((E, M) => new Date(M.Created).getTime() - new Date(E.Created).getTime()) : [], S = () => {
4592
4573
  n && m();
4593
4574
  }, N = () => {
4594
4575
  let l = (f || n).split(".")[1];
@@ -4603,13 +4584,13 @@ function vo(e, t, r) {
4603
4584
  VerificationSummaryStatus: j.Unverified,
4604
4585
  VerificationStatuses: []
4605
4586
  };
4606
- const E = Y(l);
4587
+ const E = q(l);
4607
4588
  if (E && E.length) {
4608
- const B = G(E);
4589
+ const M = G(E);
4609
4590
  return {
4610
- VerificationSummaryStatus: B.Status,
4611
- VerificationUrl: B.Flags?.DeferredUrlKey,
4612
- VerificationStatuses: $(E, B.Status)
4591
+ VerificationSummaryStatus: M.Status,
4592
+ VerificationUrl: M.Flags?.DeferredUrlKey,
4593
+ VerificationStatuses: $(E, M.Status)
4613
4594
  };
4614
4595
  } else
4615
4596
  return {
@@ -4617,17 +4598,17 @@ function vo(e, t, r) {
4617
4598
  VerificationStatuses: $(l, [j.Failed])
4618
4599
  };
4619
4600
  }, G = (l) => l.reduce(
4620
- (E, B) => E ? new Date(E) < new Date(B) ? B : E : B,
4601
+ (E, M) => E ? new Date(E) < new Date(M) ? M : E : M,
4621
4602
  0
4622
- ), $ = (l, E) => l.filter((B) => E.includes(B.Status)).map((B) => ({
4623
- Type: B.Type,
4624
- Vendor: B.VendorName,
4625
- VerificationDocuments: B.Documents ? [...B.Documents] : [],
4626
- VerificationUrlType: B.FlowInfo?.Type,
4627
- VerificationUrl: B.FlowInfo?.Url
4628
- })), Y = (l) => l.filter((E) => g.includes(E.Status) ? E.FlowInfo && E.FlowInfo.Url || ae(E) || re(E) : !1), ae = (l) => {
4629
- const E = l.Documents && l.VendorName === R.Manual, B = l.Documents && l.Documents.some((J) => J.Status === C.Requested);
4630
- return E && B;
4603
+ ), $ = (l, E) => l.filter((M) => E.includes(M.Status)).map((M) => ({
4604
+ Type: M.Type,
4605
+ Vendor: M.VendorName,
4606
+ VerificationDocuments: M.Documents ? [...M.Documents] : [],
4607
+ VerificationUrlType: M.FlowInfo?.Type,
4608
+ VerificationUrl: M.FlowInfo?.Url
4609
+ })), q = (l) => l.filter((E) => g.includes(E.Status) ? E.FlowInfo && E.FlowInfo.Url || ae(E) || re(E) : !1), ae = (l) => {
4610
+ const E = l.Documents && l.VendorName === R.Manual, M = l.Documents && l.Documents.some((J) => J.Status === C.Requested);
4611
+ return E && M;
4631
4612
  }, re = (l) => l.VendorName === R.ShuftiPro && l.Status === j.Referred, de = () => {
4632
4613
  switch (k.VerificationSummaryStatus) {
4633
4614
  case j.InProgress:
@@ -4641,32 +4622,32 @@ function vo(e, t, r) {
4641
4622
  return [i("verification.message.failed")];
4642
4623
  }
4643
4624
  }, ie = (l) => {
4644
- const E = k.VerificationStatuses.filter((B) => B.Vendor === l);
4625
+ const E = k.VerificationStatuses.filter((M) => M.Vendor === l);
4645
4626
  if (l === R.ShuftiPro)
4646
4627
  return X(E);
4647
4628
  {
4648
- const B = i("verification.idenfy.link-name"), J = {
4649
- link: `<a href="${E[0].VerificationUrl}" target="_blank">${B}</a>`
4629
+ const M = i("verification.idenfy.link-name"), J = {
4630
+ link: `<a href="${E[0].VerificationUrl}" target="_blank">${M}</a>`
4650
4631
  };
4651
4632
  return i("verification.idenfy.in-progress", { values: J });
4652
4633
  }
4653
4634
  }, X = (l) => {
4654
- const E = [], B = {}, J = [
4635
+ const E = [], M = {}, J = [
4655
4636
  se.Biometric,
4656
4637
  se.Documents,
4657
4638
  se.ProofOfAddress
4658
4639
  ];
4659
4640
  l.forEach((me) => {
4660
- J.includes(me.Type) && (E.push(me.Type), B[me.Type] = K(me, pe(me.Type)));
4641
+ J.includes(me.Type) && (E.push(me.Type), M[me.Type] = K(me, pe(me.Type)));
4661
4642
  });
4662
4643
  let Je = E.every((me) => L.has(me)), Le = `verification.shuftipro.in-progress.${E.sort().join(".")}`;
4663
- return Je ? i("verification.shuftipro.validations-started") : i(Le, { values: B });
4644
+ return Je ? i("verification.shuftipro.validations-started") : i(Le, { values: M });
4664
4645
  }, K = (l, E) => `<a class="verificationLink ${l.Type}" href=" ${l.VerificationUrl} " target="_blank">${E}</a>`, pe = (l) => i(`verification.shuftipro.link-name.${l}`), be = () => {
4665
- r(4, P = !P);
4646
+ r(4, H = !H);
4666
4647
  }, Nr = () => {
4667
4648
  r(5, I = !so(Q));
4668
4649
  }, kr = () => {
4669
- W = H + "/" + s + "/" + mo;
4650
+ W = P + "/" + s + "/" + mo;
4670
4651
  try {
4671
4652
  fetch(W, { method: "HEAD" }).then((l) => {
4672
4653
  r(6, O = l.ok);
@@ -4683,7 +4664,7 @@ function vo(e, t, r) {
4683
4664
  ));
4684
4665
  };
4685
4666
  function Ur(l) {
4686
- qr[l ? "unshift" : "push"](() => {
4667
+ Yr[l ? "unshift" : "push"](() => {
4687
4668
  _ = l, r(2, _);
4688
4669
  });
4689
4670
  }
@@ -4697,14 +4678,14 @@ function vo(e, t, r) {
4697
4678
  8192 && a && d(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4698
4679
  5 && u && _ && Zr(_, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4699
4680
  6 && h && _ && Jr(_, h), e.$$.dirty[0] & /*staticCdnUrl*/
4700
- 262144 && H && kr(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4681
+ 262144 && P && kr(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4701
4682
  131076 && y && _ && Qr(_, `${y}.Style`);
4702
4683
  }, [
4703
4684
  u,
4704
4685
  h,
4705
4686
  _,
4706
4687
  T,
4707
- P,
4688
+ H,
4708
4689
  I,
4709
4690
  O,
4710
4691
  te,
@@ -4718,7 +4699,7 @@ function vo(e, t, r) {
4718
4699
  p,
4719
4700
  v,
4720
4701
  y,
4721
- H,
4702
+ P,
4722
4703
  Ur
4723
4704
  ];
4724
4705
  }