@everymatrix/player-account-controller 1.72.1 → 1.73.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/components/{GeneralLogout-CgxHUYZx.js → GeneralLogout-BHj50gej.js} +8 -8
  2. package/components/{GeneralLogout-CYE3twI-.js → GeneralLogout-INWUDrak.js} +8 -8
  3. package/components/PlayerAccountBettingHistory-6bdMRw7b.js +311 -0
  4. package/components/PlayerAccountBettingHistory-BG5_gjSl.cjs +1 -0
  5. package/components/PlayerAccountBettingHistory-DVj3QpKW.js +310 -0
  6. package/components/{PlayerAccountBiometrics-CCk_4MyI.js → PlayerAccountBiometrics-C5pUACUE.js} +1 -1
  7. package/components/{PlayerAccountBiometrics-DrmVF6dX.js → PlayerAccountBiometrics-DkxwtpuF.js} +1 -1
  8. package/components/{PlayerAccountClosure-B_xwOPds.js → PlayerAccountClosure-D2ApiUXV.js} +1 -1
  9. package/components/{PlayerAccountClosure-UwL_V2IO.js → PlayerAccountClosure-vPc-BArB.js} +1 -1
  10. package/components/{PlayerAccountController-CqAFUuWU.js → PlayerAccountController-2uMVXSSQ.js} +25 -25
  11. package/components/{PlayerAccountController-DOrj81a0.js → PlayerAccountController-COFCcEvV.js} +25 -25
  12. package/components/{PlayerAccountController-BoNq7g_6.cjs → PlayerAccountController-SUrzo8aT.cjs} +1 -1
  13. package/components/{PlayerAccountGamingLimits-B0QALjVi.js → PlayerAccountGamingLimits-BfrumTwY.js} +2 -2
  14. package/components/{PlayerAccountGamingLimits-C11On8aq.js → PlayerAccountGamingLimits-DlA29Y4p.js} +2 -2
  15. package/components/{PlayerAccountGamingLimitsConfirmationModal-57Q5qtf8.js → PlayerAccountGamingLimitsConfirmationModal-Cg5ndunr.js} +1 -1
  16. package/components/{PlayerAccountGamingLimitsConfirmationModal-CztJ5DKd.js → PlayerAccountGamingLimitsConfirmationModal-D5LstV9w.js} +1 -1
  17. package/components/{PlayerAccountGamingLimitsGroupEdit-CoayAtf0.js → PlayerAccountGamingLimitsGroupEdit-DN-VG2ye.js} +4 -4
  18. package/components/{PlayerAccountGamingLimitsGroupEdit-C40tSY9Z.js → PlayerAccountGamingLimitsGroupEdit-vuv0-MMp.js} +4 -4
  19. package/components/{PlayerAccountGamingLimitsHistory2-Br4h7_eS.js → PlayerAccountGamingLimitsHistory2-B8TPjC1F.js} +1 -1
  20. package/components/{PlayerAccountGamingLimitsHistory2-BLK-Rk6N.js → PlayerAccountGamingLimitsHistory2-GRu_2NJ0.js} +1 -1
  21. package/components/{PlayerAccountGamingLimitsInfoCard-blI001Nx.js → PlayerAccountGamingLimitsInfoCard-8Ea7IE2K.js} +3 -3
  22. package/components/{PlayerAccountGamingLimitsInfoCard-D5Vpi7Gd.js → PlayerAccountGamingLimitsInfoCard-BfD6DDSB.js} +3 -3
  23. package/components/{PlayerAccountGamingLimitsPage2Gm16-BAQqtUjc.js → PlayerAccountGamingLimitsPage2Gm16-B02A1fGD.js} +1 -1
  24. package/components/{PlayerAccountGamingLimitsPage2Gm16-Cov3S01u.js → PlayerAccountGamingLimitsPage2Gm16-CnUGDYRk.js} +1 -1
  25. package/components/{PlayerAccountGamingLimitsPopup-DTb6cpuT.js → PlayerAccountGamingLimitsPopup-BlVtbm__.js} +1 -1
  26. package/components/{PlayerAccountGamingLimitsPopup-Dz9ROowj.js → PlayerAccountGamingLimitsPopup-DPu9x2H3.js} +1 -1
  27. package/components/{PlayerAccountGamingLimitsWrapper2-LAdy0FnH.js → PlayerAccountGamingLimitsWrapper2-CqXn9yDd.js} +3 -3
  28. package/components/{PlayerAccountGamingLimitsWrapper2-CeTGUdpp.js → PlayerAccountGamingLimitsWrapper2-cJf0myiC.js} +3 -3
  29. package/components/{PlayerAccountGeneralConfirmationModal-DbBEBukz.js → PlayerAccountGeneralConfirmationModal-BksqLS7V.js} +1 -1
  30. package/components/{PlayerAccountGeneralConfirmationModal-DzZ3ym_J.js → PlayerAccountGeneralConfirmationModal-eHfDDGZk.js} +1 -1
  31. package/components/{PlayerAccountMenu-_Qnpkznr.js → PlayerAccountMenu-CE6Ej_rV.js} +2 -2
  32. package/components/{PlayerAccountMenu-T7u8nYfI.js → PlayerAccountMenu-Cp7Edaq0.js} +2 -2
  33. package/components/{PlayerAccountModal-Cbpkb5P6.js → PlayerAccountModal-CrjAmgmN.js} +31 -31
  34. package/components/{PlayerAccountModal-Co5a_OZZ.js → PlayerAccountModal-DYSDyLvm.js} +31 -31
  35. package/components/PlayerAccountNotifications-Cyle3r2h.cjs +1 -0
  36. package/components/{PlayerAccountNotifications-BeabE333.js → PlayerAccountNotifications-OyZ1fIUi.js} +21 -21
  37. package/components/PlayerAccountNotifications-qIJQNyMm.js +363 -0
  38. package/components/{PlayerAccountProductRestriction-Vl7EIMfJ.js → PlayerAccountProductRestriction-BZ2Y4yzU.js} +3 -3
  39. package/components/{PlayerAccountProductRestriction-DvqI77xo.js → PlayerAccountProductRestriction-L-vR790T.js} +3 -3
  40. package/components/{PlayerAccountSelfExclusion-Dq7G7DeK.js → PlayerAccountSelfExclusion-7psd7i6U.js} +229 -230
  41. package/components/{PlayerAccountSelfExclusion-BUoFSg8L.js → PlayerAccountSelfExclusion-Bd8SgB7m.js} +256 -256
  42. package/components/{PlayerAccountSelfExclusion-CC2VhBEv.cjs → PlayerAccountSelfExclusion-Dq1gDgcx.cjs} +8 -8
  43. package/components/{PlayerAccountTimeout-BuNhODT0.cjs → PlayerAccountTimeout-CMLyedNs.cjs} +1 -1
  44. package/components/{PlayerAccountTimeout-o11NOFXb.js → PlayerAccountTimeout-Dby2FPrP.js} +3 -3
  45. package/components/{PlayerAccountTimeout-Brl7HCpJ.js → PlayerAccountTimeout-uyeQ1--8.js} +3 -3
  46. package/components/{PlayerAccountTransactionsHistory-Dm5dcrFj.js → PlayerAccountTransactionsHistory-B5-KRVvB.js} +3 -3
  47. package/components/{PlayerAccountTransactionsHistory-DMr6unVm.js → PlayerAccountTransactionsHistory-BWsoBgd6.js} +3 -3
  48. package/components/{PlayerAccountTransactionsHistory-BBn9XxCH.cjs → PlayerAccountTransactionsHistory-Bn5gyj5f.cjs} +1 -1
  49. package/components/{PlayerActiveBonuses-CaQNGq0m.js → PlayerActiveBonuses-C9i5xuOt.js} +2 -2
  50. package/components/{PlayerActiveBonuses-DX872Zcz.js → PlayerActiveBonuses-Cz3aqMcu.js} +2 -2
  51. package/components/{PlayerBonusCard-ZY8S04oT.js → PlayerBonusCard-DatoS2En.js} +2 -2
  52. package/components/{PlayerBonusCard-Cu5bJlh_.js → PlayerBonusCard-lMeM3LSx.js} +2 -2
  53. package/components/{PlayerBonusHistory-CNQrPTXb.js → PlayerBonusHistory-BUUBhu5n.js} +4 -4
  54. package/components/{PlayerBonusHistory-IbQagu8m.js → PlayerBonusHistory-BVbwQ0Zf.js} +4 -4
  55. package/components/{PlayerChangePassword-C2ZoKuCq.js → PlayerChangePassword-BUYrlClk.js} +1 -1
  56. package/components/{PlayerChangePassword-ChwKfBC6.js → PlayerChangePassword-CGqqlwlb.js} +1 -1
  57. package/components/{PlayerDeposit-BPZ5wCAZ.js → PlayerDeposit-CTxatYEW.js} +1 -1
  58. package/components/{PlayerDeposit-VLcz0tQH.js → PlayerDeposit-DQObc_n_.js} +1 -1
  59. package/components/{PlayerGamingHistory-DI45HNlI.js → PlayerGamingHistory-BAeIZw2u.js} +4 -4
  60. package/components/{PlayerGamingHistory-BBZLzVSS.js → PlayerGamingHistory-xZ8szCQB.js} +4 -4
  61. package/components/{PlayerPendingWithdrawals-go7okUzL.js → PlayerPendingWithdrawals-CuGt7dq1.js} +1 -1
  62. package/components/{PlayerPendingWithdrawals-DeNKdUgJ.js → PlayerPendingWithdrawals-Dek0JuV2.js} +1 -1
  63. package/components/{PlayerProfileInfo-C8q-cLYa.js → PlayerProfileInfo-BI4jNmXN.js} +1 -1
  64. package/components/{PlayerProfileInfo-bwbHpI6M.js → PlayerProfileInfo-C4dNo9s-.js} +1 -1
  65. package/components/{PlayerRealityCheck-C2w5S2fe.js → PlayerRealityCheck-8KkrG0sn.js} +1 -1
  66. package/components/{PlayerRealityCheck-BGNjgzIq.js → PlayerRealityCheck-CS9oAjTQ.js} +1 -1
  67. package/components/{PlayerTransactionHistory-A-aVfyoc.js → PlayerTransactionHistory-Cw0GAF5l.js} +1 -1
  68. package/components/{PlayerTransactionHistory-BFV_XJw9.js → PlayerTransactionHistory-D7aVTCre.js} +1 -1
  69. package/components/{PlayerWithdrawal-B_wQZI_t.js → PlayerWithdrawal-BPfYoISW.js} +1 -1
  70. package/components/{PlayerWithdrawal-CTttZqLr.js → PlayerWithdrawal-C7mFHGlW.js} +1 -1
  71. package/es2015/player-account-controller.cjs +1 -1
  72. package/es2015/player-account-controller.js +1 -1
  73. package/esnext/player-account-controller.js +1 -1
  74. package/package.json +1 -1
  75. package/stencil/{checkbox-group-input_15-OwR3eXhS.js → checkbox-group-input_15-BXx2eI5U.js} +453 -453
  76. package/stencil/{checkbox-group-input_15-Vwz1wSzH.js → checkbox-group-input_15-C6LpSObs.js} +452 -452
  77. package/stencil/{checkbox-group-input_15-rrNwAy0j.cjs → checkbox-group-input_15-DadoyfRo.cjs} +4 -4
  78. package/stencil/{index-13661b98-CmRNR-rV.js → index-13661b98-6KjWiAei.js} +1 -1
  79. package/stencil/{index-13661b98-DhWvmFjk.js → index-13661b98-DMsw1Rqj.js} +1 -1
  80. package/stencil/{index-13661b98-D5aIg_pY.cjs → index-13661b98-e0g0ZJ4Q.cjs} +1 -1
  81. package/stencil/{index-1ef3a64c-uiTzpR-U.cjs → index-1ef3a64c-B7_EyQDJ.cjs} +1 -1
  82. package/stencil/{index-1ef3a64c-B5I86vac.js → index-1ef3a64c-BMK3b66v.js} +1 -1
  83. package/stencil/{index-1ef3a64c-DqUPq8OL.js → index-1ef3a64c-Cs1oM3tK.js} +1 -1
  84. package/stencil/{index-9c0f6c58-DmOKHEVq.cjs → index-9c0f6c58-CtHWkW4O.cjs} +1 -1
  85. package/stencil/{index-9c0f6c58-bxjYqwOi.js → index-9c0f6c58-DxzXe6Kn.js} +1 -1
  86. package/stencil/{index-9c0f6c58-BB5opCt9.js → index-9c0f6c58-Hy2JqCeP.js} +1 -1
  87. package/stencil/{pam-change-password-dEbTDKG0.js → pam-change-password-CIhfcFNO.js} +1 -1
  88. package/stencil/{pam-change-password-CV0uMtXO.cjs → pam-change-password-CQIieVFW.cjs} +1 -1
  89. package/stencil/{pam-change-password-B4zuIndQ.js → pam-change-password-L1xQARTQ.js} +1 -1
  90. package/stencil/{pam-change-password-f4a1e7e7-DAXvLl_6.cjs → pam-change-password-f4a1e7e7-B5NzEtGA.cjs} +1 -1
  91. package/stencil/{pam-change-password-f4a1e7e7-CNFdEoO5.js → pam-change-password-f4a1e7e7-Br0FC_GU.js} +1 -1
  92. package/stencil/{pam-change-password-f4a1e7e7-BdbrsvWx.js → pam-change-password-f4a1e7e7-bArCapa-.js} +1 -1
  93. package/stencil/{player-kyc-verification-DYcPWwfi.cjs → player-kyc-verification-BVPPMf62.cjs} +3 -2
  94. package/stencil/{player-kyc-verification-CMAkNiAB.js → player-kyc-verification-BX-zXzBh.js} +2 -1
  95. package/stencil/{player-kyc-verification-p2WFnKBp.js → player-kyc-verification-CvOTQFbs.js} +2 -1
  96. package/stencil/user-deposit-withdrawal-B5PikBDs.cjs +72 -0
  97. package/stencil/{user-deposit-withdrawal-BjmaGgRK.js → user-deposit-withdrawal-BftWiELv.js} +14 -8
  98. package/stencil/{user-deposit-withdrawal-D6SDVw3h.js → user-deposit-withdrawal-mAQqyXGF.js} +14 -8
  99. package/components/PlayerAccountBettingHistory-B0IsJ01N.js +0 -328
  100. package/components/PlayerAccountBettingHistory-BXBMy618.js +0 -329
  101. package/components/PlayerAccountBettingHistory-BtDZukYI.cjs +0 -1
  102. package/components/PlayerAccountNotifications-B0Nsdovh.js +0 -363
  103. package/components/PlayerAccountNotifications-aQgcZXcD.cjs +0 -1
  104. package/stencil/user-deposit-withdrawal-Du59X_-y.cjs +0 -68
@@ -1,328 +0,0 @@
1
- import { a as U, $ as V, S as G, i as Z, s as F, f as S, b as J, n as x, d as W, r as K, c as P, t as I, e as v, g as q, h as n, l as R, j as M, k, m as C, o as a, p as Q, q as X, u as Y, v as T, w as $, x as tt, y as et, z as st, A as it, B as nt } from "./GeneralLogout-CgxHUYZx.js";
2
- function D(s, t) {
3
- U(s, t);
4
- }
5
- function lt(s) {
6
- V.set(s);
7
- }
8
- const ot = {
9
- en: {
10
- titleBettingHistory: "Betting History",
11
- settledBets: "Settled Bets",
12
- openBets: "Open Bets"
13
- },
14
- ro: {
15
- titleBettingHistory: "Istoric Pariuri",
16
- settledBets: "Pariuri Decise",
17
- openBets: "Pariuri Deschise"
18
- },
19
- es: {
20
- titleBettingHistory: "Historial de Apuestas",
21
- settledBets: "Apuestas cerradas",
22
- openBets: "Apuestas abiertas"
23
- },
24
- hr: {
25
- titleBettingHistory: "Povijest klađenja",
26
- settledBets: "Obračunate oklade",
27
- openBets: "Otvorene oklade"
28
- },
29
- "pt-br": {
30
- titleBettingHistory: "Histórico de apostas",
31
- settledBets: "Apostas liquidadas",
32
- openBets: "apostas abertas"
33
- },
34
- "es-mx": {
35
- titleBettingHistory: "Historial de apuesta",
36
- settledBets: "Apuestas liquidadas",
37
- openBets: "Apuestas abiertas"
38
- },
39
- tr: {
40
- titleBettingHistory: "Bahis Geçmişi",
41
- settledBets: "Sonuçlandırılmış Bahisler",
42
- openBets: "Açık Bahisler"
43
- },
44
- "en-us": {
45
- titleBettingHistory: "Betting History",
46
- settledBets: "Settled Bets",
47
- openBets: "Open Bets"
48
- }
49
- };
50
- function rt(s) {
51
- J(s, "svelte-1kgy21f", `@import 'https://static.everymatrix.com/omfe-widgets/s/widgets/1.2.0-alpha.0/widgets.min.css';:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.BettingHistoryTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.BettingHistoryTitle.BettingHistoryTitleMobile{font-size:16px}.BettingHistoryTitle.BettingHistoryTitleNone{display:none}.BettingHistoryWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.BettingHistoryWrapper.BettingHistoryWrapperMobile{padding:20px 15px;max-width:unset}.BettingHistoryTabs{width:100%;display:flex;justify-content:center}.BettingHistoryButton{margin:0;width:100%;padding:20px;border:none;font-size:24px;color:var(--emw--color-black, #000);background:var(--emw--color-white, #fff);border:2px solid var(--emw--color-black, #000)}.BettingHistoryButton.BettingHistoryButtonMobile{padding:20px;font-size:12px}.BettingHistoryButton.BettingHistoryButtonSelected{color:var(--emw--color-white, #fff);background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.OM-MatchScore,.OM-MatchScore__List{display:flex;align-items:center;justify-content:center;list-style-type:none;margin:0;padding:0}`);
52
- }
53
- function at(s) {
54
- let t, i, y, B, p, b, c, r, f, m, h = (
55
- /*$_*/
56
- s[4]("titleBettingHistory") + ""
57
- ), d, H, u;
58
- return {
59
- c() {
60
- t = M("div"), i = T("svg"), y = T("defs"), B = T("style"), p = C(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), b = T("g"), c = T("g"), r = T("path"), f = k(), m = M("h2"), d = C(h), a(r, "class", "aaa"), a(r, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), a(r, "transform", "translate(15 15) rotate(180)"), a(c, "transform", "translate(20 158)"), a(b, "transform", "translate(-20 -158)"), a(i, "xmlns", "http://www.w3.org/2000/svg"), a(i, "width", "15"), a(i, "height", "15"), a(i, "viewBox", "0 0 15 15"), a(m, "class", "BettingHistoryTitleMobile"), a(t, "class", "MenuReturnButton");
61
- },
62
- m(w, l) {
63
- q(w, t, l), n(t, i), n(i, y), n(y, B), n(B, p), n(i, b), n(b, c), n(c, r), n(t, f), n(t, m), n(m, d), H || (u = R(
64
- t,
65
- "click",
66
- /*click_handler*/
67
- s[14]
68
- ), H = !0);
69
- },
70
- p(w, l) {
71
- l & /*$_*/
72
- 16 && h !== (h = /*$_*/
73
- w[4]("titleBettingHistory") + "") && P(d, h);
74
- },
75
- d(w) {
76
- w && W(t), H = !1, u();
77
- }
78
- };
79
- }
80
- function N(s) {
81
- return { c: x, m: x, d: x };
82
- }
83
- function ct(s) {
84
- let t, i, y, B = (
85
- /*$_*/
86
- s[4]("bettingHistory.title") + ""
87
- ), p, b, c, r, f = (
88
- /*$_*/
89
- s[4]("bettingHistory.openBets") + ""
90
- ), m, h, d, H = (
91
- /*$_*/
92
- s[4]("bettingHistory.settledBets") + ""
93
- ), u, w, l, E, O, A, j, L, _ = (
94
- /*isMobile*/
95
- s[5] && at(s)
96
- ), g = (
97
- /*showModal*/
98
- s[3] === "true" && /*selectedBetId*/
99
- s[1] && N()
100
- );
101
- return {
102
- c() {
103
- t = M("div"), _ && _.c(), i = k(), y = M("h2"), p = C(B), b = k(), c = M("div"), r = M("button"), m = C(f), h = k(), d = M("button"), u = C(H), w = k(), l = M("om-betting-history-list"), E = k(), g && g.c(), O = k(), A = M("div"), a(y, "class", "BettingHistoryTitle " + /*isMobile*/
104
- (s[5] ? "BettingHistoryTitleNone" : "")), a(y, "part", "`BettingHistoryTitleMobile"), a(r, "class", "BettingHistoryButton " + /*isMobile*/
105
- (s[5] ? "BettingHistoryButtonMobile" : "")), I(
106
- r,
107
- "BettingHistoryButtonSelected",
108
- /*betstatus*/
109
- s[0] === "openBets"
110
- ), a(d, "class", "BettingHistoryButton"), I(
111
- d,
112
- "BettingHistoryButtonSelected",
113
- /*betstatus*/
114
- s[0] === "settledBets"
115
- ), I(
116
- d,
117
- "mobile",
118
- /*isMobile*/
119
- s[5]
120
- ), a(c, "class", "BettingHistoryTabs"), v(
121
- l,
122
- "bet-status",
123
- /*betstatus*/
124
- s[0]
125
- ), v(l, "item-layout", "V2"), v(l, "match-score-layout", "v2"), v(l, "match-score-scope", "BHDetailed"), v(l, "date-format", "dd.mm.yyyy"), v(l, "time-format", "HH:MM"), v(l, "tournament-route", ":sportId/:tournamentId"), v(l, "match-route", ":betId"), a(A, "class", "OM-MatchScore OM-MatchScore__List"), a(t, "class", "BettingHistoryWrapper"), I(
126
- t,
127
- "BettingHistoryWrapperMobile",
128
- /*isMobile*/
129
- s[5]
130
- );
131
- },
132
- m(e, o) {
133
- q(e, t, o), _ && _.m(t, null), n(t, i), n(t, y), n(y, p), n(t, b), n(t, c), n(c, r), n(r, m), n(c, h), n(c, d), n(d, u), n(t, w), n(t, l), n(t, E), g && g.m(t, null), n(t, O), n(t, A), s[17](t), j || (L = [
134
- R(
135
- r,
136
- "click",
137
- /*click_handler_1*/
138
- s[15]
139
- ),
140
- R(
141
- d,
142
- "click",
143
- /*click_handler_2*/
144
- s[16]
145
- ),
146
- R(
147
- l,
148
- "routeChange",
149
- /*handleMoreDetails*/
150
- s[8]
151
- )
152
- ], j = !0);
153
- },
154
- p(e, [o]) {
155
- /*isMobile*/
156
- e[5] && _.p(e, o), o & /*$_*/
157
- 16 && B !== (B = /*$_*/
158
- e[4]("bettingHistory.title") + "") && P(p, B), o & /*$_*/
159
- 16 && f !== (f = /*$_*/
160
- e[4]("bettingHistory.openBets") + "") && P(m, f), o & /*betstatus*/
161
- 1 && I(
162
- r,
163
- "BettingHistoryButtonSelected",
164
- /*betstatus*/
165
- e[0] === "openBets"
166
- ), o & /*$_*/
167
- 16 && H !== (H = /*$_*/
168
- e[4]("bettingHistory.settledBets") + "") && P(u, H), o & /*betstatus*/
169
- 1 && I(
170
- d,
171
- "BettingHistoryButtonSelected",
172
- /*betstatus*/
173
- e[0] === "settledBets"
174
- ), o & /*betstatus*/
175
- 1 && v(
176
- l,
177
- "bet-status",
178
- /*betstatus*/
179
- e[0]
180
- ), /*showModal*/
181
- e[3] === "true" && /*selectedBetId*/
182
- e[1] ? g || (g = N(), g.c(), g.m(t, O)) : g && (g.d(1), g = null);
183
- },
184
- i: x,
185
- o: x,
186
- d(e) {
187
- e && W(t), _ && _.d(), g && g.d(), s[17](null), j = !1, K(L);
188
- }
189
- };
190
- }
191
- function ut(s, t, i) {
192
- let y;
193
- Q(s, nt, (e) => i(4, y = e));
194
- let { betstatus: B = "openBets" } = t, { lang: p = "en" } = t, { selectedBetId: b = null } = t, { clientstyling: c = "" } = t, { clientstylingurl: r = "" } = t, { mbsource: f } = t, { translationurl: m = "" } = t, h = "false", d = window.navigator.userAgent, H = X(d) !== "PC", u;
195
- const w = () => {
196
- fetch(m).then((o) => o.json()).then((o) => {
197
- Object.keys(o).forEach((z) => {
198
- D(z, o[z]);
199
- });
200
- }).catch((o) => {
201
- console.log(o);
202
- });
203
- };
204
- Object.entries(ot).forEach(([e, o]) => {
205
- D(e, o);
206
- });
207
- const l = (e) => {
208
- i(0, B = e);
209
- }, E = () => {
210
- window.postMessage(
211
- {
212
- type: "PlayerAccountMenuActive",
213
- isMobile: H
214
- },
215
- window.location.href
216
- );
217
- }, O = (e) => {
218
- const { betId: o } = e.detail.params;
219
- i(1, b = o), i(3, h = "true");
220
- }, A = (e) => {
221
- e.data?.type === "ModalClosed" && i(3, h = "false");
222
- };
223
- Y(() => (window.addEventListener("message", A, !1), () => {
224
- window.removeEventListener("message", A);
225
- }));
226
- const j = () => E(), L = () => l("openBets"), _ = () => l("settledBets");
227
- function g(e) {
228
- $[e ? "unshift" : "push"](() => {
229
- u = e, i(2, u);
230
- });
231
- }
232
- return s.$$set = (e) => {
233
- "betstatus" in e && i(0, B = e.betstatus), "lang" in e && i(9, p = e.lang), "selectedBetId" in e && i(1, b = e.selectedBetId), "clientstyling" in e && i(10, c = e.clientstyling), "clientstylingurl" in e && i(11, r = e.clientstylingurl), "mbsource" in e && i(12, f = e.mbsource), "translationurl" in e && i(13, m = e.translationurl);
234
- }, s.$$.update = () => {
235
- s.$$.dirty & /*lang*/
236
- 512 && p && lt(p), s.$$.dirty & /*clientstyling, customStylingContainer*/
237
- 1028 && c && u && tt(u, c), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
238
- 2052 && r && u && et(u, r), s.$$.dirty & /*mbsource, customStylingContainer*/
239
- 4100 && f && u && st(u, `${f}.Style`), s.$$.dirty & /*translationurl*/
240
- 8192 && m && w();
241
- }, [
242
- B,
243
- b,
244
- u,
245
- h,
246
- y,
247
- H,
248
- l,
249
- E,
250
- O,
251
- p,
252
- c,
253
- r,
254
- f,
255
- m,
256
- j,
257
- L,
258
- _,
259
- g
260
- ];
261
- }
262
- class gt extends G {
263
- constructor(t) {
264
- super(), Z(
265
- this,
266
- t,
267
- ut,
268
- ct,
269
- F,
270
- {
271
- betstatus: 0,
272
- lang: 9,
273
- selectedBetId: 1,
274
- clientstyling: 10,
275
- clientstylingurl: 11,
276
- mbsource: 12,
277
- translationurl: 13
278
- },
279
- rt
280
- );
281
- }
282
- get betstatus() {
283
- return this.$$.ctx[0];
284
- }
285
- set betstatus(t) {
286
- this.$$set({ betstatus: t }), S();
287
- }
288
- get lang() {
289
- return this.$$.ctx[9];
290
- }
291
- set lang(t) {
292
- this.$$set({ lang: t }), S();
293
- }
294
- get selectedBetId() {
295
- return this.$$.ctx[1];
296
- }
297
- set selectedBetId(t) {
298
- this.$$set({ selectedBetId: t }), S();
299
- }
300
- get clientstyling() {
301
- return this.$$.ctx[10];
302
- }
303
- set clientstyling(t) {
304
- this.$$set({ clientstyling: t }), S();
305
- }
306
- get clientstylingurl() {
307
- return this.$$.ctx[11];
308
- }
309
- set clientstylingurl(t) {
310
- this.$$set({ clientstylingurl: t }), S();
311
- }
312
- get mbsource() {
313
- return this.$$.ctx[12];
314
- }
315
- set mbsource(t) {
316
- this.$$set({ mbsource: t }), S();
317
- }
318
- get translationurl() {
319
- return this.$$.ctx[13];
320
- }
321
- set translationurl(t) {
322
- this.$$set({ translationurl: t }), S();
323
- }
324
- }
325
- it(gt, { betstatus: {}, lang: {}, selectedBetId: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
326
- export {
327
- gt as default
328
- };
@@ -1,329 +0,0 @@
1
- import { a as U, $ as V, S as G, i as Z, s as F, f as S, b as J, n as x, d as W, r as K, c as P, t as I, e as v, g as q, h as n, l as R, j as M, k, m as C, o as a, p as Q, q as X, u as Y, v as T, w as $, x as tt, y as et, z as st, A as it, B as nt } from "./GeneralLogout-CYE3twI-.js";
2
- function D(s, t) {
3
- U(s, t);
4
- }
5
- function lt(s) {
6
- V.set(s);
7
- }
8
- const ot = {
9
- en: {
10
- titleBettingHistory: "Betting History",
11
- settledBets: "Settled Bets",
12
- openBets: "Open Bets"
13
- },
14
- ro: {
15
- titleBettingHistory: "Istoric Pariuri",
16
- settledBets: "Pariuri Decise",
17
- openBets: "Pariuri Deschise"
18
- },
19
- es: {
20
- titleBettingHistory: "Historial de Apuestas",
21
- settledBets: "Apuestas cerradas",
22
- openBets: "Apuestas abiertas"
23
- },
24
- hr: {
25
- titleBettingHistory: "Povijest klađenja",
26
- settledBets: "Obračunate oklade",
27
- openBets: "Otvorene oklade"
28
- },
29
- "pt-br": {
30
- titleBettingHistory: "Histórico de apostas",
31
- settledBets: "Apostas liquidadas",
32
- openBets: "apostas abertas"
33
- },
34
- "es-mx": {
35
- titleBettingHistory: "Historial de apuesta",
36
- settledBets: "Apuestas liquidadas",
37
- openBets: "Apuestas abiertas"
38
- },
39
- tr: {
40
- titleBettingHistory: "Bahis Geçmişi",
41
- settledBets: "Sonuçlandırılmış Bahisler",
42
- openBets: "Açık Bahisler"
43
- },
44
- "en-us": {
45
- titleBettingHistory: "Betting History",
46
- settledBets: "Settled Bets",
47
- openBets: "Open Bets"
48
- }
49
- };
50
- function rt(s) {
51
- J(s, "svelte-1kgy21f", `@import 'https://static.everymatrix.com/omfe-widgets/s/widgets/1.2.0-alpha.0/widgets.min.css';:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.BettingHistoryTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.BettingHistoryTitle.BettingHistoryTitleMobile{font-size:16px}.BettingHistoryTitle.BettingHistoryTitleNone{display:none}.BettingHistoryWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.BettingHistoryWrapper.BettingHistoryWrapperMobile{padding:20px 15px;max-width:unset}.BettingHistoryTabs{width:100%;display:flex;justify-content:center}.BettingHistoryButton{margin:0;width:100%;padding:20px;border:none;font-size:24px;color:var(--emw--color-black, #000);background:var(--emw--color-white, #fff);border:2px solid var(--emw--color-black, #000)}.BettingHistoryButton.BettingHistoryButtonMobile{padding:20px;font-size:12px}.BettingHistoryButton.BettingHistoryButtonSelected{color:var(--emw--color-white, #fff);background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.OM-MatchScore,.OM-MatchScore__List{display:flex;align-items:center;justify-content:center;list-style-type:none;margin:0;padding:0}`);
52
- }
53
- function at(s) {
54
- let t, i, y, B, p, b, c, r, f, m, h = (
55
- /*$_*/
56
- s[4]("titleBettingHistory") + ""
57
- ), d, H, u;
58
- return {
59
- c() {
60
- t = M("div"), i = T("svg"), y = T("defs"), B = T("style"), p = C(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), b = T("g"), c = T("g"), r = T("path"), f = k(), m = M("h2"), d = C(h), a(r, "class", "aaa"), a(r, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), a(r, "transform", "translate(15 15) rotate(180)"), a(c, "transform", "translate(20 158)"), a(b, "transform", "translate(-20 -158)"), a(i, "xmlns", "http://www.w3.org/2000/svg"), a(i, "width", "15"), a(i, "height", "15"), a(i, "viewBox", "0 0 15 15"), a(m, "class", "BettingHistoryTitleMobile"), a(t, "class", "MenuReturnButton");
61
- },
62
- m(w, o) {
63
- q(w, t, o), n(t, i), n(i, y), n(y, B), n(B, p), n(i, b), n(b, c), n(c, r), n(t, f), n(t, m), n(m, d), H || (u = R(
64
- t,
65
- "click",
66
- /*click_handler*/
67
- s[14]
68
- ), H = !0);
69
- },
70
- p(w, o) {
71
- o & /*$_*/
72
- 16 && h !== (h = /*$_*/
73
- w[4]("titleBettingHistory") + "") && P(d, h);
74
- },
75
- d(w) {
76
- w && W(t), H = !1, u();
77
- }
78
- };
79
- }
80
- function N(s) {
81
- return { c: x, m: x, d: x };
82
- }
83
- function ct(s) {
84
- let t, i, y, B = (
85
- /*$_*/
86
- s[4]("bettingHistory.title") + ""
87
- ), p, b, c, r, f = (
88
- /*$_*/
89
- s[4]("bettingHistory.openBets") + ""
90
- ), m, h, d, H = (
91
- /*$_*/
92
- s[4]("bettingHistory.settledBets") + ""
93
- ), u, w, o, E, O, A, j, L, _ = (
94
- /*isMobile*/
95
- s[5] && at(s)
96
- ), g = (
97
- /*showModal*/
98
- s[3] === "true" && /*selectedBetId*/
99
- s[1] && N()
100
- );
101
- return {
102
- c() {
103
- t = M("div"), _ && _.c(), i = k(), y = M("h2"), p = C(B), b = k(), c = M("div"), r = M("button"), m = C(f), h = k(), d = M("button"), u = C(H), w = k(), o = M("om-betting-history-list"), E = k(), g && g.c(), O = k(), A = M("div"), a(y, "class", "BettingHistoryTitle " + /*isMobile*/
104
- (s[5] ? "BettingHistoryTitleNone" : "")), a(y, "part", "`BettingHistoryTitleMobile"), a(r, "class", "BettingHistoryButton " + /*isMobile*/
105
- (s[5] ? "BettingHistoryButtonMobile" : "")), I(
106
- r,
107
- "BettingHistoryButtonSelected",
108
- /*betstatus*/
109
- s[0] === "openBets"
110
- ), a(d, "class", "BettingHistoryButton"), I(
111
- d,
112
- "BettingHistoryButtonSelected",
113
- /*betstatus*/
114
- s[0] === "settledBets"
115
- ), I(
116
- d,
117
- "mobile",
118
- /*isMobile*/
119
- s[5]
120
- ), a(c, "class", "BettingHistoryTabs"), v(
121
- o,
122
- "bet-status",
123
- /*betstatus*/
124
- s[0]
125
- ), v(o, "item-layout", "V2"), v(o, "match-score-layout", "v2"), v(o, "match-score-scope", "BHDetailed"), v(o, "date-format", "dd.mm.yyyy"), v(o, "time-format", "HH:MM"), v(o, "tournament-route", ":sportId/:tournamentId"), v(o, "match-route", ":betId"), a(A, "class", "OM-MatchScore OM-MatchScore__List"), a(t, "class", "BettingHistoryWrapper"), I(
126
- t,
127
- "BettingHistoryWrapperMobile",
128
- /*isMobile*/
129
- s[5]
130
- );
131
- },
132
- m(e, l) {
133
- q(e, t, l), _ && _.m(t, null), n(t, i), n(t, y), n(y, p), n(t, b), n(t, c), n(c, r), n(r, m), n(c, h), n(c, d), n(d, u), n(t, w), n(t, o), n(t, E), g && g.m(t, null), n(t, O), n(t, A), s[17](t), j || (L = [
134
- R(
135
- r,
136
- "click",
137
- /*click_handler_1*/
138
- s[15]
139
- ),
140
- R(
141
- d,
142
- "click",
143
- /*click_handler_2*/
144
- s[16]
145
- ),
146
- R(
147
- o,
148
- "routeChange",
149
- /*handleMoreDetails*/
150
- s[8]
151
- )
152
- ], j = !0);
153
- },
154
- p(e, [l]) {
155
- /*isMobile*/
156
- e[5] && _.p(e, l), l & /*$_*/
157
- 16 && B !== (B = /*$_*/
158
- e[4]("bettingHistory.title") + "") && P(p, B), l & /*$_*/
159
- 16 && f !== (f = /*$_*/
160
- e[4]("bettingHistory.openBets") + "") && P(m, f), l & /*betstatus*/
161
- 1 && I(
162
- r,
163
- "BettingHistoryButtonSelected",
164
- /*betstatus*/
165
- e[0] === "openBets"
166
- ), l & /*$_*/
167
- 16 && H !== (H = /*$_*/
168
- e[4]("bettingHistory.settledBets") + "") && P(u, H), l & /*betstatus*/
169
- 1 && I(
170
- d,
171
- "BettingHistoryButtonSelected",
172
- /*betstatus*/
173
- e[0] === "settledBets"
174
- ), l & /*betstatus*/
175
- 1 && v(
176
- o,
177
- "bet-status",
178
- /*betstatus*/
179
- e[0]
180
- ), /*showModal*/
181
- e[3] === "true" && /*selectedBetId*/
182
- e[1] ? g || (g = N(), g.c(), g.m(t, O)) : g && (g.d(1), g = null);
183
- },
184
- i: x,
185
- o: x,
186
- d(e) {
187
- e && W(t), _ && _.d(), g && g.d(), s[17](null), j = !1, K(L);
188
- }
189
- };
190
- }
191
- function ut(s, t, i) {
192
- let y;
193
- Q(s, nt, (e) => i(4, y = e));
194
- let { betstatus: B = "openBets" } = t, { lang: p = "en" } = t, { selectedBetId: b = null } = t, { clientstyling: c = "" } = t, { clientstylingurl: r = "" } = t, { mbsource: f } = t, { translationurl: m = "" } = t, h = "false", d = window.navigator.userAgent, H = X(d) !== "PC", u;
195
- const w = () => {
196
- fetch(m).then((l) => l.json()).then((l) => {
197
- Object.keys(l).forEach((z) => {
198
- D(z, l[z]);
199
- });
200
- }).catch((l) => {
201
- console.log(l);
202
- });
203
- };
204
- Object.entries(ot).forEach(([e, l]) => {
205
- D(e, l);
206
- });
207
- const o = (e) => {
208
- i(0, B = e);
209
- }, E = () => {
210
- window.postMessage(
211
- {
212
- type: "PlayerAccountMenuActive",
213
- isMobile: H
214
- },
215
- window.location.href
216
- );
217
- }, O = (e) => {
218
- const { betId: l } = e.detail.params;
219
- i(1, b = l), i(3, h = "true");
220
- }, A = (e) => {
221
- var l;
222
- ((l = e.data) == null ? void 0 : l.type) === "ModalClosed" && i(3, h = "false");
223
- };
224
- Y(() => (window.addEventListener("message", A, !1), () => {
225
- window.removeEventListener("message", A);
226
- }));
227
- const j = () => E(), L = () => o("openBets"), _ = () => o("settledBets");
228
- function g(e) {
229
- $[e ? "unshift" : "push"](() => {
230
- u = e, i(2, u);
231
- });
232
- }
233
- return s.$$set = (e) => {
234
- "betstatus" in e && i(0, B = e.betstatus), "lang" in e && i(9, p = e.lang), "selectedBetId" in e && i(1, b = e.selectedBetId), "clientstyling" in e && i(10, c = e.clientstyling), "clientstylingurl" in e && i(11, r = e.clientstylingurl), "mbsource" in e && i(12, f = e.mbsource), "translationurl" in e && i(13, m = e.translationurl);
235
- }, s.$$.update = () => {
236
- s.$$.dirty & /*lang*/
237
- 512 && p && lt(p), s.$$.dirty & /*clientstyling, customStylingContainer*/
238
- 1028 && c && u && tt(u, c), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
239
- 2052 && r && u && et(u, r), s.$$.dirty & /*mbsource, customStylingContainer*/
240
- 4100 && f && u && st(u, `${f}.Style`), s.$$.dirty & /*translationurl*/
241
- 8192 && m && w();
242
- }, [
243
- B,
244
- b,
245
- u,
246
- h,
247
- y,
248
- H,
249
- o,
250
- E,
251
- O,
252
- p,
253
- c,
254
- r,
255
- f,
256
- m,
257
- j,
258
- L,
259
- _,
260
- g
261
- ];
262
- }
263
- class gt extends G {
264
- constructor(t) {
265
- super(), Z(
266
- this,
267
- t,
268
- ut,
269
- ct,
270
- F,
271
- {
272
- betstatus: 0,
273
- lang: 9,
274
- selectedBetId: 1,
275
- clientstyling: 10,
276
- clientstylingurl: 11,
277
- mbsource: 12,
278
- translationurl: 13
279
- },
280
- rt
281
- );
282
- }
283
- get betstatus() {
284
- return this.$$.ctx[0];
285
- }
286
- set betstatus(t) {
287
- this.$$set({ betstatus: t }), S();
288
- }
289
- get lang() {
290
- return this.$$.ctx[9];
291
- }
292
- set lang(t) {
293
- this.$$set({ lang: t }), S();
294
- }
295
- get selectedBetId() {
296
- return this.$$.ctx[1];
297
- }
298
- set selectedBetId(t) {
299
- this.$$set({ selectedBetId: t }), S();
300
- }
301
- get clientstyling() {
302
- return this.$$.ctx[10];
303
- }
304
- set clientstyling(t) {
305
- this.$$set({ clientstyling: t }), S();
306
- }
307
- get clientstylingurl() {
308
- return this.$$.ctx[11];
309
- }
310
- set clientstylingurl(t) {
311
- this.$$set({ clientstylingurl: t }), S();
312
- }
313
- get mbsource() {
314
- return this.$$.ctx[12];
315
- }
316
- set mbsource(t) {
317
- this.$$set({ mbsource: t }), S();
318
- }
319
- get translationurl() {
320
- return this.$$.ctx[13];
321
- }
322
- set translationurl(t) {
323
- this.$$set({ translationurl: t }), S();
324
- }
325
- }
326
- it(gt, { betstatus: {}, lang: {}, selectedBetId: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
327
- export {
328
- gt as default
329
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-Dzu2Sl-x.cjs");function I(n,e){t.addMessages(n,e)}function O(n){t.$locale.set(n)}const j={en:{titleBettingHistory:"Betting History",settledBets:"Settled Bets",openBets:"Open Bets"},ro:{titleBettingHistory:"Istoric Pariuri",settledBets:"Pariuri Decise",openBets:"Pariuri Deschise"},es:{titleBettingHistory:"Historial de Apuestas",settledBets:"Apuestas cerradas",openBets:"Apuestas abiertas"},hr:{titleBettingHistory:"Povijest klađenja",settledBets:"Obračunate oklade",openBets:"Otvorene oklade"},"pt-br":{titleBettingHistory:"Histórico de apostas",settledBets:"Apostas liquidadas",openBets:"apostas abertas"},"es-mx":{titleBettingHistory:"Historial de apuesta",settledBets:"Apuestas liquidadas",openBets:"Apuestas abiertas"},tr:{titleBettingHistory:"Bahis Geçmişi",settledBets:"Sonuçlandırılmış Bahisler",openBets:"Açık Bahisler"},"en-us":{titleBettingHistory:"Betting History",settledBets:"Settled Bets",openBets:"Open Bets"}};function x(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 L(n){let e,i,m,p,B,f,r,o,y,g,_=n[4]("titleBettingHistory")+"",u,h,c;return{c(){e=t.element("div"),i=t.svg_element("svg"),m=t.svg_element("defs"),p=t.svg_element("style"),B=t.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),f=t.svg_element("g"),r=t.svg_element("g"),o=t.svg_element("path"),y=t.space(),g=t.element("h2"),u=t.text(_),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(f,"transform","translate(-20 -158)"),t.attr(i,"xmlns","http://www.w3.org/2000/svg"),t.attr(i,"width","15"),t.attr(i,"height","15"),t.attr(i,"viewBox","0 0 15 15"),t.attr(g,"class","BettingHistoryTitleMobile"),t.attr(e,"class","MenuReturnButton")},m(b,a){t.insert(b,e,a),t.append(e,i),t.append(i,m),t.append(m,p),t.append(p,B),t.append(i,f),t.append(f,r),t.append(r,o),t.append(e,y),t.append(e,g),t.append(g,u),h||(c=t.listen(e,"click",n[14]),h=!0)},p(b,a){a&16&&_!==(_=b[4]("titleBettingHistory")+"")&&t.set_data(u,_)},d(b){b&&t.detach(e),h=!1,c()}}}function T(n){return{c:t.noop,m:t.noop,d:t.noop}}function C(n){let e,i,m,p=n[4]("bettingHistory.title")+"",B,f,r,o,y=n[4]("bettingHistory.openBets")+"",g,_,u,h=n[4]("bettingHistory.settledBets")+"",c,b,a,v,M,w,S,k,H=n[5]&&L(n),d=n[3]==="true"&&n[1]&&T();return{c(){e=t.element("div"),H&&H.c(),i=t.space(),m=t.element("h2"),B=t.text(p),f=t.space(),r=t.element("div"),o=t.element("button"),g=t.text(y),_=t.space(),u=t.element("button"),c=t.text(h),b=t.space(),a=t.element("om-betting-history-list"),v=t.space(),d&&d.c(),M=t.space(),w=t.element("div"),t.attr(m,"class","BettingHistoryTitle "+(n[5]?"BettingHistoryTitleNone":"")),t.attr(m,"part","`BettingHistoryTitleMobile"),t.attr(o,"class","BettingHistoryButton "+(n[5]?"BettingHistoryButtonMobile":"")),t.toggle_class(o,"BettingHistoryButtonSelected",n[0]==="openBets"),t.attr(u,"class","BettingHistoryButton"),t.toggle_class(u,"BettingHistoryButtonSelected",n[0]==="settledBets"),t.toggle_class(u,"mobile",n[5]),t.attr(r,"class","BettingHistoryTabs"),t.set_custom_element_data(a,"bet-status",n[0]),t.set_custom_element_data(a,"item-layout","V2"),t.set_custom_element_data(a,"match-score-layout","v2"),t.set_custom_element_data(a,"match-score-scope","BHDetailed"),t.set_custom_element_data(a,"date-format","dd.mm.yyyy"),t.set_custom_element_data(a,"time-format","HH:MM"),t.set_custom_element_data(a,"tournament-route",":sportId/:tournamentId"),t.set_custom_element_data(a,"match-route",":betId"),t.attr(w,"class","OM-MatchScore OM-MatchScore__List"),t.attr(e,"class","BettingHistoryWrapper"),t.toggle_class(e,"BettingHistoryWrapperMobile",n[5])},m(s,l){t.insert(s,e,l),H&&H.m(e,null),t.append(e,i),t.append(e,m),t.append(m,B),t.append(e,f),t.append(e,r),t.append(r,o),t.append(o,g),t.append(r,_),t.append(r,u),t.append(u,c),t.append(e,b),t.append(e,a),t.append(e,v),d&&d.m(e,null),t.append(e,M),t.append(e,w),n[17](e),S||(k=[t.listen(o,"click",n[15]),t.listen(u,"click",n[16]),t.listen(a,"routeChange",n[8])],S=!0)},p(s,[l]){s[5]&&H.p(s,l),l&16&&p!==(p=s[4]("bettingHistory.title")+"")&&t.set_data(B,p),l&16&&y!==(y=s[4]("bettingHistory.openBets")+"")&&t.set_data(g,y),l&1&&t.toggle_class(o,"BettingHistoryButtonSelected",s[0]==="openBets"),l&16&&h!==(h=s[4]("bettingHistory.settledBets")+"")&&t.set_data(c,h),l&1&&t.toggle_class(u,"BettingHistoryButtonSelected",s[0]==="settledBets"),l&1&&t.set_custom_element_data(a,"bet-status",s[0]),s[3]==="true"&&s[1]?d||(d=T(),d.c(),d.m(e,M)):d&&(d.d(1),d=null)},i:t.noop,o:t.noop,d(s){s&&t.detach(e),H&&H.d(),d&&d.d(),n[17](null),S=!1,t.run_all(k)}}}function P(n,e,i){let m;t.component_subscribe(n,t.$format,s=>i(4,m=s));let{betstatus:p="openBets"}=e,{lang:B="en"}=e,{selectedBetId:f=null}=e,{clientstyling:r=""}=e,{clientstylingurl:o=""}=e,{mbsource:y}=e,{translationurl:g=""}=e,_="false",u=window.navigator.userAgent,h=t.getDevice(u)!=="PC",c;const b=()=>{fetch(g).then(l=>l.json()).then(l=>{Object.keys(l).forEach(A=>{I(A,l[A])})}).catch(l=>{console.log(l)})};Object.entries(j).forEach(([s,l])=>{I(s,l)});const a=s=>{i(0,p=s)},v=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:h},window.location.href)},M=s=>{const{betId:l}=s.detail.params;i(1,f=l),i(3,_="true")},w=s=>{var l;((l=s.data)==null?void 0:l.type)==="ModalClosed"&&i(3,_="false")};t.onMount(()=>(window.addEventListener("message",w,!1),()=>{window.removeEventListener("message",w)}));const S=()=>v(),k=()=>a("openBets"),H=()=>a("settledBets");function d(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,i(2,c)})}return n.$$set=s=>{"betstatus"in s&&i(0,p=s.betstatus),"lang"in s&&i(9,B=s.lang),"selectedBetId"in s&&i(1,f=s.selectedBetId),"clientstyling"in s&&i(10,r=s.clientstyling),"clientstylingurl"in s&&i(11,o=s.clientstylingurl),"mbsource"in s&&i(12,y=s.mbsource),"translationurl"in s&&i(13,g=s.translationurl)},n.$$.update=()=>{n.$$.dirty&512&&B&&O(B),n.$$.dirty&1028&&r&&c&&t.setClientStyling(c,r),n.$$.dirty&2052&&o&&c&&t.setClientStylingURL(c,o),n.$$.dirty&4100&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty&8192&&g&&b()},[p,f,c,_,m,h,a,v,M,B,r,o,y,g,S,k,H,d]}class E extends t.SvelteComponent{constructor(e){super(),t.init(this,e,P,C,t.safe_not_equal,{betstatus:0,lang:9,selectedBetId:1,clientstyling:10,clientstylingurl:11,mbsource:12,translationurl:13},x)}get betstatus(){return this.$$.ctx[0]}set betstatus(e){this.$$set({betstatus:e}),t.flush()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),t.flush()}get selectedBetId(){return this.$$.ctx[1]}set selectedBetId(e){this.$$set({selectedBetId:e}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(E,{betstatus:{},lang:{},selectedBetId:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=E;