@everymatrix/lottery-tipping-ticket-history 1.77.30 → 1.77.31
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/cjs/general-multi-select_10.cjs.entry.js +49 -17
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/collection/components/lottery-tipping-panel/lottery-tipping-panel.js +2 -2
- package/dist/collection/components/lottery-tipping-ticket-history/lottery-tipping-ticket-history.js +4 -4
- package/dist/esm/general-multi-select_10.entry.js +50 -18
- package/dist/esm/index.js +1 -1
- package/dist/lottery-tipping-ticket-history/general-multi-select_10.entry.js +78 -78
- package/dist/lottery-tipping-ticket-history/index.esm.js +1 -1
- package/dist/lottery-tipping-ticket-history/lottery-tipping-ticket-history-90df9a64.js +1 -0
- package/dist/types/components/lottery-tipping-ticket-history/lottery-tipping-ticket-history.d.ts +2 -2
- package/package.json +1 -1
- package/dist/lottery-tipping-ticket-history/lottery-tipping-ticket-history-1c57b065.js +0 -1
- package/dist/static/add.svg +0 -8
- package/dist/static/delete.svg +0 -37
- package/dist/static/info.svg +0 -6
- package/dist/static/left-arrow.svg +0 -15
- package/dist/static/loading.svg +0 -10
- package/dist/static/right-arrow.svg +0 -15
- package/dist/cjs/{lottery-tipping-ticket-history-5d5f9bd8.js → lottery-tipping-ticket-history-39cd3d64.js} +188 -188
- package/dist/esm/{lottery-tipping-ticket-history-1c57b065.js → lottery-tipping-ticket-history-90df9a64.js} +188 -188
|
@@ -59,194 +59,6 @@ function setStreamStyling(stylingContainer, domain, subscription) {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
const generateUUID = () => {
|
|
63
|
-
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
|
|
64
|
-
var r = (Math.random() * 16) | 0, v = c == 'x' ? r : (r & 0x3) | 0x8;
|
|
65
|
-
return v.toString(16);
|
|
66
|
-
});
|
|
67
|
-
};
|
|
68
|
-
function fetchRequest(url, method = 'GET', body = null, headers = {}) {
|
|
69
|
-
return new Promise((resolve, reject) => {
|
|
70
|
-
const uuid = generateUUID();
|
|
71
|
-
const headersOrigin = Object.assign({ 'Content-Type': 'application/json' }, headers);
|
|
72
|
-
if (method !== 'GET' && method !== 'HEAD') {
|
|
73
|
-
headersOrigin['X-Idempotency-Key'] = uuid;
|
|
74
|
-
}
|
|
75
|
-
const options = {
|
|
76
|
-
method,
|
|
77
|
-
headers: headersOrigin,
|
|
78
|
-
body: null
|
|
79
|
-
};
|
|
80
|
-
if (body && method !== 'GET' && method !== 'HEAD') {
|
|
81
|
-
options.body = JSON.stringify(body);
|
|
82
|
-
}
|
|
83
|
-
else {
|
|
84
|
-
delete options.body;
|
|
85
|
-
}
|
|
86
|
-
fetch(url, options)
|
|
87
|
-
.then((response) => {
|
|
88
|
-
if (!response.ok) {
|
|
89
|
-
return response.json().then((errorData) => {
|
|
90
|
-
const error = {
|
|
91
|
-
status: response.status,
|
|
92
|
-
statusText: response.statusText,
|
|
93
|
-
code: errorData.code || 'UNKNOWN_ERROR',
|
|
94
|
-
message: errorData.message || 'An unknown error occurred',
|
|
95
|
-
data: errorData.data || null
|
|
96
|
-
};
|
|
97
|
-
reject(error);
|
|
98
|
-
}, () => reject({
|
|
99
|
-
status: response.status,
|
|
100
|
-
statusText: response.statusText,
|
|
101
|
-
code: 'PARSE_ERROR',
|
|
102
|
-
message: 'Failed to parse error response'
|
|
103
|
-
}));
|
|
104
|
-
}
|
|
105
|
-
else {
|
|
106
|
-
return response.json();
|
|
107
|
-
}
|
|
108
|
-
})
|
|
109
|
-
.then((data) => resolve(data), (error) => reject(error));
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
const fetcher = (url) => fetch(url, {
|
|
113
|
-
method: 'GET',
|
|
114
|
-
headers: {
|
|
115
|
-
'x-scheme': 'application/json',
|
|
116
|
-
Accept: 'application/json'
|
|
117
|
-
}
|
|
118
|
-
}).then((r) => r.json());
|
|
119
|
-
function isEmptyValueOfArray(arr) {
|
|
120
|
-
if (arr.length === 0) {
|
|
121
|
-
return true;
|
|
122
|
-
}
|
|
123
|
-
const len = arr.length;
|
|
124
|
-
let count = 0;
|
|
125
|
-
for (let i = 0; i < len; i++) {
|
|
126
|
-
if (isEmptyValue(arr[i])) {
|
|
127
|
-
count++;
|
|
128
|
-
}
|
|
129
|
-
else {
|
|
130
|
-
return false;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
if (count === len) {
|
|
134
|
-
return true;
|
|
135
|
-
}
|
|
136
|
-
return false;
|
|
137
|
-
}
|
|
138
|
-
function isEmptyValueOfObject(obj) {
|
|
139
|
-
if (Object.keys(obj).length === 0) {
|
|
140
|
-
return true;
|
|
141
|
-
}
|
|
142
|
-
const len = Object.keys(obj).length;
|
|
143
|
-
let count = 0;
|
|
144
|
-
for (const val of Object.values(obj)) {
|
|
145
|
-
if (isEmptyValue(val)) {
|
|
146
|
-
count++;
|
|
147
|
-
}
|
|
148
|
-
else {
|
|
149
|
-
return false;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
if (count === len) {
|
|
153
|
-
return true;
|
|
154
|
-
}
|
|
155
|
-
return false;
|
|
156
|
-
}
|
|
157
|
-
function isEmptyValue(value, allowZero) {
|
|
158
|
-
if (value === null || value === undefined || value === '') {
|
|
159
|
-
return true;
|
|
160
|
-
}
|
|
161
|
-
else if (value === 0 && allowZero) {
|
|
162
|
-
return false;
|
|
163
|
-
}
|
|
164
|
-
else if (Array.isArray(value)) {
|
|
165
|
-
return isEmptyValueOfArray(value);
|
|
166
|
-
}
|
|
167
|
-
else if (Object.prototype.toString.call(value) === '[object Object]') {
|
|
168
|
-
return isEmptyValueOfObject(value);
|
|
169
|
-
}
|
|
170
|
-
else {
|
|
171
|
-
return !value;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
function toQueryParams(params) {
|
|
175
|
-
const finalParams = {};
|
|
176
|
-
Object.entries(params).forEach(([key, value]) => {
|
|
177
|
-
if (!isEmptyValue(value, true)) {
|
|
178
|
-
finalParams[key] = value;
|
|
179
|
-
}
|
|
180
|
-
});
|
|
181
|
-
const queryString = Object.entries(finalParams)
|
|
182
|
-
.map(([key, value]) => `${encodeURIComponent(key)}=${encodeURIComponent(value)}`)
|
|
183
|
-
.join('&');
|
|
184
|
-
return queryString ? `?${queryString}` : '';
|
|
185
|
-
}
|
|
186
|
-
const bulletMap = {
|
|
187
|
-
'0': '1',
|
|
188
|
-
'1': 'X',
|
|
189
|
-
'2': '2'
|
|
190
|
-
};
|
|
191
|
-
function parseBulletNumber(numberArr) {
|
|
192
|
-
const bulletArr = [];
|
|
193
|
-
Object.keys(bulletMap).forEach((key) => {
|
|
194
|
-
bulletArr.push({
|
|
195
|
-
isSelected: numberArr.includes(Number(key)),
|
|
196
|
-
value: bulletMap[key]
|
|
197
|
-
});
|
|
198
|
-
});
|
|
199
|
-
return bulletArr;
|
|
200
|
-
}
|
|
201
|
-
function parseEachLineNumber(numbers) {
|
|
202
|
-
const result = [];
|
|
203
|
-
const matchRes = [];
|
|
204
|
-
for (let i = 0; i < numbers.length; i += 2) {
|
|
205
|
-
const [resultNumber, matchNumber] = [numbers[i], numbers[i + 1]];
|
|
206
|
-
if (!matchRes[matchNumber]) {
|
|
207
|
-
matchRes[matchNumber] = [resultNumber];
|
|
208
|
-
}
|
|
209
|
-
else {
|
|
210
|
-
matchRes[matchNumber].push(resultNumber);
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
matchRes.forEach((matchArr) => {
|
|
214
|
-
result.push(parseBulletNumber(matchArr));
|
|
215
|
-
});
|
|
216
|
-
return result;
|
|
217
|
-
}
|
|
218
|
-
function thousandSeperator(value) {
|
|
219
|
-
if (value === 0) {
|
|
220
|
-
return '0';
|
|
221
|
-
}
|
|
222
|
-
if (!value) {
|
|
223
|
-
return '';
|
|
224
|
-
}
|
|
225
|
-
value = value.toString();
|
|
226
|
-
const parts = value.split('.');
|
|
227
|
-
parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
|
228
|
-
return parts.join('.');
|
|
229
|
-
}
|
|
230
|
-
const isMobile = (userAgent) => {
|
|
231
|
-
return !!(userAgent.toLowerCase().match(/android/i) ||
|
|
232
|
-
userAgent.toLowerCase().match(/blackberry|bb/i) ||
|
|
233
|
-
userAgent.toLowerCase().match(/iphone|ipad|ipod/i) ||
|
|
234
|
-
userAgent.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
235
|
-
};
|
|
236
|
-
const showNotification = ({ message, theme = 'success' }) => {
|
|
237
|
-
window.postMessage({
|
|
238
|
-
type: 'ShowNotificationToast',
|
|
239
|
-
message,
|
|
240
|
-
theme
|
|
241
|
-
});
|
|
242
|
-
};
|
|
243
|
-
|
|
244
|
-
var DrawResult;
|
|
245
|
-
(function (DrawResult) {
|
|
246
|
-
DrawResult["WON"] = "Won";
|
|
247
|
-
DrawResult["LOST"] = "Lost";
|
|
248
|
-
})(DrawResult || (DrawResult = {}));
|
|
249
|
-
|
|
250
62
|
function _typeof(o) {
|
|
251
63
|
"@babel/helpers - typeof";
|
|
252
64
|
|
|
@@ -2443,6 +2255,12 @@ function cleanEscapedString(input) {
|
|
|
2443
2255
|
return matched[1].replace(doubleQuoteRegExp, "'");
|
|
2444
2256
|
}
|
|
2445
2257
|
|
|
2258
|
+
var DrawResult;
|
|
2259
|
+
(function (DrawResult) {
|
|
2260
|
+
DrawResult["WON"] = "Won";
|
|
2261
|
+
DrawResult["LOST"] = "Lost";
|
|
2262
|
+
})(DrawResult || (DrawResult = {}));
|
|
2263
|
+
|
|
2446
2264
|
const DEFAULT_LANGUAGE = 'en';
|
|
2447
2265
|
const SUPPORTED_LANGUAGES = ['ro', 'en', 'fr', 'ar', 'hr'];
|
|
2448
2266
|
const TRANSLATIONS = {
|
|
@@ -2502,6 +2320,188 @@ const getTranslations = (data) => {
|
|
|
2502
2320
|
});
|
|
2503
2321
|
};
|
|
2504
2322
|
|
|
2323
|
+
const generateUUID = () => {
|
|
2324
|
+
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
|
|
2325
|
+
var r = (Math.random() * 16) | 0, v = c == 'x' ? r : (r & 0x3) | 0x8;
|
|
2326
|
+
return v.toString(16);
|
|
2327
|
+
});
|
|
2328
|
+
};
|
|
2329
|
+
function fetchRequest(url, method = 'GET', body = null, headers = {}) {
|
|
2330
|
+
return new Promise((resolve, reject) => {
|
|
2331
|
+
const uuid = generateUUID();
|
|
2332
|
+
const headersOrigin = Object.assign({ 'Content-Type': 'application/json' }, headers);
|
|
2333
|
+
if (method !== 'GET' && method !== 'HEAD') {
|
|
2334
|
+
headersOrigin['X-Idempotency-Key'] = uuid;
|
|
2335
|
+
}
|
|
2336
|
+
const options = {
|
|
2337
|
+
method,
|
|
2338
|
+
headers: headersOrigin,
|
|
2339
|
+
body: null
|
|
2340
|
+
};
|
|
2341
|
+
if (body && method !== 'GET' && method !== 'HEAD') {
|
|
2342
|
+
options.body = JSON.stringify(body);
|
|
2343
|
+
}
|
|
2344
|
+
else {
|
|
2345
|
+
delete options.body;
|
|
2346
|
+
}
|
|
2347
|
+
fetch(url, options)
|
|
2348
|
+
.then((response) => {
|
|
2349
|
+
if (!response.ok) {
|
|
2350
|
+
return response.json().then((errorData) => {
|
|
2351
|
+
const error = {
|
|
2352
|
+
status: response.status,
|
|
2353
|
+
statusText: response.statusText,
|
|
2354
|
+
code: errorData.code || 'UNKNOWN_ERROR',
|
|
2355
|
+
message: errorData.message || 'An unknown error occurred',
|
|
2356
|
+
data: errorData.data || null
|
|
2357
|
+
};
|
|
2358
|
+
reject(error);
|
|
2359
|
+
}, () => reject({
|
|
2360
|
+
status: response.status,
|
|
2361
|
+
statusText: response.statusText,
|
|
2362
|
+
code: 'PARSE_ERROR',
|
|
2363
|
+
message: 'Failed to parse error response'
|
|
2364
|
+
}));
|
|
2365
|
+
}
|
|
2366
|
+
else {
|
|
2367
|
+
return response.json();
|
|
2368
|
+
}
|
|
2369
|
+
})
|
|
2370
|
+
.then((data) => resolve(data), (error) => reject(error));
|
|
2371
|
+
});
|
|
2372
|
+
}
|
|
2373
|
+
const fetcher = (url) => fetch(url, {
|
|
2374
|
+
method: 'GET',
|
|
2375
|
+
headers: {
|
|
2376
|
+
'x-scheme': 'application/json',
|
|
2377
|
+
Accept: 'application/json'
|
|
2378
|
+
}
|
|
2379
|
+
}).then((r) => r.json());
|
|
2380
|
+
function isEmptyValueOfArray(arr) {
|
|
2381
|
+
if (arr.length === 0) {
|
|
2382
|
+
return true;
|
|
2383
|
+
}
|
|
2384
|
+
const len = arr.length;
|
|
2385
|
+
let count = 0;
|
|
2386
|
+
for (let i = 0; i < len; i++) {
|
|
2387
|
+
if (isEmptyValue(arr[i])) {
|
|
2388
|
+
count++;
|
|
2389
|
+
}
|
|
2390
|
+
else {
|
|
2391
|
+
return false;
|
|
2392
|
+
}
|
|
2393
|
+
}
|
|
2394
|
+
if (count === len) {
|
|
2395
|
+
return true;
|
|
2396
|
+
}
|
|
2397
|
+
return false;
|
|
2398
|
+
}
|
|
2399
|
+
function isEmptyValueOfObject(obj) {
|
|
2400
|
+
if (Object.keys(obj).length === 0) {
|
|
2401
|
+
return true;
|
|
2402
|
+
}
|
|
2403
|
+
const len = Object.keys(obj).length;
|
|
2404
|
+
let count = 0;
|
|
2405
|
+
for (const val of Object.values(obj)) {
|
|
2406
|
+
if (isEmptyValue(val)) {
|
|
2407
|
+
count++;
|
|
2408
|
+
}
|
|
2409
|
+
else {
|
|
2410
|
+
return false;
|
|
2411
|
+
}
|
|
2412
|
+
}
|
|
2413
|
+
if (count === len) {
|
|
2414
|
+
return true;
|
|
2415
|
+
}
|
|
2416
|
+
return false;
|
|
2417
|
+
}
|
|
2418
|
+
function isEmptyValue(value, allowZero) {
|
|
2419
|
+
if (value === null || value === undefined || value === '') {
|
|
2420
|
+
return true;
|
|
2421
|
+
}
|
|
2422
|
+
else if (value === 0 && allowZero) {
|
|
2423
|
+
return false;
|
|
2424
|
+
}
|
|
2425
|
+
else if (Array.isArray(value)) {
|
|
2426
|
+
return isEmptyValueOfArray(value);
|
|
2427
|
+
}
|
|
2428
|
+
else if (Object.prototype.toString.call(value) === '[object Object]') {
|
|
2429
|
+
return isEmptyValueOfObject(value);
|
|
2430
|
+
}
|
|
2431
|
+
else {
|
|
2432
|
+
return !value;
|
|
2433
|
+
}
|
|
2434
|
+
}
|
|
2435
|
+
function toQueryParams(params) {
|
|
2436
|
+
const finalParams = {};
|
|
2437
|
+
Object.entries(params).forEach(([key, value]) => {
|
|
2438
|
+
if (!isEmptyValue(value, true)) {
|
|
2439
|
+
finalParams[key] = value;
|
|
2440
|
+
}
|
|
2441
|
+
});
|
|
2442
|
+
const queryString = Object.entries(finalParams)
|
|
2443
|
+
.map(([key, value]) => `${encodeURIComponent(key)}=${encodeURIComponent(value)}`)
|
|
2444
|
+
.join('&');
|
|
2445
|
+
return queryString ? `?${queryString}` : '';
|
|
2446
|
+
}
|
|
2447
|
+
const bulletMap = {
|
|
2448
|
+
'0': '1',
|
|
2449
|
+
'1': 'X',
|
|
2450
|
+
'2': '2'
|
|
2451
|
+
};
|
|
2452
|
+
function parseBulletNumber(numberArr) {
|
|
2453
|
+
const bulletArr = [];
|
|
2454
|
+
Object.keys(bulletMap).forEach((key) => {
|
|
2455
|
+
bulletArr.push({
|
|
2456
|
+
isSelected: numberArr.includes(Number(key)),
|
|
2457
|
+
value: bulletMap[key]
|
|
2458
|
+
});
|
|
2459
|
+
});
|
|
2460
|
+
return bulletArr;
|
|
2461
|
+
}
|
|
2462
|
+
function parseEachLineNumber(numbers) {
|
|
2463
|
+
const result = [];
|
|
2464
|
+
const matchRes = [];
|
|
2465
|
+
for (let i = 0; i < numbers.length; i += 2) {
|
|
2466
|
+
const [resultNumber, matchNumber] = [numbers[i], numbers[i + 1]];
|
|
2467
|
+
if (!matchRes[matchNumber]) {
|
|
2468
|
+
matchRes[matchNumber] = [resultNumber];
|
|
2469
|
+
}
|
|
2470
|
+
else {
|
|
2471
|
+
matchRes[matchNumber].push(resultNumber);
|
|
2472
|
+
}
|
|
2473
|
+
}
|
|
2474
|
+
matchRes.forEach((matchArr) => {
|
|
2475
|
+
result.push(parseBulletNumber(matchArr));
|
|
2476
|
+
});
|
|
2477
|
+
return result;
|
|
2478
|
+
}
|
|
2479
|
+
function thousandSeperator(value) {
|
|
2480
|
+
if (value === 0) {
|
|
2481
|
+
return '0';
|
|
2482
|
+
}
|
|
2483
|
+
if (!value) {
|
|
2484
|
+
return '';
|
|
2485
|
+
}
|
|
2486
|
+
value = value.toString();
|
|
2487
|
+
const parts = value.split('.');
|
|
2488
|
+
parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
|
2489
|
+
return parts.join('.');
|
|
2490
|
+
}
|
|
2491
|
+
const isMobile = (userAgent) => {
|
|
2492
|
+
return !!(userAgent.toLowerCase().match(/android/i) ||
|
|
2493
|
+
userAgent.toLowerCase().match(/blackberry|bb/i) ||
|
|
2494
|
+
userAgent.toLowerCase().match(/iphone|ipad|ipod/i) ||
|
|
2495
|
+
userAgent.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
2496
|
+
};
|
|
2497
|
+
const showNotification = ({ message, theme = 'success' }) => {
|
|
2498
|
+
window.postMessage({
|
|
2499
|
+
type: 'ShowNotificationToast',
|
|
2500
|
+
message,
|
|
2501
|
+
theme
|
|
2502
|
+
});
|
|
2503
|
+
};
|
|
2504
|
+
|
|
2505
2505
|
const lotteryTippingTicketHistoryCss = "@keyframes skeleton-loading{0%{background-position:200% 0}100%{background-position:-200% 0}}.lottery-tipping-ticket-history{padding:12px}.lottery-tipping-ticket-history .ticket-history-title{margin:20px 0;text-align:center;font-size:20px;font-weight:700;color:var(--emw--color-typography, #000)}.lottery-tipping-ticket-history .ticket-info{display:flex;flex-direction:column;gap:12px}.lottery-tipping-ticket-history .ticket-info-item{display:flex;align-items:center;user-select:none}.lottery-tipping-ticket-history .ticket-info-label{margin-right:12px;color:var(--emw--color-typography, #000)}.lottery-tipping-ticket-history .ticket-info-val{color:var(--emw--color-typography-secondary, #555)}.lottery-tipping-ticket-history .ticket-list-wrap{display:flex;flex-direction:column;gap:12px}.lottery-tipping-ticket-history .draw-info-skeleton{width:30%;min-width:300px;border:var(--emw--button-border, 1px solid rgba(221, 221, 221, 0.8666666667));border-radius:5px;display:flex;flex-direction:column;gap:10px;padding:10px}.lottery-tipping-ticket-history .skeleton-line{height:16px;border-radius:4px;background:linear-gradient(90deg, var(--emw--color-gray-100, #e6e6e6) 25%, var(--emw--color-gray-50, #f5f5f5) 50%, var(--emw--color-gray-100, #e6e6e6) 75%);background-size:200% 100%;animation:skeleton-loading 1.2s infinite}.lottery-tipping-ticket-history .draw-info{width:30%;min-width:300px;border:var(--emw--button-border, 1px solid rgba(221, 221, 221, 0.8666666667));border-radius:5px;padding:12px;margin-top:20px;display:flex;flex-direction:column;gap:8px;user-select:none}.lottery-tipping-ticket-history .draw-info-item{display:flex}.lottery-tipping-ticket-history .draw-info-label{margin-right:6px;color:var(--emw--color-typography, #000)}.lottery-tipping-ticket-history .draw-info-val{color:var(--emw--color-typography-secondary, #555)}.lottery-tipping-ticket-history .show-detail-link{color:var(--emw-pool-game-acition-normal, #4a90e2);text-decoration:underline;cursor:pointer}.lottery-tipping-ticket-history .filter-wrap{margin-bottom:20px;display:flex;justify-content:space-between;align-items:center}.lottery-tipping-ticket-history .filter-wrap .filter-status{display:flex;gap:12px;align-items:center}.lottery-tipping-ticket-history .filter-wrap .filter-status-btn{background:var(--emw--color-background, #fff);border:2px solid var(--emw--color-primary, #fed275);border-radius:4px;padding:10px 8px;font-size:12px;text-transform:uppercase;color:var(--emw--color-typography, #000);cursor:pointer;transition:all 0.2s linear}.lottery-tipping-ticket-history .filter-wrap .filter-status-btn:hover{background-color:var(--emw--color-secondary, #fff3b9)}.lottery-tipping-ticket-history .filter-wrap .filter-status-btn.active{background:var(--emw--color-secondary, #fff3b9);color:var(--emw--color-typography, #000);border:2px solid var(--emw--color-typography, #000)}.lottery-tipping-ticket-history .pagination-wrap{margin-top:20px;display:flex;justify-content:flex-end}@media screen and (min-width: 1200px){.lottery-tipping-ticket-history{padding:24px;width:60%;margin:0 auto}}@media screen and (max-width: 480px){.lottery-tipping-ticket-history{padding:2px}.lottery-tipping-ticket-history .filter-wrap .filter-status{gap:4px}}.loading-wrap{margin:20px 0;display:flex;align-items:center;justify-content:center;min-height:40vh}.loading-wrap .dots-container{display:flex;align-items:center;justify-content:center;height:100%;width:100%}.loading-wrap .dot{height:14px;width:14px;margin-right:14px;border-radius:14px;background-color:var(--emw-pool-game-ticket-history-loading-normal, #b3d4fc);animation:pulse 1.5s infinite ease-in-out}.loading-wrap .dot:last-child{margin-right:0}.loading-wrap .dot:nth-child(1){animation-delay:-0.3s}.loading-wrap .dot:nth-child(2){animation-delay:-0.1s}.loading-wrap .dot:nth-child(3){animation-delay:0.1s}@keyframes pulse{0%{transform:scale(0.8);background-color:var(--emw-pool-game-ticket-history-loading-normal, #b3d4fc);box-shadow:0 0 0 0 var(--emw-pool-game-ticket-history-loading-box-shadow-normal, rgba(178, 212, 252, 0.7))}50%{transform:scale(1.2);background-color:var(--emw-pool-game-ticket-history-loading-active, #6793fb);box-shadow:0 0 0 10px var(--emw-pool-game-ticket-history-loading-box-shadow-active, rgba(178, 212, 252, 0))}100%{transform:scale(0.8);background-color:var(--emw-pool-game-ticket-history-loading-normal, #b3d4fc);box-shadow:0 0 0 0 rgba(178, 212, 252, 0.7)}}.empty-wrap{margin:20px 0;display:flex;align-items:center;justify-content:center;min-height:40vh;color:var(--emw--color-typography, #000)}.betting-type{margin-bottom:16px;display:flex;align-items:center;gap:20px}.betting-type-title{font-weight:600;font-size:16px}.betting-type-text{font-size:16px}.LotteryTippingTicketController__label{font-weight:500;white-space:nowrap;width:6rem;color:var(--emw--color-typography-secondary, #333)}.LotteryTippingTicketController__segmented-control{height:2.2rem;display:inline-flex;background-color:var(--emw--color-background-secondary, #f5f5f5);border-radius:2rem;padding:0.2rem}.LotteryTippingTicketController__segment{background-color:transparent;border:none;padding:0.3rem 0.8rem;cursor:pointer;font-weight:500;border-radius:2rem;outline:none;transition:background-color 0.25s ease, color 0.25s ease;white-space:nowrap;color:var(--emw--color-typography, #000)}.LotteryTippingTicketController__segment--active{background-color:var(--emw--color-background, #fff);color:var(--emw--color-typography, #000);font-weight:600}.LotteryTippingTicketController__segment:not(.LotteryTippingTicketController__segment--active):hover{background-color:var(--emw--color-background-tertiary, #ccc)}";
|
|
2506
2506
|
const LotteryTippingTicketHistoryStyle0 = lotteryTippingTicketHistoryCss;
|
|
2507
2507
|
|