@everymatrix/player-account-controller 1.53.12 → 1.54.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-Ddt-oH9k.js → GeneralLogout-CsWa2j6i.js} +1131 -1094
- package/components/GeneralLogout-DfI2_eQe.cjs +8 -0
- package/components/{PlayerAccountBettingHistory-C7xwYi03.js → PlayerAccountBettingHistory-D_8K8e-E.js} +35 -34
- package/components/PlayerAccountBettingHistory-ldAp8-yN.cjs +1 -0
- package/components/PlayerAccountBiometrics-Cft2jzuJ.cjs +1 -0
- package/components/{PlayerAccountBiometrics-D7WS5cnI.js → PlayerAccountBiometrics-FWYyFKmB.js} +1 -1
- package/components/{PlayerAccountClosure-yRlo8hXR.js → PlayerAccountClosure-BJP8eejl.js} +1 -1
- package/components/PlayerAccountClosure-DvHhtHhl.cjs +1 -0
- package/components/PlayerAccountController-DDLO4xVW.cjs +1 -0
- package/components/{PlayerAccountController-BZYAo3oo.js → PlayerAccountController-DQGj69Re.js} +353 -336
- package/components/{PlayerAccountGamingLimits-CTBhVGgC.js → PlayerAccountGamingLimits-Dt8hOZzW.js} +3 -3
- package/components/PlayerAccountGamingLimits-EQC_UZag.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CuQvNzww.js → PlayerAccountGamingLimitsConfirmationModal-B6SPYMpk.js} +1 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-Ciz1fSFW.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js → PlayerAccountGamingLimitsGroupEdit-BG2VPqUz.js} +16 -16
- package/components/PlayerAccountGamingLimitsGroupEdit-CLjUmEQv.cjs +10 -0
- package/components/{PlayerAccountGamingLimitsHistory2-CXKA0L0d.js → PlayerAccountGamingLimitsHistory2-65MLJ2rD.js} +132 -121
- package/components/PlayerAccountGamingLimitsHistory2-CG4RnfZE.cjs +1 -0
- package/components/PlayerAccountGamingLimitsInfoCard-Au2vobro.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-CWTybgoQ.js → PlayerAccountGamingLimitsInfoCard-CqTAvCh7.js} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CXjNcIFP.js → PlayerAccountGamingLimitsPage2Gm16-C3dTjA-p.js} +768 -737
- package/components/PlayerAccountGamingLimitsPage2Gm16-CMnCgRU1.cjs +21 -0
- package/components/PlayerAccountGamingLimitsPopup-BtbGIQFb.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsPopup-CJu5RRl6.js → PlayerAccountGamingLimitsPopup-diUVGesC.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-BdpxEDlV.js → PlayerAccountGamingLimitsWrapper2-BmDihzLr.js} +81 -75
- package/components/PlayerAccountGamingLimitsWrapper2-CW3N7E83.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-DG0N686t.js → PlayerAccountGeneralConfirmationModal-D3tbAl7Q.js} +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-xMxALug3.cjs +1 -0
- package/components/{PlayerAccountMenu-CZBa8_5G.js → PlayerAccountMenu-CbXhpL1a.js} +67 -66
- package/components/PlayerAccountMenu-DHGBVm64.cjs +1 -0
- package/components/{PlayerAccountModal-BmKjtXKT.js → PlayerAccountModal-5TJbkUF8.js} +1 -1
- package/components/PlayerAccountModal-BitbPM3Z.cjs +1 -0
- package/components/{PlayerAccountNotifications-B4Ht-hHj.js → PlayerAccountNotifications-BVY-SXyT.js} +1 -1
- package/components/PlayerAccountNotifications-DDu6ZWkh.cjs +1 -0
- package/components/PlayerAccountSelfExclusion-9vzbBY28.cjs +3828 -0
- package/components/{PlayerAccountSelfExclusion-DxGHXTb8.js → PlayerAccountSelfExclusion-BGfuEA4r.js} +1572 -1488
- package/components/{PlayerAccountTimeout-DOSjICsY.js → PlayerAccountTimeout-BDDMm0XX.js} +4 -4
- package/components/PlayerAccountTimeout-f4vPyQE-.cjs +1 -0
- package/components/PlayerActiveBonuses-BVQwAh2z.cjs +1 -0
- package/components/{PlayerActiveBonuses-DMAG7NUP.js → PlayerActiveBonuses-D0RUTvjl.js} +120 -119
- package/components/{PlayerBonusCard-Dss1REmn.js → PlayerBonusCard-CU67pLmG.js} +2 -2
- package/components/PlayerBonusCard-UTTIEBwb.cjs +1 -0
- package/components/{PlayerBonusHistory-BxBiQwQf.js → PlayerBonusHistory-BLedlLHg.js} +53 -53
- package/components/PlayerBonusHistory-EXOvKzDr.cjs +1 -0
- package/components/{PlayerChangePassword-DnCj-wcc.js → PlayerChangePassword-8ZD6eOj-.js} +1 -1
- package/components/PlayerChangePassword-XpKJjnFu.cjs +3 -0
- package/components/{PlayerDeposit-CHIQ8EaC.js → PlayerDeposit-D5Xuk21T.js} +1 -1
- package/components/PlayerDeposit-Do7vb_4b.cjs +1 -0
- package/components/PlayerGamingHistory-OEU1L3Q2.cjs +1 -0
- package/components/{PlayerGamingHistory-BtQ73TId.js → PlayerGamingHistory-tb-rMGdz.js} +388 -375
- package/components/PlayerPendingWithdrawals-Bu2MOezw.cjs +1 -0
- package/components/{PlayerPendingWithdrawals-BbTa7_8U.js → PlayerPendingWithdrawals-DuN3Qn3P.js} +1 -1
- package/components/{PlayerProfileInfo-CvAqD3Dk.js → PlayerProfileInfo-DmKFg0dn.js} +549 -532
- package/components/PlayerProfileInfo-lMeb2jBi.cjs +1 -0
- package/components/{PlayerRealityCheck-3d-B64ie.js → PlayerRealityCheck-BUW8tvj3.js} +191 -175
- package/components/PlayerRealityCheck-CA0P_3BC.cjs +1 -0
- package/components/PlayerTransactionHistory-CvZcvyBx.cjs +1 -0
- package/components/{PlayerTransactionHistory-BYJNabMB.js → PlayerTransactionHistory-hGi2tOL2.js} +1 -1
- package/components/{PlayerWithdrawal-DDWroufG.js → PlayerWithdrawal-CR3Xpytk.js} +1 -1
- package/components/PlayerWithdrawal-DxLwjX7x.cjs +1 -0
- package/es2015/player-account-controller.cjs +1 -0
- package/es2015/player-account-controller.js +16 -0
- package/package.json +33 -12
- package/stencil/active-mixin-59dfae2a-1hMz67mM.cjs +1519 -0
- package/stencil/{active-mixin-59dfae2a-BphP4pp5.js → active-mixin-59dfae2a-CJN1Jc-g.js} +776 -745
- package/stencil/app-globals-0f993ce5-8artnnwr.cjs +1 -0
- package/stencil/{checkbox-group-input_9-CMFoK7_E.js → checkbox-group-input_9-DQoOMgN8.js} +1942 -1873
- package/stencil/checkbox-group-input_9-DiXERGqn.cjs +4193 -0
- package/stencil/{general-input-DnFPstQP.js → general-input-bzWxIJkt.js} +1 -1
- package/stencil/general-input-fzGwoSoE.cjs +1 -0
- package/stencil/index-062e829b-CpXLBOEz.cjs +1 -0
- package/stencil/{index-062e829b-DAFsZs6D.js → index-062e829b-DPj_pEuI.js} +236 -220
- package/stencil/index-33f005e1-BS5PFnj3.cjs +1 -0
- package/stencil/{index-33f005e1-fFxPaeNy.js → index-33f005e1-DGGQe5wK.js} +239 -223
- package/stencil/{index-9b3245b3-rzHgwqlB.js → index-9b3245b3-3zj7bxxu.js} +193 -166
- package/stencil/index-9b3245b3-ByXtSZIM.cjs +1 -0
- package/stencil/{index-fc58390d-BSwfXuUs.js → index-fc58390d-DeoeGpBS.js} +294 -267
- package/stencil/index-fc58390d-DgBOSsU7.cjs +1 -0
- package/stencil/locale-B5abSHU_.cjs +1 -0
- package/stencil/password-input_2-DvDzz75b.cjs +1248 -0
- package/stencil/{password-input_2-Bb9Q6Fe0.js → password-input_2-Dx1lICIg.js} +154 -136
- package/stencil/player-change-password-gm2-98dcb7bc-CCEw2GA2.cjs +1 -0
- package/stencil/{player-change-password-gm2-98dcb7bc-gLcZhl3S.js → player-change-password-gm2-98dcb7bc-F9HM0T8d.js} +1 -1
- package/stencil/player-change-password-gm2-BEYcuzS-.cjs +1 -0
- package/stencil/player-change-password-gm2-NWnv4CCw.js +25 -0
- package/stencil/player-kyc-verification-_iT3bbO9.cjs +180 -0
- package/stencil/{player-kyc-verification-BQZdJFEJ.js → player-kyc-verification-o-RUWyY4.js} +83 -61
- package/stencil/{toggle-checkbox-input-CCLW6-uK.js → toggle-checkbox-input-BCrxxTpc.js} +1 -1
- package/stencil/toggle-checkbox-input-BYoIi-jG.cjs +1 -0
- package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +1 -0
- package/stencil/{user-deposit-withdrawal-CmF0LoNb.js → user-deposit-withdrawal-DEMVRyvk.js} +197 -175
- package/stencil/user-deposit-withdrawal-_jt0Ivg5.cjs +59 -0
- package/stencil/{user-transaction-history-BgV-k2Cl.js → user-transaction-history-CevHOCcm.js} +107 -81
- package/stencil/user-transaction-history-U0c__t1q.cjs +1 -0
- package/esnext/player-account-controller.js +0 -14
- package/stencil/player-change-password-gm2-DR3e2gh5.js +0 -7
|
@@ -1,11 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
var S = (a, e, t) => new Promise((r, i) => {
|
|
2
|
+
var n = (u) => {
|
|
3
|
+
try {
|
|
4
|
+
v(t.next(u));
|
|
5
|
+
} catch (h) {
|
|
6
|
+
i(h);
|
|
7
|
+
}
|
|
8
|
+
}, k = (u) => {
|
|
9
|
+
try {
|
|
10
|
+
v(t.throw(u));
|
|
11
|
+
} catch (h) {
|
|
12
|
+
i(h);
|
|
13
|
+
}
|
|
14
|
+
}, v = (u) => u.done ? r(u.value) : Promise.resolve(u.value).then(n, k);
|
|
15
|
+
v((t = t.apply(a, e)).next());
|
|
16
|
+
});
|
|
17
|
+
import { a as ae, $ as ie, S as re, i as se, f as L, c as le, s as ne, b as oe, e as R, d as q, t as j, g as C, k as F, l as p, n as H, o as A, p as T, q as ce, u as ue, w as P, m as z, r as de, x as pe, K as D, L as he, a3 as ye, O as fe, y as me } from "./GeneralLogout-CsWa2j6i.js";
|
|
18
|
+
function V(a, e) {
|
|
19
|
+
ae(a, e);
|
|
4
20
|
}
|
|
5
|
-
function
|
|
6
|
-
|
|
21
|
+
function ge(a) {
|
|
22
|
+
ie.set(a);
|
|
7
23
|
}
|
|
8
|
-
const
|
|
24
|
+
const N = {
|
|
9
25
|
en: {
|
|
10
26
|
titleRealityCheck: "Reality Check",
|
|
11
27
|
never: "Never",
|
|
@@ -117,27 +133,27 @@ const V = {
|
|
|
117
133
|
setFrequency: "Set frequency"
|
|
118
134
|
}
|
|
119
135
|
};
|
|
120
|
-
function
|
|
121
|
-
|
|
136
|
+
function ve(a) {
|
|
137
|
+
oe(a, "svelte-z1hv9", '.successMessage{position:absolute;display:block;top:25px;left:50px;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessage.successMessageMobile{display:none}.successMessageMobile{display:block;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessageMobile.successMessage{display:none}.TextContainer{display:flex;flex-direction:column;padding:10px 20px}.customRadio{margin-top:15px}.customRadio div{margin:0 0 20px}.customRadio input[type=radio]{position:absolute;left:-9999px}.customRadio input[type=radio]+label{position:relative;padding:3px 0 0 30px;cursor:pointer}.customRadio input[type=radio]+label:before{content:"";background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B);height:16px;width:16px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type=radio]+label:after{content:"";background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type=radio]:checked+label:after{opacity:1;transform:scale(1)}.RealityCheckDescription{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));line-height:24px}.RealityCheckDescription.RealityChecktionMobile{font-size:12px;line-height:18px}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerRealityCheckWrapper{position:relative;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.PlayerRealityCheckWrapper.PlayerRealityCheckWrapperMobile{padding:20px 15px;max-width:unset}.RealityCheckTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.RealityCheckTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.RealityCheckTitleNone{display:none}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton.ButtonInactive{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed;opacity:0.6}.PlayerRealityCheckButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerDetailsContent{grid-template-columns:1fr}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:20PX}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerRealityCheckWrapperTablet{padding:40px 25% 100% 25%}.PlayerRealityCheckWrapperTablet .PlayerRealityCheckContent{grid-row-gap:40px}.PlayerRealityCheckWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerRealityCheckWrapperTablet .MenuReturnButton span{font-size:20px}');
|
|
122
138
|
}
|
|
123
|
-
function
|
|
124
|
-
const
|
|
125
|
-
return
|
|
139
|
+
function U(a, e, t) {
|
|
140
|
+
const r = a.slice();
|
|
141
|
+
return r[29] = e[t].value, r[30] = e[t].text, r[32] = t, r;
|
|
126
142
|
}
|
|
127
|
-
function
|
|
128
|
-
let e, t,
|
|
143
|
+
function ke(a) {
|
|
144
|
+
let e, t, r, i, n, k, v, u, h, c, s, b = (
|
|
129
145
|
/*$_*/
|
|
130
146
|
a[4]("titleRealityCheck") + ""
|
|
131
|
-
),
|
|
147
|
+
), d, y, x, f = (
|
|
132
148
|
/*realityCheckSuccess*/
|
|
133
|
-
a[3] &&
|
|
149
|
+
a[3] && O(a)
|
|
134
150
|
);
|
|
135
151
|
return {
|
|
136
152
|
c() {
|
|
137
|
-
|
|
153
|
+
f && f.c(), e = q(), t = R("div"), r = P("svg"), i = P("defs"), n = P("style"), k = j(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), v = P("g"), u = P("g"), h = P("path"), c = q(), s = R("h2"), d = j(b), C(h, "class", "aaa"), C(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), C(h, "transform", "translate(15 15) rotate(180)"), C(u, "transform", "translate(20 158)"), C(v, "transform", "translate(-20 -158)"), C(r, "xmlns", "http://www.w3.org/2000/svg"), C(r, "width", "15"), C(r, "height", "15"), C(r, "viewBox", "0 0 15 15"), C(s, "class", "RealityCheckTitleMobile"), C(t, "class", "MenuReturnButton");
|
|
138
154
|
},
|
|
139
|
-
m(
|
|
140
|
-
|
|
155
|
+
m(m, g) {
|
|
156
|
+
f && f.m(m, g), F(m, e, g), F(m, t, g), p(t, r), p(r, i), p(i, n), p(n, k), p(r, v), p(v, u), p(u, h), p(t, c), p(t, s), p(s, d), y || (x = [
|
|
141
157
|
z(
|
|
142
158
|
t,
|
|
143
159
|
"click",
|
|
@@ -145,171 +161,171 @@ function ve(a) {
|
|
|
145
161
|
a[16]
|
|
146
162
|
),
|
|
147
163
|
z(t, "keydown", null)
|
|
148
|
-
],
|
|
164
|
+
], y = !0);
|
|
149
165
|
},
|
|
150
|
-
p(
|
|
166
|
+
p(m, g) {
|
|
151
167
|
/*realityCheckSuccess*/
|
|
152
|
-
|
|
168
|
+
m[3] ? f ? f.p(m, g) : (f = O(m), f.c(), f.m(e.parentNode, e)) : f && (f.d(1), f = null), g[0] & /*$_*/
|
|
153
169
|
16 && b !== (b = /*$_*/
|
|
154
|
-
|
|
170
|
+
m[4]("titleRealityCheck") + "") && H(d, b);
|
|
155
171
|
},
|
|
156
|
-
d(
|
|
157
|
-
|
|
172
|
+
d(m) {
|
|
173
|
+
m && (T(e), T(t)), f && f.d(m), y = !1, de(x);
|
|
158
174
|
}
|
|
159
175
|
};
|
|
160
176
|
}
|
|
161
|
-
function
|
|
177
|
+
function O(a) {
|
|
162
178
|
let e, t = (
|
|
163
179
|
/*$_*/
|
|
164
180
|
a[4]("successMessage") + ""
|
|
165
|
-
),
|
|
181
|
+
), r;
|
|
166
182
|
return {
|
|
167
183
|
c() {
|
|
168
|
-
e = R("div"),
|
|
184
|
+
e = R("div"), r = j(t), C(e, "class", "successMessageMobile");
|
|
169
185
|
},
|
|
170
|
-
m(
|
|
171
|
-
F(
|
|
186
|
+
m(i, n) {
|
|
187
|
+
F(i, e, n), p(e, r);
|
|
172
188
|
},
|
|
173
|
-
p(
|
|
189
|
+
p(i, n) {
|
|
174
190
|
n[0] & /*$_*/
|
|
175
191
|
16 && t !== (t = /*$_*/
|
|
176
|
-
|
|
192
|
+
i[4]("successMessage") + "") && H(r, t);
|
|
177
193
|
},
|
|
178
|
-
d(
|
|
179
|
-
|
|
194
|
+
d(i) {
|
|
195
|
+
i && T(e);
|
|
180
196
|
}
|
|
181
197
|
};
|
|
182
198
|
}
|
|
183
|
-
function
|
|
199
|
+
function W(a) {
|
|
184
200
|
let e, t = (
|
|
185
201
|
/*$_*/
|
|
186
202
|
a[4]("successMessage") + ""
|
|
187
|
-
),
|
|
203
|
+
), r;
|
|
188
204
|
return {
|
|
189
205
|
c() {
|
|
190
|
-
e = R("div"),
|
|
206
|
+
e = R("div"), r = j(t), C(e, "class", "successMessage " + /*isMobile*/
|
|
191
207
|
(a[5] ? "successMessageMobile" : ""));
|
|
192
208
|
},
|
|
193
|
-
m(
|
|
194
|
-
F(
|
|
209
|
+
m(i, n) {
|
|
210
|
+
F(i, e, n), p(e, r);
|
|
195
211
|
},
|
|
196
|
-
p(
|
|
212
|
+
p(i, n) {
|
|
197
213
|
n[0] & /*$_*/
|
|
198
214
|
16 && t !== (t = /*$_*/
|
|
199
|
-
|
|
215
|
+
i[4]("successMessage") + "") && H(r, t);
|
|
200
216
|
},
|
|
201
|
-
d(
|
|
202
|
-
|
|
217
|
+
d(i) {
|
|
218
|
+
i && T(e);
|
|
203
219
|
}
|
|
204
220
|
};
|
|
205
221
|
}
|
|
206
|
-
function
|
|
207
|
-
let e, t,
|
|
222
|
+
function Ce(a) {
|
|
223
|
+
let e, t, r, i, n = (
|
|
208
224
|
/*$_*/
|
|
209
225
|
a[4]("setFrequency") + ""
|
|
210
|
-
), k,
|
|
226
|
+
), k, v, u, h = D(
|
|
211
227
|
/*realityCheckOptions*/
|
|
212
228
|
a[6]
|
|
213
229
|
), c = [];
|
|
214
|
-
for (let s = 0; s <
|
|
215
|
-
c[s] =
|
|
230
|
+
for (let s = 0; s < h.length; s += 1)
|
|
231
|
+
c[s] = E(U(a, h, s));
|
|
216
232
|
return {
|
|
217
233
|
c() {
|
|
218
234
|
e = R("form");
|
|
219
235
|
for (let s = 0; s < c.length; s += 1)
|
|
220
236
|
c[s].c();
|
|
221
|
-
t = q(),
|
|
222
|
-
(a[5] ? "BottomButtonsAreaMobile" : "")),
|
|
237
|
+
t = q(), r = R("div"), i = R("button"), k = j(n), C(i, "class", "PlayerRealityCheckButton"), C(r, "class", "BottomButtonsArea " + /*isMobile*/
|
|
238
|
+
(a[5] ? "BottomButtonsAreaMobile" : "")), C(e, "class", "customRadio");
|
|
223
239
|
},
|
|
224
240
|
m(s, b) {
|
|
225
241
|
F(s, e, b);
|
|
226
|
-
for (let
|
|
227
|
-
c[
|
|
228
|
-
|
|
229
|
-
|
|
242
|
+
for (let d = 0; d < c.length; d += 1)
|
|
243
|
+
c[d] && c[d].m(e, null);
|
|
244
|
+
p(e, t), p(e, r), p(r, i), p(i, k), v || (u = z(
|
|
245
|
+
i,
|
|
230
246
|
"click",
|
|
231
247
|
/*submitRealityCheckValue*/
|
|
232
248
|
a[7]
|
|
233
|
-
),
|
|
249
|
+
), v = !0);
|
|
234
250
|
},
|
|
235
251
|
p(s, b) {
|
|
236
252
|
if (b[0] & /*realityCheckOptions, realityCheckValue*/
|
|
237
253
|
68) {
|
|
238
|
-
|
|
254
|
+
h = D(
|
|
239
255
|
/*realityCheckOptions*/
|
|
240
256
|
s[6]
|
|
241
257
|
);
|
|
242
|
-
let
|
|
243
|
-
for (
|
|
244
|
-
const
|
|
245
|
-
c[
|
|
258
|
+
let d;
|
|
259
|
+
for (d = 0; d < h.length; d += 1) {
|
|
260
|
+
const y = U(s, h, d);
|
|
261
|
+
c[d] ? c[d].p(y, b) : (c[d] = E(y), c[d].c(), c[d].m(e, t));
|
|
246
262
|
}
|
|
247
|
-
for (;
|
|
248
|
-
c[
|
|
249
|
-
c.length =
|
|
263
|
+
for (; d < c.length; d += 1)
|
|
264
|
+
c[d].d(1);
|
|
265
|
+
c.length = h.length;
|
|
250
266
|
}
|
|
251
267
|
b[0] & /*$_*/
|
|
252
268
|
16 && n !== (n = /*$_*/
|
|
253
269
|
s[4]("setFrequency") + "") && H(k, n);
|
|
254
270
|
},
|
|
255
271
|
d(s) {
|
|
256
|
-
s && T(e),
|
|
272
|
+
s && T(e), he(c, s), v = !1, u();
|
|
257
273
|
}
|
|
258
274
|
};
|
|
259
275
|
}
|
|
260
|
-
function
|
|
276
|
+
function be(a) {
|
|
261
277
|
let e, t = (
|
|
262
278
|
/*$_*/
|
|
263
279
|
a[4]("realityCheckLoading") + ""
|
|
264
|
-
),
|
|
280
|
+
), r;
|
|
265
281
|
return {
|
|
266
282
|
c() {
|
|
267
|
-
e = R("p"),
|
|
283
|
+
e = R("p"), r = j(t);
|
|
268
284
|
},
|
|
269
|
-
m(
|
|
270
|
-
F(
|
|
285
|
+
m(i, n) {
|
|
286
|
+
F(i, e, n), p(e, r);
|
|
271
287
|
},
|
|
272
|
-
p(
|
|
288
|
+
p(i, n) {
|
|
273
289
|
n[0] & /*$_*/
|
|
274
290
|
16 && t !== (t = /*$_*/
|
|
275
|
-
|
|
291
|
+
i[4]("realityCheckLoading") + "") && H(r, t);
|
|
276
292
|
},
|
|
277
|
-
d(
|
|
278
|
-
|
|
293
|
+
d(i) {
|
|
294
|
+
i && T(e);
|
|
279
295
|
}
|
|
280
296
|
};
|
|
281
297
|
}
|
|
282
|
-
function
|
|
283
|
-
let e, t,
|
|
298
|
+
function E(a) {
|
|
299
|
+
let e, t, r, i, n = (
|
|
284
300
|
/*text*/
|
|
285
301
|
a[30] + ""
|
|
286
|
-
), k,
|
|
287
|
-
return
|
|
302
|
+
), k, v, u, h;
|
|
303
|
+
return v = ye(
|
|
288
304
|
/*$$binding_groups*/
|
|
289
305
|
a[18][0]
|
|
290
306
|
), {
|
|
291
307
|
c() {
|
|
292
|
-
e = R("div"), t = R("input"),
|
|
308
|
+
e = R("div"), t = R("input"), r = q(), i = R("label"), k = j(n), C(t, "type", "radio"), C(
|
|
293
309
|
t,
|
|
294
310
|
"id",
|
|
295
311
|
/*value*/
|
|
296
312
|
a[29]
|
|
297
313
|
), t.__value = /*value*/
|
|
298
|
-
a[29],
|
|
299
|
-
|
|
314
|
+
a[29], fe(t, t.__value), C(
|
|
315
|
+
i,
|
|
300
316
|
"for",
|
|
301
317
|
/*value*/
|
|
302
318
|
a[29]
|
|
303
|
-
),
|
|
319
|
+
), v.p(t);
|
|
304
320
|
},
|
|
305
321
|
m(c, s) {
|
|
306
|
-
F(c, e, s),
|
|
307
|
-
a[2],
|
|
322
|
+
F(c, e, s), p(e, t), t.checked = t.__value === /*realityCheckValue*/
|
|
323
|
+
a[2], p(e, r), p(e, i), p(i, k), u || (h = z(
|
|
308
324
|
t,
|
|
309
325
|
"change",
|
|
310
326
|
/*input_change_handler*/
|
|
311
327
|
a[17]
|
|
312
|
-
),
|
|
328
|
+
), u = !0);
|
|
313
329
|
},
|
|
314
330
|
p(c, s) {
|
|
315
331
|
s[0] & /*realityCheckValue*/
|
|
@@ -317,80 +333,80 @@ function W(a) {
|
|
|
317
333
|
c[2]);
|
|
318
334
|
},
|
|
319
335
|
d(c) {
|
|
320
|
-
c && T(e),
|
|
336
|
+
c && T(e), v.r(), u = !1, h();
|
|
321
337
|
}
|
|
322
338
|
};
|
|
323
339
|
}
|
|
324
|
-
function
|
|
325
|
-
let e, t,
|
|
340
|
+
function we(a) {
|
|
341
|
+
let e, t, r, i, n = (
|
|
326
342
|
/*$_*/
|
|
327
343
|
a[4]("titleRealityCheck") + ""
|
|
328
|
-
), k,
|
|
344
|
+
), k, v, u, h, c = (
|
|
329
345
|
/*$_*/
|
|
330
346
|
a[4]("realityCheckText") + ""
|
|
331
|
-
), s, b,
|
|
347
|
+
), s, b, d = (
|
|
332
348
|
/*isMobile*/
|
|
333
|
-
a[5] &&
|
|
334
|
-
),
|
|
349
|
+
a[5] && ke(a)
|
|
350
|
+
), y = (
|
|
335
351
|
/*realityCheckSuccess*/
|
|
336
|
-
a[3] &&
|
|
352
|
+
a[3] && W(a)
|
|
337
353
|
);
|
|
338
|
-
function x(
|
|
354
|
+
function x(g, M) {
|
|
339
355
|
return (
|
|
340
356
|
/*isLoading*/
|
|
341
|
-
|
|
357
|
+
g[1] ? be : Ce
|
|
342
358
|
);
|
|
343
359
|
}
|
|
344
|
-
let
|
|
360
|
+
let f = x(a), m = f(a);
|
|
345
361
|
return {
|
|
346
362
|
c() {
|
|
347
|
-
e = R("div"),
|
|
348
|
-
(a[5] ? "RealityCheckTitleNone" : "")),
|
|
349
|
-
(a[5] ? "RealityCheckDescriptionMobile" : "")),
|
|
363
|
+
e = R("div"), d && d.c(), t = q(), y && y.c(), r = q(), i = R("h2"), k = j(n), v = q(), u = R("div"), h = R("p"), s = j(c), b = q(), m.c(), C(i, "class", "RealityCheckTitle " + /*isMobile*/
|
|
364
|
+
(a[5] ? "RealityCheckTitleNone" : "")), C(u, "class", "RealityCheckDescription " + /*isMobile*/
|
|
365
|
+
(a[5] ? "RealityCheckDescriptionMobile" : "")), C(e, "class", "PlayerRealityCheckWrapper " + /*isMobile*/
|
|
350
366
|
(a[5] ? "PlayerRealityCheckWrapperMobile" : ""));
|
|
351
367
|
},
|
|
352
|
-
m(
|
|
353
|
-
F(
|
|
368
|
+
m(g, M) {
|
|
369
|
+
F(g, e, M), d && d.m(e, null), p(e, t), y && y.m(e, null), p(e, r), p(e, i), p(i, k), p(e, v), p(e, u), p(u, h), p(h, s), p(u, b), m.m(u, null), a[19](e);
|
|
354
370
|
},
|
|
355
|
-
p(
|
|
371
|
+
p(g, M) {
|
|
356
372
|
/*isMobile*/
|
|
357
|
-
|
|
358
|
-
|
|
373
|
+
g[5] && d.p(g, M), /*realityCheckSuccess*/
|
|
374
|
+
g[3] ? y ? y.p(g, M) : (y = W(g), y.c(), y.m(e, r)) : y && (y.d(1), y = null), M[0] & /*$_*/
|
|
359
375
|
16 && n !== (n = /*$_*/
|
|
360
|
-
|
|
376
|
+
g[4]("titleRealityCheck") + "") && H(k, n), M[0] & /*$_*/
|
|
361
377
|
16 && c !== (c = /*$_*/
|
|
362
|
-
|
|
378
|
+
g[4]("realityCheckText") + "") && H(s, c), f === (f = x(g)) && m ? m.p(g, M) : (m.d(1), m = f(g), m && (m.c(), m.m(u, null)));
|
|
363
379
|
},
|
|
364
|
-
i:
|
|
365
|
-
o:
|
|
366
|
-
d(
|
|
367
|
-
|
|
380
|
+
i: A,
|
|
381
|
+
o: A,
|
|
382
|
+
d(g) {
|
|
383
|
+
g && T(e), d && d.d(), y && y.d(), m.d(), a[19](null);
|
|
368
384
|
}
|
|
369
385
|
};
|
|
370
386
|
}
|
|
371
|
-
function
|
|
372
|
-
let
|
|
373
|
-
|
|
374
|
-
let { endpoint:
|
|
375
|
-
const
|
|
376
|
-
const l = new URL(`${
|
|
387
|
+
function Re(a, e, t) {
|
|
388
|
+
let r;
|
|
389
|
+
ce(a, me, (l) => t(4, r = l));
|
|
390
|
+
let { endpoint: i = "" } = e, { playerid: n = "" } = e, { session: k = "" } = e, { lang: v = "en" } = e, { clientstyling: u = "" } = e, { clientstylingurl: h = "" } = e, { translationurl: c = "" } = e, s, b = ue(window.navigator.userAgent) !== "PC", d = !0, y, x = !1, f = [];
|
|
391
|
+
const m = () => {
|
|
392
|
+
const l = new URL(`${i}/v1/player/${n}/realitycheck`), o = new Headers();
|
|
377
393
|
o.append("X-SessionID", k);
|
|
378
394
|
const _ = { method: "GET", headers: o };
|
|
379
395
|
fetch(l.href, _).then((w) => w.json()).then(
|
|
380
396
|
(w) => {
|
|
381
|
-
t(2,
|
|
397
|
+
t(2, y = w.UserRealityCheckValue);
|
|
382
398
|
},
|
|
383
399
|
(w) => {
|
|
384
400
|
console.error(w);
|
|
385
401
|
}
|
|
386
402
|
);
|
|
387
|
-
},
|
|
388
|
-
const l = new URL(`${
|
|
403
|
+
}, g = () => {
|
|
404
|
+
const l = new URL(`${i}/v1/player/${n}/availablerealityvalues`), o = new Headers();
|
|
389
405
|
o.append("X-SessionID", k), o.append("accept", "application/json");
|
|
390
406
|
const _ = { method: "GET", headers: o };
|
|
391
407
|
fetch(l.href, _).then((w) => w.json()).then(
|
|
392
408
|
(w) => {
|
|
393
|
-
M(w.AvailableRealityCheckValues), t(1,
|
|
409
|
+
M(w.AvailableRealityCheckValues), t(1, d = !1);
|
|
394
410
|
},
|
|
395
411
|
(w) => {
|
|
396
412
|
console.error(w);
|
|
@@ -398,39 +414,39 @@ function we(a, e, t) {
|
|
|
398
414
|
);
|
|
399
415
|
}, M = (l) => {
|
|
400
416
|
l.forEach((o) => {
|
|
401
|
-
o == 0 ?
|
|
417
|
+
o == 0 ? f.push({
|
|
402
418
|
value: o.toString(),
|
|
403
|
-
text:
|
|
404
|
-
}) : o < 60 ?
|
|
419
|
+
text: r("never")
|
|
420
|
+
}) : o < 60 ? f.push({
|
|
405
421
|
value: o.toString(),
|
|
406
|
-
text: o + " " +
|
|
407
|
-
}) : o == 60 ?
|
|
422
|
+
text: o + " " + r("minutes")
|
|
423
|
+
}) : o == 60 ? f.push({
|
|
408
424
|
value: o.toString(),
|
|
409
|
-
text:
|
|
410
|
-
}) : o > 60 &&
|
|
425
|
+
text: r("oneHour")
|
|
426
|
+
}) : o > 60 && f.push({
|
|
411
427
|
value: o.toString(),
|
|
412
|
-
text: o / 60 + " " +
|
|
428
|
+
text: o / 60 + " " + r("hours")
|
|
413
429
|
});
|
|
414
430
|
});
|
|
415
|
-
},
|
|
416
|
-
const l = new URL(`${
|
|
417
|
-
o.append("X-SessionID", k), o.append("Content-Type", "application/json"), o.append("Accept", "application/json"), o.append("realityCheckValue", `${parseInt(
|
|
431
|
+
}, I = () => S(this, null, function* () {
|
|
432
|
+
const l = new URL(`${i}/v1/player/${n}/realitycheck`), o = new Headers();
|
|
433
|
+
o.append("X-SessionID", k), o.append("Content-Type", "application/json"), o.append("Accept", "application/json"), o.append("realityCheckValue", `${parseInt(y, 10)}`);
|
|
418
434
|
const _ = { method: "POST", headers: o };
|
|
419
|
-
return
|
|
435
|
+
return yield fetch(l.href, _).then(
|
|
420
436
|
(w) => w.status == 200,
|
|
421
437
|
(w) => (console.error(w), !1)
|
|
422
438
|
);
|
|
423
|
-
},
|
|
424
|
-
l.preventDefault(),
|
|
425
|
-
o && (
|
|
439
|
+
}), X = (l) => {
|
|
440
|
+
l.preventDefault(), I().then((o) => {
|
|
441
|
+
o && (G(), m());
|
|
426
442
|
});
|
|
427
|
-
},
|
|
443
|
+
}, G = () => {
|
|
428
444
|
window.postMessage(
|
|
429
445
|
{
|
|
430
446
|
type: "WidgetNotification",
|
|
431
447
|
data: {
|
|
432
448
|
type: "success",
|
|
433
|
-
message:
|
|
449
|
+
message: r("realityCheckSuccess")
|
|
434
450
|
}
|
|
435
451
|
},
|
|
436
452
|
window.location.href
|
|
@@ -443,25 +459,25 @@ function we(a, e, t) {
|
|
|
443
459
|
},
|
|
444
460
|
window.location.href
|
|
445
461
|
);
|
|
446
|
-
}, G = () => {
|
|
447
|
-
me(C);
|
|
448
462
|
}, Y = () => {
|
|
463
|
+
ge(v);
|
|
464
|
+
}, J = () => {
|
|
449
465
|
fetch(c).then((o) => o.json()).then((o) => {
|
|
450
466
|
Object.keys(o).forEach((_) => {
|
|
451
|
-
|
|
467
|
+
V(_, o[_]);
|
|
452
468
|
});
|
|
453
469
|
}).catch((o) => {
|
|
454
470
|
console.log(o);
|
|
455
471
|
});
|
|
456
472
|
};
|
|
457
|
-
Object.keys(
|
|
458
|
-
|
|
473
|
+
Object.keys(N).forEach((l) => {
|
|
474
|
+
V(l, N[l]);
|
|
459
475
|
});
|
|
460
|
-
const
|
|
476
|
+
const K = () => {
|
|
461
477
|
let l = document.createElement("style");
|
|
462
|
-
l.innerHTML =
|
|
463
|
-
},
|
|
464
|
-
let l = new URL(
|
|
478
|
+
l.innerHTML = u, s.appendChild(l);
|
|
479
|
+
}, Z = () => {
|
|
480
|
+
let l = new URL(h), o = document.createElement("style");
|
|
465
481
|
fetch(l.href).then((_) => _.text()).then((_) => {
|
|
466
482
|
o.innerHTML = _, setTimeout(
|
|
467
483
|
() => {
|
|
@@ -470,56 +486,56 @@ function we(a, e, t) {
|
|
|
470
486
|
1
|
|
471
487
|
);
|
|
472
488
|
});
|
|
473
|
-
},
|
|
474
|
-
function
|
|
475
|
-
|
|
489
|
+
}, Q = [[]], $ = () => B();
|
|
490
|
+
function ee() {
|
|
491
|
+
y = this.__value, t(2, y);
|
|
476
492
|
}
|
|
477
|
-
function
|
|
478
|
-
|
|
493
|
+
function te(l) {
|
|
494
|
+
pe[l ? "unshift" : "push"](() => {
|
|
479
495
|
s = l, t(0, s);
|
|
480
496
|
});
|
|
481
497
|
}
|
|
482
498
|
return a.$$set = (l) => {
|
|
483
|
-
"endpoint" in l && t(9,
|
|
499
|
+
"endpoint" in l && t(9, i = l.endpoint), "playerid" in l && t(10, n = l.playerid), "session" in l && t(11, k = l.session), "lang" in l && t(12, v = l.lang), "clientstyling" in l && t(13, u = l.clientstyling), "clientstylingurl" in l && t(14, h = l.clientstylingurl), "translationurl" in l && t(15, c = l.translationurl);
|
|
484
500
|
}, a.$$.update = () => {
|
|
485
501
|
a.$$.dirty[0] & /*lang*/
|
|
486
|
-
4096 &&
|
|
487
|
-
3584 &&
|
|
488
|
-
3584 &&
|
|
489
|
-
16385 &&
|
|
490
|
-
8193 &&
|
|
491
|
-
32768 && c &&
|
|
502
|
+
4096 && v && Y(), a.$$.dirty[0] & /*endpoint, playerid, session*/
|
|
503
|
+
3584 && i && n && k && m(), a.$$.dirty[0] & /*endpoint, playerid, session*/
|
|
504
|
+
3584 && i && n && k && g(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
505
|
+
16385 && h && s && Z(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
506
|
+
8193 && u && s && K(), a.$$.dirty[0] & /*translationurl*/
|
|
507
|
+
32768 && c && J();
|
|
492
508
|
}, [
|
|
493
509
|
s,
|
|
494
|
-
|
|
495
|
-
|
|
510
|
+
d,
|
|
511
|
+
y,
|
|
496
512
|
x,
|
|
497
|
-
|
|
513
|
+
r,
|
|
498
514
|
b,
|
|
499
|
-
|
|
500
|
-
|
|
515
|
+
f,
|
|
516
|
+
X,
|
|
501
517
|
B,
|
|
502
|
-
|
|
518
|
+
i,
|
|
503
519
|
n,
|
|
504
520
|
k,
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
521
|
+
v,
|
|
522
|
+
u,
|
|
523
|
+
h,
|
|
508
524
|
c,
|
|
509
|
-
Q,
|
|
510
525
|
$,
|
|
511
|
-
|
|
512
|
-
|
|
526
|
+
ee,
|
|
527
|
+
Q,
|
|
528
|
+
te
|
|
513
529
|
];
|
|
514
530
|
}
|
|
515
|
-
class
|
|
531
|
+
class _e extends re {
|
|
516
532
|
constructor(e) {
|
|
517
|
-
super(),
|
|
533
|
+
super(), se(
|
|
518
534
|
this,
|
|
519
535
|
e,
|
|
536
|
+
Re,
|
|
520
537
|
we,
|
|
521
|
-
|
|
522
|
-
le,
|
|
538
|
+
ne,
|
|
523
539
|
{
|
|
524
540
|
endpoint: 9,
|
|
525
541
|
playerid: 10,
|
|
@@ -529,7 +545,7 @@ class Re extends ie {
|
|
|
529
545
|
clientstylingurl: 14,
|
|
530
546
|
translationurl: 15
|
|
531
547
|
},
|
|
532
|
-
|
|
548
|
+
ve,
|
|
533
549
|
[-1, -1]
|
|
534
550
|
);
|
|
535
551
|
}
|
|
@@ -576,7 +592,7 @@ class Re extends ie {
|
|
|
576
592
|
this.$$set({ translationurl: e }), L();
|
|
577
593
|
}
|
|
578
594
|
}
|
|
579
|
-
|
|
595
|
+
le(_e, { endpoint: {}, playerid: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
580
596
|
export {
|
|
581
|
-
|
|
597
|
+
_e as default
|
|
582
598
|
};
|