@everymatrix/player-account-controller-nd 1.62.0 → 1.62.2
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-mKknRJlq.js → GeneralLogout-BTv2xgJd.js} +874 -853
- package/components/GeneralLogout-CG738i36.cjs +21 -0
- package/components/{GeneralLogout-D-SNAWMX.js → GeneralLogout-DwBcwupG.js} +934 -913
- package/components/{PlayerAccountBettingHistory-D5R8TtVb.js → PlayerAccountBettingHistory-BQDZnQJv.js} +127 -126
- package/components/PlayerAccountBettingHistory-BaUkbO2e.js +328 -0
- package/components/PlayerAccountBettingHistory-Lp_KBkg4.cjs +1 -0
- package/components/{PlayerAccountBiometrics-DvJlyQ8z.cjs → PlayerAccountBiometrics-CeKoZNyZ.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-Dke9scx2.js → PlayerAccountBiometrics-Dbhuxb19.js} +22 -22
- package/components/{PlayerAccountBiometrics-1g9245j6.js → PlayerAccountBiometrics-Dh74Qtn7.js} +22 -22
- package/components/{PlayerAccountClosureNd-CH8UCD0A.js → PlayerAccountClosureNd-RzZdy1X2.js} +17 -17
- package/components/{PlayerAccountClosureNd-B4GnQQHa.cjs → PlayerAccountClosureNd-W9p7zcbe.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-DtDZNFDs.js → PlayerAccountClosureNd-iArH3zZZ.js} +17 -17
- package/components/{PlayerAccountControllerNd-BdF7tJjB.cjs → PlayerAccountControllerNd-DDNVYyWt.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-0vYnuN11.js → PlayerAccountControllerNd-DsFtUK-L.js} +300 -300
- package/components/{PlayerAccountControllerNd-Dl53HnbV.js → PlayerAccountControllerNd-DxIJz73c.js} +302 -302
- package/components/{PlayerAccountGamingLimits-CPx-vfQw.js → PlayerAccountGamingLimits-BBHhkpWC.js} +81 -81
- package/components/{PlayerAccountGamingLimits-UmFJS4yG.cjs → PlayerAccountGamingLimits-T_6zt26G.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-geiSuCGE.js → PlayerAccountGamingLimits-vH684ale.js} +81 -81
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CIMWBU9F.js → PlayerAccountGamingLimitsConfirmationModal-BnEweLIY.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BTGWvZ_H.cjs → PlayerAccountGamingLimitsConfirmationModal-D4IU66Wc.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CJvAbSXA.js → PlayerAccountGamingLimitsConfirmationModal-DncSFVcn.js} +30 -30
- package/components/{PlayerAccountGamingLimitsGroupEdit-DWXrW8rz.cjs → PlayerAccountGamingLimitsGroupEdit-BQRjAEj3.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsGroupEdit-BBhaC0tE.js → PlayerAccountGamingLimitsGroupEdit-CLcyg1f7.js} +54 -54
- package/components/{PlayerAccountGamingLimitsGroupEdit-DxCKKvtt.js → PlayerAccountGamingLimitsGroupEdit-CUg555uP.js} +54 -54
- package/components/{PlayerAccountGamingLimitsHistory2Nd-CT3BWhmN.cjs → PlayerAccountGamingLimitsHistory2Nd-BQGrRCWJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-CYh5FnDV.js → PlayerAccountGamingLimitsHistory2Nd-BjyWFgbh.js} +80 -80
- package/components/{PlayerAccountGamingLimitsHistory2Nd-y1qwR7nl.js → PlayerAccountGamingLimitsHistory2Nd-Dnahi30S.js} +82 -82
- package/components/{PlayerAccountGamingLimitsInfoCard-Cc-JLiZF.js → PlayerAccountGamingLimitsInfoCard-C_enXawK.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-Dm9hSuFC.js → PlayerAccountGamingLimitsInfoCard-DAWoyE6Y.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-7dQquqQ4.cjs → PlayerAccountGamingLimitsInfoCard-DhUwJ_di.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BOSiubNU.js → PlayerAccountGamingLimitsPage2Gm16Nd-CItiaWO4.js} +9 -9
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-jqrV54-Z.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-CcjVoGsA.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-pShvuCwK.js → PlayerAccountGamingLimitsPage2Gm16Nd-DuqE9Pkw.js} +9 -9
- package/components/{PlayerAccountGamingLimitsPopup-Bq6g8_Ex.cjs → PlayerAccountGamingLimitsPopup-BsJZk5nW.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-CLyTPF2L.js → PlayerAccountGamingLimitsPopup-Cmrpm7xg.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-DycV-u3W.js → PlayerAccountGamingLimitsPopup-DG8DCA7n.js} +42 -42
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DyjjE7PE.js → PlayerAccountGamingLimitsWrapper2Nd-6FmlTMHY.js} +17 -17
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DN_Z1qfZ.cjs → PlayerAccountGamingLimitsWrapper2Nd-CJNV_SoM.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-P_wjUM_e.js → PlayerAccountGamingLimitsWrapper2Nd-DXImP9Aw.js} +17 -17
- package/components/{PlayerAccountGeneralConfirmationModal-DoognqGf.cjs → PlayerAccountGeneralConfirmationModal-C855qGTP.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-4w5ypHAs.js → PlayerAccountGeneralConfirmationModal-CUpQq9mt.js} +34 -34
- package/components/{PlayerAccountGeneralConfirmationModal-u_yQVW36.js → PlayerAccountGeneralConfirmationModal-XmJMAUuW.js} +34 -34
- package/components/{PlayerAccountMenuNd-BdUbwkRC.js → PlayerAccountMenuNd-B7orxu9_.js} +29 -29
- package/components/{PlayerAccountMenuNd-DYq6-5E1.cjs → PlayerAccountMenuNd-E7P8KRxO.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-QadC-Grv.js → PlayerAccountMenuNd-fsrRNaEx.js} +32 -32
- package/components/{PlayerAccountModal-zI2QLAL1.cjs → PlayerAccountModal-DISAz4QD.cjs} +1 -1
- package/components/{PlayerAccountModal-CJAW5eai.js → PlayerAccountModal-DSZm9b_J.js} +42 -42
- package/components/{PlayerAccountModal-DzIuV3KN.js → PlayerAccountModal-Dqlx4tKV.js} +42 -42
- package/components/{PlayerAccountNotifications-CGztykmG.js → PlayerAccountNotifications-Ccv15Pjf.js} +60 -61
- package/components/{PlayerAccountNotifications-EUP33bwS.js → PlayerAccountNotifications-CeyX2lOx.js} +58 -59
- package/components/PlayerAccountNotifications-DN4TPQQU.cjs +1 -0
- package/components/{PlayerAccountSelfExclusionNd-Dkyi4Q2x.js → PlayerAccountSelfExclusionNd--JbMhz8n.js} +783 -788
- package/components/{PlayerAccountSelfExclusionNd-yy1Ud0-u.js → PlayerAccountSelfExclusionNd-C3rsUt5E.js} +1689 -1694
- package/components/{PlayerAccountSelfExclusionNd-8PVzGTTw.cjs → PlayerAccountSelfExclusionNd-CrYM5oTU.cjs} +153 -153
- package/components/{PlayerAccountTimeout-CoW4G5DN.js → PlayerAccountTimeout-BJL3CfsU.js} +58 -58
- package/components/{PlayerAccountTimeout-CwtA0wGq.cjs → PlayerAccountTimeout-BUvC_yO8.cjs} +1 -1
- package/components/{PlayerAccountTimeout-BMw0JLoU.js → PlayerAccountTimeout-SoqN7bMq.js} +58 -58
- package/components/{PlayerActiveBonuses-BYyY-f1R.cjs → PlayerActiveBonuses-BMD0VJ2_.cjs} +1 -1
- package/components/{PlayerActiveBonuses-B21RFH6W.js → PlayerActiveBonuses-Btey4mu_.js} +73 -73
- package/components/{PlayerActiveBonuses-ZPlncnwp.js → PlayerActiveBonuses-DiAj4d61.js} +74 -74
- package/components/PlayerBonusCard-69HwaVge.cjs +1 -0
- package/components/{PlayerBonusCard-B13e0fyW.js → PlayerBonusCard-CJu1lKOw.js} +158 -159
- package/components/{PlayerBonusCard-DO7afQyl.js → PlayerBonusCard-D_Dnw9ZH.js} +158 -159
- package/components/{PlayerBonusHistory-CPRAnYEn.cjs → PlayerBonusHistory-BJEyVsie.cjs} +1 -1
- package/components/{PlayerBonusHistory-OuvyxqYe.js → PlayerBonusHistory-CDGRzY8q.js} +33 -33
- package/components/{PlayerBonusHistory-DxhjoDEt.js → PlayerBonusHistory-XlSopYvg.js} +33 -33
- package/components/{PlayerChangePassword-Dtr2n1Et.js → PlayerChangePassword-BpFdooht.js} +82 -82
- package/components/{PlayerChangePassword-awaQVsiP.cjs → PlayerChangePassword-CeUedW_1.cjs} +1 -1
- package/components/{PlayerChangePassword-Ddfah5-0.js → PlayerChangePassword-DCAPfPzU.js} +82 -82
- package/components/{PlayerDeposit-CqqQuB6-.js → PlayerDeposit-BlaUbOFE.js} +75 -75
- package/components/PlayerDeposit-BmunpkgB.cjs +1 -0
- package/components/{PlayerDeposit-DzJLjkJJ.js → PlayerDeposit-CICzsn3y.js} +75 -75
- package/components/{PlayerGamingHistory-CS7Mfu_1.cjs → PlayerGamingHistory-Bhdmeb-N.cjs} +1 -1
- package/components/{PlayerGamingHistory-DpVGmQq7.js → PlayerGamingHistory-C5gP-ris.js} +84 -84
- package/components/{PlayerGamingHistory-BOravz1q.js → PlayerGamingHistory-DDIZM40J.js} +74 -74
- package/components/{PlayerPendingWithdrawals-BXngse4L.js → PlayerPendingWithdrawals-BTEMyPpn.js} +26 -26
- package/components/{PlayerPendingWithdrawals-aaHugNLD.cjs → PlayerPendingWithdrawals-BdgNl6Vs.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-B5LftQI0.js → PlayerPendingWithdrawals-CIZkb_Lo.js} +26 -26
- package/components/{PlayerProfileInfo-AfctiBM2.cjs → PlayerProfileInfo-CGrlx6XJ.cjs} +1 -1
- package/components/{PlayerProfileInfo-DaEIOZ50.js → PlayerProfileInfo-tunQ_AFy.js} +60 -60
- package/components/{PlayerProfileInfo-DoFaM2xG.js → PlayerProfileInfo-xIbimgiF.js} +60 -60
- package/components/{PlayerRealityCheck-BzcyHDQ3.cjs → PlayerRealityCheck-BPjD8dSn.cjs} +1 -1
- package/components/{PlayerRealityCheck-D4UIiUnm.js → PlayerRealityCheck-CMS4zfEr.js} +33 -33
- package/components/{PlayerRealityCheck-DI56cucK.js → PlayerRealityCheck-DKtG-FwA.js} +33 -33
- package/components/{PlayerTransactionHistory-BdX1ph_m.js → PlayerTransactionHistory-D78rlE2i.js} +24 -24
- package/components/{PlayerTransactionHistory-Dff51WQG.cjs → PlayerTransactionHistory-D8WUTK8U.cjs} +1 -1
- package/components/{PlayerTransactionHistory-CQ3fEpfj.js → PlayerTransactionHistory-XQ_BjuGi.js} +24 -24
- package/components/{PlayerWithdrawal-8DAmymCW.js → PlayerWithdrawal-Dih0SjE2.js} +19 -19
- package/components/{PlayerWithdrawal-DdPBGufW.cjs → PlayerWithdrawal-g7alD3vj.cjs} +1 -1
- package/components/{PlayerWithdrawal-DvDjalE_.js → PlayerWithdrawal-mOfIFDcT.js} +19 -19
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +1 -0
- package/stencil/{app-globals-0f993ce5-Dab_DTBV.js → app-globals-0f993ce5-DzSE6TtH.js} +3 -5
- package/stencil/{checkbox-group-input_9-Z2MKRqTa.js → checkbox-group-input_9-BRv_piPJ.js} +11 -13
- package/stencil/checkbox-group-input_9-DCA5sbPo.cjs +2 -0
- package/stencil/{checkbox-group-input_9-ByOlN8T1.js → checkbox-group-input_9-bIi7h3_V.js} +11 -13
- package/stencil/{general-input-Hae0m9ND.js → general-input-CQs-v3_Y.js} +1243 -1249
- package/stencil/{general-input-BICEE8TF.cjs → general-input-DgKQ0KIf.cjs} +199 -199
- package/stencil/{general-input-Cbs_fuJv.js → general-input-OUKrtuTp.js} +1241 -1247
- package/stencil/index-1ef3a64c-C4-h3nXC.js +572 -0
- package/stencil/index-1ef3a64c-Cb8qLHe4.js +556 -0
- package/stencil/index-1ef3a64c-CzlpRJE7.cjs +1 -0
- package/stencil/index-7c5e707a-C9R6jYpt.js +616 -0
- package/stencil/index-7c5e707a-DvxqcEpc.js +643 -0
- package/stencil/index-7c5e707a-ESX_oqGB.cjs +1 -0
- package/stencil/index-9c0f6c58-D5txcAjr.js +549 -0
- package/stencil/index-9c0f6c58-DeCWAW-B.cjs +1 -0
- package/stencil/index-9c0f6c58-DeLVbTUg.js +576 -0
- package/stencil/index-9cd44522-C566YWys.js +626 -0
- package/stencil/index-9cd44522-Crt8CtBe.js +610 -0
- package/stencil/index-9cd44522-jv76DI6J.cjs +1 -0
- package/stencil/index-b2193545-CnMZ4-Ff.js +519 -0
- package/stencil/index-b2193545-Ct5AhxM8.cjs +1 -0
- package/stencil/index-b2193545-DePry399.js +503 -0
- package/stencil/{password-input_2-0tVmf9Va.js → password-input_2-C84wWI7v.js} +3 -3
- package/stencil/password-input_2-Cb1ahifk.cjs +193 -0
- package/stencil/{password-input_2-B5aWg7vh.js → password-input_2-DQO_Gwqq.js} +3 -3
- package/stencil/{player-change-password-gm2-039e300e-BMDnHtCW.cjs → player-change-password-gm2-039e300e-DIjTdjzy.cjs} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-BqCRJ0OI.js → player-change-password-gm2-039e300e-mRLvAYzw.js} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-BtDuTmYF.js → player-change-password-gm2-039e300e-s9osP-86.js} +1 -1
- package/stencil/{player-change-password-gm2-BC1K2F7n.js → player-change-password-gm2-DHnclYKw.js} +2 -2
- package/stencil/{player-change-password-gm2-DS5az_KG.cjs → player-change-password-gm2-DRIOay0t.cjs} +1 -1
- package/stencil/{player-change-password-gm2-DiEM63HW.js → player-change-password-gm2-nCHwkzVc.js} +2 -2
- package/stencil/player-kyc-verification-C0h2CP_Y.cjs +180 -0
- package/stencil/{player-kyc-verification_2-BdvRBF9L.js → player-kyc-verification-dmJNIHni.js} +39 -67
- package/stencil/{player-kyc-verification_2-B17znAZy.js → player-kyc-verification-z8R7nMzo.js} +28 -58
- package/stencil/{toggle-checkbox-input-BqVxrLPm.js → toggle-checkbox-input-Bh9dCfaE.js} +2 -2
- package/stencil/toggle-checkbox-input-CDg0DAAQ.cjs +1 -0
- package/stencil/{toggle-checkbox-input-DKIzGsYQ.js → toggle-checkbox-input-CFvMg26A.js} +2 -2
- package/stencil/{ui-skeleton-6d1c12ae-B0lzGcPW.js → ui-skeleton-1cb75d00-BI5A-j0y.js} +4 -4
- package/stencil/{ui-skeleton-6d1c12ae-Cw2SlQb_.cjs → ui-skeleton-1cb75d00-Batko5iK.cjs} +2 -2
- package/stencil/{ui-skeleton-6d1c12ae-Bn7U0R1W.js → ui-skeleton-1cb75d00-CwDKR1VD.js} +4 -4
- package/stencil/{ui-skeleton-Clmo2oUQ.js → ui-skeleton-C974aG7g.js} +3 -3
- package/stencil/{ui-skeleton-BZGtE_pj.js → ui-skeleton-DoX-UmRU.js} +5 -5
- package/stencil/{ui-skeleton-DtBGpyNr.cjs → ui-skeleton-t0bb1jH7.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-Bf-RYTF7.cjs → user-deposit-withdrawal-CBWlU3d2.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-CtPQxjHH.js → user-deposit-withdrawal-CE9oDw4W.js} +2 -2
- package/stencil/{user-deposit-withdrawal-N_Rrcutw.js → user-deposit-withdrawal-Dnqg2IvK.js} +2 -2
- package/stencil/{ui-image_2-BRZIuSu1.js → user-transaction-history-BAK7MHHa.js} +93 -121
- package/stencil/{ui-image_2-CKBb8XBa.js → user-transaction-history-DhQ6RqNc.js} +81 -111
- package/stencil/user-transaction-history-DiRXpfbN.cjs +1 -0
- package/components/GeneralLogout-BjsDUNrm.cjs +0 -21
- package/components/PlayerAccountBettingHistory-B65ODj4i.js +0 -329
- package/components/PlayerAccountBettingHistory-Bu3VS2Sg.cjs +0 -1
- package/components/PlayerAccountNotifications-D9mN6eKW.cjs +0 -1
- package/components/PlayerBonusCard-DQLlnVcy.cjs +0 -1
- package/components/PlayerDeposit-_oIOMh8l.cjs +0 -1
- package/stencil/app-globals-0f993ce5-BE38v2MW.cjs +0 -1
- package/stencil/checkbox-group-input_9-DVmGQbxk.cjs +0 -2
- package/stencil/index-1ef3a64c-CW9Jb4Nr.cjs +0 -1
- package/stencil/index-1ef3a64c-CvokNgAJ.js +0 -572
- package/stencil/index-1ef3a64c-DVdf4csw.js +0 -556
- package/stencil/index-21ba09dd-BSHxKLno.cjs +0 -1
- package/stencil/index-21ba09dd-C-CdzL2X.js +0 -616
- package/stencil/index-21ba09dd-C4H8b97G.js +0 -643
- package/stencil/index-34008883-D4JgG-UH.cjs +0 -1
- package/stencil/index-34008883-DiRFksj6.js +0 -577
- package/stencil/index-34008883-HqY7Srzu.js +0 -604
- package/stencil/index-9cd44522-Bk39Mpgz.js +0 -610
- package/stencil/index-9cd44522-CEWNaj7G.js +0 -626
- package/stencil/index-9cd44522-nMffx5wM.cjs +0 -1
- package/stencil/index-b2193545-C2O5zpMz.js +0 -503
- package/stencil/index-b2193545-CetOOG6c.cjs +0 -1
- package/stencil/index-b2193545-Cz_oXgAw.js +0 -519
- package/stencil/index-b7bbd57e-DDZIP4mE.cjs +0 -1
- package/stencil/index-b7bbd57e-DFGEAoV8.js +0 -534
- package/stencil/index-b7bbd57e-Df65SxFl.js +0 -550
- package/stencil/password-input_2-CRu0zESf.cjs +0 -193
- package/stencil/player-kyc-verification-BfHzkEOF.js +0 -7
- package/stencil/player-kyc-verification-BqUD44w7.cjs +0 -1
- package/stencil/player-kyc-verification-DIIkcjkH.js +0 -25
- package/stencil/player-kyc-verification_2-Dx4nmjvu.cjs +0 -180
- package/stencil/toggle-checkbox-input-B-kRXFjU.cjs +0 -1
- package/stencil/ui-image-38c3c15f-CC0sXcn0.cjs +0 -1
- package/stencil/ui-image-38c3c15f-CvZLpmW8.js +0 -39
- package/stencil/ui-image-38c3c15f-D_mVwqe0.js +0 -39
- package/stencil/ui-image-CVUFYT4z.js +0 -29
- package/stencil/ui-image-D5gJFvCC.js +0 -11
- package/stencil/ui-image-De8uxxRM.cjs +0 -1
- package/stencil/ui-image_2-DFkW49rO.cjs +0 -1
- package/stencil/user-transaction-history-C1jOEodw.cjs +0 -1
- package/stencil/user-transaction-history-DRDnjPf-.js +0 -25
- package/stencil/user-transaction-history-DylE0kbF.js +0 -7
package/components/{PlayerAccountNotifications-EUP33bwS.js → PlayerAccountNotifications-CeyX2lOx.js}
RENAMED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { S as O, i as Q,
|
|
2
|
-
import "../stencil/ui-
|
|
3
|
-
import "../stencil/ui-skeleton-Clmo2oUQ.js";
|
|
1
|
+
import { S as O, i as Q, s as V, f as y, b as Y, n as v, d as b, g as k, j as g, q as M, u as G, w as J, O as T, P as L, h as p, o as s, k as C, a1 as B, c as K, Y as H, m as X, e as N, x as Z, y as $, z as tt, A as et } from "./GeneralLogout-BTv2xgJd.js";
|
|
2
|
+
import "../stencil/ui-skeleton-C974aG7g.js";
|
|
4
3
|
function it(a) {
|
|
5
|
-
|
|
4
|
+
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
5
|
}
|
|
7
6
|
function S(a, t, n) {
|
|
8
7
|
const e = a.slice();
|
|
@@ -24,12 +23,12 @@ function nt(a) {
|
|
|
24
23
|
t = g("div");
|
|
25
24
|
for (let i = 0; i < e.length; i += 1)
|
|
26
25
|
e[i].c();
|
|
27
|
-
|
|
26
|
+
s(t, "class", "PlayerAccountNotificationsContainer " + /*isMobile*/
|
|
28
27
|
(a[3] && /*mediaQuery*/
|
|
29
28
|
a[4].matches ? "PlayerAccountNotificationsTabletContainer" : (
|
|
30
29
|
/*isMobile*/
|
|
31
30
|
a[3] ? "PlayerAccountNotificationsMobileContainer" : ""
|
|
32
|
-
))),
|
|
31
|
+
))), s(t, "part", "PlayerAccountNotificationsContainer " + /*isMobile*/
|
|
33
32
|
(a[3] && /*mediaQuery*/
|
|
34
33
|
a[4].matches ? "PlayerAccountNotificationsTabletContainer" : (
|
|
35
34
|
/*isMobile*/
|
|
@@ -59,7 +58,7 @@ function nt(a) {
|
|
|
59
58
|
}
|
|
60
59
|
},
|
|
61
60
|
d(i) {
|
|
62
|
-
i &&
|
|
61
|
+
i && b(t), L(e, i);
|
|
63
62
|
}
|
|
64
63
|
};
|
|
65
64
|
}
|
|
@@ -72,7 +71,7 @@ function ot(a) {
|
|
|
72
71
|
t = g("div"), n = g("div");
|
|
73
72
|
for (let o = 0; o < i.length; o += 1)
|
|
74
73
|
i[o].c();
|
|
75
|
-
|
|
74
|
+
s(n, "class", "skeletonWrapper"), s(t, "class", "skeletonContainer");
|
|
76
75
|
},
|
|
77
76
|
m(o, l) {
|
|
78
77
|
k(o, t, l), p(t, n);
|
|
@@ -94,7 +93,7 @@ function ot(a) {
|
|
|
94
93
|
}
|
|
95
94
|
},
|
|
96
95
|
d(o) {
|
|
97
|
-
o &&
|
|
96
|
+
o && b(t), L(i, o);
|
|
98
97
|
}
|
|
99
98
|
};
|
|
100
99
|
}
|
|
@@ -102,15 +101,15 @@ function W(a) {
|
|
|
102
101
|
let t, n, e, i, o, l, c, f = (
|
|
103
102
|
/*notification*/
|
|
104
103
|
a[24].title + ""
|
|
105
|
-
),
|
|
104
|
+
), h, _, u, x = (
|
|
106
105
|
/*notification*/
|
|
107
106
|
a[24].description + ""
|
|
108
107
|
), A;
|
|
109
108
|
return {
|
|
110
109
|
c() {
|
|
111
|
-
t = g("div"), n = g("div"), e = g("
|
|
112
|
-
a[24].icon) ||
|
|
113
|
-
a[24].title),
|
|
110
|
+
t = g("div"), n = g("div"), e = g("img"), l = C(), c = g("p"), h = X(f), _ = C(), u = g("p"), A = C(), s(e, "class", "PlayerAccountNotificationIcon"), s(e, "width", "24px"), s(e, "height", "24px"), B(e.src, i = /*notification*/
|
|
111
|
+
a[24].icon) || s(e, "src", i), s(e, "alt", o = /*notification*/
|
|
112
|
+
a[24].title), s(c, "class", "PlayerAccountNotificationTitle"), s(n, "class", "PlayerAccountNotificationBoxHeader"), s(u, "class", "PlayerAccountNotificationText"), s(t, "class", "PlayerAccountNotificationBox"), H(
|
|
114
113
|
t,
|
|
115
114
|
"background",
|
|
116
115
|
/*notification*/
|
|
@@ -118,18 +117,18 @@ function W(a) {
|
|
|
118
117
|
);
|
|
119
118
|
},
|
|
120
119
|
m(m, d) {
|
|
121
|
-
k(m, t, d), p(t, n), p(n, e), p(n, l), p(n, c), p(c,
|
|
120
|
+
k(m, t, d), p(t, n), p(n, e), p(n, l), p(n, c), p(c, h), p(t, _), p(t, u), u.innerHTML = x, p(t, A);
|
|
122
121
|
},
|
|
123
122
|
p(m, d) {
|
|
124
123
|
d & /*notificationsData*/
|
|
125
124
|
2 && !B(e.src, i = /*notification*/
|
|
126
|
-
m[24].icon) &&
|
|
125
|
+
m[24].icon) && s(e, "src", i), d & /*notificationsData*/
|
|
127
126
|
2 && o !== (o = /*notification*/
|
|
128
|
-
m[24].title) &&
|
|
127
|
+
m[24].title) && s(e, "alt", o), d & /*notificationsData*/
|
|
129
128
|
2 && f !== (f = /*notification*/
|
|
130
|
-
m[24].title + "") &&
|
|
131
|
-
2 &&
|
|
132
|
-
m[24].description + "") && (
|
|
129
|
+
m[24].title + "") && K(h, f), d & /*notificationsData*/
|
|
130
|
+
2 && x !== (x = /*notification*/
|
|
131
|
+
m[24].description + "") && (u.innerHTML = x), d & /*notificationsData*/
|
|
133
132
|
2 && H(
|
|
134
133
|
t,
|
|
135
134
|
"background",
|
|
@@ -138,7 +137,7 @@ function W(a) {
|
|
|
138
137
|
);
|
|
139
138
|
},
|
|
140
139
|
d(m) {
|
|
141
|
-
m &&
|
|
140
|
+
m && b(t);
|
|
142
141
|
}
|
|
143
142
|
};
|
|
144
143
|
}
|
|
@@ -146,7 +145,7 @@ function at(a) {
|
|
|
146
145
|
let t;
|
|
147
146
|
return {
|
|
148
147
|
c() {
|
|
149
|
-
t = g("ui-skeleton"),
|
|
148
|
+
t = g("ui-skeleton"), N(t, "structure", "rectangle"), N(t, "width", "auto"), N(
|
|
150
149
|
t,
|
|
151
150
|
"height",
|
|
152
151
|
/*isMobile*/
|
|
@@ -159,7 +158,7 @@ function at(a) {
|
|
|
159
158
|
},
|
|
160
159
|
p: v,
|
|
161
160
|
d(n) {
|
|
162
|
-
n &&
|
|
161
|
+
n && b(t);
|
|
163
162
|
}
|
|
164
163
|
};
|
|
165
164
|
}
|
|
@@ -167,14 +166,14 @@ function lt(a) {
|
|
|
167
166
|
let t;
|
|
168
167
|
return {
|
|
169
168
|
c() {
|
|
170
|
-
t = g("ui-skeleton"), t.innerHTML = "",
|
|
169
|
+
t = g("ui-skeleton"), t.innerHTML = "", N(t, "structure", "rectangle"), N(t, "width", "auto"), N(t, "height", "130px");
|
|
171
170
|
},
|
|
172
171
|
m(n, e) {
|
|
173
172
|
k(n, t, e);
|
|
174
173
|
},
|
|
175
174
|
p: v,
|
|
176
175
|
d(n) {
|
|
177
|
-
n &&
|
|
176
|
+
n && b(t);
|
|
178
177
|
}
|
|
179
178
|
};
|
|
180
179
|
}
|
|
@@ -189,7 +188,7 @@ function I(a) {
|
|
|
189
188
|
let o = e(a)(a);
|
|
190
189
|
return {
|
|
191
190
|
c() {
|
|
192
|
-
t = g("div"), o.c(), n = C(),
|
|
191
|
+
t = g("div"), o.c(), n = C(), s(t, "class", "skeletonNotification");
|
|
193
192
|
},
|
|
194
193
|
m(l, c) {
|
|
195
194
|
k(l, t, c), o.m(t, null), p(t, n);
|
|
@@ -198,7 +197,7 @@ function I(a) {
|
|
|
198
197
|
o.p(l, c);
|
|
199
198
|
},
|
|
200
199
|
d(l) {
|
|
201
|
-
l &&
|
|
200
|
+
l && b(t), o.d();
|
|
202
201
|
}
|
|
203
202
|
};
|
|
204
203
|
}
|
|
@@ -230,30 +229,30 @@ function ct(a) {
|
|
|
230
229
|
i: v,
|
|
231
230
|
o: v,
|
|
232
231
|
d(o) {
|
|
233
|
-
o &&
|
|
232
|
+
o && b(t), i && i.d(), a[13](null);
|
|
234
233
|
}
|
|
235
234
|
};
|
|
236
235
|
}
|
|
237
236
|
function rt(a, t, n) {
|
|
238
|
-
let { lang: e = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: l = "" } = t, { customnotif: c = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl:
|
|
239
|
-
const
|
|
240
|
-
function
|
|
237
|
+
let { lang: e = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: l = "" } = t, { customnotif: c = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: _ } = t, u, x = !0, A = window.navigator.userAgent, m = M(A) !== "PC", d = [], w = [], D = R();
|
|
238
|
+
const q = window.matchMedia("(min-width: 768px)");
|
|
239
|
+
function R() {
|
|
241
240
|
const r = M(A);
|
|
242
241
|
if (r)
|
|
243
242
|
return r === "PC" ? "dk" : "mtWeb";
|
|
244
243
|
}
|
|
245
|
-
const
|
|
244
|
+
const j = () => {
|
|
246
245
|
const r = new URL(`${i}/${e}/support-information`);
|
|
247
|
-
r.searchParams.append("env", o), r.searchParams.append("userRoles", l), r.searchParams.append("device", D), fetch(r.href).then((
|
|
248
|
-
|
|
246
|
+
r.searchParams.append("env", o), r.searchParams.append("userRoles", l), r.searchParams.append("device", D), fetch(r.href).then((P) => P.json()).then((P) => {
|
|
247
|
+
P.length && (n(1, d = P[0].children), d?.forEach((E) => {
|
|
249
248
|
w.length && (E.backgroundColor = w[0], w.shift());
|
|
250
249
|
}));
|
|
251
|
-
}).catch((
|
|
252
|
-
console.error(
|
|
250
|
+
}).catch((P) => {
|
|
251
|
+
console.error(P);
|
|
253
252
|
}).finally(() => {
|
|
254
253
|
setTimeout(
|
|
255
254
|
() => {
|
|
256
|
-
n(2,
|
|
255
|
+
n(2, x = !1);
|
|
257
256
|
},
|
|
258
257
|
1e3
|
|
259
258
|
);
|
|
@@ -261,37 +260,37 @@ function rt(a, t, n) {
|
|
|
261
260
|
}, F = () => {
|
|
262
261
|
c.replace(" ", ""), w = c.split(",");
|
|
263
262
|
};
|
|
264
|
-
|
|
263
|
+
G(() => () => {
|
|
265
264
|
});
|
|
266
265
|
function U(r) {
|
|
267
|
-
|
|
268
|
-
|
|
266
|
+
J[r ? "unshift" : "push"](() => {
|
|
267
|
+
u = r, n(0, u);
|
|
269
268
|
});
|
|
270
269
|
}
|
|
271
270
|
return a.$$set = (r) => {
|
|
272
|
-
"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, f = r.clientstyling), "clientstylingurl" in r && n(11,
|
|
271
|
+
"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, f = r.clientstyling), "clientstylingurl" in r && n(11, h = r.clientstylingurl), "mbsource" in r && n(12, _ = r.mbsource);
|
|
273
272
|
}, a.$$.update = () => {
|
|
274
273
|
a.$$.dirty & /*customnotif*/
|
|
275
274
|
512 && c && F(), a.$$.dirty & /*notificationsData*/
|
|
276
275
|
2 && d && F(), a.$$.dirty & /*userroles, cmsendpoint, env, lang*/
|
|
277
|
-
480 && l && i && o && e &&
|
|
278
|
-
1025 && f &&
|
|
279
|
-
2049 &&
|
|
280
|
-
4097 &&
|
|
276
|
+
480 && l && i && o && e && j(), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
277
|
+
1025 && f && u && Z(u, f), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
278
|
+
2049 && h && u && $(u, h), a.$$.dirty & /*mbsource, customStylingContainer*/
|
|
279
|
+
4097 && _ && u && tt(u, `${_}.Style`);
|
|
281
280
|
}, [
|
|
282
|
-
|
|
281
|
+
u,
|
|
283
282
|
d,
|
|
284
|
-
|
|
283
|
+
x,
|
|
285
284
|
m,
|
|
286
|
-
|
|
285
|
+
q,
|
|
287
286
|
e,
|
|
288
287
|
i,
|
|
289
288
|
o,
|
|
290
289
|
l,
|
|
291
290
|
c,
|
|
292
291
|
f,
|
|
293
|
-
|
|
294
|
-
|
|
292
|
+
h,
|
|
293
|
+
_,
|
|
295
294
|
U
|
|
296
295
|
];
|
|
297
296
|
}
|
|
@@ -302,7 +301,7 @@ class st extends O {
|
|
|
302
301
|
t,
|
|
303
302
|
rt,
|
|
304
303
|
ct,
|
|
305
|
-
|
|
304
|
+
V,
|
|
306
305
|
{
|
|
307
306
|
lang: 5,
|
|
308
307
|
cmsendpoint: 6,
|
|
@@ -320,52 +319,52 @@ class st extends O {
|
|
|
320
319
|
return this.$$.ctx[5];
|
|
321
320
|
}
|
|
322
321
|
set lang(t) {
|
|
323
|
-
this.$$set({ lang: t }),
|
|
322
|
+
this.$$set({ lang: t }), y();
|
|
324
323
|
}
|
|
325
324
|
get cmsendpoint() {
|
|
326
325
|
return this.$$.ctx[6];
|
|
327
326
|
}
|
|
328
327
|
set cmsendpoint(t) {
|
|
329
|
-
this.$$set({ cmsendpoint: t }),
|
|
328
|
+
this.$$set({ cmsendpoint: t }), y();
|
|
330
329
|
}
|
|
331
330
|
get env() {
|
|
332
331
|
return this.$$.ctx[7];
|
|
333
332
|
}
|
|
334
333
|
set env(t) {
|
|
335
|
-
this.$$set({ env: t }),
|
|
334
|
+
this.$$set({ env: t }), y();
|
|
336
335
|
}
|
|
337
336
|
get userroles() {
|
|
338
337
|
return this.$$.ctx[8];
|
|
339
338
|
}
|
|
340
339
|
set userroles(t) {
|
|
341
|
-
this.$$set({ userroles: t }),
|
|
340
|
+
this.$$set({ userroles: t }), y();
|
|
342
341
|
}
|
|
343
342
|
get customnotif() {
|
|
344
343
|
return this.$$.ctx[9];
|
|
345
344
|
}
|
|
346
345
|
set customnotif(t) {
|
|
347
|
-
this.$$set({ customnotif: t }),
|
|
346
|
+
this.$$set({ customnotif: t }), y();
|
|
348
347
|
}
|
|
349
348
|
get clientstyling() {
|
|
350
349
|
return this.$$.ctx[10];
|
|
351
350
|
}
|
|
352
351
|
set clientstyling(t) {
|
|
353
|
-
this.$$set({ clientstyling: t }),
|
|
352
|
+
this.$$set({ clientstyling: t }), y();
|
|
354
353
|
}
|
|
355
354
|
get clientstylingurl() {
|
|
356
355
|
return this.$$.ctx[11];
|
|
357
356
|
}
|
|
358
357
|
set clientstylingurl(t) {
|
|
359
|
-
this.$$set({ clientstylingurl: t }),
|
|
358
|
+
this.$$set({ clientstylingurl: t }), y();
|
|
360
359
|
}
|
|
361
360
|
get mbsource() {
|
|
362
361
|
return this.$$.ctx[12];
|
|
363
362
|
}
|
|
364
363
|
set mbsource(t) {
|
|
365
|
-
this.$$set({ mbsource: t }),
|
|
364
|
+
this.$$set({ mbsource: t }), y();
|
|
366
365
|
}
|
|
367
366
|
}
|
|
368
|
-
|
|
367
|
+
et(st, { lang: {}, cmsendpoint: {}, env: {}, userroles: {}, customnotif: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
369
368
|
export {
|
|
370
369
|
st as default
|
|
371
370
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CG738i36.cjs");require("../stencil/ui-skeleton-t0bb1jH7.cjs");function S(a){e.append_styles(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}}')}function x(a,t,o){const n=a.slice();return n[24]=t[o],n}function P(a,t,o){const n=a.slice();return n[21]=t[o],n}function H(a){let t,o=e.ensure_array_like(a[1]),n=[];for(let i=0;i<o.length;i+=1)n[i]=N(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]&&a[4].matches?"PlayerAccountNotificationsTabletContainer":a[3]?"PlayerAccountNotificationsMobileContainer":"")),e.attr(t,"part","PlayerAccountNotificationsContainer "+(a[3]&&a[4].matches?"PlayerAccountNotificationsTabletContainer":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]=N(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 L(a){let t,o,n=e.ensure_array_like({length:3}),i=[];for(let l=0;l<n.length;l+=1)i[l]=A(P(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=P(l,n,c);i[c]?i[c].p(f,r):(i[c]=A(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 N(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 W(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 z(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 A(a){let t,o;function n(r,c){return r[3]?W:z}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 L;if((c=l[1])!=null&&c.length)return H}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=[],b=[],v=T();const C=window.matchMedia("(min-width: 768px)");function T(){const s=e.getDevice(y);if(s)return s==="PC"?"dk":"mtWeb"}const M=()=>{const s=new URL(`${i}/${n}/support-information`);s.searchParams.append("env",l),s.searchParams.append("userRoles",r),s.searchParams.append("device",v),fetch(s.href).then(_=>_.json()).then(_=>{_.length&&(o(1,d=_[0].children),d==null||d.forEach(B=>{b.length&&(B.backgroundColor=b[0],b.shift())}))}).catch(_=>{console.error(_)}).finally(()=>{setTimeout(()=>{o(2,h=!1)},1e3)})},k=()=>{c.replace(" ",""),b=c.split(",")};e.onMount(()=>()=>{});function F(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&&k(),a.$$.dirty&2&&d&&k(),a.$$.dirty&480&&r&&i&&l&&n&&M(),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,F]}class w 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},S)}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(w,{lang:{},cmsendpoint:{},env:{},userroles:{},customnotif:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=w;
|