@everymatrix/player-account-controller-nd 1.60.2 → 1.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/components/{PlayerAccountControllerNd-CaswjZ0r.cjs → PlayerAccountControllerNd-Czla4Qp2.cjs} +1 -1
  2. package/components/{PlayerAccountControllerNd-DhNJgj7L.js → PlayerAccountControllerNd-DaxeqxDh.js} +14 -14
  3. package/components/{PlayerAccountControllerNd-BVvSOxDP.js → PlayerAccountControllerNd-SYp7qsx_.js} +14 -14
  4. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Bx_23ENa.js → PlayerAccountGamingLimitsPage2Gm16Nd-Bmd_NwHD.js} +556 -550
  5. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Bm7JmMjW.js → PlayerAccountGamingLimitsPage2Gm16Nd-Ca3ZUJWk.js} +990 -984
  6. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-B7Hww3zx.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-WCAZ928m.cjs} +6 -6
  7. package/components/{PlayerAccountGamingLimitsWrapper2Nd-CqEgF4Ti.cjs → PlayerAccountGamingLimitsWrapper2Nd-BfCJoSe1.cjs} +1 -1
  8. package/components/{PlayerAccountGamingLimitsWrapper2Nd-Ca1mafrx.js → PlayerAccountGamingLimitsWrapper2Nd-TjdAXRVo.js} +1 -1
  9. package/components/{PlayerAccountGamingLimitsWrapper2Nd-keOLkA8W.js → PlayerAccountGamingLimitsWrapper2Nd-_gwT4o4X.js} +1 -1
  10. package/components/{PlayerAccountMenuNd-DXAiV-ss.cjs → PlayerAccountMenuNd-BKRgThbJ.cjs} +1 -1
  11. package/components/{PlayerAccountMenuNd-Bd85x4uA.js → PlayerAccountMenuNd-BO16ASNz.js} +1 -1
  12. package/components/{PlayerAccountMenuNd-CNcp3PHI.js → PlayerAccountMenuNd-Br6a9Tej.js} +1 -1
  13. package/components/PlayerAccountNotifications-MHx2DPBT.js +372 -0
  14. package/components/PlayerAccountNotifications-Vaz7mdXW.cjs +1 -0
  15. package/components/{PlayerAccountNotifications-ClOeCnPf.js → PlayerAccountNotifications-hkB_puur.js} +62 -61
  16. package/components/{PlayerAccountSelfExclusionNd-BQrtl9gQ.js → PlayerAccountSelfExclusionNd-C9IcT0p4.js} +2 -2
  17. package/components/{PlayerAccountSelfExclusionNd-L3TqggPW.cjs → PlayerAccountSelfExclusionNd-DI4bHTYL.cjs} +2 -2
  18. package/components/{PlayerAccountSelfExclusionNd-CHldQADi.js → PlayerAccountSelfExclusionNd-DIwIYVeN.js} +2 -2
  19. package/components/{PlayerAccountTimeout-CvPqgtCT.js → PlayerAccountTimeout-1HHDRhRW.js} +2 -2
  20. package/components/{PlayerAccountTimeout-t5voNIc-.js → PlayerAccountTimeout-DMUbvpSF.js} +2 -2
  21. package/components/{PlayerAccountTimeout-CzQHi6qZ.cjs → PlayerAccountTimeout-DvhQQjVR.cjs} +1 -1
  22. package/components/{PlayerActiveBonuses-CBNXsPFC.js → PlayerActiveBonuses-CoNv5ScH.js} +1 -1
  23. package/components/{PlayerActiveBonuses-dQ63hUq3.js → PlayerActiveBonuses-bqJeaH4L.js} +1 -1
  24. package/components/{PlayerActiveBonuses-B3sDjZPu.cjs → PlayerActiveBonuses-s0MmTfKm.cjs} +1 -1
  25. package/components/{PlayerBonusCard-DXAV2V1U.js → PlayerBonusCard-DP8c89Ho.js} +144 -143
  26. package/components/{PlayerBonusCard-bSjh6zBM.js → PlayerBonusCard-DsRkWJss.js} +144 -143
  27. package/components/PlayerBonusCard-htL7HEnz.cjs +1 -0
  28. package/components/{PlayerBonusHistory-h8ppzMVZ.js → PlayerBonusHistory-C8Jw6te-.js} +2 -2
  29. package/components/{PlayerBonusHistory-l0rQmZvF.cjs → PlayerBonusHistory-CFXdMeY4.cjs} +1 -1
  30. package/components/{PlayerBonusHistory-CnMK7ejq.js → PlayerBonusHistory-DDkhmw4r.js} +2 -2
  31. package/components/{PlayerGamingHistory-BlKEP1D9.js → PlayerGamingHistory-CNe8DQFa.js} +1 -1
  32. package/components/{PlayerGamingHistory-BzH_1Vrz.js → PlayerGamingHistory-D8kvtD06.js} +1 -1
  33. package/components/{PlayerGamingHistory-BQIBl2C1.cjs → PlayerGamingHistory-DrmDZElc.cjs} +1 -1
  34. package/components/{PlayerProfileInfo-C5pt67nk.js → PlayerProfileInfo-4_ji2YMX.js} +1 -1
  35. package/components/{PlayerProfileInfo-4pEf39os.cjs → PlayerProfileInfo-C2_IlzNH.cjs} +1 -1
  36. package/components/{PlayerProfileInfo-DdNpSWPf.js → PlayerProfileInfo-C34ph_VD.js} +1 -1
  37. package/components/{PlayerRealityCheck-DiJJz_Fj.cjs → PlayerRealityCheck-BYgd7N7D.cjs} +1 -1
  38. package/components/{PlayerRealityCheck-b9pmvz-O.js → PlayerRealityCheck-CI3A9NNr.js} +1 -1
  39. package/components/{PlayerRealityCheck-DKW4vOQ-.js → PlayerRealityCheck-QN7JG4FF.js} +1 -1
  40. package/es2015/player-account-controller-nd.cjs +1 -1
  41. package/es2015/player-account-controller-nd.js +1 -1
  42. package/esnext/player-account-controller-nd.js +1 -1
  43. package/package.json +1 -1
  44. package/stencil/app-globals-0f993ce5-BE38v2MW.cjs +1 -0
  45. package/stencil/{app-globals-0f993ce5-DzSE6TtH.js → app-globals-0f993ce5-Dab_DTBV.js} +5 -3
  46. package/stencil/{checkbox-group-input_9-DEGGgpku.js → checkbox-group-input_9-BRv_piPJ.js} +102 -99
  47. package/stencil/{checkbox-group-input_9-DDKGgkML.cjs → checkbox-group-input_9-DCA5sbPo.cjs} +2 -2
  48. package/stencil/{checkbox-group-input_9-Cge1uYJD.js → checkbox-group-input_9-bIi7h3_V.js} +102 -99
  49. package/stencil/{general-input-D6ZzAION.js → general-input-CQs-v3_Y.js} +2 -2
  50. package/stencil/{general-input-CbzyUMpM.cjs → general-input-DgKQ0KIf.cjs} +2 -2
  51. package/stencil/{general-input-DGX9cnfM.js → general-input-OUKrtuTp.js} +2 -2
  52. package/stencil/{index-1ef3a64c-Cb8qLHe4.js → index-1ef3a64c-Bo9AYUJy.js} +1 -1
  53. package/stencil/{index-1ef3a64c-CzlpRJE7.cjs → index-1ef3a64c-CiZxO5I8.cjs} +1 -1
  54. package/stencil/{index-1ef3a64c-C4-h3nXC.js → index-1ef3a64c-ElvobcAf.js} +1 -1
  55. package/stencil/{index-7c5e707a-B9tD4t-g.js → index-21ba09dd-C-HsjTUn.js} +4 -4
  56. package/stencil/{index-7c5e707a-40SRy2Ab.js → index-21ba09dd-DNkmY6MF.js} +4 -4
  57. package/stencil/index-21ba09dd-lQRQL1Nd.cjs +1 -0
  58. package/stencil/index-34008883-B7S8keyz.js +577 -0
  59. package/stencil/index-34008883-CX1Vpol5.cjs +1 -0
  60. package/stencil/{index-9c0f6c58-DeLVbTUg.js → index-34008883-DRJSKOUl.js} +228 -200
  61. package/stencil/{index-9cd44522-DNHOiqex.js → index-9cd44522-C566YWys.js} +4 -4
  62. package/stencil/{index-9cd44522-bcseM6Tc.js → index-9cd44522-Crt8CtBe.js} +4 -4
  63. package/stencil/{index-9cd44522-BZa-k0xO.cjs → index-9cd44522-jv76DI6J.cjs} +1 -1
  64. package/stencil/{index-b2193545-C2qi7zn0.js → index-b2193545-Ba3S1_hg.js} +1 -1
  65. package/stencil/{index-b2193545-lh5NrH1l.cjs → index-b2193545-CjNH95c8.cjs} +1 -1
  66. package/stencil/{index-b2193545-DRVj_AmB.js → index-b2193545-nCQBn10B.js} +1 -1
  67. package/stencil/index-b7bbd57e-BXQNNKF-.cjs +1 -0
  68. package/stencil/index-b7bbd57e-C1rNwXcA.js +534 -0
  69. package/stencil/index-b7bbd57e-KR8HyCXS.js +550 -0
  70. package/stencil/{password-input_2-DfibVL8H.js → password-input_2-C84wWI7v.js} +2 -2
  71. package/stencil/{password-input_2-ChFdsN2L.cjs → password-input_2-Cb1ahifk.cjs} +1 -1
  72. package/stencil/{password-input_2-IaELIWPu.js → password-input_2-DQO_Gwqq.js} +2 -2
  73. package/stencil/{player-change-password-gm2-039e300e-h73P3BnO.cjs → player-change-password-gm2-039e300e-DIjTdjzy.cjs} +1 -1
  74. package/stencil/{player-change-password-gm2-039e300e-DQu1Qy42.js → player-change-password-gm2-039e300e-mRLvAYzw.js} +1 -1
  75. package/stencil/{player-change-password-gm2-039e300e-Cbvlv_Cc.js → player-change-password-gm2-039e300e-s9osP-86.js} +1 -1
  76. package/stencil/{player-change-password-gm2-o8J_07IZ.js → player-change-password-gm2-BJLdk2sF.js} +3 -3
  77. package/stencil/{player-change-password-gm2-CZ4CLVdX.js → player-change-password-gm2-C46hgH3O.js} +3 -3
  78. package/stencil/{player-change-password-gm2-Ddu97gwX.cjs → player-change-password-gm2-SzYQySXI.cjs} +1 -1
  79. package/stencil/player-kyc-verification-6TGi8B9v.js +25 -0
  80. package/stencil/player-kyc-verification-BH7srnLo.cjs +1 -0
  81. package/stencil/player-kyc-verification-DRh9MXmC.js +7 -0
  82. package/stencil/{player-kyc-verification-dmJNIHni.js → player-kyc-verification_2-EJZCFPKM.js} +67 -39
  83. package/stencil/player-kyc-verification_2-HIgoVn9n.cjs +180 -0
  84. package/stencil/{player-kyc-verification-z8R7nMzo.js → player-kyc-verification_2-w8_XwPSF.js} +58 -28
  85. package/stencil/{toggle-checkbox-input-BJReK7u2.js → toggle-checkbox-input-Bh9dCfaE.js} +1 -1
  86. package/stencil/{toggle-checkbox-input-DPSvf8jJ.cjs → toggle-checkbox-input-CDg0DAAQ.cjs} +1 -1
  87. package/stencil/{toggle-checkbox-input-CphJPGIs.js → toggle-checkbox-input-CFvMg26A.js} +1 -1
  88. package/stencil/ui-image-38c3c15f-CEfeqAk8.js +39 -0
  89. package/stencil/ui-image-38c3c15f-Ck6BC-zf.js +39 -0
  90. package/stencil/ui-image-38c3c15f-Cq2W4LRm.cjs +1 -0
  91. package/stencil/ui-image-CBPosHQA.js +11 -0
  92. package/stencil/ui-image-CIXt7mi5.cjs +1 -0
  93. package/stencil/ui-image-SmL79gLQ.js +29 -0
  94. package/stencil/{user-transaction-history-BO92Qvk4.js → ui-image_2-CYG1_Yew.js} +111 -81
  95. package/stencil/ui-image_2-Cyb78tZB.cjs +1 -0
  96. package/stencil/{user-transaction-history-Bg6onQ-I.js → ui-image_2-nVKXie9g.js} +121 -93
  97. package/stencil/{ui-skeleton-ea659b95-BrjFstai.js → ui-skeleton-6d1c12ae-BteqiJ3N.js} +2 -2
  98. package/stencil/{ui-skeleton-ea659b95-79vEjTsx.js → ui-skeleton-6d1c12ae-CpRMWvUl.js} +2 -2
  99. package/stencil/{ui-skeleton-ea659b95-DuSAPIG5.cjs → ui-skeleton-6d1c12ae-DIXcfDMF.cjs} +2 -2
  100. package/stencil/{ui-skeleton-BCpuJt-t.js → ui-skeleton-B5HKWUZZ.js} +5 -5
  101. package/stencil/{ui-skeleton-BAxmxOly.cjs → ui-skeleton-BmY9tNCz.cjs} +1 -1
  102. package/stencil/{ui-skeleton-BnjJK_-z.js → ui-skeleton-cMJY5_hV.js} +3 -3
  103. package/stencil/{user-deposit-withdrawal-CBWlU3d2.cjs → user-deposit-withdrawal-AuM1tZmx.cjs} +1 -1
  104. package/stencil/{user-deposit-withdrawal-CE9oDw4W.js → user-deposit-withdrawal-BMJx_R6F.js} +2 -2
  105. package/stencil/{user-deposit-withdrawal-Dnqg2IvK.js → user-deposit-withdrawal-Dgcj5_4h.js} +2 -2
  106. package/stencil/user-transaction-history-BPAsxrSz.js +7 -0
  107. package/stencil/user-transaction-history-CATn02Hg.js +25 -0
  108. package/stencil/user-transaction-history-DSzCjzMR.cjs +1 -0
  109. package/components/PlayerAccountNotifications-BgE2Nu5e.cjs +0 -1
  110. package/components/PlayerAccountNotifications-DWItYFsA.js +0 -371
  111. package/components/PlayerBonusCard-4A6XzJO6.cjs +0 -1
  112. package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +0 -1
  113. package/stencil/index-7c5e707a-DosLPDO6.cjs +0 -1
  114. package/stencil/index-9c0f6c58-D5txcAjr.js +0 -549
  115. package/stencil/index-9c0f6c58-DeCWAW-B.cjs +0 -1
  116. package/stencil/player-kyc-verification-C0h2CP_Y.cjs +0 -180
  117. package/stencil/user-transaction-history-COJbthDt.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CneHnHyh.cjs");function se({withLocale:n,translations:t}){e.$locale.subscribe(i=>{i==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function le(n,t){e.addMessages(n,t)}const D={en:{titleLimitsWrapper2:"Limits"},"zh-hk":{titleLimitsWrapper2:"Limits"},fr:{titleLimitsWrapper2:"Limits"},ro:{titleLimitsWrapper2:"Limits"},es:{titleLimitsWrapper2:"Limits"},pt:{titleLimitsWrapper2:"Limits"},hr:{titleLimitsWrapper2:"Ograničenja"},"pt-br":{titleLimitsWrapper2:"Limites"},"es-mx":{titleLimitsWrapper2:"Límites"},tr:{titleLimitsWrapper2:"Sınırlar"},"en-us":{titleLimitsWrapper2:"Limits"},de:{titleLimitsWrapper2:"Begrenzungen"}};if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsPage2Gm16Nd-B7Hww3zx.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-page-2-gm16-nd")&&customElements.define("player-account-gaming-limits-page-2-gm16-nd",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsHistory2Nd-mN7Y8aHJ.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-history-2-nd")&&customElements.define("player-account-gaming-limits-history-2-nd",t.element)})}function ae(n){e.append_styles(n,"svelte-1y3c3nw",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.GamingLimitsWrapper{padding:50px;color:var(--emw--pam-color-primary, #22B04E);background-color:var(--emw--pam-color-bg, #F1F1F1);border-radius:var(--emw--border-radius-large, 20px);min-height:1000px;display:flex;flex-direction:column}.GamingLimitsWrapper.GamingLimitsWrapperMobile{padding:20px 15px}.GamingLimitsWrapper.GamingLimitsWrapperMobile .GamingLimitsContent,.GamingLimitsWrapper.GamingLimitsWrapperMobile .PlayerAccountGamingLmitsWrapper2,.GamingLimitsWrapper.GamingLimitsWrapperMobile .LimitsTab{flex-direction:column;width:100%;height:fit-content;padding:5px 0;font-size:10px;margin-right:5px}.GamingLimitsWrapper .GamingLimitsContent{display:flex;flex-direction:row}.GamingLimitsWrapper .LimitsWrapper,.GamingLimitsWrapper .TabsContainer,.GamingLimitsWrapper .LimitsTab{display:flex;flex-direction:column;align-items:center;flex-direction:row}.GamingLimitsWrapper .TabsContainer{height:50px;margin-bottom:12px;cursor:pointer;justify-content:left;color:var(--emw--color-typography-contrast, #444444)}.GamingLimitsWrapper .LimitsTab{font-size:16px;line-height:1.4rem;text-transform:uppercase;padding:10px 40px;background-color:var(--emw--color-grey-150, #C0CBC3);border-radius:var(--emw--border-radius-large, 50px);margin-right:20px}.GamingLimitsWrapper .Selected{color:var(--emw--color-typpgraphy, #FFFFFF);background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C))}.GamingLimitsWrapper .PlayerAccountGamingLmitsWrapper2{margin-bottom:20px;width:65%}.Hidden{display:none}h2{margin:20px 0}.MenuReturnButton{color:var(--emw--pam-color-primary, #22B04E);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, #22B04E)}.GamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, #22B04E);font-weight:400}.GamingLimitsTitleMobile{font-size:16px}')}function I(n,t,i){const s=n.slice();return s[46]=t[i],s[48]=i,s}const re=n=>({}),q=n=>({});function U(n,t,i){const s=n.slice();return s[49]=t[i],s[48]=i,s}function oe(n){let t,i,s,l,o,c,d,r,g,f,m=n[24]("titleLimitsWrapper2")+"",u,_,b;return{c(){t=e.element("div"),i=e.svg_element("svg"),s=e.svg_element("defs"),l=e.svg_element("style"),o=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),c=e.svg_element("g"),d=e.svg_element("g"),r=e.svg_element("path"),g=e.space(),f=e.element("h2"),u=e.text(m),e.attr(r,"class","aaa"),e.attr(r,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(r,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(c,"transform","translate(-20 -158)"),e.attr(i,"xmlns","http://www.w3.org/2000/svg"),e.attr(i,"width","15"),e.attr(i,"height","15"),e.attr(i,"viewBox","0 0 15 15"),e.attr(f,"class","GamingLimitsTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(L,h){e.insert(L,t,h),e.append(t,i),e.append(i,s),e.append(s,l),e.append(l,o),e.append(i,c),e.append(c,d),e.append(d,r),e.append(t,g),e.append(t,f),e.append(f,u),_||(b=e.listen(t,"click",n[35]),_=!0)},p(L,h){h[0]&16777216&&m!==(m=L[24]("titleLimitsWrapper2")+"")&&e.set_data(u,m)},d(L){L&&e.detach(t),_=!1,b()}}}function me(n){let t,i,s,l,o,c=n[25].length>1&&ue(n),d=e.ensure_array_like(n[25]),r=[];for(let m=0;m<d.length;m+=1)r[m]=Z(I(n,d,m));const g=m=>e.transition_out(r[m],1,1,()=>{r[m]=null});let f=n[6]==="true"&&J(n);return{c(){c&&c.c(),t=e.space(),i=e.element("div"),s=e.element("div");for(let m=0;m<r.length;m+=1)r[m].c();l=e.space(),f&&f.c(),e.attr(s,"class","PlayerAccountGamingLmitsWrapper2"),e.attr(i,"class","GamingLimitsContent")},m(m,u){c&&c.m(m,u),e.insert(m,t,u),e.insert(m,i,u),e.append(i,s);for(let _=0;_<r.length;_+=1)r[_]&&r[_].m(s,null);n[38](s),e.append(i,l),f&&f.m(i,null),o=!0},p(m,u){if(m[25].length>1&&c.p(m,u),u[0]&14745023|u[1]&4){d=e.ensure_array_like(m[25]);let _;for(_=0;_<d.length;_+=1){const b=I(m,d,_);r[_]?(r[_].p(b,u),e.transition_in(r[_],1)):(r[_]=Z(b),r[_].c(),e.transition_in(r[_],1),r[_].m(s,null))}for(e.group_outros(),_=d.length;_<r.length;_+=1)g(_);e.check_outros()}m[6]==="true"?f?f.p(m,u):(f=J(m),f.c(),f.m(i,null)):f&&(f.d(1),f=null)},i(m){if(!o){for(let u=0;u<d.length;u+=1)e.transition_in(r[u]);o=!0}},o(m){r=r.filter(Boolean);for(let u=0;u<r.length;u+=1)e.transition_out(r[u]);o=!1},d(m){m&&(e.detach(t),e.detach(i)),c&&c.d(m),e.destroy_each(r,m),n[38](null),f&&f.d()}}}function ce(n){return{c:e.noop,m:e.noop,p:e.noop,i:e.noop,o:e.noop,d:e.noop}}function ue(n){let t,i=e.ensure_array_like(n[25]),s=[];for(let l=0;l<i.length;l+=1)s[l]=V(U(n,i,l));return{c(){t=e.element("div");for(let l=0;l<s.length;l+=1)s[l].c();e.attr(t,"class","TabsContainer")},m(l,o){e.insert(l,t,o);for(let c=0;c<s.length;c+=1)s[c]&&s[c].m(t,null);n[37](t)},p(l,o){if(o[0]&168296448){i=e.ensure_array_like(l[25]);let c;for(c=0;c<i.length;c+=1){const d=U(l,i,c);s[c]?s[c].p(d,o):(s[c]=V(d),s[c].c(),s[c].m(t,null))}for(;c<s.length;c+=1)s[c].d(1);s.length=i.length}},d(l){l&&e.detach(t),e.destroy_each(s,l),n[37](null)}}}function V(n){var d;let t,i=((d=n[19][n[48]])!=null?d:n[49])+"",s,l,o;function c(){return n[36](n[48])}return{c(){t=e.element("div"),s=e.text(i),e.attr(t,"class","LimitsTab")},m(r,g){e.insert(r,t,g),e.append(t,s),l||(o=e.listen(t,"click",c),l=!0)},p(r,g){var f;n=r,g[0]&524288&&i!==(i=((f=n[19][n[48]])!=null?f:n[49])+"")&&e.set_data(s,i)},d(r){r&&e.detach(t),l=!1,o()}}}function _e(n){let t,i,s;return{c(){t=e.element("player-account-gaming-limits-page-2-gm16-nd"),e.set_custom_element_data(t,"class","hidden selected"),e.set_custom_element_data(t,"lang",n[0]),e.set_custom_element_data(t,"currency",n[4]),e.set_custom_element_data(t,"amountsconfig",i=n[21][n[48]]),e.set_custom_element_data(t,"periodsconfig",s=n[22][n[48]]),e.set_custom_element_data(t,"limittabindex",n[48]+1),e.set_custom_element_data(t,"userid",n[1]),e.set_custom_element_data(t,"deletelimit",n[8]),e.set_custom_element_data(t,"enablecompliancetext",n[7]),e.set_custom_element_data(t,"session",n[2]),e.set_custom_element_data(t,"endpoint",n[3]),e.set_custom_element_data(t,"apiversion",n[5]),e.set_custom_element_data(t,"clientstyling",n[12]),e.set_custom_element_data(t,"clientstylingurl",n[13]),e.set_custom_element_data(t,"mbsource",n[15]),e.set_custom_element_data(t,"translationurl",n[14]),e.set_custom_element_data(t,"customcurrencysymbols",n[10]),e.set_custom_element_data(t,"limitformat",n[11])},m(l,o){e.insert(l,t,o)},p(l,o){o[0]&1&&e.set_custom_element_data(t,"lang",l[0]),o[0]&16&&e.set_custom_element_data(t,"currency",l[4]),o[0]&2097152&&i!==(i=l[21][l[48]])&&e.set_custom_element_data(t,"amountsconfig",i),o[0]&4194304&&s!==(s=l[22][l[48]])&&e.set_custom_element_data(t,"periodsconfig",s),o[0]&2&&e.set_custom_element_data(t,"userid",l[1]),o[0]&256&&e.set_custom_element_data(t,"deletelimit",l[8]),o[0]&128&&e.set_custom_element_data(t,"enablecompliancetext",l[7]),o[0]&4&&e.set_custom_element_data(t,"session",l[2]),o[0]&8&&e.set_custom_element_data(t,"endpoint",l[3]),o[0]&32&&e.set_custom_element_data(t,"apiversion",l[5]),o[0]&4096&&e.set_custom_element_data(t,"clientstyling",l[12]),o[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",l[13]),o[0]&32768&&e.set_custom_element_data(t,"mbsource",l[15]),o[0]&16384&&e.set_custom_element_data(t,"translationurl",l[14]),o[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",l[10]),o[0]&2048&&e.set_custom_element_data(t,"limitformat",l[11])},i:e.noop,o:e.noop,d(l){l&&e.detach(t)}}}function fe(n){let t;const i=n[34].customTabContent,s=e.create_slot(i,n,n[33],q);return{c(){s&&s.c()},m(l,o){s&&s.m(l,o),t=!0},p(l,o){s&&s.p&&(!t||o[1]&4)&&e.update_slot_base(s,i,l,l[33],t?e.get_slot_changes(i,l[33],o,re):e.get_all_dirty_from_scope(l[33]),q)},i(l){t||(e.transition_in(s,l),t=!0)},o(l){e.transition_out(s,l),t=!1},d(l){s&&s.d(l)}}}function Z(n){let t,i,s,l;const o=[fe,_e],c=[];function d(r,g){return r[23]===r[48]?0:1}return t=d(n),i=c[t]=o[t](n),{c(){i.c(),s=e.empty()},m(r,g){c[t].m(r,g),e.insert(r,s,g),l=!0},p(r,g){let f=t;t=d(r),t===f?c[t].p(r,g):(e.group_outros(),e.transition_out(c[f],1,1,()=>{c[f]=null}),e.check_outros(),i=c[t],i?i.p(r,g):(i=c[t]=o[t](r),i.c()),e.transition_in(i,1),i.m(s.parentNode,s))},i(r){l||(e.transition_in(i),l=!0)},o(r){e.transition_out(i),l=!1},d(r){r&&e.detach(s),c[t].d(r)}}}function J(n){let t;return{c(){t=e.element("player-account-gaming-limits-history-2-nd"),e.set_custom_element_data(t,"lang",n[0]),e.set_custom_element_data(t,"userid",n[1]),e.set_custom_element_data(t,"session",n[2]),e.set_custom_element_data(t,"endpoint",n[3]),e.set_custom_element_data(t,"apiversion",n[5]),e.set_custom_element_data(t,"numberofentries",n[9]),e.set_custom_element_data(t,"clientstyling",n[12]),e.set_custom_element_data(t,"clientstylingurl",n[13]),e.set_custom_element_data(t,"mbsource",n[15]),e.set_custom_element_data(t,"translationurl",n[14]),e.set_custom_element_data(t,"customcurrencysymbols",n[10]),e.set_custom_element_data(t,"limitformat",n[11])},m(i,s){e.insert(i,t,s)},p(i,s){s[0]&1&&e.set_custom_element_data(t,"lang",i[0]),s[0]&2&&e.set_custom_element_data(t,"userid",i[1]),s[0]&4&&e.set_custom_element_data(t,"session",i[2]),s[0]&8&&e.set_custom_element_data(t,"endpoint",i[3]),s[0]&32&&e.set_custom_element_data(t,"apiversion",i[5]),s[0]&512&&e.set_custom_element_data(t,"numberofentries",i[9]),s[0]&4096&&e.set_custom_element_data(t,"clientstyling",i[12]),s[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",i[13]),s[0]&32768&&e.set_custom_element_data(t,"mbsource",i[15]),s[0]&16384&&e.set_custom_element_data(t,"translationurl",i[14]),s[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",i[10]),s[0]&2048&&e.set_custom_element_data(t,"limitformat",i[11])},d(i){i&&e.detach(t)}}}function de(n){let t,i,s,l,o,c,d,r=n[24]("titleLimitsWrapper2")+"",g,f,m,u,_,b=n[26]&&oe(n);const L=[ce,me],h=[];function C(p,w){return p[16]?0:1}return m=C(n),u=h[m]=L[m](n),{c(){t=e.element("meta"),i=e.space(),s=e.element("div"),l=e.element("div"),o=e.element("div"),b&&b.c(),c=e.space(),d=e.element("h2"),g=e.text(r),f=e.space(),u.c(),e.attr(t,"name","viewport"),e.attr(t,"content","width=device-width, initial-scale=1"),e.attr(d,"class","GamingLimitsTitle "+(n[26]?"Hidden":"")),e.attr(o,"class","TitleSection"),e.attr(l,"class","GamingLimitsWrapper "+(n[26]?"GamingLimitsWrapperMobile":""))},m(p,w){e.append(document.head,t),e.insert(p,i,w),e.insert(p,s,w),e.append(s,l),e.append(l,o),b&&b.m(o,null),e.append(o,c),e.append(o,d),e.append(d,g),e.append(l,f),h[m].m(l,null),n[39](s),_=!0},p(p,w){p[26]&&b.p(p,w),(!_||w[0]&16777216)&&r!==(r=p[24]("titleLimitsWrapper2")+"")&&e.set_data(g,r);let T=m;m=C(p),m===T?h[m].p(p,w):(e.group_outros(),e.transition_out(h[T],1,1,()=>{h[T]=null}),e.check_outros(),u=h[m],u?u.p(p,w):(u=h[m]=L[m](p),u.c()),e.transition_in(u,1),u.m(l,null))},i(p){_||(e.transition_in(u),_=!0)},o(p){e.transition_out(u),_=!1},d(p){p&&(e.detach(i),e.detach(s)),e.detach(t),b&&b.d(),h[m].d(),n[39](null)}}}function ge(n,t,i){let s;e.component_subscribe(n,e.$format,a=>i(24,s=a));let{$$slots:l={},$$scope:o}=t,{lang:c=""}=t,{userid:d=""}=t,{session:r=""}=t,{endpoint:g=""}=t,{currency:f=""}=t,{apiversion:m=""}=t,{tablabels:u=""}=t,{historyenabled:_="true"}=t,{enablecompliancetext:b="false"}=t,{deletelimit:L=""}=t,{limitsamount:h=""}=t,{limitsperiods:C=""}=t,{numberofentries:p=""}=t,{customcurrencysymbols:w=""}=t,{limitformat:T=""}=t,{clientstyling:E=""}=t,{clientstylingurl:M=""}=t,{translationurl:H=""}=t,{mbsource:S}=t,{customcontentontab:G=""}=t;se({withLocale:"en",translations:{}});let B=!0,v,P=[],N,W,k,A,F,Q=window.navigator.userAgent,R=e.getDevice(Q)!=="PC",j=G?Number(G):-1;Object.keys(D).forEach(a=>{le(a,D[a])});const X=(a,y)=>{if(i(21,A=a.replace(/\s/g,"").split("|")),i(22,F=y.replace(/\s/g,"").split("|")),A.length===0)throw new Error("Please provide a full limits configuration.");if(A.length!==F.length)throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.")},Y=()=>{X(h,C),h.split("|").forEach(y=>{P.includes(y)||P.push(y)}),i(19,N=u.split(",").map(y=>y.trim())),i(16,B=!1)},x=()=>{i(23,j=G?Number(G):-1)},z=a=>{if(W.children.length>0)for(let y=0;y<W.children.length;y++)a===y?(W.children[y].classList.remove("Hidden"),k==null||k.children[y].classList.add("Selected")):(W.children[y].classList.add("Hidden"),k==null||k.children[y].classList.remove("Selected"))},O=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:R},window.location.href)};e.onMount(()=>()=>{i(18,W=null),i(20,k=null)});const $=()=>O(),ee=a=>z(a);function te(a){e.binding_callbacks[a?"unshift":"push"](()=>{k=a,i(20,k)})}function ie(a){e.binding_callbacks[a?"unshift":"push"](()=>{W=a,i(18,W)})}function ne(a){e.binding_callbacks[a?"unshift":"push"](()=>{v=a,i(17,v)})}return n.$$set=a=>{"lang"in a&&i(0,c=a.lang),"userid"in a&&i(1,d=a.userid),"session"in a&&i(2,r=a.session),"endpoint"in a&&i(3,g=a.endpoint),"currency"in a&&i(4,f=a.currency),"apiversion"in a&&i(5,m=a.apiversion),"tablabels"in a&&i(29,u=a.tablabels),"historyenabled"in a&&i(6,_=a.historyenabled),"enablecompliancetext"in a&&i(7,b=a.enablecompliancetext),"deletelimit"in a&&i(8,L=a.deletelimit),"limitsamount"in a&&i(30,h=a.limitsamount),"limitsperiods"in a&&i(31,C=a.limitsperiods),"numberofentries"in a&&i(9,p=a.numberofentries),"customcurrencysymbols"in a&&i(10,w=a.customcurrencysymbols),"limitformat"in a&&i(11,T=a.limitformat),"clientstyling"in a&&i(12,E=a.clientstyling),"clientstylingurl"in a&&i(13,M=a.clientstylingurl),"translationurl"in a&&i(14,H=a.translationurl),"mbsource"in a&&i(15,S=a.mbsource),"customcontentontab"in a&&i(32,G=a.customcontentontab),"$$scope"in a&&i(33,o=a.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&536870959&&d&&r&&g&&u&&c&&m&&Y(),n.$$.dirty[1]&2&&G&&x(),n.$$.dirty[0]&327680&&W&&!B&&z(0),n.$$.dirty[0]&135168&&E&&v&&e.setClientStyling(v,E),n.$$.dirty[0]&139264&&M&&v&&e.setClientStylingURL(v,M),n.$$.dirty[0]&163840&&S&&v&&e.setStreamStyling(v,`${S}.Style`)},[c,d,r,g,f,m,_,b,L,p,w,T,E,M,H,S,B,v,W,N,k,A,F,j,s,P,R,z,O,u,h,C,G,o,l,$,ee,te,ie,ne]}class K extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ge,de,e.safe_not_equal,{lang:0,userid:1,session:2,endpoint:3,currency:4,apiversion:5,tablabels:29,historyenabled:6,enablecompliancetext:7,deletelimit:8,limitsamount:30,limitsperiods:31,numberofentries:9,customcurrencysymbols:10,limitformat:11,clientstyling:12,clientstylingurl:13,translationurl:14,mbsource:15,customcontentontab:32},ae,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[2]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[3]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get currency(){return this.$$.ctx[4]}set currency(t){this.$$set({currency:t}),e.flush()}get apiversion(){return this.$$.ctx[5]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get tablabels(){return this.$$.ctx[29]}set tablabels(t){this.$$set({tablabels:t}),e.flush()}get historyenabled(){return this.$$.ctx[6]}set historyenabled(t){this.$$set({historyenabled:t}),e.flush()}get enablecompliancetext(){return this.$$.ctx[7]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),e.flush()}get deletelimit(){return this.$$.ctx[8]}set deletelimit(t){this.$$set({deletelimit:t}),e.flush()}get limitsamount(){return this.$$.ctx[30]}set limitsamount(t){this.$$set({limitsamount:t}),e.flush()}get limitsperiods(){return this.$$.ctx[31]}set limitsperiods(t){this.$$set({limitsperiods:t}),e.flush()}get numberofentries(){return this.$$.ctx[9]}set numberofentries(t){this.$$set({numberofentries:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[10]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get limitformat(){return this.$$.ctx[11]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[15]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get customcontentontab(){return this.$$.ctx[32]}set customcontentontab(t){this.$$set({customcontentontab:t}),e.flush()}}e.create_custom_element(K,{lang:{},userid:{},session:{},endpoint:{},currency:{},apiversion:{},tablabels:{},historyenabled:{},enablecompliancetext:{},deletelimit:{},limitsamount:{},limitsperiods:{},numberofentries:{},customcurrencysymbols:{},limitformat:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{},customcontentontab:{}},["customTabContent"],[],!0);exports.default=K;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CneHnHyh.cjs");function se({withLocale:n,translations:t}){e.$locale.subscribe(i=>{i==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function le(n,t){e.addMessages(n,t)}const D={en:{titleLimitsWrapper2:"Limits"},"zh-hk":{titleLimitsWrapper2:"Limits"},fr:{titleLimitsWrapper2:"Limits"},ro:{titleLimitsWrapper2:"Limits"},es:{titleLimitsWrapper2:"Limits"},pt:{titleLimitsWrapper2:"Limits"},hr:{titleLimitsWrapper2:"Ograničenja"},"pt-br":{titleLimitsWrapper2:"Limites"},"es-mx":{titleLimitsWrapper2:"Límites"},tr:{titleLimitsWrapper2:"Sınırlar"},"en-us":{titleLimitsWrapper2:"Limits"},de:{titleLimitsWrapper2:"Begrenzungen"}};if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsPage2Gm16Nd-WCAZ928m.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-page-2-gm16-nd")&&customElements.define("player-account-gaming-limits-page-2-gm16-nd",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsHistory2Nd-mN7Y8aHJ.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-history-2-nd")&&customElements.define("player-account-gaming-limits-history-2-nd",t.element)})}function ae(n){e.append_styles(n,"svelte-1y3c3nw",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.GamingLimitsWrapper{padding:50px;color:var(--emw--pam-color-primary, #22B04E);background-color:var(--emw--pam-color-bg, #F1F1F1);border-radius:var(--emw--border-radius-large, 20px);min-height:1000px;display:flex;flex-direction:column}.GamingLimitsWrapper.GamingLimitsWrapperMobile{padding:20px 15px}.GamingLimitsWrapper.GamingLimitsWrapperMobile .GamingLimitsContent,.GamingLimitsWrapper.GamingLimitsWrapperMobile .PlayerAccountGamingLmitsWrapper2,.GamingLimitsWrapper.GamingLimitsWrapperMobile .LimitsTab{flex-direction:column;width:100%;height:fit-content;padding:5px 0;font-size:10px;margin-right:5px}.GamingLimitsWrapper .GamingLimitsContent{display:flex;flex-direction:row}.GamingLimitsWrapper .LimitsWrapper,.GamingLimitsWrapper .TabsContainer,.GamingLimitsWrapper .LimitsTab{display:flex;flex-direction:column;align-items:center;flex-direction:row}.GamingLimitsWrapper .TabsContainer{height:50px;margin-bottom:12px;cursor:pointer;justify-content:left;color:var(--emw--color-typography-contrast, #444444)}.GamingLimitsWrapper .LimitsTab{font-size:16px;line-height:1.4rem;text-transform:uppercase;padding:10px 40px;background-color:var(--emw--color-grey-150, #C0CBC3);border-radius:var(--emw--border-radius-large, 50px);margin-right:20px}.GamingLimitsWrapper .Selected{color:var(--emw--color-typpgraphy, #FFFFFF);background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C))}.GamingLimitsWrapper .PlayerAccountGamingLmitsWrapper2{margin-bottom:20px;width:65%}.Hidden{display:none}h2{margin:20px 0}.MenuReturnButton{color:var(--emw--pam-color-primary, #22B04E);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, #22B04E)}.GamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, #22B04E);font-weight:400}.GamingLimitsTitleMobile{font-size:16px}')}function I(n,t,i){const s=n.slice();return s[46]=t[i],s[48]=i,s}const re=n=>({}),q=n=>({});function U(n,t,i){const s=n.slice();return s[49]=t[i],s[48]=i,s}function oe(n){let t,i,s,l,o,c,d,r,g,f,m=n[24]("titleLimitsWrapper2")+"",u,_,b;return{c(){t=e.element("div"),i=e.svg_element("svg"),s=e.svg_element("defs"),l=e.svg_element("style"),o=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),c=e.svg_element("g"),d=e.svg_element("g"),r=e.svg_element("path"),g=e.space(),f=e.element("h2"),u=e.text(m),e.attr(r,"class","aaa"),e.attr(r,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(r,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(c,"transform","translate(-20 -158)"),e.attr(i,"xmlns","http://www.w3.org/2000/svg"),e.attr(i,"width","15"),e.attr(i,"height","15"),e.attr(i,"viewBox","0 0 15 15"),e.attr(f,"class","GamingLimitsTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(L,h){e.insert(L,t,h),e.append(t,i),e.append(i,s),e.append(s,l),e.append(l,o),e.append(i,c),e.append(c,d),e.append(d,r),e.append(t,g),e.append(t,f),e.append(f,u),_||(b=e.listen(t,"click",n[35]),_=!0)},p(L,h){h[0]&16777216&&m!==(m=L[24]("titleLimitsWrapper2")+"")&&e.set_data(u,m)},d(L){L&&e.detach(t),_=!1,b()}}}function me(n){let t,i,s,l,o,c=n[25].length>1&&ue(n),d=e.ensure_array_like(n[25]),r=[];for(let m=0;m<d.length;m+=1)r[m]=Z(I(n,d,m));const g=m=>e.transition_out(r[m],1,1,()=>{r[m]=null});let f=n[6]==="true"&&J(n);return{c(){c&&c.c(),t=e.space(),i=e.element("div"),s=e.element("div");for(let m=0;m<r.length;m+=1)r[m].c();l=e.space(),f&&f.c(),e.attr(s,"class","PlayerAccountGamingLmitsWrapper2"),e.attr(i,"class","GamingLimitsContent")},m(m,u){c&&c.m(m,u),e.insert(m,t,u),e.insert(m,i,u),e.append(i,s);for(let _=0;_<r.length;_+=1)r[_]&&r[_].m(s,null);n[38](s),e.append(i,l),f&&f.m(i,null),o=!0},p(m,u){if(m[25].length>1&&c.p(m,u),u[0]&14745023|u[1]&4){d=e.ensure_array_like(m[25]);let _;for(_=0;_<d.length;_+=1){const b=I(m,d,_);r[_]?(r[_].p(b,u),e.transition_in(r[_],1)):(r[_]=Z(b),r[_].c(),e.transition_in(r[_],1),r[_].m(s,null))}for(e.group_outros(),_=d.length;_<r.length;_+=1)g(_);e.check_outros()}m[6]==="true"?f?f.p(m,u):(f=J(m),f.c(),f.m(i,null)):f&&(f.d(1),f=null)},i(m){if(!o){for(let u=0;u<d.length;u+=1)e.transition_in(r[u]);o=!0}},o(m){r=r.filter(Boolean);for(let u=0;u<r.length;u+=1)e.transition_out(r[u]);o=!1},d(m){m&&(e.detach(t),e.detach(i)),c&&c.d(m),e.destroy_each(r,m),n[38](null),f&&f.d()}}}function ce(n){return{c:e.noop,m:e.noop,p:e.noop,i:e.noop,o:e.noop,d:e.noop}}function ue(n){let t,i=e.ensure_array_like(n[25]),s=[];for(let l=0;l<i.length;l+=1)s[l]=V(U(n,i,l));return{c(){t=e.element("div");for(let l=0;l<s.length;l+=1)s[l].c();e.attr(t,"class","TabsContainer")},m(l,o){e.insert(l,t,o);for(let c=0;c<s.length;c+=1)s[c]&&s[c].m(t,null);n[37](t)},p(l,o){if(o[0]&168296448){i=e.ensure_array_like(l[25]);let c;for(c=0;c<i.length;c+=1){const d=U(l,i,c);s[c]?s[c].p(d,o):(s[c]=V(d),s[c].c(),s[c].m(t,null))}for(;c<s.length;c+=1)s[c].d(1);s.length=i.length}},d(l){l&&e.detach(t),e.destroy_each(s,l),n[37](null)}}}function V(n){var d;let t,i=((d=n[19][n[48]])!=null?d:n[49])+"",s,l,o;function c(){return n[36](n[48])}return{c(){t=e.element("div"),s=e.text(i),e.attr(t,"class","LimitsTab")},m(r,g){e.insert(r,t,g),e.append(t,s),l||(o=e.listen(t,"click",c),l=!0)},p(r,g){var f;n=r,g[0]&524288&&i!==(i=((f=n[19][n[48]])!=null?f:n[49])+"")&&e.set_data(s,i)},d(r){r&&e.detach(t),l=!1,o()}}}function _e(n){let t,i,s;return{c(){t=e.element("player-account-gaming-limits-page-2-gm16-nd"),e.set_custom_element_data(t,"class","hidden selected"),e.set_custom_element_data(t,"lang",n[0]),e.set_custom_element_data(t,"currency",n[4]),e.set_custom_element_data(t,"amountsconfig",i=n[21][n[48]]),e.set_custom_element_data(t,"periodsconfig",s=n[22][n[48]]),e.set_custom_element_data(t,"limittabindex",n[48]+1),e.set_custom_element_data(t,"userid",n[1]),e.set_custom_element_data(t,"deletelimit",n[8]),e.set_custom_element_data(t,"enablecompliancetext",n[7]),e.set_custom_element_data(t,"session",n[2]),e.set_custom_element_data(t,"endpoint",n[3]),e.set_custom_element_data(t,"apiversion",n[5]),e.set_custom_element_data(t,"clientstyling",n[12]),e.set_custom_element_data(t,"clientstylingurl",n[13]),e.set_custom_element_data(t,"mbsource",n[15]),e.set_custom_element_data(t,"translationurl",n[14]),e.set_custom_element_data(t,"customcurrencysymbols",n[10]),e.set_custom_element_data(t,"limitformat",n[11])},m(l,o){e.insert(l,t,o)},p(l,o){o[0]&1&&e.set_custom_element_data(t,"lang",l[0]),o[0]&16&&e.set_custom_element_data(t,"currency",l[4]),o[0]&2097152&&i!==(i=l[21][l[48]])&&e.set_custom_element_data(t,"amountsconfig",i),o[0]&4194304&&s!==(s=l[22][l[48]])&&e.set_custom_element_data(t,"periodsconfig",s),o[0]&2&&e.set_custom_element_data(t,"userid",l[1]),o[0]&256&&e.set_custom_element_data(t,"deletelimit",l[8]),o[0]&128&&e.set_custom_element_data(t,"enablecompliancetext",l[7]),o[0]&4&&e.set_custom_element_data(t,"session",l[2]),o[0]&8&&e.set_custom_element_data(t,"endpoint",l[3]),o[0]&32&&e.set_custom_element_data(t,"apiversion",l[5]),o[0]&4096&&e.set_custom_element_data(t,"clientstyling",l[12]),o[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",l[13]),o[0]&32768&&e.set_custom_element_data(t,"mbsource",l[15]),o[0]&16384&&e.set_custom_element_data(t,"translationurl",l[14]),o[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",l[10]),o[0]&2048&&e.set_custom_element_data(t,"limitformat",l[11])},i:e.noop,o:e.noop,d(l){l&&e.detach(t)}}}function fe(n){let t;const i=n[34].customTabContent,s=e.create_slot(i,n,n[33],q);return{c(){s&&s.c()},m(l,o){s&&s.m(l,o),t=!0},p(l,o){s&&s.p&&(!t||o[1]&4)&&e.update_slot_base(s,i,l,l[33],t?e.get_slot_changes(i,l[33],o,re):e.get_all_dirty_from_scope(l[33]),q)},i(l){t||(e.transition_in(s,l),t=!0)},o(l){e.transition_out(s,l),t=!1},d(l){s&&s.d(l)}}}function Z(n){let t,i,s,l;const o=[fe,_e],c=[];function d(r,g){return r[23]===r[48]?0:1}return t=d(n),i=c[t]=o[t](n),{c(){i.c(),s=e.empty()},m(r,g){c[t].m(r,g),e.insert(r,s,g),l=!0},p(r,g){let f=t;t=d(r),t===f?c[t].p(r,g):(e.group_outros(),e.transition_out(c[f],1,1,()=>{c[f]=null}),e.check_outros(),i=c[t],i?i.p(r,g):(i=c[t]=o[t](r),i.c()),e.transition_in(i,1),i.m(s.parentNode,s))},i(r){l||(e.transition_in(i),l=!0)},o(r){e.transition_out(i),l=!1},d(r){r&&e.detach(s),c[t].d(r)}}}function J(n){let t;return{c(){t=e.element("player-account-gaming-limits-history-2-nd"),e.set_custom_element_data(t,"lang",n[0]),e.set_custom_element_data(t,"userid",n[1]),e.set_custom_element_data(t,"session",n[2]),e.set_custom_element_data(t,"endpoint",n[3]),e.set_custom_element_data(t,"apiversion",n[5]),e.set_custom_element_data(t,"numberofentries",n[9]),e.set_custom_element_data(t,"clientstyling",n[12]),e.set_custom_element_data(t,"clientstylingurl",n[13]),e.set_custom_element_data(t,"mbsource",n[15]),e.set_custom_element_data(t,"translationurl",n[14]),e.set_custom_element_data(t,"customcurrencysymbols",n[10]),e.set_custom_element_data(t,"limitformat",n[11])},m(i,s){e.insert(i,t,s)},p(i,s){s[0]&1&&e.set_custom_element_data(t,"lang",i[0]),s[0]&2&&e.set_custom_element_data(t,"userid",i[1]),s[0]&4&&e.set_custom_element_data(t,"session",i[2]),s[0]&8&&e.set_custom_element_data(t,"endpoint",i[3]),s[0]&32&&e.set_custom_element_data(t,"apiversion",i[5]),s[0]&512&&e.set_custom_element_data(t,"numberofentries",i[9]),s[0]&4096&&e.set_custom_element_data(t,"clientstyling",i[12]),s[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",i[13]),s[0]&32768&&e.set_custom_element_data(t,"mbsource",i[15]),s[0]&16384&&e.set_custom_element_data(t,"translationurl",i[14]),s[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",i[10]),s[0]&2048&&e.set_custom_element_data(t,"limitformat",i[11])},d(i){i&&e.detach(t)}}}function de(n){let t,i,s,l,o,c,d,r=n[24]("titleLimitsWrapper2")+"",g,f,m,u,_,b=n[26]&&oe(n);const L=[ce,me],h=[];function C(p,w){return p[16]?0:1}return m=C(n),u=h[m]=L[m](n),{c(){t=e.element("meta"),i=e.space(),s=e.element("div"),l=e.element("div"),o=e.element("div"),b&&b.c(),c=e.space(),d=e.element("h2"),g=e.text(r),f=e.space(),u.c(),e.attr(t,"name","viewport"),e.attr(t,"content","width=device-width, initial-scale=1"),e.attr(d,"class","GamingLimitsTitle "+(n[26]?"Hidden":"")),e.attr(o,"class","TitleSection"),e.attr(l,"class","GamingLimitsWrapper "+(n[26]?"GamingLimitsWrapperMobile":""))},m(p,w){e.append(document.head,t),e.insert(p,i,w),e.insert(p,s,w),e.append(s,l),e.append(l,o),b&&b.m(o,null),e.append(o,c),e.append(o,d),e.append(d,g),e.append(l,f),h[m].m(l,null),n[39](s),_=!0},p(p,w){p[26]&&b.p(p,w),(!_||w[0]&16777216)&&r!==(r=p[24]("titleLimitsWrapper2")+"")&&e.set_data(g,r);let T=m;m=C(p),m===T?h[m].p(p,w):(e.group_outros(),e.transition_out(h[T],1,1,()=>{h[T]=null}),e.check_outros(),u=h[m],u?u.p(p,w):(u=h[m]=L[m](p),u.c()),e.transition_in(u,1),u.m(l,null))},i(p){_||(e.transition_in(u),_=!0)},o(p){e.transition_out(u),_=!1},d(p){p&&(e.detach(i),e.detach(s)),e.detach(t),b&&b.d(),h[m].d(),n[39](null)}}}function ge(n,t,i){let s;e.component_subscribe(n,e.$format,a=>i(24,s=a));let{$$slots:l={},$$scope:o}=t,{lang:c=""}=t,{userid:d=""}=t,{session:r=""}=t,{endpoint:g=""}=t,{currency:f=""}=t,{apiversion:m=""}=t,{tablabels:u=""}=t,{historyenabled:_="true"}=t,{enablecompliancetext:b="false"}=t,{deletelimit:L=""}=t,{limitsamount:h=""}=t,{limitsperiods:C=""}=t,{numberofentries:p=""}=t,{customcurrencysymbols:w=""}=t,{limitformat:T=""}=t,{clientstyling:E=""}=t,{clientstylingurl:M=""}=t,{translationurl:H=""}=t,{mbsource:S}=t,{customcontentontab:G=""}=t;se({withLocale:"en",translations:{}});let B=!0,v,P=[],N,W,k,A,F,Q=window.navigator.userAgent,R=e.getDevice(Q)!=="PC",j=G?Number(G):-1;Object.keys(D).forEach(a=>{le(a,D[a])});const X=(a,y)=>{if(i(21,A=a.replace(/\s/g,"").split("|")),i(22,F=y.replace(/\s/g,"").split("|")),A.length===0)throw new Error("Please provide a full limits configuration.");if(A.length!==F.length)throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.")},Y=()=>{X(h,C),h.split("|").forEach(y=>{P.includes(y)||P.push(y)}),i(19,N=u.split(",").map(y=>y.trim())),i(16,B=!1)},x=()=>{i(23,j=G?Number(G):-1)},z=a=>{if(W.children.length>0)for(let y=0;y<W.children.length;y++)a===y?(W.children[y].classList.remove("Hidden"),k==null||k.children[y].classList.add("Selected")):(W.children[y].classList.add("Hidden"),k==null||k.children[y].classList.remove("Selected"))},O=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:R},window.location.href)};e.onMount(()=>()=>{i(18,W=null),i(20,k=null)});const $=()=>O(),ee=a=>z(a);function te(a){e.binding_callbacks[a?"unshift":"push"](()=>{k=a,i(20,k)})}function ie(a){e.binding_callbacks[a?"unshift":"push"](()=>{W=a,i(18,W)})}function ne(a){e.binding_callbacks[a?"unshift":"push"](()=>{v=a,i(17,v)})}return n.$$set=a=>{"lang"in a&&i(0,c=a.lang),"userid"in a&&i(1,d=a.userid),"session"in a&&i(2,r=a.session),"endpoint"in a&&i(3,g=a.endpoint),"currency"in a&&i(4,f=a.currency),"apiversion"in a&&i(5,m=a.apiversion),"tablabels"in a&&i(29,u=a.tablabels),"historyenabled"in a&&i(6,_=a.historyenabled),"enablecompliancetext"in a&&i(7,b=a.enablecompliancetext),"deletelimit"in a&&i(8,L=a.deletelimit),"limitsamount"in a&&i(30,h=a.limitsamount),"limitsperiods"in a&&i(31,C=a.limitsperiods),"numberofentries"in a&&i(9,p=a.numberofentries),"customcurrencysymbols"in a&&i(10,w=a.customcurrencysymbols),"limitformat"in a&&i(11,T=a.limitformat),"clientstyling"in a&&i(12,E=a.clientstyling),"clientstylingurl"in a&&i(13,M=a.clientstylingurl),"translationurl"in a&&i(14,H=a.translationurl),"mbsource"in a&&i(15,S=a.mbsource),"customcontentontab"in a&&i(32,G=a.customcontentontab),"$$scope"in a&&i(33,o=a.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&536870959&&d&&r&&g&&u&&c&&m&&Y(),n.$$.dirty[1]&2&&G&&x(),n.$$.dirty[0]&327680&&W&&!B&&z(0),n.$$.dirty[0]&135168&&E&&v&&e.setClientStyling(v,E),n.$$.dirty[0]&139264&&M&&v&&e.setClientStylingURL(v,M),n.$$.dirty[0]&163840&&S&&v&&e.setStreamStyling(v,`${S}.Style`)},[c,d,r,g,f,m,_,b,L,p,w,T,E,M,H,S,B,v,W,N,k,A,F,j,s,P,R,z,O,u,h,C,G,o,l,$,ee,te,ie,ne]}class K extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ge,de,e.safe_not_equal,{lang:0,userid:1,session:2,endpoint:3,currency:4,apiversion:5,tablabels:29,historyenabled:6,enablecompliancetext:7,deletelimit:8,limitsamount:30,limitsperiods:31,numberofentries:9,customcurrencysymbols:10,limitformat:11,clientstyling:12,clientstylingurl:13,translationurl:14,mbsource:15,customcontentontab:32},ae,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[2]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[3]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get currency(){return this.$$.ctx[4]}set currency(t){this.$$set({currency:t}),e.flush()}get apiversion(){return this.$$.ctx[5]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get tablabels(){return this.$$.ctx[29]}set tablabels(t){this.$$set({tablabels:t}),e.flush()}get historyenabled(){return this.$$.ctx[6]}set historyenabled(t){this.$$set({historyenabled:t}),e.flush()}get enablecompliancetext(){return this.$$.ctx[7]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),e.flush()}get deletelimit(){return this.$$.ctx[8]}set deletelimit(t){this.$$set({deletelimit:t}),e.flush()}get limitsamount(){return this.$$.ctx[30]}set limitsamount(t){this.$$set({limitsamount:t}),e.flush()}get limitsperiods(){return this.$$.ctx[31]}set limitsperiods(t){this.$$set({limitsperiods:t}),e.flush()}get numberofentries(){return this.$$.ctx[9]}set numberofentries(t){this.$$set({numberofentries:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[10]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get limitformat(){return this.$$.ctx[11]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[15]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get customcontentontab(){return this.$$.ctx[32]}set customcontentontab(t){this.$$set({customcontentontab:t}),e.flush()}}e.create_custom_element(K,{lang:{},userid:{},session:{},endpoint:{},currency:{},apiversion:{},tablabels:{},historyenabled:{},enablecompliancetext:{},deletelimit:{},limitsamount:{},limitsperiods:{},numberofentries:{},customcurrencysymbols:{},limitformat:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{},customcontentontab:{}},["customTabContent"],[],!0);exports.default=K;
@@ -57,7 +57,7 @@ if (typeof window < "u") {
57
57
  }
58
58
  };
59
59
  };
60
- customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsPage2Gm16Nd-Bx_23ENa.js").then(
60
+ customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsPage2Gm16Nd-Bmd_NwHD.js").then(
61
61
  ({ default: e }) => {
62
62
  !customElements.get("player-account-gaming-limits-page-2-gm16-nd") && customElements.define(
63
63
  "player-account-gaming-limits-page-2-gm16-nd",
@@ -57,7 +57,7 @@ if (typeof window != "undefined") {
57
57
  }
58
58
  };
59
59
  };
60
- customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsPage2Gm16Nd-Bm7JmMjW.js").then(
60
+ customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsPage2Gm16Nd-Ca3ZUJWk.js").then(
61
61
  ({ default: e }) => {
62
62
  !customElements.get("player-account-gaming-limits-page-2-gm16-nd") && customElements.define(
63
63
  "player-account-gaming-limits-page-2-gm16-nd",
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CneHnHyh.cjs");require("../stencil/ui-skeleton-BAxmxOly.cjs");function B(a,t){e.addMessages(a,t)}function K(a){e.$locale.set(a)}const H={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"},"en-us":{title:"My Account"}};if(typeof window!="undefined"){let a=function(t){return function(...n){try{return t.apply(this,n)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./GeneralLogout-CneHnHyh.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function Y(a){e.append_styles(a,"svelte-7x6kyy",'.PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;padding:0 15px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%;border-radius:20px;overflow:hidden}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:var(--emw--font-size-small, 14px);text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:var(--emw--font-size-medium, 16px);line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;border-radius:var(--emw--border-radius-medium, 20px);border:2px solid transparent;cursor:pointer;transition:all 0.3s linear}.PlayerAccountMenuItemBox:hover{transition:all 0.3s linear;background:rgba(35, 176, 78, 0.3);border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{padding:5px;width:100%;box-sizing:border-box}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 20px);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);transition:all 0.3s linear}.PlayerAccountMobileContainer{height:unset;padding:0}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:flex;flex-direction:column;align-items:flex-start;margin:0px 15px;min-height:900px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);height:60px;margin:5px 0;align-items:flex-start;position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding:0 10px 0 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox::after{content:"";display:inline-block;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cdefs%3E%3Cstyle%3E.aaa%7Bfill:var(--emw--color-white,%20%23FFFFFF);%7D%3C/style%3E%3C/defs%3E%3Cg transform=%22translate(-20%20-158)%22%3E%3Cg transform=%22translate(20%20158)%22%3E%3Cpath class=%22aaa%22 d=%22M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z%22 transform=%22translate(15%2015)%20rotate(180)%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;transform:scaleX(-1);background-repeat:no-repeat;position:absolute;right:15px;top:22px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;justify-items:center;align-items:center;flex-flow:row;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-medium, 16px);line-height:16px;font-weight:400;word-break:break-word;text-align:left;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px;color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:18px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon,.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:12px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-large, 20px)}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function z(a,t,n){const l=a.slice();return l[41]=t[n],l}function W(a,t,n){const l=a.slice();return l[38]=t[n],l}function $(a){let t,n,l,o,s,m,y,h,A,_,f,b,u=a[12]&&te(a),c=a[12]&&ne(a),d=e.ensure_array_like(a[7]),i=[];for(let p=0;p<d.length;p+=1)i[p]=S(z(a,d,p));let P=!a[12]&&ae(a);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),l=e.space(),o=e.element("p"),s=e.text(a[9]),m=e.space(),y=e.element("p"),h=e.text(a[10]),A=e.space(),c&&c.c(),_=e.space(),f=e.element("div");for(let p=0;p<i.length;p+=1)i[p].c();b=e.space(),P&&P.c(),e.attr(o,"class","PlayerAccountMenuUser"),e.attr(y,"class","PlayerAccountMenuEmail"),e.attr(n,"class","PlayerAccountMenuHeader "+(a[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(f,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(a[12]?"PlayerAccountMobileContainer":"")+" "+(a[13].matches&&a[12]?"PlayerAccountTabletContainer":""))},m(p,w){e.insert(p,t,w),e.append(t,n),u&&u.m(n,null),e.append(n,l),e.append(n,o),e.append(o,s),e.append(n,m),e.append(n,y),e.append(y,h),e.append(n,A),c&&c.m(n,null),e.append(t,_),e.append(t,f);for(let g=0;g<i.length;g+=1)i[g]&&i[g].m(f,null);e.append(t,b),P&&P.m(t,null)},p(p,w){if(p[12]&&u.p(p,w),w[0]&512&&e.set_data(s,p[9]),w[0]&1024&&e.set_data(h,p[10]),p[12]&&c.p(p,w),w[0]&20864){d=e.ensure_array_like(p[7]);let g;for(g=0;g<d.length;g+=1){const x=z(p,d,g);i[g]?i[g].p(x,w):(i[g]=S(x),i[g].c(),i[g].m(f,null))}for(;g<i.length;g+=1)i[g].d(1);i.length=d.length}p[12]||P.p(p,w)},d(p){p&&e.detach(t),u&&u.d(),c&&c.d(),e.destroy_each(i,p),P&&P.d()}}}function ee(a){let t,n,l,o,s,m,y,h,A,_,f=a[12]&&le(),b=e.ensure_array_like(Array(18)),u=[];for(let c=0;c<b.length;c+=1)u[c]=O(W(a,b,c));return{c(){t=e.element("div"),n=e.element("div"),f&&f.c(),l=e.space(),o=e.element("ui-skeleton"),s=e.space(),m=e.element("ui-skeleton"),y=e.space(),h=e.element("div");for(let c=0;c<u.length;c+=1)u[c].c();A=e.space(),_=e.element("div"),_.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(o,"structure","title"),e.set_custom_element_data(o,"width","100px"),e.set_custom_element_data(o,"height","20px"),e.set_custom_element_data(o,"margin-top","20px"),e.set_custom_element_data(m,"structure","text"),e.set_custom_element_data(m,"width","200px"),e.set_custom_element_data(m,"height","20px"),e.attr(n,"class","PlayerAccountMenuHeader "+(a[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(h,"class","PlayerAccountMenuList"),e.attr(_,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(a[12]?"PlayerAccountMobileContainer":"")+" "+(a[13].matches&&a[12]?"PlayerAccountTabletContainer":""))},m(c,d){e.insert(c,t,d),e.append(t,n),f&&f.m(n,null),e.append(n,l),e.append(n,o),e.append(n,s),e.append(n,m),e.append(t,y),e.append(t,h);for(let i=0;i<u.length;i+=1)u[i]&&u[i].m(h,null);e.append(t,A),e.append(t,_)},p(c,d){if(d[0]&4096){b=e.ensure_array_like(Array(18));let i;for(i=0;i<b.length;i+=1){const P=W(c,b,i);u[i]?u[i].p(P,d):(u[i]=O(P),u[i].c(),u[i].m(h,null))}for(;i<u.length;i+=1)u[i].d(1);u.length=b.length}},d(c){c&&e.detach(t),f&&f.d(),e.destroy_each(u,c)}}}function te(a){let t,n,l,o,s,m,y,h,A,_,f=a[11]("title")+"",b,u,c;return{c(){t=e.element("div"),n=e.svg_element("svg"),l=e.svg_element("defs"),o=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),y=e.svg_element("g"),h=e.svg_element("path"),A=e.space(),_=e.element("h3"),b=e.text(f),e.attr(h,"class","aaa"),e.attr(h,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(h,"transform","translate(15 15) rotate(180)"),e.attr(y,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(_,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(d,i){e.insert(d,t,i),e.append(t,n),e.append(n,l),e.append(l,o),e.append(o,s),e.append(n,m),e.append(m,y),e.append(y,h),e.append(t,A),e.append(t,_),e.append(_,b),u||(c=[e.listen(n,"click",a[15]),e.listen(_,"click",a[15])],u=!0)},p(d,i){i[0]&2048&&f!==(f=d[11]("title")+"")&&e.set_data(b,f)},d(d){d&&e.detach(t),u=!1,e.run_all(c)}}}function ne(a){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",a[1]),e.set_custom_element_data(n,"session",a[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",a[2]),e.set_custom_element_data(n,"clientstylingurl",a[3]),e.set_custom_element_data(n,"mbsource",a[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(l,o){e.insert(l,t,o),e.append(t,n)},p(l,o){o[0]&2&&e.set_custom_element_data(n,"endpoint",l[1]),o[0]&1&&e.set_custom_element_data(n,"session",l[0]),o[0]&4&&e.set_custom_element_data(n,"clientstyling",l[2]),o[0]&8&&e.set_custom_element_data(n,"clientstylingurl",l[3]),o[0]&16&&e.set_custom_element_data(n,"mbsource",l[4])},d(l){l&&e.detach(t)}}}function S(a){let t,n,l,o,s,m,y=a[41].label+"",h,A,_,f,b;function u(){return a[26](a[41])}return{c(){t=e.element("div"),n=e.element("p"),l=e.element("img"),s=e.space(),m=e.element("span"),h=e.text(y),A=e.space(),e.attr(l,"class","PlayerAccountMenuItemIcon "+(a[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(l.src,o=a[41].img)||e.attr(l,"src",o),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",_="PlayerAccountMenuItemBox "+(a[8]===a[41].id&&!a[12]?"PlayerAccountMenuActiveItemBox":""))},m(c,d){e.insert(c,t,d),e.append(t,n),e.append(n,l),e.append(n,s),e.append(n,m),e.append(m,h),e.append(t,A),f||(b=e.listen(t,"click",u),f=!0)},p(c,d){a=c,d[0]&128&&!e.src_url_equal(l.src,o=a[41].img)&&e.attr(l,"src",o),d[0]&128&&y!==(y=a[41].label+"")&&e.set_data(h,y),d[0]&384&&_!==(_="PlayerAccountMenuItemBox "+(a[8]===a[41].id&&!a[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),f=!1,b()}}}function ae(a){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",a[1]),e.set_custom_element_data(n,"session",a[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",a[2]),e.set_custom_element_data(n,"clientstylingurl",a[3]),e.set_custom_element_data(n,"mbsource",a[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(l,o){e.insert(l,t,o),e.append(t,n)},p(l,o){o[0]&2&&e.set_custom_element_data(n,"endpoint",l[1]),o[0]&1&&e.set_custom_element_data(n,"session",l[0]),o[0]&4&&e.set_custom_element_data(n,"clientstyling",l[2]),o[0]&8&&e.set_custom_element_data(n,"clientstylingurl",l[3]),o[0]&16&&e.set_custom_element_data(n,"mbsource",l[4])},d(l){l&&e.detach(t)}}}function le(a){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="30px" height="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></ui-skeleton>',e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(n,l){e.insert(n,t,l)},d(n){n&&e.detach(t)}}}function re(a){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","circle"),e.set_custom_element_data(t,"size","20px")},m(n,l){e.insert(n,t,l)},d(n){n&&e.detach(t)}}}function O(a){let t,n,l,o,s=!a[12]&&re();return{c(){t=e.element("div"),s&&s.c(),n=e.space(),l=e.element("ui-skeleton"),o=e.space(),e.set_custom_element_data(l,"structure","rectangle"),e.set_custom_element_data(l,"width","100%"),e.set_custom_element_data(l,"height",a[12]?"60px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(a[12]?"PlayerAccountItemWrapMobile":""))},m(m,y){e.insert(m,t,y),s&&s.m(t,null),e.append(t,n),e.append(t,l),e.append(t,o)},p:e.noop,d(m){m&&e.detach(t),s&&s.d()}}}function oe(a){let t;function n(s,m){return s[6]?ee:$}let l=n(a),o=l(a);return{c(){t=e.element("div"),o.c()},m(s,m){e.insert(s,t,m),o.m(t,null),a[27](t)},p(s,m){l===(l=n(s))&&o?o.p(s,m):(o.d(1),o=l(s),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),o.d(),a[27](null)}}}function ie(a,t,n){let l;e.component_subscribe(a,e.$format,r=>n(11,l=r));let{endpoint:o=""}=t,{cmsendpoint:s=""}=t,{env:m=""}=t,{session:y=""}=t,{playerid:h=""}=t,{lang:A="en"}=t,{selecteditem:_=""}=t,{userroles:f=""}=t,{clientstyling:b=""}=t,{clientstylingurl:u=""}=t,{mbsource:c}=t,{translationurl:d=""}=t,{activemenuitem:i=""}=t,P=!1,p=!1,w=!0,g,x=[],k,C=window.navigator.userAgent,U=e.getDevice(C)!=="PC",I="",F="";const j=window.matchMedia("(min-width: 768px)"),q=()=>{fetch(d).then(M=>M.json()).then(M=>{Object.keys(M).forEach(v=>{B(v,M[v])})}).catch(M=>{console.error(M)})};Object.keys(H).forEach(r=>{B(r,H[r])});const L=r=>{if(r.data)switch(r.data.type){case"AccountMenuDetails":availableMenuItemsArray=r.data.accountMenuInfo;break;case"UserSessionID":n(0,y=r.data.session);break}},R=()=>{let r=e.getDevice(C);if(r)return r==="PC"?"dk":"mtWeb"},G=()=>{const r=new URL(`${s}/${A}/profile-menu?env=${m}`);r.searchParams.append("device",R()),fetch(r.href).then(M=>M.json()).then(M=>{n(7,x=M),T()}).catch(M=>{console.error("Error getting menu items",M)}).finally(()=>{n(24,P=!0)})},N=()=>{let r=new URL(`${o}/v1/player/${h}/profile`);r.searchParams.append("userRoles",f);let M={method:"GET",headers:{"X-SessionID":y}};fetch(r.href,M).then(v=>v.json()).then(v=>{n(9,I=v.username),n(10,F=v.email)},v=>{console.error(v)}).finally(()=>{n(25,p=!0)})},E=r=>{window.postMessage({type:"ChangeAccountPage",page:r},window.location.href),n(8,k=r.id)},T=()=>{var r;n(8,k=(r=x.find(M=>M.path.includes(i)))==null?void 0:r.id)},V=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},X=()=>{K(A)},Z=()=>{N()};e.onMount(()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)}));const Q=r=>E(r);function J(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,n(5,g)})}return a.$$set=r=>{"endpoint"in r&&n(1,o=r.endpoint),"cmsendpoint"in r&&n(16,s=r.cmsendpoint),"env"in r&&n(17,m=r.env),"session"in r&&n(0,y=r.session),"playerid"in r&&n(18,h=r.playerid),"lang"in r&&n(19,A=r.lang),"selecteditem"in r&&n(20,_=r.selecteditem),"userroles"in r&&n(21,f=r.userroles),"clientstyling"in r&&n(2,b=r.clientstyling),"clientstylingurl"in r&&n(3,u=r.clientstylingurl),"mbsource"in r&&n(4,c=r.mbsource),"translationurl"in r&&n(22,d=r.translationurl),"activemenuitem"in r&&n(23,i=r.activemenuitem)},a.$$.update=()=>{a.$$.dirty[0]&50331648&&n(6,w=!P||!p),a.$$.dirty[0]&524288&&A&&X(),a.$$.dirty[0]&786435&&o&&y&&h&&A&&Z(),a.$$.dirty[0]&720896&&s&&A&&m&&G(),a.$$.dirty[0]&8388608&&i&&T(),a.$$.dirty[0]&36&&b&&g&&e.setClientStyling(g,b),a.$$.dirty[0]&40&&u&&g&&e.setClientStylingURL(g,u),a.$$.dirty[0]&48&&c&&g&&e.setStreamStyling(g,`${c}.Style`),a.$$.dirty[0]&4194304&&d&&q()},[y,o,b,u,c,g,w,x,k,I,F,l,U,j,E,V,s,m,h,A,_,f,d,i,P,p,Q,J]}class D extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ie,oe,e.safe_not_equal,{endpoint:1,cmsendpoint:16,env:17,session:0,playerid:18,lang:19,selecteditem:20,userroles:21,clientstyling:2,clientstylingurl:3,mbsource:4,translationurl:22,activemenuitem:23},Y,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[16]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[17]}set env(t){this.$$set({env:t}),e.flush()}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[18]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[19]}set lang(t){this.$$set({lang:t}),e.flush()}get selecteditem(){return this.$$.ctx[20]}set selecteditem(t){this.$$set({selecteditem:t}),e.flush()}get userroles(){return this.$$.ctx[21]}set userroles(t){this.$$set({userroles:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[22]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[23]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}}e.create_custom_element(D,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},selecteditem:{},userroles:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},activemenuitem:{}},[],[],!0);exports.default=D;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CneHnHyh.cjs");require("../stencil/ui-skeleton-BmY9tNCz.cjs");function B(a,t){e.addMessages(a,t)}function K(a){e.$locale.set(a)}const H={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"},"en-us":{title:"My Account"}};if(typeof window!="undefined"){let a=function(t){return function(...n){try{return t.apply(this,n)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./GeneralLogout-CneHnHyh.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function Y(a){e.append_styles(a,"svelte-7x6kyy",'.PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;padding:0 15px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%;border-radius:20px;overflow:hidden}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:var(--emw--font-size-small, 14px);text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:var(--emw--font-size-medium, 16px);line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;border-radius:var(--emw--border-radius-medium, 20px);border:2px solid transparent;cursor:pointer;transition:all 0.3s linear}.PlayerAccountMenuItemBox:hover{transition:all 0.3s linear;background:rgba(35, 176, 78, 0.3);border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{padding:5px;width:100%;box-sizing:border-box}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 20px);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);transition:all 0.3s linear}.PlayerAccountMobileContainer{height:unset;padding:0}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:flex;flex-direction:column;align-items:flex-start;margin:0px 15px;min-height:900px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);height:60px;margin:5px 0;align-items:flex-start;position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding:0 10px 0 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox::after{content:"";display:inline-block;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cdefs%3E%3Cstyle%3E.aaa%7Bfill:var(--emw--color-white,%20%23FFFFFF);%7D%3C/style%3E%3C/defs%3E%3Cg transform=%22translate(-20%20-158)%22%3E%3Cg transform=%22translate(20%20158)%22%3E%3Cpath class=%22aaa%22 d=%22M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z%22 transform=%22translate(15%2015)%20rotate(180)%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;transform:scaleX(-1);background-repeat:no-repeat;position:absolute;right:15px;top:22px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;justify-items:center;align-items:center;flex-flow:row;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-medium, 16px);line-height:16px;font-weight:400;word-break:break-word;text-align:left;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px;color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:18px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon,.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:12px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-large, 20px)}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function z(a,t,n){const l=a.slice();return l[41]=t[n],l}function W(a,t,n){const l=a.slice();return l[38]=t[n],l}function $(a){let t,n,l,o,s,m,y,h,A,_,f,b,u=a[12]&&te(a),c=a[12]&&ne(a),d=e.ensure_array_like(a[7]),i=[];for(let p=0;p<d.length;p+=1)i[p]=S(z(a,d,p));let P=!a[12]&&ae(a);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),l=e.space(),o=e.element("p"),s=e.text(a[9]),m=e.space(),y=e.element("p"),h=e.text(a[10]),A=e.space(),c&&c.c(),_=e.space(),f=e.element("div");for(let p=0;p<i.length;p+=1)i[p].c();b=e.space(),P&&P.c(),e.attr(o,"class","PlayerAccountMenuUser"),e.attr(y,"class","PlayerAccountMenuEmail"),e.attr(n,"class","PlayerAccountMenuHeader "+(a[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(f,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(a[12]?"PlayerAccountMobileContainer":"")+" "+(a[13].matches&&a[12]?"PlayerAccountTabletContainer":""))},m(p,w){e.insert(p,t,w),e.append(t,n),u&&u.m(n,null),e.append(n,l),e.append(n,o),e.append(o,s),e.append(n,m),e.append(n,y),e.append(y,h),e.append(n,A),c&&c.m(n,null),e.append(t,_),e.append(t,f);for(let g=0;g<i.length;g+=1)i[g]&&i[g].m(f,null);e.append(t,b),P&&P.m(t,null)},p(p,w){if(p[12]&&u.p(p,w),w[0]&512&&e.set_data(s,p[9]),w[0]&1024&&e.set_data(h,p[10]),p[12]&&c.p(p,w),w[0]&20864){d=e.ensure_array_like(p[7]);let g;for(g=0;g<d.length;g+=1){const x=z(p,d,g);i[g]?i[g].p(x,w):(i[g]=S(x),i[g].c(),i[g].m(f,null))}for(;g<i.length;g+=1)i[g].d(1);i.length=d.length}p[12]||P.p(p,w)},d(p){p&&e.detach(t),u&&u.d(),c&&c.d(),e.destroy_each(i,p),P&&P.d()}}}function ee(a){let t,n,l,o,s,m,y,h,A,_,f=a[12]&&le(),b=e.ensure_array_like(Array(18)),u=[];for(let c=0;c<b.length;c+=1)u[c]=O(W(a,b,c));return{c(){t=e.element("div"),n=e.element("div"),f&&f.c(),l=e.space(),o=e.element("ui-skeleton"),s=e.space(),m=e.element("ui-skeleton"),y=e.space(),h=e.element("div");for(let c=0;c<u.length;c+=1)u[c].c();A=e.space(),_=e.element("div"),_.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(o,"structure","title"),e.set_custom_element_data(o,"width","100px"),e.set_custom_element_data(o,"height","20px"),e.set_custom_element_data(o,"margin-top","20px"),e.set_custom_element_data(m,"structure","text"),e.set_custom_element_data(m,"width","200px"),e.set_custom_element_data(m,"height","20px"),e.attr(n,"class","PlayerAccountMenuHeader "+(a[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(h,"class","PlayerAccountMenuList"),e.attr(_,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(a[12]?"PlayerAccountMobileContainer":"")+" "+(a[13].matches&&a[12]?"PlayerAccountTabletContainer":""))},m(c,d){e.insert(c,t,d),e.append(t,n),f&&f.m(n,null),e.append(n,l),e.append(n,o),e.append(n,s),e.append(n,m),e.append(t,y),e.append(t,h);for(let i=0;i<u.length;i+=1)u[i]&&u[i].m(h,null);e.append(t,A),e.append(t,_)},p(c,d){if(d[0]&4096){b=e.ensure_array_like(Array(18));let i;for(i=0;i<b.length;i+=1){const P=W(c,b,i);u[i]?u[i].p(P,d):(u[i]=O(P),u[i].c(),u[i].m(h,null))}for(;i<u.length;i+=1)u[i].d(1);u.length=b.length}},d(c){c&&e.detach(t),f&&f.d(),e.destroy_each(u,c)}}}function te(a){let t,n,l,o,s,m,y,h,A,_,f=a[11]("title")+"",b,u,c;return{c(){t=e.element("div"),n=e.svg_element("svg"),l=e.svg_element("defs"),o=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),y=e.svg_element("g"),h=e.svg_element("path"),A=e.space(),_=e.element("h3"),b=e.text(f),e.attr(h,"class","aaa"),e.attr(h,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(h,"transform","translate(15 15) rotate(180)"),e.attr(y,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(_,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(d,i){e.insert(d,t,i),e.append(t,n),e.append(n,l),e.append(l,o),e.append(o,s),e.append(n,m),e.append(m,y),e.append(y,h),e.append(t,A),e.append(t,_),e.append(_,b),u||(c=[e.listen(n,"click",a[15]),e.listen(_,"click",a[15])],u=!0)},p(d,i){i[0]&2048&&f!==(f=d[11]("title")+"")&&e.set_data(b,f)},d(d){d&&e.detach(t),u=!1,e.run_all(c)}}}function ne(a){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",a[1]),e.set_custom_element_data(n,"session",a[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",a[2]),e.set_custom_element_data(n,"clientstylingurl",a[3]),e.set_custom_element_data(n,"mbsource",a[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(l,o){e.insert(l,t,o),e.append(t,n)},p(l,o){o[0]&2&&e.set_custom_element_data(n,"endpoint",l[1]),o[0]&1&&e.set_custom_element_data(n,"session",l[0]),o[0]&4&&e.set_custom_element_data(n,"clientstyling",l[2]),o[0]&8&&e.set_custom_element_data(n,"clientstylingurl",l[3]),o[0]&16&&e.set_custom_element_data(n,"mbsource",l[4])},d(l){l&&e.detach(t)}}}function S(a){let t,n,l,o,s,m,y=a[41].label+"",h,A,_,f,b;function u(){return a[26](a[41])}return{c(){t=e.element("div"),n=e.element("p"),l=e.element("img"),s=e.space(),m=e.element("span"),h=e.text(y),A=e.space(),e.attr(l,"class","PlayerAccountMenuItemIcon "+(a[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(l.src,o=a[41].img)||e.attr(l,"src",o),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",_="PlayerAccountMenuItemBox "+(a[8]===a[41].id&&!a[12]?"PlayerAccountMenuActiveItemBox":""))},m(c,d){e.insert(c,t,d),e.append(t,n),e.append(n,l),e.append(n,s),e.append(n,m),e.append(m,h),e.append(t,A),f||(b=e.listen(t,"click",u),f=!0)},p(c,d){a=c,d[0]&128&&!e.src_url_equal(l.src,o=a[41].img)&&e.attr(l,"src",o),d[0]&128&&y!==(y=a[41].label+"")&&e.set_data(h,y),d[0]&384&&_!==(_="PlayerAccountMenuItemBox "+(a[8]===a[41].id&&!a[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),f=!1,b()}}}function ae(a){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",a[1]),e.set_custom_element_data(n,"session",a[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",a[2]),e.set_custom_element_data(n,"clientstylingurl",a[3]),e.set_custom_element_data(n,"mbsource",a[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(l,o){e.insert(l,t,o),e.append(t,n)},p(l,o){o[0]&2&&e.set_custom_element_data(n,"endpoint",l[1]),o[0]&1&&e.set_custom_element_data(n,"session",l[0]),o[0]&4&&e.set_custom_element_data(n,"clientstyling",l[2]),o[0]&8&&e.set_custom_element_data(n,"clientstylingurl",l[3]),o[0]&16&&e.set_custom_element_data(n,"mbsource",l[4])},d(l){l&&e.detach(t)}}}function le(a){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="30px" height="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></ui-skeleton>',e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(n,l){e.insert(n,t,l)},d(n){n&&e.detach(t)}}}function re(a){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","circle"),e.set_custom_element_data(t,"size","20px")},m(n,l){e.insert(n,t,l)},d(n){n&&e.detach(t)}}}function O(a){let t,n,l,o,s=!a[12]&&re();return{c(){t=e.element("div"),s&&s.c(),n=e.space(),l=e.element("ui-skeleton"),o=e.space(),e.set_custom_element_data(l,"structure","rectangle"),e.set_custom_element_data(l,"width","100%"),e.set_custom_element_data(l,"height",a[12]?"60px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(a[12]?"PlayerAccountItemWrapMobile":""))},m(m,y){e.insert(m,t,y),s&&s.m(t,null),e.append(t,n),e.append(t,l),e.append(t,o)},p:e.noop,d(m){m&&e.detach(t),s&&s.d()}}}function oe(a){let t;function n(s,m){return s[6]?ee:$}let l=n(a),o=l(a);return{c(){t=e.element("div"),o.c()},m(s,m){e.insert(s,t,m),o.m(t,null),a[27](t)},p(s,m){l===(l=n(s))&&o?o.p(s,m):(o.d(1),o=l(s),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),o.d(),a[27](null)}}}function ie(a,t,n){let l;e.component_subscribe(a,e.$format,r=>n(11,l=r));let{endpoint:o=""}=t,{cmsendpoint:s=""}=t,{env:m=""}=t,{session:y=""}=t,{playerid:h=""}=t,{lang:A="en"}=t,{selecteditem:_=""}=t,{userroles:f=""}=t,{clientstyling:b=""}=t,{clientstylingurl:u=""}=t,{mbsource:c}=t,{translationurl:d=""}=t,{activemenuitem:i=""}=t,P=!1,p=!1,w=!0,g,x=[],k,C=window.navigator.userAgent,U=e.getDevice(C)!=="PC",I="",F="";const j=window.matchMedia("(min-width: 768px)"),q=()=>{fetch(d).then(M=>M.json()).then(M=>{Object.keys(M).forEach(v=>{B(v,M[v])})}).catch(M=>{console.error(M)})};Object.keys(H).forEach(r=>{B(r,H[r])});const L=r=>{if(r.data)switch(r.data.type){case"AccountMenuDetails":availableMenuItemsArray=r.data.accountMenuInfo;break;case"UserSessionID":n(0,y=r.data.session);break}},R=()=>{let r=e.getDevice(C);if(r)return r==="PC"?"dk":"mtWeb"},G=()=>{const r=new URL(`${s}/${A}/profile-menu?env=${m}`);r.searchParams.append("device",R()),fetch(r.href).then(M=>M.json()).then(M=>{n(7,x=M),T()}).catch(M=>{console.error("Error getting menu items",M)}).finally(()=>{n(24,P=!0)})},N=()=>{let r=new URL(`${o}/v1/player/${h}/profile`);r.searchParams.append("userRoles",f);let M={method:"GET",headers:{"X-SessionID":y}};fetch(r.href,M).then(v=>v.json()).then(v=>{n(9,I=v.username),n(10,F=v.email)},v=>{console.error(v)}).finally(()=>{n(25,p=!0)})},E=r=>{window.postMessage({type:"ChangeAccountPage",page:r},window.location.href),n(8,k=r.id)},T=()=>{var r;n(8,k=(r=x.find(M=>M.path.includes(i)))==null?void 0:r.id)},V=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},X=()=>{K(A)},Z=()=>{N()};e.onMount(()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)}));const Q=r=>E(r);function J(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,n(5,g)})}return a.$$set=r=>{"endpoint"in r&&n(1,o=r.endpoint),"cmsendpoint"in r&&n(16,s=r.cmsendpoint),"env"in r&&n(17,m=r.env),"session"in r&&n(0,y=r.session),"playerid"in r&&n(18,h=r.playerid),"lang"in r&&n(19,A=r.lang),"selecteditem"in r&&n(20,_=r.selecteditem),"userroles"in r&&n(21,f=r.userroles),"clientstyling"in r&&n(2,b=r.clientstyling),"clientstylingurl"in r&&n(3,u=r.clientstylingurl),"mbsource"in r&&n(4,c=r.mbsource),"translationurl"in r&&n(22,d=r.translationurl),"activemenuitem"in r&&n(23,i=r.activemenuitem)},a.$$.update=()=>{a.$$.dirty[0]&50331648&&n(6,w=!P||!p),a.$$.dirty[0]&524288&&A&&X(),a.$$.dirty[0]&786435&&o&&y&&h&&A&&Z(),a.$$.dirty[0]&720896&&s&&A&&m&&G(),a.$$.dirty[0]&8388608&&i&&T(),a.$$.dirty[0]&36&&b&&g&&e.setClientStyling(g,b),a.$$.dirty[0]&40&&u&&g&&e.setClientStylingURL(g,u),a.$$.dirty[0]&48&&c&&g&&e.setStreamStyling(g,`${c}.Style`),a.$$.dirty[0]&4194304&&d&&q()},[y,o,b,u,c,g,w,x,k,I,F,l,U,j,E,V,s,m,h,A,_,f,d,i,P,p,Q,J]}class D extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ie,oe,e.safe_not_equal,{endpoint:1,cmsendpoint:16,env:17,session:0,playerid:18,lang:19,selecteditem:20,userroles:21,clientstyling:2,clientstylingurl:3,mbsource:4,translationurl:22,activemenuitem:23},Y,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[16]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[17]}set env(t){this.$$set({env:t}),e.flush()}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[18]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[19]}set lang(t){this.$$set({lang:t}),e.flush()}get selecteditem(){return this.$$.ctx[20]}set selecteditem(t){this.$$set({selecteditem:t}),e.flush()}get userroles(){return this.$$.ctx[21]}set userroles(t){this.$$set({userroles:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[22]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[23]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}}e.create_custom_element(D,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},selecteditem:{},userroles:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},activemenuitem:{}},[],[],!0);exports.default=D;
@@ -1,5 +1,5 @@
1
1
  import { a as de, $ as ge, S as ye, i as pe, f as C, s as fe, A as he, b as Ae, n as O, d as F, g as L, j as h, p as be, q as V, u as Me, w as Pe, O as H, P as ee, h as a, k, e as m, o as g, c as W, m as z, r as we, l as D, v as T, a1 as X, B as ve, x as xe, y as _e, z as ke } from "./GeneralLogout-B1UITWhm.js";
2
- import "../stencil/ui-skeleton-BnjJK_-z.js";
2
+ import "../stencil/ui-skeleton-cMJY5_hV.js";
3
3
  function Z(n, e) {
4
4
  de(n, e);
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import { a as de, $ as ge, S as ye, i as pe, s as fe, f as C, b as he, n as O, d as F, g as L, j as h, p as Ae, q as V, u as be, w as Me, O as H, P as ee, h as a, k, e as m, o as g, c as W, m as z, r as Pe, l as D, v as T, a1 as X, x as we, y as ve, z as xe, A as _e, B as ke } from "./GeneralLogout-C3QgNPRK.js";
2
- import "../stencil/ui-skeleton-BCpuJt-t.js";
2
+ import "../stencil/ui-skeleton-B5HKWUZZ.js";
3
3
  function Z(n, e) {
4
4
  de(n, e);
5
5
  }
@@ -0,0 +1,372 @@
1
+ import { S as O, i as Q, s as V, f as _, b as Y, n as v, d as k, g as P, j as g, q as M, u as G, w as J, O as T, P as L, h as p, o as h, k as C, a1 as B, e as f, c as K, Y as H, m as X, x as Z, y as $, z as tt, A as et } from "./GeneralLogout-C3QgNPRK.js";
2
+ import "../stencil/ui-image-SmL79gLQ.js";
3
+ import "../stencil/ui-skeleton-B5HKWUZZ.js";
4
+ function it(a) {
5
+ Y(a, "svelte-yka2kr", ':host{padding:0;margin:0;font-family:inherit}.PlayerAccountNotificationsContainer{padding:0 5px;display:grid;grid-gap:20px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountNotificationBox{display:block;padding:10px;border-radius:5px;width:100%;background:var(--emw--color-gray-300, #58586B);color:var(--emw--color-white, #FFFFFF);box-sizing:border-box;text-decoration:none;word-break:break-word;word-wrap:break-word;overflow-wrap:anywhere;white-space:normal}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}.skeletonContainer{container-type:inline-size}.skeletonContainer .skeletonWrapper{animation:fadeIn ease 0.3s}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@container (max-width: 425px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:20px;padding:0px 10px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
6
+ }
7
+ function S(a, t, n) {
8
+ const e = a.slice();
9
+ return e[24] = t[n], e;
10
+ }
11
+ function z(a, t, n) {
12
+ const e = a.slice();
13
+ return e[21] = t[n], e;
14
+ }
15
+ function nt(a) {
16
+ let t, n = T(
17
+ /*notificationsData*/
18
+ a[1]
19
+ ), e = [];
20
+ for (let i = 0; i < n.length; i += 1)
21
+ e[i] = W(S(a, n, i));
22
+ return {
23
+ c() {
24
+ t = g("div");
25
+ for (let i = 0; i < e.length; i += 1)
26
+ e[i].c();
27
+ h(t, "class", "PlayerAccountNotificationsContainer " + /*isMobile*/
28
+ (a[3] && /*mediaQuery*/
29
+ a[4].matches ? "PlayerAccountNotificationsTabletContainer" : (
30
+ /*isMobile*/
31
+ a[3] ? "PlayerAccountNotificationsMobileContainer" : ""
32
+ ))), h(t, "part", "PlayerAccountNotificationsContainer " + /*isMobile*/
33
+ (a[3] && /*mediaQuery*/
34
+ a[4].matches ? "PlayerAccountNotificationsTabletContainer" : (
35
+ /*isMobile*/
36
+ a[3] ? "PlayerAccountNotificationsMobileContainer" : ""
37
+ )));
38
+ },
39
+ m(i, o) {
40
+ P(i, t, o);
41
+ for (let l = 0; l < e.length; l += 1)
42
+ e[l] && e[l].m(t, null);
43
+ },
44
+ p(i, o) {
45
+ if (o & /*notificationsData*/
46
+ 2) {
47
+ n = T(
48
+ /*notificationsData*/
49
+ i[1]
50
+ );
51
+ let l;
52
+ for (l = 0; l < n.length; l += 1) {
53
+ const c = S(i, n, l);
54
+ e[l] ? e[l].p(c, o) : (e[l] = W(c), e[l].c(), e[l].m(t, null));
55
+ }
56
+ for (; l < e.length; l += 1)
57
+ e[l].d(1);
58
+ e.length = n.length;
59
+ }
60
+ },
61
+ d(i) {
62
+ i && k(t), L(e, i);
63
+ }
64
+ };
65
+ }
66
+ function ot(a) {
67
+ let t, n, e = T({ length: 3 }), i = [];
68
+ for (let o = 0; o < e.length; o += 1)
69
+ i[o] = I(z(a, e, o));
70
+ return {
71
+ c() {
72
+ t = g("div"), n = g("div");
73
+ for (let o = 0; o < i.length; o += 1)
74
+ i[o].c();
75
+ h(n, "class", "skeletonWrapper"), h(t, "class", "skeletonContainer");
76
+ },
77
+ m(o, l) {
78
+ P(o, t, l), p(t, n);
79
+ for (let c = 0; c < i.length; c += 1)
80
+ i[c] && i[c].m(n, null);
81
+ },
82
+ p(o, l) {
83
+ if (l & /*isMobile, mediaQuery*/
84
+ 24) {
85
+ e = T({ length: 3 });
86
+ let c;
87
+ for (c = 0; c < e.length; c += 1) {
88
+ const d = z(o, e, c);
89
+ i[c] ? i[c].p(d, l) : (i[c] = I(d), i[c].c(), i[c].m(n, null));
90
+ }
91
+ for (; c < i.length; c += 1)
92
+ i[c].d(1);
93
+ i.length = e.length;
94
+ }
95
+ },
96
+ d(o) {
97
+ o && k(t), L(i, o);
98
+ }
99
+ };
100
+ }
101
+ function W(a) {
102
+ let t, n, e, i, o, l, c, d = (
103
+ /*notification*/
104
+ a[24].title + ""
105
+ ), y, x, s, b = (
106
+ /*notification*/
107
+ a[24].description + ""
108
+ ), A;
109
+ return {
110
+ c() {
111
+ t = g("div"), n = g("div"), e = g("ui-image"), l = C(), c = g("p"), y = X(d), x = C(), s = g("p"), A = C(), f(e, "imgClass", "PlayerAccountNotificationIcon"), f(e, "width", "24px"), f(e, "height", "24px"), B(e.src, i = /*notification*/
112
+ a[24].icon) || f(e, "src", i), f(e, "alt", o = /*notification*/
113
+ a[24].title), h(c, "class", "PlayerAccountNotificationTitle"), h(n, "class", "PlayerAccountNotificationBoxHeader"), h(s, "class", "PlayerAccountNotificationText"), h(t, "class", "PlayerAccountNotificationBox"), H(
114
+ t,
115
+ "background",
116
+ /*notification*/
117
+ a[24].backgroundColor
118
+ );
119
+ },
120
+ m(m, u) {
121
+ P(m, t, u), p(t, n), p(n, e), p(n, l), p(n, c), p(c, y), p(t, x), p(t, s), s.innerHTML = b, p(t, A);
122
+ },
123
+ p(m, u) {
124
+ u & /*notificationsData*/
125
+ 2 && !B(e.src, i = /*notification*/
126
+ m[24].icon) && f(e, "src", i), u & /*notificationsData*/
127
+ 2 && o !== (o = /*notification*/
128
+ m[24].title) && f(e, "alt", o), u & /*notificationsData*/
129
+ 2 && d !== (d = /*notification*/
130
+ m[24].title + "") && K(y, d), u & /*notificationsData*/
131
+ 2 && b !== (b = /*notification*/
132
+ m[24].description + "") && (s.innerHTML = b), u & /*notificationsData*/
133
+ 2 && H(
134
+ t,
135
+ "background",
136
+ /*notification*/
137
+ m[24].backgroundColor
138
+ );
139
+ },
140
+ d(m) {
141
+ m && k(t);
142
+ }
143
+ };
144
+ }
145
+ function at(a) {
146
+ let t;
147
+ return {
148
+ c() {
149
+ t = g("ui-skeleton"), f(t, "structure", "rectangle"), f(t, "width", "auto"), f(
150
+ t,
151
+ "height",
152
+ /*isMobile*/
153
+ a[3] && /*mediaQuery*/
154
+ a[4].matches ? "250px" : "400px"
155
+ );
156
+ },
157
+ m(n, e) {
158
+ P(n, t, e);
159
+ },
160
+ p: v,
161
+ d(n) {
162
+ n && k(t);
163
+ }
164
+ };
165
+ }
166
+ function lt(a) {
167
+ let t;
168
+ return {
169
+ c() {
170
+ t = g("ui-skeleton"), t.innerHTML = "", f(t, "structure", "rectangle"), f(t, "width", "auto"), f(t, "height", "130px");
171
+ },
172
+ m(n, e) {
173
+ P(n, t, e);
174
+ },
175
+ p: v,
176
+ d(n) {
177
+ n && k(t);
178
+ }
179
+ };
180
+ }
181
+ function I(a) {
182
+ let t, n;
183
+ function e(l, c) {
184
+ return (
185
+ /*isMobile*/
186
+ l[3] ? at : lt
187
+ );
188
+ }
189
+ let o = e(a)(a);
190
+ return {
191
+ c() {
192
+ t = g("div"), o.c(), n = C(), h(t, "class", "skeletonNotification");
193
+ },
194
+ m(l, c) {
195
+ P(l, t, c), o.m(t, null), p(t, n);
196
+ },
197
+ p(l, c) {
198
+ o.p(l, c);
199
+ },
200
+ d(l) {
201
+ l && k(t), o.d();
202
+ }
203
+ };
204
+ }
205
+ function ct(a) {
206
+ let t;
207
+ function n(o, l) {
208
+ var c;
209
+ if (
210
+ /*skeletonLoading*/
211
+ o[2]
212
+ )
213
+ return ot;
214
+ if (
215
+ /*notificationsData*/
216
+ (c = o[1]) != null && c.length
217
+ )
218
+ return nt;
219
+ }
220
+ let e = n(a), i = e && e(a);
221
+ return {
222
+ c() {
223
+ t = g("div"), i && i.c();
224
+ },
225
+ m(o, l) {
226
+ P(o, t, l), i && i.m(t, null), a[13](t);
227
+ },
228
+ p(o, [l]) {
229
+ e === (e = n(o)) && i ? i.p(o, l) : (i && i.d(1), i = e && e(o), i && (i.c(), i.m(t, null)));
230
+ },
231
+ i: v,
232
+ o: v,
233
+ d(o) {
234
+ o && k(t), i && i.d(), a[13](null);
235
+ }
236
+ };
237
+ }
238
+ function rt(a, t, n) {
239
+ let { lang: e = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: l = "" } = t, { customnotif: c = "" } = t, { clientstyling: d = "" } = t, { clientstylingurl: y = "" } = t, { mbsource: x } = t, s, b = !0, A = window.navigator.userAgent, m = M(A) !== "PC", u = [], w = [], q = j();
240
+ const R = window.matchMedia("(min-width: 768px)");
241
+ function j() {
242
+ const r = M(A);
243
+ if (r)
244
+ return r === "PC" ? "dk" : "mtWeb";
245
+ }
246
+ const D = () => {
247
+ const r = new URL(`${i}/${e}/support-information`);
248
+ r.searchParams.append("env", o), r.searchParams.append("userRoles", l), r.searchParams.append("device", q), fetch(r.href).then((N) => N.json()).then((N) => {
249
+ N.length && (n(1, u = N[0].children), u == null || u.forEach((E) => {
250
+ w.length && (E.backgroundColor = w[0], w.shift());
251
+ }));
252
+ }).catch((N) => {
253
+ console.error(N);
254
+ }).finally(() => {
255
+ setTimeout(
256
+ () => {
257
+ n(2, b = !1);
258
+ },
259
+ 1e3
260
+ );
261
+ });
262
+ }, F = () => {
263
+ c.replace(" ", ""), w = c.split(",");
264
+ };
265
+ G(() => () => {
266
+ });
267
+ function U(r) {
268
+ J[r ? "unshift" : "push"](() => {
269
+ s = r, n(0, s);
270
+ });
271
+ }
272
+ return a.$$set = (r) => {
273
+ "lang" in r && n(5, e = r.lang), "cmsendpoint" in r && n(6, i = r.cmsendpoint), "env" in r && n(7, o = r.env), "userroles" in r && n(8, l = r.userroles), "customnotif" in r && n(9, c = r.customnotif), "clientstyling" in r && n(10, d = r.clientstyling), "clientstylingurl" in r && n(11, y = r.clientstylingurl), "mbsource" in r && n(12, x = r.mbsource);
274
+ }, a.$$.update = () => {
275
+ a.$$.dirty & /*customnotif*/
276
+ 512 && c && F(), a.$$.dirty & /*notificationsData*/
277
+ 2 && u && F(), a.$$.dirty & /*userroles, cmsendpoint, env, lang*/
278
+ 480 && l && i && o && e && D(), a.$$.dirty & /*clientstyling, customStylingContainer*/
279
+ 1025 && d && s && Z(s, d), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
280
+ 2049 && y && s && $(s, y), a.$$.dirty & /*mbsource, customStylingContainer*/
281
+ 4097 && x && s && tt(s, `${x}.Style`);
282
+ }, [
283
+ s,
284
+ u,
285
+ b,
286
+ m,
287
+ R,
288
+ e,
289
+ i,
290
+ o,
291
+ l,
292
+ c,
293
+ d,
294
+ y,
295
+ x,
296
+ U
297
+ ];
298
+ }
299
+ class st extends O {
300
+ constructor(t) {
301
+ super(), Q(
302
+ this,
303
+ t,
304
+ rt,
305
+ ct,
306
+ V,
307
+ {
308
+ lang: 5,
309
+ cmsendpoint: 6,
310
+ env: 7,
311
+ userroles: 8,
312
+ customnotif: 9,
313
+ clientstyling: 10,
314
+ clientstylingurl: 11,
315
+ mbsource: 12
316
+ },
317
+ it
318
+ );
319
+ }
320
+ get lang() {
321
+ return this.$$.ctx[5];
322
+ }
323
+ set lang(t) {
324
+ this.$$set({ lang: t }), _();
325
+ }
326
+ get cmsendpoint() {
327
+ return this.$$.ctx[6];
328
+ }
329
+ set cmsendpoint(t) {
330
+ this.$$set({ cmsendpoint: t }), _();
331
+ }
332
+ get env() {
333
+ return this.$$.ctx[7];
334
+ }
335
+ set env(t) {
336
+ this.$$set({ env: t }), _();
337
+ }
338
+ get userroles() {
339
+ return this.$$.ctx[8];
340
+ }
341
+ set userroles(t) {
342
+ this.$$set({ userroles: t }), _();
343
+ }
344
+ get customnotif() {
345
+ return this.$$.ctx[9];
346
+ }
347
+ set customnotif(t) {
348
+ this.$$set({ customnotif: t }), _();
349
+ }
350
+ get clientstyling() {
351
+ return this.$$.ctx[10];
352
+ }
353
+ set clientstyling(t) {
354
+ this.$$set({ clientstyling: t }), _();
355
+ }
356
+ get clientstylingurl() {
357
+ return this.$$.ctx[11];
358
+ }
359
+ set clientstylingurl(t) {
360
+ this.$$set({ clientstylingurl: t }), _();
361
+ }
362
+ get mbsource() {
363
+ return this.$$.ctx[12];
364
+ }
365
+ set mbsource(t) {
366
+ this.$$set({ mbsource: t }), _();
367
+ }
368
+ }
369
+ et(st, { lang: {}, cmsendpoint: {}, env: {}, userroles: {}, customnotif: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
370
+ export {
371
+ st as default
372
+ };