@everymatrix/player-account-controller 1.54.4 → 1.54.8

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 (147) hide show
  1. package/components/{GeneralLogout-Ddt-oH9k.js → GeneralLogout-ChXyfO7j.js} +504 -512
  2. package/components/GeneralLogout-CoXr5Hra.js +4819 -0
  3. package/components/GeneralLogout-JiIri-az.cjs +8 -0
  4. package/components/PlayerAccountBettingHistory-C4SfQEr4.js +333 -0
  5. package/components/{PlayerAccountBettingHistory-C7xwYi03.js → PlayerAccountBettingHistory-CElNilNd.js} +24 -24
  6. package/components/PlayerAccountBettingHistory-CSI5k3hd.cjs +1 -0
  7. package/components/PlayerAccountBiometrics-BS3jkUXn.cjs +1 -0
  8. package/components/{PlayerAccountBiometrics-D7WS5cnI.js → PlayerAccountBiometrics-D9kYcZXR.js} +26 -26
  9. package/components/PlayerAccountBiometrics-orQ-qG9h.js +307 -0
  10. package/components/{PlayerAccountClosure-yRlo8hXR.js → PlayerAccountClosure-CHUq23nB.js} +13 -13
  11. package/components/PlayerAccountClosure-CWd3utu_.js +347 -0
  12. package/components/PlayerAccountClosure-DdfqiT7d.cjs +1 -0
  13. package/components/{PlayerAccountController-BZYAo3oo.js → PlayerAccountController-BclvS237.js} +126 -126
  14. package/components/PlayerAccountController-DEXL47fX.js +6671 -0
  15. package/components/PlayerAccountController-DX3vsM6e.cjs +1 -0
  16. package/components/PlayerAccountGamingLimits-CKnItii4.cjs +1 -0
  17. package/components/{PlayerAccountGamingLimits-CTBhVGgC.js → PlayerAccountGamingLimits-DXQNmZKD.js} +19 -19
  18. package/components/PlayerAccountGamingLimits-Db6qUAS-.js +766 -0
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-CuQvNzww.js → PlayerAccountGamingLimitsConfirmationModal-i09zMH6w.js} +59 -59
  20. package/components/PlayerAccountGamingLimitsConfirmationModal-jZS53-sU.cjs +1 -0
  21. package/components/PlayerAccountGamingLimitsConfirmationModal-l4fu3WOl.js +310 -0
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js → PlayerAccountGamingLimitsGroupEdit-BIt0U7Ia.js} +51 -51
  23. package/components/PlayerAccountGamingLimitsGroupEdit-CsnzS7iF.js +4170 -0
  24. package/components/PlayerAccountGamingLimitsGroupEdit-DZlV6G_9.cjs +10 -0
  25. package/components/PlayerAccountGamingLimitsHistory2-CrW3EIzV.cjs +1 -0
  26. package/components/{PlayerAccountGamingLimitsHistory2-CXKA0L0d.js → PlayerAccountGamingLimitsHistory2-D04L-msb.js} +44 -44
  27. package/components/PlayerAccountGamingLimitsHistory2-DA5YY1gv.js +767 -0
  28. package/components/{PlayerAccountGamingLimitsInfoCard-CWTybgoQ.js → PlayerAccountGamingLimitsInfoCard-B2YB4bdP.js} +95 -95
  29. package/components/PlayerAccountGamingLimitsInfoCard-B4t7J9Ea.js +1513 -0
  30. package/components/PlayerAccountGamingLimitsInfoCard-CaJYYEdy.cjs +1 -0
  31. package/components/PlayerAccountGamingLimitsPage2Gm16-B1GlGvDK.cjs +21 -0
  32. package/components/PlayerAccountGamingLimitsPage2Gm16-CbtwzTC5.js +3283 -0
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-CXjNcIFP.js → PlayerAccountGamingLimitsPage2Gm16-D8OKZxQt.js} +90 -90
  34. package/components/{PlayerAccountGamingLimitsPopup-CJu5RRl6.js → PlayerAccountGamingLimitsPopup-B7ZXSiK5.js} +17 -17
  35. package/components/PlayerAccountGamingLimitsPopup-C9KoZcRj.cjs +1 -0
  36. package/components/PlayerAccountGamingLimitsPopup-DxXAP_Yw.js +344 -0
  37. package/components/{PlayerAccountGamingLimitsWrapper2-BdpxEDlV.js → PlayerAccountGamingLimitsWrapper2-BoFnZpPK.js} +8 -8
  38. package/components/PlayerAccountGamingLimitsWrapper2-Dll6Amu9.cjs +1 -0
  39. package/components/PlayerAccountGamingLimitsWrapper2-eSNYZCaw.js +866 -0
  40. package/components/PlayerAccountGeneralConfirmationModal-B-p3sJZ3.cjs +1 -0
  41. package/components/{PlayerAccountGeneralConfirmationModal-DG0N686t.js → PlayerAccountGeneralConfirmationModal-DLBQH_sl.js} +66 -66
  42. package/components/PlayerAccountGeneralConfirmationModal-DhTWcbuE.js +365 -0
  43. package/components/PlayerAccountMenu-BGRoL3Yz.js +579 -0
  44. package/components/{PlayerAccountMenu-CZBa8_5G.js → PlayerAccountMenu-BxjdHhZ_.js} +17 -17
  45. package/components/PlayerAccountMenu-Csb1tUf_.cjs +1 -0
  46. package/components/{PlayerAccountModal-BmKjtXKT.js → PlayerAccountModal-C4nIa5u0.js} +28 -28
  47. package/components/PlayerAccountModal-D29fr970.js +213 -0
  48. package/components/PlayerAccountModal-DabmJiP4.cjs +1 -0
  49. package/components/{PlayerAccountNotifications-B4Ht-hHj.js → PlayerAccountNotifications-4sGKSJWy.js} +16 -16
  50. package/components/PlayerAccountNotifications-C3rPIsKp.js +261 -0
  51. package/components/PlayerAccountNotifications-O92_s-dm.cjs +1 -0
  52. package/components/PlayerAccountSelfExclusion-BkBWGAy2.cjs +3557 -0
  53. package/components/PlayerAccountSelfExclusion-CpKuxBrZ.js +16678 -0
  54. package/components/{PlayerAccountSelfExclusion-DxGHXTb8.js → PlayerAccountSelfExclusion-U9dfheYH.js} +11029 -12570
  55. package/components/PlayerAccountTimeout-CucYpS_w.cjs +1 -0
  56. package/components/{PlayerAccountTimeout-DOSjICsY.js → PlayerAccountTimeout-DIRXKowJ.js} +25 -25
  57. package/components/PlayerAccountTimeout-c2osWNku.js +819 -0
  58. package/components/{PlayerActiveBonuses-DMAG7NUP.js → PlayerActiveBonuses-B2QAPJxC.js} +49 -49
  59. package/components/PlayerActiveBonuses-DDcAwy_n.js +1089 -0
  60. package/components/PlayerActiveBonuses-cecVnp46.cjs +1 -0
  61. package/components/{PlayerBonusCard-Dss1REmn.js → PlayerBonusCard-BQU7JBPr.js} +50 -50
  62. package/components/PlayerBonusCard-C9Xdv-lu.cjs +1 -0
  63. package/components/PlayerBonusCard-TYI-WkBy.js +701 -0
  64. package/components/PlayerBonusHistory-Boz8c3tb.js +919 -0
  65. package/components/PlayerBonusHistory-CMPf8GQz.cjs +1 -0
  66. package/components/PlayerBonusHistory-cNqY_wfD.js +920 -0
  67. package/components/{PlayerChangePassword-DnCj-wcc.js → PlayerChangePassword-BGxYGFs-.js} +103 -103
  68. package/components/PlayerChangePassword-Dl3Pgpul.js +1177 -0
  69. package/components/PlayerChangePassword-X_GfgxAV.cjs +3 -0
  70. package/components/{PlayerDeposit-CHIQ8EaC.js → PlayerDeposit-BzSW3HMj.js} +25 -25
  71. package/components/PlayerDeposit-CqpNLpaq.cjs +1 -0
  72. package/components/PlayerDeposit-kjy658sM.js +395 -0
  73. package/components/PlayerGamingHistory-B6KJDVn0.cjs +1 -0
  74. package/components/PlayerGamingHistory-BW5rigFC.js +986 -0
  75. package/components/PlayerGamingHistory-DIgLxCfL.js +973 -0
  76. package/components/PlayerPendingWithdrawals--W6Dfn3K.cjs +1 -0
  77. package/components/{PlayerPendingWithdrawals-BbTa7_8U.js → PlayerPendingWithdrawals-BzOmRYiC.js} +33 -33
  78. package/components/PlayerPendingWithdrawals-pV1C12y5.js +311 -0
  79. package/components/PlayerProfileInfo-BTgis7wR.cjs +1 -0
  80. package/components/{PlayerProfileInfo-CvAqD3Dk.js → PlayerProfileInfo-CTgSfW-l.js} +45 -45
  81. package/components/PlayerProfileInfo-DkVAYiPX.js +1753 -0
  82. package/components/PlayerRealityCheck-BcsDhvm0.cjs +1 -0
  83. package/components/{PlayerRealityCheck-3d-B64ie.js → PlayerRealityCheck-BdZDs3Tl.js} +26 -26
  84. package/components/PlayerRealityCheck-DT3kOky2.js +598 -0
  85. package/components/PlayerTransactionHistory-BL92RRLF.cjs +1 -0
  86. package/components/{PlayerTransactionHistory-BYJNabMB.js → PlayerTransactionHistory-BQIA4QRw.js} +23 -23
  87. package/components/PlayerTransactionHistory-Yhwt7kUa.js +315 -0
  88. package/components/{PlayerWithdrawal-DDWroufG.js → PlayerWithdrawal-Cgv9nZE8.js} +20 -20
  89. package/components/PlayerWithdrawal-KgqM9wo-.cjs +1 -0
  90. package/components/PlayerWithdrawal-uB46JhmK.js +369 -0
  91. package/es2015/player-account-controller.cjs +1 -0
  92. package/es2015/player-account-controller.js +16 -0
  93. package/esnext/player-account-controller.js +1 -1
  94. package/package.json +1 -1
  95. package/stencil/app-globals-0f993ce5-8artnnwr.cjs +1 -0
  96. package/stencil/checkbox-group-input_9-AKw0biZc.cjs +2045 -0
  97. package/stencil/checkbox-group-input_9-BewIfW-f.js +13203 -0
  98. package/stencil/checkbox-group-input_9-CbFpcwPG.js +13237 -0
  99. package/stencil/{general-input-DnFPstQP.js → general-input-BEcUF0Mm.js} +1 -1
  100. package/stencil/general-input-DI0pw0ot.cjs +1 -0
  101. package/stencil/general-input-DKyA-W8i.js +48 -0
  102. package/stencil/index-581287aa-CC7128Vz.js +654 -0
  103. package/stencil/index-581287aa-D5QW29QV.cjs +1 -0
  104. package/stencil/index-581287aa-D8NTWa_9.js +638 -0
  105. package/stencil/index-8b4525de-BFiXEsaX.cjs +1 -0
  106. package/stencil/index-8b4525de-C2xAv-3x.js +708 -0
  107. package/stencil/index-8b4525de-DeHXGvRF.js +692 -0
  108. package/stencil/index-a76d30c7-CFX9mSqu.cjs +1 -0
  109. package/stencil/index-a76d30c7-CQrAWNu0.js +658 -0
  110. package/stencil/index-a76d30c7-PfqrSVyu.js +631 -0
  111. package/stencil/index-c0196f50-3kAjMpUS.cjs +1 -0
  112. package/stencil/index-c0196f50-BjscP7kj.js +697 -0
  113. package/stencil/index-c0196f50-aE1zPmtS.js +724 -0
  114. package/stencil/locale-B5abSHU_.cjs +1 -0
  115. package/stencil/password-input_2-D97O8QAr.cjs +105 -0
  116. package/stencil/password-input_2-eDchPH-o.js +569 -0
  117. package/stencil/password-input_2-vTvSUJey.js +569 -0
  118. package/stencil/{player-change-password-gm2-DR3e2gh5.js → player-change-password-gm2-D4jpQFwb.js} +1 -1
  119. package/stencil/player-change-password-gm2-DSTqyOhE.js +25 -0
  120. package/stencil/player-change-password-gm2-Dw3D3ckz.cjs +1 -0
  121. package/stencil/{player-change-password-gm2-98dcb7bc-gLcZhl3S.js → player-change-password-gm2-e732ee8e-BjoYj-89.js} +1 -1
  122. package/stencil/player-change-password-gm2-e732ee8e-BqRUxIre.cjs +1 -0
  123. package/stencil/player-change-password-gm2-e732ee8e-Df6ljnLL.js +253 -0
  124. package/stencil/player-kyc-verification-B2FHAsrR.cjs +180 -0
  125. package/stencil/player-kyc-verification-CVqP43FY.js +865 -0
  126. package/stencil/{player-kyc-verification-BQZdJFEJ.js → player-kyc-verification-D6Au6XVN.js} +1 -1
  127. package/stencil/{toggle-checkbox-input-CCLW6-uK.js → toggle-checkbox-input-BckTBwKu.js} +1 -1
  128. package/stencil/toggle-checkbox-input-D8fVk4wA.js +46 -0
  129. package/stencil/toggle-checkbox-input-kw5Y1n3x.cjs +1 -0
  130. package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +1 -0
  131. package/stencil/user-deposit-withdrawal-BpAi0dc-.js +668 -0
  132. package/stencil/{user-deposit-withdrawal-CmF0LoNb.js → user-deposit-withdrawal-CrMPR6xn.js} +1 -1
  133. package/stencil/user-deposit-withdrawal-DrKFN7wp.cjs +59 -0
  134. package/stencil/{user-transaction-history-BgV-k2Cl.js → user-transaction-history-BgYG3IxS.js} +1 -1
  135. package/stencil/user-transaction-history-CBxwJE34.cjs +1 -0
  136. package/stencil/user-transaction-history-D8ebS-DZ.js +355 -0
  137. package/stencil/{active-mixin-59dfae2a-BphP4pp5.js → vaadin-button-mixin-d131076c-C559kyH3.js} +3523 -3021
  138. package/stencil/vaadin-button-mixin-d131076c-brSraXp5.js +10277 -0
  139. package/stencil/vaadin-button-mixin-d131076c-zI_s2YZ5.cjs +2385 -0
  140. package/components/PlayerBonusHistory-BxBiQwQf.js +0 -847
  141. package/components/PlayerGamingHistory-BtQ73TId.js +0 -922
  142. package/stencil/checkbox-group-input_9-CMFoK7_E.js +0 -15610
  143. package/stencil/index-062e829b-DAFsZs6D.js +0 -686
  144. package/stencil/index-33f005e1-fFxPaeNy.js +0 -632
  145. package/stencil/index-9b3245b3-rzHgwqlB.js +0 -625
  146. package/stencil/index-fc58390d-BSwfXuUs.js +0 -691
  147. package/stencil/password-input_2-Bb9Q6Fe0.js +0 -2359
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-JiIri-az.cjs");function P(i,t){e.addMessages(i,t)}function S(i){e.$locale.set(i)}const b={en:{titlePendingWithdrawals:"Pending Withdrawal",loading:"Loading, please wait ..."},"zh-hk":{titlePendingWithdrawals:"待取款",loading:"加載請稍候…"},fr:{titlePendingWithdrawals:"Retrait en cours",loading:"Chargement, veuillez patienter ..."},ro:{titlePendingWithdrawals:"Retragere în așteptare",loading:"Se încarcă..."},es:{titlePendingWithdrawals:"Retiro Pendiente",loading:"Cargando..."},pt:{titlePendingWithdrawals:"Retirada pendente",loading:"Carregando, por favor espere ..."},hr:{titlePendingWithdrawals:"Isplate na čekanju",loading:"Učitavanje"},tr:{titlePendingWithdrawals:"Çekilme Bekleniyor",loading:"Yükleniyor lütfen bekleyin ..."},"en-us":{titlePendingWithdrawals:"Pending Withdrawal",loading:"Loading, please wait ..."}};function B(i){e.append_styles(i,"svelte-1y7sj7e",".PendingWithdrawalsWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.PendingWithdrawalsWrapper.PendingWithdrawalsWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PendingWithdrawalsTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.PendingWithdrawalsTitleMobile{font-size:var(--emw--size-standard, 16px)}.PendingWithdrawalsTitleNone{display:none}.PendingWithdrawalsIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 20px)}")}function E(i){let t,n,s,l,o,u,c,g,h,d,r=i[3]("titlePendingWithdrawals")+"",p,y,_;return{c(){t=e.element("div"),n=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));}"),u=e.svg_element("g"),c=e.svg_element("g"),g=e.svg_element("path"),h=e.space(),d=e.element("h2"),p=e.text(r),e.attr(g,"class","aaa"),e.attr(g,"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(g,"transform","translate(15 15) rotate(180)"),e.attr(c,"transform","translate(20 158)"),e.attr(u,"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(d,"class","PendingWithdrawalsTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(w,v){e.insert(w,t,v),e.append(t,n),e.append(n,s),e.append(s,l),e.append(l,o),e.append(n,u),e.append(u,c),e.append(c,g),e.append(t,h),e.append(t,d),e.append(d,p),y||(_=e.listen(t,"click",i[13]),y=!0)},p(w,v){v&8&&r!==(r=w[3]("titlePendingWithdrawals")+"")&&e.set_data(p,r)},d(w){w&&e.detach(t),y=!1,_()}}}function j(i){let t,n,s;return{c(){t=e.element("div"),n=e.element("iframe"),e.src_url_equal(n.src,s=i[2])||e.attr(n,"src",s),e.attr(n,"title","Pending Withdrawals Iframe"),e.attr(t,"class","PendingWithdrawalsIframeWrapper")},m(l,o){e.insert(l,t,o),e.append(t,n)},p(l,o){o&4&&!e.src_url_equal(n.src,s=l[2])&&e.attr(n,"src",s)},d(l){l&&e.detach(t)}}}function A(i){let t,n=i[3]("loading")+"",s;return{c(){t=e.element("p"),s=e.text(n)},m(l,o){e.insert(l,t,o),e.append(t,s)},p(l,o){o&8&&n!==(n=l[3]("loading")+"")&&e.set_data(s,n)},d(l){l&&e.detach(t)}}}function I(i){let t,n,s,l=i[3]("titlePendingWithdrawals")+"",o,u,c=i[4]&&E(i);function g(r,p){return r[1]?A:j}let h=g(i),d=h(i);return{c(){t=e.element("div"),c&&c.c(),n=e.space(),s=e.element("h2"),o=e.text(l),u=e.space(),d.c(),e.attr(s,"class","PendingWithdrawalsTitle "+(i[4]?"PendingWithdrawalsTitleNone":"")),e.attr(t,"class","PendingWithdrawalsWrapper "+(i[4]?"PendingWithdrawalsWrapperMobile":""))},m(r,p){e.insert(r,t,p),c&&c.m(t,null),e.append(t,n),e.append(t,s),e.append(s,o),e.append(t,u),d.m(t,null),i[14](t)},p(r,[p]){r[4]&&c.p(r,p),p&8&&l!==(l=r[3]("titlePendingWithdrawals")+"")&&e.set_data(o,l),h===(h=g(r))&&d?d.p(r,p):(d.d(1),d=h(r),d&&(d.c(),d.m(t,null)))},i:e.noop,o:e.noop,d(r){r&&e.detach(t),c&&c.d(),d.d(),i[14](null)}}}function U(i,t,n){let s;e.component_subscribe(i,e.$format,a=>n(3,s=a));let{endpoint:l=""}=t,{session:o=""}=t,{playerid:u=""}=t,{lang:c="en"}=t,{clientstyling:g=""}=t,{clientstylingurl:h=""}=t,{translationurl:d=""}=t,r,p=window.navigator.userAgent,y=e.getDevice(p)!=="PC",_=!0,w="";const v=()=>{fetch(d).then(f=>f.json()).then(f=>{Object.keys(f).forEach(m=>{P(m,f[m])})}).catch(f=>{console.log(f)})};Object.keys(b).forEach(a=>{P(a,b[a])});const W=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:y},window.location.href)},x=()=>{let a=new URL(`${l}/v1/player/${u}/hostedcashier/pendingwithdrawals`);a.searchParams.append("language",c);let f={method:"GET",headers:{"X-SessionId":o,accept:"application/json"}};fetch(a.href,f).then(m=>m.json()).then(m=>{n(1,_=!1),n(2,w=m.CashierUrl)},m=>{console.error(m)})},M=()=>{S(c)},T=()=>{let a=document.createElement("style");a.innerHTML=g,r.appendChild(a)},L=()=>{let a=new URL(h),f=document.createElement("style");fetch(a.href).then(m=>m.text()).then(m=>{f.innerHTML=m,setTimeout(()=>{r.appendChild(f)},1)})},C=()=>W();function R(a){e.binding_callbacks[a?"unshift":"push"](()=>{r=a,n(0,r)})}return i.$$set=a=>{"endpoint"in a&&n(6,l=a.endpoint),"session"in a&&n(7,o=a.session),"playerid"in a&&n(8,u=a.playerid),"lang"in a&&n(9,c=a.lang),"clientstyling"in a&&n(10,g=a.clientstyling),"clientstylingurl"in a&&n(11,h=a.clientstylingurl),"translationurl"in a&&n(12,d=a.translationurl)},i.$$.update=()=>{i.$$.dirty&512&&c&&M(),i.$$.dirty&960&&o&&u&&l&&c&&x(),i.$$.dirty&2049&&h&&r&&L(),i.$$.dirty&1025&&g&&r&&T(),i.$$.dirty&4096&&d&&v()},[r,_,w,s,y,W,l,o,u,c,g,h,d,C,R]}class k extends e.SvelteComponent{constructor(t){super(),e.init(this,t,U,I,e.safe_not_equal,{endpoint:6,session:7,playerid:8,lang:9,clientstyling:10,clientstylingurl:11,translationurl:12},B)}get endpoint(){return this.$$.ctx[6]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[7]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[8]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[9]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(k,{endpoint:{},session:{},playerid:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=k;
@@ -1,4 +1,4 @@
1
- import { a as H, $ as q, S as O, i as X, f as W, c as D, s as G, b as V, e as P, d as L, t as x, g as c, k as M, l as g, n as C, o as B, p as T, q as Y, u as Z, w as v, m as J, x as K, X as E, y as Q } from "./GeneralLogout-Ddt-oH9k.js";
1
+ import { a as H, $ as q, S as O, i as X, s as D, f as W, b as G, n as B, d as M, c as C, g as T, h as g, j as P, k as L, m as x, o as c, p as V, q as Y, l as Z, v as _, w as J, X as E, x as K, y as Q } from "./GeneralLogout-CoXr5Hra.js";
2
2
  function S(n, e) {
3
3
  H(n, e);
4
4
  }
@@ -44,24 +44,24 @@ const j = {
44
44
  }
45
45
  };
46
46
  function ee(n) {
47
- V(n, "svelte-1y7sj7e", ".PendingWithdrawalsWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.PendingWithdrawalsWrapper.PendingWithdrawalsWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PendingWithdrawalsTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.PendingWithdrawalsTitleMobile{font-size:var(--emw--size-standard, 16px)}.PendingWithdrawalsTitleNone{display:none}.PendingWithdrawalsIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 20px)}");
47
+ G(n, "svelte-1y7sj7e", ".PendingWithdrawalsWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.PendingWithdrawalsWrapper.PendingWithdrawalsWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PendingWithdrawalsTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.PendingWithdrawalsTitleMobile{font-size:var(--emw--size-standard, 16px)}.PendingWithdrawalsTitleNone{display:none}.PendingWithdrawalsIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 20px)}");
48
48
  }
49
49
  function te(n) {
50
- let e, t, r, a, o, h, d, u, f, s, l = (
50
+ let e, t, r, a, o, u, d, h, f, s, l = (
51
51
  /*$_*/
52
52
  n[3]("titlePendingWithdrawals") + ""
53
- ), m, _, b;
53
+ ), m, v, b;
54
54
  return {
55
55
  c() {
56
- e = P("div"), t = v("svg"), r = v("defs"), a = v("style"), o = x(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), h = v("g"), d = v("g"), u = v("path"), f = L(), s = P("h2"), m = x(l), c(u, "class", "aaa"), c(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), c(u, "transform", "translate(15 15) rotate(180)"), c(d, "transform", "translate(20 158)"), c(h, "transform", "translate(-20 -158)"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(t, "width", "15"), c(t, "height", "15"), c(t, "viewBox", "0 0 15 15"), c(s, "class", "PendingWithdrawalsTitleMobile"), c(e, "class", "MenuReturnButton");
56
+ e = P("div"), t = _("svg"), r = _("defs"), a = _("style"), o = x(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), u = _("g"), d = _("g"), h = _("path"), f = L(), s = P("h2"), m = x(l), c(h, "class", "aaa"), c(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), c(h, "transform", "translate(15 15) rotate(180)"), c(d, "transform", "translate(20 158)"), c(u, "transform", "translate(-20 -158)"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(t, "width", "15"), c(t, "height", "15"), c(t, "viewBox", "0 0 15 15"), c(s, "class", "PendingWithdrawalsTitleMobile"), c(e, "class", "MenuReturnButton");
57
57
  },
58
58
  m(y, k) {
59
- M(y, e, k), g(e, t), g(t, r), g(r, a), g(a, o), g(t, h), g(h, d), g(d, u), g(e, f), g(e, s), g(s, m), _ || (b = J(
59
+ T(y, e, k), g(e, t), g(t, r), g(r, a), g(a, o), g(t, u), g(u, d), g(d, h), g(e, f), g(e, s), g(s, m), v || (b = Z(
60
60
  e,
61
61
  "click",
62
62
  /*click_handler*/
63
63
  n[13]
64
- ), _ = !0);
64
+ ), v = !0);
65
65
  },
66
66
  p(y, k) {
67
67
  k & /*$_*/
@@ -69,7 +69,7 @@ function te(n) {
69
69
  y[3]("titlePendingWithdrawals") + "") && C(m, l);
70
70
  },
71
71
  d(y) {
72
- y && T(e), _ = !1, b();
72
+ y && M(e), v = !1, b();
73
73
  }
74
74
  };
75
75
  }
@@ -81,7 +81,7 @@ function ne(n) {
81
81
  n[2]) || c(t, "src", r), c(t, "title", "Pending Withdrawals Iframe"), c(e, "class", "PendingWithdrawalsIframeWrapper");
82
82
  },
83
83
  m(a, o) {
84
- M(a, e, o), g(e, t);
84
+ T(a, e, o), g(e, t);
85
85
  },
86
86
  p(a, o) {
87
87
  o & /*iframeUrl*/
@@ -89,7 +89,7 @@ function ne(n) {
89
89
  a[2]) && c(t, "src", r);
90
90
  },
91
91
  d(a) {
92
- a && T(e);
92
+ a && M(e);
93
93
  }
94
94
  };
95
95
  }
@@ -103,7 +103,7 @@ function ie(n) {
103
103
  e = P("p"), r = x(t);
104
104
  },
105
105
  m(a, o) {
106
- M(a, e, o), g(e, r);
106
+ T(a, e, o), g(e, r);
107
107
  },
108
108
  p(a, o) {
109
109
  o & /*$_*/
@@ -111,7 +111,7 @@ function ie(n) {
111
111
  a[3]("loading") + "") && C(r, t);
112
112
  },
113
113
  d(a) {
114
- a && T(e);
114
+ a && M(e);
115
115
  }
116
116
  };
117
117
  }
@@ -119,43 +119,43 @@ function ae(n) {
119
119
  let e, t, r, a = (
120
120
  /*$_*/
121
121
  n[3]("titlePendingWithdrawals") + ""
122
- ), o, h, d = (
122
+ ), o, u, d = (
123
123
  /*isMobile*/
124
124
  n[4] && te(n)
125
125
  );
126
- function u(l, m) {
126
+ function h(l, m) {
127
127
  return (
128
128
  /*isLoading*/
129
129
  l[1] ? ie : ne
130
130
  );
131
131
  }
132
- let f = u(n), s = f(n);
132
+ let f = h(n), s = f(n);
133
133
  return {
134
134
  c() {
135
- e = P("div"), d && d.c(), t = L(), r = P("h2"), o = x(a), h = L(), s.c(), c(r, "class", "PendingWithdrawalsTitle " + /*isMobile*/
135
+ e = P("div"), d && d.c(), t = L(), r = P("h2"), o = x(a), u = L(), s.c(), c(r, "class", "PendingWithdrawalsTitle " + /*isMobile*/
136
136
  (n[4] ? "PendingWithdrawalsTitleNone" : "")), c(e, "class", "PendingWithdrawalsWrapper " + /*isMobile*/
137
137
  (n[4] ? "PendingWithdrawalsWrapperMobile" : ""));
138
138
  },
139
139
  m(l, m) {
140
- M(l, e, m), d && d.m(e, null), g(e, t), g(e, r), g(r, o), g(e, h), s.m(e, null), n[14](e);
140
+ T(l, e, m), d && d.m(e, null), g(e, t), g(e, r), g(r, o), g(e, u), s.m(e, null), n[14](e);
141
141
  },
142
142
  p(l, [m]) {
143
143
  /*isMobile*/
144
144
  l[4] && d.p(l, m), m & /*$_*/
145
145
  8 && a !== (a = /*$_*/
146
- l[3]("titlePendingWithdrawals") + "") && C(o, a), f === (f = u(l)) && s ? s.p(l, m) : (s.d(1), s = f(l), s && (s.c(), s.m(e, null)));
146
+ l[3]("titlePendingWithdrawals") + "") && C(o, a), f === (f = h(l)) && s ? s.p(l, m) : (s.d(1), s = f(l), s && (s.c(), s.m(e, null)));
147
147
  },
148
148
  i: B,
149
149
  o: B,
150
150
  d(l) {
151
- l && T(e), d && d.d(), s.d(), n[14](null);
151
+ l && M(e), d && d.d(), s.d(), n[14](null);
152
152
  }
153
153
  };
154
154
  }
155
155
  function le(n, e, t) {
156
156
  let r;
157
- Y(n, Q, (i) => t(3, r = i));
158
- let { endpoint: a = "" } = e, { session: o = "" } = e, { playerid: h = "" } = e, { lang: d = "en" } = e, { clientstyling: u = "" } = e, { clientstylingurl: f = "" } = e, { translationurl: s = "" } = e, l, m = window.navigator.userAgent, _ = Z(m) !== "PC", b = !0, y = "";
157
+ V(n, Q, (i) => t(3, r = i));
158
+ let { endpoint: a = "" } = e, { session: o = "" } = e, { playerid: u = "" } = e, { lang: d = "en" } = e, { clientstyling: h = "" } = e, { clientstylingurl: f = "" } = e, { translationurl: s = "" } = e, l, m = window.navigator.userAgent, v = Y(m) !== "PC", b = !0, y = "";
159
159
  const k = () => {
160
160
  fetch(s).then((w) => w.json()).then((w) => {
161
161
  Object.keys(w).forEach((p) => {
@@ -172,12 +172,12 @@ function le(n, e, t) {
172
172
  window.postMessage(
173
173
  {
174
174
  type: "PlayerAccountMenuActive",
175
- isMobile: _
175
+ isMobile: v
176
176
  },
177
177
  window.location.href
178
178
  );
179
179
  }, A = () => {
180
- let i = new URL(`${a}/v1/player/${h}/hostedcashier/pendingwithdrawals`);
180
+ let i = new URL(`${a}/v1/player/${u}/hostedcashier/pendingwithdrawals`);
181
181
  i.searchParams.append("language", d);
182
182
  let w = {
183
183
  method: "GET",
@@ -198,7 +198,7 @@ function le(n, e, t) {
198
198
  $(d);
199
199
  }, U = () => {
200
200
  let i = document.createElement("style");
201
- i.innerHTML = u, l.appendChild(i);
201
+ i.innerHTML = h, l.appendChild(i);
202
202
  }, z = () => {
203
203
  let i = new URL(f), w = document.createElement("style");
204
204
  fetch(i.href).then((p) => p.text()).then((p) => {
@@ -211,31 +211,31 @@ function le(n, e, t) {
211
211
  });
212
212
  }, N = () => R();
213
213
  function F(i) {
214
- K[i ? "unshift" : "push"](() => {
214
+ J[i ? "unshift" : "push"](() => {
215
215
  l = i, t(0, l);
216
216
  });
217
217
  }
218
218
  return n.$$set = (i) => {
219
- "endpoint" in i && t(6, a = i.endpoint), "session" in i && t(7, o = i.session), "playerid" in i && t(8, h = i.playerid), "lang" in i && t(9, d = i.lang), "clientstyling" in i && t(10, u = i.clientstyling), "clientstylingurl" in i && t(11, f = i.clientstylingurl), "translationurl" in i && t(12, s = i.translationurl);
219
+ "endpoint" in i && t(6, a = i.endpoint), "session" in i && t(7, o = i.session), "playerid" in i && t(8, u = i.playerid), "lang" in i && t(9, d = i.lang), "clientstyling" in i && t(10, h = i.clientstyling), "clientstylingurl" in i && t(11, f = i.clientstylingurl), "translationurl" in i && t(12, s = i.translationurl);
220
220
  }, n.$$.update = () => {
221
221
  n.$$.dirty & /*lang*/
222
222
  512 && d && I(), n.$$.dirty & /*session, playerid, endpoint, lang*/
223
- 960 && o && h && a && d && A(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
223
+ 960 && o && u && a && d && A(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
224
224
  2049 && f && l && z(), n.$$.dirty & /*clientstyling, customStylingContainer*/
225
- 1025 && u && l && U(), n.$$.dirty & /*translationurl*/
225
+ 1025 && h && l && U(), n.$$.dirty & /*translationurl*/
226
226
  4096 && s && k();
227
227
  }, [
228
228
  l,
229
229
  b,
230
230
  y,
231
231
  r,
232
- _,
232
+ v,
233
233
  R,
234
234
  a,
235
235
  o,
236
- h,
237
- d,
238
236
  u,
237
+ d,
238
+ h,
239
239
  f,
240
240
  s,
241
241
  N,
@@ -249,7 +249,7 @@ class re extends O {
249
249
  e,
250
250
  le,
251
251
  ae,
252
- G,
252
+ D,
253
253
  {
254
254
  endpoint: 6,
255
255
  session: 7,
@@ -305,7 +305,7 @@ class re extends O {
305
305
  this.$$set({ translationurl: e }), W();
306
306
  }
307
307
  }
308
- D(re, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
308
+ K(re, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
309
309
  export {
310
310
  re as default
311
311
  };
@@ -0,0 +1,311 @@
1
+ import { a as H, $ as q, S as O, i as X, s as D, f as W, b as G, n as B, d as M, c as C, g as T, h as g, j as P, k as L, m as x, o as c, p as V, q as Y, l as Z, v as _, w as J, X as E, x as K, y as Q } from "./GeneralLogout-ChXyfO7j.js";
2
+ function S(n, e) {
3
+ H(n, e);
4
+ }
5
+ function $(n) {
6
+ q.set(n);
7
+ }
8
+ const j = {
9
+ en: {
10
+ titlePendingWithdrawals: "Pending Withdrawal",
11
+ loading: "Loading, please wait ..."
12
+ },
13
+ "zh-hk": {
14
+ titlePendingWithdrawals: "待取款",
15
+ loading: "加載請稍候…"
16
+ },
17
+ fr: {
18
+ titlePendingWithdrawals: "Retrait en cours",
19
+ loading: "Chargement, veuillez patienter ..."
20
+ },
21
+ ro: {
22
+ titlePendingWithdrawals: "Retragere în așteptare",
23
+ loading: "Se încarcă..."
24
+ },
25
+ es: {
26
+ titlePendingWithdrawals: "Retiro Pendiente",
27
+ loading: "Cargando..."
28
+ },
29
+ pt: {
30
+ titlePendingWithdrawals: "Retirada pendente",
31
+ loading: "Carregando, por favor espere ..."
32
+ },
33
+ hr: {
34
+ titlePendingWithdrawals: "Isplate na čekanju",
35
+ loading: "Učitavanje"
36
+ },
37
+ tr: {
38
+ titlePendingWithdrawals: "Çekilme Bekleniyor",
39
+ loading: "Yükleniyor lütfen bekleyin ..."
40
+ },
41
+ "en-us": {
42
+ titlePendingWithdrawals: "Pending Withdrawal",
43
+ loading: "Loading, please wait ..."
44
+ }
45
+ };
46
+ function ee(n) {
47
+ G(n, "svelte-1y7sj7e", ".PendingWithdrawalsWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.PendingWithdrawalsWrapper.PendingWithdrawalsWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PendingWithdrawalsTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.PendingWithdrawalsTitleMobile{font-size:var(--emw--size-standard, 16px)}.PendingWithdrawalsTitleNone{display:none}.PendingWithdrawalsIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 20px)}");
48
+ }
49
+ function te(n) {
50
+ let e, t, r, a, o, u, d, h, f, s, l = (
51
+ /*$_*/
52
+ n[3]("titlePendingWithdrawals") + ""
53
+ ), m, v, b;
54
+ return {
55
+ c() {
56
+ e = P("div"), t = _("svg"), r = _("defs"), a = _("style"), o = x(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), u = _("g"), d = _("g"), h = _("path"), f = L(), s = P("h2"), m = x(l), c(h, "class", "aaa"), c(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), c(h, "transform", "translate(15 15) rotate(180)"), c(d, "transform", "translate(20 158)"), c(u, "transform", "translate(-20 -158)"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(t, "width", "15"), c(t, "height", "15"), c(t, "viewBox", "0 0 15 15"), c(s, "class", "PendingWithdrawalsTitleMobile"), c(e, "class", "MenuReturnButton");
57
+ },
58
+ m(y, k) {
59
+ T(y, e, k), g(e, t), g(t, r), g(r, a), g(a, o), g(t, u), g(u, d), g(d, h), g(e, f), g(e, s), g(s, m), v || (b = Z(
60
+ e,
61
+ "click",
62
+ /*click_handler*/
63
+ n[13]
64
+ ), v = !0);
65
+ },
66
+ p(y, k) {
67
+ k & /*$_*/
68
+ 8 && l !== (l = /*$_*/
69
+ y[3]("titlePendingWithdrawals") + "") && C(m, l);
70
+ },
71
+ d(y) {
72
+ y && M(e), v = !1, b();
73
+ }
74
+ };
75
+ }
76
+ function ne(n) {
77
+ let e, t, r;
78
+ return {
79
+ c() {
80
+ e = P("div"), t = P("iframe"), E(t.src, r = /*iframeUrl*/
81
+ n[2]) || c(t, "src", r), c(t, "title", "Pending Withdrawals Iframe"), c(e, "class", "PendingWithdrawalsIframeWrapper");
82
+ },
83
+ m(a, o) {
84
+ T(a, e, o), g(e, t);
85
+ },
86
+ p(a, o) {
87
+ o & /*iframeUrl*/
88
+ 4 && !E(t.src, r = /*iframeUrl*/
89
+ a[2]) && c(t, "src", r);
90
+ },
91
+ d(a) {
92
+ a && M(e);
93
+ }
94
+ };
95
+ }
96
+ function ie(n) {
97
+ let e, t = (
98
+ /*$_*/
99
+ n[3]("loading") + ""
100
+ ), r;
101
+ return {
102
+ c() {
103
+ e = P("p"), r = x(t);
104
+ },
105
+ m(a, o) {
106
+ T(a, e, o), g(e, r);
107
+ },
108
+ p(a, o) {
109
+ o & /*$_*/
110
+ 8 && t !== (t = /*$_*/
111
+ a[3]("loading") + "") && C(r, t);
112
+ },
113
+ d(a) {
114
+ a && M(e);
115
+ }
116
+ };
117
+ }
118
+ function ae(n) {
119
+ let e, t, r, a = (
120
+ /*$_*/
121
+ n[3]("titlePendingWithdrawals") + ""
122
+ ), o, u, d = (
123
+ /*isMobile*/
124
+ n[4] && te(n)
125
+ );
126
+ function h(l, m) {
127
+ return (
128
+ /*isLoading*/
129
+ l[1] ? ie : ne
130
+ );
131
+ }
132
+ let f = h(n), s = f(n);
133
+ return {
134
+ c() {
135
+ e = P("div"), d && d.c(), t = L(), r = P("h2"), o = x(a), u = L(), s.c(), c(r, "class", "PendingWithdrawalsTitle " + /*isMobile*/
136
+ (n[4] ? "PendingWithdrawalsTitleNone" : "")), c(e, "class", "PendingWithdrawalsWrapper " + /*isMobile*/
137
+ (n[4] ? "PendingWithdrawalsWrapperMobile" : ""));
138
+ },
139
+ m(l, m) {
140
+ T(l, e, m), d && d.m(e, null), g(e, t), g(e, r), g(r, o), g(e, u), s.m(e, null), n[14](e);
141
+ },
142
+ p(l, [m]) {
143
+ /*isMobile*/
144
+ l[4] && d.p(l, m), m & /*$_*/
145
+ 8 && a !== (a = /*$_*/
146
+ l[3]("titlePendingWithdrawals") + "") && C(o, a), f === (f = h(l)) && s ? s.p(l, m) : (s.d(1), s = f(l), s && (s.c(), s.m(e, null)));
147
+ },
148
+ i: B,
149
+ o: B,
150
+ d(l) {
151
+ l && M(e), d && d.d(), s.d(), n[14](null);
152
+ }
153
+ };
154
+ }
155
+ function le(n, e, t) {
156
+ let r;
157
+ V(n, Q, (i) => t(3, r = i));
158
+ let { endpoint: a = "" } = e, { session: o = "" } = e, { playerid: u = "" } = e, { lang: d = "en" } = e, { clientstyling: h = "" } = e, { clientstylingurl: f = "" } = e, { translationurl: s = "" } = e, l, m = window.navigator.userAgent, v = Y(m) !== "PC", b = !0, y = "";
159
+ const k = () => {
160
+ fetch(s).then((w) => w.json()).then((w) => {
161
+ Object.keys(w).forEach((p) => {
162
+ S(p, w[p]);
163
+ });
164
+ }).catch((w) => {
165
+ console.log(w);
166
+ });
167
+ };
168
+ Object.keys(j).forEach((i) => {
169
+ S(i, j[i]);
170
+ });
171
+ const R = () => {
172
+ window.postMessage(
173
+ {
174
+ type: "PlayerAccountMenuActive",
175
+ isMobile: v
176
+ },
177
+ window.location.href
178
+ );
179
+ }, A = () => {
180
+ let i = new URL(`${a}/v1/player/${u}/hostedcashier/pendingwithdrawals`);
181
+ i.searchParams.append("language", d);
182
+ let w = {
183
+ method: "GET",
184
+ headers: {
185
+ "X-SessionId": o,
186
+ accept: "application/json"
187
+ }
188
+ };
189
+ fetch(i.href, w).then((p) => p.json()).then(
190
+ (p) => {
191
+ t(1, b = !1), t(2, y = p.CashierUrl);
192
+ },
193
+ (p) => {
194
+ console.error(p);
195
+ }
196
+ );
197
+ }, I = () => {
198
+ $(d);
199
+ }, U = () => {
200
+ let i = document.createElement("style");
201
+ i.innerHTML = h, l.appendChild(i);
202
+ }, z = () => {
203
+ let i = new URL(f), w = document.createElement("style");
204
+ fetch(i.href).then((p) => p.text()).then((p) => {
205
+ w.innerHTML = p, setTimeout(
206
+ () => {
207
+ l.appendChild(w);
208
+ },
209
+ 1
210
+ );
211
+ });
212
+ }, N = () => R();
213
+ function F(i) {
214
+ J[i ? "unshift" : "push"](() => {
215
+ l = i, t(0, l);
216
+ });
217
+ }
218
+ return n.$$set = (i) => {
219
+ "endpoint" in i && t(6, a = i.endpoint), "session" in i && t(7, o = i.session), "playerid" in i && t(8, u = i.playerid), "lang" in i && t(9, d = i.lang), "clientstyling" in i && t(10, h = i.clientstyling), "clientstylingurl" in i && t(11, f = i.clientstylingurl), "translationurl" in i && t(12, s = i.translationurl);
220
+ }, n.$$.update = () => {
221
+ n.$$.dirty & /*lang*/
222
+ 512 && d && I(), n.$$.dirty & /*session, playerid, endpoint, lang*/
223
+ 960 && o && u && a && d && A(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
224
+ 2049 && f && l && z(), n.$$.dirty & /*clientstyling, customStylingContainer*/
225
+ 1025 && h && l && U(), n.$$.dirty & /*translationurl*/
226
+ 4096 && s && k();
227
+ }, [
228
+ l,
229
+ b,
230
+ y,
231
+ r,
232
+ v,
233
+ R,
234
+ a,
235
+ o,
236
+ u,
237
+ d,
238
+ h,
239
+ f,
240
+ s,
241
+ N,
242
+ F
243
+ ];
244
+ }
245
+ class re extends O {
246
+ constructor(e) {
247
+ super(), X(
248
+ this,
249
+ e,
250
+ le,
251
+ ae,
252
+ D,
253
+ {
254
+ endpoint: 6,
255
+ session: 7,
256
+ playerid: 8,
257
+ lang: 9,
258
+ clientstyling: 10,
259
+ clientstylingurl: 11,
260
+ translationurl: 12
261
+ },
262
+ ee
263
+ );
264
+ }
265
+ get endpoint() {
266
+ return this.$$.ctx[6];
267
+ }
268
+ set endpoint(e) {
269
+ this.$$set({ endpoint: e }), W();
270
+ }
271
+ get session() {
272
+ return this.$$.ctx[7];
273
+ }
274
+ set session(e) {
275
+ this.$$set({ session: e }), W();
276
+ }
277
+ get playerid() {
278
+ return this.$$.ctx[8];
279
+ }
280
+ set playerid(e) {
281
+ this.$$set({ playerid: e }), W();
282
+ }
283
+ get lang() {
284
+ return this.$$.ctx[9];
285
+ }
286
+ set lang(e) {
287
+ this.$$set({ lang: e }), W();
288
+ }
289
+ get clientstyling() {
290
+ return this.$$.ctx[10];
291
+ }
292
+ set clientstyling(e) {
293
+ this.$$set({ clientstyling: e }), W();
294
+ }
295
+ get clientstylingurl() {
296
+ return this.$$.ctx[11];
297
+ }
298
+ set clientstylingurl(e) {
299
+ this.$$set({ clientstylingurl: e }), W();
300
+ }
301
+ get translationurl() {
302
+ return this.$$.ctx[12];
303
+ }
304
+ set translationurl(e) {
305
+ this.$$set({ translationurl: e }), W();
306
+ }
307
+ }
308
+ K(re, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
309
+ export {
310
+ re as default
311
+ };