forked from ncldavies/Better-Nike-Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStringExtensions.cs
705 lines (700 loc) · 26.1 KB
/
StringExtensions.cs
1
2
3
4
5
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
using System;
using System.Collections.Generic;
using System.Linq;
using IMLokesh.Extensions;
namespace Better_Nike_Bot
{
// Token: 0x02000053 RID: 83
public static class StringExtensions
{
// Token: 0x060002F2 RID: 754 RVA: 0x0002D5A0 File Offset: 0x0002B7A0
static StringExtensions()
{
List<SizeDescription> sizeDetailsCollection = StringExtensions.SizeDetailsCollection;
string sizeInCm = "21.6";
string nativeSize = "3.5Y";
SiteType[] siteType = new SiteType[1];
sizeDetailsCollection.Add(new SizeDescription(sizeInCm, nativeSize, siteType));
List<SizeDescription> sizeDetailsCollection2 = StringExtensions.SizeDetailsCollection;
string sizeInCm2 = "22";
string nativeSize2 = "4Y";
SiteType[] siteType2 = new SiteType[1];
sizeDetailsCollection2.Add(new SizeDescription(sizeInCm2, nativeSize2, siteType2));
List<SizeDescription> sizeDetailsCollection3 = StringExtensions.SizeDetailsCollection;
string sizeInCm3 = "22.4";
string nativeSize3 = "4.5Y";
SiteType[] siteType3 = new SiteType[1];
sizeDetailsCollection3.Add(new SizeDescription(sizeInCm3, nativeSize3, siteType3));
List<SizeDescription> sizeDetailsCollection4 = StringExtensions.SizeDetailsCollection;
string sizeInCm4 = "22.9";
string nativeSize4 = "5Y";
SiteType[] siteType4 = new SiteType[1];
sizeDetailsCollection4.Add(new SizeDescription(sizeInCm4, nativeSize4, siteType4));
List<SizeDescription> sizeDetailsCollection5 = StringExtensions.SizeDetailsCollection;
string sizeInCm5 = "23.3";
string nativeSize5 = "5.5Y";
SiteType[] siteType5 = new SiteType[1];
sizeDetailsCollection5.Add(new SizeDescription(sizeInCm5, nativeSize5, siteType5));
List<SizeDescription> sizeDetailsCollection6 = StringExtensions.SizeDetailsCollection;
string sizeInCm6 = "23.7";
string nativeSize6 = "6Y";
SiteType[] siteType6 = new SiteType[1];
sizeDetailsCollection6.Add(new SizeDescription(sizeInCm6, nativeSize6, siteType6));
List<SizeDescription> sizeDetailsCollection7 = StringExtensions.SizeDetailsCollection;
string sizeInCm7 = "24.1";
string nativeSize7 = "6.5Y";
SiteType[] siteType7 = new SiteType[1];
sizeDetailsCollection7.Add(new SizeDescription(sizeInCm7, nativeSize7, siteType7));
List<SizeDescription> sizeDetailsCollection8 = StringExtensions.SizeDetailsCollection;
string sizeInCm8 = "24.5";
string nativeSize8 = "7Y";
SiteType[] siteType8 = new SiteType[1];
sizeDetailsCollection8.Add(new SizeDescription(sizeInCm8, nativeSize8, siteType8));
List<SizeDescription> sizeDetailsCollection9 = StringExtensions.SizeDetailsCollection;
string sizeInCm9 = "22";
string nativeSize9 = "4";
SiteType[] siteType9 = new SiteType[1];
sizeDetailsCollection9.Add(new SizeDescription(sizeInCm9, nativeSize9, siteType9));
List<SizeDescription> sizeDetailsCollection10 = StringExtensions.SizeDetailsCollection;
string sizeInCm10 = "22.4";
string nativeSize10 = "4.5";
SiteType[] siteType10 = new SiteType[1];
sizeDetailsCollection10.Add(new SizeDescription(sizeInCm10, nativeSize10, siteType10));
List<SizeDescription> sizeDetailsCollection11 = StringExtensions.SizeDetailsCollection;
string sizeInCm11 = "22.9";
string nativeSize11 = "5";
SiteType[] siteType11 = new SiteType[1];
sizeDetailsCollection11.Add(new SizeDescription(sizeInCm11, nativeSize11, siteType11));
List<SizeDescription> sizeDetailsCollection12 = StringExtensions.SizeDetailsCollection;
string sizeInCm12 = "23.3";
string nativeSize12 = "5.5";
SiteType[] siteType12 = new SiteType[1];
sizeDetailsCollection12.Add(new SizeDescription(sizeInCm12, nativeSize12, siteType12));
List<SizeDescription> sizeDetailsCollection13 = StringExtensions.SizeDetailsCollection;
string sizeInCm13 = "23.7";
string nativeSize13 = "6";
SiteType[] siteType13 = new SiteType[1];
sizeDetailsCollection13.Add(new SizeDescription(sizeInCm13, nativeSize13, siteType13));
List<SizeDescription> sizeDetailsCollection14 = StringExtensions.SizeDetailsCollection;
string sizeInCm14 = "24.1";
string nativeSize14 = "6.5";
SiteType[] siteType14 = new SiteType[1];
sizeDetailsCollection14.Add(new SizeDescription(sizeInCm14, nativeSize14, siteType14));
List<SizeDescription> sizeDetailsCollection15 = StringExtensions.SizeDetailsCollection;
string sizeInCm15 = "24.5";
string nativeSize15 = "7";
SiteType[] siteType15 = new SiteType[1];
sizeDetailsCollection15.Add(new SizeDescription(sizeInCm15, nativeSize15, siteType15));
List<SizeDescription> sizeDetailsCollection16 = StringExtensions.SizeDetailsCollection;
string sizeInCm16 = "25";
string nativeSize16 = "7.5";
SiteType[] siteType16 = new SiteType[1];
sizeDetailsCollection16.Add(new SizeDescription(sizeInCm16, nativeSize16, siteType16));
List<SizeDescription> sizeDetailsCollection17 = StringExtensions.SizeDetailsCollection;
string sizeInCm17 = "25.4";
string nativeSize17 = "8";
SiteType[] siteType17 = new SiteType[1];
sizeDetailsCollection17.Add(new SizeDescription(sizeInCm17, nativeSize17, siteType17));
List<SizeDescription> sizeDetailsCollection18 = StringExtensions.SizeDetailsCollection;
string sizeInCm18 = "25.8";
string nativeSize18 = "8.5";
SiteType[] siteType18 = new SiteType[1];
sizeDetailsCollection18.Add(new SizeDescription(sizeInCm18, nativeSize18, siteType18));
List<SizeDescription> sizeDetailsCollection19 = StringExtensions.SizeDetailsCollection;
string sizeInCm19 = "26.2";
string nativeSize19 = "9";
SiteType[] siteType19 = new SiteType[1];
sizeDetailsCollection19.Add(new SizeDescription(sizeInCm19, nativeSize19, siteType19));
List<SizeDescription> sizeDetailsCollection20 = StringExtensions.SizeDetailsCollection;
string sizeInCm20 = "26.7";
string nativeSize20 = "9.5";
SiteType[] siteType20 = new SiteType[1];
sizeDetailsCollection20.Add(new SizeDescription(sizeInCm20, nativeSize20, siteType20));
List<SizeDescription> sizeDetailsCollection21 = StringExtensions.SizeDetailsCollection;
string sizeInCm21 = "27.1";
string nativeSize21 = "10";
SiteType[] siteType21 = new SiteType[1];
sizeDetailsCollection21.Add(new SizeDescription(sizeInCm21, nativeSize21, siteType21));
List<SizeDescription> sizeDetailsCollection22 = StringExtensions.SizeDetailsCollection;
string sizeInCm22 = "27.5";
string nativeSize22 = "10.5";
SiteType[] siteType22 = new SiteType[1];
sizeDetailsCollection22.Add(new SizeDescription(sizeInCm22, nativeSize22, siteType22));
List<SizeDescription> sizeDetailsCollection23 = StringExtensions.SizeDetailsCollection;
string sizeInCm23 = "27.9";
string nativeSize23 = "11";
SiteType[] siteType23 = new SiteType[1];
sizeDetailsCollection23.Add(new SizeDescription(sizeInCm23, nativeSize23, siteType23));
List<SizeDescription> sizeDetailsCollection24 = StringExtensions.SizeDetailsCollection;
string sizeInCm24 = "28.3";
string nativeSize24 = "11.5";
SiteType[] siteType24 = new SiteType[1];
sizeDetailsCollection24.Add(new SizeDescription(sizeInCm24, nativeSize24, siteType24));
List<SizeDescription> sizeDetailsCollection25 = StringExtensions.SizeDetailsCollection;
string sizeInCm25 = "28.8";
string nativeSize25 = "12";
SiteType[] siteType25 = new SiteType[1];
sizeDetailsCollection25.Add(new SizeDescription(sizeInCm25, nativeSize25, siteType25));
List<SizeDescription> sizeDetailsCollection26 = StringExtensions.SizeDetailsCollection;
string sizeInCm26 = "29.2";
string nativeSize26 = "12.5";
SiteType[] siteType26 = new SiteType[1];
sizeDetailsCollection26.Add(new SizeDescription(sizeInCm26, nativeSize26, siteType26));
List<SizeDescription> sizeDetailsCollection27 = StringExtensions.SizeDetailsCollection;
string sizeInCm27 = "29.6";
string nativeSize27 = "13";
SiteType[] siteType27 = new SiteType[1];
sizeDetailsCollection27.Add(new SizeDescription(sizeInCm27, nativeSize27, siteType27));
List<SizeDescription> sizeDetailsCollection28 = StringExtensions.SizeDetailsCollection;
string sizeInCm28 = "30";
string nativeSize28 = "13.5";
SiteType[] siteType28 = new SiteType[1];
sizeDetailsCollection28.Add(new SizeDescription(sizeInCm28, nativeSize28, siteType28));
List<SizeDescription> sizeDetailsCollection29 = StringExtensions.SizeDetailsCollection;
string sizeInCm29 = "30.5";
string nativeSize29 = "14";
SiteType[] siteType29 = new SiteType[1];
sizeDetailsCollection29.Add(new SizeDescription(sizeInCm29, nativeSize29, siteType29));
List<SizeDescription> sizeDetailsCollection30 = StringExtensions.SizeDetailsCollection;
string sizeInCm30 = "31.3";
string nativeSize30 = "15";
SiteType[] siteType30 = new SiteType[1];
sizeDetailsCollection30.Add(new SizeDescription(sizeInCm30, nativeSize30, siteType30));
List<SizeDescription> sizeDetailsCollection31 = StringExtensions.SizeDetailsCollection;
string sizeInCm31 = "32.2";
string nativeSize31 = "16";
SiteType[] siteType31 = new SiteType[1];
sizeDetailsCollection31.Add(new SizeDescription(sizeInCm31, nativeSize31, siteType31));
List<SizeDescription> sizeDetailsCollection32 = StringExtensions.SizeDetailsCollection;
string sizeInCm32 = "33";
string nativeSize32 = "17";
SiteType[] siteType32 = new SiteType[1];
sizeDetailsCollection32.Add(new SizeDescription(sizeInCm32, nativeSize32, siteType32));
List<SizeDescription> sizeDetailsCollection33 = StringExtensions.SizeDetailsCollection;
string sizeInCm33 = "33.9";
string nativeSize33 = "18";
SiteType[] siteType33 = new SiteType[1];
sizeDetailsCollection33.Add(new SizeDescription(sizeInCm33, nativeSize33, siteType33));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("22", "36", new SiteType[]
{
SiteType.NikeFR,
SiteType.NikeDE,
SiteType.NikeIT
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("22.4", "36.5", new SiteType[]
{
SiteType.NikeFR,
SiteType.NikeDE,
SiteType.NikeIT
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("22.9", "37.5", new SiteType[]
{
SiteType.NikeFR,
SiteType.NikeDE,
SiteType.NikeIT
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("23.3", "38", new SiteType[]
{
SiteType.NikeFR,
SiteType.NikeDE,
SiteType.NikeIT
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("23.7", "38.5", new SiteType[]
{
SiteType.NikeFR,
SiteType.NikeDE,
SiteType.NikeIT
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("24.1", "39", new SiteType[]
{
SiteType.NikeFR,
SiteType.NikeDE,
SiteType.NikeIT
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("24.5", "40", new SiteType[]
{
SiteType.NikeFR,
SiteType.NikeDE,
SiteType.NikeIT
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("25", "40.5", new SiteType[]
{
SiteType.NikeFR,
SiteType.NikeDE,
SiteType.NikeIT
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("25.4", "41", new SiteType[]
{
SiteType.NikeFR,
SiteType.NikeDE,
SiteType.NikeIT
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("25.8", "42", new SiteType[]
{
SiteType.NikeFR,
SiteType.NikeDE,
SiteType.NikeIT
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("26.2", "42.5", new SiteType[]
{
SiteType.NikeFR,
SiteType.NikeDE,
SiteType.NikeIT
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("26.7", "43", new SiteType[]
{
SiteType.NikeFR,
SiteType.NikeDE,
SiteType.NikeIT
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("27.1", "44", new SiteType[]
{
SiteType.NikeFR,
SiteType.NikeDE,
SiteType.NikeIT
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("27.5", "44.5", new SiteType[]
{
SiteType.NikeFR,
SiteType.NikeDE,
SiteType.NikeIT
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("27.9", "45", new SiteType[]
{
SiteType.NikeFR,
SiteType.NikeDE,
SiteType.NikeIT
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("28.3", "45.5", new SiteType[]
{
SiteType.NikeFR,
SiteType.NikeDE,
SiteType.NikeIT
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("28.8", "46", new SiteType[]
{
SiteType.NikeFR,
SiteType.NikeDE,
SiteType.NikeIT
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("29.2", "47", new SiteType[]
{
SiteType.NikeFR,
SiteType.NikeDE,
SiteType.NikeIT
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("29.6", "47.5", new SiteType[]
{
SiteType.NikeFR,
SiteType.NikeDE,
SiteType.NikeIT
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("30", "48", new SiteType[]
{
SiteType.NikeFR,
SiteType.NikeDE,
SiteType.NikeIT
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("30.5", "48.5", new SiteType[]
{
SiteType.NikeFR,
SiteType.NikeDE,
SiteType.NikeIT
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("31.3", "49", new SiteType[]
{
SiteType.NikeFR,
SiteType.NikeDE,
SiteType.NikeIT
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("32.2", "49.5", new SiteType[]
{
SiteType.NikeFR,
SiteType.NikeDE,
SiteType.NikeIT
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("33", "50", new SiteType[]
{
SiteType.NikeFR,
SiteType.NikeDE,
SiteType.NikeIT
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("33.9", "50.5", new SiteType[]
{
SiteType.NikeFR,
SiteType.NikeDE,
SiteType.NikeIT
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("21.6", "3", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("22", "3.5", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("22.4", "4", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("22.9", "4.5", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("23.3", "5", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("23.7", "5.5", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("24.1", "6", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("24.5", "6", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("22", "3.5", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("22.4", "4", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("22.9", "4.5", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("23.3", "5", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("23.7", "5.5", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("24.1", "6", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("24.5", "6", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("25", "6.5", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("25.4", "7", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("25.8", "7.5", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("26.2", "8", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("26.7", "8.5", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("27.1", "9", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("27.5", "9.5", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("27.9", "10", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("28.3", "10.5", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("28.8", "11", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("29.2", "11.5", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("29.6", "12", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("30", "12.5", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("30.5", "13", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("31.3", "13.5", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("32.2", "14", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("33", "14.5", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("33.9", "15", new SiteType[]
{
SiteType.NikeUK
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("22", "23", new SiteType[]
{
SiteType.NikeJP
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("22.4", "23.5", new SiteType[]
{
SiteType.NikeJP
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("22.9", "23.5", new SiteType[]
{
SiteType.NikeJP
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("23.3", "24", new SiteType[]
{
SiteType.NikeJP
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("23.7", "24", new SiteType[]
{
SiteType.NikeJP
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("24.1", "24.5", new SiteType[]
{
SiteType.NikeJP
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("24.5", "25", new SiteType[]
{
SiteType.NikeJP
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("25", "25.5", new SiteType[]
{
SiteType.NikeJP
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("25.4", "26", new SiteType[]
{
SiteType.NikeJP
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("25.8", "26.5", new SiteType[]
{
SiteType.NikeJP
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("26.2", "27", new SiteType[]
{
SiteType.NikeJP
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("26.7", "27.5", new SiteType[]
{
SiteType.NikeJP
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("27.1", "28", new SiteType[]
{
SiteType.NikeJP
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("27.5", "28.5", new SiteType[]
{
SiteType.NikeJP
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("27.9", "29", new SiteType[]
{
SiteType.NikeJP
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("28.3", "29.5", new SiteType[]
{
SiteType.NikeJP
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("28.8", "30", new SiteType[]
{
SiteType.NikeJP
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("29.2", "30.5", new SiteType[]
{
SiteType.NikeJP
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("29.6", "31", new SiteType[]
{
SiteType.NikeJP
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("30", "31.5", new SiteType[]
{
SiteType.NikeJP
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("30.5", "32", new SiteType[]
{
SiteType.NikeJP
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("31.3", "32.5", new SiteType[]
{
SiteType.NikeJP
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("32.2", "33", new SiteType[]
{
SiteType.NikeJP
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("33", "33.5", new SiteType[]
{
SiteType.NikeJP
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("33.9", "34", new SiteType[]
{
SiteType.NikeJP
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("22", "36", new SiteType[]
{
SiteType.NikeCN
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("22.4", "36.5", new SiteType[]
{
SiteType.NikeCN
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("22.9", "37.5", new SiteType[]
{
SiteType.NikeCN
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("23.3", "38", new SiteType[]
{
SiteType.NikeCN
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("23.7", "38.5", new SiteType[]
{
SiteType.NikeCN
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("24.1", "39", new SiteType[]
{
SiteType.NikeCN
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("24.5", "40", new SiteType[]
{
SiteType.NikeCN
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("25", "40.5", new SiteType[]
{
SiteType.NikeCN
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("25.4", "41", new SiteType[]
{
SiteType.NikeCN
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("25.8", "42", new SiteType[]
{
SiteType.NikeCN
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("26.2", "42.5", new SiteType[]
{
SiteType.NikeCN
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("26.7", "43", new SiteType[]
{
SiteType.NikeCN
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("27.1", "44", new SiteType[]
{
SiteType.NikeCN
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("27.5", "44.5", new SiteType[]
{
SiteType.NikeCN
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("27.9", "45", new SiteType[]
{
SiteType.NikeCN
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("28.3", "45.5", new SiteType[]
{
SiteType.NikeCN
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("28.8", "46", new SiteType[]
{
SiteType.NikeCN
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("29.2", "47", new SiteType[]
{
SiteType.NikeCN
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("29.6", "47.5", new SiteType[]
{
SiteType.NikeCN
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("30", "48", new SiteType[]
{
SiteType.NikeCN
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("30.5", "48.5", new SiteType[]
{
SiteType.NikeCN
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("31.3", "49", new SiteType[]
{
SiteType.NikeCN
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("32.2", "49.5", new SiteType[]
{
SiteType.NikeCN
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("33", "50", new SiteType[]
{
SiteType.NikeCN
}));
StringExtensions.SizeDetailsCollection.Add(new SizeDescription("33.9", "50.5", new SiteType[]
{
SiteType.NikeCN
}));
}
// Token: 0x060002F3 RID: 755 RVA: 0x00003712 File Offset: 0x00001912
public static bool IsNikeUrl(this string url)
{
return url.ContainsAny(NikeUrls.MatchUrls);
}
// Token: 0x060002F4 RID: 756 RVA: 0x0000371F File Offset: 0x0000191F
public static bool IsNikeCollection(this string url)
{
return url.ContainsAny((from s in NikeUrls.MatchUrls
where s.EndsWith("pw/")
select s).ToArray<string>());
}
// Token: 0x060002F5 RID: 757 RVA: 0x0002EB1C File Offset: 0x0002CD1C
public static string ConvertToNativeSize(this string sizeDescription)
{
if (NikeUrls.NikeCountryCode == "US")
{
return sizeDescription;
}
string result;
try
{
SizeDescription cmSize = (from s in StringExtensions.SizeDetailsCollection
where s.SiteType.Contains(SiteType.NikeUS)
select s).FirstOrDefault((SizeDescription s) => s.NativeSize == sizeDescription);
SizeDescription sizeDescription2 = (from s in StringExtensions.SizeDetailsCollection
where s.SiteType.Contains(Form1.SiteType)
select s).FirstOrDefault((SizeDescription s) => s.SizeInCm == cmSize.SizeInCm);
result = sizeDescription2.NativeSize;
}
catch (Exception)
{
result = sizeDescription;
}
return result;
}
// Token: 0x040002F7 RID: 759
public static List<SizeDescription> SizeDetailsCollection = new List<SizeDescription>();
}
}