50p82u21t54k 0.0.25 → 0.0.26
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/dist/50p82u21t54k.es.js +506 -382
- package/dist/50p82u21t54k.umd.js +1 -1
- package/dist/cmsList/method.d.ts +36 -1
- package/dist/cmsList/method.d.ts.map +1 -1
- package/dist/cmsList/type.d.ts +0 -28
- package/dist/cmsList/type.d.ts.map +1 -1
- package/dist/csLink/method.d.ts +7 -0
- package/dist/csLink/method.d.ts.map +1 -1
- package/dist/currentLang/method.d.ts +5 -0
- package/dist/currentLang/method.d.ts.map +1 -1
- package/dist/eGame/method.d.ts +5 -0
- package/dist/eGame/method.d.ts.map +1 -1
- package/dist/fishGames/method.d.ts +8 -0
- package/dist/fishGames/method.d.ts.map +1 -1
- package/dist/getLocale/method.d.ts +5 -0
- package/dist/getLocale/method.d.ts.map +1 -1
- package/dist/getSetting/method.d.ts +11 -0
- package/dist/getSetting/method.d.ts.map +1 -1
- package/dist/getSetting/type.d.ts +1 -1
- package/dist/getSetting/type.d.ts.map +1 -1
- package/dist/home/method.d.ts +62 -92
- package/dist/home/method.d.ts.map +1 -1
- package/dist/home/type.d.ts.map +1 -1
- package/dist/hotGames/method.d.ts +16 -0
- package/dist/hotGames/method.d.ts.map +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/login/index.d.ts +3 -0
- package/dist/login/index.d.ts.map +1 -0
- package/dist/login/method.d.ts +24 -0
- package/dist/login/method.d.ts.map +1 -0
- package/dist/login/type.d.ts +19 -0
- package/dist/login/type.d.ts.map +1 -0
- package/dist/main.d.ts +0 -1
- package/dist/plugin.d.ts +3 -1
- package/dist/plugin.d.ts.map +1 -1
- package/dist/promotion/method.d.ts +9 -0
- package/dist/promotion/method.d.ts.map +1 -1
- package/dist/trialGames/method.d.ts +5 -0
- package/dist/trialGames/method.d.ts.map +1 -1
- package/package.json +2 -1
- package/dist/login (incomplete)/index.d.ts +0 -1
- package/dist/login (incomplete)/index.d.ts.map +0 -1
- package/dist/login (incomplete)/method.d.ts +0 -1
- package/dist/login (incomplete)/method.d.ts.map +0 -1
- package/dist/login (incomplete)/type.d.ts +0 -1
- package/dist/login (incomplete)/type.d.ts.map +0 -1
package/dist/50p82u21t54k.es.js
CHANGED
|
@@ -1,64 +1,116 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ref as
|
|
3
|
-
import
|
|
4
|
-
const
|
|
1
|
+
import K from "axios";
|
|
2
|
+
import { ref as q } from "vue";
|
|
3
|
+
import m from "crypto-js";
|
|
4
|
+
const C = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5
5
|
__proto__: null,
|
|
6
|
-
get
|
|
7
|
-
return
|
|
6
|
+
get DefaultHotGamesResponse() {
|
|
7
|
+
return y;
|
|
8
8
|
},
|
|
9
|
-
get getCmsList() {
|
|
10
|
-
return d;
|
|
11
|
-
}
|
|
12
|
-
}, Symbol.toStringTag, { value: "Module" })), A = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13
|
-
__proto__: null,
|
|
14
9
|
get getHotGames() {
|
|
15
|
-
return
|
|
10
|
+
return G;
|
|
16
11
|
}
|
|
17
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12
|
+
}, Symbol.toStringTag, { value: "Module" })), w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18
13
|
__proto__: null,
|
|
19
|
-
get
|
|
14
|
+
get DefaultFishGamesResponse() {
|
|
20
15
|
return S;
|
|
16
|
+
},
|
|
17
|
+
get getFishGames() {
|
|
18
|
+
return E;
|
|
21
19
|
}
|
|
22
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
20
|
+
}, Symbol.toStringTag, { value: "Module" })), $ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23
21
|
__proto__: null,
|
|
22
|
+
get DefaultTrialGamesResponse() {
|
|
23
|
+
return b;
|
|
24
|
+
},
|
|
24
25
|
get getTrialGames() {
|
|
25
|
-
return
|
|
26
|
+
return R;
|
|
26
27
|
}
|
|
27
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
28
|
+
}, Symbol.toStringTag, { value: "Module" })), Y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
28
29
|
__proto__: null,
|
|
29
|
-
get
|
|
30
|
+
get DefaultPromotionResponse() {
|
|
30
31
|
return P;
|
|
32
|
+
},
|
|
33
|
+
get getPromotion() {
|
|
34
|
+
return A;
|
|
35
|
+
}
|
|
36
|
+
}, Symbol.toStringTag, { value: "Module" })), X = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
37
|
+
__proto__: null,
|
|
38
|
+
get CmsId() {
|
|
39
|
+
return L;
|
|
40
|
+
},
|
|
41
|
+
get DefaultCmsListResponse() {
|
|
42
|
+
return h;
|
|
43
|
+
},
|
|
44
|
+
get getCmsList() {
|
|
45
|
+
return D;
|
|
31
46
|
}
|
|
32
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
47
|
+
}, Symbol.toStringTag, { value: "Module" })), Q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
33
48
|
__proto__: null,
|
|
49
|
+
get DefaultHomeResponse() {
|
|
50
|
+
return N;
|
|
51
|
+
},
|
|
34
52
|
get GameType() {
|
|
35
|
-
return
|
|
53
|
+
return j;
|
|
36
54
|
},
|
|
37
55
|
get getHome() {
|
|
38
|
-
return
|
|
56
|
+
return re;
|
|
39
57
|
}
|
|
40
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
58
|
+
}, Symbol.toStringTag, { value: "Module" })), W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
41
59
|
__proto__: null,
|
|
60
|
+
get DefaultCurrentLangResponse() {
|
|
61
|
+
return k;
|
|
62
|
+
},
|
|
42
63
|
get getCurrentLang() {
|
|
43
|
-
return
|
|
64
|
+
return ne;
|
|
44
65
|
}
|
|
45
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
66
|
+
}, Symbol.toStringTag, { value: "Module" })), Z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
46
67
|
__proto__: null,
|
|
68
|
+
get DefaultGetLocaleResponse() {
|
|
69
|
+
return T;
|
|
70
|
+
},
|
|
47
71
|
get getGetLocale() {
|
|
48
|
-
return
|
|
72
|
+
return oe;
|
|
49
73
|
}
|
|
50
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
74
|
+
}, Symbol.toStringTag, { value: "Module" })), I = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
51
75
|
__proto__: null,
|
|
76
|
+
get DefaultCsLinkResponse() {
|
|
77
|
+
return M;
|
|
78
|
+
},
|
|
52
79
|
get getCsLink() {
|
|
53
|
-
return
|
|
80
|
+
return ue;
|
|
54
81
|
}
|
|
55
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
82
|
+
}, Symbol.toStringTag, { value: "Module" })), ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
56
83
|
__proto__: null,
|
|
84
|
+
get DefaultEGameResponse() {
|
|
85
|
+
return B;
|
|
86
|
+
},
|
|
57
87
|
get getEGame() {
|
|
58
|
-
return
|
|
88
|
+
return le;
|
|
59
89
|
}
|
|
60
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
61
|
-
|
|
90
|
+
}, Symbol.toStringTag, { value: "Module" })), te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
91
|
+
__proto__: null,
|
|
92
|
+
get DefaultGetSettingResponse() {
|
|
93
|
+
return F;
|
|
94
|
+
},
|
|
95
|
+
get getGetSetting() {
|
|
96
|
+
return pe;
|
|
97
|
+
}
|
|
98
|
+
}, Symbol.toStringTag, { value: "Module" })), ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
99
|
+
__proto__: null,
|
|
100
|
+
get DefaultGetLoginKeyResponse() {
|
|
101
|
+
return x;
|
|
102
|
+
},
|
|
103
|
+
get DefaultLoginResponse() {
|
|
104
|
+
return z;
|
|
105
|
+
},
|
|
106
|
+
get getLoginKey() {
|
|
107
|
+
return ce;
|
|
108
|
+
},
|
|
109
|
+
get submitLogin() {
|
|
110
|
+
return ge;
|
|
111
|
+
}
|
|
112
|
+
}, Symbol.toStringTag, { value: "Module" })), l = K.create({
|
|
113
|
+
baseURL: "",
|
|
62
114
|
timeout: 5e3,
|
|
63
115
|
// Request timeout
|
|
64
116
|
headers: {
|
|
@@ -103,11 +155,11 @@ const E = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
103
155
|
// },
|
|
104
156
|
// },
|
|
105
157
|
});
|
|
106
|
-
|
|
158
|
+
l.interceptors.request.use(
|
|
107
159
|
(e) => e,
|
|
108
160
|
(e) => (console.error("Error request:", e.response), Promise.reject(e))
|
|
109
161
|
);
|
|
110
|
-
|
|
162
|
+
l.interceptors.response.use(
|
|
111
163
|
(e) => e,
|
|
112
164
|
(e) => {
|
|
113
165
|
const s = {
|
|
@@ -117,173 +169,143 @@ u.interceptors.response.use(
|
|
|
117
169
|
return e.response ? (s.status = e.response.status, s.message = e.response.data.message || e.response.statusText, console.error("Error response:", JSON.stringify(s)), e.response.status === 401 ? console.error("Unauthorized access - redirecting to login.") : e.response.status === 404 ? console.error("Resource not found.") : e.response.status >= 500 && console.error("Server error. Please try again later.")) : e.request ? console.error("No response received:", e.request) : console.error("Error setting up request:", e.message), Promise.reject(s);
|
|
118
170
|
}
|
|
119
171
|
);
|
|
120
|
-
const
|
|
172
|
+
const v = q("");
|
|
121
173
|
function o() {
|
|
122
|
-
return
|
|
174
|
+
return v.value === "" ? 0 : 1;
|
|
123
175
|
}
|
|
124
|
-
const
|
|
125
|
-
home:
|
|
126
|
-
hotGames:
|
|
127
|
-
fishGames:
|
|
128
|
-
trialGames:
|
|
129
|
-
currentLang:
|
|
130
|
-
promotion:
|
|
131
|
-
getLocale:
|
|
132
|
-
csLink:
|
|
133
|
-
eGame:
|
|
134
|
-
cmsList:
|
|
135
|
-
|
|
176
|
+
const se = {
|
|
177
|
+
home: Q,
|
|
178
|
+
hotGames: C,
|
|
179
|
+
fishGames: w,
|
|
180
|
+
trialGames: $,
|
|
181
|
+
currentLang: W,
|
|
182
|
+
promotion: Y,
|
|
183
|
+
getLocale: Z,
|
|
184
|
+
csLink: I,
|
|
185
|
+
eGame: ee,
|
|
186
|
+
cmsList: X,
|
|
187
|
+
getSetting: te,
|
|
188
|
+
login: ae
|
|
189
|
+
}, de = {
|
|
136
190
|
install(e) {
|
|
137
|
-
e.config.globalProperties.$library =
|
|
191
|
+
e.config.globalProperties.$library = se;
|
|
138
192
|
}
|
|
139
193
|
}, p = (e) => {
|
|
140
194
|
try {
|
|
141
195
|
const s = JSON.parse(
|
|
142
|
-
|
|
196
|
+
m.AES.decrypt(e, v.value, {
|
|
143
197
|
format: {
|
|
144
198
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
145
|
-
stringify: (
|
|
146
|
-
const
|
|
147
|
-
ct:
|
|
199
|
+
stringify: (t) => {
|
|
200
|
+
const a = {
|
|
201
|
+
ct: t.ciphertext.toString(m.enc.Base64)
|
|
148
202
|
};
|
|
149
|
-
return
|
|
203
|
+
return t.iv && (a.iv = t.iv.toString()), t.salt && (a.s = t.salt.toString()), JSON.stringify(a);
|
|
150
204
|
},
|
|
151
|
-
parse: (
|
|
152
|
-
const
|
|
153
|
-
ciphertext:
|
|
205
|
+
parse: (t) => {
|
|
206
|
+
const a = JSON.parse(t), n = m.lib.CipherParams.create({
|
|
207
|
+
ciphertext: m.enc.Base64.parse(a.ct)
|
|
154
208
|
});
|
|
155
|
-
return
|
|
209
|
+
return a.iv && (n.iv = m.enc.Hex.parse(a.iv)), a.s && (n.salt = m.enc.Hex.parse(a.s)), n;
|
|
156
210
|
}
|
|
157
211
|
}
|
|
158
|
-
}).toString(
|
|
212
|
+
}).toString(m.enc.Utf8)
|
|
159
213
|
);
|
|
160
214
|
return s !== "" ? JSON.parse(s) : s;
|
|
161
215
|
} catch (s) {
|
|
162
216
|
return console.error(s), "";
|
|
163
217
|
}
|
|
218
|
+
}, y = {
|
|
219
|
+
status: 200,
|
|
220
|
+
message: "",
|
|
221
|
+
data: {
|
|
222
|
+
currentPage: 0,
|
|
223
|
+
data: [],
|
|
224
|
+
from: 0,
|
|
225
|
+
lastPage: 0,
|
|
226
|
+
nextPageUrl: "",
|
|
227
|
+
path: "",
|
|
228
|
+
perPage: 0,
|
|
229
|
+
prevPageUrl: "",
|
|
230
|
+
to: 0,
|
|
231
|
+
total: 0
|
|
232
|
+
}
|
|
164
233
|
};
|
|
165
|
-
async function
|
|
166
|
-
const
|
|
167
|
-
status: 200,
|
|
168
|
-
message: "",
|
|
169
|
-
data: {
|
|
170
|
-
cmsList: []
|
|
171
|
-
}
|
|
172
|
-
};
|
|
234
|
+
async function G() {
|
|
235
|
+
const e = y;
|
|
173
236
|
try {
|
|
174
|
-
const
|
|
237
|
+
const s = await l.get("/apis/hotGames", {
|
|
175
238
|
params: {
|
|
176
239
|
render: o()
|
|
177
240
|
}
|
|
178
241
|
});
|
|
179
242
|
let t;
|
|
180
|
-
return o() ? t = JSON.parse(p(
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
async function _() {
|
|
199
|
-
const e = {
|
|
200
|
-
status: 200,
|
|
201
|
-
message: "",
|
|
202
|
-
data: {
|
|
203
|
-
currentPage: 0,
|
|
204
|
-
data: [],
|
|
205
|
-
from: 0,
|
|
206
|
-
lastPage: 0,
|
|
207
|
-
nextPageUrl: "",
|
|
208
|
-
path: "",
|
|
209
|
-
perPage: 0,
|
|
210
|
-
prevPageUrl: "",
|
|
211
|
-
to: 0,
|
|
212
|
-
total: 0
|
|
213
|
-
}
|
|
214
|
-
};
|
|
215
|
-
try {
|
|
216
|
-
const s = await u.get("/hotGames", {
|
|
217
|
-
params: {
|
|
218
|
-
render: o()
|
|
219
|
-
}
|
|
220
|
-
});
|
|
221
|
-
let a;
|
|
222
|
-
return o() ? a = JSON.parse(p(s.data)) : a = s.data, s.status != 200 ? (e.status = s.status, e.message = "", e) : (e.data = {
|
|
223
|
-
currentPage: a.current_page ?? 0,
|
|
224
|
-
data: a.data.map((t) => ({
|
|
225
|
-
id: t.id ?? 0,
|
|
226
|
-
name: t.name ?? "",
|
|
227
|
-
pfid: t.pfid ?? 0,
|
|
228
|
-
ppname: t.ppname ?? "",
|
|
229
|
-
code: t.code ?? "",
|
|
230
|
-
img: t.img ?? "",
|
|
231
|
-
progressive: t.progressive ?? "",
|
|
232
|
-
ppid: t.ppid ?? 0,
|
|
233
|
-
notry: t.notry === 1,
|
|
234
|
-
productCode: t.product_code ?? "",
|
|
235
|
-
imgSrc: t.imgSrc ?? "",
|
|
236
|
-
imgPf: t.imgPf ?? "",
|
|
237
|
-
favouriteFlag: t.favourite_flag === 1,
|
|
238
|
-
platformStatusFlag: t.platform_status_flag ?? "",
|
|
239
|
-
platformFlagName: t.platform_flag_name ?? "",
|
|
243
|
+
return o() ? t = JSON.parse(p(s.data)) : t = s.data, s.status != 200 ? (e.status = s.status, e.message = "", e) : (e.data = {
|
|
244
|
+
currentPage: t.current_page ?? 0,
|
|
245
|
+
data: t.data.map((a) => ({
|
|
246
|
+
id: a.id ?? 0,
|
|
247
|
+
name: a.name ?? "",
|
|
248
|
+
pfid: a.pfid ?? 0,
|
|
249
|
+
ppname: a.ppname ?? "",
|
|
250
|
+
code: a.code ?? "",
|
|
251
|
+
img: a.img ?? "",
|
|
252
|
+
progressive: a.progressive ?? "",
|
|
253
|
+
ppid: a.ppid ?? 0,
|
|
254
|
+
notry: a.notry === 1,
|
|
255
|
+
productCode: a.product_code ?? "",
|
|
256
|
+
imgSrc: a.imgSrc ?? "",
|
|
257
|
+
imgPf: a.imgPf ?? "",
|
|
258
|
+
favouriteFlag: a.favourite_flag === 1,
|
|
259
|
+
platformStatusFlag: a.platform_status_flag ?? "",
|
|
260
|
+
platformFlagName: a.platform_flag_name ?? "",
|
|
240
261
|
platformStatusParams: {
|
|
241
|
-
eb:
|
|
242
|
-
fit:
|
|
243
|
-
fs:
|
|
262
|
+
eb: a.platform_status_params.eb ?? !1,
|
|
263
|
+
fit: a.platform_status_params.fit ?? !1,
|
|
264
|
+
fs: a.platform_status_params.fs ?? !1
|
|
244
265
|
},
|
|
245
|
-
gameId:
|
|
266
|
+
gameId: a.game_id ?? 0
|
|
246
267
|
})),
|
|
247
|
-
from:
|
|
248
|
-
lastPage:
|
|
249
|
-
nextPageUrl:
|
|
250
|
-
path:
|
|
251
|
-
perPage:
|
|
252
|
-
prevPageUrl:
|
|
253
|
-
to:
|
|
254
|
-
total:
|
|
268
|
+
from: t.from ?? 0,
|
|
269
|
+
lastPage: t.last_page ?? 0,
|
|
270
|
+
nextPageUrl: t.next_page_url ?? "",
|
|
271
|
+
path: t.path ?? "",
|
|
272
|
+
perPage: t.per_page ?? 0,
|
|
273
|
+
prevPageUrl: t.prev_page_url ?? "",
|
|
274
|
+
to: t.to ?? 0,
|
|
275
|
+
total: t.total ?? 0
|
|
255
276
|
}, e);
|
|
256
277
|
} catch (s) {
|
|
257
|
-
const
|
|
258
|
-
return e.status =
|
|
278
|
+
const t = s;
|
|
279
|
+
return e.status = t.status || 500, e.message = t.message, e;
|
|
259
280
|
}
|
|
260
281
|
}
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
282
|
+
const S = {
|
|
283
|
+
status: 200,
|
|
284
|
+
message: "",
|
|
285
|
+
data: {
|
|
286
|
+
hotfish: [],
|
|
287
|
+
data: []
|
|
288
|
+
}
|
|
289
|
+
};
|
|
290
|
+
async function E() {
|
|
291
|
+
const e = S;
|
|
270
292
|
try {
|
|
271
|
-
const s = await
|
|
293
|
+
const s = await l.get("/apis/fishGames", {
|
|
272
294
|
params: {
|
|
273
295
|
render: o()
|
|
274
296
|
}
|
|
275
297
|
});
|
|
276
|
-
let
|
|
277
|
-
return o() ?
|
|
278
|
-
hotfish:
|
|
279
|
-
data:
|
|
298
|
+
let t;
|
|
299
|
+
return o() ? t = JSON.parse(p(s.data)) : t = s.data, s.status != 200 ? (e.status = s.status, e.message = "", e) : (e.data = {
|
|
300
|
+
hotfish: t.hotfish.map((a) => O(a)),
|
|
301
|
+
data: t.data.map((a) => O(a))
|
|
280
302
|
}, e);
|
|
281
303
|
} catch (s) {
|
|
282
|
-
const
|
|
283
|
-
return e.status =
|
|
304
|
+
const t = s;
|
|
305
|
+
return e.status = t.status || 500, e.message = t.message, e;
|
|
284
306
|
}
|
|
285
307
|
}
|
|
286
|
-
const
|
|
308
|
+
const O = (e) => ({
|
|
287
309
|
id: e.id ?? 0,
|
|
288
310
|
name: e.name ?? "",
|
|
289
311
|
ppid: e.pp_id ?? "",
|
|
@@ -304,24 +326,24 @@ const f = (e) => ({
|
|
|
304
326
|
fit: e.platform_status_params.fit ?? !1,
|
|
305
327
|
fs: e.platform_status_params.fs ?? !1
|
|
306
328
|
}
|
|
307
|
-
})
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
329
|
+
}), b = {
|
|
330
|
+
status: 200,
|
|
331
|
+
message: "",
|
|
332
|
+
data: []
|
|
333
|
+
};
|
|
334
|
+
async function R() {
|
|
335
|
+
const e = b;
|
|
314
336
|
try {
|
|
315
|
-
const s = await
|
|
337
|
+
const s = await l.get("/apis/trialGames", {
|
|
316
338
|
params: {
|
|
317
339
|
render: o()
|
|
318
340
|
}
|
|
319
341
|
});
|
|
320
|
-
let
|
|
321
|
-
return o() ?
|
|
322
|
-
ppid:
|
|
323
|
-
ppname:
|
|
324
|
-
games:
|
|
342
|
+
let t;
|
|
343
|
+
return o() ? t = JSON.parse(p(s.data)) : t = s.data, s.status != 200 ? (e.status = s.status, e.message = "", e) : (e.data = t.map((a) => ({
|
|
344
|
+
ppid: a.ppid ?? 0,
|
|
345
|
+
ppname: a.ppname ?? "",
|
|
346
|
+
games: a.games.map((n) => ({
|
|
325
347
|
id: n.id ?? 0,
|
|
326
348
|
name: n.name ?? "",
|
|
327
349
|
img: n.img ?? "",
|
|
@@ -337,175 +359,171 @@ async function y() {
|
|
|
337
359
|
fit: n.platform_status_params.fit ?? !1,
|
|
338
360
|
fs: n.platform_status_params.fs ?? !1
|
|
339
361
|
},
|
|
340
|
-
ppname:
|
|
362
|
+
ppname: a.ppname ?? ""
|
|
341
363
|
}))
|
|
342
364
|
})), e);
|
|
343
365
|
} catch (s) {
|
|
344
|
-
const
|
|
345
|
-
return e.status =
|
|
366
|
+
const t = s;
|
|
367
|
+
return e.status = t.status || 500, e.message = t.message, e;
|
|
346
368
|
}
|
|
347
369
|
}
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
370
|
+
const P = {
|
|
371
|
+
status: 200,
|
|
372
|
+
message: "",
|
|
373
|
+
data: {
|
|
374
|
+
objList: [],
|
|
375
|
+
promoCat: [],
|
|
376
|
+
resize: 0
|
|
377
|
+
}
|
|
378
|
+
};
|
|
379
|
+
async function A() {
|
|
380
|
+
const e = P;
|
|
358
381
|
try {
|
|
359
|
-
const s = await
|
|
382
|
+
const s = await l.get("/apis/promotion", {
|
|
360
383
|
params: {
|
|
361
384
|
render: o()
|
|
362
385
|
}
|
|
363
386
|
});
|
|
364
|
-
let
|
|
365
|
-
return o() ?
|
|
366
|
-
objList:
|
|
367
|
-
promoIndex:
|
|
368
|
-
type:
|
|
369
|
-
thumb:
|
|
370
|
-
title:
|
|
371
|
-
displayTime:
|
|
372
|
-
handle:
|
|
373
|
-
content:
|
|
374
|
-
langList:
|
|
375
|
-
agentList:
|
|
376
|
-
dateCreated:
|
|
377
|
-
updateBy:
|
|
378
|
-
lastUpdated:
|
|
379
|
-
sequence:
|
|
380
|
-
status:
|
|
381
|
-
timer:
|
|
382
|
-
stime:
|
|
383
|
-
etime:
|
|
384
|
-
smaid:
|
|
385
|
-
companyIndex:
|
|
386
|
-
fileName:
|
|
387
|
-
version:
|
|
388
|
-
categoryName:
|
|
389
|
-
barImg:
|
|
390
|
-
buttonImg:
|
|
391
|
-
promoImg:
|
|
392
|
-
catId:
|
|
393
|
-
imageType:
|
|
394
|
-
image:
|
|
395
|
-
isLink:
|
|
396
|
-
latestUpdate:
|
|
387
|
+
let t;
|
|
388
|
+
return o() ? t = JSON.parse(p(s.data)) : t = s.data, s.status != 200 ? (e.status = s.status, e.message = "", e) : (e.data = {
|
|
389
|
+
objList: t.objList.map((a) => ({
|
|
390
|
+
promoIndex: a.promoindex ?? 0,
|
|
391
|
+
type: a.type ?? 0,
|
|
392
|
+
thumb: a.thumb ?? 0,
|
|
393
|
+
title: a.title ?? "",
|
|
394
|
+
displayTime: a.display_time ?? "",
|
|
395
|
+
handle: a.handle ?? "",
|
|
396
|
+
content: a.content ?? "",
|
|
397
|
+
langList: a.lang_list ?? "",
|
|
398
|
+
agentList: a.agent_list ?? "",
|
|
399
|
+
dateCreated: a.datecreated ?? "",
|
|
400
|
+
updateBy: a.updateby ?? "",
|
|
401
|
+
lastUpdated: a.lastupdated ?? "",
|
|
402
|
+
sequence: a.sequence ?? 0,
|
|
403
|
+
status: a.status === 1,
|
|
404
|
+
timer: a.timer ?? "",
|
|
405
|
+
stime: a.stime ?? "",
|
|
406
|
+
etime: a.etime ?? "",
|
|
407
|
+
smaid: a.smaid ?? "",
|
|
408
|
+
companyIndex: a.companyindex ?? "",
|
|
409
|
+
fileName: a.filename ?? "",
|
|
410
|
+
version: a.version ?? "",
|
|
411
|
+
categoryName: a.category_name ?? "",
|
|
412
|
+
barImg: a.bar_img ?? "",
|
|
413
|
+
buttonImg: a.button_img ?? "",
|
|
414
|
+
promoImg: a.promo_image ?? "",
|
|
415
|
+
catId: a.catid ?? "",
|
|
416
|
+
imageType: a.image_type ?? "",
|
|
417
|
+
image: a.image ?? "",
|
|
418
|
+
isLink: a.isLink,
|
|
419
|
+
latestUpdate: a.latestupdate ?? ""
|
|
397
420
|
})),
|
|
398
|
-
promoCat:
|
|
399
|
-
catId:
|
|
400
|
-
name:
|
|
401
|
-
barImg:
|
|
402
|
-
buttonImg:
|
|
421
|
+
promoCat: t.promoCat.map((a) => ({
|
|
422
|
+
catId: a.catid ?? 0,
|
|
423
|
+
name: a.name ?? "",
|
|
424
|
+
barImg: a.bar_img ?? "",
|
|
425
|
+
buttonImg: a.button_img ?? ""
|
|
403
426
|
})),
|
|
404
|
-
resize:
|
|
427
|
+
resize: t.resize
|
|
405
428
|
}, e);
|
|
406
429
|
} catch (s) {
|
|
407
|
-
const
|
|
408
|
-
return e.status =
|
|
430
|
+
const t = s;
|
|
431
|
+
return e.status = t.status || 500, e.message = t.message, e;
|
|
409
432
|
}
|
|
410
433
|
}
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
},
|
|
426
|
-
mobileBanner: [],
|
|
427
|
-
announcement: [],
|
|
428
|
-
alertAnnouncement: [],
|
|
429
|
-
hotGames: {
|
|
430
|
-
status: 200,
|
|
431
|
-
message: "",
|
|
432
|
-
data: {
|
|
433
|
-
currentPage: 0,
|
|
434
|
-
data: [],
|
|
435
|
-
from: 0,
|
|
436
|
-
lastPage: 0,
|
|
437
|
-
nextPageUrl: "",
|
|
438
|
-
path: "",
|
|
439
|
-
perPage: 0,
|
|
440
|
-
prevPageUrl: "",
|
|
441
|
-
to: 0,
|
|
442
|
-
total: 0
|
|
443
|
-
}
|
|
444
|
-
},
|
|
445
|
-
fishGames: {
|
|
446
|
-
status: 200,
|
|
447
|
-
message: "",
|
|
448
|
-
data: {
|
|
449
|
-
hotfish: [],
|
|
450
|
-
data: []
|
|
451
|
-
}
|
|
452
|
-
},
|
|
453
|
-
trialGames: {
|
|
454
|
-
status: 200,
|
|
455
|
-
message: "",
|
|
456
|
-
data: []
|
|
457
|
-
},
|
|
458
|
-
promotion: {
|
|
459
|
-
status: 200,
|
|
460
|
-
message: "",
|
|
461
|
-
data: {
|
|
462
|
-
objList: [],
|
|
463
|
-
promoCat: [],
|
|
464
|
-
resize: 0
|
|
465
|
-
}
|
|
466
|
-
},
|
|
467
|
-
cmsList: {
|
|
468
|
-
status: 200,
|
|
469
|
-
message: "",
|
|
470
|
-
data: {
|
|
471
|
-
cmsList: []
|
|
472
|
-
}
|
|
434
|
+
var L = /* @__PURE__ */ ((e) => (e[e.AllCategories = 0] = "AllCategories", e[e.Lotto = 2] = "Lotto", e[e.LiveCasino = 3] = "LiveCasino", e[e.SlotGames = 4] = "SlotGames", e[e.SportsBetting = 5] = "SportsBetting", e[e.LatestAd = 7] = "LatestAd", e[e.Promotions = 8] = "Promotions", e[e.MobileBetting = 9] = "MobileBetting", e[e.ESports = 12] = "ESports", e[e.CardGames = 13] = "CardGames", e[e.FishingGames = 14] = "FishingGames", e[e.BottomRightAd = 16] = "BottomRightAd", e[e.LotteryActivity = 18] = "LotteryActivity", e[e.HomepagePopup = 101] = "HomepagePopup", e[e.LeftAd = 102] = "LeftAd", e[e.RightAd = 103] = "RightAd", e[e.MobileAd = 104] = "MobileAd", e[e.MobilePopup = 105] = "MobilePopup", e[e.BottomLeftAd = 106] = "BottomLeftAd", e[e.InfoGallery = 109] = "InfoGallery", e[e.AgentBackendAd = 114] = "AgentBackendAd", e[e.CheckInBanner = 123] = "CheckInBanner", e[e.PlatformActivities = 128] = "PlatformActivities", e[e.LotterySlogan = 130] = "LotterySlogan", e[e.MobileLotterySlogan = 131] = "MobileLotterySlogan", e[e.PointsMallSlogan = 135] = "PointsMallSlogan", e))(L || {});
|
|
435
|
+
const h = {
|
|
436
|
+
status: 200,
|
|
437
|
+
message: "",
|
|
438
|
+
data: {
|
|
439
|
+
cmsList: []
|
|
440
|
+
}
|
|
441
|
+
};
|
|
442
|
+
async function D(e) {
|
|
443
|
+
const s = h;
|
|
444
|
+
try {
|
|
445
|
+
const t = await l.get(`/apis/cmsList?id=${e}`, {
|
|
446
|
+
params: {
|
|
447
|
+
render: o()
|
|
473
448
|
}
|
|
474
|
-
}
|
|
475
|
-
|
|
449
|
+
});
|
|
450
|
+
let a;
|
|
451
|
+
return o() ? a = JSON.parse(p(t.data)) : a = t.data, t.status != 200 ? (s.status = t.status, s.message = "", s) : (s.data = {
|
|
452
|
+
cmsList: a.cmslist.map((n) => ({
|
|
453
|
+
name: n.name ?? "",
|
|
454
|
+
content: n.content ?? "",
|
|
455
|
+
link: n.link ?? "",
|
|
456
|
+
linkTarget: n.link_target ?? "",
|
|
457
|
+
updatedOn: n.updated_on ?? "",
|
|
458
|
+
idCmsCategory: n.id_cms_category ?? 0,
|
|
459
|
+
contentOrg: n.content_org ?? "",
|
|
460
|
+
linkOrg: n.link_org ?? ""
|
|
461
|
+
}))
|
|
462
|
+
}, s);
|
|
463
|
+
} catch (t) {
|
|
464
|
+
const a = t;
|
|
465
|
+
return s.status = a.status || 500, s.message = a.message, s;
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
const N = {
|
|
469
|
+
status: 200,
|
|
470
|
+
message: "",
|
|
471
|
+
data: {
|
|
472
|
+
game: {
|
|
473
|
+
SPORT: [],
|
|
474
|
+
SPECIAL: [],
|
|
475
|
+
PVP: [],
|
|
476
|
+
LIVE: [],
|
|
477
|
+
EVENT: [],
|
|
478
|
+
ESPORT: [],
|
|
479
|
+
EGAME: [],
|
|
480
|
+
BINGO: []
|
|
481
|
+
},
|
|
482
|
+
mobileBanner: [],
|
|
483
|
+
announcement: [],
|
|
484
|
+
alertAnnouncement: [],
|
|
485
|
+
hotGames: y,
|
|
486
|
+
fishGames: S,
|
|
487
|
+
trialGames: b,
|
|
488
|
+
promotion: P,
|
|
489
|
+
cmsList: h
|
|
490
|
+
}
|
|
491
|
+
};
|
|
492
|
+
async function re() {
|
|
493
|
+
const e = N;
|
|
476
494
|
try {
|
|
477
495
|
const [
|
|
478
496
|
s,
|
|
479
|
-
a,
|
|
480
497
|
t,
|
|
498
|
+
a,
|
|
481
499
|
n,
|
|
482
|
-
|
|
483
|
-
|
|
500
|
+
d,
|
|
501
|
+
_
|
|
484
502
|
] = await Promise.all([
|
|
485
|
-
|
|
503
|
+
l.get("/apis/home", {
|
|
486
504
|
params: {
|
|
487
505
|
render: o()
|
|
488
506
|
}
|
|
489
507
|
}),
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
508
|
+
G(),
|
|
509
|
+
E(),
|
|
510
|
+
R(),
|
|
511
|
+
A(),
|
|
512
|
+
D(L.LatestAd)
|
|
495
513
|
]);
|
|
496
|
-
let
|
|
497
|
-
return o() ?
|
|
514
|
+
let u;
|
|
515
|
+
return o() ? u = JSON.parse(p(s.data)) : u = s.data, s.status != 200 ? (e.status = s.status, e.message = "", e) : (e.data = {
|
|
498
516
|
game: {
|
|
499
|
-
SPORT:
|
|
500
|
-
SPECIAL:
|
|
501
|
-
PVP:
|
|
502
|
-
LIVE:
|
|
503
|
-
EVENT:
|
|
504
|
-
ESPORT:
|
|
505
|
-
EGAME:
|
|
506
|
-
BINGO:
|
|
517
|
+
SPORT: u.game.SPORT.map((r) => i(r)),
|
|
518
|
+
SPECIAL: u.game.SPECIAL.map((r) => i(r)),
|
|
519
|
+
PVP: u.game.PVP.map((r) => i(r)),
|
|
520
|
+
LIVE: u.game.LIVE.map((r) => i(r)),
|
|
521
|
+
EVENT: u.game.EVENT.map((r) => i(r)),
|
|
522
|
+
ESPORT: u.game.ESPORT.map((r) => i(r)),
|
|
523
|
+
EGAME: u.game.EGAME.map((r) => i(r)),
|
|
524
|
+
BINGO: u.game.BINGO.map((r) => i(r))
|
|
507
525
|
},
|
|
508
|
-
mobileBanner:
|
|
526
|
+
mobileBanner: u.mobileBanner.map((r) => ({
|
|
509
527
|
name: r.name ?? "",
|
|
510
528
|
content: r.content ?? "",
|
|
511
529
|
link: r.link ?? "",
|
|
@@ -514,7 +532,7 @@ async function x() {
|
|
|
514
532
|
idCmsCategory: r.id_cms_category ?? 0,
|
|
515
533
|
contentOrg: r.content_org ?? ""
|
|
516
534
|
})),
|
|
517
|
-
announcement:
|
|
535
|
+
announcement: u.announcement.map((r) => ({
|
|
518
536
|
announcementIndex: r.announcement_index ?? 0,
|
|
519
537
|
announcementEnglish: r.announcement_english ?? "",
|
|
520
538
|
announcementSimplified: r.announcement_simplified ?? "",
|
|
@@ -536,22 +554,22 @@ async function x() {
|
|
|
536
554
|
grp: r.grp ?? "",
|
|
537
555
|
time: r.time ?? ""
|
|
538
556
|
})),
|
|
539
|
-
alertAnnouncement:
|
|
557
|
+
alertAnnouncement: u.alert_announcement.map((r) => ({
|
|
540
558
|
announcementDateCreated: r.announcement_datecreated ?? "",
|
|
541
559
|
announcementSimplified: r.announcement_simplified ?? ""
|
|
542
560
|
})),
|
|
543
|
-
hotGames:
|
|
544
|
-
fishGames:
|
|
561
|
+
hotGames: t,
|
|
562
|
+
fishGames: a,
|
|
545
563
|
trialGames: n,
|
|
546
|
-
promotion:
|
|
547
|
-
cmsList:
|
|
564
|
+
promotion: d,
|
|
565
|
+
cmsList: _
|
|
548
566
|
}, e);
|
|
549
567
|
} catch (s) {
|
|
550
|
-
const
|
|
551
|
-
return e.status =
|
|
568
|
+
const t = s;
|
|
569
|
+
return e.status = t.status || 500, e.message = t.message, e;
|
|
552
570
|
}
|
|
553
571
|
}
|
|
554
|
-
const
|
|
572
|
+
const i = (e) => ({
|
|
555
573
|
id: e.id ?? 0,
|
|
556
574
|
idPlatformMaster: e.id_PlatformMaster ?? 0,
|
|
557
575
|
idProductMaster: e.id_ProductMaster ?? 0,
|
|
@@ -594,95 +612,99 @@ const g = (e) => ({
|
|
|
594
612
|
imgSport: e.imgSport ?? "",
|
|
595
613
|
imgTemplate: e.imgTemplate ?? ""
|
|
596
614
|
});
|
|
597
|
-
var
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
615
|
+
var j = /* @__PURE__ */ ((e) => (e.SPORT = "SPORT", e.SPECIAL = "SPECIAL", e.PVP = "PVP", e.LIVE = "LIVE", e.EVENT = "EVENT", e.ESPORT = "ESPORT", e.EGAME = "EGAME", e.BINGO = "BINGO", e))(j || {});
|
|
616
|
+
const k = {
|
|
617
|
+
status: 200,
|
|
618
|
+
message: "",
|
|
619
|
+
data: ""
|
|
620
|
+
};
|
|
621
|
+
async function ne() {
|
|
622
|
+
const e = k;
|
|
604
623
|
try {
|
|
605
|
-
const s = await
|
|
624
|
+
const s = await l.get("/apis/currentLang", {
|
|
606
625
|
params: {
|
|
607
626
|
render: o()
|
|
608
627
|
}
|
|
609
628
|
});
|
|
610
|
-
let
|
|
611
|
-
return o() ?
|
|
629
|
+
let t;
|
|
630
|
+
return o() ? t = JSON.parse(p(s.data)) : t = s.data, s.status != 200 ? (e.status = s.status, e.message = "", e) : (e.data = t, e);
|
|
612
631
|
} catch (s) {
|
|
613
|
-
const
|
|
614
|
-
return e.status =
|
|
632
|
+
const t = s;
|
|
633
|
+
return e.status = t.status || 500, e.message = t.message, e;
|
|
615
634
|
}
|
|
616
635
|
}
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
636
|
+
const T = {
|
|
637
|
+
status: 200,
|
|
638
|
+
message: "",
|
|
639
|
+
data: []
|
|
640
|
+
};
|
|
641
|
+
async function oe() {
|
|
642
|
+
const e = T;
|
|
623
643
|
try {
|
|
624
|
-
const s = await
|
|
644
|
+
const s = await l.get("/apis/getLocale", {
|
|
625
645
|
params: {
|
|
626
646
|
render: o()
|
|
627
647
|
}
|
|
628
648
|
});
|
|
629
|
-
let
|
|
630
|
-
return o() ?
|
|
649
|
+
let t;
|
|
650
|
+
return o() ? t = JSON.parse(p(s.data)) : t = s.data, s.status != 200 ? (e.status = s.status, e.message = "", e) : (e.data = [
|
|
631
651
|
{
|
|
632
652
|
code: "en",
|
|
633
|
-
label:
|
|
653
|
+
label: t.en.label ?? ""
|
|
634
654
|
},
|
|
635
655
|
{
|
|
636
656
|
code: "zh",
|
|
637
|
-
label:
|
|
657
|
+
label: t.zh.label ?? ""
|
|
638
658
|
},
|
|
639
659
|
{
|
|
640
660
|
code: "ms",
|
|
641
|
-
label:
|
|
661
|
+
label: t.ms.label ?? ""
|
|
642
662
|
}
|
|
643
663
|
], e);
|
|
644
664
|
} catch (s) {
|
|
645
|
-
const
|
|
646
|
-
return e.status =
|
|
665
|
+
const t = s;
|
|
666
|
+
return e.status = t.status || 500, e.message = t.message, e;
|
|
647
667
|
}
|
|
648
668
|
}
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
669
|
+
const M = {
|
|
670
|
+
status: 200,
|
|
671
|
+
message: "",
|
|
672
|
+
data: {
|
|
673
|
+
liveChat: ""
|
|
674
|
+
}
|
|
675
|
+
};
|
|
676
|
+
async function ue() {
|
|
677
|
+
const e = M;
|
|
657
678
|
try {
|
|
658
|
-
const s = await
|
|
679
|
+
const s = await l.get("/apis/cslink", {
|
|
659
680
|
params: {
|
|
660
681
|
render: o()
|
|
661
682
|
}
|
|
662
683
|
});
|
|
663
|
-
let
|
|
664
|
-
return o() ?
|
|
665
|
-
liveChat:
|
|
684
|
+
let t;
|
|
685
|
+
return o() ? t = JSON.parse(p(s.data)) : t = s.data, s.status != 200 ? (e.status = s.status, e.message = "", e) : (e.data = {
|
|
686
|
+
liveChat: t.livechat ?? ""
|
|
666
687
|
}, e);
|
|
667
688
|
} catch (s) {
|
|
668
|
-
const
|
|
669
|
-
return e.status =
|
|
689
|
+
const t = s;
|
|
690
|
+
return e.status = t.status || 500, e.message = t.message, e;
|
|
670
691
|
}
|
|
671
692
|
}
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
693
|
+
const B = {
|
|
694
|
+
status: 200,
|
|
695
|
+
message: "",
|
|
696
|
+
data: []
|
|
697
|
+
};
|
|
698
|
+
async function le(e) {
|
|
699
|
+
const s = B;
|
|
678
700
|
try {
|
|
679
|
-
const
|
|
701
|
+
const t = await l.get(`/apis/egame/json/${e}`, {
|
|
680
702
|
params: {
|
|
681
703
|
render: o()
|
|
682
704
|
}
|
|
683
705
|
});
|
|
684
|
-
let
|
|
685
|
-
return o() ?
|
|
706
|
+
let a;
|
|
707
|
+
return o() ? a = JSON.parse(p(t.data)) : a = t.data, t.status != 200 ? (s.status = t.status, s.message = "", s) : (s.data = a.map((n) => ({
|
|
686
708
|
gameId: n.game_id ?? "",
|
|
687
709
|
imgSrc: n.imgSrc ?? "",
|
|
688
710
|
imgPf: n.imgPf ?? "",
|
|
@@ -699,21 +721,123 @@ async function U(e) {
|
|
|
699
721
|
gameCategory: n.game_category ?? "",
|
|
700
722
|
ppid: n.pp_id ?? ""
|
|
701
723
|
})), s);
|
|
702
|
-
} catch (
|
|
703
|
-
const
|
|
704
|
-
return s.status =
|
|
724
|
+
} catch (t) {
|
|
725
|
+
const a = t;
|
|
726
|
+
return s.status = a.status || 500, s.message = a.message, s;
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
const F = {
|
|
730
|
+
status: 200,
|
|
731
|
+
message: "",
|
|
732
|
+
data: {
|
|
733
|
+
csrf: "",
|
|
734
|
+
getCaptcha: "",
|
|
735
|
+
verificationBeforeLogin: !1,
|
|
736
|
+
publicKey: "",
|
|
737
|
+
concantenatedKey: ""
|
|
738
|
+
}
|
|
739
|
+
};
|
|
740
|
+
async function pe(e) {
|
|
741
|
+
const s = F;
|
|
742
|
+
try {
|
|
743
|
+
const t = await l.get("/apis/getSetting", {
|
|
744
|
+
params: {
|
|
745
|
+
render: o(),
|
|
746
|
+
setting: e
|
|
747
|
+
}
|
|
748
|
+
});
|
|
749
|
+
let a;
|
|
750
|
+
return o() ? a = JSON.parse(p(t.data)) : a = t.data, t.status != 200 ? (s.status = t.status, s.message = "", s) : (s.data = {
|
|
751
|
+
csrf: a.csrf,
|
|
752
|
+
getCaptcha: a.data.CAPTCHA ?? "",
|
|
753
|
+
verificationBeforeLogin: a.data["slide-verification"] === "1",
|
|
754
|
+
publicKey: a.data.encryptkey.pub.replace(
|
|
755
|
+
/-----BEGIN PUBLIC KEY-----|-----END PUBLIC KEY-----|\r|\n|=#/g,
|
|
756
|
+
""
|
|
757
|
+
),
|
|
758
|
+
concantenatedKey: Object.keys(a.data.encryptkey.pubarr).join("+")
|
|
759
|
+
}, s);
|
|
760
|
+
} catch (t) {
|
|
761
|
+
const a = t;
|
|
762
|
+
return s.status = a.status || 500, s.message = a.message, s;
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
const x = {
|
|
766
|
+
status: 200,
|
|
767
|
+
message: "",
|
|
768
|
+
key: ""
|
|
769
|
+
}, z = {
|
|
770
|
+
status: 200,
|
|
771
|
+
message: "",
|
|
772
|
+
data: {
|
|
773
|
+
msg: "",
|
|
774
|
+
accessToken: "",
|
|
775
|
+
fullName: "",
|
|
776
|
+
unreadMailCount: "",
|
|
777
|
+
status: "",
|
|
778
|
+
username: "",
|
|
779
|
+
walletAmount: "",
|
|
780
|
+
captcha: ""
|
|
781
|
+
}
|
|
782
|
+
};
|
|
783
|
+
async function ce() {
|
|
784
|
+
const e = x;
|
|
785
|
+
try {
|
|
786
|
+
const s = await l.get("/mbuhx0as4kui?ajax=1", {
|
|
787
|
+
params: {
|
|
788
|
+
render: o()
|
|
789
|
+
}
|
|
790
|
+
});
|
|
791
|
+
let t;
|
|
792
|
+
return o() ? t = JSON.parse(p(s.data)) : t = s.data, s.status != 200 ? (e.status = s.status, e.message = "", e) : (e.key = t.key, e);
|
|
793
|
+
} catch (s) {
|
|
794
|
+
const t = s;
|
|
795
|
+
return e.status = t.status || 500, e.message = t.message, e;
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
async function ge(e, s, t, a, n, d, _) {
|
|
799
|
+
const u = z, r = e, J = s, U = t, V = a, H = n;
|
|
800
|
+
try {
|
|
801
|
+
const c = {};
|
|
802
|
+
c.fr_username = r, c.fr_password = J, c.fr_gdcode = U, c.isApp = H, c.domain = V, c._token = d, c.json = 1, c.encrypt = 1;
|
|
803
|
+
const f = await l.post("/kdink8anl8z3", {
|
|
804
|
+
headers: {
|
|
805
|
+
"X-CSRF-TOKEN": d
|
|
806
|
+
},
|
|
807
|
+
params: {
|
|
808
|
+
render: o()
|
|
809
|
+
},
|
|
810
|
+
data: c,
|
|
811
|
+
key: d
|
|
812
|
+
});
|
|
813
|
+
let g;
|
|
814
|
+
return o() ? g = JSON.parse(p(f.data)) : g = f.data, f.status != 200 ? (u.status = f.status, u.message = "", u) : (u.data = {
|
|
815
|
+
msg: g.msg ?? "",
|
|
816
|
+
accessToken: g.access_token ?? "",
|
|
817
|
+
fullName: g.fullname ?? "",
|
|
818
|
+
unreadMailCount: g.news ?? "",
|
|
819
|
+
status: g.status ?? "",
|
|
820
|
+
username: g.username ?? "",
|
|
821
|
+
walletAmount: g.wallet ?? "",
|
|
822
|
+
captcha: _ ?? ""
|
|
823
|
+
}, u);
|
|
824
|
+
} catch (c) {
|
|
825
|
+
const f = c;
|
|
826
|
+
return u.status = f.status || 500, u.message = f.message, u;
|
|
705
827
|
}
|
|
706
828
|
}
|
|
707
829
|
export {
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
830
|
+
de as Repository,
|
|
831
|
+
X as cmsList,
|
|
832
|
+
I as csLink,
|
|
833
|
+
W as currentLang,
|
|
834
|
+
ee as eGame,
|
|
835
|
+
w as fishGames,
|
|
836
|
+
Z as getLocale,
|
|
837
|
+
te as getSetting,
|
|
838
|
+
Q as home,
|
|
839
|
+
C as hotGames,
|
|
840
|
+
ae as login,
|
|
841
|
+
Y as promotion,
|
|
842
|
+
$ as trialGames
|
|
719
843
|
};
|