@everymatrix/player-account-controller 1.60.2 → 1.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountController-1pHrtkdF.js → PlayerAccountController-CFveIiLH.js} +14 -14
- package/components/{PlayerAccountController-BgblJNy4.js → PlayerAccountController-CP2uODru.js} +14 -14
- package/components/{PlayerAccountController-BhhrsiNx.cjs → PlayerAccountController-DsIsI9ww.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BjlDW58o.cjs → PlayerAccountGamingLimitsPage2Gm16-BEYO8tnS.cjs} +6 -6
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DeJCm4u2.js → PlayerAccountGamingLimitsPage2Gm16-CAfx0SZl.js} +386 -380
- package/components/{PlayerAccountGamingLimitsPage2Gm16-r8hmIPcw.js → PlayerAccountGamingLimitsPage2Gm16-djQdW8L6.js} +660 -654
- package/components/{PlayerAccountGamingLimitsWrapper2-BcKG_TxP.js → PlayerAccountGamingLimitsWrapper2-BKVQxFca.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-C8_zv-Gl.cjs → PlayerAccountGamingLimitsWrapper2-Coq_1wOX.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-CrOkdCAL.js → PlayerAccountGamingLimitsWrapper2-DY7OziU-.js} +1 -1
- package/components/{PlayerAccountMenu-0dwfNXzd.js → PlayerAccountMenu-CARKaeb_.js} +111 -110
- package/components/{PlayerAccountMenu-CIexYUdx.js → PlayerAccountMenu-CSjfFSiS.js} +111 -110
- package/components/PlayerAccountMenu-DbPwX5s7.cjs +1 -0
- package/components/PlayerAccountNotifications-C1NLTeZY.js +372 -0
- package/components/{PlayerAccountNotifications-C69KyNWq.js → PlayerAccountNotifications-DFauPmd4.js} +62 -61
- package/components/PlayerAccountNotifications-VnrN4aPw.cjs +1 -0
- package/components/{PlayerAccountSelfExclusion-BK4Qt06B.js → PlayerAccountSelfExclusion-BKNMjGeJ.js} +2 -2
- package/components/{PlayerAccountSelfExclusion-C3aFEBGZ.js → PlayerAccountSelfExclusion-BYJ28ASb.js} +2 -2
- package/components/{PlayerAccountSelfExclusion-EEwqevwK.cjs → PlayerAccountSelfExclusion-CcBtRscg.cjs} +2 -2
- package/components/{PlayerAccountTimeout-Dt4WJonL.js → PlayerAccountTimeout-B3AH6XOt.js} +2 -2
- package/components/{PlayerAccountTimeout-C5AtNWo7.js → PlayerAccountTimeout-Bkmp3-eA.js} +2 -2
- package/components/{PlayerAccountTimeout-gK_YDrBY.cjs → PlayerAccountTimeout-CLi5If_j.cjs} +1 -1
- package/components/{PlayerActiveBonuses-CLoyGNwd.js → PlayerActiveBonuses-BRNrSu8p.js} +1 -1
- package/components/{PlayerActiveBonuses-BVXu2xEB.js → PlayerActiveBonuses-C2N9z4Wk.js} +1 -1
- package/components/{PlayerActiveBonuses-B3sDjZPu.cjs → PlayerActiveBonuses-NHzgl6B8.cjs} +1 -1
- package/components/PlayerBonusCard-B1SyuM2F.cjs +1 -0
- package/components/{PlayerBonusCard-B6SaZ0cC.js → PlayerBonusCard-BnXPy7Pl.js} +144 -143
- package/components/{PlayerBonusCard-DMwbLjEW.js → PlayerBonusCard-ys8sEqaW.js} +144 -143
- package/components/{PlayerBonusHistory-D3v1Hfnf.js → PlayerBonusHistory-DMarejVg.js} +2 -2
- package/components/{PlayerBonusHistory-DLUJJGqO.js → PlayerBonusHistory-DSTP6ZoH.js} +2 -2
- package/components/{PlayerBonusHistory-BmOgSTUS.cjs → PlayerBonusHistory-Dg5LjtIZ.cjs} +1 -1
- package/components/{PlayerGamingHistory-CNBltDve.cjs → PlayerGamingHistory-Bz-tWEB-.cjs} +1 -1
- package/components/{PlayerGamingHistory-BYvXvoys.js → PlayerGamingHistory-C-a7eWUa.js} +1 -1
- package/components/{PlayerGamingHistory-C5cNuG6o.js → PlayerGamingHistory-CUv-flEN.js} +1 -1
- package/components/{PlayerProfileInfo-4pEf39os.cjs → PlayerProfileInfo-B2B_yWpR.cjs} +1 -1
- package/components/{PlayerProfileInfo-DKjkFgUz.js → PlayerProfileInfo-DCG1m8s7.js} +1 -1
- package/components/{PlayerProfileInfo-CpFhQZ8r.js → PlayerProfileInfo-TSYhIxp0.js} +1 -1
- package/components/{PlayerRealityCheck-CEu6HPSc.js → PlayerRealityCheck-BCc9e1-4.js} +1 -1
- package/components/{PlayerRealityCheck-DiJJz_Fj.cjs → PlayerRealityCheck-Bs__HuR3.cjs} +1 -1
- package/components/{PlayerRealityCheck-CYMfPzuq.js → PlayerRealityCheck-YPtJgHZo.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/{app-globals-0f993ce5-DzSE6TtH.js → app-globals-0f993ce5-CQ9uDp49.js} +4 -2
- package/stencil/app-globals-0f993ce5-zj2RKZu-.cjs +1 -0
- package/stencil/{checkbox-group-input_9-DEGGgpku.js → checkbox-group-input_9-BRv_piPJ.js} +102 -99
- package/stencil/{checkbox-group-input_9-DDKGgkML.cjs → checkbox-group-input_9-DCA5sbPo.cjs} +2 -2
- package/stencil/{checkbox-group-input_9-Cge1uYJD.js → checkbox-group-input_9-bIi7h3_V.js} +102 -99
- package/stencil/{general-input-D6ZzAION.js → general-input-CQs-v3_Y.js} +2 -2
- package/stencil/{general-input-CbzyUMpM.cjs → general-input-DgKQ0KIf.cjs} +2 -2
- package/stencil/{general-input-DGX9cnfM.js → general-input-OUKrtuTp.js} +2 -2
- package/stencil/{index-1ef3a64c-Cb8qLHe4.js → index-1ef3a64c-BQUwxiUT.js} +1 -1
- package/stencil/{index-1ef3a64c-CzlpRJE7.cjs → index-1ef3a64c-Btq5IvMJ.cjs} +1 -1
- package/stencil/{index-1ef3a64c-C4-h3nXC.js → index-1ef3a64c-Kn7ohe2t.js} +1 -1
- package/stencil/{index-7c5e707a-B9tD4t-g.js → index-21ba09dd-C-HsjTUn.js} +4 -4
- package/stencil/{index-7c5e707a-40SRy2Ab.js → index-21ba09dd-DNkmY6MF.js} +4 -4
- package/stencil/index-21ba09dd-lQRQL1Nd.cjs +1 -0
- package/stencil/index-34008883-B7S8keyz.js +577 -0
- package/stencil/index-34008883-CX1Vpol5.cjs +1 -0
- package/stencil/{index-9c0f6c58-DeLVbTUg.js → index-34008883-DRJSKOUl.js} +228 -200
- package/stencil/{index-9cd44522-DNHOiqex.js → index-9cd44522-C566YWys.js} +4 -4
- package/stencil/{index-9cd44522-bcseM6Tc.js → index-9cd44522-Crt8CtBe.js} +4 -4
- package/stencil/{index-9cd44522-BZa-k0xO.cjs → index-9cd44522-jv76DI6J.cjs} +1 -1
- package/stencil/{index-b2193545-DRVj_AmB.js → index-b2193545-BTiWOlSy.js} +1 -1
- package/stencil/{index-b2193545-lh5NrH1l.cjs → index-b2193545-CZLTKj69.cjs} +1 -1
- package/stencil/{index-b2193545-C2qi7zn0.js → index-b2193545-DXYxg-Ur.js} +1 -1
- package/stencil/index-b7bbd57e-98ddCQYl.js +534 -0
- package/stencil/index-b7bbd57e-BTUOk4HF.js +550 -0
- package/stencil/index-b7bbd57e-CCr8MvU_.cjs +1 -0
- package/stencil/{password-input_2-DfibVL8H.js → password-input_2-C84wWI7v.js} +2 -2
- package/stencil/{password-input_2-ChFdsN2L.cjs → password-input_2-Cb1ahifk.cjs} +1 -1
- package/stencil/{password-input_2-IaELIWPu.js → password-input_2-DQO_Gwqq.js} +2 -2
- package/stencil/{player-change-password-gm2-039e300e-h73P3BnO.cjs → player-change-password-gm2-039e300e-DIjTdjzy.cjs} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-DQu1Qy42.js → player-change-password-gm2-039e300e-mRLvAYzw.js} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-Cbvlv_Cc.js → player-change-password-gm2-039e300e-s9osP-86.js} +1 -1
- package/stencil/{player-change-password-gm2-Ddu97gwX.cjs → player-change-password-gm2-ADkIHrgJ.cjs} +1 -1
- package/stencil/{player-change-password-gm2-o8J_07IZ.js → player-change-password-gm2-CfP6Qbnu.js} +3 -3
- package/stencil/{player-change-password-gm2-CZ4CLVdX.js → player-change-password-gm2-imi6O1-U.js} +3 -3
- package/stencil/player-kyc-verification-CJSQoIZp.js +25 -0
- package/stencil/player-kyc-verification-ChHU4NZP.js +7 -0
- package/stencil/player-kyc-verification-YKqDy8y5.cjs +1 -0
- package/stencil/{player-kyc-verification-dmJNIHni.js → player-kyc-verification_2-EJZCFPKM.js} +67 -39
- package/stencil/player-kyc-verification_2-HIgoVn9n.cjs +180 -0
- package/stencil/{player-kyc-verification-z8R7nMzo.js → player-kyc-verification_2-w8_XwPSF.js} +58 -28
- package/stencil/{toggle-checkbox-input-BJReK7u2.js → toggle-checkbox-input-Bh9dCfaE.js} +1 -1
- package/stencil/{toggle-checkbox-input-DPSvf8jJ.cjs → toggle-checkbox-input-CDg0DAAQ.cjs} +1 -1
- package/stencil/{toggle-checkbox-input-CphJPGIs.js → toggle-checkbox-input-CFvMg26A.js} +1 -1
- package/stencil/ui-image-38c3c15f-B5VYjuwc.cjs +1 -0
- package/stencil/ui-image-38c3c15f-GCugIif_.js +39 -0
- package/stencil/ui-image-38c3c15f-jIUUUHF_.js +39 -0
- package/stencil/ui-image-C3z33p-I.js +29 -0
- package/stencil/ui-image-DZDIlV4g.js +11 -0
- package/stencil/ui-image-Doro4rUa.cjs +1 -0
- package/stencil/{user-transaction-history-BO92Qvk4.js → ui-image_2-CYG1_Yew.js} +111 -81
- package/stencil/ui-image_2-Cyb78tZB.cjs +1 -0
- package/stencil/{user-transaction-history-Bg6onQ-I.js → ui-image_2-nVKXie9g.js} +121 -93
- package/stencil/{ui-skeleton-BCpuJt-t.js → ui-skeleton-1aZpiK3a.js} +5 -5
- package/stencil/{ui-skeleton-ea659b95-79vEjTsx.js → ui-skeleton-6d1c12ae-C3kv5BUk.js} +2 -2
- package/stencil/{ui-skeleton-ea659b95-BrjFstai.js → ui-skeleton-6d1c12ae-CaaJODhZ.js} +2 -2
- package/stencil/{ui-skeleton-ea659b95-DuSAPIG5.cjs → ui-skeleton-6d1c12ae-DJPgMPrF.cjs} +2 -2
- package/stencil/{ui-skeleton-BAxmxOly.cjs → ui-skeleton-84ZRJzrd.cjs} +1 -1
- package/stencil/{ui-skeleton-BnjJK_-z.js → ui-skeleton-DX9fcIIz.js} +3 -3
- package/stencil/{user-deposit-withdrawal-CBWlU3d2.cjs → user-deposit-withdrawal-BC5Vpfet.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-Dnqg2IvK.js → user-deposit-withdrawal-DHbTwAxF.js} +2 -2
- package/stencil/{user-deposit-withdrawal-CE9oDw4W.js → user-deposit-withdrawal-IExj2XcB.js} +2 -2
- package/stencil/user-transaction-history-BQjF7asc.cjs +1 -0
- package/stencil/user-transaction-history-BhqF7ecn.js +7 -0
- package/stencil/user-transaction-history-GwpbhIB0.js +25 -0
- package/components/PlayerAccountMenu-Bra1jlKa.cjs +0 -1
- package/components/PlayerAccountNotifications-BJWMhwFJ.js +0 -371
- package/components/PlayerAccountNotifications-BgE2Nu5e.cjs +0 -1
- package/components/PlayerBonusCard-4A6XzJO6.cjs +0 -1
- package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +0 -1
- package/stencil/index-7c5e707a-DosLPDO6.cjs +0 -1
- package/stencil/index-9c0f6c58-D5txcAjr.js +0 -549
- package/stencil/index-9c0f6c58-DeCWAW-B.cjs +0 -1
- package/stencil/player-kyc-verification-C0h2CP_Y.cjs +0 -180
- package/stencil/user-transaction-history-COJbthDt.cjs +0 -1
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
import { S as O, i as Q, s as V, f as _, b as Z, n as v, d as k, g as P, j as g, q as M, u as G, w as J, O as T, P as L, h as p, o as h, k as C, a1 as B, e as f, c as K, Z as H, m as X, x as Y, y as $, z as tt, A as et } from "./GeneralLogout-C38FmUFl.js";
|
|
2
|
+
import "../stencil/ui-image-C3z33p-I.js";
|
|
3
|
+
import "../stencil/ui-skeleton-1aZpiK3a.js";
|
|
4
|
+
function it(a) {
|
|
5
|
+
Z(a, "svelte-yka2kr", ':host{padding:0;margin:0;font-family:inherit}.PlayerAccountNotificationsContainer{padding:0 5px;display:grid;grid-gap:20px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountNotificationBox{display:block;padding:10px;border-radius:5px;width:100%;background:var(--emw--color-gray-300, #58586B);color:var(--emw--color-white, #FFFFFF);box-sizing:border-box;text-decoration:none;word-break:break-word;word-wrap:break-word;overflow-wrap:anywhere;white-space:normal}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}.skeletonContainer{container-type:inline-size}.skeletonContainer .skeletonWrapper{animation:fadeIn ease 0.3s}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@container (max-width: 425px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:20px;padding:0px 10px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
|
|
6
|
+
}
|
|
7
|
+
function S(a, t, n) {
|
|
8
|
+
const e = a.slice();
|
|
9
|
+
return e[24] = t[n], e;
|
|
10
|
+
}
|
|
11
|
+
function z(a, t, n) {
|
|
12
|
+
const e = a.slice();
|
|
13
|
+
return e[21] = t[n], e;
|
|
14
|
+
}
|
|
15
|
+
function nt(a) {
|
|
16
|
+
let t, n = T(
|
|
17
|
+
/*notificationsData*/
|
|
18
|
+
a[1]
|
|
19
|
+
), e = [];
|
|
20
|
+
for (let i = 0; i < n.length; i += 1)
|
|
21
|
+
e[i] = W(S(a, n, i));
|
|
22
|
+
return {
|
|
23
|
+
c() {
|
|
24
|
+
t = g("div");
|
|
25
|
+
for (let i = 0; i < e.length; i += 1)
|
|
26
|
+
e[i].c();
|
|
27
|
+
h(t, "class", "PlayerAccountNotificationsContainer " + /*isMobile*/
|
|
28
|
+
(a[3] && /*mediaQuery*/
|
|
29
|
+
a[4].matches ? "PlayerAccountNotificationsTabletContainer" : (
|
|
30
|
+
/*isMobile*/
|
|
31
|
+
a[3] ? "PlayerAccountNotificationsMobileContainer" : ""
|
|
32
|
+
))), h(t, "part", "PlayerAccountNotificationsContainer " + /*isMobile*/
|
|
33
|
+
(a[3] && /*mediaQuery*/
|
|
34
|
+
a[4].matches ? "PlayerAccountNotificationsTabletContainer" : (
|
|
35
|
+
/*isMobile*/
|
|
36
|
+
a[3] ? "PlayerAccountNotificationsMobileContainer" : ""
|
|
37
|
+
)));
|
|
38
|
+
},
|
|
39
|
+
m(i, o) {
|
|
40
|
+
P(i, t, o);
|
|
41
|
+
for (let l = 0; l < e.length; l += 1)
|
|
42
|
+
e[l] && e[l].m(t, null);
|
|
43
|
+
},
|
|
44
|
+
p(i, o) {
|
|
45
|
+
if (o & /*notificationsData*/
|
|
46
|
+
2) {
|
|
47
|
+
n = T(
|
|
48
|
+
/*notificationsData*/
|
|
49
|
+
i[1]
|
|
50
|
+
);
|
|
51
|
+
let l;
|
|
52
|
+
for (l = 0; l < n.length; l += 1) {
|
|
53
|
+
const c = S(i, n, l);
|
|
54
|
+
e[l] ? e[l].p(c, o) : (e[l] = W(c), e[l].c(), e[l].m(t, null));
|
|
55
|
+
}
|
|
56
|
+
for (; l < e.length; l += 1)
|
|
57
|
+
e[l].d(1);
|
|
58
|
+
e.length = n.length;
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
d(i) {
|
|
62
|
+
i && k(t), L(e, i);
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
function ot(a) {
|
|
67
|
+
let t, n, e = T({ length: 3 }), i = [];
|
|
68
|
+
for (let o = 0; o < e.length; o += 1)
|
|
69
|
+
i[o] = I(z(a, e, o));
|
|
70
|
+
return {
|
|
71
|
+
c() {
|
|
72
|
+
t = g("div"), n = g("div");
|
|
73
|
+
for (let o = 0; o < i.length; o += 1)
|
|
74
|
+
i[o].c();
|
|
75
|
+
h(n, "class", "skeletonWrapper"), h(t, "class", "skeletonContainer");
|
|
76
|
+
},
|
|
77
|
+
m(o, l) {
|
|
78
|
+
P(o, t, l), p(t, n);
|
|
79
|
+
for (let c = 0; c < i.length; c += 1)
|
|
80
|
+
i[c] && i[c].m(n, null);
|
|
81
|
+
},
|
|
82
|
+
p(o, l) {
|
|
83
|
+
if (l & /*isMobile, mediaQuery*/
|
|
84
|
+
24) {
|
|
85
|
+
e = T({ length: 3 });
|
|
86
|
+
let c;
|
|
87
|
+
for (c = 0; c < e.length; c += 1) {
|
|
88
|
+
const d = z(o, e, c);
|
|
89
|
+
i[c] ? i[c].p(d, l) : (i[c] = I(d), i[c].c(), i[c].m(n, null));
|
|
90
|
+
}
|
|
91
|
+
for (; c < i.length; c += 1)
|
|
92
|
+
i[c].d(1);
|
|
93
|
+
i.length = e.length;
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
d(o) {
|
|
97
|
+
o && k(t), L(i, o);
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
function W(a) {
|
|
102
|
+
let t, n, e, i, o, l, c, d = (
|
|
103
|
+
/*notification*/
|
|
104
|
+
a[24].title + ""
|
|
105
|
+
), y, x, s, b = (
|
|
106
|
+
/*notification*/
|
|
107
|
+
a[24].description + ""
|
|
108
|
+
), A;
|
|
109
|
+
return {
|
|
110
|
+
c() {
|
|
111
|
+
t = g("div"), n = g("div"), e = g("ui-image"), l = C(), c = g("p"), y = X(d), x = C(), s = g("p"), A = C(), f(e, "imgClass", "PlayerAccountNotificationIcon"), f(e, "width", "24px"), f(e, "height", "24px"), B(e.src, i = /*notification*/
|
|
112
|
+
a[24].icon) || f(e, "src", i), f(e, "alt", o = /*notification*/
|
|
113
|
+
a[24].title), h(c, "class", "PlayerAccountNotificationTitle"), h(n, "class", "PlayerAccountNotificationBoxHeader"), h(s, "class", "PlayerAccountNotificationText"), h(t, "class", "PlayerAccountNotificationBox"), H(
|
|
114
|
+
t,
|
|
115
|
+
"background",
|
|
116
|
+
/*notification*/
|
|
117
|
+
a[24].backgroundColor
|
|
118
|
+
);
|
|
119
|
+
},
|
|
120
|
+
m(m, u) {
|
|
121
|
+
P(m, t, u), p(t, n), p(n, e), p(n, l), p(n, c), p(c, y), p(t, x), p(t, s), s.innerHTML = b, p(t, A);
|
|
122
|
+
},
|
|
123
|
+
p(m, u) {
|
|
124
|
+
u & /*notificationsData*/
|
|
125
|
+
2 && !B(e.src, i = /*notification*/
|
|
126
|
+
m[24].icon) && f(e, "src", i), u & /*notificationsData*/
|
|
127
|
+
2 && o !== (o = /*notification*/
|
|
128
|
+
m[24].title) && f(e, "alt", o), u & /*notificationsData*/
|
|
129
|
+
2 && d !== (d = /*notification*/
|
|
130
|
+
m[24].title + "") && K(y, d), u & /*notificationsData*/
|
|
131
|
+
2 && b !== (b = /*notification*/
|
|
132
|
+
m[24].description + "") && (s.innerHTML = b), u & /*notificationsData*/
|
|
133
|
+
2 && H(
|
|
134
|
+
t,
|
|
135
|
+
"background",
|
|
136
|
+
/*notification*/
|
|
137
|
+
m[24].backgroundColor
|
|
138
|
+
);
|
|
139
|
+
},
|
|
140
|
+
d(m) {
|
|
141
|
+
m && k(t);
|
|
142
|
+
}
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
function at(a) {
|
|
146
|
+
let t;
|
|
147
|
+
return {
|
|
148
|
+
c() {
|
|
149
|
+
t = g("ui-skeleton"), f(t, "structure", "rectangle"), f(t, "width", "auto"), f(
|
|
150
|
+
t,
|
|
151
|
+
"height",
|
|
152
|
+
/*isMobile*/
|
|
153
|
+
a[3] && /*mediaQuery*/
|
|
154
|
+
a[4].matches ? "250px" : "400px"
|
|
155
|
+
);
|
|
156
|
+
},
|
|
157
|
+
m(n, e) {
|
|
158
|
+
P(n, t, e);
|
|
159
|
+
},
|
|
160
|
+
p: v,
|
|
161
|
+
d(n) {
|
|
162
|
+
n && k(t);
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
function lt(a) {
|
|
167
|
+
let t;
|
|
168
|
+
return {
|
|
169
|
+
c() {
|
|
170
|
+
t = g("ui-skeleton"), t.innerHTML = "", f(t, "structure", "rectangle"), f(t, "width", "auto"), f(t, "height", "130px");
|
|
171
|
+
},
|
|
172
|
+
m(n, e) {
|
|
173
|
+
P(n, t, e);
|
|
174
|
+
},
|
|
175
|
+
p: v,
|
|
176
|
+
d(n) {
|
|
177
|
+
n && k(t);
|
|
178
|
+
}
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
function I(a) {
|
|
182
|
+
let t, n;
|
|
183
|
+
function e(l, c) {
|
|
184
|
+
return (
|
|
185
|
+
/*isMobile*/
|
|
186
|
+
l[3] ? at : lt
|
|
187
|
+
);
|
|
188
|
+
}
|
|
189
|
+
let o = e(a)(a);
|
|
190
|
+
return {
|
|
191
|
+
c() {
|
|
192
|
+
t = g("div"), o.c(), n = C(), h(t, "class", "skeletonNotification");
|
|
193
|
+
},
|
|
194
|
+
m(l, c) {
|
|
195
|
+
P(l, t, c), o.m(t, null), p(t, n);
|
|
196
|
+
},
|
|
197
|
+
p(l, c) {
|
|
198
|
+
o.p(l, c);
|
|
199
|
+
},
|
|
200
|
+
d(l) {
|
|
201
|
+
l && k(t), o.d();
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
function ct(a) {
|
|
206
|
+
let t;
|
|
207
|
+
function n(o, l) {
|
|
208
|
+
var c;
|
|
209
|
+
if (
|
|
210
|
+
/*skeletonLoading*/
|
|
211
|
+
o[2]
|
|
212
|
+
)
|
|
213
|
+
return ot;
|
|
214
|
+
if (
|
|
215
|
+
/*notificationsData*/
|
|
216
|
+
(c = o[1]) != null && c.length
|
|
217
|
+
)
|
|
218
|
+
return nt;
|
|
219
|
+
}
|
|
220
|
+
let e = n(a), i = e && e(a);
|
|
221
|
+
return {
|
|
222
|
+
c() {
|
|
223
|
+
t = g("div"), i && i.c();
|
|
224
|
+
},
|
|
225
|
+
m(o, l) {
|
|
226
|
+
P(o, t, l), i && i.m(t, null), a[13](t);
|
|
227
|
+
},
|
|
228
|
+
p(o, [l]) {
|
|
229
|
+
e === (e = n(o)) && i ? i.p(o, l) : (i && i.d(1), i = e && e(o), i && (i.c(), i.m(t, null)));
|
|
230
|
+
},
|
|
231
|
+
i: v,
|
|
232
|
+
o: v,
|
|
233
|
+
d(o) {
|
|
234
|
+
o && k(t), i && i.d(), a[13](null);
|
|
235
|
+
}
|
|
236
|
+
};
|
|
237
|
+
}
|
|
238
|
+
function rt(a, t, n) {
|
|
239
|
+
let { lang: e = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: l = "" } = t, { customnotif: c = "" } = t, { clientstyling: d = "" } = t, { clientstylingurl: y = "" } = t, { mbsource: x } = t, s, b = !0, A = window.navigator.userAgent, m = M(A) !== "PC", u = [], w = [], q = j();
|
|
240
|
+
const R = window.matchMedia("(min-width: 768px)");
|
|
241
|
+
function j() {
|
|
242
|
+
const r = M(A);
|
|
243
|
+
if (r)
|
|
244
|
+
return r === "PC" ? "dk" : "mtWeb";
|
|
245
|
+
}
|
|
246
|
+
const D = () => {
|
|
247
|
+
const r = new URL(`${i}/${e}/support-information`);
|
|
248
|
+
r.searchParams.append("env", o), r.searchParams.append("userRoles", l), r.searchParams.append("device", q), fetch(r.href).then((N) => N.json()).then((N) => {
|
|
249
|
+
N.length && (n(1, u = N[0].children), u == null || u.forEach((E) => {
|
|
250
|
+
w.length && (E.backgroundColor = w[0], w.shift());
|
|
251
|
+
}));
|
|
252
|
+
}).catch((N) => {
|
|
253
|
+
console.error(N);
|
|
254
|
+
}).finally(() => {
|
|
255
|
+
setTimeout(
|
|
256
|
+
() => {
|
|
257
|
+
n(2, b = !1);
|
|
258
|
+
},
|
|
259
|
+
1e3
|
|
260
|
+
);
|
|
261
|
+
});
|
|
262
|
+
}, F = () => {
|
|
263
|
+
c.replace(" ", ""), w = c.split(",");
|
|
264
|
+
};
|
|
265
|
+
G(() => () => {
|
|
266
|
+
});
|
|
267
|
+
function U(r) {
|
|
268
|
+
J[r ? "unshift" : "push"](() => {
|
|
269
|
+
s = r, n(0, s);
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
return a.$$set = (r) => {
|
|
273
|
+
"lang" in r && n(5, e = r.lang), "cmsendpoint" in r && n(6, i = r.cmsendpoint), "env" in r && n(7, o = r.env), "userroles" in r && n(8, l = r.userroles), "customnotif" in r && n(9, c = r.customnotif), "clientstyling" in r && n(10, d = r.clientstyling), "clientstylingurl" in r && n(11, y = r.clientstylingurl), "mbsource" in r && n(12, x = r.mbsource);
|
|
274
|
+
}, a.$$.update = () => {
|
|
275
|
+
a.$$.dirty & /*customnotif*/
|
|
276
|
+
512 && c && F(), a.$$.dirty & /*notificationsData*/
|
|
277
|
+
2 && u && F(), a.$$.dirty & /*userroles, cmsendpoint, env, lang*/
|
|
278
|
+
480 && l && i && o && e && D(), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
279
|
+
1025 && d && s && Y(s, d), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
280
|
+
2049 && y && s && $(s, y), a.$$.dirty & /*mbsource, customStylingContainer*/
|
|
281
|
+
4097 && x && s && tt(s, `${x}.Style`);
|
|
282
|
+
}, [
|
|
283
|
+
s,
|
|
284
|
+
u,
|
|
285
|
+
b,
|
|
286
|
+
m,
|
|
287
|
+
R,
|
|
288
|
+
e,
|
|
289
|
+
i,
|
|
290
|
+
o,
|
|
291
|
+
l,
|
|
292
|
+
c,
|
|
293
|
+
d,
|
|
294
|
+
y,
|
|
295
|
+
x,
|
|
296
|
+
U
|
|
297
|
+
];
|
|
298
|
+
}
|
|
299
|
+
class st extends O {
|
|
300
|
+
constructor(t) {
|
|
301
|
+
super(), Q(
|
|
302
|
+
this,
|
|
303
|
+
t,
|
|
304
|
+
rt,
|
|
305
|
+
ct,
|
|
306
|
+
V,
|
|
307
|
+
{
|
|
308
|
+
lang: 5,
|
|
309
|
+
cmsendpoint: 6,
|
|
310
|
+
env: 7,
|
|
311
|
+
userroles: 8,
|
|
312
|
+
customnotif: 9,
|
|
313
|
+
clientstyling: 10,
|
|
314
|
+
clientstylingurl: 11,
|
|
315
|
+
mbsource: 12
|
|
316
|
+
},
|
|
317
|
+
it
|
|
318
|
+
);
|
|
319
|
+
}
|
|
320
|
+
get lang() {
|
|
321
|
+
return this.$$.ctx[5];
|
|
322
|
+
}
|
|
323
|
+
set lang(t) {
|
|
324
|
+
this.$$set({ lang: t }), _();
|
|
325
|
+
}
|
|
326
|
+
get cmsendpoint() {
|
|
327
|
+
return this.$$.ctx[6];
|
|
328
|
+
}
|
|
329
|
+
set cmsendpoint(t) {
|
|
330
|
+
this.$$set({ cmsendpoint: t }), _();
|
|
331
|
+
}
|
|
332
|
+
get env() {
|
|
333
|
+
return this.$$.ctx[7];
|
|
334
|
+
}
|
|
335
|
+
set env(t) {
|
|
336
|
+
this.$$set({ env: t }), _();
|
|
337
|
+
}
|
|
338
|
+
get userroles() {
|
|
339
|
+
return this.$$.ctx[8];
|
|
340
|
+
}
|
|
341
|
+
set userroles(t) {
|
|
342
|
+
this.$$set({ userroles: t }), _();
|
|
343
|
+
}
|
|
344
|
+
get customnotif() {
|
|
345
|
+
return this.$$.ctx[9];
|
|
346
|
+
}
|
|
347
|
+
set customnotif(t) {
|
|
348
|
+
this.$$set({ customnotif: t }), _();
|
|
349
|
+
}
|
|
350
|
+
get clientstyling() {
|
|
351
|
+
return this.$$.ctx[10];
|
|
352
|
+
}
|
|
353
|
+
set clientstyling(t) {
|
|
354
|
+
this.$$set({ clientstyling: t }), _();
|
|
355
|
+
}
|
|
356
|
+
get clientstylingurl() {
|
|
357
|
+
return this.$$.ctx[11];
|
|
358
|
+
}
|
|
359
|
+
set clientstylingurl(t) {
|
|
360
|
+
this.$$set({ clientstylingurl: t }), _();
|
|
361
|
+
}
|
|
362
|
+
get mbsource() {
|
|
363
|
+
return this.$$.ctx[12];
|
|
364
|
+
}
|
|
365
|
+
set mbsource(t) {
|
|
366
|
+
this.$$set({ mbsource: t }), _();
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
et(st, { lang: {}, cmsendpoint: {}, env: {}, userroles: {}, customnotif: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
370
|
+
export {
|
|
371
|
+
st as default
|
|
372
|
+
};
|