@everymatrix/lottery-tipping-ticket-history 1.77.30 → 1.77.32
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
|
@@ -57,194 +57,6 @@ function setStreamStyling(stylingContainer, domain, subscription) {
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
const generateUUID = () => {
|
|
61
|
-
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
|
|
62
|
-
var r = (Math.random() * 16) | 0, v = c == 'x' ? r : (r & 0x3) | 0x8;
|
|
63
|
-
return v.toString(16);
|
|
64
|
-
});
|
|
65
|
-
};
|
|
66
|
-
function fetchRequest(url, method = 'GET', body = null, headers = {}) {
|
|
67
|
-
return new Promise((resolve, reject) => {
|
|
68
|
-
const uuid = generateUUID();
|
|
69
|
-
const headersOrigin = Object.assign({ 'Content-Type': 'application/json' }, headers);
|
|
70
|
-
if (method !== 'GET' && method !== 'HEAD') {
|
|
71
|
-
headersOrigin['X-Idempotency-Key'] = uuid;
|
|
72
|
-
}
|
|
73
|
-
const options = {
|
|
74
|
-
method,
|
|
75
|
-
headers: headersOrigin,
|
|
76
|
-
body: null
|
|
77
|
-
};
|
|
78
|
-
if (body && method !== 'GET' && method !== 'HEAD') {
|
|
79
|
-
options.body = JSON.stringify(body);
|
|
80
|
-
}
|
|
81
|
-
else {
|
|
82
|
-
delete options.body;
|
|
83
|
-
}
|
|
84
|
-
fetch(url, options)
|
|
85
|
-
.then((response) => {
|
|
86
|
-
if (!response.ok) {
|
|
87
|
-
return response.json().then((errorData) => {
|
|
88
|
-
const error = {
|
|
89
|
-
status: response.status,
|
|
90
|
-
statusText: response.statusText,
|
|
91
|
-
code: errorData.code || 'UNKNOWN_ERROR',
|
|
92
|
-
message: errorData.message || 'An unknown error occurred',
|
|
93
|
-
data: errorData.data || null
|
|
94
|
-
};
|
|
95
|
-
reject(error);
|
|
96
|
-
}, () => reject({
|
|
97
|
-
status: response.status,
|
|
98
|
-
statusText: response.statusText,
|
|
99
|
-
code: 'PARSE_ERROR',
|
|
100
|
-
message: 'Failed to parse error response'
|
|
101
|
-
}));
|
|
102
|
-
}
|
|
103
|
-
else {
|
|
104
|
-
return response.json();
|
|
105
|
-
}
|
|
106
|
-
})
|
|
107
|
-
.then((data) => resolve(data), (error) => reject(error));
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
const fetcher = (url) => fetch(url, {
|
|
111
|
-
method: 'GET',
|
|
112
|
-
headers: {
|
|
113
|
-
'x-scheme': 'application/json',
|
|
114
|
-
Accept: 'application/json'
|
|
115
|
-
}
|
|
116
|
-
}).then((r) => r.json());
|
|
117
|
-
function isEmptyValueOfArray(arr) {
|
|
118
|
-
if (arr.length === 0) {
|
|
119
|
-
return true;
|
|
120
|
-
}
|
|
121
|
-
const len = arr.length;
|
|
122
|
-
let count = 0;
|
|
123
|
-
for (let i = 0; i < len; i++) {
|
|
124
|
-
if (isEmptyValue(arr[i])) {
|
|
125
|
-
count++;
|
|
126
|
-
}
|
|
127
|
-
else {
|
|
128
|
-
return false;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
if (count === len) {
|
|
132
|
-
return true;
|
|
133
|
-
}
|
|
134
|
-
return false;
|
|
135
|
-
}
|
|
136
|
-
function isEmptyValueOfObject(obj) {
|
|
137
|
-
if (Object.keys(obj).length === 0) {
|
|
138
|
-
return true;
|
|
139
|
-
}
|
|
140
|
-
const len = Object.keys(obj).length;
|
|
141
|
-
let count = 0;
|
|
142
|
-
for (const val of Object.values(obj)) {
|
|
143
|
-
if (isEmptyValue(val)) {
|
|
144
|
-
count++;
|
|
145
|
-
}
|
|
146
|
-
else {
|
|
147
|
-
return false;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
if (count === len) {
|
|
151
|
-
return true;
|
|
152
|
-
}
|
|
153
|
-
return false;
|
|
154
|
-
}
|
|
155
|
-
function isEmptyValue(value, allowZero) {
|
|
156
|
-
if (value === null || value === undefined || value === '') {
|
|
157
|
-
return true;
|
|
158
|
-
}
|
|
159
|
-
else if (value === 0 && allowZero) {
|
|
160
|
-
return false;
|
|
161
|
-
}
|
|
162
|
-
else if (Array.isArray(value)) {
|
|
163
|
-
return isEmptyValueOfArray(value);
|
|
164
|
-
}
|
|
165
|
-
else if (Object.prototype.toString.call(value) === '[object Object]') {
|
|
166
|
-
return isEmptyValueOfObject(value);
|
|
167
|
-
}
|
|
168
|
-
else {
|
|
169
|
-
return !value;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
function toQueryParams(params) {
|
|
173
|
-
const finalParams = {};
|
|
174
|
-
Object.entries(params).forEach(([key, value]) => {
|
|
175
|
-
if (!isEmptyValue(value, true)) {
|
|
176
|
-
finalParams[key] = value;
|
|
177
|
-
}
|
|
178
|
-
});
|
|
179
|
-
const queryString = Object.entries(finalParams)
|
|
180
|
-
.map(([key, value]) => `${encodeURIComponent(key)}=${encodeURIComponent(value)}`)
|
|
181
|
-
.join('&');
|
|
182
|
-
return queryString ? `?${queryString}` : '';
|
|
183
|
-
}
|
|
184
|
-
const bulletMap = {
|
|
185
|
-
'0': '1',
|
|
186
|
-
'1': 'X',
|
|
187
|
-
'2': '2'
|
|
188
|
-
};
|
|
189
|
-
function parseBulletNumber(numberArr) {
|
|
190
|
-
const bulletArr = [];
|
|
191
|
-
Object.keys(bulletMap).forEach((key) => {
|
|
192
|
-
bulletArr.push({
|
|
193
|
-
isSelected: numberArr.includes(Number(key)),
|
|
194
|
-
value: bulletMap[key]
|
|
195
|
-
});
|
|
196
|
-
});
|
|
197
|
-
return bulletArr;
|
|
198
|
-
}
|
|
199
|
-
function parseEachLineNumber(numbers) {
|
|
200
|
-
const result = [];
|
|
201
|
-
const matchRes = [];
|
|
202
|
-
for (let i = 0; i < numbers.length; i += 2) {
|
|
203
|
-
const [resultNumber, matchNumber] = [numbers[i], numbers[i + 1]];
|
|
204
|
-
if (!matchRes[matchNumber]) {
|
|
205
|
-
matchRes[matchNumber] = [resultNumber];
|
|
206
|
-
}
|
|
207
|
-
else {
|
|
208
|
-
matchRes[matchNumber].push(resultNumber);
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
matchRes.forEach((matchArr) => {
|
|
212
|
-
result.push(parseBulletNumber(matchArr));
|
|
213
|
-
});
|
|
214
|
-
return result;
|
|
215
|
-
}
|
|
216
|
-
function thousandSeperator(value) {
|
|
217
|
-
if (value === 0) {
|
|
218
|
-
return '0';
|
|
219
|
-
}
|
|
220
|
-
if (!value) {
|
|
221
|
-
return '';
|
|
222
|
-
}
|
|
223
|
-
value = value.toString();
|
|
224
|
-
const parts = value.split('.');
|
|
225
|
-
parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
|
226
|
-
return parts.join('.');
|
|
227
|
-
}
|
|
228
|
-
const isMobile = (userAgent) => {
|
|
229
|
-
return !!(userAgent.toLowerCase().match(/android/i) ||
|
|
230
|
-
userAgent.toLowerCase().match(/blackberry|bb/i) ||
|
|
231
|
-
userAgent.toLowerCase().match(/iphone|ipad|ipod/i) ||
|
|
232
|
-
userAgent.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
233
|
-
};
|
|
234
|
-
const showNotification = ({ message, theme = 'success' }) => {
|
|
235
|
-
window.postMessage({
|
|
236
|
-
type: 'ShowNotificationToast',
|
|
237
|
-
message,
|
|
238
|
-
theme
|
|
239
|
-
});
|
|
240
|
-
};
|
|
241
|
-
|
|
242
|
-
var DrawResult;
|
|
243
|
-
(function (DrawResult) {
|
|
244
|
-
DrawResult["WON"] = "Won";
|
|
245
|
-
DrawResult["LOST"] = "Lost";
|
|
246
|
-
})(DrawResult || (DrawResult = {}));
|
|
247
|
-
|
|
248
60
|
function _typeof(o) {
|
|
249
61
|
"@babel/helpers - typeof";
|
|
250
62
|
|
|
@@ -2441,6 +2253,12 @@ function cleanEscapedString(input) {
|
|
|
2441
2253
|
return matched[1].replace(doubleQuoteRegExp, "'");
|
|
2442
2254
|
}
|
|
2443
2255
|
|
|
2256
|
+
var DrawResult;
|
|
2257
|
+
(function (DrawResult) {
|
|
2258
|
+
DrawResult["WON"] = "Won";
|
|
2259
|
+
DrawResult["LOST"] = "Lost";
|
|
2260
|
+
})(DrawResult || (DrawResult = {}));
|
|
2261
|
+
|
|
2444
2262
|
const DEFAULT_LANGUAGE = 'en';
|
|
2445
2263
|
const SUPPORTED_LANGUAGES = ['ro', 'en', 'fr', 'ar', 'hr'];
|
|
2446
2264
|
const TRANSLATIONS = {
|
|
@@ -2500,6 +2318,188 @@ const getTranslations = (data) => {
|
|
|
2500
2318
|
});
|
|
2501
2319
|
};
|
|
2502
2320
|
|
|
2321
|
+
const generateUUID = () => {
|
|
2322
|
+
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
|
|
2323
|
+
var r = (Math.random() * 16) | 0, v = c == 'x' ? r : (r & 0x3) | 0x8;
|
|
2324
|
+
return v.toString(16);
|
|
2325
|
+
});
|
|
2326
|
+
};
|
|
2327
|
+
function fetchRequest(url, method = 'GET', body = null, headers = {}) {
|
|
2328
|
+
return new Promise((resolve, reject) => {
|
|
2329
|
+
const uuid = generateUUID();
|
|
2330
|
+
const headersOrigin = Object.assign({ 'Content-Type': 'application/json' }, headers);
|
|
2331
|
+
if (method !== 'GET' && method !== 'HEAD') {
|
|
2332
|
+
headersOrigin['X-Idempotency-Key'] = uuid;
|
|
2333
|
+
}
|
|
2334
|
+
const options = {
|
|
2335
|
+
method,
|
|
2336
|
+
headers: headersOrigin,
|
|
2337
|
+
body: null
|
|
2338
|
+
};
|
|
2339
|
+
if (body && method !== 'GET' && method !== 'HEAD') {
|
|
2340
|
+
options.body = JSON.stringify(body);
|
|
2341
|
+
}
|
|
2342
|
+
else {
|
|
2343
|
+
delete options.body;
|
|
2344
|
+
}
|
|
2345
|
+
fetch(url, options)
|
|
2346
|
+
.then((response) => {
|
|
2347
|
+
if (!response.ok) {
|
|
2348
|
+
return response.json().then((errorData) => {
|
|
2349
|
+
const error = {
|
|
2350
|
+
status: response.status,
|
|
2351
|
+
statusText: response.statusText,
|
|
2352
|
+
code: errorData.code || 'UNKNOWN_ERROR',
|
|
2353
|
+
message: errorData.message || 'An unknown error occurred',
|
|
2354
|
+
data: errorData.data || null
|
|
2355
|
+
};
|
|
2356
|
+
reject(error);
|
|
2357
|
+
}, () => reject({
|
|
2358
|
+
status: response.status,
|
|
2359
|
+
statusText: response.statusText,
|
|
2360
|
+
code: 'PARSE_ERROR',
|
|
2361
|
+
message: 'Failed to parse error response'
|
|
2362
|
+
}));
|
|
2363
|
+
}
|
|
2364
|
+
else {
|
|
2365
|
+
return response.json();
|
|
2366
|
+
}
|
|
2367
|
+
})
|
|
2368
|
+
.then((data) => resolve(data), (error) => reject(error));
|
|
2369
|
+
});
|
|
2370
|
+
}
|
|
2371
|
+
const fetcher = (url) => fetch(url, {
|
|
2372
|
+
method: 'GET',
|
|
2373
|
+
headers: {
|
|
2374
|
+
'x-scheme': 'application/json',
|
|
2375
|
+
Accept: 'application/json'
|
|
2376
|
+
}
|
|
2377
|
+
}).then((r) => r.json());
|
|
2378
|
+
function isEmptyValueOfArray(arr) {
|
|
2379
|
+
if (arr.length === 0) {
|
|
2380
|
+
return true;
|
|
2381
|
+
}
|
|
2382
|
+
const len = arr.length;
|
|
2383
|
+
let count = 0;
|
|
2384
|
+
for (let i = 0; i < len; i++) {
|
|
2385
|
+
if (isEmptyValue(arr[i])) {
|
|
2386
|
+
count++;
|
|
2387
|
+
}
|
|
2388
|
+
else {
|
|
2389
|
+
return false;
|
|
2390
|
+
}
|
|
2391
|
+
}
|
|
2392
|
+
if (count === len) {
|
|
2393
|
+
return true;
|
|
2394
|
+
}
|
|
2395
|
+
return false;
|
|
2396
|
+
}
|
|
2397
|
+
function isEmptyValueOfObject(obj) {
|
|
2398
|
+
if (Object.keys(obj).length === 0) {
|
|
2399
|
+
return true;
|
|
2400
|
+
}
|
|
2401
|
+
const len = Object.keys(obj).length;
|
|
2402
|
+
let count = 0;
|
|
2403
|
+
for (const val of Object.values(obj)) {
|
|
2404
|
+
if (isEmptyValue(val)) {
|
|
2405
|
+
count++;
|
|
2406
|
+
}
|
|
2407
|
+
else {
|
|
2408
|
+
return false;
|
|
2409
|
+
}
|
|
2410
|
+
}
|
|
2411
|
+
if (count === len) {
|
|
2412
|
+
return true;
|
|
2413
|
+
}
|
|
2414
|
+
return false;
|
|
2415
|
+
}
|
|
2416
|
+
function isEmptyValue(value, allowZero) {
|
|
2417
|
+
if (value === null || value === undefined || value === '') {
|
|
2418
|
+
return true;
|
|
2419
|
+
}
|
|
2420
|
+
else if (value === 0 && allowZero) {
|
|
2421
|
+
return false;
|
|
2422
|
+
}
|
|
2423
|
+
else if (Array.isArray(value)) {
|
|
2424
|
+
return isEmptyValueOfArray(value);
|
|
2425
|
+
}
|
|
2426
|
+
else if (Object.prototype.toString.call(value) === '[object Object]') {
|
|
2427
|
+
return isEmptyValueOfObject(value);
|
|
2428
|
+
}
|
|
2429
|
+
else {
|
|
2430
|
+
return !value;
|
|
2431
|
+
}
|
|
2432
|
+
}
|
|
2433
|
+
function toQueryParams(params) {
|
|
2434
|
+
const finalParams = {};
|
|
2435
|
+
Object.entries(params).forEach(([key, value]) => {
|
|
2436
|
+
if (!isEmptyValue(value, true)) {
|
|
2437
|
+
finalParams[key] = value;
|
|
2438
|
+
}
|
|
2439
|
+
});
|
|
2440
|
+
const queryString = Object.entries(finalParams)
|
|
2441
|
+
.map(([key, value]) => `${encodeURIComponent(key)}=${encodeURIComponent(value)}`)
|
|
2442
|
+
.join('&');
|
|
2443
|
+
return queryString ? `?${queryString}` : '';
|
|
2444
|
+
}
|
|
2445
|
+
const bulletMap = {
|
|
2446
|
+
'0': '1',
|
|
2447
|
+
'1': 'X',
|
|
2448
|
+
'2': '2'
|
|
2449
|
+
};
|
|
2450
|
+
function parseBulletNumber(numberArr) {
|
|
2451
|
+
const bulletArr = [];
|
|
2452
|
+
Object.keys(bulletMap).forEach((key) => {
|
|
2453
|
+
bulletArr.push({
|
|
2454
|
+
isSelected: numberArr.includes(Number(key)),
|
|
2455
|
+
value: bulletMap[key]
|
|
2456
|
+
});
|
|
2457
|
+
});
|
|
2458
|
+
return bulletArr;
|
|
2459
|
+
}
|
|
2460
|
+
function parseEachLineNumber(numbers) {
|
|
2461
|
+
const result = [];
|
|
2462
|
+
const matchRes = [];
|
|
2463
|
+
for (let i = 0; i < numbers.length; i += 2) {
|
|
2464
|
+
const [resultNumber, matchNumber] = [numbers[i], numbers[i + 1]];
|
|
2465
|
+
if (!matchRes[matchNumber]) {
|
|
2466
|
+
matchRes[matchNumber] = [resultNumber];
|
|
2467
|
+
}
|
|
2468
|
+
else {
|
|
2469
|
+
matchRes[matchNumber].push(resultNumber);
|
|
2470
|
+
}
|
|
2471
|
+
}
|
|
2472
|
+
matchRes.forEach((matchArr) => {
|
|
2473
|
+
result.push(parseBulletNumber(matchArr));
|
|
2474
|
+
});
|
|
2475
|
+
return result;
|
|
2476
|
+
}
|
|
2477
|
+
function thousandSeperator(value) {
|
|
2478
|
+
if (value === 0) {
|
|
2479
|
+
return '0';
|
|
2480
|
+
}
|
|
2481
|
+
if (!value) {
|
|
2482
|
+
return '';
|
|
2483
|
+
}
|
|
2484
|
+
value = value.toString();
|
|
2485
|
+
const parts = value.split('.');
|
|
2486
|
+
parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
|
2487
|
+
return parts.join('.');
|
|
2488
|
+
}
|
|
2489
|
+
const isMobile = (userAgent) => {
|
|
2490
|
+
return !!(userAgent.toLowerCase().match(/android/i) ||
|
|
2491
|
+
userAgent.toLowerCase().match(/blackberry|bb/i) ||
|
|
2492
|
+
userAgent.toLowerCase().match(/iphone|ipad|ipod/i) ||
|
|
2493
|
+
userAgent.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
2494
|
+
};
|
|
2495
|
+
const showNotification = ({ message, theme = 'success' }) => {
|
|
2496
|
+
window.postMessage({
|
|
2497
|
+
type: 'ShowNotificationToast',
|
|
2498
|
+
message,
|
|
2499
|
+
theme
|
|
2500
|
+
});
|
|
2501
|
+
};
|
|
2502
|
+
|
|
2503
2503
|
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)}";
|
|
2504
2504
|
const LotteryTippingTicketHistoryStyle0 = lotteryTippingTicketHistoryCss;
|
|
2505
2505
|
|