@alodi/site 1.1.1 → 1.1.3-beta.0
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/CHANGELOG.md +12 -0
- package/dist/argv.d.ts +1 -1
- package/dist/cjs/argv.d.ts +1 -1
- package/dist/cjs/site.d.ts +112 -94
- package/dist/cjs/site.d.ts.map +1 -1
- package/dist/cjs/site.js +30 -49
- package/dist/site.d.ts +112 -94
- package/dist/site.d.ts.map +1 -1
- package/dist/site.js +156 -95
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/argv.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ declare const options: readonly [{
|
|
|
7
7
|
}, {
|
|
8
8
|
readonly name: "site";
|
|
9
9
|
readonly describe: "指定站点";
|
|
10
|
-
readonly choices: ("291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "ydg777" | "wasp" | "82pg" | "91pg" | "zappspin" | "waspspin" | "haa555" | "trading" | "vangwin" | "sortewin")[];
|
|
10
|
+
readonly choices: ("291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "ydg777" | "wasp" | "82pg" | "91pg" | "zappspin" | "waspspin" | "haa555" | "trading" | "vangwin" | "sortewin" | "sortewin_v1" | "sortewin_v2")[];
|
|
11
11
|
readonly coerce: (s: string) => string;
|
|
12
12
|
readonly demandOption: true;
|
|
13
13
|
}, {
|
package/dist/cjs/argv.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ declare const options: readonly [{
|
|
|
7
7
|
}, {
|
|
8
8
|
readonly name: "site";
|
|
9
9
|
readonly describe: "指定站点";
|
|
10
|
-
readonly choices: ("291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "ydg777" | "wasp" | "82pg" | "91pg" | "zappspin" | "waspspin" | "haa555" | "trading" | "vangwin" | "sortewin")[];
|
|
10
|
+
readonly choices: ("291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "ydg777" | "wasp" | "82pg" | "91pg" | "zappspin" | "waspspin" | "haa555" | "trading" | "vangwin" | "sortewin" | "sortewin_v1" | "sortewin_v2")[];
|
|
11
11
|
readonly coerce: (s: string) => string;
|
|
12
12
|
readonly demandOption: true;
|
|
13
13
|
}, {
|
package/dist/cjs/site.d.ts
CHANGED
|
@@ -22,197 +22,215 @@ export declare const SITE: {
|
|
|
22
22
|
readonly TRADING: "trading";
|
|
23
23
|
readonly VANG_WIN: "vangwin";
|
|
24
24
|
readonly SORTE_WIN: "sortewin";
|
|
25
|
+
readonly SORTE_WIN_V1: "sortewin_v1";
|
|
26
|
+
readonly SORTE_WIN_V2: "sortewin_v2";
|
|
25
27
|
};
|
|
26
|
-
export type SiteName = (typeof SITE)[keyof typeof SITE];
|
|
27
|
-
export type CountryName = 'PHL' | 'THA' | 'VNM' | 'BRA';
|
|
28
28
|
export declare const SiteConfig: {
|
|
29
29
|
readonly "291jili": {
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
name: "291JILI";
|
|
31
|
+
country: "PHL";
|
|
32
32
|
};
|
|
33
33
|
readonly super291: {
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
name: "super291";
|
|
35
|
+
country: "PHL";
|
|
36
36
|
};
|
|
37
37
|
readonly "646jili": {
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
name: "646JILI";
|
|
39
|
+
country: "PHL";
|
|
40
40
|
};
|
|
41
41
|
readonly lodi291: {
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
name: "Lodi291";
|
|
43
|
+
country: "PHL";
|
|
44
44
|
};
|
|
45
45
|
readonly top646: {
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
name: "TOP646";
|
|
47
|
+
country: "PHL";
|
|
48
48
|
};
|
|
49
49
|
readonly "80jili": {
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
name: "80JILI";
|
|
51
|
+
country: "PHL";
|
|
52
52
|
};
|
|
53
53
|
readonly ph646: {
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
name: "PH646";
|
|
55
|
+
country: "PHL";
|
|
56
56
|
};
|
|
57
57
|
readonly ace291: {
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
name: "Ace291";
|
|
59
|
+
country: "PHL";
|
|
60
60
|
};
|
|
61
61
|
readonly hot646: {
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
name: "HOT646";
|
|
63
|
+
country: "PHL";
|
|
64
64
|
};
|
|
65
65
|
readonly lodi646: {
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
name: "Lodi646";
|
|
67
|
+
country: "PHL";
|
|
68
68
|
};
|
|
69
69
|
readonly lodigame: {
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
name: "lodigame";
|
|
71
|
+
country: "PHL";
|
|
72
72
|
};
|
|
73
73
|
readonly lol646: {
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
name: "lol646";
|
|
75
|
+
country: "PHL";
|
|
76
76
|
};
|
|
77
77
|
readonly lodi777: {
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
name: "Lodi777";
|
|
79
|
+
country: "PHL";
|
|
80
80
|
};
|
|
81
81
|
readonly ydg777: {
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
name: "ydg777";
|
|
83
|
+
country: "PHL";
|
|
84
84
|
};
|
|
85
85
|
readonly wasp: {
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
name: "WASPBET";
|
|
87
|
+
country: "THA";
|
|
88
88
|
};
|
|
89
89
|
readonly "82pg": {
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
name: "AURA88";
|
|
91
|
+
country: "THA";
|
|
92
92
|
};
|
|
93
93
|
readonly "91pg": {
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
name: "AURA69";
|
|
95
|
+
country: "THA";
|
|
96
96
|
};
|
|
97
97
|
readonly zappspin: {
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
name: "WASP.WIN";
|
|
99
|
+
country: "THA";
|
|
100
100
|
};
|
|
101
101
|
readonly waspspin: {
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
name: "WASP SPIN";
|
|
103
|
+
country: "THA";
|
|
104
104
|
};
|
|
105
105
|
readonly haa555: {
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
name: "HAA555";
|
|
107
|
+
country: "THA";
|
|
108
108
|
};
|
|
109
109
|
readonly trading: {
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
name: "COINAX";
|
|
111
|
+
country: "THA";
|
|
112
112
|
};
|
|
113
113
|
readonly vangwin: {
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
name: "VANGWIN";
|
|
115
|
+
country: "VNM";
|
|
116
116
|
};
|
|
117
117
|
readonly sortewin: {
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
name: "SO99";
|
|
119
|
+
country: "BRA";
|
|
120
|
+
};
|
|
121
|
+
readonly sortewin_v1: {
|
|
122
|
+
name: "SO99";
|
|
123
|
+
country: "BRA";
|
|
124
|
+
};
|
|
125
|
+
readonly sortewin_v2: {
|
|
126
|
+
name: "SO99";
|
|
127
|
+
country: "BRA";
|
|
120
128
|
};
|
|
121
129
|
};
|
|
130
|
+
export type SiteName = (typeof SITE)[keyof typeof SITE];
|
|
131
|
+
export type CountryName = (typeof SiteConfig)[keyof typeof SiteConfig]['country'];
|
|
122
132
|
export declare const getSiteConfig: <T extends SiteName>(site: T) => {
|
|
123
133
|
site: T;
|
|
124
134
|
} & {
|
|
125
135
|
readonly "291jili": {
|
|
126
|
-
|
|
127
|
-
|
|
136
|
+
name: "291JILI";
|
|
137
|
+
country: "PHL";
|
|
128
138
|
};
|
|
129
139
|
readonly super291: {
|
|
130
|
-
|
|
131
|
-
|
|
140
|
+
name: "super291";
|
|
141
|
+
country: "PHL";
|
|
132
142
|
};
|
|
133
143
|
readonly "646jili": {
|
|
134
|
-
|
|
135
|
-
|
|
144
|
+
name: "646JILI";
|
|
145
|
+
country: "PHL";
|
|
136
146
|
};
|
|
137
147
|
readonly lodi291: {
|
|
138
|
-
|
|
139
|
-
|
|
148
|
+
name: "Lodi291";
|
|
149
|
+
country: "PHL";
|
|
140
150
|
};
|
|
141
151
|
readonly top646: {
|
|
142
|
-
|
|
143
|
-
|
|
152
|
+
name: "TOP646";
|
|
153
|
+
country: "PHL";
|
|
144
154
|
};
|
|
145
155
|
readonly "80jili": {
|
|
146
|
-
|
|
147
|
-
|
|
156
|
+
name: "80JILI";
|
|
157
|
+
country: "PHL";
|
|
148
158
|
};
|
|
149
159
|
readonly ph646: {
|
|
150
|
-
|
|
151
|
-
|
|
160
|
+
name: "PH646";
|
|
161
|
+
country: "PHL";
|
|
152
162
|
};
|
|
153
163
|
readonly ace291: {
|
|
154
|
-
|
|
155
|
-
|
|
164
|
+
name: "Ace291";
|
|
165
|
+
country: "PHL";
|
|
156
166
|
};
|
|
157
167
|
readonly hot646: {
|
|
158
|
-
|
|
159
|
-
|
|
168
|
+
name: "HOT646";
|
|
169
|
+
country: "PHL";
|
|
160
170
|
};
|
|
161
171
|
readonly lodi646: {
|
|
162
|
-
|
|
163
|
-
|
|
172
|
+
name: "Lodi646";
|
|
173
|
+
country: "PHL";
|
|
164
174
|
};
|
|
165
175
|
readonly lodigame: {
|
|
166
|
-
|
|
167
|
-
|
|
176
|
+
name: "lodigame";
|
|
177
|
+
country: "PHL";
|
|
168
178
|
};
|
|
169
179
|
readonly lol646: {
|
|
170
|
-
|
|
171
|
-
|
|
180
|
+
name: "lol646";
|
|
181
|
+
country: "PHL";
|
|
172
182
|
};
|
|
173
183
|
readonly lodi777: {
|
|
174
|
-
|
|
175
|
-
|
|
184
|
+
name: "Lodi777";
|
|
185
|
+
country: "PHL";
|
|
176
186
|
};
|
|
177
187
|
readonly ydg777: {
|
|
178
|
-
|
|
179
|
-
|
|
188
|
+
name: "ydg777";
|
|
189
|
+
country: "PHL";
|
|
180
190
|
};
|
|
181
191
|
readonly wasp: {
|
|
182
|
-
|
|
183
|
-
|
|
192
|
+
name: "WASPBET";
|
|
193
|
+
country: "THA";
|
|
184
194
|
};
|
|
185
195
|
readonly "82pg": {
|
|
186
|
-
|
|
187
|
-
|
|
196
|
+
name: "AURA88";
|
|
197
|
+
country: "THA";
|
|
188
198
|
};
|
|
189
199
|
readonly "91pg": {
|
|
190
|
-
|
|
191
|
-
|
|
200
|
+
name: "AURA69";
|
|
201
|
+
country: "THA";
|
|
192
202
|
};
|
|
193
203
|
readonly zappspin: {
|
|
194
|
-
|
|
195
|
-
|
|
204
|
+
name: "WASP.WIN";
|
|
205
|
+
country: "THA";
|
|
196
206
|
};
|
|
197
207
|
readonly waspspin: {
|
|
198
|
-
|
|
199
|
-
|
|
208
|
+
name: "WASP SPIN";
|
|
209
|
+
country: "THA";
|
|
200
210
|
};
|
|
201
211
|
readonly haa555: {
|
|
202
|
-
|
|
203
|
-
|
|
212
|
+
name: "HAA555";
|
|
213
|
+
country: "THA";
|
|
204
214
|
};
|
|
205
215
|
readonly trading: {
|
|
206
|
-
|
|
207
|
-
|
|
216
|
+
name: "COINAX";
|
|
217
|
+
country: "THA";
|
|
208
218
|
};
|
|
209
219
|
readonly vangwin: {
|
|
210
|
-
|
|
211
|
-
|
|
220
|
+
name: "VANGWIN";
|
|
221
|
+
country: "VNM";
|
|
212
222
|
};
|
|
213
223
|
readonly sortewin: {
|
|
214
|
-
|
|
215
|
-
|
|
224
|
+
name: "SO99";
|
|
225
|
+
country: "BRA";
|
|
226
|
+
};
|
|
227
|
+
readonly sortewin_v1: {
|
|
228
|
+
name: "SO99";
|
|
229
|
+
country: "BRA";
|
|
230
|
+
};
|
|
231
|
+
readonly sortewin_v2: {
|
|
232
|
+
name: "SO99";
|
|
233
|
+
country: "BRA";
|
|
216
234
|
};
|
|
217
235
|
}[T];
|
|
218
236
|
//# sourceMappingURL=site.d.ts.map
|
package/dist/cjs/site.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site.d.ts","sourceRoot":"","sources":["site.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"site.d.ts","sourceRoot":"","sources":["site.ts"],"names":[],"mappings":"AAgCA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;CAEhB,CAAC;AACF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOtB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,OAAO,IAAI,CAAC,CAAC;AAExD,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC;AAElF,eAAO,MAAM,aAAa,6BAA8B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKxD,CAAC"}
|
package/dist/cjs/site.js
CHANGED
|
@@ -24,60 +24,41 @@ __export(site_exports, {
|
|
|
24
24
|
getSiteConfig: () => getSiteConfig
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(site_exports);
|
|
27
|
-
var
|
|
28
|
-
JILI_291: "291jili",
|
|
29
|
-
SUPER_291: "super291",
|
|
30
|
-
JILI_646: "646jili",
|
|
31
|
-
LODI_291: "lodi291",
|
|
32
|
-
TOP_646: "top646",
|
|
33
|
-
JILI_80: "80jili",
|
|
34
|
-
PH_646: "ph646",
|
|
35
|
-
ACE_291: "ace291",
|
|
36
|
-
HOT_646: "hot646",
|
|
37
|
-
LODI_646: "lodi646",
|
|
38
|
-
LODI_GAME: "lodigame",
|
|
39
|
-
LOL_646: "lol646",
|
|
40
|
-
LODI_777: "lodi777",
|
|
41
|
-
YDG_777: "ydg777",
|
|
42
|
-
WASP: "wasp",
|
|
43
|
-
PG_82: "82pg",
|
|
44
|
-
PG_91: "91pg",
|
|
45
|
-
ZAPP_SPIN: "zappspin",
|
|
46
|
-
WASP_SPIN: "waspspin",
|
|
47
|
-
HAA_555: "haa555",
|
|
48
|
-
TRADING: "trading",
|
|
49
|
-
VANG_WIN: "vangwin",
|
|
50
|
-
SORTE_WIN: "sortewin"
|
|
51
|
-
};
|
|
52
|
-
var SiteConfig = {
|
|
27
|
+
var BRANDS = {
|
|
53
28
|
// 'PHL'
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
29
|
+
JILI_291: { value: "291jili", country: "PHL", name: "291JILI" },
|
|
30
|
+
SUPER_291: { value: "super291", country: "PHL", name: "super291" },
|
|
31
|
+
JILI_646: { value: "646jili", country: "PHL", name: "646JILI" },
|
|
32
|
+
LODI_291: { value: "lodi291", country: "PHL", name: "Lodi291" },
|
|
33
|
+
TOP_646: { value: "top646", country: "PHL", name: "TOP646" },
|
|
34
|
+
JILI_80: { value: "80jili", country: "PHL", name: "80JILI" },
|
|
35
|
+
PH_646: { value: "ph646", country: "PHL", name: "PH646" },
|
|
36
|
+
ACE_291: { value: "ace291", country: "PHL", name: "Ace291" },
|
|
37
|
+
HOT_646: { value: "hot646", country: "PHL", name: "HOT646" },
|
|
38
|
+
LODI_646: { value: "lodi646", country: "PHL", name: "Lodi646" },
|
|
39
|
+
LODI_GAME: { value: "lodigame", country: "PHL", name: "lodigame" },
|
|
40
|
+
LOL_646: { value: "lol646", country: "PHL", name: "lol646" },
|
|
41
|
+
LODI_777: { value: "lodi777", country: "PHL", name: "Lodi777" },
|
|
42
|
+
YDG_777: { value: "ydg777", country: "PHL", name: "ydg777" },
|
|
68
43
|
// 'THA'
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
44
|
+
WASP: { value: "wasp", country: "THA", name: "WASPBET" },
|
|
45
|
+
PG_82: { value: "82pg", country: "THA", name: "AURA88" },
|
|
46
|
+
PG_91: { value: "91pg", country: "THA", name: "AURA69" },
|
|
47
|
+
ZAPP_SPIN: { value: "zappspin", country: "THA", name: "WASP.WIN" },
|
|
48
|
+
WASP_SPIN: { value: "waspspin", country: "THA", name: "WASP SPIN" },
|
|
49
|
+
HAA_555: { value: "haa555", country: "THA", name: "HAA555" },
|
|
50
|
+
TRADING: { value: "trading", country: "THA", name: "COINAX" },
|
|
76
51
|
// 'VNM'
|
|
77
|
-
|
|
52
|
+
VANG_WIN: { value: "vangwin", country: "VNM", name: "VANGWIN" },
|
|
78
53
|
// 'BRA'
|
|
79
|
-
|
|
54
|
+
SORTE_WIN: { value: "sortewin", country: "BRA", name: "SO99" },
|
|
55
|
+
SORTE_WIN_V1: { value: "sortewin_v1", country: "BRA", name: "SO99" },
|
|
56
|
+
SORTE_WIN_V2: { value: "sortewin_v2", country: "BRA", name: "SO99" }
|
|
80
57
|
};
|
|
58
|
+
var SITE = Object.fromEntries(Object.entries(BRANDS).map(([key, value]) => [key, value.value]));
|
|
59
|
+
var SiteConfig = Object.fromEntries(
|
|
60
|
+
Object.entries(BRANDS).map(([, value]) => [value.value, { name: value.name, country: value.country }])
|
|
61
|
+
);
|
|
81
62
|
var getSiteConfig = (site) => {
|
|
82
63
|
return {
|
|
83
64
|
site,
|
package/dist/site.d.ts
CHANGED
|
@@ -22,197 +22,215 @@ export declare const SITE: {
|
|
|
22
22
|
readonly TRADING: "trading";
|
|
23
23
|
readonly VANG_WIN: "vangwin";
|
|
24
24
|
readonly SORTE_WIN: "sortewin";
|
|
25
|
+
readonly SORTE_WIN_V1: "sortewin_v1";
|
|
26
|
+
readonly SORTE_WIN_V2: "sortewin_v2";
|
|
25
27
|
};
|
|
26
|
-
export type SiteName = (typeof SITE)[keyof typeof SITE];
|
|
27
|
-
export type CountryName = 'PHL' | 'THA' | 'VNM' | 'BRA';
|
|
28
28
|
export declare const SiteConfig: {
|
|
29
29
|
readonly "291jili": {
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
name: "291JILI";
|
|
31
|
+
country: "PHL";
|
|
32
32
|
};
|
|
33
33
|
readonly super291: {
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
name: "super291";
|
|
35
|
+
country: "PHL";
|
|
36
36
|
};
|
|
37
37
|
readonly "646jili": {
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
name: "646JILI";
|
|
39
|
+
country: "PHL";
|
|
40
40
|
};
|
|
41
41
|
readonly lodi291: {
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
name: "Lodi291";
|
|
43
|
+
country: "PHL";
|
|
44
44
|
};
|
|
45
45
|
readonly top646: {
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
name: "TOP646";
|
|
47
|
+
country: "PHL";
|
|
48
48
|
};
|
|
49
49
|
readonly "80jili": {
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
name: "80JILI";
|
|
51
|
+
country: "PHL";
|
|
52
52
|
};
|
|
53
53
|
readonly ph646: {
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
name: "PH646";
|
|
55
|
+
country: "PHL";
|
|
56
56
|
};
|
|
57
57
|
readonly ace291: {
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
name: "Ace291";
|
|
59
|
+
country: "PHL";
|
|
60
60
|
};
|
|
61
61
|
readonly hot646: {
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
name: "HOT646";
|
|
63
|
+
country: "PHL";
|
|
64
64
|
};
|
|
65
65
|
readonly lodi646: {
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
name: "Lodi646";
|
|
67
|
+
country: "PHL";
|
|
68
68
|
};
|
|
69
69
|
readonly lodigame: {
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
name: "lodigame";
|
|
71
|
+
country: "PHL";
|
|
72
72
|
};
|
|
73
73
|
readonly lol646: {
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
name: "lol646";
|
|
75
|
+
country: "PHL";
|
|
76
76
|
};
|
|
77
77
|
readonly lodi777: {
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
name: "Lodi777";
|
|
79
|
+
country: "PHL";
|
|
80
80
|
};
|
|
81
81
|
readonly ydg777: {
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
name: "ydg777";
|
|
83
|
+
country: "PHL";
|
|
84
84
|
};
|
|
85
85
|
readonly wasp: {
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
name: "WASPBET";
|
|
87
|
+
country: "THA";
|
|
88
88
|
};
|
|
89
89
|
readonly "82pg": {
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
name: "AURA88";
|
|
91
|
+
country: "THA";
|
|
92
92
|
};
|
|
93
93
|
readonly "91pg": {
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
name: "AURA69";
|
|
95
|
+
country: "THA";
|
|
96
96
|
};
|
|
97
97
|
readonly zappspin: {
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
name: "WASP.WIN";
|
|
99
|
+
country: "THA";
|
|
100
100
|
};
|
|
101
101
|
readonly waspspin: {
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
name: "WASP SPIN";
|
|
103
|
+
country: "THA";
|
|
104
104
|
};
|
|
105
105
|
readonly haa555: {
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
name: "HAA555";
|
|
107
|
+
country: "THA";
|
|
108
108
|
};
|
|
109
109
|
readonly trading: {
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
name: "COINAX";
|
|
111
|
+
country: "THA";
|
|
112
112
|
};
|
|
113
113
|
readonly vangwin: {
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
name: "VANGWIN";
|
|
115
|
+
country: "VNM";
|
|
116
116
|
};
|
|
117
117
|
readonly sortewin: {
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
name: "SO99";
|
|
119
|
+
country: "BRA";
|
|
120
|
+
};
|
|
121
|
+
readonly sortewin_v1: {
|
|
122
|
+
name: "SO99";
|
|
123
|
+
country: "BRA";
|
|
124
|
+
};
|
|
125
|
+
readonly sortewin_v2: {
|
|
126
|
+
name: "SO99";
|
|
127
|
+
country: "BRA";
|
|
120
128
|
};
|
|
121
129
|
};
|
|
130
|
+
export type SiteName = (typeof SITE)[keyof typeof SITE];
|
|
131
|
+
export type CountryName = (typeof SiteConfig)[keyof typeof SiteConfig]['country'];
|
|
122
132
|
export declare const getSiteConfig: <T extends SiteName>(site: T) => {
|
|
123
133
|
site: T;
|
|
124
134
|
} & {
|
|
125
135
|
readonly "291jili": {
|
|
126
|
-
|
|
127
|
-
|
|
136
|
+
name: "291JILI";
|
|
137
|
+
country: "PHL";
|
|
128
138
|
};
|
|
129
139
|
readonly super291: {
|
|
130
|
-
|
|
131
|
-
|
|
140
|
+
name: "super291";
|
|
141
|
+
country: "PHL";
|
|
132
142
|
};
|
|
133
143
|
readonly "646jili": {
|
|
134
|
-
|
|
135
|
-
|
|
144
|
+
name: "646JILI";
|
|
145
|
+
country: "PHL";
|
|
136
146
|
};
|
|
137
147
|
readonly lodi291: {
|
|
138
|
-
|
|
139
|
-
|
|
148
|
+
name: "Lodi291";
|
|
149
|
+
country: "PHL";
|
|
140
150
|
};
|
|
141
151
|
readonly top646: {
|
|
142
|
-
|
|
143
|
-
|
|
152
|
+
name: "TOP646";
|
|
153
|
+
country: "PHL";
|
|
144
154
|
};
|
|
145
155
|
readonly "80jili": {
|
|
146
|
-
|
|
147
|
-
|
|
156
|
+
name: "80JILI";
|
|
157
|
+
country: "PHL";
|
|
148
158
|
};
|
|
149
159
|
readonly ph646: {
|
|
150
|
-
|
|
151
|
-
|
|
160
|
+
name: "PH646";
|
|
161
|
+
country: "PHL";
|
|
152
162
|
};
|
|
153
163
|
readonly ace291: {
|
|
154
|
-
|
|
155
|
-
|
|
164
|
+
name: "Ace291";
|
|
165
|
+
country: "PHL";
|
|
156
166
|
};
|
|
157
167
|
readonly hot646: {
|
|
158
|
-
|
|
159
|
-
|
|
168
|
+
name: "HOT646";
|
|
169
|
+
country: "PHL";
|
|
160
170
|
};
|
|
161
171
|
readonly lodi646: {
|
|
162
|
-
|
|
163
|
-
|
|
172
|
+
name: "Lodi646";
|
|
173
|
+
country: "PHL";
|
|
164
174
|
};
|
|
165
175
|
readonly lodigame: {
|
|
166
|
-
|
|
167
|
-
|
|
176
|
+
name: "lodigame";
|
|
177
|
+
country: "PHL";
|
|
168
178
|
};
|
|
169
179
|
readonly lol646: {
|
|
170
|
-
|
|
171
|
-
|
|
180
|
+
name: "lol646";
|
|
181
|
+
country: "PHL";
|
|
172
182
|
};
|
|
173
183
|
readonly lodi777: {
|
|
174
|
-
|
|
175
|
-
|
|
184
|
+
name: "Lodi777";
|
|
185
|
+
country: "PHL";
|
|
176
186
|
};
|
|
177
187
|
readonly ydg777: {
|
|
178
|
-
|
|
179
|
-
|
|
188
|
+
name: "ydg777";
|
|
189
|
+
country: "PHL";
|
|
180
190
|
};
|
|
181
191
|
readonly wasp: {
|
|
182
|
-
|
|
183
|
-
|
|
192
|
+
name: "WASPBET";
|
|
193
|
+
country: "THA";
|
|
184
194
|
};
|
|
185
195
|
readonly "82pg": {
|
|
186
|
-
|
|
187
|
-
|
|
196
|
+
name: "AURA88";
|
|
197
|
+
country: "THA";
|
|
188
198
|
};
|
|
189
199
|
readonly "91pg": {
|
|
190
|
-
|
|
191
|
-
|
|
200
|
+
name: "AURA69";
|
|
201
|
+
country: "THA";
|
|
192
202
|
};
|
|
193
203
|
readonly zappspin: {
|
|
194
|
-
|
|
195
|
-
|
|
204
|
+
name: "WASP.WIN";
|
|
205
|
+
country: "THA";
|
|
196
206
|
};
|
|
197
207
|
readonly waspspin: {
|
|
198
|
-
|
|
199
|
-
|
|
208
|
+
name: "WASP SPIN";
|
|
209
|
+
country: "THA";
|
|
200
210
|
};
|
|
201
211
|
readonly haa555: {
|
|
202
|
-
|
|
203
|
-
|
|
212
|
+
name: "HAA555";
|
|
213
|
+
country: "THA";
|
|
204
214
|
};
|
|
205
215
|
readonly trading: {
|
|
206
|
-
|
|
207
|
-
|
|
216
|
+
name: "COINAX";
|
|
217
|
+
country: "THA";
|
|
208
218
|
};
|
|
209
219
|
readonly vangwin: {
|
|
210
|
-
|
|
211
|
-
|
|
220
|
+
name: "VANGWIN";
|
|
221
|
+
country: "VNM";
|
|
212
222
|
};
|
|
213
223
|
readonly sortewin: {
|
|
214
|
-
|
|
215
|
-
|
|
224
|
+
name: "SO99";
|
|
225
|
+
country: "BRA";
|
|
226
|
+
};
|
|
227
|
+
readonly sortewin_v1: {
|
|
228
|
+
name: "SO99";
|
|
229
|
+
country: "BRA";
|
|
230
|
+
};
|
|
231
|
+
readonly sortewin_v2: {
|
|
232
|
+
name: "SO99";
|
|
233
|
+
country: "BRA";
|
|
216
234
|
};
|
|
217
235
|
}[T];
|
|
218
236
|
//# sourceMappingURL=site.d.ts.map
|
package/dist/site.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site.d.ts","sourceRoot":"","sources":["site.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"site.d.ts","sourceRoot":"","sources":["site.ts"],"names":[],"mappings":"AAgCA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;CAEhB,CAAC;AACF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOtB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,OAAO,IAAI,CAAC,CAAC;AAExD,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC;AAElF,eAAO,MAAM,aAAa,6BAA8B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKxD,CAAC"}
|
package/dist/site.js
CHANGED
|
@@ -1,107 +1,168 @@
|
|
|
1
|
-
var _SiteConfig;
|
|
2
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
3
2
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
4
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
6
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
7
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
8
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
9
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
10
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
11
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
12
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
13
|
+
var BRANDS = {
|
|
14
|
+
// 'PHL'
|
|
15
|
+
JILI_291: {
|
|
16
|
+
value: '291jili',
|
|
17
|
+
country: 'PHL',
|
|
18
|
+
name: '291JILI'
|
|
19
|
+
},
|
|
20
|
+
SUPER_291: {
|
|
21
|
+
value: 'super291',
|
|
22
|
+
country: 'PHL',
|
|
23
|
+
name: 'super291'
|
|
24
|
+
},
|
|
25
|
+
JILI_646: {
|
|
26
|
+
value: '646jili',
|
|
27
|
+
country: 'PHL',
|
|
28
|
+
name: '646JILI'
|
|
29
|
+
},
|
|
30
|
+
LODI_291: {
|
|
31
|
+
value: 'lodi291',
|
|
32
|
+
country: 'PHL',
|
|
33
|
+
name: 'Lodi291'
|
|
34
|
+
},
|
|
35
|
+
TOP_646: {
|
|
36
|
+
value: 'top646',
|
|
37
|
+
country: 'PHL',
|
|
38
|
+
name: 'TOP646'
|
|
39
|
+
},
|
|
40
|
+
JILI_80: {
|
|
41
|
+
value: '80jili',
|
|
42
|
+
country: 'PHL',
|
|
43
|
+
name: '80JILI'
|
|
44
|
+
},
|
|
45
|
+
PH_646: {
|
|
46
|
+
value: 'ph646',
|
|
47
|
+
country: 'PHL',
|
|
48
|
+
name: 'PH646'
|
|
49
|
+
},
|
|
50
|
+
ACE_291: {
|
|
51
|
+
value: 'ace291',
|
|
52
|
+
country: 'PHL',
|
|
53
|
+
name: 'Ace291'
|
|
54
|
+
},
|
|
55
|
+
HOT_646: {
|
|
56
|
+
value: 'hot646',
|
|
57
|
+
country: 'PHL',
|
|
58
|
+
name: 'HOT646'
|
|
59
|
+
},
|
|
60
|
+
LODI_646: {
|
|
61
|
+
value: 'lodi646',
|
|
62
|
+
country: 'PHL',
|
|
63
|
+
name: 'Lodi646'
|
|
64
|
+
},
|
|
65
|
+
LODI_GAME: {
|
|
66
|
+
value: 'lodigame',
|
|
67
|
+
country: 'PHL',
|
|
68
|
+
name: 'lodigame'
|
|
69
|
+
},
|
|
70
|
+
LOL_646: {
|
|
71
|
+
value: 'lol646',
|
|
72
|
+
country: 'PHL',
|
|
73
|
+
name: 'lol646'
|
|
74
|
+
},
|
|
75
|
+
LODI_777: {
|
|
76
|
+
value: 'lodi777',
|
|
77
|
+
country: 'PHL',
|
|
78
|
+
name: 'Lodi777'
|
|
79
|
+
},
|
|
80
|
+
YDG_777: {
|
|
81
|
+
value: 'ydg777',
|
|
82
|
+
country: 'PHL',
|
|
83
|
+
name: 'ydg777'
|
|
84
|
+
},
|
|
85
|
+
// 'THA'
|
|
86
|
+
WASP: {
|
|
87
|
+
value: 'wasp',
|
|
88
|
+
country: 'THA',
|
|
89
|
+
name: 'WASPBET'
|
|
90
|
+
},
|
|
91
|
+
PG_82: {
|
|
92
|
+
value: '82pg',
|
|
93
|
+
country: 'THA',
|
|
94
|
+
name: 'AURA88'
|
|
95
|
+
},
|
|
96
|
+
PG_91: {
|
|
97
|
+
value: '91pg',
|
|
98
|
+
country: 'THA',
|
|
99
|
+
name: 'AURA69'
|
|
100
|
+
},
|
|
101
|
+
ZAPP_SPIN: {
|
|
102
|
+
value: 'zappspin',
|
|
103
|
+
country: 'THA',
|
|
104
|
+
name: 'WASP.WIN'
|
|
105
|
+
},
|
|
106
|
+
WASP_SPIN: {
|
|
107
|
+
value: 'waspspin',
|
|
108
|
+
country: 'THA',
|
|
109
|
+
name: 'WASP SPIN'
|
|
110
|
+
},
|
|
111
|
+
HAA_555: {
|
|
112
|
+
value: 'haa555',
|
|
113
|
+
country: 'THA',
|
|
114
|
+
name: 'HAA555'
|
|
115
|
+
},
|
|
116
|
+
TRADING: {
|
|
117
|
+
value: 'trading',
|
|
118
|
+
country: 'THA',
|
|
119
|
+
name: 'COINAX'
|
|
120
|
+
},
|
|
121
|
+
// 'VNM'
|
|
122
|
+
VANG_WIN: {
|
|
123
|
+
value: 'vangwin',
|
|
124
|
+
country: 'VNM',
|
|
125
|
+
name: 'VANGWIN'
|
|
126
|
+
},
|
|
127
|
+
// 'BRA'
|
|
128
|
+
SORTE_WIN: {
|
|
129
|
+
value: 'sortewin',
|
|
130
|
+
country: 'BRA',
|
|
131
|
+
name: 'SO99'
|
|
132
|
+
},
|
|
133
|
+
SORTE_WIN_V1: {
|
|
134
|
+
value: 'sortewin_v1',
|
|
135
|
+
country: 'BRA',
|
|
136
|
+
name: 'SO99'
|
|
137
|
+
},
|
|
138
|
+
SORTE_WIN_V2: {
|
|
139
|
+
value: 'sortewin_v2',
|
|
140
|
+
country: 'BRA',
|
|
141
|
+
name: 'SO99'
|
|
142
|
+
}
|
|
32
143
|
};
|
|
33
|
-
export var
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
name: 'TOP646',
|
|
47
|
-
country: 'PHL'
|
|
48
|
-
}), SITE.JILI_80, {
|
|
49
|
-
name: '80JILI',
|
|
50
|
-
country: 'PHL'
|
|
51
|
-
}), SITE.PH_646, {
|
|
52
|
-
name: 'PH646',
|
|
53
|
-
country: 'PHL'
|
|
54
|
-
}), SITE.ACE_291, {
|
|
55
|
-
name: 'Ace291',
|
|
56
|
-
country: 'PHL'
|
|
57
|
-
}), SITE.HOT_646, {
|
|
58
|
-
name: 'HOT646',
|
|
59
|
-
country: 'PHL'
|
|
60
|
-
}), SITE.LODI_646, {
|
|
61
|
-
name: 'Lodi646',
|
|
62
|
-
country: 'PHL'
|
|
63
|
-
}), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_SiteConfig, SITE.LODI_GAME, {
|
|
64
|
-
name: 'lodigame',
|
|
65
|
-
country: 'PHL'
|
|
66
|
-
}), SITE.LOL_646, {
|
|
67
|
-
name: 'lol646',
|
|
68
|
-
country: 'PHL'
|
|
69
|
-
}), SITE.LODI_777, {
|
|
70
|
-
name: 'Lodi777',
|
|
71
|
-
country: 'PHL'
|
|
72
|
-
}), SITE.YDG_777, {
|
|
73
|
-
name: 'ydg777',
|
|
74
|
-
country: 'PHL'
|
|
75
|
-
}), SITE.WASP, {
|
|
76
|
-
name: 'WASPBET',
|
|
77
|
-
country: 'THA'
|
|
78
|
-
}), SITE.PG_82, {
|
|
79
|
-
name: 'AURA88',
|
|
80
|
-
country: 'THA'
|
|
81
|
-
}), SITE.PG_91, {
|
|
82
|
-
name: 'AURA69',
|
|
83
|
-
country: 'THA'
|
|
84
|
-
}), SITE.ZAPP_SPIN, {
|
|
85
|
-
name: 'WASP.WIN',
|
|
86
|
-
country: 'THA'
|
|
87
|
-
}), SITE.WASP_SPIN, {
|
|
88
|
-
name: 'WASP SPIN',
|
|
89
|
-
country: 'THA'
|
|
90
|
-
}), SITE.HAA_555, {
|
|
91
|
-
name: 'HAA555',
|
|
92
|
-
country: 'THA'
|
|
93
|
-
}), _defineProperty(_defineProperty(_defineProperty(_SiteConfig, SITE.TRADING, {
|
|
94
|
-
name: 'COINAX',
|
|
95
|
-
country: 'THA'
|
|
96
|
-
}), SITE.VANG_WIN, {
|
|
97
|
-
name: 'VANGWIN',
|
|
98
|
-
country: 'VNM'
|
|
99
|
-
}), SITE.SORTE_WIN, {
|
|
100
|
-
name: 'SO99',
|
|
101
|
-
country: 'BRA'
|
|
144
|
+
export var SITE = Object.fromEntries(Object.entries(BRANDS).map(function (_ref) {
|
|
145
|
+
var _ref2 = _slicedToArray(_ref, 2),
|
|
146
|
+
key = _ref2[0],
|
|
147
|
+
value = _ref2[1];
|
|
148
|
+
return [key, value.value];
|
|
149
|
+
}));
|
|
150
|
+
export var SiteConfig = Object.fromEntries(Object.entries(BRANDS).map(function (_ref3) {
|
|
151
|
+
var _ref4 = _slicedToArray(_ref3, 2),
|
|
152
|
+
value = _ref4[1];
|
|
153
|
+
return [value.value, {
|
|
154
|
+
name: value.name,
|
|
155
|
+
country: value.country
|
|
156
|
+
}];
|
|
102
157
|
}));
|
|
103
158
|
export var getSiteConfig = function getSiteConfig(site) {
|
|
104
159
|
return _objectSpread({
|
|
105
160
|
site: site
|
|
106
161
|
}, SiteConfig[site]);
|
|
107
|
-
};
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
// export const SITE_VARIANT = {
|
|
165
|
+
// // V0: 'v0',
|
|
166
|
+
// V1: 'v1',
|
|
167
|
+
// } as const;
|
|
168
|
+
// export type SiteVariant = (typeof SITE_VARIANT)[keyof typeof SITE_VARIANT];
|