@everymatrix/player-account-controller 1.72.1 → 1.73.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.
- package/components/{GeneralLogout-CgxHUYZx.js → GeneralLogout-BHj50gej.js} +8 -8
- package/components/{GeneralLogout-CYE3twI-.js → GeneralLogout-INWUDrak.js} +8 -8
- package/components/PlayerAccountBettingHistory-6bdMRw7b.js +311 -0
- package/components/PlayerAccountBettingHistory-BG5_gjSl.cjs +1 -0
- package/components/PlayerAccountBettingHistory-DVj3QpKW.js +310 -0
- package/components/{PlayerAccountBiometrics-CCk_4MyI.js → PlayerAccountBiometrics-C5pUACUE.js} +1 -1
- package/components/{PlayerAccountBiometrics-DrmVF6dX.js → PlayerAccountBiometrics-DkxwtpuF.js} +1 -1
- package/components/{PlayerAccountClosure-B_xwOPds.js → PlayerAccountClosure-D2ApiUXV.js} +1 -1
- package/components/{PlayerAccountClosure-UwL_V2IO.js → PlayerAccountClosure-vPc-BArB.js} +1 -1
- package/components/{PlayerAccountController-CqAFUuWU.js → PlayerAccountController-2uMVXSSQ.js} +25 -25
- package/components/{PlayerAccountController-DOrj81a0.js → PlayerAccountController-COFCcEvV.js} +25 -25
- package/components/{PlayerAccountController-BoNq7g_6.cjs → PlayerAccountController-SUrzo8aT.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-B0QALjVi.js → PlayerAccountGamingLimits-BfrumTwY.js} +2 -2
- package/components/{PlayerAccountGamingLimits-C11On8aq.js → PlayerAccountGamingLimits-DlA29Y4p.js} +2 -2
- package/components/{PlayerAccountGamingLimitsConfirmationModal-57Q5qtf8.js → PlayerAccountGamingLimitsConfirmationModal-Cg5ndunr.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CztJ5DKd.js → PlayerAccountGamingLimitsConfirmationModal-D5LstV9w.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-CoayAtf0.js → PlayerAccountGamingLimitsGroupEdit-DN-VG2ye.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-C40tSY9Z.js → PlayerAccountGamingLimitsGroupEdit-vuv0-MMp.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2-Br4h7_eS.js → PlayerAccountGamingLimitsHistory2-B8TPjC1F.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-BLK-Rk6N.js → PlayerAccountGamingLimitsHistory2-GRu_2NJ0.js} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-blI001Nx.js → PlayerAccountGamingLimitsInfoCard-8Ea7IE2K.js} +3 -3
- package/components/{PlayerAccountGamingLimitsInfoCard-D5Vpi7Gd.js → PlayerAccountGamingLimitsInfoCard-BfD6DDSB.js} +3 -3
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BAQqtUjc.js → PlayerAccountGamingLimitsPage2Gm16-B02A1fGD.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Cov3S01u.js → PlayerAccountGamingLimitsPage2Gm16-CnUGDYRk.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DTb6cpuT.js → PlayerAccountGamingLimitsPopup-BlVtbm__.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-Dz9ROowj.js → PlayerAccountGamingLimitsPopup-DPu9x2H3.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-LAdy0FnH.js → PlayerAccountGamingLimitsWrapper2-CqXn9yDd.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-CeTGUdpp.js → PlayerAccountGamingLimitsWrapper2-cJf0myiC.js} +3 -3
- package/components/{PlayerAccountGeneralConfirmationModal-DbBEBukz.js → PlayerAccountGeneralConfirmationModal-BksqLS7V.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-DzZ3ym_J.js → PlayerAccountGeneralConfirmationModal-eHfDDGZk.js} +1 -1
- package/components/{PlayerAccountMenu-_Qnpkznr.js → PlayerAccountMenu-CE6Ej_rV.js} +2 -2
- package/components/{PlayerAccountMenu-T7u8nYfI.js → PlayerAccountMenu-Cp7Edaq0.js} +2 -2
- package/components/{PlayerAccountModal-Cbpkb5P6.js → PlayerAccountModal-CrjAmgmN.js} +31 -31
- package/components/{PlayerAccountModal-Co5a_OZZ.js → PlayerAccountModal-DYSDyLvm.js} +31 -31
- package/components/PlayerAccountNotifications-Cyle3r2h.cjs +1 -0
- package/components/{PlayerAccountNotifications-BeabE333.js → PlayerAccountNotifications-OyZ1fIUi.js} +21 -21
- package/components/PlayerAccountNotifications-qIJQNyMm.js +363 -0
- package/components/{PlayerAccountProductRestriction-Vl7EIMfJ.js → PlayerAccountProductRestriction-BZ2Y4yzU.js} +3 -3
- package/components/{PlayerAccountProductRestriction-DvqI77xo.js → PlayerAccountProductRestriction-L-vR790T.js} +3 -3
- package/components/{PlayerAccountSelfExclusion-Dq7G7DeK.js → PlayerAccountSelfExclusion-7psd7i6U.js} +229 -230
- package/components/{PlayerAccountSelfExclusion-BUoFSg8L.js → PlayerAccountSelfExclusion-Bd8SgB7m.js} +256 -256
- package/components/{PlayerAccountSelfExclusion-CC2VhBEv.cjs → PlayerAccountSelfExclusion-Dq1gDgcx.cjs} +8 -8
- package/components/{PlayerAccountTimeout-BuNhODT0.cjs → PlayerAccountTimeout-CMLyedNs.cjs} +1 -1
- package/components/{PlayerAccountTimeout-o11NOFXb.js → PlayerAccountTimeout-Dby2FPrP.js} +3 -3
- package/components/{PlayerAccountTimeout-Brl7HCpJ.js → PlayerAccountTimeout-uyeQ1--8.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-Dm5dcrFj.js → PlayerAccountTransactionsHistory-B5-KRVvB.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-DMr6unVm.js → PlayerAccountTransactionsHistory-BWsoBgd6.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-BBn9XxCH.cjs → PlayerAccountTransactionsHistory-Bn5gyj5f.cjs} +1 -1
- package/components/{PlayerActiveBonuses-CaQNGq0m.js → PlayerActiveBonuses-C9i5xuOt.js} +2 -2
- package/components/{PlayerActiveBonuses-DX872Zcz.js → PlayerActiveBonuses-Cz3aqMcu.js} +2 -2
- package/components/{PlayerBonusCard-ZY8S04oT.js → PlayerBonusCard-DatoS2En.js} +2 -2
- package/components/{PlayerBonusCard-Cu5bJlh_.js → PlayerBonusCard-lMeM3LSx.js} +2 -2
- package/components/{PlayerBonusHistory-CNQrPTXb.js → PlayerBonusHistory-BUUBhu5n.js} +4 -4
- package/components/{PlayerBonusHistory-IbQagu8m.js → PlayerBonusHistory-BVbwQ0Zf.js} +4 -4
- package/components/{PlayerChangePassword-C2ZoKuCq.js → PlayerChangePassword-BUYrlClk.js} +1 -1
- package/components/{PlayerChangePassword-ChwKfBC6.js → PlayerChangePassword-CGqqlwlb.js} +1 -1
- package/components/{PlayerDeposit-BPZ5wCAZ.js → PlayerDeposit-CTxatYEW.js} +1 -1
- package/components/{PlayerDeposit-VLcz0tQH.js → PlayerDeposit-DQObc_n_.js} +1 -1
- package/components/{PlayerGamingHistory-DI45HNlI.js → PlayerGamingHistory-BAeIZw2u.js} +4 -4
- package/components/{PlayerGamingHistory-BBZLzVSS.js → PlayerGamingHistory-xZ8szCQB.js} +4 -4
- package/components/{PlayerPendingWithdrawals-go7okUzL.js → PlayerPendingWithdrawals-CuGt7dq1.js} +1 -1
- package/components/{PlayerPendingWithdrawals-DeNKdUgJ.js → PlayerPendingWithdrawals-Dek0JuV2.js} +1 -1
- package/components/{PlayerProfileInfo-C8q-cLYa.js → PlayerProfileInfo-BI4jNmXN.js} +1 -1
- package/components/{PlayerProfileInfo-bwbHpI6M.js → PlayerProfileInfo-C4dNo9s-.js} +1 -1
- package/components/{PlayerRealityCheck-C2w5S2fe.js → PlayerRealityCheck-8KkrG0sn.js} +1 -1
- package/components/{PlayerRealityCheck-BGNjgzIq.js → PlayerRealityCheck-CS9oAjTQ.js} +1 -1
- package/components/{PlayerTransactionHistory-A-aVfyoc.js → PlayerTransactionHistory-Cw0GAF5l.js} +1 -1
- package/components/{PlayerTransactionHistory-BFV_XJw9.js → PlayerTransactionHistory-D7aVTCre.js} +1 -1
- package/components/{PlayerWithdrawal-B_wQZI_t.js → PlayerWithdrawal-BPfYoISW.js} +1 -1
- package/components/{PlayerWithdrawal-CTttZqLr.js → PlayerWithdrawal-C7mFHGlW.js} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_15-OwR3eXhS.js → checkbox-group-input_15-BXx2eI5U.js} +453 -453
- package/stencil/{checkbox-group-input_15-Vwz1wSzH.js → checkbox-group-input_15-C6LpSObs.js} +452 -452
- package/stencil/{checkbox-group-input_15-rrNwAy0j.cjs → checkbox-group-input_15-DadoyfRo.cjs} +4 -4
- package/stencil/{index-13661b98-CmRNR-rV.js → index-13661b98-6KjWiAei.js} +1 -1
- package/stencil/{index-13661b98-DhWvmFjk.js → index-13661b98-DMsw1Rqj.js} +1 -1
- package/stencil/{index-13661b98-D5aIg_pY.cjs → index-13661b98-e0g0ZJ4Q.cjs} +1 -1
- package/stencil/{index-1ef3a64c-uiTzpR-U.cjs → index-1ef3a64c-B7_EyQDJ.cjs} +1 -1
- package/stencil/{index-1ef3a64c-B5I86vac.js → index-1ef3a64c-BMK3b66v.js} +1 -1
- package/stencil/{index-1ef3a64c-DqUPq8OL.js → index-1ef3a64c-Cs1oM3tK.js} +1 -1
- package/stencil/{index-9c0f6c58-DmOKHEVq.cjs → index-9c0f6c58-CtHWkW4O.cjs} +1 -1
- package/stencil/{index-9c0f6c58-bxjYqwOi.js → index-9c0f6c58-DxzXe6Kn.js} +1 -1
- package/stencil/{index-9c0f6c58-BB5opCt9.js → index-9c0f6c58-Hy2JqCeP.js} +1 -1
- package/stencil/{pam-change-password-dEbTDKG0.js → pam-change-password-CIhfcFNO.js} +1 -1
- package/stencil/{pam-change-password-CV0uMtXO.cjs → pam-change-password-CQIieVFW.cjs} +1 -1
- package/stencil/{pam-change-password-B4zuIndQ.js → pam-change-password-L1xQARTQ.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-DAXvLl_6.cjs → pam-change-password-f4a1e7e7-B5NzEtGA.cjs} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-CNFdEoO5.js → pam-change-password-f4a1e7e7-Br0FC_GU.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-BdbrsvWx.js → pam-change-password-f4a1e7e7-bArCapa-.js} +1 -1
- package/stencil/{player-kyc-verification-DYcPWwfi.cjs → player-kyc-verification-BVPPMf62.cjs} +3 -2
- package/stencil/{player-kyc-verification-CMAkNiAB.js → player-kyc-verification-BX-zXzBh.js} +2 -1
- package/stencil/{player-kyc-verification-p2WFnKBp.js → player-kyc-verification-CvOTQFbs.js} +2 -1
- package/stencil/user-deposit-withdrawal-B5PikBDs.cjs +72 -0
- package/stencil/{user-deposit-withdrawal-BjmaGgRK.js → user-deposit-withdrawal-BftWiELv.js} +14 -8
- package/stencil/{user-deposit-withdrawal-D6SDVw3h.js → user-deposit-withdrawal-mAQqyXGF.js} +14 -8
- package/components/PlayerAccountBettingHistory-B0IsJ01N.js +0 -328
- package/components/PlayerAccountBettingHistory-BXBMy618.js +0 -329
- package/components/PlayerAccountBettingHistory-BtDZukYI.cjs +0 -1
- package/components/PlayerAccountNotifications-B0Nsdovh.js +0 -363
- package/components/PlayerAccountNotifications-aQgcZXcD.cjs +0 -1
- package/stencil/user-deposit-withdrawal-Du59X_-y.cjs +0 -68
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-Dzu2Sl-x.cjs");require("../stencil/ui-skeleton-GEqIXVxo.cjs");function H(a){e.append_styles(a,"svelte-1b8j2p",':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;container-type:inline-size;container-name:notifications-container}.PlayerAccountNotificationBox{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));display:block;padding:20px;border-radius:var(--emw--border-radius-medium, 10px);width:100%;color:var(--emw--color-black, #000);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}.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}}')}function x(a,t,o){const n=a.slice();return n[24]=t[o],n}function v(a,t,o){const n=a.slice();return n[21]=t[o],n}function L(a){let t,o=e.ensure_array_like(a[1]),n=[];for(let i=0;i<o.length;i+=1)n[i]=w(x(a,o,i));return{c(){t=e.element("div");for(let i=0;i<n.length;i+=1)n[i].c();e.attr(t,"class","PlayerAccountNotificationsContainer "+(a[3]?"PlayerAccountNotificationsMobileContainer":"")),e.attr(t,"part","PlayerAccountNotificationsContainer "+(a[3]?"PlayerAccountNotificationsMobileContainer":""))},m(i,l){e.insert(i,t,l);for(let r=0;r<n.length;r+=1)n[r]&&n[r].m(t,null)},p(i,l){if(l&2){o=e.ensure_array_like(i[1]);let r;for(r=0;r<o.length;r+=1){const c=x(i,o,r);n[r]?n[r].p(c,l):(n[r]=w(c),n[r].c(),n[r].m(t,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=o.length}},d(i){i&&e.detach(t),e.destroy_each(n,i)}}}function W(a){let t,o,n=e.ensure_array_like({length:3}),i=[];for(let l=0;l<n.length;l+=1)i[l]=P(v(a,n,l));return{c(){t=e.element("div"),o=e.element("div");for(let l=0;l<i.length;l+=1)i[l].c();e.attr(o,"class","skeletonWrapper"),e.attr(t,"class","skeletonContainer")},m(l,r){e.insert(l,t,r),e.append(t,o);for(let c=0;c<i.length;c+=1)i[c]&&i[c].m(o,null)},p(l,r){if(r&24){n=e.ensure_array_like({length:3});let c;for(c=0;c<n.length;c+=1){const f=v(l,n,c);i[c]?i[c].p(f,r):(i[c]=P(f),i[c].c(),i[c].m(o,null))}for(;c<i.length;c+=1)i[c].d(1);i.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(i,l)}}}function w(a){let t,o,n,i,l,r,c,f=a[24].title+"",g,p,u,h=a[24].description+"",y;return{c(){t=e.element("div"),o=e.element("div"),n=e.element("img"),r=e.space(),c=e.element("p"),g=e.text(f),p=e.space(),u=e.element("p"),y=e.space(),e.attr(n,"class","PlayerAccountNotificationIcon"),e.attr(n,"width","24px"),e.attr(n,"height","24px"),e.src_url_equal(n.src,i=a[24].icon)||e.attr(n,"src",i),e.attr(n,"alt",l=a[24].title),e.attr(c,"class","PlayerAccountNotificationTitle"),e.attr(o,"class","PlayerAccountNotificationBoxHeader"),e.attr(u,"class","PlayerAccountNotificationText"),e.attr(t,"class","PlayerAccountNotificationBox"),e.set_style(t,"background",a[24].backgroundColor)},m(m,d){e.insert(m,t,d),e.append(t,o),e.append(o,n),e.append(o,r),e.append(o,c),e.append(c,g),e.append(t,p),e.append(t,u),u.innerHTML=h,e.append(t,y)},p(m,d){d&2&&!e.src_url_equal(n.src,i=m[24].icon)&&e.attr(n,"src",i),d&2&&l!==(l=m[24].title)&&e.attr(n,"alt",l),d&2&&f!==(f=m[24].title+"")&&e.set_data(g,f),d&2&&h!==(h=m[24].description+"")&&(u.innerHTML=h),d&2&&e.set_style(t,"background",m[24].backgroundColor)},d(m){m&&e.detach(t)}}}function z(a){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","rectangle"),e.set_custom_element_data(t,"width","auto"),e.set_custom_element_data(t,"height",a[3]&&a[4].matches?"250px":"400px")},m(o,n){e.insert(o,t,n)},p:e.noop,d(o){o&&e.detach(t)}}}function F(a){let t;return{c(){t=e.element("ui-skeleton"),t.innerHTML="",e.set_custom_element_data(t,"structure","rectangle"),e.set_custom_element_data(t,"width","auto"),e.set_custom_element_data(t,"height","130px")},m(o,n){e.insert(o,t,n)},p:e.noop,d(o){o&&e.detach(t)}}}function P(a){let t,o;function n(r,c){return r[3]?z:F}let l=n(a)(a);return{c(){t=e.element("div"),l.c(),o=e.space(),e.attr(t,"class","skeletonNotification")},m(r,c){e.insert(r,t,c),l.m(t,null),e.append(t,o)},p(r,c){l.p(r,c)},d(r){r&&e.detach(t),l.d()}}}function I(a){let t;function o(l,r){var c;if(l[2])return W;if((c=l[1])!=null&&c.length)return L}let n=o(a),i=n&&n(a);return{c(){t=e.element("div"),i&&i.c()},m(l,r){e.insert(l,t,r),i&&i.m(t,null),a[13](t)},p(l,[r]){n===(n=o(l))&&i?i.p(l,r):(i&&i.d(1),i=n&&n(l),i&&(i.c(),i.m(t,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(t),i&&i.d(),a[13](null)}}}function q(a,t,o){let{lang:n=""}=t,{cmsendpoint:i=""}=t,{env:l=""}=t,{userroles:r=""}=t,{customnotif:c=""}=t,{clientstyling:f=""}=t,{clientstylingurl:g=""}=t,{mbsource:p}=t,u,h=!0,y=window.navigator.userAgent,m=e.getDevice(y)!=="PC",d=[],k=[],A=M();const C=window.matchMedia("(min-width: 768px)");function M(){const s=e.getDevice(y);if(s)return s==="PC"?"dk":"mtWeb"}const T=()=>{const s=new URL(`${i}/${n}/support-information`);s.searchParams.append("env",l),s.searchParams.append("userRoles",r),s.searchParams.append("device",A),fetch(s.href).then(_=>_.json()).then(_=>{_.length&&(o(1,d=_[0].children),d==null||d.forEach(B=>{k.length&&(B.backgroundColor=k[0],k.shift())}))}).catch(_=>{console.error(_)}).finally(()=>{setTimeout(()=>{o(2,h=!1)},1e3)})},b=()=>{c.replace(" ",""),k=c.split(",")};e.onMount(()=>()=>{});function S(s){e.binding_callbacks[s?"unshift":"push"](()=>{u=s,o(0,u)})}return a.$$set=s=>{"lang"in s&&o(5,n=s.lang),"cmsendpoint"in s&&o(6,i=s.cmsendpoint),"env"in s&&o(7,l=s.env),"userroles"in s&&o(8,r=s.userroles),"customnotif"in s&&o(9,c=s.customnotif),"clientstyling"in s&&o(10,f=s.clientstyling),"clientstylingurl"in s&&o(11,g=s.clientstylingurl),"mbsource"in s&&o(12,p=s.mbsource)},a.$$.update=()=>{a.$$.dirty&512&&c&&b(),a.$$.dirty&2&&d&&b(),a.$$.dirty&480&&r&&i&&l&&n&&T(),a.$$.dirty&1025&&f&&u&&e.setClientStyling(u,f),a.$$.dirty&2049&&g&&u&&e.setClientStylingURL(u,g),a.$$.dirty&4097&&p&&u&&e.setStreamStyling(u,`${p}.Style`)},[u,d,h,m,C,n,i,l,r,c,f,g,p,S]}class N extends e.SvelteComponent{constructor(t){super(),e.init(this,t,q,I,e.safe_not_equal,{lang:5,cmsendpoint:6,env:7,userroles:8,customnotif:9,clientstyling:10,clientstylingurl:11,mbsource:12},H)}get lang(){return this.$$.ctx[5]}set lang(t){this.$$set({lang:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[6]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[7]}set env(t){this.$$set({env:t}),e.flush()}get userroles(){return this.$$.ctx[8]}set userroles(t){this.$$set({userroles:t}),e.flush()}get customnotif(){return this.$$.ctx[9]}set customnotif(t){this.$$set({customnotif: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 mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(N,{lang:{},cmsendpoint:{},env:{},userroles:{},customnotif:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=N;
|
package/components/{PlayerAccountNotifications-BeabE333.js → PlayerAccountNotifications-OyZ1fIUi.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { S as O, i as Q, s as V, f as y, b as Z, n as C, d as b,
|
|
1
|
+
import { S as O, i as Q, s as V, f as y, b as Z, n as C, d as b, h as x, k as g, q as S, u as G, w as J, O as M, P as I, j as h, e as s, m as A, a1 as B, c as K, Z as H, t as X, g as P, x as Y, y as $, z as tt, A as et } from "./GeneralLogout-BHj50gej.js";
|
|
2
2
|
import "../stencil/ui-skeleton-mkMdvWYI.js";
|
|
3
3
|
function it(a) {
|
|
4
|
-
Z(a, "svelte-
|
|
4
|
+
Z(a, "svelte-1b8j2p", ':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;container-type:inline-size;container-name:notifications-container}.PlayerAccountNotificationBox{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));display:block;padding:20px;border-radius:var(--emw--border-radius-medium, 10px);width:100%;color:var(--emw--color-black, #000);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}.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}}');
|
|
5
5
|
}
|
|
6
6
|
function W(a, t, n) {
|
|
7
7
|
const e = a.slice();
|
|
8
8
|
return e[24] = t[n], e;
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function z(a, t, n) {
|
|
11
11
|
const e = a.slice();
|
|
12
12
|
return e[21] = t[n], e;
|
|
13
13
|
}
|
|
@@ -17,7 +17,7 @@ function nt(a) {
|
|
|
17
17
|
a[1]
|
|
18
18
|
), e = [];
|
|
19
19
|
for (let i = 0; i < n.length; i += 1)
|
|
20
|
-
e[i] =
|
|
20
|
+
e[i] = L(W(a, n, i));
|
|
21
21
|
return {
|
|
22
22
|
c() {
|
|
23
23
|
t = g("div");
|
|
@@ -42,7 +42,7 @@ function nt(a) {
|
|
|
42
42
|
let l;
|
|
43
43
|
for (l = 0; l < n.length; l += 1) {
|
|
44
44
|
const c = W(i, n, l);
|
|
45
|
-
e[l] ? e[l].p(c, o) : (e[l] =
|
|
45
|
+
e[l] ? e[l].p(c, o) : (e[l] = L(c), e[l].c(), e[l].m(t, null));
|
|
46
46
|
}
|
|
47
47
|
for (; l < e.length; l += 1)
|
|
48
48
|
e[l].d(1);
|
|
@@ -57,7 +57,7 @@ function nt(a) {
|
|
|
57
57
|
function ot(a) {
|
|
58
58
|
let t, n, e = M({ length: 3 }), i = [];
|
|
59
59
|
for (let o = 0; o < e.length; o += 1)
|
|
60
|
-
i[o] = F(
|
|
60
|
+
i[o] = F(z(a, e, o));
|
|
61
61
|
return {
|
|
62
62
|
c() {
|
|
63
63
|
t = g("div"), n = g("div");
|
|
@@ -76,7 +76,7 @@ function ot(a) {
|
|
|
76
76
|
e = M({ length: 3 });
|
|
77
77
|
let c;
|
|
78
78
|
for (c = 0; c < e.length; c += 1) {
|
|
79
|
-
const f =
|
|
79
|
+
const f = z(o, e, c);
|
|
80
80
|
i[c] ? i[c].p(f, l) : (i[c] = F(f), i[c].c(), i[c].m(n, null));
|
|
81
81
|
}
|
|
82
82
|
for (; c < i.length; c += 1)
|
|
@@ -89,17 +89,17 @@ function ot(a) {
|
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function L(a) {
|
|
93
93
|
let t, n, e, i, o, l, c, f = (
|
|
94
94
|
/*notification*/
|
|
95
95
|
a[24].title + ""
|
|
96
96
|
), p, _, u, k = (
|
|
97
97
|
/*notification*/
|
|
98
98
|
a[24].description + ""
|
|
99
|
-
),
|
|
99
|
+
), v;
|
|
100
100
|
return {
|
|
101
101
|
c() {
|
|
102
|
-
t = g("div"), n = g("div"), e = g("img"), l = A(), c = g("p"), p = X(f), _ = A(), u = g("p"),
|
|
102
|
+
t = g("div"), n = g("div"), e = g("img"), l = A(), c = g("p"), p = X(f), _ = A(), u = g("p"), v = A(), s(e, "class", "PlayerAccountNotificationIcon"), s(e, "width", "24px"), s(e, "height", "24px"), B(e.src, i = /*notification*/
|
|
103
103
|
a[24].icon) || s(e, "src", i), s(e, "alt", o = /*notification*/
|
|
104
104
|
a[24].title), s(c, "class", "PlayerAccountNotificationTitle"), s(n, "class", "PlayerAccountNotificationBoxHeader"), s(u, "class", "PlayerAccountNotificationText"), s(t, "class", "PlayerAccountNotificationBox"), H(
|
|
105
105
|
t,
|
|
@@ -109,7 +109,7 @@ function z(a) {
|
|
|
109
109
|
);
|
|
110
110
|
},
|
|
111
111
|
m(m, d) {
|
|
112
|
-
x(m, t, d), h(t, n), h(n, e), h(n, l), h(n, c), h(c, p), h(t, _), h(t, u), u.innerHTML = k, h(t,
|
|
112
|
+
x(m, t, d), h(t, n), h(n, e), h(n, l), h(n, c), h(c, p), h(t, _), h(t, u), u.innerHTML = k, h(t, v);
|
|
113
113
|
},
|
|
114
114
|
p(m, d) {
|
|
115
115
|
d & /*notificationsData*/
|
|
@@ -137,7 +137,7 @@ function lt(a) {
|
|
|
137
137
|
let t;
|
|
138
138
|
return {
|
|
139
139
|
c() {
|
|
140
|
-
t = g("ui-skeleton"),
|
|
140
|
+
t = g("ui-skeleton"), P(t, "structure", "rectangle"), P(t, "width", "auto"), P(
|
|
141
141
|
t,
|
|
142
142
|
"height",
|
|
143
143
|
/*isMobile*/
|
|
@@ -158,7 +158,7 @@ function at(a) {
|
|
|
158
158
|
let t;
|
|
159
159
|
return {
|
|
160
160
|
c() {
|
|
161
|
-
t = g("ui-skeleton"), t.innerHTML = "",
|
|
161
|
+
t = g("ui-skeleton"), t.innerHTML = "", P(t, "structure", "rectangle"), P(t, "width", "auto"), P(t, "height", "130px");
|
|
162
162
|
},
|
|
163
163
|
m(n, e) {
|
|
164
164
|
x(n, t, e);
|
|
@@ -226,16 +226,16 @@ function ct(a) {
|
|
|
226
226
|
};
|
|
227
227
|
}
|
|
228
228
|
function rt(a, t, n) {
|
|
229
|
-
let { lang: e = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: l = "" } = t, { customnotif: c = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: _ } = t, u, k = !0,
|
|
230
|
-
const
|
|
231
|
-
function
|
|
232
|
-
const r = S(
|
|
229
|
+
let { lang: e = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: l = "" } = t, { customnotif: c = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: _ } = t, u, k = !0, v = window.navigator.userAgent, m = S(v) !== "PC", d = [], N = [], D = q();
|
|
230
|
+
const j = window.matchMedia("(min-width: 768px)");
|
|
231
|
+
function q() {
|
|
232
|
+
const r = S(v);
|
|
233
233
|
if (r)
|
|
234
234
|
return r === "PC" ? "dk" : "mtWeb";
|
|
235
235
|
}
|
|
236
|
-
const
|
|
236
|
+
const R = () => {
|
|
237
237
|
const r = new URL(`${i}/${e}/support-information`);
|
|
238
|
-
r.searchParams.append("env", o), r.searchParams.append("userRoles", l), r.searchParams.append("device",
|
|
238
|
+
r.searchParams.append("env", o), r.searchParams.append("userRoles", l), r.searchParams.append("device", D), fetch(r.href).then((w) => w.json()).then((w) => {
|
|
239
239
|
w.length && (n(1, d = w[0].children), d?.forEach((E) => {
|
|
240
240
|
N.length && (E.backgroundColor = N[0], N.shift());
|
|
241
241
|
}));
|
|
@@ -265,7 +265,7 @@ function rt(a, t, n) {
|
|
|
265
265
|
a.$$.dirty & /*customnotif*/
|
|
266
266
|
512 && c && T(), a.$$.dirty & /*notificationsData*/
|
|
267
267
|
2 && d && T(), a.$$.dirty & /*userroles, cmsendpoint, env, lang*/
|
|
268
|
-
480 && l && i && o && e &&
|
|
268
|
+
480 && l && i && o && e && R(), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
269
269
|
1025 && f && u && Y(u, f), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
270
270
|
2049 && p && u && $(u, p), a.$$.dirty & /*mbsource, customStylingContainer*/
|
|
271
271
|
4097 && _ && u && tt(u, `${_}.Style`);
|
|
@@ -274,7 +274,7 @@ function rt(a, t, n) {
|
|
|
274
274
|
d,
|
|
275
275
|
k,
|
|
276
276
|
m,
|
|
277
|
-
|
|
277
|
+
j,
|
|
278
278
|
e,
|
|
279
279
|
i,
|
|
280
280
|
o,
|
|
@@ -0,0 +1,363 @@
|
|
|
1
|
+
import { S as O, i as Q, s as V, f as y, b as Z, n as C, d as b, h as x, k as g, q as S, u as G, w as J, O as M, P as I, j as h, e as s, m as A, a1 as B, c as K, Z as H, t as X, g as P, x as Y, y as $, z as tt, A as et } from "./GeneralLogout-INWUDrak.js";
|
|
2
|
+
import "../stencil/ui-skeleton-C_FDz0NJ.js";
|
|
3
|
+
function it(a) {
|
|
4
|
+
Z(a, "svelte-1b8j2p", ':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;container-type:inline-size;container-name:notifications-container}.PlayerAccountNotificationBox{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));display:block;padding:20px;border-radius:var(--emw--border-radius-medium, 10px);width:100%;color:var(--emw--color-black, #000);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}.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}}');
|
|
5
|
+
}
|
|
6
|
+
function W(a, t, n) {
|
|
7
|
+
const e = a.slice();
|
|
8
|
+
return e[24] = t[n], e;
|
|
9
|
+
}
|
|
10
|
+
function z(a, t, n) {
|
|
11
|
+
const e = a.slice();
|
|
12
|
+
return e[21] = t[n], e;
|
|
13
|
+
}
|
|
14
|
+
function nt(a) {
|
|
15
|
+
let t, n = M(
|
|
16
|
+
/*notificationsData*/
|
|
17
|
+
a[1]
|
|
18
|
+
), e = [];
|
|
19
|
+
for (let i = 0; i < n.length; i += 1)
|
|
20
|
+
e[i] = L(W(a, n, i));
|
|
21
|
+
return {
|
|
22
|
+
c() {
|
|
23
|
+
t = g("div");
|
|
24
|
+
for (let i = 0; i < e.length; i += 1)
|
|
25
|
+
e[i].c();
|
|
26
|
+
s(t, "class", "PlayerAccountNotificationsContainer " + /*isMobile*/
|
|
27
|
+
(a[3] ? "PlayerAccountNotificationsMobileContainer" : "")), s(t, "part", "PlayerAccountNotificationsContainer " + /*isMobile*/
|
|
28
|
+
(a[3] ? "PlayerAccountNotificationsMobileContainer" : ""));
|
|
29
|
+
},
|
|
30
|
+
m(i, o) {
|
|
31
|
+
x(i, t, o);
|
|
32
|
+
for (let l = 0; l < e.length; l += 1)
|
|
33
|
+
e[l] && e[l].m(t, null);
|
|
34
|
+
},
|
|
35
|
+
p(i, o) {
|
|
36
|
+
if (o & /*notificationsData*/
|
|
37
|
+
2) {
|
|
38
|
+
n = M(
|
|
39
|
+
/*notificationsData*/
|
|
40
|
+
i[1]
|
|
41
|
+
);
|
|
42
|
+
let l;
|
|
43
|
+
for (l = 0; l < n.length; l += 1) {
|
|
44
|
+
const r = W(i, n, l);
|
|
45
|
+
e[l] ? e[l].p(r, o) : (e[l] = L(r), e[l].c(), e[l].m(t, null));
|
|
46
|
+
}
|
|
47
|
+
for (; l < e.length; l += 1)
|
|
48
|
+
e[l].d(1);
|
|
49
|
+
e.length = n.length;
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
d(i) {
|
|
53
|
+
i && b(t), I(e, i);
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function ot(a) {
|
|
58
|
+
let t, n, e = M({ length: 3 }), i = [];
|
|
59
|
+
for (let o = 0; o < e.length; o += 1)
|
|
60
|
+
i[o] = F(z(a, e, o));
|
|
61
|
+
return {
|
|
62
|
+
c() {
|
|
63
|
+
t = g("div"), n = g("div");
|
|
64
|
+
for (let o = 0; o < i.length; o += 1)
|
|
65
|
+
i[o].c();
|
|
66
|
+
s(n, "class", "skeletonWrapper"), s(t, "class", "skeletonContainer");
|
|
67
|
+
},
|
|
68
|
+
m(o, l) {
|
|
69
|
+
x(o, t, l), h(t, n);
|
|
70
|
+
for (let r = 0; r < i.length; r += 1)
|
|
71
|
+
i[r] && i[r].m(n, null);
|
|
72
|
+
},
|
|
73
|
+
p(o, l) {
|
|
74
|
+
if (l & /*isMobile, mediaQuery*/
|
|
75
|
+
24) {
|
|
76
|
+
e = M({ length: 3 });
|
|
77
|
+
let r;
|
|
78
|
+
for (r = 0; r < e.length; r += 1) {
|
|
79
|
+
const d = z(o, e, r);
|
|
80
|
+
i[r] ? i[r].p(d, l) : (i[r] = F(d), i[r].c(), i[r].m(n, null));
|
|
81
|
+
}
|
|
82
|
+
for (; r < i.length; r += 1)
|
|
83
|
+
i[r].d(1);
|
|
84
|
+
i.length = e.length;
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
d(o) {
|
|
88
|
+
o && b(t), I(i, o);
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
function L(a) {
|
|
93
|
+
let t, n, e, i, o, l, r, d = (
|
|
94
|
+
/*notification*/
|
|
95
|
+
a[24].title + ""
|
|
96
|
+
), p, _, u, k = (
|
|
97
|
+
/*notification*/
|
|
98
|
+
a[24].description + ""
|
|
99
|
+
), v;
|
|
100
|
+
return {
|
|
101
|
+
c() {
|
|
102
|
+
t = g("div"), n = g("div"), e = g("img"), l = A(), r = g("p"), p = X(d), _ = A(), u = g("p"), v = A(), s(e, "class", "PlayerAccountNotificationIcon"), s(e, "width", "24px"), s(e, "height", "24px"), B(e.src, i = /*notification*/
|
|
103
|
+
a[24].icon) || s(e, "src", i), s(e, "alt", o = /*notification*/
|
|
104
|
+
a[24].title), s(r, "class", "PlayerAccountNotificationTitle"), s(n, "class", "PlayerAccountNotificationBoxHeader"), s(u, "class", "PlayerAccountNotificationText"), s(t, "class", "PlayerAccountNotificationBox"), H(
|
|
105
|
+
t,
|
|
106
|
+
"background",
|
|
107
|
+
/*notification*/
|
|
108
|
+
a[24].backgroundColor
|
|
109
|
+
);
|
|
110
|
+
},
|
|
111
|
+
m(m, f) {
|
|
112
|
+
x(m, t, f), h(t, n), h(n, e), h(n, l), h(n, r), h(r, p), h(t, _), h(t, u), u.innerHTML = k, h(t, v);
|
|
113
|
+
},
|
|
114
|
+
p(m, f) {
|
|
115
|
+
f & /*notificationsData*/
|
|
116
|
+
2 && !B(e.src, i = /*notification*/
|
|
117
|
+
m[24].icon) && s(e, "src", i), f & /*notificationsData*/
|
|
118
|
+
2 && o !== (o = /*notification*/
|
|
119
|
+
m[24].title) && s(e, "alt", o), f & /*notificationsData*/
|
|
120
|
+
2 && d !== (d = /*notification*/
|
|
121
|
+
m[24].title + "") && K(p, d), f & /*notificationsData*/
|
|
122
|
+
2 && k !== (k = /*notification*/
|
|
123
|
+
m[24].description + "") && (u.innerHTML = k), f & /*notificationsData*/
|
|
124
|
+
2 && H(
|
|
125
|
+
t,
|
|
126
|
+
"background",
|
|
127
|
+
/*notification*/
|
|
128
|
+
m[24].backgroundColor
|
|
129
|
+
);
|
|
130
|
+
},
|
|
131
|
+
d(m) {
|
|
132
|
+
m && b(t);
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
function lt(a) {
|
|
137
|
+
let t;
|
|
138
|
+
return {
|
|
139
|
+
c() {
|
|
140
|
+
t = g("ui-skeleton"), P(t, "structure", "rectangle"), P(t, "width", "auto"), P(
|
|
141
|
+
t,
|
|
142
|
+
"height",
|
|
143
|
+
/*isMobile*/
|
|
144
|
+
a[3] && /*mediaQuery*/
|
|
145
|
+
a[4].matches ? "250px" : "400px"
|
|
146
|
+
);
|
|
147
|
+
},
|
|
148
|
+
m(n, e) {
|
|
149
|
+
x(n, t, e);
|
|
150
|
+
},
|
|
151
|
+
p: C,
|
|
152
|
+
d(n) {
|
|
153
|
+
n && b(t);
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
function at(a) {
|
|
158
|
+
let t;
|
|
159
|
+
return {
|
|
160
|
+
c() {
|
|
161
|
+
t = g("ui-skeleton"), t.innerHTML = "", P(t, "structure", "rectangle"), P(t, "width", "auto"), P(t, "height", "130px");
|
|
162
|
+
},
|
|
163
|
+
m(n, e) {
|
|
164
|
+
x(n, t, e);
|
|
165
|
+
},
|
|
166
|
+
p: C,
|
|
167
|
+
d(n) {
|
|
168
|
+
n && b(t);
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
function F(a) {
|
|
173
|
+
let t, n;
|
|
174
|
+
function e(l, r) {
|
|
175
|
+
return (
|
|
176
|
+
/*isMobile*/
|
|
177
|
+
l[3] ? lt : at
|
|
178
|
+
);
|
|
179
|
+
}
|
|
180
|
+
let o = e(a)(a);
|
|
181
|
+
return {
|
|
182
|
+
c() {
|
|
183
|
+
t = g("div"), o.c(), n = A(), s(t, "class", "skeletonNotification");
|
|
184
|
+
},
|
|
185
|
+
m(l, r) {
|
|
186
|
+
x(l, t, r), o.m(t, null), h(t, n);
|
|
187
|
+
},
|
|
188
|
+
p(l, r) {
|
|
189
|
+
o.p(l, r);
|
|
190
|
+
},
|
|
191
|
+
d(l) {
|
|
192
|
+
l && b(t), o.d();
|
|
193
|
+
}
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
function rt(a) {
|
|
197
|
+
let t;
|
|
198
|
+
function n(o, l) {
|
|
199
|
+
var r;
|
|
200
|
+
if (
|
|
201
|
+
/*skeletonLoading*/
|
|
202
|
+
o[2]
|
|
203
|
+
)
|
|
204
|
+
return ot;
|
|
205
|
+
if (
|
|
206
|
+
/*notificationsData*/
|
|
207
|
+
(r = o[1]) != null && r.length
|
|
208
|
+
)
|
|
209
|
+
return nt;
|
|
210
|
+
}
|
|
211
|
+
let e = n(a), i = e && e(a);
|
|
212
|
+
return {
|
|
213
|
+
c() {
|
|
214
|
+
t = g("div"), i && i.c();
|
|
215
|
+
},
|
|
216
|
+
m(o, l) {
|
|
217
|
+
x(o, t, l), i && i.m(t, null), a[13](t);
|
|
218
|
+
},
|
|
219
|
+
p(o, [l]) {
|
|
220
|
+
e === (e = n(o)) && i ? i.p(o, l) : (i && i.d(1), i = e && e(o), i && (i.c(), i.m(t, null)));
|
|
221
|
+
},
|
|
222
|
+
i: C,
|
|
223
|
+
o: C,
|
|
224
|
+
d(o) {
|
|
225
|
+
o && b(t), i && i.d(), a[13](null);
|
|
226
|
+
}
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
function ct(a, t, n) {
|
|
230
|
+
let { lang: e = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: l = "" } = t, { customnotif: r = "" } = t, { clientstyling: d = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: _ } = t, u, k = !0, v = window.navigator.userAgent, m = S(v) !== "PC", f = [], N = [], j = R();
|
|
231
|
+
const q = window.matchMedia("(min-width: 768px)");
|
|
232
|
+
function R() {
|
|
233
|
+
const c = S(v);
|
|
234
|
+
if (c)
|
|
235
|
+
return c === "PC" ? "dk" : "mtWeb";
|
|
236
|
+
}
|
|
237
|
+
const D = () => {
|
|
238
|
+
const c = new URL(`${i}/${e}/support-information`);
|
|
239
|
+
c.searchParams.append("env", o), c.searchParams.append("userRoles", l), c.searchParams.append("device", j), fetch(c.href).then((w) => w.json()).then((w) => {
|
|
240
|
+
w.length && (n(1, f = w[0].children), f == null || f.forEach((E) => {
|
|
241
|
+
N.length && (E.backgroundColor = N[0], N.shift());
|
|
242
|
+
}));
|
|
243
|
+
}).catch((w) => {
|
|
244
|
+
console.error(w);
|
|
245
|
+
}).finally(() => {
|
|
246
|
+
setTimeout(
|
|
247
|
+
() => {
|
|
248
|
+
n(2, k = !1);
|
|
249
|
+
},
|
|
250
|
+
1e3
|
|
251
|
+
);
|
|
252
|
+
});
|
|
253
|
+
}, T = () => {
|
|
254
|
+
r.replace(" ", ""), N = r.split(",");
|
|
255
|
+
};
|
|
256
|
+
G(() => () => {
|
|
257
|
+
});
|
|
258
|
+
function U(c) {
|
|
259
|
+
J[c ? "unshift" : "push"](() => {
|
|
260
|
+
u = c, n(0, u);
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
return a.$$set = (c) => {
|
|
264
|
+
"lang" in c && n(5, e = c.lang), "cmsendpoint" in c && n(6, i = c.cmsendpoint), "env" in c && n(7, o = c.env), "userroles" in c && n(8, l = c.userroles), "customnotif" in c && n(9, r = c.customnotif), "clientstyling" in c && n(10, d = c.clientstyling), "clientstylingurl" in c && n(11, p = c.clientstylingurl), "mbsource" in c && n(12, _ = c.mbsource);
|
|
265
|
+
}, a.$$.update = () => {
|
|
266
|
+
a.$$.dirty & /*customnotif*/
|
|
267
|
+
512 && r && T(), a.$$.dirty & /*notificationsData*/
|
|
268
|
+
2 && f && T(), a.$$.dirty & /*userroles, cmsendpoint, env, lang*/
|
|
269
|
+
480 && l && i && o && e && D(), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
270
|
+
1025 && d && u && Y(u, d), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
271
|
+
2049 && p && u && $(u, p), a.$$.dirty & /*mbsource, customStylingContainer*/
|
|
272
|
+
4097 && _ && u && tt(u, `${_}.Style`);
|
|
273
|
+
}, [
|
|
274
|
+
u,
|
|
275
|
+
f,
|
|
276
|
+
k,
|
|
277
|
+
m,
|
|
278
|
+
q,
|
|
279
|
+
e,
|
|
280
|
+
i,
|
|
281
|
+
o,
|
|
282
|
+
l,
|
|
283
|
+
r,
|
|
284
|
+
d,
|
|
285
|
+
p,
|
|
286
|
+
_,
|
|
287
|
+
U
|
|
288
|
+
];
|
|
289
|
+
}
|
|
290
|
+
class st extends O {
|
|
291
|
+
constructor(t) {
|
|
292
|
+
super(), Q(
|
|
293
|
+
this,
|
|
294
|
+
t,
|
|
295
|
+
ct,
|
|
296
|
+
rt,
|
|
297
|
+
V,
|
|
298
|
+
{
|
|
299
|
+
lang: 5,
|
|
300
|
+
cmsendpoint: 6,
|
|
301
|
+
env: 7,
|
|
302
|
+
userroles: 8,
|
|
303
|
+
customnotif: 9,
|
|
304
|
+
clientstyling: 10,
|
|
305
|
+
clientstylingurl: 11,
|
|
306
|
+
mbsource: 12
|
|
307
|
+
},
|
|
308
|
+
it
|
|
309
|
+
);
|
|
310
|
+
}
|
|
311
|
+
get lang() {
|
|
312
|
+
return this.$$.ctx[5];
|
|
313
|
+
}
|
|
314
|
+
set lang(t) {
|
|
315
|
+
this.$$set({ lang: t }), y();
|
|
316
|
+
}
|
|
317
|
+
get cmsendpoint() {
|
|
318
|
+
return this.$$.ctx[6];
|
|
319
|
+
}
|
|
320
|
+
set cmsendpoint(t) {
|
|
321
|
+
this.$$set({ cmsendpoint: t }), y();
|
|
322
|
+
}
|
|
323
|
+
get env() {
|
|
324
|
+
return this.$$.ctx[7];
|
|
325
|
+
}
|
|
326
|
+
set env(t) {
|
|
327
|
+
this.$$set({ env: t }), y();
|
|
328
|
+
}
|
|
329
|
+
get userroles() {
|
|
330
|
+
return this.$$.ctx[8];
|
|
331
|
+
}
|
|
332
|
+
set userroles(t) {
|
|
333
|
+
this.$$set({ userroles: t }), y();
|
|
334
|
+
}
|
|
335
|
+
get customnotif() {
|
|
336
|
+
return this.$$.ctx[9];
|
|
337
|
+
}
|
|
338
|
+
set customnotif(t) {
|
|
339
|
+
this.$$set({ customnotif: t }), y();
|
|
340
|
+
}
|
|
341
|
+
get clientstyling() {
|
|
342
|
+
return this.$$.ctx[10];
|
|
343
|
+
}
|
|
344
|
+
set clientstyling(t) {
|
|
345
|
+
this.$$set({ clientstyling: t }), y();
|
|
346
|
+
}
|
|
347
|
+
get clientstylingurl() {
|
|
348
|
+
return this.$$.ctx[11];
|
|
349
|
+
}
|
|
350
|
+
set clientstylingurl(t) {
|
|
351
|
+
this.$$set({ clientstylingurl: t }), y();
|
|
352
|
+
}
|
|
353
|
+
get mbsource() {
|
|
354
|
+
return this.$$.ctx[12];
|
|
355
|
+
}
|
|
356
|
+
set mbsource(t) {
|
|
357
|
+
this.$$set({ mbsource: t }), y();
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
et(st, { lang: {}, cmsendpoint: {}, env: {}, userroles: {}, customnotif: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
361
|
+
export {
|
|
362
|
+
st as default
|
|
363
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a4 as Kl, a5 as Xl, a as Jl, $ as Zl, S as Ql, i as ed, s as td, f as ye, b as id, n as Jt, d as ae,
|
|
1
|
+
import { a4 as Kl, a5 as Xl, a as Jl, $ as Zl, S as Ql, i as ed, s as td, f as ye, b as id, n as Jt, d as ae, h as le, k as E, p as od, q as rd, u as sd, w as Is, O as xt, P as Di, j as f, m as K, e as I, g as F, r as nd, c as Ce, o as ft, l as Gt, v as Ve, t as fe, F as ad, x as ld, y as dd, z as cd, A as hd, B as ud } from "./GeneralLogout-BHj50gej.js";
|
|
2
2
|
import "../stencil/ui-skeleton-mkMdvWYI.js";
|
|
3
|
-
import "./PlayerAccountGamingLimitsGroupEdit-
|
|
3
|
+
import "./PlayerAccountGamingLimitsGroupEdit-DN-VG2ye.js";
|
|
4
4
|
if (typeof window < "u") {
|
|
5
5
|
let i = function(e) {
|
|
6
6
|
return function(...t) {
|
|
@@ -13,7 +13,7 @@ if (typeof window < "u") {
|
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
-
customElements.define = i(customElements.define), import("./PlayerAccountGeneralConfirmationModal-
|
|
16
|
+
customElements.define = i(customElements.define), import("./PlayerAccountGeneralConfirmationModal-BksqLS7V.js").then(
|
|
17
17
|
({ default: e }) => {
|
|
18
18
|
!customElements.get("player-account-general-confirmation-modal") && customElements.define(
|
|
19
19
|
"player-account-general-confirmation-modal",
|
|
@@ -26,9 +26,9 @@ var ks = (i, e, t) => new Promise((o, r) => {
|
|
|
26
26
|
}, a = (l) => l.done ? o(l.value) : Promise.resolve(l.value).then(s, n);
|
|
27
27
|
a((t = t.apply(i, e)).next());
|
|
28
28
|
});
|
|
29
|
-
import { a4 as sd, a5 as nd, a as ad, $ as ld, S as dd, i as cd, s as hd, f as ye, b as ud, n as Jt, d as ae,
|
|
29
|
+
import { a4 as sd, a5 as nd, a as ad, $ as ld, S as dd, i as cd, s as hd, f as ye, b as ud, n as Jt, d as ae, h as le, k as E, p as pd, q as md, u as _d, w as Ss, O as xt, P as Di, j as f, m as K, e as I, g as F, r as fd, c as Ce, o as ft, l as Gt, v as Ve, t as fe, F as vd, x as gd, y as bd, z as yd, A as xd, B as wd } from "./GeneralLogout-INWUDrak.js";
|
|
30
30
|
import "../stencil/ui-skeleton-C_FDz0NJ.js";
|
|
31
|
-
import "./PlayerAccountGamingLimitsGroupEdit-
|
|
31
|
+
import "./PlayerAccountGamingLimitsGroupEdit-vuv0-MMp.js";
|
|
32
32
|
if (typeof window != "undefined") {
|
|
33
33
|
let i = function(e) {
|
|
34
34
|
return function(...t) {
|
|
@@ -41,7 +41,7 @@ if (typeof window != "undefined") {
|
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
|
-
customElements.define = i(customElements.define), import("./PlayerAccountGeneralConfirmationModal-
|
|
44
|
+
customElements.define = i(customElements.define), import("./PlayerAccountGeneralConfirmationModal-eHfDDGZk.js").then(
|
|
45
45
|
({ default: e }) => {
|
|
46
46
|
!customElements.get("player-account-general-confirmation-modal") && customElements.define(
|
|
47
47
|
"player-account-general-confirmation-modal",
|