@everymatrix/casino-header-controller 1.67.3 → 1.68.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.
Files changed (53) hide show
  1. package/components/{CasinoHamburgerMenu-qJFMD0lY.js → CasinoHamburgerMenu-BMkeLxFw.js} +1091 -1056
  2. package/components/{CasinoHamburgerMenu-F30AIdQa.js → CasinoHamburgerMenu-CTVc2-UF.js} +1085 -1050
  3. package/components/CasinoHamburgerMenu-CrZ5l9tM.cjs +21 -0
  4. package/components/{CasinoHeaderController-DBUFDWMM.cjs → CasinoHeaderController-D9Zd6DdD.cjs} +1 -1
  5. package/components/{CasinoHeaderController-s3bKI18l.js → CasinoHeaderController-DvJ2fbVP.js} +90 -90
  6. package/components/{CasinoHeaderController-pekvzXc8.js → CasinoHeaderController-nGmOBYH5.js} +88 -88
  7. package/components/{CasinoSlider-xtEu7BaK.js → CasinoSlider-CTcAOyCp.js} +49 -49
  8. package/components/{CasinoSlider-CEn9AAOB.js → CasinoSlider-Deb0x84t.js} +81 -81
  9. package/components/{CasinoSlider-C8ldNewd.cjs → CasinoSlider-DqTtsMWh.cjs} +1 -1
  10. package/components/{PlayerAccountBalanceModal-DAI5HzZi.cjs → PlayerAccountBalanceModal-BFDpI9Sy.cjs} +1 -1
  11. package/components/{PlayerAccountBalanceModal-Bonu08VK.js → PlayerAccountBalanceModal-CNXuqjqU.js} +61 -61
  12. package/components/{PlayerAccountBalanceModal-CJNc-yX5.js → PlayerAccountBalanceModal-DbULiu-f.js} +61 -61
  13. package/components/{PlayerDeposit-DmuFu2rX.cjs → PlayerDeposit-BXwT7NVp.cjs} +1 -1
  14. package/components/{PlayerDeposit-BsOgrGtE.js → PlayerDeposit-BZuTQSyp.js} +28 -28
  15. package/components/{PlayerDeposit-Cs0q3VJJ.js → PlayerDeposit-eY_YGhMJ.js} +28 -28
  16. package/es2015/casino-header-controller.cjs +1 -1
  17. package/es2015/casino-header-controller.js +1 -1
  18. package/esnext/casino-header-controller.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/{gamification-dropdown-8eb8a896-OGii9GZC.js → gamification-dropdown-8eb8a896-BIGhsjEp.js} +3 -3
  21. package/stencil/{gamification-dropdown-8eb8a896-DfTzIl57.cjs → gamification-dropdown-8eb8a896-BjUP17gj.cjs} +1 -1
  22. package/stencil/{gamification-dropdown-8eb8a896-DwjOP8LM.js → gamification-dropdown-8eb8a896-ChHEAdln.js} +7 -7
  23. package/stencil/{gamification-dropdown-Bl2Q7k92.cjs → gamification-dropdown-B8Psyzeb.cjs} +1 -1
  24. package/stencil/{gamification-dropdown-DTjKmeqH.js → gamification-dropdown-BWsuiPe-.js} +1 -1
  25. package/stencil/{gamification-dropdown-eYU0kMX0.js → gamification-dropdown-C54YsY6O.js} +1 -1
  26. package/stencil/{gamification-dropdown_4-EqEecNER.cjs → gamification-dropdown_4-BMWTb1Hi.cjs} +2 -2
  27. package/stencil/{gamification-dropdown_4-C8FoQ9bl.js → gamification-dropdown_4-CIcYiW7L.js} +11 -11
  28. package/stencil/{gamification-dropdown_4-B46ceyMH.js → gamification-dropdown_4-DSQLLSbB.js} +11 -11
  29. package/stencil/{index-1ef3a64c-Y2S-mzZE.js → index-1ef3a64c-83J-RXdm.js} +192 -192
  30. package/stencil/index-1ef3a64c-Bi7BfDjU.cjs +1 -0
  31. package/stencil/{index-1ef3a64c-DfFwTbOB.js → index-1ef3a64c-hYuFvrwc.js} +185 -185
  32. package/stencil/index-71b1bdfa-0gP6xJac.cjs +1 -0
  33. package/stencil/{index-71b1bdfa-C8dE0ofS.js → index-71b1bdfa-CBlskF9r.js} +226 -226
  34. package/stencil/{index-71b1bdfa-_-dhHLGN.js → index-71b1bdfa-DU4nTCMc.js} +235 -235
  35. package/stencil/{player-elevate-card-DORq6Wij.cjs → player-elevate-card-5X5p1F8m.cjs} +1 -1
  36. package/stencil/{player-elevate-card-CESlrbxs.js → player-elevate-card-CU7Qildl.js} +2 -2
  37. package/stencil/{player-elevate-card-DAXoDLIH.js → player-elevate-card-IVb0Sf28.js} +2 -2
  38. package/stencil/{player-elevate-card-items-5071deed-DjG8kMBd.js → player-elevate-card-items-5071deed-CmKSIJsn.js} +79 -81
  39. package/stencil/player-elevate-card-items-5071deed-MX_MdgjK.cjs +102 -0
  40. package/stencil/{player-elevate-card-items-5071deed-C9dANr1l.js → player-elevate-card-items-5071deed-TVoEX2s0.js} +79 -81
  41. package/stencil/{player-elevate-pointcard-CjdTzOoF.cjs → player-elevate-pointcard-DcbEs06G.cjs} +1 -1
  42. package/stencil/{player-elevate-pointcard-Do6iv014.js → player-elevate-pointcard-DkugTY8n.js} +2 -2
  43. package/stencil/{player-elevate-pointcard-DQXpvq40.js → player-elevate-pointcard-aaDwBSP6.js} +2 -2
  44. package/stencil/{player-rakeback-card-BoT6EgM7.cjs → player-rakeback-card-CN46KEaP.cjs} +1 -1
  45. package/stencil/{player-rakeback-card-BNSkyLB0.js → player-rakeback-card-Cw4WnuMK.js} +1 -1
  46. package/stencil/{player-rakeback-card-Bx_vN42o.js → player-rakeback-card-iG3S4W4O.js} +1 -1
  47. package/stencil/{user-deposit-withdrawal-BJyawJS_.js → user-deposit-withdrawal-BvYavTHs.js} +46 -46
  48. package/stencil/{user-deposit-withdrawal-CC0ZAC_k.cjs → user-deposit-withdrawal-CrFUxhuF.cjs} +2 -2
  49. package/stencil/{user-deposit-withdrawal-DKTq5kc3.js → user-deposit-withdrawal-TfRJdSfc.js} +46 -46
  50. package/components/CasinoHamburgerMenu-B3SEVofS.cjs +0 -21
  51. package/stencil/index-1ef3a64c-eLYHaH-f.cjs +0 -1
  52. package/stencil/index-71b1bdfa-MzSkzwf_.cjs +0 -1
  53. package/stencil/player-elevate-card-items-5071deed-C6i7ZlHD.cjs +0 -102
@@ -1,4 +1,4 @@
1
- import { b as ae, p as oe, r as se, h as b, H as de } from "./index-1ef3a64c-DfFwTbOB.js";
1
+ import { b as ae, p as oe, r as se, h as b, H as de } from "./index-1ef3a64c-hYuFvrwc.js";
2
2
  import { a as ue } from "./app-globals-0f993ce5-B6nNHmA4.js";
3
3
  var le = () => {
4
4
  const n = import.meta.url, h = {};
@@ -147,7 +147,7 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
147
147
  (function(u, l) {
148
148
  n.exports = l();
149
149
  })(te, function() {
150
- var u = 1e3, l = 6e4, m = 36e5, L = "millisecond", S = "second", y = "minute", c = "hour", T = "day", P = "week", D = "month", N = "quarter", z = "year", E = "date", o = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, I = /\[([^\]]+)]|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, F = { 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(a) {
150
+ var u = 1e3, l = 6e4, m = 36e5, L = "millisecond", v = "second", y = "minute", c = "hour", T = "day", P = "week", D = "month", N = "quarter", z = "year", E = "date", o = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, I = /\[([^\]]+)]|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, F = { 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(a) {
151
151
  var r = ["th", "st", "nd", "rd"], e = a % 100;
152
152
  return "[" + a + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
153
153
  } }, U = function(a, r, e) {
@@ -164,7 +164,7 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
164
164
  }, a: function(a) {
165
165
  return a < 0 ? Math.ceil(a) || 0 : Math.floor(a);
166
166
  }, p: function(a) {
167
- return { M: D, y: z, w: P, d: T, D: E, h: c, m: y, s: S, ms: L, Q: N }[a] || String(a || "").toLowerCase().replace(/s$/, "");
167
+ return { M: D, y: z, w: P, d: T, D: E, h: c, m: y, s: v, ms: L, Q: N }[a] || String(a || "").toLowerCase().replace(/s$/, "");
168
168
  }, u: function(a) {
169
169
  return a === void 0;
170
170
  } }, x = "en", k = {};
@@ -239,20 +239,20 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
239
239
  }, r.valueOf = function() {
240
240
  return this.$d.getTime();
241
241
  }, r.startOf = function(e, i) {
242
- var t = this, s = !!f.u(i) || i, d = f.p(e), p = function(R, v) {
243
- var j = f.w(t.$u ? Date.UTC(t.$y, v, R) : new Date(t.$y, v, R), t);
242
+ var t = this, s = !!f.u(i) || i, d = f.p(e), p = function(R, $) {
243
+ var j = f.w(t.$u ? Date.UTC(t.$y, $, R) : new Date(t.$y, $, R), t);
244
244
  return s ? j : j.endOf(T);
245
- }, g = function(R, v) {
246
- return f.w(t.toDate()[R].apply(t.toDate("s"), (s ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(v)), t);
247
- }, C = this.$W, $ = this.$M, W = this.$D, Y = "set" + (this.$u ? "UTC" : "");
245
+ }, g = function(R, $) {
246
+ return f.w(t.toDate()[R].apply(t.toDate("s"), (s ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice($)), t);
247
+ }, C = this.$W, S = this.$M, W = this.$D, Y = "set" + (this.$u ? "UTC" : "");
248
248
  switch (d) {
249
249
  case z:
250
250
  return s ? p(1, 0) : p(31, 11);
251
251
  case D:
252
- return s ? p(1, $) : p(0, $ + 1);
252
+ return s ? p(1, S) : p(0, S + 1);
253
253
  case P:
254
254
  var _ = this.$locale().weekStart || 0, A = (C < _ ? C + 7 : C) - _;
255
- return p(s ? W - A : W + (6 - A), $);
255
+ return p(s ? W - A : W + (6 - A), S);
256
256
  case T:
257
257
  case E:
258
258
  return g(Y + "Hours", 0);
@@ -260,7 +260,7 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
260
260
  return g(Y + "Minutes", 1);
261
261
  case y:
262
262
  return g(Y + "Seconds", 2);
263
- case S:
263
+ case v:
264
264
  return g(Y + "Milliseconds", 3);
265
265
  default:
266
266
  return this.clone();
@@ -268,7 +268,7 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
268
268
  }, r.endOf = function(e) {
269
269
  return this.startOf(e, !1);
270
270
  }, r.$set = function(e, i) {
271
- var t, s = f.p(e), d = "set" + (this.$u ? "UTC" : ""), p = (t = {}, t[T] = d + "Date", t[E] = d + "Date", t[D] = d + "Month", t[z] = d + "FullYear", t[c] = d + "Hours", t[y] = d + "Minutes", t[S] = d + "Seconds", t[L] = d + "Milliseconds", t)[s], g = s === T ? this.$D + (i - this.$W) : i;
271
+ var t, s = f.p(e), d = "set" + (this.$u ? "UTC" : ""), p = (t = {}, t[T] = d + "Date", t[E] = d + "Date", t[D] = d + "Month", t[z] = d + "FullYear", t[c] = d + "Hours", t[y] = d + "Minutes", t[v] = d + "Seconds", t[L] = d + "Milliseconds", t)[s], g = s === T ? this.$D + (i - this.$W) : i;
272
272
  if (s === D || s === z) {
273
273
  var C = this.clone().set(E, 1);
274
274
  C.$d[p](g), C.init(), this.$d = C.set(E, Math.min(this.$D, C.daysInMonth())).$d;
@@ -282,9 +282,9 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
282
282
  }, r.add = function(e, i) {
283
283
  var t, s = this;
284
284
  e = Number(e);
285
- var d = f.p(i), p = function($) {
285
+ var d = f.p(i), p = function(S) {
286
286
  var W = w(s);
287
- return f.w(W.date(W.date() + Math.round($ * e)), s);
287
+ return f.w(W.date(W.date() + Math.round(S * e)), s);
288
288
  };
289
289
  if (d === D)
290
290
  return this.set(D, this.$M + e);
@@ -294,7 +294,7 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
294
294
  return p(1);
295
295
  if (d === P)
296
296
  return p(7);
297
- var g = (t = {}, t[y] = l, t[c] = m, t[S] = u, t)[d] || 1, C = this.$d.getTime() + e * g;
297
+ var g = (t = {}, t[y] = l, t[c] = m, t[v] = u, t)[d] || 1, C = this.$d.getTime() + e * g;
298
298
  return f.w(C, this);
299
299
  }, r.subtract = function(e, i) {
300
300
  return this.add(-1 * e, i);
@@ -302,15 +302,15 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
302
302
  var i = this, t = this.$locale();
303
303
  if (!this.isValid())
304
304
  return t.invalidDate || o;
305
- var s = e || "YYYY-MM-DDTHH:mm:ssZ", d = f.z(this), p = this.$H, g = this.$m, C = this.$M, $ = t.weekdays, W = t.months, Y = t.meridiem, _ = function(v, j, V, J) {
306
- return v && (v[j] || v(i, s)) || V[j].slice(0, J);
307
- }, A = function(v) {
308
- return f.s(p % 12 || 12, v, "0");
309
- }, R = Y || function(v, j, V) {
310
- var J = v < 12 ? "AM" : "PM";
305
+ var s = e || "YYYY-MM-DDTHH:mm:ssZ", d = f.z(this), p = this.$H, g = this.$m, C = this.$M, S = t.weekdays, W = t.months, Y = t.meridiem, _ = function($, j, V, J) {
306
+ return $ && ($[j] || $(i, s)) || V[j].slice(0, J);
307
+ }, A = function($) {
308
+ return f.s(p % 12 || 12, $, "0");
309
+ }, R = Y || function($, j, V) {
310
+ var J = $ < 12 ? "AM" : "PM";
311
311
  return V ? J.toLowerCase() : J;
312
312
  };
313
- return s.replace(I, function(v, j) {
313
+ return s.replace(I, function($, j) {
314
314
  return j || function(V) {
315
315
  switch (V) {
316
316
  case "YY":
@@ -332,11 +332,11 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
332
332
  case "d":
333
333
  return String(i.$W);
334
334
  case "dd":
335
- return _(t.weekdaysMin, i.$W, $, 2);
335
+ return _(t.weekdaysMin, i.$W, S, 2);
336
336
  case "ddd":
337
- return _(t.weekdaysShort, i.$W, $, 3);
337
+ return _(t.weekdaysShort, i.$W, S, 3);
338
338
  case "dddd":
339
- return $[i.$W];
339
+ return S[i.$W];
340
340
  case "H":
341
341
  return String(p);
342
342
  case "HH":
@@ -363,12 +363,12 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
363
363
  return d;
364
364
  }
365
365
  return null;
366
- }(v) || d.replace(":", "");
366
+ }($) || d.replace(":", "");
367
367
  });
368
368
  }, r.utcOffset = function() {
369
369
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
370
370
  }, r.diff = function(e, i, t) {
371
- var s, d = this, p = f.p(i), g = w(e), C = (g.utcOffset() - this.utcOffset()) * l, $ = this - g, W = function() {
371
+ var s, d = this, p = f.p(i), g = w(e), C = (g.utcOffset() - this.utcOffset()) * l, S = this - g, W = function() {
372
372
  return f.m(d, g);
373
373
  };
374
374
  switch (p) {
@@ -382,22 +382,22 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
382
382
  s = W() / 3;
383
383
  break;
384
384
  case P:
385
- s = ($ - C) / 6048e5;
385
+ s = (S - C) / 6048e5;
386
386
  break;
387
387
  case T:
388
- s = ($ - C) / 864e5;
388
+ s = (S - C) / 864e5;
389
389
  break;
390
390
  case c:
391
- s = $ / m;
391
+ s = S / m;
392
392
  break;
393
393
  case y:
394
- s = $ / l;
394
+ s = S / l;
395
395
  break;
396
- case S:
397
- s = $ / u;
396
+ case v:
397
+ s = S / u;
398
398
  break;
399
399
  default:
400
- s = $;
400
+ s = S;
401
401
  }
402
402
  return t ? s : f.a(s);
403
403
  }, r.daysInMonth = function() {
@@ -421,7 +421,7 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
421
421
  return this.$d.toUTCString();
422
422
  }, a;
423
423
  }(), Q = Z.prototype;
424
- return w.prototype = Q, [["$ms", L], ["$s", S], ["$m", y], ["$H", c], ["$W", T], ["$M", D], ["$y", z], ["$D", E]].forEach(function(a) {
424
+ return w.prototype = Q, [["$ms", L], ["$s", v], ["$m", y], ["$H", c], ["$W", T], ["$M", D], ["$y", z], ["$D", E]].forEach(function(a) {
425
425
  Q[a[1]] = function(r) {
426
426
  return this.$g(r, a[0], a[1]);
427
427
  };
@@ -439,11 +439,11 @@ var ie = { exports: {} };
439
439
  n.exports = l();
440
440
  })(te, function() {
441
441
  var u = "minute", l = /[+-]\d\d(?::?\d\d)?/g, m = /([+-]|\d\d)/g;
442
- return function(L, S, y) {
443
- var c = S.prototype;
442
+ return function(L, v, y) {
443
+ var c = v.prototype;
444
444
  y.utc = function(o) {
445
445
  var M = { date: o, utc: !0, args: arguments };
446
- return new S(M);
446
+ return new v(M);
447
447
  }, c.utc = function(o) {
448
448
  var M = y(this.toDate(), { locale: this.$L, utc: !0 });
449
449
  return o ? M.add(this.utcOffset(), u) : M;
@@ -584,7 +584,7 @@ const ge = ie.exports, ye = `:host {
584
584
  }`, we = ye;
585
585
  ne.extend(ge);
586
586
  const Ce = () => {
587
- }, Se = class {
587
+ }, ve = class {
588
588
  constructor(n) {
589
589
  se(this, n), this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = me(this.userAgent), this.errorCodes = ["21123", "21122", "21121"], this.mbSource = void 0, this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.endpoint = void 0, this.type = void 0, this.channel = void 0, this.language = void 0, this.productType = void 0, this.userId = void 0, this.session = void 0, this.successUrl = void 0, this.cancelUrl = void 0, this.failUrl = void 0, this.sportsUrl = void 0, this.casinoUrl = void 0, this.contactUrl = void 0, this.depositUrl = void 0, this.currency = "", this.showBonusSelectionInput = "true", this.isShortCashier = !1, this.homeUrl = void 0, this.beforeRedirect = Ce, this.dynamicHeight = void 0, this.cashierInfoUrl = void 0;
590
590
  }
@@ -617,7 +617,7 @@ const Ce = () => {
617
617
  window.removeEventListener("message", this.bindedHandler, !1), this.stylingSubscription && this.stylingSubscription.unsubscribe();
618
618
  }
619
619
  render() {
620
- return b(de, { key: "4133bb899942dd0b2877894bd8744cc7dc25fca8" }, b("div", { key: "c1e0f73f7aa41a951228299f5bd84370c59c9075", ref: (n) => this.stylingContainer = n }, !(this.isMobile && !this.isShortCashier) && b("h2", { key: "6056f42eda79cef3d109997216e65772cb1f6ef1", class: "CategoryTitle" }, H(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language)), b("div", { key: "673e7b2a69996ddce72da30a8f9c30b0199a2222", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}`, style: { marginTop: this.isShortCashier ? "30px" : "0" } }, b("div", { key: "c772cccd0a3fc003a65dd307ee9a723fd471ee80" }, this.isMobile && !this.isShortCashier ? b("div", { class: "MenuReturnButton", onClick: () => this.toggleScreen(this.isMobile) }, b("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, b("defs", null), b("g", { transform: "translate(-20 -158)" }, b("g", { transform: "translate(20 158)" }, b("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), b("h2", { class: "CategoryTitleMobile" }, H(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language))) : null), this.cashierInfoUrl ? b("iframe", { width: "100%", height: this.dynamicHeight, src: this.cashierInfoUrl }) : b("h3", { class: "ErrorMessage" }, this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language)))));
620
+ return b(de, { key: "4133bb899942dd0b2877894bd8744cc7dc25fca8" }, b("div", { key: "c1e0f73f7aa41a951228299f5bd84370c59c9075", ref: (n) => this.stylingContainer = n }, !(this.isMobile && !this.isShortCashier) && b("h2", { key: "6056f42eda79cef3d109997216e65772cb1f6ef1", class: "CategoryTitle" }, H(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language)), b("div", { key: "673e7b2a69996ddce72da30a8f9c30b0199a2222", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}`, style: { marginTop: this.isShortCashier ? "30px" : "0" } }, b("div", { key: "c772cccd0a3fc003a65dd307ee9a723fd471ee80" }, this.isMobile && !this.isShortCashier ? b("div", { class: "MenuReturnButton", onClick: () => this.toggleScreen(this.isMobile) }, b("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, b("defs", null), b("g", { transform: "translate(-20 -158)" }, b("g", { transform: "translate(20 158)" }, b("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), b("h2", { class: "CategoryTitleMobile" }, H(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language))) : null), this.cashierInfoUrl ? b("iframe", { width: "100%", height: this.dynamicHeight, src: this.cashierInfoUrl }) : b("h3", { innerHTML: this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language), class: "ErrorMessage" }))));
621
621
  }
622
622
  async loadWidget() {
623
623
  const n = {
@@ -652,8 +652,8 @@ const Ce = () => {
652
652
  else {
653
653
  let m;
654
654
  if (l.ResponseMessage) {
655
- let S = this.errorCodes.find((y) => l.ResponseMessage.includes(y)) || null;
656
- S ? m = H(`errorCode${S}`, this.language) : m = H("notFoundErrorCode", this.language);
655
+ let v = this.errorCodes.find((y) => l.ResponseMessage.includes(y)) || null;
656
+ v ? m = H(`errorCode${v}`, this.language) : m = H("notFoundErrorCode", this.language);
657
657
  } else
658
658
  m = this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language);
659
659
  const L = { type: "error", message: m };
@@ -664,8 +664,8 @@ const Ce = () => {
664
664
  }
665
665
  }
666
666
  handleMessage(n) {
667
- var h, u, l, m, L, S, y, c;
668
- n.data["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), n.data["MMFE:setQuickDepositHeight"] && this.isShortCashier && (this.dynamicHeight = n.data["MMFE:setQuickDepositHeight"].toString() + "px"), n.data["MMFE:setIFrameHeight"] && (this.dynamicHeight = n.data["MMFE:setIFrameHeight"].toString() + "px"), ((h = n.data) === null || h === void 0 ? void 0 : h.type) === "mm-hcback-to-merchant" && this.doRedirect(n.data.type, this.homeUrl), ((u = n.data) === null || u === void 0 ? void 0 : u.redirect) === "mm-hc-back-tomerchant" && this.doRedirect(n.data.redirect, this.homeUrl), ((l = n.data) === null || l === void 0 ? void 0 : l.redirect) === "mm-hc-sports" && this.doRedirect((m = n.data) === null || m === void 0 ? void 0 : m.redirect, this.sportsUrl), ((L = n.data) === null || L === void 0 ? void 0 : L.redirect) === "mm-hc-casino" && this.doRedirect(window.location.href, this.casinoUrl), ((S = n.data) === null || S === void 0 ? void 0 : S.redirect) === "mm-hc-contact" && (window.postMessage({ type: "CloseShortCashier" }, window.location.href), this.doRedirect(window.location.href, this.contactUrl)), (((y = n.data) === null || y === void 0 ? void 0 : y.redirect) === "mm-wm-hc-init-deposit" || ((c = n.data) === null || c === void 0 ? void 0 : c.redirect) === "mm-wm-hc-init-deposit-quick") && (window.postMessage({ type: "CloseShortCashier" }, window.location.href), this.doRedirect(window.location.href, this.depositUrl));
667
+ var h, u, l, m, L, v, y, c;
668
+ n.data["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), n.data["MMFE:setQuickDepositHeight"] && this.isShortCashier && (this.dynamicHeight = n.data["MMFE:setQuickDepositHeight"].toString() + "px"), n.data["MMFE:setIFrameHeight"] && (this.dynamicHeight = n.data["MMFE:setIFrameHeight"].toString() + "px"), ((h = n.data) === null || h === void 0 ? void 0 : h.type) === "mm-hcback-to-merchant" && this.doRedirect(n.data.type, this.homeUrl), ((u = n.data) === null || u === void 0 ? void 0 : u.redirect) === "mm-hc-back-tomerchant" && this.doRedirect(n.data.redirect, this.homeUrl), ((l = n.data) === null || l === void 0 ? void 0 : l.redirect) === "mm-hc-sports" && this.doRedirect((m = n.data) === null || m === void 0 ? void 0 : m.redirect, this.sportsUrl), ((L = n.data) === null || L === void 0 ? void 0 : L.redirect) === "mm-hc-casino" && this.doRedirect(window.location.href, this.casinoUrl), ((v = n.data) === null || v === void 0 ? void 0 : v.redirect) === "mm-hc-contact" && (window.postMessage({ type: "CloseShortCashier" }, window.location.href), this.doRedirect(window.location.href, this.contactUrl)), (((y = n.data) === null || y === void 0 ? void 0 : y.redirect) === "mm-wm-hc-init-deposit" || ((c = n.data) === null || c === void 0 ? void 0 : c.redirect) === "mm-wm-hc-init-deposit-quick") && (window.postMessage({ type: "CloseShortCashier" }, window.location.href), this.doRedirect(window.location.href, this.depositUrl));
669
669
  }
670
670
  doRedirect(n, h) {
671
671
  const u = { reason: n, url: h, cancel: !1 };
@@ -689,7 +689,7 @@ const Ce = () => {
689
689
  };
690
690
  }
691
691
  };
692
- Se.style = we;
692
+ ve.style = we;
693
693
  export {
694
- Se as user_deposit_withdrawal
694
+ ve as user_deposit_withdrawal
695
695
  };
@@ -1,4 +1,4 @@
1
- "use strict";var Q=(n,h,s)=>new Promise((c,p)=>{var L=l=>{try{g(s.next(l))}catch(b){p(b)}},w=l=>{try{g(s.throw(l))}catch(b){p(b)}},g=l=>l.done?c(l.value):Promise.resolve(l.value).then(L,w);g((s=s.apply(n,h)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const $=require("./index-1ef3a64c-eLYHaH-f.cjs"),de=require("./app-globals-0f993ce5-DgOnOgxM.cjs");var K=typeof document!="undefined"?document.currentScript:null,ue=()=>{const n=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:K&&K.tagName.toUpperCase()==="SCRIPT"&&K.src||new URL("stencil/user-deposit-withdrawal-CC0ZAC_k.cjs",document.baseURI).href,h={};return n!==""&&(h.resourcesUrl=new URL(".",n).href),$.promiseResolve(h)};ue().then(n=>Q(exports,null,function*(){return yield de.globalScripts$1(),$.bootstrapLazy([["user-deposit-withdrawal",[[1,"user-deposit-withdrawal",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],endpoint:[513],type:[513],channel:[513],language:[513],productType:[513,"product-type"],userId:[513,"user-id"],session:[513],successUrl:[513,"success-url"],cancelUrl:[513,"cancel-url"],failUrl:[513,"fail-url"],sportsUrl:[513,"sports-url"],casinoUrl:[513,"casino-url"],contactUrl:[513,"contact-url"],depositUrl:[513,"deposit-url"],currency:[513],showBonusSelectionInput:[513,"show-bonus-selection-input"],isShortCashier:[516,"is-short-cashier"],homeUrl:[513,"home-url"],beforeRedirect:[16],dynamicHeight:[32],cashierInfoUrl:[32]},null,{session:["watchLoadWidget"],userId:["watchLoadWidget"],isShortCashier:["watchLoadWidget"],currency:["watchLoadWidget"],showBonusSelectionInput:["watchLoadWidget"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}]]]],n)}));const le="en",ce=["ro","en","fr","hr","en-us","es-mx","pt-br","es","de","pt","tr"],re={en:{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate deposit transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21121:"Dear Player! Please be informed that currently you are allowed to initiate only withdrawal transactions from your player account. Error Code: 21121",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},"en-us":{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate deposit transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21121:"Dear Player! Please be informed that currently you are allowed to initiate only withdrawal transactions from your player account. Error Code: 21121",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},ro:{Deposit:"Depunere",Withdraw:"Retragere",denyDeposit:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de depunere.",denyWithdrawal:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de retragere.",notFoundErrorCode:"Cod de eroare negăsit",errorCode21122:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a iniția o tranzacție de retragere din contul dvs. de jucător. Cod de eroare: 21122",errorCode21123:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a efectua o depunere în contul dvs. de jucător. Cod de eroare: 21123"},fr:{Deposit:"Dépôt",Withdraw:"Retrait",denyDeposit:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de dépôt.",denyWithdrawal:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de retrait.",notFoundErrorCode:"Code d’erreur introuvable",errorCode21122:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier une transaction de retrait depuis votre compte joueur. Code d’erreur : 21122",errorCode21123:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à effectuer un dépôt sur votre compte joueur. Code d’erreur : 21123"},hr:{Deposit:"Uplata",Withdraw:"Isplata",denyDeposit:"Obavještavamo Vas da trenutno nemate mogućnost uplata.",denyWithdrawal:"Obavještavamo vas da trenutno niste ovlašteni za pokretanje transakcija isplate.",notFoundErrorCode:"Not found error code",errorCode21122:"Poštovani, trenutno nije moguće izvršiti isplatu sa Vašeg računa. Error Code: 21122",errorCode21123:"Poštovani, trenutno nije moguće izvršiti uplatu na Vaš račun. Error Code:21123"},de:{Deposit:"Einzahlung",Withdraw:"Abhebung",denyDeposit:"Bitte beachten Sie, dass Sie derzeit keine Einzahlungs-Transaktionen durchführen dürfen.",denyWithdrawal:"Bitte beachten Sie, dass Sie derzeit keine Abhebungs-Transaktionen durchführen dürfen.",notFoundErrorCode:"Fehlercode nicht gefunden",errorCode21122:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Abhebung von Ihrem Spielerkonto durchführen dürfen. Fehlercode: 21122",errorCode21123:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Einzahlung auf Ihr Spielerkonto durchführen dürfen. Fehlercode: 21123"},es:{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},pt:{Deposit:"Depósito",Withdraw:"Levantamento",denyDeposit:"Informamos que atualmente não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente não tem permissão para iniciar transações de levantamento.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente não tem permissão para iniciar uma transação de levantamento na sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente não tem permissão para realizar um depósito na sua conta de jogador. Código de erro: 21123"},"es-mx":{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},"pt-br":{Deposit:"Depósito",Withdraw:"Saque",denyDeposit:"Informamos que atualmente você não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente você não tem permissão para iniciar transações de saque.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente você não tem permissão para iniciar uma transação de saque em sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente você não tem permissão para realizar um depósito em sua conta de jogador. Código de erro: 21123"},tr:{Deposit:"Para Yatırma",Withdraw:"Para Çekme",denyDeposit:"Lütfen şu anda para yatırma işlemi başlatamayacağınızı bilgilerinize sunarız.",denyWithdrawal:"Lütfen şu anda para çekme işlemi başlatamayacağınızı bilgilerinize sunarız.",notFoundErrorCode:"Hata kodu bulunamadı",errorCode21122:"Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınızdan para çekme işlemi başlatamayacağınızı bilgilerinize sunarız. Hata Kodu: 21122",errorCode21123:"Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınıza para yatırma işlemi yapamayacağınızı bilgilerinize sunarız. Hata Kodu: 21123"}},he=n=>new Promise(h=>{fetch(n).then(s=>s.json()).then(s=>{Object.keys(s).forEach(c=>{for(let p in s[c])re[c][p]=s[c][p]}),h(!0)})}),I=(n,h)=>{const s=h;return re[s!==void 0&&ce.includes(s)?s:le][n]};function ee(n,h){if(n){const s=document.createElement("style");s.innerHTML=h,n.appendChild(s)}}function te(n,h){const s=new URL(h);fetch(s.href).then(c=>c.text()).then(c=>{const p=document.createElement("style");p.innerHTML=c,n&&n.appendChild(p)}).catch(c=>{console.error("There was an error while trying to load client styling from URL",c)})}function fe(n,h,s){if(window.emMessageBus){const c=document.createElement("style");window.emMessageBus.subscribe(h,p=>{c.innerHTML=p,n&&n.appendChild(c)})}}const pe=n=>!!(n.toLowerCase().match(/android/i)||n.toLowerCase().match(/blackberry|bb/i)||n.toLowerCase().match(/iphone|ipad|ipod/i)||n.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));var ne=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ie={exports:{}};(function(n,h){(function(s,c){n.exports=c()})(ne,function(){var s=1e3,c=6e4,p=36e5,L="millisecond",w="second",g="minute",l="hour",b="day",P="week",M="month",N="quarter",z="year",E="date",o="Invalid Date",U=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,H=/\[([^\]]+)]|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,F={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(a){var r=["th","st","nd","rd"],e=a%100;return"["+a+(r[(e-20)%10]||r[e]||r[0])+"]"}},W=function(a,r,e){var i=String(a);return!i||i.length>=r?a:""+Array(r+1-i.length).join(e)+a},G={s:W,z:function(a){var r=-a.utcOffset(),e=Math.abs(r),i=Math.floor(e/60),t=e%60;return(r<=0?"+":"-")+W(i,2,"0")+":"+W(t,2,"0")},m:function a(r,e){if(r.date()<e.date())return-a(e,r);var i=12*(e.year()-r.year())+(e.month()-r.month()),t=r.clone().add(i,M),d=e-t<0,u=r.clone().add(i+(d?-1:1),M);return+(-(i+(e-t)/(d?t-u:u-t))||0)},a:function(a){return a<0?Math.ceil(a)||0:Math.floor(a)},p:function(a){return{M,y:z,w:P,d:b,D:E,h:l,m:g,s:w,ms:L,Q:N}[a]||String(a||"").toLowerCase().replace(/s$/,"")},u:function(a){return a===void 0}},x="en",k={};k[x]=F;var q="$isDayjsObject",B=function(a){return a instanceof Z||!(!a||!a[q])},O=function a(r,e,i){var t;if(!r)return x;if(typeof r=="string"){var d=r.toLowerCase();k[d]&&(t=d),e&&(k[d]=e,t=d);var u=r.split("-");if(!t&&u.length>1)return a(u[0])}else{var m=r.name;k[m]=r,t=m}return!i&&t&&(x=t),t||!i&&x},C=function(a,r){if(B(a))return a.clone();var e=typeof r=="object"?r:{};return e.date=a,e.args=arguments,new Z(e)},f=G;f.l=O,f.i=B,f.w=function(a,r){return C(a,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var Z=function(){function a(e){this.$L=O(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[q]=!0}var r=a.prototype;return r.parse=function(e){this.$d=function(i){var t=i.date,d=i.utc;if(t===null)return new Date(NaN);if(f.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t=="string"&&!/Z$/i.test(t)){var u=t.match(U);if(u){var m=u[2]-1||0,y=(u[7]||"0").substring(0,3);return d?new Date(Date.UTC(u[1],m,u[3]||1,u[4]||0,u[5]||0,u[6]||0,y)):new Date(u[1],m,u[3]||1,u[4]||0,u[5]||0,u[6]||0,y)}}return new Date(t)}(e),this.init()},r.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},r.$utils=function(){return f},r.isValid=function(){return this.$d.toString()!==o},r.isSame=function(e,i){var t=C(e);return this.startOf(i)<=t&&t<=this.endOf(i)},r.isAfter=function(e,i){return C(e)<this.startOf(i)},r.isBefore=function(e,i){return this.endOf(i)<C(e)},r.$g=function(e,i,t){return f.u(e)?this[i]:this.set(t,e)},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this.$d.getTime()},r.startOf=function(e,i){var t=this,d=!!f.u(i)||i,u=f.p(e),m=function(R,D){var j=f.w(t.$u?Date.UTC(t.$y,D,R):new Date(t.$y,D,R),t);return d?j:j.endOf(b)},y=function(R,D){return f.w(t.toDate()[R].apply(t.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(D)),t)},S=this.$W,v=this.$M,T=this.$D,Y="set"+(this.$u?"UTC":"");switch(u){case z:return d?m(1,0):m(31,11);case M:return d?m(1,v):m(0,v+1);case P:var _=this.$locale().weekStart||0,A=(S<_?S+7:S)-_;return m(d?T-A:T+(6-A),v);case b:case E:return y(Y+"Hours",0);case l:return y(Y+"Minutes",1);case g:return y(Y+"Seconds",2);case w:return y(Y+"Milliseconds",3);default:return this.clone()}},r.endOf=function(e){return this.startOf(e,!1)},r.$set=function(e,i){var t,d=f.p(e),u="set"+(this.$u?"UTC":""),m=(t={},t[b]=u+"Date",t[E]=u+"Date",t[M]=u+"Month",t[z]=u+"FullYear",t[l]=u+"Hours",t[g]=u+"Minutes",t[w]=u+"Seconds",t[L]=u+"Milliseconds",t)[d],y=d===b?this.$D+(i-this.$W):i;if(d===M||d===z){var S=this.clone().set(E,1);S.$d[m](y),S.init(),this.$d=S.set(E,Math.min(this.$D,S.daysInMonth())).$d}else m&&this.$d[m](y);return this.init(),this},r.set=function(e,i){return this.clone().$set(e,i)},r.get=function(e){return this[f.p(e)]()},r.add=function(e,i){var t,d=this;e=Number(e);var u=f.p(i),m=function(v){var T=C(d);return f.w(T.date(T.date()+Math.round(v*e)),d)};if(u===M)return this.set(M,this.$M+e);if(u===z)return this.set(z,this.$y+e);if(u===b)return m(1);if(u===P)return m(7);var y=(t={},t[g]=c,t[l]=p,t[w]=s,t)[u]||1,S=this.$d.getTime()+e*y;return f.w(S,this)},r.subtract=function(e,i){return this.add(-1*e,i)},r.format=function(e){var i=this,t=this.$locale();if(!this.isValid())return t.invalidDate||o;var d=e||"YYYY-MM-DDTHH:mm:ssZ",u=f.z(this),m=this.$H,y=this.$m,S=this.$M,v=t.weekdays,T=t.months,Y=t.meridiem,_=function(D,j,V,J){return D&&(D[j]||D(i,d))||V[j].slice(0,J)},A=function(D){return f.s(m%12||12,D,"0")},R=Y||function(D,j,V){var J=D<12?"AM":"PM";return V?J.toLowerCase():J};return d.replace(H,function(D,j){return j||function(V){switch(V){case"YY":return String(i.$y).slice(-2);case"YYYY":return f.s(i.$y,4,"0");case"M":return S+1;case"MM":return f.s(S+1,2,"0");case"MMM":return _(t.monthsShort,S,T,3);case"MMMM":return _(T,S);case"D":return i.$D;case"DD":return f.s(i.$D,2,"0");case"d":return String(i.$W);case"dd":return _(t.weekdaysMin,i.$W,v,2);case"ddd":return _(t.weekdaysShort,i.$W,v,3);case"dddd":return v[i.$W];case"H":return String(m);case"HH":return f.s(m,2,"0");case"h":return A(1);case"hh":return A(2);case"a":return R(m,y,!0);case"A":return R(m,y,!1);case"m":return String(y);case"mm":return f.s(y,2,"0");case"s":return String(i.$s);case"ss":return f.s(i.$s,2,"0");case"SSS":return f.s(i.$ms,3,"0");case"Z":return u}return null}(D)||u.replace(":","")})},r.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},r.diff=function(e,i,t){var d,u=this,m=f.p(i),y=C(e),S=(y.utcOffset()-this.utcOffset())*c,v=this-y,T=function(){return f.m(u,y)};switch(m){case z:d=T()/12;break;case M:d=T();break;case N:d=T()/3;break;case P:d=(v-S)/6048e5;break;case b:d=(v-S)/864e5;break;case l:d=v/p;break;case g:d=v/c;break;case w:d=v/s;break;default:d=v}return t?d:f.a(d)},r.daysInMonth=function(){return this.endOf(M).$D},r.$locale=function(){return k[this.$L]},r.locale=function(e,i){if(!e)return this.$L;var t=this.clone(),d=O(e,i,!0);return d&&(t.$L=d),t},r.clone=function(){return f.w(this.$d,this)},r.toDate=function(){return new Date(this.valueOf())},r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toISOString=function(){return this.$d.toISOString()},r.toString=function(){return this.$d.toUTCString()},a}(),X=Z.prototype;return C.prototype=X,[["$ms",L],["$s",w],["$m",g],["$H",l],["$W",b],["$M",M],["$y",z],["$D",E]].forEach(function(a){X[a[1]]=function(r){return this.$g(r,a[0],a[1])}}),C.extend=function(a,r){return a.$i||(a(r,Z,C),a.$i=!0),C},C.locale=O,C.isDayjs=B,C.unix=function(a){return C(1e3*a)},C.en=k[x],C.Ls=k,C.p={},C})})(ie);const ae=ie.exports;var oe={exports:{}};(function(n,h){(function(s,c){n.exports=c()})(ne,function(){var s="minute",c=/[+-]\d\d(?::?\d\d)?/g,p=/([+-]|\d\d)/g;return function(L,w,g){var l=w.prototype;g.utc=function(o){var U={date:o,utc:!0,args:arguments};return new w(U)},l.utc=function(o){var U=g(this.toDate(),{locale:this.$L,utc:!0});return o?U.add(this.utcOffset(),s):U},l.local=function(){return g(this.toDate(),{locale:this.$L,utc:!1})};var b=l.parse;l.parse=function(o){o.utc&&(this.$u=!0),this.$utils().u(o.$offset)||(this.$offset=o.$offset),b.call(this,o)};var P=l.init;l.init=function(){if(this.$u){var o=this.$d;this.$y=o.getUTCFullYear(),this.$M=o.getUTCMonth(),this.$D=o.getUTCDate(),this.$W=o.getUTCDay(),this.$H=o.getUTCHours(),this.$m=o.getUTCMinutes(),this.$s=o.getUTCSeconds(),this.$ms=o.getUTCMilliseconds()}else P.call(this)};var M=l.utcOffset;l.utcOffset=function(o,U){var H=this.$utils().u;if(H(o))return this.$u?0:H(this.$offset)?M.call(this):this.$offset;if(typeof o=="string"&&(o=function(x){x===void 0&&(x="");var k=x.match(c);if(!k)return null;var q=(""+k[0]).match(p)||["-",0,0],B=q[0],O=60*+q[1]+ +q[2];return O===0?0:B==="+"?O:-O}(o),o===null))return this;var F=Math.abs(o)<=16?60*o:o,W=this;if(U)return W.$offset=F,W.$u=o===0,W;if(o!==0){var G=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(W=this.local().add(F+G,s)).$offset=F,W.$x.$localOffset=G}else W=this.utc();return W};var N=l.format;l.format=function(o){var U=o||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return N.call(this,U)},l.valueOf=function(){var o=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*o},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var z=l.toDate;l.toDate=function(o){return o==="s"&&this.$offset?g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():z.call(this)};var E=l.diff;l.diff=function(o,U,H){if(o&&this.$u===o.$u)return E.call(this,o,U,H);var F=this.local(),W=g(o).local();return E.call(F,W,U,H)}}})})(oe);const me=oe.exports,ge=`:host {
1
+ "use strict";var Q=(n,h,s)=>new Promise((c,p)=>{var L=l=>{try{g(s.next(l))}catch(b){p(b)}},w=l=>{try{g(s.throw(l))}catch(b){p(b)}},g=l=>l.done?c(l.value):Promise.resolve(l.value).then(L,w);g((s=s.apply(n,h)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("./index-1ef3a64c-Bi7BfDjU.cjs"),de=require("./app-globals-0f993ce5-DgOnOgxM.cjs");var K=typeof document!="undefined"?document.currentScript:null,ue=()=>{const n=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:K&&K.tagName.toUpperCase()==="SCRIPT"&&K.src||new URL("stencil/user-deposit-withdrawal-CrFUxhuF.cjs",document.baseURI).href,h={};return n!==""&&(h.resourcesUrl=new URL(".",n).href),S.promiseResolve(h)};ue().then(n=>Q(exports,null,function*(){return yield de.globalScripts$1(),S.bootstrapLazy([["user-deposit-withdrawal",[[1,"user-deposit-withdrawal",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],endpoint:[513],type:[513],channel:[513],language:[513],productType:[513,"product-type"],userId:[513,"user-id"],session:[513],successUrl:[513,"success-url"],cancelUrl:[513,"cancel-url"],failUrl:[513,"fail-url"],sportsUrl:[513,"sports-url"],casinoUrl:[513,"casino-url"],contactUrl:[513,"contact-url"],depositUrl:[513,"deposit-url"],currency:[513],showBonusSelectionInput:[513,"show-bonus-selection-input"],isShortCashier:[516,"is-short-cashier"],homeUrl:[513,"home-url"],beforeRedirect:[16],dynamicHeight:[32],cashierInfoUrl:[32]},null,{session:["watchLoadWidget"],userId:["watchLoadWidget"],isShortCashier:["watchLoadWidget"],currency:["watchLoadWidget"],showBonusSelectionInput:["watchLoadWidget"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}]]]],n)}));const le="en",ce=["ro","en","fr","hr","en-us","es-mx","pt-br","es","de","pt","tr"],re={en:{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate deposit transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21121:"Dear Player! Please be informed that currently you are allowed to initiate only withdrawal transactions from your player account. Error Code: 21121",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},"en-us":{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate deposit transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21121:"Dear Player! Please be informed that currently you are allowed to initiate only withdrawal transactions from your player account. Error Code: 21121",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},ro:{Deposit:"Depunere",Withdraw:"Retragere",denyDeposit:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de depunere.",denyWithdrawal:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de retragere.",notFoundErrorCode:"Cod de eroare negăsit",errorCode21122:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a iniția o tranzacție de retragere din contul dvs. de jucător. Cod de eroare: 21122",errorCode21123:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a efectua o depunere în contul dvs. de jucător. Cod de eroare: 21123"},fr:{Deposit:"Dépôt",Withdraw:"Retrait",denyDeposit:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de dépôt.",denyWithdrawal:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de retrait.",notFoundErrorCode:"Code d’erreur introuvable",errorCode21122:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier une transaction de retrait depuis votre compte joueur. Code d’erreur : 21122",errorCode21123:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à effectuer un dépôt sur votre compte joueur. Code d’erreur : 21123"},hr:{Deposit:"Uplata",Withdraw:"Isplata",denyDeposit:"Obavještavamo Vas da trenutno nemate mogućnost uplata.",denyWithdrawal:"Obavještavamo vas da trenutno niste ovlašteni za pokretanje transakcija isplate.",notFoundErrorCode:"Not found error code",errorCode21122:"Poštovani, trenutno nije moguće izvršiti isplatu sa Vašeg računa. Error Code: 21122",errorCode21123:"Poštovani, trenutno nije moguće izvršiti uplatu na Vaš račun. Error Code:21123"},de:{Deposit:"Einzahlung",Withdraw:"Abhebung",denyDeposit:"Bitte beachten Sie, dass Sie derzeit keine Einzahlungs-Transaktionen durchführen dürfen.",denyWithdrawal:"Bitte beachten Sie, dass Sie derzeit keine Abhebungs-Transaktionen durchführen dürfen.",notFoundErrorCode:"Fehlercode nicht gefunden",errorCode21122:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Abhebung von Ihrem Spielerkonto durchführen dürfen. Fehlercode: 21122",errorCode21123:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Einzahlung auf Ihr Spielerkonto durchführen dürfen. Fehlercode: 21123"},es:{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},pt:{Deposit:"Depósito",Withdraw:"Levantamento",denyDeposit:"Informamos que atualmente não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente não tem permissão para iniciar transações de levantamento.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente não tem permissão para iniciar uma transação de levantamento na sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente não tem permissão para realizar um depósito na sua conta de jogador. Código de erro: 21123"},"es-mx":{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},"pt-br":{Deposit:"Depósito",Withdraw:"Saque",denyDeposit:"Informamos que atualmente você não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente você não tem permissão para iniciar transações de saque.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente você não tem permissão para iniciar uma transação de saque em sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente você não tem permissão para realizar um depósito em sua conta de jogador. Código de erro: 21123"},tr:{Deposit:"Para Yatırma",Withdraw:"Para Çekme",denyDeposit:"Lütfen şu anda para yatırma işlemi başlatamayacağınızı bilgilerinize sunarız.",denyWithdrawal:"Lütfen şu anda para çekme işlemi başlatamayacağınızı bilgilerinize sunarız.",notFoundErrorCode:"Hata kodu bulunamadı",errorCode21122:"Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınızdan para çekme işlemi başlatamayacağınızı bilgilerinize sunarız. Hata Kodu: 21122",errorCode21123:"Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınıza para yatırma işlemi yapamayacağınızı bilgilerinize sunarız. Hata Kodu: 21123"}},he=n=>new Promise(h=>{fetch(n).then(s=>s.json()).then(s=>{Object.keys(s).forEach(c=>{for(let p in s[c])re[c][p]=s[c][p]}),h(!0)})}),I=(n,h)=>{const s=h;return re[s!==void 0&&ce.includes(s)?s:le][n]};function ee(n,h){if(n){const s=document.createElement("style");s.innerHTML=h,n.appendChild(s)}}function te(n,h){const s=new URL(h);fetch(s.href).then(c=>c.text()).then(c=>{const p=document.createElement("style");p.innerHTML=c,n&&n.appendChild(p)}).catch(c=>{console.error("There was an error while trying to load client styling from URL",c)})}function fe(n,h,s){if(window.emMessageBus){const c=document.createElement("style");window.emMessageBus.subscribe(h,p=>{c.innerHTML=p,n&&n.appendChild(c)})}}const pe=n=>!!(n.toLowerCase().match(/android/i)||n.toLowerCase().match(/blackberry|bb/i)||n.toLowerCase().match(/iphone|ipad|ipod/i)||n.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));var ne=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ie={exports:{}};(function(n,h){(function(s,c){n.exports=c()})(ne,function(){var s=1e3,c=6e4,p=36e5,L="millisecond",w="second",g="minute",l="hour",b="day",P="week",M="month",N="quarter",z="year",E="date",o="Invalid Date",U=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,H=/\[([^\]]+)]|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,F={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(a){var r=["th","st","nd","rd"],e=a%100;return"["+a+(r[(e-20)%10]||r[e]||r[0])+"]"}},W=function(a,r,e){var i=String(a);return!i||i.length>=r?a:""+Array(r+1-i.length).join(e)+a},G={s:W,z:function(a){var r=-a.utcOffset(),e=Math.abs(r),i=Math.floor(e/60),t=e%60;return(r<=0?"+":"-")+W(i,2,"0")+":"+W(t,2,"0")},m:function a(r,e){if(r.date()<e.date())return-a(e,r);var i=12*(e.year()-r.year())+(e.month()-r.month()),t=r.clone().add(i,M),d=e-t<0,u=r.clone().add(i+(d?-1:1),M);return+(-(i+(e-t)/(d?t-u:u-t))||0)},a:function(a){return a<0?Math.ceil(a)||0:Math.floor(a)},p:function(a){return{M,y:z,w:P,d:b,D:E,h:l,m:g,s:w,ms:L,Q:N}[a]||String(a||"").toLowerCase().replace(/s$/,"")},u:function(a){return a===void 0}},x="en",k={};k[x]=F;var q="$isDayjsObject",B=function(a){return a instanceof Z||!(!a||!a[q])},O=function a(r,e,i){var t;if(!r)return x;if(typeof r=="string"){var d=r.toLowerCase();k[d]&&(t=d),e&&(k[d]=e,t=d);var u=r.split("-");if(!t&&u.length>1)return a(u[0])}else{var m=r.name;k[m]=r,t=m}return!i&&t&&(x=t),t||!i&&x},C=function(a,r){if(B(a))return a.clone();var e=typeof r=="object"?r:{};return e.date=a,e.args=arguments,new Z(e)},f=G;f.l=O,f.i=B,f.w=function(a,r){return C(a,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var Z=function(){function a(e){this.$L=O(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[q]=!0}var r=a.prototype;return r.parse=function(e){this.$d=function(i){var t=i.date,d=i.utc;if(t===null)return new Date(NaN);if(f.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t=="string"&&!/Z$/i.test(t)){var u=t.match(U);if(u){var m=u[2]-1||0,y=(u[7]||"0").substring(0,3);return d?new Date(Date.UTC(u[1],m,u[3]||1,u[4]||0,u[5]||0,u[6]||0,y)):new Date(u[1],m,u[3]||1,u[4]||0,u[5]||0,u[6]||0,y)}}return new Date(t)}(e),this.init()},r.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},r.$utils=function(){return f},r.isValid=function(){return this.$d.toString()!==o},r.isSame=function(e,i){var t=C(e);return this.startOf(i)<=t&&t<=this.endOf(i)},r.isAfter=function(e,i){return C(e)<this.startOf(i)},r.isBefore=function(e,i){return this.endOf(i)<C(e)},r.$g=function(e,i,t){return f.u(e)?this[i]:this.set(t,e)},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this.$d.getTime()},r.startOf=function(e,i){var t=this,d=!!f.u(i)||i,u=f.p(e),m=function(R,D){var j=f.w(t.$u?Date.UTC(t.$y,D,R):new Date(t.$y,D,R),t);return d?j:j.endOf(b)},y=function(R,D){return f.w(t.toDate()[R].apply(t.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(D)),t)},v=this.$W,$=this.$M,T=this.$D,Y="set"+(this.$u?"UTC":"");switch(u){case z:return d?m(1,0):m(31,11);case M:return d?m(1,$):m(0,$+1);case P:var _=this.$locale().weekStart||0,A=(v<_?v+7:v)-_;return m(d?T-A:T+(6-A),$);case b:case E:return y(Y+"Hours",0);case l:return y(Y+"Minutes",1);case g:return y(Y+"Seconds",2);case w:return y(Y+"Milliseconds",3);default:return this.clone()}},r.endOf=function(e){return this.startOf(e,!1)},r.$set=function(e,i){var t,d=f.p(e),u="set"+(this.$u?"UTC":""),m=(t={},t[b]=u+"Date",t[E]=u+"Date",t[M]=u+"Month",t[z]=u+"FullYear",t[l]=u+"Hours",t[g]=u+"Minutes",t[w]=u+"Seconds",t[L]=u+"Milliseconds",t)[d],y=d===b?this.$D+(i-this.$W):i;if(d===M||d===z){var v=this.clone().set(E,1);v.$d[m](y),v.init(),this.$d=v.set(E,Math.min(this.$D,v.daysInMonth())).$d}else m&&this.$d[m](y);return this.init(),this},r.set=function(e,i){return this.clone().$set(e,i)},r.get=function(e){return this[f.p(e)]()},r.add=function(e,i){var t,d=this;e=Number(e);var u=f.p(i),m=function($){var T=C(d);return f.w(T.date(T.date()+Math.round($*e)),d)};if(u===M)return this.set(M,this.$M+e);if(u===z)return this.set(z,this.$y+e);if(u===b)return m(1);if(u===P)return m(7);var y=(t={},t[g]=c,t[l]=p,t[w]=s,t)[u]||1,v=this.$d.getTime()+e*y;return f.w(v,this)},r.subtract=function(e,i){return this.add(-1*e,i)},r.format=function(e){var i=this,t=this.$locale();if(!this.isValid())return t.invalidDate||o;var d=e||"YYYY-MM-DDTHH:mm:ssZ",u=f.z(this),m=this.$H,y=this.$m,v=this.$M,$=t.weekdays,T=t.months,Y=t.meridiem,_=function(D,j,V,J){return D&&(D[j]||D(i,d))||V[j].slice(0,J)},A=function(D){return f.s(m%12||12,D,"0")},R=Y||function(D,j,V){var J=D<12?"AM":"PM";return V?J.toLowerCase():J};return d.replace(H,function(D,j){return j||function(V){switch(V){case"YY":return String(i.$y).slice(-2);case"YYYY":return f.s(i.$y,4,"0");case"M":return v+1;case"MM":return f.s(v+1,2,"0");case"MMM":return _(t.monthsShort,v,T,3);case"MMMM":return _(T,v);case"D":return i.$D;case"DD":return f.s(i.$D,2,"0");case"d":return String(i.$W);case"dd":return _(t.weekdaysMin,i.$W,$,2);case"ddd":return _(t.weekdaysShort,i.$W,$,3);case"dddd":return $[i.$W];case"H":return String(m);case"HH":return f.s(m,2,"0");case"h":return A(1);case"hh":return A(2);case"a":return R(m,y,!0);case"A":return R(m,y,!1);case"m":return String(y);case"mm":return f.s(y,2,"0");case"s":return String(i.$s);case"ss":return f.s(i.$s,2,"0");case"SSS":return f.s(i.$ms,3,"0");case"Z":return u}return null}(D)||u.replace(":","")})},r.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},r.diff=function(e,i,t){var d,u=this,m=f.p(i),y=C(e),v=(y.utcOffset()-this.utcOffset())*c,$=this-y,T=function(){return f.m(u,y)};switch(m){case z:d=T()/12;break;case M:d=T();break;case N:d=T()/3;break;case P:d=($-v)/6048e5;break;case b:d=($-v)/864e5;break;case l:d=$/p;break;case g:d=$/c;break;case w:d=$/s;break;default:d=$}return t?d:f.a(d)},r.daysInMonth=function(){return this.endOf(M).$D},r.$locale=function(){return k[this.$L]},r.locale=function(e,i){if(!e)return this.$L;var t=this.clone(),d=O(e,i,!0);return d&&(t.$L=d),t},r.clone=function(){return f.w(this.$d,this)},r.toDate=function(){return new Date(this.valueOf())},r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toISOString=function(){return this.$d.toISOString()},r.toString=function(){return this.$d.toUTCString()},a}(),X=Z.prototype;return C.prototype=X,[["$ms",L],["$s",w],["$m",g],["$H",l],["$W",b],["$M",M],["$y",z],["$D",E]].forEach(function(a){X[a[1]]=function(r){return this.$g(r,a[0],a[1])}}),C.extend=function(a,r){return a.$i||(a(r,Z,C),a.$i=!0),C},C.locale=O,C.isDayjs=B,C.unix=function(a){return C(1e3*a)},C.en=k[x],C.Ls=k,C.p={},C})})(ie);const ae=ie.exports;var oe={exports:{}};(function(n,h){(function(s,c){n.exports=c()})(ne,function(){var s="minute",c=/[+-]\d\d(?::?\d\d)?/g,p=/([+-]|\d\d)/g;return function(L,w,g){var l=w.prototype;g.utc=function(o){var U={date:o,utc:!0,args:arguments};return new w(U)},l.utc=function(o){var U=g(this.toDate(),{locale:this.$L,utc:!0});return o?U.add(this.utcOffset(),s):U},l.local=function(){return g(this.toDate(),{locale:this.$L,utc:!1})};var b=l.parse;l.parse=function(o){o.utc&&(this.$u=!0),this.$utils().u(o.$offset)||(this.$offset=o.$offset),b.call(this,o)};var P=l.init;l.init=function(){if(this.$u){var o=this.$d;this.$y=o.getUTCFullYear(),this.$M=o.getUTCMonth(),this.$D=o.getUTCDate(),this.$W=o.getUTCDay(),this.$H=o.getUTCHours(),this.$m=o.getUTCMinutes(),this.$s=o.getUTCSeconds(),this.$ms=o.getUTCMilliseconds()}else P.call(this)};var M=l.utcOffset;l.utcOffset=function(o,U){var H=this.$utils().u;if(H(o))return this.$u?0:H(this.$offset)?M.call(this):this.$offset;if(typeof o=="string"&&(o=function(x){x===void 0&&(x="");var k=x.match(c);if(!k)return null;var q=(""+k[0]).match(p)||["-",0,0],B=q[0],O=60*+q[1]+ +q[2];return O===0?0:B==="+"?O:-O}(o),o===null))return this;var F=Math.abs(o)<=16?60*o:o,W=this;if(U)return W.$offset=F,W.$u=o===0,W;if(o!==0){var G=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(W=this.local().add(F+G,s)).$offset=F,W.$x.$localOffset=G}else W=this.utc();return W};var N=l.format;l.format=function(o){var U=o||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return N.call(this,U)},l.valueOf=function(){var o=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*o},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var z=l.toDate;l.toDate=function(o){return o==="s"&&this.$offset?g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():z.call(this)};var E=l.diff;l.diff=function(o,U,H){if(o&&this.$u===o.$u)return E.call(this,o,U,H);var F=this.local(),W=g(o).local();return E.call(F,W,U,H)}}})})(oe);const me=oe.exports,ge=`:host {
2
2
  font: inherit;
3
3
  display: block;
4
4
  height: 100%;
@@ -65,4 +65,4 @@
65
65
  .DepositWithdrawalWrapper:not(.ShortCashier) {
66
66
  overflow: visible;
67
67
  }
68
- }`,ye=ge;ae.extend(me);const we=()=>{},se=class{constructor(n){$.registerInstance(this,n),this.bindedHandler=this.handleMessage.bind(this),this.userAgent=window.navigator.userAgent,this.isMobile=pe(this.userAgent),this.errorCodes=["21123","21122","21121"],this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.endpoint=void 0,this.type=void 0,this.channel=void 0,this.language=void 0,this.productType=void 0,this.userId=void 0,this.session=void 0,this.successUrl=void 0,this.cancelUrl=void 0,this.failUrl=void 0,this.sportsUrl=void 0,this.casinoUrl=void 0,this.contactUrl=void 0,this.depositUrl=void 0,this.currency="",this.showBonusSelectionInput="true",this.isShortCashier=!1,this.homeUrl=void 0,this.beforeRedirect=we,this.dynamicHeight=void 0,this.cashierInfoUrl=void 0}get typeParameter(){if(this.type==="deposit")return"Deposit";if(this.type==="withdraw")return"Withdraw"}watchLoadWidget(){this.loadWidget()}handleClientStylingChange(n,h){n!=h&&ee(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(n,h){n!=h&&this.clientStylingUrl&&te(this.stylingContainer,this.clientStylingUrl)}componentWillLoad(){return Q(this,null,function*(){if(yield this.loadWidget(),this.translationUrl)return he(this.translationUrl)})}toggleScreen(n){window.postMessage({type:"PlayerAccountMenuActive",isMobile:n},window.location.href)}componentDidLoad(){this.stylingContainer&&(window.emMessageBus!=null?fe(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&ee(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&te(this.stylingContainer,this.clientStylingUrl))),window.addEventListener("message",this.bindedHandler,!1)}disconnectedCallback(){window.removeEventListener("message",this.bindedHandler,!1),this.stylingSubscription&&this.stylingSubscription.unsubscribe()}render(){return $.h($.Host,{key:"4133bb899942dd0b2877894bd8744cc7dc25fca8"},$.h("div",{key:"c1e0f73f7aa41a951228299f5bd84370c59c9075",ref:n=>this.stylingContainer=n},!(this.isMobile&&!this.isShortCashier)&&$.h("h2",{key:"6056f42eda79cef3d109997216e65772cb1f6ef1",class:"CategoryTitle"},I(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language)),$.h("div",{key:"673e7b2a69996ddce72da30a8f9c30b0199a2222",class:`DepositWithdrawalWrapper ${this.isShortCashier?"ShortCashier":""}`,style:{marginTop:this.isShortCashier?"30px":"0"}},$.h("div",{key:"c772cccd0a3fc003a65dd307ee9a723fd471ee80"},this.isMobile&&!this.isShortCashier?$.h("div",{class:"MenuReturnButton",onClick:()=>this.toggleScreen(this.isMobile)},$.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},$.h("defs",null),$.h("g",{transform:"translate(-20 -158)"},$.h("g",{transform:"translate(20 158)"},$.h("path",{class:"aaa",d:"M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z",transform:"translate(15 15) rotate(180)"})))),$.h("h2",{class:"CategoryTitleMobile"},I(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language))):null),this.cashierInfoUrl?$.h("iframe",{width:"100%",height:this.dynamicHeight,src:this.cashierInfoUrl}):$.h("h3",{class:"ErrorMessage"},this.type==="deposit"?I("denyDeposit",this.language):I("denyWithdrawal",this.language)))))}loadWidget(){return Q(this,null,function*(){const n={Channel:this.channel,Type:this.typeParameter,SuccessUrl:this.successUrl,CancelUrl:this.cancelUrl,FailUrl:this.failUrl,Language:this.language,productType:this.productType,isShortCashier:this.isShortCashier,currency:this.currency,showBonusSelectionInput:this.showBonusSelectionInput};try{const h=`${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`,s=yield fetch(h,{method:"POST",headers:{"X-Sessionid":this.session,"Content-Type":"application/json","X-Client-Request-Timestamp":ae.utc().format("YYYY-MM-DD HH:mm:ss.SSS")},body:JSON.stringify(n)});if(!s.ok){const p=yield s.text();throw new Error(p)}const c=yield s.json();if(c.CashierInfo)this.cashierInfoUrl=c.CashierInfo.Url;else{let p;if(c.ResponseMessage){let w=this.errorCodes.find(g=>c.ResponseMessage.includes(g))||null;w?p=I(`errorCode${w}`,this.language):p=I("notFoundErrorCode",this.language)}else p=this.type==="deposit"?I("denyDeposit",this.language):I("denyWithdrawal",this.language);const L={type:"error",message:p};window.postMessage({type:"DenyDepositOrWithdrawal",data:L},window.location.href)}}catch(h){console.error(h)}})}handleMessage(n){var h,s,c,p,L,w,g,l;n.data["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),n.data["MMFE:setQuickDepositHeight"]&&this.isShortCashier&&(this.dynamicHeight=n.data["MMFE:setQuickDepositHeight"].toString()+"px"),n.data["MMFE:setIFrameHeight"]&&(this.dynamicHeight=n.data["MMFE:setIFrameHeight"].toString()+"px"),((h=n.data)===null||h===void 0?void 0:h.type)==="mm-hcback-to-merchant"&&this.doRedirect(n.data.type,this.homeUrl),((s=n.data)===null||s===void 0?void 0:s.redirect)==="mm-hc-back-tomerchant"&&this.doRedirect(n.data.redirect,this.homeUrl),((c=n.data)===null||c===void 0?void 0:c.redirect)==="mm-hc-sports"&&this.doRedirect((p=n.data)===null||p===void 0?void 0:p.redirect,this.sportsUrl),((L=n.data)===null||L===void 0?void 0:L.redirect)==="mm-hc-casino"&&this.doRedirect(window.location.href,this.casinoUrl),((w=n.data)===null||w===void 0?void 0:w.redirect)==="mm-hc-contact"&&(window.postMessage({type:"CloseShortCashier"},window.location.href),this.doRedirect(window.location.href,this.contactUrl)),(((g=n.data)===null||g===void 0?void 0:g.redirect)==="mm-wm-hc-init-deposit"||((l=n.data)===null||l===void 0?void 0:l.redirect)==="mm-wm-hc-init-deposit-quick")&&(window.postMessage({type:"CloseShortCashier"},window.location.href),this.doRedirect(window.location.href,this.depositUrl))}doRedirect(n,h){const s={reason:n,url:h,cancel:!1};if(this.beforeRedirect(s),!s.cancel){if(!s.url){window.location.href="/";return}window.location.href=s.url}}static get watchers(){return{session:["watchLoadWidget"],userId:["watchLoadWidget"],isShortCashier:["watchLoadWidget"],currency:["watchLoadWidget"],showBonusSelectionInput:["watchLoadWidget"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};se.style=ye;exports.user_deposit_withdrawal=se;
68
+ }`,ye=ge;ae.extend(me);const we=()=>{},se=class{constructor(n){S.registerInstance(this,n),this.bindedHandler=this.handleMessage.bind(this),this.userAgent=window.navigator.userAgent,this.isMobile=pe(this.userAgent),this.errorCodes=["21123","21122","21121"],this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.endpoint=void 0,this.type=void 0,this.channel=void 0,this.language=void 0,this.productType=void 0,this.userId=void 0,this.session=void 0,this.successUrl=void 0,this.cancelUrl=void 0,this.failUrl=void 0,this.sportsUrl=void 0,this.casinoUrl=void 0,this.contactUrl=void 0,this.depositUrl=void 0,this.currency="",this.showBonusSelectionInput="true",this.isShortCashier=!1,this.homeUrl=void 0,this.beforeRedirect=we,this.dynamicHeight=void 0,this.cashierInfoUrl=void 0}get typeParameter(){if(this.type==="deposit")return"Deposit";if(this.type==="withdraw")return"Withdraw"}watchLoadWidget(){this.loadWidget()}handleClientStylingChange(n,h){n!=h&&ee(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(n,h){n!=h&&this.clientStylingUrl&&te(this.stylingContainer,this.clientStylingUrl)}componentWillLoad(){return Q(this,null,function*(){if(yield this.loadWidget(),this.translationUrl)return he(this.translationUrl)})}toggleScreen(n){window.postMessage({type:"PlayerAccountMenuActive",isMobile:n},window.location.href)}componentDidLoad(){this.stylingContainer&&(window.emMessageBus!=null?fe(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&ee(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&te(this.stylingContainer,this.clientStylingUrl))),window.addEventListener("message",this.bindedHandler,!1)}disconnectedCallback(){window.removeEventListener("message",this.bindedHandler,!1),this.stylingSubscription&&this.stylingSubscription.unsubscribe()}render(){return S.h(S.Host,{key:"4133bb899942dd0b2877894bd8744cc7dc25fca8"},S.h("div",{key:"c1e0f73f7aa41a951228299f5bd84370c59c9075",ref:n=>this.stylingContainer=n},!(this.isMobile&&!this.isShortCashier)&&S.h("h2",{key:"6056f42eda79cef3d109997216e65772cb1f6ef1",class:"CategoryTitle"},I(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language)),S.h("div",{key:"673e7b2a69996ddce72da30a8f9c30b0199a2222",class:`DepositWithdrawalWrapper ${this.isShortCashier?"ShortCashier":""}`,style:{marginTop:this.isShortCashier?"30px":"0"}},S.h("div",{key:"c772cccd0a3fc003a65dd307ee9a723fd471ee80"},this.isMobile&&!this.isShortCashier?S.h("div",{class:"MenuReturnButton",onClick:()=>this.toggleScreen(this.isMobile)},S.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},S.h("defs",null),S.h("g",{transform:"translate(-20 -158)"},S.h("g",{transform:"translate(20 158)"},S.h("path",{class:"aaa",d:"M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z",transform:"translate(15 15) rotate(180)"})))),S.h("h2",{class:"CategoryTitleMobile"},I(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language))):null),this.cashierInfoUrl?S.h("iframe",{width:"100%",height:this.dynamicHeight,src:this.cashierInfoUrl}):S.h("h3",{innerHTML:this.type==="deposit"?I("denyDeposit",this.language):I("denyWithdrawal",this.language),class:"ErrorMessage"}))))}loadWidget(){return Q(this,null,function*(){const n={Channel:this.channel,Type:this.typeParameter,SuccessUrl:this.successUrl,CancelUrl:this.cancelUrl,FailUrl:this.failUrl,Language:this.language,productType:this.productType,isShortCashier:this.isShortCashier,currency:this.currency,showBonusSelectionInput:this.showBonusSelectionInput};try{const h=`${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`,s=yield fetch(h,{method:"POST",headers:{"X-Sessionid":this.session,"Content-Type":"application/json","X-Client-Request-Timestamp":ae.utc().format("YYYY-MM-DD HH:mm:ss.SSS")},body:JSON.stringify(n)});if(!s.ok){const p=yield s.text();throw new Error(p)}const c=yield s.json();if(c.CashierInfo)this.cashierInfoUrl=c.CashierInfo.Url;else{let p;if(c.ResponseMessage){let w=this.errorCodes.find(g=>c.ResponseMessage.includes(g))||null;w?p=I(`errorCode${w}`,this.language):p=I("notFoundErrorCode",this.language)}else p=this.type==="deposit"?I("denyDeposit",this.language):I("denyWithdrawal",this.language);const L={type:"error",message:p};window.postMessage({type:"DenyDepositOrWithdrawal",data:L},window.location.href)}}catch(h){console.error(h)}})}handleMessage(n){var h,s,c,p,L,w,g,l;n.data["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),n.data["MMFE:setQuickDepositHeight"]&&this.isShortCashier&&(this.dynamicHeight=n.data["MMFE:setQuickDepositHeight"].toString()+"px"),n.data["MMFE:setIFrameHeight"]&&(this.dynamicHeight=n.data["MMFE:setIFrameHeight"].toString()+"px"),((h=n.data)===null||h===void 0?void 0:h.type)==="mm-hcback-to-merchant"&&this.doRedirect(n.data.type,this.homeUrl),((s=n.data)===null||s===void 0?void 0:s.redirect)==="mm-hc-back-tomerchant"&&this.doRedirect(n.data.redirect,this.homeUrl),((c=n.data)===null||c===void 0?void 0:c.redirect)==="mm-hc-sports"&&this.doRedirect((p=n.data)===null||p===void 0?void 0:p.redirect,this.sportsUrl),((L=n.data)===null||L===void 0?void 0:L.redirect)==="mm-hc-casino"&&this.doRedirect(window.location.href,this.casinoUrl),((w=n.data)===null||w===void 0?void 0:w.redirect)==="mm-hc-contact"&&(window.postMessage({type:"CloseShortCashier"},window.location.href),this.doRedirect(window.location.href,this.contactUrl)),(((g=n.data)===null||g===void 0?void 0:g.redirect)==="mm-wm-hc-init-deposit"||((l=n.data)===null||l===void 0?void 0:l.redirect)==="mm-wm-hc-init-deposit-quick")&&(window.postMessage({type:"CloseShortCashier"},window.location.href),this.doRedirect(window.location.href,this.depositUrl))}doRedirect(n,h){const s={reason:n,url:h,cancel:!1};if(this.beforeRedirect(s),!s.cancel){if(!s.url){window.location.href="/";return}window.location.href=s.url}}static get watchers(){return{session:["watchLoadWidget"],userId:["watchLoadWidget"],isShortCashier:["watchLoadWidget"],currency:["watchLoadWidget"],showBonusSelectionInput:["watchLoadWidget"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};se.style=ye;exports.user_deposit_withdrawal=se;