@everymatrix/user-deposit-withdrawal 1.87.26 → 1.87.27
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.
|
@@ -128,6 +128,8 @@ const translate = (key, customLang) => {
|
|
|
128
128
|
return TRANSLATIONS[lang !== undefined && SUPPORTED_LANGUAGES.includes(lang) ? lang : DEFAULT_LANGUAGE][key];
|
|
129
129
|
};
|
|
130
130
|
|
|
131
|
+
const StyleCacheKey = '__WIDGET_GLOBAL_STYLE_CACHE__';
|
|
132
|
+
|
|
131
133
|
/**
|
|
132
134
|
* @name setClientStyling
|
|
133
135
|
* @description Method used to create and append to the passed element of the widget a style element with the content received
|
|
@@ -173,18 +175,75 @@ function setClientStylingURL(stylingContainer, clientStylingUrl) {
|
|
|
173
175
|
* @param {HTMLElement} stylingContainer The highest element of the widget
|
|
174
176
|
* @param {string} domain The domain from where the content should be fetched (e.g. 'Casino.Style', 'App.Style', 'casino-footer.style', etc.)
|
|
175
177
|
* @param {ref} subscription A reference to a variable where the subscription should be saved for unsubscribing when no longer needed
|
|
178
|
+
* @param {boolean} useAdoptedStyleSheets A flag to gradually enable testing of adoptedStyleSheets
|
|
176
179
|
*/
|
|
177
|
-
function setStreamStyling(stylingContainer, domain, subscription) {
|
|
178
|
-
if (window.emMessageBus)
|
|
179
|
-
const sheet = document.createElement('style');
|
|
180
|
+
function setStreamStyling(stylingContainer, domain, subscription, useAdoptedStyleSheets = false) {
|
|
181
|
+
if (!window.emMessageBus) return;
|
|
180
182
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
183
|
+
const supportAdoptStyle = 'adoptedStyleSheets' in Document.prototype;
|
|
184
|
+
|
|
185
|
+
if (!supportAdoptStyle || !useAdoptedStyleSheets) {
|
|
186
|
+
subscription = getStyleTagSubscription(stylingContainer, domain);
|
|
187
|
+
|
|
188
|
+
return subscription;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
if (!window[StyleCacheKey]) {
|
|
192
|
+
window[StyleCacheKey] = {};
|
|
187
193
|
}
|
|
194
|
+
subscription = getAdoptStyleSubscription(stylingContainer, domain);
|
|
195
|
+
|
|
196
|
+
const originalUnsubscribe = subscription.unsubscribe.bind(subscription);
|
|
197
|
+
const wrappedUnsubscribe = () => {
|
|
198
|
+
if (window[StyleCacheKey][domain]) {
|
|
199
|
+
const cachedObject = window[StyleCacheKey][domain];
|
|
200
|
+
cachedObject.refCount > 1
|
|
201
|
+
? (cachedObject.refCount = cachedObject.refCount - 1)
|
|
202
|
+
: delete window[StyleCacheKey][domain];
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
originalUnsubscribe();
|
|
206
|
+
};
|
|
207
|
+
subscription.unsubscribe = wrappedUnsubscribe;
|
|
208
|
+
|
|
209
|
+
return subscription;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
function getStyleTagSubscription(stylingContainer, domain) {
|
|
213
|
+
const sheet = document.createElement('style');
|
|
214
|
+
|
|
215
|
+
return window.emMessageBus.subscribe(domain, (data) => {
|
|
216
|
+
if (stylingContainer) {
|
|
217
|
+
sheet.innerHTML = data;
|
|
218
|
+
stylingContainer.appendChild(sheet);
|
|
219
|
+
}
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
function getAdoptStyleSubscription(stylingContainer, domain) {
|
|
224
|
+
return window.emMessageBus.subscribe(domain, (data) => {
|
|
225
|
+
if (!stylingContainer) return;
|
|
226
|
+
|
|
227
|
+
const shadowRoot = stylingContainer.getRootNode();
|
|
228
|
+
const cacheStyleObject = window[StyleCacheKey];
|
|
229
|
+
let cachedStyle = cacheStyleObject[domain]?.sheet;
|
|
230
|
+
|
|
231
|
+
if (!cachedStyle) {
|
|
232
|
+
cachedStyle = new CSSStyleSheet();
|
|
233
|
+
cachedStyle.replaceSync(data);
|
|
234
|
+
cacheStyleObject[domain] = {
|
|
235
|
+
sheet: cachedStyle,
|
|
236
|
+
refCount: 1
|
|
237
|
+
};
|
|
238
|
+
} else {
|
|
239
|
+
cacheStyleObject[domain].refCount = cacheStyleObject[domain].refCount + 1;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
const currentSheets = shadowRoot.adoptedStyleSheets || [];
|
|
243
|
+
if (!currentSheets.includes(cachedStyle)) {
|
|
244
|
+
shadowRoot.adoptedStyleSheets = [...currentSheets, cachedStyle];
|
|
245
|
+
}
|
|
246
|
+
});
|
|
188
247
|
}
|
|
189
248
|
|
|
190
249
|
/**
|
|
@@ -299,7 +358,7 @@ const UserDepositWithdrawal = class {
|
|
|
299
358
|
componentDidLoad() {
|
|
300
359
|
if (this.stylingContainer) {
|
|
301
360
|
if (window.emMessageBus != undefined) {
|
|
302
|
-
setStreamStyling(this.stylingContainer, `${this.mbSource}.Style
|
|
361
|
+
setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
|
|
303
362
|
}
|
|
304
363
|
else {
|
|
305
364
|
if (this.clientStyling)
|
|
@@ -124,6 +124,8 @@ const translate = (key, customLang) => {
|
|
|
124
124
|
return TRANSLATIONS[lang !== undefined && SUPPORTED_LANGUAGES.includes(lang) ? lang : DEFAULT_LANGUAGE][key];
|
|
125
125
|
};
|
|
126
126
|
|
|
127
|
+
const StyleCacheKey = '__WIDGET_GLOBAL_STYLE_CACHE__';
|
|
128
|
+
|
|
127
129
|
/**
|
|
128
130
|
* @name setClientStyling
|
|
129
131
|
* @description Method used to create and append to the passed element of the widget a style element with the content received
|
|
@@ -169,18 +171,75 @@ function setClientStylingURL(stylingContainer, clientStylingUrl) {
|
|
|
169
171
|
* @param {HTMLElement} stylingContainer The highest element of the widget
|
|
170
172
|
* @param {string} domain The domain from where the content should be fetched (e.g. 'Casino.Style', 'App.Style', 'casino-footer.style', etc.)
|
|
171
173
|
* @param {ref} subscription A reference to a variable where the subscription should be saved for unsubscribing when no longer needed
|
|
174
|
+
* @param {boolean} useAdoptedStyleSheets A flag to gradually enable testing of adoptedStyleSheets
|
|
172
175
|
*/
|
|
173
|
-
function setStreamStyling(stylingContainer, domain, subscription) {
|
|
174
|
-
if (window.emMessageBus)
|
|
175
|
-
const sheet = document.createElement('style');
|
|
176
|
+
function setStreamStyling(stylingContainer, domain, subscription, useAdoptedStyleSheets = false) {
|
|
177
|
+
if (!window.emMessageBus) return;
|
|
176
178
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
179
|
+
const supportAdoptStyle = 'adoptedStyleSheets' in Document.prototype;
|
|
180
|
+
|
|
181
|
+
if (!supportAdoptStyle || !useAdoptedStyleSheets) {
|
|
182
|
+
subscription = getStyleTagSubscription(stylingContainer, domain);
|
|
183
|
+
|
|
184
|
+
return subscription;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
if (!window[StyleCacheKey]) {
|
|
188
|
+
window[StyleCacheKey] = {};
|
|
183
189
|
}
|
|
190
|
+
subscription = getAdoptStyleSubscription(stylingContainer, domain);
|
|
191
|
+
|
|
192
|
+
const originalUnsubscribe = subscription.unsubscribe.bind(subscription);
|
|
193
|
+
const wrappedUnsubscribe = () => {
|
|
194
|
+
if (window[StyleCacheKey][domain]) {
|
|
195
|
+
const cachedObject = window[StyleCacheKey][domain];
|
|
196
|
+
cachedObject.refCount > 1
|
|
197
|
+
? (cachedObject.refCount = cachedObject.refCount - 1)
|
|
198
|
+
: delete window[StyleCacheKey][domain];
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
originalUnsubscribe();
|
|
202
|
+
};
|
|
203
|
+
subscription.unsubscribe = wrappedUnsubscribe;
|
|
204
|
+
|
|
205
|
+
return subscription;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
function getStyleTagSubscription(stylingContainer, domain) {
|
|
209
|
+
const sheet = document.createElement('style');
|
|
210
|
+
|
|
211
|
+
return window.emMessageBus.subscribe(domain, (data) => {
|
|
212
|
+
if (stylingContainer) {
|
|
213
|
+
sheet.innerHTML = data;
|
|
214
|
+
stylingContainer.appendChild(sheet);
|
|
215
|
+
}
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
function getAdoptStyleSubscription(stylingContainer, domain) {
|
|
220
|
+
return window.emMessageBus.subscribe(domain, (data) => {
|
|
221
|
+
if (!stylingContainer) return;
|
|
222
|
+
|
|
223
|
+
const shadowRoot = stylingContainer.getRootNode();
|
|
224
|
+
const cacheStyleObject = window[StyleCacheKey];
|
|
225
|
+
let cachedStyle = cacheStyleObject[domain]?.sheet;
|
|
226
|
+
|
|
227
|
+
if (!cachedStyle) {
|
|
228
|
+
cachedStyle = new CSSStyleSheet();
|
|
229
|
+
cachedStyle.replaceSync(data);
|
|
230
|
+
cacheStyleObject[domain] = {
|
|
231
|
+
sheet: cachedStyle,
|
|
232
|
+
refCount: 1
|
|
233
|
+
};
|
|
234
|
+
} else {
|
|
235
|
+
cacheStyleObject[domain].refCount = cacheStyleObject[domain].refCount + 1;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
const currentSheets = shadowRoot.adoptedStyleSheets || [];
|
|
239
|
+
if (!currentSheets.includes(cachedStyle)) {
|
|
240
|
+
shadowRoot.adoptedStyleSheets = [...currentSheets, cachedStyle];
|
|
241
|
+
}
|
|
242
|
+
});
|
|
184
243
|
}
|
|
185
244
|
|
|
186
245
|
/**
|
|
@@ -295,7 +354,7 @@ const UserDepositWithdrawal = class {
|
|
|
295
354
|
componentDidLoad() {
|
|
296
355
|
if (this.stylingContainer) {
|
|
297
356
|
if (window.emMessageBus != undefined) {
|
|
298
|
-
setStreamStyling(this.stylingContainer, `${this.mbSource}.Style
|
|
357
|
+
setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
|
|
299
358
|
}
|
|
300
359
|
else {
|
|
301
360
|
if (this.clientStyling)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,H as r}from"./index-1ef3a64c.js";const n=["ro","en","fr","hr","en-us","es-mx","pt-br","es","de","pt","tr"],i={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 i[void 0!==r&&n.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){if(!e||!t)return;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",n="second",i="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 n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},y={s:w,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),i=r%60;return(t<=0?"+":"-")+w(n,2,"0")+":"+w(i,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),i=t.clone().add(n,d),a=r-i<0,o=t.clone().add(n+(a?-1:1),d);return+(-(n+(r-i)/(a?i-o:o-i))||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:i,s:n,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,n){var i;if(!t)return v;if("string"==typeof t){var a=t.toLowerCase();g[a]&&(i=a),r&&(g[a]=r,i=a);var o=t.split("-");if(!i&&o.length>1)return e(o[0])}else{var s=t.name;g[s]=t,i=s}return!n&&i&&(v=i),i||!n&&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 n=t.match(m);if(n){var i=n[2]-1||0,a=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[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 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 n=M.w(r.$u?Date.UTC(r.$y,t,e):new Date(r.$y,t,e),r);return u?n:n.endOf(o)},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 o:case c:return p(v+"Hours",0);case a:return p(v+"Minutes",1);case i:return p(v+"Seconds",2);case n: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[o]=l+"Date",s[c]=l+"Date",s[d]=l+"Month",s[h]=l+"FullYear",s[a]=l+"Hours",s[i]=l+"Minutes",s[n]=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[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===o)return p(1);if(m===s)return p(7);var f=(c={},c[i]=e,c[a]=t,c[n]=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 n=e||"YYYY-MM-DDTHH:mm:ssZ",i=M.z(this),a=this.$H,o=this.$m,s=this.$M,d=r.weekdays,u=r.months,h=function(e,r,i,a){return e&&(e[r]||e(t,n))||i[r].slice(0,a)},c=function(e){return M.s(a%12||12,e,"0")},m=r.meridiem||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(p,(function(e,n){return n||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(a);case"HH":return M.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 M.s(o,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 i}return null}(e)||i.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 o:m=(v-y)/864e5;break;case a:m=v/t;break;case i:m=v/e;break;case n: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(),n=D(e,t,!0);return n&&(r.$L=n),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",n],["$m",i],["$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,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 n=t.prototype;r.utc=function(e){return new t({date:e,utc:!0,args:arguments})},n.utc=function(e){var t=r(this.toDate(),{locale:this.$L,utc:!0});return e?t.add(this.utcOffset(),h):t},n.local=function(){return r(this.toDate(),{locale:this.$L,utc:!1})};var i=n.parse;n.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),i.call(this,e)};var a=n.init;n.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=n.utcOffset;n.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],n=60*+r[1]+ +r[2];return 0===n?0:"+"===r[0]?n:-n}(e),null===e))return this;var n=Math.abs(e)<=16?60*e:e,i=this;if(t)return i.$offset=n,i.$u=0===e,i;if(0!==e){var a=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(i=this.local().add(n+a,h)).$offset=n,i.$x.$localOffset=a}else i=this.utc();return i};var s=n.format;n.format=function(e){return s.call(this,e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":""))},n.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},n.isUTC=function(){return!!this.$u},n.toISOString=function(){return this.toDate().toISOString()},n.toString=function(){return this.toDate().toUTCString()};var d=n.toDate;n.toDate=function(e){return"s"===e&&this.$offset?r(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var u=n.diff;n.diff=function(e,t,n){if(e&&this.$u===e.$u)return u.call(this,e,t,n);var i=this.local(),a=r(e).local();return u.call(i,a,t,n)}}),u.extend(m.exports);const p=["mm-hcback-to-merchant","mm-hc-back-tomerchant","mm-hc-sports","mm-hc-casino","mm-hc-contact","mm-wm-hc-init-deposit","mm-wm-hc-init-deposit-quick"],f=()=>{},w=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="",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=f,this.forwardCashierRedirects=!1,this.dynamicHeight=void 0,this.cashierInfoUrl=void 0}get typeParameter(){return"deposit"===this.type?"Deposit":"withdraw"===this.type?"Withdraw":void 0}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])i[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:"46153b61097691f3a3b2da29aa260edf0688f01c"},t("div",{key:"0082deaaf9c6348cff4010ec8b1f58e5ea26e99b",ref:e=>this.stylingContainer=e,class:""},t("div",{key:"8aec364ea2134d01c2b29fc75136cad08fd5d965",class:"DepositWithdrawalWrapper "+(this.isShortCashier?"ShortCashier":"")},!(this.isMobile&&!this.isShortCashier)&&t("h2",{key:"4b0184e2354199332c8438b4430c047982364dff",class:"CategoryTitle"},a("Withdraw"===this.typeParameter?"Withdraw":"Deposit",this.language)),t("div",{key:"49c9dbda82eb6576bc11375371f4359ba0b0285d",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%",allow:"payment",height:this.dynamicHeight,src:this.cashierInfoUrl}):t("h3",{innerHTML:a("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};if(!Object.values(e).some((e=>void 0===e))&&this.endpoint)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 n=await r.json();if(n.CashierInfo)this.cashierInfoUrl=n.CashierInfo.Url;else{let e;if(n.ResponseMessage){let t=this.errorCodes.find((e=>n.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){const t=this.extractPayload(e);if(!t)return;this.applyLayoutHints(t);const r=this.extractCashierRedirectReason(t);if(!r)return;if(this.emitForwardedRedirect(e,r))return;const n=this.resolveRedirectPlan(r);n&&this.doRedirect(n.reason,n.targetUrl)}extractCashierRedirectReason(e){return"string"==typeof(null==e?void 0:e.type)&&p.includes(e.type)?e.type:"string"==typeof(null==e?void 0:e.redirect)&&p.includes(e.redirect)?e.redirect:void 0}extractPayload(e){if((null==e?void 0:e.data)&&"object"==typeof e.data)return e.data}applyLayoutHints(e){"true"===e["MMFE:openFullCashier"]&&(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")}resolveRedirectPlan(e){switch(e){case"mm-hcback-to-merchant":case"mm-hc-back-tomerchant":return this.buildRedirectPlan(e,this.homeUrl);case"mm-hc-sports":return this.buildRedirectPlan(e,this.sportsUrl);case"mm-hc-casino":return this.buildRedirectPlan(window.location.href,this.casinoUrl);case"mm-hc-contact":return window.postMessage({type:"CloseShortCashier"},window.location.href),this.buildRedirectPlan(window.location.href,this.contactUrl);case"mm-wm-hc-init-deposit":case"mm-wm-hc-init-deposit-quick":return window.postMessage({type:"CloseShortCashier"},window.location.href),this.buildRedirectPlan(window.location.href,this.depositUrl);default:return}}buildRedirectPlan(e,t){if(t)return{reason:e,targetUrl:t}}emitForwardedRedirect(e,t){return!!this.forwardCashierRedirects&&(window.postMessage({type:`user-deposit-withdrawal:${t}`,originalType:t,payload:e.data,origin:e.origin},window.location.href),!0)}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{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};w.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{w as user_deposit_withdrawal}
|
|
1
|
+
import{r as e,h as t,H as r}from"./index-1ef3a64c.js";const n=["ro","en","fr","hr","en-us","es-mx","pt-br","es","de","pt","tr"],i={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 i[void 0!==r&&n.includes(r)?r:"en"][e]},a="__WIDGET_GLOBAL_STYLE_CACHE__";function s(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function d(e,t){if(!e||!t)return;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 u={exports:{}};u.exports=function(){var e=6e4,t=36e5,r="millisecond",n="second",i="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 n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},y={s:w,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),i=r%60;return(t<=0?"+":"-")+w(n,2,"0")+":"+w(i,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),i=t.clone().add(n,d),o=r-i<0,a=t.clone().add(n+(o?-1:1),d);return+(-(n+(r-i)/(o?i-a:a-i))||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:i,s:n,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,n){var i;if(!t)return v;if("string"==typeof t){var o=t.toLowerCase();g[o]&&(i=o),r&&(g[o]=r,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var s=t.name;g[s]=t,i=s}return!n&&i&&(v=i),i||!n&&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 n=t.match(m);if(n){var i=n[2]-1||0,o=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[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 n=M.w(r.$u?Date.UTC(r.$y,t,e):new Date(r.$y,t,e),r);return u?n:n.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 i:return p(v+"Seconds",2);case n: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[i]=l+"Minutes",s[n]=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[i]=e,c[o]=t,c[n]=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 n=e||"YYYY-MM-DDTHH:mm:ssZ",i=M.z(this),o=this.$H,a=this.$m,s=this.$M,d=r.weekdays,u=r.months,h=function(e,r,i,o){return e&&(e[r]||e(t,n))||i[r].slice(0,o)},c=function(e){return M.s(o%12||12,e,"0")},m=r.meridiem||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(p,(function(e,n){return n||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 i}return null}(e)||i.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 i:m=v/e;break;case n: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(),n=D(e,t,!0);return n&&(r.$L=n),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",n],["$m",i],["$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 h=u.exports;var c,l,m,p={exports:{}};p.exports=(c="minute",l=/[+-]\d\d(?::?\d\d)?/g,m=/([+-]|\d\d)/g,function(e,t,r){var n=t.prototype;r.utc=function(e){return new t({date:e,utc:!0,args:arguments})},n.utc=function(e){var t=r(this.toDate(),{locale:this.$L,utc:!0});return e?t.add(this.utcOffset(),c):t},n.local=function(){return r(this.toDate(),{locale:this.$L,utc:!1})};var i=n.parse;n.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),i.call(this,e)};var o=n.init;n.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=n.utcOffset;n.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(l);if(!t)return null;var r=(""+t[0]).match(m)||["-",0,0],n=60*+r[1]+ +r[2];return 0===n?0:"+"===r[0]?n:-n}(e),null===e))return this;var n=Math.abs(e)<=16?60*e:e,i=this;if(t)return i.$offset=n,i.$u=0===e,i;if(0!==e){var o=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(i=this.local().add(n+o,c)).$offset=n,i.$x.$localOffset=o}else i=this.utc();return i};var s=n.format;n.format=function(e){return s.call(this,e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":""))},n.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},n.isUTC=function(){return!!this.$u},n.toISOString=function(){return this.toDate().toISOString()},n.toString=function(){return this.toDate().toUTCString()};var d=n.toDate;n.toDate=function(e){return"s"===e&&this.$offset?r(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var u=n.diff;n.diff=function(e,t,n){if(e&&this.$u===e.$u)return u.call(this,e,t,n);var i=this.local(),o=r(e).local();return u.call(i,o,t,n)}}),h.extend(p.exports);const f=["mm-hcback-to-merchant","mm-hc-back-tomerchant","mm-hc-sports","mm-hc-casino","mm-hc-contact","mm-wm-hc-init-deposit","mm-wm-hc-init-deposit-quick"],w=()=>{},y=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="",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=w,this.forwardCashierRedirects=!1,this.dynamicHeight=void 0,this.cashierInfoUrl=void 0}get typeParameter(){return"deposit"===this.type?"Deposit":"withdraw"===this.type?"Withdraw":void 0}handleClientStylingChange(e,t){e!=t&&s(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,t){e!=t&&this.clientStylingUrl&&d(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])i[t][r]=e[t][r]})),t(!0)}))}));var e}componentDidLoad(){this.stylingContainer&&(null!=window.emMessageBus?function(e,t,r,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return function(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,(t=>{e&&(r.innerHTML=t,e.appendChild(r))}))}(e,t);window[a]||(window[a]={});const i=(r=function(e,t){return window.emMessageBus.subscribe(t,(r=>{if(!e)return;const n=e.getRootNode(),i=window[a];let o=i[t]?.sheet;o?i[t].refCount=i[t].refCount+1:(o=new CSSStyleSheet,o.replaceSync(r),i[t]={sheet:o,refCount:1});const s=n.adoptedStyleSheets||[];s.includes(o)||(n.adoptedStyleSheets=[...s,o])}))}(e,t)).unsubscribe.bind(r);r.unsubscribe=()=>{if(window[a][t]){const e=window[a][t];e.refCount>1?e.refCount=e.refCount-1:delete window[a][t]}i()}}(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription):(this.clientStyling&&s(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&d(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:"46153b61097691f3a3b2da29aa260edf0688f01c"},t("div",{key:"0082deaaf9c6348cff4010ec8b1f58e5ea26e99b",ref:e=>this.stylingContainer=e,class:""},t("div",{key:"8aec364ea2134d01c2b29fc75136cad08fd5d965",class:"DepositWithdrawalWrapper "+(this.isShortCashier?"ShortCashier":"")},!(this.isMobile&&!this.isShortCashier)&&t("h2",{key:"4b0184e2354199332c8438b4430c047982364dff",class:"CategoryTitle"},o("Withdraw"===this.typeParameter?"Withdraw":"Deposit",this.language)),t("div",{key:"49c9dbda82eb6576bc11375371f4359ba0b0285d",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"},o("Withdraw"===this.typeParameter?"Withdraw":"Deposit",this.language))):null),this.cashierInfoUrl?t("iframe",{width:"100%",allow:"payment",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};if(!Object.values(e).some((e=>void 0===e))&&this.endpoint)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":h.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 n=await r.json();if(n.CashierInfo)this.cashierInfoUrl=n.CashierInfo.Url;else{let e;if(n.ResponseMessage){let t=this.errorCodes.find((e=>n.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){const t=this.extractPayload(e);if(!t)return;this.applyLayoutHints(t);const r=this.extractCashierRedirectReason(t);if(!r)return;if(this.emitForwardedRedirect(e,r))return;const n=this.resolveRedirectPlan(r);n&&this.doRedirect(n.reason,n.targetUrl)}extractCashierRedirectReason(e){return"string"==typeof(null==e?void 0:e.type)&&f.includes(e.type)?e.type:"string"==typeof(null==e?void 0:e.redirect)&&f.includes(e.redirect)?e.redirect:void 0}extractPayload(e){if((null==e?void 0:e.data)&&"object"==typeof e.data)return e.data}applyLayoutHints(e){"true"===e["MMFE:openFullCashier"]&&(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")}resolveRedirectPlan(e){switch(e){case"mm-hcback-to-merchant":case"mm-hc-back-tomerchant":return this.buildRedirectPlan(e,this.homeUrl);case"mm-hc-sports":return this.buildRedirectPlan(e,this.sportsUrl);case"mm-hc-casino":return this.buildRedirectPlan(window.location.href,this.casinoUrl);case"mm-hc-contact":return window.postMessage({type:"CloseShortCashier"},window.location.href),this.buildRedirectPlan(window.location.href,this.contactUrl);case"mm-wm-hc-init-deposit":case"mm-wm-hc-init-deposit-quick":return window.postMessage({type:"CloseShortCashier"},window.location.href),this.buildRedirectPlan(window.location.href,this.depositUrl);default:return}}buildRedirectPlan(e,t){if(t)return{reason:e,targetUrl:t}}emitForwardedRedirect(e,t){return!!this.forwardCashierRedirects&&(window.postMessage({type:`user-deposit-withdrawal:${t}`,originalType:t,payload:e.data,origin:e.origin},window.location.href),!0)}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{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};y.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{y as user_deposit_withdrawal}
|