@everymatrix/casino-header-controller-nd 1.87.35 → 1.87.37

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 (31) hide show
  1. package/components/{CasinoHamburgerMenuNd-N2xG7QFL.cjs → CasinoHamburgerMenuNd-B2DkEFz9.cjs} +1 -1
  2. package/components/{CasinoHamburgerMenuNd-B-xhQHj2.js → CasinoHamburgerMenuNd-BlQXd6S1.js} +1 -1
  3. package/components/{CasinoHamburgerMenuNd-DNzDyebv.js → CasinoHamburgerMenuNd-Cq5yI29N.js} +1 -1
  4. package/components/{CasinoHeaderControllerNd-eOApfXrH.js → CasinoHeaderControllerNd-BZlPk21F.js} +4 -4
  5. package/components/{CasinoHeaderControllerNd-JnA00Nbn.cjs → CasinoHeaderControllerNd-CPA_5bY1.cjs} +1 -1
  6. package/components/{CasinoHeaderControllerNd-OX1waYhB.js → CasinoHeaderControllerNd-DOfLBhWo.js} +4 -4
  7. package/components/{PlayerAccountBalanceModalNd-Dcm_kGSF.js → PlayerAccountBalanceModalNd-BBf39DG3.js} +1 -1
  8. package/components/{PlayerAccountBalanceModalNd-DZlrKIv5.cjs → PlayerAccountBalanceModalNd-Chld-kmf.cjs} +1 -1
  9. package/components/{PlayerAccountBalanceModalNd-BGFY1SQ1.js → PlayerAccountBalanceModalNd-DJGFMBu9.js} +1 -1
  10. package/components/{PlayerDeposit-B-AmFhUb.js → PlayerDeposit-CEt5ZVHC.js} +1 -1
  11. package/components/{PlayerDeposit-C_liyHTn.cjs → PlayerDeposit-Cw-fc-b_.cjs} +1 -1
  12. package/components/{PlayerDeposit-DhBGIeD6.js → PlayerDeposit-wMmkqZvI.js} +1 -1
  13. package/es2015/casino-header-controller-nd.cjs +1 -1
  14. package/es2015/casino-header-controller-nd.js +1 -1
  15. package/esnext/casino-header-controller-nd.js +1 -1
  16. package/lazy/{casino-hamburger-menu-nd-DtgqkQZy.js → casino-hamburger-menu-nd-DUZ9t3o8.js} +1 -1
  17. package/lazy/{casino-hamburger-menu-nd-DZIwMPWt.js → casino-hamburger-menu-nd-DmKAdTnZ.js} +1 -1
  18. package/lazy/{casino-hamburger-menu-nd-ywrsru39.cjs → casino-hamburger-menu-nd-pdM-INrm.cjs} +1 -1
  19. package/lazy/{player-account-balance-modal-nd-Dgwo2VN9.cjs → player-account-balance-modal-nd-A4K9M6oM.cjs} +1 -1
  20. package/lazy/{player-account-balance-modal-nd-DLQ1cfWU.js → player-account-balance-modal-nd-DPmAPOZS.js} +1 -1
  21. package/lazy/{player-account-balance-modal-nd-BNL38Peo.js → player-account-balance-modal-nd-Ya9DKWqc.js} +1 -1
  22. package/lazy/{player-deposit-6LL_6wjC.js → player-deposit-CI2ZD8s6.js} +1 -1
  23. package/lazy/{player-deposit-Oe0nPYXj.cjs → player-deposit-Cm0EyJX6.cjs} +1 -1
  24. package/lazy/{player-deposit-CoMrGsw1.js → player-deposit-iXNHw1ZZ.js} +1 -1
  25. package/lazy/{user-deposit-withdrawal-Mlqc62aZ.js → user-deposit-withdrawal-C8Xm84ii.js} +1 -1
  26. package/lazy/{user-deposit-withdrawal-DUMs1S3v.cjs → user-deposit-withdrawal-C_ZJ6MFQ.cjs} +1 -1
  27. package/lazy/{user-deposit-withdrawal-CAegaYeV.js → user-deposit-withdrawal-DhkBJ3jZ.js} +1 -1
  28. package/package.json +1 -1
  29. package/stencil/{user-deposit-withdrawal-sqMzKClT.cjs → user-deposit-withdrawal-53Z7tGuX.cjs} +2 -2
  30. package/stencil/{user-deposit-withdrawal-BNv5WcIq.js → user-deposit-withdrawal-CGgsbbGm.js} +185 -182
  31. package/stencil/{user-deposit-withdrawal-BN_2yjKT.js → user-deposit-withdrawal-CdY_BBMu.js} +207 -204
@@ -1,14 +1,14 @@
1
- import { b as ue, p as de, r as le, h as D, H as ce, s as he } from "../lazy/user-deposit-withdrawal-CAegaYeV.js";
2
- import { g as fe } from "./app-globals-0f993ce5-Cgk0KVAu.js";
3
- var pe = () => {
4
- const e = import.meta.url, a = {};
5
- return e !== "" && (a.resourcesUrl = new URL(".", e).href), de(a);
1
+ import { b as de, p as ce, r as le, h as D, H as he, s as fe } from "../lazy/user-deposit-withdrawal-DhkBJ3jZ.js";
2
+ import { g as pe } from "./app-globals-0f993ce5-Cgk0KVAu.js";
3
+ var me = () => {
4
+ const e = import.meta.url, o = {};
5
+ return e !== "" && (o.resourcesUrl = new URL(".", e).href), ce(o);
6
6
  };
7
- pe().then(async (e) => (await fe(), ue([["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], forwardCashierRedirects: [516, "forward-cashier-redirects"], dynamicHeight: [32], cashierInfoUrl: [32] }, null, { clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingChangeURL"] }]]]], e)));
8
- const Ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7
+ me().then(async (e) => (await pe(), de([["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], forwardCashierRedirects: [516, "forward-cashier-redirects"], dynamicHeight: [32], cashierInfoUrl: [32] }, null, { clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingChangeURL"] }]]]], e)));
8
+ const Te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9
9
  __proto__: null,
10
- setNonce: he
11
- }, Symbol.toStringTag, { value: "Module" })), me = "en", ye = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es", "de", "pt", "tr"], re = {
10
+ setNonce: fe
11
+ }, Symbol.toStringTag, { value: "Module" })), ye = "en", ge = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es", "de", "pt", "tr"], ne = {
12
12
  en: {
13
13
  Deposit: "Deposit",
14
14
  Withdraw: "Withdraw",
@@ -110,76 +110,76 @@ const Ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
110
110
  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",
111
111
  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"
112
112
  }
113
- }, ge = (e) => new Promise((a) => {
114
- fetch(e).then((o) => o.json()).then((o) => {
115
- Object.keys(o).forEach((c) => {
116
- for (let m in o[c])
117
- re[c][m] = o[c][m];
118
- }), a(!0);
113
+ }, we = (e) => new Promise((o) => {
114
+ fetch(e).then((a) => a.json()).then((a) => {
115
+ Object.keys(a).forEach((l) => {
116
+ for (let m in a[l])
117
+ ne[l][m] = a[l][m];
118
+ }), o(!0);
119
119
  });
120
- }), x = (e, a) => {
121
- const o = a;
122
- return re[o !== void 0 && ye.includes(o) ? o : me][e];
120
+ }), x = (e, o) => {
121
+ const a = o;
122
+ return ne[a !== void 0 && ge.includes(a) ? a : ye][e];
123
123
  }, Y = "__WIDGET_GLOBAL_STYLE_CACHE__";
124
- function X(e, a) {
124
+ function X(e, o) {
125
125
  if (e) {
126
- const o = document.createElement("style");
127
- o.innerHTML = a, e.appendChild(o);
126
+ const a = document.createElement("style");
127
+ a.innerHTML = o, e.appendChild(a);
128
128
  }
129
129
  }
130
- function ee(e, a) {
131
- if (!e || !a)
130
+ function ee(e, o) {
131
+ if (!e || !o)
132
132
  return;
133
- const o = new URL(a);
134
- fetch(o.href).then((c) => c.text()).then((c) => {
133
+ const a = new URL(o);
134
+ fetch(a.href).then((l) => l.text()).then((l) => {
135
135
  const m = document.createElement("style");
136
- m.innerHTML = c, e && e.appendChild(m);
137
- }).catch((c) => {
138
- console.error("There was an error while trying to load client styling from URL", c);
136
+ m.innerHTML = l, e && e.appendChild(m);
137
+ }).catch((l) => {
138
+ console.error("There was an error while trying to load client styling from URL", l);
139
139
  });
140
140
  }
141
- function we(e, a, o, c = !1) {
141
+ function Ce(e, o, a, l = !1) {
142
142
  if (!window.emMessageBus)
143
143
  return;
144
- if (!("adoptedStyleSheets" in Document.prototype) || !c)
145
- return o = Ce(e, a), o;
146
- window[Y] || (window[Y] = {}), o = Se(e, a);
147
- const v = o.unsubscribe.bind(o), S = () => {
148
- if (window[Y][a]) {
149
- const g = window[Y][a];
150
- g.refCount > 1 ? g.refCount = g.refCount - 1 : delete window[Y][a];
144
+ if (!("adoptedStyleSheets" in Document.prototype) || !l)
145
+ return a = Se(e, o), a;
146
+ window[Y] || (window[Y] = {}), a = be(e, o);
147
+ const v = a.unsubscribe.bind(a), S = () => {
148
+ if (window[Y][o]) {
149
+ const g = window[Y][o];
150
+ g.refCount > 1 ? g.refCount = g.refCount - 1 : delete window[Y][o];
151
151
  }
152
152
  v();
153
153
  };
154
- return o.unsubscribe = S, o;
154
+ return a.unsubscribe = S, a;
155
155
  }
156
- function Ce(e, a) {
157
- const o = document.createElement("style");
158
- return window.emMessageBus.subscribe(a, (c) => {
159
- e && (o.innerHTML = c, e.appendChild(o));
156
+ function Se(e, o) {
157
+ const a = document.createElement("style");
158
+ return window.emMessageBus.subscribe(o, (l) => {
159
+ e && (a.innerHTML = l, e.appendChild(a));
160
160
  });
161
161
  }
162
- function Se(e, a) {
163
- return window.emMessageBus.subscribe(a, (o) => {
162
+ function be(e, o) {
163
+ return window.emMessageBus.subscribe(o, (a) => {
164
164
  if (!e)
165
165
  return;
166
- const c = e.getRootNode(), m = window[Y];
167
- let v = m[a]?.sheet;
168
- v ? m[a].refCount = m[a].refCount + 1 : (v = new CSSStyleSheet(), v.replaceSync(o), m[a] = {
166
+ const l = e.getRootNode(), m = window[Y];
167
+ let v = m[o]?.sheet;
168
+ v ? m[o].refCount = m[o].refCount + 1 : (v = new CSSStyleSheet(), v.replaceSync(a), m[o] = {
169
169
  sheet: v,
170
170
  refCount: 1
171
171
  });
172
- const S = c.adoptedStyleSheets || [];
173
- S.includes(v) || (c.adoptedStyleSheets = [...S, v]);
172
+ const S = l.adoptedStyleSheets || [];
173
+ S.includes(v) || (l.adoptedStyleSheets = [...S, v]);
174
174
  });
175
175
  }
176
- const be = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
177
- var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ie = { exports: {} };
178
- (function(e, a) {
179
- (function(o, c) {
180
- e.exports = c();
181
- })(ne, function() {
182
- var o = 1e3, c = 6e4, m = 36e5, v = "millisecond", S = "second", g = "minute", p = "hour", E = "day", I = "week", M = "month", G = "quarter", O = "year", L = "date", u = "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, _ = { 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(s) {
176
+ const ve = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
177
+ var ie = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, oe = { exports: {} };
178
+ (function(e, o) {
179
+ (function(a, l) {
180
+ e.exports = l();
181
+ })(ie, function() {
182
+ var a = 1e3, l = 6e4, m = 36e5, v = "millisecond", S = "second", g = "minute", p = "hour", T = "day", I = "week", M = "month", G = "quarter", O = "year", L = "date", u = "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, _ = { 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(s) {
183
183
  var n = ["th", "st", "nd", "rd"], t = s % 100;
184
184
  return "[" + s + (n[(t - 20) % 10] || n[t] || n[0]) + "]";
185
185
  } }, W = function(s, n, t) {
@@ -191,45 +191,45 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
191
191
  }, m: function s(n, t) {
192
192
  if (n.date() < t.date())
193
193
  return -s(t, n);
194
- var i = 12 * (t.year() - n.year()) + (t.month() - n.month()), r = n.clone().add(i, M), d = t - r < 0, l = n.clone().add(i + (d ? -1 : 1), M);
195
- return +(-(i + (t - r) / (d ? r - l : l - r)) || 0);
194
+ var i = 12 * (t.year() - n.year()) + (t.month() - n.month()), r = n.clone().add(i, M), d = t - r < 0, c = n.clone().add(i + (d ? -1 : 1), M);
195
+ return +(-(i + (t - r) / (d ? r - c : c - r)) || 0);
196
196
  }, a: function(s) {
197
197
  return s < 0 ? Math.ceil(s) || 0 : Math.floor(s);
198
198
  }, p: function(s) {
199
- return { M, y: O, w: I, d: E, D: L, h: p, m: g, s: S, ms: v, Q: G }[s] || String(s || "").toLowerCase().replace(/s$/, "");
199
+ return { M, y: O, w: I, d: T, D: L, h: p, m: g, s: S, ms: v, Q: G }[s] || String(s || "").toLowerCase().replace(/s$/, "");
200
200
  }, u: function(s) {
201
201
  return s === void 0;
202
- } }, k = "en", z = {};
203
- z[k] = _;
202
+ } }, R = "en", z = {};
203
+ z[R] = _;
204
204
  var A = "$isDayjsObject", B = function(s) {
205
205
  return s instanceof J || !(!s || !s[A]);
206
- }, R = function s(n, t, i) {
206
+ }, k = function s(n, t, i) {
207
207
  var r;
208
208
  if (!n)
209
- return k;
209
+ return R;
210
210
  if (typeof n == "string") {
211
211
  var d = n.toLowerCase();
212
212
  z[d] && (r = d), t && (z[d] = t, r = d);
213
- var l = n.split("-");
214
- if (!r && l.length > 1)
215
- return s(l[0]);
213
+ var c = n.split("-");
214
+ if (!r && c.length > 1)
215
+ return s(c[0]);
216
216
  } else {
217
217
  var f = n.name;
218
218
  z[f] = n, r = f;
219
219
  }
220
- return !i && r && (k = r), r || !i && k;
220
+ return !i && r && (R = r), r || !i && R;
221
221
  }, w = function(s, n) {
222
222
  if (B(s))
223
223
  return s.clone();
224
224
  var t = typeof n == "object" ? n : {};
225
225
  return t.date = s, t.args = arguments, new J(t);
226
226
  }, h = Z;
227
- h.l = R, h.i = B, h.w = function(s, n) {
227
+ h.l = k, h.i = B, h.w = function(s, n) {
228
228
  return w(s, { locale: n.$L, utc: n.$u, x: n.$x, $offset: n.$offset });
229
229
  };
230
230
  var J = function() {
231
231
  function s(t) {
232
- this.$L = R(t.locale, null, !0), this.parse(t), this.$x = this.$x || t.x || {}, this[A] = !0;
232
+ this.$L = k(t.locale, null, !0), this.parse(t), this.$x = this.$x || t.x || {}, this[A] = !0;
233
233
  }
234
234
  var n = s.prototype;
235
235
  return n.parse = function(t) {
@@ -242,10 +242,10 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
242
242
  if (r instanceof Date)
243
243
  return new Date(r);
244
244
  if (typeof r == "string" && !/Z$/i.test(r)) {
245
- var l = r.match(U);
246
- if (l) {
247
- var f = l[2] - 1 || 0, y = (l[7] || "0").substring(0, 3);
248
- return d ? new Date(Date.UTC(l[1], f, l[3] || 1, l[4] || 0, l[5] || 0, l[6] || 0, y)) : new Date(l[1], f, l[3] || 1, l[4] || 0, l[5] || 0, l[6] || 0, y);
245
+ var c = r.match(U);
246
+ if (c) {
247
+ var f = c[2] - 1 || 0, y = (c[7] || "0").substring(0, 3);
248
+ return d ? new Date(Date.UTC(c[1], f, c[3] || 1, c[4] || 0, c[5] || 0, c[6] || 0, y)) : new Date(c[1], f, c[3] || 1, c[4] || 0, c[5] || 0, c[6] || 0, y);
249
249
  }
250
250
  }
251
251
  return new Date(r);
@@ -271,21 +271,21 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
271
271
  }, n.valueOf = function() {
272
272
  return this.$d.getTime();
273
273
  }, n.startOf = function(t, i) {
274
- var r = this, d = !!h.u(i) || i, l = h.p(t), f = function(F, $) {
275
- var j = h.w(r.$u ? Date.UTC(r.$y, $, F) : new Date(r.$y, $, F), r);
276
- return d ? j : j.endOf(E);
277
- }, y = function(F, $) {
278
- return h.w(r.toDate()[F].apply(r.toDate("s"), (d ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice($)), r);
279
- }, C = this.$W, b = this.$M, T = this.$D, q = "set" + (this.$u ? "UTC" : "");
280
- switch (l) {
274
+ var r = this, d = !!h.u(i) || i, c = h.p(t), f = function(P, $) {
275
+ var j = h.w(r.$u ? Date.UTC(r.$y, $, P) : new Date(r.$y, $, P), r);
276
+ return d ? j : j.endOf(T);
277
+ }, y = function(P, $) {
278
+ return h.w(r.toDate()[P].apply(r.toDate("s"), (d ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice($)), r);
279
+ }, C = this.$W, b = this.$M, E = this.$D, q = "set" + (this.$u ? "UTC" : "");
280
+ switch (c) {
281
281
  case O:
282
282
  return d ? f(1, 0) : f(31, 11);
283
283
  case M:
284
284
  return d ? f(1, b) : f(0, b + 1);
285
285
  case I:
286
- var P = this.$locale().weekStart || 0, N = (C < P ? C + 7 : C) - P;
287
- return f(d ? T - N : T + (6 - N), b);
288
- case E:
286
+ var F = this.$locale().weekStart || 0, N = (C < F ? C + 7 : C) - F;
287
+ return f(d ? E - N : E + (6 - N), b);
288
+ case T:
289
289
  case L:
290
290
  return y(q + "Hours", 0);
291
291
  case p:
@@ -300,7 +300,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
300
300
  }, n.endOf = function(t) {
301
301
  return this.startOf(t, !1);
302
302
  }, n.$set = function(t, i) {
303
- var r, d = h.p(t), l = "set" + (this.$u ? "UTC" : ""), f = (r = {}, r[E] = l + "Date", r[L] = l + "Date", r[M] = l + "Month", r[O] = l + "FullYear", r[p] = l + "Hours", r[g] = l + "Minutes", r[S] = l + "Seconds", r[v] = l + "Milliseconds", r)[d], y = d === E ? this.$D + (i - this.$W) : i;
303
+ var r, d = h.p(t), c = "set" + (this.$u ? "UTC" : ""), f = (r = {}, r[T] = c + "Date", r[L] = c + "Date", r[M] = c + "Month", r[O] = c + "FullYear", r[p] = c + "Hours", r[g] = c + "Minutes", r[S] = c + "Seconds", r[v] = c + "Milliseconds", r)[d], y = d === T ? this.$D + (i - this.$W) : i;
304
304
  if (d === M || d === O) {
305
305
  var C = this.clone().set(L, 1);
306
306
  C.$d[f](y), C.init(), this.$d = C.set(L, Math.min(this.$D, C.daysInMonth())).$d;
@@ -314,19 +314,19 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
314
314
  }, n.add = function(t, i) {
315
315
  var r, d = this;
316
316
  t = Number(t);
317
- var l = h.p(i), f = function(b) {
318
- var T = w(d);
319
- return h.w(T.date(T.date() + Math.round(b * t)), d);
317
+ var c = h.p(i), f = function(b) {
318
+ var E = w(d);
319
+ return h.w(E.date(E.date() + Math.round(b * t)), d);
320
320
  };
321
- if (l === M)
321
+ if (c === M)
322
322
  return this.set(M, this.$M + t);
323
- if (l === O)
323
+ if (c === O)
324
324
  return this.set(O, this.$y + t);
325
- if (l === E)
325
+ if (c === T)
326
326
  return f(1);
327
- if (l === I)
327
+ if (c === I)
328
328
  return f(7);
329
- var y = (r = {}, r[g] = c, r[p] = m, r[S] = o, r)[l] || 1, C = this.$d.getTime() + t * y;
329
+ var y = (r = {}, r[g] = l, r[p] = m, r[S] = a, r)[c] || 1, C = this.$d.getTime() + t * y;
330
330
  return h.w(C, this);
331
331
  }, n.subtract = function(t, i) {
332
332
  return this.add(-1 * t, i);
@@ -334,11 +334,11 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
334
334
  var i = this, r = this.$locale();
335
335
  if (!this.isValid())
336
336
  return r.invalidDate || u;
337
- var d = t || "YYYY-MM-DDTHH:mm:ssZ", l = h.z(this), f = this.$H, y = this.$m, C = this.$M, b = r.weekdays, T = r.months, q = r.meridiem, P = function($, j, V, K) {
337
+ var d = t || "YYYY-MM-DDTHH:mm:ssZ", c = h.z(this), f = this.$H, y = this.$m, C = this.$M, b = r.weekdays, E = r.months, q = r.meridiem, F = function($, j, V, K) {
338
338
  return $ && ($[j] || $(i, d)) || V[j].slice(0, K);
339
339
  }, N = function($) {
340
340
  return h.s(f % 12 || 12, $, "0");
341
- }, F = q || function($, j, V) {
341
+ }, P = q || function($, j, V) {
342
342
  var K = $ < 12 ? "AM" : "PM";
343
343
  return V ? K.toLowerCase() : K;
344
344
  };
@@ -354,9 +354,9 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
354
354
  case "MM":
355
355
  return h.s(C + 1, 2, "0");
356
356
  case "MMM":
357
- return P(r.monthsShort, C, T, 3);
357
+ return F(r.monthsShort, C, E, 3);
358
358
  case "MMMM":
359
- return P(T, C);
359
+ return F(E, C);
360
360
  case "D":
361
361
  return i.$D;
362
362
  case "DD":
@@ -364,9 +364,9 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
364
364
  case "d":
365
365
  return String(i.$W);
366
366
  case "dd":
367
- return P(r.weekdaysMin, i.$W, b, 2);
367
+ return F(r.weekdaysMin, i.$W, b, 2);
368
368
  case "ddd":
369
- return P(r.weekdaysShort, i.$W, b, 3);
369
+ return F(r.weekdaysShort, i.$W, b, 3);
370
370
  case "dddd":
371
371
  return b[i.$W];
372
372
  case "H":
@@ -378,9 +378,9 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
378
378
  case "hh":
379
379
  return N(2);
380
380
  case "a":
381
- return F(f, y, !0);
381
+ return P(f, y, !0);
382
382
  case "A":
383
- return F(f, y, !1);
383
+ return P(f, y, !1);
384
384
  case "m":
385
385
  return String(y);
386
386
  case "mm":
@@ -392,41 +392,41 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
392
392
  case "SSS":
393
393
  return h.s(i.$ms, 3, "0");
394
394
  case "Z":
395
- return l;
395
+ return c;
396
396
  }
397
397
  return null;
398
- }($) || l.replace(":", "");
398
+ }($) || c.replace(":", "");
399
399
  });
400
400
  }, n.utcOffset = function() {
401
401
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
402
402
  }, n.diff = function(t, i, r) {
403
- var d, l = this, f = h.p(i), y = w(t), C = (y.utcOffset() - this.utcOffset()) * c, b = this - y, T = function() {
404
- return h.m(l, y);
403
+ var d, c = this, f = h.p(i), y = w(t), C = (y.utcOffset() - this.utcOffset()) * l, b = this - y, E = function() {
404
+ return h.m(c, y);
405
405
  };
406
406
  switch (f) {
407
407
  case O:
408
- d = T() / 12;
408
+ d = E() / 12;
409
409
  break;
410
410
  case M:
411
- d = T();
411
+ d = E();
412
412
  break;
413
413
  case G:
414
- d = T() / 3;
414
+ d = E() / 3;
415
415
  break;
416
416
  case I:
417
417
  d = (b - C) / 6048e5;
418
418
  break;
419
- case E:
419
+ case T:
420
420
  d = (b - C) / 864e5;
421
421
  break;
422
422
  case p:
423
423
  d = b / m;
424
424
  break;
425
425
  case g:
426
- d = b / c;
426
+ d = b / l;
427
427
  break;
428
428
  case S:
429
- d = b / o;
429
+ d = b / a;
430
430
  break;
431
431
  default:
432
432
  d = b;
@@ -439,7 +439,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
439
439
  }, n.locale = function(t, i) {
440
440
  if (!t)
441
441
  return this.$L;
442
- var r = this.clone(), d = R(t, i, !0);
442
+ var r = this.clone(), d = k(t, i, !0);
443
443
  return d && (r.$L = d), r;
444
444
  }, n.clone = function() {
445
445
  return h.w(this.$d, this);
@@ -453,24 +453,24 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
453
453
  return this.$d.toUTCString();
454
454
  }, s;
455
455
  }(), Q = J.prototype;
456
- return w.prototype = Q, [["$ms", v], ["$s", S], ["$m", g], ["$H", p], ["$W", E], ["$M", M], ["$y", O], ["$D", L]].forEach(function(s) {
456
+ return w.prototype = Q, [["$ms", v], ["$s", S], ["$m", g], ["$H", p], ["$W", T], ["$M", M], ["$y", O], ["$D", L]].forEach(function(s) {
457
457
  Q[s[1]] = function(n) {
458
458
  return this.$g(n, s[0], s[1]);
459
459
  };
460
460
  }), w.extend = function(s, n) {
461
461
  return s.$i || (s(n, J, w), s.$i = !0), w;
462
- }, w.locale = R, w.isDayjs = B, w.unix = function(s) {
462
+ }, w.locale = k, w.isDayjs = B, w.unix = function(s) {
463
463
  return w(1e3 * s);
464
- }, w.en = z[k], w.Ls = z, w.p = {}, w;
464
+ }, w.en = z[R], w.Ls = z, w.p = {}, w;
465
465
  });
466
- })(ie);
467
- const oe = ie.exports;
468
- var ae = { exports: {} };
469
- (function(e, a) {
470
- (function(o, c) {
471
- e.exports = c();
472
- })(ne, function() {
473
- var o = "minute", c = /[+-]\d\d(?::?\d\d)?/g, m = /([+-]|\d\d)/g;
466
+ })(oe);
467
+ const ae = oe.exports;
468
+ var se = { exports: {} };
469
+ (function(e, o) {
470
+ (function(a, l) {
471
+ e.exports = l();
472
+ })(ie, function() {
473
+ var a = "minute", l = /[+-]\d\d(?::?\d\d)?/g, m = /([+-]|\d\d)/g;
474
474
  return function(v, S, g) {
475
475
  var p = S.prototype;
476
476
  g.utc = function(u) {
@@ -478,13 +478,13 @@ var ae = { exports: {} };
478
478
  return new S(U);
479
479
  }, p.utc = function(u) {
480
480
  var U = g(this.toDate(), { locale: this.$L, utc: !0 });
481
- return u ? U.add(this.utcOffset(), o) : U;
481
+ return u ? U.add(this.utcOffset(), a) : U;
482
482
  }, p.local = function() {
483
483
  return g(this.toDate(), { locale: this.$L, utc: !1 });
484
484
  };
485
- var E = p.parse;
485
+ var T = p.parse;
486
486
  p.parse = function(u) {
487
- u.utc && (this.$u = !0), this.$utils().u(u.$offset) || (this.$offset = u.$offset), E.call(this, u);
487
+ u.utc && (this.$u = !0), this.$utils().u(u.$offset) || (this.$offset = u.$offset), T.call(this, u);
488
488
  };
489
489
  var I = p.init;
490
490
  p.init = function() {
@@ -499,13 +499,13 @@ var ae = { exports: {} };
499
499
  var H = this.$utils().u;
500
500
  if (H(u))
501
501
  return this.$u ? 0 : H(this.$offset) ? M.call(this) : this.$offset;
502
- if (typeof u == "string" && (u = function(k) {
503
- k === void 0 && (k = "");
504
- var z = k.match(c);
502
+ if (typeof u == "string" && (u = function(R) {
503
+ R === void 0 && (R = "");
504
+ var z = R.match(l);
505
505
  if (!z)
506
506
  return null;
507
- var A = ("" + z[0]).match(m) || ["-", 0, 0], B = A[0], R = 60 * +A[1] + +A[2];
508
- return R === 0 ? 0 : B === "+" ? R : -R;
507
+ var A = ("" + z[0]).match(m) || ["-", 0, 0], B = A[0], k = 60 * +A[1] + +A[2];
508
+ return k === 0 ? 0 : B === "+" ? k : -k;
509
509
  }(u), u === null))
510
510
  return this;
511
511
  var _ = Math.abs(u) <= 16 ? 60 * u : u, W = this;
@@ -513,7 +513,7 @@ var ae = { exports: {} };
513
513
  return W.$offset = _, W.$u = u === 0, W;
514
514
  if (u !== 0) {
515
515
  var Z = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
516
- (W = this.local().add(_ + Z, o)).$offset = _, W.$x.$localOffset = Z;
516
+ (W = this.local().add(_ + Z, a)).$offset = _, W.$x.$localOffset = Z;
517
517
  } else
518
518
  W = this.utc();
519
519
  return W;
@@ -545,8 +545,8 @@ var ae = { exports: {} };
545
545
  };
546
546
  };
547
547
  });
548
- })(ae);
549
- const ve = ae.exports, $e = `:host {
548
+ })(se);
549
+ const $e = se.exports, De = `:host {
550
550
  font: inherit;
551
551
  display: block;
552
552
  height: 100%;
@@ -617,9 +617,9 @@ const ve = ae.exports, $e = `:host {
617
617
  .DepositWithdrawalWrapper:not(.ShortCashier) {
618
618
  overflow: visible;
619
619
  }
620
- }`, De = $e;
621
- oe.extend(ve);
622
- const Me = "user-deposit-withdrawal", te = [
620
+ }`, Me = De;
621
+ ae.extend($e);
622
+ const te = "user-deposit-withdrawal", re = [
623
623
  "mm-hcback-to-merchant",
624
624
  "mm-hc-back-tomerchant",
625
625
  "mm-hc-sports",
@@ -628,9 +628,9 @@ const Me = "user-deposit-withdrawal", te = [
628
628
  "mm-wm-hc-init-deposit",
629
629
  "mm-wm-hc-init-deposit-quick"
630
630
  ], Ue = () => {
631
- }, se = class {
631
+ }, ue = class {
632
632
  constructor(e) {
633
- le(this, e), this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = be(this.userAgent), this.errorCodes = ["21123", "21122", "21121"], this.toggleScreen = () => {
633
+ le(this, e), this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = ve(this.userAgent), this.errorCodes = ["21123", "21122", "21121"], this.toggleScreen = () => {
634
634
  window.postMessage({ type: "PlayerAccountMenuActive", isMobile: this.isMobile }, window.location.href);
635
635
  }, 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 = "", 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 = Ue, this.forwardCashierRedirects = !1, this.dynamicHeight = void 0, this.cashierInfoUrl = void 0;
636
636
  }
@@ -640,24 +640,24 @@ const Me = "user-deposit-withdrawal", te = [
640
640
  if (this.type === "withdraw")
641
641
  return "Withdraw";
642
642
  }
643
- handleClientStylingChange(e, a) {
644
- e != a && X(this.stylingContainer, this.clientStyling);
643
+ handleClientStylingChange(e, o) {
644
+ e != o && X(this.stylingContainer, this.clientStyling);
645
645
  }
646
- handleClientStylingChangeURL(e, a) {
647
- e != a && this.clientStylingUrl && ee(this.stylingContainer, this.clientStylingUrl);
646
+ handleClientStylingChangeURL(e, o) {
647
+ e != o && this.clientStylingUrl && ee(this.stylingContainer, this.clientStylingUrl);
648
648
  }
649
649
  async componentWillLoad() {
650
650
  if (await this.loadWidget(), this.translationUrl)
651
- return ge(this.translationUrl);
651
+ return we(this.translationUrl);
652
652
  }
653
653
  componentDidLoad() {
654
- this.stylingContainer && (window.emMessageBus != null ? we(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription) : (this.clientStyling && X(this.stylingContainer, this.clientStyling), this.clientStylingUrl && ee(this.stylingContainer, this.clientStylingUrl))), window.addEventListener("message", this.bindedHandler, !1);
654
+ this.stylingContainer && (window.emMessageBus != null ? Ce(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription) : (this.clientStyling && X(this.stylingContainer, this.clientStyling), this.clientStylingUrl && ee(this.stylingContainer, this.clientStylingUrl))), window.addEventListener("message", this.bindedHandler, !1);
655
655
  }
656
656
  disconnectedCallback() {
657
657
  window.removeEventListener("message", this.bindedHandler, !1), this.stylingSubscription && this.stylingSubscription.unsubscribe();
658
658
  }
659
659
  render() {
660
- return D(ce, { key: "46153b61097691f3a3b2da29aa260edf0688f01c" }, D("div", { key: "0082deaaf9c6348cff4010ec8b1f58e5ea26e99b", ref: (e) => this.stylingContainer = e, class: "" }, D("div", { key: "8aec364ea2134d01c2b29fc75136cad08fd5d965", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}` }, !(this.isMobile && !this.isShortCashier) && D("h2", { key: "4b0184e2354199332c8438b4430c047982364dff", class: "CategoryTitle" }, x(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language)), D("div", { key: "49c9dbda82eb6576bc11375371f4359ba0b0285d", style: { marginTop: this.isShortCashier ? "30px" : "0" } }, this.isMobile && !this.isShortCashier ? D("div", { class: "MenuReturnButton", onClick: this.toggleScreen }, D("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, D("defs", null), D("g", { transform: "translate(-20 -158)" }, D("g", { transform: "translate(20 158)" }, D("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)" })))), D("h2", { class: "CategoryTitleMobile" }, x(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language))) : null), this.cashierInfoUrl ? D("iframe", { width: "100%", allow: "payment", height: this.dynamicHeight, src: this.cashierInfoUrl }) : D("h3", { innerHTML: this.type === "deposit" ? x("denyDeposit", this.language) : x("denyWithdrawal", this.language), class: "ErrorMessage" }))));
660
+ return D(he, { key: "46153b61097691f3a3b2da29aa260edf0688f01c" }, D("div", { key: "0082deaaf9c6348cff4010ec8b1f58e5ea26e99b", ref: (e) => this.stylingContainer = e, class: "" }, D("div", { key: "8aec364ea2134d01c2b29fc75136cad08fd5d965", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}` }, !(this.isMobile && !this.isShortCashier) && D("h2", { key: "4b0184e2354199332c8438b4430c047982364dff", class: "CategoryTitle" }, x(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language)), D("div", { key: "49c9dbda82eb6576bc11375371f4359ba0b0285d", style: { marginTop: this.isShortCashier ? "30px" : "0" } }, this.isMobile && !this.isShortCashier ? D("div", { class: "MenuReturnButton", onClick: this.toggleScreen }, D("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, D("defs", null), D("g", { transform: "translate(-20 -158)" }, D("g", { transform: "translate(20 158)" }, D("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)" })))), D("h2", { class: "CategoryTitleMobile" }, x(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language))) : null), this.cashierInfoUrl ? D("iframe", { width: "100%", allow: "payment", height: this.dynamicHeight, src: this.cashierInfoUrl }) : D("h3", { innerHTML: this.type === "deposit" ? x("denyDeposit", this.language) : x("denyWithdrawal", this.language), class: "ErrorMessage" }))));
661
661
  }
662
662
  async loadWidget() {
663
663
  const e = {
@@ -672,53 +672,53 @@ const Me = "user-deposit-withdrawal", te = [
672
672
  currency: this.currency,
673
673
  showBonusSelectionInput: this.showBonusSelectionInput
674
674
  };
675
- if (!(Object.values(e).some((a) => a === void 0) || !this.endpoint))
675
+ if (!(Object.values(e).some((o) => o === void 0) || !this.endpoint))
676
676
  try {
677
- const a = `${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`, o = await fetch(a, {
677
+ const o = `${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`, a = await fetch(o, {
678
678
  method: "POST",
679
679
  headers: {
680
680
  "X-Sessionid": this.session,
681
681
  "Content-Type": "application/json",
682
- "X-Client-Request-Timestamp": oe.utc().format("YYYY-MM-DD HH:mm:ss.SSS")
682
+ "X-Client-Request-Timestamp": ae.utc().format("YYYY-MM-DD HH:mm:ss.SSS")
683
683
  },
684
684
  body: JSON.stringify(e)
685
685
  });
686
- if (!o.ok) {
687
- const m = await o.text();
686
+ if (!a.ok) {
687
+ const m = await a.text();
688
688
  throw new Error(m);
689
689
  }
690
- const c = await o.json();
691
- if (c.CashierInfo)
692
- this.cashierInfoUrl = c.CashierInfo.Url;
690
+ const l = await a.json();
691
+ if (l.CashierInfo)
692
+ this.cashierInfoUrl = l.CashierInfo.Url;
693
693
  else {
694
694
  let m;
695
- if (c.ResponseMessage) {
696
- let S = this.errorCodes.find((g) => c.ResponseMessage.includes(g)) || null;
695
+ if (l.ResponseMessage) {
696
+ let S = this.errorCodes.find((g) => l.ResponseMessage.includes(g)) || null;
697
697
  S ? m = x(`errorCode${S}`, this.language) : m = x("notFoundErrorCode", this.language);
698
698
  } else
699
699
  m = this.type === "deposit" ? x("denyDeposit", this.language) : x("denyWithdrawal", this.language);
700
700
  const v = { type: "error", message: m };
701
701
  window.postMessage({ type: "DenyDepositOrWithdrawal", data: v }, window.location.href);
702
702
  }
703
- } catch (a) {
704
- console.error(a);
703
+ } catch (o) {
704
+ console.error(o);
705
705
  }
706
706
  }
707
707
  handleMessage(e) {
708
- const a = this.extractPayload(e);
709
- if (!a)
708
+ const o = this.extractPayload(e);
709
+ if (!o)
710
710
  return;
711
- this.applyLayoutHints(a);
712
- const o = this.extractCashierRedirectReason(a);
713
- if (!o || this.emitForwardedRedirect(e, o))
711
+ this.applyLayoutHints(o);
712
+ const a = this.extractCashierRedirectReason(o);
713
+ if (!a || this.emitForwardedRedirect(e, a))
714
714
  return;
715
- const c = this.resolveRedirectPlan(o);
716
- c && this.doRedirect(c.reason, c.targetUrl);
715
+ const l = this.resolveRedirectPlan(a);
716
+ l && this.doRedirect(l.reason, l.targetUrl);
717
717
  }
718
718
  extractCashierRedirectReason(e) {
719
- if (typeof e?.type == "string" && te.includes(e.type))
719
+ if (typeof e?.type == "string" && re.includes(e.type))
720
720
  return e.type;
721
- if (typeof e?.redirect == "string" && te.includes(e.redirect))
721
+ if (typeof e?.redirect == "string" && re.includes(e.redirect))
722
722
  return e.redirect;
723
723
  }
724
724
  extractPayload(e) {
@@ -726,7 +726,10 @@ const Me = "user-deposit-withdrawal", te = [
726
726
  return e.data;
727
727
  }
728
728
  applyLayoutHints(e) {
729
- e["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), e["MMFE:setQuickDepositHeight"] && this.isShortCashier && (this.dynamicHeight = e["MMFE:setQuickDepositHeight"].toString() + "px"), e["MMFE:setIFrameHeight"] && (this.dynamicHeight = e["MMFE:setIFrameHeight"].toString() + "px");
729
+ if (e["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), e["MMFE:setQuickDepositHeight"] && this.isShortCashier && (this.dynamicHeight = e["MMFE:setQuickDepositHeight"].toString() + "px"), e["MMFE:setIFrameHeight"] && (this.dynamicHeight = e["MMFE:setIFrameHeight"].toString() + "px"), e["MMFE:vendorRedirect"]) {
730
+ const o = e["MMFE:vendorRedirect"];
731
+ window.postMessage({ type: `${te}:mm-open-vendor`, url: o }, window.location.href);
732
+ }
730
733
  }
731
734
  resolveRedirectPlan(e) {
732
735
  switch (e) {
@@ -746,29 +749,29 @@ const Me = "user-deposit-withdrawal", te = [
746
749
  return;
747
750
  }
748
751
  }
749
- buildRedirectPlan(e, a) {
750
- if (a)
751
- return { reason: e, targetUrl: a };
752
+ buildRedirectPlan(e, o) {
753
+ if (o)
754
+ return { reason: e, targetUrl: o };
752
755
  }
753
- emitForwardedRedirect(e, a) {
756
+ emitForwardedRedirect(e, o) {
754
757
  if (!this.forwardCashierRedirects)
755
758
  return !1;
756
- const o = {
757
- type: `${Me}:${a}`,
758
- originalType: a,
759
+ const a = {
760
+ type: `${te}:${o}`,
761
+ originalType: o,
759
762
  payload: e.data,
760
763
  origin: e.origin
761
764
  };
762
- return window.postMessage(o, window.location.href), !0;
765
+ return window.postMessage(a, window.location.href), !0;
763
766
  }
764
- doRedirect(e, a) {
765
- const o = { reason: e, url: a, cancel: !1 };
766
- if (this.beforeRedirect(o), !o.cancel) {
767
- if (!o.url) {
767
+ doRedirect(e, o) {
768
+ const a = { reason: e, url: o, cancel: !1 };
769
+ if (this.beforeRedirect(a), !a.cancel) {
770
+ if (!a.url) {
768
771
  window.location.href = "/";
769
772
  return;
770
773
  }
771
- window.location.href = o.url;
774
+ window.location.href = a.url;
772
775
  }
773
776
  }
774
777
  static get watchers() {
@@ -778,12 +781,12 @@ const Me = "user-deposit-withdrawal", te = [
778
781
  };
779
782
  }
780
783
  };
781
- se.style = De;
784
+ ue.style = Me;
782
785
  const Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
783
786
  __proto__: null,
784
- user_deposit_withdrawal: se
787
+ user_deposit_withdrawal: ue
785
788
  }, Symbol.toStringTag, { value: "Module" }));
786
789
  export {
787
790
  Oe as a,
788
- Ee as u
791
+ Te as u
789
792
  };