@everymatrix/player-account-controller 1.44.0 → 1.45.2

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 (79) hide show
  1. package/components/GeneralLogout-DR-XxT8N.js +4832 -0
  2. package/components/GeneralLogout-bc8vhI_H.cjs +8 -0
  3. package/components/PlayerAccountBettingHistory-BK6xPWSw.cjs +1 -0
  4. package/components/PlayerAccountBettingHistory-fca6lsNS.js +328 -0
  5. package/components/PlayerAccountBiometrics-C-3zrtyy.cjs +1 -0
  6. package/components/PlayerAccountBiometrics-CjiFJhw-.js +300 -0
  7. package/components/PlayerAccountClosure-C8BNtCld.cjs +1 -0
  8. package/components/PlayerAccountClosure-jv1Rveed.js +339 -0
  9. package/components/PlayerAccountController-B5GxyiMU.cjs +1 -0
  10. package/components/PlayerAccountController-BJBxx9xW.js +6176 -0
  11. package/components/PlayerAccountGamingLimits-D3HbxASA.js +758 -0
  12. package/components/PlayerAccountGamingLimits-a_ERECbs.cjs +1 -0
  13. package/components/PlayerAccountGamingLimitsConfirmationModal-D0i0fMnV.js +306 -0
  14. package/components/PlayerAccountGamingLimitsConfirmationModal-l6qA-tGo.cjs +1 -0
  15. package/components/PlayerAccountGamingLimitsGroupEdit-C0TmN9tW.cjs +10 -0
  16. package/components/PlayerAccountGamingLimitsGroupEdit-Ds0hHVHM.js +4148 -0
  17. package/components/PlayerAccountGamingLimitsHistory2-BQABSfo3.cjs +1 -0
  18. package/components/PlayerAccountGamingLimitsHistory2-CMLSdTnW.js +734 -0
  19. package/components/PlayerAccountGamingLimitsInfoCard-0xDp-CBL.cjs +1 -0
  20. package/components/PlayerAccountGamingLimitsInfoCard-BBL_jJC8.js +1488 -0
  21. package/components/PlayerAccountGamingLimitsPage2Gm16-B7_BHyXu.js +2794 -0
  22. package/components/PlayerAccountGamingLimitsPage2Gm16-DSOYjGfv.cjs +21 -0
  23. package/components/PlayerAccountGamingLimitsPopup-B_VQVAW1.js +339 -0
  24. package/components/PlayerAccountGamingLimitsPopup-CRCoJtQR.cjs +1 -0
  25. package/components/PlayerAccountGamingLimitsWrapper2-oY7Nyl9P.cjs +1 -0
  26. package/components/PlayerAccountGamingLimitsWrapper2-qU20DTdn.js +844 -0
  27. package/components/PlayerAccountMenu-Cguxd1Gn.js +576 -0
  28. package/components/PlayerAccountMenu-_QF6LQHb.cjs +1 -0
  29. package/components/PlayerAccountModal-BpuFEHxz.js +198 -0
  30. package/components/PlayerAccountModal-CIR41mpM.cjs +1 -0
  31. package/components/PlayerAccountNotifications-DNWMsUnC.cjs +1 -0
  32. package/components/PlayerAccountNotifications-SC-So9Ge.js +261 -0
  33. package/components/PlayerAccountSelfExclusion-DVLlbxoJ.cjs +3693 -0
  34. package/components/PlayerAccountSelfExclusion-zuKOJE1A.js +16404 -0
  35. package/components/PlayerAccountTimeout-C0nlqzAC.cjs +1 -0
  36. package/components/PlayerAccountTimeout-CMxX7J1C.js +448 -0
  37. package/components/PlayerActiveBonuses-CinsfLQL.js +986 -0
  38. package/components/PlayerActiveBonuses-bY0Y51Al.cjs +1 -0
  39. package/components/PlayerBonusCard-CQTRKi8G.js +565 -0
  40. package/components/PlayerBonusCard-DdxYH7lf.cjs +1 -0
  41. package/components/PlayerBonusHistory-CnA7jYi8.cjs +1 -0
  42. package/components/PlayerBonusHistory-Dz9N_GGZ.js +840 -0
  43. package/components/PlayerChangePassword-B9qM0mFd.js +1161 -0
  44. package/components/PlayerChangePassword-BDyXZ2_q.cjs +3 -0
  45. package/components/PlayerDeposit-CYpXuZIT.cjs +1 -0
  46. package/components/PlayerDeposit-Dvm1Z2l9.js +395 -0
  47. package/components/PlayerGamingHistory-1wUzXwQ1.js +920 -0
  48. package/components/PlayerGamingHistory-TcfH2pYz.cjs +1 -0
  49. package/components/PlayerPendingWithdrawals-DgF86kij.js +307 -0
  50. package/components/PlayerPendingWithdrawals-Dn63yKxo.cjs +1 -0
  51. package/components/PlayerProfileInfo-CsWD1vK0.cjs +1 -0
  52. package/components/PlayerProfileInfo-D-A2kQVn.js +1707 -0
  53. package/components/PlayerRealityCheck-BaBE_tNE.cjs +1 -0
  54. package/components/PlayerRealityCheck-gh3vV1ow.js +587 -0
  55. package/components/PlayerTransactionHistory-DJICk5qY.cjs +1 -0
  56. package/components/PlayerTransactionHistory-DpPF3FQq.js +311 -0
  57. package/components/PlayerWithdrawal-BHyCdUgc.js +365 -0
  58. package/components/PlayerWithdrawal-DuxGAxKs.cjs +1 -0
  59. package/es2015/player-account-controller.cjs +1 -0
  60. package/es2015/player-account-controller.js +16 -0
  61. package/package.json +38 -32
  62. package/CHANGELOG.md +0 -19
  63. package/README.md +0 -0
  64. package/assets/arrow-down.svg +0 -3
  65. package/dist/player-account-controller.js +0 -2221
  66. package/dist/player-account-controller.js.map +0 -1
  67. package/documentation.md +0 -166
  68. package/index.html +0 -46
  69. package/index.js +0 -1
  70. package/public/favicon.png +0 -0
  71. package/public/reset.css +0 -48
  72. package/rollup.config.js +0 -67
  73. package/src/PlayerAccountController.svelte +0 -732
  74. package/src/PlayerAccountController.types.ts +0 -5
  75. package/src/i18n.js +0 -27
  76. package/src/index.ts +0 -4
  77. package/src/translations.js +0 -102
  78. package/stories/PlayerAccountPage.stories.js +0 -13
  79. package/tsconfig.json +0 -6
@@ -0,0 +1,1488 @@
1
+ import { a as Ie, $ as ke, S as De, i as Me, f as G, c as Ae, s as Te, b as Re, e as u, k as M, o as x, p as A, q as Ee, u as Ne, v as Ye, x as je, t as S, d as E, g as L, j as f, l as m, m as Q, L as $, n as B, r as ze, y as Se, M as K, D as ee, N as fe, U as pe } from "./GeneralLogout-DR-XxT8N.js";
2
+ import { h as O } from "./PlayerAccountGamingLimitsGroupEdit-Ds0hHVHM.js";
3
+ function te(i, t) {
4
+ Ie(i, t);
5
+ }
6
+ function Be(i) {
7
+ ke.set(i);
8
+ }
9
+ const oe = {
10
+ en: {
11
+ name: "Info",
12
+ amountChanged: "Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",
13
+ daily: "Daily",
14
+ weekly: "Weekly",
15
+ monthly: "Monthly",
16
+ removeLimitText: "Are you sure you want to remove the {limit}?",
17
+ removeLimitsText: "Are you sure you want to remove all the {limit}s?",
18
+ minutes: "minutes",
19
+ noLimit: "No limit",
20
+ expirationDate: "Expiration date",
21
+ notAvailable: "N/A",
22
+ edit: "Edit",
23
+ removeLimits: "Remove Limits",
24
+ depositLimit: "Deposit Limit",
25
+ timeLimit: "Time Limit",
26
+ wageringLimit: "Wagering Limit",
27
+ lossLimit: "Loss Limit",
28
+ timeLimitLower: "time limit",
29
+ depositLimitLower: "deposit limit",
30
+ wageringLimitLower: "wagering limit",
31
+ lossLimitLower: "loss limit",
32
+ time: "time",
33
+ currency: "currency"
34
+ },
35
+ "zh-hk": {
36
+ name: "信息",
37
+ amountChanged: "您的限額已更改或增加:{amount} {currency}。 您必須等待到期日期才能使新限制生效:",
38
+ daily: "日常的",
39
+ weekly: "每週",
40
+ monthly: "月刊",
41
+ removeLimitText: "您確定要刪除 {limit} 嗎?",
42
+ removeLimitsText: "您確定要刪除所有 {limit} 嗎?",
43
+ minutes: "分鐘",
44
+ noLimit: "沒有限制",
45
+ expirationDate: "截止日期",
46
+ notAvailable: "不適用",
47
+ edit: "編輯",
48
+ removeLimits: "移除限制",
49
+ depositLimit: "存款限額",
50
+ timeLimit: "時限",
51
+ wageringLimit: "投注限額",
52
+ lossLimit: "損失限額",
53
+ timeLimitLower: "時限",
54
+ depositLimitLower: "存款限額",
55
+ wageringLimitLower: "投注限額",
56
+ lossLimitLower: "損失限額",
57
+ time: "時間",
58
+ currency: "貨幣"
59
+ },
60
+ fr: {
61
+ name: "Info",
62
+ amountChanged: "Votre limite a été modifiée ou augmentée: {amount} {currency}. Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",
63
+ daily: "Quotidiennement",
64
+ weekly: "Hebdomadaire",
65
+ monthly: "Mensuel",
66
+ removeLimitText: "êtes-vous sûr de vouloir supprimer la{limit}?",
67
+ removeLimitsText: "êtes-vous sûr de vouloir supprimer tous les {limit}s?",
68
+ minutes: "minutes",
69
+ noLimit: "Aucune limite",
70
+ expirationDate: "Date d'expiration",
71
+ notAvailable: "N/A",
72
+ edit: "Modifier",
73
+ removeLimits: "Supprimer les limites",
74
+ depositLimit: "Limite de dépôt",
75
+ timeLimit: "Limite de temps",
76
+ wageringLimit: "Limite de mise",
77
+ lossLimit: "Limite de perte",
78
+ timeLimitLower: "Limite de temps",
79
+ depositLimitLower: "Limite de dépôt",
80
+ wageringLimitLower: "Limite de mise",
81
+ lossLimitLower: "Limite de perte",
82
+ time: "Temps",
83
+ currency: "Monnaie"
84
+ },
85
+ ro: {
86
+ name: "Informații",
87
+ amountChanged: "Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare:",
88
+ daily: "Zilnic",
89
+ weekly: "Săptămânal",
90
+ monthly: "Lunar",
91
+ removeLimitText: "Ești sigur că vrei să elimini această limită?",
92
+ removeLimitsText: "Ești sigur că vrei să elimini toate limitele?",
93
+ minutes: "minute",
94
+ noLimit: "Fără Limită",
95
+ expirationDate: "Dată Expirare",
96
+ notAvailable: "N/A",
97
+ edit: "Editează",
98
+ removeLimits: "Elimină limitele",
99
+ depositLimit: "Limită de depunere",
100
+ timeLimit: "Limită de timp",
101
+ wageringLimit: "Limită de pariere",
102
+ lossLimit: "Limite de pierdere",
103
+ timeLimitLower: "limită de timp",
104
+ depositLimitLower: "limită de depunere",
105
+ wageringLimitLower: "limită de pariere",
106
+ lossLimitLower: "limită de pierdere",
107
+ time: "timp",
108
+ currency: "monedă"
109
+ },
110
+ es: {
111
+ name: "Información",
112
+ amountChanged: "Tú limite ha sido cambiado o incrementado: {amount} {currency}. Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia:",
113
+ daily: "Diario",
114
+ weekly: "Semanal",
115
+ monthly: "Mensual",
116
+ removeLimitText: "Estas seguro de quitar el {limit}?",
117
+ removeLimitsText: "Estas seguro de retirar todos los {limit}es?",
118
+ minutes: "minutos",
119
+ noLimit: "Sin límite",
120
+ expirationDate: "Fecha de expiración",
121
+ notAvailable: "No Disponible",
122
+ edit: "Editar",
123
+ removeLimits: "Retirar límites",
124
+ depositLimit: "Límite de depósito",
125
+ timeLimit: "Límite de tiempo",
126
+ wageringLimit: "Límite de apuestas",
127
+ lossLimit: "Límite de pérdida",
128
+ timeLimitLower: "Límite de tiempo",
129
+ depositLimitLower: "Límite de depósito",
130
+ wageringLimitLower: "Límite de apuestas",
131
+ lossLimitLower: "Límite de pérdida",
132
+ time: "tiempo",
133
+ currency: "moneda"
134
+ },
135
+ pt: {
136
+ name: "Informação",
137
+ amountChanged: "Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",
138
+ daily: "Diariamente",
139
+ weekly: "Semanalmente",
140
+ monthly: "Mensalmente",
141
+ removeLimitText: "Tem certeza de que deseja remover o {limite}??",
142
+ removeLimitsText: "Tem certeza de que deseja remover todos os {limite}s??",
143
+ minutes: "Minutos",
144
+ noLimit: "Sem limite",
145
+ expirationDate: "Data de Validade",
146
+ notAvailable: "Não Disponível",
147
+ edit: "Editar",
148
+ removeLimits: "Remover limites",
149
+ depositLimit: "Limite de Depósito",
150
+ timeLimit: "Limite de Tempo",
151
+ wageringLimit: "Limite de Apostas",
152
+ lossLimit: "Limite de Perda",
153
+ timeLimitLower: "Limite de tempo",
154
+ depositLimitLower: "limite de depósito",
155
+ wageringLimitLower: "limite de apostas",
156
+ lossLimitLower: "limite de perda",
157
+ time: "Tempo",
158
+ currency: "Moeda"
159
+ },
160
+ hr: {
161
+ name: "Informacije",
162
+ amountChanged: "Vaše ograničenje je promijenjeno ili povećano: {iznos} {valuta}. Morat ćete pričekati datum isteka kako bi vaše novo ograničenje stupilo na snagu:",
163
+ daily: "Dnevno",
164
+ weekly: "Tjedno",
165
+ monthly: "Mjesečno",
166
+ removeLimitText: "Jeste li sigurni da želite ukloniti {limit}?",
167
+ removeLimitsText: "Jeste li sigurni da želite ukloniti sve {limit}e?",
168
+ minutes: "minute",
169
+ noLimit: "Nema ograničenja",
170
+ expirationDate: "Datum isteka",
171
+ notAvailable: "N/A",
172
+ edit: "Uredi",
173
+ removeLimits: "Ukloni ograničenja",
174
+ depositLimit: "Ograničenje uplate",
175
+ timeLimit: "Vremensko ograničenje",
176
+ wageringLimit: "Ograničenje igranja",
177
+ lossLimit: "Ograničenje gubitka",
178
+ timeLimitLower: "vremensko ograničenje",
179
+ depositLimitLower: "ograničenje uplate",
180
+ wageringLimitLower: "ograničenje igranja",
181
+ lossLimitLower: "ograničenje gubitka",
182
+ time: "vrijeme",
183
+ currency: "valuta"
184
+ },
185
+ "pt-br": {
186
+ name: "Informação",
187
+ amountChanged: "Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",
188
+ daily: "Diário",
189
+ weekly: "Semanalmente",
190
+ monthly: "Por mês",
191
+ removeLimitText: "Tem certeza de que deseja remover o limite {limit}?",
192
+ removeLimitsText: "Tem certeza de que deseja remover todos os limites {limit}s?",
193
+ minutes: "minutos",
194
+ noLimit: "Sem limite",
195
+ expirationDate: "Data de expiração",
196
+ notAvailable: "Não disponível",
197
+ edit: "Editar",
198
+ removeLimits: "Remover limites",
199
+ depositLimit: "Limite de depósito",
200
+ timeLimit: "Limite de tempo",
201
+ wageringLimit: "Limite de Quantidade de Apostas",
202
+ lossLimit: "Limite de perda",
203
+ timeLimitLower: "Limite de tempo",
204
+ depositLimitLower: "Limite de depósito",
205
+ wageringLimitLower: "Limite de Quantidade de Apostas",
206
+ lossLimitLower: "Limite de perda",
207
+ time: "tempo",
208
+ currency: "moeda"
209
+ },
210
+ "es-mx": {
211
+ name: "Información",
212
+ amountChanged: "Su límite ha sido cambiado o aumentado:{amount} {currency}. Tendrá que esperar para su fecha de expiración para que su nuevo límite entre en efecto:",
213
+ daily: "Diario",
214
+ weekly: "Semanal",
215
+ monthly: "Mensual",
216
+ removeLimitText: "¿Está seguro que quiere remover el límite {limit}?",
217
+ removeLimitsText: "¿Está seguro que quiere remover todos los límites {limit}s?",
218
+ minutes: "minutos",
219
+ noLimit: "Sin límite",
220
+ expirationDate: "Fecha de expiración",
221
+ notAvailable: "No disponible",
222
+ edit: "Editar",
223
+ removeLimits: "Remover Límites",
224
+ depositLimit: "Límite de depósito",
225
+ timeLimit: "Límite de tiempo",
226
+ wageringLimit: "Límite de monto de apuestas",
227
+ lossLimit: "Límite de pérdidas",
228
+ timeLimitLower: "Límite de tiempo",
229
+ depositLimitLower: "Límite de depósito",
230
+ wageringLimitLower: "Límite de monto de apuestas",
231
+ lossLimitLower: "Límite de pérdidas",
232
+ time: "tiempo",
233
+ currency: "moneda"
234
+ },
235
+ tr: {
236
+ name: "Bilgi",
237
+ amountChanged: "Limitiniz değiştirildi veya artırıldı: {amount} {currency}. Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir:",
238
+ daily: "Günlük",
239
+ weekly: "Haftalık",
240
+ monthly: "Aylık",
241
+ removeLimitText: "{limit} sınırını kaldırmak istediğinizden emin misiniz?",
242
+ removeLimitsText: "Tüm {limit}'leri kaldırmak istediğinizden emin misiniz?",
243
+ minutes: "dakika",
244
+ noLimit: "Limit yok",
245
+ expirationDate: "Son kullanma tarihi",
246
+ notAvailable: "Yok",
247
+ edit: "Düzenlemek",
248
+ removeLimits: "Sınırları Kaldır",
249
+ depositLimit: "Para Yatırma Limiti",
250
+ timeLimit: "Zaman sınırı",
251
+ wageringLimit: "Bahis Limiti",
252
+ lossLimit: "Kayıp Limiti",
253
+ timeLimitLower: "zaman sınırı",
254
+ depositLimitLower: "para yatırma limiti",
255
+ wageringLimitLower: "bahis limiti",
256
+ lossLimitLower: "kayıp limiti",
257
+ time: "zaman",
258
+ currency: "para birimi"
259
+ }
260
+ };
261
+ if (typeof window != "undefined") {
262
+ let i = function(t) {
263
+ return function(...o) {
264
+ try {
265
+ return t.apply(this, o);
266
+ } catch (n) {
267
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
268
+ return !1;
269
+ throw n;
270
+ }
271
+ };
272
+ };
273
+ customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsGroupEdit-Ds0hHVHM.js").then((t) => t.P).then(({ default: t }) => {
274
+ !customElements.get("player-account-gaming-limits-group-edit") && customElements.define(
275
+ "player-account-gaming-limits-group-edit",
276
+ t.element
277
+ );
278
+ });
279
+ }
280
+ function Fe(i) {
281
+ Re(i, "svelte-13kc3ax", '@charset "UTF-8";.InfoCard{padding:20px;color:var(--emfe-w-color-black, #000000);background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 3px 12px var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;display:block}.InfoCardHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:10px}.InfoCardHeader h5{margin:0;font-weight:normal;font-size:16px;line-height:20px}.InfoCardHeader span{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));align-items:center;justify-content:center;border-radius:30px}.InfoCardHeader.InfoCardMobileHeader h5{font-size:14px}.InfoCardHeader.InfoCardMobileHeader span{width:16px;height:16px;font-size:12px}.InfoCardIcon{cursor:pointer}.InfoCardRow{display:flex;flex-direction:row;justify-content:space-between;font-size:14px}.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child .InfoCardRowTitle{font-weight:500}.InfoCardTableRow>.InfoCardRow:nth-child(2){font-size:12px}.InfoCardTableHeaderBox{display:flex;flex-direction:column}.InfoCardRowTitle{font-size:12px;font-weight:300}.InfoCardRowValue{font-size:12px;color:var(--emfe-w-color-gray-300, #58586B);font-weight:300}.InfoCardRemoveIcon{display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardRemoveIcon span{display:inline-block;height:18px;width:18px;border-radius:50px;position:relative;color:var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));border:1px solid var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839))}.InfoCardRemoveIcon span:after{position:absolute;top:0;bottom:0;left:0;right:0;content:"❌";font-size:7px;color:var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));line-height:18px;text-align:center}.InfoCardBox{padding:15px 5px}.InfoCardBox.InfoCardMultipleItems{display:flex;flex-direction:row}.InfoCardBox:nth-child(even){background:var(--emfe-w-color-gray-50, #F9F8F8)}.InfoCardBox .InfoCardRowContainer{flex:1 auto}.InfoMainRow .InfoCardRowTitle{font-size:14px;font-weight:400}.InfoMainRow .InfoCardRowValue{font-size:14px}.InfoCardControlArea{display:inline-flex;margin-top:35px}.InfoCardControlArea .InfoCardEditButton,.InfoCardControlArea .InfoCardRemoveButton{cursor:pointer;border-radius:5px;width:120px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--emfe-w-color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.InfoCardControlArea .InfoCardEditButton{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));margin-right:10px}.InfoCardControlArea .InfoCardEditButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emfe-w-color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardControlArea .InfoCardRemoveButton{background:transparent;border:1px solid var(--emfe-w-color-black, #000000)}.InfoCardControlArea .InfoCardRemoveButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emfe-w-color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardIconWrapper span{display:flex;width:20px;height:20px;background:transparent;border:1px solid ar(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));align-items:center;justify-content:center;border-radius:30px}.InfoCardIconWrapper.InfoCardIconMobileWrapper{position:initial}.InfoCardBox .InfoCardIcon{color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B)}');
282
+ }
283
+ function ne(i, t, o) {
284
+ const n = i.slice();
285
+ return n[41] = t[o], n[43] = o, n;
286
+ }
287
+ function ae(i, t, o) {
288
+ const n = i.slice();
289
+ return n[41] = t[o], n[43] = o, n;
290
+ }
291
+ function qe(i) {
292
+ let t, o, n, e, a = (
293
+ /*limitsdata*/
294
+ (i[0] ? (
295
+ /*$_*/
296
+ i[15](
297
+ /*limitname*/
298
+ i[1].charAt(0).toLowerCase() + /*limitname*/
299
+ i[1].substring(1).replace(/\s/g, "")
300
+ )
301
+ ) : "") + ""
302
+ ), l, s, g, I, h, y, b, z, T, W, Y, F, j, q, R = (
303
+ /*$_*/
304
+ i[15]("edit") + ""
305
+ ), V, C, N, P, k;
306
+ function D(w, H) {
307
+ return (
308
+ /*limitname*/
309
+ w[1] === "Time Limit" ? Ve : He
310
+ );
311
+ }
312
+ let p = D(i), c = p(i), d = !/*amountIsUnset*/
313
+ i[9] && !/*limitsdata*/
314
+ i[0].isModified && /*changeableDataset*/
315
+ i[14] && de(i), _ = (
316
+ /*openLimitsModal*/
317
+ i[11] && ue(i)
318
+ );
319
+ return {
320
+ c() {
321
+ t = u("div"), o = u("div"), n = u("div"), e = u("h5"), l = S(a), s = E(), g = u("div"), I = u("span"), I.textContent = "i", h = E(), y = u("player-account-gaming-limits-popup"), z = E(), T = u("div"), W = u("div"), Y = u("div"), c.c(), F = E(), j = u("div"), q = u("button"), V = S(R), C = E(), d && d.c(), N = E(), _ && _.c(), L(I, "class", "InfoCardIcon"), f(y, "showpopup", b = /*showPopup*/
322
+ i[8][0]), f(
323
+ y,
324
+ "lang",
325
+ /*lang*/
326
+ i[3]
327
+ ), f(
328
+ y,
329
+ "clientstyling",
330
+ /*clientstyling*/
331
+ i[4]
332
+ ), f(
333
+ y,
334
+ "clientstylingurl",
335
+ /*clientstylingurl*/
336
+ i[5]
337
+ ), L(g, "class", "InfoCardIconWrapper " + /*isMobile*/
338
+ (i[16] ? "InfoCardIconMobileWrapper" : "")), L(n, "class", "InfoCardHeader " + /*isMobile*/
339
+ (i[16] ? "InfoCardMobileHeader" : "")), L(Y, "class", "InfoCardTableRow"), L(W, "class", "InfoCardTableWrapper"), L(q, "class", "InfoCardEditButton"), L(j, "class", "InfoCardControlArea"), L(T, "class", "InfoCard"), L(o, "class", "InfoCardWrapper"), L(t, "class", "InfoCardSection");
340
+ },
341
+ m(w, H) {
342
+ M(w, t, H), m(t, o), m(o, n), m(n, e), m(e, l), m(n, s), m(n, g), m(g, I), m(g, h), m(g, y), m(o, z), m(o, T), m(T, W), m(W, Y), c.m(Y, null), m(T, F), m(T, j), m(j, q), m(q, V), m(j, C), d && d.m(j, null), m(t, N), _ && _.m(t, null), P || (k = [
343
+ Q(I, "click", $(
344
+ /*click_handler*/
345
+ i[23]
346
+ )),
347
+ Q(
348
+ q,
349
+ "click",
350
+ /*click_handler_3*/
351
+ i[26]
352
+ )
353
+ ], P = !0);
354
+ },
355
+ p(w, H) {
356
+ H[0] & /*limitsdata, $_, limitname*/
357
+ 32771 && a !== (a = /*limitsdata*/
358
+ (w[0] ? (
359
+ /*$_*/
360
+ w[15](
361
+ /*limitname*/
362
+ w[1].charAt(0).toLowerCase() + /*limitname*/
363
+ w[1].substring(1).replace(/\s/g, "")
364
+ )
365
+ ) : "") + "") && B(l, a), H[0] & /*showPopup*/
366
+ 256 && b !== (b = /*showPopup*/
367
+ w[8][0]) && f(y, "showpopup", b), H[0] & /*lang*/
368
+ 8 && f(
369
+ y,
370
+ "lang",
371
+ /*lang*/
372
+ w[3]
373
+ ), H[0] & /*clientstyling*/
374
+ 16 && f(
375
+ y,
376
+ "clientstyling",
377
+ /*clientstyling*/
378
+ w[4]
379
+ ), H[0] & /*clientstylingurl*/
380
+ 32 && f(
381
+ y,
382
+ "clientstylingurl",
383
+ /*clientstylingurl*/
384
+ w[5]
385
+ ), p === (p = D(w)) && c ? c.p(w, H) : (c.d(1), c = p(w), c && (c.c(), c.m(Y, null))), H[0] & /*$_*/
386
+ 32768 && R !== (R = /*$_*/
387
+ w[15]("edit") + "") && B(V, R), !/*amountIsUnset*/
388
+ w[9] && !/*limitsdata*/
389
+ w[0].isModified && /*changeableDataset*/
390
+ w[14] ? d ? d.p(w, H) : (d = de(w), d.c(), d.m(j, null)) : d && (d.d(1), d = null), /*openLimitsModal*/
391
+ w[11] ? _ ? _.p(w, H) : (_ = ue(w), _.c(), _.m(t, null)) : _ && (_.d(1), _ = null);
392
+ },
393
+ d(w) {
394
+ w && A(t), c.d(), d && d.d(), _ && _.d(), P = !1, ze(k);
395
+ }
396
+ };
397
+ }
398
+ function We(i) {
399
+ let t;
400
+ return {
401
+ c() {
402
+ t = u("div"), L(t, "class", "ModalLoader");
403
+ },
404
+ m(o, n) {
405
+ M(o, t, n);
406
+ },
407
+ p: x,
408
+ d(o) {
409
+ o && A(t);
410
+ }
411
+ };
412
+ }
413
+ function He(i) {
414
+ let t, o = K(
415
+ /*limitsdata*/
416
+ i[0]
417
+ ), n = [];
418
+ for (let e = 0; e < o.length; e += 1)
419
+ n[e] = re(ne(i, o, e));
420
+ return {
421
+ c() {
422
+ for (let e = 0; e < n.length; e += 1)
423
+ n[e].c();
424
+ t = ee();
425
+ },
426
+ m(e, a) {
427
+ for (let l = 0; l < n.length; l += 1)
428
+ n[l] && n[l].m(e, a);
429
+ M(e, t, a);
430
+ },
431
+ p(e, a) {
432
+ if (a[0] & /*removeItemLimit, limitsdata, limitname, $_, isMobile, showPopup, playercurrency, lang, clientstyling, clientstylingurl, openInfoPopup, currentDate*/
433
+ 3375423) {
434
+ o = K(
435
+ /*limitsdata*/
436
+ e[0]
437
+ );
438
+ let l;
439
+ for (l = 0; l < o.length; l += 1) {
440
+ const s = ne(e, o, l);
441
+ n[l] ? n[l].p(s, a) : (n[l] = re(s), n[l].c(), n[l].m(t.parentNode, t));
442
+ }
443
+ for (; l < n.length; l += 1)
444
+ n[l].d(1);
445
+ n.length = o.length;
446
+ }
447
+ },
448
+ d(e) {
449
+ e && A(t), fe(n, e);
450
+ }
451
+ };
452
+ }
453
+ function Ve(i) {
454
+ let t, o = K(
455
+ /*limitsdata*/
456
+ i[0]
457
+ ), n = [];
458
+ for (let e = 0; e < o.length; e += 1)
459
+ n[e] = se(ae(i, o, e));
460
+ return {
461
+ c() {
462
+ for (let e = 0; e < n.length; e += 1)
463
+ n[e].c();
464
+ t = ee();
465
+ },
466
+ m(e, a) {
467
+ for (let l = 0; l < n.length; l += 1)
468
+ n[l] && n[l].m(e, a);
469
+ M(e, t, a);
470
+ },
471
+ p(e, a) {
472
+ if (a[0] & /*removeItemLimit, limitsdata, limitname, $_, isMobile, showPopup, lang, clientstyling, clientstylingurl, openInfoPopup, currentDate*/
473
+ 3375419) {
474
+ o = K(
475
+ /*limitsdata*/
476
+ e[0]
477
+ );
478
+ let l;
479
+ for (l = 0; l < o.length; l += 1) {
480
+ const s = ae(e, o, l);
481
+ n[l] ? n[l].p(s, a) : (n[l] = se(s), n[l].c(), n[l].m(t.parentNode, t));
482
+ }
483
+ for (; l < n.length; l += 1)
484
+ n[l].d(1);
485
+ n.length = o.length;
486
+ }
487
+ },
488
+ d(e) {
489
+ e && A(t), fe(n, e);
490
+ }
491
+ };
492
+ }
493
+ function le(i) {
494
+ let t, o = (
495
+ /*itemInfo*/
496
+ (i[41] ? (
497
+ /*itemInfo*/
498
+ i[41].currency
499
+ ) : "") + ""
500
+ ), n;
501
+ return {
502
+ c() {
503
+ t = u("span"), n = S(o), L(t, "class", "InfoCardCurrency");
504
+ },
505
+ m(e, a) {
506
+ M(e, t, a), m(t, n);
507
+ },
508
+ p(e, a) {
509
+ a[0] & /*limitsdata*/
510
+ 1 && o !== (o = /*itemInfo*/
511
+ (e[41] ? (
512
+ /*itemInfo*/
513
+ e[41].currency
514
+ ) : "") + "") && B(n, o);
515
+ },
516
+ d(e) {
517
+ e && A(t);
518
+ }
519
+ };
520
+ }
521
+ function Pe(i) {
522
+ let t, o = (
523
+ /*$_*/
524
+ i[15]("notAvailable") + ""
525
+ ), n;
526
+ return {
527
+ c() {
528
+ t = u("div"), n = S(o), L(t, "class", "InfoCardRowValue");
529
+ },
530
+ m(e, a) {
531
+ M(e, t, a), m(t, n);
532
+ },
533
+ p(e, a) {
534
+ a[0] & /*$_*/
535
+ 32768 && o !== (o = /*$_*/
536
+ e[15]("notAvailable") + "") && B(n, o);
537
+ },
538
+ d(e) {
539
+ e && A(t);
540
+ }
541
+ };
542
+ }
543
+ function Ue(i) {
544
+ let t, o = (
545
+ /*itemInfo*/
546
+ (i[41] ? O(
547
+ /*itemInfo*/
548
+ i[41].expiryDate
549
+ ).year() > /*currentDate*/
550
+ i[17].year() + 30 ? (
551
+ /*currentDate*/
552
+ i[17].clone().add(5, "years").format("D/M/YYYY - h:mm A")
553
+ ) : O(
554
+ /*itemInfo*/
555
+ i[41].expiryDate
556
+ ).format("D/M/YYYY - h:mm A") : "N/A") + ""
557
+ ), n;
558
+ return {
559
+ c() {
560
+ t = u("div"), n = S(o), L(t, "class", "InfoCardRowValue");
561
+ },
562
+ m(e, a) {
563
+ M(e, t, a), m(t, n);
564
+ },
565
+ p(e, a) {
566
+ a[0] & /*limitsdata*/
567
+ 1 && o !== (o = /*itemInfo*/
568
+ (e[41] ? O(
569
+ /*itemInfo*/
570
+ e[41].expiryDate
571
+ ).year() > /*currentDate*/
572
+ e[17].year() + 30 ? (
573
+ /*currentDate*/
574
+ e[17].clone().add(5, "years").format("D/M/YYYY - h:mm A")
575
+ ) : O(
576
+ /*itemInfo*/
577
+ e[41].expiryDate
578
+ ).format("D/M/YYYY - h:mm A") : "N/A") + "") && B(n, o);
579
+ },
580
+ d(e) {
581
+ e && A(t);
582
+ }
583
+ };
584
+ }
585
+ function Oe(i) {
586
+ let t, o, n, e, a, l, s, g;
587
+ function I() {
588
+ return (
589
+ /*click_handler_2*/
590
+ i[25](
591
+ /*index*/
592
+ i[43]
593
+ )
594
+ );
595
+ }
596
+ return {
597
+ c() {
598
+ t = u("div"), o = u("span"), o.textContent = "i", n = E(), e = u("player-account-gaming-limits-popup"), L(o, "class", "InfoCardIcon"), f(e, "showpopup", a = /*showPopup*/
599
+ i[8][
600
+ /*index*/
601
+ i[43] + 1
602
+ ]), f(e, "iteminfoamount", l = /*itemInfo*/
603
+ i[41].updateAmount), f(
604
+ e,
605
+ "playercurrency",
606
+ /*playercurrency*/
607
+ i[2]
608
+ ), f(
609
+ e,
610
+ "lang",
611
+ /*lang*/
612
+ i[3]
613
+ ), f(
614
+ e,
615
+ "clientstyling",
616
+ /*clientstyling*/
617
+ i[4]
618
+ ), f(
619
+ e,
620
+ "clientstylingurl",
621
+ /*clientstylingurl*/
622
+ i[5]
623
+ ), L(t, "class", "InfoCardIconWrapper " + /*isMobile*/
624
+ (i[16] ? "InfoCardIconMobileWrapper" : ""));
625
+ },
626
+ m(h, y) {
627
+ M(h, t, y), m(t, o), m(t, n), m(t, e), s || (g = Q(o, "click", $(I)), s = !0);
628
+ },
629
+ p(h, y) {
630
+ i = h, y[0] & /*showPopup*/
631
+ 256 && a !== (a = /*showPopup*/
632
+ i[8][
633
+ /*index*/
634
+ i[43] + 1
635
+ ]) && f(e, "showpopup", a), y[0] & /*limitsdata*/
636
+ 1 && l !== (l = /*itemInfo*/
637
+ i[41].updateAmount) && f(e, "iteminfoamount", l), y[0] & /*playercurrency*/
638
+ 4 && f(
639
+ e,
640
+ "playercurrency",
641
+ /*playercurrency*/
642
+ i[2]
643
+ ), y[0] & /*lang*/
644
+ 8 && f(
645
+ e,
646
+ "lang",
647
+ /*lang*/
648
+ i[3]
649
+ ), y[0] & /*clientstyling*/
650
+ 16 && f(
651
+ e,
652
+ "clientstyling",
653
+ /*clientstyling*/
654
+ i[4]
655
+ ), y[0] & /*clientstylingurl*/
656
+ 32 && f(
657
+ e,
658
+ "clientstylingurl",
659
+ /*clientstylingurl*/
660
+ i[5]
661
+ );
662
+ },
663
+ d(h) {
664
+ h && A(t), s = !1, g();
665
+ }
666
+ };
667
+ }
668
+ function Ge(i) {
669
+ let t, o, n;
670
+ return {
671
+ c() {
672
+ t = u("div"), t.innerHTML = "<span></span>", L(t, "class", "InfoCardRemoveIcon");
673
+ },
674
+ m(e, a) {
675
+ M(e, t, a), o || (n = Q(t, "click", function() {
676
+ pe(
677
+ /*removeItemLimit*/
678
+ i[20](
679
+ /*itemInfo*/
680
+ i[41],
681
+ /*limitname*/
682
+ i[1]
683
+ )
684
+ ) && i[20](
685
+ /*itemInfo*/
686
+ i[41],
687
+ /*limitname*/
688
+ i[1]
689
+ ).apply(this, arguments);
690
+ }), o = !0);
691
+ },
692
+ p(e, a) {
693
+ i = e;
694
+ },
695
+ d(e) {
696
+ e && A(t), o = !1, n();
697
+ }
698
+ };
699
+ }
700
+ function re(i) {
701
+ let t, o, n, e, a = (
702
+ /*itemInfo*/
703
+ (i[41] ? (
704
+ /*$_*/
705
+ i[15](
706
+ /*itemInfo*/
707
+ i[41].period.charAt(0).toLowerCase() + /*itemInfo*/
708
+ i[41].period.substring(1)
709
+ )
710
+ ) : "") + ""
711
+ ), l, s, g, I = (
712
+ /*itemInfo*/
713
+ (i[41] ? (
714
+ /*itemInfo*/
715
+ i[41].amount === "No limit" ? (
716
+ /*$_*/
717
+ i[15]("noLimit")
718
+ ) : (
719
+ /*itemInfo*/
720
+ i[41].amount
721
+ )
722
+ ) : 0) + ""
723
+ ), h, y, b = (
724
+ /*itemInfo*/
725
+ i[41].amount != "No limit" && /*itemInfo*/
726
+ i[41].amount != /*$_*/
727
+ i[15]("noLimit")
728
+ ), z, T, W, Y = (
729
+ /*$_*/
730
+ i[15]("expirationDate") + ""
731
+ ), F, j, q, R, V, C = b && le(i);
732
+ function N(d, _) {
733
+ return (
734
+ /*itemInfo*/
735
+ d[41].expiryDate ? Ue : Pe
736
+ );
737
+ }
738
+ let P = N(i), k = P(i);
739
+ function D(d, _) {
740
+ if (_[0] & /*limitsdata, $_*/
741
+ 32769 && (R = null), R == null && (R = /*itemInfo*/
742
+ d[41].amount !== /*$_*/
743
+ d[15]("noLimit") && /*itemInfo*/
744
+ d[41].amount !== "No limit" && !/*itemInfo*/
745
+ d[41].isModified), R) return Ge;
746
+ if (
747
+ /*itemInfo*/
748
+ d[41].amount != "No limit" && /*itemInfo*/
749
+ d[41].isModified
750
+ ) return Oe;
751
+ }
752
+ let p = D(i, [-1, -1]), c = p && p(i);
753
+ return {
754
+ c() {
755
+ t = u("div"), o = u("div"), n = u("div"), e = u("div"), l = S(a), s = E(), g = u("div"), h = S(I), y = E(), C && C.c(), z = E(), T = u("div"), W = u("div"), F = S(Y), j = E(), k.c(), q = E(), c && c.c(), V = E(), L(e, "class", "InfoCardRowTitle"), L(g, "class", "InfoCardRowValue"), L(n, "class", "InfoCardRow InfoMainRow"), L(W, "class", "InfoCardRowTitle"), L(T, "class", "InfoCardRow"), L(o, "class", "InfoCardRowContainer"), L(t, "class", "InfoCardBox InfoCardMultipleItems");
756
+ },
757
+ m(d, _) {
758
+ M(d, t, _), m(t, o), m(o, n), m(n, e), m(e, l), m(n, s), m(n, g), m(g, h), m(g, y), C && C.m(g, null), m(o, z), m(o, T), m(T, W), m(W, F), m(T, j), k.m(T, null), m(t, q), c && c.m(t, null), m(t, V);
759
+ },
760
+ p(d, _) {
761
+ _[0] & /*limitsdata, $_*/
762
+ 32769 && a !== (a = /*itemInfo*/
763
+ (d[41] ? (
764
+ /*$_*/
765
+ d[15](
766
+ /*itemInfo*/
767
+ d[41].period.charAt(0).toLowerCase() + /*itemInfo*/
768
+ d[41].period.substring(1)
769
+ )
770
+ ) : "") + "") && B(l, a), _[0] & /*limitsdata, $_*/
771
+ 32769 && I !== (I = /*itemInfo*/
772
+ (d[41] ? (
773
+ /*itemInfo*/
774
+ d[41].amount === "No limit" ? (
775
+ /*$_*/
776
+ d[15]("noLimit")
777
+ ) : (
778
+ /*itemInfo*/
779
+ d[41].amount
780
+ )
781
+ ) : 0) + "") && B(h, I), _[0] & /*limitsdata, $_*/
782
+ 32769 && (b = /*itemInfo*/
783
+ d[41].amount != "No limit" && /*itemInfo*/
784
+ d[41].amount != /*$_*/
785
+ d[15]("noLimit")), b ? C ? C.p(d, _) : (C = le(d), C.c(), C.m(g, null)) : C && (C.d(1), C = null), _[0] & /*$_*/
786
+ 32768 && Y !== (Y = /*$_*/
787
+ d[15]("expirationDate") + "") && B(F, Y), P === (P = N(d)) && k ? k.p(d, _) : (k.d(1), k = P(d), k && (k.c(), k.m(T, null))), p === (p = D(d, _)) && c ? c.p(d, _) : (c && c.d(1), c = p && p(d), c && (c.c(), c.m(t, V)));
788
+ },
789
+ d(d) {
790
+ d && A(t), C && C.d(), k.d(), c && c.d();
791
+ }
792
+ };
793
+ }
794
+ function Qe(i) {
795
+ let t, o = (
796
+ /*$_*/
797
+ i[15]("noLimit") + ""
798
+ ), n;
799
+ return {
800
+ c() {
801
+ t = u("span"), n = S(o), L(t, "class", "InfoCardCurrency");
802
+ },
803
+ m(e, a) {
804
+ M(e, t, a), m(t, n);
805
+ },
806
+ p(e, a) {
807
+ a[0] & /*$_*/
808
+ 32768 && o !== (o = /*$_*/
809
+ e[15]("noLimit") + "") && B(n, o);
810
+ },
811
+ d(e) {
812
+ e && A(t);
813
+ }
814
+ };
815
+ }
816
+ function Je(i) {
817
+ let t = (
818
+ /*itemInfo*/
819
+ (i[41] ? (
820
+ /*itemInfo*/
821
+ i[41].amount === "No limit" ? (
822
+ /*$_*/
823
+ i[15]("noLimit")
824
+ ) : (
825
+ /*itemInfo*/
826
+ i[41].amount
827
+ )
828
+ ) : 0) + ""
829
+ ), o, n, e = (
830
+ /*itemInfo*/
831
+ i[41].amount !== "No limit" && /*itemInfo*/
832
+ i[41].amount !== /*$_*/
833
+ i[15]("noLimit")
834
+ ), a, l = e && me(i);
835
+ return {
836
+ c() {
837
+ o = S(t), n = E(), l && l.c(), a = ee();
838
+ },
839
+ m(s, g) {
840
+ M(s, o, g), M(s, n, g), l && l.m(s, g), M(s, a, g);
841
+ },
842
+ p(s, g) {
843
+ g[0] & /*limitsdata, $_*/
844
+ 32769 && t !== (t = /*itemInfo*/
845
+ (s[41] ? (
846
+ /*itemInfo*/
847
+ s[41].amount === "No limit" ? (
848
+ /*$_*/
849
+ s[15]("noLimit")
850
+ ) : (
851
+ /*itemInfo*/
852
+ s[41].amount
853
+ )
854
+ ) : 0) + "") && B(o, t), g[0] & /*limitsdata, $_*/
855
+ 32769 && (e = /*itemInfo*/
856
+ s[41].amount !== "No limit" && /*itemInfo*/
857
+ s[41].amount !== /*$_*/
858
+ s[15]("noLimit")), e ? l ? l.p(s, g) : (l = me(s), l.c(), l.m(a.parentNode, a)) : l && (l.d(1), l = null);
859
+ },
860
+ d(s) {
861
+ s && (A(o), A(n), A(a)), l && l.d(s);
862
+ }
863
+ };
864
+ }
865
+ function me(i) {
866
+ let t, o = (
867
+ /*$_*/
868
+ i[15]("minutes") + ""
869
+ ), n;
870
+ return {
871
+ c() {
872
+ t = u("span"), n = S(o), L(t, "class", "InfoCardCurrency");
873
+ },
874
+ m(e, a) {
875
+ M(e, t, a), m(t, n);
876
+ },
877
+ p(e, a) {
878
+ a[0] & /*$_*/
879
+ 32768 && o !== (o = /*$_*/
880
+ e[15]("minutes") + "") && B(n, o);
881
+ },
882
+ d(e) {
883
+ e && A(t);
884
+ }
885
+ };
886
+ }
887
+ function Ke(i) {
888
+ let t, o = (
889
+ /*$_*/
890
+ i[15]("notAvailable") + ""
891
+ ), n;
892
+ return {
893
+ c() {
894
+ t = u("div"), n = S(o), L(t, "class", "InfoCardRowValue");
895
+ },
896
+ m(e, a) {
897
+ M(e, t, a), m(t, n);
898
+ },
899
+ p(e, a) {
900
+ a[0] & /*$_*/
901
+ 32768 && o !== (o = /*$_*/
902
+ e[15]("notAvailable") + "") && B(n, o);
903
+ },
904
+ d(e) {
905
+ e && A(t);
906
+ }
907
+ };
908
+ }
909
+ function Ze(i) {
910
+ let t, o = (
911
+ /*itemInfo*/
912
+ (i[41] ? O(
913
+ /*itemInfo*/
914
+ i[41].expiryDate
915
+ ).year() > /*currentDate*/
916
+ i[17].year() + 30 ? (
917
+ /*currentDate*/
918
+ i[17].clone().add(5, "years").format("D/M/YYYY - h:mm A")
919
+ ) : O(
920
+ /*itemInfo*/
921
+ i[41].expiryDate
922
+ ).format("D/M/YYYY - h:mm A") : "N/A") + ""
923
+ ), n;
924
+ return {
925
+ c() {
926
+ t = u("div"), n = S(o), L(t, "class", "InfoCardRowValue");
927
+ },
928
+ m(e, a) {
929
+ M(e, t, a), m(t, n);
930
+ },
931
+ p(e, a) {
932
+ a[0] & /*limitsdata*/
933
+ 1 && o !== (o = /*itemInfo*/
934
+ (e[41] ? O(
935
+ /*itemInfo*/
936
+ e[41].expiryDate
937
+ ).year() > /*currentDate*/
938
+ e[17].year() + 30 ? (
939
+ /*currentDate*/
940
+ e[17].clone().add(5, "years").format("D/M/YYYY - h:mm A")
941
+ ) : O(
942
+ /*itemInfo*/
943
+ e[41].expiryDate
944
+ ).format("D/M/YYYY - h:mm A") : "N/A") + "") && B(n, o);
945
+ },
946
+ d(e) {
947
+ e && A(t);
948
+ }
949
+ };
950
+ }
951
+ function Xe(i) {
952
+ let t, o, n, e, a, l, s, g, I;
953
+ function h() {
954
+ return (
955
+ /*click_handler_1*/
956
+ i[24](
957
+ /*index*/
958
+ i[43]
959
+ )
960
+ );
961
+ }
962
+ return {
963
+ c() {
964
+ t = u("div"), o = u("span"), o.textContent = "i", n = E(), e = u("player-account-gaming-limits-popup"), L(o, "class", "InfoCardIcon"), f(e, "showpopup", a = /*showPopup*/
965
+ i[8][
966
+ /*index*/
967
+ i[43] + 1
968
+ ]), f(e, "iteminfoamount", l = /*itemInfo*/
969
+ i[41].updateMinutes), f(e, "playercurrency", s = /*$_*/
970
+ i[15]("minutes")), f(
971
+ e,
972
+ "lang",
973
+ /*lang*/
974
+ i[3]
975
+ ), f(
976
+ e,
977
+ "clientstyling",
978
+ /*clientstyling*/
979
+ i[4]
980
+ ), f(
981
+ e,
982
+ "clientstylingurl",
983
+ /*clientstylingurl*/
984
+ i[5]
985
+ ), L(t, "class", "InfoCardIconWrapper " + /*isMobile*/
986
+ (i[16] ? "InfoCardIconMobileWrapper" : ""));
987
+ },
988
+ m(y, b) {
989
+ M(y, t, b), m(t, o), m(t, n), m(t, e), g || (I = Q(o, "click", $(h)), g = !0);
990
+ },
991
+ p(y, b) {
992
+ i = y, b[0] & /*showPopup*/
993
+ 256 && a !== (a = /*showPopup*/
994
+ i[8][
995
+ /*index*/
996
+ i[43] + 1
997
+ ]) && f(e, "showpopup", a), b[0] & /*limitsdata*/
998
+ 1 && l !== (l = /*itemInfo*/
999
+ i[41].updateMinutes) && f(e, "iteminfoamount", l), b[0] & /*$_*/
1000
+ 32768 && s !== (s = /*$_*/
1001
+ i[15]("minutes")) && f(e, "playercurrency", s), b[0] & /*lang*/
1002
+ 8 && f(
1003
+ e,
1004
+ "lang",
1005
+ /*lang*/
1006
+ i[3]
1007
+ ), b[0] & /*clientstyling*/
1008
+ 16 && f(
1009
+ e,
1010
+ "clientstyling",
1011
+ /*clientstyling*/
1012
+ i[4]
1013
+ ), b[0] & /*clientstylingurl*/
1014
+ 32 && f(
1015
+ e,
1016
+ "clientstylingurl",
1017
+ /*clientstylingurl*/
1018
+ i[5]
1019
+ );
1020
+ },
1021
+ d(y) {
1022
+ y && A(t), g = !1, I();
1023
+ }
1024
+ };
1025
+ }
1026
+ function xe(i) {
1027
+ let t, o, n;
1028
+ return {
1029
+ c() {
1030
+ t = u("div"), t.innerHTML = "<span></span>", L(t, "class", "InfoCardRemoveIcon");
1031
+ },
1032
+ m(e, a) {
1033
+ M(e, t, a), o || (n = Q(t, "click", function() {
1034
+ pe(
1035
+ /*removeItemLimit*/
1036
+ i[20](
1037
+ /*itemInfo*/
1038
+ i[41],
1039
+ /*limitname*/
1040
+ i[1]
1041
+ )
1042
+ ) && i[20](
1043
+ /*itemInfo*/
1044
+ i[41],
1045
+ /*limitname*/
1046
+ i[1]
1047
+ ).apply(this, arguments);
1048
+ }), o = !0);
1049
+ },
1050
+ p(e, a) {
1051
+ i = e;
1052
+ },
1053
+ d(e) {
1054
+ e && A(t), o = !1, n();
1055
+ }
1056
+ };
1057
+ }
1058
+ function se(i) {
1059
+ let t, o, n, e, a = (
1060
+ /*itemInfo*/
1061
+ (i[41] ? (
1062
+ /*$_*/
1063
+ i[15](
1064
+ /*itemInfo*/
1065
+ i[41].period.charAt(0).toLowerCase() + /*itemInfo*/
1066
+ i[41].period.substring(1)
1067
+ )
1068
+ ) : "") + ""
1069
+ ), l, s, g, I, h, y, b = (
1070
+ /*$_*/
1071
+ i[15]("expirationDate") + ""
1072
+ ), z, T, W, Y, F;
1073
+ function j(p, c) {
1074
+ return (
1075
+ /*itemInfo*/
1076
+ p[41].amount !== 0 ? Je : Qe
1077
+ );
1078
+ }
1079
+ let q = j(i), R = q(i);
1080
+ function V(p, c) {
1081
+ return (
1082
+ /*itemInfo*/
1083
+ p[41].expiryDate ? Ze : Ke
1084
+ );
1085
+ }
1086
+ let C = V(i), N = C(i);
1087
+ function P(p, c) {
1088
+ if (c[0] & /*limitsdata, $_*/
1089
+ 32769 && (Y = null), Y == null && (Y = /*itemInfo*/
1090
+ p[41].amount !== /*$_*/
1091
+ p[15]("noLimit") && /*itemInfo*/
1092
+ p[41].amount !== "No limit" && !/*itemInfo*/
1093
+ p[41].isModified), Y) return xe;
1094
+ if (
1095
+ /*itemInfo*/
1096
+ p[41].amount != "No limit" && /*itemInfo*/
1097
+ p[41].isModified
1098
+ ) return Xe;
1099
+ }
1100
+ let k = P(i, [-1, -1]), D = k && k(i);
1101
+ return {
1102
+ c() {
1103
+ t = u("div"), o = u("div"), n = u("div"), e = u("div"), l = S(a), s = E(), g = u("div"), R.c(), I = E(), h = u("div"), y = u("div"), z = S(b), T = E(), N.c(), W = E(), D && D.c(), F = E(), L(e, "class", "InfoCardRowTitle"), L(g, "class", "InfoCardRowValue"), L(n, "class", "InfoCardRow InfoMainRow"), L(y, "class", "InfoCardRowTitle"), L(h, "class", "InfoCardRow"), L(o, "class", "InfoCardRowContainer"), L(t, "class", "InfoCardBox InfoCardMultipleItems");
1104
+ },
1105
+ m(p, c) {
1106
+ M(p, t, c), m(t, o), m(o, n), m(n, e), m(e, l), m(n, s), m(n, g), R.m(g, null), m(o, I), m(o, h), m(h, y), m(y, z), m(h, T), N.m(h, null), m(t, W), D && D.m(t, null), m(t, F);
1107
+ },
1108
+ p(p, c) {
1109
+ c[0] & /*limitsdata, $_*/
1110
+ 32769 && a !== (a = /*itemInfo*/
1111
+ (p[41] ? (
1112
+ /*$_*/
1113
+ p[15](
1114
+ /*itemInfo*/
1115
+ p[41].period.charAt(0).toLowerCase() + /*itemInfo*/
1116
+ p[41].period.substring(1)
1117
+ )
1118
+ ) : "") + "") && B(l, a), q === (q = j(p)) && R ? R.p(p, c) : (R.d(1), R = q(p), R && (R.c(), R.m(g, null))), c[0] & /*$_*/
1119
+ 32768 && b !== (b = /*$_*/
1120
+ p[15]("expirationDate") + "") && B(z, b), C === (C = V(p)) && N ? N.p(p, c) : (N.d(1), N = C(p), N && (N.c(), N.m(h, null))), k === (k = P(p, c)) && D ? D.p(p, c) : (D && D.d(1), D = k && k(p), D && (D.c(), D.m(t, F)));
1121
+ },
1122
+ d(p) {
1123
+ p && A(t), R.d(), N.d(), D && D.d();
1124
+ }
1125
+ };
1126
+ }
1127
+ function de(i) {
1128
+ let t, o = (
1129
+ /*$_*/
1130
+ i[15]("removeLimits") + ""
1131
+ ), n, e, a;
1132
+ return {
1133
+ c() {
1134
+ t = u("button"), n = S(o), L(t, "class", "InfoCardRemoveButton");
1135
+ },
1136
+ m(l, s) {
1137
+ M(l, t, s), m(t, n), e || (a = Q(
1138
+ t,
1139
+ "click",
1140
+ /*click_handler_4*/
1141
+ i[27]
1142
+ ), e = !0);
1143
+ },
1144
+ p(l, s) {
1145
+ s[0] & /*$_*/
1146
+ 32768 && o !== (o = /*$_*/
1147
+ l[15]("removeLimits") + "") && B(n, o);
1148
+ },
1149
+ d(l) {
1150
+ l && A(t), e = !1, a();
1151
+ }
1152
+ };
1153
+ }
1154
+ function ue(i) {
1155
+ let t, o, n;
1156
+ return {
1157
+ c() {
1158
+ t = u("player-account-modal"), o = u("player-account-gaming-limits-confirmation-modal"), f(o, "modaltext", n = /*removeAllLimits*/
1159
+ i[10] ? (
1160
+ /*removeAllLimitsText*/
1161
+ i[12]
1162
+ ) : (
1163
+ /*removeLimitText*/
1164
+ i[13]
1165
+ )), f(o, "modalsource", "infoCard"), f(
1166
+ o,
1167
+ "lang",
1168
+ /*lang*/
1169
+ i[3]
1170
+ ), f(
1171
+ o,
1172
+ "clientstyling",
1173
+ /*clientstyling*/
1174
+ i[4]
1175
+ ), f(
1176
+ o,
1177
+ "clientstylingurl",
1178
+ /*clientstylingurl*/
1179
+ i[5]
1180
+ ), f(
1181
+ t,
1182
+ "clientstyling",
1183
+ /*clientstyling*/
1184
+ i[4]
1185
+ ), f(
1186
+ t,
1187
+ "clientstylingurl",
1188
+ /*clientstylingurl*/
1189
+ i[5]
1190
+ );
1191
+ },
1192
+ m(e, a) {
1193
+ M(e, t, a), m(t, o);
1194
+ },
1195
+ p(e, a) {
1196
+ a[0] & /*removeAllLimits, removeAllLimitsText, removeLimitText*/
1197
+ 13312 && n !== (n = /*removeAllLimits*/
1198
+ e[10] ? (
1199
+ /*removeAllLimitsText*/
1200
+ e[12]
1201
+ ) : (
1202
+ /*removeLimitText*/
1203
+ e[13]
1204
+ )) && f(o, "modaltext", n), a[0] & /*lang*/
1205
+ 8 && f(
1206
+ o,
1207
+ "lang",
1208
+ /*lang*/
1209
+ e[3]
1210
+ ), a[0] & /*clientstyling*/
1211
+ 16 && f(
1212
+ o,
1213
+ "clientstyling",
1214
+ /*clientstyling*/
1215
+ e[4]
1216
+ ), a[0] & /*clientstylingurl*/
1217
+ 32 && f(
1218
+ o,
1219
+ "clientstylingurl",
1220
+ /*clientstylingurl*/
1221
+ e[5]
1222
+ ), a[0] & /*clientstyling*/
1223
+ 16 && f(
1224
+ t,
1225
+ "clientstyling",
1226
+ /*clientstyling*/
1227
+ e[4]
1228
+ ), a[0] & /*clientstylingurl*/
1229
+ 32 && f(
1230
+ t,
1231
+ "clientstylingurl",
1232
+ /*clientstylingurl*/
1233
+ e[5]
1234
+ );
1235
+ },
1236
+ d(e) {
1237
+ e && A(t);
1238
+ }
1239
+ };
1240
+ }
1241
+ function $e(i) {
1242
+ let t;
1243
+ function o(a, l) {
1244
+ return (
1245
+ /*isLoading*/
1246
+ a[7] ? We : qe
1247
+ );
1248
+ }
1249
+ let n = o(i), e = n(i);
1250
+ return {
1251
+ c() {
1252
+ t = u("div"), e.c();
1253
+ },
1254
+ m(a, l) {
1255
+ M(a, t, l), e.m(t, null), i[28](t);
1256
+ },
1257
+ p(a, l) {
1258
+ n === (n = o(a)) && e ? e.p(a, l) : (e.d(1), e = n(a), e && (e.c(), e.m(t, null)));
1259
+ },
1260
+ i: x,
1261
+ o: x,
1262
+ d(a) {
1263
+ a && A(t), e.d(), i[28](null);
1264
+ }
1265
+ };
1266
+ }
1267
+ function ei(i, t, o) {
1268
+ let n;
1269
+ Ee(i, Se, (r) => o(15, n = r));
1270
+ let { limitsdata: e = [] } = t, { limitname: a = "" } = t, { playercurrency: l = "" } = t, { lang: s = "en" } = t, { clientstyling: g = "" } = t, { clientstylingurl: I = "" } = t, { translationurl: h = "" } = t;
1271
+ const y = () => {
1272
+ fetch(h).then((v) => v.json()).then((v) => {
1273
+ Object.keys(v).forEach((U) => {
1274
+ te(U, v[U]);
1275
+ });
1276
+ }).catch((v) => {
1277
+ console.log(v);
1278
+ });
1279
+ };
1280
+ Object.keys(oe).forEach((r) => {
1281
+ te(r, oe[r]);
1282
+ });
1283
+ let b = !0, z, T = new Array(5).fill(0), W = ["Daily", "Weekly", "Monthly"], Y = !0, F = !0, j = !1, q = window.navigator.userAgent, R = Ne(q) !== "PC", V = "", C = "", N = !0, P = O();
1284
+ const k = (r) => {
1285
+ window.postMessage(
1286
+ {
1287
+ type: "EditPlayerAccountGamingLimits",
1288
+ edit: r,
1289
+ name: a
1290
+ },
1291
+ window.location.href
1292
+ );
1293
+ }, D = (r) => {
1294
+ o(11, j = !0), o(10, F = !0), window.postMessage({ type: "ShowLimitsConfirmationModal" }, window.location.href), window.postMessage(
1295
+ {
1296
+ type: "DeleteLimitsItem",
1297
+ removeData: r,
1298
+ removeName: a
1299
+ },
1300
+ window.location.href
1301
+ );
1302
+ }, p = (r, v) => {
1303
+ o(11, j = !0), o(10, F = !1), window.postMessage({ type: "ShowLimitsConfirmationModal" }, window.location.href), window.postMessage(
1304
+ {
1305
+ type: "DeleteLimitsItem",
1306
+ removeData: r,
1307
+ removeName: v
1308
+ },
1309
+ window.location.href
1310
+ );
1311
+ }, c = (r) => {
1312
+ window.postMessage(
1313
+ {
1314
+ type: "ClosePlayerAccountGamingLimitsPopup"
1315
+ },
1316
+ window.location.href
1317
+ ), setTimeout(
1318
+ () => {
1319
+ o(8, T[r] = !0, T);
1320
+ },
1321
+ 50
1322
+ );
1323
+ }, d = (r) => {
1324
+ let v = [...r];
1325
+ W.forEach((U, Z) => {
1326
+ v.find((X) => X.period === U) || (v = _(v, Z, U));
1327
+ const J = v.find((X) => X.period === U);
1328
+ J && J.amount !== "No limit" && o(9, Y = !1);
1329
+ }), r.splice(0, r.length, ...v), o(7, b = !1);
1330
+ }, _ = (r, v, U) => {
1331
+ const Z = {
1332
+ period: U,
1333
+ amount: "No limit",
1334
+ currency: "",
1335
+ isModified: !1,
1336
+ expiryDate: ""
1337
+ }, J = [...r];
1338
+ return J.splice(v, 0, Z), J;
1339
+ }, w = (r, v) => r.period === "Weekly" && v.period === "Daily" || r.period === "Monthly" && v.period === "Daily" || r.period === "Monthly" && v.period === "Weekly" ? 1 : r.period === "Daily" && v.period === "Weekly" || r.period === "Daily" && v.period === "Monthly" || r.period === "Weekly" && v.period === "Monthly" ? -1 : 0, H = () => {
1340
+ let r = "";
1341
+ r = a === "Time Limit" ? "time limit" : a === "Deposit Limit" ? "deposit limit" : a === "Wagering Limit" ? "wagering limit" : "loss limit", o(12, V = n("removeLimitsText", { values: { limit: r } })), o(13, C = n("removeLimitText", { values: { limit: r } }));
1342
+ }, ce = (r) => {
1343
+ r.forEach((v) => {
1344
+ v.isModified && o(14, N = !1);
1345
+ });
1346
+ }, ge = () => {
1347
+ Be(s), H(), ce(e), d(e), e.sort(w);
1348
+ }, ie = (r) => {
1349
+ if (r.data)
1350
+ switch (r.data.type) {
1351
+ case "ClosePlayerAccountGamingLimitsPopup":
1352
+ o(8, T = new Array(5).fill(0));
1353
+ break;
1354
+ case "ModalClosed":
1355
+ window.postMessage({ type: "EnableScroll" }, window.location.href), o(11, j = !1), o(10, F = !1);
1356
+ break;
1357
+ }
1358
+ }, Le = () => {
1359
+ let r = document.createElement("style");
1360
+ r.innerHTML = g, z.appendChild(r);
1361
+ }, ye = () => {
1362
+ let r = new URL(I), v = document.createElement("style");
1363
+ fetch(r.href).then((U) => U.text()).then((U) => {
1364
+ v.innerHTML = U, setTimeout(
1365
+ () => {
1366
+ z.appendChild(v);
1367
+ },
1368
+ 1
1369
+ );
1370
+ });
1371
+ };
1372
+ Ye(() => (window.addEventListener("message", ie, !1), () => {
1373
+ window.removeEventListener("message", ie);
1374
+ }));
1375
+ const _e = () => c(0), we = (r) => c(r + 1), ve = (r) => c(r + 1), he = () => k(e), be = () => D(e);
1376
+ function Ce(r) {
1377
+ je[r ? "unshift" : "push"](() => {
1378
+ z = r, o(6, z);
1379
+ });
1380
+ }
1381
+ return i.$$set = (r) => {
1382
+ "limitsdata" in r && o(0, e = r.limitsdata), "limitname" in r && o(1, a = r.limitname), "playercurrency" in r && o(2, l = r.playercurrency), "lang" in r && o(3, s = r.lang), "clientstyling" in r && o(4, g = r.clientstyling), "clientstylingurl" in r && o(5, I = r.clientstylingurl), "translationurl" in r && o(22, h = r.translationurl);
1383
+ }, i.$$.update = () => {
1384
+ i.$$.dirty[0] & /*limitsdata, limitname, lang*/
1385
+ 11 && e && a && s && ge(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1386
+ 80 && g && z && Le(), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1387
+ 96 && I && z && ye(), i.$$.dirty[0] & /*translationurl*/
1388
+ 4194304 && h && y();
1389
+ }, [
1390
+ e,
1391
+ a,
1392
+ l,
1393
+ s,
1394
+ g,
1395
+ I,
1396
+ z,
1397
+ b,
1398
+ T,
1399
+ Y,
1400
+ F,
1401
+ j,
1402
+ V,
1403
+ C,
1404
+ N,
1405
+ n,
1406
+ R,
1407
+ P,
1408
+ k,
1409
+ D,
1410
+ p,
1411
+ c,
1412
+ h,
1413
+ _e,
1414
+ we,
1415
+ ve,
1416
+ he,
1417
+ be,
1418
+ Ce
1419
+ ];
1420
+ }
1421
+ class ii extends De {
1422
+ constructor(t) {
1423
+ super(), Me(
1424
+ this,
1425
+ t,
1426
+ ei,
1427
+ $e,
1428
+ Te,
1429
+ {
1430
+ limitsdata: 0,
1431
+ limitname: 1,
1432
+ playercurrency: 2,
1433
+ lang: 3,
1434
+ clientstyling: 4,
1435
+ clientstylingurl: 5,
1436
+ translationurl: 22
1437
+ },
1438
+ Fe,
1439
+ [-1, -1]
1440
+ );
1441
+ }
1442
+ get limitsdata() {
1443
+ return this.$$.ctx[0];
1444
+ }
1445
+ set limitsdata(t) {
1446
+ this.$$set({ limitsdata: t }), G();
1447
+ }
1448
+ get limitname() {
1449
+ return this.$$.ctx[1];
1450
+ }
1451
+ set limitname(t) {
1452
+ this.$$set({ limitname: t }), G();
1453
+ }
1454
+ get playercurrency() {
1455
+ return this.$$.ctx[2];
1456
+ }
1457
+ set playercurrency(t) {
1458
+ this.$$set({ playercurrency: t }), G();
1459
+ }
1460
+ get lang() {
1461
+ return this.$$.ctx[3];
1462
+ }
1463
+ set lang(t) {
1464
+ this.$$set({ lang: t }), G();
1465
+ }
1466
+ get clientstyling() {
1467
+ return this.$$.ctx[4];
1468
+ }
1469
+ set clientstyling(t) {
1470
+ this.$$set({ clientstyling: t }), G();
1471
+ }
1472
+ get clientstylingurl() {
1473
+ return this.$$.ctx[5];
1474
+ }
1475
+ set clientstylingurl(t) {
1476
+ this.$$set({ clientstylingurl: t }), G();
1477
+ }
1478
+ get translationurl() {
1479
+ return this.$$.ctx[22];
1480
+ }
1481
+ set translationurl(t) {
1482
+ this.$$set({ translationurl: t }), G();
1483
+ }
1484
+ }
1485
+ Ae(ii, { limitsdata: {}, limitname: {}, playercurrency: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
1486
+ export {
1487
+ ii as default
1488
+ };