-
Notifications
You must be signed in to change notification settings - Fork 0
/
session.py
6338 lines (6331 loc) · 179 KB
/
session.py
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
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Define expressions
# Write color tables
ct = ColorControlPointList()
p0 = ColorControlPoint()
p0.colors = (230, 24, 74, 255)
p0.position = 0.0
ct.AddControlPoints(p0)
p1 = ColorControlPoint()
p1.colors = (59, 180, 74, 255)
p1.position = 0.0480000004172
ct.AddControlPoints(p1)
p2 = ColorControlPoint()
p2.colors = (255, 224, 24, 255)
p2.position = 0.0949999988079
ct.AddControlPoints(p2)
p3 = ColorControlPoint()
p3.colors = (0, 130, 255, 255)
p3.position = 0.143000006676
ct.AddControlPoints(p3)
p4 = ColorControlPoint()
p4.colors = (245, 130, 47, 255)
p4.position = 0.189999997616
ct.AddControlPoints(p4)
p5 = ColorControlPoint()
p5.colors = (145, 30, 180, 255)
p5.position = 0.238000005484
ct.AddControlPoints(p5)
p6 = ColorControlPoint()
p6.colors = (70, 239, 239, 255)
p6.position = 0.286000013351
ct.AddControlPoints(p6)
p7 = ColorControlPoint()
p7.colors = (239, 49, 230, 255)
p7.position = 0.333000004292
ct.AddControlPoints(p7)
p8 = ColorControlPoint()
p8.colors = (210, 245, 59, 255)
p8.position = 0.381000012159
ct.AddControlPoints(p8)
p9 = ColorControlPoint()
p9.colors = (249, 189, 189, 255)
p9.position = 0.428999990225
ct.AddControlPoints(p9)
p10 = ColorControlPoint()
p10.colors = (0, 128, 128, 255)
p10.position = 0.476000010967
ct.AddControlPoints(p10)
p11 = ColorControlPoint()
p11.colors = (230, 189, 255, 255)
p11.position = 0.523999989033
ct.AddControlPoints(p11)
p12 = ColorControlPoint()
p12.colors = (170, 109, 40, 255)
p12.position = 0.570999979973
ct.AddControlPoints(p12)
p13 = ColorControlPoint()
p13.colors = (255, 249, 199, 255)
p13.position = 0.619000017643
ct.AddControlPoints(p13)
p14 = ColorControlPoint()
p14.colors = (128, 0, 0, 255)
p14.position = 0.666999995708
ct.AddControlPoints(p14)
p15 = ColorControlPoint()
p15.colors = (170, 255, 195, 255)
p15.position = 0.713999986649
ct.AddControlPoints(p15)
p16 = ColorControlPoint()
p16.colors = (128, 128, 0, 255)
p16.position = 0.762000024319
ct.AddControlPoints(p16)
p17 = ColorControlPoint()
p17.colors = (255, 214, 180, 255)
p17.position = 0.810000002384
ct.AddControlPoints(p17)
p18 = ColorControlPoint()
p18.colors = (0, 0, 128, 255)
p18.position = 0.856999993324
ct.AddControlPoints(p18)
p19 = ColorControlPoint()
p19.colors = (128, 128, 128, 255)
p19.position = 0.90499997139
ct.AddControlPoints(p19)
p20 = ColorControlPoint()
p20.colors = (255, 255, 255, 255)
p20.position = 0.952000021935
ct.AddControlPoints(p20)
p21 = ColorControlPoint()
p21.colors = (0, 0, 0, 255)
p21.position = 1.0
ct.AddControlPoints(p21)
AddColorTable("distinct", ct)
ct = ColorControlPointList()
p0 = ColorControlPoint()
p0.colors = (0, 0, 3, 255)
p0.position = 0.0
ct.AddControlPoints(p0)
p1 = ColorControlPoint()
p1.colors = (0, 0, 4, 255)
p1.position = 0.00392156885937
ct.AddControlPoints(p1)
p2 = ColorControlPoint()
p2.colors = (0, 0, 6, 255)
p2.position = 0.00784313771874
ct.AddControlPoints(p2)
p3 = ColorControlPoint()
p3.colors = (1, 0, 7, 255)
p3.position = 0.0117647098377
ct.AddControlPoints(p3)
p4 = ColorControlPoint()
p4.colors = (1, 1, 9, 255)
p4.position = 0.0156862791628
ct.AddControlPoints(p4)
p5 = ColorControlPoint()
p5.colors = (1, 1, 11, 255)
p5.position = 0.0196078401059
ct.AddControlPoints(p5)
p6 = ColorControlPoint()
p6.colors = (2, 1, 14, 255)
p6.position = 0.0235294103622
ct.AddControlPoints(p6)
p7 = ColorControlPoint()
p7.colors = (2, 2, 16, 255)
p7.position = 0.0274509806186
ct.AddControlPoints(p7)
p8 = ColorControlPoint()
p8.colors = (3, 2, 18, 255)
p8.position = 0.0313725508749
ct.AddControlPoints(p8)
p9 = ColorControlPoint()
p9.colors = (4, 3, 20, 255)
p9.position = 0.0352941192687
ct.AddControlPoints(p9)
p10 = ColorControlPoint()
p10.colors = (4, 3, 22, 255)
p10.position = 0.0392156913877
ct.AddControlPoints(p10)
p11 = ColorControlPoint()
p11.colors = (5, 4, 24, 255)
p11.position = 0.0431372597814
ct.AddControlPoints(p11)
p12 = ColorControlPoint()
p12.colors = (6, 4, 27, 255)
p12.position = 0.0470588207245
ct.AddControlPoints(p12)
p13 = ColorControlPoint()
p13.colors = (7, 5, 29, 255)
p13.position = 0.0509803891182
ct.AddControlPoints(p13)
p14 = ColorControlPoint()
p14.colors = (8, 6, 31, 255)
p14.position = 0.0549019612372
ct.AddControlPoints(p14)
p15 = ColorControlPoint()
p15.colors = (9, 6, 33, 255)
p15.position = 0.0588235296309
ct.AddControlPoints(p15)
p16 = ColorControlPoint()
p16.colors = (10, 7, 35, 255)
p16.position = 0.0627451017499
ct.AddControlPoints(p16)
p17 = ColorControlPoint()
p17.colors = (11, 7, 38, 255)
p17.position = 0.0666666701436
ct.AddControlPoints(p17)
p18 = ColorControlPoint()
p18.colors = (13, 8, 40, 255)
p18.position = 0.0705882385373
ct.AddControlPoints(p18)
p19 = ColorControlPoint()
p19.colors = (14, 8, 42, 255)
p19.position = 0.074509806931
ct.AddControlPoints(p19)
p20 = ColorControlPoint()
p20.colors = (15, 9, 45, 255)
p20.position = 0.0784313827753
ct.AddControlPoints(p20)
p21 = ColorControlPoint()
p21.colors = (16, 9, 47, 255)
p21.position = 0.0823529437184
ct.AddControlPoints(p21)
p22 = ColorControlPoint()
p22.colors = (18, 10, 50, 255)
p22.position = 0.0862745121121
ct.AddControlPoints(p22)
p23 = ColorControlPoint()
p23.colors = (19, 10, 52, 255)
p23.position = 0.0901960805058
ct.AddControlPoints(p23)
p24 = ColorControlPoint()
p24.colors = (20, 11, 54, 255)
p24.position = 0.0941176488996
ct.AddControlPoints(p24)
p25 = ColorControlPoint()
p25.colors = (22, 11, 57, 255)
p25.position = 0.0980392172933
ct.AddControlPoints(p25)
p26 = ColorControlPoint()
p26.colors = (23, 11, 59, 255)
p26.position = 0.101960800588
ct.AddControlPoints(p26)
p27 = ColorControlPoint()
p27.colors = (25, 11, 62, 255)
p27.position = 0.105882398784
ct.AddControlPoints(p27)
p28 = ColorControlPoint()
p28.colors = (26, 11, 64, 255)
p28.position = 0.109803900123
ct.AddControlPoints(p28)
p29 = ColorControlPoint()
p29.colors = (28, 12, 67, 255)
p29.position = 0.113725498319
ct.AddControlPoints(p29)
p30 = ColorControlPoint()
p30.colors = (29, 12, 69, 255)
p30.position = 0.117647096515
ct.AddControlPoints(p30)
p31 = ColorControlPoint()
p31.colors = (31, 12, 71, 255)
p31.position = 0.121568597853
ct.AddControlPoints(p31)
p32 = ColorControlPoint()
p32.colors = (32, 12, 74, 255)
p32.position = 0.1254902035
ct.AddControlPoints(p32)
p33 = ColorControlPoint()
p33.colors = (34, 11, 76, 255)
p33.position = 0.129411801696
ct.AddControlPoints(p33)
p34 = ColorControlPoint()
p34.colors = (36, 11, 78, 255)
p34.position = 0.133333295584
ct.AddControlPoints(p34)
p35 = ColorControlPoint()
p35.colors = (38, 11, 80, 255)
p35.position = 0.13725489378
ct.AddControlPoints(p35)
p36 = ColorControlPoint()
p36.colors = (39, 11, 82, 255)
p36.position = 0.141176506877
ct.AddControlPoints(p36)
p37 = ColorControlPoint()
p37.colors = (41, 11, 84, 255)
p37.position = 0.145098000765
ct.AddControlPoints(p37)
p38 = ColorControlPoint()
p38.colors = (43, 10, 86, 255)
p38.position = 0.149019598961
ct.AddControlPoints(p38)
p39 = ColorControlPoint()
p39.colors = (45, 10, 88, 255)
p39.position = 0.152941197157
ct.AddControlPoints(p39)
p40 = ColorControlPoint()
p40.colors = (46, 10, 90, 255)
p40.position = 0.156862795353
ct.AddControlPoints(p40)
p41 = ColorControlPoint()
p41.colors = (48, 10, 92, 255)
p41.position = 0.160784304142
ct.AddControlPoints(p41)
p42 = ColorControlPoint()
p42.colors = (50, 9, 93, 255)
p42.position = 0.164705902338
ct.AddControlPoints(p42)
p43 = ColorControlPoint()
p43.colors = (52, 9, 95, 255)
p43.position = 0.168627500534
ct.AddControlPoints(p43)
p44 = ColorControlPoint()
p44.colors = (53, 9, 96, 255)
p44.position = 0.172548994422
ct.AddControlPoints(p44)
p45 = ColorControlPoint()
p45.colors = (55, 9, 97, 255)
p45.position = 0.176470592618
ct.AddControlPoints(p45)
p46 = ColorControlPoint()
p46.colors = (57, 9, 98, 255)
p46.position = 0.180392205715
ct.AddControlPoints(p46)
p47 = ColorControlPoint()
p47.colors = (59, 9, 100, 255)
p47.position = 0.184313699603
ct.AddControlPoints(p47)
p48 = ColorControlPoint()
p48.colors = (60, 9, 101, 255)
p48.position = 0.188235297799
ct.AddControlPoints(p48)
p49 = ColorControlPoint()
p49.colors = (62, 9, 102, 255)
p49.position = 0.192156895995
ct.AddControlPoints(p49)
p50 = ColorControlPoint()
p50.colors = (64, 9, 102, 255)
p50.position = 0.196078404784
ct.AddControlPoints(p50)
p51 = ColorControlPoint()
p51.colors = (65, 9, 103, 255)
p51.position = 0.20000000298
ct.AddControlPoints(p51)
p52 = ColorControlPoint()
p52.colors = (67, 10, 104, 255)
p52.position = 0.203921601176
ct.AddControlPoints(p52)
p53 = ColorControlPoint()
p53.colors = (69, 10, 105, 255)
p53.position = 0.207843095064
ct.AddControlPoints(p53)
p54 = ColorControlPoint()
p54.colors = (70, 10, 105, 255)
p54.position = 0.21176469326
ct.AddControlPoints(p54)
p55 = ColorControlPoint()
p55.colors = (72, 11, 106, 255)
p55.position = 0.215686306357
ct.AddControlPoints(p55)
p56 = ColorControlPoint()
p56.colors = (74, 11, 106, 255)
p56.position = 0.219607800245
ct.AddControlPoints(p56)
p57 = ColorControlPoint()
p57.colors = (75, 12, 107, 255)
p57.position = 0.223529398441
ct.AddControlPoints(p57)
p58 = ColorControlPoint()
p58.colors = (77, 12, 107, 255)
p58.position = 0.227450996637
ct.AddControlPoints(p58)
p59 = ColorControlPoint()
p59.colors = (79, 13, 108, 255)
p59.position = 0.231372594833
ct.AddControlPoints(p59)
p60 = ColorControlPoint()
p60.colors = (80, 13, 108, 255)
p60.position = 0.235294103622
ct.AddControlPoints(p60)
p61 = ColorControlPoint()
p61.colors = (82, 14, 108, 255)
p61.position = 0.239215701818
ct.AddControlPoints(p61)
p62 = ColorControlPoint()
p62.colors = (83, 14, 109, 255)
p62.position = 0.243137300014
ct.AddControlPoints(p62)
p63 = ColorControlPoint()
p63.colors = (85, 15, 109, 255)
p63.position = 0.247058793902
ct.AddControlPoints(p63)
p64 = ColorControlPoint()
p64.colors = (87, 15, 109, 255)
p64.position = 0.250980407
ct.AddControlPoints(p64)
p65 = ColorControlPoint()
p65.colors = (88, 16, 109, 255)
p65.position = 0.254902005196
ct.AddControlPoints(p65)
p66 = ColorControlPoint()
p66.colors = (90, 17, 109, 255)
p66.position = 0.258823513985
ct.AddControlPoints(p66)
p67 = ColorControlPoint()
p67.colors = (91, 17, 110, 255)
p67.position = 0.262745112181
ct.AddControlPoints(p67)
p68 = ColorControlPoint()
p68.colors = (93, 18, 110, 255)
p68.position = 0.266666710377
ct.AddControlPoints(p68)
p69 = ColorControlPoint()
p69.colors = (95, 18, 110, 255)
p69.position = 0.270588189363
ct.AddControlPoints(p69)
p70 = ColorControlPoint()
p70.colors = (96, 19, 110, 255)
p70.position = 0.27450978756
ct.AddControlPoints(p70)
p71 = ColorControlPoint()
p71.colors = (98, 20, 110, 255)
p71.position = 0.278431385756
ct.AddControlPoints(p71)
p72 = ColorControlPoint()
p72.colors = (99, 20, 110, 255)
p72.position = 0.282353013754
ct.AddControlPoints(p72)
p73 = ColorControlPoint()
p73.colors = (101, 21, 110, 255)
p73.position = 0.286274492741
ct.AddControlPoints(p73)
p74 = ColorControlPoint()
p74.colors = (102, 21, 110, 255)
p74.position = 0.290196090937
ct.AddControlPoints(p74)
p75 = ColorControlPoint()
p75.colors = (104, 22, 110, 255)
p75.position = 0.294117689133
ct.AddControlPoints(p75)
p76 = ColorControlPoint()
p76.colors = (106, 23, 110, 255)
p76.position = 0.298039197922
ct.AddControlPoints(p76)
p77 = ColorControlPoint()
p77.colors = (107, 23, 110, 255)
p77.position = 0.301960796118
ct.AddControlPoints(p77)
p78 = ColorControlPoint()
p78.colors = (109, 24, 110, 255)
p78.position = 0.305882394314
ct.AddControlPoints(p78)
p79 = ColorControlPoint()
p79.colors = (110, 24, 110, 255)
p79.position = 0.309803903103
ct.AddControlPoints(p79)
p80 = ColorControlPoint()
p80.colors = (112, 25, 110, 255)
p80.position = 0.313725501299
ct.AddControlPoints(p80)
p81 = ColorControlPoint()
p81.colors = (114, 25, 109, 255)
p81.position = 0.317647099495
ct.AddControlPoints(p81)
p82 = ColorControlPoint()
p82.colors = (115, 26, 109, 255)
p82.position = 0.321568608284
ct.AddControlPoints(p82)
p83 = ColorControlPoint()
p83.colors = (117, 27, 109, 255)
p83.position = 0.32549020648
ct.AddControlPoints(p83)
p84 = ColorControlPoint()
p84.colors = (118, 27, 109, 255)
p84.position = 0.329411804676
ct.AddControlPoints(p84)
p85 = ColorControlPoint()
p85.colors = (120, 28, 109, 255)
p85.position = 0.333333313465
ct.AddControlPoints(p85)
p86 = ColorControlPoint()
p86.colors = (122, 28, 109, 255)
p86.position = 0.337254911661
ct.AddControlPoints(p86)
p87 = ColorControlPoint()
p87.colors = (123, 29, 108, 255)
p87.position = 0.341176509857
ct.AddControlPoints(p87)
p88 = ColorControlPoint()
p88.colors = (125, 29, 108, 255)
p88.position = 0.345097988844
ct.AddControlPoints(p88)
p89 = ColorControlPoint()
p89.colors = (126, 30, 108, 255)
p89.position = 0.34901958704
ct.AddControlPoints(p89)
p90 = ColorControlPoint()
p90.colors = (128, 31, 107, 255)
p90.position = 0.352941185236
ct.AddControlPoints(p90)
p91 = ColorControlPoint()
p91.colors = (129, 31, 107, 255)
p91.position = 0.356862813234
ct.AddControlPoints(p91)
p92 = ColorControlPoint()
p92.colors = (131, 32, 107, 255)
p92.position = 0.360784292221
ct.AddControlPoints(p92)
p93 = ColorControlPoint()
p93.colors = (133, 32, 106, 255)
p93.position = 0.364705890417
ct.AddControlPoints(p93)
p94 = ColorControlPoint()
p94.colors = (134, 33, 106, 255)
p94.position = 0.368627488613
ct.AddControlPoints(p94)
p95 = ColorControlPoint()
p95.colors = (136, 33, 106, 255)
p95.position = 0.372548997402
ct.AddControlPoints(p95)
p96 = ColorControlPoint()
p96.colors = (137, 34, 105, 255)
p96.position = 0.376470595598
ct.AddControlPoints(p96)
p97 = ColorControlPoint()
p97.colors = (139, 34, 105, 255)
p97.position = 0.380392193794
ct.AddControlPoints(p97)
p98 = ColorControlPoint()
p98.colors = (141, 35, 105, 255)
p98.position = 0.384313702583
ct.AddControlPoints(p98)
p99 = ColorControlPoint()
p99.colors = (142, 36, 104, 255)
p99.position = 0.388235300779
ct.AddControlPoints(p99)
p100 = ColorControlPoint()
p100.colors = (144, 36, 104, 255)
p100.position = 0.392156898975
ct.AddControlPoints(p100)
p101 = ColorControlPoint()
p101.colors = (145, 37, 103, 255)
p101.position = 0.396078407764
ct.AddControlPoints(p101)
p102 = ColorControlPoint()
p102.colors = (147, 37, 103, 255)
p102.position = 0.40000000596
ct.AddControlPoints(p102)
p103 = ColorControlPoint()
p103.colors = (149, 38, 102, 255)
p103.position = 0.403921604156
ct.AddControlPoints(p103)
p104 = ColorControlPoint()
p104.colors = (150, 38, 102, 255)
p104.position = 0.407843112946
ct.AddControlPoints(p104)
p105 = ColorControlPoint()
p105.colors = (152, 39, 101, 255)
p105.position = 0.411764711142
ct.AddControlPoints(p105)
p106 = ColorControlPoint()
p106.colors = (153, 40, 100, 255)
p106.position = 0.415686309338
ct.AddControlPoints(p106)
p107 = ColorControlPoint()
p107.colors = (155, 40, 100, 255)
p107.position = 0.419607788324
ct.AddControlPoints(p107)
p108 = ColorControlPoint()
p108.colors = (156, 41, 99, 255)
p108.position = 0.42352938652
ct.AddControlPoints(p108)
p109 = ColorControlPoint()
p109.colors = (158, 41, 99, 255)
p109.position = 0.427451014519
ct.AddControlPoints(p109)
p110 = ColorControlPoint()
p110.colors = (160, 42, 98, 255)
p110.position = 0.431372612715
ct.AddControlPoints(p110)
p111 = ColorControlPoint()
p111.colors = (161, 43, 97, 255)
p111.position = 0.435294091702
ct.AddControlPoints(p111)
p112 = ColorControlPoint()
p112.colors = (163, 43, 97, 255)
p112.position = 0.439215689898
ct.AddControlPoints(p112)
p113 = ColorControlPoint()
p113.colors = (164, 44, 96, 255)
p113.position = 0.443137288094
ct.AddControlPoints(p113)
p114 = ColorControlPoint()
p114.colors = (166, 44, 95, 255)
p114.position = 0.447058796883
ct.AddControlPoints(p114)
p115 = ColorControlPoint()
p115.colors = (167, 45, 95, 255)
p115.position = 0.450980395079
ct.AddControlPoints(p115)
p116 = ColorControlPoint()
p116.colors = (169, 46, 94, 255)
p116.position = 0.454901993275
ct.AddControlPoints(p116)
p117 = ColorControlPoint()
p117.colors = (171, 46, 93, 255)
p117.position = 0.458823502064
ct.AddControlPoints(p117)
p118 = ColorControlPoint()
p118.colors = (172, 47, 92, 255)
p118.position = 0.46274510026
ct.AddControlPoints(p118)
p119 = ColorControlPoint()
p119.colors = (174, 48, 91, 255)
p119.position = 0.466666698456
ct.AddControlPoints(p119)
p120 = ColorControlPoint()
p120.colors = (175, 49, 91, 255)
p120.position = 0.470588207245
ct.AddControlPoints(p120)
p121 = ColorControlPoint()
p121.colors = (177, 49, 90, 255)
p121.position = 0.474509805441
ct.AddControlPoints(p121)
p122 = ColorControlPoint()
p122.colors = (178, 50, 89, 255)
p122.position = 0.478431403637
ct.AddControlPoints(p122)
p123 = ColorControlPoint()
p123.colors = (180, 51, 88, 255)
p123.position = 0.482352912426
ct.AddControlPoints(p123)
p124 = ColorControlPoint()
p124.colors = (181, 51, 87, 255)
p124.position = 0.486274510622
ct.AddControlPoints(p124)
p125 = ColorControlPoint()
p125.colors = (183, 52, 86, 255)
p125.position = 0.490196108818
ct.AddControlPoints(p125)
p126 = ColorControlPoint()
p126.colors = (184, 53, 86, 255)
p126.position = 0.494117587805
ct.AddControlPoints(p126)
p127 = ColorControlPoint()
p127.colors = (186, 54, 85, 255)
p127.position = 0.498039186001
ct.AddControlPoints(p127)
p128 = ColorControlPoint()
p128.colors = (187, 55, 84, 255)
p128.position = 0.501960813999
ct.AddControlPoints(p128)
p129 = ColorControlPoint()
p129.colors = (189, 55, 83, 255)
p129.position = 0.505882382393
ct.AddControlPoints(p129)
p130 = ColorControlPoint()
p130.colors = (190, 56, 82, 255)
p130.position = 0.509804010391
ct.AddControlPoints(p130)
p131 = ColorControlPoint()
p131.colors = (191, 57, 81, 255)
p131.position = 0.51372551918
ct.AddControlPoints(p131)
p132 = ColorControlPoint()
p132.colors = (193, 58, 80, 255)
p132.position = 0.517647087574
ct.AddControlPoints(p132)
p133 = ColorControlPoint()
p133.colors = (194, 59, 79, 255)
p133.position = 0.521568715572
ct.AddControlPoints(p133)
p134 = ColorControlPoint()
p134.colors = (196, 60, 78, 255)
p134.position = 0.525490224361
ct.AddControlPoints(p134)
p135 = ColorControlPoint()
p135.colors = (197, 61, 77, 255)
p135.position = 0.529411792755
ct.AddControlPoints(p135)
p136 = ColorControlPoint()
p136.colors = (199, 62, 76, 255)
p136.position = 0.533333420753
ct.AddControlPoints(p136)
p137 = ColorControlPoint()
p137.colors = (200, 62, 75, 255)
p137.position = 0.537254929543
ct.AddControlPoints(p137)
p138 = ColorControlPoint()
p138.colors = (201, 63, 74, 255)
p138.position = 0.541176497936
ct.AddControlPoints(p138)
p139 = ColorControlPoint()
p139.colors = (203, 64, 73, 255)
p139.position = 0.545098125935
ct.AddControlPoints(p139)
p140 = ColorControlPoint()
p140.colors = (204, 65, 72, 255)
p140.position = 0.549019575119
ct.AddControlPoints(p140)
p141 = ColorControlPoint()
p141.colors = (205, 66, 71, 255)
p141.position = 0.552941203117
ct.AddControlPoints(p141)
p142 = ColorControlPoint()
p142.colors = (207, 68, 70, 255)
p142.position = 0.556862771511
ct.AddControlPoints(p142)
p143 = ColorControlPoint()
p143.colors = (208, 69, 68, 255)
p143.position = 0.5607842803
ct.AddControlPoints(p143)
p144 = ColorControlPoint()
p144.colors = (209, 70, 67, 255)
p144.position = 0.564705908298
ct.AddControlPoints(p144)
p145 = ColorControlPoint()
p145.colors = (210, 71, 66, 255)
p145.position = 0.568627476692
ct.AddControlPoints(p145)
p146 = ColorControlPoint()
p146.colors = (212, 72, 65, 255)
p146.position = 0.572548985481
ct.AddControlPoints(p146)
p147 = ColorControlPoint()
p147.colors = (213, 73, 64, 255)
p147.position = 0.57647061348
ct.AddControlPoints(p147)
p148 = ColorControlPoint()
p148.colors = (214, 74, 63, 255)
p148.position = 0.580392181873
ct.AddControlPoints(p148)
p149 = ColorControlPoint()
p149.colors = (215, 75, 62, 255)
p149.position = 0.584313809872
ct.AddControlPoints(p149)
p150 = ColorControlPoint()
p150.colors = (217, 77, 61, 255)
p150.position = 0.588235318661
ct.AddControlPoints(p150)
p151 = ColorControlPoint()
p151.colors = (218, 78, 59, 255)
p151.position = 0.592156887054
ct.AddControlPoints(p151)
p152 = ColorControlPoint()
p152.colors = (219, 79, 58, 255)
p152.position = 0.596078515053
ct.AddControlPoints(p152)
p153 = ColorControlPoint()
p153.colors = (220, 80, 57, 255)
p153.position = 0.600000023842
ct.AddControlPoints(p153)
p154 = ColorControlPoint()
p154.colors = (221, 82, 56, 255)
p154.position = 0.603921592236
ct.AddControlPoints(p154)
p155 = ColorControlPoint()
p155.colors = (222, 83, 55, 255)
p155.position = 0.607843220234
ct.AddControlPoints(p155)
p156 = ColorControlPoint()
p156.colors = (223, 84, 54, 255)
p156.position = 0.611764729023
ct.AddControlPoints(p156)
p157 = ColorControlPoint()
p157.colors = (224, 86, 52, 255)
p157.position = 0.615686297417
ct.AddControlPoints(p157)
p158 = ColorControlPoint()
p158.colors = (226, 87, 51, 255)
p158.position = 0.619607925415
ct.AddControlPoints(p158)
p159 = ColorControlPoint()
p159.colors = (227, 88, 50, 255)
p159.position = 0.623529374599
ct.AddControlPoints(p159)
p160 = ColorControlPoint()
p160.colors = (228, 90, 49, 255)
p160.position = 0.627451002598
ct.AddControlPoints(p160)
p161 = ColorControlPoint()
p161.colors = (229, 91, 48, 255)
p161.position = 0.631372570992
ct.AddControlPoints(p161)
p162 = ColorControlPoint()
p162.colors = (230, 92, 46, 255)
p162.position = 0.635294079781
ct.AddControlPoints(p162)
p163 = ColorControlPoint()
p163.colors = (230, 94, 45, 255)
p163.position = 0.639215707779
ct.AddControlPoints(p163)
p164 = ColorControlPoint()
p164.colors = (231, 95, 44, 255)
p164.position = 0.643137276173
ct.AddControlPoints(p164)
p165 = ColorControlPoint()
p165.colors = (232, 97, 43, 255)
p165.position = 0.647058784962
ct.AddControlPoints(p165)
p166 = ColorControlPoint()
p166.colors = (233, 98, 42, 255)
p166.position = 0.65098041296
ct.AddControlPoints(p166)
p167 = ColorControlPoint()
p167.colors = (234, 100, 40, 255)
p167.position = 0.654901981354
ct.AddControlPoints(p167)
p168 = ColorControlPoint()
p168.colors = (235, 101, 39, 255)
p168.position = 0.658823490143
ct.AddControlPoints(p168)
p169 = ColorControlPoint()
p169.colors = (236, 103, 38, 255)
p169.position = 0.662745118141
ct.AddControlPoints(p169)
p170 = ColorControlPoint()
p170.colors = (237, 104, 37, 255)
p170.position = 0.666666686535
ct.AddControlPoints(p170)
p171 = ColorControlPoint()
p171.colors = (237, 106, 35, 255)
p171.position = 0.670588314533
ct.AddControlPoints(p171)
p172 = ColorControlPoint()
p172.colors = (238, 108, 34, 255)
p172.position = 0.674509823322
ct.AddControlPoints(p172)
p173 = ColorControlPoint()
p173.colors = (239, 109, 33, 255)
p173.position = 0.678431391716
ct.AddControlPoints(p173)
p174 = ColorControlPoint()
p174.colors = (240, 111, 31, 255)
p174.position = 0.682353019714
ct.AddControlPoints(p174)
p175 = ColorControlPoint()
p175.colors = (240, 112, 30, 255)
p175.position = 0.686274528503
ct.AddControlPoints(p175)
p176 = ColorControlPoint()
p176.colors = (241, 114, 29, 255)
p176.position = 0.690196096897
ct.AddControlPoints(p176)
p177 = ColorControlPoint()
p177.colors = (242, 116, 28, 255)
p177.position = 0.694117724895
ct.AddControlPoints(p177)
p178 = ColorControlPoint()
p178.colors = (242, 117, 26, 255)
p178.position = 0.69803917408
ct.AddControlPoints(p178)
p179 = ColorControlPoint()
p179.colors = (243, 119, 25, 255)
p179.position = 0.701960802078
ct.AddControlPoints(p179)
p180 = ColorControlPoint()
p180.colors = (243, 121, 24, 255)
p180.position = 0.705882370472
ct.AddControlPoints(p180)
p181 = ColorControlPoint()
p181.colors = (244, 122, 22, 255)
p181.position = 0.709803879261
ct.AddControlPoints(p181)
p182 = ColorControlPoint()
p182.colors = (245, 124, 21, 255)
p182.position = 0.713725507259
ct.AddControlPoints(p182)
p183 = ColorControlPoint()
p183.colors = (245, 126, 20, 255)
p183.position = 0.717647075653
ct.AddControlPoints(p183)
p184 = ColorControlPoint()
p184.colors = (246, 128, 18, 255)
p184.position = 0.721568584442
ct.AddControlPoints(p184)
p185 = ColorControlPoint()
p185.colors = (246, 129, 17, 255)
p185.position = 0.72549021244
ct.AddControlPoints(p185)
p186 = ColorControlPoint()
p186.colors = (247, 131, 16, 255)
p186.position = 0.729411780834
ct.AddControlPoints(p186)
p187 = ColorControlPoint()
p187.colors = (247, 133, 14, 255)
p187.position = 0.733333289623
ct.AddControlPoints(p187)
p188 = ColorControlPoint()
p188.colors = (248, 135, 13, 255)
p188.position = 0.737254917622
ct.AddControlPoints(p188)
p189 = ColorControlPoint()
p189.colors = (248, 136, 12, 255)
p189.position = 0.741176486015
ct.AddControlPoints(p189)
p190 = ColorControlPoint()
p190.colors = (248, 138, 11, 255)
p190.position = 0.745098114014
ct.AddControlPoints(p190)
p191 = ColorControlPoint()
p191.colors = (249, 140, 9, 255)
p191.position = 0.749019622803
ct.AddControlPoints(p191)
p192 = ColorControlPoint()
p192.colors = (249, 142, 8, 255)
p192.position = 0.752941191196
ct.AddControlPoints(p192)
p193 = ColorControlPoint()
p193.colors = (249, 144, 8, 255)
p193.position = 0.756862819195
ct.AddControlPoints(p193)
p194 = ColorControlPoint()
p194.colors = (250, 145, 7, 255)
p194.position = 0.760784327984
ct.AddControlPoints(p194)
p195 = ColorControlPoint()
p195.colors = (250, 147, 6, 255)
p195.position = 0.764705896378
ct.AddControlPoints(p195)
p196 = ColorControlPoint()
p196.colors = (250, 149, 6, 255)
p196.position = 0.768627524376
ct.AddControlPoints(p196)
p197 = ColorControlPoint()
p197.colors = (250, 151, 6, 255)
p197.position = 0.77254897356
ct.AddControlPoints(p197)
p198 = ColorControlPoint()
p198.colors = (251, 153, 6, 255)
p198.position = 0.776470601559
ct.AddControlPoints(p198)
p199 = ColorControlPoint()
p199.colors = (251, 155, 6, 255)
p199.position = 0.780392229557
ct.AddControlPoints(p199)
p200 = ColorControlPoint()
p200.colors = (251, 157, 6, 255)
p200.position = 0.784313678741
ct.AddControlPoints(p200)
p201 = ColorControlPoint()
p201.colors = (251, 158, 7, 255)
p201.position = 0.78823530674
ct.AddControlPoints(p201)
p202 = ColorControlPoint()
p202.colors = (251, 160, 7, 255)
p202.position = 0.792156875134
ct.AddControlPoints(p202)
p203 = ColorControlPoint()
p203.colors = (251, 162, 8, 255)
p203.position = 0.796078383923
ct.AddControlPoints(p203)
p204 = ColorControlPoint()
p204.colors = (251, 164, 10, 255)
p204.position = 0.800000011921
ct.AddControlPoints(p204)
p205 = ColorControlPoint()
p205.colors = (251, 166, 11, 255)
p205.position = 0.803921580315
ct.AddControlPoints(p205)
p206 = ColorControlPoint()
p206.colors = (251, 168, 13, 255)
p206.position = 0.807843089104
ct.AddControlPoints(p206)
p207 = ColorControlPoint()
p207.colors = (251, 170, 14, 255)
p207.position = 0.811764717102
ct.AddControlPoints(p207)
p208 = ColorControlPoint()
p208.colors = (251, 172, 16, 255)
p208.position = 0.815686285496
ct.AddControlPoints(p208)
p209 = ColorControlPoint()
p209.colors = (251, 174, 18, 255)
p209.position = 0.819607913494
ct.AddControlPoints(p209)
p210 = ColorControlPoint()
p210.colors = (251, 176, 20, 255)
p210.position = 0.823529422283
ct.AddControlPoints(p210)
p211 = ColorControlPoint()
p211.colors = (251, 177, 22, 255)
p211.position = 0.827450990677
ct.AddControlPoints(p211)
p212 = ColorControlPoint()
p212.colors = (251, 179, 24, 255)
p212.position = 0.831372618675
ct.AddControlPoints(p212)
p213 = ColorControlPoint()
p213.colors = (251, 181, 26, 255)
p213.position = 0.835294127464
ct.AddControlPoints(p213)
p214 = ColorControlPoint()
p214.colors = (251, 183, 28, 255)
p214.position = 0.839215695858
ct.AddControlPoints(p214)
p215 = ColorControlPoint()
p215.colors = (251, 185, 30, 255)
p215.position = 0.843137323856
ct.AddControlPoints(p215)
p216 = ColorControlPoint()
p216.colors = (250, 187, 33, 255)
p216.position = 0.847058773041
ct.AddControlPoints(p216)
p217 = ColorControlPoint()
p217.colors = (250, 189, 35, 255)
p217.position = 0.850980401039
ct.AddControlPoints(p217)
p218 = ColorControlPoint()
p218.colors = (250, 191, 37, 255)
p218.position = 0.854902029037
ct.AddControlPoints(p218)
p219 = ColorControlPoint()
p219.colors = (250, 193, 40, 255)
p219.position = 0.858823478222
ct.AddControlPoints(p219)
p220 = ColorControlPoint()
p220.colors = (249, 195, 42, 255)
p220.position = 0.86274510622
ct.AddControlPoints(p220)
p221 = ColorControlPoint()
p221.colors = (249, 197, 44, 255)
p221.position = 0.866666674614
ct.AddControlPoints(p221)
p222 = ColorControlPoint()
p222.colors = (249, 199, 47, 255)
p222.position = 0.870588183403
ct.AddControlPoints(p222)
p223 = ColorControlPoint()
p223.colors = (248, 201, 49, 255)
p223.position = 0.874509811401
ct.AddControlPoints(p223)
p224 = ColorControlPoint()
p224.colors = (248, 203, 52, 255)
p224.position = 0.878431379795
ct.AddControlPoints(p224)
p225 = ColorControlPoint()
p225.colors = (248, 205, 55, 255)
p225.position = 0.882352888584
ct.AddControlPoints(p225)
p226 = ColorControlPoint()
p226.colors = (247, 207, 58, 255)
p226.position = 0.886274516582