@everymatrix/player-account-controller 1.74.10 → 1.75.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralLogout-CiyGpZGU.js → GeneralLogout-DIRnj10H.js} +1298 -1284
- package/components/{GeneralLogout-Vg76ri4V.js → GeneralLogout-Dd4n6Kp2.js} +1322 -1308
- package/components/GeneralLogout-TofSUXEw.cjs +21 -0
- package/components/PlayerAccountBettingHistory-85apG_ux.cjs +1 -0
- package/components/PlayerAccountBettingHistory-CuMJRUaH.js +310 -0
- package/components/PlayerAccountBettingHistory-ZZH1M51O.js +311 -0
- package/components/{PlayerAccountBiometrics-C2wumiJ3.js → PlayerAccountBiometrics-D8lv7JzY.js} +5 -5
- package/components/{PlayerAccountBiometrics-CH9MN1vT.js → PlayerAccountBiometrics-DzUvqvfR.js} +5 -5
- package/components/{PlayerAccountBiometrics-DPdT285K.cjs → PlayerAccountBiometrics-N164JTVo.cjs} +1 -1
- package/components/{PlayerAccountClosure-BqrCJaGp.js → PlayerAccountClosure-B7LJRfF_.js} +6 -6
- package/components/{PlayerAccountClosure-DG5NrDqY.cjs → PlayerAccountClosure-ByNnHtUf.cjs} +1 -1
- package/components/{PlayerAccountClosure-Dda9CHdX.js → PlayerAccountClosure-VNjXTTeE.js} +6 -6
- package/components/{PlayerAccountController-Cu59Kubb.js → PlayerAccountController-4zAuIhXb.js} +209 -209
- package/components/{PlayerAccountController-MSqVuCPp.cjs → PlayerAccountController-B53eiCm2.cjs} +1 -1
- package/components/{PlayerAccountController-BeY5S0EH.js → PlayerAccountController-BNFenXlV.js} +209 -209
- package/components/{PlayerAccountGamingLimits-CJksEBIA.js → PlayerAccountGamingLimits-BPAFyYb5.js} +124 -124
- package/components/{PlayerAccountGamingLimits-CqPkjNdS.js → PlayerAccountGamingLimits-CSFkUiYY.js} +124 -124
- package/components/{PlayerAccountGamingLimits-B2vzRems.cjs → PlayerAccountGamingLimits-DLyOkU8g.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BX8_aYoz.js → PlayerAccountGamingLimitsConfirmationModal-DON2ejFa.js} +38 -38
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CfPKMMkU.js → PlayerAccountGamingLimitsConfirmationModal-De1JAgPX.js} +38 -38
- package/components/PlayerAccountGamingLimitsConfirmationModal-cxg0byfD.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-BD9SWhvO.js → PlayerAccountGamingLimitsGroupEdit-B4l5VAbb.js} +1009 -1009
- package/components/{PlayerAccountGamingLimitsGroupEdit-JerzRaIW.cjs → PlayerAccountGamingLimitsGroupEdit-BEb7Fv28.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsGroupEdit-Ageqronh.js → PlayerAccountGamingLimitsGroupEdit-CrgfBvua.js} +1009 -1009
- package/components/{PlayerAccountGamingLimitsHistory2-kH5zBkQX.js → PlayerAccountGamingLimitsHistory2-BRgxAXo_.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2-BusoJL-w.js → PlayerAccountGamingLimitsHistory2-RFRr_X30.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2-B6QgZ3Qd.cjs → PlayerAccountGamingLimitsHistory2-x-v5JjhN.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-BHAREEgX.js → PlayerAccountGamingLimitsInfoCard-BRDuV_cd.js} +7 -7
- package/components/{PlayerAccountGamingLimitsInfoCard-BvQ7pktR.js → PlayerAccountGamingLimitsInfoCard-BiwEIF0r.js} +7 -7
- package/components/{PlayerAccountGamingLimitsInfoCard-DRRou8s9.cjs → PlayerAccountGamingLimitsInfoCard-XCP1Kxff.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-ryQx6oP1.cjs → PlayerAccountGamingLimitsPage2Gm16--rQhVE1q.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DJHbna0W.js → PlayerAccountGamingLimitsPage2Gm16-BWA71CAl.js} +39 -39
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CAVf4Y-G.js → PlayerAccountGamingLimitsPage2Gm16-CwwjENW0.js} +28 -28
- package/components/{PlayerAccountGamingLimitsPopup-D0ltWJSo.js → PlayerAccountGamingLimitsPopup-Biyoz4lK.js} +21 -21
- package/components/{PlayerAccountGamingLimitsPopup-D16rhs4n.cjs → PlayerAccountGamingLimitsPopup-DNjM-xS5.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-Bl1xoGPY.js → PlayerAccountGamingLimitsPopup-cBscDgFe.js} +21 -21
- package/components/{PlayerAccountGamingLimitsWrapper2-BSqP4Sd8.cjs → PlayerAccountGamingLimitsWrapper2-BIcWUcMl.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-vu5v2bbv.js → PlayerAccountGamingLimitsWrapper2-BsvByvpk.js} +6 -6
- package/components/{PlayerAccountGamingLimitsWrapper2-nO_niNOc.js → PlayerAccountGamingLimitsWrapper2-D0KtfHqJ.js} +6 -6
- package/components/PlayerAccountGeneralConfirmationModal-BFCCI67b.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-JvzRw4bx.js → PlayerAccountGeneralConfirmationModal-BNoE_P3G.js} +53 -53
- package/components/{PlayerAccountGeneralConfirmationModal-T_JYxL62.js → PlayerAccountGeneralConfirmationModal-q4Du5zdg.js} +53 -53
- package/components/{PlayerAccountMenu-DPpd0Onj.js → PlayerAccountMenu-BbdWpRLe.js} +7 -7
- package/components/{PlayerAccountMenu-C4sG1dhf.js → PlayerAccountMenu-BicTGCSZ.js} +7 -7
- package/components/{PlayerAccountMenu-JDfi5y52.cjs → PlayerAccountMenu-CVBew6Nf.cjs} +1 -1
- package/components/{PlayerAccountModal-DvJ0OsPC.cjs → PlayerAccountModal-DaIBO9tP.cjs} +1 -1
- package/components/{PlayerAccountModal-BGCTA59j.js → PlayerAccountModal-Day4vMPZ.js} +10 -10
- package/components/{PlayerAccountModal-DkyQ5JIi.js → PlayerAccountModal-J-6B3L2x.js} +10 -10
- package/components/{PlayerAccountNotifications-CdPeCghS.cjs → PlayerAccountNotifications-BbvJAh0S.cjs} +1 -1
- package/components/{PlayerAccountNotifications-OJnPC108.js → PlayerAccountNotifications-PuDZBFQ4.js} +6 -6
- package/components/{PlayerAccountNotifications-DTtMvV8M.js → PlayerAccountNotifications-wc_EBqY2.js} +6 -6
- package/components/{PlayerAccountProductRestriction-DSjfzN0L.js → PlayerAccountProductRestriction-BA3Ht4v0.js} +2498 -2494
- package/components/{PlayerAccountProductRestriction-BtXJwF14.js → PlayerAccountProductRestriction-BVD0VXs9.js} +2521 -2517
- package/components/{PlayerAccountProductRestriction-BJ0LFpLp.cjs → PlayerAccountProductRestriction-DJUublp5.cjs} +268 -268
- package/components/{PlayerAccountSelfExclusion-BFhhj0lU.js → PlayerAccountSelfExclusion-B9rXp_dv.js} +830 -829
- package/components/{PlayerAccountSelfExclusion-CLHfQEii.js → PlayerAccountSelfExclusion-BwFD6ZJu.js} +847 -846
- package/components/{PlayerAccountSelfExclusion-CdvQXAjK.cjs → PlayerAccountSelfExclusion-CwlTQfYm.cjs} +152 -152
- package/components/{PlayerAccountTimeout-Dhey1QrR.cjs → PlayerAccountTimeout-CPLGI8jX.cjs} +1 -1
- package/components/{PlayerAccountTimeout-Dfa2jJXc.js → PlayerAccountTimeout-DfxFUM4s.js} +43 -43
- package/components/{PlayerAccountTimeout-lsP1D_FM.js → PlayerAccountTimeout-mAcIWL2w.js} +43 -43
- package/components/{PlayerAccountTransactionsHistory-e7LnmN2n.js → PlayerAccountTransactionsHistory-B61bTygv.js} +7 -7
- package/components/{PlayerAccountTransactionsHistory-BumeG74E.js → PlayerAccountTransactionsHistory-D_Rh7xzG.js} +7 -7
- package/components/{PlayerAccountTransactionsHistory-x6Mj8Vqc.cjs → PlayerAccountTransactionsHistory-J6QX4Mo6.cjs} +1 -1
- package/components/{PlayerActiveBonuses-DcuRFKFP.js → PlayerActiveBonuses-DBGj3lj2.js} +6 -6
- package/components/{PlayerActiveBonuses-Me5Q3o65.cjs → PlayerActiveBonuses-VMRnoY1_.cjs} +1 -1
- package/components/{PlayerActiveBonuses-BWfdGowJ.js → PlayerActiveBonuses-lflDqCU8.js} +6 -6
- package/components/{PlayerBonusCard-CkEs_ikq.js → PlayerBonusCard-B58kMR83.js} +7 -7
- package/components/{PlayerBonusCard-D8XTVs99.js → PlayerBonusCard-D68dTYiw.js} +7 -7
- package/components/{PlayerBonusCard-DgyhSYBs.cjs → PlayerBonusCard-KehruUku.cjs} +1 -1
- package/components/{PlayerBonusHistory-CTKJuEJG.js → PlayerBonusHistory-BZz5QP4A.js} +7 -7
- package/components/{PlayerBonusHistory-DmYF8qYy.js → PlayerBonusHistory-BxcxPRN7.js} +7 -7
- package/components/{PlayerBonusHistory-BmeRyaDK.cjs → PlayerBonusHistory-WEjZxD6T.cjs} +1 -1
- package/components/{PlayerChangePassword-Cc15tSRv.js → PlayerChangePassword-CQqQIyDU.js} +4 -4
- package/components/{PlayerChangePassword-CfCN79eP.cjs → PlayerChangePassword-DYpl0DV7.cjs} +1 -1
- package/components/{PlayerChangePassword-Hj0mD9xL.js → PlayerChangePassword-VQJYG-HQ.js} +4 -4
- package/components/PlayerDeposit-BLDWbMBK.cjs +1 -0
- package/components/{PlayerDeposit-Bm1DOHlW.js → PlayerDeposit-R4oRYCP7.js} +73 -73
- package/components/{PlayerDeposit-BpS3fS46.js → PlayerDeposit-nin4U--Y.js} +73 -73
- package/components/{PlayerGamingHistory-F3yi70Vu.cjs → PlayerGamingHistory-BxN4Cjj3.cjs} +1 -1
- package/components/{PlayerGamingHistory-Bew4OVxF.js → PlayerGamingHistory-CN6XDOWB.js} +53 -53
- package/components/{PlayerGamingHistory-B9lwGb0Z.js → PlayerGamingHistory-VnHkfl2z.js} +60 -60
- package/components/{PlayerPendingWithdrawals-scSFcYAA.js → PlayerPendingWithdrawals-C1tt1OJl.js} +6 -6
- package/components/{PlayerPendingWithdrawals-D-KWiMH6.cjs → PlayerPendingWithdrawals-DfQ_PvkY.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-pfC5sUpM.js → PlayerPendingWithdrawals-adHFXpiC.js} +6 -6
- package/components/{PlayerProfileInfo-CwZQ79SV.cjs → PlayerProfileInfo-CKJNYYA8.cjs} +1 -1
- package/components/{PlayerProfileInfo-DYvdUkJZ.js → PlayerProfileInfo-CrGJ1yEi.js} +95 -95
- package/components/{PlayerProfileInfo-1ELKHIQs.js → PlayerProfileInfo-DpEH00v-.js} +108 -108
- package/components/{PlayerRealityCheck-DLPtMaP7.js → PlayerRealityCheck-CTGhzTwa.js} +6 -6
- package/components/{PlayerRealityCheck-JdOGHDG6.cjs → PlayerRealityCheck-Cq2rIALW.cjs} +1 -1
- package/components/{PlayerRealityCheck-pQWsLK1G.js → PlayerRealityCheck-JkP_hy_p.js} +6 -6
- package/components/{PlayerTransactionHistory-B7ts1zGr.js → PlayerTransactionHistory-CQPQw37D.js} +6 -6
- package/components/{PlayerTransactionHistory-Hz2IWD73.cjs → PlayerTransactionHistory-DPvvu8Wp.cjs} +1 -1
- package/components/{PlayerTransactionHistory-CUa0IaZD.js → PlayerTransactionHistory-DQfalEXN.js} +6 -6
- package/components/{PlayerWithdrawal-BTfz-sCc.js → PlayerWithdrawal-11j92uAk.js} +6 -6
- package/components/{PlayerWithdrawal-P_0MIA-u.cjs → PlayerWithdrawal-BcaC1sEF.cjs} +1 -1
- package/components/{PlayerWithdrawal-DYVDpOnE.js → PlayerWithdrawal-yB5c-nTz.js} +6 -6
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_15-BzU_0jJ_.js → checkbox-group-input_15-B47EbzkJ.js} +3227 -3221
- package/stencil/{checkbox-group-input_15-7ljokaYC.js → checkbox-group-input_15-BBaHCJ8m.js} +3231 -3225
- package/stencil/{checkbox-group-input_15-Fs7-YN7u.cjs → checkbox-group-input_15-BPXIBJ9O.cjs} +271 -271
- package/stencil/{index-13661b98-Cty_Ct2m.js → index-13661b98-BzYpZXJ-.js} +245 -245
- package/stencil/{index-13661b98-BJM2hHx6.js → index-13661b98-D93Apl47.js} +124 -124
- package/stencil/index-13661b98-DBuU9Lk0.cjs +1 -0
- package/stencil/{index-1ef3a64c-DuKSFSN8.js → index-1ef3a64c-BJwg6KZV.js} +201 -201
- package/stencil/index-1ef3a64c-BkMv_VME.cjs +1 -0
- package/stencil/index-1ef3a64c-Cl4fiqPl.js +556 -0
- package/stencil/{index-7c5e707a-B54Yjxc3.js → index-7c5e707a-BZ26MA7_.js} +135 -135
- package/stencil/{index-7c5e707a-BHFN5Fx4.js → index-7c5e707a-CVVnpkZ1.js} +145 -145
- package/stencil/index-7c5e707a-d0LYIjGl.cjs +1 -0
- package/stencil/{index-9c0f6c58-Ucwc3Jk1.js → index-9c0f6c58-8sXzcKbt.js} +223 -223
- package/stencil/index-9c0f6c58-CbFwvYJ1.cjs +1 -0
- package/stencil/{index-9c0f6c58-GCIFeGLp.js → index-9c0f6c58-DH5Ki39B.js} +118 -118
- package/stencil/{index-b2193545-LzjWxki5.js → index-b2193545-BekNYO1T.js} +176 -176
- package/stencil/index-b2193545-BteAUmdh.cjs +1 -0
- package/stencil/{index-b2193545-DPKCFIaU.js → index-b2193545-DfDFpDFs.js} +169 -169
- package/stencil/{pam-change-password-DSAfkY23.js → pam-change-password-9bMd9dOQ.js} +1 -1
- package/stencil/{pam-change-password-mcRyjsPo.cjs → pam-change-password-D9deCtek.cjs} +1 -1
- package/stencil/{pam-change-password-af5033a0-BfWHc1Rw.js → pam-change-password-af5033a0-BdPXYjRb.js} +59 -59
- package/stencil/{pam-change-password-af5033a0-C18GwNdS.cjs → pam-change-password-af5033a0-CPFagM2l.cjs} +2 -2
- package/stencil/{pam-change-password-af5033a0-DYGjeRTR.js → pam-change-password-af5033a0-CXI6y6VZ.js} +59 -59
- package/stencil/{pam-change-password-Bdu7Bk_h.js → pam-change-password-h1ivBSP6.js} +1 -1
- package/stencil/{player-kyc-verification-Wsswi9br.js → player-kyc-verification-BJuBsd7A.js} +1 -1
- package/stencil/{player-kyc-verification-D10m225z.cjs → player-kyc-verification-DW2tWbg_.cjs} +1 -1
- package/stencil/{player-kyc-verification-B9ZaCq1K.js → player-kyc-verification-u-XUlDen.js} +1 -1
- package/stencil/{ui-skeleton-Cbqo0oYF.cjs → ui-skeleton-Bez-iF-R.cjs} +1 -1
- package/stencil/{ui-skeleton-LneRlsD3.js → ui-skeleton-CScGJdv_.js} +2 -2
- package/stencil/{ui-skeleton-2XsWxl4S.js → ui-skeleton-CnxOhYAT.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-OnzqIAY0.js → ui-skeleton-ae35c6f2-Bl0_r9TX.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-8s3Rqu1P.js → ui-skeleton-ae35c6f2-CXRVKjq-.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-B4ncHe9g.cjs → ui-skeleton-ae35c6f2-D37mmp9J.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-CSakhNt1.js → user-deposit-withdrawal-B7dnuKq0.js} +45 -45
- package/stencil/{user-deposit-withdrawal-BP58nPO1.cjs → user-deposit-withdrawal-KqJCF9Hl.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-DcVKAa80.js → user-deposit-withdrawal-ar8K3Kn7.js} +45 -45
- package/stencil/{user-transaction-history-D0jBcRwe.js → user-transaction-history-D86WcqZY.js} +588 -588
- package/stencil/{user-transaction-history-BrBScppC.js → user-transaction-history-o1zvVNkt.js} +600 -600
- package/stencil/user-transaction-history-xgpDQYWU.cjs +1 -0
- package/components/GeneralLogout-COm1JcKW.cjs +0 -21
- package/components/PlayerAccountBettingHistory-Bv1Qcp8m.js +0 -311
- package/components/PlayerAccountBettingHistory-CE023VGz.cjs +0 -1
- package/components/PlayerAccountBettingHistory-Dn9IsrIP.js +0 -310
- package/components/PlayerAccountGamingLimitsConfirmationModal-BR2Qm3Iq.cjs +0 -1
- package/components/PlayerAccountGeneralConfirmationModal-BajaU0jJ.cjs +0 -1
- package/components/PlayerDeposit-CmBFg6tX.cjs +0 -1
- package/stencil/index-13661b98-DuhNdmHd.cjs +0 -1
- package/stencil/index-1ef3a64c-DD-PHh2g.cjs +0 -1
- package/stencil/index-1ef3a64c-DQk1yZfC.js +0 -556
- package/stencil/index-7c5e707a-CFlTnjRT.cjs +0 -1
- package/stencil/index-9c0f6c58-8Ks3y9ln.cjs +0 -1
- package/stencil/index-b2193545-BMFR9-V2.cjs +0 -1
- package/stencil/user-transaction-history-HA_tfHfo.cjs +0 -1
|
@@ -1,311 +0,0 @@
|
|
|
1
|
-
import { a as U, $ as V, S as G, i as Z, f as k, c as F, s as J, b as K, e as M, d as A, t as L, g as o, h as v, j as Q, k as W, l, m as R, n as z, o as P, p as q, r as X, q as Y, u as $, v as tt, w as I, x as et, y as st, z as it, A as nt, B as lt } from "./GeneralLogout-Vg76ri4V.js";
|
|
2
|
-
function D(e, t) {
|
|
3
|
-
U(e, t);
|
|
4
|
-
}
|
|
5
|
-
function ot(e) {
|
|
6
|
-
V.set(e);
|
|
7
|
-
}
|
|
8
|
-
const rt = {
|
|
9
|
-
en: {
|
|
10
|
-
titleBettingHistory: "Betting History",
|
|
11
|
-
settledBets: "Settled Bets",
|
|
12
|
-
openBets: "Open Bets"
|
|
13
|
-
},
|
|
14
|
-
ro: {
|
|
15
|
-
titleBettingHistory: "Istoric Pariuri",
|
|
16
|
-
settledBets: "Pariuri Decise",
|
|
17
|
-
openBets: "Pariuri Deschise"
|
|
18
|
-
},
|
|
19
|
-
es: {
|
|
20
|
-
titleBettingHistory: "Historial de Apuestas",
|
|
21
|
-
settledBets: "Apuestas cerradas",
|
|
22
|
-
openBets: "Apuestas abiertas"
|
|
23
|
-
},
|
|
24
|
-
hr: {
|
|
25
|
-
titleBettingHistory: "Povijest klađenja",
|
|
26
|
-
settledBets: "Obračunate oklade",
|
|
27
|
-
openBets: "Otvorene oklade"
|
|
28
|
-
},
|
|
29
|
-
"pt-br": {
|
|
30
|
-
titleBettingHistory: "Histórico de apostas",
|
|
31
|
-
settledBets: "Apostas liquidadas",
|
|
32
|
-
openBets: "apostas abertas"
|
|
33
|
-
},
|
|
34
|
-
"es-mx": {
|
|
35
|
-
titleBettingHistory: "Historial de apuesta",
|
|
36
|
-
settledBets: "Apuestas liquidadas",
|
|
37
|
-
openBets: "Apuestas abiertas"
|
|
38
|
-
},
|
|
39
|
-
tr: {
|
|
40
|
-
titleBettingHistory: "Bahis Geçmişi",
|
|
41
|
-
settledBets: "Sonuçlandırılmış Bahisler",
|
|
42
|
-
openBets: "Açık Bahisler"
|
|
43
|
-
},
|
|
44
|
-
"en-us": {
|
|
45
|
-
titleBettingHistory: "Betting History",
|
|
46
|
-
settledBets: "Settled Bets",
|
|
47
|
-
openBets: "Open Bets"
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
function at(e) {
|
|
51
|
-
K(e, "svelte-1kgy21f", `@import 'https://static.everymatrix.com/omfe-widgets/s/widgets/1.2.0-alpha.0/widgets.min.css';:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.BettingHistoryTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.BettingHistoryTitle.BettingHistoryTitleMobile{font-size:16px}.BettingHistoryTitle.BettingHistoryTitleNone{display:none}.BettingHistoryWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.BettingHistoryWrapper.BettingHistoryWrapperMobile{padding:20px 15px;max-width:unset}.BettingHistoryTabs{width:100%;display:flex;justify-content:center}.BettingHistoryButton{margin:0;width:100%;padding:20px;border:none;font-size:24px;color:var(--emw--color-black, #000);background:var(--emw--color-white, #fff);border:2px solid var(--emw--color-black, #000)}.BettingHistoryButton.BettingHistoryButtonMobile{padding:20px;font-size:12px}.BettingHistoryButton.BettingHistoryButtonSelected{color:var(--emw--color-white, #fff);background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.OM-MatchScore,.OM-MatchScore__List{display:flex;align-items:center;justify-content:center;list-style-type:none;margin:0;padding:0}`);
|
|
52
|
-
}
|
|
53
|
-
function ct(e) {
|
|
54
|
-
let t, n, m, f, h, H, u, a, p, d, B = (
|
|
55
|
-
/*$_*/
|
|
56
|
-
e[4]("titleBettingHistory") + ""
|
|
57
|
-
), S, y, c;
|
|
58
|
-
return {
|
|
59
|
-
c() {
|
|
60
|
-
t = M("div"), n = I("svg"), m = I("defs"), f = I("style"), h = L(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), H = I("g"), u = I("g"), a = I("path"), p = A(), d = M("h2"), S = L(B), o(a, "class", "aaa"), o(a, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), o(a, "transform", "translate(15 15) rotate(180)"), o(u, "transform", "translate(20 158)"), o(H, "transform", "translate(-20 -158)"), o(n, "xmlns", "http://www.w3.org/2000/svg"), o(n, "width", "15"), o(n, "height", "15"), o(n, "viewBox", "0 0 15 15"), o(d, "class", "BettingHistoryTitleMobile"), o(t, "class", "MenuReturnButton");
|
|
61
|
-
},
|
|
62
|
-
m(_, b) {
|
|
63
|
-
W(_, t, b), l(t, n), l(n, m), l(m, f), l(f, h), l(n, H), l(H, u), l(u, a), l(t, p), l(t, d), l(d, S), y || (c = R(
|
|
64
|
-
t,
|
|
65
|
-
"click",
|
|
66
|
-
/*click_handler*/
|
|
67
|
-
e[14]
|
|
68
|
-
), y = !0);
|
|
69
|
-
},
|
|
70
|
-
p(_, b) {
|
|
71
|
-
b & /*$_*/
|
|
72
|
-
16 && B !== (B = /*$_*/
|
|
73
|
-
_[4]("titleBettingHistory") + "") && z(S, B);
|
|
74
|
-
},
|
|
75
|
-
d(_) {
|
|
76
|
-
_ && q(t), y = !1, c();
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
function N(e) {
|
|
81
|
-
return { c: P, m: P, d: P };
|
|
82
|
-
}
|
|
83
|
-
function ut(e) {
|
|
84
|
-
let t, n, m, f = (
|
|
85
|
-
/*$_*/
|
|
86
|
-
e[4]("bettingHistory.title") + ""
|
|
87
|
-
), h, H, u, a, p = (
|
|
88
|
-
/*$_*/
|
|
89
|
-
e[4]("bettingHistory.openBets") + ""
|
|
90
|
-
), d, B, S, y, c = (
|
|
91
|
-
/*$_*/
|
|
92
|
-
e[4]("bettingHistory.settledBets") + ""
|
|
93
|
-
), _, b, T, g, E, O, j, C, x, s = (
|
|
94
|
-
/*isMobile*/
|
|
95
|
-
e[5] && ct(e)
|
|
96
|
-
), i = (
|
|
97
|
-
/*showModal*/
|
|
98
|
-
e[3] === "true" && /*selectedBetId*/
|
|
99
|
-
e[1] && N()
|
|
100
|
-
);
|
|
101
|
-
return {
|
|
102
|
-
c() {
|
|
103
|
-
t = M("div"), s && s.c(), n = A(), m = M("h2"), h = L(f), H = A(), u = M("div"), a = M("button"), d = L(p), S = A(), y = M("button"), _ = L(c), T = A(), g = M("om-betting-history-list"), E = A(), i && i.c(), O = A(), j = M("div"), o(m, "class", "BettingHistoryTitle " + /*isMobile*/
|
|
104
|
-
(e[5] ? "BettingHistoryTitleNone" : "")), o(m, "part", "`BettingHistoryTitleMobile"), o(a, "class", B = `BettingHistoryButton ${/*isMobile*/
|
|
105
|
-
e[5] ? "BettingHistoryButtonMobile" : ""} ${/*betstatus*/
|
|
106
|
-
e[0] === "openBets" ? "BettingHistoryButtonSelected" : ""}`), o(y, "class", b = `BettingHistoryButton ${/*isMobile*/
|
|
107
|
-
e[5] ? "BettingHistoryButtonMobile" : ""} ${/*betstatus*/
|
|
108
|
-
e[0] === "settledBets" ? "BettingHistoryButtonSelected" : ""}`), o(u, "class", "BettingHistoryTabs"), v(
|
|
109
|
-
g,
|
|
110
|
-
"bet-status",
|
|
111
|
-
/*betstatus*/
|
|
112
|
-
e[0]
|
|
113
|
-
), v(g, "item-layout", "V2"), v(g, "match-score-layout", "v2"), v(g, "match-score-scope", "BHDetailed"), v(g, "date-format", "dd.mm.yyyy"), v(g, "time-format", "HH:MM"), v(g, "tournament-route", ":sportId/:tournamentId"), v(g, "match-route", ":betId"), o(j, "class", "OM-MatchScore OM-MatchScore__List"), o(t, "class", "BettingHistoryWrapper"), Q(
|
|
114
|
-
t,
|
|
115
|
-
"BettingHistoryWrapperMobile",
|
|
116
|
-
/*isMobile*/
|
|
117
|
-
e[5]
|
|
118
|
-
);
|
|
119
|
-
},
|
|
120
|
-
m(r, w) {
|
|
121
|
-
W(r, t, w), s && s.m(t, null), l(t, n), l(t, m), l(m, h), l(t, H), l(t, u), l(u, a), l(a, d), l(u, S), l(u, y), l(y, _), l(t, T), l(t, g), l(t, E), i && i.m(t, null), l(t, O), l(t, j), e[17](t), C || (x = [
|
|
122
|
-
R(
|
|
123
|
-
a,
|
|
124
|
-
"click",
|
|
125
|
-
/*click_handler_1*/
|
|
126
|
-
e[15]
|
|
127
|
-
),
|
|
128
|
-
R(
|
|
129
|
-
y,
|
|
130
|
-
"click",
|
|
131
|
-
/*click_handler_2*/
|
|
132
|
-
e[16]
|
|
133
|
-
),
|
|
134
|
-
R(
|
|
135
|
-
g,
|
|
136
|
-
"routeChange",
|
|
137
|
-
/*handleMoreDetails*/
|
|
138
|
-
e[8]
|
|
139
|
-
)
|
|
140
|
-
], C = !0);
|
|
141
|
-
},
|
|
142
|
-
p(r, [w]) {
|
|
143
|
-
/*isMobile*/
|
|
144
|
-
r[5] && s.p(r, w), w & /*$_*/
|
|
145
|
-
16 && f !== (f = /*$_*/
|
|
146
|
-
r[4]("bettingHistory.title") + "") && z(h, f), w & /*$_*/
|
|
147
|
-
16 && p !== (p = /*$_*/
|
|
148
|
-
r[4]("bettingHistory.openBets") + "") && z(d, p), w & /*betstatus*/
|
|
149
|
-
1 && B !== (B = `BettingHistoryButton ${/*isMobile*/
|
|
150
|
-
r[5] ? "BettingHistoryButtonMobile" : ""} ${/*betstatus*/
|
|
151
|
-
r[0] === "openBets" ? "BettingHistoryButtonSelected" : ""}`) && o(a, "class", B), w & /*$_*/
|
|
152
|
-
16 && c !== (c = /*$_*/
|
|
153
|
-
r[4]("bettingHistory.settledBets") + "") && z(_, c), w & /*betstatus*/
|
|
154
|
-
1 && b !== (b = `BettingHistoryButton ${/*isMobile*/
|
|
155
|
-
r[5] ? "BettingHistoryButtonMobile" : ""} ${/*betstatus*/
|
|
156
|
-
r[0] === "settledBets" ? "BettingHistoryButtonSelected" : ""}`) && o(y, "class", b), w & /*betstatus*/
|
|
157
|
-
1 && v(
|
|
158
|
-
g,
|
|
159
|
-
"bet-status",
|
|
160
|
-
/*betstatus*/
|
|
161
|
-
r[0]
|
|
162
|
-
), /*showModal*/
|
|
163
|
-
r[3] === "true" && /*selectedBetId*/
|
|
164
|
-
r[1] ? i || (i = N(), i.c(), i.m(t, O)) : i && (i.d(1), i = null);
|
|
165
|
-
},
|
|
166
|
-
i: P,
|
|
167
|
-
o: P,
|
|
168
|
-
d(r) {
|
|
169
|
-
r && q(t), s && s.d(), i && i.d(), e[17](null), C = !1, X(x);
|
|
170
|
-
}
|
|
171
|
-
};
|
|
172
|
-
}
|
|
173
|
-
function gt(e, t, n) {
|
|
174
|
-
let m;
|
|
175
|
-
Y(e, lt, (s) => n(4, m = s));
|
|
176
|
-
let { betstatus: f = "openBets" } = t, { lang: h = "en" } = t, { selectedBetId: H = null } = t, { clientstyling: u = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: p } = t, { translationurl: d = "" } = t, B = "false", S = window.navigator.userAgent, y = $(S) !== "PC", c;
|
|
177
|
-
const _ = () => {
|
|
178
|
-
fetch(d).then((i) => i.json()).then((i) => {
|
|
179
|
-
Object.keys(i).forEach((r) => {
|
|
180
|
-
D(r, i[r]);
|
|
181
|
-
});
|
|
182
|
-
}).catch((i) => {
|
|
183
|
-
console.log(i);
|
|
184
|
-
});
|
|
185
|
-
};
|
|
186
|
-
Object.entries(rt).forEach(([s, i]) => {
|
|
187
|
-
D(s, i);
|
|
188
|
-
});
|
|
189
|
-
const b = (s) => {
|
|
190
|
-
n(0, f = s);
|
|
191
|
-
}, T = () => {
|
|
192
|
-
window.postMessage(
|
|
193
|
-
{
|
|
194
|
-
type: "PlayerAccountMenuActive",
|
|
195
|
-
isMobile: y
|
|
196
|
-
},
|
|
197
|
-
window.location.href
|
|
198
|
-
);
|
|
199
|
-
}, g = (s) => {
|
|
200
|
-
const { betId: i } = s.detail.params;
|
|
201
|
-
n(1, H = i), n(3, B = "true");
|
|
202
|
-
}, E = (s) => {
|
|
203
|
-
var i;
|
|
204
|
-
((i = s.data) == null ? void 0 : i.type) === "ModalClosed" && n(3, B = "false");
|
|
205
|
-
};
|
|
206
|
-
tt(() => (window.addEventListener("message", E, !1), () => {
|
|
207
|
-
window.removeEventListener("message", E);
|
|
208
|
-
}));
|
|
209
|
-
const O = () => T(), j = () => b("openBets"), C = () => b("settledBets");
|
|
210
|
-
function x(s) {
|
|
211
|
-
et[s ? "unshift" : "push"](() => {
|
|
212
|
-
c = s, n(2, c);
|
|
213
|
-
});
|
|
214
|
-
}
|
|
215
|
-
return e.$$set = (s) => {
|
|
216
|
-
"betstatus" in s && n(0, f = s.betstatus), "lang" in s && n(9, h = s.lang), "selectedBetId" in s && n(1, H = s.selectedBetId), "clientstyling" in s && n(10, u = s.clientstyling), "clientstylingurl" in s && n(11, a = s.clientstylingurl), "mbsource" in s && n(12, p = s.mbsource), "translationurl" in s && n(13, d = s.translationurl);
|
|
217
|
-
}, e.$$.update = () => {
|
|
218
|
-
e.$$.dirty & /*lang*/
|
|
219
|
-
512 && h && ot(h), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
220
|
-
1028 && u && c && st(c, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
221
|
-
2052 && a && c && it(c, a), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
222
|
-
4100 && p && c && nt(c, `${p}.Style`), e.$$.dirty & /*translationurl*/
|
|
223
|
-
8192 && d && _();
|
|
224
|
-
}, [
|
|
225
|
-
f,
|
|
226
|
-
H,
|
|
227
|
-
c,
|
|
228
|
-
B,
|
|
229
|
-
m,
|
|
230
|
-
y,
|
|
231
|
-
b,
|
|
232
|
-
T,
|
|
233
|
-
g,
|
|
234
|
-
h,
|
|
235
|
-
u,
|
|
236
|
-
a,
|
|
237
|
-
p,
|
|
238
|
-
d,
|
|
239
|
-
O,
|
|
240
|
-
j,
|
|
241
|
-
C,
|
|
242
|
-
x
|
|
243
|
-
];
|
|
244
|
-
}
|
|
245
|
-
class dt extends G {
|
|
246
|
-
constructor(t) {
|
|
247
|
-
super(), Z(
|
|
248
|
-
this,
|
|
249
|
-
t,
|
|
250
|
-
gt,
|
|
251
|
-
ut,
|
|
252
|
-
J,
|
|
253
|
-
{
|
|
254
|
-
betstatus: 0,
|
|
255
|
-
lang: 9,
|
|
256
|
-
selectedBetId: 1,
|
|
257
|
-
clientstyling: 10,
|
|
258
|
-
clientstylingurl: 11,
|
|
259
|
-
mbsource: 12,
|
|
260
|
-
translationurl: 13
|
|
261
|
-
},
|
|
262
|
-
at
|
|
263
|
-
);
|
|
264
|
-
}
|
|
265
|
-
get betstatus() {
|
|
266
|
-
return this.$$.ctx[0];
|
|
267
|
-
}
|
|
268
|
-
set betstatus(t) {
|
|
269
|
-
this.$$set({ betstatus: t }), k();
|
|
270
|
-
}
|
|
271
|
-
get lang() {
|
|
272
|
-
return this.$$.ctx[9];
|
|
273
|
-
}
|
|
274
|
-
set lang(t) {
|
|
275
|
-
this.$$set({ lang: t }), k();
|
|
276
|
-
}
|
|
277
|
-
get selectedBetId() {
|
|
278
|
-
return this.$$.ctx[1];
|
|
279
|
-
}
|
|
280
|
-
set selectedBetId(t) {
|
|
281
|
-
this.$$set({ selectedBetId: t }), k();
|
|
282
|
-
}
|
|
283
|
-
get clientstyling() {
|
|
284
|
-
return this.$$.ctx[10];
|
|
285
|
-
}
|
|
286
|
-
set clientstyling(t) {
|
|
287
|
-
this.$$set({ clientstyling: t }), k();
|
|
288
|
-
}
|
|
289
|
-
get clientstylingurl() {
|
|
290
|
-
return this.$$.ctx[11];
|
|
291
|
-
}
|
|
292
|
-
set clientstylingurl(t) {
|
|
293
|
-
this.$$set({ clientstylingurl: t }), k();
|
|
294
|
-
}
|
|
295
|
-
get mbsource() {
|
|
296
|
-
return this.$$.ctx[12];
|
|
297
|
-
}
|
|
298
|
-
set mbsource(t) {
|
|
299
|
-
this.$$set({ mbsource: t }), k();
|
|
300
|
-
}
|
|
301
|
-
get translationurl() {
|
|
302
|
-
return this.$$.ctx[13];
|
|
303
|
-
}
|
|
304
|
-
set translationurl(t) {
|
|
305
|
-
this.$$set({ translationurl: t }), k();
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
F(dt, { betstatus: {}, lang: {}, selectedBetId: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
309
|
-
export {
|
|
310
|
-
dt as default
|
|
311
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-COm1JcKW.cjs");function T(s,e){t.addMessages(s,e)}function j(s){t.$locale.set(s)}const L={en:{titleBettingHistory:"Betting History",settledBets:"Settled Bets",openBets:"Open Bets"},ro:{titleBettingHistory:"Istoric Pariuri",settledBets:"Pariuri Decise",openBets:"Pariuri Deschise"},es:{titleBettingHistory:"Historial de Apuestas",settledBets:"Apuestas cerradas",openBets:"Apuestas abiertas"},hr:{titleBettingHistory:"Povijest klađenja",settledBets:"Obračunate oklade",openBets:"Otvorene oklade"},"pt-br":{titleBettingHistory:"Histórico de apostas",settledBets:"Apostas liquidadas",openBets:"apostas abertas"},"es-mx":{titleBettingHistory:"Historial de apuesta",settledBets:"Apuestas liquidadas",openBets:"Apuestas abiertas"},tr:{titleBettingHistory:"Bahis Geçmişi",settledBets:"Sonuçlandırılmış Bahisler",openBets:"Açık Bahisler"},"en-us":{titleBettingHistory:"Betting History",settledBets:"Settled Bets",openBets:"Open Bets"}};function x(s){t.append_styles(s,"svelte-1kgy21f",`@import 'https://static.everymatrix.com/omfe-widgets/s/widgets/1.2.0-alpha.0/widgets.min.css';:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.BettingHistoryTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.BettingHistoryTitle.BettingHistoryTitleMobile{font-size:16px}.BettingHistoryTitle.BettingHistoryTitleNone{display:none}.BettingHistoryWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.BettingHistoryWrapper.BettingHistoryWrapperMobile{padding:20px 15px;max-width:unset}.BettingHistoryTabs{width:100%;display:flex;justify-content:center}.BettingHistoryButton{margin:0;width:100%;padding:20px;border:none;font-size:24px;color:var(--emw--color-black, #000);background:var(--emw--color-white, #fff);border:2px solid var(--emw--color-black, #000)}.BettingHistoryButton.BettingHistoryButtonMobile{padding:20px;font-size:12px}.BettingHistoryButton.BettingHistoryButtonSelected{color:var(--emw--color-white, #fff);background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.OM-MatchScore,.OM-MatchScore__List{display:flex;align-items:center;justify-content:center;list-style-type:none;margin:0;padding:0}`)}function C(s){let e,l,p,B,_,h,c,o,y,d,g=s[4]("titleBettingHistory")+"",w,m,r;return{c(){e=t.element("div"),l=t.svg_element("svg"),p=t.svg_element("defs"),B=t.svg_element("style"),_=t.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),h=t.svg_element("g"),c=t.svg_element("g"),o=t.svg_element("path"),y=t.space(),d=t.element("h2"),w=t.text(g),t.attr(o,"class","aaa"),t.attr(o,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),t.attr(o,"transform","translate(15 15) rotate(180)"),t.attr(c,"transform","translate(20 158)"),t.attr(h,"transform","translate(-20 -158)"),t.attr(l,"xmlns","http://www.w3.org/2000/svg"),t.attr(l,"width","15"),t.attr(l,"height","15"),t.attr(l,"viewBox","0 0 15 15"),t.attr(d,"class","BettingHistoryTitleMobile"),t.attr(e,"class","MenuReturnButton")},m(b,f){t.insert(b,e,f),t.append(e,l),t.append(l,p),t.append(p,B),t.append(B,_),t.append(l,h),t.append(h,c),t.append(c,o),t.append(e,y),t.append(e,d),t.append(d,w),m||(r=t.listen(e,"click",s[14]),m=!0)},p(b,f){f&16&&g!==(g=b[4]("titleBettingHistory")+"")&&t.set_data(w,g)},d(b){b&&t.detach(e),m=!1,r()}}}function E(s){return{c:t.noop,m:t.noop,d:t.noop}}function P(s){let e,l,p,B=s[4]("bettingHistory.title")+"",_,h,c,o,y=s[4]("bettingHistory.openBets")+"",d,g,w,m,r=s[4]("bettingHistory.settledBets")+"",b,f,v,u,M,S,k,A,I,n=s[5]&&C(s),i=s[3]==="true"&&s[1]&&E();return{c(){e=t.element("div"),n&&n.c(),l=t.space(),p=t.element("h2"),_=t.text(B),h=t.space(),c=t.element("div"),o=t.element("button"),d=t.text(y),w=t.space(),m=t.element("button"),b=t.text(r),v=t.space(),u=t.element("om-betting-history-list"),M=t.space(),i&&i.c(),S=t.space(),k=t.element("div"),t.attr(p,"class","BettingHistoryTitle "+(s[5]?"BettingHistoryTitleNone":"")),t.attr(p,"part","`BettingHistoryTitleMobile"),t.attr(o,"class",g=`BettingHistoryButton ${s[5]?"BettingHistoryButtonMobile":""} ${s[0]==="openBets"?"BettingHistoryButtonSelected":""}`),t.attr(m,"class",f=`BettingHistoryButton ${s[5]?"BettingHistoryButtonMobile":""} ${s[0]==="settledBets"?"BettingHistoryButtonSelected":""}`),t.attr(c,"class","BettingHistoryTabs"),t.set_custom_element_data(u,"bet-status",s[0]),t.set_custom_element_data(u,"item-layout","V2"),t.set_custom_element_data(u,"match-score-layout","v2"),t.set_custom_element_data(u,"match-score-scope","BHDetailed"),t.set_custom_element_data(u,"date-format","dd.mm.yyyy"),t.set_custom_element_data(u,"time-format","HH:MM"),t.set_custom_element_data(u,"tournament-route",":sportId/:tournamentId"),t.set_custom_element_data(u,"match-route",":betId"),t.attr(k,"class","OM-MatchScore OM-MatchScore__List"),t.attr(e,"class","BettingHistoryWrapper"),t.toggle_class(e,"BettingHistoryWrapperMobile",s[5])},m(a,H){t.insert(a,e,H),n&&n.m(e,null),t.append(e,l),t.append(e,p),t.append(p,_),t.append(e,h),t.append(e,c),t.append(c,o),t.append(o,d),t.append(c,w),t.append(c,m),t.append(m,b),t.append(e,v),t.append(e,u),t.append(e,M),i&&i.m(e,null),t.append(e,S),t.append(e,k),s[17](e),A||(I=[t.listen(o,"click",s[15]),t.listen(m,"click",s[16]),t.listen(u,"routeChange",s[8])],A=!0)},p(a,[H]){a[5]&&n.p(a,H),H&16&&B!==(B=a[4]("bettingHistory.title")+"")&&t.set_data(_,B),H&16&&y!==(y=a[4]("bettingHistory.openBets")+"")&&t.set_data(d,y),H&1&&g!==(g=`BettingHistoryButton ${a[5]?"BettingHistoryButtonMobile":""} ${a[0]==="openBets"?"BettingHistoryButtonSelected":""}`)&&t.attr(o,"class",g),H&16&&r!==(r=a[4]("bettingHistory.settledBets")+"")&&t.set_data(b,r),H&1&&f!==(f=`BettingHistoryButton ${a[5]?"BettingHistoryButtonMobile":""} ${a[0]==="settledBets"?"BettingHistoryButtonSelected":""}`)&&t.attr(m,"class",f),H&1&&t.set_custom_element_data(u,"bet-status",a[0]),a[3]==="true"&&a[1]?i||(i=E(),i.c(),i.m(e,S)):i&&(i.d(1),i=null)},i:t.noop,o:t.noop,d(a){a&&t.detach(e),n&&n.d(),i&&i.d(),s[17](null),A=!1,t.run_all(I)}}}function R(s,e,l){let p;t.component_subscribe(s,t.$format,n=>l(4,p=n));let{betstatus:B="openBets"}=e,{lang:_="en"}=e,{selectedBetId:h=null}=e,{clientstyling:c=""}=e,{clientstylingurl:o=""}=e,{mbsource:y}=e,{translationurl:d=""}=e,g="false",w=window.navigator.userAgent,m=t.getDevice(w)!=="PC",r;const b=()=>{fetch(d).then(i=>i.json()).then(i=>{Object.keys(i).forEach(a=>{T(a,i[a])})}).catch(i=>{console.log(i)})};Object.entries(L).forEach(([n,i])=>{T(n,i)});const f=n=>{l(0,B=n)},v=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:m},window.location.href)},u=n=>{const{betId:i}=n.detail.params;l(1,h=i),l(3,g="true")},M=n=>{var i;((i=n.data)==null?void 0:i.type)==="ModalClosed"&&l(3,g="false")};t.onMount(()=>(window.addEventListener("message",M,!1),()=>{window.removeEventListener("message",M)}));const S=()=>v(),k=()=>f("openBets"),A=()=>f("settledBets");function I(n){t.binding_callbacks[n?"unshift":"push"](()=>{r=n,l(2,r)})}return s.$$set=n=>{"betstatus"in n&&l(0,B=n.betstatus),"lang"in n&&l(9,_=n.lang),"selectedBetId"in n&&l(1,h=n.selectedBetId),"clientstyling"in n&&l(10,c=n.clientstyling),"clientstylingurl"in n&&l(11,o=n.clientstylingurl),"mbsource"in n&&l(12,y=n.mbsource),"translationurl"in n&&l(13,d=n.translationurl)},s.$$.update=()=>{s.$$.dirty&512&&_&&j(_),s.$$.dirty&1028&&c&&r&&t.setClientStyling(r,c),s.$$.dirty&2052&&o&&r&&t.setClientStylingURL(r,o),s.$$.dirty&4100&&y&&r&&t.setStreamStyling(r,`${y}.Style`),s.$$.dirty&8192&&d&&b()},[B,h,r,g,p,m,f,v,u,_,c,o,y,d,S,k,A,I]}class O extends t.SvelteComponent{constructor(e){super(),t.init(this,e,R,P,t.safe_not_equal,{betstatus:0,lang:9,selectedBetId:1,clientstyling:10,clientstylingurl:11,mbsource:12,translationurl:13},x)}get betstatus(){return this.$$.ctx[0]}set betstatus(e){this.$$set({betstatus:e}),t.flush()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),t.flush()}get selectedBetId(){return this.$$.ctx[1]}set selectedBetId(e){this.$$set({selectedBetId:e}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(O,{betstatus:{},lang:{},selectedBetId:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=O;
|
|
@@ -1,310 +0,0 @@
|
|
|
1
|
-
import { a as U, $ as V, S as G, i as Z, f as k, c as F, s as J, b as K, e as M, d as A, t as L, g as o, h as v, j as Q, k as W, l as n, m as R, n as z, o as P, p as q, r as X, q as Y, u as $, v as tt, w as I, x as et, y as st, z as it, A as nt, B as lt } from "./GeneralLogout-CiyGpZGU.js";
|
|
2
|
-
function D(e, t) {
|
|
3
|
-
U(e, t);
|
|
4
|
-
}
|
|
5
|
-
function ot(e) {
|
|
6
|
-
V.set(e);
|
|
7
|
-
}
|
|
8
|
-
const rt = {
|
|
9
|
-
en: {
|
|
10
|
-
titleBettingHistory: "Betting History",
|
|
11
|
-
settledBets: "Settled Bets",
|
|
12
|
-
openBets: "Open Bets"
|
|
13
|
-
},
|
|
14
|
-
ro: {
|
|
15
|
-
titleBettingHistory: "Istoric Pariuri",
|
|
16
|
-
settledBets: "Pariuri Decise",
|
|
17
|
-
openBets: "Pariuri Deschise"
|
|
18
|
-
},
|
|
19
|
-
es: {
|
|
20
|
-
titleBettingHistory: "Historial de Apuestas",
|
|
21
|
-
settledBets: "Apuestas cerradas",
|
|
22
|
-
openBets: "Apuestas abiertas"
|
|
23
|
-
},
|
|
24
|
-
hr: {
|
|
25
|
-
titleBettingHistory: "Povijest klađenja",
|
|
26
|
-
settledBets: "Obračunate oklade",
|
|
27
|
-
openBets: "Otvorene oklade"
|
|
28
|
-
},
|
|
29
|
-
"pt-br": {
|
|
30
|
-
titleBettingHistory: "Histórico de apostas",
|
|
31
|
-
settledBets: "Apostas liquidadas",
|
|
32
|
-
openBets: "apostas abertas"
|
|
33
|
-
},
|
|
34
|
-
"es-mx": {
|
|
35
|
-
titleBettingHistory: "Historial de apuesta",
|
|
36
|
-
settledBets: "Apuestas liquidadas",
|
|
37
|
-
openBets: "Apuestas abiertas"
|
|
38
|
-
},
|
|
39
|
-
tr: {
|
|
40
|
-
titleBettingHistory: "Bahis Geçmişi",
|
|
41
|
-
settledBets: "Sonuçlandırılmış Bahisler",
|
|
42
|
-
openBets: "Açık Bahisler"
|
|
43
|
-
},
|
|
44
|
-
"en-us": {
|
|
45
|
-
titleBettingHistory: "Betting History",
|
|
46
|
-
settledBets: "Settled Bets",
|
|
47
|
-
openBets: "Open Bets"
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
function at(e) {
|
|
51
|
-
K(e, "svelte-1kgy21f", `@import 'https://static.everymatrix.com/omfe-widgets/s/widgets/1.2.0-alpha.0/widgets.min.css';:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.BettingHistoryTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.BettingHistoryTitle.BettingHistoryTitleMobile{font-size:16px}.BettingHistoryTitle.BettingHistoryTitleNone{display:none}.BettingHistoryWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.BettingHistoryWrapper.BettingHistoryWrapperMobile{padding:20px 15px;max-width:unset}.BettingHistoryTabs{width:100%;display:flex;justify-content:center}.BettingHistoryButton{margin:0;width:100%;padding:20px;border:none;font-size:24px;color:var(--emw--color-black, #000);background:var(--emw--color-white, #fff);border:2px solid var(--emw--color-black, #000)}.BettingHistoryButton.BettingHistoryButtonMobile{padding:20px;font-size:12px}.BettingHistoryButton.BettingHistoryButtonSelected{color:var(--emw--color-white, #fff);background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.OM-MatchScore,.OM-MatchScore__List{display:flex;align-items:center;justify-content:center;list-style-type:none;margin:0;padding:0}`);
|
|
52
|
-
}
|
|
53
|
-
function ct(e) {
|
|
54
|
-
let t, i, m, f, h, H, u, a, p, d, B = (
|
|
55
|
-
/*$_*/
|
|
56
|
-
e[4]("titleBettingHistory") + ""
|
|
57
|
-
), S, y, c;
|
|
58
|
-
return {
|
|
59
|
-
c() {
|
|
60
|
-
t = M("div"), i = I("svg"), m = I("defs"), f = I("style"), h = L(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), H = I("g"), u = I("g"), a = I("path"), p = A(), d = M("h2"), S = L(B), o(a, "class", "aaa"), o(a, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), o(a, "transform", "translate(15 15) rotate(180)"), o(u, "transform", "translate(20 158)"), o(H, "transform", "translate(-20 -158)"), o(i, "xmlns", "http://www.w3.org/2000/svg"), o(i, "width", "15"), o(i, "height", "15"), o(i, "viewBox", "0 0 15 15"), o(d, "class", "BettingHistoryTitleMobile"), o(t, "class", "MenuReturnButton");
|
|
61
|
-
},
|
|
62
|
-
m(_, b) {
|
|
63
|
-
W(_, t, b), n(t, i), n(i, m), n(m, f), n(f, h), n(i, H), n(H, u), n(u, a), n(t, p), n(t, d), n(d, S), y || (c = R(
|
|
64
|
-
t,
|
|
65
|
-
"click",
|
|
66
|
-
/*click_handler*/
|
|
67
|
-
e[14]
|
|
68
|
-
), y = !0);
|
|
69
|
-
},
|
|
70
|
-
p(_, b) {
|
|
71
|
-
b & /*$_*/
|
|
72
|
-
16 && B !== (B = /*$_*/
|
|
73
|
-
_[4]("titleBettingHistory") + "") && z(S, B);
|
|
74
|
-
},
|
|
75
|
-
d(_) {
|
|
76
|
-
_ && q(t), y = !1, c();
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
function N(e) {
|
|
81
|
-
return { c: P, m: P, d: P };
|
|
82
|
-
}
|
|
83
|
-
function ut(e) {
|
|
84
|
-
let t, i, m, f = (
|
|
85
|
-
/*$_*/
|
|
86
|
-
e[4]("bettingHistory.title") + ""
|
|
87
|
-
), h, H, u, a, p = (
|
|
88
|
-
/*$_*/
|
|
89
|
-
e[4]("bettingHistory.openBets") + ""
|
|
90
|
-
), d, B, S, y, c = (
|
|
91
|
-
/*$_*/
|
|
92
|
-
e[4]("bettingHistory.settledBets") + ""
|
|
93
|
-
), _, b, T, g, E, O, j, C, x, s = (
|
|
94
|
-
/*isMobile*/
|
|
95
|
-
e[5] && ct(e)
|
|
96
|
-
), l = (
|
|
97
|
-
/*showModal*/
|
|
98
|
-
e[3] === "true" && /*selectedBetId*/
|
|
99
|
-
e[1] && N()
|
|
100
|
-
);
|
|
101
|
-
return {
|
|
102
|
-
c() {
|
|
103
|
-
t = M("div"), s && s.c(), i = A(), m = M("h2"), h = L(f), H = A(), u = M("div"), a = M("button"), d = L(p), S = A(), y = M("button"), _ = L(c), T = A(), g = M("om-betting-history-list"), E = A(), l && l.c(), O = A(), j = M("div"), o(m, "class", "BettingHistoryTitle " + /*isMobile*/
|
|
104
|
-
(e[5] ? "BettingHistoryTitleNone" : "")), o(m, "part", "`BettingHistoryTitleMobile"), o(a, "class", B = `BettingHistoryButton ${/*isMobile*/
|
|
105
|
-
e[5] ? "BettingHistoryButtonMobile" : ""} ${/*betstatus*/
|
|
106
|
-
e[0] === "openBets" ? "BettingHistoryButtonSelected" : ""}`), o(y, "class", b = `BettingHistoryButton ${/*isMobile*/
|
|
107
|
-
e[5] ? "BettingHistoryButtonMobile" : ""} ${/*betstatus*/
|
|
108
|
-
e[0] === "settledBets" ? "BettingHistoryButtonSelected" : ""}`), o(u, "class", "BettingHistoryTabs"), v(
|
|
109
|
-
g,
|
|
110
|
-
"bet-status",
|
|
111
|
-
/*betstatus*/
|
|
112
|
-
e[0]
|
|
113
|
-
), v(g, "item-layout", "V2"), v(g, "match-score-layout", "v2"), v(g, "match-score-scope", "BHDetailed"), v(g, "date-format", "dd.mm.yyyy"), v(g, "time-format", "HH:MM"), v(g, "tournament-route", ":sportId/:tournamentId"), v(g, "match-route", ":betId"), o(j, "class", "OM-MatchScore OM-MatchScore__List"), o(t, "class", "BettingHistoryWrapper"), Q(
|
|
114
|
-
t,
|
|
115
|
-
"BettingHistoryWrapperMobile",
|
|
116
|
-
/*isMobile*/
|
|
117
|
-
e[5]
|
|
118
|
-
);
|
|
119
|
-
},
|
|
120
|
-
m(r, w) {
|
|
121
|
-
W(r, t, w), s && s.m(t, null), n(t, i), n(t, m), n(m, h), n(t, H), n(t, u), n(u, a), n(a, d), n(u, S), n(u, y), n(y, _), n(t, T), n(t, g), n(t, E), l && l.m(t, null), n(t, O), n(t, j), e[17](t), C || (x = [
|
|
122
|
-
R(
|
|
123
|
-
a,
|
|
124
|
-
"click",
|
|
125
|
-
/*click_handler_1*/
|
|
126
|
-
e[15]
|
|
127
|
-
),
|
|
128
|
-
R(
|
|
129
|
-
y,
|
|
130
|
-
"click",
|
|
131
|
-
/*click_handler_2*/
|
|
132
|
-
e[16]
|
|
133
|
-
),
|
|
134
|
-
R(
|
|
135
|
-
g,
|
|
136
|
-
"routeChange",
|
|
137
|
-
/*handleMoreDetails*/
|
|
138
|
-
e[8]
|
|
139
|
-
)
|
|
140
|
-
], C = !0);
|
|
141
|
-
},
|
|
142
|
-
p(r, [w]) {
|
|
143
|
-
/*isMobile*/
|
|
144
|
-
r[5] && s.p(r, w), w & /*$_*/
|
|
145
|
-
16 && f !== (f = /*$_*/
|
|
146
|
-
r[4]("bettingHistory.title") + "") && z(h, f), w & /*$_*/
|
|
147
|
-
16 && p !== (p = /*$_*/
|
|
148
|
-
r[4]("bettingHistory.openBets") + "") && z(d, p), w & /*betstatus*/
|
|
149
|
-
1 && B !== (B = `BettingHistoryButton ${/*isMobile*/
|
|
150
|
-
r[5] ? "BettingHistoryButtonMobile" : ""} ${/*betstatus*/
|
|
151
|
-
r[0] === "openBets" ? "BettingHistoryButtonSelected" : ""}`) && o(a, "class", B), w & /*$_*/
|
|
152
|
-
16 && c !== (c = /*$_*/
|
|
153
|
-
r[4]("bettingHistory.settledBets") + "") && z(_, c), w & /*betstatus*/
|
|
154
|
-
1 && b !== (b = `BettingHistoryButton ${/*isMobile*/
|
|
155
|
-
r[5] ? "BettingHistoryButtonMobile" : ""} ${/*betstatus*/
|
|
156
|
-
r[0] === "settledBets" ? "BettingHistoryButtonSelected" : ""}`) && o(y, "class", b), w & /*betstatus*/
|
|
157
|
-
1 && v(
|
|
158
|
-
g,
|
|
159
|
-
"bet-status",
|
|
160
|
-
/*betstatus*/
|
|
161
|
-
r[0]
|
|
162
|
-
), /*showModal*/
|
|
163
|
-
r[3] === "true" && /*selectedBetId*/
|
|
164
|
-
r[1] ? l || (l = N(), l.c(), l.m(t, O)) : l && (l.d(1), l = null);
|
|
165
|
-
},
|
|
166
|
-
i: P,
|
|
167
|
-
o: P,
|
|
168
|
-
d(r) {
|
|
169
|
-
r && q(t), s && s.d(), l && l.d(), e[17](null), C = !1, X(x);
|
|
170
|
-
}
|
|
171
|
-
};
|
|
172
|
-
}
|
|
173
|
-
function gt(e, t, i) {
|
|
174
|
-
let m;
|
|
175
|
-
Y(e, lt, (s) => i(4, m = s));
|
|
176
|
-
let { betstatus: f = "openBets" } = t, { lang: h = "en" } = t, { selectedBetId: H = null } = t, { clientstyling: u = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: p } = t, { translationurl: d = "" } = t, B = "false", S = window.navigator.userAgent, y = $(S) !== "PC", c;
|
|
177
|
-
const _ = () => {
|
|
178
|
-
fetch(d).then((l) => l.json()).then((l) => {
|
|
179
|
-
Object.keys(l).forEach((r) => {
|
|
180
|
-
D(r, l[r]);
|
|
181
|
-
});
|
|
182
|
-
}).catch((l) => {
|
|
183
|
-
console.log(l);
|
|
184
|
-
});
|
|
185
|
-
};
|
|
186
|
-
Object.entries(rt).forEach(([s, l]) => {
|
|
187
|
-
D(s, l);
|
|
188
|
-
});
|
|
189
|
-
const b = (s) => {
|
|
190
|
-
i(0, f = s);
|
|
191
|
-
}, T = () => {
|
|
192
|
-
window.postMessage(
|
|
193
|
-
{
|
|
194
|
-
type: "PlayerAccountMenuActive",
|
|
195
|
-
isMobile: y
|
|
196
|
-
},
|
|
197
|
-
window.location.href
|
|
198
|
-
);
|
|
199
|
-
}, g = (s) => {
|
|
200
|
-
const { betId: l } = s.detail.params;
|
|
201
|
-
i(1, H = l), i(3, B = "true");
|
|
202
|
-
}, E = (s) => {
|
|
203
|
-
s.data?.type === "ModalClosed" && i(3, B = "false");
|
|
204
|
-
};
|
|
205
|
-
tt(() => (window.addEventListener("message", E, !1), () => {
|
|
206
|
-
window.removeEventListener("message", E);
|
|
207
|
-
}));
|
|
208
|
-
const O = () => T(), j = () => b("openBets"), C = () => b("settledBets");
|
|
209
|
-
function x(s) {
|
|
210
|
-
et[s ? "unshift" : "push"](() => {
|
|
211
|
-
c = s, i(2, c);
|
|
212
|
-
});
|
|
213
|
-
}
|
|
214
|
-
return e.$$set = (s) => {
|
|
215
|
-
"betstatus" in s && i(0, f = s.betstatus), "lang" in s && i(9, h = s.lang), "selectedBetId" in s && i(1, H = s.selectedBetId), "clientstyling" in s && i(10, u = s.clientstyling), "clientstylingurl" in s && i(11, a = s.clientstylingurl), "mbsource" in s && i(12, p = s.mbsource), "translationurl" in s && i(13, d = s.translationurl);
|
|
216
|
-
}, e.$$.update = () => {
|
|
217
|
-
e.$$.dirty & /*lang*/
|
|
218
|
-
512 && h && ot(h), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
219
|
-
1028 && u && c && st(c, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
220
|
-
2052 && a && c && it(c, a), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
221
|
-
4100 && p && c && nt(c, `${p}.Style`), e.$$.dirty & /*translationurl*/
|
|
222
|
-
8192 && d && _();
|
|
223
|
-
}, [
|
|
224
|
-
f,
|
|
225
|
-
H,
|
|
226
|
-
c,
|
|
227
|
-
B,
|
|
228
|
-
m,
|
|
229
|
-
y,
|
|
230
|
-
b,
|
|
231
|
-
T,
|
|
232
|
-
g,
|
|
233
|
-
h,
|
|
234
|
-
u,
|
|
235
|
-
a,
|
|
236
|
-
p,
|
|
237
|
-
d,
|
|
238
|
-
O,
|
|
239
|
-
j,
|
|
240
|
-
C,
|
|
241
|
-
x
|
|
242
|
-
];
|
|
243
|
-
}
|
|
244
|
-
class dt extends G {
|
|
245
|
-
constructor(t) {
|
|
246
|
-
super(), Z(
|
|
247
|
-
this,
|
|
248
|
-
t,
|
|
249
|
-
gt,
|
|
250
|
-
ut,
|
|
251
|
-
J,
|
|
252
|
-
{
|
|
253
|
-
betstatus: 0,
|
|
254
|
-
lang: 9,
|
|
255
|
-
selectedBetId: 1,
|
|
256
|
-
clientstyling: 10,
|
|
257
|
-
clientstylingurl: 11,
|
|
258
|
-
mbsource: 12,
|
|
259
|
-
translationurl: 13
|
|
260
|
-
},
|
|
261
|
-
at
|
|
262
|
-
);
|
|
263
|
-
}
|
|
264
|
-
get betstatus() {
|
|
265
|
-
return this.$$.ctx[0];
|
|
266
|
-
}
|
|
267
|
-
set betstatus(t) {
|
|
268
|
-
this.$$set({ betstatus: t }), k();
|
|
269
|
-
}
|
|
270
|
-
get lang() {
|
|
271
|
-
return this.$$.ctx[9];
|
|
272
|
-
}
|
|
273
|
-
set lang(t) {
|
|
274
|
-
this.$$set({ lang: t }), k();
|
|
275
|
-
}
|
|
276
|
-
get selectedBetId() {
|
|
277
|
-
return this.$$.ctx[1];
|
|
278
|
-
}
|
|
279
|
-
set selectedBetId(t) {
|
|
280
|
-
this.$$set({ selectedBetId: t }), k();
|
|
281
|
-
}
|
|
282
|
-
get clientstyling() {
|
|
283
|
-
return this.$$.ctx[10];
|
|
284
|
-
}
|
|
285
|
-
set clientstyling(t) {
|
|
286
|
-
this.$$set({ clientstyling: t }), k();
|
|
287
|
-
}
|
|
288
|
-
get clientstylingurl() {
|
|
289
|
-
return this.$$.ctx[11];
|
|
290
|
-
}
|
|
291
|
-
set clientstylingurl(t) {
|
|
292
|
-
this.$$set({ clientstylingurl: t }), k();
|
|
293
|
-
}
|
|
294
|
-
get mbsource() {
|
|
295
|
-
return this.$$.ctx[12];
|
|
296
|
-
}
|
|
297
|
-
set mbsource(t) {
|
|
298
|
-
this.$$set({ mbsource: t }), k();
|
|
299
|
-
}
|
|
300
|
-
get translationurl() {
|
|
301
|
-
return this.$$.ctx[13];
|
|
302
|
-
}
|
|
303
|
-
set translationurl(t) {
|
|
304
|
-
this.$$set({ translationurl: t }), k();
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
F(dt, { betstatus: {}, lang: {}, selectedBetId: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
308
|
-
export {
|
|
309
|
-
dt as default
|
|
310
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-COm1JcKW.cjs");function B(n,e){t.addMessages(n,e)}function j(n){t.$locale.set(n)}const A={en:{cancel:"Cancel",confirm:"Confirm"},fr:{cancel:"Annuler",confirm:"Confirmer"},ro:{cancel:"Anulează",confirm:"Confirmă"},es:{cancel:"Cancelar",confirm:"Confirmar"},pt:{cancel:"Cancelar",confirm:"Confirmar"},"zh-hk":{cancel:"取消",confirm:"確認"},hr:{cancel:"Otkaži",confirm:"Potvrdi"},"pt-br":{cancel:"Cancelar",confirm:"confirme"},"es-mx":{cancel:"Cancelar",confirm:"Confirmar"},tr:{cancel:"İptal etmek",confirm:"Onaylamak"},"en-us":{cancel:"Cancel",confirm:"Confirm"}};function D(n){t.append_styles(n,"svelte-n224ff",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}')}const N=n=>({}),F=n=>({});function O(n){let e,o;return{c(){e=t.svg_element("svg"),o=t.svg_element("path"),t.attr(o,"stroke-linecap","round"),t.attr(o,"stroke-linejoin","round"),t.attr(o,"stroke-width","2"),t.attr(o,"d","M6 18L18 6M6 6l12 12"),t.attr(e,"class","w-6 h-6"),t.attr(e,"fill","none"),t.attr(e,"stroke","currentColor"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"xmlns","http://www.w3.org/2000/svg")},m(l,y){t.insert(l,e,y),t.append(e,o)},p:t.noop,d(l){l&&t.detach(e)}}}function P(n){let e,o,l,y,p,C,c,s,d,u=n[2]("cancel")+"",f,b,h,r=n[2]("confirm")+"",v,m,x,G;const M=n[14].close,L=t.create_slot(M,n,n[13],F),w=L||O();return{c(){e=t.element("div"),o=t.element("div"),l=t.element("span"),w.c(),y=t.space(),p=t.element("div"),C=t.text(n[0]),c=t.space(),s=t.element("div"),d=t.element("button"),f=t.text(u),b=t.space(),h=t.element("button"),v=t.text(r),t.attr(l,"class","ModalCloseBtn"),t.attr(l,"role","button"),t.attr(p,"class","GamingLimitsConfirmationContent"),t.attr(d,"class","GamingLimitsCancelButton"),t.attr(h,"class","GamingLimitsConfirmButton"),t.attr(s,"class","GamingLimitsConfirmationControlArea "+(n[3]?"GamingLimitsConfirmationControlAreaMobile":"")),t.attr(o,"class","GamingLimitsConfirmationContainer "+(n[3]?"GamingLimitsConfirmationContainerMobile":"")),t.attr(e,"class","GamingLimitsConfirmationWrapper "+(n[3]?"GamingLimitsConfirmationMobileWrapper":""))},m(a,g){t.insert(a,e,g),t.append(e,o),t.append(o,l),w.m(l,null),t.append(o,y),t.append(o,p),t.append(p,C),t.append(o,c),t.append(o,s),t.append(s,d),t.append(d,f),t.append(s,b),t.append(s,h),t.append(h,v),n[15](e),m=!0,x||(G=[t.listen(l,"click",n[4]),t.listen(d,"click",n[6]),t.listen(h,"click",n[5])],x=!0)},p(a,[g]){L&&L.p&&(!m||g&8192)&&t.update_slot_base(L,M,a,a[13],m?t.get_slot_changes(M,a[13],g,N):t.get_all_dirty_from_scope(a[13]),F),(!m||g&1)&&t.set_data(C,a[0]),(!m||g&4)&&u!==(u=a[2]("cancel")+"")&&t.set_data(f,u),(!m||g&4)&&r!==(r=a[2]("confirm")+"")&&t.set_data(v,r)},i(a){m||(t.transition_in(w,a),m=!0)},o(a){t.transition_out(w,a),m=!1},d(a){a&&t.detach(e),w.d(a),n[15](null),x=!1,t.run_all(G)}}}function T(n,e,o){let l;t.component_subscribe(n,t.$format,i=>o(2,l=i));let{$$slots:y={},$$scope:p}=e,{modaltext:C="Are you sure that you want to perform this action?"}=e,{modalsource:c=""}=e,{lang:s="en"}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,{mbsource:f}=e,{translationurl:b=""}=e;const h=()=>{fetch(b).then(_=>_.json()).then(_=>{Object.keys(_).forEach(k=>{B(k,_[k])})}).catch(_=>{console.log(_)})};Object.keys(A).forEach(i=>{B(i,A[i])});let r,v=window.navigator.userAgent,m=t.getDevice(v)!=="PC",x={},G="";const M=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},L=()=>{c==="groupEdit"?window.postMessage({type:"GamingLimitsConfirmChanges"},window.location.href):c==="infoCard"&&window.postMessage({type:"PlayerAccountGamingLimitDelete",limit:x,name:G},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},w=()=>{c==="groupEdit"?window.postMessage({type:"CancelGamingLimitsChanges"},window.location.href):c==="infoCard"&&window.postMessage({type:"CancelGamingLimitsRemove"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},a=i=>i==="Time Limit"?"cumulativeSessionLimits":i==="Deposit Limit"?"depositLimits":i==="Wagering Limit"?"wageringLimit":"lossLimit",g=i=>{if(i.data)switch(i.data.type){case"DeleteLimitsItem":x=i.data.removeData,G=a(i.data.removeName);break}},E=()=>{j(s)};t.onMount(()=>(window.addEventListener("message",g,!1),()=>{window.removeEventListener("message",g)}));function S(i){t.binding_callbacks[i?"unshift":"push"](()=>{r=i,o(1,r)})}return n.$$set=i=>{"modaltext"in i&&o(0,C=i.modaltext),"modalsource"in i&&o(7,c=i.modalsource),"lang"in i&&o(8,s=i.lang),"clientstyling"in i&&o(9,d=i.clientstyling),"clientstylingurl"in i&&o(10,u=i.clientstylingurl),"mbsource"in i&&o(11,f=i.mbsource),"translationurl"in i&&o(12,b=i.translationurl),"$$scope"in i&&o(13,p=i.$$scope)},n.$$.update=()=>{n.$$.dirty&385&&C&&c&&s&&E(),n.$$.dirty&514&&d&&r&&t.setClientStyling(r,d),n.$$.dirty&1026&&u&&r&&t.setClientStylingURL(r,u),n.$$.dirty&2050&&f&&r&&t.setStreamStyling(r,`${f}.Style`),n.$$.dirty&4096&&b&&h()},[C,r,l,m,M,L,w,c,s,d,u,f,b,p,y,S]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,T,P,t.safe_not_equal,{modaltext:0,modalsource:7,lang:8,clientstyling:9,clientstylingurl:10,mbsource:11,translationurl:12},D)}get modaltext(){return this.$$.ctx[0]}set modaltext(e){this.$$set({modaltext:e}),t.flush()}get modalsource(){return this.$$.ctx[7]}set modalsource(e){this.$$set({modalsource:e}),t.flush()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),t.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[11]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(z,{modaltext:{},modalsource:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},["close"],[],!0);exports.default=z;
|