50p82u21t54k 0.0.18 → 0.0.20
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 +398 -69
- package/dist/50p82u21t54k.umd.js +1 -1
- package/dist/fishGames/method.d.ts.map +1 -1
- package/dist/fishGames/type.d.ts +4 -2
- package/dist/fishGames/type.d.ts.map +1 -1
- package/dist/home/method.d.ts.map +1 -1
- package/dist/home/type.d.ts +10 -6
- package/dist/home/type.d.ts.map +1 -1
- package/dist/hotGames/method.d.ts.map +1 -1
- package/dist/hotGames/type.d.ts +29 -27
- package/dist/hotGames/type.d.ts.map +1 -1
- package/dist/index.d.ts +8 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/plugin.d.ts +10 -1
- package/dist/plugin.d.ts.map +1 -1
- package/dist/trialGames/method.d.ts.map +1 -1
- package/dist/trialGames/type.d.ts +5 -3
- package/dist/trialGames/type.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/50p82u21t54k.es.js
CHANGED
|
@@ -1,7 +1,27 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ref as
|
|
3
|
-
import
|
|
4
|
-
const
|
|
1
|
+
import h from "axios";
|
|
2
|
+
import { ref as G } from "vue";
|
|
3
|
+
import m from "crypto-js";
|
|
4
|
+
const y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5
|
+
__proto__: null,
|
|
6
|
+
get getHome() {
|
|
7
|
+
return F;
|
|
8
|
+
}
|
|
9
|
+
}, Symbol.toStringTag, { value: "Module" })), v = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10
|
+
__proto__: null,
|
|
11
|
+
get getHotGames() {
|
|
12
|
+
return E;
|
|
13
|
+
}
|
|
14
|
+
}, Symbol.toStringTag, { value: "Module" })), b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15
|
+
__proto__: null,
|
|
16
|
+
get getFishGames() {
|
|
17
|
+
return T;
|
|
18
|
+
}
|
|
19
|
+
}, Symbol.toStringTag, { value: "Module" })), O = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
20
|
+
__proto__: null,
|
|
21
|
+
get getTrialGames() {
|
|
22
|
+
return x;
|
|
23
|
+
}
|
|
24
|
+
}, Symbol.toStringTag, { value: "Module" })), f = h.create({
|
|
5
25
|
baseURL: "/apis",
|
|
6
26
|
timeout: 5e3,
|
|
7
27
|
// Request timeout
|
|
@@ -47,120 +67,429 @@ const o = p.create({
|
|
|
47
67
|
// },
|
|
48
68
|
// },
|
|
49
69
|
});
|
|
50
|
-
|
|
51
|
-
(
|
|
52
|
-
(
|
|
70
|
+
f.interceptors.request.use(
|
|
71
|
+
(a) => a,
|
|
72
|
+
(a) => (console.error("Error request:", a.response), Promise.reject(a))
|
|
53
73
|
);
|
|
54
|
-
|
|
55
|
-
(
|
|
56
|
-
(
|
|
57
|
-
const
|
|
74
|
+
f.interceptors.response.use(
|
|
75
|
+
(a) => a,
|
|
76
|
+
(a) => {
|
|
77
|
+
const r = {
|
|
58
78
|
status: null,
|
|
59
79
|
message: "An error occurred"
|
|
60
80
|
};
|
|
61
|
-
return
|
|
81
|
+
return a.response ? (r.status = a.response.status, r.message = a.response.data.message || a.response.statusText, console.error("Error response:", JSON.stringify(r)), a.response.status === 401 ? console.error("Unauthorized access - redirecting to login.") : a.response.status === 404 ? console.error("Resource not found.") : a.response.status >= 500 && console.error("Server error. Please try again later.")) : a.request ? console.error("No response received:", a.request) : console.error("Error setting up request:", a.message), Promise.reject(r);
|
|
62
82
|
}
|
|
63
83
|
);
|
|
64
|
-
const
|
|
65
|
-
function
|
|
66
|
-
return
|
|
84
|
+
const P = G("");
|
|
85
|
+
function u() {
|
|
86
|
+
return P.value === "" ? 0 : 1;
|
|
67
87
|
}
|
|
68
|
-
const
|
|
69
|
-
|
|
88
|
+
const N = {
|
|
89
|
+
home: y,
|
|
90
|
+
hotGames: v,
|
|
91
|
+
fishGames: b,
|
|
92
|
+
trialGames: O
|
|
93
|
+
}, j = {
|
|
94
|
+
install(a) {
|
|
95
|
+
a.config.globalProperties.$library = N;
|
|
70
96
|
}
|
|
71
|
-
},
|
|
97
|
+
}, g = (a) => {
|
|
72
98
|
try {
|
|
73
|
-
const
|
|
74
|
-
|
|
99
|
+
const r = JSON.parse(
|
|
100
|
+
m.AES.decrypt(a, P.value, {
|
|
75
101
|
format: {
|
|
76
102
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
77
103
|
stringify: (t) => {
|
|
78
|
-
const
|
|
79
|
-
ct: t.ciphertext.toString(
|
|
104
|
+
const s = {
|
|
105
|
+
ct: t.ciphertext.toString(m.enc.Base64)
|
|
80
106
|
};
|
|
81
|
-
return t.iv && (
|
|
107
|
+
return t.iv && (s.iv = t.iv.toString()), t.salt && (s.s = t.salt.toString()), JSON.stringify(s);
|
|
82
108
|
},
|
|
83
109
|
parse: (t) => {
|
|
84
|
-
const
|
|
85
|
-
ciphertext:
|
|
110
|
+
const s = JSON.parse(t), n = m.lib.CipherParams.create({
|
|
111
|
+
ciphertext: m.enc.Base64.parse(s.ct)
|
|
86
112
|
});
|
|
87
|
-
return
|
|
113
|
+
return s.iv && (n.iv = m.enc.Hex.parse(s.iv)), s.s && (n.salt = m.enc.Hex.parse(s.s)), n;
|
|
88
114
|
}
|
|
89
115
|
}
|
|
90
|
-
}).toString(
|
|
116
|
+
}).toString(m.enc.Utf8)
|
|
91
117
|
);
|
|
92
|
-
return
|
|
93
|
-
} catch (
|
|
94
|
-
return console.error(
|
|
118
|
+
return r !== "" ? JSON.parse(r) : r;
|
|
119
|
+
} catch (r) {
|
|
120
|
+
return console.error(r), "";
|
|
95
121
|
}
|
|
96
122
|
};
|
|
97
|
-
async function
|
|
98
|
-
const
|
|
123
|
+
async function F() {
|
|
124
|
+
const a = {
|
|
99
125
|
status: 200,
|
|
100
126
|
message: "",
|
|
101
|
-
data:
|
|
127
|
+
data: {
|
|
128
|
+
game: {
|
|
129
|
+
SPORT: [],
|
|
130
|
+
SPECIAL: [],
|
|
131
|
+
PVP: [],
|
|
132
|
+
LIVE: [],
|
|
133
|
+
EVENT: [],
|
|
134
|
+
ESPORT: [],
|
|
135
|
+
EGAME: [],
|
|
136
|
+
BINGO: []
|
|
137
|
+
},
|
|
138
|
+
mobileBanner: [],
|
|
139
|
+
announcement: [],
|
|
140
|
+
alertAnnouncement: [],
|
|
141
|
+
hotGames: {
|
|
142
|
+
status: 200,
|
|
143
|
+
message: "",
|
|
144
|
+
data: {
|
|
145
|
+
currentPage: 0,
|
|
146
|
+
data: [],
|
|
147
|
+
from: 0,
|
|
148
|
+
lastPage: 0,
|
|
149
|
+
nextPageUrl: "",
|
|
150
|
+
path: "",
|
|
151
|
+
perPage: 0,
|
|
152
|
+
prevPageUrl: "",
|
|
153
|
+
to: 0,
|
|
154
|
+
total: 0
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
fishGames: {
|
|
158
|
+
status: 200,
|
|
159
|
+
message: "",
|
|
160
|
+
data: {
|
|
161
|
+
hotfish: [],
|
|
162
|
+
data: []
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
trialGames: {
|
|
166
|
+
status: 200,
|
|
167
|
+
message: "",
|
|
168
|
+
data: []
|
|
169
|
+
}
|
|
170
|
+
}
|
|
102
171
|
};
|
|
103
172
|
try {
|
|
104
|
-
const s = await
|
|
173
|
+
const [r, t, s, n] = await Promise.all([
|
|
174
|
+
f.get("/home", {
|
|
175
|
+
params: {
|
|
176
|
+
render: u()
|
|
177
|
+
}
|
|
178
|
+
}),
|
|
179
|
+
f.get("/hotGames", {
|
|
180
|
+
params: {
|
|
181
|
+
render: u()
|
|
182
|
+
}
|
|
183
|
+
}),
|
|
184
|
+
f.get("/fishGames", {
|
|
185
|
+
params: {
|
|
186
|
+
render: u()
|
|
187
|
+
}
|
|
188
|
+
}),
|
|
189
|
+
f.get("/trialGames", {
|
|
190
|
+
params: {
|
|
191
|
+
render: u()
|
|
192
|
+
}
|
|
193
|
+
})
|
|
194
|
+
]);
|
|
195
|
+
let o, l, c, _;
|
|
196
|
+
return u() ? (o = JSON.parse(g(r.data)), l = JSON.parse(g(t.data)), c = JSON.parse(g(s.data)), _ = JSON.parse(
|
|
197
|
+
g(n.data)
|
|
198
|
+
)) : (o = r.data, l = t.data, c = s.data, _ = n.data), r.status != 200 ? (a.status = r.status, a.message = "") : (a.data.game = {
|
|
199
|
+
SPORT: o.game.SPORT.map((e) => d(e)) ?? [],
|
|
200
|
+
SPECIAL: o.game.SPECIAL.map((e) => d(e)) ?? [],
|
|
201
|
+
PVP: o.game.PVP.map((e) => d(e)) ?? [],
|
|
202
|
+
LIVE: o.game.LIVE.map((e) => d(e)) ?? [],
|
|
203
|
+
EVENT: o.game.EVENT.map((e) => d(e)) ?? [],
|
|
204
|
+
ESPORT: o.game.ESPORT.map((e) => d(e)) ?? [],
|
|
205
|
+
EGAME: o.game.EGAME.map((e) => d(e)) ?? [],
|
|
206
|
+
BINGO: o.game.BINGO.map((e) => d(e)) ?? []
|
|
207
|
+
}, a.data.mobileBanner = o.mobileBanner.map((e) => ({
|
|
208
|
+
name: e.name ?? "",
|
|
209
|
+
content: e.content ?? "",
|
|
210
|
+
link: e.link ?? "",
|
|
211
|
+
linkTarget: e.link_target ?? "",
|
|
212
|
+
updatedOn: e.updated_on ?? "",
|
|
213
|
+
idCmsCategory: e.id_cms_category ?? 0,
|
|
214
|
+
contentOrg: e.content_org ?? ""
|
|
215
|
+
})) ?? [], a.data.announcement = o.announcement.map((e) => ({
|
|
216
|
+
announcementIndex: e.announcement_index ?? 0,
|
|
217
|
+
announcementEnglish: e.announcement_english ?? "",
|
|
218
|
+
announcementSimplified: e.announcement_simplified ?? "",
|
|
219
|
+
announcementTraditional: e.announcement_traditional ?? "",
|
|
220
|
+
announcementMalay: e.announcement_malay ?? "",
|
|
221
|
+
announcementStatus: e.announcement_status === "1",
|
|
222
|
+
announcementShow: e.announcement_show === "1",
|
|
223
|
+
announcementAlert: e.announcement_alert === "1",
|
|
224
|
+
announcementUser: e.announcement_user === "1",
|
|
225
|
+
announcementSequence: e.announcement_sequence ?? 0,
|
|
226
|
+
announcementCompany: e.announcement_company === "1",
|
|
227
|
+
companyIndex: e.companyindex ?? 0,
|
|
228
|
+
announcementLastUpdated: e.announcement_lastupdated ?? "",
|
|
229
|
+
announcementDateCreated: e.announcement_datecreated ?? "",
|
|
230
|
+
announcementSmaid: e.announcement_smaid ?? "",
|
|
231
|
+
annTimer: e.ann_timer ?? "",
|
|
232
|
+
annStart: e.ann_start ?? "",
|
|
233
|
+
annEnd: e.ann_end ?? "",
|
|
234
|
+
grp: e.grp ?? "",
|
|
235
|
+
time: e.time ?? ""
|
|
236
|
+
})) ?? [], a.data.alertAnnouncement = o.alert_announcement.map((e) => ({
|
|
237
|
+
announcementDateCreated: e.announcement_datecreated ?? "",
|
|
238
|
+
announcementSimplified: e.announcement_simplified ?? ""
|
|
239
|
+
})) ?? []), t.status != 200 ? (a.data.hotGames.status = t.status, a.data.hotGames.message = "") : (a.data.hotGames.data.currentPage = l.current_page ?? 0, a.data.hotGames.data.data = l.data.map((e) => ({
|
|
240
|
+
id: e.id ?? 0,
|
|
241
|
+
name: e.name ?? "",
|
|
242
|
+
pfid: e.pfid ?? 0,
|
|
243
|
+
ppname: e.ppname ?? "",
|
|
244
|
+
code: e.code ?? "",
|
|
245
|
+
img: e.img ?? "",
|
|
246
|
+
progressive: e.progressive ?? "",
|
|
247
|
+
ppid: e.ppid ?? 0,
|
|
248
|
+
notry: e.notry === 1,
|
|
249
|
+
productCode: e.product_code ?? "",
|
|
250
|
+
imgSrc: e.imgSrc ?? "",
|
|
251
|
+
imgPf: e.imgPf ?? "",
|
|
252
|
+
favouriteFlag: e.favourite_flag === 1,
|
|
253
|
+
platformStatusFlag: e.platform_status_flag ?? "",
|
|
254
|
+
platformFlagName: e.platform_flag_name ?? "",
|
|
255
|
+
platformStatusParams: {
|
|
256
|
+
eb: e.platform_status_params.eb ?? !1,
|
|
257
|
+
fit: e.platform_status_params.fit ?? !1,
|
|
258
|
+
fs: e.platform_status_params.fs ?? !1
|
|
259
|
+
},
|
|
260
|
+
gameId: e.game_id ?? 0
|
|
261
|
+
})), a.data.hotGames.data.from = l.from ?? 0, a.data.hotGames.data.lastPage = l.last_page ?? 0, a.data.hotGames.data.nextPageUrl = l.next_page_url ?? "", a.data.hotGames.data.path = l.path ?? "", a.data.hotGames.data.perPage = l.per_page ?? 0, a.data.hotGames.data.prevPageUrl = l.prev_page_url ?? "", a.data.hotGames.data.to = l.to ?? 0, a.data.hotGames.data.total = l.total ?? 0), s.status != 200 ? (a.data.fishGames.status = s.status, a.data.fishGames.message = "") : (a.data.fishGames.data.hotfish = c.data.map((e) => i(e)) ?? [], a.data.fishGames.data.data = c.data.map((e) => i(e)) ?? []), n.status != 200 ? (a.data.trialGames.status = n.status, a.data.trialGames.message = "") : a.data.trialGames.data = _.map((e) => ({
|
|
262
|
+
ppid: e.ppid ?? 0,
|
|
263
|
+
ppname: e.ppname ?? "",
|
|
264
|
+
games: e.games.map((p) => ({
|
|
265
|
+
id: p.id ?? 0,
|
|
266
|
+
name: p.name ?? "",
|
|
267
|
+
img: p.img ?? "",
|
|
268
|
+
progressive: p.progressive ?? "",
|
|
269
|
+
notry: p.notry === 1,
|
|
270
|
+
imgSrc: p.imgSrc ?? "",
|
|
271
|
+
imgPf: p.imgPf ?? "",
|
|
272
|
+
favouriteFlag: p.favourite_flag === 1,
|
|
273
|
+
platformStatusFflag: p.platform_status_Fflag ?? "",
|
|
274
|
+
platformFlagName: p.platform_flag_name ?? "",
|
|
275
|
+
platformStatusParams: {
|
|
276
|
+
eb: p.platform_status_params.eb ?? !1,
|
|
277
|
+
fit: p.platform_status_params.fit ?? !1,
|
|
278
|
+
fs: p.platform_status_params.fs ?? !1
|
|
279
|
+
},
|
|
280
|
+
ppname: e.ppname ?? ""
|
|
281
|
+
})) ?? []
|
|
282
|
+
})) ?? [], a;
|
|
283
|
+
} catch (r) {
|
|
284
|
+
const t = r;
|
|
285
|
+
return a.status = t.status || 500, a.message = t.message, a;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
const i = (a) => ({
|
|
289
|
+
id: a.id ?? 0,
|
|
290
|
+
name: a.name ?? "",
|
|
291
|
+
ppid: a.pp_id ?? "",
|
|
292
|
+
img: a.img ?? "",
|
|
293
|
+
desc: a.desc ?? "",
|
|
294
|
+
ppname: a.pp_name ?? "",
|
|
295
|
+
platformCode: a.platform_code ?? "",
|
|
296
|
+
code: a.code ?? "",
|
|
297
|
+
flag: a.flag ?? 0,
|
|
298
|
+
gameId: a.game_id ?? 0,
|
|
299
|
+
imgSrc: a.imgSrc ?? "",
|
|
300
|
+
imgPf: a.imgPf ?? "",
|
|
301
|
+
favouriteFlag: a.favourite_flag === 1,
|
|
302
|
+
platformStatusFflag: a.platform_status_Fflag ?? "",
|
|
303
|
+
platformFlagName: a.platform_flag_name ?? "",
|
|
304
|
+
platformStatusParams: {
|
|
305
|
+
eb: a.platform_status_params.eb ?? !1,
|
|
306
|
+
fit: a.platform_status_params.fit ?? !1,
|
|
307
|
+
fs: a.platform_status_params.fs ?? !1
|
|
308
|
+
}
|
|
309
|
+
}), d = (a) => ({
|
|
310
|
+
id: a.id ?? 0,
|
|
311
|
+
idPlatformMaster: a.id_PlatformMaster ?? 0,
|
|
312
|
+
idProductMaster: a.id_ProductMaster ?? 0,
|
|
313
|
+
name: a.name ?? "",
|
|
314
|
+
shortName: a.shortName ?? "",
|
|
315
|
+
img: a.img ?? "",
|
|
316
|
+
mobileUrl: a.mobileUrl ?? "",
|
|
317
|
+
url: a.url ?? "",
|
|
318
|
+
desc: a.desc ?? "",
|
|
319
|
+
seq: a.seq ?? 0,
|
|
320
|
+
flag: a.flag ?? 0,
|
|
321
|
+
status: a.status ?? "",
|
|
322
|
+
createdBy: a.created_by ?? 0,
|
|
323
|
+
createdOn: a.created_on ?? "",
|
|
324
|
+
categoryID: a.categoryid ?? 0,
|
|
325
|
+
com: a.com ?? "",
|
|
326
|
+
cur: a.cur ?? "",
|
|
327
|
+
pt: a.pt ?? "",
|
|
328
|
+
ppName: a.pp_name ?? "",
|
|
329
|
+
ppImage: a.pp_image ?? "",
|
|
330
|
+
platformCode: a.platform_code ?? "",
|
|
331
|
+
platformName: a.platform_name ?? "",
|
|
332
|
+
classIcon: a.class_icon ?? "",
|
|
333
|
+
productCode: a.product_code ?? "",
|
|
334
|
+
productName: a.product_name ?? "",
|
|
335
|
+
gameID: a.game_id ?? 0,
|
|
336
|
+
fAuth: a.fAuth ?? !1,
|
|
337
|
+
platformStatusParams: {
|
|
338
|
+
eb: a.platform_status_params.eb ?? !1,
|
|
339
|
+
fit: a.platform_status_params.fit ?? !1,
|
|
340
|
+
fs: a.platform_status_params.fs ?? !1
|
|
341
|
+
},
|
|
342
|
+
loginFlag: a.login_flag === "1",
|
|
343
|
+
link: a.link ?? "",
|
|
344
|
+
favouriteFlag: a.favourite_flag === 1,
|
|
345
|
+
platformStatusFlag: a.platform_status_flag ?? "",
|
|
346
|
+
platformFlagName: a.platform_flag_name ?? "",
|
|
347
|
+
homeLogo: a.home_logo ?? "",
|
|
348
|
+
imgPf: a.imgPf ?? "",
|
|
349
|
+
imgSport: a.imgSport ?? "",
|
|
350
|
+
imgTemplate: a.imgTemplate ?? ""
|
|
351
|
+
});
|
|
352
|
+
async function E() {
|
|
353
|
+
const a = {
|
|
354
|
+
status: 200,
|
|
355
|
+
message: "",
|
|
356
|
+
data: {
|
|
357
|
+
currentPage: 0,
|
|
358
|
+
data: [],
|
|
359
|
+
from: 0,
|
|
360
|
+
lastPage: 0,
|
|
361
|
+
nextPageUrl: "",
|
|
362
|
+
path: "",
|
|
363
|
+
perPage: 0,
|
|
364
|
+
prevPageUrl: "",
|
|
365
|
+
to: 0,
|
|
366
|
+
total: 0
|
|
367
|
+
}
|
|
368
|
+
};
|
|
369
|
+
try {
|
|
370
|
+
const r = await f.get("/hotGames", {
|
|
105
371
|
params: {
|
|
106
|
-
render:
|
|
372
|
+
render: u()
|
|
107
373
|
}
|
|
108
374
|
});
|
|
109
375
|
let t;
|
|
110
|
-
return
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
376
|
+
return u() ? t = JSON.parse(g(r.data)) : t = r.data, r.status != 200 ? (a.status = r.status, a.message = "", a) : (a.data.currentPage = t.current_page ?? 0, a.data.data = t.data.map((s) => ({
|
|
377
|
+
id: s.id ?? 0,
|
|
378
|
+
name: s.name ?? "",
|
|
379
|
+
pfid: s.pfid ?? 0,
|
|
380
|
+
ppname: s.ppname ?? "",
|
|
381
|
+
code: s.code ?? "",
|
|
382
|
+
img: s.img ?? "",
|
|
383
|
+
progressive: s.progressive ?? "",
|
|
384
|
+
ppid: s.ppid ?? 0,
|
|
385
|
+
notry: s.notry === 1,
|
|
386
|
+
productCode: s.product_code ?? "",
|
|
387
|
+
imgSrc: s.imgSrc ?? "",
|
|
388
|
+
imgPf: s.imgPf ?? "",
|
|
389
|
+
favouriteFlag: s.favourite_flag === 1,
|
|
390
|
+
platformStatusFlag: s.platform_status_flag ?? "",
|
|
391
|
+
platformFlagName: s.platform_flag_name ?? "",
|
|
392
|
+
platformStatusParams: {
|
|
393
|
+
eb: s.platform_status_params.eb ?? !1,
|
|
394
|
+
fit: s.platform_status_params.fit ?? !1,
|
|
395
|
+
fs: s.platform_status_params.fs ?? !1
|
|
396
|
+
},
|
|
397
|
+
gameId: s.game_id ?? 0
|
|
398
|
+
})), a.data.from = t.from ?? 0, a.data.lastPage = t.last_page ?? 0, a.data.nextPageUrl = t.next_page_url ?? "", a.data.path = t.path ?? "", a.data.perPage = t.per_page ?? 0, a.data.prevPageUrl = t.prev_page_url ?? "", a.data.to = t.to ?? 0, a.data.total = t.total ?? 0, a);
|
|
399
|
+
} catch (r) {
|
|
400
|
+
const t = r;
|
|
401
|
+
return a.status = t.status || 500, a.message = t.message, a;
|
|
118
402
|
}
|
|
119
403
|
}
|
|
120
|
-
async function
|
|
121
|
-
|
|
122
|
-
}
|
|
123
|
-
async function x() {
|
|
124
|
-
const e = {
|
|
404
|
+
async function T() {
|
|
405
|
+
const a = {
|
|
125
406
|
status: 200,
|
|
126
407
|
message: "",
|
|
127
|
-
data:
|
|
408
|
+
data: {
|
|
409
|
+
hotfish: [],
|
|
410
|
+
data: []
|
|
411
|
+
}
|
|
128
412
|
};
|
|
129
413
|
try {
|
|
130
|
-
const
|
|
414
|
+
const r = await f.get("/fishGames", {
|
|
131
415
|
params: {
|
|
132
|
-
render:
|
|
416
|
+
render: u(),
|
|
417
|
+
setting: []
|
|
133
418
|
}
|
|
134
|
-
})
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
419
|
+
});
|
|
420
|
+
let t;
|
|
421
|
+
return u() ? t = JSON.parse(g(r.data)) : t = r.data, r.status != 200 ? (a.status = r.status, a.message = "", a) : (a.data.hotfish = t.data.map((s) => S(s)), a.data.data = t.data.map((s) => S(s)), a);
|
|
422
|
+
} catch (r) {
|
|
423
|
+
const t = r;
|
|
424
|
+
return a.status = t.status || 500, a.message = t.message, a;
|
|
139
425
|
}
|
|
140
426
|
}
|
|
141
|
-
|
|
142
|
-
|
|
427
|
+
const S = (a) => ({
|
|
428
|
+
id: a.id ?? 0,
|
|
429
|
+
name: a.name ?? "",
|
|
430
|
+
ppid: a.pp_id ?? "",
|
|
431
|
+
img: a.img ?? "",
|
|
432
|
+
desc: a.desc ?? "",
|
|
433
|
+
ppname: a.pp_name ?? "",
|
|
434
|
+
platformCode: a.platform_code ?? "",
|
|
435
|
+
code: a.code ?? "",
|
|
436
|
+
flag: a.flag ?? 0,
|
|
437
|
+
gameId: a.game_id ?? 0,
|
|
438
|
+
imgSrc: a.imgSrc ?? "",
|
|
439
|
+
imgPf: a.imgPf ?? "",
|
|
440
|
+
favouriteFlag: a.favourite_flag === 1,
|
|
441
|
+
platformStatusFflag: a.platform_status_Fflag ?? "",
|
|
442
|
+
platformFlagName: a.platform_flag_name ?? "",
|
|
443
|
+
platformStatusParams: {
|
|
444
|
+
eb: a.platform_status_params.eb ?? !1,
|
|
445
|
+
fit: a.platform_status_params.fit ?? !1,
|
|
446
|
+
fs: a.platform_status_params.fs ?? !1
|
|
447
|
+
}
|
|
448
|
+
});
|
|
449
|
+
async function x() {
|
|
450
|
+
const a = {
|
|
143
451
|
status: 200,
|
|
144
452
|
message: "",
|
|
145
453
|
data: []
|
|
146
454
|
};
|
|
147
455
|
try {
|
|
148
|
-
const
|
|
456
|
+
const r = await f.get("/trialGames", {
|
|
149
457
|
params: {
|
|
150
|
-
render:
|
|
458
|
+
render: u()
|
|
151
459
|
}
|
|
152
460
|
});
|
|
153
461
|
let t;
|
|
154
|
-
return
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
462
|
+
return u() ? t = JSON.parse(g(r.data)) : t = r.data, r.status != 200 ? (a.status = r.status, a.message = "", a) : (a.data = t.map((s) => ({
|
|
463
|
+
ppid: s.ppid ?? 0,
|
|
464
|
+
ppname: s.ppname ?? "",
|
|
465
|
+
games: s.games.map((n) => ({
|
|
466
|
+
id: n.id ?? 0,
|
|
467
|
+
name: n.name ?? "",
|
|
468
|
+
img: n.img ?? "",
|
|
469
|
+
progressive: n.progressive ?? "",
|
|
470
|
+
notry: n.notry === 1,
|
|
471
|
+
imgSrc: n.imgSrc ?? "",
|
|
472
|
+
imgPf: n.imgPf ?? "",
|
|
473
|
+
favouriteFlag: n.favourite_flag === 1,
|
|
474
|
+
platformStatusFflag: n.platform_status_Fflag ?? "",
|
|
475
|
+
platformFlagName: n.platform_flag_name ?? "",
|
|
476
|
+
platformStatusParams: {
|
|
477
|
+
eb: n.platform_status_params.eb ?? !1,
|
|
478
|
+
fit: n.platform_status_params.fit ?? !1,
|
|
479
|
+
fs: n.platform_status_params.fs ?? !1
|
|
480
|
+
},
|
|
481
|
+
ppname: s.ppname ?? ""
|
|
482
|
+
})) ?? []
|
|
483
|
+
})) ?? [], a);
|
|
484
|
+
} catch (r) {
|
|
485
|
+
const t = r;
|
|
486
|
+
return a.status = t.status || 500, a.message = t.message, a;
|
|
158
487
|
}
|
|
159
488
|
}
|
|
160
489
|
export {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
v as
|
|
165
|
-
|
|
490
|
+
j as Repository,
|
|
491
|
+
b as fishGames,
|
|
492
|
+
y as home,
|
|
493
|
+
v as hotGames,
|
|
494
|
+
O as trialGames
|
|
166
495
|
};
|
package/dist/50p82u21t54k.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(r,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("axios"),require("vue"),require("crypto-js")):typeof define=="function"&&define.amd?define(["exports","axios","vue","crypto-js"],o):(r=typeof globalThis<"u"?globalThis:r||self,o(r["50p82u21t54k"]={},r.axios,r.Vue,r.CryptoJS))})(this,function(r,o,p,a){"use strict";const c=o.create({baseURL:"/apis",timeout:5e3,headers:{"Content-Type":"application/json"}});c.interceptors.request.use(e=>e,e=>(console.error("Error request:",e.response),Promise.reject(e))),c.interceptors.response.use(e=>e,e=>{const s={status:null,message:"An error occurred"};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)});const i=p.ref("");function u(){return i.value===""?0:1}const l={install(){}},g=e=>{try{const s=JSON.parse(a.AES.decrypt(e,i.value,{format:{stringify:t=>{const n={ct:t.ciphertext.toString(a.enc.Base64)};return t.iv&&(n.iv=t.iv.toString()),t.salt&&(n.s=t.salt.toString()),JSON.stringify(n)},parse:t=>{const n=JSON.parse(t),d=a.lib.CipherParams.create({ciphertext:a.enc.Base64.parse(n.ct)});return n.iv&&(d.iv=a.enc.Hex.parse(n.iv)),n.s&&(d.salt=a.enc.Hex.parse(n.s)),d}}}).toString(a.enc.Utf8));return s!==""?JSON.parse(s):s}catch(s){return console.error(s),""}};async function f(){const e={status:200,message:"",data:[]};try{const s=await c.get("/announcements",{params:{render:u()}});let t;return u()?t=g(s.data):t=s.data,t.code!=200?(e.status=t.code,e.message=t.message,e):(console.log(t),e.data=t.results.data.map(n=>({alert:n.alert==="1",announcement_content:n.announcement_content,date_created:n.date_created})),e)}catch(s){const t=s;return e.status=t.status||500,e.message="",e}}async function m(e){i.value=e}async function y(){const e={status:200,message:"",data:""};try{const t=(await c.get("/getGKey",{params:{render:u()}})).data;return t.code!==200?(e.status=t.code,e.message=t.message,e):(e.data=t.results.gkey,e)}catch(s){const t=s;return e.status=t.status||500,e.message=t.message||"An unexpected error occurred",e}}async function v(){const e={status:200,message:"",data:[]};try{const s=await c.get("/getLangList",{params:{render:u()}});let t;return u()?t=g(s.data):t=s.data,t.code!==200&&(e.status=t.code,e.message=t.message),e}catch(s){const t=s;return e.status=t.status||500,e.message=t.message||"An unexpected error occurred",e}}r.Repository=l,r.getAnnouncement=f,r.getGKey=y,r.getLanguageList=v,r.setGKey=m,Object.defineProperty(r,Symbol.toStringTag,{value:"Module"})});
|
|
1
|
+
(function(o,_){typeof exports=="object"&&typeof module<"u"?_(exports,require("axios"),require("vue"),require("crypto-js")):typeof define=="function"&&define.amd?define(["exports","axios","vue","crypto-js"],_):(o=typeof globalThis<"u"?globalThis:o||self,_(o["50p82u21t54k"]={},o.axios,o.Vue,o.CryptoJS))})(this,function(o,_,N,g){"use strict";const P=Object.freeze(Object.defineProperty({__proto__:null,get getHome(){return T}},Symbol.toStringTag,{value:"Module"})),S=Object.freeze(Object.defineProperty({__proto__:null,get getHotGames(){return j}},Symbol.toStringTag,{value:"Module"})),G=Object.freeze(Object.defineProperty({__proto__:null,get getFishGames(){return x}},Symbol.toStringTag,{value:"Module"})),y=Object.freeze(Object.defineProperty({__proto__:null,get getTrialGames(){return R}},Symbol.toStringTag,{value:"Module"})),d=_.create({baseURL:"/apis",timeout:5e3,headers:{"Content-Type":"application/json"}});d.interceptors.request.use(a=>a,a=>(console.error("Error request:",a.response),Promise.reject(a))),d.interceptors.response.use(a=>a,a=>{const r={status:null,message:"An error occurred"};return a.response?(r.status=a.response.status,r.message=a.response.data.message||a.response.statusText,console.error("Error response:",JSON.stringify(r)),a.response.status===401?console.error("Unauthorized access - redirecting to login."):a.response.status===404?console.error("Resource not found."):a.response.status>=500&&console.error("Server error. Please try again later.")):a.request?console.error("No response received:",a.request):console.error("Error setting up request:",a.message),Promise.reject(r)});const v=N.ref("");function f(){return v.value===""?0:1}const F={home:P,hotGames:S,fishGames:G,trialGames:y},E={install(a){a.config.globalProperties.$library=F}},c=a=>{try{const r=JSON.parse(g.AES.decrypt(a,v.value,{format:{stringify:t=>{const s={ct:t.ciphertext.toString(g.enc.Base64)};return t.iv&&(s.iv=t.iv.toString()),t.salt&&(s.s=t.salt.toString()),JSON.stringify(s)},parse:t=>{const s=JSON.parse(t),n=g.lib.CipherParams.create({ciphertext:g.enc.Base64.parse(s.ct)});return s.iv&&(n.iv=g.enc.Hex.parse(s.iv)),s.s&&(n.salt=g.enc.Hex.parse(s.s)),n}}}).toString(g.enc.Utf8));return r!==""?JSON.parse(r):r}catch(r){return console.error(r),""}};async function T(){const a={status:200,message:"",data:{game:{SPORT:[],SPECIAL:[],PVP:[],LIVE:[],EVENT:[],ESPORT:[],EGAME:[],BINGO:[]},mobileBanner:[],announcement:[],alertAnnouncement:[],hotGames:{status:200,message:"",data:{currentPage:0,data:[],from:0,lastPage:0,nextPageUrl:"",path:"",perPage:0,prevPageUrl:"",to:0,total:0}},fishGames:{status:200,message:"",data:{hotfish:[],data:[]}},trialGames:{status:200,message:"",data:[]}}};try{const[r,t,s,n]=await Promise.all([d.get("/home",{params:{render:f()}}),d.get("/hotGames",{params:{render:f()}}),d.get("/fishGames",{params:{render:f()}}),d.get("/trialGames",{params:{render:f()}})]);let p,u,i,h;return f()?(p=JSON.parse(c(r.data)),u=JSON.parse(c(t.data)),i=JSON.parse(c(s.data)),h=JSON.parse(c(n.data))):(p=r.data,u=t.data,i=s.data,h=n.data),r.status!=200?(a.status=r.status,a.message=""):(a.data.game={SPORT:p.game.SPORT.map(e=>m(e))??[],SPECIAL:p.game.SPECIAL.map(e=>m(e))??[],PVP:p.game.PVP.map(e=>m(e))??[],LIVE:p.game.LIVE.map(e=>m(e))??[],EVENT:p.game.EVENT.map(e=>m(e))??[],ESPORT:p.game.ESPORT.map(e=>m(e))??[],EGAME:p.game.EGAME.map(e=>m(e))??[],BINGO:p.game.BINGO.map(e=>m(e))??[]},a.data.mobileBanner=p.mobileBanner.map(e=>({name:e.name??"",content:e.content??"",link:e.link??"",linkTarget:e.link_target??"",updatedOn:e.updated_on??"",idCmsCategory:e.id_cms_category??0,contentOrg:e.content_org??""}))??[],a.data.announcement=p.announcement.map(e=>({announcementIndex:e.announcement_index??0,announcementEnglish:e.announcement_english??"",announcementSimplified:e.announcement_simplified??"",announcementTraditional:e.announcement_traditional??"",announcementMalay:e.announcement_malay??"",announcementStatus:e.announcement_status==="1",announcementShow:e.announcement_show==="1",announcementAlert:e.announcement_alert==="1",announcementUser:e.announcement_user==="1",announcementSequence:e.announcement_sequence??0,announcementCompany:e.announcement_company==="1",companyIndex:e.companyindex??0,announcementLastUpdated:e.announcement_lastupdated??"",announcementDateCreated:e.announcement_datecreated??"",announcementSmaid:e.announcement_smaid??"",annTimer:e.ann_timer??"",annStart:e.ann_start??"",annEnd:e.ann_end??"",grp:e.grp??"",time:e.time??""}))??[],a.data.alertAnnouncement=p.alert_announcement.map(e=>({announcementDateCreated:e.announcement_datecreated??"",announcementSimplified:e.announcement_simplified??""}))??[]),t.status!=200?(a.data.hotGames.status=t.status,a.data.hotGames.message=""):(a.data.hotGames.data.currentPage=u.current_page??0,a.data.hotGames.data.data=u.data.map(e=>({id:e.id??0,name:e.name??"",pfid:e.pfid??0,ppname:e.ppname??"",code:e.code??"",img:e.img??"",progressive:e.progressive??"",ppid:e.ppid??0,notry:e.notry===1,productCode:e.product_code??"",imgSrc:e.imgSrc??"",imgPf:e.imgPf??"",favouriteFlag:e.favourite_flag===1,platformStatusFlag:e.platform_status_flag??"",platformFlagName:e.platform_flag_name??"",platformStatusParams:{eb:e.platform_status_params.eb??!1,fit:e.platform_status_params.fit??!1,fs:e.platform_status_params.fs??!1},gameId:e.game_id??0})),a.data.hotGames.data.from=u.from??0,a.data.hotGames.data.lastPage=u.last_page??0,a.data.hotGames.data.nextPageUrl=u.next_page_url??"",a.data.hotGames.data.path=u.path??"",a.data.hotGames.data.perPage=u.per_page??0,a.data.hotGames.data.prevPageUrl=u.prev_page_url??"",a.data.hotGames.data.to=u.to??0,a.data.hotGames.data.total=u.total??0),s.status!=200?(a.data.fishGames.status=s.status,a.data.fishGames.message=""):(a.data.fishGames.data.hotfish=i.data.map(e=>b(e))??[],a.data.fishGames.data.data=i.data.map(e=>b(e))??[]),n.status!=200?(a.data.trialGames.status=n.status,a.data.trialGames.message=""):a.data.trialGames.data=h.map(e=>({ppid:e.ppid??0,ppname:e.ppname??"",games:e.games.map(l=>({id:l.id??0,name:l.name??"",img:l.img??"",progressive:l.progressive??"",notry:l.notry===1,imgSrc:l.imgSrc??"",imgPf:l.imgPf??"",favouriteFlag:l.favourite_flag===1,platformStatusFflag:l.platform_status_Fflag??"",platformFlagName:l.platform_flag_name??"",platformStatusParams:{eb:l.platform_status_params.eb??!1,fit:l.platform_status_params.fit??!1,fs:l.platform_status_params.fs??!1},ppname:e.ppname??""}))??[]}))??[],a}catch(r){const t=r;return a.status=t.status||500,a.message=t.message,a}}const b=a=>({id:a.id??0,name:a.name??"",ppid:a.pp_id??"",img:a.img??"",desc:a.desc??"",ppname:a.pp_name??"",platformCode:a.platform_code??"",code:a.code??"",flag:a.flag??0,gameId:a.game_id??0,imgSrc:a.imgSrc??"",imgPf:a.imgPf??"",favouriteFlag:a.favourite_flag===1,platformStatusFflag:a.platform_status_Fflag??"",platformFlagName:a.platform_flag_name??"",platformStatusParams:{eb:a.platform_status_params.eb??!1,fit:a.platform_status_params.fit??!1,fs:a.platform_status_params.fs??!1}}),m=a=>({id:a.id??0,idPlatformMaster:a.id_PlatformMaster??0,idProductMaster:a.id_ProductMaster??0,name:a.name??"",shortName:a.shortName??"",img:a.img??"",mobileUrl:a.mobileUrl??"",url:a.url??"",desc:a.desc??"",seq:a.seq??0,flag:a.flag??0,status:a.status??"",createdBy:a.created_by??0,createdOn:a.created_on??"",categoryID:a.categoryid??0,com:a.com??"",cur:a.cur??"",pt:a.pt??"",ppName:a.pp_name??"",ppImage:a.pp_image??"",platformCode:a.platform_code??"",platformName:a.platform_name??"",classIcon:a.class_icon??"",productCode:a.product_code??"",productName:a.product_name??"",gameID:a.game_id??0,fAuth:a.fAuth??!1,platformStatusParams:{eb:a.platform_status_params.eb??!1,fit:a.platform_status_params.fit??!1,fs:a.platform_status_params.fs??!1},loginFlag:a.login_flag==="1",link:a.link??"",favouriteFlag:a.favourite_flag===1,platformStatusFlag:a.platform_status_flag??"",platformFlagName:a.platform_flag_name??"",homeLogo:a.home_logo??"",imgPf:a.imgPf??"",imgSport:a.imgSport??"",imgTemplate:a.imgTemplate??""});async function j(){const a={status:200,message:"",data:{currentPage:0,data:[],from:0,lastPage:0,nextPageUrl:"",path:"",perPage:0,prevPageUrl:"",to:0,total:0}};try{const r=await d.get("/hotGames",{params:{render:f()}});let t;return f()?t=JSON.parse(c(r.data)):t=r.data,r.status!=200?(a.status=r.status,a.message="",a):(a.data.currentPage=t.current_page??0,a.data.data=t.data.map(s=>({id:s.id??0,name:s.name??"",pfid:s.pfid??0,ppname:s.ppname??"",code:s.code??"",img:s.img??"",progressive:s.progressive??"",ppid:s.ppid??0,notry:s.notry===1,productCode:s.product_code??"",imgSrc:s.imgSrc??"",imgPf:s.imgPf??"",favouriteFlag:s.favourite_flag===1,platformStatusFlag:s.platform_status_flag??"",platformFlagName:s.platform_flag_name??"",platformStatusParams:{eb:s.platform_status_params.eb??!1,fit:s.platform_status_params.fit??!1,fs:s.platform_status_params.fs??!1},gameId:s.game_id??0})),a.data.from=t.from??0,a.data.lastPage=t.last_page??0,a.data.nextPageUrl=t.next_page_url??"",a.data.path=t.path??"",a.data.perPage=t.per_page??0,a.data.prevPageUrl=t.prev_page_url??"",a.data.to=t.to??0,a.data.total=t.total??0,a)}catch(r){const t=r;return a.status=t.status||500,a.message=t.message,a}}async function x(){const a={status:200,message:"",data:{hotfish:[],data:[]}};try{const r=await d.get("/fishGames",{params:{render:f(),setting:[]}});let t;return f()?t=JSON.parse(c(r.data)):t=r.data,r.status!=200?(a.status=r.status,a.message="",a):(a.data.hotfish=t.data.map(s=>O(s)),a.data.data=t.data.map(s=>O(s)),a)}catch(r){const t=r;return a.status=t.status||500,a.message=t.message,a}}const O=a=>({id:a.id??0,name:a.name??"",ppid:a.pp_id??"",img:a.img??"",desc:a.desc??"",ppname:a.pp_name??"",platformCode:a.platform_code??"",code:a.code??"",flag:a.flag??0,gameId:a.game_id??0,imgSrc:a.imgSrc??"",imgPf:a.imgPf??"",favouriteFlag:a.favourite_flag===1,platformStatusFflag:a.platform_status_Fflag??"",platformFlagName:a.platform_flag_name??"",platformStatusParams:{eb:a.platform_status_params.eb??!1,fit:a.platform_status_params.fit??!1,fs:a.platform_status_params.fs??!1}});async function R(){const a={status:200,message:"",data:[]};try{const r=await d.get("/trialGames",{params:{render:f()}});let t;return f()?t=JSON.parse(c(r.data)):t=r.data,r.status!=200?(a.status=r.status,a.message="",a):(a.data=t.map(s=>({ppid:s.ppid??0,ppname:s.ppname??"",games:s.games.map(n=>({id:n.id??0,name:n.name??"",img:n.img??"",progressive:n.progressive??"",notry:n.notry===1,imgSrc:n.imgSrc??"",imgPf:n.imgPf??"",favouriteFlag:n.favourite_flag===1,platformStatusFflag:n.platform_status_Fflag??"",platformFlagName:n.platform_flag_name??"",platformStatusParams:{eb:n.platform_status_params.eb??!1,fit:n.platform_status_params.fit??!1,fs:n.platform_status_params.fs??!1},ppname:s.ppname??""}))??[]}))??[],a)}catch(r){const t=r;return a.status=t.status||500,a.message=t.message,a}}o.Repository=E,o.fishGames=G,o.home=P,o.hotGames=S,o.trialGames=y,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/fishGames/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAY,iBAAiB,EAAE,MAAM,QAAQ,CAAA;AAGpD,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,WAAW,EAAE,CAAA;IACtB,IAAI,EAAE,WAAW,EAAE,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,aAAa,EAAE,MAAM,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,cAAc,EAAE,MAAM,CAAA;IACtB,qBAAqB,EAAE,MAAM,CAAA;IAC7B,kBAAkB,EAAE,MAAM,CAAA;IAC1B,sBAAsB,EAAE;QACtB,EAAE,EAAE,OAAO,CAAA;QACX,GAAG,EAAE,OAAO,CAAA;QACZ,EAAE,EAAE,OAAO,CAAA;KACZ,CAAA;CACF,CAAA;AAED,wBAAsB,YAAY,IAAI,OAAO,CAAC,iBAAiB,CAAC,
|
|
1
|
+
{"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/fishGames/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAY,iBAAiB,EAAE,MAAM,QAAQ,CAAA;AAGpD,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,WAAW,EAAE,CAAA;IACtB,IAAI,EAAE,WAAW,EAAE,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,aAAa,EAAE,MAAM,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,cAAc,EAAE,MAAM,CAAA;IACtB,qBAAqB,EAAE,MAAM,CAAA;IAC7B,kBAAkB,EAAE,MAAM,CAAA;IAC1B,sBAAsB,EAAE;QACtB,EAAE,EAAE,OAAO,CAAA;QACX,GAAG,EAAE,OAAO,CAAA;QACZ,EAAE,EAAE,OAAO,CAAA;KACZ,CAAA;CACF,CAAA;AAED,wBAAsB,YAAY,IAAI,OAAO,CAAC,iBAAiB,CAAC,CAgD/D"}
|
package/dist/fishGames/type.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/fishGames/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG;IACzC,OAAO,EAAE,QAAQ,EAAE,CAAA;
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/fishGames/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG;IACzC,IAAI,EAAE;QACJ,OAAO,EAAE,QAAQ,EAAE,CAAA;QACnB,IAAI,EAAE,QAAQ,EAAE,CAAA;KACjB,CAAA;CACF,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,EAAE,MAAM,CAAA;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,aAAa,EAAE,OAAO,CAAA;IACtB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,gBAAgB,EAAE,MAAM,CAAA;IACxB,oBAAoB,EAAE,uBAAuB,CAAA;CAC9C,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG;IACpC,EAAE,EAAE,OAAO,CAAA;IACX,GAAG,EAAE,OAAO,CAAA;IACZ,EAAE,EAAE,OAAO,CAAA;CACZ,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/home/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAgB,MAAM,QAAQ,CAAA;AAMnD,wBAAsB,OAAO,IAAI,OAAO,CAAC,YAAY,CAAC,
|
|
1
|
+
{"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/home/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAgB,MAAM,QAAQ,CAAA;AAMnD,wBAAsB,OAAO,IAAI,OAAO,CAAC,YAAY,CAAC,CAuRrD;AAyED,MAAM,MAAM,eAAe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wB,EAAE,MAAM,CAAA;IAChC,kBAAkB,EAAE,MAAM,CAAA;IAC1B,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,wBAAwB,EAAE,MAAM,CAAA;IAChC,uBAAuB,EAAE,MAAM,CAAA;CAChC,CAAA"}
|
package/dist/home/type.d.ts
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { FishGamesResponse } from '../fishGames';
|
|
2
2
|
import { HotGamesResponse } from '../hotGames';
|
|
3
|
+
import { TrialGamesResponse } from '../trialGames';
|
|
3
4
|
import { BaseType } from '../util/type';
|
|
4
5
|
|
|
5
6
|
export type HomeResponse = BaseType & {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
data: {
|
|
8
|
+
game: Game;
|
|
9
|
+
mobileBanner: MobileBanner[];
|
|
10
|
+
announcement: Announcement[];
|
|
11
|
+
alertAnnouncement: AlertAnnouncement[];
|
|
12
|
+
hotGames: HotGamesResponse;
|
|
13
|
+
fishGames: FishGamesResponse;
|
|
14
|
+
trialGames: TrialGamesResponse;
|
|
15
|
+
};
|
|
12
16
|
};
|
|
13
17
|
export type Game = {
|
|
14
18
|
SPORT: PlatformGame[];
|
package/dist/home/type.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/home/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/home/type.ts"],"names":[],"mappings":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QACb,cAAc,EAAE,MAAM,CAAA;QACtB,oBAAoB,EAAE,MAAM,CAAA;QAC5B,kBAAkB,EAAE,MAAM,CAAA;QAC1B,sBAAsB,EAAE;YACtB,EAAE,EAAE,OAAO,CAAA;YACX,GAAG,EAAE,OAAO,CAAA;YACZ,EAAE,EAAE,OAAO,CAAA;SACZ,CAAA;QACD,OAAO,EAAE,MAAM,CAAA;KAChB,EAAE,CAAA;IACH,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,MAAM,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,aAAa,EAAE,MAAM,CAAA;IACrB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,wBAAsB,WAAW,IAAI,OAAO,CAAC,gBAAgB,CAAC,CAoF7D"}
|
package/dist/hotGames/type.d.ts
CHANGED
|
@@ -1,34 +1,36 @@
|
|
|
1
1
|
import { BaseType } from '../util/type';
|
|
2
2
|
|
|
3
3
|
export type HotGamesResponse = BaseType & {
|
|
4
|
-
currentPage: number;
|
|
5
4
|
data: {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
5
|
+
currentPage: number;
|
|
6
|
+
data: {
|
|
7
|
+
id: number;
|
|
8
|
+
name: string;
|
|
9
|
+
pfid: number;
|
|
10
|
+
ppname: string;
|
|
11
|
+
code: string;
|
|
12
|
+
img: string;
|
|
13
|
+
progressive: string;
|
|
14
|
+
ppid: number;
|
|
15
|
+
notry: boolean;
|
|
16
|
+
productCode: string;
|
|
17
|
+
imgSrc: string;
|
|
18
|
+
imgPf: string;
|
|
19
|
+
favouriteFlag: boolean;
|
|
20
|
+
platformStatusFlag: string;
|
|
21
|
+
platformFlagName: string;
|
|
22
|
+
platformStatusParams: HotPlatformStatusParam;
|
|
23
|
+
gameId: number;
|
|
24
|
+
}[];
|
|
25
|
+
from: number;
|
|
26
|
+
lastPage: number;
|
|
27
|
+
nextPageUrl: string;
|
|
28
|
+
path: string;
|
|
29
|
+
perPage: number;
|
|
30
|
+
prevPageUrl: string;
|
|
31
|
+
to: number;
|
|
32
|
+
total: number;
|
|
33
|
+
};
|
|
32
34
|
};
|
|
33
35
|
export type HotPlatformStatusParam = {
|
|
34
36
|
eb: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/hotGames/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG;IACxC,WAAW,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/hotGames/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG;IACxC,IAAI,EAAE;QACJ,WAAW,EAAE,MAAM,CAAA;QACnB,IAAI,EAAE;YACJ,EAAE,EAAE,MAAM,CAAA;YACV,IAAI,EAAE,MAAM,CAAA;YACZ,IAAI,EAAE,MAAM,CAAA;YACZ,MAAM,EAAE,MAAM,CAAA;YACd,IAAI,EAAE,MAAM,CAAA;YACZ,GAAG,EAAE,MAAM,CAAA;YACX,WAAW,EAAE,MAAM,CAAA;YACnB,IAAI,EAAE,MAAM,CAAA;YACZ,KAAK,EAAE,OAAO,CAAA;YACd,WAAW,EAAE,MAAM,CAAA;YACnB,MAAM,EAAE,MAAM,CAAA;YACd,KAAK,EAAE,MAAM,CAAA;YACb,aAAa,EAAE,OAAO,CAAA;YACtB,kBAAkB,EAAE,MAAM,CAAA;YAC1B,gBAAgB,EAAE,MAAM,CAAA;YACxB,oBAAoB,EAAE,sBAAsB,CAAA;YAC5C,MAAM,EAAE,MAAM,CAAA;SACf,EAAE,CAAA;QACH,IAAI,EAAE,MAAM,CAAA;QACZ,QAAQ,EAAE,MAAM,CAAA;QAChB,WAAW,EAAE,MAAM,CAAA;QACnB,IAAI,EAAE,MAAM,CAAA;QACZ,OAAO,EAAE,MAAM,CAAA;QACf,WAAW,EAAE,MAAM,CAAA;QACnB,EAAE,EAAE,MAAM,CAAA;QACV,KAAK,EAAE,MAAM,CAAA;KACd,CAAA;CACF,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,EAAE,EAAE,OAAO,CAAA;IACX,GAAG,EAAE,OAAO,CAAA;IACZ,EAAE,EAAE,OAAO,CAAA;CACZ,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
export * from './legacy/announcement';
|
|
2
|
-
export * from './legacy/gKey';
|
|
3
|
-
export * from './legacy/language';
|
|
4
|
-
export { default as Repository } from './plugin';
|
|
5
|
-
import * as announcement from './legacy/announcement';
|
|
6
|
-
import * as gKey from './legacy/gKey';
|
|
7
|
-
import * as language from './legacy/language';
|
|
8
1
|
import * as home from './home';
|
|
2
|
+
import * as hotGames from './hotGames';
|
|
3
|
+
import * as fishGames from './fishGames';
|
|
4
|
+
import * as trialGames from './trialGames';
|
|
5
|
+
export { home, hotGames, fishGames, trialGames };
|
|
9
6
|
export type RepositoryType = {
|
|
10
|
-
announcement: typeof announcement;
|
|
11
|
-
gKey: typeof gKey;
|
|
12
|
-
language: typeof language;
|
|
13
7
|
home: typeof home;
|
|
8
|
+
hotGames: typeof hotGames;
|
|
9
|
+
fishGames: typeof fishGames;
|
|
10
|
+
trialGames: typeof trialGames;
|
|
14
11
|
};
|
|
12
|
+
export { default as Repository } from './plugin';
|
|
15
13
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAA;AAC9B,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAA;AACtC,OAAO,KAAK,SAAS,MAAM,aAAa,CAAA;AACxC,OAAO,KAAK,UAAU,MAAM,cAAc,CAAA;AAE1C,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,CAAA;AAEhD,MAAM,MAAM,cAAc,GAAG;IAO3B,IAAI,EAAE,OAAO,IAAI,CAAA;IACjB,QAAQ,EAAE,OAAO,QAAQ,CAAA;IACzB,SAAS,EAAE,OAAO,SAAS,CAAA;IAC3B,UAAU,EAAE,OAAO,UAAU,CAAA;CAC9B,CAAA;AAED,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,UAAU,CAAA"}
|
package/dist/plugin.d.ts
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
import { home, hotGames, fishGames, trialGames } from './index';
|
|
3
|
+
|
|
1
4
|
export declare const gKey: import('vue').Ref<string>;
|
|
2
5
|
export declare function getRender(): number;
|
|
6
|
+
export declare const Repository: {
|
|
7
|
+
home: typeof home;
|
|
8
|
+
hotGames: typeof hotGames;
|
|
9
|
+
fishGames: typeof fishGames;
|
|
10
|
+
trialGames: typeof trialGames;
|
|
11
|
+
};
|
|
3
12
|
declare const _default: {
|
|
4
|
-
install(): void;
|
|
13
|
+
install(app: App): void;
|
|
5
14
|
};
|
|
6
15
|
export default _default;
|
|
7
16
|
//# sourceMappingURL=plugin.d.ts.map
|
package/dist/plugin.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAO,MAAM,KAAK,CAAA;AAE9B,eAAO,MAAM,IAAI,2BAAU,CAAA;AAE3B,wBAAgB,SAAS,IAAI,MAAM,CAElC;AAED,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAE/D,eAAO,MAAM,UAAU;;;;;CAKtB,CAAA;;iBAGc,GAAG;;AADlB,wBAIC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/trialGames/method.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAA;AAE3C,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,aAAa,EAAE,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,cAAc,EAAE,MAAM,CAAA;IACtB,qBAAqB,EAAE,MAAM,CAAA;IAC7B,kBAAkB,EAAE,MAAM,CAAA;IAC1B,sBAAsB,EAAE;QACtB,EAAE,EAAE,OAAO,CAAA;QACX,GAAG,EAAE,OAAO,CAAA;QACZ,EAAE,EAAE,OAAO,CAAA;KACZ,CAAA;IACD,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,wBAAsB,aAAa,IAAI,OAAO,CAAC,kBAAkB,CAAC,
|
|
1
|
+
{"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/trialGames/method.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAA;AAE3C,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,aAAa,EAAE,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,cAAc,EAAE,MAAM,CAAA;IACtB,qBAAqB,EAAE,MAAM,CAAA;IAC7B,kBAAkB,EAAE,MAAM,CAAA;IAC1B,sBAAsB,EAAE;QACtB,EAAE,EAAE,OAAO,CAAA;QACX,GAAG,EAAE,OAAO,CAAA;QACZ,EAAE,EAAE,OAAO,CAAA;KACZ,CAAA;IACD,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,wBAAsB,aAAa,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAiEjE"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { BaseType } from '../util/type';
|
|
2
2
|
|
|
3
3
|
export type TrialGamesResponse = BaseType & {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
data: {
|
|
5
|
+
ppid: number;
|
|
6
|
+
ppname: string;
|
|
7
|
+
games: TrialGames[];
|
|
8
|
+
}[];
|
|
7
9
|
};
|
|
8
10
|
export type TrialGames = {
|
|
9
11
|
id: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/trialGames/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG;IAC1C,IAAI,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/trialGames/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG;IAC1C,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,EAAE,MAAM,CAAA;QACd,KAAK,EAAE,UAAU,EAAE,CAAA;KACpB,EAAE,CAAA;CACJ,CAAA;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,OAAO,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,aAAa,EAAE,OAAO,CAAA;IACtB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,gBAAgB,EAAE,MAAM,CAAA;IACxB,oBAAoB,EAAE,wBAAwB,CAAA;IAC9C,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG;IACrC,EAAE,EAAE,OAAO,CAAA;IACX,GAAG,EAAE,OAAO,CAAA;IACZ,EAAE,EAAE,OAAO,CAAA;CACZ,CAAA"}
|