@everymatrix/player-account-controller 1.94.3 → 1.94.5
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-MWlMEMui.cjs → GeneralLogout-CnVAejR5.cjs} +1 -1
- package/components/{GeneralLogout-C1KWLRvw.js → GeneralLogout-kTqNTgvC.js} +53 -53
- package/components/{GeneralLogout-CiQVyfJR.js → GeneralLogout-zgSN4JXC.js} +69 -69
- package/components/{PlayerAccountBettingHistory-Bzn7zhTv.cjs → PlayerAccountBettingHistory-BWmHoBAe.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-DJpEA4l1.js → PlayerAccountBettingHistory-CMXH0Rg-.js} +27 -27
- package/components/{PlayerAccountBettingHistory-D4JNMX1U.js → PlayerAccountBettingHistory-CPbEbbHQ.js} +24 -24
- package/components/{PlayerAccountBiometrics-CZxJ6eg9.js → PlayerAccountBiometrics-Btxg2ReE.js} +29 -29
- package/components/{PlayerAccountBiometrics-CZ77Ztyc.js → PlayerAccountBiometrics-C3OhQX00.js} +29 -29
- package/components/{PlayerAccountBiometrics-DipOuxL2.cjs → PlayerAccountBiometrics-NRYQDR1V.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-DkSGBqQr.cjs → PlayerAccountBiometricsAction-B94gsCP8.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-iH61eCKz.js → PlayerAccountBiometricsAction-BpWHzxpk.js} +20 -20
- package/components/{PlayerAccountBiometricsAction-BCxooM-G.js → PlayerAccountBiometricsAction-_fvfCCxj.js} +29 -29
- package/components/{PlayerAccountClosure-DFqXIXbP.js → PlayerAccountClosure-C1d0pUoW.js} +8 -8
- package/components/{PlayerAccountClosure-DYqfecjB.cjs → PlayerAccountClosure-C49V_7aD.cjs} +1 -1
- package/components/{PlayerAccountClosure-qSDghXQE.js → PlayerAccountClosure-C4jgSJYP.js} +24 -24
- package/components/{PlayerAccountController-SYnkGtb2.js → PlayerAccountController-Bd-Ammrb.js} +88 -88
- package/components/{PlayerAccountController-Dp_erLKA.js → PlayerAccountController-C6MS18Sd.js} +88 -88
- package/components/{PlayerAccountController-D-iw4Gm1.cjs → PlayerAccountController-CPE5eIap.cjs} +2 -2
- package/components/{PlayerAccountGamingLimits-COyTX71p.js → PlayerAccountGamingLimits-CCe9uOfh.js} +32 -32
- package/components/{PlayerAccountGamingLimits-B15eCgme.cjs → PlayerAccountGamingLimits-T7LipEE_.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-CQY0G_uB.js → PlayerAccountGamingLimits-chP_kSHR.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Cm-RQN5t.js → PlayerAccountGamingLimitsConfirmationModal-BfjfP8D_.js} +25 -25
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BH0OV5eK.cjs → PlayerAccountGamingLimitsConfirmationModal-CWtPbAJA.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Dc3s4o1Q.js → PlayerAccountGamingLimitsConfirmationModal-OxqOTLbT.js} +34 -34
- package/components/{PlayerAccountGamingLimitsGroupEdit-fH4M7tFv.js → PlayerAccountGamingLimitsGroupEdit-B6jYzCP7.js} +47 -47
- package/components/{PlayerAccountGamingLimitsGroupEdit-C8v4nT2e.cjs → PlayerAccountGamingLimitsGroupEdit-BJeQE4sA.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-BVUUAj2h.js → PlayerAccountGamingLimitsGroupEdit-DFKPrpCJ.js} +47 -47
- package/components/{PlayerAccountGamingLimitsHistory2-CqD-ISyD.js → PlayerAccountGamingLimitsHistory2-BmfZwZgM.js} +35 -35
- package/components/{PlayerAccountGamingLimitsHistory2-Dzh-CQXK.js → PlayerAccountGamingLimitsHistory2-BqwQ-RB0.js} +45 -45
- package/components/{PlayerAccountGamingLimitsHistory2-CBlHRmrE.cjs → PlayerAccountGamingLimitsHistory2-yyHOWMEJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-DKRI7D9w.js → PlayerAccountGamingLimitsInfoCard-CRZKXfQf.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-DOkGyTOt.js → PlayerAccountGamingLimitsInfoCard-DgtRTtMC.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-Doajed3W.cjs → PlayerAccountGamingLimitsInfoCard-Tofo4vZN.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-P5RWYm8p.cjs → PlayerAccountGamingLimitsPage2Gm16-B_y_Eo11.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-PV8PjIQg.js → PlayerAccountGamingLimitsPage2Gm16-D5TyY7Fa.js} +105 -105
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BBUHxhmC.js → PlayerAccountGamingLimitsPage2Gm16-zj-tjh23.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-tZb8farN.cjs → PlayerAccountGamingLimitsPopup-CrmeCoDe.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-_7IgGj19.js → PlayerAccountGamingLimitsPopup-DeQD-dRc.js} +15 -15
- package/components/{PlayerAccountGamingLimitsPopup-CyFgSuiz.js → PlayerAccountGamingLimitsPopup-XYvk39nq.js} +19 -19
- package/components/{PlayerAccountGamingLimitsWrapper2-C44qlMd9.cjs → PlayerAccountGamingLimitsWrapper2-BIOoxplS.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-CN0ni_t1.js → PlayerAccountGamingLimitsWrapper2-DNUy1TDd.js} +58 -58
- package/components/{PlayerAccountGamingLimitsWrapper2-C3jtv8xY.js → PlayerAccountGamingLimitsWrapper2-UCXXUa_j.js} +54 -54
- package/components/{PlayerAccountGeneralConfirmationModal-DCeF6KK8.js → PlayerAccountGeneralConfirmationModal-BJ5GkodH.js} +35 -35
- package/components/{PlayerAccountGeneralConfirmationModal-Bt6qRu6u.cjs → PlayerAccountGeneralConfirmationModal-DM0WWO2-.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BddPCP6_.js → PlayerAccountGeneralConfirmationModal-DUbqZsUq.js} +38 -38
- package/components/{PlayerAccountMenu-DusUWIlC.js → PlayerAccountMenu-C3r2hbOd.js} +23 -23
- package/components/{PlayerAccountMenu-BxliWxSX.js → PlayerAccountMenu-CjkwZGQ-.js} +23 -23
- package/components/{PlayerAccountMenu-BwFD7onO.cjs → PlayerAccountMenu-D7KXle_O.cjs} +1 -1
- package/components/{PlayerAccountModal-BsKMrXHH.js → PlayerAccountModal-CmOPmRtc.js} +51 -51
- package/components/{PlayerAccountModal-BpsSzItd.cjs → PlayerAccountModal-Dju6j_C4.cjs} +1 -1
- package/components/{PlayerAccountModal-NtKRkErX.js → PlayerAccountModal-rB45bRsX.js} +55 -55
- package/components/{PlayerAccountNotifications-Dc_zKmh_.js → PlayerAccountNotifications-BA8xOkk7.js} +29 -29
- package/components/{PlayerAccountNotifications-2m5scfUL.js → PlayerAccountNotifications-BHkmggUK.js} +88 -88
- package/components/{PlayerAccountNotifications-CHvVDz-S.cjs → PlayerAccountNotifications-BNWMouzN.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-DJV7kbl0.js → PlayerAccountProductRestriction-B9Wce-J2.js} +3 -3
- package/components/{PlayerAccountProductRestriction-_aL_JwHJ.js → PlayerAccountProductRestriction-CeJ8nyQV.js} +3 -3
- package/components/{PlayerAccountProductRestriction-B8RqVuaM.cjs → PlayerAccountProductRestriction-DfSfUmAF.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-NZLIic5S.cjs → PlayerAccountReviewFrequency-CqsHl6Q3.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-DNUAgwcU.js → PlayerAccountReviewFrequency-D14a7YnP.js} +31 -31
- package/components/{PlayerAccountReviewFrequency-BhAACqPf.js → PlayerAccountReviewFrequency-DdXg8T1C.js} +30 -30
- package/components/{PlayerAccountSelfExclusion-AyC4-RDs.js → PlayerAccountSelfExclusion-ANDK6YB8.js} +99 -99
- package/components/{PlayerAccountSelfExclusion-tGBZuvd4.cjs → PlayerAccountSelfExclusion-MJhERUGk.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-hGTAvkjG.js → PlayerAccountSelfExclusion-X4m9-Wif.js} +86 -86
- package/components/{PlayerAccountTimeout-B_8NcUA8.cjs → PlayerAccountTimeout-Ao1JVo5-.cjs} +3 -3
- package/components/{PlayerAccountTimeout--0cBq2Kg.js → PlayerAccountTimeout-DW_64okl.js} +4 -4
- package/components/{PlayerAccountTimeout-6FD2Lwiw.js → PlayerAccountTimeout-IFygbRsF.js} +4 -4
- package/components/{PlayerAccountTransactionsHistory-C5mRRE_D.js → PlayerAccountTransactionsHistory-BH_S2QvH.js} +36 -36
- package/components/{PlayerAccountTransactionsHistory-C5oNPHOx.js → PlayerAccountTransactionsHistory-DOmEjYBs.js} +35 -35
- package/components/{PlayerAccountTransactionsHistory-DE8XgXFB.cjs → PlayerAccountTransactionsHistory-cMyiqG_0.cjs} +1 -1
- package/components/{PlayerActiveBonuses-BZtVJ0tO.js → PlayerActiveBonuses-BN5q9S2-.js} +212 -212
- package/components/{PlayerActiveBonuses-DtdcEwRk.cjs → PlayerActiveBonuses-BOFs5nLV.cjs} +1 -1
- package/components/{PlayerActiveBonuses-C2htEcPk.js → PlayerActiveBonuses-DDyHb_RP.js} +208 -208
- package/components/{PlayerBonusCard-DFd45Hiy.js → PlayerBonusCard-BQAGPKpP.js} +47 -47
- package/components/{PlayerBonusCard-CCyXYxHk.js → PlayerBonusCard-Bpm8P9Sa.js} +47 -47
- package/components/{PlayerBonusCard-BDsAdzuV.cjs → PlayerBonusCard-CYIktzur.cjs} +1 -1
- package/components/{PlayerBonusHistory-DXHnya6D.cjs → PlayerBonusHistory-D1ZIKvKy.cjs} +2 -2
- package/components/{PlayerBonusHistory-DNrE8L0N.js → PlayerBonusHistory-DBtOIHzS.js} +3 -3
- package/components/{PlayerBonusHistory-Dl3OhBaM.js → PlayerBonusHistory-k7HL08qe.js} +3 -3
- package/components/{PlayerChangePassword-CfYOw08o.js → PlayerChangePassword-BJkTqzxD.js} +71 -71
- package/components/{PlayerChangePassword-KWET13cT.js → PlayerChangePassword-BUai6xC1.js} +71 -71
- package/components/{PlayerChangePassword-Cov4z9CH.cjs → PlayerChangePassword-DoWdtlBb.cjs} +1 -1
- package/components/{PlayerDeposit-VlR9R2HM.cjs → PlayerDeposit-BDODxxlC.cjs} +1 -1
- package/components/{PlayerDeposit-DnJa8Yl3.js → PlayerDeposit-C0XRt5EK.js} +24 -24
- package/components/{PlayerDeposit-B2ac6D8s.js → PlayerDeposit-CLyGovJD.js} +28 -28
- package/components/{PlayerGamingHistory-DCnHiCje.js → PlayerGamingHistory-BsHSSyhU.js} +94 -94
- package/components/{PlayerGamingHistory-CViEAUHh.cjs → PlayerGamingHistory-DdUzR5OW.cjs} +1 -1
- package/components/{PlayerGamingHistory-DEZMZgyp.js → PlayerGamingHistory-m0lb-SaP.js} +114 -114
- package/components/{PlayerPendingWithdrawals-DnIuozwG.cjs → PlayerPendingWithdrawals-3U8OWD5l.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-RKAmjSTJ.js → PlayerPendingWithdrawals-BvhroTya.js} +30 -30
- package/components/{PlayerPendingWithdrawals-ID5cnEfB.js → PlayerPendingWithdrawals-CavqhbX6.js} +34 -34
- package/components/{PlayerProfileInfo-B8b5KNTI.cjs → PlayerProfileInfo-BKKrxITi.cjs} +1 -1
- package/components/{PlayerProfileInfo-BvAv9pYw.js → PlayerProfileInfo-DejS3qt9.js} +364 -364
- package/components/{PlayerProfileInfo-D7Lgohmb.js → PlayerProfileInfo-DrBabxG-.js} +342 -342
- package/components/{PlayerRealityCheck-C-6W6BY0.cjs → PlayerRealityCheck-BP88i1lx.cjs} +1 -1
- package/components/{PlayerRealityCheck-C0Y1Zl_P.js → PlayerRealityCheck-DcTKJjjQ.js} +55 -55
- package/components/{PlayerRealityCheck-7fVeEeFe.js → PlayerRealityCheck-DefrXfkM.js} +54 -54
- package/components/{PlayerTransactionHistory-ClwBJKRp.js → PlayerTransactionHistory-4CZSZQMz.js} +31 -31
- package/components/{PlayerTransactionHistory-dWDqxRu8.cjs → PlayerTransactionHistory-B-WtWjm5.cjs} +1 -1
- package/components/{PlayerTransactionHistory-G98VK3oH.js → PlayerTransactionHistory-DTSGZtwn.js} +44 -44
- package/components/{PlayerWithdrawal-jAhz1Aeb.js → PlayerWithdrawal-C4-ZL4z5.js} +25 -25
- package/components/{PlayerWithdrawal-FJUVucSx.js → PlayerWithdrawal-DAU0uggw.js} +25 -25
- package/components/{PlayerWithdrawal-VlKyb1Pk.cjs → PlayerWithdrawal-DI7dGjmC.cjs} +1 -1
- package/components/{QrSessionGenerator-DttwdIra.js → QrSessionGenerator-BMd3QegI.js} +48 -48
- package/components/{QrSessionGenerator-CUbR8FbA.js → QrSessionGenerator-CGtWSfMU.js} +37 -37
- package/components/{QrSessionGenerator-ce2wxm3H.cjs → QrSessionGenerator-fnnwM7n6.cjs} +1 -1
- 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_16-_13Kv9Zi.js → checkbox-group-input_16-BMVEaVtV.js} +4 -4
- package/stencil/{checkbox-group-input_16-BClc1QAF.js → checkbox-group-input_16-C6fU4lxi.js} +4 -4
- package/stencil/{checkbox-group-input_16-BzGXxdU9.cjs → checkbox-group-input_16-DTlEvXD1.cjs} +2 -2
- package/stencil/{index-6e523641-CqeGydRJ.cjs → index-6e523641-CHZRFi0W.cjs} +1 -1
- package/stencil/{index-6e523641-txnZxPs0.js → index-6e523641-CzpA6fqp.js} +1 -1
- package/stencil/{index-6e523641-M8saYcGO.js → index-6e523641-n8F0I2Fs.js} +1 -1
- package/stencil/{index-7469517b-Bmgiy_n-.js → index-7469517b-BFmBiraV.js} +1 -1
- package/stencil/{index-7469517b-ulg1Qmdy.js → index-7469517b-CCwm-ipO.js} +1 -1
- package/stencil/{index-7469517b-8Vfz7n3C.cjs → index-7469517b-DxaDYmkD.cjs} +1 -1
- package/stencil/{index-9c0f6c58-DlXOBm1V.cjs → index-9c0f6c58-CLDl-isE.cjs} +1 -1
- package/stencil/{index-9c0f6c58-BLHPAiHp.js → index-9c0f6c58-CeHgKkkN.js} +1 -1
- package/stencil/{index-9c0f6c58-Dt7MQ5_j.js → index-9c0f6c58-DGo4u6sZ.js} +1 -1
- package/stencil/{pam-change-password-259289fa-CR3dv02q.cjs → pam-change-password-259289fa-B5K_myvf.cjs} +1 -1
- package/stencil/{pam-change-password-259289fa-7sJvUi0P.js → pam-change-password-259289fa-B_ApylOR.js} +3 -3
- package/stencil/{pam-change-password-259289fa-DvjX931m.js → pam-change-password-259289fa-DJ_lsyvr.js} +3 -3
- package/stencil/{pam-change-password-BiAsiO8l.js → pam-change-password-BOIp7Ttz.js} +1 -1
- package/stencil/{pam-change-password-DnCN0UHR.cjs → pam-change-password-C4n9m8Jg.cjs} +1 -1
- package/stencil/{pam-change-password-Dil_uhA4.js → pam-change-password-DH0owsL8.js} +1 -1
- package/stencil/player-kyc-verification-9Ic-jm7L.cjs +210 -0
- package/stencil/{player-kyc-verification-BhngQMYp.js → player-kyc-verification-ByWsZG6l.js} +20 -15
- package/stencil/{player-kyc-verification-BO_q93r0.js → player-kyc-verification-Cm-zE62-.js} +20 -15
- package/stencil/{user-transaction-history-CZc5JwuK.cjs → user-transaction-history-CH5LwNcg.cjs} +1 -1
- package/stencil/{user-transaction-history-CQl_PHMr.js → user-transaction-history-DF87ngqZ.js} +1 -1
- package/stencil/{user-transaction-history-DObkYfdi.js → user-transaction-history-p2F_rXVi.js} +1 -1
- package/stencil/{user-transaction-history_2-CoqbioXa.cjs → user-transaction-history_2--tfZWSJL.cjs} +2 -2
- package/stencil/{user-transaction-history_2-C2zT8Uc5.js → user-transaction-history_2-CanvRRkc.js} +2 -2
- package/stencil/{user-transaction-history_2-Bl8RpF35.js → user-transaction-history_2-ChdfveXx.js} +2 -2
- package/stencil/player-kyc-verification-ISE1zaDp.cjs +0 -210
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountController-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountController-CPE5eIap.cjs"),C=(n,e={})=>{const l=new CustomEvent("track-custom-event",{detail:{type:n,data:e},bubbles:!0,composed:!0});document.dispatchEvent(l)};function v(n,e){t.addMessages(n,e)}function T(n){t.$locale.set(n)}const x={en:{logoutButton:"Logout"},"zh-hk":{logoutButton:"登出"},fr:{logoutButton:"Déconnexion"},tr:{logoutButton:"Çıkış Yap"},ro:{logoutButton:"Iesire"},es:{logoutButton:"Cerrar sesión"},pt:{logoutButton:"Sair"},hr:{logoutButton:"Odjava"},"pt-br":{logoutButton:"Fechar Sessão"},"es-mx":{logoutButton:"Cerrar sesión"},"en-us":{logoutButton:"Logout"}};function O(n){t.append_styles(n,"svelte-xtnqa3","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}")}function j(n){let e,l,a,o=n[2]("logoutButton")+"",s,r,d;return{c(){e=t.element("div"),l=t.element("button"),a=t.element("span"),s=t.text(o),t.attr(e,"class","GeneralLogout")},m(u,g){t.insert(u,e,g),t.append(e,l),t.append(l,a),t.append(a,s),r||(d=t.listen(l,"click",n[14]),r=!0)},p(u,g){g&4&&o!==(o=u[2]("logoutButton")+"")&&t.set_data(s,o)},d(u){u&&t.detach(e),r=!1,d()}}}function H(n){let e,l,a,o,s,r,d,u,g,m,y,f=!n[3]&&G(n);return{c(){e=t.element("p"),l=t.element("span"),a=t.svg_element("svg"),o=t.svg_element("defs"),s=t.svg_element("style"),r=t.text(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"),d=t.svg_element("path"),u=t.svg_element("path"),g=t.space(),f&&f.c(),t.attr(d,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),t.attr(d,"d","M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"),t.attr(u,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),t.attr(u,"d","M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"),t.attr(a,"id","bbfaf345-72af-4296-bf4b-2fd41fc03d5d"),t.attr(a,"data-name","Layer 1"),t.attr(a,"xmlns","http://www.w3.org/2000/svg"),t.attr(a,"viewBox","0 0 150 150"),t.set_style(l,"width",n[3]?n[4].matches?"20px":"24px":"20px"),t.attr(e,"class","PlayerAccountMenuItemBox "+(n[3]?"PlayerAccountMenuItemBoxMobile":"")+" "+(n[4].matches&&n[3]?"PlayerAccountMenuItemBoxTablet":""))},m(h,c){t.insert(h,e,c),t.append(e,l),t.append(l,a),t.append(a,o),t.append(o,s),t.append(s,r),t.append(a,d),t.append(a,u),t.append(e,g),f&&f.m(e,null),m||(y=t.listen(e,"click",n[13]),m=!0)},p(h,c){h[3]||f.p(h,c)},d(h){h&&t.detach(e),f&&f.d(),m=!1,y()}}}function G(n){let e,l=n[2]("logoutButton")+"",a;return{c(){e=t.element("span"),a=t.text(l),t.attr(e,"class","PlayerLogoutText")},m(o,s){t.insert(o,e,s),t.append(e,a)},p(o,s){s&4&&l!==(l=o[2]("logoutButton")+"")&&t.set_data(a,l)},d(o){o&&t.detach(e)}}}function N(n){let e;function l(s,r){return s[0]==="PlayerAccountMenu"?H:j}let a=l(n),o=a(n);return{c(){e=t.element("div"),o.c()},m(s,r){t.insert(s,e,r),o.m(e,null),n[15](e)},p(s,[r]){a===(a=l(s))&&o?o.p(s,r):(o.d(1),o=a(s),o&&(o.c(),o.m(e,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(e),o.d(),n[15](null)}}}function R(n,e,l){let a;t.component_subscribe(n,t.$format,i=>l(2,a=i));let{endpoint:o=""}=e,{session:s=""}=e,{buttonlocation:r=""}=e,{lang:d=""}=e,{mbsource:u}=e,{clientstyling:g=""}=e,{clientstylingurl:m=""}=e,{translationurl:y=""}=e,f="",h=!1,c,B,M=window.navigator.userAgent,A=t.getDevice(M)!=="PC";const F=window.matchMedia("(min-width: 768px)"),L=()=>{fetch(y).then(b=>b.json()).then(b=>{Object.keys(b).forEach(_=>{v(_,b[_])})}).catch(b=>{console.log(b)})};Object.keys(x).forEach(i=>{v(i,x[i])});const p=()=>{let i=new Headers;i.append("Content-type","application/json"),i.append("X-SessionID",s);let b={method:"DELETE",headers:i};fetch(`${o}/v1/player/session/player`,b).then(_=>{window.postMessage({type:"LogoutSuccessfull"},window.location.href),C("logged_out",{})})},k=()=>(o||(f="GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.",h=!0,console.error(f)),s||(f="GENERAL-LOGOUT - Session is missing! Please provide a valid session.",h=!0,console.error(f)),h),P=()=>{T(d)};t.onMount(()=>()=>{});const S=()=>p(),E=()=>p();function I(i){t.binding_callbacks[i?"unshift":"push"](()=>{c=i,l(1,c)})}return n.$$set=i=>{"endpoint"in i&&l(6,o=i.endpoint),"session"in i&&l(7,s=i.session),"buttonlocation"in i&&l(0,r=i.buttonlocation),"lang"in i&&l(8,d=i.lang),"mbsource"in i&&l(9,u=i.mbsource),"clientstyling"in i&&l(10,g=i.clientstyling),"clientstylingurl"in i&&l(11,m=i.clientstylingurl),"translationurl"in i&&l(12,y=i.translationurl)},n.$$.update=()=>{n.$$.dirty&193&&o&&s&&r&&k(),n.$$.dirty&256&&d&&P(),n.$$.dirty&1026&&g&&c&&t.setClientStyling(),n.$$.dirty&1026&&g&&c&&t.setClientStyling(c,g),n.$$.dirty&2050&&m&&c&&t.setClientStylingURL(c,m),n.$$.dirty&514&&u&&c&&t.setStreamStyling(c,`${u}.Style`,B),n.$$.dirty&4096&&y&&L()},[r,c,a,A,F,p,o,s,d,u,g,m,y,S,E,I]}class w extends t.SvelteComponent{constructor(e){super(),t.init(this,e,R,N,t.safe_not_equal,{endpoint:6,session:7,buttonlocation:0,lang:8,mbsource:9,clientstyling:10,clientstylingurl:11,translationurl:12},O)}get endpoint(){return this.$$.ctx[6]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),t.flush()}get buttonlocation(){return this.$$.ctx[0]}set buttonlocation(e){this.$$set({buttonlocation:e}),t.flush()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),t.flush()}get mbsource(){return this.$$.ctx[9]}set mbsource(e){this.$$set({mbsource: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 translationurl(){return this.$$.ctx[12]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(w,{endpoint:{},session:{},buttonlocation:{},lang:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=w;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
1
|
+
import { c as q, b as z, S as V, B as Q, Q as Y, t as p, f as Z, J as F, p as v, D as B, q as w, k as J, w as W, M as X, h as K, e as f, I as E, a2 as x, a3 as k, a0 as $, g as b, _ as tt, Y as I, U as L, V as et, W as nt, m as ot, a as st } from "./PlayerAccountController-Bd-Ammrb.js";
|
|
2
|
+
const lt = (e, t = {}) => {
|
|
3
3
|
const o = new CustomEvent("track-custom-event", {
|
|
4
4
|
detail: {
|
|
5
5
|
type: e,
|
|
@@ -11,10 +11,10 @@ const it = (e, t = {}) => {
|
|
|
11
11
|
document.dispatchEvent(o);
|
|
12
12
|
};
|
|
13
13
|
function P(e, t) {
|
|
14
|
-
|
|
14
|
+
q(e, t);
|
|
15
15
|
}
|
|
16
|
-
function
|
|
17
|
-
|
|
16
|
+
function it(e) {
|
|
17
|
+
z.set(e);
|
|
18
18
|
}
|
|
19
19
|
const S = {
|
|
20
20
|
en: {
|
|
@@ -52,19 +52,19 @@ const S = {
|
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
function at(e) {
|
|
55
|
-
|
|
55
|
+
Z(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
|
|
56
56
|
}
|
|
57
57
|
function rt(e) {
|
|
58
|
-
let t, o,
|
|
58
|
+
let t, o, i, n = (
|
|
59
59
|
/*$_*/
|
|
60
60
|
e[2]("logoutButton") + ""
|
|
61
|
-
),
|
|
61
|
+
), l, a, c;
|
|
62
62
|
return {
|
|
63
63
|
c() {
|
|
64
|
-
t = w("div"), o = w("button"),
|
|
64
|
+
t = w("div"), o = w("button"), i = w("span"), l = k(n), b(t, "class", "GeneralLogout");
|
|
65
65
|
},
|
|
66
66
|
m(r, d) {
|
|
67
|
-
B(r, t, d), f(t, o), f(o,
|
|
67
|
+
B(r, t, d), f(t, o), f(o, i), f(i, l), a || (c = E(
|
|
68
68
|
o,
|
|
69
69
|
"click",
|
|
70
70
|
/*click_handler_1*/
|
|
@@ -74,7 +74,7 @@ function rt(e) {
|
|
|
74
74
|
p(r, d) {
|
|
75
75
|
d & /*$_*/
|
|
76
76
|
4 && n !== (n = /*$_*/
|
|
77
|
-
r[2]("logoutButton") + "") && I(
|
|
77
|
+
r[2]("logoutButton") + "") && I(l, n);
|
|
78
78
|
},
|
|
79
79
|
d(r) {
|
|
80
80
|
r && v(t), a = !1, c();
|
|
@@ -82,11 +82,11 @@ function rt(e) {
|
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
84
|
function ut(e) {
|
|
85
|
-
let t, o,
|
|
85
|
+
let t, o, i, n, l, a, c, r, d, m, _, g = !/*isMobile*/
|
|
86
86
|
e[3] && ct(e);
|
|
87
87
|
return {
|
|
88
88
|
c() {
|
|
89
|
-
t = w("p"), o = w("span"),
|
|
89
|
+
t = w("p"), o = w("span"), i = x("svg"), n = x("defs"), l = x("style"), a = k(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), c = x("path"), r = x("path"), d = $(), g && g.c(), b(c, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), b(c, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), b(r, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), b(r, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), b(i, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), b(i, "data-name", "Layer 1"), b(i, "xmlns", "http://www.w3.org/2000/svg"), b(i, "viewBox", "0 0 150 150"), tt(o, "width", /*isMobile*/
|
|
90
90
|
e[3] ? (
|
|
91
91
|
/*mediaQuery*/
|
|
92
92
|
e[4].matches ? "20px" : "24px"
|
|
@@ -96,7 +96,7 @@ function ut(e) {
|
|
|
96
96
|
e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
|
|
97
97
|
},
|
|
98
98
|
m(h, u) {
|
|
99
|
-
B(h, t, u), f(t, o), f(o,
|
|
99
|
+
B(h, t, u), f(t, o), f(o, i), f(i, n), f(n, l), f(l, a), f(i, c), f(i, r), f(t, d), g && g.m(t, null), m || (_ = E(
|
|
100
100
|
t,
|
|
101
101
|
"click",
|
|
102
102
|
/*click_handler*/
|
|
@@ -116,18 +116,18 @@ function ct(e) {
|
|
|
116
116
|
let t, o = (
|
|
117
117
|
/*$_*/
|
|
118
118
|
e[2]("logoutButton") + ""
|
|
119
|
-
),
|
|
119
|
+
), i;
|
|
120
120
|
return {
|
|
121
121
|
c() {
|
|
122
|
-
t = w("span"),
|
|
122
|
+
t = w("span"), i = k(o), b(t, "class", "PlayerLogoutText");
|
|
123
123
|
},
|
|
124
|
-
m(n,
|
|
125
|
-
B(n, t,
|
|
124
|
+
m(n, l) {
|
|
125
|
+
B(n, t, l), f(t, i);
|
|
126
126
|
},
|
|
127
|
-
p(n,
|
|
128
|
-
|
|
127
|
+
p(n, l) {
|
|
128
|
+
l & /*$_*/
|
|
129
129
|
4 && o !== (o = /*$_*/
|
|
130
|
-
n[2]("logoutButton") + "") && I(
|
|
130
|
+
n[2]("logoutButton") + "") && I(i, o);
|
|
131
131
|
},
|
|
132
132
|
d(n) {
|
|
133
133
|
n && v(t);
|
|
@@ -136,35 +136,35 @@ function ct(e) {
|
|
|
136
136
|
}
|
|
137
137
|
function dt(e) {
|
|
138
138
|
let t;
|
|
139
|
-
function o(
|
|
139
|
+
function o(l, a) {
|
|
140
140
|
return (
|
|
141
141
|
/*buttonlocation*/
|
|
142
|
-
|
|
142
|
+
l[0] === "PlayerAccountMenu" ? ut : rt
|
|
143
143
|
);
|
|
144
144
|
}
|
|
145
|
-
let
|
|
145
|
+
let i = o(e), n = i(e);
|
|
146
146
|
return {
|
|
147
147
|
c() {
|
|
148
148
|
t = w("div"), n.c();
|
|
149
149
|
},
|
|
150
|
-
m(
|
|
151
|
-
B(
|
|
150
|
+
m(l, a) {
|
|
151
|
+
B(l, t, a), n.m(t, null), e[15](t);
|
|
152
152
|
},
|
|
153
|
-
p(
|
|
154
|
-
|
|
153
|
+
p(l, [a]) {
|
|
154
|
+
i === (i = o(l)) && n ? n.p(l, a) : (n.d(1), n = i(l), n && (n.c(), n.m(t, null)));
|
|
155
155
|
},
|
|
156
|
-
i:
|
|
157
|
-
o:
|
|
158
|
-
d(
|
|
159
|
-
|
|
156
|
+
i: F,
|
|
157
|
+
o: F,
|
|
158
|
+
d(l) {
|
|
159
|
+
l && v(t), n.d(), e[15](null);
|
|
160
160
|
}
|
|
161
161
|
};
|
|
162
162
|
}
|
|
163
163
|
function gt(e, t, o) {
|
|
164
|
-
let
|
|
165
|
-
|
|
166
|
-
let { endpoint: n = "" } = t, { session:
|
|
167
|
-
const
|
|
164
|
+
let i;
|
|
165
|
+
J(e, st, (s) => o(2, i = s));
|
|
166
|
+
let { endpoint: n = "" } = t, { session: l = "" } = t, { buttonlocation: a = "" } = t, { lang: c = "" } = t, { mbsource: r } = t, { clientstyling: d = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: _ = "" } = t, g = "", h = !1, u, C, T = window.navigator.userAgent, O = W(T) !== "PC";
|
|
167
|
+
const H = window.matchMedia("(min-width: 768px)"), j = () => {
|
|
168
168
|
fetch(_).then((y) => y.json()).then((y) => {
|
|
169
169
|
Object.keys(y).forEach((A) => {
|
|
170
170
|
P(A, y[A]);
|
|
@@ -178,42 +178,42 @@ function gt(e, t, o) {
|
|
|
178
178
|
});
|
|
179
179
|
const M = () => {
|
|
180
180
|
let s = new Headers();
|
|
181
|
-
s.append("Content-type", "application/json"), s.append("X-SessionID",
|
|
181
|
+
s.append("Content-type", "application/json"), s.append("X-SessionID", l);
|
|
182
182
|
let y = { method: "DELETE", headers: s };
|
|
183
183
|
fetch(`${n}/v1/player/session/player`, y).then((A) => {
|
|
184
|
-
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href),
|
|
184
|
+
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), lt("logged_out", {});
|
|
185
185
|
});
|
|
186
|
-
}, G = () => (n || (g = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", h = !0, console.error(g)),
|
|
187
|
-
|
|
186
|
+
}, G = () => (n || (g = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", h = !0, console.error(g)), l || (g = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", h = !0, console.error(g)), h), U = () => {
|
|
187
|
+
it(c);
|
|
188
188
|
};
|
|
189
|
-
|
|
189
|
+
X(() => () => {
|
|
190
190
|
});
|
|
191
191
|
const D = () => M(), N = () => M();
|
|
192
192
|
function R(s) {
|
|
193
|
-
|
|
193
|
+
K[s ? "unshift" : "push"](() => {
|
|
194
194
|
u = s, o(1, u);
|
|
195
195
|
});
|
|
196
196
|
}
|
|
197
197
|
return e.$$set = (s) => {
|
|
198
|
-
"endpoint" in s && o(6, n = s.endpoint), "session" in s && o(7,
|
|
198
|
+
"endpoint" in s && o(6, n = s.endpoint), "session" in s && o(7, l = s.session), "buttonlocation" in s && o(0, a = s.buttonlocation), "lang" in s && o(8, c = s.lang), "mbsource" in s && o(9, r = s.mbsource), "clientstyling" in s && o(10, d = s.clientstyling), "clientstylingurl" in s && o(11, m = s.clientstylingurl), "translationurl" in s && o(12, _ = s.translationurl);
|
|
199
199
|
}, e.$$.update = () => {
|
|
200
200
|
e.$$.dirty & /*endpoint, session, buttonlocation*/
|
|
201
|
-
193 && n &&
|
|
202
|
-
256 && c &&
|
|
203
|
-
1026 && d && u &&
|
|
204
|
-
1026 && d && u &&
|
|
201
|
+
193 && n && l && a && G(), e.$$.dirty & /*lang*/
|
|
202
|
+
256 && c && U(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
203
|
+
1026 && d && u && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
204
|
+
1026 && d && u && L(u, d), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
205
205
|
2050 && m && u && et(u, m), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
206
206
|
514 && r && u && nt(u, `${r}.Style`, C), e.$$.dirty & /*translationurl*/
|
|
207
|
-
4096 && _ &&
|
|
207
|
+
4096 && _ && j();
|
|
208
208
|
}, [
|
|
209
209
|
a,
|
|
210
210
|
u,
|
|
211
|
-
|
|
211
|
+
i,
|
|
212
212
|
O,
|
|
213
|
-
|
|
213
|
+
H,
|
|
214
214
|
M,
|
|
215
215
|
n,
|
|
216
|
-
|
|
216
|
+
l,
|
|
217
217
|
c,
|
|
218
218
|
r,
|
|
219
219
|
d,
|
|
@@ -226,12 +226,12 @@ function gt(e, t, o) {
|
|
|
226
226
|
}
|
|
227
227
|
class ft extends V {
|
|
228
228
|
constructor(t) {
|
|
229
|
-
super(),
|
|
229
|
+
super(), Q(
|
|
230
230
|
this,
|
|
231
231
|
t,
|
|
232
232
|
gt,
|
|
233
233
|
dt,
|
|
234
|
-
|
|
234
|
+
Y,
|
|
235
235
|
{
|
|
236
236
|
endpoint: 6,
|
|
237
237
|
session: 7,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
1
|
+
import { c as q, b as z, S as V, B as Q, Q as Y, t as p, f as Z, J as F, p as v, D as B, q as w, k as J, w as W, M as X, h as K, e as f, I as E, a2 as x, a3 as k, a0 as $, g as b, _ as tt, Y as I, U as L, V as et, W as nt, m as ot, a as st } from "./PlayerAccountController-C6MS18Sd.js";
|
|
2
|
+
const lt = (e, t = {}) => {
|
|
3
3
|
const o = new CustomEvent("track-custom-event", {
|
|
4
4
|
detail: {
|
|
5
5
|
type: e,
|
|
@@ -13,7 +13,7 @@ const it = (e, t = {}) => {
|
|
|
13
13
|
function P(e, t) {
|
|
14
14
|
q(e, t);
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function it(e) {
|
|
17
17
|
z.set(e);
|
|
18
18
|
}
|
|
19
19
|
const S = {
|
|
@@ -52,19 +52,19 @@ const S = {
|
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
function at(e) {
|
|
55
|
-
|
|
55
|
+
Z(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
|
|
56
56
|
}
|
|
57
57
|
function rt(e) {
|
|
58
|
-
let t, o,
|
|
58
|
+
let t, o, i, n = (
|
|
59
59
|
/*$_*/
|
|
60
60
|
e[2]("logoutButton") + ""
|
|
61
|
-
),
|
|
61
|
+
), l, a, c;
|
|
62
62
|
return {
|
|
63
63
|
c() {
|
|
64
|
-
t =
|
|
64
|
+
t = w("div"), o = w("button"), i = w("span"), l = k(n), b(t, "class", "GeneralLogout");
|
|
65
65
|
},
|
|
66
66
|
m(r, d) {
|
|
67
|
-
B(r, t, d), f(t, o), f(o,
|
|
67
|
+
B(r, t, d), f(t, o), f(o, i), f(i, l), a || (c = E(
|
|
68
68
|
o,
|
|
69
69
|
"click",
|
|
70
70
|
/*click_handler_1*/
|
|
@@ -74,19 +74,19 @@ function rt(e) {
|
|
|
74
74
|
p(r, d) {
|
|
75
75
|
d & /*$_*/
|
|
76
76
|
4 && n !== (n = /*$_*/
|
|
77
|
-
r[2]("logoutButton") + "") && I(
|
|
77
|
+
r[2]("logoutButton") + "") && I(l, n);
|
|
78
78
|
},
|
|
79
79
|
d(r) {
|
|
80
|
-
r &&
|
|
80
|
+
r && v(t), a = !1, c();
|
|
81
81
|
}
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
84
|
function ut(e) {
|
|
85
|
-
let t, o,
|
|
85
|
+
let t, o, i, n, l, a, c, r, d, m, _, g = !/*isMobile*/
|
|
86
86
|
e[3] && ct(e);
|
|
87
87
|
return {
|
|
88
88
|
c() {
|
|
89
|
-
t =
|
|
89
|
+
t = w("p"), o = w("span"), i = x("svg"), n = x("defs"), l = x("style"), a = k(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), c = x("path"), r = x("path"), d = $(), g && g.c(), b(c, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), b(c, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), b(r, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), b(r, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), b(i, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), b(i, "data-name", "Layer 1"), b(i, "xmlns", "http://www.w3.org/2000/svg"), b(i, "viewBox", "0 0 150 150"), tt(o, "width", /*isMobile*/
|
|
90
90
|
e[3] ? (
|
|
91
91
|
/*mediaQuery*/
|
|
92
92
|
e[4].matches ? "20px" : "24px"
|
|
@@ -95,20 +95,20 @@ function ut(e) {
|
|
|
95
95
|
(e[4].matches && /*isMobile*/
|
|
96
96
|
e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
|
|
97
97
|
},
|
|
98
|
-
m(
|
|
99
|
-
B(
|
|
98
|
+
m(h, u) {
|
|
99
|
+
B(h, t, u), f(t, o), f(o, i), f(i, n), f(n, l), f(l, a), f(i, c), f(i, r), f(t, d), g && g.m(t, null), m || (_ = E(
|
|
100
100
|
t,
|
|
101
101
|
"click",
|
|
102
102
|
/*click_handler*/
|
|
103
103
|
e[13]
|
|
104
|
-
),
|
|
104
|
+
), m = !0);
|
|
105
105
|
},
|
|
106
|
-
p(
|
|
106
|
+
p(h, u) {
|
|
107
107
|
/*isMobile*/
|
|
108
|
-
|
|
108
|
+
h[3] || g.p(h, u);
|
|
109
109
|
},
|
|
110
|
-
d(
|
|
111
|
-
|
|
110
|
+
d(h) {
|
|
111
|
+
h && v(t), g && g.d(), m = !1, _();
|
|
112
112
|
}
|
|
113
113
|
};
|
|
114
114
|
}
|
|
@@ -116,61 +116,61 @@ function ct(e) {
|
|
|
116
116
|
let t, o = (
|
|
117
117
|
/*$_*/
|
|
118
118
|
e[2]("logoutButton") + ""
|
|
119
|
-
),
|
|
119
|
+
), i;
|
|
120
120
|
return {
|
|
121
121
|
c() {
|
|
122
|
-
t =
|
|
122
|
+
t = w("span"), i = k(o), b(t, "class", "PlayerLogoutText");
|
|
123
123
|
},
|
|
124
|
-
m(n,
|
|
125
|
-
B(n, t,
|
|
124
|
+
m(n, l) {
|
|
125
|
+
B(n, t, l), f(t, i);
|
|
126
126
|
},
|
|
127
|
-
p(n,
|
|
128
|
-
|
|
127
|
+
p(n, l) {
|
|
128
|
+
l & /*$_*/
|
|
129
129
|
4 && o !== (o = /*$_*/
|
|
130
|
-
n[2]("logoutButton") + "") && I(
|
|
130
|
+
n[2]("logoutButton") + "") && I(i, o);
|
|
131
131
|
},
|
|
132
132
|
d(n) {
|
|
133
|
-
n &&
|
|
133
|
+
n && v(t);
|
|
134
134
|
}
|
|
135
135
|
};
|
|
136
136
|
}
|
|
137
137
|
function dt(e) {
|
|
138
138
|
let t;
|
|
139
|
-
function o(
|
|
139
|
+
function o(l, a) {
|
|
140
140
|
return (
|
|
141
141
|
/*buttonlocation*/
|
|
142
|
-
|
|
142
|
+
l[0] === "PlayerAccountMenu" ? ut : rt
|
|
143
143
|
);
|
|
144
144
|
}
|
|
145
|
-
let
|
|
145
|
+
let i = o(e), n = i(e);
|
|
146
146
|
return {
|
|
147
147
|
c() {
|
|
148
|
-
t =
|
|
148
|
+
t = w("div"), n.c();
|
|
149
149
|
},
|
|
150
|
-
m(
|
|
151
|
-
B(
|
|
150
|
+
m(l, a) {
|
|
151
|
+
B(l, t, a), n.m(t, null), e[15](t);
|
|
152
152
|
},
|
|
153
|
-
p(
|
|
154
|
-
|
|
153
|
+
p(l, [a]) {
|
|
154
|
+
i === (i = o(l)) && n ? n.p(l, a) : (n.d(1), n = i(l), n && (n.c(), n.m(t, null)));
|
|
155
155
|
},
|
|
156
156
|
i: F,
|
|
157
157
|
o: F,
|
|
158
|
-
d(
|
|
159
|
-
|
|
158
|
+
d(l) {
|
|
159
|
+
l && v(t), n.d(), e[15](null);
|
|
160
160
|
}
|
|
161
161
|
};
|
|
162
162
|
}
|
|
163
163
|
function gt(e, t, o) {
|
|
164
|
-
let
|
|
165
|
-
|
|
166
|
-
let { endpoint: n = "" } = t, { session:
|
|
167
|
-
const
|
|
168
|
-
fetch(_).then((
|
|
169
|
-
Object.keys(
|
|
170
|
-
P(A,
|
|
164
|
+
let i;
|
|
165
|
+
J(e, st, (s) => o(2, i = s));
|
|
166
|
+
let { endpoint: n = "" } = t, { session: l = "" } = t, { buttonlocation: a = "" } = t, { lang: c = "" } = t, { mbsource: r } = t, { clientstyling: d = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: _ = "" } = t, g = "", h = !1, u, C, T = window.navigator.userAgent, O = W(T) !== "PC";
|
|
167
|
+
const H = window.matchMedia("(min-width: 768px)"), j = () => {
|
|
168
|
+
fetch(_).then((y) => y.json()).then((y) => {
|
|
169
|
+
Object.keys(y).forEach((A) => {
|
|
170
|
+
P(A, y[A]);
|
|
171
171
|
});
|
|
172
|
-
}).catch((
|
|
173
|
-
console.log(
|
|
172
|
+
}).catch((y) => {
|
|
173
|
+
console.log(y);
|
|
174
174
|
});
|
|
175
175
|
};
|
|
176
176
|
Object.keys(S).forEach((s) => {
|
|
@@ -178,60 +178,60 @@ function gt(e, t, o) {
|
|
|
178
178
|
});
|
|
179
179
|
const M = () => {
|
|
180
180
|
let s = new Headers();
|
|
181
|
-
s.append("Content-type", "application/json"), s.append("X-SessionID",
|
|
182
|
-
let
|
|
183
|
-
fetch(`${n}/v1/player/session/player`,
|
|
184
|
-
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href),
|
|
181
|
+
s.append("Content-type", "application/json"), s.append("X-SessionID", l);
|
|
182
|
+
let y = { method: "DELETE", headers: s };
|
|
183
|
+
fetch(`${n}/v1/player/session/player`, y).then((A) => {
|
|
184
|
+
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), lt("logged_out", {});
|
|
185
185
|
});
|
|
186
|
-
}, G = () => (n || (g = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.",
|
|
187
|
-
|
|
186
|
+
}, G = () => (n || (g = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", h = !0, console.error(g)), l || (g = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", h = !0, console.error(g)), h), U = () => {
|
|
187
|
+
it(c);
|
|
188
188
|
};
|
|
189
|
-
|
|
189
|
+
X(() => () => {
|
|
190
190
|
});
|
|
191
|
-
const
|
|
192
|
-
function
|
|
193
|
-
|
|
191
|
+
const D = () => M(), N = () => M();
|
|
192
|
+
function R(s) {
|
|
193
|
+
K[s ? "unshift" : "push"](() => {
|
|
194
194
|
u = s, o(1, u);
|
|
195
195
|
});
|
|
196
196
|
}
|
|
197
197
|
return e.$$set = (s) => {
|
|
198
|
-
"endpoint" in s && o(6, n = s.endpoint), "session" in s && o(7,
|
|
198
|
+
"endpoint" in s && o(6, n = s.endpoint), "session" in s && o(7, l = s.session), "buttonlocation" in s && o(0, a = s.buttonlocation), "lang" in s && o(8, c = s.lang), "mbsource" in s && o(9, r = s.mbsource), "clientstyling" in s && o(10, d = s.clientstyling), "clientstylingurl" in s && o(11, m = s.clientstylingurl), "translationurl" in s && o(12, _ = s.translationurl);
|
|
199
199
|
}, e.$$.update = () => {
|
|
200
200
|
e.$$.dirty & /*endpoint, session, buttonlocation*/
|
|
201
|
-
193 && n &&
|
|
202
|
-
256 && c &&
|
|
201
|
+
193 && n && l && a && G(), e.$$.dirty & /*lang*/
|
|
202
|
+
256 && c && U(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
203
203
|
1026 && d && u && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
204
204
|
1026 && d && u && L(u, d), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
205
|
-
2050 &&
|
|
205
|
+
2050 && m && u && et(u, m), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
206
206
|
514 && r && u && nt(u, `${r}.Style`, C), e.$$.dirty & /*translationurl*/
|
|
207
|
-
4096 && _ &&
|
|
207
|
+
4096 && _ && j();
|
|
208
208
|
}, [
|
|
209
209
|
a,
|
|
210
210
|
u,
|
|
211
|
-
|
|
211
|
+
i,
|
|
212
212
|
O,
|
|
213
|
-
|
|
213
|
+
H,
|
|
214
214
|
M,
|
|
215
215
|
n,
|
|
216
|
-
|
|
216
|
+
l,
|
|
217
217
|
c,
|
|
218
218
|
r,
|
|
219
219
|
d,
|
|
220
|
-
|
|
220
|
+
m,
|
|
221
221
|
_,
|
|
222
|
+
D,
|
|
222
223
|
N,
|
|
223
|
-
R
|
|
224
|
-
U
|
|
224
|
+
R
|
|
225
225
|
];
|
|
226
226
|
}
|
|
227
227
|
class ft extends V {
|
|
228
228
|
constructor(t) {
|
|
229
|
-
super(),
|
|
229
|
+
super(), Q(
|
|
230
230
|
this,
|
|
231
231
|
t,
|
|
232
232
|
gt,
|
|
233
233
|
dt,
|
|
234
|
-
|
|
234
|
+
Y,
|
|
235
235
|
{
|
|
236
236
|
endpoint: 6,
|
|
237
237
|
session: 7,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountController-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountController-CPE5eIap.cjs");function T(n,e){t.addMessages(n,e)}function j(n){t.$locale.set(n)}const C={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 P(n){t.append_styles(n,"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 x(n){let e,l,p,m,f,_,r,o,y,u,d=n[4]("titleBettingHistory")+"",w,g,a;return{c(){e=t.element("div"),l=t.svg_element("svg"),p=t.svg_element("defs"),m=t.svg_element("style"),f=t.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),_=t.svg_element("g"),r=t.svg_element("g"),o=t.svg_element("path"),y=t.space(),u=t.element("h2"),w=t.text(d),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(r,"transform","translate(20 158)"),t.attr(_,"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(u,"class","BettingHistoryTitleMobile"),t.attr(e,"class","MenuReturnButton")},m(b,h){t.insert(b,e,h),t.append(e,l),t.append(l,p),t.append(p,m),t.append(m,f),t.append(l,_),t.append(_,r),t.append(r,o),t.append(e,y),t.append(e,u),t.append(u,w),g||(a=t.listen(e,"click",n[14]),g=!0)},p(b,h){h&16&&d!==(d=b[4]("titleBettingHistory")+"")&&t.set_data(w,d)},d(b){b&&t.detach(e),g=!1,a()}}}function E(n){return{c:t.noop,m:t.noop,d:t.noop}}function L(n){let e,l,p,m=n[4]("bettingHistory.title")+"",f,_,r,o,y=n[4]("bettingHistory.openBets")+"",u,d,w,g,a=n[4]("bettingHistory.settledBets")+"",b,h,v,c,A,M,S,k,I,H=n[5]&&x(n),s=n[3]==="true"&&n[1]&&E();return{c(){e=t.element("div"),H&&H.c(),l=t.space(),p=t.element("h2"),f=t.text(m),_=t.space(),r=t.element("div"),o=t.element("button"),u=t.text(y),w=t.space(),g=t.element("button"),b=t.text(a),v=t.space(),c=t.element("om-betting-history-list"),A=t.space(),s&&s.c(),M=t.space(),S=t.element("div"),t.attr(p,"class","BettingHistoryTitle "+(n[5]?"BettingHistoryTitleNone":"")),t.attr(p,"part","`BettingHistoryTitleMobile"),t.attr(o,"class",d=`BettingHistoryButton ${n[5]?"BettingHistoryButtonMobile":""} ${n[0]==="openBets"?"BettingHistoryButtonSelected":""}`),t.attr(g,"class",h=`BettingHistoryButton ${n[5]?"BettingHistoryButtonMobile":""} ${n[0]==="settledBets"?"BettingHistoryButtonSelected":""}`),t.attr(r,"class","BettingHistoryTabs"),t.set_custom_element_data(c,"bet-status",n[0]),t.set_custom_element_data(c,"item-layout","V2"),t.set_custom_element_data(c,"match-score-layout","v2"),t.set_custom_element_data(c,"match-score-scope","BHDetailed"),t.set_custom_element_data(c,"date-format","dd.mm.yyyy"),t.set_custom_element_data(c,"time-format","HH:MM"),t.set_custom_element_data(c,"tournament-route",":sportId/:tournamentId"),t.set_custom_element_data(c,"match-route",":betId"),t.attr(S,"class","OM-MatchScore OM-MatchScore__List"),t.attr(e,"class","BettingHistoryWrapper"),t.toggle_class(e,"BettingHistoryWrapperMobile",n[5])},m(i,B){t.insert(i,e,B),H&&H.m(e,null),t.append(e,l),t.append(e,p),t.append(p,f),t.append(e,_),t.append(e,r),t.append(r,o),t.append(o,u),t.append(r,w),t.append(r,g),t.append(g,b),t.append(e,v),t.append(e,c),t.append(e,A),s&&s.m(e,null),t.append(e,M),t.append(e,S),n[17](e),k||(I=[t.listen(o,"click",n[15]),t.listen(g,"click",n[16]),t.listen(c,"routeChange",n[8])],k=!0)},p(i,[B]){i[5]&&H.p(i,B),B&16&&m!==(m=i[4]("bettingHistory.title")+"")&&t.set_data(f,m),B&16&&y!==(y=i[4]("bettingHistory.openBets")+"")&&t.set_data(u,y),B&1&&d!==(d=`BettingHistoryButton ${i[5]?"BettingHistoryButtonMobile":""} ${i[0]==="openBets"?"BettingHistoryButtonSelected":""}`)&&t.attr(o,"class",d),B&16&&a!==(a=i[4]("bettingHistory.settledBets")+"")&&t.set_data(b,a),B&1&&h!==(h=`BettingHistoryButton ${i[5]?"BettingHistoryButtonMobile":""} ${i[0]==="settledBets"?"BettingHistoryButtonSelected":""}`)&&t.attr(g,"class",h),B&1&&t.set_custom_element_data(c,"bet-status",i[0]),i[3]==="true"&&i[1]?s||(s=E(),s.c(),s.m(e,M)):s&&(s.d(1),s=null)},i:t.noop,o:t.noop,d(i){i&&t.detach(e),H&&H.d(),s&&s.d(),n[17](null),k=!1,t.run_all(I)}}}function R(n,e,l){let p;t.component_subscribe(n,t.$format,s=>l(4,p=s));let{betstatus:m="openBets"}=e,{lang:f="en"}=e,{selectedBetId:_=null}=e,{clientstyling:r=""}=e,{clientstylingurl:o=""}=e,{mbsource:y}=e,{translationurl:u=""}=e,d="false",w=window.navigator.userAgent,g=t.getDevice(w)!=="PC",a,b;const h=()=>{fetch(u).then(i=>i.json()).then(i=>{Object.keys(i).forEach(B=>{T(B,i[B])})}).catch(i=>{console.log(i)})};Object.entries(C).forEach(([s,i])=>{T(s,i)});const v=s=>{l(0,m=s)},c=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:g},window.location.href)},A=s=>{const{betId:i}=s.detail.params;l(1,_=i),l(3,d="true")},M=s=>{var i;((i=s.data)==null?void 0:i.type)==="ModalClosed"&&l(3,d="false")};t.onMount(()=>(window.addEventListener("message",M,!1),()=>{window.removeEventListener("message",M)}));const S=()=>c(),k=()=>v("openBets"),I=()=>v("settledBets");function H(s){t.binding_callbacks[s?"unshift":"push"](()=>{a=s,l(2,a)})}return n.$$set=s=>{"betstatus"in s&&l(0,m=s.betstatus),"lang"in s&&l(9,f=s.lang),"selectedBetId"in s&&l(1,_=s.selectedBetId),"clientstyling"in s&&l(10,r=s.clientstyling),"clientstylingurl"in s&&l(11,o=s.clientstylingurl),"mbsource"in s&&l(12,y=s.mbsource),"translationurl"in s&&l(13,u=s.translationurl)},n.$$.update=()=>{n.$$.dirty&512&&f&&j(f),n.$$.dirty&1028&&r&&a&&t.setClientStyling(a,r),n.$$.dirty&2052&&o&&a&&t.setClientStylingURL(a,o),n.$$.dirty&4100&&y&&a&&t.setStreamStyling(a,`${y}.Style`,b),n.$$.dirty&8192&&u&&h()},[m,_,a,d,p,g,v,c,A,f,r,o,y,u,S,k,I,H]}class O extends t.SvelteComponent{constructor(e){super(),t.init(this,e,R,L,t.safe_not_equal,{betstatus:0,lang:9,selectedBetId:1,clientstyling:10,clientstylingurl:11,mbsource:12,translationurl:13},P)}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;
|