@everymatrix/player-account-controller 1.53.0 → 1.53.10

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 (93) hide show
  1. package/components/{GeneralLogout-DMvKimEo.js → GeneralLogout-Ddt-oH9k.js} +1597 -1648
  2. package/components/{PlayerAccountBettingHistory-YNLbWHxl.js → PlayerAccountBettingHistory-C7xwYi03.js} +34 -35
  3. package/components/{PlayerAccountBiometrics-CXLK5_xT.js → PlayerAccountBiometrics-D7WS5cnI.js} +1 -1
  4. package/components/{PlayerAccountClosure-BkKcpa4J.js → PlayerAccountClosure-yRlo8hXR.js} +1 -1
  5. package/components/{PlayerAccountController-C7j8sMbf.js → PlayerAccountController-BZYAo3oo.js} +1108 -848
  6. package/components/{PlayerAccountGamingLimits-B2-Mgazd.js → PlayerAccountGamingLimits-CTBhVGgC.js} +3 -3
  7. package/components/{PlayerAccountGamingLimitsConfirmationModal-CNTlXu7V.js → PlayerAccountGamingLimitsConfirmationModal-CuQvNzww.js} +38 -38
  8. package/components/{PlayerAccountGamingLimitsGroupEdit-CDY-ylK7.js → PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js} +16 -16
  9. package/components/{PlayerAccountGamingLimitsHistory2-DF8kvIf6.js → PlayerAccountGamingLimitsHistory2-CXKA0L0d.js} +121 -132
  10. package/components/{PlayerAccountGamingLimitsInfoCard-D3sJXuZa.js → PlayerAccountGamingLimitsInfoCard-CWTybgoQ.js} +4 -4
  11. package/components/{PlayerAccountGamingLimitsPage2Gm16-Dz6knJ_h.js → PlayerAccountGamingLimitsPage2Gm16-CXjNcIFP.js} +737 -768
  12. package/components/{PlayerAccountGamingLimitsPopup-Bt4YlCWi.js → PlayerAccountGamingLimitsPopup-CJu5RRl6.js} +1 -1
  13. package/components/{PlayerAccountGamingLimitsWrapper2-RnvNKSgN.js → PlayerAccountGamingLimitsWrapper2-BdpxEDlV.js} +75 -81
  14. package/components/{PlayerAccountGeneralConfirmationModal-SjPp-PVG.js → PlayerAccountGeneralConfirmationModal-DG0N686t.js} +42 -42
  15. package/components/{PlayerAccountMenu-5esyJ_VN.js → PlayerAccountMenu-CZBa8_5G.js} +66 -67
  16. package/components/{PlayerAccountModal-BnWL5726.js → PlayerAccountModal-BmKjtXKT.js} +1 -1
  17. package/components/{PlayerAccountNotifications-B02Ownhe.js → PlayerAccountNotifications-B4Ht-hHj.js} +1 -1
  18. package/components/{PlayerAccountSelfExclusion-D6Kby-08.js → PlayerAccountSelfExclusion-DxGHXTb8.js} +5365 -4258
  19. package/components/{PlayerAccountTimeout-tPNVqlAT.js → PlayerAccountTimeout-DOSjICsY.js} +4 -4
  20. package/components/{PlayerActiveBonuses-8P2H7i55.js → PlayerActiveBonuses-DMAG7NUP.js} +119 -120
  21. package/components/PlayerBonusCard-Dss1REmn.js +701 -0
  22. package/components/{PlayerBonusHistory-DlgbJE4B.js → PlayerBonusHistory-BxBiQwQf.js} +53 -53
  23. package/components/{PlayerChangePassword-N_UEFJNT.js → PlayerChangePassword-DnCj-wcc.js} +1 -1
  24. package/components/{PlayerDeposit-B75tYEgl.js → PlayerDeposit-CHIQ8EaC.js} +1 -1
  25. package/components/{PlayerGamingHistory-Bq_uxcwt.js → PlayerGamingHistory-BtQ73TId.js} +375 -388
  26. package/components/{PlayerPendingWithdrawals-BSTgce9H.js → PlayerPendingWithdrawals-BbTa7_8U.js} +1 -1
  27. package/components/{PlayerProfileInfo-yn20xol3.js → PlayerProfileInfo-CvAqD3Dk.js} +532 -549
  28. package/components/{PlayerRealityCheck-A_mZq3YZ.js → PlayerRealityCheck-3d-B64ie.js} +175 -191
  29. package/components/{PlayerTransactionHistory-DllIB_qE.js → PlayerTransactionHistory-BYJNabMB.js} +1 -1
  30. package/components/{PlayerWithdrawal-t5mlX5CD.js → PlayerWithdrawal-DDWroufG.js} +1 -1
  31. package/esnext/player-account-controller.js +14 -0
  32. package/package.json +8 -33
  33. package/stencil/active-mixin-59dfae2a-BphP4pp5.js +9700 -0
  34. package/stencil/{app-globals-0f993ce5-aPSxk6sG.js → app-globals-0f993ce5-C0vi_PY4.js} +5 -3
  35. package/stencil/checkbox-group-input_9-CMFoK7_E.js +15610 -0
  36. package/stencil/general-input-DnFPstQP.js +48 -0
  37. package/stencil/index-062e829b-DAFsZs6D.js +686 -0
  38. package/stencil/index-33f005e1-fFxPaeNy.js +632 -0
  39. package/stencil/index-9b3245b3-rzHgwqlB.js +625 -0
  40. package/stencil/index-fc58390d-BSwfXuUs.js +691 -0
  41. package/stencil/locale-BG_TzyDt.js +141 -0
  42. package/stencil/password-input_2-Bb9Q6Fe0.js +2359 -0
  43. package/stencil/player-change-password-gm2-98dcb7bc-gLcZhl3S.js +253 -0
  44. package/stencil/player-change-password-gm2-DR3e2gh5.js +7 -0
  45. package/stencil/{player-kyc-verification-BwGXWzTR.js → player-kyc-verification-BQZdJFEJ.js} +62 -84
  46. package/stencil/toggle-checkbox-input-CCLW6-uK.js +46 -0
  47. package/stencil/tooltipIcon-ee9760a8-BCCb4EU-.js +4 -0
  48. package/stencil/user-deposit-withdrawal-CmF0LoNb.js +646 -0
  49. package/stencil/{user-transaction-history-DcAGbFDl.js → user-transaction-history-BgV-k2Cl.js} +109 -135
  50. package/components/GeneralLogout-BW6b3iuS.cjs +0 -8
  51. package/components/PlayerAccountBettingHistory-BsFzBNDY.cjs +0 -1
  52. package/components/PlayerAccountBiometrics-BrlNlZ5N.cjs +0 -1
  53. package/components/PlayerAccountClosure-DfJc6Ip_.cjs +0 -1
  54. package/components/PlayerAccountController-BPRNlP7_.cjs +0 -1
  55. package/components/PlayerAccountGamingLimits-BPQrptbd.cjs +0 -1
  56. package/components/PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs +0 -1
  57. package/components/PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs +0 -10
  58. package/components/PlayerAccountGamingLimitsHistory2-B_7Y0DgS.cjs +0 -1
  59. package/components/PlayerAccountGamingLimitsInfoCard-BOls7ahz.cjs +0 -1
  60. package/components/PlayerAccountGamingLimitsPage2Gm16-BiFzgvUx.cjs +0 -21
  61. package/components/PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs +0 -1
  62. package/components/PlayerAccountGamingLimitsWrapper2-Dg6CwNyN.cjs +0 -1
  63. package/components/PlayerAccountGeneralConfirmationModal-BpTCzpiW.cjs +0 -1
  64. package/components/PlayerAccountMenu-C704oUrC.cjs +0 -1
  65. package/components/PlayerAccountModal-C7aZZlBw.cjs +0 -1
  66. package/components/PlayerAccountNotifications-DkgHtUGj.cjs +0 -1
  67. package/components/PlayerAccountSelfExclusion-BS89T7sZ.cjs +0 -4171
  68. package/components/PlayerAccountTimeout-DMbUPtRy.cjs +0 -1
  69. package/components/PlayerActiveBonuses-Dv3Y8Vnb.cjs +0 -1
  70. package/components/PlayerBonusCard-CuFt3zXW.js +0 -722
  71. package/components/PlayerBonusCard-DGPJpICk.cjs +0 -1
  72. package/components/PlayerBonusHistory-BzkqMmdU.cjs +0 -1
  73. package/components/PlayerChangePassword-CzR4Xz0H.cjs +0 -3
  74. package/components/PlayerDeposit-3qNMb75V.cjs +0 -1
  75. package/components/PlayerGamingHistory-BkSvSbS4.cjs +0 -1
  76. package/components/PlayerPendingWithdrawals-BG3I8ifu.cjs +0 -1
  77. package/components/PlayerProfileInfo-BX32t6wz.cjs +0 -1
  78. package/components/PlayerRealityCheck-C26ZBWae.cjs +0 -1
  79. package/components/PlayerTransactionHistory-CJqhYnbs.cjs +0 -1
  80. package/components/PlayerWithdrawal-GDc_7hZX.cjs +0 -1
  81. package/es2015/player-account-controller.cjs +0 -1
  82. package/es2015/player-account-controller.js +0 -16
  83. package/stencil/app-globals-0f993ce5-CKh2cbmz.cjs +0 -1
  84. package/stencil/index-0437c9c0-06LlHN6E.cjs +0 -1
  85. package/stencil/index-0437c9c0-1mLvhyVA.js +0 -592
  86. package/stencil/index-657e7a14-Dopxomhu.cjs +0 -1
  87. package/stencil/index-657e7a14-P-JSyx_m.js +0 -588
  88. package/stencil/index-e8249896-BNsgFr_R.cjs +0 -1
  89. package/stencil/index-e8249896-CIP0iOYr.js +0 -658
  90. package/stencil/player-kyc-verification-B9QbNY0o.cjs +0 -180
  91. package/stencil/user-deposit-withdrawal-C5Lmtrkj.cjs +0 -59
  92. package/stencil/user-deposit-withdrawal-D5CgtcqD.js +0 -651
  93. package/stencil/user-transaction-history-AoseShHM.cjs +0 -1
@@ -0,0 +1,253 @@
1
+ import { r as m, h as i } from "./index-062e829b-DAFsZs6D.js";
2
+ const h = "en", c = {
3
+ en: {
4
+ title: "Change Password",
5
+ btnSubmit: "Change Password",
6
+ passwordPlaceholderText: "Please enter your password",
7
+ newPasswordPlaceholderText: "Please enter your new password",
8
+ confirmPasswordPlaceholderText: "Please confirm your new password",
9
+ passwordDisplayText: "Current Password",
10
+ newPasswordDisplayText: "New Password",
11
+ confirmPasswordDisplayText: "Confirm Password",
12
+ successMsg: "Password changed successfully",
13
+ errorMsgGeneric: "There was an error when attempting to change your password",
14
+ "gm.pms.password_not_verified_unauthorized": "The current password you have entered is incorrect",
15
+ "gm.pms.password_policy_failed": "Password cannot be the same as any of the {forbiddenLastPasswordsCount} previous passwords. Password cannot be changed sooner than {minimumPasswordAgeLimitHours} {hours} after the last change."
16
+ },
17
+ fr: {
18
+ title: "Changer le mot de passe",
19
+ btnSubmit: "Changer le mot de passe",
20
+ passwordPlaceholderText: "Veuillez entrer votre mot de passe",
21
+ newPasswordPlaceholderText: "Veuillez entrer votre nouveau mot de passe",
22
+ confirmPasswordPlaceholderText: "Veuillez confirmer votre nouveau mot de passe",
23
+ passwordDisplayText: "Mot de passe actuel",
24
+ newPasswordDisplayText: "Nouveau mot de passe",
25
+ confirmPasswordDisplayText: "Confirmer le mot de passe",
26
+ successMsg: "Mot de passe changé avec succès",
27
+ errorMsgGeneric: "Une erreur est survenue lors de la tentative de changement de mot de passe",
28
+ "gm.pms.password_not_verified_unauthorized": "Le mot de passe actuel que vous avez entré est incorrect",
29
+ "gm.pms.password_policy_failed": "Le mot de passe ne peut pas être identique à l'un des {forbiddenLastPasswordsCount} derniers mots de passe. Le mot de passe ne peut pas être changé avant {minimumPasswordAgeLimitHours} {hours} après le dernier changement."
30
+ },
31
+ ro: {
32
+ title: "Schimbă Parola",
33
+ btnSubmit: "Schimbă Parola",
34
+ passwordPlaceholderText: "Vă rugăm să introduceți parola",
35
+ newPasswordPlaceholderText: "Vă rugăm să introduceți noua parolă",
36
+ confirmPasswordPlaceholderText: "Vă rugăm să confirmați noua parolă",
37
+ passwordDisplayText: "Parolă Curentă",
38
+ newPasswordDisplayText: "Parolă Nouă",
39
+ confirmPasswordDisplayText: "Confirmă Parola",
40
+ successMsg: "Parola a fost schimbată cu succes",
41
+ errorMsgGeneric: "A apărut o eroare la încercarea de schimbare a parolei",
42
+ "gm.pms.password_not_verified_unauthorized": "Parola curentă introdusă este incorectă",
43
+ "gm.pms.password_policy_failed": "Parola nu poate fi aceeași cu oricare dintre ultimele {forbiddenLastPasswordsCount} parole. Parola nu poate fi schimbată mai devreme de {minimumPasswordAgeLimitHours} {hours} după ultima schimbare."
44
+ },
45
+ es: {
46
+ title: "Cambiar Contraseña",
47
+ btnSubmit: "Cambiar Contraseña",
48
+ passwordPlaceholderText: "Por favor, introduce tu contraseña",
49
+ newPasswordPlaceholderText: "Por favor, introduce tu nueva contraseña",
50
+ confirmPasswordPlaceholderText: "Por favor, confirma tu nueva contraseña",
51
+ passwordDisplayText: "Contraseña Actual",
52
+ newPasswordDisplayText: "Nueva Contraseña",
53
+ confirmPasswordDisplayText: "Confirmar Contraseña",
54
+ successMsg: "Contraseña cambiada con éxito",
55
+ errorMsgGeneric: "Hubo un error al intentar cambiar tu contraseña",
56
+ "gm.pms.password_not_verified_unauthorized": "La contraseña actual que has introducido es incorrecta",
57
+ "gm.pms.password_policy_failed": "La contraseña no puede ser la misma que cualquiera de las {forbiddenLastPasswordsCount} contraseñas anteriores. La contraseña no se puede cambiar antes de {minimumPasswordAgeLimitHours} {hours} después del último cambio."
58
+ },
59
+ pt: {
60
+ title: "Alterar Senha",
61
+ btnSubmit: "Alterar Senha",
62
+ passwordPlaceholderText: "Por favor, insira sua senha",
63
+ newPasswordPlaceholderText: "Por favor, insira sua nova senha",
64
+ confirmPasswordPlaceholderText: "Por favor, confirme sua nova senha",
65
+ passwordDisplayText: "Senha Atual",
66
+ newPasswordDisplayText: "Nova Senha",
67
+ confirmPasswordDisplayText: "Confirmar Senha",
68
+ successMsg: "Senha alterada com sucesso",
69
+ errorMsgGeneric: "Ocorreu um erro ao tentar alterar sua senha",
70
+ "gm.pms.password_not_verified_unauthorized": "A senha atual que você inseriu está incorreta",
71
+ "gm.pms.password_policy_failed": "A senha não pode ser a mesma que qualquer uma das últimas {forbiddenLastPasswordsCount} senhas. A senha não pode ser alterada antes de {minimumPasswordAgeLimitHours} {hours} após a última alteração."
72
+ },
73
+ hr: {
74
+ title: "Promijeni lozinku",
75
+ btnSubmit: "Promijeni lozinku",
76
+ passwordPlaceholderText: "Unesite svoju lozinku",
77
+ newPasswordPlaceholderText: "Unesite novu lozinku",
78
+ confirmPasswordPlaceholderText: "Potvrdite novu lozinku",
79
+ passwordDisplayText: "Trenutna lozinka",
80
+ newPasswordDisplayText: "Nova lozinka",
81
+ confirmPasswordDisplayText: "Potvrdite lozinku",
82
+ successMsg: "Lozinka je uspješno promijenjena",
83
+ errorMsgGeneric: "Došlo je do pogreške prilikom pokušaja promjene lozinke",
84
+ "gm.pms.password_not_verified_unauthorized": "Unesena trenutna lozinka nije ispravna",
85
+ "gm.pms.password_policy_failed": "Lozinka ne može biti ista kao bilo koja od posljednjih {forbiddenLastPasswordsCount} lozinki. Lozinka se ne može promijeniti prije nego što prođe {minimumPasswordAgeLimitHours} {hours} od posljednje promjene."
86
+ },
87
+ tr: {
88
+ title: "Şifreyi Değiştir",
89
+ btnSubmit: "Şifreyi Değiştir",
90
+ passwordPlaceholderText: "Lütfen şifrenizi girin",
91
+ newPasswordPlaceholderText: "Lütfen yeni şifrenizi girin",
92
+ confirmPasswordPlaceholderText: "Lütfen yeni şifrenizi onaylayın",
93
+ passwordDisplayText: "Mevcut Şifre",
94
+ newPasswordDisplayText: "Yeni Şifre",
95
+ confirmPasswordDisplayText: "Şifreyi Onaylayın",
96
+ successMsg: "Şifre başarıyla değiştirildi",
97
+ errorMsgGeneric: "Şifrenizi değiştirirken bir hata oluştu",
98
+ "gm.pms.password_not_verified_unauthorized": "Girdiğiniz mevcut şifre yanlış",
99
+ "gm.pms.password_policy_failed": "Şifre, son {forbiddenLastPasswordsCount} şifreden herhangi biriyle aynı olamaz. Şifre, son değişiklikten sonra {minimumPasswordAgeLimitHours} {hours} içinde değiştirilemez."
100
+ },
101
+ hu: {
102
+ title: "Jelszó megváltoztatása",
103
+ btnSubmit: "Jelszó megváltoztatása",
104
+ passwordPlaceholderText: "Kérjük, adja meg a jelszavát",
105
+ newPasswordPlaceholderText: "Kérjük, adja meg az új jelszavát",
106
+ confirmPasswordPlaceholderText: "Kérjük, erősítse meg az új jelszavát",
107
+ passwordDisplayText: "Jelenlegi jelszó",
108
+ newPasswordDisplayText: "Új jelszó",
109
+ confirmPasswordDisplayText: "Jelszó megerősítése",
110
+ successMsg: "A jelszó sikeresen megváltozott",
111
+ errorMsgGeneric: "Hiba történt a jelszó megváltoztatásakor",
112
+ "gm.pms.password_not_verified_unauthorized": "A megadott jelenlegi jelszó helytelen",
113
+ "gm.pms.password_policy_failed": "A jelszó nem egyezhet meg az utolsó {forbiddenLastPasswordsCount} jelszóval. A jelszó nem változtatható meg {minimumPasswordAgeLimitHours} {hours}-on belül az utolsó módosítás óta."
114
+ }
115
+ }, w = (s) => new Promise((a) => {
116
+ fetch(s).then((e) => e.json()).then((e) => {
117
+ Object.keys(e).forEach((t) => {
118
+ for (let r in e[t])
119
+ c[t][r] = e[t][r];
120
+ }), a(!0);
121
+ });
122
+ }), o = (s, a, e) => {
123
+ const t = a;
124
+ let r = c[t !== void 0 ? t : h][s];
125
+ if (e !== void 0)
126
+ for (const [l, n] of Object.entries(e.values)) {
127
+ const u = new RegExp(`{${l}}`, "g");
128
+ r = r.replace(u, n);
129
+ }
130
+ return r;
131
+ };
132
+ function d() {
133
+ const s = navigator.userAgent.toLowerCase(), a = screen.availWidth, e = screen.availHeight;
134
+ if (s.includes("iphone"))
135
+ return "mobile";
136
+ if (s.includes("android")) {
137
+ if (e > a && a < 800)
138
+ return "mobile";
139
+ if (a > e && e < 800)
140
+ return "tablet";
141
+ }
142
+ return "desktop";
143
+ }
144
+ const p = ":host{display:block}.PlayerChangePassword{font-family:inherit;width:100%;height:100%;container-type:inline-size}.PlayerChangePassword .Wrapper{display:flex;justify-content:center;align-items:center}.PlayerChangePassword .Title{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--color-primary, #D0046C);font-weight:var(--emw--font-weight-semibold, 500)}.PlayerChangePassword .TitleMobile{font-size:var(--emw--font-size-x-large, 20px);color:var(--emw--color-primary, #D0046C)}.PlayerChangePassword svg{fill:var(--emw--color-primary, #D0046C)}.PlayerChangePassword .ButtonReturn{font-family:inherit;display:inline-flex;align-items:center;gap:10px}.PlayerChangePassword .Form{display:grid;grid-template-columns:repeat(1, 1fr);gap:40px;justify-items:stretch;align-content:flex-start;overflow:auto;width:100%;height:100%}.PlayerChangePassword .Form .FieldsSection{display:flex;flex-direction:column;gap:30px}.PlayerChangePassword .Form .ButtonsSection{display:flex;flex-direction:column;justify-content:space-around;align-items:center;position:relative}.PlayerChangePassword .Button{font-family:inherit;border-radius:var(--emw--button-border-radius, var(--emw--border-radius-large, 50px));background:var(--emw--button-background-color, var(--emw--color-primary, #D0046C));border:var(--emw--button-border, 1px solid var(--emw--button-border-color, #D0046C));color:var(--emw--button-text-color, var(--emw--color-white, #FFFFFF));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);height:50px;width:100%;text-transform:uppercase;cursor:pointer}.PlayerChangePassword .Button:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:var(--emw--button-border, 1px solid var(--emw--button-border-color, #828282));pointer-events:none;cursor:not-allowed}", g = p, f = class {
145
+ constructor(s) {
146
+ m(this, s), this.language = "en", this.endpoint = "", this.session = "", this.token = "", this.forgotMode = "", this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.isBtnSubmitEnabled = !1, this.isMobile = d() === "mobile" || d() === "tablet", this.currentPasswordValue = "", this.newPasswordValue = "", this.confirmPasswordValue = "", this.isCurrentPasswordValid = !1, this.isNewPasswordValid = !1, this.isConfirmPasswordValid = !1, this.errorMsg = "", this.currentPasswordValidationSchema = { mandatory: !0, custom: [] }, this.newPasswordValidationSchema = { mandatory: !0, custom: [] }, this.confirmPasswordValidationSchema = { mandatory: !0, custom: [] }, this.setClientStyling = () => {
147
+ let a = document.createElement("style");
148
+ a.innerHTML = this.clientStyling, this.stylingContainer.shadowRoot.prepend(a);
149
+ }, this.setClientStylingURL = () => {
150
+ let a = new URL(this.clientStylingUrl), e = document.createElement("style");
151
+ fetch(a.href).then((t) => t.text()).then((t) => {
152
+ e.innerHTML = t, this.clientStyling = t, setTimeout(() => {
153
+ this.stylingContainer.shadowRoot.prepend(e);
154
+ }, 1);
155
+ });
156
+ }, this.initValidationSchemas = () => {
157
+ this.policy && (this.newPasswordValidationSchema.custom = this.policy.customValidationRules, this.newPasswordValidationSchema.maxLength = this.policy.maximumPasswordLength, this.newPasswordValidationSchema.minLength = this.policy.minimumPasswordLength);
158
+ }, this.setErrorMsg = (a) => {
159
+ switch (a) {
160
+ case "gm.pms.password_policy_failed":
161
+ const e = {
162
+ forbiddenLastPasswordsCount: this.policy.forbiddenLastPasswordsCount,
163
+ minimumPasswordAgeLimitHours: this.policy.minimumPasswordAgeLimitHours,
164
+ hours: this.policy.minimumPasswordAgeLimitHours > 1 ? "hours" : "hour"
165
+ };
166
+ this.errorMsg = o(a, this.language, { values: e });
167
+ break;
168
+ case "gm.pms.password_not_verified_unauthorized":
169
+ this.errorMsg = o(a, this.language);
170
+ break;
171
+ default:
172
+ this.errorMsg = o("errorMsgGeneric", this.language);
173
+ }
174
+ }, this.toggleScreen = () => {
175
+ window.postMessage({ type: "PlayerAccountMenuActive", isMobile: this.isMobile }, window.location.href);
176
+ }, this.getPolicy = () => {
177
+ const a = new URL("/api/v1/players/password-management/password", this.endpoint), e = new Headers();
178
+ e.append("Accept", "text/plain");
179
+ const t = {
180
+ method: "GET",
181
+ headers: e
182
+ };
183
+ fetch(a.href, t).then((r) => r.status === 200 && r.json()).then((r) => this.policy = r).catch((r) => console.error(r));
184
+ }, this.submitNewPassword = (a) => {
185
+ if (a.preventDefault(), this.isBtnSubmitEnabled) {
186
+ const e = new URL("/api/v1/players/password-management/password", this.endpoint), t = new Headers();
187
+ t.append("accept", "text/plain"), t.append("Content-Type", "application/json-patch+json");
188
+ const r = JSON.stringify({
189
+ token: this.forgotMode === "true" ? this.token : this.session,
190
+ oldPassword: this.currentPasswordValue,
191
+ newPassword: this.confirmPasswordValue
192
+ }), l = {
193
+ method: "PUT",
194
+ headers: t,
195
+ body: r
196
+ };
197
+ fetch(e.href, l).then((n) => n.json()).then((n) => {
198
+ n.errorCode === null && n.message === "pms.password.update.success" ? (window.postMessage({ type: "PasswordChangedSuccessfully" }), window.postMessage({ type: "WidgetNotification", data: { type: "success", message: o("successMsg", this.language) } }, window.location.href)) : (this.setErrorMsg(n.message), window.postMessage({ type: "WidgetNotification", data: { type: "error", message: this.errorMsg } }, window.location.href));
199
+ }).catch((n) => console.error(n));
200
+ }
201
+ };
202
+ }
203
+ updateClientStyling() {
204
+ this.clientStyling && this.setClientStyling(), this.clientStylingUrl && this.setClientStylingURL();
205
+ }
206
+ sendValidityStateHandler(s) {
207
+ switch (this.isBtnSubmitEnabled = !1, s.detail.name) {
208
+ case "password":
209
+ this.isCurrentPasswordValid = s.detail.valid;
210
+ break;
211
+ case "newPassword":
212
+ this.isNewPasswordValid = s.detail.valid;
213
+ break;
214
+ case "newPasswordDuplicate":
215
+ this.isConfirmPasswordValid = s.detail.valid;
216
+ break;
217
+ }
218
+ (this.forgotMode === "true" || this.isCurrentPasswordValid) && this.isNewPasswordValid && this.isConfirmPasswordValid && (this.isBtnSubmitEnabled = !0);
219
+ }
220
+ sendInputValueHandler(s) {
221
+ switch (s.detail.name) {
222
+ case "password":
223
+ this.currentPasswordValue = s.detail.value;
224
+ break;
225
+ case "newPassword":
226
+ this.newPasswordValue = s.detail.value;
227
+ break;
228
+ case "newPasswordDuplicate":
229
+ this.confirmPasswordValue = s.detail.value;
230
+ break;
231
+ }
232
+ }
233
+ componentWillLoad() {
234
+ if (this.getPolicy(), this.initValidationSchemas(), this.translationUrl)
235
+ return w(this.translationUrl);
236
+ }
237
+ componentDidLoad() {
238
+ this.clientStyling && this.setClientStyling(), this.clientStylingUrl && this.setClientStylingURL();
239
+ }
240
+ render() {
241
+ return i("div", { key: "fdc5ea51aa25b9fbc8a7ee478297d71d15a08f2c", class: "PlayerChangePassword", ref: (s) => this.stylingContainer = s }, i("form", { key: "9e57cd2df6b15a1ae99fb27fa3a2486f1a21f18f", class: "Form" }, this.isMobile ? i("div", { class: "ButtonReturn", onClick: this.toggleScreen }, i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, i("g", { transform: "translate(-20 -158)" }, i("g", { transform: "translate(20 158)" }, i("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), i("h2", { class: "TitleMobile" }, o("title", this.language))) : i("h2", { class: "Title" }, o("title", this.language)), i("section", { key: "9b60406411e82d8dafa816ce01d6e3a5e57d8525", class: "FieldsSection" }, this.forgotMode === "false" && i("password-input", { key: "f82fe04e2fc6cf1edc0a09aecb45ad369d24f0d1", language: this.language, name: "password", "display-name": o("passwordDisplayText", this.language), placeholder: o("passwordPlaceholderText", this.language), validation: this.currentPasswordValidationSchema, clientStyling: this.clientStyling }), i("password-input", { key: "c187ab98fd9f1c030ed346d3bfc2e63fcf11a606", language: this.language, name: "newPassword", "display-name": o("newPasswordDisplayText", this.language), placeholder: o("newPasswordPlaceholderText", this.language), validation: this.newPasswordValidationSchema, clientStyling: this.clientStyling }), i("password-input", { key: "1036d4a277523255c4d9295a4ac21319073bc97c", language: this.language, name: "newPasswordDuplicate", "display-name": o("confirmPasswordDisplayText", this.language), placeholder: o("confirmPasswordPlaceholderText", this.language), validation: this.confirmPasswordValidationSchema, "is-duplicate-input": !0, clientStyling: this.clientStyling })), i("section", { key: "f717e1427c3669abfafb8a3bd81a3b804427c50b", class: "ButtonsSection" }, i("button", { key: "02229a9b3e5f730e77831bec06043392f29bd8d0", class: "Button", disabled: !this.isBtnSubmitEnabled, onClick: this.submitNewPassword }, o("btnSubmit", this.language)))));
242
+ }
243
+ static get watchers() {
244
+ return {
245
+ clientStyling: ["updateClientStyling"],
246
+ clientStylingUrl: ["updateClientStyling"]
247
+ };
248
+ }
249
+ };
250
+ f.style = g;
251
+ export {
252
+ f as P
253
+ };
@@ -0,0 +1,7 @@
1
+ import { b as i, p as a } from "./index-062e829b-DAFsZs6D.js";
2
+ import { g as t } from "./app-globals-0f993ce5-C0vi_PY4.js";
3
+ var n = () => {
4
+ const e = import.meta.url, l = {};
5
+ return e !== "" && (l.resourcesUrl = new URL(".", e).href), a(l);
6
+ };
7
+ n().then(async (e) => (await t(), i([["password-input_2", [[1, "player-change-password-gm2", { language: [513], endpoint: [513], session: [513], token: [513], forgotMode: [513, "forgot-mode"], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], translationUrl: [513, "translation-url"], isBtnSubmitEnabled: [32], isMobile: [32] }, [[0, "sendValidityState", "sendValidityStateHandler"], [0, "sendInputValue", "sendInputValueHandler"]], { clientStyling: ["updateClientStyling"], clientStylingUrl: ["updateClientStyling"] }], [1, "password-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], validation: [16], language: [513], emitValue: [516, "emit-value"], isDuplicateInput: [516, "is-duplicate-input"], clientStyling: [513, "client-styling"], isValid: [32], errorMessage: [32], limitStylingAppends: [32], showTooltip: [32], passwordComplexity: [32], showPopup: [32], value: [32] }, [[16, "sendOriginalValidityState", "originalValidityChangedHandler"], [16, "sendInputValue", "valueChangedHandler"], [4, "click", "handleClickOutside"]], { isValid: ["validityChanged"], value: ["valueChanged"], emitValue: ["emitValueHandler"] }]]], ["checkbox-group-input_9", [[1, "checkbox-group-input", { name: [513], displayName: [513, "display-name"], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], options: [16], validation: [16], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32], selectedValues: [32] }, [[4, "click", "handleClickOutside"]], { isValid: ["validityChanged"], selectedValues: ["setValue"], emitValue: ["emitValueHandler"] }], [1, "checkbox-input", { name: [513], displayName: [513, "display-name"], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], validation: [16], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "date-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], validation: [16], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], dateFormat: [513, "date-format"], emitOnClick: [516, "emit-on-click"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "email-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], validation: [16], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], language: [513], emitValue: [516, "emit-value"], isDuplicateInput: [516, "is-duplicate-input"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"], [16, "sendInputValue", "valueChangedHandler"]], { isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "number-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], validation: [16], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "radio-input", { name: [513], displayName: [513, "display-name"], optionsGroup: [16], validation: [16], tooltip: [513], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "select-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], action: [513], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], options: [16], validation: [16], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "tel-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], showLabels: [516, "show-labels"], action: [513], validation: [16], defaultValue: [520, "default-value"], autofilled: [516], tooltip: [513], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], isValid: [32], errorMessage: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "text-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], validation: [16], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], language: [513], checkValidity: [516, "check-validity"], emitValue: [516, "emit-value"], isDuplicateInput: [516, "is-duplicate-input"], clientStyling: [513, "client-styling"], isValid: [32], errorMessage: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"], [16, "sendInputValue", "valueChangedHandler"]], { isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }]]], ["general-input", [[1, "general-input", { type: [513], name: [513], displayName: [513, "display-name"], placeholder: [513], action: [513], validation: [16], options: [520], language: [513], autofilled: [516], tooltip: [513], defaultValue: [520, "default-value"], emitValue: [516, "emit-value"], isDuplicateInput: [516, "is-duplicate-input"], clientStyling: [520, "client-styling"], dateFormat: [513, "date-format"], translationUrl: [513, "translation-url"], emitOnClick: [516, "emit-on-click"] }]]], ["toggle-checkbox-input", [[1, "toggle-checkbox-input", { name: [513], displayName: [513, "display-name"], defaultValue: [513, "default-value"], options: [16], autofilled: [516], tooltip: [513], validation: [16], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32], showFields: [32] }, [[4, "click", "handleClickOutside"]]]]]], e)));
@@ -1,30 +1,12 @@
1
- var u = (e, n, t) => new Promise((a, o) => {
2
- var l = (d) => {
3
- try {
4
- s(t.next(d));
5
- } catch (p) {
6
- o(p);
7
- }
8
- }, c = (d) => {
9
- try {
10
- s(t.throw(d));
11
- } catch (p) {
12
- o(p);
13
- }
14
- }, s = (d) => d.done ? a(d.value) : Promise.resolve(d.value).then(l, c);
15
- s((t = t.apply(e, n)).next());
16
- });
17
- import { b as g, p as y, r as v, h as i, F as m } from "./index-0437c9c0-1mLvhyVA.js";
18
- import { g as w } from "./app-globals-0f993ce5-aPSxk6sG.js";
19
- var C = () => {
1
+ import { b as h, p as g, r as y, h as i, F as u } from "./index-9b3245b3-rzHgwqlB.js";
2
+ import { a as v } from "./app-globals-0f993ce5-C0vi_PY4.js";
3
+ var w = () => {
20
4
  const e = import.meta.url, n = {};
21
- return e !== "" && (n.resourcesUrl = new URL(".", e).href), y(n);
5
+ return e !== "" && (n.resourcesUrl = new URL(".", e).href), g(n);
22
6
  };
23
- C().then((e) => u(void 0, null, function* () {
24
- return yield w(), g([["player-kyc-verification", [[1, "player-kyc-verification", { userId: [1, "user-id"], session: [1], language: [1], endpoint: [1], translationUrl: [1, "translation-url"], clientStyling: [1, "client-styling"], verifiedIcon: [1, "verified-icon"], failedIcon: [1, "failed-icon"], defaultIcon: [1, "default-icon"], clientStylingUrl: [1, "client-styling-url"], verificationType: [32], isLoading: [32], stylingAppends: [32], selectedFile: [32], uploadingStatus: [32], uploadSizeExceeded: [32], selectedOption: [32], expandedOnDesktop: [32] }, null, { translationUrl: ["handleNewTranslations"] }]]]], e);
25
- }));
26
- const x = "en";
27
- let f = {
7
+ w().then(async (e) => (await v(), h([["player-kyc-verification", [[1, "player-kyc-verification", { userId: [1, "user-id"], session: [1], language: [1], endpoint: [1], translationUrl: [1, "translation-url"], clientStyling: [1, "client-styling"], verifiedIcon: [1, "verified-icon"], failedIcon: [1, "failed-icon"], defaultIcon: [1, "default-icon"], clientStylingUrl: [1, "client-styling-url"], verificationType: [32], isLoading: [32], stylingAppends: [32], selectedFile: [32], uploadingStatus: [32], uploadSizeExceeded: [32], selectedOption: [32], expandedOnDesktop: [32] }, null, { translationUrl: ["handleNewTranslations"] }]]]], e)));
8
+ const C = "en";
9
+ let c = {
28
10
  en: {
29
11
  loading: "Loading, please wait ...",
30
12
  noVerificationRequired: "There is no verification required for your account at this moment.",
@@ -510,18 +492,18 @@ let f = {
510
492
  Voucher: "Voucher"
511
493
  }
512
494
  };
513
- const h = (e) => new Promise((n) => {
495
+ const m = (e) => new Promise((n) => {
514
496
  fetch(e).then((t) => t.json()).then((t) => {
515
497
  Object.keys(t).forEach((a) => {
516
- f[a] || (f[a] = {});
498
+ c[a] || (c[a] = {});
517
499
  for (let o in t[a])
518
- f[a][o] = t[a][o];
500
+ c[a][o] = t[a][o];
519
501
  }), n(!0);
520
502
  });
521
503
  }), r = (e, n, t) => {
522
504
  const a = n;
523
- return f[a !== void 0 && a in f ? a : x][e];
524
- }, k = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), b = `:host {
505
+ return c[a !== void 0 && a in c ? a : C][e];
506
+ }, x = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), k = `:host {
525
507
  font-family: inherit;
526
508
  }
527
509
 
@@ -700,9 +682,9 @@ button, select {
700
682
  .player-kyc-verification-widget .verification-types {
701
683
  grid-template-columns: repeat(2, 1fr);
702
684
  }
703
- }`, S = b, P = class {
685
+ }`, b = k, S = class {
704
686
  constructor(e) {
705
- v(this, e), this.scriptInjected = !1, this.MAX_UPLOAD_SIZE = 5e7, this.userAgent = window.navigator.userAgent, this.isMobile = k(this.userAgent), this.setClientStyling = () => {
687
+ y(this, e), this.userId = "", this.session = "", this.endpoint = "", this.translationUrl = "", this.clientStyling = "", this.verifiedIcon = "", this.failedIcon = "", this.defaultIcon = "", this.clientStylingUrl = "", this.verificationType = [], this.isLoading = !1, this.stylingAppends = !1, this.selectedFile = null, this.uploadSizeExceeded = !1, this.expandedOnDesktop = !1, this.scriptInjected = !1, this.MAX_UPLOAD_SIZE = 5e7, this.userAgent = window.navigator.userAgent, this.isMobile = x(this.userAgent), this.setClientStyling = () => {
706
688
  let n = document.createElement("style");
707
689
  n.innerHTML = this.clientStyling, this.stylingContainer.prepend(n);
708
690
  }, this.setClientStylingURL = () => {
@@ -716,47 +698,43 @@ button, select {
716
698
  });
717
699
  }, this.handleToggleScreen = () => {
718
700
  this.toggleScreen(this.isMobile);
719
- }, this.userId = "", this.session = "", this.language = void 0, this.endpoint = "", this.translationUrl = "", this.clientStyling = "", this.verifiedIcon = "", this.failedIcon = "", this.defaultIcon = "", this.clientStylingUrl = "", this.verificationType = [], this.isLoading = !1, this.stylingAppends = !1, this.selectedFile = null, this.uploadingStatus = void 0, this.uploadSizeExceeded = !1, this.selectedOption = void 0, this.expandedOnDesktop = !1;
701
+ };
720
702
  }
721
703
  handleNewTranslations() {
722
- this.isLoading = !0, h(this.translationUrl).then(() => {
704
+ this.isLoading = !0, m(this.translationUrl).then(() => {
723
705
  this.isLoading = !1;
724
706
  });
725
707
  }
726
- componentWillLoad() {
727
- return u(this, null, function* () {
728
- this.translationUrl.length > 2 && (yield h(this.translationUrl));
729
- });
708
+ async componentWillLoad() {
709
+ this.translationUrl.length > 2 && await m(this.translationUrl);
730
710
  }
731
711
  componentDidRender() {
732
712
  !this.stylingAppends && this.stylingContainer && (this.clientStyling && this.setClientStyling(), this.clientStylingUrl && this.setClientStylingURL(), this.stylingAppends = !0);
733
713
  }
734
- componentDidLoad() {
735
- return u(this, null, function* () {
736
- window.innerWidth > 700 && (this.expandedOnDesktop = !0);
737
- try {
738
- let e = new URL(`${this.endpoint}/v2/player/${this.userId}/verification/GetKYCCustomerStatus`);
739
- const n = {
740
- method: "POST",
741
- headers: {
742
- "X-SessionId": this.session,
743
- "Content-Type": "application/json"
744
- },
745
- body: JSON.stringify({})
746
- };
747
- fetch(e.href, n).then((t) => {
748
- if (t.status === 200)
749
- return t.json();
750
- throw new Error("HTTP status " + t.status);
751
- }).then((t) => {
752
- this.verificationType = t.verifications;
753
- }).catch((t) => {
754
- console.error(t);
755
- });
756
- } catch (e) {
757
- console.error("Error fetching verification types:", e);
758
- }
759
- });
714
+ async componentDidLoad() {
715
+ window.innerWidth > 700 && (this.expandedOnDesktop = !0);
716
+ try {
717
+ let e = new URL(`${this.endpoint}/v2/player/${this.userId}/verification/GetKYCCustomerStatus`);
718
+ const n = {
719
+ method: "POST",
720
+ headers: {
721
+ "X-SessionId": this.session,
722
+ "Content-Type": "application/json"
723
+ },
724
+ body: JSON.stringify({})
725
+ };
726
+ fetch(e.href, n).then((t) => {
727
+ if (t.status === 200)
728
+ return t.json();
729
+ throw new Error("HTTP status " + t.status);
730
+ }).then((t) => {
731
+ this.verificationType = t.verifications;
732
+ }).catch((t) => {
733
+ console.error(t);
734
+ });
735
+ } catch (e) {
736
+ console.error("Error fetching verification types:", e);
737
+ }
760
738
  }
761
739
  handleOptionChange(e, n) {
762
740
  const t = e.target;
@@ -765,7 +743,7 @@ button, select {
765
743
  handleDocumentsStatus(e, n, t) {
766
744
  this.verificationType = this.verificationType.map((a) => {
767
745
  if (a.type === e) {
768
- const o = a.documents.find((l) => l.code === t);
746
+ const o = a.documents.find((s) => s.code === t);
769
747
  o && (o.statusUploaded = n);
770
748
  }
771
749
  return a;
@@ -807,11 +785,11 @@ button, select {
807
785
  if (o.ok)
808
786
  return this.uploadingStatus = r("uploading", this.language), this.handleDocumentsStatus(t, this.uploadingStatus, n), o.json();
809
787
  }).then((o) => {
810
- const l = new FormData();
811
- l.append(n, this.selectedFile[0]), fetch(o.Url, { method: "POST", body: l }).then((c) => {
812
- c.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus = r("successUploadMultipleFiles", this.language) : this.uploadingStatus = r("successUpload", this.language), this.handleDocumentsStatus(t, this.uploadingStatus, n)) : (this.uploadingStatus = r("failedUpload", this.language), this.handleDocumentsStatus(t, this.uploadingStatus, n), console.error("File upload error:", c.status));
813
- }).catch((c) => {
814
- console.error("File upload error:", c);
788
+ const s = new FormData();
789
+ s.append(n, this.selectedFile[0]), fetch(o.Url, { method: "POST", body: s }).then((d) => {
790
+ d.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus = r("successUploadMultipleFiles", this.language) : this.uploadingStatus = r("successUpload", this.language), this.handleDocumentsStatus(t, this.uploadingStatus, n)) : (this.uploadingStatus = r("failedUpload", this.language), this.handleDocumentsStatus(t, this.uploadingStatus, n), console.error("File upload error:", d.status));
791
+ }).catch((d) => {
792
+ console.error("File upload error:", d);
815
793
  });
816
794
  }).catch((o) => {
817
795
  console.error("File upload error:", o);
@@ -824,8 +802,8 @@ button, select {
824
802
  if (new Function(a)(), this.scriptInjected)
825
803
  n(!0);
826
804
  else {
827
- const l = document.createElement("script");
828
- l.src = "https://test.insic.de/frontend3/static/js/avs-loader.min.js", document.head.appendChild(l), this.scriptInjected = !0, n(!0);
805
+ const s = document.createElement("script");
806
+ s.src = "https://test.insic.de/frontend3/static/js/avs-loader.min.js", document.head.appendChild(s), this.scriptInjected = !0, n(!0);
829
807
  }
830
808
  }).catch((a) => {
831
809
  t(a);
@@ -837,21 +815,21 @@ button, select {
837
815
  }
838
816
  renderVerificationTypeBox(e) {
839
817
  this.expandedOnDesktop && (e.expanded = !0);
840
- let n = e.expanded, t = e.type.trim(), a = e.optionChosen, o = e.status, l = e.documents, c = e.flowInfo;
841
- const s = o === "Verified", d = o === "Failed" || o === "Expired";
842
- return i("div", { class: `verification-box ${n ? "expanded" : ""} ${d ? "failed" : ""} ${s ? "success" : ""}` }, i("div", { class: `box box-header ${n ? "expanded" : ""}`, onClick: () => {
843
- var p;
844
- return this.toggleVerificationType(e.type, (p = e.flowInfo) === null || p === void 0 ? void 0 : p.type);
845
- } }, i("div", { class: "box-icon" }, s ? i("div", null, this.verifiedIcon ? i("img", { class: "CustomVerifiedIcon", src: this.verifiedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "#388D79" }), i("circle", { cx: "50", cy: "50", r: "34", fill: "none", stroke: "#fff", "stroke-width": "12px" }), i("polyline", { points: "30,50 45,63 70,35", fill: "none", stroke: "#fff", "stroke-width": "8px" }))) : d ? i("div", null, this.failedIcon ? i("img", { class: "CustomFailedIcon", src: this.failedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "red" }), i("line", { x1: "30", y1: "30", x2: "70", y2: "70", stroke: "#fff", "stroke-width": "10px" }), i("line", { x1: "30", y1: "70", x2: "70", y2: "30", stroke: "#fff", "stroke-width": "10px" }))) : i("div", null, this.defaultIcon ? i("img", { class: "CustomDefaultIcon", src: this.defaultIcon, alt: "" }) : i("svg", { width: "800px", height: "800px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("path", { d: "M4 4V20C4 21.1046 4.89543 22 6 22L18 22C19.1046 22 20 21.1046 20 20V8.34162C20 7.8034 19.7831 7.28789 19.3982 6.91161L14.9579 2.56999C14.5842 2.20459 14.0824 2 13.5597 2L6 2C4.89543 2 4 2.89543 4 4Z", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M9 13H15", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M9 17H12", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M14 2V6C14 7.10457 14.8954 8 16 8H20", stroke: "#000000", "stroke-width": "2", "stroke-linejoin": "round" })))), i("div", { class: "box-title" }, r(t, this.language)), i("div", { class: "chevron-icon" }, i("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, i("path", { d: n ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), n ? this.renderExpandedContent(e, a, o, l, c, s, d) : i("div", { class: "box box-content" }, i("div", { id: "__avs-wrapper" })));
818
+ let n = e.expanded, t = e.type.trim(), a = e.optionChosen, o = e.status, s = e.documents, d = e.flowInfo;
819
+ const l = o === "Verified", p = o === "Failed" || o === "Expired";
820
+ return i("div", { class: `verification-box ${n ? "expanded" : ""} ${p ? "failed" : ""} ${l ? "success" : ""}` }, i("div", { class: `box box-header ${n ? "expanded" : ""}`, onClick: () => {
821
+ var f;
822
+ return this.toggleVerificationType(e.type, (f = e.flowInfo) === null || f === void 0 ? void 0 : f.type);
823
+ } }, i("div", { class: "box-icon" }, l ? i("div", null, this.verifiedIcon ? i("img", { class: "CustomVerifiedIcon", src: this.verifiedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "#388D79" }), i("circle", { cx: "50", cy: "50", r: "34", fill: "none", stroke: "#fff", "stroke-width": "12px" }), i("polyline", { points: "30,50 45,63 70,35", fill: "none", stroke: "#fff", "stroke-width": "8px" }))) : p ? i("div", null, this.failedIcon ? i("img", { class: "CustomFailedIcon", src: this.failedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "red" }), i("line", { x1: "30", y1: "30", x2: "70", y2: "70", stroke: "#fff", "stroke-width": "10px" }), i("line", { x1: "30", y1: "70", x2: "70", y2: "30", stroke: "#fff", "stroke-width": "10px" }))) : i("div", null, this.defaultIcon ? i("img", { class: "CustomDefaultIcon", src: this.defaultIcon, alt: "" }) : i("svg", { width: "800px", height: "800px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("path", { d: "M4 4V20C4 21.1046 4.89543 22 6 22L18 22C19.1046 22 20 21.1046 20 20V8.34162C20 7.8034 19.7831 7.28789 19.3982 6.91161L14.9579 2.56999C14.5842 2.20459 14.0824 2 13.5597 2L6 2C4.89543 2 4 2.89543 4 4Z", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M9 13H15", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M9 17H12", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M14 2V6C14 7.10457 14.8954 8 16 8H20", stroke: "#000000", "stroke-width": "2", "stroke-linejoin": "round" })))), i("div", { class: "box-title" }, r(t, this.language)), i("div", { class: "chevron-icon" }, i("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, i("path", { d: n ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), n ? this.renderExpandedContent(e, a, o, s, d, l, p) : i("div", { class: "box box-content" }, i("div", { id: "__avs-wrapper" })));
846
824
  }
847
825
  renderDocumentsActions(e, n, t) {
848
- return i("div", null, this.isStatusUploaded(e) ? i("div", { class: "upload-status" }, r("uploaded", this.language)) : e != null && e.statusUploaded ? i("div", { class: "upload-status" }, e == null ? void 0 : e.statusUploaded) : i("div", { class: "documents-action" }, i("div", { class: "sample-file" }, (e == null ? void 0 : e.sampleType) === "FileDownload" ? i("button", { class: "download-button", onClick: () => this.downloadPDF(e == null ? void 0 : e.sampleUrl) }, i("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("path", { d: "M12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM12 22C6.485 22 2 17.515 2 12C2 6.485 6.485 2 12 2C17.515 2 22 6.485 22 12C22 17.515 17.515 22 12 22Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" }), i("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" })), i("span", null, r("download", this.language))) : null), i("div", { class: "upload-button" }, n ? i("label", null, i("input", { type: "file", accept: "*", onChange: (a) => this.handleFileSelection(a.target.files, this.selectedOption, t.type), style: { display: "none" } }), i("svg", { width: "100", height: "100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" }), i("line", { x1: "30", y1: "50", x2: "70", y2: "50", stroke: "white", "stroke-width": "6" }), i("line", { x1: "50", y1: "30", x2: "50", y2: "70", stroke: "white", "stroke-width": "6" }))) : null)));
826
+ return i("div", null, this.isStatusUploaded(e) ? i("div", { class: "upload-status" }, r("uploaded", this.language)) : e?.statusUploaded ? i("div", { class: "upload-status" }, e?.statusUploaded) : i("div", { class: "documents-action" }, i("div", { class: "sample-file" }, e?.sampleType === "FileDownload" ? i("button", { class: "download-button", onClick: () => this.downloadPDF(e?.sampleUrl) }, i("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("path", { d: "M12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM12 22C6.485 22 2 17.515 2 12C2 6.485 6.485 2 12 2C17.515 2 22 6.485 22 12C22 17.515 17.515 22 12 22Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" }), i("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" })), i("span", null, r("download", this.language))) : null), i("div", { class: "upload-button" }, n ? i("label", null, i("input", { type: "file", accept: "*", onChange: (a) => this.handleFileSelection(a.target.files, this.selectedOption, t.type), style: { display: "none" } }), i("svg", { width: "100", height: "100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" }), i("line", { x1: "30", y1: "50", x2: "70", y2: "50", stroke: "white", "stroke-width": "6" }), i("line", { x1: "50", y1: "30", x2: "50", y2: "70", stroke: "white", "stroke-width": "6" }))) : null)));
849
827
  }
850
- renderExpandedContent(e, n, t, a, o, l, c) {
851
- return (o == null ? void 0 : o.type) === "Widget" ? i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: o.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" })) : (o == null ? void 0 : o.type) === "Redirect" && e.vendorName !== "Manual" && t !== "Verified" ? i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: o.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" })) : i("div", { class: "box box-content" }, i(m, null, l ? i("div", { class: "verification-status" }, r("verificationComplete", this.language)) : c ? i("div", { class: "verification-status" }, t === "Failed" ? r("verificationFailed", this.language) : r("verificationExpired", this.language)) : a.length > 0 ? i("div", { class: "documents-dropdown" }, i("select", { class: "nice-select", onChange: (s) => this.handleOptionChange(s, e.type) }, i("option", { value: "", selected: !0, disabled: !0, hidden: !0 }, r("chooseDocument", this.language)), a.map((s) => i("option", { selected: n == s.code, value: s.code }, r(s.type, this.language)))), this.renderDocumentsActions(a.find((s) => s.code === n), n, e)) : null));
828
+ renderExpandedContent(e, n, t, a, o, s, d) {
829
+ return o?.type === "Widget" ? i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: o.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" })) : o?.type === "Redirect" && e.vendorName !== "Manual" && t !== "Verified" ? i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: o.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" })) : i("div", { class: "box box-content" }, i(u, null, s ? i("div", { class: "verification-status" }, r("verificationComplete", this.language)) : d ? i("div", { class: "verification-status" }, t === "Failed" ? r("verificationFailed", this.language) : r("verificationExpired", this.language)) : a.length > 0 ? i("div", { class: "documents-dropdown" }, i("select", { class: "nice-select", onChange: (l) => this.handleOptionChange(l, e.type) }, i("option", { value: "", selected: !0, disabled: !0, hidden: !0 }, r("chooseDocument", this.language)), a.map((l) => i("option", { selected: n == l.code, value: l.code }, r(l.type, this.language)))), this.renderDocumentsActions(a.find((l) => l.code === n), n, e)) : null));
852
830
  }
853
831
  render() {
854
- return this.isLoading ? i("div", null, i("p", null, r("loading", this.language))) : i("div", { class: "ModalContainer", ref: (e) => this.stylingContainer = e }, i("div", { class: "player-kyc-verification-widget" }, this.isMobile ? i("div", { class: "MenuReturnButton", onClick: this.handleToggleScreen }, i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, i("defs", null), i("g", { transform: "translate(-20 -158)" }, i("g", { transform: "translate(20 158)" }, i("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), i("h2", null, r("kycTitle", this.language))) : i("h2", null, r("kycTitle", this.language)), this.verificationType.length === 0 ? i("div", { class: "no-verification-description", style: { padding: "24px", fontSize: "18px" } }, r("noVerificationRequired", this.language)) : i(m, null, i("div", { class: "widget-description" }, r("kycDescription", this.language)), i("div", { class: "verification-types" }, this.verificationType.map((e) => e ? this.renderVerificationTypeBox(e) : null)))));
832
+ return this.isLoading ? i("div", null, i("p", null, r("loading", this.language))) : i("div", { class: "ModalContainer", ref: (e) => this.stylingContainer = e }, i("div", { class: "player-kyc-verification-widget" }, this.isMobile ? i("div", { class: "MenuReturnButton", onClick: this.handleToggleScreen }, i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, i("defs", null), i("g", { transform: "translate(-20 -158)" }, i("g", { transform: "translate(20 158)" }, i("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), i("h2", null, r("kycTitle", this.language))) : i("h2", null, r("kycTitle", this.language)), this.verificationType.length === 0 ? i("div", { class: "no-verification-description", style: { padding: "24px", fontSize: "18px" } }, r("noVerificationRequired", this.language)) : i(u, null, i("div", { class: "widget-description" }, r("kycDescription", this.language)), i("div", { class: "verification-types" }, this.verificationType.map((e) => e ? this.renderVerificationTypeBox(e) : null)))));
855
833
  }
856
834
  static get watchers() {
857
835
  return {
@@ -859,7 +837,7 @@ button, select {
859
837
  };
860
838
  }
861
839
  };
862
- P.style = S;
840
+ S.style = b;
863
841
  export {
864
- P as player_kyc_verification
842
+ S as player_kyc_verification
865
843
  };
@@ -0,0 +1,46 @@
1
+ import { r as l, c as o, h as t } from "./index-062e829b-DAFsZs6D.js";
2
+ import { t as a } from "./locale-BG_TzyDt.js";
3
+ import { t as r } from "./tooltipIcon-ee9760a8-BCCb4EU-.js";
4
+ const s = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.togglecheckbox{font-family:"Roboto";font-style:normal;font-size:15px}.togglecheckbox__wrapper{position:relative}.togglecheckbox__wrapper--flex{display:flex;gap:10px;align-items:baseline}.togglecheckbox__wrapper--relative{position:relative;display:inline}.togglecheckbox__input{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.togglecheckbox__label-text{font-size:16px}.togglecheckbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.togglecheckbox__tooltip-icon{width:16px;height:auto}.togglecheckbox__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.togglecheckbox__tooltip.visible{opacity:1}.togglecheckbox__fields-wrapper{margin-top:40px;display:flex;flex-direction:column;gap:40px}.hidden{display:none}', n = s, c = class {
5
+ constructor(e) {
6
+ l(this, e), this.sendValidityState = o(this, "sendValidityState"), this.sendInputValue = o(this, "sendInputValue"), this.defaultValue = "", this.clientStyling = "", this.limitStylingAppends = !1, this.showTooltip = !1, this.showFields = this.defaultValue === "true", this.value = "", this.setClientStyling = () => {
7
+ let i = document.createElement("style");
8
+ i.innerHTML = this.clientStyling, this.stylingContainer.prepend(i);
9
+ };
10
+ }
11
+ validityStateHandler(e) {
12
+ this.sendValidityState.emit(e);
13
+ }
14
+ valueHandler(e) {
15
+ this.sendInputValue.emit(e);
16
+ }
17
+ handleClickOutside(e) {
18
+ e.composedPath()[0] !== this.tooltipIconReference && e.composedPath()[0] !== this.tooltipReference && (this.showTooltip = !1);
19
+ }
20
+ componentDidRender() {
21
+ !this.limitStylingAppends && this.stylingContainer && (this.clientStyling && this.setClientStyling(), this.limitStylingAppends = !0);
22
+ }
23
+ handleClick() {
24
+ this.showFields = this.checkboxReference.checked, this.errorMessage = this.setErrorMessage(), this.isValid = this.setValidity(), this.valueHandler({ name: this.name, value: this.checkboxReference.checked ? "true" : "false", type: "toggle" });
25
+ }
26
+ setValidity() {
27
+ return this.checkboxReference.validity.valid;
28
+ }
29
+ setErrorMessage() {
30
+ if (this.checkboxReference.validity.valueMissing)
31
+ return a("requiredError", this.language);
32
+ }
33
+ renderLabel() {
34
+ return t("label", { class: "togglecheckbox__label", htmlFor: `${this.name}__input` }, t("div", { class: "togglecheckbox__label-text", innerHTML: `${this.displayName} ${this.validation.mandatory ? "*" : ""}` }));
35
+ }
36
+ renderTooltip() {
37
+ return this.showTooltip ? t("div", { class: `togglecheckbox__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (e) => this.tooltipReference = e, innerHTML: this.tooltip }) : null;
38
+ }
39
+ render() {
40
+ return t("div", { key: "8c8e9bb2ae7feadf3a5fc38b9913e38d7ccb9aed", class: `togglecheckbox__wrapper ${this.name}__input`, ref: (e) => this.stylingContainer = e }, t("div", { key: "18e2ec43ff98738323ddab1e134d6d215978e1c7", class: "togglecheckbox__wrapper--flex" }, t("input", { key: "640b3ba4fd34bd813239533236e51f452e735409", class: "togglecheckbox__input", type: "checkbox", id: `${this.name}__input`, ref: (e) => this.checkboxReference = e, name: this.name, checked: this.defaultValue === "true", readOnly: this.autofilled, required: this.validation.mandatory, value: this.value, onClick: () => this.handleClick() }), this.renderLabel()), t("small", { key: "efd70a691559cfa98e93561dd945a0fe92909718", class: "togglecheckbox__error-message" }, this.errorMessage), t("div", { key: "e56a8fafa17da25d01f894fe6e6c143c318d2aab", class: "togglecheckbox__wrapper--relative" }, this.tooltip && t("img", { key: "8b59366827b8f4f8ca5581203a2dca44ae8132d5", class: "togglecheckbox__tooltip-icon", src: r, alt: "", ref: (e) => this.tooltipIconReference = e, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()), t("div", { key: "475e27345b51396c36e78b5a1e06edd980bc3ae1", class: `togglecheckbox__fields-wrapper ${this.showFields ? "" : "hidden"}` }, this.options.map((e) => t("general-input", { type: e.inputType, name: e.name, displayName: e.displayName, validation: e.validate, action: e.action || null, defaultValue: e.defaultValue, autofilled: e.autofill, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: e.tooltip, placeholder: e.placeholder == null ? "" : e.placeholder }))));
41
+ }
42
+ };
43
+ c.style = n;
44
+ export {
45
+ c as toggle_checkbox_input
46
+ };
@@ -0,0 +1,4 @@
1
+ const I = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iNiIgY3k9IjYiIHI9IjUuNSIgc3Ryb2tlPSIjOTc5Nzk3Ii8+CjxyZWN0IHg9IjUiIHk9IjUiIHdpZHRoPSIyIiBoZWlnaHQ9IjUiIGZpbGw9IiM5Nzk3OTciLz4KPGNpcmNsZSBjeD0iNiIgY3k9IjMiIHI9IjEiIGZpbGw9IiM5Nzk3OTciLz4KPC9zdmc+Cg==";
2
+ export {
3
+ I as t
4
+ };