@everymatrix/player-account-controller 1.94.27 → 1.94.29

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 (116) hide show
  1. package/components/{GeneralLogout-C4zscfCx.cjs → GeneralLogout-BFVb3wWj.cjs} +1 -1
  2. package/components/{GeneralLogout-CpE101GN.js → GeneralLogout-DHOR9w8K.js} +1 -1
  3. package/components/{GeneralLogout-CXb7OdeA.js → GeneralLogout-DV9OjLlf.js} +1 -1
  4. package/components/{PlayerAccountBettingHistory-BEC5Dbk4.cjs → PlayerAccountBettingHistory-CV_NwDUW.cjs} +1 -1
  5. package/components/{PlayerAccountBettingHistory-D2UOjGmQ.js → PlayerAccountBettingHistory-D8y9bsr9.js} +1 -1
  6. package/components/{PlayerAccountBettingHistory-DdxkAioI.js → PlayerAccountBettingHistory-l46vpI8x.js} +1 -1
  7. package/components/{PlayerAccountBiometrics-BoITt8OK.js → PlayerAccountBiometrics-C-_u2o9x.js} +2 -2
  8. package/components/{PlayerAccountBiometrics-CkHgmfP_.cjs → PlayerAccountBiometrics-DxCfULWf.cjs} +1 -1
  9. package/components/{PlayerAccountBiometrics-DufGqDU4.js → PlayerAccountBiometrics-rkMK1luo.js} +2 -2
  10. package/components/{PlayerAccountBiometricsAction-Dpgb3qw8.js → PlayerAccountBiometricsAction-B1To1M7_.js} +1 -1
  11. package/components/{PlayerAccountBiometricsAction-B5FkZd-r.js → PlayerAccountBiometricsAction-CLLcznc0.js} +1 -1
  12. package/components/{PlayerAccountBiometricsAction-CrfbCZc0.cjs → PlayerAccountBiometricsAction-DcVbficW.cjs} +1 -1
  13. package/components/{PlayerAccountClosure-BkZo4ds8.js → PlayerAccountClosure-9BJJUw4y.js} +1 -1
  14. package/components/{PlayerAccountClosure-CTVdrvUs.cjs → PlayerAccountClosure-BCEQObeh.cjs} +1 -1
  15. package/components/{PlayerAccountClosure-Rn4rUpUm.js → PlayerAccountClosure-C0gcRjPs.js} +1 -1
  16. package/components/{PlayerAccountController-DgE57QwT.js → PlayerAccountController-CSOHDfL1.js} +23 -23
  17. package/components/{PlayerAccountController-CO8cZYgr.js → PlayerAccountController-CrPbCiX4.js} +23 -23
  18. package/components/{PlayerAccountController-BBk-9TOg.cjs → PlayerAccountController-DXH2r3ql.cjs} +2 -2
  19. package/components/{PlayerAccountGamingLimits-CxpBIVY6.js → PlayerAccountGamingLimits-Bfayv_fx.js} +2 -2
  20. package/components/{PlayerAccountGamingLimits-V927kAz2.js → PlayerAccountGamingLimits-CH4Z_SZ-.js} +2 -2
  21. package/components/{PlayerAccountGamingLimits-B-5nWzRS.cjs → PlayerAccountGamingLimits-D96Wli1p.cjs} +1 -1
  22. package/components/{PlayerAccountGamingLimitsConfirmationModal-BveODcSU.js → PlayerAccountGamingLimitsConfirmationModal-64TbUlzT.js} +1 -1
  23. package/components/{PlayerAccountGamingLimitsConfirmationModal-CJgeqRLo.cjs → PlayerAccountGamingLimitsConfirmationModal-C830PkGa.cjs} +1 -1
  24. package/components/{PlayerAccountGamingLimitsConfirmationModal-CG7r6PIK.js → PlayerAccountGamingLimitsConfirmationModal-DZOxNLNk.js} +1 -1
  25. package/components/{PlayerAccountGamingLimitsGroupEdit-Cyu-XItn.cjs → PlayerAccountGamingLimitsGroupEdit-7SDrgQLG.cjs} +1 -1
  26. package/components/{PlayerAccountGamingLimitsGroupEdit-DXbMOl6-.js → PlayerAccountGamingLimitsGroupEdit-Bn0WvKaI.js} +5 -5
  27. package/components/{PlayerAccountGamingLimitsGroupEdit-vujLn0t-.js → PlayerAccountGamingLimitsGroupEdit-DG_zT_Z_.js} +5 -5
  28. package/components/{PlayerAccountGamingLimitsHistory2-C1J6OpLl.js → PlayerAccountGamingLimitsHistory2-C7gojxsf.js} +1 -1
  29. package/components/{PlayerAccountGamingLimitsHistory2-C6HksI_l.cjs → PlayerAccountGamingLimitsHistory2-CKSlKu2J.cjs} +1 -1
  30. package/components/{PlayerAccountGamingLimitsHistory2-ch2erx5S.js → PlayerAccountGamingLimitsHistory2-COuVH161.js} +1 -1
  31. package/components/{PlayerAccountGamingLimitsInfoCard-C-DFY5Ok.cjs → PlayerAccountGamingLimitsInfoCard-BhSRpJTL.cjs} +1 -1
  32. package/components/{PlayerAccountGamingLimitsInfoCard-C17cmXa_.js → PlayerAccountGamingLimitsInfoCard-CMCH0U3J.js} +4 -4
  33. package/components/{PlayerAccountGamingLimitsInfoCard-g7I5qkLj.js → PlayerAccountGamingLimitsInfoCard-MNGZdBDT.js} +4 -4
  34. package/components/{PlayerAccountGamingLimitsPage2Gm16-5DbisV99.js → PlayerAccountGamingLimitsPage2Gm16-BYwOQVie.js} +1 -1
  35. package/components/{PlayerAccountGamingLimitsPage2Gm16-BD2PAPr7.cjs → PlayerAccountGamingLimitsPage2Gm16-Efl3TDTg.cjs} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPage2Gm16-vkWd1ihI.js → PlayerAccountGamingLimitsPage2Gm16-w1veWq9G.js} +1 -1
  37. package/components/{PlayerAccountGamingLimitsPopup-7JDTXTtQ.js → PlayerAccountGamingLimitsPopup-BoULPDN6.js} +1 -1
  38. package/components/{PlayerAccountGamingLimitsPopup-CBrl659u.js → PlayerAccountGamingLimitsPopup-BsbREu0h.js} +1 -1
  39. package/components/{PlayerAccountGamingLimitsPopup-CvgPjhi-.cjs → PlayerAccountGamingLimitsPopup-Ce_28LKV.cjs} +1 -1
  40. package/components/{PlayerAccountGamingLimitsWrapper2-jQr15q3J.js → PlayerAccountGamingLimitsWrapper2-B_hVmWhf.js} +3 -3
  41. package/components/{PlayerAccountGamingLimitsWrapper2-DWD-0F-D.js → PlayerAccountGamingLimitsWrapper2-Bgyb9Jhz.js} +3 -3
  42. package/components/{PlayerAccountGamingLimitsWrapper2-Bm2vuvTx.cjs → PlayerAccountGamingLimitsWrapper2-DG8b-IVT.cjs} +1 -1
  43. package/components/{PlayerAccountGeneralConfirmationModal-B_cFWoG1.cjs → PlayerAccountGeneralConfirmationModal-0Ow5pxhh.cjs} +1 -1
  44. package/components/{PlayerAccountGeneralConfirmationModal-D7km7Zog.js → PlayerAccountGeneralConfirmationModal-Biw9FEZO.js} +1 -1
  45. package/components/{PlayerAccountGeneralConfirmationModal-Bnwi7Hps.js → PlayerAccountGeneralConfirmationModal-Dx8dTnsN.js} +1 -1
  46. package/components/{PlayerAccountMenu-D-jM_PCb.js → PlayerAccountMenu-BHVN00Hp.js} +2 -2
  47. package/components/{PlayerAccountMenu-7UYVqYH-.js → PlayerAccountMenu-C2Ezvoz_.js} +2 -2
  48. package/components/{PlayerAccountMenu-CBhFGN5v.cjs → PlayerAccountMenu-deILI02P.cjs} +1 -1
  49. package/components/{PlayerAccountModal-InDwj5CZ.js → PlayerAccountModal-B9mBmadl.js} +1 -1
  50. package/components/{PlayerAccountModal-BQZExMfG.cjs → PlayerAccountModal-DPSatH1F.cjs} +1 -1
  51. package/components/{PlayerAccountModal-BxFPmZIg.js → PlayerAccountModal-Dad4GVfU.js} +1 -1
  52. package/components/{PlayerAccountNotifications-C7bklpfG.cjs → PlayerAccountNotifications-B4X33GVn.cjs} +1 -1
  53. package/components/{PlayerAccountNotifications-kDZBI187.js → PlayerAccountNotifications-B8CdKh__.js} +1 -1
  54. package/components/{PlayerAccountNotifications-BKQa6iL8.js → PlayerAccountNotifications-CBY3KNYJ.js} +1 -1
  55. package/components/{PlayerAccountProductRestriction-DbEkMKO3.js → PlayerAccountProductRestriction-B3Cn-WDe.js} +3 -3
  56. package/components/{PlayerAccountProductRestriction-CFIjlnOX.js → PlayerAccountProductRestriction-CPU4xLgm.js} +3 -3
  57. package/components/{PlayerAccountProductRestriction-B2pinL7l.cjs → PlayerAccountProductRestriction-RhYK0xjV.cjs} +1 -1
  58. package/components/{PlayerAccountReviewFrequency-DjERKwb7.js → PlayerAccountReviewFrequency-BqnLnzof.js} +1 -1
  59. package/components/{PlayerAccountReviewFrequency-BYWEOhzw.js → PlayerAccountReviewFrequency-CeBQ_NDS.js} +1 -1
  60. package/components/{PlayerAccountReviewFrequency-DMwFO_R2.cjs → PlayerAccountReviewFrequency-T8UuOdaF.cjs} +1 -1
  61. package/components/{PlayerAccountSelfExclusion-BM_tkQy1.js → PlayerAccountSelfExclusion-B0NTFqD4.js} +2 -2
  62. package/components/{PlayerAccountSelfExclusion-Byk2bLi5.js → PlayerAccountSelfExclusion-BcbpJMR3.js} +2 -2
  63. package/components/{PlayerAccountSelfExclusion-CMk-HM8u.cjs → PlayerAccountSelfExclusion-CvTwYyt0.cjs} +1 -1
  64. package/components/{PlayerAccountTimeout-BKqM9z9S.cjs → PlayerAccountTimeout-B4aNgv8R.cjs} +2 -2
  65. package/components/{PlayerAccountTimeout-CvNSJCuP.js → PlayerAccountTimeout-CJssCDD8.js} +3 -3
  66. package/components/{PlayerAccountTimeout-B52QzMyN.js → PlayerAccountTimeout-Co9WBjqw.js} +3 -3
  67. package/components/{PlayerAccountTransactionsHistory-DfYoqbPR.js → PlayerAccountTransactionsHistory-B3P50G4d.js} +4 -4
  68. package/components/{PlayerAccountTransactionsHistory-Ct9bbtaS.js → PlayerAccountTransactionsHistory-B_B1O6lk.js} +4 -4
  69. package/components/{PlayerAccountTransactionsHistory-vlF8HWQr.cjs → PlayerAccountTransactionsHistory-DjirboOY.cjs} +1 -1
  70. package/components/{PlayerActiveBonuses-C5pOksPm.js → PlayerActiveBonuses-BzjqOm2E.js} +2 -2
  71. package/components/{PlayerActiveBonuses-DYEcrFhQ.js → PlayerActiveBonuses-D0kgukX6.js} +2 -2
  72. package/components/{PlayerActiveBonuses-iTkyXHsD.cjs → PlayerActiveBonuses-lM_wZChL.cjs} +1 -1
  73. package/components/{PlayerBonusCard-DgHQKXJE.cjs → PlayerBonusCard-CNmB_5sK.cjs} +1 -1
  74. package/components/{PlayerBonusCard-Bggf2jM-.js → PlayerBonusCard-j1Ks9iww.js} +2 -2
  75. package/components/{PlayerBonusCard-CVByVySk.js → PlayerBonusCard-ztUxqyX7.js} +2 -2
  76. package/components/{PlayerBonusHistory-Cvq_m9mr.cjs → PlayerBonusHistory-B0wQpvD6.cjs} +1 -1
  77. package/components/{PlayerBonusHistory-A1LztGVe.js → PlayerBonusHistory-BV0p8FJB.js} +2 -2
  78. package/components/{PlayerBonusHistory-vvCROk6P.js → PlayerBonusHistory-DUGWQ0Vm.js} +2 -2
  79. package/components/{PlayerChangePassword-Ck2ADweJ.cjs → PlayerChangePassword-DbaQzSfI.cjs} +1 -1
  80. package/components/{PlayerChangePassword-DfLb_jZA.js → PlayerChangePassword-Dz9_jTvS.js} +1 -1
  81. package/components/{PlayerChangePassword-BpW3ZGPE.js → PlayerChangePassword-QwKZR2N3.js} +1 -1
  82. package/components/{PlayerDeposit-HbzBoc73.js → PlayerDeposit-D1UQtmKj.js} +1 -1
  83. package/components/{PlayerDeposit-CCzkiEdB.cjs → PlayerDeposit-DN6kN01y.cjs} +1 -1
  84. package/components/{PlayerDeposit-CpU80gtj.js → PlayerDeposit-v91D54Ed.js} +1 -1
  85. package/components/{PlayerGamingHistory-DpSeY1cI.js → PlayerGamingHistory-6EXt5gic.js} +3 -3
  86. package/components/{PlayerGamingHistory-D7i_K4mx.js → PlayerGamingHistory-Bp2RN37F.js} +3 -3
  87. package/components/{PlayerGamingHistory-C-1-WJwY.cjs → PlayerGamingHistory-CaeEjYVd.cjs} +1 -1
  88. package/components/{PlayerPendingWithdrawals-BubG3Pn4.cjs → PlayerPendingWithdrawals-Boe2o7y6.cjs} +1 -1
  89. package/components/{PlayerPendingWithdrawals-C9gR_Y0d.js → PlayerPendingWithdrawals-DNyukUkp.js} +1 -1
  90. package/components/{PlayerPendingWithdrawals-BwdyTHVG.js → PlayerPendingWithdrawals-ULlRd2xK.js} +1 -1
  91. package/components/{PlayerProfileInfo-DerxJF3S.js → PlayerProfileInfo-0bSBuf2S.js} +3 -3
  92. package/components/{PlayerProfileInfo-DNlp4qra.cjs → PlayerProfileInfo-DazL2zAt.cjs} +1 -1
  93. package/components/{PlayerProfileInfo-C5By7H5W.js → PlayerProfileInfo-ixxu3QKj.js} +3 -3
  94. package/components/{PlayerRealityCheck-CQS6Dta8.js → PlayerRealityCheck-CGQqUhGB.js} +1 -1
  95. package/components/{PlayerRealityCheck-1wRbKOda.js → PlayerRealityCheck-CjRqA9yH.js} +1 -1
  96. package/components/{PlayerRealityCheck-DrzWTJ0l.cjs → PlayerRealityCheck-DWiI3x0p.cjs} +1 -1
  97. package/components/{PlayerTransactionHistory-DSCZ7OVe.js → PlayerTransactionHistory-BX6tGsNe.js} +1 -1
  98. package/components/{PlayerTransactionHistory-BIxhXd3Y.js → PlayerTransactionHistory-C9Hk_Fki.js} +1 -1
  99. package/components/{PlayerTransactionHistory-DlRKQ_LH.cjs → PlayerTransactionHistory-CIXbZYC0.cjs} +1 -1
  100. package/components/{PlayerWithdrawal-B8PG-Cig.js → PlayerWithdrawal-Df2KwQdP.js} +1 -1
  101. package/components/{PlayerWithdrawal-B5lYxcpO.cjs → PlayerWithdrawal-Dt9hF3TL.cjs} +1 -1
  102. package/components/{PlayerWithdrawal-zFpUyw_q.js → PlayerWithdrawal-mG02wrsB.js} +1 -1
  103. package/components/{QrSessionGenerator-ChEh7Qwb.js → QrSessionGenerator-CJM6TIuB.js} +1 -1
  104. package/components/{QrSessionGenerator-BeNaNuyX.cjs → QrSessionGenerator-CsBGsqXR.cjs} +1 -1
  105. package/components/{QrSessionGenerator-DuxpFDzg.js → QrSessionGenerator-DwmJ6V57.js} +1 -1
  106. package/es2015/player-account-controller.cjs +1 -1
  107. package/es2015/player-account-controller.js +1 -1
  108. package/esnext/player-account-controller.js +1 -1
  109. package/package.json +1 -1
  110. package/stencil/{index-9c0f6c58-CeHgKkkN.js → index-9c0f6c58-CPGvOhwM.js} +1 -1
  111. package/stencil/{index-9c0f6c58-DGo4u6sZ.js → index-9c0f6c58-CZJp9Ksm.js} +1 -1
  112. package/stencil/{index-9c0f6c58-CLDl-isE.cjs → index-9c0f6c58-Cl0TcV5w.cjs} +1 -1
  113. package/stencil/{player-kyc-verification-Cm-zE62-.js → player-kyc-verification-CvBWt2j6.js} +145 -136
  114. package/stencil/player-kyc-verification-NcanG7Cb.cjs +210 -0
  115. package/stencil/{player-kyc-verification-ByWsZG6l.js → player-kyc-verification-fcpUfHN5.js} +139 -130
  116. package/stencil/player-kyc-verification-9Ic-jm7L.cjs +0 -210
@@ -1,12 +1,12 @@
1
- import { b as w, p as k, r as S, h as t, F as m } from "./index-9c0f6c58-CeHgKkkN.js";
1
+ import { b as k, p as S, r as b, h as n, F as g } from "./index-9c0f6c58-CPGvOhwM.js";
2
2
  import { a as x } from "./app-globals-0f993ce5-XUXOuUQl.js";
3
- var b = () => {
4
- const e = import.meta.url, i = {};
5
- return e !== "" && (i.resourcesUrl = new URL(".", e).href), k(i);
3
+ var P = () => {
4
+ const e = import.meta.url, t = {};
5
+ return e !== "" && (t.resourcesUrl = new URL(".", e).href), S(t);
6
6
  };
7
- b().then(async (e) => (await x(), w([["player-kyc-verification", [[1, "player-kyc-verification", { hideVulnerabilityCheck: [1, "hide-vulnerability-check"], 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"], mbSource: [1, "mb-source"], hideKycDescription: [1, "hide-kyc-description"], verificationType: [32], hasAllDocumentsUploaded: [32], verificationsGeneralStatus: [32], isLoading: [32], isKYCLoading: [32], selectedFile: [32], uploadingStatus: [32], uploadSizeExceeded: [32], expandedOnDesktop: [32], isDataLoading: [32] }, null, { translationUrl: ["handleNewTranslations"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"] }]]]], e)));
8
- const P = "en";
9
- let u = {
7
+ P().then(async (e) => (await x(), k([["player-kyc-verification", [[1, "player-kyc-verification", { hideVulnerabilityCheck: [1, "hide-vulnerability-check"], 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"], mbSource: [1, "mb-source"], hideKycDescription: [1, "hide-kyc-description"], overridableTypesStr: [1, "overridable-types-str"], verificationType: [32], hasAllDocumentsUploaded: [32], verificationsGeneralStatus: [32], isLoading: [32], isKYCLoading: [32], selectedFile: [32], uploadingStatus: [32], uploadSizeExceeded: [32], expandedOnDesktop: [32], isDataLoading: [32] }, null, { translationUrl: ["handleNewTranslations"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"] }]]]], e)));
8
+ const D = "en";
9
+ let h = {
10
10
  en: {
11
11
  loading: "Loading, please wait ...",
12
12
  noVerificationRequired: "There is no verification required for your account at this moment.",
@@ -594,71 +594,71 @@ let u = {
594
594
  Voucher: "Voucher"
595
595
  }
596
596
  };
597
- const y = (e) => new Promise((i) => {
597
+ const v = (e) => new Promise((t) => {
598
598
  fetch(e).then((o) => o.json()).then((o) => {
599
- Object.keys(o).forEach((n) => {
600
- u[n] || (u[n] = {});
601
- for (let a in o[n])
602
- u[n][a] = o[n][a];
603
- }), i(!0);
599
+ Object.keys(o).forEach((i) => {
600
+ h[i] || (h[i] = {});
601
+ for (let a in o[i])
602
+ h[i][a] = o[i][a];
603
+ }), t(!0);
604
604
  });
605
- }), s = (e, i, o) => {
606
- const n = i;
607
- return u[n !== void 0 && n in u ? n : P][e];
608
- }, D = (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)), c = "__WIDGET_GLOBAL_STYLE_CACHE__";
609
- function g(e, i) {
605
+ }), s = (e, t, o) => {
606
+ const i = t;
607
+ return h[i !== void 0 && i in h ? i : D][e];
608
+ }, I = (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)), f = "__WIDGET_GLOBAL_STYLE_CACHE__";
609
+ function w(e, t) {
610
610
  if (e) {
611
611
  const o = document.createElement("style");
612
- o.innerHTML = i, e.appendChild(o);
612
+ o.innerHTML = t, e.appendChild(o);
613
613
  }
614
614
  }
615
- function v(e, i) {
616
- if (!e || !i)
615
+ function C(e, t) {
616
+ if (!e || !t)
617
617
  return;
618
- const o = new URL(i);
619
- fetch(o.href).then((n) => n.text()).then((n) => {
618
+ const o = new URL(t);
619
+ fetch(o.href).then((i) => i.text()).then((i) => {
620
620
  const a = document.createElement("style");
621
- a.innerHTML = n, e && e.appendChild(a);
622
- }).catch((n) => {
623
- console.error("There was an error while trying to load client styling from URL", n);
621
+ a.innerHTML = i, e && e.appendChild(a);
622
+ }).catch((i) => {
623
+ console.error("There was an error while trying to load client styling from URL", i);
624
624
  });
625
625
  }
626
- function I(e, i, o, n = !1) {
626
+ function O(e, t, o, i = !1) {
627
627
  if (!window.emMessageBus)
628
628
  return;
629
- if (!("adoptedStyleSheets" in Document.prototype) || !n)
630
- return o = O(e, i), o;
631
- window[c] || (window[c] = {}), o = B(e, i);
629
+ if (!("adoptedStyleSheets" in Document.prototype) || !i)
630
+ return o = B(e, t), o;
631
+ window[f] || (window[f] = {}), o = F(e, t);
632
632
  const r = o.unsubscribe.bind(o), d = () => {
633
- if (window[c][i]) {
634
- const l = window[c][i];
635
- l.refCount > 1 ? l.refCount = l.refCount - 1 : delete window[c][i];
633
+ if (window[f][t]) {
634
+ const l = window[f][t];
635
+ l.refCount > 1 ? l.refCount = l.refCount - 1 : delete window[f][t];
636
636
  }
637
637
  r();
638
638
  };
639
639
  return o.unsubscribe = d, o;
640
640
  }
641
- function O(e, i) {
641
+ function B(e, t) {
642
642
  const o = document.createElement("style");
643
- return window.emMessageBus.subscribe(i, (n) => {
644
- e && (o.innerHTML = n, e.appendChild(o));
643
+ return window.emMessageBus.subscribe(t, (i) => {
644
+ e && (o.innerHTML = i, e.appendChild(o));
645
645
  });
646
646
  }
647
- function B(e, i) {
648
- return window.emMessageBus.subscribe(i, (o) => {
647
+ function F(e, t) {
648
+ return window.emMessageBus.subscribe(t, (o) => {
649
649
  if (!e)
650
650
  return;
651
- const n = e.getRootNode(), a = window[c];
652
- let r = a[i] && a[i].sheet;
653
- r ? a[i].refCount = a[i].refCount + 1 : (r = new CSSStyleSheet(), r.replaceSync(o), a[i] = {
651
+ const i = e.getRootNode(), a = window[f];
652
+ let r = a[t] && a[t].sheet;
653
+ r ? a[t].refCount = a[t].refCount + 1 : (r = new CSSStyleSheet(), r.replaceSync(o), a[t] = {
654
654
  sheet: r,
655
655
  refCount: 1
656
656
  });
657
- const d = n.adoptedStyleSheets || [];
658
- d.includes(r) || (n.adoptedStyleSheets = [...d, r]);
657
+ const d = i.adoptedStyleSheets || [];
658
+ d.includes(r) || (i.adoptedStyleSheets = [...d, r]);
659
659
  });
660
660
  }
661
- const F = `:host {
661
+ const L = `:host {
662
662
  font-family: inherit;
663
663
  }
664
664
 
@@ -867,12 +867,12 @@ button, select {
867
867
  100% {
868
868
  transform: rotate(360deg);
869
869
  }
870
- }`, L = F, A = class {
870
+ }`, A = L, U = class {
871
871
  constructor(e) {
872
- S(this, e), this.scriptInjected = !1, this.MAX_UPLOAD_SIZE = 5e7, this.userAgent = window.navigator.userAgent, this.isMobile = D(this.userAgent), this.getKYCCustomerStatus = () => {
872
+ b(this, e), this.scriptInjected = !1, this.MAX_UPLOAD_SIZE = 5e7, this.userAgent = window.navigator.userAgent, this.isMobile = I(this.userAgent), this.getKYCCustomerStatus = () => {
873
873
  try {
874
874
  this.isKYCLoading = !0;
875
- let i = new URL(`${this.endpoint}/v2/player/${this.userId}/verification/GetKYCCustomerStatus?language=${this.language}`);
875
+ let t = new URL(`${this.endpoint}/v2/player/${this.userId}/verification/GetKYCCustomerStatus?language=${this.language}`);
876
876
  const o = {
877
877
  method: "POST",
878
878
  headers: {
@@ -881,29 +881,29 @@ button, select {
881
881
  },
882
882
  body: JSON.stringify({})
883
883
  };
884
- fetch(i.href, o).then((n) => {
885
- if (n.status === 200)
886
- return n.json();
887
- throw new Error("HTTP status " + n.status);
888
- }).then((n) => {
884
+ fetch(t.href, o).then((i) => {
885
+ if (i.status === 200)
886
+ return i.json();
887
+ throw new Error("HTTP status " + i.status);
888
+ }).then((i) => {
889
889
  var a;
890
- this.verificationType = n.verifications, ((a = this.verificationType) === null || a === void 0 ? void 0 : a.length) > 0 && (this.hideKycDescription === "true" && (this.hasAllDocumentsUploaded = this.verificationType.every((r) => {
890
+ this.verificationType = i.verifications, ((a = this.verificationType) === null || a === void 0 ? void 0 : a.length) > 0 && (this.hideKycDescription === "true" && (this.hasAllDocumentsUploaded = this.verificationType.every((r) => {
891
891
  var d;
892
892
  if (r?.documents.length !== 0)
893
893
  return (d = r?.documents) === null || d === void 0 ? void 0 : d.some((l) => l.status === "Uploaded");
894
894
  })), this.verificationsGeneralStatus = this.getGeneralVerificationStatus(this.verificationType), Array.isArray(this.verificationType) && this.handleVerificationShuftiMessage(this.verificationType)), this.isKYCLoading = !1;
895
- }).catch((n) => {
896
- this.isKYCLoading = !1, console.error(n);
895
+ }).catch((i) => {
896
+ this.isKYCLoading = !1, console.error(i);
897
897
  }).finally(() => {
898
898
  this.isDataLoading = !1;
899
899
  });
900
- } catch (i) {
901
- console.error("Error fetching verification types:", i);
900
+ } catch (t) {
901
+ console.error("Error fetching verification types:", t);
902
902
  }
903
- }, this.handleShuftiMessage = (i) => {
904
- const o = i.data, n = o.event || o.verification_status;
905
- if (n)
906
- switch (n) {
903
+ }, this.handleShuftiMessage = (t) => {
904
+ const o = t.data, i = o.event || o.verification_status;
905
+ if (i)
906
+ switch (i) {
907
907
  case "verification.declined":
908
908
  case "verification.accepted":
909
909
  setTimeout(() => {
@@ -915,116 +915,125 @@ button, select {
915
915
  }
916
916
  }, this.handleToggleScreen = () => {
917
917
  this.toggleScreen(this.isMobile);
918
- }, this.hideVulnerabilityCheck = "false", this.userId = "", this.session = "", this.language = "en", this.endpoint = "", this.translationUrl = "", this.clientStyling = "", this.verifiedIcon = "", this.failedIcon = "", this.defaultIcon = "", this.clientStylingUrl = "", this.mbSource = void 0, this.hideKycDescription = "false", this.verificationType = [], this.hasAllDocumentsUploaded = !1, this.verificationsGeneralStatus = void 0, this.isLoading = !1, this.isKYCLoading = !1, this.selectedFile = null, this.uploadingStatus = void 0, this.uploadSizeExceeded = !1, this.expandedOnDesktop = !1, this.isDataLoading = !0;
918
+ }, this.hideVulnerabilityCheck = "false", this.userId = "", this.session = "", this.language = "en", this.endpoint = "", this.translationUrl = "", this.clientStyling = "", this.verifiedIcon = "", this.failedIcon = "", this.defaultIcon = "", this.clientStylingUrl = "", this.mbSource = void 0, this.hideKycDescription = "false", this.overridableTypesStr = "", this.verificationType = [], this.hasAllDocumentsUploaded = !1, this.verificationsGeneralStatus = void 0, this.isLoading = !1, this.isKYCLoading = !1, this.selectedFile = null, this.uploadingStatus = void 0, this.uploadSizeExceeded = !1, this.expandedOnDesktop = !1, this.isDataLoading = !0;
919
919
  }
920
920
  handleNewTranslations() {
921
- this.isLoading = !0, y(this.translationUrl).then(() => {
921
+ this.isLoading = !0, v(this.translationUrl).then(() => {
922
922
  this.isLoading = !1;
923
923
  });
924
924
  }
925
925
  async componentWillLoad() {
926
- this.translationUrl.length > 2 && await y(this.translationUrl);
926
+ this.translationUrl.length > 2 && await v(this.translationUrl);
927
927
  }
928
- handleClientStylingChange(e, i) {
929
- e != i && g(this.stylingContainer, this.clientStyling);
928
+ handleClientStylingChange(e, t) {
929
+ e != t && w(this.stylingContainer, this.clientStyling);
930
930
  }
931
- handleClientStylingUrlChange(e, i) {
932
- e != i && this.clientStylingUrl && v(this.stylingContainer, this.clientStylingUrl);
931
+ handleClientStylingUrlChange(e, t) {
932
+ e != t && this.clientStylingUrl && C(this.stylingContainer, this.clientStylingUrl);
933
933
  }
934
934
  async componentDidLoad() {
935
- this.stylingContainer && (window.emMessageBus != null ? I(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription) : (this.clientStyling && g(this.stylingContainer, this.clientStyling), this.clientStylingUrl && v(this.stylingContainer, this.clientStylingUrl))), window.innerWidth > 700 && (this.expandedOnDesktop = !0), this.getKYCCustomerStatus();
935
+ this.stylingContainer && (window.emMessageBus != null ? O(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription) : (this.clientStyling && w(this.stylingContainer, this.clientStyling), this.clientStylingUrl && C(this.stylingContainer, this.clientStylingUrl))), window.innerWidth > 700 && (this.expandedOnDesktop = !0), this.getKYCCustomerStatus();
936
936
  }
937
937
  removeVerificationShuftiMessage() {
938
938
  window.removeEventListener("message", this.handleShuftiMessage);
939
939
  }
940
940
  handleVerificationShuftiMessage(e) {
941
- const i = e.find((o) => {
942
- var n;
943
- return o.vendorName === "ShuftiPro" && ((n = o.flowInfo) === null || n === void 0 ? void 0 : n.actionNeeded) === !0;
941
+ const t = e.find((o) => {
942
+ var i;
943
+ return o.vendorName === "ShuftiPro" && ((i = o.flowInfo) === null || i === void 0 ? void 0 : i.actionNeeded) === !0;
944
944
  });
945
- this.removeVerificationShuftiMessage(), i && window.addEventListener("message", this.handleShuftiMessage);
945
+ this.removeVerificationShuftiMessage(), t && window.addEventListener("message", this.handleShuftiMessage);
946
946
  }
947
947
  getGeneralVerificationStatus(e) {
948
- const i = e?.map((o) => o.status.toLowerCase());
949
- return i.includes("failed") ? "Failed" : i.includes("expired") ? "Expired" : i.includes("inprogress") ? "InProgress" : i.every((o) => o === "verified") ? "Verified" : "Unknown";
948
+ if (!Array.isArray(e) || e.length === 0)
949
+ return "Unknown";
950
+ const t = (this.overridableTypesStr || "").split(",").map((i) => i.trim().toLowerCase()).filter((i) => i !== "" && i !== "false"), o = e.map((i) => {
951
+ var a, r;
952
+ const d = ((a = i?.type) === null || a === void 0 ? void 0 : a.toLowerCase()) || "";
953
+ return t.includes(d) && e.some((u) => {
954
+ var p, c;
955
+ return ((p = u?.type) === null || p === void 0 ? void 0 : p.toLowerCase()) === d && ((c = u?.status) === null || c === void 0 ? void 0 : c.toLowerCase()) === "verified";
956
+ }) ? "verified" : ((r = i?.status) === null || r === void 0 ? void 0 : r.toLowerCase()) || "";
957
+ });
958
+ return o.includes("failed") ? "Failed" : o.includes("expired") ? "Expired" : o.includes("inprogress") ? "InProgress" : o.every((i) => i === "verified") ? "Verified" : "Unknown";
950
959
  }
951
960
  disconnectedCallback() {
952
961
  this.stylingSubscription && this.stylingSubscription.unsubscribe(), this.removeVerificationShuftiMessage();
953
962
  }
954
- handleOptionChange(e, i) {
963
+ handleOptionChange(e, t) {
955
964
  const o = e.target;
956
- this.verificationType = this.verificationType.map((n) => (n.type === i && (n.optionChosen = o.value), n));
965
+ this.verificationType = this.verificationType.map((i) => (i.type === t && (i.optionChosen = o.value), i));
957
966
  }
958
- handleDocumentsStatus(e, i, o) {
959
- this.verificationType = this.verificationType.map((n) => {
960
- if (n.type === e) {
961
- const a = n.documents.find((r) => r.code === o);
962
- a && (a.statusUploaded = i);
967
+ handleDocumentsStatus(e, t, o) {
968
+ this.verificationType = this.verificationType.map((i) => {
969
+ if (i.type === e) {
970
+ const a = i.documents.find((r) => r.code === o);
971
+ a && (a.statusUploaded = t);
963
972
  }
964
- return n;
973
+ return i;
965
974
  });
966
975
  }
967
976
  downloadPDF(e) {
968
- const i = document.createElement("a");
969
- i.href = e, i.download = "file.pdf", i.target = "_blank", i.dispatchEvent(new MouseEvent("click"));
977
+ const t = document.createElement("a");
978
+ t.href = e, t.download = "file.pdf", t.target = "_blank", t.dispatchEvent(new MouseEvent("click"));
970
979
  }
971
- toggleVerificationType(e, i) {
980
+ toggleVerificationType(e, t) {
972
981
  this.expandedOnDesktop = !1, this.verificationType = this.verificationType.map((o) => {
973
- var n;
974
- return o.type === e && ((n = o.flowInfo) === null || n === void 0 ? void 0 : n.type) == i && (o.expanded = !o.expanded), o;
982
+ var i;
983
+ return o.type === e && ((i = o.flowInfo) === null || i === void 0 ? void 0 : i.type) == t && (o.expanded = !o.expanded), o;
975
984
  });
976
985
  }
977
986
  toggleScreen(e) {
978
987
  window.postMessage({ type: "PlayerAccountMenuActive", isMobile: e }, window.location.href);
979
988
  }
980
989
  checkFileSize(e) {
981
- let i = 0;
990
+ let t = 0;
982
991
  return Object.keys(e).forEach((o) => {
983
- i += e[o].size;
984
- }), i <= this.MAX_UPLOAD_SIZE;
992
+ t += e[o].size;
993
+ }), t <= this.MAX_UPLOAD_SIZE;
985
994
  }
986
- handleFileSelection(e, i, o) {
995
+ handleFileSelection(e, t, o) {
987
996
  if (e && e.length > 0)
988
997
  if (this.selectedFile = e, !this.checkFileSize(this.selectedFile))
989
- console.error(s("fileSizeExceeded", this.language)), this.uploadingStatus = s("fileSizeExceeded", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, i), this.uploadSizeExceeded = !0;
998
+ console.error(s("fileSizeExceeded", this.language)), this.uploadingStatus = s("fileSizeExceeded", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, t), this.uploadSizeExceeded = !0;
990
999
  else {
991
- const n = {
1000
+ const i = {
992
1001
  method: "POST",
993
1002
  headers: {
994
1003
  "Content-Type": "application/json",
995
1004
  "X-SessionId": this.session
996
1005
  },
997
- body: JSON.stringify({ DocumentCode: i })
1006
+ body: JSON.stringify({ DocumentCode: t })
998
1007
  };
999
- fetch(`${this.endpoint}/v1/player/${this.userId}/verification/GetKYCVerificationDocumentUploadUrl`, n).then((a) => {
1008
+ fetch(`${this.endpoint}/v1/player/${this.userId}/verification/GetKYCVerificationDocumentUploadUrl`, i).then((a) => {
1000
1009
  if (a.ok)
1001
- return this.uploadingStatus = s("uploading", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, i), a.json();
1010
+ return this.uploadingStatus = s("uploading", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, t), a.json();
1002
1011
  }).then((a) => {
1003
1012
  if (a.ResponseCode == "Success") {
1004
1013
  const r = new FormData();
1005
- r.append(i, this.selectedFile[0]), fetch(a.Url, { method: "POST", body: r }).then((d) => {
1006
- d.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus = s("successUploadMultipleFiles", this.language) : this.uploadingStatus = s("successUpload", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, i)) : (this.uploadingStatus = s("failedUpload", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, i), console.error("File upload error:", d.status));
1014
+ r.append(t, this.selectedFile[0]), fetch(a.Url, { method: "POST", body: r }).then((d) => {
1015
+ d.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus = s("successUploadMultipleFiles", this.language) : this.uploadingStatus = s("successUpload", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, t)) : (this.uploadingStatus = s("failedUpload", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, t), console.error("File upload error:", d.status));
1007
1016
  }).catch((d) => {
1008
1017
  console.error("File upload error:", d);
1009
1018
  });
1010
1019
  } else
1011
- this.uploadingStatus = s("failedUpload", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, i);
1020
+ this.uploadingStatus = s("failedUpload", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, t);
1012
1021
  }).catch((a) => {
1013
1022
  console.error("File upload error:", a);
1014
1023
  });
1015
1024
  }
1016
1025
  }
1017
1026
  importScript(e) {
1018
- return new Promise((i, o) => {
1019
- fetch(e).then((n) => n.text()).then((n) => {
1020
- if (new Function(n)(), this.scriptInjected)
1021
- i(!0);
1027
+ return new Promise((t, o) => {
1028
+ fetch(e).then((i) => i.text()).then((i) => {
1029
+ if (new Function(i)(), this.scriptInjected)
1030
+ t(!0);
1022
1031
  else {
1023
1032
  const r = document.createElement("script");
1024
- r.src = "https://test.insic.de/frontend3/static/js/avs-loader.min.js", document.head.appendChild(r), this.scriptInjected = !0, i(!0);
1033
+ r.src = "https://test.insic.de/frontend3/static/js/avs-loader.min.js", document.head.appendChild(r), this.scriptInjected = !0, t(!0);
1025
1034
  }
1026
- }).catch((n) => {
1027
- o(n);
1035
+ }).catch((i) => {
1036
+ o(i);
1028
1037
  });
1029
1038
  });
1030
1039
  }
@@ -1032,49 +1041,49 @@ button, select {
1032
1041
  return !!(e && e.status === "Uploaded");
1033
1042
  }
1034
1043
  getFirstRequestedDocument(e) {
1035
- var i, o;
1036
- let n;
1037
- return (i = e?.documents) === null || i === void 0 || i.forEach((a) => {
1038
- a.status == "Requested" && (n = n ?? a.code);
1039
- }), n || (n = (o = e?.documents[0]) === null || o === void 0 ? void 0 : o.code), n;
1044
+ var t, o;
1045
+ let i;
1046
+ return (t = e?.documents) === null || t === void 0 || t.forEach((a) => {
1047
+ a.status == "Requested" && (i = i ?? a.code);
1048
+ }), i || (i = (o = e?.documents[0]) === null || o === void 0 ? void 0 : o.code), i;
1040
1049
  }
1041
1050
  renderVerificationTypeBox(e) {
1042
1051
  this.expandedOnDesktop && (e.expanded = !0);
1043
- let i = this.getFirstRequestedDocument(e), o = e.expanded, n = e.type.trim(), a = e.optionChosen || i, r = e.status, d = e.documents, l = e.flowInfo;
1044
- const C = e.vendorName === "ShuftiPro" && r !== "InProgress", f = r === "Verified", p = r === "Failed" || r === "Expired";
1045
- return f && n === "VulnerabilityCheck" && this.hideVulnerabilityCheck === "true" || C ? null : t("div", { class: `verification-box ${o ? "expanded" : ""} ${p ? "failed" : ""} ${f ? "success" : ""}` }, t("div", { class: `box box-header ${o ? "expanded" : ""}`, onClick: () => {
1046
- var h;
1047
- return this.toggleVerificationType(e.type, (h = e.flowInfo) === null || h === void 0 ? void 0 : h.type);
1048
- } }, t("div", { class: "box-icon" }, f ? t("div", null, this.verifiedIcon ? t("img", { class: "CustomVerifiedIcon", src: this.verifiedIcon, alt: "" }) : t("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, t("circle", { cx: "50", cy: "50", r: "40", fill: "#388D79" }), t("circle", { cx: "50", cy: "50", r: "34", fill: "none", stroke: "#fff", "stroke-width": "12px" }), t("polyline", { points: "30,50 45,63 70,35", fill: "none", stroke: "#fff", "stroke-width": "8px" }))) : p ? t("div", null, this.failedIcon ? t("img", { class: "CustomFailedIcon", src: this.failedIcon, alt: "" }) : t("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, t("circle", { cx: "50", cy: "50", r: "40", fill: "red" }), t("line", { x1: "30", y1: "30", x2: "70", y2: "70", stroke: "#fff", "stroke-width": "10px" }), t("line", { x1: "30", y1: "70", x2: "70", y2: "30", stroke: "#fff", "stroke-width": "10px" }))) : t("div", null, this.defaultIcon ? t("img", { class: "CustomDefaultIcon", src: this.defaultIcon, alt: "" }) : t("svg", { width: "800px", height: "800px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("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" }), t("path", { d: "M9 13H15", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), t("path", { d: "M9 17H12", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), t("path", { d: "M14 2V6C14 7.10457 14.8954 8 16 8H20", stroke: "#000000", "stroke-width": "2", "stroke-linejoin": "round" })))), t("div", { class: "box-title" }, s(n, this.language)), t("div", { class: "chevron-icon" }, t("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" }, t("path", { d: o ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), o ? this.renderExpandedContent(e, a, r, d, l, f, p) : t("div", { class: "box box-content" }, t("div", { id: "__avs-wrapper" })));
1052
+ let t = this.getFirstRequestedDocument(e), o = e.expanded, i = e.type.trim(), a = e.optionChosen || t, r = e.status, d = e.documents, l = e.flowInfo;
1053
+ const p = e.vendorName === "ShuftiPro" && r !== "InProgress", c = r === "Verified", m = r === "Failed" || r === "Expired";
1054
+ return c && i === "VulnerabilityCheck" && this.hideVulnerabilityCheck === "true" || p ? null : n("div", { class: `verification-box ${o ? "expanded" : ""} ${m ? "failed" : ""} ${c ? "success" : ""}` }, n("div", { class: `box box-header ${o ? "expanded" : ""}`, onClick: () => {
1055
+ var y;
1056
+ return this.toggleVerificationType(e.type, (y = e.flowInfo) === null || y === void 0 ? void 0 : y.type);
1057
+ } }, n("div", { class: "box-icon" }, c ? n("div", null, this.verifiedIcon ? n("img", { class: "CustomVerifiedIcon", src: this.verifiedIcon, alt: "" }) : n("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, n("circle", { cx: "50", cy: "50", r: "40", fill: "#388D79" }), n("circle", { cx: "50", cy: "50", r: "34", fill: "none", stroke: "#fff", "stroke-width": "12px" }), n("polyline", { points: "30,50 45,63 70,35", fill: "none", stroke: "#fff", "stroke-width": "8px" }))) : m ? n("div", null, this.failedIcon ? n("img", { class: "CustomFailedIcon", src: this.failedIcon, alt: "" }) : n("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, n("circle", { cx: "50", cy: "50", r: "40", fill: "red" }), n("line", { x1: "30", y1: "30", x2: "70", y2: "70", stroke: "#fff", "stroke-width": "10px" }), n("line", { x1: "30", y1: "70", x2: "70", y2: "30", stroke: "#fff", "stroke-width": "10px" }))) : n("div", null, this.defaultIcon ? n("img", { class: "CustomDefaultIcon", src: this.defaultIcon, alt: "" }) : n("svg", { width: "800px", height: "800px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, n("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" }), n("path", { d: "M9 13H15", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), n("path", { d: "M9 17H12", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), n("path", { d: "M14 2V6C14 7.10457 14.8954 8 16 8H20", stroke: "#000000", "stroke-width": "2", "stroke-linejoin": "round" })))), n("div", { class: "box-title" }, s(i, this.language)), n("div", { class: "chevron-icon" }, n("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" }, n("path", { d: o ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), o ? this.renderExpandedContent(e, a, r, d, l, c, m) : n("div", { class: "box box-content" }, n("div", { id: "__avs-wrapper" })));
1049
1058
  }
1050
- renderDocumentsActions(e, i, o) {
1051
- return t("div", null, this.isStatusUploaded(e) ? t("div", { class: "upload-status" }, s("uploaded", this.language)) : e?.statusUploaded ? t("div", { class: "upload-status" }, e?.statusUploaded) : t("div", { class: "documents-action" }, t("div", { class: "sample-file" }, e?.sampleType === "FileDownload" ? t("button", { class: "download-button", onClick: () => this.downloadPDF(e?.sampleUrl) }, t("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("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, #22B04E))" }), t("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" })), t("span", null, s("download", this.language))) : null), t("div", { class: "upload-button" }, i ? t("label", null, t("input", { type: "file", accept: "*", onChange: (n) => this.handleFileSelection(n.target.files, i, o.type), style: { display: "none" } }), t("svg", { width: "100", height: "100", xmlns: "http://www.w3.org/2000/svg" }, t("circle", { cx: "50", cy: "50", r: "40", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), t("line", { x1: "30", y1: "50", x2: "70", y2: "50", stroke: "white", "stroke-width": "6" }), t("line", { x1: "50", y1: "30", x2: "50", y2: "70", stroke: "white", "stroke-width": "6" }))) : null)));
1059
+ renderDocumentsActions(e, t, o) {
1060
+ return n("div", null, this.isStatusUploaded(e) ? n("div", { class: "upload-status" }, s("uploaded", this.language)) : e?.statusUploaded ? n("div", { class: "upload-status" }, e?.statusUploaded) : n("div", { class: "documents-action" }, n("div", { class: "sample-file" }, e?.sampleType === "FileDownload" ? n("button", { class: "download-button", onClick: () => this.downloadPDF(e?.sampleUrl) }, n("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, n("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, #22B04E))" }), n("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" })), n("span", null, s("download", this.language))) : null), n("div", { class: "upload-button" }, t ? n("label", null, n("input", { type: "file", accept: "*", onChange: (i) => this.handleFileSelection(i.target.files, t, o.type), style: { display: "none" } }), n("svg", { width: "100", height: "100", xmlns: "http://www.w3.org/2000/svg" }, n("circle", { cx: "50", cy: "50", r: "40", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), n("line", { x1: "30", y1: "50", x2: "70", y2: "50", stroke: "white", "stroke-width": "6" }), n("line", { x1: "50", y1: "30", x2: "50", y2: "70", stroke: "white", "stroke-width": "6" }))) : null)));
1052
1061
  }
1053
- renderExpandedContent(e, i, o, n, a, r, d) {
1062
+ renderExpandedContent(e, t, o, i, a, r, d) {
1054
1063
  if (a?.type === "Widget")
1055
- return t("div", null, t("hr", { style: { margin: "5px" } }), t("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" }));
1064
+ return n("div", null, n("hr", { style: { margin: "5px" } }), n("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" }));
1056
1065
  if (a?.type === "Redirect" && e.vendorName !== "Manual" && o !== "Verified") {
1057
1066
  const l = e.vendorName === "ShuftiPro" ? "650px" : "400px";
1058
- return t("div", null, t("hr", { style: { margin: "5px" } }), t("iframe", { src: a.url, frameborder: "0", height: l, width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" }));
1067
+ return n("div", null, n("hr", { style: { margin: "5px" } }), n("iframe", { src: a.url, frameborder: "0", height: l, width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" }));
1059
1068
  } else
1060
- return t("div", { class: "box box-content" }, t(m, null, r ? t("div", { class: "verification-status" }, s("verificationComplete", this.language)) : d ? t("div", { class: "verification-status" }, o === "Failed" ? s("verificationFailed", this.language) : s("verificationExpired", this.language)) : n.length > 0 ? t("div", { class: "documents-dropdown" }, t("select", { class: "nice-select", onChange: (l) => this.handleOptionChange(l, e.type) }, n.map((l) => t("option", { selected: l.code == i, value: l.code }, s(l.type, this.language)))), this.renderDocumentsActions(n.find((l) => l.code === i), i, e)) : null));
1069
+ return n("div", { class: "box box-content" }, n(g, null, r ? n("div", { class: "verification-status" }, s("verificationComplete", this.language)) : d ? n("div", { class: "verification-status" }, o === "Failed" ? s("verificationFailed", this.language) : s("verificationExpired", this.language)) : i.length > 0 ? n("div", { class: "documents-dropdown" }, n("select", { class: "nice-select", onChange: (l) => this.handleOptionChange(l, e.type) }, i.map((l) => n("option", { selected: l.code == t, value: l.code }, s(l.type, this.language)))), this.renderDocumentsActions(i.find((l) => l.code === t), t, e)) : null));
1061
1070
  }
1062
1071
  renderKycDescription() {
1063
1072
  if (this.hideKycDescription === "true")
1064
1073
  switch (this.verificationsGeneralStatus) {
1065
1074
  case "Verified":
1066
- return t("div", { class: "widget-description-verified" }, s("kycVerifiedDescription", this.language));
1075
+ return n("div", { class: "widget-description-verified" }, s("kycVerifiedDescription", this.language));
1067
1076
  case "Failed":
1068
- return t("div", { class: "widget-description-failed" }, s("kycFailedDescription", this.language));
1077
+ return n("div", { class: "widget-description-failed" }, s("kycFailedDescription", this.language));
1069
1078
  default:
1070
1079
  if (this.hasAllDocumentsUploaded)
1071
1080
  return null;
1072
1081
  break;
1073
1082
  }
1074
- return t("div", { class: "widget-description" }, s("kycDescription", this.language));
1083
+ return n("div", { class: "widget-description" }, s("kycDescription", this.language));
1075
1084
  }
1076
1085
  render() {
1077
- return this.isLoading ? t("div", null, t("p", null, s("loading", this.language))) : t("div", { class: "ModalContainer", ref: (e) => this.stylingContainer = e }, t("div", { class: "player-kyc-verification-widget" }, this.isMobile ? t("div", { class: "MenuReturnButton", onClick: this.handleToggleScreen }, t("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, t("defs", null), t("g", { transform: "translate(-20 -158)" }, t("g", { transform: "translate(20 158)" }, t("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)" })))), t("h2", null, s("kycTitle", this.language))) : t("h2", null, s("kycTitle", this.language)), this.isDataLoading ? t("div", { class: "loader" }, s("loading", this.language)) : this.verificationType.length === 0 ? t("div", { class: "no-verification-description", style: { padding: "24px", fontSize: "18px" } }, s("noVerificationRequired", this.language)) : t(m, null, this.renderKycDescription(), t("div", { class: "verification-types" }, this.verificationType.map((e) => e ? this.renderVerificationTypeBox(e) : null)))));
1086
+ return this.isLoading ? n("div", null, n("p", null, s("loading", this.language))) : n("div", { class: "ModalContainer", ref: (e) => this.stylingContainer = e }, n("div", { class: "player-kyc-verification-widget" }, this.isMobile ? n("div", { class: "MenuReturnButton", onClick: this.handleToggleScreen }, n("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, n("defs", null), n("g", { transform: "translate(-20 -158)" }, n("g", { transform: "translate(20 158)" }, n("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)" })))), n("h2", null, s("kycTitle", this.language))) : n("h2", null, s("kycTitle", this.language)), this.isDataLoading ? n("div", { class: "loader" }, s("loading", this.language)) : this.verificationType.length === 0 ? n("div", { class: "no-verification-description", style: { padding: "24px", fontSize: "18px" } }, s("noVerificationRequired", this.language)) : n(g, null, this.renderKycDescription(), n("div", { class: "verification-types" }, this.verificationType.map((e) => e ? this.renderVerificationTypeBox(e) : null)))));
1078
1087
  }
1079
1088
  static get watchers() {
1080
1089
  return {
@@ -1084,7 +1093,7 @@ button, select {
1084
1093
  };
1085
1094
  }
1086
1095
  };
1087
- A.style = L;
1096
+ U.style = A;
1088
1097
  export {
1089
- A as player_kyc_verification
1098
+ U as player_kyc_verification
1090
1099
  };