@everymatrix/player-account-controller 1.80.2 → 1.80.3
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-D2IBMwnv.js → PlayerAccountController-BTBuLno-.js} +1 -1
- package/components/{PlayerAccountController-jdlg3g4Y.cjs → PlayerAccountController-D8NTqdZ9.cjs} +1 -1
- package/components/{PlayerAccountController-C46ZtDhF.js → PlayerAccountController-x_d2WQTo.js} +1 -1
- package/components/{PlayerProfileInfo-CNs_rVtu.js → PlayerProfileInfo-D3YNkp5X.js} +74 -74
- package/components/{PlayerProfileInfo-DVss0s13.js → PlayerProfileInfo-DAmO3c1C.js} +92 -92
- package/components/{PlayerProfileInfo-CImeJryH.cjs → PlayerProfileInfo-DdntdeRS.cjs} +2 -2
- 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
|
@@ -837,7 +837,7 @@ function Ma(e) {
|
|
|
837
837
|
), w, W, j, Me, R, Oe, he, F, ve, c = (
|
|
838
838
|
/*$_*/
|
|
839
839
|
e[19]("userPhone") + ""
|
|
840
|
-
), g, _e,
|
|
840
|
+
), g, _e, z, x, Ve, Se, Ye, L, Qe, Fe, Ze, qe, Be, Re, K, ze, xe = (
|
|
841
841
|
/*custominputtextswitch*/
|
|
842
842
|
(e[0] == "true" ? (
|
|
843
843
|
/*$_*/
|
|
@@ -846,7 +846,7 @@ function Ma(e) {
|
|
|
846
846
|
/*$_*/
|
|
847
847
|
e[19]("profileSecurityQuestion")
|
|
848
848
|
)) + ""
|
|
849
|
-
),
|
|
849
|
+
), tr, Le, Ce, Nr, G, ar, ir, Hr, or, jr, ke, Ge, nr = (
|
|
850
850
|
/*custominputtextswitch*/
|
|
851
851
|
(e[0] == "true" ? (
|
|
852
852
|
/*$_*/
|
|
@@ -855,13 +855,13 @@ function Ma(e) {
|
|
|
855
855
|
/*$_*/
|
|
856
856
|
e[19]("profileSecurityAnswer")
|
|
857
857
|
)) + ""
|
|
858
|
-
), Ke, Sr, $e, Tr, V,
|
|
858
|
+
), Ke, Sr, $e, Tr, V, er, sr, Qr, lr, Fr, Je, ur, We = (
|
|
859
859
|
/*$_*/
|
|
860
860
|
e[19]("userEmail") + ""
|
|
861
|
-
), Ar, Lr, ye, cr,
|
|
861
|
+
), Ar, Lr, ye, cr, rr, pr, Wr, Xe, dr, mr = (
|
|
862
862
|
/*$_*/
|
|
863
863
|
e[19]("dateOfBirth") + ""
|
|
864
|
-
), wr, Ur, p, d, I,
|
|
864
|
+
), wr, Ur, p, d, I, N, ge, O, B, fr = (
|
|
865
865
|
/*$_*/
|
|
866
866
|
e[19]("firstName") + ""
|
|
867
867
|
), Pe, vr, Ae, Vr, Er, qr, Yt, yr, Rr, xr = (
|
|
@@ -926,10 +926,10 @@ function Ma(e) {
|
|
|
926
926
|
);
|
|
927
927
|
return {
|
|
928
928
|
c() {
|
|
929
|
-
t = l("form"), r = l("div"), te && te.c(), o = v(), n = l("h2"), m = P(s), f = v(), b = l("div"), y = l("h3"), M = P(C), T = v(), k = l("section"), S = l("div"), A = l("label"), w = P(Q), W = v(), j = l("input"), he = v(), F = l("div"), ve = l("label"), g = P(c), _e = v(),
|
|
929
|
+
t = l("form"), r = l("div"), te && te.c(), o = v(), n = l("h2"), m = P(s), f = v(), b = l("div"), y = l("h3"), M = P(C), T = v(), k = l("section"), S = l("div"), A = l("label"), w = P(Q), W = v(), j = l("input"), he = v(), F = l("div"), ve = l("label"), g = P(c), _e = v(), z = l("div"), x = l("select");
|
|
930
930
|
for (let Y = 0; Y < X.length; Y += 1)
|
|
931
931
|
X[Y].c();
|
|
932
|
-
Ye = v(), L = l("input"), Ze = v(), ae && ae.c(), qe = v(), ie && ie.c(), Re = v(), K = l("div"), ze = l("label"),
|
|
932
|
+
Ye = v(), L = l("input"), Ze = v(), ae && ae.c(), qe = v(), ie && ie.c(), Re = v(), K = l("div"), ze = l("label"), tr = P(xe), Le = P(":"), Ce = l("span"), Ce.textContent = "*", Nr = v(), G = l("input"), Hr = v(), oe && oe.c(), jr = v(), ke = l("div"), Ge = l("label"), Ke = P(nr), Sr = P(":"), $e = l("span"), $e.textContent = "*", Tr = v(), V = l("input"), Qr = v(), ne && ne.c(), Fr = v(), Je = l("div"), ur = l("label"), Ar = P(We), Lr = v(), ye = l("input"), Wr = v(), Xe = l("div"), dr = l("label"), wr = P(mr), Ur = v(), p = l("input"), ge = v(), O = l("div"), B = l("label"), Pe = P(fr), vr = v(), Ae = l("input"), Yt = v(), yr = l("div"), Rr = l("label"), Nt = P(xr), Zt = v(), we = l("input"), $t = v(), gr = l("div"), Jr = l("label"), Ht = P(Xr), ea = v(), Ee = l("input"), ra = v(), br = l("div"), $r = l("label"), jt = P(et), ta = v(), De = l("input"), aa = v(), se && se.c(), ia = v(), at = l("div"), Tt = l("h3"), Qt = P(it), oa = v(), J = l("section"), hr = l("div"), ot = l("label"), Ft = P(nt), na = v(), be = l("input"), sa = v(), Ne = l("div"), ct = l("label"), Lt = P(pt), la = v(), Z = l("input"), ua = v(), le && le.c(), ca = v(), He = l("div"), vt = l("label"), Wt = P(yt), pa = v(), $ = l("input"), da = v(), ue && ue.c(), ma = v(), je = l("div"), Ct = l("label"), Ut = P(kt), fa = v(), ee = l("input"), va = v(), ce && ce.c(), ya = v(), Te = l("div"), At = l("label"), Vt = P(wt), ga = v(), re = l("input"), ba = v(), pe && pe.c(), ha = v(), de && de.c(), Ca = v(), me && me.c(), Rt = v(), Br = l("section"), Cr = l("button"), xt = P(Mt), ka = v(), fe && fe.c(), i(n, "class", h = "MyAccountCategoryTitle " + /*isMobileView*/
|
|
933
933
|
(e[7] ? "MyAccountCategoryTitleNone" : "")), i(b, "class", "PlayerNotificationsHeader"), i(j, "type", "text"), i(j, "class", Me = `${/*profileValues*/
|
|
934
934
|
e[4].username?.readOnly ? "FieldDisabled" : ""}`), j.value = R = /*profileValues*/
|
|
935
935
|
e[4].username?.value ?? "", j.readOnly = Oe = /*profileValues*/
|
|
@@ -946,17 +946,17 @@ function Ma(e) {
|
|
|
946
946
|
/*defaultValues*/
|
|
947
947
|
e[20].mobile.number
|
|
948
948
|
), L.readOnly = Fe = /*profileValues*/
|
|
949
|
-
e[4].mobile?.readOnly, i(
|
|
949
|
+
e[4].mobile?.readOnly, i(z, "class", "PlayerPhoneNumber"), i(F, "class", Be = "PlayerInfoBox " + /*isMobileValid*/
|
|
950
950
|
(e[16] ? "" : "InvalidField") + " " + /*isPrefixValid*/
|
|
951
|
-
(e[17] ? "" : "InvalidPrefix")), i(Ce, "class", "FormRequired"), i(ze, "for", "SecurityQuestion"), i(G, "id", "SecurityQuestion"), i(G, "type", "text"), i(G, "class",
|
|
951
|
+
(e[17] ? "" : "InvalidPrefix")), i(Ce, "class", "FormRequired"), i(ze, "for", "SecurityQuestion"), i(G, "id", "SecurityQuestion"), i(G, "type", "text"), i(G, "class", ar = `${/*profileValues*/
|
|
952
952
|
e[4].securityQuestion?.readOnly ? "FieldDisabled" : ""}`), i(
|
|
953
953
|
G,
|
|
954
954
|
"placeholder",
|
|
955
955
|
/*defaultValues*/
|
|
956
956
|
e[20].securityQuestion
|
|
957
|
-
), G.readOnly =
|
|
958
|
-
e[4].securityQuestion?.readOnly, i(K, "class",
|
|
959
|
-
(e[14] ? "" : "InvalidField")), i($e, "class", "FormRequired"), i(Ge, "for", "SecurityAnswer"), i(V, "id", "SecurityAnswer"), i(V, "type", "text"), i(V, "class",
|
|
957
|
+
), G.readOnly = ir = /*profileValues*/
|
|
958
|
+
e[4].securityQuestion?.readOnly, i(K, "class", or = "PlayerInfoBox " + /*isSecurityQuestionValid*/
|
|
959
|
+
(e[14] ? "" : "InvalidField")), i($e, "class", "FormRequired"), i(Ge, "for", "SecurityAnswer"), i(V, "id", "SecurityAnswer"), i(V, "type", "text"), i(V, "class", er = `${/*profileValues*/
|
|
960
960
|
e[4].securityAnswer?.readOnly ? "FieldDisabled" : ""}`), i(
|
|
961
961
|
V,
|
|
962
962
|
"placeholder",
|
|
@@ -965,15 +965,15 @@ function Ma(e) {
|
|
|
965
965
|
), V.readOnly = sr = /*profileValues*/
|
|
966
966
|
e[4].securityAnswer?.readOnly, i(ke, "class", lr = "PlayerInfoBox " + /*isSecurityAnswerValid*/
|
|
967
967
|
(e[15] ? "" : "InvalidField")), i(ur, "for", "UserEmail"), i(ye, "id", "UserEmail"), i(ye, "type", "email"), i(ye, "class", cr = `${/*profileValues*/
|
|
968
|
-
e[4].email?.readOnly ? "FieldDisabled" : ""}`), ye.value =
|
|
968
|
+
e[4].email?.readOnly ? "FieldDisabled" : ""}`), ye.value = rr = /*profileValues*/
|
|
969
969
|
e[4].email.value, ye.readOnly = pr = /*profileValues*/
|
|
970
970
|
e[4].email?.readOnly, i(Je, "class", "PlayerInfoBox"), i(dr, "for", "DateOfBirth"), i(p, "id", "DateOfBirth"), i(p, "type", "text"), i(p, "class", d = `${/*profileValues*/
|
|
971
971
|
e[4].birth?.readOnly ? "FieldDisabled" : ""}`), p.value = I = /*profileValues*/
|
|
972
|
-
e[4].birth.value, p.readOnly =
|
|
973
|
-
e[4].birth?.readOnly, i(Xe, "class", "PlayerInfoBox"), i(
|
|
972
|
+
e[4].birth.value, p.readOnly = N = /*profileValues*/
|
|
973
|
+
e[4].birth?.readOnly, i(Xe, "class", "PlayerInfoBox"), i(B, "for", "FirstName"), i(Ae, "id", "FirstName"), i(Ae, "type", "text"), i(Ae, "class", Vr = `${/*profileValues*/
|
|
974
974
|
e[4].firstname?.readOnly ? "FieldDisabled" : ""}`), Ae.value = Er = /*profileValues*/
|
|
975
975
|
e[4].firstname.value, Ae.readOnly = qr = /*profileValues*/
|
|
976
|
-
e[4].firstname?.readOnly, i(
|
|
976
|
+
e[4].firstname?.readOnly, i(O, "class", "PlayerInfoBox"), i(Rr, "for", "LastName"), i(we, "id", "LastName"), i(we, "type", "text"), i(we, "class", Gr = `${/*profileValues*/
|
|
977
977
|
e[4].lastname?.readOnly ? "FieldDisabled" : ""}`), we.value = Dr = /*profileValues*/
|
|
978
978
|
e[4].lastname.value, we.readOnly = Kr = /*profileValues*/
|
|
979
979
|
e[4].lastname?.readOnly, i(yr, "class", "PlayerInfoBox"), i(Jr, "for", "UserTitle"), i(Ee, "id", "UserTitle"), i(Ee, "type", "text"), i(Ee, "class", Yr = `${/*profileValues*/
|
|
@@ -1025,7 +1025,7 @@ function Ma(e) {
|
|
|
1025
1025
|
(e[7] ? "PlayerInfoWrapperMobile" : ""));
|
|
1026
1026
|
},
|
|
1027
1027
|
m(Y, u) {
|
|
1028
|
-
D(Y, t, u), a(t, r), te && te.m(r, null), a(r, o), a(r, n), a(n, m), a(r, f), a(r, b), a(b, y), a(y, M), a(r, T), a(r, k), a(k, S), a(S, A), a(A, w), a(S, W), a(S, j), a(k, he), a(k, F), a(F, ve), a(ve, g), a(F, _e), a(F,
|
|
1028
|
+
D(Y, t, u), a(t, r), te && te.m(r, null), a(r, o), a(r, n), a(n, m), a(r, f), a(r, b), a(b, y), a(y, M), a(r, T), a(r, k), a(k, S), a(S, A), a(A, w), a(S, W), a(S, j), a(k, he), a(k, F), a(F, ve), a(ve, g), a(F, _e), a(F, z), a(z, x);
|
|
1029
1029
|
for (let q = 0; q < X.length; q += 1)
|
|
1030
1030
|
X[q] && X[q].m(x, null);
|
|
1031
1031
|
Sa(
|
|
@@ -1033,11 +1033,11 @@ function Ma(e) {
|
|
|
1033
1033
|
/*profileValues*/
|
|
1034
1034
|
e[4].mobile.prefix,
|
|
1035
1035
|
!0
|
|
1036
|
-
), a(
|
|
1036
|
+
), a(z, Ye), a(z, L), U(
|
|
1037
1037
|
L,
|
|
1038
1038
|
/*profileValues*/
|
|
1039
1039
|
e[4].mobile.number
|
|
1040
|
-
), a(F, Ze), ae && ae.m(F, null), a(F, qe), ie && ie.m(F, null), a(k, Re), a(k, K), a(K, ze), a(ze,
|
|
1040
|
+
), a(F, Ze), ae && ae.m(F, null), a(F, qe), ie && ie.m(F, null), a(k, Re), a(k, K), a(K, ze), a(ze, tr), a(ze, Le), a(ze, Ce), a(K, Nr), a(K, G), U(
|
|
1041
1041
|
G,
|
|
1042
1042
|
/*profileValues*/
|
|
1043
1043
|
e[4].securityQuestion.value
|
|
@@ -1045,7 +1045,7 @@ function Ma(e) {
|
|
|
1045
1045
|
V,
|
|
1046
1046
|
/*profileValues*/
|
|
1047
1047
|
e[4].securityAnswer.value
|
|
1048
|
-
), a(ke, Qr), ne && ne.m(ke, null), a(k, Fr), a(k, Je), a(Je, ur), a(ur, Ar), a(Je, Lr), a(Je, ye), a(k, Wr), a(k, Xe), a(Xe, dr), a(dr, wr), a(Xe, Ur), a(Xe, p), a(k, ge), a(k,
|
|
1048
|
+
), a(ke, Qr), ne && ne.m(ke, null), a(k, Fr), a(k, Je), a(Je, ur), a(ur, Ar), a(Je, Lr), a(Je, ye), a(k, Wr), a(k, Xe), a(Xe, dr), a(dr, wr), a(Xe, Ur), a(Xe, p), a(k, ge), a(k, O), a(O, B), a(B, Pe), a(O, vr), a(O, Ae), a(k, Yt), a(k, yr), a(yr, Rr), a(Rr, Nt), a(yr, Zt), a(yr, we), a(k, $t), a(k, gr), a(gr, Jr), a(Jr, Ht), a(gr, ea), a(gr, Ee), a(k, ra), a(k, br), a(br, $r), a($r, jt), a(br, ta), a(br, De), a(k, aa), se && se.m(k, null), a(r, ia), a(r, at), a(at, Tt), a(Tt, Qt), a(r, oa), a(r, J), a(J, hr), a(hr, ot), a(ot, Ft), a(hr, na), a(hr, be), a(J, sa), a(J, Ne), a(Ne, ct), a(ct, Lt), a(Ne, la), a(Ne, Z), U(
|
|
1049
1049
|
Z,
|
|
1050
1050
|
/*profileValues*/
|
|
1051
1051
|
e[4].city.value
|
|
@@ -1240,11 +1240,11 @@ function Ma(e) {
|
|
|
1240
1240
|
) : (
|
|
1241
1241
|
/*$_*/
|
|
1242
1242
|
e[19]("profileSecurityQuestion")
|
|
1243
|
-
)) + "") && _(
|
|
1244
|
-
24 &&
|
|
1245
|
-
e[4].securityQuestion?.readOnly ? "FieldDisabled" : ""}`) && i(G, "class",
|
|
1246
|
-
24 &&
|
|
1247
|
-
e[4].securityQuestion?.readOnly) && (G.readOnly =
|
|
1243
|
+
)) + "") && _(tr, xe), u[0] & /*profileValues, prefixesArray*/
|
|
1244
|
+
24 && ar !== (ar = `${/*profileValues*/
|
|
1245
|
+
e[4].securityQuestion?.readOnly ? "FieldDisabled" : ""}`) && i(G, "class", ar), u[0] & /*profileValues, prefixesArray*/
|
|
1246
|
+
24 && ir !== (ir = /*profileValues*/
|
|
1247
|
+
e[4].securityQuestion?.readOnly) && (G.readOnly = ir), u[0] & /*profileValues, prefixesArray*/
|
|
1248
1248
|
24 && G.value !== /*profileValues*/
|
|
1249
1249
|
e[4].securityQuestion.value && U(
|
|
1250
1250
|
G,
|
|
@@ -1252,18 +1252,18 @@ function Ma(e) {
|
|
|
1252
1252
|
e[4].securityQuestion.value
|
|
1253
1253
|
), /*isSecurityQuestionValid*/
|
|
1254
1254
|
e[14] ? oe && (oe.d(1), oe = null) : oe ? oe.p(e, u) : (oe = Ha(e), oe.c(), oe.m(K, null)), u[0] & /*isSecurityQuestionValid*/
|
|
1255
|
-
16384 &&
|
|
1256
|
-
(e[14] ? "" : "InvalidField")) && i(K, "class",
|
|
1257
|
-
524289 &&
|
|
1255
|
+
16384 && or !== (or = "PlayerInfoBox " + /*isSecurityQuestionValid*/
|
|
1256
|
+
(e[14] ? "" : "InvalidField")) && i(K, "class", or), u[0] & /*custominputtextswitch, $_*/
|
|
1257
|
+
524289 && nr !== (nr = /*custominputtextswitch*/
|
|
1258
1258
|
(e[0] == "true" ? (
|
|
1259
1259
|
/*$_*/
|
|
1260
1260
|
e[19]("profileSecurityAnswer2")
|
|
1261
1261
|
) : (
|
|
1262
1262
|
/*$_*/
|
|
1263
1263
|
e[19]("profileSecurityAnswer")
|
|
1264
|
-
)) + "") && _(Ke,
|
|
1265
|
-
24 &&
|
|
1266
|
-
e[4].securityAnswer?.readOnly ? "FieldDisabled" : ""}`) && i(V, "class",
|
|
1264
|
+
)) + "") && _(Ke, nr), u[0] & /*profileValues, prefixesArray*/
|
|
1265
|
+
24 && er !== (er = `${/*profileValues*/
|
|
1266
|
+
e[4].securityAnswer?.readOnly ? "FieldDisabled" : ""}`) && i(V, "class", er), u[0] & /*profileValues, prefixesArray*/
|
|
1267
1267
|
24 && sr !== (sr = /*profileValues*/
|
|
1268
1268
|
e[4].securityAnswer?.readOnly) && (V.readOnly = sr), u[0] & /*profileValues, prefixesArray*/
|
|
1269
1269
|
24 && V.value !== /*profileValues*/
|
|
@@ -1279,8 +1279,8 @@ function Ma(e) {
|
|
|
1279
1279
|
e[19]("userEmail") + "") && _(Ar, We), u[0] & /*profileValues, prefixesArray*/
|
|
1280
1280
|
24 && cr !== (cr = `${/*profileValues*/
|
|
1281
1281
|
e[4].email?.readOnly ? "FieldDisabled" : ""}`) && i(ye, "class", cr), u[0] & /*profileValues, prefixesArray*/
|
|
1282
|
-
24 &&
|
|
1283
|
-
e[4].email.value) && ye.value !==
|
|
1282
|
+
24 && rr !== (rr = /*profileValues*/
|
|
1283
|
+
e[4].email.value) && ye.value !== rr && (ye.value = rr), u[0] & /*profileValues, prefixesArray*/
|
|
1284
1284
|
24 && pr !== (pr = /*profileValues*/
|
|
1285
1285
|
e[4].email?.readOnly) && (ye.readOnly = pr), u[0] & /*$_*/
|
|
1286
1286
|
524288 && mr !== (mr = /*$_*/
|
|
@@ -1289,8 +1289,8 @@ function Ma(e) {
|
|
|
1289
1289
|
e[4].birth?.readOnly ? "FieldDisabled" : ""}`) && i(p, "class", d), u[0] & /*profileValues, prefixesArray*/
|
|
1290
1290
|
24 && I !== (I = /*profileValues*/
|
|
1291
1291
|
e[4].birth.value) && p.value !== I && (p.value = I), u[0] & /*profileValues, prefixesArray*/
|
|
1292
|
-
24 &&
|
|
1293
|
-
e[4].birth?.readOnly) && (p.readOnly =
|
|
1292
|
+
24 && N !== (N = /*profileValues*/
|
|
1293
|
+
e[4].birth?.readOnly) && (p.readOnly = N), u[0] & /*$_*/
|
|
1294
1294
|
524288 && fr !== (fr = /*$_*/
|
|
1295
1295
|
e[19]("firstName") + "") && _(Pe, fr), u[0] & /*profileValues, prefixesArray*/
|
|
1296
1296
|
24 && Vr !== (Vr = `${/*profileValues*/
|
|
@@ -2092,14 +2092,14 @@ function _i(e) {
|
|
|
2092
2092
|
},
|
|
2093
2093
|
m(g, _e) {
|
|
2094
2094
|
D(g, t, _e), a(t, r), a(r, o), a(r, n), a(r, s), a(r, m), a(r, h);
|
|
2095
|
-
for (let
|
|
2096
|
-
R[
|
|
2095
|
+
for (let z = 0; z < R.length; z += 1)
|
|
2096
|
+
R[z] && R[z].m(h, null);
|
|
2097
2097
|
a(r, f), a(r, b), a(r, y), a(r, C);
|
|
2098
|
-
for (let
|
|
2099
|
-
he[
|
|
2098
|
+
for (let z = 0; z < he.length; z += 1)
|
|
2099
|
+
he[z] && he[z].m(C, null);
|
|
2100
2100
|
a(r, M), a(r, T), a(r, k), a(r, S);
|
|
2101
|
-
for (let
|
|
2102
|
-
ve[
|
|
2101
|
+
for (let z = 0; z < ve.length; z += 1)
|
|
2102
|
+
ve[z] && ve[z].m(S, null);
|
|
2103
2103
|
a(r, A), a(r, Q), D(g, W, _e), D(g, j, _e), c && c.m(j, null), e[51](j);
|
|
2104
2104
|
},
|
|
2105
2105
|
p(g, _e) {
|
|
@@ -2137,9 +2137,9 @@ function Si(e, t, r) {
|
|
|
2137
2137
|
securityQuestion: "i.e.: Pet name?",
|
|
2138
2138
|
title: "",
|
|
2139
2139
|
username: "Username"
|
|
2140
|
-
}, c = {}, g = {}, _e = ["Marketing", "Casino", "Sports", "Bingo", "VirtualSports"],
|
|
2140
|
+
}, c = {}, g = {}, _e = ["Marketing", "Casino", "Sports", "Bingo", "VirtualSports"], z = ["Casino", "Sports", "Bingo", "VirtualSports"];
|
|
2141
2141
|
let x = !0, Ve = !1, Se = !1, Ye = !1, L = !0, Qe = !0, Fe = !0, Ze = !0, qe = !0, Be = !0, Re = !0, K = !0, ze = !0, xe = !1;
|
|
2142
|
-
const
|
|
2142
|
+
const tr = {
|
|
2143
2143
|
document: /^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/
|
|
2144
2144
|
};
|
|
2145
2145
|
window.matchMedia("(min-width: 768px)");
|
|
@@ -2151,7 +2151,7 @@ function Si(e, t, r) {
|
|
|
2151
2151
|
}
|
|
2152
2152
|
}, Ce = async (p) => {
|
|
2153
2153
|
try {
|
|
2154
|
-
const d = new URL(`${m}${p}`),
|
|
2154
|
+
const d = new URL(`${m}${p}`), N = { method: "GET", headers: new Headers({ "X-SessionID": s }) }, ge = await fetch(d.href, N);
|
|
2155
2155
|
if (!ge.ok)
|
|
2156
2156
|
throw new Error(`HTTP error! Status: ${ge.status}`);
|
|
2157
2157
|
return await ge.json();
|
|
@@ -2165,21 +2165,21 @@ function Si(e, t, r) {
|
|
|
2165
2165
|
async function G() {
|
|
2166
2166
|
r(38, W = (await Ce(`/v1/player/${n}/consent`)).items);
|
|
2167
2167
|
}
|
|
2168
|
-
async function
|
|
2168
|
+
async function ar() {
|
|
2169
2169
|
r(39, j = (await Ce("/v1/player/consentRequirements")).items);
|
|
2170
2170
|
}
|
|
2171
|
-
async function
|
|
2171
|
+
async function ir() {
|
|
2172
2172
|
r(36, Q = (await Ce("/v1/player/countries")).countries);
|
|
2173
2173
|
}
|
|
2174
2174
|
const Hr = () => {
|
|
2175
2175
|
Object.keys(w).forEach((d) => {
|
|
2176
2176
|
switch (r(4, c[d] = {}, c), d) {
|
|
2177
2177
|
case "birth":
|
|
2178
|
-
const I = w[d]?.day || "",
|
|
2179
|
-
r(4, c[d].value = `${I}/${
|
|
2178
|
+
const I = w[d]?.day || "", N = w[d]?.month || "", ge = w[d]?.year || "";
|
|
2179
|
+
r(4, c[d].value = `${I}/${N}/${ge}`, c);
|
|
2180
2180
|
break;
|
|
2181
2181
|
case "country":
|
|
2182
|
-
r(4, c[d].countryName = Q.find((
|
|
2182
|
+
r(4, c[d].countryName = Q.find((O) => O.Alpha2Code === w.country)?.Name || "I.E. Ireland", c), r(4, c[d].countryCode = w.country || "", c);
|
|
2183
2183
|
break;
|
|
2184
2184
|
case "mobile":
|
|
2185
2185
|
r(4, c[d].prefix = w.mobile?.prefix, c), r(4, c[d].number = w.mobile?.number, c);
|
|
@@ -2190,7 +2190,7 @@ function Si(e, t, r) {
|
|
|
2190
2190
|
r(4, c[d].readOnly = Me.includes(d), c);
|
|
2191
2191
|
}), r(4, c.consents = {}, c), j.forEach((d) => {
|
|
2192
2192
|
if (_e.includes(d.category) && !d.mustAccept) {
|
|
2193
|
-
const I = W.find((
|
|
2193
|
+
const I = W.find((N) => N.tagCode === d.tagCode);
|
|
2194
2194
|
r(4, c.consents[d.category] = c.consents[d.category] || [], c), I ? c.consents[d.category].push({
|
|
2195
2195
|
tagCode: I.tagCode,
|
|
2196
2196
|
status: I.status === "Accepted"
|
|
@@ -2199,16 +2199,16 @@ function Si(e, t, r) {
|
|
|
2199
2199
|
});
|
|
2200
2200
|
const p = c.consents;
|
|
2201
2201
|
for (const [d, I] of Object.entries(p))
|
|
2202
|
-
g[d] || (r(5, g[d] = {}, g), r(5, g[d].parent = null, g), I.forEach((
|
|
2202
|
+
g[d] || (r(5, g[d] = {}, g), r(5, g[d].parent = null, g), I.forEach((N) => r(5, g[d][N.tagCode] = null, g)));
|
|
2203
2203
|
Oe = Le(c), R = Le(c.consents), r(6, x = !1);
|
|
2204
|
-
},
|
|
2204
|
+
}, or = (p) => p.split(","), jr = () => {
|
|
2205
2205
|
const p = new URL(`${m}/v1/player/operatorSupportedPhoneCodes`);
|
|
2206
2206
|
fetch(p.href).then((d) => d.json()).then((d) => r(3, A = d.phoneCodes)).catch((d) => console.log("Failed to fetch phone codes:", d));
|
|
2207
2207
|
}, ke = () => {
|
|
2208
2208
|
r(9, L = !1), Be && Re && Qe && Ze && qe && Fe && K && ze && r(9, L = !0);
|
|
2209
2209
|
}, Ge = () => {
|
|
2210
2210
|
r(8, Se = Le(c) !== Oe);
|
|
2211
|
-
},
|
|
2211
|
+
}, nr = () => {
|
|
2212
2212
|
Ye = Le(c.consents) !== R;
|
|
2213
2213
|
}, Ke = (p) => () => {
|
|
2214
2214
|
switch (p) {
|
|
@@ -2234,7 +2234,7 @@ function Si(e, t, r) {
|
|
|
2234
2234
|
if (r(14, Be = !1), c.securityQuestion.value)
|
|
2235
2235
|
switch (M) {
|
|
2236
2236
|
case "true":
|
|
2237
|
-
|
|
2237
|
+
tr.document.test(c.securityQuestion.value) && c.securityQuestion.value.length <= 50 && r(14, Be = !0);
|
|
2238
2238
|
break;
|
|
2239
2239
|
case "false":
|
|
2240
2240
|
c.securityQuestion.value && c.securityQuestion.value.length <= 120 && r(14, Be = !0);
|
|
@@ -2245,7 +2245,7 @@ function Si(e, t, r) {
|
|
|
2245
2245
|
if (r(15, Re = !1), c.securityAnswer.value)
|
|
2246
2246
|
switch (M) {
|
|
2247
2247
|
case "true":
|
|
2248
|
-
|
|
2248
|
+
tr.document.test(c.securityAnswer.value) && c.securityAnswer.value.length <= 50 && r(15, Re = !0);
|
|
2249
2249
|
break;
|
|
2250
2250
|
case "false":
|
|
2251
2251
|
c.securityAnswer.value && c.securityAnswer.value.length <= 120 && r(15, Re = !0);
|
|
@@ -2253,7 +2253,7 @@ function Si(e, t, r) {
|
|
|
2253
2253
|
}
|
|
2254
2254
|
break;
|
|
2255
2255
|
case "consents":
|
|
2256
|
-
|
|
2256
|
+
nr();
|
|
2257
2257
|
break;
|
|
2258
2258
|
}
|
|
2259
2259
|
Ge(), ke();
|
|
@@ -2298,57 +2298,57 @@ function Si(e, t, r) {
|
|
|
2298
2298
|
const p = new URL(`${m}/v1/player/${n}/profile`), d = new Headers();
|
|
2299
2299
|
d.append("X-SessionID", s), d.append("Content-Type", "application/json"), d.append("Accept", "application/json");
|
|
2300
2300
|
const I = Object.entries(c).reduce(
|
|
2301
|
-
(
|
|
2301
|
+
(O, [B, fr]) => {
|
|
2302
2302
|
const Pe = fr;
|
|
2303
2303
|
if (!Pe.readOnly)
|
|
2304
|
-
if (
|
|
2305
|
-
|
|
2306
|
-
else if (
|
|
2307
|
-
|
|
2308
|
-
else if (
|
|
2309
|
-
|
|
2310
|
-
else if (
|
|
2304
|
+
if (B === "mobile" || B === "phone")
|
|
2305
|
+
O[B] = { prefix: Pe.prefix, number: Pe.number };
|
|
2306
|
+
else if (B === "consents")
|
|
2307
|
+
O[B] = Pe;
|
|
2308
|
+
else if (B === "country")
|
|
2309
|
+
O[B] = Pe.countryCode;
|
|
2310
|
+
else if (B === "birth" && typeof Pe.value == "string") {
|
|
2311
2311
|
const vr = Pe.value.split("/");
|
|
2312
|
-
|
|
2312
|
+
O[B] = {
|
|
2313
2313
|
year: vr[2],
|
|
2314
2314
|
month: vr[1],
|
|
2315
2315
|
day: vr[0]
|
|
2316
2316
|
};
|
|
2317
2317
|
} else
|
|
2318
|
-
|
|
2319
|
-
return
|
|
2318
|
+
O[B] = Pe.value ?? null;
|
|
2319
|
+
return O;
|
|
2320
2320
|
},
|
|
2321
2321
|
{}
|
|
2322
|
-
),
|
|
2323
|
-
if (
|
|
2322
|
+
), N = Le(I);
|
|
2323
|
+
if (N === null)
|
|
2324
2324
|
return !1;
|
|
2325
|
-
const ge = { method: "POST", headers: d, body:
|
|
2325
|
+
const ge = { method: "POST", headers: d, body: N };
|
|
2326
2326
|
try {
|
|
2327
|
-
const
|
|
2328
|
-
if (
|
|
2327
|
+
const O = await fetch(p.href, ge);
|
|
2328
|
+
if (O.status === 200)
|
|
2329
2329
|
return !0;
|
|
2330
|
-
const
|
|
2331
|
-
return
|
|
2332
|
-
} catch (
|
|
2333
|
-
return console.error(
|
|
2330
|
+
const B = await O.json();
|
|
2331
|
+
return er(B), !1;
|
|
2332
|
+
} catch (O) {
|
|
2333
|
+
return console.error(O), er(O), !1;
|
|
2334
2334
|
}
|
|
2335
|
-
},
|
|
2335
|
+
}, er = (p) => {
|
|
2336
2336
|
const d = p.thirdPartyResponse?.message;
|
|
2337
2337
|
d && d.includes("Mandatory input parameter is missing: mobilePrefix") ? (F = o("userPrefixError"), Ke("mobilePrefix")()) : F = o("userProfileUpdateError");
|
|
2338
2338
|
}, sr = async () => {
|
|
2339
2339
|
const p = [], d = c.consents;
|
|
2340
|
-
for (let
|
|
2340
|
+
for (let B of Object.values(d).flat())
|
|
2341
2341
|
p.push({
|
|
2342
|
-
tagCode:
|
|
2343
|
-
status:
|
|
2342
|
+
tagCode: B.tagCode,
|
|
2343
|
+
status: B.status ? "Accepted" : "Denied"
|
|
2344
2344
|
});
|
|
2345
|
-
const I = new URL(`${m}/v1/player/${n}/consent`),
|
|
2346
|
-
|
|
2345
|
+
const I = new URL(`${m}/v1/player/${n}/consent`), N = new Headers();
|
|
2346
|
+
N.append("X-SessionID", s), N.append("Content-Type", "application/json"), N.append("Accept", "application/json");
|
|
2347
2347
|
const ge = Le({ items: p });
|
|
2348
2348
|
if (ge === null)
|
|
2349
2349
|
return !1;
|
|
2350
|
-
const
|
|
2351
|
-
return await fetch(I.href,
|
|
2350
|
+
const O = { method: "POST", headers: N, body: ge };
|
|
2351
|
+
return await fetch(I.href, O).then((B) => B.status == 200, (B) => (console.error(B), !1));
|
|
2352
2352
|
}, Qr = () => {
|
|
2353
2353
|
window.postMessage(
|
|
2354
2354
|
{
|
|
@@ -2373,8 +2373,8 @@ function Si(e, t, r) {
|
|
|
2373
2373
|
});
|
|
2374
2374
|
const Je = (p) => (d) => {
|
|
2375
2375
|
c.consents[p].forEach((I) => {
|
|
2376
|
-
I.status = d.target.checked, Object.values(g[p]).forEach((
|
|
2377
|
-
|
|
2376
|
+
I.status = d.target.checked, Object.values(g[p]).forEach((N) => {
|
|
2377
|
+
N && (N.checked = I.status);
|
|
2378
2378
|
});
|
|
2379
2379
|
}), Ke("consents")();
|
|
2380
2380
|
}, ur = (p) => (d) => {
|
|
@@ -2394,7 +2394,7 @@ function Si(e, t, r) {
|
|
|
2394
2394
|
function cr() {
|
|
2395
2395
|
c.securityAnswer.value = this.value, r(4, c), r(3, A);
|
|
2396
2396
|
}
|
|
2397
|
-
function
|
|
2397
|
+
function rr() {
|
|
2398
2398
|
c.city.value = this.value, r(4, c), r(3, A);
|
|
2399
2399
|
}
|
|
2400
2400
|
function pr() {
|
|
@@ -2428,11 +2428,11 @@ function Si(e, t, r) {
|
|
|
2428
2428
|
"userid" in p && r(27, n = p.userid), "sessionid" in p && r(28, s = p.sessionid), "endpoint" in p && r(29, m = p.endpoint), "lang" in p && r(30, h = p.lang), "clientstyling" in p && r(31, f = p.clientstyling), "clientstylingurl" in p && r(32, b = p.clientstylingurl), "mbsource" in p && r(33, y = p.mbsource), "translationurl" in p && r(34, C = p.translationurl), "custominputtextswitch" in p && r(0, M = p.custominputtextswitch), "showlocationdetailsdescription" in p && r(1, T = p.showlocationdetailsdescription), "disabledfields" in p && r(35, k = p.disabledfields);
|
|
2429
2429
|
}, e.$$.update = () => {
|
|
2430
2430
|
e.$$.dirty[0] & /*endpoint, userid, sessionid*/
|
|
2431
|
-
939524096 && m && n && s && Nr() && G() &&
|
|
2432
|
-
536870912 && m &&
|
|
2431
|
+
939524096 && m && n && s && Nr() && G() && ar(), e.$$.dirty[0] & /*endpoint*/
|
|
2432
|
+
536870912 && m && ir() && jr(), e.$$.dirty[1] & /*profileInfo, profileConsents, profileConsentRequirements, countriesArray*/
|
|
2433
2433
|
480 && We(w) && We(W) && We(j) && We(Q) && Hr(), e.$$.dirty[0] & /*lang*/
|
|
2434
2434
|
1073741824 && h && lr(), e.$$.dirty[1] & /*disabledfields*/
|
|
2435
|
-
16 && k && (Me =
|
|
2435
|
+
16 && k && (Me = or(k)), e.$$.dirty[0] & /*customStylingContainer*/
|
|
2436
2436
|
4 | e.$$.dirty[1] & /*clientstyling*/
|
|
2437
2437
|
1 && f && S && li(S, f), e.$$.dirty[0] & /*customStylingContainer*/
|
|
2438
2438
|
4 | e.$$.dirty[1] & /*clientstylingurl*/
|
|
@@ -2462,7 +2462,7 @@ function Si(e, t, r) {
|
|
|
2462
2462
|
xe,
|
|
2463
2463
|
o,
|
|
2464
2464
|
ve,
|
|
2465
|
-
|
|
2465
|
+
z,
|
|
2466
2466
|
Ke,
|
|
2467
2467
|
Tr,
|
|
2468
2468
|
Qr,
|
|
@@ -2485,7 +2485,7 @@ function Si(e, t, r) {
|
|
|
2485
2485
|
Lr,
|
|
2486
2486
|
ye,
|
|
2487
2487
|
cr,
|
|
2488
|
-
|
|
2488
|
+
rr,
|
|
2489
2489
|
pr,
|
|
2490
2490
|
Wr,
|
|
2491
2491
|
Xe,
|