@everymatrix/user-deposit-withdrawal 1.72.1 → 1.73.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.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/user-deposit-withdrawal.cjs.entry.js +10 -6
- package/dist/cjs/user-deposit-withdrawal.cjs.js +1 -1
- package/dist/collection/components/user-deposit-withdrawal/user-deposit-withdrawal.css +5 -1
- package/dist/collection/components/user-deposit-withdrawal/user-deposit-withdrawal.js +11 -5
- package/dist/esm/loader.js +1 -1
- package/dist/esm/user-deposit-withdrawal.entry.js +10 -6
- package/dist/esm/user-deposit-withdrawal.js +1 -1
- package/dist/types/components/user-deposit-withdrawal/user-deposit-withdrawal.d.ts +1 -1
- package/dist/user-deposit-withdrawal/user-deposit-withdrawal.entry.js +1 -1
- package/dist/user-deposit-withdrawal/user-deposit-withdrawal.esm.js +1 -1
- package/package.json +1 -1
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -8,7 +8,7 @@ const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
9
9
|
if (typeof window === 'undefined') return undefined;
|
|
10
10
|
await appGlobals.globalScripts();
|
|
11
|
-
return index.bootstrapLazy([["user-deposit-withdrawal.cjs",[[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"]}]]]], options);
|
|
11
|
+
return index.bootstrapLazy([["user-deposit-withdrawal.cjs",[[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"],"endpoint":["watchLoadWidget"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingChangeURL"]}]]]], options);
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
exports.setNonce = index.setNonce;
|
|
@@ -216,7 +216,7 @@ var utc$1 = {exports: {}};
|
|
|
216
216
|
|
|
217
217
|
const utc = utc$1.exports;
|
|
218
218
|
|
|
219
|
-
const userDepositWithdrawalCss = ":host {\n font: inherit;\n display: block;\n height: 100%;\n container-type: inline-size;\n}\n\n.CategoryTitle {\n font-size: var(--emw--font-size-x-large, 26px);\n color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));\n}\n\n.MenuReturnButton {\n font: inherit;\n color: var(--emw--color-gray-300, #58586B);\n display: inline-flex;\n align-items: center;\n column-gap: 10px;\n margin-bottom: 10px;\n}\n.MenuReturnButton svg {\n fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));\n}\n.MenuReturnButton h2.CategoryTitleMobile {\n font-size: 16px;\n color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));\n}\n\n.ErrorMessage {\n color: var(--emw--pam-color-typography, var(--emw--color-typography, #FFFFFF));\n}\n\n.DepositWithdrawalWrapper {\n width: 100%;\n
|
|
219
|
+
const userDepositWithdrawalCss = ":host {\n font: inherit;\n display: block;\n height: 100%;\n container-type: inline-size;\n}\n\n.DepositWithdrawalContainer {\n container-type: inline-size;\n container-name: deposit-container;\n}\n\n.CategoryTitle {\n font-size: var(--emw--font-size-x-large, 26px);\n color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));\n}\n\n.MenuReturnButton {\n font: inherit;\n color: var(--emw--color-gray-300, #58586B);\n display: inline-flex;\n align-items: center;\n column-gap: 10px;\n margin-bottom: 10px;\n}\n.MenuReturnButton svg {\n fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));\n}\n.MenuReturnButton h2.CategoryTitleMobile {\n font-size: 16px;\n color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));\n}\n\n.ErrorMessage {\n color: var(--emw--pam-color-typography, var(--emw--color-typography, #FFFFFF));\n}\n\n.DepositWithdrawalWrapper {\n width: 100%;\n margin: 0;\n padding: 50px;\n box-sizing: border-box;\n overflow-y: scroll;\n}\n.DepositWithdrawalWrapper iframe {\n border-width: 0;\n}\n\n.ShortCashier.DepositWithdrawalWrapper {\n height: 500px;\n}\n.ShortCashier.CategoryTitle.CategoryTitle {\n margin-right: 20px;\n padding-top: 20px;\n color: var(--emw--color-black, #000000);\n}\n.ShortCashier .ErrorMessage {\n margin: auto;\n width: 90%;\n margin-top: 70px;\n text-align: center;\n color: var(--emw--color-black, #000000);\n}\n\n@container (max-width: 768px) {\n .DepositWithdrawalWrapper {\n padding: 20px 15px;\n }\n .DepositWithdrawalWrapper:not(.ShortCashier) {\n overflow: visible;\n }\n}";
|
|
220
220
|
const UserDepositWithdrawalStyle0 = userDepositWithdrawalCss;
|
|
221
221
|
|
|
222
222
|
dayjs.extend(utc);
|
|
@@ -228,6 +228,9 @@ const UserDepositWithdrawal = class {
|
|
|
228
228
|
this.userAgent = window.navigator.userAgent;
|
|
229
229
|
this.isMobile = isMobile(this.userAgent);
|
|
230
230
|
this.errorCodes = ["21123", "21122", "21121"];
|
|
231
|
+
this.toggleScreen = () => {
|
|
232
|
+
window.postMessage({ type: 'PlayerAccountMenuActive', isMobile: this.isMobile }, window.location.href);
|
|
233
|
+
};
|
|
231
234
|
this.mbSource = undefined;
|
|
232
235
|
this.clientStyling = '';
|
|
233
236
|
this.clientStylingUrl = '';
|
|
@@ -283,9 +286,6 @@ const UserDepositWithdrawal = class {
|
|
|
283
286
|
return translationPromise;
|
|
284
287
|
}
|
|
285
288
|
}
|
|
286
|
-
toggleScreen(isMobile) {
|
|
287
|
-
window.postMessage({ type: 'PlayerAccountMenuActive', isMobile }, window.location.href);
|
|
288
|
-
}
|
|
289
289
|
componentDidLoad() {
|
|
290
290
|
if (this.stylingContainer) {
|
|
291
291
|
if (window.emMessageBus != undefined) {
|
|
@@ -305,8 +305,8 @@ const UserDepositWithdrawal = class {
|
|
|
305
305
|
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
306
306
|
}
|
|
307
307
|
render() {
|
|
308
|
-
return (index.h(index.Host, { key: '
|
|
309
|
-
index.h("div", { class: "MenuReturnButton", onClick:
|
|
308
|
+
return (index.h(index.Host, { key: '5a39e65dfb429f0b8d2763c2b5aff83f3aaa1a57' }, index.h("div", { key: 'f2920f2181a8579b5c619beba8b29e5c391b5717', ref: el => this.stylingContainer = el, class: "" }, index.h("div", { key: 'c3950a8d01343bf160f1a96a7c8334ef0342fe11', class: `DepositWithdrawalWrapper ${this.isShortCashier ? 'ShortCashier' : ''}` }, (!(this.isMobile && !this.isShortCashier) && (index.h("h2", { key: '1d2f6f40bd58fa6f3cdb6f52b30632ffd934f677', class: "CategoryTitle" }, translate(this.typeParameter === 'Withdraw' ? 'Withdraw' : 'Deposit', this.language)))), index.h("div", { key: 'cc0aed9136041143f94ecf98fb2f14ef316a75ad', style: { marginTop: this.isShortCashier ? '30px' : '0' } }, (this.isMobile && !this.isShortCashier ?
|
|
309
|
+
index.h("div", { class: "MenuReturnButton", onClick: this.toggleScreen }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, index.h("defs", null), index.h("g", { transform: "translate(-20 -158)" }, index.h("g", { transform: "translate(20 158)" }, index.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)" })))), index.h("h2", { class: "CategoryTitleMobile" }, translate(this.typeParameter === 'Withdraw' ? 'Withdraw' : 'Deposit', this.language)))
|
|
310
310
|
: null)), this.cashierInfoUrl ?
|
|
311
311
|
index.h("iframe", { width: "100%", height: this.dynamicHeight, src: this.cashierInfoUrl }) :
|
|
312
312
|
index.h("h3", { innerHTML: this.type === 'deposit'
|
|
@@ -314,6 +314,9 @@ const UserDepositWithdrawal = class {
|
|
|
314
314
|
: translate('denyWithdrawal', this.language), class: "ErrorMessage" })))));
|
|
315
315
|
}
|
|
316
316
|
async loadWidget() {
|
|
317
|
+
if (!this.endpoint) {
|
|
318
|
+
return;
|
|
319
|
+
}
|
|
317
320
|
const requestObject = {
|
|
318
321
|
Channel: this.channel,
|
|
319
322
|
Type: this.typeParameter,
|
|
@@ -420,6 +423,7 @@ const UserDepositWithdrawal = class {
|
|
|
420
423
|
"isShortCashier": ["watchLoadWidget"],
|
|
421
424
|
"currency": ["watchLoadWidget"],
|
|
422
425
|
"showBonusSelectionInput": ["watchLoadWidget"],
|
|
426
|
+
"endpoint": ["watchLoadWidget"],
|
|
423
427
|
"clientStyling": ["handleClientStylingChange"],
|
|
424
428
|
"clientStylingUrl": ["handleClientStylingChangeURL"]
|
|
425
429
|
}; }
|
|
@@ -19,7 +19,7 @@ var patchBrowser = () => {
|
|
|
19
19
|
|
|
20
20
|
patchBrowser().then(async (options) => {
|
|
21
21
|
await appGlobals.globalScripts();
|
|
22
|
-
return index.bootstrapLazy([["user-deposit-withdrawal.cjs",[[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"]}]]]], options);
|
|
22
|
+
return index.bootstrapLazy([["user-deposit-withdrawal.cjs",[[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"],"endpoint":["watchLoadWidget"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingChangeURL"]}]]]], options);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.setNonce = index.setNonce;
|
|
@@ -5,6 +5,11 @@
|
|
|
5
5
|
container-type: inline-size;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
+
.DepositWithdrawalContainer {
|
|
9
|
+
container-type: inline-size;
|
|
10
|
+
container-name: deposit-container;
|
|
11
|
+
}
|
|
12
|
+
|
|
8
13
|
.CategoryTitle {
|
|
9
14
|
font-size: var(--emw--font-size-x-large, 26px);
|
|
10
15
|
color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
|
|
@@ -32,7 +37,6 @@
|
|
|
32
37
|
|
|
33
38
|
.DepositWithdrawalWrapper {
|
|
34
39
|
width: 100%;
|
|
35
|
-
padding: 0;
|
|
36
40
|
margin: 0;
|
|
37
41
|
padding: 50px;
|
|
38
42
|
box-sizing: border-box;
|
|
@@ -12,6 +12,9 @@ export class UserDepositWithdrawal {
|
|
|
12
12
|
this.userAgent = window.navigator.userAgent;
|
|
13
13
|
this.isMobile = isMobile(this.userAgent);
|
|
14
14
|
this.errorCodes = ["21123", "21122", "21121"];
|
|
15
|
+
this.toggleScreen = () => {
|
|
16
|
+
window.postMessage({ type: 'PlayerAccountMenuActive', isMobile: this.isMobile }, window.location.href);
|
|
17
|
+
};
|
|
15
18
|
this.mbSource = undefined;
|
|
16
19
|
this.clientStyling = '';
|
|
17
20
|
this.clientStylingUrl = '';
|
|
@@ -67,9 +70,6 @@ export class UserDepositWithdrawal {
|
|
|
67
70
|
return translationPromise;
|
|
68
71
|
}
|
|
69
72
|
}
|
|
70
|
-
toggleScreen(isMobile) {
|
|
71
|
-
window.postMessage({ type: 'PlayerAccountMenuActive', isMobile }, window.location.href);
|
|
72
|
-
}
|
|
73
73
|
componentDidLoad() {
|
|
74
74
|
if (this.stylingContainer) {
|
|
75
75
|
if (window.emMessageBus != undefined) {
|
|
@@ -89,8 +89,8 @@ export class UserDepositWithdrawal {
|
|
|
89
89
|
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
90
90
|
}
|
|
91
91
|
render() {
|
|
92
|
-
return (h(Host, { key: '
|
|
93
|
-
h("div", { class: "MenuReturnButton", onClick:
|
|
92
|
+
return (h(Host, { key: '5a39e65dfb429f0b8d2763c2b5aff83f3aaa1a57' }, h("div", { key: 'f2920f2181a8579b5c619beba8b29e5c391b5717', ref: el => this.stylingContainer = el, class: "" }, h("div", { key: 'c3950a8d01343bf160f1a96a7c8334ef0342fe11', class: `DepositWithdrawalWrapper ${this.isShortCashier ? 'ShortCashier' : ''}` }, (!(this.isMobile && !this.isShortCashier) && (h("h2", { key: '1d2f6f40bd58fa6f3cdb6f52b30632ffd934f677', class: "CategoryTitle" }, translate(this.typeParameter === 'Withdraw' ? 'Withdraw' : 'Deposit', this.language)))), h("div", { key: 'cc0aed9136041143f94ecf98fb2f14ef316a75ad', style: { marginTop: this.isShortCashier ? '30px' : '0' } }, (this.isMobile && !this.isShortCashier ?
|
|
93
|
+
h("div", { class: "MenuReturnButton", onClick: this.toggleScreen }, 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" }, translate(this.typeParameter === 'Withdraw' ? 'Withdraw' : 'Deposit', this.language)))
|
|
94
94
|
: null)), this.cashierInfoUrl ?
|
|
95
95
|
h("iframe", { width: "100%", height: this.dynamicHeight, src: this.cashierInfoUrl }) :
|
|
96
96
|
h("h3", { innerHTML: this.type === 'deposit'
|
|
@@ -98,6 +98,9 @@ export class UserDepositWithdrawal {
|
|
|
98
98
|
: translate('denyWithdrawal', this.language), class: "ErrorMessage" })))));
|
|
99
99
|
}
|
|
100
100
|
async loadWidget() {
|
|
101
|
+
if (!this.endpoint) {
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
101
104
|
const requestObject = {
|
|
102
105
|
Channel: this.channel,
|
|
103
106
|
Type: this.typeParameter,
|
|
@@ -638,6 +641,9 @@ export class UserDepositWithdrawal {
|
|
|
638
641
|
}, {
|
|
639
642
|
"propName": "showBonusSelectionInput",
|
|
640
643
|
"methodName": "watchLoadWidget"
|
|
644
|
+
}, {
|
|
645
|
+
"propName": "endpoint",
|
|
646
|
+
"methodName": "watchLoadWidget"
|
|
641
647
|
}, {
|
|
642
648
|
"propName": "clientStyling",
|
|
643
649
|
"methodName": "handleClientStylingChange"
|
package/dist/esm/loader.js
CHANGED
|
@@ -5,7 +5,7 @@ import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
|
7
7
|
await globalScripts();
|
|
8
|
-
return 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"]}]]]], options);
|
|
8
|
+
return 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"],"endpoint":["watchLoadWidget"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingChangeURL"]}]]]], options);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export { defineCustomElements };
|
|
@@ -212,7 +212,7 @@ var utc$1 = {exports: {}};
|
|
|
212
212
|
|
|
213
213
|
const utc = utc$1.exports;
|
|
214
214
|
|
|
215
|
-
const userDepositWithdrawalCss = ":host {\n font: inherit;\n display: block;\n height: 100%;\n container-type: inline-size;\n}\n\n.CategoryTitle {\n font-size: var(--emw--font-size-x-large, 26px);\n color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));\n}\n\n.MenuReturnButton {\n font: inherit;\n color: var(--emw--color-gray-300, #58586B);\n display: inline-flex;\n align-items: center;\n column-gap: 10px;\n margin-bottom: 10px;\n}\n.MenuReturnButton svg {\n fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));\n}\n.MenuReturnButton h2.CategoryTitleMobile {\n font-size: 16px;\n color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));\n}\n\n.ErrorMessage {\n color: var(--emw--pam-color-typography, var(--emw--color-typography, #FFFFFF));\n}\n\n.DepositWithdrawalWrapper {\n width: 100%;\n
|
|
215
|
+
const userDepositWithdrawalCss = ":host {\n font: inherit;\n display: block;\n height: 100%;\n container-type: inline-size;\n}\n\n.DepositWithdrawalContainer {\n container-type: inline-size;\n container-name: deposit-container;\n}\n\n.CategoryTitle {\n font-size: var(--emw--font-size-x-large, 26px);\n color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));\n}\n\n.MenuReturnButton {\n font: inherit;\n color: var(--emw--color-gray-300, #58586B);\n display: inline-flex;\n align-items: center;\n column-gap: 10px;\n margin-bottom: 10px;\n}\n.MenuReturnButton svg {\n fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));\n}\n.MenuReturnButton h2.CategoryTitleMobile {\n font-size: 16px;\n color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));\n}\n\n.ErrorMessage {\n color: var(--emw--pam-color-typography, var(--emw--color-typography, #FFFFFF));\n}\n\n.DepositWithdrawalWrapper {\n width: 100%;\n margin: 0;\n padding: 50px;\n box-sizing: border-box;\n overflow-y: scroll;\n}\n.DepositWithdrawalWrapper iframe {\n border-width: 0;\n}\n\n.ShortCashier.DepositWithdrawalWrapper {\n height: 500px;\n}\n.ShortCashier.CategoryTitle.CategoryTitle {\n margin-right: 20px;\n padding-top: 20px;\n color: var(--emw--color-black, #000000);\n}\n.ShortCashier .ErrorMessage {\n margin: auto;\n width: 90%;\n margin-top: 70px;\n text-align: center;\n color: var(--emw--color-black, #000000);\n}\n\n@container (max-width: 768px) {\n .DepositWithdrawalWrapper {\n padding: 20px 15px;\n }\n .DepositWithdrawalWrapper:not(.ShortCashier) {\n overflow: visible;\n }\n}";
|
|
216
216
|
const UserDepositWithdrawalStyle0 = userDepositWithdrawalCss;
|
|
217
217
|
|
|
218
218
|
dayjs.extend(utc);
|
|
@@ -224,6 +224,9 @@ const UserDepositWithdrawal = class {
|
|
|
224
224
|
this.userAgent = window.navigator.userAgent;
|
|
225
225
|
this.isMobile = isMobile(this.userAgent);
|
|
226
226
|
this.errorCodes = ["21123", "21122", "21121"];
|
|
227
|
+
this.toggleScreen = () => {
|
|
228
|
+
window.postMessage({ type: 'PlayerAccountMenuActive', isMobile: this.isMobile }, window.location.href);
|
|
229
|
+
};
|
|
227
230
|
this.mbSource = undefined;
|
|
228
231
|
this.clientStyling = '';
|
|
229
232
|
this.clientStylingUrl = '';
|
|
@@ -279,9 +282,6 @@ const UserDepositWithdrawal = class {
|
|
|
279
282
|
return translationPromise;
|
|
280
283
|
}
|
|
281
284
|
}
|
|
282
|
-
toggleScreen(isMobile) {
|
|
283
|
-
window.postMessage({ type: 'PlayerAccountMenuActive', isMobile }, window.location.href);
|
|
284
|
-
}
|
|
285
285
|
componentDidLoad() {
|
|
286
286
|
if (this.stylingContainer) {
|
|
287
287
|
if (window.emMessageBus != undefined) {
|
|
@@ -301,8 +301,8 @@ const UserDepositWithdrawal = class {
|
|
|
301
301
|
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
302
302
|
}
|
|
303
303
|
render() {
|
|
304
|
-
return (h(Host, { key: '
|
|
305
|
-
h("div", { class: "MenuReturnButton", onClick:
|
|
304
|
+
return (h(Host, { key: '5a39e65dfb429f0b8d2763c2b5aff83f3aaa1a57' }, h("div", { key: 'f2920f2181a8579b5c619beba8b29e5c391b5717', ref: el => this.stylingContainer = el, class: "" }, h("div", { key: 'c3950a8d01343bf160f1a96a7c8334ef0342fe11', class: `DepositWithdrawalWrapper ${this.isShortCashier ? 'ShortCashier' : ''}` }, (!(this.isMobile && !this.isShortCashier) && (h("h2", { key: '1d2f6f40bd58fa6f3cdb6f52b30632ffd934f677', class: "CategoryTitle" }, translate(this.typeParameter === 'Withdraw' ? 'Withdraw' : 'Deposit', this.language)))), h("div", { key: 'cc0aed9136041143f94ecf98fb2f14ef316a75ad', style: { marginTop: this.isShortCashier ? '30px' : '0' } }, (this.isMobile && !this.isShortCashier ?
|
|
305
|
+
h("div", { class: "MenuReturnButton", onClick: this.toggleScreen }, 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" }, translate(this.typeParameter === 'Withdraw' ? 'Withdraw' : 'Deposit', this.language)))
|
|
306
306
|
: null)), this.cashierInfoUrl ?
|
|
307
307
|
h("iframe", { width: "100%", height: this.dynamicHeight, src: this.cashierInfoUrl }) :
|
|
308
308
|
h("h3", { innerHTML: this.type === 'deposit'
|
|
@@ -310,6 +310,9 @@ const UserDepositWithdrawal = class {
|
|
|
310
310
|
: translate('denyWithdrawal', this.language), class: "ErrorMessage" })))));
|
|
311
311
|
}
|
|
312
312
|
async loadWidget() {
|
|
313
|
+
if (!this.endpoint) {
|
|
314
|
+
return;
|
|
315
|
+
}
|
|
313
316
|
const requestObject = {
|
|
314
317
|
Channel: this.channel,
|
|
315
318
|
Type: this.typeParameter,
|
|
@@ -416,6 +419,7 @@ const UserDepositWithdrawal = class {
|
|
|
416
419
|
"isShortCashier": ["watchLoadWidget"],
|
|
417
420
|
"currency": ["watchLoadWidget"],
|
|
418
421
|
"showBonusSelectionInput": ["watchLoadWidget"],
|
|
422
|
+
"endpoint": ["watchLoadWidget"],
|
|
419
423
|
"clientStyling": ["handleClientStylingChange"],
|
|
420
424
|
"clientStylingUrl": ["handleClientStylingChangeURL"]
|
|
421
425
|
}; }
|
|
@@ -16,5 +16,5 @@ var patchBrowser = () => {
|
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(async (options) => {
|
|
18
18
|
await globalScripts();
|
|
19
|
-
return 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"]}]]]], options);
|
|
19
|
+
return 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"],"endpoint":["watchLoadWidget"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingChangeURL"]}]]]], options);
|
|
20
20
|
});
|
|
@@ -72,7 +72,7 @@ export declare class UserDepositWithdrawal {
|
|
|
72
72
|
handleClientStylingChange(newValue: any, oldValue: any): void;
|
|
73
73
|
handleClientStylingChangeURL(newValue: any, oldValue: any): void;
|
|
74
74
|
componentWillLoad(): Promise<unknown>;
|
|
75
|
-
toggleScreen
|
|
75
|
+
toggleScreen: () => void;
|
|
76
76
|
componentDidLoad(): void;
|
|
77
77
|
disconnectedCallback(): void;
|
|
78
78
|
render(): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,H as r}from"./index-1ef3a64c.js";const i=["ro","en","fr","hr","en-us","es-mx","pt-br","es","de","pt","tr"],n={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"}},o=(e,t)=>{const r=t;return n[void 0!==r&&i.includes(r)?r:"en"][e]};function a(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function s(e,t){const r=new URL(t);fetch(r.href).then((e=>e.text())).then((t=>{const r=document.createElement("style");r.innerHTML=t,e&&e.appendChild(r)})).catch((e=>{console.error("There was an error while trying to load client styling from URL",e)}))}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var d={exports:{}};d.exports=function(){var e=6e4,t=36e5,r="millisecond",i="second",n="minute",o="hour",a="day",s="week",d="month",u="quarter",h="year",c="date",l="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|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(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}},w=function(e,t,r){var i=String(e);return!i||i.length>=t?e:""+Array(t+1-i.length).join(r)+e},y={s:w,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),i=Math.floor(r/60),n=r%60;return(t<=0?"+":"-")+w(i,2,"0")+":"+w(n,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var i=12*(r.year()-t.year())+(r.month()-t.month()),n=t.clone().add(i,d),o=r-n<0,a=t.clone().add(i+(o?-1:1),d);return+(-(i+(r-n)/(o?n-a:a-n))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:d,y:h,w:s,d:a,D:c,h:o,m:n,s:i,ms:r,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},v="en",g={};g[v]=f;var C="$isDayjsObject",b=function(e){return e instanceof W||!(!e||!e[C])},D=function e(t,r,i){var n;if(!t)return v;if("string"==typeof t){var o=t.toLowerCase();g[o]&&(n=o),r&&(g[o]=r,n=o);var a=t.split("-");if(!n&&a.length>1)return e(a[0])}else{var s=t.name;g[s]=t,n=s}return!i&&n&&(v=n),n||!i&&v},S=function(e,t){if(b(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new W(r)},M=y;M.l=D,M.i=b,M.w=function(e,t){return S(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var W=function(){function f(e){this.$L=D(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[C]=!0}var w=f.prototype;return w.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(M.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var i=t.match(m);if(i){var n=i[2]-1||0,o=(i[7]||"0").substring(0,3);return r?new Date(Date.UTC(i[1],n,i[3]||1,i[4]||0,i[5]||0,i[6]||0,o)):new Date(i[1],n,i[3]||1,i[4]||0,i[5]||0,i[6]||0,o)}}return new Date(t)}(e),this.init()},w.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()},w.$utils=function(){return M},w.isValid=function(){return!(this.$d.toString()===l)},w.isSame=function(e,t){var r=S(e);return this.startOf(t)<=r&&r<=this.endOf(t)},w.isAfter=function(e,t){return S(e)<this.startOf(t)},w.isBefore=function(e,t){return this.endOf(t)<S(e)},w.$g=function(e,t,r){return M.u(e)?this[t]:this.set(r,e)},w.unix=function(){return Math.floor(this.valueOf()/1e3)},w.valueOf=function(){return this.$d.getTime()},w.startOf=function(e,t){var r=this,u=!!M.u(t)||t,l=M.p(e),m=function(e,t){var i=M.w(r.$u?Date.UTC(r.$y,t,e):new Date(r.$y,t,e),r);return u?i:i.endOf(a)},p=function(e,t){return M.w(r.toDate()[e].apply(r.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(t)),r)},f=this.$W,w=this.$M,y=this.$D,v="set"+(this.$u?"UTC":"");switch(l){case h:return u?m(1,0):m(31,11);case d:return u?m(1,w):m(0,w+1);case s:var g=this.$locale().weekStart||0,C=(f<g?f+7:f)-g;return m(u?y-C:y+(6-C),w);case a:case c:return p(v+"Hours",0);case o:return p(v+"Minutes",1);case n:return p(v+"Seconds",2);case i:return p(v+"Milliseconds",3);default:return this.clone()}},w.endOf=function(e){return this.startOf(e,!1)},w.$set=function(e,t){var s,u=M.p(e),l="set"+(this.$u?"UTC":""),m=(s={},s[a]=l+"Date",s[c]=l+"Date",s[d]=l+"Month",s[h]=l+"FullYear",s[o]=l+"Hours",s[n]=l+"Minutes",s[i]=l+"Seconds",s[r]=l+"Milliseconds",s)[u],p=u===a?this.$D+(t-this.$W):t;if(u===d||u===h){var f=this.clone().set(c,1);f.$d[m](p),f.init(),this.$d=f.set(c,Math.min(this.$D,f.daysInMonth())).$d}else m&&this.$d[m](p);return this.init(),this},w.set=function(e,t){return this.clone().$set(e,t)},w.get=function(e){return this[M.p(e)]()},w.add=function(r,u){var c,l=this;r=Number(r);var m=M.p(u),p=function(e){var t=S(l);return M.w(t.date(t.date()+Math.round(e*r)),l)};if(m===d)return this.set(d,this.$M+r);if(m===h)return this.set(h,this.$y+r);if(m===a)return p(1);if(m===s)return p(7);var f=(c={},c[n]=e,c[o]=t,c[i]=1e3,c)[m]||1,w=this.$d.getTime()+r*f;return M.w(w,this)},w.subtract=function(e,t){return this.add(-1*e,t)},w.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||l;var i=e||"YYYY-MM-DDTHH:mm:ssZ",n=M.z(this),o=this.$H,a=this.$m,s=this.$M,d=r.weekdays,u=r.months,h=function(e,r,n,o){return e&&(e[r]||e(t,i))||n[r].slice(0,o)},c=function(e){return M.s(o%12||12,e,"0")},m=r.meridiem||function(e,t,r){var i=e<12?"AM":"PM";return r?i.toLowerCase():i};return i.replace(p,(function(e,i){return i||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return M.s(t.$y,4,"0");case"M":return s+1;case"MM":return M.s(s+1,2,"0");case"MMM":return h(r.monthsShort,s,u,3);case"MMMM":return h(u,s);case"D":return t.$D;case"DD":return M.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return h(r.weekdaysMin,t.$W,d,2);case"ddd":return h(r.weekdaysShort,t.$W,d,3);case"dddd":return d[t.$W];case"H":return String(o);case"HH":return M.s(o,2,"0");case"h":return c(1);case"hh":return c(2);case"a":return m(o,a,!0);case"A":return m(o,a,!1);case"m":return String(a);case"mm":return M.s(a,2,"0");case"s":return String(t.$s);case"ss":return M.s(t.$s,2,"0");case"SSS":return M.s(t.$ms,3,"0");case"Z":return n}return null}(e)||n.replace(":","")}))},w.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},w.diff=function(r,c,l){var m,p=this,f=M.p(c),w=S(r),y=(w.utcOffset()-this.utcOffset())*e,v=this-w,g=function(){return M.m(p,w)};switch(f){case h:m=g()/12;break;case d:m=g();break;case u:m=g()/3;break;case s:m=(v-y)/6048e5;break;case a:m=(v-y)/864e5;break;case o:m=v/t;break;case n:m=v/e;break;case i:m=v/1e3;break;default:m=v}return l?m:M.a(m)},w.daysInMonth=function(){return this.endOf(d).$D},w.$locale=function(){return g[this.$L]},w.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),i=D(e,t,!0);return i&&(r.$L=i),r},w.clone=function(){return M.w(this.$d,this)},w.toDate=function(){return new Date(this.valueOf())},w.toJSON=function(){return this.isValid()?this.toISOString():null},w.toISOString=function(){return this.$d.toISOString()},w.toString=function(){return this.$d.toUTCString()},f}(),z=W.prototype;return S.prototype=z,[["$ms",r],["$s",i],["$m",n],["$H",o],["$W",a],["$M",d],["$y",h],["$D",c]].forEach((function(e){z[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),S.extend=function(e,t){return e.$i||(e(t,W,S),e.$i=!0),S},S.locale=D,S.isDayjs=b,S.unix=function(e){return S(1e3*e)},S.en=g[v],S.Ls=g,S.p={},S}();const u=d.exports;var h,c,l,m={exports:{}};m.exports=(h="minute",c=/[+-]\d\d(?::?\d\d)?/g,l=/([+-]|\d\d)/g,function(e,t,r){var i=t.prototype;r.utc=function(e){return new t({date:e,utc:!0,args:arguments})},i.utc=function(e){var t=r(this.toDate(),{locale:this.$L,utc:!0});return e?t.add(this.utcOffset(),h):t},i.local=function(){return r(this.toDate(),{locale:this.$L,utc:!1})};var n=i.parse;i.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),n.call(this,e)};var o=i.init;i.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else o.call(this)};var a=i.utcOffset;i.utcOffset=function(e,t){var r=this.$utils().u;if(r(e))return this.$u?0:r(this.$offset)?a.call(this):this.$offset;if("string"==typeof e&&(e=function(e){void 0===e&&(e="");var t=e.match(c);if(!t)return null;var r=(""+t[0]).match(l)||["-",0,0],i=60*+r[1]+ +r[2];return 0===i?0:"+"===r[0]?i:-i}(e),null===e))return this;var i=Math.abs(e)<=16?60*e:e,n=this;if(t)return n.$offset=i,n.$u=0===e,n;if(0!==e){var o=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(n=this.local().add(i+o,h)).$offset=i,n.$x.$localOffset=o}else n=this.utc();return n};var s=i.format;i.format=function(e){return s.call(this,e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":""))},i.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},i.isUTC=function(){return!!this.$u},i.toISOString=function(){return this.toDate().toISOString()},i.toString=function(){return this.toDate().toUTCString()};var d=i.toDate;i.toDate=function(e){return"s"===e&&this.$offset?r(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var u=i.diff;i.diff=function(e,t,i){if(e&&this.$u===e.$u)return u.call(this,e,t,i);var n=this.local(),o=r(e).local();return u.call(n,o,t,i)}}),u.extend(m.exports);const p=()=>{},f=class{constructor(t){var r;e(this,t),this.bindedHandler=this.handleMessage.bind(this),this.userAgent=window.navigator.userAgent,this.isMobile=!!((r=this.userAgent).toLowerCase().match(/android/i)||r.toLowerCase().match(/blackberry|bb/i)||r.toLowerCase().match(/iphone|ipad|ipod/i)||r.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),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=p,this.dynamicHeight=void 0,this.cashierInfoUrl=void 0}get typeParameter(){return"deposit"===this.type?"Deposit":"withdraw"===this.type?"Withdraw":void 0}watchLoadWidget(){this.loadWidget()}handleClientStylingChange(e,t){e!=t&&a(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,t){e!=t&&this.clientStylingUrl&&s(this.stylingContainer,this.clientStylingUrl)}async componentWillLoad(){if(await this.loadWidget(),this.translationUrl)return e=this.translationUrl,new Promise((t=>{fetch(e).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{for(let r in e[t])n[t][r]=e[t][r]})),t(!0)}))}));var e}toggleScreen(e){window.postMessage({type:"PlayerAccountMenuActive",isMobile:e},window.location.href)}componentDidLoad(){this.stylingContainer&&(null!=window.emMessageBus?function(e,t){if(window.emMessageBus){const r=document.createElement("style");window.emMessageBus.subscribe(t,(t=>{r.innerHTML=t,e&&e.appendChild(r)}))}}(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&a(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&s(this.stylingContainer,this.clientStylingUrl))),window.addEventListener("message",this.bindedHandler,!1)}disconnectedCallback(){window.removeEventListener("message",this.bindedHandler,!1),this.stylingSubscription&&this.stylingSubscription.unsubscribe()}render(){return t(r,{key:"4133bb899942dd0b2877894bd8744cc7dc25fca8"},t("div",{key:"c1e0f73f7aa41a951228299f5bd84370c59c9075",ref:e=>this.stylingContainer=e},!(this.isMobile&&!this.isShortCashier)&&t("h2",{key:"6056f42eda79cef3d109997216e65772cb1f6ef1",class:"CategoryTitle"},o("Withdraw"===this.typeParameter?"Withdraw":"Deposit",this.language)),t("div",{key:"673e7b2a69996ddce72da30a8f9c30b0199a2222",class:"DepositWithdrawalWrapper "+(this.isShortCashier?"ShortCashier":""),style:{marginTop:this.isShortCashier?"30px":"0"}},t("div",{key:"c772cccd0a3fc003a65dd307ee9a723fd471ee80"},this.isMobile&&!this.isShortCashier?t("div",{class:"MenuReturnButton",onClick:()=>this.toggleScreen(this.isMobile)},t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},t("defs",null),t("g",{transform:"translate(-20 -158)"},t("g",{transform:"translate(20 158)"},t("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)"})))),t("h2",{class:"CategoryTitleMobile"},o("Withdraw"===this.typeParameter?"Withdraw":"Deposit",this.language))):null),this.cashierInfoUrl?t("iframe",{width:"100%",height:this.dynamicHeight,src:this.cashierInfoUrl}):t("h3",{innerHTML:o("deposit"===this.type?"denyDeposit":"denyWithdrawal",this.language),class:"ErrorMessage"}))))}async loadWidget(){const e={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 t=`${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`,r=await fetch(t,{method:"POST",headers:{"X-Sessionid":this.session,"Content-Type":"application/json","X-Client-Request-Timestamp":u.utc().format("YYYY-MM-DD HH:mm:ss.SSS")},body:JSON.stringify(e)});if(!r.ok){const e=await r.text();throw new Error(e)}const i=await r.json();if(i.CashierInfo)this.cashierInfoUrl=i.CashierInfo.Url;else{let e;if(i.ResponseMessage){let t=this.errorCodes.find((e=>i.ResponseMessage.includes(e)))||null;e=o(t?`errorCode${t}`:"notFoundErrorCode",this.language)}else e=o("deposit"===this.type?"denyDeposit":"denyWithdrawal",this.language);window.postMessage({type:"DenyDepositOrWithdrawal",data:{type:"error",message:e}},window.location.href)}}catch(e){console.error(e)}}handleMessage(e){var t,r,i,n,o,a,s,d;"true"===e.data["MMFE:openFullCashier"]&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),e.data["MMFE:setQuickDepositHeight"]&&this.isShortCashier&&(this.dynamicHeight=e.data["MMFE:setQuickDepositHeight"].toString()+"px"),e.data["MMFE:setIFrameHeight"]&&(this.dynamicHeight=e.data["MMFE:setIFrameHeight"].toString()+"px"),"mm-hcback-to-merchant"===(null===(t=e.data)||void 0===t?void 0:t.type)&&this.doRedirect(e.data.type,this.homeUrl),"mm-hc-back-tomerchant"===(null===(r=e.data)||void 0===r?void 0:r.redirect)&&this.doRedirect(e.data.redirect,this.homeUrl),"mm-hc-sports"===(null===(i=e.data)||void 0===i?void 0:i.redirect)&&this.doRedirect(null===(n=e.data)||void 0===n?void 0:n.redirect,this.sportsUrl),"mm-hc-casino"===(null===(o=e.data)||void 0===o?void 0:o.redirect)&&this.doRedirect(window.location.href,this.casinoUrl),"mm-hc-contact"===(null===(a=e.data)||void 0===a?void 0:a.redirect)&&(window.postMessage({type:"CloseShortCashier"},window.location.href),this.doRedirect(window.location.href,this.contactUrl)),"mm-wm-hc-init-deposit"!==(null===(s=e.data)||void 0===s?void 0:s.redirect)&&"mm-wm-hc-init-deposit-quick"!==(null===(d=e.data)||void 0===d?void 0:d.redirect)||(window.postMessage({type:"CloseShortCashier"},window.location.href),this.doRedirect(window.location.href,this.depositUrl))}doRedirect(e,t){const r={reason:e,url:t,cancel:!1};this.beforeRedirect(r),r.cancel||(window.location.href=r.url?r.url:"/")}static get watchers(){return{session:["watchLoadWidget"],userId:["watchLoadWidget"],isShortCashier:["watchLoadWidget"],currency:["watchLoadWidget"],showBonusSelectionInput:["watchLoadWidget"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};f.style=":host {\n font: inherit;\n display: block;\n height: 100%;\n container-type: inline-size;\n}\n\n.CategoryTitle {\n font-size: var(--emw--font-size-x-large, 26px);\n color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));\n}\n\n.MenuReturnButton {\n font: inherit;\n color: var(--emw--color-gray-300, #58586B);\n display: inline-flex;\n align-items: center;\n column-gap: 10px;\n margin-bottom: 10px;\n}\n.MenuReturnButton svg {\n fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));\n}\n.MenuReturnButton h2.CategoryTitleMobile {\n font-size: 16px;\n color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));\n}\n\n.ErrorMessage {\n color: var(--emw--pam-color-typography, var(--emw--color-typography, #FFFFFF));\n}\n\n.DepositWithdrawalWrapper {\n width: 100%;\n padding: 0;\n margin: 0;\n padding: 50px;\n box-sizing: border-box;\n overflow-y: scroll;\n}\n.DepositWithdrawalWrapper iframe {\n border-width: 0;\n}\n\n.ShortCashier.DepositWithdrawalWrapper {\n height: 500px;\n}\n.ShortCashier.CategoryTitle.CategoryTitle {\n margin-right: 20px;\n padding-top: 20px;\n color: var(--emw--color-black, #000000);\n}\n.ShortCashier .ErrorMessage {\n margin: auto;\n width: 90%;\n margin-top: 70px;\n text-align: center;\n color: var(--emw--color-black, #000000);\n}\n\n@container (max-width: 768px) {\n .DepositWithdrawalWrapper {\n padding: 20px 15px;\n }\n .DepositWithdrawalWrapper:not(.ShortCashier) {\n overflow: visible;\n }\n}";export{f as user_deposit_withdrawal}
|
|
1
|
+
import{r as e,h as t,H as r}from"./index-1ef3a64c.js";const i=["ro","en","fr","hr","en-us","es-mx","pt-br","es","de","pt","tr"],n={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"}},a=(e,t)=>{const r=t;return n[void 0!==r&&i.includes(r)?r:"en"][e]};function o(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function s(e,t){const r=new URL(t);fetch(r.href).then((e=>e.text())).then((t=>{const r=document.createElement("style");r.innerHTML=t,e&&e.appendChild(r)})).catch((e=>{console.error("There was an error while trying to load client styling from URL",e)}))}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var d={exports:{}};d.exports=function(){var e=6e4,t=36e5,r="millisecond",i="second",n="minute",a="hour",o="day",s="week",d="month",u="quarter",h="year",c="date",l="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|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(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}},w=function(e,t,r){var i=String(e);return!i||i.length>=t?e:""+Array(t+1-i.length).join(r)+e},y={s:w,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),i=Math.floor(r/60),n=r%60;return(t<=0?"+":"-")+w(i,2,"0")+":"+w(n,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var i=12*(r.year()-t.year())+(r.month()-t.month()),n=t.clone().add(i,d),a=r-n<0,o=t.clone().add(i+(a?-1:1),d);return+(-(i+(r-n)/(a?n-o:o-n))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:d,y:h,w:s,d:o,D:c,h:a,m:n,s:i,ms:r,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},v="en",g={};g[v]=f;var C="$isDayjsObject",b=function(e){return e instanceof M||!(!e||!e[C])},D=function e(t,r,i){var n;if(!t)return v;if("string"==typeof t){var a=t.toLowerCase();g[a]&&(n=a),r&&(g[a]=r,n=a);var o=t.split("-");if(!n&&o.length>1)return e(o[0])}else{var s=t.name;g[s]=t,n=s}return!i&&n&&(v=n),n||!i&&v},S=function(e,t){if(b(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new M(r)},W=y;W.l=D,W.i=b,W.w=function(e,t){return S(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var M=function(){function f(e){this.$L=D(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[C]=!0}var w=f.prototype;return w.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(W.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var i=t.match(m);if(i){var n=i[2]-1||0,a=(i[7]||"0").substring(0,3);return r?new Date(Date.UTC(i[1],n,i[3]||1,i[4]||0,i[5]||0,i[6]||0,a)):new Date(i[1],n,i[3]||1,i[4]||0,i[5]||0,i[6]||0,a)}}return new Date(t)}(e),this.init()},w.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()},w.$utils=function(){return W},w.isValid=function(){return!(this.$d.toString()===l)},w.isSame=function(e,t){var r=S(e);return this.startOf(t)<=r&&r<=this.endOf(t)},w.isAfter=function(e,t){return S(e)<this.startOf(t)},w.isBefore=function(e,t){return this.endOf(t)<S(e)},w.$g=function(e,t,r){return W.u(e)?this[t]:this.set(r,e)},w.unix=function(){return Math.floor(this.valueOf()/1e3)},w.valueOf=function(){return this.$d.getTime()},w.startOf=function(e,t){var r=this,u=!!W.u(t)||t,l=W.p(e),m=function(e,t){var i=W.w(r.$u?Date.UTC(r.$y,t,e):new Date(r.$y,t,e),r);return u?i:i.endOf(o)},p=function(e,t){return W.w(r.toDate()[e].apply(r.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(t)),r)},f=this.$W,w=this.$M,y=this.$D,v="set"+(this.$u?"UTC":"");switch(l){case h:return u?m(1,0):m(31,11);case d:return u?m(1,w):m(0,w+1);case s:var g=this.$locale().weekStart||0,C=(f<g?f+7:f)-g;return m(u?y-C:y+(6-C),w);case o:case c:return p(v+"Hours",0);case a:return p(v+"Minutes",1);case n:return p(v+"Seconds",2);case i:return p(v+"Milliseconds",3);default:return this.clone()}},w.endOf=function(e){return this.startOf(e,!1)},w.$set=function(e,t){var s,u=W.p(e),l="set"+(this.$u?"UTC":""),m=(s={},s[o]=l+"Date",s[c]=l+"Date",s[d]=l+"Month",s[h]=l+"FullYear",s[a]=l+"Hours",s[n]=l+"Minutes",s[i]=l+"Seconds",s[r]=l+"Milliseconds",s)[u],p=u===o?this.$D+(t-this.$W):t;if(u===d||u===h){var f=this.clone().set(c,1);f.$d[m](p),f.init(),this.$d=f.set(c,Math.min(this.$D,f.daysInMonth())).$d}else m&&this.$d[m](p);return this.init(),this},w.set=function(e,t){return this.clone().$set(e,t)},w.get=function(e){return this[W.p(e)]()},w.add=function(r,u){var c,l=this;r=Number(r);var m=W.p(u),p=function(e){var t=S(l);return W.w(t.date(t.date()+Math.round(e*r)),l)};if(m===d)return this.set(d,this.$M+r);if(m===h)return this.set(h,this.$y+r);if(m===o)return p(1);if(m===s)return p(7);var f=(c={},c[n]=e,c[a]=t,c[i]=1e3,c)[m]||1,w=this.$d.getTime()+r*f;return W.w(w,this)},w.subtract=function(e,t){return this.add(-1*e,t)},w.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||l;var i=e||"YYYY-MM-DDTHH:mm:ssZ",n=W.z(this),a=this.$H,o=this.$m,s=this.$M,d=r.weekdays,u=r.months,h=function(e,r,n,a){return e&&(e[r]||e(t,i))||n[r].slice(0,a)},c=function(e){return W.s(a%12||12,e,"0")},m=r.meridiem||function(e,t,r){var i=e<12?"AM":"PM";return r?i.toLowerCase():i};return i.replace(p,(function(e,i){return i||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return W.s(t.$y,4,"0");case"M":return s+1;case"MM":return W.s(s+1,2,"0");case"MMM":return h(r.monthsShort,s,u,3);case"MMMM":return h(u,s);case"D":return t.$D;case"DD":return W.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return h(r.weekdaysMin,t.$W,d,2);case"ddd":return h(r.weekdaysShort,t.$W,d,3);case"dddd":return d[t.$W];case"H":return String(a);case"HH":return W.s(a,2,"0");case"h":return c(1);case"hh":return c(2);case"a":return m(a,o,!0);case"A":return m(a,o,!1);case"m":return String(o);case"mm":return W.s(o,2,"0");case"s":return String(t.$s);case"ss":return W.s(t.$s,2,"0");case"SSS":return W.s(t.$ms,3,"0");case"Z":return n}return null}(e)||n.replace(":","")}))},w.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},w.diff=function(r,c,l){var m,p=this,f=W.p(c),w=S(r),y=(w.utcOffset()-this.utcOffset())*e,v=this-w,g=function(){return W.m(p,w)};switch(f){case h:m=g()/12;break;case d:m=g();break;case u:m=g()/3;break;case s:m=(v-y)/6048e5;break;case o:m=(v-y)/864e5;break;case a:m=v/t;break;case n:m=v/e;break;case i:m=v/1e3;break;default:m=v}return l?m:W.a(m)},w.daysInMonth=function(){return this.endOf(d).$D},w.$locale=function(){return g[this.$L]},w.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),i=D(e,t,!0);return i&&(r.$L=i),r},w.clone=function(){return W.w(this.$d,this)},w.toDate=function(){return new Date(this.valueOf())},w.toJSON=function(){return this.isValid()?this.toISOString():null},w.toISOString=function(){return this.$d.toISOString()},w.toString=function(){return this.$d.toUTCString()},f}(),z=M.prototype;return S.prototype=z,[["$ms",r],["$s",i],["$m",n],["$H",a],["$W",o],["$M",d],["$y",h],["$D",c]].forEach((function(e){z[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),S.extend=function(e,t){return e.$i||(e(t,M,S),e.$i=!0),S},S.locale=D,S.isDayjs=b,S.unix=function(e){return S(1e3*e)},S.en=g[v],S.Ls=g,S.p={},S}();const u=d.exports;var h,c,l,m={exports:{}};m.exports=(h="minute",c=/[+-]\d\d(?::?\d\d)?/g,l=/([+-]|\d\d)/g,function(e,t,r){var i=t.prototype;r.utc=function(e){return new t({date:e,utc:!0,args:arguments})},i.utc=function(e){var t=r(this.toDate(),{locale:this.$L,utc:!0});return e?t.add(this.utcOffset(),h):t},i.local=function(){return r(this.toDate(),{locale:this.$L,utc:!1})};var n=i.parse;i.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),n.call(this,e)};var a=i.init;i.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else a.call(this)};var o=i.utcOffset;i.utcOffset=function(e,t){var r=this.$utils().u;if(r(e))return this.$u?0:r(this.$offset)?o.call(this):this.$offset;if("string"==typeof e&&(e=function(e){void 0===e&&(e="");var t=e.match(c);if(!t)return null;var r=(""+t[0]).match(l)||["-",0,0],i=60*+r[1]+ +r[2];return 0===i?0:"+"===r[0]?i:-i}(e),null===e))return this;var i=Math.abs(e)<=16?60*e:e,n=this;if(t)return n.$offset=i,n.$u=0===e,n;if(0!==e){var a=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(n=this.local().add(i+a,h)).$offset=i,n.$x.$localOffset=a}else n=this.utc();return n};var s=i.format;i.format=function(e){return s.call(this,e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":""))},i.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},i.isUTC=function(){return!!this.$u},i.toISOString=function(){return this.toDate().toISOString()},i.toString=function(){return this.toDate().toUTCString()};var d=i.toDate;i.toDate=function(e){return"s"===e&&this.$offset?r(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var u=i.diff;i.diff=function(e,t,i){if(e&&this.$u===e.$u)return u.call(this,e,t,i);var n=this.local(),a=r(e).local();return u.call(n,a,t,i)}}),u.extend(m.exports);const p=()=>{},f=class{constructor(t){var r;e(this,t),this.bindedHandler=this.handleMessage.bind(this),this.userAgent=window.navigator.userAgent,this.isMobile=!!((r=this.userAgent).toLowerCase().match(/android/i)||r.toLowerCase().match(/blackberry|bb/i)||r.toLowerCase().match(/iphone|ipad|ipod/i)||r.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),this.errorCodes=["21123","21122","21121"],this.toggleScreen=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:this.isMobile},window.location.href)},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=p,this.dynamicHeight=void 0,this.cashierInfoUrl=void 0}get typeParameter(){return"deposit"===this.type?"Deposit":"withdraw"===this.type?"Withdraw":void 0}watchLoadWidget(){this.loadWidget()}handleClientStylingChange(e,t){e!=t&&o(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,t){e!=t&&this.clientStylingUrl&&s(this.stylingContainer,this.clientStylingUrl)}async componentWillLoad(){if(await this.loadWidget(),this.translationUrl)return e=this.translationUrl,new Promise((t=>{fetch(e).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{for(let r in e[t])n[t][r]=e[t][r]})),t(!0)}))}));var e}componentDidLoad(){this.stylingContainer&&(null!=window.emMessageBus?function(e,t){if(window.emMessageBus){const r=document.createElement("style");window.emMessageBus.subscribe(t,(t=>{r.innerHTML=t,e&&e.appendChild(r)}))}}(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&o(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&s(this.stylingContainer,this.clientStylingUrl))),window.addEventListener("message",this.bindedHandler,!1)}disconnectedCallback(){window.removeEventListener("message",this.bindedHandler,!1),this.stylingSubscription&&this.stylingSubscription.unsubscribe()}render(){return t(r,{key:"5a39e65dfb429f0b8d2763c2b5aff83f3aaa1a57"},t("div",{key:"f2920f2181a8579b5c619beba8b29e5c391b5717",ref:e=>this.stylingContainer=e,class:""},t("div",{key:"c3950a8d01343bf160f1a96a7c8334ef0342fe11",class:"DepositWithdrawalWrapper "+(this.isShortCashier?"ShortCashier":"")},!(this.isMobile&&!this.isShortCashier)&&t("h2",{key:"1d2f6f40bd58fa6f3cdb6f52b30632ffd934f677",class:"CategoryTitle"},a("Withdraw"===this.typeParameter?"Withdraw":"Deposit",this.language)),t("div",{key:"cc0aed9136041143f94ecf98fb2f14ef316a75ad",style:{marginTop:this.isShortCashier?"30px":"0"}},this.isMobile&&!this.isShortCashier?t("div",{class:"MenuReturnButton",onClick:this.toggleScreen},t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},t("defs",null),t("g",{transform:"translate(-20 -158)"},t("g",{transform:"translate(20 158)"},t("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)"})))),t("h2",{class:"CategoryTitleMobile"},a("Withdraw"===this.typeParameter?"Withdraw":"Deposit",this.language))):null),this.cashierInfoUrl?t("iframe",{width:"100%",height:this.dynamicHeight,src:this.cashierInfoUrl}):t("h3",{innerHTML:a("deposit"===this.type?"denyDeposit":"denyWithdrawal",this.language),class:"ErrorMessage"}))))}async loadWidget(){if(!this.endpoint)return;const e={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 t=`${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`,r=await fetch(t,{method:"POST",headers:{"X-Sessionid":this.session,"Content-Type":"application/json","X-Client-Request-Timestamp":u.utc().format("YYYY-MM-DD HH:mm:ss.SSS")},body:JSON.stringify(e)});if(!r.ok){const e=await r.text();throw new Error(e)}const i=await r.json();if(i.CashierInfo)this.cashierInfoUrl=i.CashierInfo.Url;else{let e;if(i.ResponseMessage){let t=this.errorCodes.find((e=>i.ResponseMessage.includes(e)))||null;e=a(t?`errorCode${t}`:"notFoundErrorCode",this.language)}else e=a("deposit"===this.type?"denyDeposit":"denyWithdrawal",this.language);window.postMessage({type:"DenyDepositOrWithdrawal",data:{type:"error",message:e}},window.location.href)}}catch(e){console.error(e)}}handleMessage(e){var t,r,i,n,a,o,s,d;"true"===e.data["MMFE:openFullCashier"]&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),e.data["MMFE:setQuickDepositHeight"]&&this.isShortCashier&&(this.dynamicHeight=e.data["MMFE:setQuickDepositHeight"].toString()+"px"),e.data["MMFE:setIFrameHeight"]&&(this.dynamicHeight=e.data["MMFE:setIFrameHeight"].toString()+"px"),"mm-hcback-to-merchant"===(null===(t=e.data)||void 0===t?void 0:t.type)&&this.doRedirect(e.data.type,this.homeUrl),"mm-hc-back-tomerchant"===(null===(r=e.data)||void 0===r?void 0:r.redirect)&&this.doRedirect(e.data.redirect,this.homeUrl),"mm-hc-sports"===(null===(i=e.data)||void 0===i?void 0:i.redirect)&&this.doRedirect(null===(n=e.data)||void 0===n?void 0:n.redirect,this.sportsUrl),"mm-hc-casino"===(null===(a=e.data)||void 0===a?void 0:a.redirect)&&this.doRedirect(window.location.href,this.casinoUrl),"mm-hc-contact"===(null===(o=e.data)||void 0===o?void 0:o.redirect)&&(window.postMessage({type:"CloseShortCashier"},window.location.href),this.doRedirect(window.location.href,this.contactUrl)),"mm-wm-hc-init-deposit"!==(null===(s=e.data)||void 0===s?void 0:s.redirect)&&"mm-wm-hc-init-deposit-quick"!==(null===(d=e.data)||void 0===d?void 0:d.redirect)||(window.postMessage({type:"CloseShortCashier"},window.location.href),this.doRedirect(window.location.href,this.depositUrl))}doRedirect(e,t){const r={reason:e,url:t,cancel:!1};this.beforeRedirect(r),r.cancel||(window.location.href=r.url?r.url:"/")}static get watchers(){return{session:["watchLoadWidget"],userId:["watchLoadWidget"],isShortCashier:["watchLoadWidget"],currency:["watchLoadWidget"],showBonusSelectionInput:["watchLoadWidget"],endpoint:["watchLoadWidget"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};f.style=":host {\n font: inherit;\n display: block;\n height: 100%;\n container-type: inline-size;\n}\n\n.DepositWithdrawalContainer {\n container-type: inline-size;\n container-name: deposit-container;\n}\n\n.CategoryTitle {\n font-size: var(--emw--font-size-x-large, 26px);\n color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));\n}\n\n.MenuReturnButton {\n font: inherit;\n color: var(--emw--color-gray-300, #58586B);\n display: inline-flex;\n align-items: center;\n column-gap: 10px;\n margin-bottom: 10px;\n}\n.MenuReturnButton svg {\n fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));\n}\n.MenuReturnButton h2.CategoryTitleMobile {\n font-size: 16px;\n color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));\n}\n\n.ErrorMessage {\n color: var(--emw--pam-color-typography, var(--emw--color-typography, #FFFFFF));\n}\n\n.DepositWithdrawalWrapper {\n width: 100%;\n margin: 0;\n padding: 50px;\n box-sizing: border-box;\n overflow-y: scroll;\n}\n.DepositWithdrawalWrapper iframe {\n border-width: 0;\n}\n\n.ShortCashier.DepositWithdrawalWrapper {\n height: 500px;\n}\n.ShortCashier.CategoryTitle.CategoryTitle {\n margin-right: 20px;\n padding-top: 20px;\n color: var(--emw--color-black, #000000);\n}\n.ShortCashier .ErrorMessage {\n margin: auto;\n width: 90%;\n margin-top: 70px;\n text-align: center;\n color: var(--emw--color-black, #000000);\n}\n\n@container (max-width: 768px) {\n .DepositWithdrawalWrapper {\n padding: 20px 15px;\n }\n .DepositWithdrawalWrapper:not(.ShortCashier) {\n overflow: visible;\n }\n}";export{f as user_deposit_withdrawal}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as t}from"./index-1ef3a64c.js";export{s as setNonce}from"./index-1ef3a64c.js";import{g as
|
|
1
|
+
import{p as e,b as t}from"./index-1ef3a64c.js";export{s as setNonce}from"./index-1ef3a64c.js";import{g as n}from"./app-globals-0f993ce5.js";(()=>{const t=import.meta.url,n={};return""!==t&&(n.resourcesUrl=new URL(".",t).href),e(n)})().then((async e=>(await n(),t([["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"],endpoint:["watchLoadWidget"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}]]]],e))));
|