@everymatrix/player-account-controller-nd 1.68.0 → 1.69.1
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/PlayerAccountControllerNd-B8_Eg8M7.cjs +1 -0
- package/components/{PlayerAccountControllerNd-DdY0uS9P.js → PlayerAccountControllerNd-C9c5qHpB.js} +103 -15
- package/components/{PlayerAccountControllerNd-DLE8Fmlq.js → PlayerAccountControllerNd-D2utEHf5.js} +103 -15
- package/components/{PlayerAccountGamingLimits-DZBzKFyv.cjs → PlayerAccountGamingLimits-BIXEO8qU.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-BwempsG_.js → PlayerAccountGamingLimits-Bj6iDB2S.js} +1 -1
- package/components/{PlayerAccountGamingLimits-C5fcaaR5.js → PlayerAccountGamingLimits-DxoR6Rl0.js} +1 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-5Xl-352p.js +4792 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-CYeY3dwe.js +4792 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-Crtmu06d.cjs +2 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-BiYcxWjN.js → PlayerAccountGamingLimitsInfoCard-B-8AhoxC.js} +2 -2
- package/components/{PlayerAccountGamingLimitsInfoCard-DWbZBNtU.cjs → PlayerAccountGamingLimitsInfoCard-COS0sgRr.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-dUq3DIBx.js → PlayerAccountGamingLimitsInfoCard-DSLO6bv_.js} +2 -2
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-D0j9FESV.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-B6tELts_.cjs} +3 -3
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-JTp7ykpl.js → PlayerAccountGamingLimitsPage2Gm16Nd-CXQX6eNH.js} +108 -114
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Cp0HPknx.js → PlayerAccountGamingLimitsPage2Gm16Nd-Dx02fxKY.js} +129 -135
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DnzmU3uL.js → PlayerAccountGamingLimitsWrapper2Nd-CpyV2hP1.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-D6DATRJZ.cjs → PlayerAccountGamingLimitsWrapper2Nd-D5nHHoLm.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-BEi1Ax2s.js → PlayerAccountGamingLimitsWrapper2Nd-DT0rCXco.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-C4zwKDdb.js → PlayerAccountGeneralConfirmationModal-BBveBuYk.js} +114 -119
- package/components/{PlayerAccountGeneralConfirmationModal-Byd2u6b9.js → PlayerAccountGeneralConfirmationModal-DFj-HuBM.js} +114 -119
- package/components/PlayerAccountGeneralConfirmationModal-DHEkFez0.cjs +1 -0
- package/components/{PlayerAccountMenuNd-Cs9UjL2S.js → PlayerAccountMenuNd-BMBUbI6y.js} +1 -1
- package/components/{PlayerAccountMenuNd-BFdU3ZXb.cjs → PlayerAccountMenuNd-Bb8eCevo.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-Cx7Fxjin.js → PlayerAccountMenuNd-D1RwH7wH.js} +1 -1
- package/components/{PlayerAccountNotifications-bjLmyXO3.js → PlayerAccountNotifications-B-74n2wI.js} +1 -1
- package/components/{PlayerAccountNotifications-ejASOsrU.cjs → PlayerAccountNotifications-D8r2XtCv.cjs} +1 -1
- package/components/{PlayerAccountNotifications-BjAtYQls.js → PlayerAccountNotifications-k9UyYE2n.js} +1 -1
- package/components/{PlayerAccountProductRestriction-BK1qKxhK.cjs → PlayerAccountProductRestriction-BRQ_0iRa.cjs} +261 -261
- package/components/{PlayerAccountProductRestriction-pQjnbz9B.js → PlayerAccountProductRestriction-Bb852CXS.js} +1941 -1960
- package/components/{PlayerAccountProductRestriction-BSOQXTrt.js → PlayerAccountProductRestriction-DuhY6Smp.js} +1929 -1948
- package/components/{PlayerAccountSelfExclusionNd-DnktIYiG.cjs → PlayerAccountSelfExclusionNd-CSTSxxS9.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusionNd-BG-L1FIn.js → PlayerAccountSelfExclusionNd-Ce5YAsGV.js} +3 -3
- package/components/{PlayerAccountSelfExclusionNd-Cm53bCiD.js → PlayerAccountSelfExclusionNd-kOAMG31m.js} +3 -3
- package/components/{PlayerAccountTimeout-BqGTX3_t.js → PlayerAccountTimeout-C5PJ_msd.js} +3 -3
- package/components/{PlayerAccountTimeout-C0aSuJAQ.cjs → PlayerAccountTimeout-CMtwjwEg.cjs} +1 -1
- package/components/{PlayerAccountTimeout-MJuN3qY1.js → PlayerAccountTimeout-ocrV5KJH.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-CWLsJxGB.js → PlayerAccountTransactionsHistory-097RLBFr.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-ClkTyrnI.js → PlayerAccountTransactionsHistory-DH_DQqUA.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-WOO2lyyP.cjs → PlayerAccountTransactionsHistory-DmawfuJF.cjs} +1 -1
- package/components/{PlayerActiveBonuses-D0-l-pB3.js → PlayerActiveBonuses-CD7vVwcl.js} +492 -462
- package/components/{PlayerActiveBonuses-LzSf0vDW.js → PlayerActiveBonuses-CfJuOJRv.js} +489 -459
- package/components/PlayerActiveBonuses-wlP0A00N.cjs +1 -0
- package/components/PlayerBonusCard-BBQEU4zs.cjs +1 -0
- package/components/{PlayerBonusCard-C0Z6YeQL.js → PlayerBonusCard-CLcU7jvi.js} +207 -191
- package/components/{PlayerBonusCard-CYnvLBMF.js → PlayerBonusCard-DqH1t5fZ.js} +207 -191
- package/components/PlayerBonusHistory-1O3uWzIQ.cjs +1 -0
- package/components/PlayerBonusHistory-BM4fFqSh.js +1051 -0
- package/components/PlayerBonusHistory-ByBUgN3W.js +1040 -0
- package/components/PlayerGamingHistory-DQ4HRmmw.cjs +1 -0
- package/components/{PlayerGamingHistory-DV8OU2Tr.js → PlayerGamingHistory-_yfFEV_F.js} +472 -456
- package/components/PlayerGamingHistory-z-S43iX0.js +1016 -0
- package/components/{PlayerProfileInfo-DcmY9plr.cjs → PlayerProfileInfo-B_Ljin_V.cjs} +1 -1
- package/components/{PlayerProfileInfo-Cnrcnxn9.js → PlayerProfileInfo-D_Tgt-Px.js} +1 -1
- package/components/{PlayerProfileInfo-yVopMUMB.js → PlayerProfileInfo-DzX5fe6K.js} +1 -1
- package/components/{PlayerRealityCheck-RsT9a67Q.js → PlayerRealityCheck-6XXRahxA.js} +1 -1
- package/components/{PlayerRealityCheck-BrVF76qp.cjs → PlayerRealityCheck-BjYYGdSA.cjs} +1 -1
- package/components/{PlayerRealityCheck-C7EUl18t.js → PlayerRealityCheck-DGjxJY9s.js} +1 -1
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_14-D0Wi9yCm.js → checkbox-group-input_14-BFSnZagr.js} +59 -39
- package/stencil/{checkbox-group-input_14-0MlabybW.js → checkbox-group-input_14-GLjTTxmH.js} +59 -39
- package/stencil/{checkbox-group-input_14-BUUOn-f1.cjs → checkbox-group-input_14-uRy46KSq.cjs} +117 -117
- package/stencil/{index-13661b98-wjpz7oVL.cjs → index-13661b98-4yXy6CPB.cjs} +1 -1
- package/stencil/{index-13661b98-Dd0kDfGP.js → index-13661b98-D2nlyS8e.js} +1 -1
- package/stencil/{index-13661b98-Vb11Gqfi.js → index-13661b98-DIbjgfzn.js} +1 -1
- package/stencil/{index-7c5e707a-C9R6jYpt.js → index-7c5e707a-2AC9SnQ7.js} +1 -1
- package/stencil/{index-7c5e707a-DvxqcEpc.js → index-7c5e707a-BM4sfR0h.js} +1 -1
- package/stencil/{index-7c5e707a-ESX_oqGB.cjs → index-7c5e707a-Cw-c3Bke.cjs} +1 -1
- package/stencil/{index-b2193545-Ct5AhxM8.cjs → index-b2193545-BabAkr0e.cjs} +1 -1
- package/stencil/{index-b2193545-DePry399.js → index-b2193545-BiOpH9En.js} +1 -1
- package/stencil/{index-b2193545-CnMZ4-Ff.js → index-b2193545-Ce-13pAo.js} +1 -1
- package/stencil/{pam-change-password-D23ISzqi.js → pam-change-password-BJkxTpcZ.js} +2 -2
- package/stencil/{pam-change-password-1_IegfkZ.cjs → pam-change-password-DBQlR2TU.cjs} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-Cxe8Atmr.js → pam-change-password-f4a1e7e7-BWQCkDNb.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-DzJmDiaX.js → pam-change-password-f4a1e7e7-C9NkOxiM.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-BqEyIcXD.cjs → pam-change-password-f4a1e7e7-D-bYL6gs.cjs} +1 -1
- package/stencil/{pam-change-password-BUGFXbZ2.js → pam-change-password-iLjG4ryi.js} +2 -2
- package/stencil/ui-skeleton-161699c3-B01ZhhJT.cjs +73 -0
- package/stencil/{ui-skeleton-1cb75d00-BI5A-j0y.js → ui-skeleton-161699c3-B6lE-0Wi.js} +61 -41
- package/stencil/{ui-skeleton-1cb75d00-CwDKR1VD.js → ui-skeleton-161699c3-D0o9EmS0.js} +61 -41
- package/stencil/{ui-skeleton-DoX-UmRU.js → ui-skeleton-B3VBr2Bz.js} +3 -3
- package/stencil/{ui-skeleton-C974aG7g.js → ui-skeleton-BENu4NGl.js} +3 -3
- package/stencil/{ui-skeleton-t0bb1jH7.cjs → ui-skeleton-DQD9osiT.cjs} +1 -1
- package/stencil/user-transaction-history-7_yFZr3w.js +1645 -0
- package/stencil/user-transaction-history-DZZT2rYX.cjs +1 -0
- package/stencil/user-transaction-history-Dpd_aKdj.js +1621 -0
- package/components/PlayerAccountControllerNd-CWJ_S9v9.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-BvnqlbPp.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-D0hqXEY4.js +0 -2891
- package/components/PlayerAccountGamingLimitsGroupEdit-DVvwhjK6.js +0 -2891
- package/components/PlayerAccountGeneralConfirmationModal-BiNxgQbD.cjs +0 -1
- package/components/PlayerActiveBonuses-Bc5S3wl_.cjs +0 -1
- package/components/PlayerBonusCard-BNNcjGWn.cjs +0 -1
- package/components/PlayerBonusHistory-C3fZQarG.js +0 -985
- package/components/PlayerBonusHistory-DWFOy5jX.js +0 -986
- package/components/PlayerBonusHistory-KSW8XpoL.cjs +0 -1
- package/components/PlayerGamingHistory-BBu7qQuS.js +0 -975
- package/components/PlayerGamingHistory-WTu28xyT.cjs +0 -1
- package/stencil/ui-skeleton-1cb75d00-Batko5iK.cjs +0 -73
- package/stencil/user-transaction-history-BAK7MHHa.js +0 -374
- package/stencil/user-transaction-history-DhQ6RqNc.js +0 -350
- package/stencil/user-transaction-history-DiRXpfbN.cjs +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var Ee=Object.defineProperty;var ce=Object.getOwnPropertySymbols;var Ge=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable;var ue=(r,t,a)=>t in r?Ee(r,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[t]=a,ge=(r,t)=>{for(var a in t||(t={}))Ge.call(t,a)&&ue(r,a,t[a]);if(ce)for(var a of ce(t))ke.call(t,a)&&ue(r,a,t[a]);return r};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-Dzu2Sl-x.cjs");require("./PlayerAccountGamingLimits-DZBzKFyv.cjs");require("./PlayerAccountSelfExclusionNd-DnktIYiG.cjs");const de=require("./PlayerAccountGamingLimitsGroupEdit-BvnqlbPp.cjs");function fe(r,t){e.addMessages(r,t)}function Fe(r){e.$locale.set(r)}const ye={en:{titleGamingHistory:"Gaming History",return:"Return",previous:"Prev",next:"Next",dateFrom:"From:",dateTo:"To:",dateFilter:"Filter",numberOfResults:"Show:",noRecord:"You haven't played any games so far.",transactionId:"Transaction ID",date:"Date",gameName:"Game Name",stake:"Stake",InternalError:"Error: The difference between Start Date and End Date is greater than 180 days",InvalidSession:"Error: Session is expired.",genericError:"Something went wrong!"},"zh-hk":{titleGamingHistory:"遊戲歷史",return:"回來",previous:"上一頁",next:"下一個",dateFrom:"從:",dateTo:"至:",dateFilter:"篩選",numberOfResults:"節目:",noRecord:"到目前為止,您還沒有玩任何遊戲。",transactionId:"交易編號",date:"日期",gameName:"遊戲名稱",stake:"賭注",InternalError:"错误:开始日期与结束日期之间的差距超过180天",InvalidSession:"错误:会话已过期。",genericError:"出了些问题!"},fr:{titleGamingHistory:"Historique des jeux",return:"Revenir",previous:"Précedent",next:"Suivant",dateFrom:"De:",dateTo:"A:",dateFilter:"Filtre",numberOfResults:"Afficher:",noRecord:"Vous n'avez joué à aucun jeu jusqu'à présent.",transactionId:"Transaction ID",date:"Date",gameName:"Nom du jeu",stake:"Mise",InternalError:"Erreur : La différence entre la date de début et la date de fin est supérieure à 180 jours",InvalidSession:"Erreur : La session est expirée.",genericError:"Quelque chose s'est mal passé !"},ro:{titleGamingHistory:"Istoric jocuri",return:"Înapoi la meniu",previous:"Înapoi",next:"Înainte",dateFrom:"De la",dateTo:"La",dateFilter:"Filtru",numberOfResults:"Arată",noRecord:"Nu ai niciun istoric de jocuri în acest moment.",InternalError:"Eroare: Diferența dintre data de început și data de sfârșit este mai mare de 180 de zile",InvalidSession:"Eroare: Sesiunea a expirat.",genericError:"Ceva nu a funcționat corect!"},es:{titleGamingHistory:"Historial de apuestas",return:"Regresar",previous:"Previo",next:"Siguiente",dateFrom:"Desde:",dateTo:"A:",dateFilter:"Filtro",numberOfResults:"Mostrar:",noRecord:"Aún no ha jugado ningún juego",transactionId:"ID de Transacción",date:"Fecha",gameName:"Nombre del juego",stake:"Apostado",InternalError:"Error: La diferencia entre la fecha de inicio y la fecha de fin es superior a 180 días",InvalidSession:"Error: La sesión ha expirado.",genericError:"¡Algo salió mal!"},pt:{titleGamingHistory:"Histórico de jogos",return:"Voltar ao menu",previous:"Anterior",next:"Próximo",dateFrom:"A partir de:",dateTo:"Para:",dateFilter:"Filtro:",numberOfResults:"Mostrar:",noRecord:"Você não jogou nenhum jogo até agora.",InternalError:"Erro: A diferença entre a Data de Início e a Data de Fim é superior a 180 dias",InvalidSession:"Erro: A sessão expirou.",genericError:"Algo deu errado!"},hr:{titleGamingHistory:"Povijest igranja",return:"Povratak",previous:"Prethodno",next:"Slijedeće",dateFrom:"Od:",dateTo:"Do:",dateFilter:"Filter",numberOfResults:"Prikaži:",noRecord:"Do sada niste igrali nijednu igru.",transactionId:"ID transakcije",date:"Datum",gameName:"Naziv igre",stake:"Ulog",InternalError:"Greška: Razlika između početnog i završnog datuma veća je od 180 dana",InvalidSession:"Greška: Sesija je istekla.",genericError:"Došlo je do greške!"},"pt-br":{titleGamingHistory:"História do jogo",return:"Volte",previous:"Anterior",next:"Seguindo",dateFrom:"De:",dateTo:"PARA:",dateFilter:"Filtro",numberOfResults:"Mostrar:",noRecord:"Ele não jogou até agora.",transactionId:"ID da transação",date:"Data",gameName:"Nome do jogo",stake:"Valor da aposta",InternalError:"Erro: A diferença entre a Data de Início e a Data de Fim é superior a 180 dias",InvalidSession:"Erro: A sessão expirou.",genericError:"Algo deu errado!"},"es-mx":{titleGamingHistory:"Historial de juego",return:"Regresar",previous:"Prev",next:"Siguiente",dateFrom:"De:",dateTo:"A:",dateFilter:"Filtro",numberOfResults:"Mostrar:",noRecord:"No ha jugado hasta el momento.",transactionId:"ID de transacción",date:"Fecha",gameName:"Nombre de Juego",stake:"Monto de apuesta",InternalError:"Error: La diferencia entre la fecha de inicio y la fecha de fin es mayor a 180 días",InvalidSession:"Error: La sesión ha expirado.",genericError:"¡Algo salió mal!"},tr:{titleGamingHistory:"Oyun Tarihi",return:"Geri dönmek",previous:"Önceki",next:"Sonraki",dateFrom:"İtibaren:",dateTo:"İle:",dateFilter:"Filtre",numberOfResults:"Göstermek:",noRecord:"Şu ana kadar hiçbir oyun oynamadınız.",transactionId:"İşlem Kimliği",date:"Tarih",gameName:"Oyun Adı",stake:"Bahis",InternalError:"Hata: Başlangıç tarihi ile bitiş tarihi arasındaki fark 180 günden fazla",InvalidSession:"Hata: Oturumun süresi doldu.",genericError:"Bir şeyler yanlış gitti!"},"en-us":{titleGamingHistory:"Gaming History",return:"Return",previous:"Prev",next:"Next",dateFrom:"From:",dateTo:"To:",dateFilter:"Filter",numberOfResults:"Show:",noRecord:"You haven't played any games so far.",transactionId:"Transaction ID",date:"Date",gameName:"Game Name",stake:"Stake",InternalError:"Error: The difference between Start Date and End Date is greater than 180 days",InvalidSession:"Error: Session is expired.",genericError:"Something went wrong!"},de:{titleGamingHistory:"Spielhistorie",return:"Zurück",previous:"Zurück",next:"Weiter",dateFrom:"Von:",dateTo:"Bis:",dateFilter:"Filtern",numberOfResults:"Anzeigen:",noRecord:"Sie haben bisher keine Spiele gespielt.",transactionId:"Transaktions-ID",date:"Datum",gameName:"Spielname",stake:"Einsatz",InternalError:"Fehler: Der Unterschied zwischen dem Startdatum und dem Enddatum ist größer als 180 Tage",InvalidSession:"Fehler: Die Sitzung ist abgelaufen.",genericError:"Etwas ist schief gelaufen!"}};function He(r){e.append_styles(r,"svelte-5ec3ad",`.PlayerGamingHistoryWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px}.PlayerGamingHistoryWrapper .PlayerGamingHistoryTitle{font-size:24px;font-weight:400;text-transform:capitalize}.PlayerGamingDateContainer{display:inline-flex;gap:20px}.PlayerGamingHistoryFilterWrapper,.PlayerGamingDateWrapper{display:inline-flex;align-items:center;gap:10px}.PlayerGamingHistoryFilterWrapper{margin-bottom:20px;gap:20px;width:100%}.PlayerGamingItemCountContainer{margin-left:auto}.PlayerGamingHistoryTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.PlayerGamingHistoryTitleMobile{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerGamingHistoryTitleNone{display: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))}.PlayerGamingHistoryEmpty{color:var(--emw--color-typography-cotrast, #444444)}.PlayerGamingHistoryContainer{width:100%;row-gap:30px;color:var(--emw--color-typography-cotrast, #444444);background:var(--emw--color-white, #FFFFFF);box-shadow:0px 3px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:var(--emw--border-radius-large, 10px);padding:10px 0}.PlayerGamingHistoryContainer table{border:0}.PlayerGamingHistoryContainer table tr{border:0;background:var(--emw--color-white, #FFFFFF)}.PlayerGamingHistoryContainer table tr:not(:last-child){border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.PlayerGamingHistoryContainer thead tr{border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.PlayerGamingHistoryContainer thead th{font-size:var(--emw--);font-weight:400}.PlayerGamingHistoryItemCount{padding:8px;border-radius:var(--emw--border-radius-small, 5px);border:1px solid var(--emw--color-gray-100, #E6E6E6);-webkit-appearance:none;-moz-appearance:none;appearance:none;width:60px;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center;cursor:pointer}.PlayerGamingHistoryItemCount:focus,.PlayerGamingHistoryItemCount :focus-within,.PlayerGamingHistoryItemCount :focus-visible,.PlayerGamingHistoryItemCount :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));outline:none}.PlayerPaginationControls{background:transparent;border:none;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;gap:8px;cursor:pointer}.PlayerPaginationControls.PlayerPaginationControlsDisabled{color:var(--emw--color-gray-100, #E6E6E6)}.PlayerPaginationControlsArea{margin-top:30px;display:flex;justify-content:center}.PlayerGamingHistoryFilterWrapper span{color:var(--emw--color-typography-cotrast, #444444);font-weight:var(--emw--font-weight-light, 300);font-size:var(--emw--font-size-small, 14px)}.PlayerGamingHistoryFilterWrapper input{padding:7px;border-radius:var(--emw--border-radius-small, 5px);border:1px solid var(--emw--color-gray-100, #E6E6E6)}.PlayerGamingHistoryFilterButton{border:none;background:var(--emw--color-primary, #23B04E);color:var(--emw--button-text-color, #FFFFFF);border-radius:var(--emw--button-border-radius, 10px);width:120px;height:40px;font-size:var(--emw--font-size-medium, 15px);text-transform:uppercase;padding:10px;cursor:pointer}.PlayerGamingHistoryFilterButton:hover{filter:brightness(0.9)}.PlayerGamingHistoryFilterButton:disabled{background-image:none;background-color:var(--emw--button-disabled-text-color, #cccccc);color:var(--emw--button-disabled-text-color, #666);cursor:not-allowed;opacity:0.7;pointer-events:none;border:2px solid var(--emw--button-disabled-border-color, #aaaaaa)}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper{align-items:flex-start;gap:10px;flex-direction:column}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingDateContainer{gap:0;flex-direction:row;width:100%;justify-content:space-between}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingDateWrapper{display:block;gap:0;align-items:end;width:48%}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingDateWrapper span{display:block;margin-bottom:5px}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingDateWrapper input{width:100px;padding:12px 7px}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingHistoryFilterButton{width:100%}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryTitle{font-size:var(--emw--size-standard, 16px);font-weight:var(--emw--font-weigh-normal, 400)}.PlayerGamingHistoryWrapperMobile .PlayerPaginationControlsArea{justify-content:center;gap:30px}.PlayerGamingHistoryWrapperMobile .PlayerPaginationControlsArea .PlayerPaginationControls{align-items:center}.PlayerGamingHistoryWrapperMobile .PlayerPaginationControlsArea .PlayerPaginationControlsText{font-size:var(--emw--size-standard, 16px)}.PlayerGamingHistoryWrapperMobile .VaadinDatePicker{width:100%}table{border:1px solid var(--emw--color-gray-100, #E6E6E6);border-collapse:collapse;margin:0;padding:0;width:100%;table-layout:fixed}table tr{border:1px solid var(--emw--color-gray-100, #E6E6E6)}table th,table td{padding:10px;text-align:center}table th:first-child,table td:first-child{padding-left:20px}table th:first-child span,table td:first-child span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}table th:last-child,table td:last-child{padding-right:20px}table th{font-size:0.85em;letter-spacing:0.1em;text-align:left}table tr td{font-size:12px;font-weight:300;text-align:left}@media screen and (max-width: 1024px){.PlayerGamingHistoryWrapper{padding:20px}.PlayerGamingHistoryContainer{box-shadow:none;padding:0}table{border:0}tbody{background:var(--emw--color-gray-50, #F9F8F8)}table thead{border:none;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}table tr{border-bottom:3px solid var(--emw--color-gray-100, #E6E6E6);display:block;border-radius:var(--emw--border-radius-small, 5px);box-shadow:0px 3px 12px var(--emw--color-gray-100, #E6E6E6);padding:10px}table tr:not(:last-child){margin-bottom:0.625em}table tr th,table tr td{border:0;border-radius:var(--emw--border-radius-small, 5px)}table tr th:nth-child(even),table tr td:nth-child(even){background:var(--emw--color-gray-50, #F9F8F8)}table th:first-child,table td:first-child{padding-left:10px}table th:last-child,table td:last-child{padding-right:10px}table td{border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6);display:block;font-size:0.8em;text-align:right;display:flex}table th:first-child span,table td:first-child span{width:50%;text-align:right}table td::before{content:attr(data-label);float:left;font-weight:bold;text-transform:uppercase;flex:1}table td:last-child{border-bottom:0}}.DataLoader{width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.DataLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`)}function he(r,t,a){const i=r.slice();return i[57]=t[a],i}function be(r,t,a){const i=r.slice();return i[60]=t[a],i}function xe(r){let t,a,i,l,y,m,_,G,u,d,o=r[15]("titleGamingHistory")+"",h,p,C;return{c(){t=e.element("div"),a=e.svg_element("svg"),i=e.svg_element("defs"),l=e.svg_element("style"),y=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),m=e.svg_element("g"),_=e.svg_element("g"),G=e.svg_element("path"),u=e.space(),d=e.element("h2"),h=e.text(o),e.attr(G,"class","aaa"),e.attr(G,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(G,"transform","translate(15 15) rotate(180)"),e.attr(_,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(d,"class","PlayerGamingHistoryTitleMobile"),e.attr(d,"part","PlayerGamingHistoryTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(k,F){e.insert(k,t,F),e.append(t,a),e.append(a,i),e.append(i,l),e.append(l,y),e.append(a,m),e.append(m,_),e.append(_,G),e.append(t,u),e.append(t,d),e.append(d,h),p||(C=e.listen(t,"click",r[31]),p=!0)},p(k,F){F[0]&32768&&o!==(o=k[15]("titleGamingHistory")+"")&&e.set_data(h,o)},d(k){k&&e.detach(t),p=!1,C()}}}function ve(r){let t,a,i=r[15]("numberOfResults")+"",l,y,m,_,G,u=e.ensure_array_like(r[17]),d=[];for(let o=0;o<u.length;o+=1)d[o]=_e(be(r,u,o));return{c(){t=e.element("div"),a=e.element("span"),l=e.text(i),y=e.space(),m=e.element("select");for(let o=0;o<d.length;o+=1)d[o].c();e.attr(m,"class","PlayerGamingHistoryItemCount"),r[10]===void 0&&e.add_render_callback(()=>r[35].call(m)),e.attr(t,"class","PlayerGamingItemCountContainer")},m(o,h){e.insert(o,t,h),e.append(t,a),e.append(a,l),e.append(t,y),e.append(t,m);for(let p=0;p<d.length;p+=1)d[p]&&d[p].m(m,null);e.select_option(m,r[10],!0),_||(G=[e.listen(m,"change",r[35]),e.listen(m,"change",r[36])],_=!0)},p(o,h){if(h[0]&32768&&i!==(i=o[15]("numberOfResults")+"")&&e.set_data(l,i),h[0]&131072){u=e.ensure_array_like(o[17]);let p;for(p=0;p<u.length;p+=1){const C=be(o,u,p);d[p]?d[p].p(C,h):(d[p]=_e(C),d[p].c(),d[p].m(m,null))}for(;p<d.length;p+=1)d[p].d(1);d.length=u.length}h[0]&132096&&e.select_option(m,o[10])},d(o){o&&e.detach(t),e.destroy_each(d,o),_=!1,e.run_all(G)}}}function _e(r){let t,a=r[60]+"",i;return{c(){t=e.element("option"),i=e.text(a),t.__value=r[60],e.set_input_value(t,t.__value)},m(l,y){e.insert(l,t,y),e.append(t,i)},p:e.noop,d(l){l&&e.detach(t)}}}function De(r){let t,a=r[15]("noRecord")+"",i;return{c(){t=e.element("p"),i=e.text(a),e.attr(t,"class","PlayerGamingHistoryEmpty")},m(l,y){e.insert(l,t,y),e.append(t,i)},p(l,y){y[0]&32768&&a!==(a=l[15]("noRecord")+"")&&e.set_data(i,a)},d(l){l&&e.detach(t)}}}function Ie(r){let t,a;return{c(){t=e.element("p"),a=e.text(r[11]),e.attr(t,"class","PlayerGamingHistoryEmpty")},m(i,l){e.insert(i,t,l),e.append(t,a)},p(i,l){l[0]&2048&&e.set_data(a,i[11])},d(i){i&&e.detach(t)}}}function Se(r){let t,a,i,l,y,m=r[15]("transactionId")+"",_,G,u,d=r[15]("date")+"",o,h,p,C=r[15]("gameName")+"",k,F,B,M=r[15]("stake")+"",T,j,z,V=r[15]("return")+"",w,L,P,Z,S,b,D,H,O,X,x,E=r[15]("previous")+"",Y,q,g,s,c,$,J=r[15]("next")+"",te,oe,K,ee,re,ne,le,se,pe,ae=e.ensure_array_like(r[14]),W=[];for(let f=0;f<ae.length;f+=1)W[f]=we(he(r,ae,f));return{c(){t=e.element("div"),a=e.element("table"),i=e.element("thead"),l=e.element("tr"),y=e.element("th"),_=e.text(m),G=e.space(),u=e.element("th"),o=e.text(d),h=e.space(),p=e.element("th"),k=e.text(C),F=e.space(),B=e.element("th"),T=e.text(M),j=e.space(),z=e.element("th"),w=e.text(V),L=e.space(),P=e.element("tbody");for(let f=0;f<W.length;f+=1)W[f].c();Z=e.space(),S=e.element("div"),b=e.element("button"),D=e.svg_element("svg"),H=e.svg_element("path"),X=e.space(),x=e.element("span"),Y=e.text(E),s=e.space(),c=e.element("button"),$=e.element("span"),te=e.text(J),oe=e.space(),K=e.svg_element("svg"),ee=e.svg_element("path"),e.attr(t,"class","PlayerGamingHistoryContainer"),e.attr(H,"fill",O=r[7]?"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))":"var(--emw--color-gray-100, #E6E6E6)"),e.attr(H,"class","a"),e.attr(H,"d","M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"),e.attr(H,"transform","translate(19.246 -6.188) rotate(90)"),e.attr(D,"xmlns","http://www.w3.org/2000/svg"),e.attr(D,"width","8"),e.attr(D,"height","13.992"),e.attr(D,"viewBox","0 0 8 13.992"),e.attr(x,"class","PlayerPaginationControlsText"),e.attr(b,"class",q="PlayerPaginationControls "+(r[7]?"":"PlayerPaginationControlsDisabled")),b.disabled=g=!r[7],e.attr($,"class","PlayerPaginationControlsText"),e.attr(ee,"fill",re=r[6]?"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))":"var(--emw--color-gray-100, #E6E6E6)"),e.attr(ee,"class","a"),e.attr(ee,"d","M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"),e.attr(ee,"transform","translate(-11.246 20.179) rotate(-90)"),e.attr(K,"xmlns","http://www.w3.org/2000/svg"),e.attr(K,"width","8"),e.attr(K,"height","13.992"),e.attr(K,"viewBox","0 0 8 13.992"),e.attr(c,"class",ne="PlayerPaginationControls "+(r[6]?"":"PlayerPaginationControlsDisabled")),c.disabled=le=!r[6],e.attr(S,"class","PlayerPaginationControlsArea")},m(f,I){e.insert(f,t,I),e.append(t,a),e.append(a,i),e.append(i,l),e.append(l,y),e.append(y,_),e.append(l,G),e.append(l,u),e.append(u,o),e.append(l,h),e.append(l,p),e.append(p,k),e.append(l,F),e.append(l,B),e.append(B,T),e.append(l,j),e.append(l,z),e.append(z,w),e.append(a,L),e.append(a,P);for(let R=0;R<W.length;R+=1)W[R]&&W[R].m(P,null);e.insert(f,Z,I),e.insert(f,S,I),e.append(S,b),e.append(b,D),e.append(D,H),e.append(b,X),e.append(b,x),e.append(x,Y),e.append(S,s),e.append(S,c),e.append(c,$),e.append($,te),e.append(c,oe),e.append(c,K),e.append(K,ee),se||(pe=[e.listen(b,"click",r[37]),e.listen(c,"click",r[38])],se=!0)},p(f,I){if(I[0]&32768&&m!==(m=f[15]("transactionId")+"")&&e.set_data(_,m),I[0]&32768&&d!==(d=f[15]("date")+"")&&e.set_data(o,d),I[0]&32768&&C!==(C=f[15]("gameName")+"")&&e.set_data(k,C),I[0]&32768&&M!==(M=f[15]("stake")+"")&&e.set_data(T,M),I[0]&32768&&V!==(V=f[15]("return")+"")&&e.set_data(w,V),I[0]&2146304){ae=e.ensure_array_like(f[14]);let R;for(R=0;R<ae.length;R+=1){const me=he(f,ae,R);W[R]?W[R].p(me,I):(W[R]=we(me),W[R].c(),W[R].m(P,null))}for(;R<W.length;R+=1)W[R].d(1);W.length=ae.length}I[0]&128&&O!==(O=f[7]?"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))":"var(--emw--color-gray-100, #E6E6E6)")&&e.attr(H,"fill",O),I[0]&32768&&E!==(E=f[15]("previous")+"")&&e.set_data(Y,E),I[0]&128&&q!==(q="PlayerPaginationControls "+(f[7]?"":"PlayerPaginationControlsDisabled"))&&e.attr(b,"class",q),I[0]&128&&g!==(g=!f[7])&&(b.disabled=g),I[0]&32768&&J!==(J=f[15]("next")+"")&&e.set_data(te,J),I[0]&64&&re!==(re=f[6]?"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))":"var(--emw--color-gray-100, #E6E6E6)")&&e.attr(ee,"fill",re),I[0]&64&&ne!==(ne="PlayerPaginationControls "+(f[6]?"":"PlayerPaginationControlsDisabled"))&&e.attr(c,"class",ne),I[0]&64&&le!==(le=!f[6])&&(c.disabled=le)},d(f){f&&(e.detach(t),e.detach(Z),e.detach(S)),e.destroy_each(W,f),se=!1,e.run_all(pe)}}}function Ce(r){let t;return{c(){t=e.element("div"),e.attr(t,"class","DataLoader")},m(a,i){e.insert(a,t,i)},p:e.noop,d(a){a&&e.detach(t)}}}function we(r){var x,E,Y,q;let t,a,i,l=r[57].roundId+"",y,m,_,G,u,d,o=r[21](r[57])+"",h,p,C,k,F,B=((E=(x=r[57].gameModel)==null?void 0:x.name)!=null?E:"-")+"",M,T,j,z,V,w=((Y=r[57].stakeAmount)!=null?Y:"-")+"",L,P,Z,S,b,D=((q=r[57].returnAmount)!=null?q:"-")+"",H,O,X;return{c(){t=e.element("tr"),a=e.element("td"),i=e.element("span"),y=e.text(l),G=e.space(),u=e.element("td"),d=e.element("span"),h=e.text(o),C=e.space(),k=e.element("td"),F=e.element("span"),M=e.text(B),j=e.space(),z=e.element("td"),V=e.element("span"),L=e.text(w),Z=e.space(),S=e.element("td"),b=e.element("span"),H=e.text(D),X=e.space(),e.attr(a,"data-label",m=r[15]("transactionId")),e.attr(a,"title",_=r[57].roundId),e.attr(u,"data-label",p=r[15]("date")),e.attr(k,"data-label",T=r[15]("gameName")),e.attr(z,"data-label",P=r[15]("stake")),e.attr(S,"data-label",O=r[15]("return"))},m(g,s){e.insert(g,t,s),e.append(t,a),e.append(a,i),e.append(i,y),e.append(t,G),e.append(t,u),e.append(u,d),e.append(d,h),e.append(t,C),e.append(t,k),e.append(k,F),e.append(F,M),e.append(t,j),e.append(t,z),e.append(z,V),e.append(V,L),e.append(t,Z),e.append(t,S),e.append(S,b),e.append(b,H),e.append(t,X)},p(g,s){var c,$,J,te;s[0]&16384&&l!==(l=g[57].roundId+"")&&e.set_data(y,l),s[0]&32768&&m!==(m=g[15]("transactionId"))&&e.attr(a,"data-label",m),s[0]&16384&&_!==(_=g[57].roundId)&&e.attr(a,"title",_),s[0]&16384&&o!==(o=g[21](g[57])+"")&&e.set_data(h,o),s[0]&32768&&p!==(p=g[15]("date"))&&e.attr(u,"data-label",p),s[0]&16384&&B!==(B=(($=(c=g[57].gameModel)==null?void 0:c.name)!=null?$:"-")+"")&&e.set_data(M,B),s[0]&32768&&T!==(T=g[15]("gameName"))&&e.attr(k,"data-label",T),s[0]&16384&&w!==(w=((J=g[57].stakeAmount)!=null?J:"-")+"")&&e.set_data(L,w),s[0]&32768&&P!==(P=g[15]("stake"))&&e.attr(z,"data-label",P),s[0]&16384&&D!==(D=((te=g[57].returnAmount)!=null?te:"-")+"")&&e.set_data(H,D),s[0]&32768&&O!==(O=g[15]("return"))&&e.attr(S,"data-label",O)},d(g){g&&e.detach(t)}}}function Me(r){let t,a,i,l,y=r[15]("titleGamingHistory")+"",m,_,G,u,d,o,h,p=r[15]("dateFrom")+"",C,k,F,B,M,T,j=r[15]("dateTo")+"",z,V,w,L,P,Z=r[15]("dateFilter")+"",S,b,D,H,O,X,x=r[18]&&xe(r),E=!r[13].matches&&ve(r);function Y(s,c){return s[12]?Ce:s[14].length>0?Se:s[11].length>0?Ie:De}let q=Y(r),g=q(r);return{c(){t=e.element("div"),a=e.element("div"),x&&x.c(),i=e.space(),l=e.element("h2"),m=e.text(y),_=e.space(),G=e.element("div"),u=e.element("div"),d=e.element("div"),o=e.element("div"),h=e.element("span"),C=e.text(p),k=e.space(),F=e.element("vaadin-date-picker"),B=e.space(),M=e.element("div"),T=e.element("span"),z=e.text(j),V=e.space(),w=e.element("vaadin-date-picker"),L=e.space(),P=e.element("button"),S=e.text(Z),D=e.space(),E&&E.c(),H=e.space(),g.c(),e.attr(l,"class","PlayerGamingHistoryTitle "+(r[18]?"PlayerGamingHistoryTitleNone":"")),e.set_custom_element_data(F,"max",r[16]),e.set_custom_element_data(F,"placeholder","From"),e.set_custom_element_data(F,"value",r[0]),e.set_custom_element_data(F,"class","VaadinDatePicker"),e.attr(o,"class","PlayerGamingDateWrapper"),e.set_custom_element_data(w,"min",r[0]),e.set_custom_element_data(w,"max",r[16]),e.set_custom_element_data(w,"placeholder","To"),e.set_custom_element_data(w,"value",r[1]),e.set_custom_element_data(w,"class","VaadinDatePicker"),e.attr(M,"class","PlayerGamingDateWrapper"),e.attr(d,"class","PlayerGamingDateContainer"),e.attr(P,"class","PlayerGamingHistoryFilterButton"),P.disabled=b=!r[9],e.attr(u,"class","PlayerGamingHistoryFilterWrapper"),e.attr(G,"class","PlayerGamingHistoryTopSection"),e.attr(a,"class","PlayerGamingHistoryWrapper "+(r[18]?"PlayerGamingHistoryWrapperMobile":""))},m(s,c){e.insert(s,t,c),e.append(t,a),x&&x.m(a,null),e.append(a,i),e.append(a,l),e.append(l,m),e.append(a,_),e.append(a,G),e.append(G,u),e.append(u,d),e.append(d,o),e.append(o,h),e.append(h,C),e.append(o,k),e.append(o,F),r[32](F),e.append(d,B),e.append(d,M),e.append(M,T),e.append(T,z),e.append(M,V),e.append(M,w),r[33](w),e.append(u,L),e.append(u,P),e.append(P,S),e.append(u,D),E&&E.m(u,null),e.append(a,H),g.m(a,null),r[39](a),r[40](t),O||(X=e.listen(P,"click",r[34]),O=!0)},p(s,c){s[18]&&x.p(s,c),c[0]&32768&&y!==(y=s[15]("titleGamingHistory")+"")&&e.set_data(m,y),c[0]&32768&&p!==(p=s[15]("dateFrom")+"")&&e.set_data(C,p),c[0]&1&&e.set_custom_element_data(F,"value",s[0]),c[0]&32768&&j!==(j=s[15]("dateTo")+"")&&e.set_data(z,j),c[0]&1&&e.set_custom_element_data(w,"min",s[0]),c[0]&2&&e.set_custom_element_data(w,"value",s[1]),c[0]&32768&&Z!==(Z=s[15]("dateFilter")+"")&&e.set_data(S,Z),c[0]&512&&b!==(b=!s[9])&&(P.disabled=b),s[13].matches?E&&(E.d(1),E=null):E?E.p(s,c):(E=ve(s),E.c(),E.m(u,null)),q===(q=Y(s))&&g?g.p(s,c):(g.d(1),g=q(s),g&&(g.c(),g.m(a,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),x&&x.d(),r[32](null),r[33](null),E&&E.d(),g.d(),r[39](null),r[40](null),O=!1,X()}}}let Te="0";function Re(r,t,a){let i;e.component_subscribe(r,e.$format,n=>a(15,i=n));let{endpoint:l=""}=t,{playerid:y=""}=t,{session:m=""}=t,{lang:_="en"}=t,{clientstyling:G=""}=t,{clientstylingurl:u=""}=t,{mbsource:d}=t,{translationurl:o=""}=t,{gmversion:h=""}=t;const p=de.format(new Date,"yyyy-MM-dd"),C=de.format(de.subDays(new Date,1),"yyyy-MM-dd");let k="",F="",B="",M,T=C,j=p,z=!0,V=["5","10","25","50"],w="5",L="",P=!1,Z=window.navigator.userAgent,S=e.getDevice(Z)!=="PC",b,D,H;const O=()=>{fetch(o).then(A=>A.json()).then(A=>{Object.keys(A).forEach(N=>{fe(N,A[N])})}).catch(A=>{console.log(A)})};Object.keys(ye).forEach(n=>{fe(n,ye[n])}),window.matchMedia("(min-width: 768px)");let X=window.matchMedia("(max-width: 1280px)"),x=[];const E=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:S},window.location.href)},Y=()=>{a(13,X=window.matchMedia("(max-width: 1280px)"))},q=n=>{let A=new Map;return n.forEach(N=>{let U=N.transType==="1"?"stakeAmount":"returnAmount",ie=A.get(N.roundId);if(ie)ie[U]=N.totalAmount;else{let v=ge({},N);v[U]=N.totalAmount,A.set(N.roundId,v)}}),n=Array.from(A.values()),n},g=(n,A,N)=>{let U=new URL(n);a(14,x=[]);let ie={method:"GET",headers:{"X-SessionID":m}};A||(U.searchParams.append("offset",String(0*2)),U.searchParams.append("limit",String(+w*2))),N&&(U.searchParams.append("startDate",T),U.searchParams.append("endDate",j)),a(12,P=!0),fetch(U.href,ie).then(v=>v.json()).then(v=>{if(!v.error)a(14,x=v.transactions),a(14,x=q(x)),a(6,F=v.pagination.next),a(7,B=v.pagination.previous);else{let Q=v.error.split(":");a(11,L=Q[1].substring(0,Q[1].lastIndexOf(" "))+" "+Q[2]),v.thirdPartyResponse&&a(11,L=i(`${v.thirdPartyResponse.errorCode}`)||Q[1].substring(0,Q[1].lastIndexOf(" "))+" "+Q[2])}a(12,P=!1)},v=>{a(12,P=!1),console.error(v)})},s=(n,A,N)=>{let U=new URL(n);a(14,x=[]),a(11,L="");let ie={method:"GET",headers:{"X-SessionID":m}};A||(U.searchParams.append("offset",Te),U.searchParams.append("limit",w)),N&&(U.searchParams.append("startDate",T),U.searchParams.append("endDate",j)),a(12,P=!0),fetch(U.href,ie).then(v=>v.json()).then(v=>{if(!v.error)a(14,x=v.transactions),a(6,F=v.pagination.next),a(7,B=v.pagination.previous);else{let Q=v.error.split(":");a(11,L=Q[1].substring(0,Q[1].lastIndexOf(" "))+" "+Q[2]),v.thirdPartyResponse&&a(11,L=i(`${v.thirdPartyResponse.errorCode}`)||Q[1].substring(0,Q[1].lastIndexOf(" "))+" "+Q[2])}a(12,P=!1)},v=>{a(12,P=!1),console.error(v)})},c=(n,A,N)=>{switch(h){case"gm16":g(n,A,N);break;default:s(n,A,N);break}window.postMessage({type:"ScrollToTop"},window.location.href)},$=()=>{Fe(_),a(5,k=h==="gm16"?`${l}/v1/player/${y}/transactions/wagering?type=Casino`:`${l}/v1/player/${y}/bets`),c(k,!1,!0)},J=n=>{if(n.data)switch(n.data.type){}},te=()=>{const n=new Date(T),A=new Date(j);n.getTime()>A.getTime()?a(9,z=!1):a(9,z=!0)},oe=n=>{a(0,T=n.target.value)},K=n=>{a(1,j=n.target.value)},ee=()=>{b.addEventListener("change",oe,!1),D.addEventListener("change",K,!1)},re=n=>h==="gm16"?de.format(new Date(n.ins),"d/M/yyyy - h:mm a"):de.format(new Date(n.roundStartDate),"d/M/yyyy - h:mm a");e.onMount(()=>(window.addEventListener("message",J,!1),window.addEventListener("resize",Y,!1),()=>{b.removeEventListener("change",oe),D.removeEventListener("change",K),window.removeEventListener("message",J),window.removeEventListener("resize",J)}));const ne=()=>E();function le(n){e.binding_callbacks[n?"unshift":"push"](()=>{b=n,a(2,b)})}function se(n){e.binding_callbacks[n?"unshift":"push"](()=>{D=n,a(3,D)})}const pe=()=>c(k,!1,!0);function ae(){w=e.select_value(this),a(10,w),a(17,V)}const W=()=>c(k,!1,!0),f=()=>c(B,!0,!1),I=()=>c(F,!0,!1);function R(n){e.binding_callbacks[n?"unshift":"push"](()=>{M=n,a(8,M)})}function me(n){e.binding_callbacks[n?"unshift":"push"](()=>{H=n,a(4,H)})}return r.$$set=n=>{"endpoint"in n&&a(22,l=n.endpoint),"playerid"in n&&a(23,y=n.playerid),"session"in n&&a(24,m=n.session),"lang"in n&&a(25,_=n.lang),"clientstyling"in n&&a(26,G=n.clientstyling),"clientstylingurl"in n&&a(27,u=n.clientstylingurl),"mbsource"in n&&a(28,d=n.mbsource),"translationurl"in n&&a(29,o=n.translationurl),"gmversion"in n&&a(30,h=n.gmversion)},r.$$.update=()=>{r.$$.dirty[0]&12&&b&&D&&ee(),r.$$.dirty[0]&3&&T&&j&&te(),r.$$.dirty[0]&62914560&&m&&y&&l&&_&&$(),r.$$.dirty[0]&67108880&&G&&H&&e.setClientStyling(H,G),r.$$.dirty[0]&134217744&&u&&H&&e.setClientStylingURL(H,u),r.$$.dirty[0]&268435472&&d&&H&&e.setStreamStyling(H,`${d}.Style`),r.$$.dirty[0]&536870912&&o&&O()},[T,j,b,D,H,k,F,B,M,z,w,L,P,X,x,i,p,V,S,E,c,re,l,y,m,_,G,u,d,o,h,ne,le,se,pe,ae,W,f,I,R,me]}class Pe extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Re,Me,e.safe_not_equal,{endpoint:22,playerid:23,session:24,lang:25,clientstyling:26,clientstylingurl:27,mbsource:28,translationurl:29,gmversion:30},He,[-1,-1,-1])}get endpoint(){return this.$$.ctx[22]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get playerid(){return this.$$.ctx[23]}set playerid(t){this.$$set({playerid:t}),e.flush()}get session(){return this.$$.ctx[24]}set session(t){this.$$set({session:t}),e.flush()}get lang(){return this.$$.ctx[25]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[28]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[29]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get gmversion(){return this.$$.ctx[30]}set gmversion(t){this.$$set({gmversion:t}),e.flush()}}e.create_custom_element(Pe,{endpoint:{},playerid:{},session:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},gmversion:{}},[],[],!0);exports.default=Pe;
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("./index-b2193545-Ct5AhxM8.cjs"),i=":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}",n=i,o=class{constructor(e){t.registerInstance(this,e),this.structure=void 0,this.width=void 0,this.height=void 0,this.borderRadius=void 0,this.marginBottom=void 0,this.marginTop=void 0,this.marginLeft=void 0,this.marginRight=void 0,this.animation=!0,this.rows=void 0,this.size=void 0,this.color=void 0,this.primaryColor=void 0,this.secondaryColor=void 0}handleStructureChange(e,r){r!==e&&this.handleStructure(e)}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"Image "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,r)=>t.h("div",{key:r,class:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Circle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
|
|
2
|
-
:host {
|
|
3
|
-
--emw-skeleton-logo-width: ${this.width};
|
|
4
|
-
--emw-skeleton-logo-height: ${this.height};
|
|
5
|
-
--emw-skeleton-logo-border-radius: ${this.borderRadius}px;
|
|
6
|
-
--emw-skeleton-logo-margin-bottom: ${this.marginBottom}px;
|
|
7
|
-
--emw-skeleton-logo-margin-top: ${this.marginTop}px;
|
|
8
|
-
--emw-skeleton-logo-margin-left: ${this.marginLeft}px;
|
|
9
|
-
--emw-skeleton-logo-margin-right: ${this.marginRight}px;
|
|
10
|
-
--emw-skeleton-logo-background: ${this.color};
|
|
11
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
12
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
13
|
-
}
|
|
14
|
-
`;break;case"image":e=`
|
|
15
|
-
:host {
|
|
16
|
-
--emw-skeleton-image-width: ${this.width};
|
|
17
|
-
--emw-skeleton-image-height: ${this.height};
|
|
18
|
-
--emw-skeleton-image-border-radius: ${this.borderRadius}px;
|
|
19
|
-
--emw-skeleton-image-margin-bottom: ${this.marginBottom}px;
|
|
20
|
-
--emw-skeleton-image-margin-top: ${this.marginTop}px;
|
|
21
|
-
--emw-skeleton-image-margin-left: ${this.marginLeft}px;
|
|
22
|
-
--emw-skeleton-image-margin-right: ${this.marginRight}px;
|
|
23
|
-
--emw-skeleton-image-background: ${this.color};
|
|
24
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
25
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
26
|
-
}
|
|
27
|
-
`;break;case"title":e=`
|
|
28
|
-
:host {
|
|
29
|
-
--emw-skeleton-title-width: ${this.width};
|
|
30
|
-
--emw-skeleton-title-height: ${this.height};
|
|
31
|
-
--emw-skeleton-title-border-radius: ${this.borderRadius}px;
|
|
32
|
-
--emw-skeleton-title-margin-bottom: ${this.marginBottom}px;
|
|
33
|
-
--emw-skeleton-title-margin-top: ${this.marginTop}px;
|
|
34
|
-
--emw-skeleton-title-margin-left: ${this.marginLeft}px;
|
|
35
|
-
--emw-skeleton-title-margin-right: ${this.marginRight}px;
|
|
36
|
-
--emw-skeleton-title-background: ${this.color};
|
|
37
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
38
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
39
|
-
}
|
|
40
|
-
`;break;case"text":e=`
|
|
41
|
-
:host {
|
|
42
|
-
--emw-skeleton-text-width: ${this.width};
|
|
43
|
-
--emw-skeleton-text-height: ${this.height};
|
|
44
|
-
--emw-skeleton-text-border-radius: ${this.borderRadius}px;
|
|
45
|
-
--emw-skeleton-text-margin-bottom: ${this.marginBottom}px;
|
|
46
|
-
--emw-skeleton-text-margin-top: ${this.marginTop}px;
|
|
47
|
-
--emw-skeleton-text-margin-left: ${this.marginLeft}px;
|
|
48
|
-
--emw-skeleton-text-margin-right: ${this.marginRight}px;
|
|
49
|
-
--emw-skeleton-text-background: ${this.color};
|
|
50
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
51
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
52
|
-
}
|
|
53
|
-
`;break;case"rectangle":e=`
|
|
54
|
-
:host {
|
|
55
|
-
--emw-skeleton-rectangle-width: ${this.width};
|
|
56
|
-
--emw-skeleton-rectangle-height: ${this.height};
|
|
57
|
-
--emw-skeleton-rectangle-border-radius: ${this.borderRadius}px;
|
|
58
|
-
--emw-skeleton-rectangle-margin-bottom: ${this.marginBottom}px;
|
|
59
|
-
--emw-skeleton-rectangle-margin-top: ${this.marginTop}px;
|
|
60
|
-
--emw-skeleton-rectangle-margin-left: ${this.marginLeft}px;
|
|
61
|
-
--emw-skeleton-rectangle-margin-right: ${this.marginRight}px;
|
|
62
|
-
--emw-skeleton-rectangle-background: ${this.color};
|
|
63
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
64
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
65
|
-
}
|
|
66
|
-
`;break;case"circle":e=`
|
|
67
|
-
:host {
|
|
68
|
-
--emw-skeleton-circle-size: ${this.size};
|
|
69
|
-
--emw-skeleton-circle-background: ${this.color};
|
|
70
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
71
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
72
|
-
}
|
|
73
|
-
`;break;default:e=""}return t.h(t.Host,{key:"3bb792a149db7fe732d5cbfa092cdb4d6ca0689e"},t.h("style",{key:"a4607599b60659f385ae2660513e38b383739674"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};o.style=n;exports.UiSkeleton=o;
|
|
@@ -1,374 +0,0 @@
|
|
|
1
|
-
var c = (t, a, i) => new Promise((n, r) => {
|
|
2
|
-
var l = (s) => {
|
|
3
|
-
try {
|
|
4
|
-
d(i.next(s));
|
|
5
|
-
} catch (p) {
|
|
6
|
-
r(p);
|
|
7
|
-
}
|
|
8
|
-
}, h = (s) => {
|
|
9
|
-
try {
|
|
10
|
-
d(i.throw(s));
|
|
11
|
-
} catch (p) {
|
|
12
|
-
r(p);
|
|
13
|
-
}
|
|
14
|
-
}, d = (s) => s.done ? n(s.value) : Promise.resolve(s.value).then(l, h);
|
|
15
|
-
d((i = i.apply(t, a)).next());
|
|
16
|
-
});
|
|
17
|
-
import { b as y, p as v, r as x, g as u, h as e, H as w, a as S } from "./index-7c5e707a-DvxqcEpc.js";
|
|
18
|
-
import { d as C } from "./app-globals-0f993ce5-DzSE6TtH.js";
|
|
19
|
-
var k = () => {
|
|
20
|
-
const t = import.meta.url, a = {};
|
|
21
|
-
return t !== "" && (a.resourcesUrl = new URL(".", t).href), v(a);
|
|
22
|
-
};
|
|
23
|
-
k().then((t) => c(void 0, null, function* () {
|
|
24
|
-
return yield C(), y([["user-transaction-history", [[1, "user-transaction-history", { endpoint: [513], session: [513], language: [513], userId: [513, "user-id"], translationUrl: [513, "translation-url"], mobile: [516], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], mbSource: [513, "mb-source"], page: [32], pageSize: [32], showMobileFilter: [32], to: [32], from: [32], type: [32], transactions: [32], showLoader: [32] }, [[9, "resize", "getComponentHeight"]], { page: ["watchMultiple"], type: ["watchMultiple"], session: ["watchMultiple"], userId: ["watchMultiple"], pageSize: ["watchMultiple"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"], showMobileFilter: ["getComponentHeight"] }]]]], t);
|
|
25
|
-
}));
|
|
26
|
-
const T = {
|
|
27
|
-
en: {
|
|
28
|
-
deposit: "Deposit",
|
|
29
|
-
withdrawals: "Withdrawals",
|
|
30
|
-
show: "Show",
|
|
31
|
-
from: "From",
|
|
32
|
-
to: "To",
|
|
33
|
-
filter: "Filter",
|
|
34
|
-
transactionId: "Transaction ID",
|
|
35
|
-
date: "Date",
|
|
36
|
-
amount: "Amount",
|
|
37
|
-
productType: "Product Type",
|
|
38
|
-
status: "Status",
|
|
39
|
-
noData: "There are no account activities"
|
|
40
|
-
},
|
|
41
|
-
hr: {
|
|
42
|
-
deposit: "Uplate",
|
|
43
|
-
withdrawals: "Isplate",
|
|
44
|
-
show: "Prikaži",
|
|
45
|
-
from: "Od",
|
|
46
|
-
to: "Do",
|
|
47
|
-
filter: "Filter",
|
|
48
|
-
transactionId: "ID transakcije",
|
|
49
|
-
date: "Datum",
|
|
50
|
-
amount: "Iznos",
|
|
51
|
-
productType: "Vrsta proizvoda",
|
|
52
|
-
status: "Status",
|
|
53
|
-
noData: "Nema aktivnosti na računu"
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
class o {
|
|
57
|
-
constructor() {
|
|
58
|
-
}
|
|
59
|
-
static loadCustomTranslations(a) {
|
|
60
|
-
return c(this, null, function* () {
|
|
61
|
-
try {
|
|
62
|
-
const i = yield fetch(a, {
|
|
63
|
-
headers: {
|
|
64
|
-
"Content-Type": "application/json"
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
if (!i.ok) {
|
|
68
|
-
const r = yield i.text();
|
|
69
|
-
throw new Error(r);
|
|
70
|
-
}
|
|
71
|
-
const n = yield i.json();
|
|
72
|
-
o.updateTranslations(n);
|
|
73
|
-
} catch (i) {
|
|
74
|
-
console.error(`Failed to load translations ${a}. ${i.message}`);
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
static translate(a, i) {
|
|
79
|
-
var n, r;
|
|
80
|
-
const l = o.getAvaliableLanguages(i);
|
|
81
|
-
return ((r = (n = o.customTranslation) === null || n === void 0 ? void 0 : n[l.customLanguage]) === null || r === void 0 ? void 0 : r[a]) || o.defaultTranslation[l.predefinedLanguage][a];
|
|
82
|
-
}
|
|
83
|
-
static getAvaliableLanguages(a) {
|
|
84
|
-
var i;
|
|
85
|
-
const n = !((i = o.customLanguages) === null || i === void 0) && i.includes(a) ? a : o.defaultLanguage;
|
|
86
|
-
return { predefinedLanguage: o.supportedLanguages.includes(a) ? a : o.defaultLanguage, customLanguage: n };
|
|
87
|
-
}
|
|
88
|
-
static updateTranslations(a) {
|
|
89
|
-
o.customLanguages = Array.from(/* @__PURE__ */ new Set([...o.supportedLanguages, ...Object.keys(a).map((i) => i.toLowerCase())])), o.customTranslation = a;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
o.defaultLanguage = "en";
|
|
93
|
-
o.supportedLanguages = ["en"];
|
|
94
|
-
o.defaultTranslation = T;
|
|
95
|
-
const B = () => e(
|
|
96
|
-
"div",
|
|
97
|
-
{ class: "loader" },
|
|
98
|
-
e("div", null),
|
|
99
|
-
e("div", null),
|
|
100
|
-
e("div", null),
|
|
101
|
-
e("div", null),
|
|
102
|
-
e("div", null),
|
|
103
|
-
e("div", null),
|
|
104
|
-
e("div", null),
|
|
105
|
-
e("div", null),
|
|
106
|
-
e("div", null),
|
|
107
|
-
e("div", null),
|
|
108
|
-
e("div", null),
|
|
109
|
-
e("div", null)
|
|
110
|
-
);
|
|
111
|
-
class b {
|
|
112
|
-
constructor() {
|
|
113
|
-
}
|
|
114
|
-
static dateToFormatedString(a) {
|
|
115
|
-
const i = a.toLocaleDateString("en-gb"), n = a.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit", hour12: !1 });
|
|
116
|
-
return `${i}, ${n}`;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
class f {
|
|
120
|
-
constructor() {
|
|
121
|
-
}
|
|
122
|
-
static format(a, i) {
|
|
123
|
-
let n = `${i} ${a}`;
|
|
124
|
-
try {
|
|
125
|
-
n = new Intl.NumberFormat("en-US", {
|
|
126
|
-
style: "currency",
|
|
127
|
-
currency: a
|
|
128
|
-
}).format(i);
|
|
129
|
-
} catch (r) {
|
|
130
|
-
}
|
|
131
|
-
return n;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
const L = (t) => e(
|
|
135
|
-
"div",
|
|
136
|
-
{ class: "data-transaction" },
|
|
137
|
-
e("p", null, t.productType),
|
|
138
|
-
e(
|
|
139
|
-
"p",
|
|
140
|
-
{ class: "text-style text-style-status" },
|
|
141
|
-
e("span", { class: t.status.toLowerCase() }, t.status)
|
|
142
|
-
),
|
|
143
|
-
e(
|
|
144
|
-
"p",
|
|
145
|
-
{ class: "date" },
|
|
146
|
-
t.transId,
|
|
147
|
-
" | ",
|
|
148
|
-
b.dateToFormatedString(new Date(t.created))
|
|
149
|
-
),
|
|
150
|
-
e(
|
|
151
|
-
"p",
|
|
152
|
-
{ class: "text-style" },
|
|
153
|
-
f.format(t.currency, t.realAmount),
|
|
154
|
-
" "
|
|
155
|
-
)
|
|
156
|
-
), D = (t) => e(
|
|
157
|
-
"div",
|
|
158
|
-
{ class: "page-size" },
|
|
159
|
-
e("span", null, o.translate("show", t.language)),
|
|
160
|
-
t.pageSizes.map((a) => e("button", { class: t.currentPageSize === a ? "active" : "", onClick: () => t.changePageSize(a) }, a))
|
|
161
|
-
), F = ({ from: t, to: a, applyFilters: i, language: n }) => {
|
|
162
|
-
let r, l;
|
|
163
|
-
const h = () => {
|
|
164
|
-
t = r.value;
|
|
165
|
-
}, d = () => {
|
|
166
|
-
a = l.value;
|
|
167
|
-
};
|
|
168
|
-
return e(
|
|
169
|
-
"div",
|
|
170
|
-
{ class: "period" },
|
|
171
|
-
e(
|
|
172
|
-
"div",
|
|
173
|
-
{ class: "period-content" },
|
|
174
|
-
e(
|
|
175
|
-
"div",
|
|
176
|
-
{ class: "date-input" },
|
|
177
|
-
e("vaadin-date-picker", { value: t, ref: (s) => r = s, label: o.translate("from", n), onChange: h })
|
|
178
|
-
),
|
|
179
|
-
e(
|
|
180
|
-
"span",
|
|
181
|
-
null,
|
|
182
|
-
e(
|
|
183
|
-
"svg",
|
|
184
|
-
{ width: "24px", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
|
|
185
|
-
e("path", { d: "m21 11.75c0-.414-.336-.75-.75-.75h-16.5c-.414 0-.75.336-.75.75s.336.75.75.75h16.5c.414 0 .75-.336.75-.75z", "fill-rule": "nonzero", fill: "#5d687b" })
|
|
186
|
-
)
|
|
187
|
-
),
|
|
188
|
-
e(
|
|
189
|
-
"div",
|
|
190
|
-
{ class: "date-input" },
|
|
191
|
-
e("vaadin-date-picker", { value: a, ref: (s) => l = s, label: o.translate("to", n), onChange: d })
|
|
192
|
-
),
|
|
193
|
-
e("button", { class: "filter-btn", onClick: () => i(t, a) }, o.translate("filter", n))
|
|
194
|
-
)
|
|
195
|
-
);
|
|
196
|
-
}, M = ({ source: t, language: a }) => {
|
|
197
|
-
const i = [
|
|
198
|
-
{ name: o.translate("transactionId", a) },
|
|
199
|
-
{
|
|
200
|
-
name: o.translate("date", a)
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
name: o.translate("amount", a)
|
|
204
|
-
},
|
|
205
|
-
{ name: o.translate("productType", a) },
|
|
206
|
-
{
|
|
207
|
-
name: o.translate("status", a)
|
|
208
|
-
}
|
|
209
|
-
];
|
|
210
|
-
return e(
|
|
211
|
-
"table",
|
|
212
|
-
null,
|
|
213
|
-
e(
|
|
214
|
-
"thead",
|
|
215
|
-
null,
|
|
216
|
-
e("tr", null, i.map((n) => e("th", null, n.name)))
|
|
217
|
-
),
|
|
218
|
-
e("tbody", null, t.map((n) => e(
|
|
219
|
-
"tr",
|
|
220
|
-
null,
|
|
221
|
-
e("td", null, n.transId),
|
|
222
|
-
e("td", null, b.dateToFormatedString(new Date(n.created))),
|
|
223
|
-
e(
|
|
224
|
-
"td",
|
|
225
|
-
null,
|
|
226
|
-
f.format(n.currency, n.realAmount),
|
|
227
|
-
" "
|
|
228
|
-
),
|
|
229
|
-
e("td", null, n.productType),
|
|
230
|
-
e(
|
|
231
|
-
"td",
|
|
232
|
-
null,
|
|
233
|
-
e("span", { class: n.status.toLowerCase() }, n.status)
|
|
234
|
-
)
|
|
235
|
-
)))
|
|
236
|
-
);
|
|
237
|
-
};
|
|
238
|
-
function g(t, a) {
|
|
239
|
-
if (t) {
|
|
240
|
-
const i = document.createElement("style");
|
|
241
|
-
i.innerHTML = a, t.appendChild(i);
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
function m(t, a) {
|
|
245
|
-
const i = new URL(a);
|
|
246
|
-
fetch(i.href).then((n) => n.text()).then((n) => {
|
|
247
|
-
const r = document.createElement("style");
|
|
248
|
-
r.innerHTML = n, t && t.appendChild(r);
|
|
249
|
-
}).catch((n) => {
|
|
250
|
-
console.error("There was an error while trying to load client styling from URL", n);
|
|
251
|
-
});
|
|
252
|
-
}
|
|
253
|
-
function U(t, a, i) {
|
|
254
|
-
if (window.emMessageBus) {
|
|
255
|
-
const n = document.createElement("style");
|
|
256
|
-
window.emMessageBus.subscribe(a, (r) => {
|
|
257
|
-
n.innerHTML = r, t && t.appendChild(n);
|
|
258
|
-
});
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
const z = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--hoverBackground:#ffffff;--background:#e4e6e8;--success:#7ac345;--heightScrollableContainer:400px;--borderColor:#d3d3d3;--borderColorButton:#c4c4c4;--textColor:#002554;--textColorHover:#7ac345;--errorColor:#c23b21;--loaderColor:#7ac345;--headerTableBackground:#cdcdcd;--borderTable:#dedede;--shadowBorderTable:#f1f1f1;--backgroundTable:#ffffff;font-family:Roboto, Arial, sans-serif;font-size:14px;color:var(--textColor);display:block;background-color:var(--background)}:host .wrapper{height:100%;padding:1rem}:host .types{display:flex;width:100%;gap:5px}:host .transaction-type{background:inherit;font-weight:600;padding:0.6rem 1.6rem;border:1px solid #6c757d;cursor:pointer}:host .transaction-type:hover{color:var(--activeButtonBackground);border-color:var(--activeButtonBackground);background:var(--hoverBackground)}:host .clicked{background-color:var(--activeButtonBackground);border-color:var(--activeButtonBackground)}:host .types-mobile{justify-content:center;margin-bottom:15px}:host .types-desktop{justify-content:flex-end;margin-bottom:3rem}:host .page-size{display:flex;width:100%;justify-content:flex-end;align-items:center}:host .page-size button{background:transparent;border:none;cursor:pointer;margin:0.4rem;width:2rem;height:2rem}:host .page-size button:hover{color:var(--textColorHover)}:host .page-size button.active{background:var(--activeButtonBackground);color:var(--textColor);font-weight:600;border-radius:0.4rem}:host .period{display:flex;width:100%;align-items:flex-end;justify-content:center;gap:10px;background:#f0f0f0;border-bottom:2px solid #e9e9e9;padding:1.6rem 0 0;margin-bottom:4rem}@media (max-width: 801px){:host .period{margin-bottom:0;flex-direction:column;align-items:stretch;width:auto;padding:1.4rem 2.8rem;box-shadow:0 4px 5px 0 rgba(90, 90, 90, 0.24)}}:host .period .range{color:var(--errorColor)}:host .period .filter-btn{height:40px;background:transparent;border:0.1rem solid var(--borderColorButton);min-width:12rem;max-width:17rem;cursor:pointer}@media (max-width: 801px){:host .period .filter-btn{max-width:none;min-width:none;margin-top:1rem}}:host .period .filter-btn:hover{border:none;background:var(--hoverBackground)}:host .period .duet-date__input{padding:7px 60px 7px 7px}:host .period+button{padding:9px 15px}:host .period-content{display:flex;flex-direction:row;width:100%;justify-content:center;align-items:flex-end;margin:0 auto 1.6rem}@media (max-width: 801px){:host .period-content{flex-direction:column;align-items:stretch}}:host .period-content span{height:40px;display:flex;align-items:center;justify-content:center}@media (max-width: 801px){:host .period-content span{display:none}}:host .period-content .filter-btn{margin-left:60px}@media (max-width: 801px){:host .period-content .filter-btn{margin-left:0}}:host .period-content .date-input{padding:0 4px}@media (max-width: 801px){:host .period-content .date-input{width:auto}:host .period-content .date-input:first-child{margin-bottom:0.5rem}}:host .period-content .date-input label{display:inline-block;margin-bottom:0.9rem}:host .period-content .date-input input{border:0.1rem solid var(--borderColor);box-sizing:border-box;border-radius:0.2rem}:host .pagination{display:flex;width:100%;justify-content:center;margin-top:1.5rem}:host .pagination button{cursor:pointer;border:none;background-color:var(--activeButtonBackground);color:#fff;opacity:0.5;padding:7px 12px}:host .pagination button:hover{opacity:1}:host .pagination button:focus{opacity:1}:host button.active{color:var(--activeButtonFont);background-color:var(--activeButtonBackground)}.mobile-filter-button{display:flex;justify-content:center;align-items:center;width:100%;height:2.8rem;background:inherit;border:1px solid var(--borderColorButton)}.mobile-filter-button img{height:50%;margin-right:0.5rem}.noData{display:flex;align-items:center;box-shadow:0 0.4rem 0.4rem rgba(0, 0, 0, 0.25);padding:1.1rem;border-radius:0.6rem}.noData span{margin-left:0.5rem}.table{height:var(--heightScrollableContainer);overflow-y:auto}.table .mobile-table{height:100%}.data-transaction{border-bottom:1px solid var(--borderColor);background-color:var(--hoverBackground);padding:0 20px;display:grid;grid-template-columns:repeat(2, 1fr)}.data-transaction .text-style-status{font-weight:600}.data-transaction .text-style-status .success{color:var(--success)}.data-transaction .text-style-status .error{color:var(--errorColor)}.data-transaction .text-style{text-align:end}.data-transaction .date{font-size:12px;display:flex;align-items:center}.loader{display:inline-block;position:absolute;width:80px;height:80px;top:calc(50% - 40px);left:calc(50% - 40px);z-index:100}.loader::before{content:"";position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(255, 255, 255, 0.6)}.loader div{position:absolute;width:6px;height:6px;background:var(--loaderColor);border-radius:50%;animation:loader 1.2s linear infinite}.loader div:nth-child(1){animation-delay:0s;top:37px;left:66px}.loader div:nth-child(2){animation-delay:-0.1s;top:22px;left:62px}.loader div:nth-child(3){animation-delay:-0.2s;top:11px;left:52px}.loader div:nth-child(4){animation-delay:-0.3s;top:7px;left:37px}.loader div:nth-child(5){animation-delay:-0.4s;top:11px;left:22px}.loader div:nth-child(6){animation-delay:-0.5s;top:22px;left:11px}.loader div:nth-child(7){animation-delay:-0.6s;top:37px;left:7px}.loader div:nth-child(8){animation-delay:-0.7s;top:52px;left:11px}.loader div:nth-child(9){animation-delay:-0.8s;top:62px;left:22px}.loader div:nth-child(10){animation-delay:-0.9s;top:66px;left:37px}.loader div:nth-child(11){animation-delay:-1s;top:62px;left:52px}.loader div:nth-child(12){animation-delay:-1.1s;top:52px;left:62px}@keyframes loader{0%,20%,80%,100%{transform:scale(1)}50%{transform:scale(1.5)}}.table thead th{position:sticky;top:0}table{border-collapse:collapse;width:100%}table th{padding:14px 24px;text-align:left;font-weight:600;color:var(--textColor);background:var(--headerTableBackground)}table td{padding:1rem 1.7rem;box-shadow:0 -1px 0 0 var(--shadowBorderTable) inset;border-bottom:0.1rem solid var(--borderTable);text-align:left;color:var(--textColor)}table tbody{background:var(--backgroundTable)}table .success{color:var(--success)}table .error{color:var(--errorColor)}vaadin-date-picker{min-width:320px}@media (max-width: 1261px){vaadin-date-picker{width:auto;min-width:auto}}@media (max-width: 801px){vaadin-date-picker{width:100%}}', I = z, H = class {
|
|
262
|
-
constructor(t) {
|
|
263
|
-
x(this, t), this.pageSizes = [10, 25, 50], this.pagination = null, this.endpoint = void 0, this.session = void 0, this.language = o.defaultLanguage, this.userId = void 0, this.translationUrl = void 0, this.mobile = !1, this.clientStyling = null, this.clientStylingUrl = null, this.mbSource = void 0, this.page = 0, this.pageSize = this.pageSizes[0], this.showMobileFilter = !1, this.to = void 0, this.from = void 0, this.type = "0", this.transactions = void 0, this.showLoader = !0;
|
|
264
|
-
}
|
|
265
|
-
watchMultiple() {
|
|
266
|
-
this.loadTransactions();
|
|
267
|
-
}
|
|
268
|
-
handleClientStylingChange(t, a) {
|
|
269
|
-
t != a && g(this.stylingContainer, this.clientStyling);
|
|
270
|
-
}
|
|
271
|
-
handleClientStylingUrlChange(t, a) {
|
|
272
|
-
t != a && this.clientStylingUrl && m(this.stylingContainer, this.clientStylingUrl);
|
|
273
|
-
}
|
|
274
|
-
componentWillLoad() {
|
|
275
|
-
return c(this, null, function* () {
|
|
276
|
-
this.translationUrl && (yield o.loadCustomTranslations(this.translationUrl)), this.loadTransactions();
|
|
277
|
-
});
|
|
278
|
-
}
|
|
279
|
-
componentDidLoad() {
|
|
280
|
-
this.stylingContainer && (window.emMessageBus != null ? U(this.stylingContainer, `${this.mbSource}.Style`) : (this.clientStyling && g(this.stylingContainer, this.clientStyling), this.clientStylingUrl && m(this.stylingContainer, this.clientStylingUrl)));
|
|
281
|
-
}
|
|
282
|
-
componentDidRender() {
|
|
283
|
-
this.getComponentHeight();
|
|
284
|
-
}
|
|
285
|
-
getComponentHeight() {
|
|
286
|
-
var t;
|
|
287
|
-
if (this.mobile) {
|
|
288
|
-
let a = this.el.getBoundingClientRect().height - ((t = this.el.shadowRoot.querySelector(".table")) === null || t === void 0 ? void 0 : t.getBoundingClientRect().y);
|
|
289
|
-
this.el.style.setProperty("--heightScrollableContainer", a + "px");
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
setHeightTableProperty() {
|
|
293
|
-
let t = this.getComponentHeight();
|
|
294
|
-
this.el.style.setProperty("--heightScrollableContainer", t + "px");
|
|
295
|
-
}
|
|
296
|
-
changeTransactionsType(t) {
|
|
297
|
-
this.type = t;
|
|
298
|
-
}
|
|
299
|
-
changePageSize(t) {
|
|
300
|
-
this.pageSize = t;
|
|
301
|
-
}
|
|
302
|
-
prev() {
|
|
303
|
-
var t;
|
|
304
|
-
!((t = this.pagination) === null || t === void 0) && t.previous && this.page--;
|
|
305
|
-
}
|
|
306
|
-
next() {
|
|
307
|
-
var t;
|
|
308
|
-
!((t = this.pagination) === null || t === void 0) && t.next && this.page++;
|
|
309
|
-
}
|
|
310
|
-
applyFilters(t, a) {
|
|
311
|
-
this.from = t ? new Date(t).toISOString() : null, this.to = a ? new Date(a).toISOString() : null, this.loadTransactions();
|
|
312
|
-
}
|
|
313
|
-
showFilter() {
|
|
314
|
-
this.showMobileFilter = !this.showMobileFilter;
|
|
315
|
-
}
|
|
316
|
-
disconnectedCallback() {
|
|
317
|
-
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
318
|
-
}
|
|
319
|
-
render() {
|
|
320
|
-
var t;
|
|
321
|
-
const a = u("../assets/filter.svg"), i = u("../assets/warning.svg");
|
|
322
|
-
return e(w, { key: "8d6470d73afff5dbc8a8c3a1a47426223971ad47" }, this.showLoader ? e(B, null) : "", e("div", { key: "8c32d9425b701747559ea1e63a3b2c4bb31780ab", class: "wrapper", ref: (n) => this.stylingContainer = n }, e("div", { key: "b2a9216bfcfa5950c174f6e06a179e2ae3790f6b", class: { "types types-mobile": this.mobile, "types types-desktop": !this.mobile } }, e("button", { key: "e2ce33fe2ab27abab68bd721b8b945bde5d672ac", class: "transaction-type " + (this.type === "0" ? "clicked" : ""), onClick: () => this.changeTransactionsType("0") }, o.translate("deposit", this.language)), e("button", { key: "6d80bef56bf4ec590cc2e4aa704f930a47b29f3c", class: "transaction-type " + (this.type === "1" ? "clicked" : ""), onClick: () => this.changeTransactionsType("1") }, o.translate("withdrawals", this.language))), this.mobile ? "" : e(D, { language: this.language, pageSizes: this.pageSizes, currentPageSize: this.pageSize, changePageSize: (n) => this.changePageSize(n) }), this.mobile ? e("button", { class: "mobile-filter-button", onClick: () => this.showFilter() }, e("img", { src: a, alt: "Filter" }), o.translate("filter", this.language)) : "", !this.mobile || this.showMobileFilter && this.mobile ? e(F, { language: this.language, applyFilters: (n, r) => this.applyFilters(n, r) }) : "", ((t = this.transactions) === null || t === void 0 ? void 0 : t.length) > 0 ? e("div", { class: "table" }, this.mobile ? e("div", { class: "mobile-table" }, this.transactions.map((n) => e(L, Object.assign({}, n)))) : e(M, { source: this.transactions, language: this.language })) : e("div", { class: "noData" }, e("img", { src: i, alt: "Warning" }), e("span", null, o.translate("noData", this.language))), e("div", { key: "14b4d34c0e1d258ea0547b4aa43766199a629526", class: "pagination" }, e("button", { key: "fdd2a70e6dacf863c0783ab8dce80951294f04cc", onClick: () => this.prev() }, "<"), e("button", { key: "3bdc96262e16573e24ba07362e80ea779d30da9f", onClick: () => this.next() }, ">"))));
|
|
323
|
-
}
|
|
324
|
-
loadTransactions() {
|
|
325
|
-
return c(this, null, function* () {
|
|
326
|
-
this.showLoader = !0;
|
|
327
|
-
try {
|
|
328
|
-
const t = `${this.endpoint}/v1/player/${this.userId}/transactions/banking?${this.getParams()}`, a = yield fetch(t, {
|
|
329
|
-
headers: {
|
|
330
|
-
"X-Sessionid": this.session,
|
|
331
|
-
"Content-Type": "application/json"
|
|
332
|
-
}
|
|
333
|
-
});
|
|
334
|
-
if (!a.ok) {
|
|
335
|
-
const n = yield a.text();
|
|
336
|
-
throw new Error(n);
|
|
337
|
-
}
|
|
338
|
-
const i = yield a.json();
|
|
339
|
-
this.pagination = i.pagination, this.transactions = i.transactions;
|
|
340
|
-
} catch (t) {
|
|
341
|
-
console.error(t);
|
|
342
|
-
} finally {
|
|
343
|
-
this.showLoader = !1;
|
|
344
|
-
}
|
|
345
|
-
});
|
|
346
|
-
}
|
|
347
|
-
getParams() {
|
|
348
|
-
var t, a;
|
|
349
|
-
const i = /* @__PURE__ */ new Date(), n = (this.page * this.pageSize).toString(), r = (t = this.from) !== null && t !== void 0 ? t : new Date(i.getFullYear(), i.getMonth(), 1).toISOString(), l = (a = this.to) !== null && a !== void 0 ? a : new Date(i.getFullYear(), i.getMonth() + 1, 0).toISOString();
|
|
350
|
-
return `offset=${n}&endDate=${l}&startDate=${r}&type=${this.type}&limit=${this.pageSize}`;
|
|
351
|
-
}
|
|
352
|
-
static get assetsDirs() {
|
|
353
|
-
return ["../assets"];
|
|
354
|
-
}
|
|
355
|
-
get el() {
|
|
356
|
-
return S(this);
|
|
357
|
-
}
|
|
358
|
-
static get watchers() {
|
|
359
|
-
return {
|
|
360
|
-
page: ["watchMultiple"],
|
|
361
|
-
type: ["watchMultiple"],
|
|
362
|
-
session: ["watchMultiple"],
|
|
363
|
-
userId: ["watchMultiple"],
|
|
364
|
-
pageSize: ["watchMultiple"],
|
|
365
|
-
clientStyling: ["handleClientStylingChange"],
|
|
366
|
-
clientStylingUrl: ["handleClientStylingUrlChange"],
|
|
367
|
-
showMobileFilter: ["getComponentHeight"]
|
|
368
|
-
};
|
|
369
|
-
}
|
|
370
|
-
};
|
|
371
|
-
H.style = I;
|
|
372
|
-
export {
|
|
373
|
-
H as user_transaction_history
|
|
374
|
-
};
|