@everymatrix/cashier-receipt-page 1.94.35 → 1.94.36
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/components/{CashierError-DLekaATi.js → CashierError-CErMSMh7.js} +9 -6
- package/components/{CashierError-DuFzk_Xf.js → CashierError-DGhKCEVa.js} +9 -6
- package/components/CashierError-DMbIT0wg.cjs +1 -0
- package/components/{CashierReceiptPage-DlBrkz-Z.js → CashierReceiptPage-BRBwRG-H.js} +1 -1
- package/components/{CashierReceiptPage-Bhmyqokv.js → CashierReceiptPage-D6VJqYHu.js} +1 -1
- package/components/{CashierReceiptPage--dqgGQ-S.cjs → CashierReceiptPage-qxxO48fW.cjs} +1 -1
- package/es2015/cashier-receipt-page.cjs +1 -1
- package/es2015/cashier-receipt-page.js +1 -1
- package/esnext/cashier-receipt-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierError-BSJEEtKz.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var S = (i, e, t) => new Promise((r, o) => {
|
|
2
2
|
var a = (d) => {
|
|
3
3
|
try {
|
|
4
4
|
l(t.next(d));
|
|
@@ -14,7 +14,7 @@ var R = (i, e, t) => new Promise((r, o) => {
|
|
|
14
14
|
}, l = (d) => d.done ? r(d.value) : Promise.resolve(d.value).then(a, n);
|
|
15
15
|
l((t = t.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { a as ee, i as te, $ as ie, S as ne, b as ae, s as re, f as T, c as oe, d as M, e as h, t as A, g as P, u as W, h as x, j as O, k as v, l as k, m as b, n as L, o as E, p as se, q as le, r as B, v as D, w as I, x as ue, y as de, z as N, A as V, B as ce, C as me, D as fe, E as pe, F as ye } from "./CashierReceiptPage-
|
|
17
|
+
import { a as ee, i as te, $ as ie, S as ne, b as ae, s as re, f as T, c as oe, d as M, e as h, t as A, g as P, u as W, h as x, j as O, k as v, l as k, m as b, n as L, o as E, p as se, q as le, r as B, v as D, w as I, x as ue, y as de, z as N, A as V, B as ce, C as me, D as fe, E as pe, F as ye } from "./CashierReceiptPage-D6VJqYHu.js";
|
|
18
18
|
import "../stencil/ui-image-CP8Lp7fB.js";
|
|
19
19
|
function q(i, e) {
|
|
20
20
|
ee(i, e);
|
|
@@ -59,6 +59,7 @@ const F = {
|
|
|
59
59
|
FraudSuspectedError: "We apologise, but we are unable to process your transaction at this time, please try later or contact Customer Support for further assistance. Error Code 22020",
|
|
60
60
|
OnlyOnePendingTransactionPerUserlsAllowed: "Only one pending transaction per user is allowed",
|
|
61
61
|
TransactionFrequencyLimitReached: "Transaction frequency limit reached",
|
|
62
|
+
DailyTransactionFrequencyLimitReached: "The transaction cannot be performed at the moment, please try again later.",
|
|
62
63
|
NotMappedVendorError: "Your balance is insufficient or you may have reached your transaction limit. Please contact your Telecommunication service provider",
|
|
63
64
|
LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED: "Your balance is insufficient or you may have reached your transaction limit. Please contact your Telecommunication service provider",
|
|
64
65
|
CumulativeLimitExceeded: "Monetary limit exceeded",
|
|
@@ -111,6 +112,7 @@ const F = {
|
|
|
111
112
|
FraudSuspectedError: "Üzgünüz, ancak işleminizi şu anda gerçekleştiremiyoruz. Lütfen daha sonra tekrar deneyin veya daha fazla yardım için Müşteri Desteği ile iletişime geçin. Hata Kodu 22020.",
|
|
112
113
|
OnlyOnePendingTransactionPerUserlsAllowed: "Devam eden bir talebiniz olduğu için șu anda yeni bir işlem başlatılamaz.",
|
|
113
114
|
TransactionFrequencyLimitReached: "İşlem sıklığı limiti aşıldı",
|
|
115
|
+
DailyTransactionFrequencyLimitReached: "Şu an işlem gerçekleştirilemiyor, lütfen daha sonra tekrar deneyiniz.",
|
|
114
116
|
NotMappedVendorError: "Bakiyeniz yetersiz veya işlem limitinize ulaşmış olabilirsiniz. Lütfen Telekom servis sağlayıcınızla iletişime geçin",
|
|
115
117
|
LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED: "Bakiyeniz yetersiz veya işlem limitinize ulaşmış olabilirsiniz. Lütfen Telekom servis sağlayıcınızla iletişime geçin",
|
|
116
118
|
CumulativeLimitExceeded: "Parasal limit aşıldı",
|
|
@@ -162,6 +164,7 @@ const F = {
|
|
|
162
164
|
FraudSuspectedError: "Nous sommes désolés, mais nous ne pouvons pas traiter votre transaction pour le moment. Veuillez réessayer plus tard ou contacter le service client pour obtenir de l’aide. Code d’erreur 22020",
|
|
163
165
|
OnlyOnePendingTransactionPerUserlsAllowed: "Une seule transaction en attente par utilisateur est autorisée",
|
|
164
166
|
TransactionFrequencyLimitReached: "Limite de fréquence des transactions atteinte",
|
|
167
|
+
DailyTransactionFrequencyLimitReached: "La transaction ne peut pas être effectuée pour le moment, veuillez réessayer plus tard.",
|
|
165
168
|
NotMappedVendorError: "Votre solde est insuffisant ou vous avez peut-être atteint votre limite de transaction. Veuillez contacter votre fournisseur de services de télécommunication",
|
|
166
169
|
LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED: "Votre solde est insuffisant ou vous avez peut-être atteint votre limite de transaction. Veuillez contacter votre fournisseur de services de télécommunication",
|
|
167
170
|
CumulativeLimitExceeded: "Limite monétaire dépassée",
|
|
@@ -523,7 +526,7 @@ function De(i, e, t) {
|
|
|
523
526
|
let { $$slots: o = {}, $$scope: a } = e, { assetsurl: n = "" } = e, { lang: l = "en" } = e, { errorcode: d = "" } = e, { clientstyling: c = "" } = e, { clientstylingurl: _ = "" } = e, { translationurl: f = "" } = e, { mbsource: z = "" } = e, p, y, w = -1, C;
|
|
524
527
|
const g = () => {
|
|
525
528
|
ge(l);
|
|
526
|
-
}, s = () =>
|
|
529
|
+
}, s = () => S(this, null, function* () {
|
|
527
530
|
if (f)
|
|
528
531
|
try {
|
|
529
532
|
const u = yield fetch(f);
|
|
@@ -542,7 +545,7 @@ function De(i, e, t) {
|
|
|
542
545
|
});
|
|
543
546
|
const m = () => {
|
|
544
547
|
window.postMessage({ type: "ErrorClose" }, window.location.href);
|
|
545
|
-
},
|
|
548
|
+
}, R = (u) => {
|
|
546
549
|
if (u.data)
|
|
547
550
|
switch (u.data.type) {
|
|
548
551
|
case "DepositWageringAmount":
|
|
@@ -550,8 +553,8 @@ function De(i, e, t) {
|
|
|
550
553
|
break;
|
|
551
554
|
}
|
|
552
555
|
};
|
|
553
|
-
le(() => (window.addEventListener("message",
|
|
554
|
-
window.removeEventListener("message",
|
|
556
|
+
le(() => (window.addEventListener("message", R, !1), () => {
|
|
557
|
+
window.removeEventListener("message", R);
|
|
555
558
|
}));
|
|
556
559
|
function X(u) {
|
|
557
560
|
de[u ? "unshift" : "push"](() => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as $, i as ee, $ as te, S as ie, b as ne, f as T, s as ae, c as re, d as oe, e as M, g as h, t as A, h as P, u as W, j as x, k as O, l as v, m as k, n as b, o as L, p as E, q as se, r as le, v as B, w as D, x as I, y as ue, z as de, A as
|
|
1
|
+
import { a as $, i as ee, $ as te, S as ie, b as ne, f as T, s as ae, c as re, d as oe, e as M, g as h, t as A, h as P, u as W, j as x, k as O, l as v, m as k, n as b, o as L, p as E, q as se, r as le, v as B, w as D, x as I, y as ue, z as de, A as S, B as V, C as ce, D as me, E as fe, F as pe } from "./CashierReceiptPage-BRBwRG-H.js";
|
|
2
2
|
import "../stencil/ui-image-Ch-GHki1.js";
|
|
3
3
|
function N(i, e) {
|
|
4
4
|
$(i, e);
|
|
@@ -43,6 +43,7 @@ const q = {
|
|
|
43
43
|
FraudSuspectedError: "We apologise, but we are unable to process your transaction at this time, please try later or contact Customer Support for further assistance. Error Code 22020",
|
|
44
44
|
OnlyOnePendingTransactionPerUserlsAllowed: "Only one pending transaction per user is allowed",
|
|
45
45
|
TransactionFrequencyLimitReached: "Transaction frequency limit reached",
|
|
46
|
+
DailyTransactionFrequencyLimitReached: "The transaction cannot be performed at the moment, please try again later.",
|
|
46
47
|
NotMappedVendorError: "Your balance is insufficient or you may have reached your transaction limit. Please contact your Telecommunication service provider",
|
|
47
48
|
LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED: "Your balance is insufficient or you may have reached your transaction limit. Please contact your Telecommunication service provider",
|
|
48
49
|
CumulativeLimitExceeded: "Monetary limit exceeded",
|
|
@@ -95,6 +96,7 @@ const q = {
|
|
|
95
96
|
FraudSuspectedError: "Üzgünüz, ancak işleminizi şu anda gerçekleştiremiyoruz. Lütfen daha sonra tekrar deneyin veya daha fazla yardım için Müşteri Desteği ile iletişime geçin. Hata Kodu 22020.",
|
|
96
97
|
OnlyOnePendingTransactionPerUserlsAllowed: "Devam eden bir talebiniz olduğu için șu anda yeni bir işlem başlatılamaz.",
|
|
97
98
|
TransactionFrequencyLimitReached: "İşlem sıklığı limiti aşıldı",
|
|
99
|
+
DailyTransactionFrequencyLimitReached: "Şu an işlem gerçekleştirilemiyor, lütfen daha sonra tekrar deneyiniz.",
|
|
98
100
|
NotMappedVendorError: "Bakiyeniz yetersiz veya işlem limitinize ulaşmış olabilirsiniz. Lütfen Telekom servis sağlayıcınızla iletişime geçin",
|
|
99
101
|
LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED: "Bakiyeniz yetersiz veya işlem limitinize ulaşmış olabilirsiniz. Lütfen Telekom servis sağlayıcınızla iletişime geçin",
|
|
100
102
|
CumulativeLimitExceeded: "Parasal limit aşıldı",
|
|
@@ -146,6 +148,7 @@ const q = {
|
|
|
146
148
|
FraudSuspectedError: "Nous sommes désolés, mais nous ne pouvons pas traiter votre transaction pour le moment. Veuillez réessayer plus tard ou contacter le service client pour obtenir de l’aide. Code d’erreur 22020",
|
|
147
149
|
OnlyOnePendingTransactionPerUserlsAllowed: "Une seule transaction en attente par utilisateur est autorisée",
|
|
148
150
|
TransactionFrequencyLimitReached: "Limite de fréquence des transactions atteinte",
|
|
151
|
+
DailyTransactionFrequencyLimitReached: "La transaction ne peut pas être effectuée pour le moment, veuillez réessayer plus tard.",
|
|
149
152
|
NotMappedVendorError: "Votre solde est insuffisant ou vous avez peut-être atteint votre limite de transaction. Veuillez contacter votre fournisseur de services de télécommunication",
|
|
150
153
|
LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED: "Votre solde est insuffisant ou vous avez peut-être atteint votre limite de transaction. Veuillez contacter votre fournisseur de services de télécommunication",
|
|
151
154
|
CumulativeLimitExceeded: "Limite monétaire dépassée",
|
|
@@ -169,7 +172,7 @@ function G(i) {
|
|
|
169
172
|
let e, t;
|
|
170
173
|
return {
|
|
171
174
|
c() {
|
|
172
|
-
e = b("ui-image"),
|
|
175
|
+
e = b("ui-image"), S(e.src, t = `${/*assetsurl*/
|
|
173
176
|
i[0]}/error-general-icon.png`) || V(e, "src", t), V(e, "width", "300px"), V(e, "alt", "error");
|
|
174
177
|
},
|
|
175
178
|
m(r, o) {
|
|
@@ -177,7 +180,7 @@ function G(i) {
|
|
|
177
180
|
},
|
|
178
181
|
p(r, o) {
|
|
179
182
|
o & /*assetsurl*/
|
|
180
|
-
1 && !
|
|
183
|
+
1 && !S(e.src, t = `${/*assetsurl*/
|
|
181
184
|
r[0]}/error-general-icon.png`) && V(e, "src", t);
|
|
182
185
|
},
|
|
183
186
|
d(r) {
|
|
@@ -526,7 +529,7 @@ function Le(i, e, t) {
|
|
|
526
529
|
});
|
|
527
530
|
const c = () => {
|
|
528
531
|
window.postMessage({ type: "ErrorClose" }, window.location.href);
|
|
529
|
-
},
|
|
532
|
+
}, R = (l) => {
|
|
530
533
|
if (l.data)
|
|
531
534
|
switch (l.data.type) {
|
|
532
535
|
case "DepositWageringAmount":
|
|
@@ -534,8 +537,8 @@ function Le(i, e, t) {
|
|
|
534
537
|
break;
|
|
535
538
|
}
|
|
536
539
|
};
|
|
537
|
-
le(() => (window.addEventListener("message",
|
|
538
|
-
window.removeEventListener("message",
|
|
540
|
+
le(() => (window.addEventListener("message", R, !1), () => {
|
|
541
|
+
window.removeEventListener("message", R);
|
|
539
542
|
}));
|
|
540
543
|
function J(l) {
|
|
541
544
|
de[l ? "unshift" : "push"](() => {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var T=(n,t,i)=>new Promise((o,s)=>{var r=c=>{try{u(i.next(c))}catch(m){s(m)}},a=c=>{try{u(i.throw(c))}catch(m){s(m)}},u=c=>c.done?o(c.value):Promise.resolve(c.value).then(r,a);u((i=i.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierReceiptPage-qxxO48fW.cjs");require("../stencil/ui-image-BX-FBhad.cjs");function C(n,t){e.addMessages(n,t)}function S(n){e.init({fallbackLocale:"en"}),e.$locale.set(n)}const E={en:{VendorMicroserviceCommunicationError:"We apologise, but your payment provider has declined to process due to a microservice communication error. Please try again later.",CustomerDocumentIdMissing:"The document ID is missing",InvalidTransactionStatus:"The transaction status is invalid",UndefinedTechnicalError:"Something went wrong",errorGeneralTitle:"Error Occurred",errorGeneralText:"Something went wrong",errorGeneralButton:"CLOSE",PlayerSessionIsNotValid:"Player session is not valid",VendorCommunicationError:"We apologise, but your payment provider has declined to process due to a technical error. Please try later or contact your payment solution provider for further assistance. Error Code 21297",PaymentMethodNotAllowed:"We apologise, but this payment method is unavailable at this time, please contact Customer Support for further assistance. Error Code 11402",InvalidPaymentDetails:"We apologise, but you payment details are not valid. Please make sure you entered all payment details correctly and try again or contact Customer Support for further assistance. Error Code 13555",MerchantUserHasWithdrawBlockRole:"Dear Player! Please be informed that currently you are not allowed to initiate withdrawal transactions from your player account. Error Code: 21122",MerchantUserHasDepositBlockRole:"Dear Player! Please be informed that currently you are not allowed to initiate deposit transactions from your player account. Error Code: 21123",JwtTokenError:"IDX12741: JWT must have three segments (JWS) or five segments (JWE).",TransactionIsBlockedDueToNotCompletedKyc:"We apologise, but we cannot process the transaction because you haven't completed KYC. Please verify your identity or contact Customer Support for further assistance. Error Code 23601",InsufficientCasinoFunds:" Your withdrawal is over your available balance. Please check your available balance to adjust your withdrawal amount",DepositWageringLimit:"Attention! Your winnings balance has less than the amount you want to withdraw.",DepositWageringFetching:"Data fetching",DepositWageringLimitText:"Deposit wagering: ",AmountMinLimitExceeded:"Amount is smaller than PaymentMethod minimum limit",AmountMaxLimitExceeded:"Amount is bigger than PaymentMethod maximum limit",AmountIsMissing:"Amount is missing",MaxCustomerTransactionsCountReached:"Looks like you have reached the frequency limit of the transaction attempts per minute. The server is taking too long to respond. Please wait a bit and try again in a while",VendorTimeoutError:"Looks like the payment vendor has some issues. The server is taking too long to respond. Please wait a bit and try again in a while. Error Code 21292",MerchantUserAccountIsInactive:"Declined by merchant user account is inactive",MerchantUserHasDepositDenyRole:"Declined by merchant user has deposit deny role",TransactionCodeIsInvalid:"Transaction code is invalid",InvalidSession:"Your session has expired. Please try again",TwoFactorAuthRequired:"Two-factor authentication is required",DeclinedByMerchant:"We apologise, but transaction has been closed by merchant. Please contact Customer Support for further assistance.",FraudSuspectedError:"We apologise, but we are unable to process your transaction at this time, please try later or contact Customer Support for further assistance. Error Code 22020",OnlyOnePendingTransactionPerUserlsAllowed:"Only one pending transaction per user is allowed",TransactionFrequencyLimitReached:"Transaction frequency limit reached",DailyTransactionFrequencyLimitReached:"The transaction cannot be performed at the moment, please try again later.",NotMappedVendorError:"Your balance is insufficient or you may have reached your transaction limit. Please contact your Telecommunication service provider",LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED:"Your balance is insufficient or you may have reached your transaction limit. Please contact your Telecommunication service provider",CumulativeLimitExceeded:"Monetary limit exceeded",CumulativeLimitExceededException:"Monetary limit exceeded",InsufficientFunds:"Insufficient funds",DeclinedByBank:"Transaction declined by bank",MaxNumberOfTransactionsReached:"Maximum number of transactions reached",OnlyOnePendingTransactionPerUserIsAllowed:"Only one pending transaction is allowed per user",AuthenticationFailed:"Authentication failed",CommunicationTimeoutError:"Communication timeout",MissingPaymentDetails:"Missing payment details",InvalidAccount:"Invalid account",DuplicatePaymentAccount:"The account you used to request a withdrawal has been deemed suspicious, and your transaction has been canceled for security reasons. Please contact our live support for more details.",InvalidCardHolder:"Invalid card holder",VendorInvalidCard:"Vendor invalid card",CardTokenIsBlocked:"Card token is blocked"},tr:{VendorMicroserviceCommunicationError:"Özür dileriz, ancak ödeme sağlayıcınız bir mikroservis iletişim hatası nedeniyle işlemi gerçekleştiremedi. Lütfen daha sonra tekrar deneyin.",CustomerDocumentIdMissing:"Belge kimliği eksik",InvalidTransactionStatus:"İşlem durumu geçersiz",UndefinedTechnicalError:"Bir şeyler ters gitti",VendorTimeoutError:"Görünüşe göre ödeme sağlayıcısında bazı sorunlar var. Sunucu yanıt vermek için çok uzun süre alıyor. Lütfen biraz bekleyip daha sonra tekrar deneyin. Hata Kodu 21292",errorGeneralTitle:"Hata oluştu",errorGeneralText:"Bir şeyler ters gitti",errorGeneralButton:"KAPALI",PlayerSessionIsNotValid:"Hesabınızla ilgili oturum geçersiz veya süresi dolmuş görünüyor. Lütfen tekrar giriş yapınız",VendorCommunicationError:"Özür dileriz, ancak ödeme sağlayıcınız teknik hata nedeniyle işlemi yapmayı reddetti. Lütfen daha sonra deneyin veya daha fazla yardım için ödeme çözümü sağlayıcınızla iletişime geçin. Hata Kodu 21297",PaymentMethodNotAllowed:"Özür dileriz, ancak bu ödeme yöntemi şu anda kullanılamıyor. Daha fazla yardım için lütfen Müşteri Desteğiyle iletişime geçin. Hata Kodu 11402",InvalidPaymentDetails:"Özür dileriz, ancak ödeme bilgileriniz geçerli değil. Lütfen tüm ödeme ayrıntılarını doğru girdiğinizden emin olun ve tekrar deneyin veya daha fazla yardım için Müşteri Desteği ile iletişime geçin. Hata Kodu 13555",MerchantUserHasWithdrawBlockRole:"Sevgili Oyuncu! Şu anda oyuncu hesabınızdan para çekme işlemi başlatmanıza izin verilmediğini lütfen unutmayın. Hata Kodu: 21122",MerchantUserHasDepositBlockRole:"Değerli Oyuncumuz, Şu anda hesabınız üzerinden para yatırma işlemi yapmanıza izin verilmemektedir. Hata Kodu: 21123",JwtTokenError:"IDX12741: JWT must have three segments (JWS) or five segments (JWE).",TransactionIsBlockedDueToNotCompletedKyc:"İşlemi gerçekleştirmek için kullanıcı doğrulamasını geçmeniz gerekmektedir. ",InsufficientCasinoFunds:"Çekmek istediğiniz tutar, mevcut bakiyenizin üzerindedir. Lütfen çekim tutarınızı belirlemek için bakiyenizi kontrol ediniz",DepositWageringLimit:"Para çekim işleminizi gerçekleştirebilmek için ana para çevriminizi tamamlamanız gerekmektedir. Ana para çevrimi hakkında bilgi almak için sitemiz genel şartlar ve kurallar bölümünü ziyaret edebilir ya da destek kanallarımız üzerinden bilgi alabilirsiniz.",DepositWageringFetching:"Veri yükleniyor",DepositWageringLimitText:"Kalan Çevrim:",AmountMinLimitExceeded:"Tutar, Ödeme Yöntemi minimum sınırından daha küçük",AmountMaxLimitExceeded:"Tutar, Ödeme Yöntemi maksimum sınırından daha büyük",AmountIsMissing:"Tutar eksik",MaxCustomerTransactionsCountReached:"İşlem denemelerinin sıklık sınırına ulaştınız. Sunucunun yanıt vermesi çok uzun sürüyor. Lütfen biraz bekleyin ve bir süre sonra tekrar deneyin.",VendorTechnicalError:"Özür dileriz, fakat bir teknik hata nedeniyle işleminiz sağlayıcı tarafından reddedildi. Lütfen daha sonra tekrar deneyin veya servis sağlayıcınızla iletişime geçin. Hata kodu 21298",MerchantUserAccountIsInactive:"Tüccar tarafından reddedildi kullanıcı hesabı etkin değil",MerchantUserHasDepositDenyRole:"Sevgili Oyuncu! Şu anda hesabınıza para yatırmanıza izin verilmediğini lütfen unutmayın. Hata Kodu: 21123",TransactionCodeIsInvalid:"Transaction code is invalid",InvalidSession:"Beklenmedik bir hata oluştu, lütfen tekrar deneyin.",TwoFactorAuthRequired:"İki faktörlü kimlik doğrulama gereklidi",DeclinedByMerchant:"Özür dileriz, ancak işlem satıcı tarafından kapatıldı. Daha fazla yardım için lütfen Müşteri Desteği ile iletişime geçin.",FraudSuspectedError:"Üzgünüz, ancak işleminizi şu anda gerçekleştiremiyoruz. Lütfen daha sonra tekrar deneyin veya daha fazla yardım için Müşteri Desteği ile iletişime geçin. Hata Kodu 22020.",OnlyOnePendingTransactionPerUserlsAllowed:"Devam eden bir talebiniz olduğu için șu anda yeni bir işlem başlatılamaz.",TransactionFrequencyLimitReached:"İşlem sıklığı limiti aşıldı",DailyTransactionFrequencyLimitReached:"Şu an işlem gerçekleştirilemiyor, lütfen daha sonra tekrar deneyiniz.",NotMappedVendorError:"Bakiyeniz yetersiz veya işlem limitinize ulaşmış olabilirsiniz. Lütfen Telekom servis sağlayıcınızla iletişime geçin",LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED:"Bakiyeniz yetersiz veya işlem limitinize ulaşmış olabilirsiniz. Lütfen Telekom servis sağlayıcınızla iletişime geçin",CumulativeLimitExceeded:"Parasal limit aşıldı",CumulativeLimitExceededException:"Parasal limit aşıldı",InsufficientFunds:"Yetersiz bakiye",DeclinedByBank:"İşlem banka tarafından reddedildi",MaxNumberOfTransactionsReached:"Maksimum işlem sayısına ulaşıldı",OnlyOnePendingTransactionPerUserIsAllowed:"Kullanıcı başına yalnızca bir bekleyen işleme izin verilir",AuthenticationFailed:"Kimlik doğrulama başarısız",CommunicationTimeoutError:"İletişim zaman aşımı",MissingPaymentDetails:"Eksik ödeme bilgileri",InvalidAccount:"Geçersiz hesap",DuplicatePaymentAccount:"Çekim talebinde bulunduğunuz hesap şüpheli olarak değerlendirilmiş ve işleminiz güvenlik nedeniyle iptal edilmiştir. Detaylı bilgi almak için lütfen canlı destek hattımızla iletişime geçiniz.",InvalidCardHolder:"Geçersiz kart sahibi",VendorInvalidCard:"Özür dileriz, fakat sağlayıcınız hatalı kart bilgileri nedeniyle işleminizi reddetti. Lütfen kart bilgilerinizi yeniden girin veya Destek ekibimizle iletişime geçin. Hata kodu 13500",CardTokenIsBlocked:"Kart jetonu engellendi"},fr:{VendorMicroserviceCommunicationError:"Nous sommes désolés, mais votre prestataire de paiement a refusé de traiter en raison d’une erreur de communication de microservice. Veuillez réessayer plus tard.",CustomerDocumentIdMissing:"L’identifiant du document est manquant",InvalidTransactionStatus:"Le statut de la transaction est invalide",UndefinedTechnicalError:"Une erreur s’est produite",errorGeneralTitle:"Une erreur s’est produite",errorGeneralText:"Une erreur est survenue",errorGeneralButton:"FERMER",PlayerSessionIsNotValid:"La session du joueur n’est pas valide",VendorCommunicationError:"Nous sommes désolés, mais votre prestataire de paiement a refusé de traiter la demande en raison d’une erreur technique. Veuillez réessayer plus tard ou contacter votre prestataire de paiement pour obtenir de l’aide. Code d’erreur 21297",PaymentMethodNotAllowed:"Nous sommes désolés, mais ce moyen de paiement n’est pas disponible pour le moment. Veuillez contacter le service client pour obtenir de l’aide. Code d’erreur 11402",InvalidPaymentDetails:"Nous sommes désolés, mais vos informations de paiement ne sont pas valides. Veuillez vérifier que vous avez correctement saisi toutes les informations de paiement et réessayer, ou contacter le service client pour obtenir de l’aide. Code d’erreur 13555",MerchantUserHasWithdrawBlockRole:"Cher joueur ! Veuillez noter que vous n’êtes actuellement pas autorisé à initier des opérations de retrait depuis votre compte joueur. Code d’erreur : 21122",MerchantUserHasDepositBlockRole:"Cher joueur ! Veuillez noter que vous n’êtes actuellement pas autorisé à initier des opérations de dépôt depuis votre compte joueur. Code d’erreur : 21123",JwtTokenError:"IDX12741 : le JWT doit comporter trois segments (JWS) ou cinq segments (JWE).",TransactionIsBlockedDueToNotCompletedKyc:"Nous sommes désolés, mais nous ne pouvons pas traiter la transaction car vous n’avez pas complété le KYC. Veuillez vérifier votre identité ou contacter le service client pour obtenir de l’aide. Code d’erreur 23601",InsufficientCasinoFunds:"Votre retrait dépasse votre solde disponible. Veuillez vérifier votre solde disponible afin d’ajuster le montant du retrait",DepositWageringLimit:"Attention ! Le solde de vos gains est inférieur au montant que vous souhaitez retirer.",DepositWageringLimitText:"Mise de dépôt:",DepositWageringFetching:"Chargement des données",AmountMinLimitExceeded:"Le montant est inférieur à la limite minimale du moyen de paiement",AmountMaxLimitExceeded:"Le montant est supérieur à la limite maximale du moyen de paiement",AmountIsMissing:"Le montant est manquant",MaxCustomerTransactionsCountReached:"Il semble que vous ayez atteint la limite de fréquence des tentatives de transaction par minute. Le serveur met trop de temps à répondre. Veuillez patienter un moment et réessayer plus tard",VendorTimeoutError:"Il semble que le prestataire de paiement rencontre des problèmes. Le serveur met trop de temps à répondre. Veuillez patienter un moment et réessayer plus tard. Code d’erreur 21292",MerchantUserAccountIsInactive:"Refusé : le compte utilisateur marchand est inactif",MerchantUserHasDepositDenyRole:"Refusé : l’utilisateur marchand a un rôle interdisant les dépôts",TransactionCodeIsInvalid:"Le code de transaction n’est pas valide",InvalidSession:"Votre session a expiré. Veuillez réessayer",TwoFactorAuthRequired:"L’authentification à deux facteurs est requise",DeclinedByMerchant:"Nous sommes désolés, mais la transaction a été clôturée par le marchand. Veuillez contacter le service client pour obtenir de l’aide.",FraudSuspectedError:"Nous sommes désolés, mais nous ne pouvons pas traiter votre transaction pour le moment. Veuillez réessayer plus tard ou contacter le service client pour obtenir de l’aide. Code d’erreur 22020",OnlyOnePendingTransactionPerUserlsAllowed:"Une seule transaction en attente par utilisateur est autorisée",TransactionFrequencyLimitReached:"Limite de fréquence des transactions atteinte",DailyTransactionFrequencyLimitReached:"La transaction ne peut pas être effectuée pour le moment, veuillez réessayer plus tard.",NotMappedVendorError:"Votre solde est insuffisant ou vous avez peut-être atteint votre limite de transaction. Veuillez contacter votre fournisseur de services de télécommunication",LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED:"Votre solde est insuffisant ou vous avez peut-être atteint votre limite de transaction. Veuillez contacter votre fournisseur de services de télécommunication",CumulativeLimitExceeded:"Limite monétaire dépassée",CumulativeLimitExceededException:"Limite monétaire dépassée",InsufficientFunds:"Fonds insuffisants",DeclinedByBank:"Transaction refusée par la banque",MaxNumberOfTransactionsReached:"Nombre maximum de transactions atteint",OnlyOnePendingTransactionPerUserIsAllowed:"Une seule transaction en attente est autorisée par utilisateur",AuthenticationFailed:"Échec de l'authentification",CommunicationTimeoutError:"Délai de communication dépassé",MissingPaymentDetails:"Détails de paiement manquants",InvalidAccount:"Compte invalide",DuplicatePaymentAccount:"Le compte que vous avez utilisé pour demander un retrait a été jugé suspect, et votre transaction a été annulée pour des raisons de sécurité. Veuillez contacter notre support en direct pour plus de détails."}};function B(n){e.append_styles(n,"svelte-y815d8",'.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}')}const N=n=>({}),w=n=>({}),q=n=>({}),L=n=>({}),F=n=>({}),D=n=>({}),H=n=>({}),I=n=>({class:"CashierErrorIcon"});function M(n){let t,i;return{c(){t=e.element("ui-image"),e.src_url_equal(t.src,i=`${n[0]}/error-general-icon.png`)||e.set_custom_element_data(t,"src",i),e.set_custom_element_data(t,"width","300px"),e.set_custom_element_data(t,"alt","error")},m(o,s){e.insert(o,t,s)},p(o,s){s&1&&!e.src_url_equal(t.src,i=`${o[0]}/error-general-icon.png`)&&e.set_custom_element_data(t,"src",i)},d(o){o&&e.detach(t)}}}function U(n){let t,i=n[0]&&M(n);return{c(){i&&i.c(),t=e.empty()},m(o,s){i&&i.m(o,s),e.insert(o,t,s)},p(o,s){o[0]?i?i.p(o,s):(i=M(o),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},d(o){o&&e.detach(t),i&&i.d(o)}}}function A(n){let t;function i(r,a){return r[3]<0?G:K}let o=i(n),s=o(n);return{c(){s.c(),t=e.empty()},m(r,a){s.m(r,a),e.insert(r,t,a)},p(r,a){o===(o=i(r))&&s?s.p(r,a):(s.d(1),s=o(r),s&&(s.c(),s.m(t.parentNode,t)))},d(r){r&&e.detach(t),s.d(r)}}}function K(n){let t,i=n[5]("DepositWageringLimitText")+"",o,s,r=n[3]>0&&P(n);return{c(){t=e.element("span"),o=e.text(i),s=e.space(),r&&r.c(),e.attr(t,"class","CashierErrorText")},m(a,u){e.insert(a,t,u),e.append(t,o),e.append(t,s),r&&r.m(t,null)},p(a,u){u&32&&i!==(i=a[5]("DepositWageringLimitText")+"")&&e.set_data(o,i),a[3]>0?r?r.p(a,u):(r=P(a),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(a){a&&e.detach(t),r&&r.d()}}}function G(n){let t,i,o=n[5]("DepositWageringFetching")+"",s;return{c(){t=e.element("div"),i=e.element("span"),s=e.text(o),e.attr(i,"class","CashierErrorText LoadingText"),e.attr(t,"class","WageringFetch")},m(r,a){e.insert(r,t,a),e.append(t,i),e.append(i,s)},p(r,a){a&32&&o!==(o=r[5]("DepositWageringFetching")+"")&&e.set_data(s,o)},d(r){r&&e.detach(t)}}}function P(n){let t,i,o;return{c(){t=e.text(n[3]),i=e.space(),o=e.text(n[4])},m(s,r){e.insert(s,t,r),e.insert(s,i,r),e.insert(s,o,r)},p(s,r){r&8&&e.set_data(t,s[3]),r&16&&e.set_data(o,s[4])},d(s){s&&(e.detach(t),e.detach(i),e.detach(o))}}}function j(n){let t,i=n[5](`${n[1]||"errorGeneralText"}`)+"",o,s,r,a=n[1]=="DepositWageringLimit"&&A(n);return{c(){t=e.element("span"),o=e.text(i),s=e.space(),a&&a.c(),r=e.empty(),e.attr(t,"class","CashierErrorText")},m(u,c){e.insert(u,t,c),e.append(t,o),e.insert(u,s,c),a&&a.m(u,c),e.insert(u,r,c)},p(u,c){c&34&&i!==(i=u[5](`${u[1]||"errorGeneralText"}`)+"")&&e.set_data(o,i),u[1]=="DepositWageringLimit"?a?a.p(u,c):(a=A(u),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(u){u&&(e.detach(t),e.detach(s),e.detach(r)),a&&a.d(u)}}}function Y(n){let t,i,o=n[5]("errorGeneralButton")+"",s,r,a;return{c(){t=e.element("button"),i=e.element("span"),s=e.text(o),e.attr(t,"class","CashierErrorButton")},m(u,c){e.insert(u,t,c),e.append(t,i),e.append(i,s),r||(a=e.listen(t,"click",n[6]),r=!0)},p(u,c){c&32&&o!==(o=u[5]("errorGeneralButton")+"")&&e.set_data(s,o)},d(u){u&&e.detach(t),r=!1,a()}}}function J(n){let t,i,o,s,r,a;const u=n[13].icon,c=e.create_slot(u,n,n[12],I),m=c||U(n),_=n[13].title,f=e.create_slot(_,n,n[12],D),v=n[13].text,y=e.create_slot(v,n,n[12],L),h=y||j(n),k=n[13].button,b=e.create_slot(k,n,n[12],w),g=b||Y(n);return{c(){t=e.element("div"),i=e.element("div"),m&&m.c(),o=e.space(),f&&f.c(),s=e.space(),h&&h.c(),r=e.space(),g&&g.c(),e.attr(i,"class","CashierErrorContent"),e.attr(t,"class","CashierError")},m(l,p){e.insert(l,t,p),e.append(t,i),m&&m.m(i,null),e.append(i,o),f&&f.m(i,null),e.append(i,s),h&&h.m(i,null),e.append(i,r),g&&g.m(i,null),n[14](t),a=!0},p(l,[p]){c?c.p&&(!a||p&4096)&&e.update_slot_base(c,u,l,l[12],a?e.get_slot_changes(u,l[12],p,H):e.get_all_dirty_from_scope(l[12]),I):m&&m.p&&(!a||p&1)&&m.p(l,a?p:-1),f&&f.p&&(!a||p&4096)&&e.update_slot_base(f,_,l,l[12],a?e.get_slot_changes(_,l[12],p,F):e.get_all_dirty_from_scope(l[12]),D),y?y.p&&(!a||p&4096)&&e.update_slot_base(y,v,l,l[12],a?e.get_slot_changes(v,l[12],p,q):e.get_all_dirty_from_scope(l[12]),L):h&&h.p&&(!a||p&58)&&h.p(l,a?p:-1),b?b.p&&(!a||p&4096)&&e.update_slot_base(b,k,l,l[12],a?e.get_slot_changes(k,l[12],p,N):e.get_all_dirty_from_scope(l[12]),w):g&&g.p&&(!a||p&32)&&g.p(l,a?p:-1)},i(l){a||(e.transition_in(m,l),e.transition_in(f,l),e.transition_in(h,l),e.transition_in(g,l),a=!0)},o(l){e.transition_out(m,l),e.transition_out(f,l),e.transition_out(h,l),e.transition_out(g,l),a=!1},d(l){l&&e.detach(t),m&&m.d(l),f&&f.d(l),h&&h.d(l),g&&g.d(l),n[14](null)}}}function X(n,t,i){let o;e.component_subscribe(n,e.$format,d=>i(5,o=d));let{$$slots:s={},$$scope:r}=t,{assetsurl:a=""}=t,{lang:u="en"}=t,{errorcode:c=""}=t,{clientstyling:m=""}=t,{clientstylingurl:_=""}=t,{translationurl:f=""}=t,{mbsource:v=""}=t,y,h,k=-1,b;const g=()=>{S(u)},l=()=>T(this,null,function*(){if(f)try{const d=yield fetch(f);if(!d.ok)throw new Error(`HTTP error! status: ${d.status}`);const O=yield d.json();Object.entries(O).forEach(([R,V])=>{C(R,V)})}catch(d){console.error(d)}});Object.keys(E).forEach(d=>{C(d,E[d])});const p=()=>{window.postMessage({type:"ErrorClose"},window.location.href)},z=d=>{if(d.data)switch(d.data.type){case"DepositWageringAmount":i(3,k=d.data.amount),i(4,b=d.data.currency);break}};e.onMount(()=>(window.addEventListener("message",z,!1),()=>{window.removeEventListener("message",z)}));function W(d){e.binding_callbacks[d?"unshift":"push"](()=>{y=d,i(2,y)})}return n.$$set=d=>{"assetsurl"in d&&i(0,a=d.assetsurl),"lang"in d&&i(7,u=d.lang),"errorcode"in d&&i(1,c=d.errorcode),"clientstyling"in d&&i(8,m=d.clientstyling),"clientstylingurl"in d&&i(9,_=d.clientstylingurl),"translationurl"in d&&i(10,f=d.translationurl),"mbsource"in d&&i(11,v=d.mbsource),"$$scope"in d&&i(12,r=d.$$scope)},n.$$.update=()=>{n.$$.dirty&128&&u&&g(),n.$$.dirty&260&&m&&y&&e.setClientStyling(y,m),n.$$.dirty&516&&_&&y&&e.setClientStylingURL(y,_),n.$$.dirty&2052&&v&&y&&e.setStreamStyling(y,`${v}.Style`,h),n.$$.dirty&1024&&f&&l()},[a,c,y,k,b,o,p,u,m,_,f,v,r,s,W]}class x extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,X,J,e.safe_not_equal,{assetsurl:0,lang:7,errorcode:1,clientstyling:8,clientstylingurl:9,translationurl:10,mbsource:11},B)}get assetsurl(){return this.$$.ctx[0]}set assetsurl(t){this.$$set({assetsurl:t}),e.flush()}get lang(){return this.$$.ctx[7]}set lang(t){this.$$set({lang:t}),e.flush()}get errorcode(){return this.$$.ctx[1]}set errorcode(t){this.$$set({errorcode:t}),e.flush()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[9]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[10]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[11]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(x,{assetsurl:{},lang:{},errorcode:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},["icon","title","text","button"],[],!0);exports.default=x;
|
|
@@ -5328,7 +5328,7 @@ if (typeof window < "u") {
|
|
|
5328
5328
|
}
|
|
5329
5329
|
};
|
|
5330
5330
|
};
|
|
5331
|
-
customElements.define = e(customElements.define), import("./CashierError-
|
|
5331
|
+
customElements.define = e(customElements.define), import("./CashierError-DGhKCEVa.js").then(({ default: t }) => {
|
|
5332
5332
|
!customElements.get("cashier-error") && customElements.define("cashier-error", t.element);
|
|
5333
5333
|
});
|
|
5334
5334
|
}
|
|
@@ -5363,7 +5363,7 @@ if (typeof window != "undefined") {
|
|
|
5363
5363
|
}
|
|
5364
5364
|
};
|
|
5365
5365
|
};
|
|
5366
|
-
customElements.define = e(customElements.define), import("./CashierError-
|
|
5366
|
+
customElements.define = e(customElements.define), import("./CashierError-CErMSMh7.js").then(({ default: t }) => {
|
|
5367
5367
|
!customElements.get("cashier-error") && customElements.define("cashier-error", t.element);
|
|
5368
5368
|
});
|
|
5369
5369
|
}
|
|
@@ -45,4 +45,4 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
45
45
|
<path d="M20.9099 12.4008C20.8843 12.5256 20.8459 12.6472 20.8299 12.772C20.8107 12.8872 20.7659 12.9576 20.6283 12.948C20.4523 12.9384 20.2763 12.9448 20.1035 12.9448C20.0107 12.9448 19.9691 12.9864 19.9563 13.0792C19.9019 13.4792 19.8443 13.876 19.7867 14.2728C19.7387 14.6024 19.6843 14.932 19.6331 15.2648C19.5147 15.2776 19.3995 15.2968 19.2843 15.3C19.1659 15.3032 19.0443 15.2904 18.9323 15.2808C18.8619 14.9896 18.9195 14.7176 18.9579 14.452C19.0219 13.9976 19.0923 13.54 19.1691 13.0888C19.1883 12.9736 19.1435 12.9512 19.0539 12.9512C18.8427 12.9512 18.6315 12.9512 18.4139 12.9512C18.3563 12.7016 18.4331 12.4744 18.4907 12.2472C18.5003 12.2184 18.5771 12.1832 18.6251 12.1832C19.3419 12.1768 20.0587 12.1768 20.7755 12.18C20.8203 12.18 20.8715 12.2184 20.9163 12.2408C20.9099 12.292 20.9099 12.3464 20.9099 12.4008Z" fill="#0F4D00"/>
|
|
46
46
|
<path d="M11.6587 15.2872C11.7579 15.172 11.8347 15.0888 11.9051 14.9992C11.9979 14.884 12.0939 14.7656 12.1707 14.6376C12.2155 14.5672 12.2571 14.5512 12.3307 14.5512C12.8363 14.5544 13.3387 14.5576 13.8443 14.548C13.9275 14.5448 14.0299 14.5064 14.0939 14.4488C14.2155 14.3464 14.1643 14.1736 14.0075 14.1352C13.9627 14.1224 13.9083 14.1224 13.8603 14.1224C13.4315 14.1224 13.0027 14.1224 12.5771 14.1224C12.5291 14.1224 12.4779 14.1224 12.4107 14.1224C12.4235 14.036 12.4363 13.9688 12.4395 13.8984C12.4523 13.7736 12.4619 13.6488 12.4715 13.524C12.4811 13.4056 12.5355 13.3544 12.6635 13.3576C13.0315 13.3672 13.4027 13.364 13.7739 13.3608C13.8571 13.3608 13.9435 13.3544 14.0299 13.3352C14.1515 13.3096 14.2155 13.2232 14.2027 13.1016C14.1931 12.9768 14.1035 12.948 13.9915 12.9448C13.5339 12.9416 13.0731 12.9352 12.6123 12.9416C12.4971 12.9416 12.4299 12.9 12.3819 12.8008C12.3019 12.644 12.2123 12.4904 12.1259 12.3368C12.1035 12.2984 12.0907 12.2568 12.0747 12.2184C12.1195 12.2024 12.1643 12.1736 12.2091 12.1736C12.6827 12.1704 13.1563 12.1704 13.6267 12.1704C13.8603 12.1704 14.0971 12.1768 14.3307 12.1768C14.6795 12.1768 15.0123 12.4008 15.0539 12.7944C15.0795 13.0312 14.8491 13.428 14.5995 13.5496C14.5547 13.572 14.5131 13.5944 14.4491 13.6296C14.5227 13.6744 14.5739 13.7096 14.6315 13.7384C14.9387 13.8952 14.9867 14.0968 14.9515 14.4168C14.8939 14.9128 14.4331 15.2584 13.9691 15.2744C13.2523 15.2968 12.5355 15.2968 11.8219 15.3032C11.7771 15.3032 11.7323 15.2968 11.6587 15.2872Z" fill="#0F4D00"/>
|
|
47
47
|
</svg>
|
|
48
|
-
`};if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CashierError-BSJEEtKz.cjs")).then(({default:t})=>{!customElements.get("cashier-error")&&customElements.define("cashier-error",t.element)})}function va(e){Mr(e,"svelte-nkabfs",'.LoadingOverlay{width:100%;height:100%;display:flex;position:relative;top:0;left:0;justify-content:center;align-items:center;z-index:100;background:transparent}.CopyTooltip{transform:translateX(-50%);color:var(--emw--color-typography, #fff);opacity:1;container-name:copy-tooltip;font-size:var(--emw--font-size-medium, 16px);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);padding:15px;position:fixed;left:50%;top:40%;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:3;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3)}.CopyTooltip::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.Spinner{width:40px;height:40px;border:4px solid #e0e0e0;border-top:4px solid var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.CashierReceiptPageWidget{position:relative}.CashierReceiptPage{border-radius:var(--emw--border-radius-medium-plus, 6px);background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));padding:0 0 var(--emw--spacing-small-minus, 10px) 0;margin:0 auto;position:relative;word-wrap:break-word;display:flex;flex-direction:column;justify-content:space-between;height:100%}.ReceiptWrapper{width:100%;height:200px;border-bottom:1px solid var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;align-items:flex-end;flex-direction:row-reverse;position:relative}.ReceiptWrapper .ImagePlaceholder{height:100%;width:100%;background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.success{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.fail{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.pending{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.cancel{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.rejected{background:#e6e6e6}.ReceiptStatusWrapper{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px 30px 0;gap:10px}.ReceiptStatusWrapper .ReceiptStatusIcon.success svg,.ReceiptStatusWrapper .ReceiptStatusIcon.success circle,.ReceiptStatusWrapper .ReceiptStatusIcon.success path{fill:var(--emw--color-valid, #41d195)}.ReceiptStatusWrapper .ReceiptStatusIcon.pending svg,.ReceiptStatusWrapper .ReceiptStatusIcon.pending circle,.ReceiptStatusWrapper .ReceiptStatusIcon.pending path{fill:var(--emw--color-pending, #ff6836)}.ReceiptStatusWrapper .ReceiptStatusIcon.failed svg,.ReceiptStatusWrapper .ReceiptStatusIcon.failed circle,.ReceiptStatusWrapper .ReceiptStatusIcon.failed path{fill:var(--emw--color-error, #ff3636)}.ReceiptStatusWrapper .ReceiptStatusText{text-align:center}.ReceiptStatusWrapper .ReceiptStatusText h3,.ReceiptStatusWrapper .ReceiptStatusText p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));padding:0;margin:10px}.ReceiptStatusWrapper .ReceiptStatusText p{font-size:14px;font-weight:200}.ReceiptStatusWrapper .TryAgainBtn,.ReceiptStatusWrapper .RefreshButton{border-radius:20px;padding:7px 20px;border:none;box-shadow:inset 0px 0px 0px 2px rgba(255, 226, 123, 0.3);color:var(--emw--color-white, #ffffff);background-color:rgba(249, 196, 8, 0.3019607843)}.ReceiptDetailsWrapper{position:relative;display:flex;flex-direction:column;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);padding:20px;margin:10px;z-index:1}.ReceiptDetailsWrapper::before{content:"";position:absolute;inset:0;opacity:0.3;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%)}.ReceiptDetailsWrapper .TxnId{cursor:pointer}.ReceiptDetailsWrapper .TxnId .TxnIdText{overflow:hidden;text-overflow:ellipsis;display:inline-block;white-space:nowrap}.ReceiptDetailsWrapper .Amount,.ReceiptDetailsWrapper .Status,.ReceiptDetailsWrapper .TxnId,.ReceiptDetailsWrapper .PaymentMethod,.ReceiptDetailsWrapper .PaymentTime{display:flex;justify-content:space-between;align-items:center;color:var(--emw--color-typography, var(--emw--color-white, #ffffff))}.ReceiptDetailsWrapper .Amount p,.ReceiptDetailsWrapper .Status p,.ReceiptDetailsWrapper .TxnId p,.ReceiptDetailsWrapper .PaymentMethod p,.ReceiptDetailsWrapper .PaymentTime p{font-weight:200;font-size:12px;margin-right:5px;width:auto}.ReceiptDetailsWrapper .Amount span,.ReceiptDetailsWrapper .Status span,.ReceiptDetailsWrapper .TxnId span,.ReceiptDetailsWrapper .PaymentMethod span,.ReceiptDetailsWrapper .PaymentTime span{font-size:12px;word-break:break-all;font-weight:500;max-width:70%;text-align:right}.ReceiptDetailsWrapper .Status{border-bottom:1px solid rgba(255, 255, 255, 0.276);padding-bottom:10px}.ReceiptDetailsWrapper .Status span{padding:10px;font-size:var(--emw--font-size-small, 12px);border-radius:16px}.ReceiptDetailsWrapper .Status.success span{background-color:rgba(65, 209, 149, 0.1215686275);color:var(--emw--color-valid, #41d195)}.ReceiptDetailsWrapper .Status.pending span{background-color:rgba(255, 104, 54, 0.1215686275);color:var(--emw--color-pending, #ff6836)}.ReceiptDetailsWrapper .Status.failed span{background-color:rgba(209, 65, 65, 0.1215686275);color:var(--emw--color-error, #ff3636)}.ReceiptDetailsWrapper .Status.rejected span{background-color:rgba(209, 65, 65, 0.1215686275);color:var(--emw--color-error, #ff3636)}.ReceiptDetailsWrapper .TxnId{margin-top:15px}.TitleWrapper{display:flex;position:absolute;left:0;bottom:11px;flex-direction:column;justify-content:flex-end;flex-shrink:0}.Title{color:var(--emw--color-gray-10, #111);font-size:var(--emw--font-size-x-large-plus, 26px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;line-height:var(--emw--font-size-x-large-plus, 26px)}.SubTitle{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-290, #666);margin-top:var(--emw--spacing-small, 12px)}.Text{padding:var(--emw--spacing-small, 12px) 0;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-10, #111)}.CashierErrorText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:130%;text-align:center}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.Reference{color:var(--emw--color-gray-290, #666);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400);margin:0}.ReceiptButtonsWrapper{display:grid;grid-template-columns:1fr 1fr 1fr;height:75px;gap:8px;margin:0 10px}.ReceiptButtonsWrapper .GoToButton{cursor:pointer;border-radius:8px;border:none;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-gey-600, rgba(237, 237, 237, 0.0784313725));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px;transition:all 0.3s ease}.ReceiptButtonsWrapper .GoToButton:hover,.ReceiptButtonsWrapper .GoToButton:active{transform:scale(1.05)}.DefaultButton{text-transform:uppercase;font-weight:var(--emw--font-weight-semibold, 600);color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));border:none;background:var(--emw--color-primary, #f9c408);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:var(--emw--border-radius-medium, 12px);min-height:44px;font-size:var(--emw--font-size-medium, 16px);font-family:inherit;margin:20px 10px;width:calc(100% - 20px);transition:background 0.3s ease}.DefaultButton:hover{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background:var(--emw--color-hover, #dbac03)}.DefaultButton:active{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background:var(--emw--color-active, #fecd1c)}.HeaderButtonContainer{position:absolute;z-index:1;right:0;top:0;display:flex;align-items:baseline;gap:var(--emw--spacing-small, 12px);padding:var(--emw--spacing-small, 12px) 0}.HeaderButtonContainer>span{cursor:pointer}.ReceiptField{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);line-height:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-150, #666);margin:var(--emw--spacing-small, 12px)}@media(min-width: 750px){.CashierReceiptPage{background-color:transparent}.CashierReceiptPageWidget{position:absolute;width:calc(100% - 20px)}}.CustomButtonSvg svg{width:32px;height:32px;fill:var(--emw--color-primary)}')}function cr(e,t,n){const r=e.slice();return r[70]=t[n],r[72]=n,r}function fr(e,t,n){const r=e.slice();return r[73]=t[n],r}function Ca(e){let t,n,r=ar(e[25])&&e[9]&&e[22],i,o=e[23]&&hr(e),s=r&&pr(e);function a(c,f){if(c[15])return xa;if(c[19]&&!c[20])return wa}let u=a(e),l=u&&u(e);return{c(){o&&o.c(),t=G(),n=E("div"),s&&s.c(),i=G(),l&&l.c(),h(n,"class","CashierReceiptPage")},m(c,f){o&&o.m(c,f),B(c,t,f),B(c,n,f),s&&s.m(n,null),C(n,i),l&&l.m(n,null)},p(c,f){c[23]?o?(o.p(c,f),f[0]&8388608&&Bt(o,1)):(o=hr(c),o.c(),Bt(o,1),o.m(t.parentNode,t)):o&&(Xi(),Rr(o,1,1,()=>{o=null}),qi()),f[0]&4194816&&(r=ar(c[25])&&c[9]&&c[22]),r?s?s.p(c,f):(s=pr(c),s.c(),s.m(n,i)):s&&(s.d(1),s=null),u===(u=a(c))&&l?l.p(c,f):(l&&l.d(1),l=u&&u(c),l&&(l.c(),l.m(n,null)))},d(c){c&&(M(t),M(n)),o&&o.d(c),s&&s.d(),l&&l.d()}}}function _a(e){let t;return{c(){t=E("div"),t.innerHTML='<div class="Spinner"></div>',h(t,"class","LoadingOverlay")},m(n,r){B(n,t,r)},p:ie,d(n){n&&M(t)}}}function hr(e){let t,n=e[24]("copyTransactionId")+"",r,i,o,s;return{c(){t=E("div"),r=j(n),h(t,"class","CopyTooltip")},m(a,u){B(a,t,u),C(t,r),s=!0},p(a,u){(!s||u[0]&16777216)&&n!==(n=a[24]("copyTransactionId")+"")&&W(r,n)},i(a){s||(a&&Ve(()=>{s&&(o&&o.end(1),i=Qi(t,$n,{duration:100}),i.start())}),s=!0)},o(a){i&&i.invalidate(),a&&(o=Ji(t,$n,{duration:1e3})),s=!1},d(a){a&&M(t),a&&o&&o.end()}}}function pr(e){let t;return{c(){t=E("cashier-verifications"),F(t,"lang",e[3]),F(t,"translationurl",e[4]),F(t,"endpoint",e[1]),F(t,"clientstylingurl",e[8]),F(t,"clientstyling",e[7]),F(t,"customerid",e[6]),F(t,"playersession",e[2])},m(n,r){B(n,t,r)},p(n,r){r[0]&8&&F(t,"lang",n[3]),r[0]&16&&F(t,"translationurl",n[4]),r[0]&2&&F(t,"endpoint",n[1]),r[0]&256&&F(t,"clientstylingurl",n[8]),r[0]&128&&F(t,"clientstyling",n[7]),r[0]&64&&F(t,"customerid",n[6]),r[0]&4&&F(t,"playersession",n[2])},d(n){n&&M(t)}}}function wa(e){let t,n=e[19]===e[13].Maintenance&&dr(e);return{c(){t=E("cashier-error"),n&&n.c(),F(t,"assetsurl",e[5]),F(t,"translationurl",e[4]),F(t,"clientstylingurl",e[8]),F(t,"clientstyling",e[7]),F(t,"lang",e[3]),F(t,"hidebuttons","true"),F(t,"errorcode",e[19])},m(r,i){B(r,t,i),n&&n.m(t,null)},p(r,i){r[19]===r[13].Maintenance?n?n.p(r,i):(n=dr(r),n.c(),n.m(t,null)):n&&(n.d(1),n=null),i[0]&32&&F(t,"assetsurl",r[5]),i[0]&16&&F(t,"translationurl",r[4]),i[0]&256&&F(t,"clientstylingurl",r[8]),i[0]&128&&F(t,"clientstyling",r[7]),i[0]&8&&F(t,"lang",r[3]),i[0]&524288&&F(t,"errorcode",r[19])},d(r){r&&M(t),n&&n.d()}}}function xa(e){let t,n,r,i,o,s=e[24]("amount")+"",a,u,l,c,f,m,g,v=e[24]("status")+"",d,P,O,N=e[24](`${e[21]}`)+"",A,Y,X,R,V,pe=e[24]("transactionId")+"",ue,q,L,be=e[15].referenceId+"",Se,S,_,b,y=e[24]("payemntMethod")+"",w,H,x,$,z,I,Q,te=e[24]("paymentTime")+"",de,ce,Ce,fe=Dt(e[15].time).format("MMM DD, YYYY, HH:mm:ss")+"",ne,oe,me,_e,Te,Je,Le,Ie,Ke;function et(T,U){if(T[21]==="success")return Ta;if(T[21]==="pending")return Sa;if(T[21]==="failed"||T[21]==="rejected"||T[21]==="canceled")return Ea}let xe=et(e),se=xe&&xe(e),ae=e[12].length>0&&mr(e);function mt(T,U){return T[15].type?Ha:Ma}let De=mt(e),ye=De(e),le=e[16].length&&br(e);return{c(){t=E("div"),se&&se.c(),n=G(),r=E("div"),i=E("div"),o=E("p"),a=j(s),u=G(),l=E("span"),c=j(e[17]),f=G(),m=E("div"),g=E("p"),d=j(v),P=G(),O=E("span"),A=j(N),X=G(),R=E("div"),V=E("p"),ue=j(pe),q=G(),L=E("span"),Se=j(be),S=G(),_=E("div"),b=E("p"),w=j(y),H=G(),x=E("span"),$=j(e[0]),z=G(),I=E("div"),Q=E("p"),de=j(te),ce=G(),Ce=E("span"),ne=j(fe),oe=G(),me=E("div"),ae&&ae.c(),_e=G(),Te=E("button"),ye.c(),Je=G(),le&&le.c(),Le=$t(),h(t,"class","ReceiptStatusWrapper"),h(i,"class","Amount"),h(m,"class",Y=`Status ${e[21]}`),h(L,"class","TxnIdText"),h(R,"class","TxnId"),h(_,"class","PaymentMethod"),h(I,"class","PaymentTime"),h(r,"class","ReceiptDetailsWrapper"),h(me,"class","ReceiptButtonsWrapper"),h(Te,"class","DefaultButton")},m(T,U){B(T,t,U),se&&se.m(t,null),B(T,n,U),B(T,r,U),C(r,i),C(i,o),C(o,a),C(i,u),C(i,l),C(l,c),C(r,f),C(r,m),C(m,g),C(g,d),C(m,P),C(m,O),C(O,A),C(r,X),C(r,R),C(R,V),C(V,ue),C(R,q),C(R,L),C(L,Se),C(r,S),C(r,_),C(_,b),C(b,w),C(_,H),C(_,x),C(x,$),C(r,z),C(r,I),C(I,Q),C(Q,de),C(I,ce),C(I,Ce),C(Ce,ne),B(T,oe,U),B(T,me,U),ae&&ae.m(me,null),B(T,_e,U),B(T,Te,U),ye.m(Te,null),B(T,Je,U),le&&le.m(T,U),B(T,Le,U),Ie||(Ke=[We(L,"click",e[45]),We(Te,"click",e[26])],Ie=!0)},p(T,U){xe===(xe=et(T))&&se?se.p(T,U):(se&&se.d(1),se=xe&&xe(T),se&&(se.c(),se.m(t,null))),U[0]&16777216&&s!==(s=T[24]("amount")+"")&&W(a,s),U[0]&131072&&W(c,T[17]),U[0]&16777216&&v!==(v=T[24]("status")+"")&&W(d,v),U[0]&18874368&&N!==(N=T[24](`${T[21]}`)+"")&&W(A,N),U[0]&2097152&&Y!==(Y=`Status ${T[21]}`)&&h(m,"class",Y),U[0]&16777216&&pe!==(pe=T[24]("transactionId")+"")&&W(ue,pe),U[0]&32768&&be!==(be=T[15].referenceId+"")&&W(Se,be),U[0]&16777216&&y!==(y=T[24]("payemntMethod")+"")&&W(w,y),U[0]&1&&W($,T[0]),U[0]&16777216&&te!==(te=T[24]("paymentTime")+"")&&W(de,te),U[0]&32768&&fe!==(fe=Dt(T[15].time).format("MMM DD, YYYY, HH:mm:ss")+"")&&W(ne,fe),T[12].length>0?ae?ae.p(T,U):(ae=mr(T),ae.c(),ae.m(me,null)):ae&&(ae.d(1),ae=null),De===(De=mt(T))&&ye?ye.p(T,U):(ye.d(1),ye=De(T),ye&&(ye.c(),ye.m(Te,null))),T[16].length?le?le.p(T,U):(le=br(T),le.c(),le.m(Le.parentNode,Le)):le&&(le.d(1),le=null)},d(T){T&&(M(t),M(n),M(r),M(oe),M(me),M(_e),M(Te),M(Je),M(Le)),se&&se.d(),ae&&ae.d(),ye.d(),le&&le.d(T),Ie=!1,Ae(Ke)}}}function dr(e){let t,n,r,i=e[24]("receipt.maintenance.title")+"",o,s,a,u=e[24]("receipt.maintenance.text")+"",l;return{c(){t=E("div"),t.innerHTML='<div class="ImagePlaceholder Maintenance"></div>',n=G(),r=E("span"),o=j(i),s=G(),a=E("span"),l=j(u),h(t,"slot","icon"),h(r,"slot","title"),h(r,"class","CashierErrorTitle"),h(a,"slot","text"),h(a,"class","CashierErrorText")},m(c,f){B(c,t,f),B(c,n,f),B(c,r,f),C(r,o),B(c,s,f),B(c,a,f),C(a,l)},p(c,f){f[0]&16777216&&i!==(i=c[24]("receipt.maintenance.title")+"")&&W(o,i),f[0]&16777216&&u!==(u=c[24]("receipt.maintenance.text")+"")&&W(l,u)},d(c){c&&(M(t),M(n),M(r),M(s),M(a))}}}function Ea(e){let t,n,r,i,o,s,a,u=e[24](`${e[15].type.toLowerCase()}.fail.title`)+"",l,c,f,m=e[24](`${e[15].type.toLowerCase()}.fail.text`)+"",g;return{c(){t=ge("svg"),n=ge("circle"),r=ge("rect"),i=ge("path"),o=G(),s=E("div"),a=E("h3"),l=j(u),c=G(),f=E("p"),g=j(m),h(n,"cx","36"),h(n,"cy","36"),h(n,"r","36"),h(n,"fill","#D14141"),h(n,"fill-opacity","0.12"),h(r,"x","19.335"),h(r,"y","19"),h(r,"width","33.33"),h(r,"height","33.33"),h(r,"rx","16.665"),h(r,"fill","#FF3636"),h(i,"d","M29.085 41.915L41.585 29.415M41.585 41.915L29.085 29.415"),h(i,"stroke","black"),h(i,"stroke-width","2.09016"),h(i,"stroke-linecap","round"),h(i,"stroke-linejoin","round"),h(t,"class","ReceiptStatusIcon failed"),h(t,"width","72"),h(t,"height","72"),h(t,"viewBox","0 0 72 72"),h(t,"fill","none"),h(t,"xmlns","http://www.w3.org/2000/svg"),h(s,"class","ReceiptStatusText")},m(v,d){B(v,t,d),C(t,n),C(t,r),C(t,i),B(v,o,d),B(v,s,d),C(s,a),C(a,l),C(s,c),C(s,f),C(f,g)},p(v,d){d[0]&16809984&&u!==(u=v[24](`${v[15].type.toLowerCase()}.fail.title`)+"")&&W(l,u),d[0]&16809984&&m!==(m=v[24](`${v[15].type.toLowerCase()}.fail.text`)+"")&&W(g,m)},d(v){v&&(M(t),M(o),M(s))}}}function Sa(e){let t,n,r,i,o,s,a,u,l,c=e[24](`${e[15].type.toLowerCase()}.pending.title`)+"",f,m,g,v=e[24](`${e[15].type.toLowerCase()}.pending.text`)+"",d,P,O,N=e[24]("refreshButton")+"",A,Y,X;return{c(){t=ge("svg"),n=ge("circle"),r=ge("rect"),i=ge("path"),o=ge("path"),s=ge("path"),a=G(),u=E("div"),l=E("h3"),f=j(c),m=G(),g=E("p"),d=j(v),P=G(),O=E("button"),A=j(N),h(n,"cx","36"),h(n,"cy","36"),h(n,"r","36"),h(n,"fill","#D19A41"),h(n,"fill-opacity","0.12"),h(r,"x","19"),h(r,"y","19"),h(r,"width","34"),h(r,"height","34"),h(r,"rx","17"),h(r,"fill","#FF6836"),h(i,"d","M36 46C30.4771 46 26 41.5228 26 36C26 30.4772 30.4772 26 36 26C40.4776 26 44.2257 28.9429 45.5 33H43"),h(i,"stroke","black"),h(i,"stroke-width","1.5"),h(i,"stroke-linecap","round"),h(i,"stroke-linejoin","round"),h(o,"d","M36 32V36L38 38"),h(o,"stroke","black"),h(o,"stroke-width","1.5"),h(o,"stroke-linecap","round"),h(o,"stroke-linejoin","round"),h(s,"d","M45.9551 37C45.9848 36.6709 46 36.3373 46 36M39 46C39.3416 45.8876 39.6753 45.7564 40 45.6078M44.7906 41C44.9835 40.6284 45.1555 40.2433 45.305 39.8462M42.1925 44.2292C42.5369 43.9441 42.8631 43.6358 43.1688 43.3065"),h(s,"stroke","black"),h(s,"stroke-width","1.5"),h(s,"stroke-linecap","round"),h(s,"stroke-linejoin","round"),h(t,"class","ReceiptStatusIcon pending"),h(t,"width","72"),h(t,"height","72"),h(t,"viewBox","0 0 72 72"),h(t,"fill","none"),h(t,"xmlns","http://www.w3.org/2000/svg"),h(u,"class","ReceiptStatusText"),h(O,"class","RefreshButton")},m(R,V){B(R,t,V),C(t,n),C(t,r),C(t,i),C(t,o),C(t,s),B(R,a,V),B(R,u,V),C(u,l),C(l,f),C(u,m),C(u,g),C(g,d),B(R,P,V),B(R,O,V),C(O,A),Y||(X=We(O,"click",e[27]),Y=!0)},p(R,V){V[0]&16809984&&c!==(c=R[24](`${R[15].type.toLowerCase()}.pending.title`)+"")&&W(f,c),V[0]&16809984&&v!==(v=R[24](`${R[15].type.toLowerCase()}.pending.text`)+"")&&W(d,v),V[0]&16777216&&N!==(N=R[24]("refreshButton")+"")&&W(A,N)},d(R){R&&(M(t),M(a),M(u),M(P),M(O)),Y=!1,X()}}}function Ta(e){let t,n,r,i,o,s,a=e[24](`${e[15].type.toLowerCase()}.success.title`)+"",u,l,c,f=e[24](`${e[15].type.toLowerCase()}.success.text`)+"",m;return{c(){t=ge("svg"),n=ge("circle"),r=ge("path"),i=G(),o=E("div"),s=E("h3"),u=j(a),l=G(),c=E("p"),m=j(f),h(n,"cx","36"),h(n,"cy","36"),h(n,"r","36"),h(n,"fill","#F9C408"),h(n,"fill-opacity","0.12"),h(r,"d","M36.5 19.3333C27.3167 19.3333 19.8333 26.8166 19.8333 36C19.8333 45.1833 27.3167 52.6666 36.5 52.6666C45.6833 52.6666 53.1667 45.1833 53.1667 36C53.1667 26.8166 45.6833 19.3333 36.5 19.3333ZM44.4667 32.1666L35.0167 41.6166C34.7833 41.85 34.4667 41.9833 34.1333 41.9833C33.8 41.9833 33.4833 41.85 33.25 41.6166L28.5333 36.9C28.05 36.4166 28.05 35.6166 28.5333 35.1333C29.0167 34.65 29.8167 34.65 30.3 35.1333L34.1333 38.9666L42.7 30.4C43.1833 29.9166 43.9833 29.9166 44.4667 30.4C44.95 30.8833 44.95 31.6666 44.4667 32.1666Z"),h(r,"fill","#F9C408"),h(t,"class","ReceiptStatusIcon success"),h(t,"width","72"),h(t,"height","72"),h(t,"viewBox","0 0 72 72"),h(t,"fill","none"),h(t,"xmlns","http://www.w3.org/2000/svg"),h(o,"class","ReceiptStatusText")},m(g,v){B(g,t,v),C(t,n),C(t,r),B(g,i,v),B(g,o,v),C(o,s),C(s,u),C(o,l),C(o,c),C(c,m)},p(g,v){v[0]&16809984&&a!==(a=g[24](`${g[15].type.toLowerCase()}.success.title`)+"")&&W(u,a),v[0]&16809984&&f!==(f=g[24](`${g[15].type.toLowerCase()}.success.text`)+"")&&W(m,f)},d(g){g&&(M(t),M(i),M(o))}}}function mr(e){let t,n=At(e[12]),r=[];for(let i=0;i<n.length;i+=1)r[i]=gr(fr(e,n,i));return{c(){for(let i=0;i<r.length;i+=1)r[i].c();t=$t()},m(i,o){for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(i,o);B(i,t,o)},p(i,o){if(o[0]&285216768){n=At(i[12]);let s;for(s=0;s<n.length;s+=1){const a=fr(i,n,s);r[s]?r[s].p(a,o):(r[s]=gr(a),r[s].c(),r[s].m(t.parentNode,t))}for(;s<r.length;s+=1)r[s].d(1);r.length=n.length}},d(i){i&&M(t),Pr(r,i)}}}function gr(e){var m;let t,n,r=((m=lr[`${e[73].type}`])!=null?m:"")+"",i,o=e[24](`${e[73].translationKey}`)+"",s,a,u,l,c;function f(){return e[46](e[73])}return{c(){t=E("button"),n=E("div"),i=G(),s=j(o),a=G(),h(n,"class","CustomButtonSvg"),h(t,"class",u=`${e[73].type} GoToButton`)},m(g,v){B(g,t,v),C(t,n),n.innerHTML=r,C(t,i),C(t,s),C(t,a),l||(c=We(t,"click",f),l=!0)},p(g,v){var d;e=g,v[0]&4096&&r!==(r=((d=lr[`${e[73].type}`])!=null?d:"")+"")&&(n.innerHTML=r),v[0]&16781312&&o!==(o=e[24](`${e[73].translationKey}`)+"")&&W(s,o),v[0]&4096&&u!==(u=`${e[73].type} GoToButton`)&&h(t,"class",u)},d(g){g&&M(t),l=!1,c()}}}function Ma(e){let t=e[24]("backHome")+"",n;return{c(){n=j(t)},m(r,i){B(r,n,i)},p(r,i){i[0]&16777216&&t!==(t=r[24]("backHome")+"")&&W(n,t)},d(r){r&&M(n)}}}function Ha(e){let t=e[24](`back${e[15].type}`)+"",n;return{c(){n=j(t)},m(r,i){B(r,n,i)},p(r,i){i[0]&16809984&&t!==(t=r[24](`back${r[15].type}`)+"")&&W(n,t)},d(r){r&&M(n)}}}function br(e){let t,n=At(e[16]),r=[];for(let i=0;i<n.length;i+=1)r[i]=yr(cr(e,n,i));return{c(){for(let i=0;i<r.length;i+=1)r[i].c();t=$t()},m(i,o){for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(i,o);B(i,t,o)},p(i,o){if(o[0]&537214976){n=At(i[16]);let s;for(s=0;s<n.length;s+=1){const a=cr(i,n,s);r[s]?r[s].p(a,o):(r[s]=yr(a),r[s].c(),r[s].m(t.parentNode,t))}for(;s<r.length;s+=1)r[s].d(1);r.length=n.length}},d(i){i&&M(t),Pr(r,i)}}}function Pa(e){let t,n=e[70].defaultValue+"",r;return{c(){t=E("span"),r=j(n),h(t,"class","Label")},m(i,o){B(i,t,o),C(t,r)},p(i,o){o[0]&65536&&n!==(n=i[70].defaultValue+"")&&W(r,n)},d(i){i&&M(t)}}}function Ba(e){return{c:ie,m:ie,p:ie,d:ie}}function Aa(e){let t,n=e[70].description+"",r,i,o,s=e[70].name+"",a,u;return{c(){t=E("span"),r=j(n),i=G(),o=E("a"),a=j(s),h(o,"href",u=e[70].defaultValue),h(o,"target","_blank"),h(o,"rel","noopener noreferrer")},m(l,c){B(l,t,c),C(t,r),C(t,i),C(t,o),C(o,a)},p(l,c){c[0]&65536&&n!==(n=l[70].description+"")&&W(r,n),c[0]&65536&&s!==(s=l[70].name+"")&&W(a,s),c[0]&65536&&u!==(u=l[70].defaultValue)&&h(o,"href",u)},d(l){l&&M(t)}}}function Oa(e){let t,n,r;return{c(){t=E("img"),Kt(t.src,n=e[70].defaultValue)||h(t,"src",n),h(t,"title",r=e[70].description),h(t,"alt","")},m(i,o){B(i,t,o)},p(i,o){o[0]&65536&&!Kt(t.src,n=i[70].defaultValue)&&h(t,"src",n),o[0]&65536&&r!==(r=i[70].description)&&h(t,"title",r)},d(i){i&&M(t)}}}function Ra(e){let t,n=e[70].defaultValue+"";return{c(){t=E("span")},m(r,i){B(r,t,i),t.innerHTML=n},p(r,i){i[0]&65536&&n!==(n=r[70].defaultValue+"")&&(t.innerHTML=n)},d(r){r&&M(t)}}}function La(e){let t,n,r=e[70].defaultValue+"",i,o,s;function a(){return e[48](e[70])}return{c(){t=E("div"),n=E("div"),i=j(r),h(t,"class","QRCode")},m(u,l){B(u,t,l),C(t,n),C(n,i),e[47](n),o||(s=We(t,"click",a),o=!0)},p(u,l){e=u,l[0]&65536&&r!==(r=e[70].defaultValue+"")&&W(i,r)},d(u){u&&M(t),e[47](null),o=!1,s()}}}function yr(e){let t,n;function r(s,a){return s[70].type===s[14].QRCode?La:s[70].type===s[14].Html?Ra:s[70].type===s[14].Image?Oa:s[70].type===s[14].Link?Aa:s[70].type===s[14].Hidden?Ba:Pa}let i=r(e),o=i(e);return{c(){t=E("div"),o.c(),n=G(),h(t,"class","ReceiptField")},m(s,a){B(s,t,a),o.m(t,null),C(t,n)},p(s,a){i===(i=r(s))&&o?o.p(s,a):(o.d(1),o=i(s),o&&(o.c(),o.m(t,n)))},d(s){s&&M(t),o.d()}}}function Ia(e){let t;function n(o,s){return o[11]?_a:Ca}let r=n(e),i=r(e);return{c(){t=E("div"),i.c(),h(t,"class","CashierReceiptPageWidget")},m(o,s){B(o,t,s),i.m(t,null),e[49](t)},p(o,s){r===(r=n(o))&&i?i.p(o,s):(i.d(1),i=r(o),i&&(i.c(),i.m(t,null)))},i:ie,o:ie,d(o){o&&M(t),i.d(),e[49](null)}}}let Da="_blank";function $a(e,t,n){let r;_r(e,fi,p=>n(24,r=p)),Dt.extend(ea);let{endpoint:i}=t,{session:o}=t,{lang:s="en"}=t,{local:a="en-US"}=t,{showerrors:u="true"}=t,{translationurl:l}=t,{assetsurl:c=""}=t,{customerid:f}=t,{transactionid:m}=t,{currencydecimals:g="0"}=t,{type:v}=t,{clientstyling:d=""}=t,{clientstylingurl:P=""}=t,{mbsource:O=""}=t,{showverifications:N="true"}=t,{paymentmethod:A=""}=t,Y=!1,X,{customsucceessbuttons:R=""}=t,{custompendingbuttons:V=""}=t,{customfailedbuttons:pe=""}=t,{currencysymbol:ue=""}=t,{currencyposition:q=""}=t,{userroles:L=""}=t,{windowsize:be}=t,{p2p:Se="false"}=t,S=[],_=[];var b;(function(p){p.Success="Success",p.Maintenance="Maintenance"})(b||(b={}));var y;(function(p){p.Unknown="Unknown",p.Text="Text",p.Boolean="Boolean",p.Number="Number",p.Money="Money",p.DateTime="DateTime",p.Lookup="Lookup",p.IpAddress="IpAddress",p.Date="Date",p.Time="Time",p.LookupCollection="LookupCollection",p.Hidden="Hidden",p.Label="Label",p.Password="Password",p.Link="Link",p.Image="Image",p.Html="Html",p.QRCode="QR"})(y||(y={}));const w=(p,[re,we])=>[...p,...Array.isArray(re)?[...re.map(J=>[J,we])]:[[re,we]]],H=new Map([[["Unknown",0],y.Unknown],[["Text",1],y.Text],[["Boolean",2],y.Boolean],[["Number",3],y.Number],[["Money",4],y.Money],[["DateTime",5],y.DateTime],[["Lookup",6],y.Lookup],[["IpAddress",7],y.IpAddress],[["Date",8],y.Date],[["Time",9],y.Time],[["LookupCollection",10],y.LookupCollection],[["Hidden",11],y.Hidden],[["Label",12],y.Label],[["Password",13],y.Password],[["Link",14],y.Link],[["Image",15],y.Image],[["Html",19],y.Html],[["QR",20],y.QRCode]].reduce(w,[]));let x,$=[],z,I,Q=[],te,de,ce="",Ce=window.navigator.userAgent,fe=!1;const ne={promotions:{event:"Cashier:goToPromotions",translationKey:"goToPromotions",type:"PromotionsButton"},tournaments:{event:"Cashier:goToTournaments",translationKey:"goToTournaments",type:"TournamentsButton"},support:{event:"Cashier:goToContact",translationKey:"goToSupport",type:"SupportButton"},merchanthomepage:{event:"Cashier:goToVendorWebsite",translationKey:"goToMerchantHomePage",type:"MerchantHomePageButton"},sports:{event:"Cashier:goToSports",translationKey:"goToSports",type:"SportsButton"},casino:{event:"Cashier:goToCasino",translationKey:"goToCasino",type:"CasinoButton"},livecasino:{event:"Cashier:goToLiveCasino",translationKey:"goToLiveCasino",type:"LiveCasinoButton"},externallink:{event:"Cashier:externalRedirect",translationKey:"externalLink",type:"ExternalLinkButton"},documentupload:{event:"Cashier:uploadDocuments",translationKey:"uploadDocuments",type:"UploadDocumentButton"},home:{event:"Cashier:goToHome",translationKey:"goToHomepage",type:"HomeButton"},close:{event:"CloseCashierReceiptPage",translationKey:"close",type:"CloseButton"}},oe=p=>{n(12,S=[]),p.split(",").forEach(we=>{ne[we.trim()]&&S.push(ne[we.trim()])})},me=()=>{zs(s)};Ar(()=>(window.addEventListener("message",_e,!1),ma(a,ue,q,g),()=>{window.removeEventListener("message",_e)}));const _e=p=>{var re;switch(p.data.type){case"CloseReceiptInSecondTab":(re=window.opener)==null||re.postMessage(p.data);break}},Te=()=>{let p=l;if(p)return fetch(p).then(re=>re.json()).then(re=>{Object.keys(re).forEach(we=>{Jn(we,re[we])})}).catch(()=>{})};Object.keys(Kn).forEach(p=>{Jn(p,Kn[p])});const Je=()=>{window.postMessage({type:"CloseCashierReceiptPage"},window.location.href)},Le=()=>{window.postMessage({type:"ErrorResponseCode",errorResponseCode:te,showErrorOutsideReceiptPage:de},window.location.href)},Ie=()=>{const p=new URL(`${i}/v1/player/${f}/payment/GetPaymentInfo`),re=new Headers;re.append("accept","application/json"),re.append("Content-Type","application/json"),re.append("X-SessionId",`${o}`),re.append("X-Client-Request-Timestamp",Dt.utc().format("YYYY-MM-DD HH:mm:ss.SSS")),_.indexOf("MM_CHANNEL_BETA")!=-1&&re.append("MM_CHANNEL","BETA");const we={method:"POST",headers:re,body:JSON.stringify({TransactionCode:m})};n(11,Y=!0),fetch(p,we).then(J=>J.json()).then(J=>{var gt,Sn,Tn,Mn,Hn,Pn,Bn,An,On;if(J.ResponseCode!==b.Success){n(19,te=J.ResponseCode),n(20,de=u.toLowerCase()==="false"||!u),Le();return}switch(n(15,x={type:J.Transaction.Type,referenceId:J.Transaction.Code,status:(gt=J.Transaction.Status)==null?void 0:gt.Status,message:(Sn=J.Transaction.Status)==null?void 0:Sn.Message,amount:(Tn=J.Transaction.Amounts[0])==null?void 0:Tn.Amount,currency:(Mn=J.Transaction.Amounts[0])==null?void 0:Mn.Currency,time:J.Transaction.Status.Created}),n(16,$=J.ReceiptInfo&&J.ReceiptInfo.ReceiptFields?J.ReceiptInfo.ReceiptFields.map(He=>({type:H.get(He.Type),name:He.Name,description:He.Description,defaultValue:He.DefaultValue,useCopyButton:He.UseCopyButton,usePrintButton:He.UsePrintButton})):[]),J.ReceiptInfo&&J.ReceiptInfo.ReceiptFields&&!A&&n(0,A=$[0].defaultValue),r(Ys(x.status,x.type),{values:{errorText:x.message}}),n(17,z=ga(Number(x.amount),x.currency)),x.status){case"Voided":case"Success":if(oe(R||"casino, livecasino, tournaments"),n(21,ce="success"),x.type==="Deposit"){const He=(Pn=(Hn=J.Transaction)==null?void 0:Hn.Flags)==null?void 0:Pn.NewDepositCustomer,$e=(Bn=J==null?void 0:J.Transaction)==null?void 0:Bn.Payloads;window.postMessage({type:He==="True"?"FirstDeposit":"ConfirmedDeposit",method:A,amount:x.amount,currency:x.currency,depositType:(An=$e==null?void 0:$e.TagManagerDepositType)!=null?An:"",publicPaymentId:(On=$e==null?void 0:$e.TagManagerCode)!=null?On:""},window.location.href)}ur(x.type==="Deposit"?"deposit_success":"withdrawal_success",{userID:f,amount:x.amount,currency:x.currency,failureReason:x.message});break;case"PendingNotification":case"PendingConfirmation":case"PendingApprovalStage1":case"PendingApprovalStage2":case"PendingApprovalStage3":case"PendingOfflineNotification":oe(V||"casino, livecasino, tournaments"),n(21,ce="pending");break;case"Rejected":case"Cancelled":case"Failed":oe(pe||"casino, livecasino, tournaments"),n(21,ce=x.status.toLowerCase()),ur(x.type==="Deposit"?"deposit_failed":"withdrawal_failed",{userID:f,amount:x.amount,currency:x.currency,failureReason:x.message}),N==="true"&&n(22,fe=!0);break;default:oe("close")}c?Zs(c,x.status):Xs(x.status)}).finally(()=>n(11,Y=!1))},Ke=p=>{window.postMessage({type:p},window.location.href)},et=p=>{p&&window.postMessage({type:"NavigateTo",path:p,target:Da,externalLink:!1},window.location.href)};let xe,se;const ae=(p,re=!0)=>Wt(this,null,function*(){const J=p.currentTarget.innerHTML;if(J&&navigator.clipboard&&navigator.clipboard.writeText)try{yield navigator.clipboard.writeText(J),re&&(n(23,xe=!0),clearTimeout(se),se=setTimeout(()=>{n(23,xe=!1)},2e3))}catch(gt){console.error("Clipboard API failed:",gt)}}),mt=()=>{L.length>0&&(_=L.split(","))},De=p=>ae(p),ye=p=>Ke(p.event);function le(p){ut[p?"unshift":"push"](()=>{Q[Q.length]=p,n(18,Q)})}const T=p=>{et(p.description)};function U(p){ut[p?"unshift":"push"](()=>{I=p,n(10,I)})}return e.$$set=p=>{"endpoint"in p&&n(1,i=p.endpoint),"session"in p&&n(2,o=p.session),"lang"in p&&n(3,s=p.lang),"local"in p&&n(31,a=p.local),"showerrors"in p&&n(32,u=p.showerrors),"translationurl"in p&&n(4,l=p.translationurl),"assetsurl"in p&&n(5,c=p.assetsurl),"customerid"in p&&n(6,f=p.customerid),"transactionid"in p&&n(33,m=p.transactionid),"currencydecimals"in p&&n(34,g=p.currencydecimals),"type"in p&&n(35,v=p.type),"clientstyling"in p&&n(7,d=p.clientstyling),"clientstylingurl"in p&&n(8,P=p.clientstylingurl),"mbsource"in p&&n(36,O=p.mbsource),"showverifications"in p&&n(9,N=p.showverifications),"paymentmethod"in p&&n(0,A=p.paymentmethod),"customsucceessbuttons"in p&&n(37,R=p.customsucceessbuttons),"custompendingbuttons"in p&&n(38,V=p.custompendingbuttons),"customfailedbuttons"in p&&n(39,pe=p.customfailedbuttons),"currencysymbol"in p&&n(40,ue=p.currencysymbol),"currencyposition"in p&&n(41,q=p.currencyposition),"userroles"in p&&n(42,L=p.userroles),"windowsize"in p&&n(43,be=p.windowsize),"p2p"in p&&n(44,Se=p.p2p)},e.$$.update=()=>{e.$$.dirty[1]&2048&&L&&mt(),e.$$.dirty[0]&70|e.$$.dirty[1]&6&&i&&o&&f&&m&&u&&Ie(),e.$$.dirty[0]&8&&s&&me(),e.$$.dirty[0]&24&&s&&l&&Te(),e.$$.dirty[0]&1152&&d&&I&&wi(I,d),e.$$.dirty[0]&1280&&P&&I&&xi(I,P),e.$$.dirty[0]&1024|e.$$.dirty[1]&32&&O&&I&&Ei(I,`${O}.Style`,X)},[A,i,o,s,l,c,f,d,P,N,I,Y,S,b,y,x,$,z,Q,te,de,ce,fe,xe,r,Ce,Je,Ie,Ke,et,ae,a,u,m,g,v,O,R,V,pe,ue,q,L,be,Se,De,ye,le,T,U]}class Si extends kr{constructor(t){super(),Ir(this,t,$a,Ia,yn,{endpoint:1,session:2,lang:3,local:31,showerrors:32,translationurl:4,assetsurl:5,customerid:6,transactionid:33,currencydecimals:34,type:35,clientstyling:7,clientstylingurl:8,mbsource:36,showverifications:9,paymentmethod:0,customsucceessbuttons:37,custompendingbuttons:38,customfailedbuttons:39,currencysymbol:40,currencyposition:41,userroles:42,windowsize:43,p2p:44},va,[-1,-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),Z()}get session(){return this.$$.ctx[2]}set session(t){this.$$set({session:t}),Z()}get lang(){return this.$$.ctx[3]}set lang(t){this.$$set({lang:t}),Z()}get local(){return this.$$.ctx[31]}set local(t){this.$$set({local:t}),Z()}get showerrors(){return this.$$.ctx[32]}set showerrors(t){this.$$set({showerrors:t}),Z()}get translationurl(){return this.$$.ctx[4]}set translationurl(t){this.$$set({translationurl:t}),Z()}get assetsurl(){return this.$$.ctx[5]}set assetsurl(t){this.$$set({assetsurl:t}),Z()}get customerid(){return this.$$.ctx[6]}set customerid(t){this.$$set({customerid:t}),Z()}get transactionid(){return this.$$.ctx[33]}set transactionid(t){this.$$set({transactionid:t}),Z()}get currencydecimals(){return this.$$.ctx[34]}set currencydecimals(t){this.$$set({currencydecimals:t}),Z()}get type(){return this.$$.ctx[35]}set type(t){this.$$set({type:t}),Z()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),Z()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),Z()}get mbsource(){return this.$$.ctx[36]}set mbsource(t){this.$$set({mbsource:t}),Z()}get showverifications(){return this.$$.ctx[9]}set showverifications(t){this.$$set({showverifications:t}),Z()}get paymentmethod(){return this.$$.ctx[0]}set paymentmethod(t){this.$$set({paymentmethod:t}),Z()}get customsucceessbuttons(){return this.$$.ctx[37]}set customsucceessbuttons(t){this.$$set({customsucceessbuttons:t}),Z()}get custompendingbuttons(){return this.$$.ctx[38]}set custompendingbuttons(t){this.$$set({custompendingbuttons:t}),Z()}get customfailedbuttons(){return this.$$.ctx[39]}set customfailedbuttons(t){this.$$set({customfailedbuttons:t}),Z()}get currencysymbol(){return this.$$.ctx[40]}set currencysymbol(t){this.$$set({currencysymbol:t}),Z()}get currencyposition(){return this.$$.ctx[41]}set currencyposition(t){this.$$set({currencyposition:t}),Z()}get userroles(){return this.$$.ctx[42]}set userroles(t){this.$$set({userroles:t}),Z()}get windowsize(){return this.$$.ctx[43]}set windowsize(t){this.$$set({windowsize:t}),Z()}get p2p(){return this.$$.ctx[44]}set p2p(t){this.$$set({p2p:t}),Z()}}$r(Si,{endpoint:{},session:{},lang:{},local:{},showerrors:{},translationurl:{},assetsurl:{},customerid:{},transactionid:{},currencydecimals:{},type:{},clientstyling:{},clientstylingurl:{},mbsource:{},showverifications:{},paymentmethod:{},customsucceessbuttons:{},custompendingbuttons:{},customfailedbuttons:{},currencysymbol:{},currencyposition:{},userroles:{},windowsize:{},p2p:{}},[],[],!0);const ka=Object.freeze(Object.defineProperty({__proto__:null,default:Si},Symbol.toStringTag,{value:"Module"}));exports.$format=fi;exports.$locale=Re;exports.CashierReceiptPage_ce=ka;exports.SvelteComponent=kr;exports.addMessages=xn;exports.append=C;exports.append_styles=Mr;exports.attr=h;exports.binding_callbacks=ut;exports.component_subscribe=_r;exports.create_custom_element=$r;exports.create_slot=Ri;exports.detach=M;exports.element=E;exports.empty=$t;exports.flush=Z;exports.get_all_dirty_from_scope=Di;exports.get_slot_changes=Li;exports.init=ui;exports.init$1=Ir;exports.insert=B;exports.listen=We;exports.onMount=Ar;exports.safe_not_equal=yn;exports.setClientStyling=wi;exports.setClientStylingURL=xi;exports.setStreamStyling=Ei;exports.set_custom_element_data=F;exports.set_data=W;exports.space=G;exports.src_url_equal=Kt;exports.text=j;exports.transition_in=Bt;exports.transition_out=Rr;exports.update_slot_base=Ii;
|
|
48
|
+
`};if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CashierError-DMbIT0wg.cjs")).then(({default:t})=>{!customElements.get("cashier-error")&&customElements.define("cashier-error",t.element)})}function va(e){Mr(e,"svelte-nkabfs",'.LoadingOverlay{width:100%;height:100%;display:flex;position:relative;top:0;left:0;justify-content:center;align-items:center;z-index:100;background:transparent}.CopyTooltip{transform:translateX(-50%);color:var(--emw--color-typography, #fff);opacity:1;container-name:copy-tooltip;font-size:var(--emw--font-size-medium, 16px);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);padding:15px;position:fixed;left:50%;top:40%;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:3;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3)}.CopyTooltip::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.Spinner{width:40px;height:40px;border:4px solid #e0e0e0;border-top:4px solid var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.CashierReceiptPageWidget{position:relative}.CashierReceiptPage{border-radius:var(--emw--border-radius-medium-plus, 6px);background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));padding:0 0 var(--emw--spacing-small-minus, 10px) 0;margin:0 auto;position:relative;word-wrap:break-word;display:flex;flex-direction:column;justify-content:space-between;height:100%}.ReceiptWrapper{width:100%;height:200px;border-bottom:1px solid var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;align-items:flex-end;flex-direction:row-reverse;position:relative}.ReceiptWrapper .ImagePlaceholder{height:100%;width:100%;background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.success{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.fail{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.pending{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.cancel{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.rejected{background:#e6e6e6}.ReceiptStatusWrapper{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px 30px 0;gap:10px}.ReceiptStatusWrapper .ReceiptStatusIcon.success svg,.ReceiptStatusWrapper .ReceiptStatusIcon.success circle,.ReceiptStatusWrapper .ReceiptStatusIcon.success path{fill:var(--emw--color-valid, #41d195)}.ReceiptStatusWrapper .ReceiptStatusIcon.pending svg,.ReceiptStatusWrapper .ReceiptStatusIcon.pending circle,.ReceiptStatusWrapper .ReceiptStatusIcon.pending path{fill:var(--emw--color-pending, #ff6836)}.ReceiptStatusWrapper .ReceiptStatusIcon.failed svg,.ReceiptStatusWrapper .ReceiptStatusIcon.failed circle,.ReceiptStatusWrapper .ReceiptStatusIcon.failed path{fill:var(--emw--color-error, #ff3636)}.ReceiptStatusWrapper .ReceiptStatusText{text-align:center}.ReceiptStatusWrapper .ReceiptStatusText h3,.ReceiptStatusWrapper .ReceiptStatusText p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));padding:0;margin:10px}.ReceiptStatusWrapper .ReceiptStatusText p{font-size:14px;font-weight:200}.ReceiptStatusWrapper .TryAgainBtn,.ReceiptStatusWrapper .RefreshButton{border-radius:20px;padding:7px 20px;border:none;box-shadow:inset 0px 0px 0px 2px rgba(255, 226, 123, 0.3);color:var(--emw--color-white, #ffffff);background-color:rgba(249, 196, 8, 0.3019607843)}.ReceiptDetailsWrapper{position:relative;display:flex;flex-direction:column;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);padding:20px;margin:10px;z-index:1}.ReceiptDetailsWrapper::before{content:"";position:absolute;inset:0;opacity:0.3;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%)}.ReceiptDetailsWrapper .TxnId{cursor:pointer}.ReceiptDetailsWrapper .TxnId .TxnIdText{overflow:hidden;text-overflow:ellipsis;display:inline-block;white-space:nowrap}.ReceiptDetailsWrapper .Amount,.ReceiptDetailsWrapper .Status,.ReceiptDetailsWrapper .TxnId,.ReceiptDetailsWrapper .PaymentMethod,.ReceiptDetailsWrapper .PaymentTime{display:flex;justify-content:space-between;align-items:center;color:var(--emw--color-typography, var(--emw--color-white, #ffffff))}.ReceiptDetailsWrapper .Amount p,.ReceiptDetailsWrapper .Status p,.ReceiptDetailsWrapper .TxnId p,.ReceiptDetailsWrapper .PaymentMethod p,.ReceiptDetailsWrapper .PaymentTime p{font-weight:200;font-size:12px;margin-right:5px;width:auto}.ReceiptDetailsWrapper .Amount span,.ReceiptDetailsWrapper .Status span,.ReceiptDetailsWrapper .TxnId span,.ReceiptDetailsWrapper .PaymentMethod span,.ReceiptDetailsWrapper .PaymentTime span{font-size:12px;word-break:break-all;font-weight:500;max-width:70%;text-align:right}.ReceiptDetailsWrapper .Status{border-bottom:1px solid rgba(255, 255, 255, 0.276);padding-bottom:10px}.ReceiptDetailsWrapper .Status span{padding:10px;font-size:var(--emw--font-size-small, 12px);border-radius:16px}.ReceiptDetailsWrapper .Status.success span{background-color:rgba(65, 209, 149, 0.1215686275);color:var(--emw--color-valid, #41d195)}.ReceiptDetailsWrapper .Status.pending span{background-color:rgba(255, 104, 54, 0.1215686275);color:var(--emw--color-pending, #ff6836)}.ReceiptDetailsWrapper .Status.failed span{background-color:rgba(209, 65, 65, 0.1215686275);color:var(--emw--color-error, #ff3636)}.ReceiptDetailsWrapper .Status.rejected span{background-color:rgba(209, 65, 65, 0.1215686275);color:var(--emw--color-error, #ff3636)}.ReceiptDetailsWrapper .TxnId{margin-top:15px}.TitleWrapper{display:flex;position:absolute;left:0;bottom:11px;flex-direction:column;justify-content:flex-end;flex-shrink:0}.Title{color:var(--emw--color-gray-10, #111);font-size:var(--emw--font-size-x-large-plus, 26px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;line-height:var(--emw--font-size-x-large-plus, 26px)}.SubTitle{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-290, #666);margin-top:var(--emw--spacing-small, 12px)}.Text{padding:var(--emw--spacing-small, 12px) 0;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-10, #111)}.CashierErrorText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:130%;text-align:center}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.Reference{color:var(--emw--color-gray-290, #666);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400);margin:0}.ReceiptButtonsWrapper{display:grid;grid-template-columns:1fr 1fr 1fr;height:75px;gap:8px;margin:0 10px}.ReceiptButtonsWrapper .GoToButton{cursor:pointer;border-radius:8px;border:none;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-gey-600, rgba(237, 237, 237, 0.0784313725));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px;transition:all 0.3s ease}.ReceiptButtonsWrapper .GoToButton:hover,.ReceiptButtonsWrapper .GoToButton:active{transform:scale(1.05)}.DefaultButton{text-transform:uppercase;font-weight:var(--emw--font-weight-semibold, 600);color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));border:none;background:var(--emw--color-primary, #f9c408);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:var(--emw--border-radius-medium, 12px);min-height:44px;font-size:var(--emw--font-size-medium, 16px);font-family:inherit;margin:20px 10px;width:calc(100% - 20px);transition:background 0.3s ease}.DefaultButton:hover{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background:var(--emw--color-hover, #dbac03)}.DefaultButton:active{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background:var(--emw--color-active, #fecd1c)}.HeaderButtonContainer{position:absolute;z-index:1;right:0;top:0;display:flex;align-items:baseline;gap:var(--emw--spacing-small, 12px);padding:var(--emw--spacing-small, 12px) 0}.HeaderButtonContainer>span{cursor:pointer}.ReceiptField{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);line-height:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-150, #666);margin:var(--emw--spacing-small, 12px)}@media(min-width: 750px){.CashierReceiptPage{background-color:transparent}.CashierReceiptPageWidget{position:absolute;width:calc(100% - 20px)}}.CustomButtonSvg svg{width:32px;height:32px;fill:var(--emw--color-primary)}')}function cr(e,t,n){const r=e.slice();return r[70]=t[n],r[72]=n,r}function fr(e,t,n){const r=e.slice();return r[73]=t[n],r}function Ca(e){let t,n,r=ar(e[25])&&e[9]&&e[22],i,o=e[23]&&hr(e),s=r&&pr(e);function a(c,f){if(c[15])return xa;if(c[19]&&!c[20])return wa}let u=a(e),l=u&&u(e);return{c(){o&&o.c(),t=G(),n=E("div"),s&&s.c(),i=G(),l&&l.c(),h(n,"class","CashierReceiptPage")},m(c,f){o&&o.m(c,f),B(c,t,f),B(c,n,f),s&&s.m(n,null),C(n,i),l&&l.m(n,null)},p(c,f){c[23]?o?(o.p(c,f),f[0]&8388608&&Bt(o,1)):(o=hr(c),o.c(),Bt(o,1),o.m(t.parentNode,t)):o&&(Xi(),Rr(o,1,1,()=>{o=null}),qi()),f[0]&4194816&&(r=ar(c[25])&&c[9]&&c[22]),r?s?s.p(c,f):(s=pr(c),s.c(),s.m(n,i)):s&&(s.d(1),s=null),u===(u=a(c))&&l?l.p(c,f):(l&&l.d(1),l=u&&u(c),l&&(l.c(),l.m(n,null)))},d(c){c&&(M(t),M(n)),o&&o.d(c),s&&s.d(),l&&l.d()}}}function _a(e){let t;return{c(){t=E("div"),t.innerHTML='<div class="Spinner"></div>',h(t,"class","LoadingOverlay")},m(n,r){B(n,t,r)},p:ie,d(n){n&&M(t)}}}function hr(e){let t,n=e[24]("copyTransactionId")+"",r,i,o,s;return{c(){t=E("div"),r=j(n),h(t,"class","CopyTooltip")},m(a,u){B(a,t,u),C(t,r),s=!0},p(a,u){(!s||u[0]&16777216)&&n!==(n=a[24]("copyTransactionId")+"")&&W(r,n)},i(a){s||(a&&Ve(()=>{s&&(o&&o.end(1),i=Qi(t,$n,{duration:100}),i.start())}),s=!0)},o(a){i&&i.invalidate(),a&&(o=Ji(t,$n,{duration:1e3})),s=!1},d(a){a&&M(t),a&&o&&o.end()}}}function pr(e){let t;return{c(){t=E("cashier-verifications"),F(t,"lang",e[3]),F(t,"translationurl",e[4]),F(t,"endpoint",e[1]),F(t,"clientstylingurl",e[8]),F(t,"clientstyling",e[7]),F(t,"customerid",e[6]),F(t,"playersession",e[2])},m(n,r){B(n,t,r)},p(n,r){r[0]&8&&F(t,"lang",n[3]),r[0]&16&&F(t,"translationurl",n[4]),r[0]&2&&F(t,"endpoint",n[1]),r[0]&256&&F(t,"clientstylingurl",n[8]),r[0]&128&&F(t,"clientstyling",n[7]),r[0]&64&&F(t,"customerid",n[6]),r[0]&4&&F(t,"playersession",n[2])},d(n){n&&M(t)}}}function wa(e){let t,n=e[19]===e[13].Maintenance&&dr(e);return{c(){t=E("cashier-error"),n&&n.c(),F(t,"assetsurl",e[5]),F(t,"translationurl",e[4]),F(t,"clientstylingurl",e[8]),F(t,"clientstyling",e[7]),F(t,"lang",e[3]),F(t,"hidebuttons","true"),F(t,"errorcode",e[19])},m(r,i){B(r,t,i),n&&n.m(t,null)},p(r,i){r[19]===r[13].Maintenance?n?n.p(r,i):(n=dr(r),n.c(),n.m(t,null)):n&&(n.d(1),n=null),i[0]&32&&F(t,"assetsurl",r[5]),i[0]&16&&F(t,"translationurl",r[4]),i[0]&256&&F(t,"clientstylingurl",r[8]),i[0]&128&&F(t,"clientstyling",r[7]),i[0]&8&&F(t,"lang",r[3]),i[0]&524288&&F(t,"errorcode",r[19])},d(r){r&&M(t),n&&n.d()}}}function xa(e){let t,n,r,i,o,s=e[24]("amount")+"",a,u,l,c,f,m,g,v=e[24]("status")+"",d,P,O,N=e[24](`${e[21]}`)+"",A,Y,X,R,V,pe=e[24]("transactionId")+"",ue,q,L,be=e[15].referenceId+"",Se,S,_,b,y=e[24]("payemntMethod")+"",w,H,x,$,z,I,Q,te=e[24]("paymentTime")+"",de,ce,Ce,fe=Dt(e[15].time).format("MMM DD, YYYY, HH:mm:ss")+"",ne,oe,me,_e,Te,Je,Le,Ie,Ke;function et(T,U){if(T[21]==="success")return Ta;if(T[21]==="pending")return Sa;if(T[21]==="failed"||T[21]==="rejected"||T[21]==="canceled")return Ea}let xe=et(e),se=xe&&xe(e),ae=e[12].length>0&&mr(e);function mt(T,U){return T[15].type?Ha:Ma}let De=mt(e),ye=De(e),le=e[16].length&&br(e);return{c(){t=E("div"),se&&se.c(),n=G(),r=E("div"),i=E("div"),o=E("p"),a=j(s),u=G(),l=E("span"),c=j(e[17]),f=G(),m=E("div"),g=E("p"),d=j(v),P=G(),O=E("span"),A=j(N),X=G(),R=E("div"),V=E("p"),ue=j(pe),q=G(),L=E("span"),Se=j(be),S=G(),_=E("div"),b=E("p"),w=j(y),H=G(),x=E("span"),$=j(e[0]),z=G(),I=E("div"),Q=E("p"),de=j(te),ce=G(),Ce=E("span"),ne=j(fe),oe=G(),me=E("div"),ae&&ae.c(),_e=G(),Te=E("button"),ye.c(),Je=G(),le&&le.c(),Le=$t(),h(t,"class","ReceiptStatusWrapper"),h(i,"class","Amount"),h(m,"class",Y=`Status ${e[21]}`),h(L,"class","TxnIdText"),h(R,"class","TxnId"),h(_,"class","PaymentMethod"),h(I,"class","PaymentTime"),h(r,"class","ReceiptDetailsWrapper"),h(me,"class","ReceiptButtonsWrapper"),h(Te,"class","DefaultButton")},m(T,U){B(T,t,U),se&&se.m(t,null),B(T,n,U),B(T,r,U),C(r,i),C(i,o),C(o,a),C(i,u),C(i,l),C(l,c),C(r,f),C(r,m),C(m,g),C(g,d),C(m,P),C(m,O),C(O,A),C(r,X),C(r,R),C(R,V),C(V,ue),C(R,q),C(R,L),C(L,Se),C(r,S),C(r,_),C(_,b),C(b,w),C(_,H),C(_,x),C(x,$),C(r,z),C(r,I),C(I,Q),C(Q,de),C(I,ce),C(I,Ce),C(Ce,ne),B(T,oe,U),B(T,me,U),ae&&ae.m(me,null),B(T,_e,U),B(T,Te,U),ye.m(Te,null),B(T,Je,U),le&&le.m(T,U),B(T,Le,U),Ie||(Ke=[We(L,"click",e[45]),We(Te,"click",e[26])],Ie=!0)},p(T,U){xe===(xe=et(T))&&se?se.p(T,U):(se&&se.d(1),se=xe&&xe(T),se&&(se.c(),se.m(t,null))),U[0]&16777216&&s!==(s=T[24]("amount")+"")&&W(a,s),U[0]&131072&&W(c,T[17]),U[0]&16777216&&v!==(v=T[24]("status")+"")&&W(d,v),U[0]&18874368&&N!==(N=T[24](`${T[21]}`)+"")&&W(A,N),U[0]&2097152&&Y!==(Y=`Status ${T[21]}`)&&h(m,"class",Y),U[0]&16777216&&pe!==(pe=T[24]("transactionId")+"")&&W(ue,pe),U[0]&32768&&be!==(be=T[15].referenceId+"")&&W(Se,be),U[0]&16777216&&y!==(y=T[24]("payemntMethod")+"")&&W(w,y),U[0]&1&&W($,T[0]),U[0]&16777216&&te!==(te=T[24]("paymentTime")+"")&&W(de,te),U[0]&32768&&fe!==(fe=Dt(T[15].time).format("MMM DD, YYYY, HH:mm:ss")+"")&&W(ne,fe),T[12].length>0?ae?ae.p(T,U):(ae=mr(T),ae.c(),ae.m(me,null)):ae&&(ae.d(1),ae=null),De===(De=mt(T))&&ye?ye.p(T,U):(ye.d(1),ye=De(T),ye&&(ye.c(),ye.m(Te,null))),T[16].length?le?le.p(T,U):(le=br(T),le.c(),le.m(Le.parentNode,Le)):le&&(le.d(1),le=null)},d(T){T&&(M(t),M(n),M(r),M(oe),M(me),M(_e),M(Te),M(Je),M(Le)),se&&se.d(),ae&&ae.d(),ye.d(),le&&le.d(T),Ie=!1,Ae(Ke)}}}function dr(e){let t,n,r,i=e[24]("receipt.maintenance.title")+"",o,s,a,u=e[24]("receipt.maintenance.text")+"",l;return{c(){t=E("div"),t.innerHTML='<div class="ImagePlaceholder Maintenance"></div>',n=G(),r=E("span"),o=j(i),s=G(),a=E("span"),l=j(u),h(t,"slot","icon"),h(r,"slot","title"),h(r,"class","CashierErrorTitle"),h(a,"slot","text"),h(a,"class","CashierErrorText")},m(c,f){B(c,t,f),B(c,n,f),B(c,r,f),C(r,o),B(c,s,f),B(c,a,f),C(a,l)},p(c,f){f[0]&16777216&&i!==(i=c[24]("receipt.maintenance.title")+"")&&W(o,i),f[0]&16777216&&u!==(u=c[24]("receipt.maintenance.text")+"")&&W(l,u)},d(c){c&&(M(t),M(n),M(r),M(s),M(a))}}}function Ea(e){let t,n,r,i,o,s,a,u=e[24](`${e[15].type.toLowerCase()}.fail.title`)+"",l,c,f,m=e[24](`${e[15].type.toLowerCase()}.fail.text`)+"",g;return{c(){t=ge("svg"),n=ge("circle"),r=ge("rect"),i=ge("path"),o=G(),s=E("div"),a=E("h3"),l=j(u),c=G(),f=E("p"),g=j(m),h(n,"cx","36"),h(n,"cy","36"),h(n,"r","36"),h(n,"fill","#D14141"),h(n,"fill-opacity","0.12"),h(r,"x","19.335"),h(r,"y","19"),h(r,"width","33.33"),h(r,"height","33.33"),h(r,"rx","16.665"),h(r,"fill","#FF3636"),h(i,"d","M29.085 41.915L41.585 29.415M41.585 41.915L29.085 29.415"),h(i,"stroke","black"),h(i,"stroke-width","2.09016"),h(i,"stroke-linecap","round"),h(i,"stroke-linejoin","round"),h(t,"class","ReceiptStatusIcon failed"),h(t,"width","72"),h(t,"height","72"),h(t,"viewBox","0 0 72 72"),h(t,"fill","none"),h(t,"xmlns","http://www.w3.org/2000/svg"),h(s,"class","ReceiptStatusText")},m(v,d){B(v,t,d),C(t,n),C(t,r),C(t,i),B(v,o,d),B(v,s,d),C(s,a),C(a,l),C(s,c),C(s,f),C(f,g)},p(v,d){d[0]&16809984&&u!==(u=v[24](`${v[15].type.toLowerCase()}.fail.title`)+"")&&W(l,u),d[0]&16809984&&m!==(m=v[24](`${v[15].type.toLowerCase()}.fail.text`)+"")&&W(g,m)},d(v){v&&(M(t),M(o),M(s))}}}function Sa(e){let t,n,r,i,o,s,a,u,l,c=e[24](`${e[15].type.toLowerCase()}.pending.title`)+"",f,m,g,v=e[24](`${e[15].type.toLowerCase()}.pending.text`)+"",d,P,O,N=e[24]("refreshButton")+"",A,Y,X;return{c(){t=ge("svg"),n=ge("circle"),r=ge("rect"),i=ge("path"),o=ge("path"),s=ge("path"),a=G(),u=E("div"),l=E("h3"),f=j(c),m=G(),g=E("p"),d=j(v),P=G(),O=E("button"),A=j(N),h(n,"cx","36"),h(n,"cy","36"),h(n,"r","36"),h(n,"fill","#D19A41"),h(n,"fill-opacity","0.12"),h(r,"x","19"),h(r,"y","19"),h(r,"width","34"),h(r,"height","34"),h(r,"rx","17"),h(r,"fill","#FF6836"),h(i,"d","M36 46C30.4771 46 26 41.5228 26 36C26 30.4772 30.4772 26 36 26C40.4776 26 44.2257 28.9429 45.5 33H43"),h(i,"stroke","black"),h(i,"stroke-width","1.5"),h(i,"stroke-linecap","round"),h(i,"stroke-linejoin","round"),h(o,"d","M36 32V36L38 38"),h(o,"stroke","black"),h(o,"stroke-width","1.5"),h(o,"stroke-linecap","round"),h(o,"stroke-linejoin","round"),h(s,"d","M45.9551 37C45.9848 36.6709 46 36.3373 46 36M39 46C39.3416 45.8876 39.6753 45.7564 40 45.6078M44.7906 41C44.9835 40.6284 45.1555 40.2433 45.305 39.8462M42.1925 44.2292C42.5369 43.9441 42.8631 43.6358 43.1688 43.3065"),h(s,"stroke","black"),h(s,"stroke-width","1.5"),h(s,"stroke-linecap","round"),h(s,"stroke-linejoin","round"),h(t,"class","ReceiptStatusIcon pending"),h(t,"width","72"),h(t,"height","72"),h(t,"viewBox","0 0 72 72"),h(t,"fill","none"),h(t,"xmlns","http://www.w3.org/2000/svg"),h(u,"class","ReceiptStatusText"),h(O,"class","RefreshButton")},m(R,V){B(R,t,V),C(t,n),C(t,r),C(t,i),C(t,o),C(t,s),B(R,a,V),B(R,u,V),C(u,l),C(l,f),C(u,m),C(u,g),C(g,d),B(R,P,V),B(R,O,V),C(O,A),Y||(X=We(O,"click",e[27]),Y=!0)},p(R,V){V[0]&16809984&&c!==(c=R[24](`${R[15].type.toLowerCase()}.pending.title`)+"")&&W(f,c),V[0]&16809984&&v!==(v=R[24](`${R[15].type.toLowerCase()}.pending.text`)+"")&&W(d,v),V[0]&16777216&&N!==(N=R[24]("refreshButton")+"")&&W(A,N)},d(R){R&&(M(t),M(a),M(u),M(P),M(O)),Y=!1,X()}}}function Ta(e){let t,n,r,i,o,s,a=e[24](`${e[15].type.toLowerCase()}.success.title`)+"",u,l,c,f=e[24](`${e[15].type.toLowerCase()}.success.text`)+"",m;return{c(){t=ge("svg"),n=ge("circle"),r=ge("path"),i=G(),o=E("div"),s=E("h3"),u=j(a),l=G(),c=E("p"),m=j(f),h(n,"cx","36"),h(n,"cy","36"),h(n,"r","36"),h(n,"fill","#F9C408"),h(n,"fill-opacity","0.12"),h(r,"d","M36.5 19.3333C27.3167 19.3333 19.8333 26.8166 19.8333 36C19.8333 45.1833 27.3167 52.6666 36.5 52.6666C45.6833 52.6666 53.1667 45.1833 53.1667 36C53.1667 26.8166 45.6833 19.3333 36.5 19.3333ZM44.4667 32.1666L35.0167 41.6166C34.7833 41.85 34.4667 41.9833 34.1333 41.9833C33.8 41.9833 33.4833 41.85 33.25 41.6166L28.5333 36.9C28.05 36.4166 28.05 35.6166 28.5333 35.1333C29.0167 34.65 29.8167 34.65 30.3 35.1333L34.1333 38.9666L42.7 30.4C43.1833 29.9166 43.9833 29.9166 44.4667 30.4C44.95 30.8833 44.95 31.6666 44.4667 32.1666Z"),h(r,"fill","#F9C408"),h(t,"class","ReceiptStatusIcon success"),h(t,"width","72"),h(t,"height","72"),h(t,"viewBox","0 0 72 72"),h(t,"fill","none"),h(t,"xmlns","http://www.w3.org/2000/svg"),h(o,"class","ReceiptStatusText")},m(g,v){B(g,t,v),C(t,n),C(t,r),B(g,i,v),B(g,o,v),C(o,s),C(s,u),C(o,l),C(o,c),C(c,m)},p(g,v){v[0]&16809984&&a!==(a=g[24](`${g[15].type.toLowerCase()}.success.title`)+"")&&W(u,a),v[0]&16809984&&f!==(f=g[24](`${g[15].type.toLowerCase()}.success.text`)+"")&&W(m,f)},d(g){g&&(M(t),M(i),M(o))}}}function mr(e){let t,n=At(e[12]),r=[];for(let i=0;i<n.length;i+=1)r[i]=gr(fr(e,n,i));return{c(){for(let i=0;i<r.length;i+=1)r[i].c();t=$t()},m(i,o){for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(i,o);B(i,t,o)},p(i,o){if(o[0]&285216768){n=At(i[12]);let s;for(s=0;s<n.length;s+=1){const a=fr(i,n,s);r[s]?r[s].p(a,o):(r[s]=gr(a),r[s].c(),r[s].m(t.parentNode,t))}for(;s<r.length;s+=1)r[s].d(1);r.length=n.length}},d(i){i&&M(t),Pr(r,i)}}}function gr(e){var m;let t,n,r=((m=lr[`${e[73].type}`])!=null?m:"")+"",i,o=e[24](`${e[73].translationKey}`)+"",s,a,u,l,c;function f(){return e[46](e[73])}return{c(){t=E("button"),n=E("div"),i=G(),s=j(o),a=G(),h(n,"class","CustomButtonSvg"),h(t,"class",u=`${e[73].type} GoToButton`)},m(g,v){B(g,t,v),C(t,n),n.innerHTML=r,C(t,i),C(t,s),C(t,a),l||(c=We(t,"click",f),l=!0)},p(g,v){var d;e=g,v[0]&4096&&r!==(r=((d=lr[`${e[73].type}`])!=null?d:"")+"")&&(n.innerHTML=r),v[0]&16781312&&o!==(o=e[24](`${e[73].translationKey}`)+"")&&W(s,o),v[0]&4096&&u!==(u=`${e[73].type} GoToButton`)&&h(t,"class",u)},d(g){g&&M(t),l=!1,c()}}}function Ma(e){let t=e[24]("backHome")+"",n;return{c(){n=j(t)},m(r,i){B(r,n,i)},p(r,i){i[0]&16777216&&t!==(t=r[24]("backHome")+"")&&W(n,t)},d(r){r&&M(n)}}}function Ha(e){let t=e[24](`back${e[15].type}`)+"",n;return{c(){n=j(t)},m(r,i){B(r,n,i)},p(r,i){i[0]&16809984&&t!==(t=r[24](`back${r[15].type}`)+"")&&W(n,t)},d(r){r&&M(n)}}}function br(e){let t,n=At(e[16]),r=[];for(let i=0;i<n.length;i+=1)r[i]=yr(cr(e,n,i));return{c(){for(let i=0;i<r.length;i+=1)r[i].c();t=$t()},m(i,o){for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(i,o);B(i,t,o)},p(i,o){if(o[0]&537214976){n=At(i[16]);let s;for(s=0;s<n.length;s+=1){const a=cr(i,n,s);r[s]?r[s].p(a,o):(r[s]=yr(a),r[s].c(),r[s].m(t.parentNode,t))}for(;s<r.length;s+=1)r[s].d(1);r.length=n.length}},d(i){i&&M(t),Pr(r,i)}}}function Pa(e){let t,n=e[70].defaultValue+"",r;return{c(){t=E("span"),r=j(n),h(t,"class","Label")},m(i,o){B(i,t,o),C(t,r)},p(i,o){o[0]&65536&&n!==(n=i[70].defaultValue+"")&&W(r,n)},d(i){i&&M(t)}}}function Ba(e){return{c:ie,m:ie,p:ie,d:ie}}function Aa(e){let t,n=e[70].description+"",r,i,o,s=e[70].name+"",a,u;return{c(){t=E("span"),r=j(n),i=G(),o=E("a"),a=j(s),h(o,"href",u=e[70].defaultValue),h(o,"target","_blank"),h(o,"rel","noopener noreferrer")},m(l,c){B(l,t,c),C(t,r),C(t,i),C(t,o),C(o,a)},p(l,c){c[0]&65536&&n!==(n=l[70].description+"")&&W(r,n),c[0]&65536&&s!==(s=l[70].name+"")&&W(a,s),c[0]&65536&&u!==(u=l[70].defaultValue)&&h(o,"href",u)},d(l){l&&M(t)}}}function Oa(e){let t,n,r;return{c(){t=E("img"),Kt(t.src,n=e[70].defaultValue)||h(t,"src",n),h(t,"title",r=e[70].description),h(t,"alt","")},m(i,o){B(i,t,o)},p(i,o){o[0]&65536&&!Kt(t.src,n=i[70].defaultValue)&&h(t,"src",n),o[0]&65536&&r!==(r=i[70].description)&&h(t,"title",r)},d(i){i&&M(t)}}}function Ra(e){let t,n=e[70].defaultValue+"";return{c(){t=E("span")},m(r,i){B(r,t,i),t.innerHTML=n},p(r,i){i[0]&65536&&n!==(n=r[70].defaultValue+"")&&(t.innerHTML=n)},d(r){r&&M(t)}}}function La(e){let t,n,r=e[70].defaultValue+"",i,o,s;function a(){return e[48](e[70])}return{c(){t=E("div"),n=E("div"),i=j(r),h(t,"class","QRCode")},m(u,l){B(u,t,l),C(t,n),C(n,i),e[47](n),o||(s=We(t,"click",a),o=!0)},p(u,l){e=u,l[0]&65536&&r!==(r=e[70].defaultValue+"")&&W(i,r)},d(u){u&&M(t),e[47](null),o=!1,s()}}}function yr(e){let t,n;function r(s,a){return s[70].type===s[14].QRCode?La:s[70].type===s[14].Html?Ra:s[70].type===s[14].Image?Oa:s[70].type===s[14].Link?Aa:s[70].type===s[14].Hidden?Ba:Pa}let i=r(e),o=i(e);return{c(){t=E("div"),o.c(),n=G(),h(t,"class","ReceiptField")},m(s,a){B(s,t,a),o.m(t,null),C(t,n)},p(s,a){i===(i=r(s))&&o?o.p(s,a):(o.d(1),o=i(s),o&&(o.c(),o.m(t,n)))},d(s){s&&M(t),o.d()}}}function Ia(e){let t;function n(o,s){return o[11]?_a:Ca}let r=n(e),i=r(e);return{c(){t=E("div"),i.c(),h(t,"class","CashierReceiptPageWidget")},m(o,s){B(o,t,s),i.m(t,null),e[49](t)},p(o,s){r===(r=n(o))&&i?i.p(o,s):(i.d(1),i=r(o),i&&(i.c(),i.m(t,null)))},i:ie,o:ie,d(o){o&&M(t),i.d(),e[49](null)}}}let Da="_blank";function $a(e,t,n){let r;_r(e,fi,p=>n(24,r=p)),Dt.extend(ea);let{endpoint:i}=t,{session:o}=t,{lang:s="en"}=t,{local:a="en-US"}=t,{showerrors:u="true"}=t,{translationurl:l}=t,{assetsurl:c=""}=t,{customerid:f}=t,{transactionid:m}=t,{currencydecimals:g="0"}=t,{type:v}=t,{clientstyling:d=""}=t,{clientstylingurl:P=""}=t,{mbsource:O=""}=t,{showverifications:N="true"}=t,{paymentmethod:A=""}=t,Y=!1,X,{customsucceessbuttons:R=""}=t,{custompendingbuttons:V=""}=t,{customfailedbuttons:pe=""}=t,{currencysymbol:ue=""}=t,{currencyposition:q=""}=t,{userroles:L=""}=t,{windowsize:be}=t,{p2p:Se="false"}=t,S=[],_=[];var b;(function(p){p.Success="Success",p.Maintenance="Maintenance"})(b||(b={}));var y;(function(p){p.Unknown="Unknown",p.Text="Text",p.Boolean="Boolean",p.Number="Number",p.Money="Money",p.DateTime="DateTime",p.Lookup="Lookup",p.IpAddress="IpAddress",p.Date="Date",p.Time="Time",p.LookupCollection="LookupCollection",p.Hidden="Hidden",p.Label="Label",p.Password="Password",p.Link="Link",p.Image="Image",p.Html="Html",p.QRCode="QR"})(y||(y={}));const w=(p,[re,we])=>[...p,...Array.isArray(re)?[...re.map(J=>[J,we])]:[[re,we]]],H=new Map([[["Unknown",0],y.Unknown],[["Text",1],y.Text],[["Boolean",2],y.Boolean],[["Number",3],y.Number],[["Money",4],y.Money],[["DateTime",5],y.DateTime],[["Lookup",6],y.Lookup],[["IpAddress",7],y.IpAddress],[["Date",8],y.Date],[["Time",9],y.Time],[["LookupCollection",10],y.LookupCollection],[["Hidden",11],y.Hidden],[["Label",12],y.Label],[["Password",13],y.Password],[["Link",14],y.Link],[["Image",15],y.Image],[["Html",19],y.Html],[["QR",20],y.QRCode]].reduce(w,[]));let x,$=[],z,I,Q=[],te,de,ce="",Ce=window.navigator.userAgent,fe=!1;const ne={promotions:{event:"Cashier:goToPromotions",translationKey:"goToPromotions",type:"PromotionsButton"},tournaments:{event:"Cashier:goToTournaments",translationKey:"goToTournaments",type:"TournamentsButton"},support:{event:"Cashier:goToContact",translationKey:"goToSupport",type:"SupportButton"},merchanthomepage:{event:"Cashier:goToVendorWebsite",translationKey:"goToMerchantHomePage",type:"MerchantHomePageButton"},sports:{event:"Cashier:goToSports",translationKey:"goToSports",type:"SportsButton"},casino:{event:"Cashier:goToCasino",translationKey:"goToCasino",type:"CasinoButton"},livecasino:{event:"Cashier:goToLiveCasino",translationKey:"goToLiveCasino",type:"LiveCasinoButton"},externallink:{event:"Cashier:externalRedirect",translationKey:"externalLink",type:"ExternalLinkButton"},documentupload:{event:"Cashier:uploadDocuments",translationKey:"uploadDocuments",type:"UploadDocumentButton"},home:{event:"Cashier:goToHome",translationKey:"goToHomepage",type:"HomeButton"},close:{event:"CloseCashierReceiptPage",translationKey:"close",type:"CloseButton"}},oe=p=>{n(12,S=[]),p.split(",").forEach(we=>{ne[we.trim()]&&S.push(ne[we.trim()])})},me=()=>{zs(s)};Ar(()=>(window.addEventListener("message",_e,!1),ma(a,ue,q,g),()=>{window.removeEventListener("message",_e)}));const _e=p=>{var re;switch(p.data.type){case"CloseReceiptInSecondTab":(re=window.opener)==null||re.postMessage(p.data);break}},Te=()=>{let p=l;if(p)return fetch(p).then(re=>re.json()).then(re=>{Object.keys(re).forEach(we=>{Jn(we,re[we])})}).catch(()=>{})};Object.keys(Kn).forEach(p=>{Jn(p,Kn[p])});const Je=()=>{window.postMessage({type:"CloseCashierReceiptPage"},window.location.href)},Le=()=>{window.postMessage({type:"ErrorResponseCode",errorResponseCode:te,showErrorOutsideReceiptPage:de},window.location.href)},Ie=()=>{const p=new URL(`${i}/v1/player/${f}/payment/GetPaymentInfo`),re=new Headers;re.append("accept","application/json"),re.append("Content-Type","application/json"),re.append("X-SessionId",`${o}`),re.append("X-Client-Request-Timestamp",Dt.utc().format("YYYY-MM-DD HH:mm:ss.SSS")),_.indexOf("MM_CHANNEL_BETA")!=-1&&re.append("MM_CHANNEL","BETA");const we={method:"POST",headers:re,body:JSON.stringify({TransactionCode:m})};n(11,Y=!0),fetch(p,we).then(J=>J.json()).then(J=>{var gt,Sn,Tn,Mn,Hn,Pn,Bn,An,On;if(J.ResponseCode!==b.Success){n(19,te=J.ResponseCode),n(20,de=u.toLowerCase()==="false"||!u),Le();return}switch(n(15,x={type:J.Transaction.Type,referenceId:J.Transaction.Code,status:(gt=J.Transaction.Status)==null?void 0:gt.Status,message:(Sn=J.Transaction.Status)==null?void 0:Sn.Message,amount:(Tn=J.Transaction.Amounts[0])==null?void 0:Tn.Amount,currency:(Mn=J.Transaction.Amounts[0])==null?void 0:Mn.Currency,time:J.Transaction.Status.Created}),n(16,$=J.ReceiptInfo&&J.ReceiptInfo.ReceiptFields?J.ReceiptInfo.ReceiptFields.map(He=>({type:H.get(He.Type),name:He.Name,description:He.Description,defaultValue:He.DefaultValue,useCopyButton:He.UseCopyButton,usePrintButton:He.UsePrintButton})):[]),J.ReceiptInfo&&J.ReceiptInfo.ReceiptFields&&!A&&n(0,A=$[0].defaultValue),r(Ys(x.status,x.type),{values:{errorText:x.message}}),n(17,z=ga(Number(x.amount),x.currency)),x.status){case"Voided":case"Success":if(oe(R||"casino, livecasino, tournaments"),n(21,ce="success"),x.type==="Deposit"){const He=(Pn=(Hn=J.Transaction)==null?void 0:Hn.Flags)==null?void 0:Pn.NewDepositCustomer,$e=(Bn=J==null?void 0:J.Transaction)==null?void 0:Bn.Payloads;window.postMessage({type:He==="True"?"FirstDeposit":"ConfirmedDeposit",method:A,amount:x.amount,currency:x.currency,depositType:(An=$e==null?void 0:$e.TagManagerDepositType)!=null?An:"",publicPaymentId:(On=$e==null?void 0:$e.TagManagerCode)!=null?On:""},window.location.href)}ur(x.type==="Deposit"?"deposit_success":"withdrawal_success",{userID:f,amount:x.amount,currency:x.currency,failureReason:x.message});break;case"PendingNotification":case"PendingConfirmation":case"PendingApprovalStage1":case"PendingApprovalStage2":case"PendingApprovalStage3":case"PendingOfflineNotification":oe(V||"casino, livecasino, tournaments"),n(21,ce="pending");break;case"Rejected":case"Cancelled":case"Failed":oe(pe||"casino, livecasino, tournaments"),n(21,ce=x.status.toLowerCase()),ur(x.type==="Deposit"?"deposit_failed":"withdrawal_failed",{userID:f,amount:x.amount,currency:x.currency,failureReason:x.message}),N==="true"&&n(22,fe=!0);break;default:oe("close")}c?Zs(c,x.status):Xs(x.status)}).finally(()=>n(11,Y=!1))},Ke=p=>{window.postMessage({type:p},window.location.href)},et=p=>{p&&window.postMessage({type:"NavigateTo",path:p,target:Da,externalLink:!1},window.location.href)};let xe,se;const ae=(p,re=!0)=>Wt(this,null,function*(){const J=p.currentTarget.innerHTML;if(J&&navigator.clipboard&&navigator.clipboard.writeText)try{yield navigator.clipboard.writeText(J),re&&(n(23,xe=!0),clearTimeout(se),se=setTimeout(()=>{n(23,xe=!1)},2e3))}catch(gt){console.error("Clipboard API failed:",gt)}}),mt=()=>{L.length>0&&(_=L.split(","))},De=p=>ae(p),ye=p=>Ke(p.event);function le(p){ut[p?"unshift":"push"](()=>{Q[Q.length]=p,n(18,Q)})}const T=p=>{et(p.description)};function U(p){ut[p?"unshift":"push"](()=>{I=p,n(10,I)})}return e.$$set=p=>{"endpoint"in p&&n(1,i=p.endpoint),"session"in p&&n(2,o=p.session),"lang"in p&&n(3,s=p.lang),"local"in p&&n(31,a=p.local),"showerrors"in p&&n(32,u=p.showerrors),"translationurl"in p&&n(4,l=p.translationurl),"assetsurl"in p&&n(5,c=p.assetsurl),"customerid"in p&&n(6,f=p.customerid),"transactionid"in p&&n(33,m=p.transactionid),"currencydecimals"in p&&n(34,g=p.currencydecimals),"type"in p&&n(35,v=p.type),"clientstyling"in p&&n(7,d=p.clientstyling),"clientstylingurl"in p&&n(8,P=p.clientstylingurl),"mbsource"in p&&n(36,O=p.mbsource),"showverifications"in p&&n(9,N=p.showverifications),"paymentmethod"in p&&n(0,A=p.paymentmethod),"customsucceessbuttons"in p&&n(37,R=p.customsucceessbuttons),"custompendingbuttons"in p&&n(38,V=p.custompendingbuttons),"customfailedbuttons"in p&&n(39,pe=p.customfailedbuttons),"currencysymbol"in p&&n(40,ue=p.currencysymbol),"currencyposition"in p&&n(41,q=p.currencyposition),"userroles"in p&&n(42,L=p.userroles),"windowsize"in p&&n(43,be=p.windowsize),"p2p"in p&&n(44,Se=p.p2p)},e.$$.update=()=>{e.$$.dirty[1]&2048&&L&&mt(),e.$$.dirty[0]&70|e.$$.dirty[1]&6&&i&&o&&f&&m&&u&&Ie(),e.$$.dirty[0]&8&&s&&me(),e.$$.dirty[0]&24&&s&&l&&Te(),e.$$.dirty[0]&1152&&d&&I&&wi(I,d),e.$$.dirty[0]&1280&&P&&I&&xi(I,P),e.$$.dirty[0]&1024|e.$$.dirty[1]&32&&O&&I&&Ei(I,`${O}.Style`,X)},[A,i,o,s,l,c,f,d,P,N,I,Y,S,b,y,x,$,z,Q,te,de,ce,fe,xe,r,Ce,Je,Ie,Ke,et,ae,a,u,m,g,v,O,R,V,pe,ue,q,L,be,Se,De,ye,le,T,U]}class Si extends kr{constructor(t){super(),Ir(this,t,$a,Ia,yn,{endpoint:1,session:2,lang:3,local:31,showerrors:32,translationurl:4,assetsurl:5,customerid:6,transactionid:33,currencydecimals:34,type:35,clientstyling:7,clientstylingurl:8,mbsource:36,showverifications:9,paymentmethod:0,customsucceessbuttons:37,custompendingbuttons:38,customfailedbuttons:39,currencysymbol:40,currencyposition:41,userroles:42,windowsize:43,p2p:44},va,[-1,-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),Z()}get session(){return this.$$.ctx[2]}set session(t){this.$$set({session:t}),Z()}get lang(){return this.$$.ctx[3]}set lang(t){this.$$set({lang:t}),Z()}get local(){return this.$$.ctx[31]}set local(t){this.$$set({local:t}),Z()}get showerrors(){return this.$$.ctx[32]}set showerrors(t){this.$$set({showerrors:t}),Z()}get translationurl(){return this.$$.ctx[4]}set translationurl(t){this.$$set({translationurl:t}),Z()}get assetsurl(){return this.$$.ctx[5]}set assetsurl(t){this.$$set({assetsurl:t}),Z()}get customerid(){return this.$$.ctx[6]}set customerid(t){this.$$set({customerid:t}),Z()}get transactionid(){return this.$$.ctx[33]}set transactionid(t){this.$$set({transactionid:t}),Z()}get currencydecimals(){return this.$$.ctx[34]}set currencydecimals(t){this.$$set({currencydecimals:t}),Z()}get type(){return this.$$.ctx[35]}set type(t){this.$$set({type:t}),Z()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),Z()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),Z()}get mbsource(){return this.$$.ctx[36]}set mbsource(t){this.$$set({mbsource:t}),Z()}get showverifications(){return this.$$.ctx[9]}set showverifications(t){this.$$set({showverifications:t}),Z()}get paymentmethod(){return this.$$.ctx[0]}set paymentmethod(t){this.$$set({paymentmethod:t}),Z()}get customsucceessbuttons(){return this.$$.ctx[37]}set customsucceessbuttons(t){this.$$set({customsucceessbuttons:t}),Z()}get custompendingbuttons(){return this.$$.ctx[38]}set custompendingbuttons(t){this.$$set({custompendingbuttons:t}),Z()}get customfailedbuttons(){return this.$$.ctx[39]}set customfailedbuttons(t){this.$$set({customfailedbuttons:t}),Z()}get currencysymbol(){return this.$$.ctx[40]}set currencysymbol(t){this.$$set({currencysymbol:t}),Z()}get currencyposition(){return this.$$.ctx[41]}set currencyposition(t){this.$$set({currencyposition:t}),Z()}get userroles(){return this.$$.ctx[42]}set userroles(t){this.$$set({userroles:t}),Z()}get windowsize(){return this.$$.ctx[43]}set windowsize(t){this.$$set({windowsize:t}),Z()}get p2p(){return this.$$.ctx[44]}set p2p(t){this.$$set({p2p:t}),Z()}}$r(Si,{endpoint:{},session:{},lang:{},local:{},showerrors:{},translationurl:{},assetsurl:{},customerid:{},transactionid:{},currencydecimals:{},type:{},clientstyling:{},clientstylingurl:{},mbsource:{},showverifications:{},paymentmethod:{},customsucceessbuttons:{},custompendingbuttons:{},customfailedbuttons:{},currencysymbol:{},currencyposition:{},userroles:{},windowsize:{},p2p:{}},[],[],!0);const ka=Object.freeze(Object.defineProperty({__proto__:null,default:Si},Symbol.toStringTag,{value:"Module"}));exports.$format=fi;exports.$locale=Re;exports.CashierReceiptPage_ce=ka;exports.SvelteComponent=kr;exports.addMessages=xn;exports.append=C;exports.append_styles=Mr;exports.attr=h;exports.binding_callbacks=ut;exports.component_subscribe=_r;exports.create_custom_element=$r;exports.create_slot=Ri;exports.detach=M;exports.element=E;exports.empty=$t;exports.flush=Z;exports.get_all_dirty_from_scope=Di;exports.get_slot_changes=Li;exports.init=ui;exports.init$1=Ir;exports.insert=B;exports.listen=We;exports.onMount=Ar;exports.safe_not_equal=yn;exports.setClientStyling=wi;exports.setClientStylingURL=xi;exports.setStreamStyling=Ei;exports.set_custom_element_data=F;exports.set_data=W;exports.space=G;exports.src_url_equal=Kt;exports.text=j;exports.transition_in=Bt;exports.transition_out=Rr;exports.update_slot_base=Ii;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierReceiptPage
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierReceiptPage-qxxO48fW.cjs")).then(e=>e.CashierReceiptPage_ce).then(({default:e})=>{!customElements.get("cashier-receipt-page")&&customElements.define("cashier-receipt-page",e.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CashierReceiptPage-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CashierReceiptPage-D6VJqYHu.js").then((e) => e.G).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("cashier-receipt-page") && customElements.define("cashier-receipt-page", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var C=(n,t,i)=>new Promise((o,s)=>{var r=c=>{try{u(i.next(c))}catch(m){s(m)}},a=c=>{try{u(i.throw(c))}catch(m){s(m)}},u=c=>c.done?o(c.value):Promise.resolve(c.value).then(r,a);u((i=i.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierReceiptPage--dqgGQ-S.cjs");require("../stencil/ui-image-BX-FBhad.cjs");function T(n,t){e.addMessages(n,t)}function B(n){e.init({fallbackLocale:"en"}),e.$locale.set(n)}const E={en:{VendorMicroserviceCommunicationError:"We apologise, but your payment provider has declined to process due to a microservice communication error. Please try again later.",CustomerDocumentIdMissing:"The document ID is missing",InvalidTransactionStatus:"The transaction status is invalid",UndefinedTechnicalError:"Something went wrong",errorGeneralTitle:"Error Occurred",errorGeneralText:"Something went wrong",errorGeneralButton:"CLOSE",PlayerSessionIsNotValid:"Player session is not valid",VendorCommunicationError:"We apologise, but your payment provider has declined to process due to a technical error. Please try later or contact your payment solution provider for further assistance. Error Code 21297",PaymentMethodNotAllowed:"We apologise, but this payment method is unavailable at this time, please contact Customer Support for further assistance. Error Code 11402",InvalidPaymentDetails:"We apologise, but you payment details are not valid. Please make sure you entered all payment details correctly and try again or contact Customer Support for further assistance. Error Code 13555",MerchantUserHasWithdrawBlockRole:"Dear Player! Please be informed that currently you are not allowed to initiate withdrawal transactions from your player account. Error Code: 21122",MerchantUserHasDepositBlockRole:"Dear Player! Please be informed that currently you are not allowed to initiate deposit transactions from your player account. Error Code: 21123",JwtTokenError:"IDX12741: JWT must have three segments (JWS) or five segments (JWE).",TransactionIsBlockedDueToNotCompletedKyc:"We apologise, but we cannot process the transaction because you haven't completed KYC. Please verify your identity or contact Customer Support for further assistance. Error Code 23601",InsufficientCasinoFunds:" Your withdrawal is over your available balance. Please check your available balance to adjust your withdrawal amount",DepositWageringLimit:"Attention! Your winnings balance has less than the amount you want to withdraw.",DepositWageringFetching:"Data fetching",DepositWageringLimitText:"Deposit wagering: ",AmountMinLimitExceeded:"Amount is smaller than PaymentMethod minimum limit",AmountMaxLimitExceeded:"Amount is bigger than PaymentMethod maximum limit",AmountIsMissing:"Amount is missing",MaxCustomerTransactionsCountReached:"Looks like you have reached the frequency limit of the transaction attempts per minute. The server is taking too long to respond. Please wait a bit and try again in a while",VendorTimeoutError:"Looks like the payment vendor has some issues. The server is taking too long to respond. Please wait a bit and try again in a while. Error Code 21292",MerchantUserAccountIsInactive:"Declined by merchant user account is inactive",MerchantUserHasDepositDenyRole:"Declined by merchant user has deposit deny role",TransactionCodeIsInvalid:"Transaction code is invalid",InvalidSession:"Your session has expired. Please try again",TwoFactorAuthRequired:"Two-factor authentication is required",DeclinedByMerchant:"We apologise, but transaction has been closed by merchant. Please contact Customer Support for further assistance.",FraudSuspectedError:"We apologise, but we are unable to process your transaction at this time, please try later or contact Customer Support for further assistance. Error Code 22020",OnlyOnePendingTransactionPerUserlsAllowed:"Only one pending transaction per user is allowed",TransactionFrequencyLimitReached:"Transaction frequency limit reached",NotMappedVendorError:"Your balance is insufficient or you may have reached your transaction limit. Please contact your Telecommunication service provider",LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED:"Your balance is insufficient or you may have reached your transaction limit. Please contact your Telecommunication service provider",CumulativeLimitExceeded:"Monetary limit exceeded",CumulativeLimitExceededException:"Monetary limit exceeded",InsufficientFunds:"Insufficient funds",DeclinedByBank:"Transaction declined by bank",MaxNumberOfTransactionsReached:"Maximum number of transactions reached",OnlyOnePendingTransactionPerUserIsAllowed:"Only one pending transaction is allowed per user",AuthenticationFailed:"Authentication failed",CommunicationTimeoutError:"Communication timeout",MissingPaymentDetails:"Missing payment details",InvalidAccount:"Invalid account",DuplicatePaymentAccount:"The account you used to request a withdrawal has been deemed suspicious, and your transaction has been canceled for security reasons. Please contact our live support for more details.",InvalidCardHolder:"Invalid card holder",VendorInvalidCard:"Vendor invalid card",CardTokenIsBlocked:"Card token is blocked"},tr:{VendorMicroserviceCommunicationError:"Özür dileriz, ancak ödeme sağlayıcınız bir mikroservis iletişim hatası nedeniyle işlemi gerçekleştiremedi. Lütfen daha sonra tekrar deneyin.",CustomerDocumentIdMissing:"Belge kimliği eksik",InvalidTransactionStatus:"İşlem durumu geçersiz",UndefinedTechnicalError:"Bir şeyler ters gitti",VendorTimeoutError:"Görünüşe göre ödeme sağlayıcısında bazı sorunlar var. Sunucu yanıt vermek için çok uzun süre alıyor. Lütfen biraz bekleyip daha sonra tekrar deneyin. Hata Kodu 21292",errorGeneralTitle:"Hata oluştu",errorGeneralText:"Bir şeyler ters gitti",errorGeneralButton:"KAPALI",PlayerSessionIsNotValid:"Hesabınızla ilgili oturum geçersiz veya süresi dolmuş görünüyor. Lütfen tekrar giriş yapınız",VendorCommunicationError:"Özür dileriz, ancak ödeme sağlayıcınız teknik hata nedeniyle işlemi yapmayı reddetti. Lütfen daha sonra deneyin veya daha fazla yardım için ödeme çözümü sağlayıcınızla iletişime geçin. Hata Kodu 21297",PaymentMethodNotAllowed:"Özür dileriz, ancak bu ödeme yöntemi şu anda kullanılamıyor. Daha fazla yardım için lütfen Müşteri Desteğiyle iletişime geçin. Hata Kodu 11402",InvalidPaymentDetails:"Özür dileriz, ancak ödeme bilgileriniz geçerli değil. Lütfen tüm ödeme ayrıntılarını doğru girdiğinizden emin olun ve tekrar deneyin veya daha fazla yardım için Müşteri Desteği ile iletişime geçin. Hata Kodu 13555",MerchantUserHasWithdrawBlockRole:"Sevgili Oyuncu! Şu anda oyuncu hesabınızdan para çekme işlemi başlatmanıza izin verilmediğini lütfen unutmayın. Hata Kodu: 21122",MerchantUserHasDepositBlockRole:"Değerli Oyuncumuz, Şu anda hesabınız üzerinden para yatırma işlemi yapmanıza izin verilmemektedir. Hata Kodu: 21123",JwtTokenError:"IDX12741: JWT must have three segments (JWS) or five segments (JWE).",TransactionIsBlockedDueToNotCompletedKyc:"İşlemi gerçekleştirmek için kullanıcı doğrulamasını geçmeniz gerekmektedir. ",InsufficientCasinoFunds:"Çekmek istediğiniz tutar, mevcut bakiyenizin üzerindedir. Lütfen çekim tutarınızı belirlemek için bakiyenizi kontrol ediniz",DepositWageringLimit:"Para çekim işleminizi gerçekleştirebilmek için ana para çevriminizi tamamlamanız gerekmektedir. Ana para çevrimi hakkında bilgi almak için sitemiz genel şartlar ve kurallar bölümünü ziyaret edebilir ya da destek kanallarımız üzerinden bilgi alabilirsiniz.",DepositWageringFetching:"Veri yükleniyor",DepositWageringLimitText:"Kalan Çevrim:",AmountMinLimitExceeded:"Tutar, Ödeme Yöntemi minimum sınırından daha küçük",AmountMaxLimitExceeded:"Tutar, Ödeme Yöntemi maksimum sınırından daha büyük",AmountIsMissing:"Tutar eksik",MaxCustomerTransactionsCountReached:"İşlem denemelerinin sıklık sınırına ulaştınız. Sunucunun yanıt vermesi çok uzun sürüyor. Lütfen biraz bekleyin ve bir süre sonra tekrar deneyin.",VendorTechnicalError:"Özür dileriz, fakat bir teknik hata nedeniyle işleminiz sağlayıcı tarafından reddedildi. Lütfen daha sonra tekrar deneyin veya servis sağlayıcınızla iletişime geçin. Hata kodu 21298",MerchantUserAccountIsInactive:"Tüccar tarafından reddedildi kullanıcı hesabı etkin değil",MerchantUserHasDepositDenyRole:"Sevgili Oyuncu! Şu anda hesabınıza para yatırmanıza izin verilmediğini lütfen unutmayın. Hata Kodu: 21123",TransactionCodeIsInvalid:"Transaction code is invalid",InvalidSession:"Beklenmedik bir hata oluştu, lütfen tekrar deneyin.",TwoFactorAuthRequired:"İki faktörlü kimlik doğrulama gereklidi",DeclinedByMerchant:"Özür dileriz, ancak işlem satıcı tarafından kapatıldı. Daha fazla yardım için lütfen Müşteri Desteği ile iletişime geçin.",FraudSuspectedError:"Üzgünüz, ancak işleminizi şu anda gerçekleştiremiyoruz. Lütfen daha sonra tekrar deneyin veya daha fazla yardım için Müşteri Desteği ile iletişime geçin. Hata Kodu 22020.",OnlyOnePendingTransactionPerUserlsAllowed:"Devam eden bir talebiniz olduğu için șu anda yeni bir işlem başlatılamaz.",TransactionFrequencyLimitReached:"İşlem sıklığı limiti aşıldı",NotMappedVendorError:"Bakiyeniz yetersiz veya işlem limitinize ulaşmış olabilirsiniz. Lütfen Telekom servis sağlayıcınızla iletişime geçin",LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED:"Bakiyeniz yetersiz veya işlem limitinize ulaşmış olabilirsiniz. Lütfen Telekom servis sağlayıcınızla iletişime geçin",CumulativeLimitExceeded:"Parasal limit aşıldı",CumulativeLimitExceededException:"Parasal limit aşıldı",InsufficientFunds:"Yetersiz bakiye",DeclinedByBank:"İşlem banka tarafından reddedildi",MaxNumberOfTransactionsReached:"Maksimum işlem sayısına ulaşıldı",OnlyOnePendingTransactionPerUserIsAllowed:"Kullanıcı başına yalnızca bir bekleyen işleme izin verilir",AuthenticationFailed:"Kimlik doğrulama başarısız",CommunicationTimeoutError:"İletişim zaman aşımı",MissingPaymentDetails:"Eksik ödeme bilgileri",InvalidAccount:"Geçersiz hesap",DuplicatePaymentAccount:"Çekim talebinde bulunduğunuz hesap şüpheli olarak değerlendirilmiş ve işleminiz güvenlik nedeniyle iptal edilmiştir. Detaylı bilgi almak için lütfen canlı destek hattımızla iletişime geçiniz.",InvalidCardHolder:"Geçersiz kart sahibi",VendorInvalidCard:"Özür dileriz, fakat sağlayıcınız hatalı kart bilgileri nedeniyle işleminizi reddetti. Lütfen kart bilgilerinizi yeniden girin veya Destek ekibimizle iletişime geçin. Hata kodu 13500",CardTokenIsBlocked:"Kart jetonu engellendi"},fr:{VendorMicroserviceCommunicationError:"Nous sommes désolés, mais votre prestataire de paiement a refusé de traiter en raison d’une erreur de communication de microservice. Veuillez réessayer plus tard.",CustomerDocumentIdMissing:"L’identifiant du document est manquant",InvalidTransactionStatus:"Le statut de la transaction est invalide",UndefinedTechnicalError:"Une erreur s’est produite",errorGeneralTitle:"Une erreur s’est produite",errorGeneralText:"Une erreur est survenue",errorGeneralButton:"FERMER",PlayerSessionIsNotValid:"La session du joueur n’est pas valide",VendorCommunicationError:"Nous sommes désolés, mais votre prestataire de paiement a refusé de traiter la demande en raison d’une erreur technique. Veuillez réessayer plus tard ou contacter votre prestataire de paiement pour obtenir de l’aide. Code d’erreur 21297",PaymentMethodNotAllowed:"Nous sommes désolés, mais ce moyen de paiement n’est pas disponible pour le moment. Veuillez contacter le service client pour obtenir de l’aide. Code d’erreur 11402",InvalidPaymentDetails:"Nous sommes désolés, mais vos informations de paiement ne sont pas valides. Veuillez vérifier que vous avez correctement saisi toutes les informations de paiement et réessayer, ou contacter le service client pour obtenir de l’aide. Code d’erreur 13555",MerchantUserHasWithdrawBlockRole:"Cher joueur ! Veuillez noter que vous n’êtes actuellement pas autorisé à initier des opérations de retrait depuis votre compte joueur. Code d’erreur : 21122",MerchantUserHasDepositBlockRole:"Cher joueur ! Veuillez noter que vous n’êtes actuellement pas autorisé à initier des opérations de dépôt depuis votre compte joueur. Code d’erreur : 21123",JwtTokenError:"IDX12741 : le JWT doit comporter trois segments (JWS) ou cinq segments (JWE).",TransactionIsBlockedDueToNotCompletedKyc:"Nous sommes désolés, mais nous ne pouvons pas traiter la transaction car vous n’avez pas complété le KYC. Veuillez vérifier votre identité ou contacter le service client pour obtenir de l’aide. Code d’erreur 23601",InsufficientCasinoFunds:"Votre retrait dépasse votre solde disponible. Veuillez vérifier votre solde disponible afin d’ajuster le montant du retrait",DepositWageringLimit:"Attention ! Le solde de vos gains est inférieur au montant que vous souhaitez retirer.",DepositWageringLimitText:"Mise de dépôt:",DepositWageringFetching:"Chargement des données",AmountMinLimitExceeded:"Le montant est inférieur à la limite minimale du moyen de paiement",AmountMaxLimitExceeded:"Le montant est supérieur à la limite maximale du moyen de paiement",AmountIsMissing:"Le montant est manquant",MaxCustomerTransactionsCountReached:"Il semble que vous ayez atteint la limite de fréquence des tentatives de transaction par minute. Le serveur met trop de temps à répondre. Veuillez patienter un moment et réessayer plus tard",VendorTimeoutError:"Il semble que le prestataire de paiement rencontre des problèmes. Le serveur met trop de temps à répondre. Veuillez patienter un moment et réessayer plus tard. Code d’erreur 21292",MerchantUserAccountIsInactive:"Refusé : le compte utilisateur marchand est inactif",MerchantUserHasDepositDenyRole:"Refusé : l’utilisateur marchand a un rôle interdisant les dépôts",TransactionCodeIsInvalid:"Le code de transaction n’est pas valide",InvalidSession:"Votre session a expiré. Veuillez réessayer",TwoFactorAuthRequired:"L’authentification à deux facteurs est requise",DeclinedByMerchant:"Nous sommes désolés, mais la transaction a été clôturée par le marchand. Veuillez contacter le service client pour obtenir de l’aide.",FraudSuspectedError:"Nous sommes désolés, mais nous ne pouvons pas traiter votre transaction pour le moment. Veuillez réessayer plus tard ou contacter le service client pour obtenir de l’aide. Code d’erreur 22020",OnlyOnePendingTransactionPerUserlsAllowed:"Une seule transaction en attente par utilisateur est autorisée",TransactionFrequencyLimitReached:"Limite de fréquence des transactions atteinte",NotMappedVendorError:"Votre solde est insuffisant ou vous avez peut-être atteint votre limite de transaction. Veuillez contacter votre fournisseur de services de télécommunication",LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED:"Votre solde est insuffisant ou vous avez peut-être atteint votre limite de transaction. Veuillez contacter votre fournisseur de services de télécommunication",CumulativeLimitExceeded:"Limite monétaire dépassée",CumulativeLimitExceededException:"Limite monétaire dépassée",InsufficientFunds:"Fonds insuffisants",DeclinedByBank:"Transaction refusée par la banque",MaxNumberOfTransactionsReached:"Nombre maximum de transactions atteint",OnlyOnePendingTransactionPerUserIsAllowed:"Une seule transaction en attente est autorisée par utilisateur",AuthenticationFailed:"Échec de l'authentification",CommunicationTimeoutError:"Délai de communication dépassé",MissingPaymentDetails:"Détails de paiement manquants",InvalidAccount:"Compte invalide",DuplicatePaymentAccount:"Le compte que vous avez utilisé pour demander un retrait a été jugé suspect, et votre transaction a été annulée pour des raisons de sécurité. Veuillez contacter notre support en direct pour plus de détails."}};function R(n){e.append_styles(n,"svelte-y815d8",'.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}')}const N=n=>({}),w=n=>({}),q=n=>({}),L=n=>({}),F=n=>({}),D=n=>({}),H=n=>({}),I=n=>({class:"CashierErrorIcon"});function M(n){let t,i;return{c(){t=e.element("ui-image"),e.src_url_equal(t.src,i=`${n[0]}/error-general-icon.png`)||e.set_custom_element_data(t,"src",i),e.set_custom_element_data(t,"width","300px"),e.set_custom_element_data(t,"alt","error")},m(o,s){e.insert(o,t,s)},p(o,s){s&1&&!e.src_url_equal(t.src,i=`${o[0]}/error-general-icon.png`)&&e.set_custom_element_data(t,"src",i)},d(o){o&&e.detach(t)}}}function U(n){let t,i=n[0]&&M(n);return{c(){i&&i.c(),t=e.empty()},m(o,s){i&&i.m(o,s),e.insert(o,t,s)},p(o,s){o[0]?i?i.p(o,s):(i=M(o),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},d(o){o&&e.detach(t),i&&i.d(o)}}}function A(n){let t;function i(r,a){return r[3]<0?G:K}let o=i(n),s=o(n);return{c(){s.c(),t=e.empty()},m(r,a){s.m(r,a),e.insert(r,t,a)},p(r,a){o===(o=i(r))&&s?s.p(r,a):(s.d(1),s=o(r),s&&(s.c(),s.m(t.parentNode,t)))},d(r){r&&e.detach(t),s.d(r)}}}function K(n){let t,i=n[5]("DepositWageringLimitText")+"",o,s,r=n[3]>0&&P(n);return{c(){t=e.element("span"),o=e.text(i),s=e.space(),r&&r.c(),e.attr(t,"class","CashierErrorText")},m(a,u){e.insert(a,t,u),e.append(t,o),e.append(t,s),r&&r.m(t,null)},p(a,u){u&32&&i!==(i=a[5]("DepositWageringLimitText")+"")&&e.set_data(o,i),a[3]>0?r?r.p(a,u):(r=P(a),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(a){a&&e.detach(t),r&&r.d()}}}function G(n){let t,i,o=n[5]("DepositWageringFetching")+"",s;return{c(){t=e.element("div"),i=e.element("span"),s=e.text(o),e.attr(i,"class","CashierErrorText LoadingText"),e.attr(t,"class","WageringFetch")},m(r,a){e.insert(r,t,a),e.append(t,i),e.append(i,s)},p(r,a){a&32&&o!==(o=r[5]("DepositWageringFetching")+"")&&e.set_data(s,o)},d(r){r&&e.detach(t)}}}function P(n){let t,i,o;return{c(){t=e.text(n[3]),i=e.space(),o=e.text(n[4])},m(s,r){e.insert(s,t,r),e.insert(s,i,r),e.insert(s,o,r)},p(s,r){r&8&&e.set_data(t,s[3]),r&16&&e.set_data(o,s[4])},d(s){s&&(e.detach(t),e.detach(i),e.detach(o))}}}function j(n){let t,i=n[5](`${n[1]||"errorGeneralText"}`)+"",o,s,r,a=n[1]=="DepositWageringLimit"&&A(n);return{c(){t=e.element("span"),o=e.text(i),s=e.space(),a&&a.c(),r=e.empty(),e.attr(t,"class","CashierErrorText")},m(u,c){e.insert(u,t,c),e.append(t,o),e.insert(u,s,c),a&&a.m(u,c),e.insert(u,r,c)},p(u,c){c&34&&i!==(i=u[5](`${u[1]||"errorGeneralText"}`)+"")&&e.set_data(o,i),u[1]=="DepositWageringLimit"?a?a.p(u,c):(a=A(u),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(u){u&&(e.detach(t),e.detach(s),e.detach(r)),a&&a.d(u)}}}function Y(n){let t,i,o=n[5]("errorGeneralButton")+"",s,r,a;return{c(){t=e.element("button"),i=e.element("span"),s=e.text(o),e.attr(t,"class","CashierErrorButton")},m(u,c){e.insert(u,t,c),e.append(t,i),e.append(i,s),r||(a=e.listen(t,"click",n[6]),r=!0)},p(u,c){c&32&&o!==(o=u[5]("errorGeneralButton")+"")&&e.set_data(s,o)},d(u){u&&e.detach(t),r=!1,a()}}}function J(n){let t,i,o,s,r,a;const u=n[13].icon,c=e.create_slot(u,n,n[12],I),m=c||U(n),_=n[13].title,f=e.create_slot(_,n,n[12],D),v=n[13].text,h=e.create_slot(v,n,n[12],L),g=h||j(n),k=n[13].button,b=e.create_slot(k,n,n[12],w),y=b||Y(n);return{c(){t=e.element("div"),i=e.element("div"),m&&m.c(),o=e.space(),f&&f.c(),s=e.space(),g&&g.c(),r=e.space(),y&&y.c(),e.attr(i,"class","CashierErrorContent"),e.attr(t,"class","CashierError")},m(l,p){e.insert(l,t,p),e.append(t,i),m&&m.m(i,null),e.append(i,o),f&&f.m(i,null),e.append(i,s),g&&g.m(i,null),e.append(i,r),y&&y.m(i,null),n[14](t),a=!0},p(l,[p]){c?c.p&&(!a||p&4096)&&e.update_slot_base(c,u,l,l[12],a?e.get_slot_changes(u,l[12],p,H):e.get_all_dirty_from_scope(l[12]),I):m&&m.p&&(!a||p&1)&&m.p(l,a?p:-1),f&&f.p&&(!a||p&4096)&&e.update_slot_base(f,_,l,l[12],a?e.get_slot_changes(_,l[12],p,F):e.get_all_dirty_from_scope(l[12]),D),h?h.p&&(!a||p&4096)&&e.update_slot_base(h,v,l,l[12],a?e.get_slot_changes(v,l[12],p,q):e.get_all_dirty_from_scope(l[12]),L):g&&g.p&&(!a||p&58)&&g.p(l,a?p:-1),b?b.p&&(!a||p&4096)&&e.update_slot_base(b,k,l,l[12],a?e.get_slot_changes(k,l[12],p,N):e.get_all_dirty_from_scope(l[12]),w):y&&y.p&&(!a||p&32)&&y.p(l,a?p:-1)},i(l){a||(e.transition_in(m,l),e.transition_in(f,l),e.transition_in(g,l),e.transition_in(y,l),a=!0)},o(l){e.transition_out(m,l),e.transition_out(f,l),e.transition_out(g,l),e.transition_out(y,l),a=!1},d(l){l&&e.detach(t),m&&m.d(l),f&&f.d(l),g&&g.d(l),y&&y.d(l),n[14](null)}}}function X(n,t,i){let o;e.component_subscribe(n,e.$format,d=>i(5,o=d));let{$$slots:s={},$$scope:r}=t,{assetsurl:a=""}=t,{lang:u="en"}=t,{errorcode:c=""}=t,{clientstyling:m=""}=t,{clientstylingurl:_=""}=t,{translationurl:f=""}=t,{mbsource:v=""}=t,h,g,k=-1,b;const y=()=>{B(u)},l=()=>C(this,null,function*(){if(f)try{const d=yield fetch(f);if(!d.ok)throw new Error(`HTTP error! status: ${d.status}`);const O=yield d.json();Object.entries(O).forEach(([V,S])=>{T(V,S)})}catch(d){console.error(d)}});Object.keys(E).forEach(d=>{T(d,E[d])});const p=()=>{window.postMessage({type:"ErrorClose"},window.location.href)},z=d=>{if(d.data)switch(d.data.type){case"DepositWageringAmount":i(3,k=d.data.amount),i(4,b=d.data.currency);break}};e.onMount(()=>(window.addEventListener("message",z,!1),()=>{window.removeEventListener("message",z)}));function W(d){e.binding_callbacks[d?"unshift":"push"](()=>{h=d,i(2,h)})}return n.$$set=d=>{"assetsurl"in d&&i(0,a=d.assetsurl),"lang"in d&&i(7,u=d.lang),"errorcode"in d&&i(1,c=d.errorcode),"clientstyling"in d&&i(8,m=d.clientstyling),"clientstylingurl"in d&&i(9,_=d.clientstylingurl),"translationurl"in d&&i(10,f=d.translationurl),"mbsource"in d&&i(11,v=d.mbsource),"$$scope"in d&&i(12,r=d.$$scope)},n.$$.update=()=>{n.$$.dirty&128&&u&&y(),n.$$.dirty&260&&m&&h&&e.setClientStyling(h,m),n.$$.dirty&516&&_&&h&&e.setClientStylingURL(h,_),n.$$.dirty&2052&&v&&h&&e.setStreamStyling(h,`${v}.Style`,g),n.$$.dirty&1024&&f&&l()},[a,c,h,k,b,o,p,u,m,_,f,v,r,s,W]}class x extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,X,J,e.safe_not_equal,{assetsurl:0,lang:7,errorcode:1,clientstyling:8,clientstylingurl:9,translationurl:10,mbsource:11},R)}get assetsurl(){return this.$$.ctx[0]}set assetsurl(t){this.$$set({assetsurl:t}),e.flush()}get lang(){return this.$$.ctx[7]}set lang(t){this.$$set({lang:t}),e.flush()}get errorcode(){return this.$$.ctx[1]}set errorcode(t){this.$$set({errorcode:t}),e.flush()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[9]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[10]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[11]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(x,{assetsurl:{},lang:{},errorcode:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},["icon","title","text","button"],[],!0);exports.default=x;
|