@finqu/cool 1.1.4 → 1.1.6

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.
@@ -1,321 +1,4885 @@
1
1
  /*!
2
- * Cool UI collapse.js v1.1.3 (https://finqu.fi)
2
+ * Cool UI collapse.js v1.1.5 (https://finqu.fi)
3
3
  * Copyright 2011-2019 Finqu Oy
4
4
  * Licensed under the ISC license - (http://opensource.org/licenses/ISC)
5
5
  */
6
6
  (function (global, factory) {
7
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('jquery')) :
8
- typeof define === 'function' && define.amd ? define(['jquery'], factory) :
9
- (global = global || self, global.Collapse = factory());
7
+ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('jquery')) :
8
+ typeof define === 'function' && define.amd ? define(['jquery'], factory) :
9
+ (global = global || self, global.Collapse = factory());
10
10
  }(this, function () { 'use strict';
11
11
 
12
- const debounce = function (func, wait, immediate) {
13
- let timeout;
14
- return function () {
15
- let context = this;
16
- let args = arguments;
12
+ function _inheritsLoose(subClass, superClass) {
13
+ subClass.prototype = Object.create(superClass.prototype);
14
+ subClass.prototype.constructor = subClass;
15
+ subClass.__proto__ = superClass;
16
+ }
17
17
 
18
- let later = function () {
19
- timeout = null;
18
+ var cov_2jd14bepcm = function () {
19
+ var path = "/Users/aki/Projects/Finqu/www-structure/finqu-lib/finqu-ui/js/src/util/index.js";
20
+ var hash = "12a5c1d33f0b709c3d9502b4d339446b676d47e4";
20
21
 
21
- if (!immediate) {
22
- func.apply(context, args);
23
- }
24
- };
22
+ var Function = function () {}.constructor;
25
23
 
26
- let callNow = immediate && !timeout;
27
- clearTimeout(timeout);
28
- timeout = setTimeout(later, wait);
24
+ var global = new Function("return this")();
25
+ var gcv = "__coverage__";
26
+ var coverageData = {
27
+ path: "/Users/aki/Projects/Finqu/www-structure/finqu-lib/finqu-ui/js/src/util/index.js",
28
+ statementMap: {
29
+ "0": {
30
+ start: {
31
+ line: 3,
32
+ column: 17
33
+ },
34
+ end: {
35
+ line: 30,
36
+ column: 1
37
+ }
38
+ },
39
+ "1": {
40
+ start: {
41
+ line: 7,
42
+ column: 1
43
+ },
44
+ end: {
45
+ line: 29,
46
+ column: 3
47
+ }
48
+ },
49
+ "2": {
50
+ start: {
51
+ line: 9,
52
+ column: 16
53
+ },
54
+ end: {
55
+ line: 9,
56
+ column: 20
57
+ }
58
+ },
59
+ "3": {
60
+ start: {
61
+ line: 10,
62
+ column: 13
63
+ },
64
+ end: {
65
+ line: 10,
66
+ column: 22
67
+ }
68
+ },
69
+ "4": {
70
+ start: {
71
+ line: 11,
72
+ column: 14
73
+ },
74
+ end: {
75
+ line: 18,
76
+ column: 3
77
+ }
78
+ },
79
+ "5": {
80
+ start: {
81
+ line: 13,
82
+ column: 3
83
+ },
84
+ end: {
85
+ line: 13,
86
+ column: 18
87
+ }
88
+ },
89
+ "6": {
90
+ start: {
91
+ line: 15,
92
+ column: 3
93
+ },
94
+ end: {
95
+ line: 17,
96
+ column: 4
97
+ }
98
+ },
99
+ "7": {
100
+ start: {
101
+ line: 16,
102
+ column: 4
103
+ },
104
+ end: {
105
+ line: 16,
106
+ column: 29
107
+ }
108
+ },
109
+ "8": {
110
+ start: {
111
+ line: 20,
112
+ column: 16
113
+ },
114
+ end: {
115
+ line: 20,
116
+ column: 37
117
+ }
118
+ },
119
+ "9": {
120
+ start: {
121
+ line: 22,
122
+ column: 2
123
+ },
124
+ end: {
125
+ line: 22,
126
+ column: 24
127
+ }
128
+ },
129
+ "10": {
130
+ start: {
131
+ line: 24,
132
+ column: 2
133
+ },
134
+ end: {
135
+ line: 24,
136
+ column: 36
137
+ }
138
+ },
139
+ "11": {
140
+ start: {
141
+ line: 26,
142
+ column: 2
143
+ },
144
+ end: {
145
+ line: 28,
146
+ column: 3
147
+ }
148
+ },
149
+ "12": {
150
+ start: {
151
+ line: 27,
152
+ column: 3
153
+ },
154
+ end: {
155
+ line: 27,
156
+ column: 29
157
+ }
158
+ },
159
+ "13": {
160
+ start: {
161
+ line: 32,
162
+ column: 24
163
+ },
164
+ end: {
165
+ line: 38,
166
+ column: 1
167
+ }
168
+ },
169
+ "14": {
170
+ start: {
171
+ line: 34,
172
+ column: 1
173
+ },
174
+ end: {
175
+ line: 37,
176
+ column: 3
177
+ }
178
+ },
179
+ "15": {
180
+ start: {
181
+ line: 36,
182
+ column: 2
183
+ },
184
+ end: {
185
+ line: 36,
186
+ column: 41
187
+ }
188
+ },
189
+ "16": {
190
+ start: {
191
+ line: 40,
192
+ column: 20
193
+ },
194
+ end: {
195
+ line: 45,
196
+ column: 1
197
+ }
198
+ },
199
+ "17": {
200
+ start: {
201
+ line: 42,
202
+ column: 14
203
+ },
204
+ end: {
205
+ line: 42,
206
+ column: 39
207
+ }
208
+ },
209
+ "18": {
210
+ start: {
211
+ line: 44,
212
+ column: 1
213
+ },
214
+ end: {
215
+ line: 44,
216
+ column: 82
217
+ }
218
+ },
219
+ "19": {
220
+ start: {
221
+ line: 47,
222
+ column: 19
223
+ },
224
+ end: {
225
+ line: 70,
226
+ column: 1
227
+ }
228
+ },
229
+ "20": {
230
+ start: {
231
+ line: 49,
232
+ column: 4
233
+ },
234
+ end: {
235
+ line: 51,
236
+ column: 2
237
+ }
238
+ },
239
+ "21": {
240
+ start: {
241
+ line: 50,
242
+ column: 5
243
+ },
244
+ end: {
245
+ line: 50,
246
+ column: 17
247
+ }
248
+ },
249
+ "22": {
250
+ start: {
251
+ line: 53,
252
+ column: 1
253
+ },
254
+ end: {
255
+ line: 65,
256
+ column: 2
257
+ }
258
+ },
259
+ "23": {
260
+ start: {
261
+ line: 55,
262
+ column: 10
263
+ },
264
+ end: {
265
+ line: 57,
266
+ column: 4
267
+ }
268
+ },
269
+ "24": {
270
+ start: {
271
+ line: 56,
272
+ column: 3
273
+ },
274
+ end: {
275
+ line: 56,
276
+ column: 36
277
+ }
278
+ },
279
+ "25": {
280
+ start: {
281
+ line: 59,
282
+ column: 10
283
+ },
284
+ end: {
285
+ line: 61,
286
+ column: 4
287
+ }
288
+ },
289
+ "26": {
290
+ start: {
291
+ line: 60,
292
+ column: 3
293
+ },
294
+ end: {
295
+ line: 60,
296
+ column: 55
297
+ }
298
+ },
299
+ "27": {
300
+ start: {
301
+ line: 62,
302
+ column: 10
303
+ },
304
+ end: {
305
+ line: 64,
306
+ column: 4
307
+ }
308
+ },
309
+ "28": {
310
+ start: {
311
+ line: 63,
312
+ column: 3
313
+ },
314
+ end: {
315
+ line: 63,
316
+ column: 68
317
+ }
318
+ },
319
+ "29": {
320
+ start: {
321
+ line: 67,
322
+ column: 4
323
+ },
324
+ end: {
325
+ line: 69,
326
+ column: 6
327
+ }
328
+ },
329
+ "30": {
330
+ start: {
331
+ line: 68,
332
+ column: 2
333
+ },
334
+ end: {
335
+ line: 68,
336
+ column: 40
337
+ }
338
+ },
339
+ "31": {
340
+ start: {
341
+ line: 72,
342
+ column: 13
343
+ },
344
+ end: {
345
+ line: 95,
346
+ column: 1
347
+ }
348
+ },
349
+ "32": {
350
+ start: {
351
+ line: 74,
352
+ column: 1
353
+ },
354
+ end: {
355
+ line: 74,
356
+ column: 42
357
+ }
358
+ },
359
+ "33": {
360
+ start: {
361
+ line: 79,
362
+ column: 1
363
+ },
364
+ end: {
365
+ line: 92,
366
+ column: 2
367
+ }
368
+ },
369
+ "34": {
370
+ start: {
371
+ line: 81,
372
+ column: 2
373
+ },
374
+ end: {
375
+ line: 83,
376
+ column: 3
377
+ }
378
+ },
379
+ "35": {
380
+ start: {
381
+ line: 82,
382
+ column: 3
383
+ },
384
+ end: {
385
+ line: 82,
386
+ column: 28
387
+ }
388
+ },
389
+ "36": {
390
+ start: {
391
+ line: 87,
392
+ column: 13
393
+ },
394
+ end: {
395
+ line: 87,
396
+ column: 29
397
+ }
398
+ },
399
+ "37": {
400
+ start: {
401
+ line: 89,
402
+ column: 2
403
+ },
404
+ end: {
405
+ line: 91,
406
+ column: 3
407
+ }
408
+ },
409
+ "38": {
410
+ start: {
411
+ line: 90,
412
+ column: 3
413
+ },
414
+ end: {
415
+ line: 90,
416
+ column: 40
417
+ }
418
+ },
419
+ "39": {
420
+ start: {
421
+ line: 94,
422
+ column: 1
423
+ },
424
+ end: {
425
+ line: 94,
426
+ column: 12
427
+ }
428
+ },
429
+ "40": {
430
+ start: {
431
+ line: 97,
432
+ column: 20
433
+ },
434
+ end: {
435
+ line: 106,
436
+ column: 1
437
+ }
438
+ },
439
+ "41": {
440
+ start: {
441
+ line: 99,
442
+ column: 14
443
+ },
444
+ end: {
445
+ line: 99,
446
+ column: 19
447
+ }
448
+ },
449
+ "42": {
450
+ start: {
451
+ line: 101,
452
+ column: 1
453
+ },
454
+ end: {
455
+ line: 103,
456
+ column: 2
457
+ }
458
+ },
459
+ "43": {
460
+ start: {
461
+ line: 102,
462
+ column: 2
463
+ },
464
+ end: {
465
+ line: 102,
466
+ column: 16
467
+ }
468
+ },
469
+ "44": {
470
+ start: {
471
+ line: 105,
472
+ column: 1
473
+ },
474
+ end: {
475
+ line: 105,
476
+ column: 15
477
+ }
478
+ }
479
+ },
480
+ fnMap: {
481
+ "0": {
482
+ name: "(anonymous_0)",
483
+ decl: {
484
+ start: {
485
+ line: 3,
486
+ column: 17
487
+ },
488
+ end: {
489
+ line: 3,
490
+ column: 18
491
+ }
492
+ },
493
+ loc: {
494
+ start: {
495
+ line: 3,
496
+ column: 50
497
+ },
498
+ end: {
499
+ line: 30,
500
+ column: 1
501
+ }
502
+ },
503
+ line: 3
504
+ },
505
+ "1": {
506
+ name: "(anonymous_1)",
507
+ decl: {
508
+ start: {
509
+ line: 7,
510
+ column: 8
511
+ },
512
+ end: {
513
+ line: 7,
514
+ column: 9
515
+ }
516
+ },
517
+ loc: {
518
+ start: {
519
+ line: 7,
520
+ column: 19
521
+ },
522
+ end: {
523
+ line: 29,
524
+ column: 2
525
+ }
526
+ },
527
+ line: 7
528
+ },
529
+ "2": {
530
+ name: "(anonymous_2)",
531
+ decl: {
532
+ start: {
533
+ line: 11,
534
+ column: 14
535
+ },
536
+ end: {
537
+ line: 11,
538
+ column: 15
539
+ }
540
+ },
541
+ loc: {
542
+ start: {
543
+ line: 11,
544
+ column: 25
545
+ },
546
+ end: {
547
+ line: 18,
548
+ column: 3
549
+ }
550
+ },
551
+ line: 11
552
+ },
553
+ "3": {
554
+ name: "(anonymous_3)",
555
+ decl: {
556
+ start: {
557
+ line: 32,
558
+ column: 24
559
+ },
560
+ end: {
561
+ line: 32,
562
+ column: 25
563
+ }
564
+ },
565
+ loc: {
566
+ start: {
567
+ line: 32,
568
+ column: 38
569
+ },
570
+ end: {
571
+ line: 38,
572
+ column: 1
573
+ }
574
+ },
575
+ line: 32
576
+ },
577
+ "4": {
578
+ name: "(anonymous_4)",
579
+ decl: {
580
+ start: {
581
+ line: 34,
582
+ column: 8
583
+ },
584
+ end: {
585
+ line: 34,
586
+ column: 9
587
+ }
588
+ },
589
+ loc: {
590
+ start: {
591
+ line: 34,
592
+ column: 22
593
+ },
594
+ end: {
595
+ line: 37,
596
+ column: 2
597
+ }
598
+ },
599
+ line: 34
600
+ },
601
+ "5": {
602
+ name: "(anonymous_5)",
603
+ decl: {
604
+ start: {
605
+ line: 40,
606
+ column: 20
607
+ },
608
+ end: {
609
+ line: 40,
610
+ column: 21
611
+ }
612
+ },
613
+ loc: {
614
+ start: {
615
+ line: 40,
616
+ column: 41
617
+ },
618
+ end: {
619
+ line: 45,
620
+ column: 1
621
+ }
622
+ },
623
+ line: 40
624
+ },
625
+ "6": {
626
+ name: "(anonymous_6)",
627
+ decl: {
628
+ start: {
629
+ line: 47,
630
+ column: 19
631
+ },
632
+ end: {
633
+ line: 47,
634
+ column: 20
635
+ }
636
+ },
637
+ loc: {
638
+ start: {
639
+ line: 47,
640
+ column: 53
641
+ },
642
+ end: {
643
+ line: 70,
644
+ column: 1
645
+ }
646
+ },
647
+ line: 47
648
+ },
649
+ "7": {
650
+ name: "(anonymous_7)",
651
+ decl: {
652
+ start: {
653
+ line: 55,
654
+ column: 17
655
+ },
656
+ end: {
657
+ line: 55,
658
+ column: 18
659
+ }
660
+ },
661
+ loc: {
662
+ start: {
663
+ line: 55,
664
+ column: 33
665
+ },
666
+ end: {
667
+ line: 57,
668
+ column: 3
669
+ }
670
+ },
671
+ line: 55
672
+ },
673
+ "8": {
674
+ name: "(anonymous_8)",
675
+ decl: {
676
+ start: {
677
+ line: 59,
678
+ column: 17
679
+ },
680
+ end: {
681
+ line: 59,
682
+ column: 18
683
+ }
684
+ },
685
+ loc: {
686
+ start: {
687
+ line: 59,
688
+ column: 52
689
+ },
690
+ end: {
691
+ line: 61,
692
+ column: 3
693
+ }
694
+ },
695
+ line: 59
696
+ },
697
+ "9": {
698
+ name: "(anonymous_9)",
699
+ decl: {
700
+ start: {
701
+ line: 62,
702
+ column: 17
703
+ },
704
+ end: {
705
+ line: 62,
706
+ column: 18
707
+ }
708
+ },
709
+ loc: {
710
+ start: {
711
+ line: 62,
712
+ column: 65
713
+ },
714
+ end: {
715
+ line: 64,
716
+ column: 3
717
+ }
718
+ },
719
+ line: 62
720
+ },
721
+ "10": {
722
+ name: "(anonymous_10)",
723
+ decl: {
724
+ start: {
725
+ line: 67,
726
+ column: 11
727
+ },
728
+ end: {
729
+ line: 67,
730
+ column: 12
731
+ }
732
+ },
733
+ loc: {
734
+ start: {
735
+ line: 67,
736
+ column: 22
737
+ },
738
+ end: {
739
+ line: 69,
740
+ column: 5
741
+ }
742
+ },
743
+ line: 67
744
+ },
745
+ "11": {
746
+ name: "(anonymous_11)",
747
+ decl: {
748
+ start: {
749
+ line: 72,
750
+ column: 13
751
+ },
752
+ end: {
753
+ line: 72,
754
+ column: 14
755
+ }
756
+ },
757
+ loc: {
758
+ start: {
759
+ line: 72,
760
+ column: 46
761
+ },
762
+ end: {
763
+ line: 95,
764
+ column: 1
765
+ }
766
+ },
767
+ line: 72
768
+ },
769
+ "12": {
770
+ name: "(anonymous_12)",
771
+ decl: {
772
+ start: {
773
+ line: 97,
774
+ column: 20
775
+ },
776
+ end: {
777
+ line: 97,
778
+ column: 21
779
+ }
780
+ },
781
+ loc: {
782
+ start: {
783
+ line: 97,
784
+ column: 32
785
+ },
786
+ end: {
787
+ line: 106,
788
+ column: 1
789
+ }
790
+ },
791
+ line: 97
792
+ }
793
+ },
794
+ branchMap: {
795
+ "0": {
796
+ loc: {
797
+ start: {
798
+ line: 15,
799
+ column: 3
800
+ },
801
+ end: {
802
+ line: 17,
803
+ column: 4
804
+ }
805
+ },
806
+ type: "if",
807
+ locations: [{
808
+ start: {
809
+ line: 15,
810
+ column: 3
811
+ },
812
+ end: {
813
+ line: 17,
814
+ column: 4
815
+ }
816
+ }, {
817
+ start: {
818
+ line: 15,
819
+ column: 3
820
+ },
821
+ end: {
822
+ line: 17,
823
+ column: 4
824
+ }
825
+ }],
826
+ line: 15
827
+ },
828
+ "1": {
829
+ loc: {
830
+ start: {
831
+ line: 20,
832
+ column: 16
833
+ },
834
+ end: {
835
+ line: 20,
836
+ column: 37
837
+ }
838
+ },
839
+ type: "binary-expr",
840
+ locations: [{
841
+ start: {
842
+ line: 20,
843
+ column: 16
844
+ },
845
+ end: {
846
+ line: 20,
847
+ column: 25
848
+ }
849
+ }, {
850
+ start: {
851
+ line: 20,
852
+ column: 29
853
+ },
854
+ end: {
855
+ line: 20,
856
+ column: 37
857
+ }
858
+ }],
859
+ line: 20
860
+ },
861
+ "2": {
862
+ loc: {
863
+ start: {
864
+ line: 26,
865
+ column: 2
866
+ },
867
+ end: {
868
+ line: 28,
869
+ column: 3
870
+ }
871
+ },
872
+ type: "if",
873
+ locations: [{
874
+ start: {
875
+ line: 26,
876
+ column: 2
877
+ },
878
+ end: {
879
+ line: 28,
880
+ column: 3
881
+ }
882
+ }, {
883
+ start: {
884
+ line: 26,
885
+ column: 2
886
+ },
887
+ end: {
888
+ line: 28,
889
+ column: 3
890
+ }
891
+ }],
892
+ line: 26
893
+ },
894
+ "3": {
895
+ loc: {
896
+ start: {
897
+ line: 36,
898
+ column: 9
899
+ },
900
+ end: {
901
+ line: 36,
902
+ column: 40
903
+ }
904
+ },
905
+ type: "cond-expr",
906
+ locations: [{
907
+ start: {
908
+ line: 36,
909
+ column: 23
910
+ },
911
+ end: {
912
+ line: 36,
913
+ column: 29
914
+ }
915
+ }, {
916
+ start: {
917
+ line: 36,
918
+ column: 32
919
+ },
920
+ end: {
921
+ line: 36,
922
+ column: 40
923
+ }
924
+ }],
925
+ line: 36
926
+ },
927
+ "4": {
928
+ loc: {
929
+ start: {
930
+ line: 44,
931
+ column: 8
932
+ },
933
+ end: {
934
+ line: 44,
935
+ column: 81
936
+ }
937
+ },
938
+ type: "binary-expr",
939
+ locations: [{
940
+ start: {
941
+ line: 44,
942
+ column: 8
943
+ },
944
+ end: {
945
+ line: 44,
946
+ column: 33
947
+ }
948
+ }, {
949
+ start: {
950
+ line: 44,
951
+ column: 37
952
+ },
953
+ end: {
954
+ line: 44,
955
+ column: 48
956
+ }
957
+ }, {
958
+ start: {
959
+ line: 44,
960
+ column: 52
961
+ },
962
+ end: {
963
+ line: 44,
964
+ column: 81
965
+ }
966
+ }],
967
+ line: 44
968
+ },
969
+ "5": {
970
+ loc: {
971
+ start: {
972
+ line: 49,
973
+ column: 4
974
+ },
975
+ end: {
976
+ line: 51,
977
+ column: 2
978
+ }
979
+ },
980
+ type: "if",
981
+ locations: [{
982
+ start: {
983
+ line: 49,
984
+ column: 4
985
+ },
986
+ end: {
987
+ line: 51,
988
+ column: 2
989
+ }
990
+ }, {
991
+ start: {
992
+ line: 49,
993
+ column: 4
994
+ },
995
+ end: {
996
+ line: 51,
997
+ column: 2
998
+ }
999
+ }],
1000
+ line: 49
1001
+ },
1002
+ "6": {
1003
+ loc: {
1004
+ start: {
1005
+ line: 53,
1006
+ column: 1
1007
+ },
1008
+ end: {
1009
+ line: 65,
1010
+ column: 2
1011
+ }
1012
+ },
1013
+ type: "switch",
1014
+ locations: [{
1015
+ start: {
1016
+ line: 55,
1017
+ column: 2
1018
+ },
1019
+ end: {
1020
+ line: 57,
1021
+ column: 4
1022
+ }
1023
+ }, {
1024
+ start: {
1025
+ line: 59,
1026
+ column: 2
1027
+ },
1028
+ end: {
1029
+ line: 61,
1030
+ column: 4
1031
+ }
1032
+ }, {
1033
+ start: {
1034
+ line: 62,
1035
+ column: 2
1036
+ },
1037
+ end: {
1038
+ line: 64,
1039
+ column: 4
1040
+ }
1041
+ }],
1042
+ line: 53
1043
+ },
1044
+ "7": {
1045
+ loc: {
1046
+ start: {
1047
+ line: 53,
1048
+ column: 9
1049
+ },
1050
+ end: {
1051
+ line: 53,
1052
+ column: 40
1053
+ }
1054
+ },
1055
+ type: "cond-expr",
1056
+ locations: [{
1057
+ start: {
1058
+ line: 53,
1059
+ column: 28
1060
+ },
1061
+ end: {
1062
+ line: 53,
1063
+ column: 29
1064
+ }
1065
+ }, {
1066
+ start: {
1067
+ line: 53,
1068
+ column: 32
1069
+ },
1070
+ end: {
1071
+ line: 53,
1072
+ column: 40
1073
+ }
1074
+ }],
1075
+ line: 53
1076
+ },
1077
+ "8": {
1078
+ loc: {
1079
+ start: {
1080
+ line: 79,
1081
+ column: 1
1082
+ },
1083
+ end: {
1084
+ line: 92,
1085
+ column: 2
1086
+ }
1087
+ },
1088
+ type: "if",
1089
+ locations: [{
1090
+ start: {
1091
+ line: 79,
1092
+ column: 1
1093
+ },
1094
+ end: {
1095
+ line: 92,
1096
+ column: 2
1097
+ }
1098
+ }, {
1099
+ start: {
1100
+ line: 79,
1101
+ column: 1
1102
+ },
1103
+ end: {
1104
+ line: 92,
1105
+ column: 2
1106
+ }
1107
+ }],
1108
+ line: 79
1109
+ },
1110
+ "9": {
1111
+ loc: {
1112
+ start: {
1113
+ line: 101,
1114
+ column: 1
1115
+ },
1116
+ end: {
1117
+ line: 103,
1118
+ column: 2
1119
+ }
1120
+ },
1121
+ type: "if",
1122
+ locations: [{
1123
+ start: {
1124
+ line: 101,
1125
+ column: 1
1126
+ },
1127
+ end: {
1128
+ line: 103,
1129
+ column: 2
1130
+ }
1131
+ }, {
1132
+ start: {
1133
+ line: 101,
1134
+ column: 1
1135
+ },
1136
+ end: {
1137
+ line: 103,
1138
+ column: 2
1139
+ }
1140
+ }],
1141
+ line: 101
1142
+ },
1143
+ "10": {
1144
+ loc: {
1145
+ start: {
1146
+ line: 101,
1147
+ column: 5
1148
+ },
1149
+ end: {
1150
+ line: 101,
1151
+ column: 92
1152
+ }
1153
+ },
1154
+ type: "binary-expr",
1155
+ locations: [{
1156
+ start: {
1157
+ line: 101,
1158
+ column: 6
1159
+ },
1160
+ end: {
1161
+ line: 101,
1162
+ column: 30
1163
+ }
1164
+ }, {
1165
+ start: {
1166
+ line: 101,
1167
+ column: 35
1168
+ },
1169
+ end: {
1170
+ line: 101,
1171
+ column: 55
1172
+ }
1173
+ }, {
1174
+ start: {
1175
+ line: 101,
1176
+ column: 59
1177
+ },
1178
+ end: {
1179
+ line: 101,
1180
+ column: 92
1181
+ }
1182
+ }],
1183
+ line: 101
1184
+ }
1185
+ },
1186
+ s: {
1187
+ "0": 0,
1188
+ "1": 0,
1189
+ "2": 0,
1190
+ "3": 0,
1191
+ "4": 0,
1192
+ "5": 0,
1193
+ "6": 0,
1194
+ "7": 0,
1195
+ "8": 0,
1196
+ "9": 0,
1197
+ "10": 0,
1198
+ "11": 0,
1199
+ "12": 0,
1200
+ "13": 0,
1201
+ "14": 0,
1202
+ "15": 0,
1203
+ "16": 0,
1204
+ "17": 0,
1205
+ "18": 0,
1206
+ "19": 0,
1207
+ "20": 0,
1208
+ "21": 0,
1209
+ "22": 0,
1210
+ "23": 0,
1211
+ "24": 0,
1212
+ "25": 0,
1213
+ "26": 0,
1214
+ "27": 0,
1215
+ "28": 0,
1216
+ "29": 0,
1217
+ "30": 0,
1218
+ "31": 0,
1219
+ "32": 0,
1220
+ "33": 0,
1221
+ "34": 0,
1222
+ "35": 0,
1223
+ "36": 0,
1224
+ "37": 0,
1225
+ "38": 0,
1226
+ "39": 0,
1227
+ "40": 0,
1228
+ "41": 0,
1229
+ "42": 0,
1230
+ "43": 0,
1231
+ "44": 0
1232
+ },
1233
+ f: {
1234
+ "0": 0,
1235
+ "1": 0,
1236
+ "2": 0,
1237
+ "3": 0,
1238
+ "4": 0,
1239
+ "5": 0,
1240
+ "6": 0,
1241
+ "7": 0,
1242
+ "8": 0,
1243
+ "9": 0,
1244
+ "10": 0,
1245
+ "11": 0,
1246
+ "12": 0
1247
+ },
1248
+ b: {
1249
+ "0": [0, 0],
1250
+ "1": [0, 0],
1251
+ "2": [0, 0],
1252
+ "3": [0, 0],
1253
+ "4": [0, 0, 0],
1254
+ "5": [0, 0],
1255
+ "6": [0, 0, 0],
1256
+ "7": [0, 0],
1257
+ "8": [0, 0],
1258
+ "9": [0, 0],
1259
+ "10": [0, 0, 0]
1260
+ },
1261
+ _coverageSchema: "43e27e138ebf9cfc5966b082cf9a028302ed4184"
1262
+ };
1263
+ var coverage = global[gcv] || (global[gcv] = {});
29
1264
 
30
- if (callNow) {
31
- func.apply(context, args);
32
- }
33
- };
34
- };
1265
+ if (coverage[path] && coverage[path].hash === hash) {
1266
+ return coverage[path];
1267
+ }
35
1268
 
36
- class AbstractUIComponent {
37
- // Init callback
38
- onInit() {
39
- let onInit = this.opts.onInit;
1269
+ coverageData.hash = hash;
1270
+ return coverage[path] = coverageData;
1271
+ }();
1272
+ cov_2jd14bepcm.s[0]++;
40
1273
 
41
- if (typeof onInit === 'function') {
42
- onInit.call(this.el);
43
- }
44
- } // Update callback
1274
+ var debounce = function debounce(func, wait, immediate) {
1275
+ cov_2jd14bepcm.f[0]++;
1276
+ var timeout;
1277
+ cov_2jd14bepcm.s[1]++;
1278
+ return function () {
1279
+ cov_2jd14bepcm.f[1]++;
1280
+ var context = (cov_2jd14bepcm.s[2]++, this);
1281
+ var args = (cov_2jd14bepcm.s[3]++, arguments);
1282
+ cov_2jd14bepcm.s[4]++;
45
1283
 
1284
+ var later = function later() {
1285
+ cov_2jd14bepcm.f[2]++;
1286
+ cov_2jd14bepcm.s[5]++;
1287
+ timeout = null;
1288
+ cov_2jd14bepcm.s[6]++;
46
1289
 
47
- onUpdate() {
48
- let onUpdate = this.opts.onUpdate;
1290
+ if (!immediate) {
1291
+ cov_2jd14bepcm.b[0][0]++;
1292
+ cov_2jd14bepcm.s[7]++;
1293
+ func.apply(context, args);
1294
+ } else {
1295
+ cov_2jd14bepcm.b[0][1]++;
1296
+ }
1297
+ };
49
1298
 
50
- if (typeof onUpdate === 'function') {
51
- onUpdate.call(this.el);
52
- }
53
- } // Destroy callback
1299
+ var callNow = (cov_2jd14bepcm.s[8]++, (cov_2jd14bepcm.b[1][0]++, immediate) && (cov_2jd14bepcm.b[1][1]++, !timeout));
1300
+ cov_2jd14bepcm.s[9]++;
1301
+ clearTimeout(timeout);
1302
+ cov_2jd14bepcm.s[10]++;
1303
+ timeout = setTimeout(later, wait);
1304
+ cov_2jd14bepcm.s[11]++;
54
1305
 
1306
+ if (callNow) {
1307
+ cov_2jd14bepcm.b[2][0]++;
1308
+ cov_2jd14bepcm.s[12]++;
1309
+ func.apply(context, args);
1310
+ } else {
1311
+ cov_2jd14bepcm.b[2][1]++;
1312
+ }
1313
+ };
1314
+ };
55
1315
 
56
- onDestroy() {
57
- let onDestroy = this.opts.onDestroy;
1316
+ cov_2jd14bepcm.s[13]++;
58
1317
 
59
- if (typeof onDestroy === 'function') {
60
- onDestroy.call(this.el);
61
- }
62
- } // Show callback
1318
+ cov_2jd14bepcm.s[16]++;
63
1319
 
1320
+ cov_2jd14bepcm.s[19]++;
64
1321
 
65
- onShow() {
66
- let onShow = this.opts.onShow;
67
-
68
- if (typeof onShow === 'function') {
69
- onShow.call(this.el);
70
- }
71
- } // Close callback
72
-
73
-
74
- onClose() {
75
- let onClose = this.opts.onClose;
76
-
77
- if (typeof onClose === 'function') {
78
- onClose.call(this.el);
79
- }
80
- } // Debug log
1322
+ cov_2jd14bepcm.s[31]++;
81
1323
 
82
-
83
- log(...args) {
84
- if (this.debug) {
85
- if (typeof this.debug === 'function') {
86
- this.debug(...args);
87
- } else {
88
- console.log(...args);
89
- }
90
- }
91
- }
92
-
93
- }
94
-
95
- const NAME = 'coolCollapse';
96
- const DATA_KEY = 'plugin_coolCollapse';
97
-
98
- class Collapse extends AbstractUIComponent {
99
- constructor(el, opts) {
100
- super();
101
- this.opts = {};
102
-
103
- if (window.Cool.settings.collapse) {
104
- $.extend(true, this.opts, $.fn[NAME].defaults, window.Cool.settings.dialog, opts);
105
- } else {
106
- $.extend(true, this.opts, $.fn[NAME].defaults, opts);
107
- }
108
-
109
- this.el = el;
110
- this.debug = this.opts.debug;
111
- this.init();
112
- } // Init plugin
113
-
114
-
115
- init() {
116
- this.buildCache();
117
- this.bindEvents();
118
- this.onInit();
119
- } // Remove plugin instance completely
120
-
121
-
122
- destroy() {
123
- this.unbindEvents();
124
- this.$el.removeData(DATA_KEY);
125
- this.onDestroy();
126
- } // Update plugin data
127
-
128
-
129
- update() {
130
- this.buildCache();
131
- this.onUpdate();
132
- } // Cache DOM nodes for performance
133
-
134
-
135
- buildCache() {
136
- this.$el = $(this.el);
137
- this.$target = this.$el.data('target') ? $(document).find(this.$el.data('target')) : $(document).find(this.opts.target);
138
- this.expanded = this.$el.attr('aria-expanded') == 'true' ? true : false;
139
-
140
- if (this.$target.length) {
141
- this.targetHeight = this.$target.height();
142
- this.$container = this.$target.closest('.section-collapse');
143
- this.$indicator = $(document).find('[data-collapse-indicator="' + this.$el.data('target') + '"]');
144
- } else {
145
- this.$target = $(this.$el).parent().find('.collapse');
146
- this.targetHeight = this.$target.height();
147
- this.$container = this.$target.closest('.section-collapse');
148
- this.$indicator = $(this.$el).parent().find('[data-collapse-indicator]');
149
- }
150
-
151
- this.log(this.$el);
152
- this.log(this.$target);
153
- this.log(this.$container);
154
- this.log(this.$indicator);
155
- this.log('Expanded: ' + this.expanded);
156
- this.log('Target height: ' + this.targetHeight + 'px');
157
- } // Bind events that trigger methods
158
-
159
-
160
- bindEvents() {
161
- this.$el.on('click' + '.' + this.name, e => {
162
- if (this.expanded) {
163
- this.close();
164
- } else {
165
- this.show();
166
- }
167
- });
168
- $(window).on('resize', debounce(() => {
169
- if (this.$target.length) {
170
- this.targetHeight = this.$target.height();
171
- this.log('Target height: ' + this.targetHeight + 'px');
172
- }
173
- }, 250));
174
- } // Unbind events that trigger methods
175
-
176
-
177
- unbindEvents() {
178
- this.$el.off('.' + this.name);
179
- } // Which transition
180
-
181
-
182
- whichTransitionEvent() {
183
- let el = document.createElement('text-transition');
184
- let transEndEventNames = {
185
- 'WebkitTransition': 'webkitTransitionEnd',
186
- // Saf 6, Android Browser
187
- 'MozTransition': 'transitionend',
188
- // only for FF < 15
189
- 'transition': 'transitionend' // IE10, Opera, Chrome, FF 15+, Saf 7+
190
-
191
- };
192
-
193
- for (let t in transEndEventNames) {
194
- if (el.style[t] !== undefined) {
195
- return transEndEventNames[t];
196
- }
197
- }
198
- } // Show
199
-
200
-
201
- show() {
202
- this.$target.removeClass('collapse visible');
203
- this.$target.addClass('collapsing');
204
-
205
- if (this.$el.is('button')) {
206
- this.$el.attr('disabled', true);
207
- }
208
-
209
- if (this.$container.length) {
210
- this.$container.addClass('visible');
211
- }
212
-
213
- this.$target.css('height');
214
- this.$target.css('height', this.targetHeight);
215
-
216
- if (this.$indicator.length) {
217
- this.$indicator.addClass('visible');
218
- }
219
-
220
- this.$target.one(this.whichTransitionEvent(), () => {
221
- this.$target.removeClass('collapsing');
222
-
223
- if (this.$el.is('button')) {
224
- this.$el.attr('disabled', false);
225
- }
226
-
227
- this.$target.removeAttr('style');
228
- this.$target.addClass('collapse visible');
229
- this.$el.attr('aria-expanded', true);
230
- this.$target.css('height', 'auto');
231
- this.expanded = true;
232
- });
233
- this.onShow();
234
- } // Close
235
-
236
-
237
- close() {
238
- this.$target.removeClass('collapse visible');
239
- this.$target.addClass('collapsing');
240
-
241
- if (this.$el.is('button')) {
242
- this.$el.attr('disabled', true);
243
- }
244
-
245
- if (this.$container.length) {
246
- this.$container.removeClass('visible');
247
- }
248
-
249
- this.$target.css('height', this.$target.height());
250
- setTimeout(() => {
251
- this.$target.css('height', 0);
252
- }, 10);
253
-
254
- if (this.$indicator.length && this.$indicator.hasClass('visible')) {
255
- this.$indicator.removeClass('visible');
256
- }
257
-
258
- this.$target.one(this.whichTransitionEvent(), () => {
259
- this.$target.removeClass('collapsing');
260
-
261
- if (this.$el.is('button')) {
262
- this.$el.attr('disabled', false);
263
- }
264
-
265
- this.$target.removeAttr('style');
266
- this.$target.addClass('collapse');
267
- this.$el.attr('aria-expanded', false);
268
- this.expanded = false;
269
- });
270
- this.onClose();
271
- }
272
-
273
- static _jQueryInterface(config) {
274
- return this.each(function () {
275
- let data = $(this).data(DATA_KEY);
276
-
277
- const _config = typeof config === 'object' && config;
278
-
279
- if (!data) {
280
- data = new Collapse(this, _config);
281
- $(this).data(DATA_KEY, data);
282
- }
283
-
284
- if (typeof config === 'string') {
285
- if (typeof data[config] === 'undefined') {
286
- throw new TypeError(`No method named "${config}"`);
287
- }
288
-
289
- data[config]();
290
- }
291
- });
292
- }
293
-
294
- }
295
-
296
- if (typeof $ !== 'undefined') {
297
- // jQuery
298
- const JQUERY_NO_CONFLICT = $.fn[NAME];
299
- $.fn[NAME] = Collapse._jQueryInterface;
300
- $.fn[NAME].Constructor = Collapse;
301
-
302
- $.fn[NAME].noConflict = () => {
303
- $.fn[NAME] = JQUERY_NO_CONFLICT;
304
- return Collapse._jQueryInterface;
305
- };
306
-
307
- $.fn[NAME].defaults = {
308
- target: null,
309
- onInit: null,
310
- onUpdate: null,
311
- onDestroy: null,
312
- onShow: null,
313
- onClose: null,
314
- debug: false
315
- };
316
- }
317
-
318
- return Collapse;
1324
+ cov_2jd14bepcm.s[40]++;
1325
+
1326
+ var cov_1o94gtu15 = function () {
1327
+ var path = "/Users/aki/Projects/Finqu/www-structure/finqu-lib/finqu-ui/js/src/abstract-ui-component.js";
1328
+ var hash = "631b1d551c062c1704f9d1e5fac794c20a08485c";
1329
+
1330
+ var Function = function () {}.constructor;
1331
+
1332
+ var global = new Function("return this")();
1333
+ var gcv = "__coverage__";
1334
+ var coverageData = {
1335
+ path: "/Users/aki/Projects/Finqu/www-structure/finqu-lib/finqu-ui/js/src/abstract-ui-component.js",
1336
+ statementMap: {
1337
+ "0": {
1338
+ start: {
1339
+ line: 6,
1340
+ column: 21
1341
+ },
1342
+ end: {
1343
+ line: 6,
1344
+ column: 37
1345
+ }
1346
+ },
1347
+ "1": {
1348
+ start: {
1349
+ line: 8,
1350
+ column: 8
1351
+ },
1352
+ end: {
1353
+ line: 11,
1354
+ column: 9
1355
+ }
1356
+ },
1357
+ "2": {
1358
+ start: {
1359
+ line: 10,
1360
+ column: 12
1361
+ },
1362
+ end: {
1363
+ line: 10,
1364
+ column: 33
1365
+ }
1366
+ },
1367
+ "3": {
1368
+ start: {
1369
+ line: 17,
1370
+ column: 23
1371
+ },
1372
+ end: {
1373
+ line: 17,
1374
+ column: 41
1375
+ }
1376
+ },
1377
+ "4": {
1378
+ start: {
1379
+ line: 19,
1380
+ column: 8
1381
+ },
1382
+ end: {
1383
+ line: 22,
1384
+ column: 9
1385
+ }
1386
+ },
1387
+ "5": {
1388
+ start: {
1389
+ line: 21,
1390
+ column: 12
1391
+ },
1392
+ end: {
1393
+ line: 21,
1394
+ column: 35
1395
+ }
1396
+ },
1397
+ "6": {
1398
+ start: {
1399
+ line: 28,
1400
+ column: 24
1401
+ },
1402
+ end: {
1403
+ line: 28,
1404
+ column: 43
1405
+ }
1406
+ },
1407
+ "7": {
1408
+ start: {
1409
+ line: 30,
1410
+ column: 8
1411
+ },
1412
+ end: {
1413
+ line: 33,
1414
+ column: 9
1415
+ }
1416
+ },
1417
+ "8": {
1418
+ start: {
1419
+ line: 32,
1420
+ column: 12
1421
+ },
1422
+ end: {
1423
+ line: 32,
1424
+ column: 36
1425
+ }
1426
+ },
1427
+ "9": {
1428
+ start: {
1429
+ line: 39,
1430
+ column: 21
1431
+ },
1432
+ end: {
1433
+ line: 39,
1434
+ column: 37
1435
+ }
1436
+ },
1437
+ "10": {
1438
+ start: {
1439
+ line: 41,
1440
+ column: 8
1441
+ },
1442
+ end: {
1443
+ line: 44,
1444
+ column: 9
1445
+ }
1446
+ },
1447
+ "11": {
1448
+ start: {
1449
+ line: 43,
1450
+ column: 12
1451
+ },
1452
+ end: {
1453
+ line: 43,
1454
+ column: 33
1455
+ }
1456
+ },
1457
+ "12": {
1458
+ start: {
1459
+ line: 50,
1460
+ column: 22
1461
+ },
1462
+ end: {
1463
+ line: 50,
1464
+ column: 39
1465
+ }
1466
+ },
1467
+ "13": {
1468
+ start: {
1469
+ line: 52,
1470
+ column: 8
1471
+ },
1472
+ end: {
1473
+ line: 55,
1474
+ column: 9
1475
+ }
1476
+ },
1477
+ "14": {
1478
+ start: {
1479
+ line: 54,
1480
+ column: 12
1481
+ },
1482
+ end: {
1483
+ line: 54,
1484
+ column: 34
1485
+ }
1486
+ },
1487
+ "15": {
1488
+ start: {
1489
+ line: 61,
1490
+ column: 5
1491
+ },
1492
+ end: {
1493
+ line: 68,
1494
+ column: 6
1495
+ }
1496
+ },
1497
+ "16": {
1498
+ start: {
1499
+ line: 63,
1500
+ column: 12
1501
+ },
1502
+ end: {
1503
+ line: 67,
1504
+ column: 13
1505
+ }
1506
+ },
1507
+ "17": {
1508
+ start: {
1509
+ line: 64,
1510
+ column: 16
1511
+ },
1512
+ end: {
1513
+ line: 64,
1514
+ column: 36
1515
+ }
1516
+ },
1517
+ "18": {
1518
+ start: {
1519
+ line: 66,
1520
+ column: 10
1521
+ },
1522
+ end: {
1523
+ line: 66,
1524
+ column: 31
1525
+ }
1526
+ }
1527
+ },
1528
+ fnMap: {
1529
+ "0": {
1530
+ name: "(anonymous_0)",
1531
+ decl: {
1532
+ start: {
1533
+ line: 4,
1534
+ column: 4
1535
+ },
1536
+ end: {
1537
+ line: 4,
1538
+ column: 5
1539
+ }
1540
+ },
1541
+ loc: {
1542
+ start: {
1543
+ line: 4,
1544
+ column: 13
1545
+ },
1546
+ end: {
1547
+ line: 12,
1548
+ column: 5
1549
+ }
1550
+ },
1551
+ line: 4
1552
+ },
1553
+ "1": {
1554
+ name: "(anonymous_1)",
1555
+ decl: {
1556
+ start: {
1557
+ line: 15,
1558
+ column: 4
1559
+ },
1560
+ end: {
1561
+ line: 15,
1562
+ column: 5
1563
+ }
1564
+ },
1565
+ loc: {
1566
+ start: {
1567
+ line: 15,
1568
+ column: 15
1569
+ },
1570
+ end: {
1571
+ line: 23,
1572
+ column: 5
1573
+ }
1574
+ },
1575
+ line: 15
1576
+ },
1577
+ "2": {
1578
+ name: "(anonymous_2)",
1579
+ decl: {
1580
+ start: {
1581
+ line: 26,
1582
+ column: 4
1583
+ },
1584
+ end: {
1585
+ line: 26,
1586
+ column: 5
1587
+ }
1588
+ },
1589
+ loc: {
1590
+ start: {
1591
+ line: 26,
1592
+ column: 16
1593
+ },
1594
+ end: {
1595
+ line: 34,
1596
+ column: 5
1597
+ }
1598
+ },
1599
+ line: 26
1600
+ },
1601
+ "3": {
1602
+ name: "(anonymous_3)",
1603
+ decl: {
1604
+ start: {
1605
+ line: 37,
1606
+ column: 4
1607
+ },
1608
+ end: {
1609
+ line: 37,
1610
+ column: 5
1611
+ }
1612
+ },
1613
+ loc: {
1614
+ start: {
1615
+ line: 37,
1616
+ column: 13
1617
+ },
1618
+ end: {
1619
+ line: 45,
1620
+ column: 5
1621
+ }
1622
+ },
1623
+ line: 37
1624
+ },
1625
+ "4": {
1626
+ name: "(anonymous_4)",
1627
+ decl: {
1628
+ start: {
1629
+ line: 48,
1630
+ column: 4
1631
+ },
1632
+ end: {
1633
+ line: 48,
1634
+ column: 5
1635
+ }
1636
+ },
1637
+ loc: {
1638
+ start: {
1639
+ line: 48,
1640
+ column: 14
1641
+ },
1642
+ end: {
1643
+ line: 56,
1644
+ column: 5
1645
+ }
1646
+ },
1647
+ line: 48
1648
+ },
1649
+ "5": {
1650
+ name: "(anonymous_5)",
1651
+ decl: {
1652
+ start: {
1653
+ line: 59,
1654
+ column: 4
1655
+ },
1656
+ end: {
1657
+ line: 59,
1658
+ column: 5
1659
+ }
1660
+ },
1661
+ loc: {
1662
+ start: {
1663
+ line: 59,
1664
+ column: 17
1665
+ },
1666
+ end: {
1667
+ line: 69,
1668
+ column: 5
1669
+ }
1670
+ },
1671
+ line: 59
1672
+ }
1673
+ },
1674
+ branchMap: {
1675
+ "0": {
1676
+ loc: {
1677
+ start: {
1678
+ line: 8,
1679
+ column: 8
1680
+ },
1681
+ end: {
1682
+ line: 11,
1683
+ column: 9
1684
+ }
1685
+ },
1686
+ type: "if",
1687
+ locations: [{
1688
+ start: {
1689
+ line: 8,
1690
+ column: 8
1691
+ },
1692
+ end: {
1693
+ line: 11,
1694
+ column: 9
1695
+ }
1696
+ }, {
1697
+ start: {
1698
+ line: 8,
1699
+ column: 8
1700
+ },
1701
+ end: {
1702
+ line: 11,
1703
+ column: 9
1704
+ }
1705
+ }],
1706
+ line: 8
1707
+ },
1708
+ "1": {
1709
+ loc: {
1710
+ start: {
1711
+ line: 19,
1712
+ column: 8
1713
+ },
1714
+ end: {
1715
+ line: 22,
1716
+ column: 9
1717
+ }
1718
+ },
1719
+ type: "if",
1720
+ locations: [{
1721
+ start: {
1722
+ line: 19,
1723
+ column: 8
1724
+ },
1725
+ end: {
1726
+ line: 22,
1727
+ column: 9
1728
+ }
1729
+ }, {
1730
+ start: {
1731
+ line: 19,
1732
+ column: 8
1733
+ },
1734
+ end: {
1735
+ line: 22,
1736
+ column: 9
1737
+ }
1738
+ }],
1739
+ line: 19
1740
+ },
1741
+ "2": {
1742
+ loc: {
1743
+ start: {
1744
+ line: 30,
1745
+ column: 8
1746
+ },
1747
+ end: {
1748
+ line: 33,
1749
+ column: 9
1750
+ }
1751
+ },
1752
+ type: "if",
1753
+ locations: [{
1754
+ start: {
1755
+ line: 30,
1756
+ column: 8
1757
+ },
1758
+ end: {
1759
+ line: 33,
1760
+ column: 9
1761
+ }
1762
+ }, {
1763
+ start: {
1764
+ line: 30,
1765
+ column: 8
1766
+ },
1767
+ end: {
1768
+ line: 33,
1769
+ column: 9
1770
+ }
1771
+ }],
1772
+ line: 30
1773
+ },
1774
+ "3": {
1775
+ loc: {
1776
+ start: {
1777
+ line: 41,
1778
+ column: 8
1779
+ },
1780
+ end: {
1781
+ line: 44,
1782
+ column: 9
1783
+ }
1784
+ },
1785
+ type: "if",
1786
+ locations: [{
1787
+ start: {
1788
+ line: 41,
1789
+ column: 8
1790
+ },
1791
+ end: {
1792
+ line: 44,
1793
+ column: 9
1794
+ }
1795
+ }, {
1796
+ start: {
1797
+ line: 41,
1798
+ column: 8
1799
+ },
1800
+ end: {
1801
+ line: 44,
1802
+ column: 9
1803
+ }
1804
+ }],
1805
+ line: 41
1806
+ },
1807
+ "4": {
1808
+ loc: {
1809
+ start: {
1810
+ line: 52,
1811
+ column: 8
1812
+ },
1813
+ end: {
1814
+ line: 55,
1815
+ column: 9
1816
+ }
1817
+ },
1818
+ type: "if",
1819
+ locations: [{
1820
+ start: {
1821
+ line: 52,
1822
+ column: 8
1823
+ },
1824
+ end: {
1825
+ line: 55,
1826
+ column: 9
1827
+ }
1828
+ }, {
1829
+ start: {
1830
+ line: 52,
1831
+ column: 8
1832
+ },
1833
+ end: {
1834
+ line: 55,
1835
+ column: 9
1836
+ }
1837
+ }],
1838
+ line: 52
1839
+ },
1840
+ "5": {
1841
+ loc: {
1842
+ start: {
1843
+ line: 61,
1844
+ column: 5
1845
+ },
1846
+ end: {
1847
+ line: 68,
1848
+ column: 6
1849
+ }
1850
+ },
1851
+ type: "if",
1852
+ locations: [{
1853
+ start: {
1854
+ line: 61,
1855
+ column: 5
1856
+ },
1857
+ end: {
1858
+ line: 68,
1859
+ column: 6
1860
+ }
1861
+ }, {
1862
+ start: {
1863
+ line: 61,
1864
+ column: 5
1865
+ },
1866
+ end: {
1867
+ line: 68,
1868
+ column: 6
1869
+ }
1870
+ }],
1871
+ line: 61
1872
+ },
1873
+ "6": {
1874
+ loc: {
1875
+ start: {
1876
+ line: 63,
1877
+ column: 12
1878
+ },
1879
+ end: {
1880
+ line: 67,
1881
+ column: 13
1882
+ }
1883
+ },
1884
+ type: "if",
1885
+ locations: [{
1886
+ start: {
1887
+ line: 63,
1888
+ column: 12
1889
+ },
1890
+ end: {
1891
+ line: 67,
1892
+ column: 13
1893
+ }
1894
+ }, {
1895
+ start: {
1896
+ line: 63,
1897
+ column: 12
1898
+ },
1899
+ end: {
1900
+ line: 67,
1901
+ column: 13
1902
+ }
1903
+ }],
1904
+ line: 63
1905
+ }
1906
+ },
1907
+ s: {
1908
+ "0": 0,
1909
+ "1": 0,
1910
+ "2": 0,
1911
+ "3": 0,
1912
+ "4": 0,
1913
+ "5": 0,
1914
+ "6": 0,
1915
+ "7": 0,
1916
+ "8": 0,
1917
+ "9": 0,
1918
+ "10": 0,
1919
+ "11": 0,
1920
+ "12": 0,
1921
+ "13": 0,
1922
+ "14": 0,
1923
+ "15": 0,
1924
+ "16": 0,
1925
+ "17": 0,
1926
+ "18": 0
1927
+ },
1928
+ f: {
1929
+ "0": 0,
1930
+ "1": 0,
1931
+ "2": 0,
1932
+ "3": 0,
1933
+ "4": 0,
1934
+ "5": 0
1935
+ },
1936
+ b: {
1937
+ "0": [0, 0],
1938
+ "1": [0, 0],
1939
+ "2": [0, 0],
1940
+ "3": [0, 0],
1941
+ "4": [0, 0],
1942
+ "5": [0, 0],
1943
+ "6": [0, 0]
1944
+ },
1945
+ _coverageSchema: "43e27e138ebf9cfc5966b082cf9a028302ed4184"
1946
+ };
1947
+ var coverage = global[gcv] || (global[gcv] = {});
1948
+
1949
+ if (coverage[path] && coverage[path].hash === hash) {
1950
+ return coverage[path];
1951
+ }
1952
+
1953
+ coverageData.hash = hash;
1954
+ return coverage[path] = coverageData;
1955
+ }();
1956
+
1957
+ var AbstractUIComponent =
1958
+ /*#__PURE__*/
1959
+ function () {
1960
+ function AbstractUIComponent() {}
1961
+
1962
+ var _proto = AbstractUIComponent.prototype;
1963
+
1964
+ // Init callback
1965
+ _proto.onInit = function onInit() {
1966
+ cov_1o94gtu15.f[0]++;
1967
+ var onInit = (cov_1o94gtu15.s[0]++, this.opts.onInit);
1968
+ cov_1o94gtu15.s[1]++;
1969
+
1970
+ if (typeof onInit === 'function') {
1971
+ cov_1o94gtu15.b[0][0]++;
1972
+ cov_1o94gtu15.s[2]++;
1973
+ onInit.call(this.el);
1974
+ } else {
1975
+ cov_1o94gtu15.b[0][1]++;
1976
+ }
1977
+ } // Update callback
1978
+ ;
1979
+
1980
+ _proto.onUpdate = function onUpdate() {
1981
+ cov_1o94gtu15.f[1]++;
1982
+ var onUpdate = (cov_1o94gtu15.s[3]++, this.opts.onUpdate);
1983
+ cov_1o94gtu15.s[4]++;
1984
+
1985
+ if (typeof onUpdate === 'function') {
1986
+ cov_1o94gtu15.b[1][0]++;
1987
+ cov_1o94gtu15.s[5]++;
1988
+ onUpdate.call(this.el);
1989
+ } else {
1990
+ cov_1o94gtu15.b[1][1]++;
1991
+ }
1992
+ } // Destroy callback
1993
+ ;
1994
+
1995
+ _proto.onDestroy = function onDestroy() {
1996
+ cov_1o94gtu15.f[2]++;
1997
+ var onDestroy = (cov_1o94gtu15.s[6]++, this.opts.onDestroy);
1998
+ cov_1o94gtu15.s[7]++;
1999
+
2000
+ if (typeof onDestroy === 'function') {
2001
+ cov_1o94gtu15.b[2][0]++;
2002
+ cov_1o94gtu15.s[8]++;
2003
+ onDestroy.call(this.el);
2004
+ } else {
2005
+ cov_1o94gtu15.b[2][1]++;
2006
+ }
2007
+ } // Show callback
2008
+ ;
2009
+
2010
+ _proto.onShow = function onShow() {
2011
+ cov_1o94gtu15.f[3]++;
2012
+ var onShow = (cov_1o94gtu15.s[9]++, this.opts.onShow);
2013
+ cov_1o94gtu15.s[10]++;
2014
+
2015
+ if (typeof onShow === 'function') {
2016
+ cov_1o94gtu15.b[3][0]++;
2017
+ cov_1o94gtu15.s[11]++;
2018
+ onShow.call(this.el);
2019
+ } else {
2020
+ cov_1o94gtu15.b[3][1]++;
2021
+ }
2022
+ } // Close callback
2023
+ ;
2024
+
2025
+ _proto.onClose = function onClose() {
2026
+ cov_1o94gtu15.f[4]++;
2027
+ var onClose = (cov_1o94gtu15.s[12]++, this.opts.onClose);
2028
+ cov_1o94gtu15.s[13]++;
2029
+
2030
+ if (typeof onClose === 'function') {
2031
+ cov_1o94gtu15.b[4][0]++;
2032
+ cov_1o94gtu15.s[14]++;
2033
+ onClose.call(this.el);
2034
+ } else {
2035
+ cov_1o94gtu15.b[4][1]++;
2036
+ }
2037
+ } // Debug log
2038
+ ;
2039
+
2040
+ _proto.log = function log() {
2041
+ cov_1o94gtu15.f[5]++;
2042
+ cov_1o94gtu15.s[15]++;
2043
+
2044
+ if (this.debug) {
2045
+ cov_1o94gtu15.b[5][0]++;
2046
+ cov_1o94gtu15.s[16]++;
2047
+
2048
+ if (typeof this.debug === 'function') {
2049
+ cov_1o94gtu15.b[6][0]++;
2050
+ cov_1o94gtu15.s[17]++;
2051
+ this.debug.apply(this, arguments);
2052
+ } else {
2053
+ var _console;
2054
+
2055
+ cov_1o94gtu15.b[6][1]++;
2056
+ cov_1o94gtu15.s[18]++;
2057
+
2058
+ (_console = console).log.apply(_console, arguments);
2059
+ }
2060
+ } else {
2061
+ cov_1o94gtu15.b[5][1]++;
2062
+ }
2063
+ };
2064
+
2065
+ return AbstractUIComponent;
2066
+ }();
2067
+
2068
+ var cov_2g5l3k4997 = function () {
2069
+ var path = "/Users/aki/Projects/Finqu/www-structure/finqu-lib/finqu-ui/js/src/collapse.js";
2070
+ var hash = "a30a133ae18b38abf0270bb6107680b2d63d0b1c";
2071
+
2072
+ var Function = function () {}.constructor;
2073
+
2074
+ var global = new Function("return this")();
2075
+ var gcv = "__coverage__";
2076
+ var coverageData = {
2077
+ path: "/Users/aki/Projects/Finqu/www-structure/finqu-lib/finqu-ui/js/src/collapse.js",
2078
+ statementMap: {
2079
+ "0": {
2080
+ start: {
2081
+ line: 5,
2082
+ column: 13
2083
+ },
2084
+ end: {
2085
+ line: 5,
2086
+ column: 27
2087
+ }
2088
+ },
2089
+ "1": {
2090
+ start: {
2091
+ line: 6,
2092
+ column: 17
2093
+ },
2094
+ end: {
2095
+ line: 6,
2096
+ column: 38
2097
+ }
2098
+ },
2099
+ "2": {
2100
+ start: {
2101
+ line: 12,
2102
+ column: 8
2103
+ },
2104
+ end: {
2105
+ line: 12,
2106
+ column: 16
2107
+ }
2108
+ },
2109
+ "3": {
2110
+ start: {
2111
+ line: 14,
2112
+ column: 8
2113
+ },
2114
+ end: {
2115
+ line: 14,
2116
+ column: 23
2117
+ }
2118
+ },
2119
+ "4": {
2120
+ start: {
2121
+ line: 16,
2122
+ column: 8
2123
+ },
2124
+ end: {
2125
+ line: 23,
2126
+ column: 9
2127
+ }
2128
+ },
2129
+ "5": {
2130
+ start: {
2131
+ line: 18,
2132
+ column: 12
2133
+ },
2134
+ end: {
2135
+ line: 18,
2136
+ column: 94
2137
+ }
2138
+ },
2139
+ "6": {
2140
+ start: {
2141
+ line: 22,
2142
+ column: 12
2143
+ },
2144
+ end: {
2145
+ line: 22,
2146
+ column: 65
2147
+ }
2148
+ },
2149
+ "7": {
2150
+ start: {
2151
+ line: 25,
2152
+ column: 8
2153
+ },
2154
+ end: {
2155
+ line: 25,
2156
+ column: 21
2157
+ }
2158
+ },
2159
+ "8": {
2160
+ start: {
2161
+ line: 26,
2162
+ column: 8
2163
+ },
2164
+ end: {
2165
+ line: 26,
2166
+ column: 37
2167
+ }
2168
+ },
2169
+ "9": {
2170
+ start: {
2171
+ line: 27,
2172
+ column: 8
2173
+ },
2174
+ end: {
2175
+ line: 27,
2176
+ column: 20
2177
+ }
2178
+ },
2179
+ "10": {
2180
+ start: {
2181
+ line: 33,
2182
+ column: 8
2183
+ },
2184
+ end: {
2185
+ line: 33,
2186
+ column: 25
2187
+ }
2188
+ },
2189
+ "11": {
2190
+ start: {
2191
+ line: 34,
2192
+ column: 8
2193
+ },
2194
+ end: {
2195
+ line: 34,
2196
+ column: 26
2197
+ }
2198
+ },
2199
+ "12": {
2200
+ start: {
2201
+ line: 35,
2202
+ column: 8
2203
+ },
2204
+ end: {
2205
+ line: 35,
2206
+ column: 22
2207
+ }
2208
+ },
2209
+ "13": {
2210
+ start: {
2211
+ line: 41,
2212
+ column: 8
2213
+ },
2214
+ end: {
2215
+ line: 41,
2216
+ column: 28
2217
+ }
2218
+ },
2219
+ "14": {
2220
+ start: {
2221
+ line: 42,
2222
+ column: 8
2223
+ },
2224
+ end: {
2225
+ line: 42,
2226
+ column: 38
2227
+ }
2228
+ },
2229
+ "15": {
2230
+ start: {
2231
+ line: 43,
2232
+ column: 8
2233
+ },
2234
+ end: {
2235
+ line: 43,
2236
+ column: 25
2237
+ }
2238
+ },
2239
+ "16": {
2240
+ start: {
2241
+ line: 49,
2242
+ column: 8
2243
+ },
2244
+ end: {
2245
+ line: 49,
2246
+ column: 26
2247
+ }
2248
+ },
2249
+ "17": {
2250
+ start: {
2251
+ line: 50,
2252
+ column: 8
2253
+ },
2254
+ end: {
2255
+ line: 50,
2256
+ column: 24
2257
+ }
2258
+ },
2259
+ "18": {
2260
+ start: {
2261
+ line: 56,
2262
+ column: 8
2263
+ },
2264
+ end: {
2265
+ line: 56,
2266
+ column: 30
2267
+ }
2268
+ },
2269
+ "19": {
2270
+ start: {
2271
+ line: 57,
2272
+ column: 8
2273
+ },
2274
+ end: {
2275
+ line: 57,
2276
+ column: 128
2277
+ }
2278
+ },
2279
+ "20": {
2280
+ start: {
2281
+ line: 58,
2282
+ column: 8
2283
+ },
2284
+ end: {
2285
+ line: 58,
2286
+ column: 80
2287
+ }
2288
+ },
2289
+ "21": {
2290
+ start: {
2291
+ line: 60,
2292
+ column: 8
2293
+ },
2294
+ end: {
2295
+ line: 72,
2296
+ column: 9
2297
+ }
2298
+ },
2299
+ "22": {
2300
+ start: {
2301
+ line: 62,
2302
+ column: 12
2303
+ },
2304
+ end: {
2305
+ line: 62,
2306
+ column: 54
2307
+ }
2308
+ },
2309
+ "23": {
2310
+ start: {
2311
+ line: 63,
2312
+ column: 12
2313
+ },
2314
+ end: {
2315
+ line: 63,
2316
+ column: 72
2317
+ }
2318
+ },
2319
+ "24": {
2320
+ start: {
2321
+ line: 64,
2322
+ column: 12
2323
+ },
2324
+ end: {
2325
+ line: 64,
2326
+ column: 110
2327
+ }
2328
+ },
2329
+ "25": {
2330
+ start: {
2331
+ line: 68,
2332
+ column: 12
2333
+ },
2334
+ end: {
2335
+ line: 68,
2336
+ column: 66
2337
+ }
2338
+ },
2339
+ "26": {
2340
+ start: {
2341
+ line: 69,
2342
+ column: 12
2343
+ },
2344
+ end: {
2345
+ line: 69,
2346
+ column: 54
2347
+ }
2348
+ },
2349
+ "27": {
2350
+ start: {
2351
+ line: 70,
2352
+ column: 12
2353
+ },
2354
+ end: {
2355
+ line: 70,
2356
+ column: 72
2357
+ }
2358
+ },
2359
+ "28": {
2360
+ start: {
2361
+ line: 71,
2362
+ column: 12
2363
+ },
2364
+ end: {
2365
+ line: 71,
2366
+ column: 85
2367
+ }
2368
+ },
2369
+ "29": {
2370
+ start: {
2371
+ line: 74,
2372
+ column: 8
2373
+ },
2374
+ end: {
2375
+ line: 74,
2376
+ column: 27
2377
+ }
2378
+ },
2379
+ "30": {
2380
+ start: {
2381
+ line: 75,
2382
+ column: 8
2383
+ },
2384
+ end: {
2385
+ line: 75,
2386
+ column: 31
2387
+ }
2388
+ },
2389
+ "31": {
2390
+ start: {
2391
+ line: 76,
2392
+ column: 8
2393
+ },
2394
+ end: {
2395
+ line: 76,
2396
+ column: 34
2397
+ }
2398
+ },
2399
+ "32": {
2400
+ start: {
2401
+ line: 77,
2402
+ column: 8
2403
+ },
2404
+ end: {
2405
+ line: 77,
2406
+ column: 34
2407
+ }
2408
+ },
2409
+ "33": {
2410
+ start: {
2411
+ line: 78,
2412
+ column: 8
2413
+ },
2414
+ end: {
2415
+ line: 78,
2416
+ column: 45
2417
+ }
2418
+ },
2419
+ "34": {
2420
+ start: {
2421
+ line: 79,
2422
+ column: 8
2423
+ },
2424
+ end: {
2425
+ line: 79,
2426
+ column: 59
2427
+ }
2428
+ },
2429
+ "35": {
2430
+ start: {
2431
+ line: 85,
2432
+ column: 8
2433
+ },
2434
+ end: {
2435
+ line: 92,
2436
+ column: 11
2437
+ }
2438
+ },
2439
+ "36": {
2440
+ start: {
2441
+ line: 87,
2442
+ column: 12
2443
+ },
2444
+ end: {
2445
+ line: 91,
2446
+ column: 13
2447
+ }
2448
+ },
2449
+ "37": {
2450
+ start: {
2451
+ line: 88,
2452
+ column: 16
2453
+ },
2454
+ end: {
2455
+ line: 88,
2456
+ column: 29
2457
+ }
2458
+ },
2459
+ "38": {
2460
+ start: {
2461
+ line: 90,
2462
+ column: 16
2463
+ },
2464
+ end: {
2465
+ line: 90,
2466
+ column: 28
2467
+ }
2468
+ },
2469
+ "39": {
2470
+ start: {
2471
+ line: 94,
2472
+ column: 8
2473
+ },
2474
+ end: {
2475
+ line: 101,
2476
+ column: 17
2477
+ }
2478
+ },
2479
+ "40": {
2480
+ start: {
2481
+ line: 96,
2482
+ column: 12
2483
+ },
2484
+ end: {
2485
+ line: 100,
2486
+ column: 13
2487
+ }
2488
+ },
2489
+ "41": {
2490
+ start: {
2491
+ line: 98,
2492
+ column: 16
2493
+ },
2494
+ end: {
2495
+ line: 98,
2496
+ column: 58
2497
+ }
2498
+ },
2499
+ "42": {
2500
+ start: {
2501
+ line: 99,
2502
+ column: 16
2503
+ },
2504
+ end: {
2505
+ line: 99,
2506
+ column: 67
2507
+ }
2508
+ },
2509
+ "43": {
2510
+ start: {
2511
+ line: 107,
2512
+ column: 8
2513
+ },
2514
+ end: {
2515
+ line: 107,
2516
+ column: 36
2517
+ }
2518
+ },
2519
+ "44": {
2520
+ start: {
2521
+ line: 113,
2522
+ column: 17
2523
+ },
2524
+ end: {
2525
+ line: 113,
2526
+ column: 58
2527
+ }
2528
+ },
2529
+ "45": {
2530
+ start: {
2531
+ line: 114,
2532
+ column: 33
2533
+ },
2534
+ end: {
2535
+ line: 118,
2536
+ column: 9
2537
+ }
2538
+ },
2539
+ "46": {
2540
+ start: {
2541
+ line: 120,
2542
+ column: 8
2543
+ },
2544
+ end: {
2545
+ line: 125,
2546
+ column: 9
2547
+ }
2548
+ },
2549
+ "47": {
2550
+ start: {
2551
+ line: 122,
2552
+ column: 12
2553
+ },
2554
+ end: {
2555
+ line: 124,
2556
+ column: 13
2557
+ }
2558
+ },
2559
+ "48": {
2560
+ start: {
2561
+ line: 123,
2562
+ column: 16
2563
+ },
2564
+ end: {
2565
+ line: 123,
2566
+ column: 45
2567
+ }
2568
+ },
2569
+ "49": {
2570
+ start: {
2571
+ line: 131,
2572
+ column: 8
2573
+ },
2574
+ end: {
2575
+ line: 131,
2576
+ column: 53
2577
+ }
2578
+ },
2579
+ "50": {
2580
+ start: {
2581
+ line: 132,
2582
+ column: 8
2583
+ },
2584
+ end: {
2585
+ line: 132,
2586
+ column: 44
2587
+ }
2588
+ },
2589
+ "51": {
2590
+ start: {
2591
+ line: 134,
2592
+ column: 8
2593
+ },
2594
+ end: {
2595
+ line: 136,
2596
+ column: 9
2597
+ }
2598
+ },
2599
+ "52": {
2600
+ start: {
2601
+ line: 135,
2602
+ column: 12
2603
+ },
2604
+ end: {
2605
+ line: 135,
2606
+ column: 44
2607
+ }
2608
+ },
2609
+ "53": {
2610
+ start: {
2611
+ line: 138,
2612
+ column: 8
2613
+ },
2614
+ end: {
2615
+ line: 140,
2616
+ column: 9
2617
+ }
2618
+ },
2619
+ "54": {
2620
+ start: {
2621
+ line: 139,
2622
+ column: 12
2623
+ },
2624
+ end: {
2625
+ line: 139,
2626
+ column: 48
2627
+ }
2628
+ },
2629
+ "55": {
2630
+ start: {
2631
+ line: 142,
2632
+ column: 8
2633
+ },
2634
+ end: {
2635
+ line: 142,
2636
+ column: 35
2637
+ }
2638
+ },
2639
+ "56": {
2640
+ start: {
2641
+ line: 143,
2642
+ column: 8
2643
+ },
2644
+ end: {
2645
+ line: 143,
2646
+ column: 54
2647
+ }
2648
+ },
2649
+ "57": {
2650
+ start: {
2651
+ line: 145,
2652
+ column: 8
2653
+ },
2654
+ end: {
2655
+ line: 147,
2656
+ column: 9
2657
+ }
2658
+ },
2659
+ "58": {
2660
+ start: {
2661
+ line: 146,
2662
+ column: 12
2663
+ },
2664
+ end: {
2665
+ line: 146,
2666
+ column: 48
2667
+ }
2668
+ },
2669
+ "59": {
2670
+ start: {
2671
+ line: 149,
2672
+ column: 8
2673
+ },
2674
+ end: {
2675
+ line: 162,
2676
+ column: 11
2677
+ }
2678
+ },
2679
+ "60": {
2680
+ start: {
2681
+ line: 151,
2682
+ column: 12
2683
+ },
2684
+ end: {
2685
+ line: 151,
2686
+ column: 51
2687
+ }
2688
+ },
2689
+ "61": {
2690
+ start: {
2691
+ line: 153,
2692
+ column: 12
2693
+ },
2694
+ end: {
2695
+ line: 155,
2696
+ column: 13
2697
+ }
2698
+ },
2699
+ "62": {
2700
+ start: {
2701
+ line: 154,
2702
+ column: 16
2703
+ },
2704
+ end: {
2705
+ line: 154,
2706
+ column: 49
2707
+ }
2708
+ },
2709
+ "63": {
2710
+ start: {
2711
+ line: 157,
2712
+ column: 12
2713
+ },
2714
+ end: {
2715
+ line: 157,
2716
+ column: 45
2717
+ }
2718
+ },
2719
+ "64": {
2720
+ start: {
2721
+ line: 158,
2722
+ column: 12
2723
+ },
2724
+ end: {
2725
+ line: 158,
2726
+ column: 54
2727
+ }
2728
+ },
2729
+ "65": {
2730
+ start: {
2731
+ line: 159,
2732
+ column: 12
2733
+ },
2734
+ end: {
2735
+ line: 159,
2736
+ column: 49
2737
+ }
2738
+ },
2739
+ "66": {
2740
+ start: {
2741
+ line: 160,
2742
+ column: 12
2743
+ },
2744
+ end: {
2745
+ line: 160,
2746
+ column: 47
2747
+ }
2748
+ },
2749
+ "67": {
2750
+ start: {
2751
+ line: 161,
2752
+ column: 12
2753
+ },
2754
+ end: {
2755
+ line: 161,
2756
+ column: 33
2757
+ }
2758
+ },
2759
+ "68": {
2760
+ start: {
2761
+ line: 164,
2762
+ column: 8
2763
+ },
2764
+ end: {
2765
+ line: 164,
2766
+ column: 22
2767
+ }
2768
+ },
2769
+ "69": {
2770
+ start: {
2771
+ line: 170,
2772
+ column: 8
2773
+ },
2774
+ end: {
2775
+ line: 170,
2776
+ column: 53
2777
+ }
2778
+ },
2779
+ "70": {
2780
+ start: {
2781
+ line: 171,
2782
+ column: 8
2783
+ },
2784
+ end: {
2785
+ line: 171,
2786
+ column: 44
2787
+ }
2788
+ },
2789
+ "71": {
2790
+ start: {
2791
+ line: 173,
2792
+ column: 8
2793
+ },
2794
+ end: {
2795
+ line: 175,
2796
+ column: 9
2797
+ }
2798
+ },
2799
+ "72": {
2800
+ start: {
2801
+ line: 174,
2802
+ column: 12
2803
+ },
2804
+ end: {
2805
+ line: 174,
2806
+ column: 44
2807
+ }
2808
+ },
2809
+ "73": {
2810
+ start: {
2811
+ line: 177,
2812
+ column: 8
2813
+ },
2814
+ end: {
2815
+ line: 179,
2816
+ column: 9
2817
+ }
2818
+ },
2819
+ "74": {
2820
+ start: {
2821
+ line: 178,
2822
+ column: 12
2823
+ },
2824
+ end: {
2825
+ line: 178,
2826
+ column: 51
2827
+ }
2828
+ },
2829
+ "75": {
2830
+ start: {
2831
+ line: 181,
2832
+ column: 8
2833
+ },
2834
+ end: {
2835
+ line: 181,
2836
+ column: 58
2837
+ }
2838
+ },
2839
+ "76": {
2840
+ start: {
2841
+ line: 183,
2842
+ column: 8
2843
+ },
2844
+ end: {
2845
+ line: 185,
2846
+ column: 15
2847
+ }
2848
+ },
2849
+ "77": {
2850
+ start: {
2851
+ line: 184,
2852
+ column: 12
2853
+ },
2854
+ end: {
2855
+ line: 184,
2856
+ column: 42
2857
+ }
2858
+ },
2859
+ "78": {
2860
+ start: {
2861
+ line: 187,
2862
+ column: 8
2863
+ },
2864
+ end: {
2865
+ line: 189,
2866
+ column: 9
2867
+ }
2868
+ },
2869
+ "79": {
2870
+ start: {
2871
+ line: 188,
2872
+ column: 12
2873
+ },
2874
+ end: {
2875
+ line: 188,
2876
+ column: 51
2877
+ }
2878
+ },
2879
+ "80": {
2880
+ start: {
2881
+ line: 191,
2882
+ column: 8
2883
+ },
2884
+ end: {
2885
+ line: 203,
2886
+ column: 11
2887
+ }
2888
+ },
2889
+ "81": {
2890
+ start: {
2891
+ line: 193,
2892
+ column: 12
2893
+ },
2894
+ end: {
2895
+ line: 193,
2896
+ column: 51
2897
+ }
2898
+ },
2899
+ "82": {
2900
+ start: {
2901
+ line: 195,
2902
+ column: 12
2903
+ },
2904
+ end: {
2905
+ line: 197,
2906
+ column: 13
2907
+ }
2908
+ },
2909
+ "83": {
2910
+ start: {
2911
+ line: 196,
2912
+ column: 16
2913
+ },
2914
+ end: {
2915
+ line: 196,
2916
+ column: 49
2917
+ }
2918
+ },
2919
+ "84": {
2920
+ start: {
2921
+ line: 199,
2922
+ column: 12
2923
+ },
2924
+ end: {
2925
+ line: 199,
2926
+ column: 45
2927
+ }
2928
+ },
2929
+ "85": {
2930
+ start: {
2931
+ line: 200,
2932
+ column: 12
2933
+ },
2934
+ end: {
2935
+ line: 200,
2936
+ column: 46
2937
+ }
2938
+ },
2939
+ "86": {
2940
+ start: {
2941
+ line: 201,
2942
+ column: 12
2943
+ },
2944
+ end: {
2945
+ line: 201,
2946
+ column: 50
2947
+ }
2948
+ },
2949
+ "87": {
2950
+ start: {
2951
+ line: 202,
2952
+ column: 12
2953
+ },
2954
+ end: {
2955
+ line: 202,
2956
+ column: 34
2957
+ }
2958
+ },
2959
+ "88": {
2960
+ start: {
2961
+ line: 205,
2962
+ column: 8
2963
+ },
2964
+ end: {
2965
+ line: 205,
2966
+ column: 23
2967
+ }
2968
+ },
2969
+ "89": {
2970
+ start: {
2971
+ line: 210,
2972
+ column: 8
2973
+ },
2974
+ end: {
2975
+ line: 228,
2976
+ column: 11
2977
+ }
2978
+ },
2979
+ "90": {
2980
+ start: {
2981
+ line: 212,
2982
+ column: 23
2983
+ },
2984
+ end: {
2985
+ line: 212,
2986
+ column: 45
2987
+ }
2988
+ },
2989
+ "91": {
2990
+ start: {
2991
+ line: 213,
2992
+ column: 28
2993
+ },
2994
+ end: {
2995
+ line: 213,
2996
+ column: 64
2997
+ }
2998
+ },
2999
+ "92": {
3000
+ start: {
3001
+ line: 215,
3002
+ column: 12
3003
+ },
3004
+ end: {
3005
+ line: 218,
3006
+ column: 13
3007
+ }
3008
+ },
3009
+ "93": {
3010
+ start: {
3011
+ line: 216,
3012
+ column: 16
3013
+ },
3014
+ end: {
3015
+ line: 216,
3016
+ column: 51
3017
+ }
3018
+ },
3019
+ "94": {
3020
+ start: {
3021
+ line: 217,
3022
+ column: 16
3023
+ },
3024
+ end: {
3025
+ line: 217,
3026
+ column: 45
3027
+ }
3028
+ },
3029
+ "95": {
3030
+ start: {
3031
+ line: 220,
3032
+ column: 12
3033
+ },
3034
+ end: {
3035
+ line: 227,
3036
+ column: 13
3037
+ }
3038
+ },
3039
+ "96": {
3040
+ start: {
3041
+ line: 222,
3042
+ column: 16
3043
+ },
3044
+ end: {
3045
+ line: 224,
3046
+ column: 17
3047
+ }
3048
+ },
3049
+ "97": {
3050
+ start: {
3051
+ line: 223,
3052
+ column: 20
3053
+ },
3054
+ end: {
3055
+ line: 223,
3056
+ column: 70
3057
+ }
3058
+ },
3059
+ "98": {
3060
+ start: {
3061
+ line: 226,
3062
+ column: 16
3063
+ },
3064
+ end: {
3065
+ line: 226,
3066
+ column: 30
3067
+ }
3068
+ },
3069
+ "99": {
3070
+ start: {
3071
+ line: 232,
3072
+ column: 0
3073
+ },
3074
+ end: {
3075
+ line: 256,
3076
+ column: 1
3077
+ }
3078
+ },
3079
+ "100": {
3080
+ start: {
3081
+ line: 235,
3082
+ column: 31
3083
+ },
3084
+ end: {
3085
+ line: 235,
3086
+ column: 41
3087
+ }
3088
+ },
3089
+ "101": {
3090
+ start: {
3091
+ line: 237,
3092
+ column: 4
3093
+ },
3094
+ end: {
3095
+ line: 237,
3096
+ column: 43
3097
+ }
3098
+ },
3099
+ "102": {
3100
+ start: {
3101
+ line: 238,
3102
+ column: 4
3103
+ },
3104
+ end: {
3105
+ line: 238,
3106
+ column: 38
3107
+ }
3108
+ },
3109
+ "103": {
3110
+ start: {
3111
+ line: 240,
3112
+ column: 4
3113
+ },
3114
+ end: {
3115
+ line: 245,
3116
+ column: 5
3117
+ }
3118
+ },
3119
+ "104": {
3120
+ start: {
3121
+ line: 242,
3122
+ column: 6
3123
+ },
3124
+ end: {
3125
+ line: 242,
3126
+ column: 37
3127
+ }
3128
+ },
3129
+ "105": {
3130
+ start: {
3131
+ line: 244,
3132
+ column: 6
3133
+ },
3134
+ end: {
3135
+ line: 244,
3136
+ column: 38
3137
+ }
3138
+ },
3139
+ "106": {
3140
+ start: {
3141
+ line: 247,
3142
+ column: 4
3143
+ },
3144
+ end: {
3145
+ line: 255,
3146
+ column: 5
3147
+ }
3148
+ }
3149
+ },
3150
+ fnMap: {
3151
+ "0": {
3152
+ name: "(anonymous_0)",
3153
+ decl: {
3154
+ start: {
3155
+ line: 10,
3156
+ column: 4
3157
+ },
3158
+ end: {
3159
+ line: 10,
3160
+ column: 5
3161
+ }
3162
+ },
3163
+ loc: {
3164
+ start: {
3165
+ line: 10,
3166
+ column: 26
3167
+ },
3168
+ end: {
3169
+ line: 28,
3170
+ column: 5
3171
+ }
3172
+ },
3173
+ line: 10
3174
+ },
3175
+ "1": {
3176
+ name: "(anonymous_1)",
3177
+ decl: {
3178
+ start: {
3179
+ line: 31,
3180
+ column: 4
3181
+ },
3182
+ end: {
3183
+ line: 31,
3184
+ column: 5
3185
+ }
3186
+ },
3187
+ loc: {
3188
+ start: {
3189
+ line: 31,
3190
+ column: 11
3191
+ },
3192
+ end: {
3193
+ line: 36,
3194
+ column: 5
3195
+ }
3196
+ },
3197
+ line: 31
3198
+ },
3199
+ "2": {
3200
+ name: "(anonymous_2)",
3201
+ decl: {
3202
+ start: {
3203
+ line: 39,
3204
+ column: 4
3205
+ },
3206
+ end: {
3207
+ line: 39,
3208
+ column: 5
3209
+ }
3210
+ },
3211
+ loc: {
3212
+ start: {
3213
+ line: 39,
3214
+ column: 14
3215
+ },
3216
+ end: {
3217
+ line: 44,
3218
+ column: 5
3219
+ }
3220
+ },
3221
+ line: 39
3222
+ },
3223
+ "3": {
3224
+ name: "(anonymous_3)",
3225
+ decl: {
3226
+ start: {
3227
+ line: 47,
3228
+ column: 4
3229
+ },
3230
+ end: {
3231
+ line: 47,
3232
+ column: 5
3233
+ }
3234
+ },
3235
+ loc: {
3236
+ start: {
3237
+ line: 47,
3238
+ column: 13
3239
+ },
3240
+ end: {
3241
+ line: 51,
3242
+ column: 5
3243
+ }
3244
+ },
3245
+ line: 47
3246
+ },
3247
+ "4": {
3248
+ name: "(anonymous_4)",
3249
+ decl: {
3250
+ start: {
3251
+ line: 54,
3252
+ column: 4
3253
+ },
3254
+ end: {
3255
+ line: 54,
3256
+ column: 5
3257
+ }
3258
+ },
3259
+ loc: {
3260
+ start: {
3261
+ line: 54,
3262
+ column: 17
3263
+ },
3264
+ end: {
3265
+ line: 80,
3266
+ column: 5
3267
+ }
3268
+ },
3269
+ line: 54
3270
+ },
3271
+ "5": {
3272
+ name: "(anonymous_5)",
3273
+ decl: {
3274
+ start: {
3275
+ line: 83,
3276
+ column: 4
3277
+ },
3278
+ end: {
3279
+ line: 83,
3280
+ column: 5
3281
+ }
3282
+ },
3283
+ loc: {
3284
+ start: {
3285
+ line: 83,
3286
+ column: 17
3287
+ },
3288
+ end: {
3289
+ line: 102,
3290
+ column: 5
3291
+ }
3292
+ },
3293
+ line: 83
3294
+ },
3295
+ "6": {
3296
+ name: "(anonymous_6)",
3297
+ decl: {
3298
+ start: {
3299
+ line: 85,
3300
+ column: 43
3301
+ },
3302
+ end: {
3303
+ line: 85,
3304
+ column: 44
3305
+ }
3306
+ },
3307
+ loc: {
3308
+ start: {
3309
+ line: 85,
3310
+ column: 50
3311
+ },
3312
+ end: {
3313
+ line: 92,
3314
+ column: 9
3315
+ }
3316
+ },
3317
+ line: 85
3318
+ },
3319
+ "7": {
3320
+ name: "(anonymous_7)",
3321
+ decl: {
3322
+ start: {
3323
+ line: 94,
3324
+ column: 40
3325
+ },
3326
+ end: {
3327
+ line: 94,
3328
+ column: 41
3329
+ }
3330
+ },
3331
+ loc: {
3332
+ start: {
3333
+ line: 94,
3334
+ column: 46
3335
+ },
3336
+ end: {
3337
+ line: 101,
3338
+ column: 9
3339
+ }
3340
+ },
3341
+ line: 94
3342
+ },
3343
+ "8": {
3344
+ name: "(anonymous_8)",
3345
+ decl: {
3346
+ start: {
3347
+ line: 105,
3348
+ column: 4
3349
+ },
3350
+ end: {
3351
+ line: 105,
3352
+ column: 5
3353
+ }
3354
+ },
3355
+ loc: {
3356
+ start: {
3357
+ line: 105,
3358
+ column: 19
3359
+ },
3360
+ end: {
3361
+ line: 108,
3362
+ column: 5
3363
+ }
3364
+ },
3365
+ line: 105
3366
+ },
3367
+ "9": {
3368
+ name: "(anonymous_9)",
3369
+ decl: {
3370
+ start: {
3371
+ line: 111,
3372
+ column: 4
3373
+ },
3374
+ end: {
3375
+ line: 111,
3376
+ column: 5
3377
+ }
3378
+ },
3379
+ loc: {
3380
+ start: {
3381
+ line: 111,
3382
+ column: 27
3383
+ },
3384
+ end: {
3385
+ line: 126,
3386
+ column: 5
3387
+ }
3388
+ },
3389
+ line: 111
3390
+ },
3391
+ "10": {
3392
+ name: "(anonymous_10)",
3393
+ decl: {
3394
+ start: {
3395
+ line: 129,
3396
+ column: 4
3397
+ },
3398
+ end: {
3399
+ line: 129,
3400
+ column: 5
3401
+ }
3402
+ },
3403
+ loc: {
3404
+ start: {
3405
+ line: 129,
3406
+ column: 11
3407
+ },
3408
+ end: {
3409
+ line: 165,
3410
+ column: 5
3411
+ }
3412
+ },
3413
+ line: 129
3414
+ },
3415
+ "11": {
3416
+ name: "(anonymous_11)",
3417
+ decl: {
3418
+ start: {
3419
+ line: 149,
3420
+ column: 54
3421
+ },
3422
+ end: {
3423
+ line: 149,
3424
+ column: 55
3425
+ }
3426
+ },
3427
+ loc: {
3428
+ start: {
3429
+ line: 149,
3430
+ column: 60
3431
+ },
3432
+ end: {
3433
+ line: 162,
3434
+ column: 9
3435
+ }
3436
+ },
3437
+ line: 149
3438
+ },
3439
+ "12": {
3440
+ name: "(anonymous_12)",
3441
+ decl: {
3442
+ start: {
3443
+ line: 168,
3444
+ column: 4
3445
+ },
3446
+ end: {
3447
+ line: 168,
3448
+ column: 5
3449
+ }
3450
+ },
3451
+ loc: {
3452
+ start: {
3453
+ line: 168,
3454
+ column: 12
3455
+ },
3456
+ end: {
3457
+ line: 206,
3458
+ column: 5
3459
+ }
3460
+ },
3461
+ line: 168
3462
+ },
3463
+ "13": {
3464
+ name: "(anonymous_13)",
3465
+ decl: {
3466
+ start: {
3467
+ line: 183,
3468
+ column: 19
3469
+ },
3470
+ end: {
3471
+ line: 183,
3472
+ column: 20
3473
+ }
3474
+ },
3475
+ loc: {
3476
+ start: {
3477
+ line: 183,
3478
+ column: 25
3479
+ },
3480
+ end: {
3481
+ line: 185,
3482
+ column: 9
3483
+ }
3484
+ },
3485
+ line: 183
3486
+ },
3487
+ "14": {
3488
+ name: "(anonymous_14)",
3489
+ decl: {
3490
+ start: {
3491
+ line: 191,
3492
+ column: 54
3493
+ },
3494
+ end: {
3495
+ line: 191,
3496
+ column: 55
3497
+ }
3498
+ },
3499
+ loc: {
3500
+ start: {
3501
+ line: 191,
3502
+ column: 60
3503
+ },
3504
+ end: {
3505
+ line: 203,
3506
+ column: 9
3507
+ }
3508
+ },
3509
+ line: 191
3510
+ },
3511
+ "15": {
3512
+ name: "(anonymous_15)",
3513
+ decl: {
3514
+ start: {
3515
+ line: 208,
3516
+ column: 4
3517
+ },
3518
+ end: {
3519
+ line: 208,
3520
+ column: 5
3521
+ }
3522
+ },
3523
+ loc: {
3524
+ start: {
3525
+ line: 208,
3526
+ column: 36
3527
+ },
3528
+ end: {
3529
+ line: 229,
3530
+ column: 5
3531
+ }
3532
+ },
3533
+ line: 208
3534
+ },
3535
+ "16": {
3536
+ name: "(anonymous_16)",
3537
+ decl: {
3538
+ start: {
3539
+ line: 210,
3540
+ column: 25
3541
+ },
3542
+ end: {
3543
+ line: 210,
3544
+ column: 26
3545
+ }
3546
+ },
3547
+ loc: {
3548
+ start: {
3549
+ line: 210,
3550
+ column: 36
3551
+ },
3552
+ end: {
3553
+ line: 228,
3554
+ column: 9
3555
+ }
3556
+ },
3557
+ line: 210
3558
+ },
3559
+ "17": {
3560
+ name: "(anonymous_17)",
3561
+ decl: {
3562
+ start: {
3563
+ line: 240,
3564
+ column: 28
3565
+ },
3566
+ end: {
3567
+ line: 240,
3568
+ column: 29
3569
+ }
3570
+ },
3571
+ loc: {
3572
+ start: {
3573
+ line: 240,
3574
+ column: 34
3575
+ },
3576
+ end: {
3577
+ line: 245,
3578
+ column: 5
3579
+ }
3580
+ },
3581
+ line: 240
3582
+ }
3583
+ },
3584
+ branchMap: {
3585
+ "0": {
3586
+ loc: {
3587
+ start: {
3588
+ line: 16,
3589
+ column: 8
3590
+ },
3591
+ end: {
3592
+ line: 23,
3593
+ column: 9
3594
+ }
3595
+ },
3596
+ type: "if",
3597
+ locations: [{
3598
+ start: {
3599
+ line: 16,
3600
+ column: 8
3601
+ },
3602
+ end: {
3603
+ line: 23,
3604
+ column: 9
3605
+ }
3606
+ }, {
3607
+ start: {
3608
+ line: 16,
3609
+ column: 8
3610
+ },
3611
+ end: {
3612
+ line: 23,
3613
+ column: 9
3614
+ }
3615
+ }],
3616
+ line: 16
3617
+ },
3618
+ "1": {
3619
+ loc: {
3620
+ start: {
3621
+ line: 57,
3622
+ column: 23
3623
+ },
3624
+ end: {
3625
+ line: 57,
3626
+ column: 127
3627
+ }
3628
+ },
3629
+ type: "cond-expr",
3630
+ locations: [{
3631
+ start: {
3632
+ line: 57,
3633
+ column: 49
3634
+ },
3635
+ end: {
3636
+ line: 57,
3637
+ column: 90
3638
+ }
3639
+ }, {
3640
+ start: {
3641
+ line: 57,
3642
+ column: 93
3643
+ },
3644
+ end: {
3645
+ line: 57,
3646
+ column: 127
3647
+ }
3648
+ }],
3649
+ line: 57
3650
+ },
3651
+ "2": {
3652
+ loc: {
3653
+ start: {
3654
+ line: 58,
3655
+ column: 24
3656
+ },
3657
+ end: {
3658
+ line: 58,
3659
+ column: 79
3660
+ }
3661
+ },
3662
+ type: "cond-expr",
3663
+ locations: [{
3664
+ start: {
3665
+ line: 58,
3666
+ column: 67
3667
+ },
3668
+ end: {
3669
+ line: 58,
3670
+ column: 71
3671
+ }
3672
+ }, {
3673
+ start: {
3674
+ line: 58,
3675
+ column: 74
3676
+ },
3677
+ end: {
3678
+ line: 58,
3679
+ column: 79
3680
+ }
3681
+ }],
3682
+ line: 58
3683
+ },
3684
+ "3": {
3685
+ loc: {
3686
+ start: {
3687
+ line: 60,
3688
+ column: 8
3689
+ },
3690
+ end: {
3691
+ line: 72,
3692
+ column: 9
3693
+ }
3694
+ },
3695
+ type: "if",
3696
+ locations: [{
3697
+ start: {
3698
+ line: 60,
3699
+ column: 8
3700
+ },
3701
+ end: {
3702
+ line: 72,
3703
+ column: 9
3704
+ }
3705
+ }, {
3706
+ start: {
3707
+ line: 60,
3708
+ column: 8
3709
+ },
3710
+ end: {
3711
+ line: 72,
3712
+ column: 9
3713
+ }
3714
+ }],
3715
+ line: 60
3716
+ },
3717
+ "4": {
3718
+ loc: {
3719
+ start: {
3720
+ line: 87,
3721
+ column: 12
3722
+ },
3723
+ end: {
3724
+ line: 91,
3725
+ column: 13
3726
+ }
3727
+ },
3728
+ type: "if",
3729
+ locations: [{
3730
+ start: {
3731
+ line: 87,
3732
+ column: 12
3733
+ },
3734
+ end: {
3735
+ line: 91,
3736
+ column: 13
3737
+ }
3738
+ }, {
3739
+ start: {
3740
+ line: 87,
3741
+ column: 12
3742
+ },
3743
+ end: {
3744
+ line: 91,
3745
+ column: 13
3746
+ }
3747
+ }],
3748
+ line: 87
3749
+ },
3750
+ "5": {
3751
+ loc: {
3752
+ start: {
3753
+ line: 96,
3754
+ column: 12
3755
+ },
3756
+ end: {
3757
+ line: 100,
3758
+ column: 13
3759
+ }
3760
+ },
3761
+ type: "if",
3762
+ locations: [{
3763
+ start: {
3764
+ line: 96,
3765
+ column: 12
3766
+ },
3767
+ end: {
3768
+ line: 100,
3769
+ column: 13
3770
+ }
3771
+ }, {
3772
+ start: {
3773
+ line: 96,
3774
+ column: 12
3775
+ },
3776
+ end: {
3777
+ line: 100,
3778
+ column: 13
3779
+ }
3780
+ }],
3781
+ line: 96
3782
+ },
3783
+ "6": {
3784
+ loc: {
3785
+ start: {
3786
+ line: 122,
3787
+ column: 12
3788
+ },
3789
+ end: {
3790
+ line: 124,
3791
+ column: 13
3792
+ }
3793
+ },
3794
+ type: "if",
3795
+ locations: [{
3796
+ start: {
3797
+ line: 122,
3798
+ column: 12
3799
+ },
3800
+ end: {
3801
+ line: 124,
3802
+ column: 13
3803
+ }
3804
+ }, {
3805
+ start: {
3806
+ line: 122,
3807
+ column: 12
3808
+ },
3809
+ end: {
3810
+ line: 124,
3811
+ column: 13
3812
+ }
3813
+ }],
3814
+ line: 122
3815
+ },
3816
+ "7": {
3817
+ loc: {
3818
+ start: {
3819
+ line: 134,
3820
+ column: 8
3821
+ },
3822
+ end: {
3823
+ line: 136,
3824
+ column: 9
3825
+ }
3826
+ },
3827
+ type: "if",
3828
+ locations: [{
3829
+ start: {
3830
+ line: 134,
3831
+ column: 8
3832
+ },
3833
+ end: {
3834
+ line: 136,
3835
+ column: 9
3836
+ }
3837
+ }, {
3838
+ start: {
3839
+ line: 134,
3840
+ column: 8
3841
+ },
3842
+ end: {
3843
+ line: 136,
3844
+ column: 9
3845
+ }
3846
+ }],
3847
+ line: 134
3848
+ },
3849
+ "8": {
3850
+ loc: {
3851
+ start: {
3852
+ line: 138,
3853
+ column: 8
3854
+ },
3855
+ end: {
3856
+ line: 140,
3857
+ column: 9
3858
+ }
3859
+ },
3860
+ type: "if",
3861
+ locations: [{
3862
+ start: {
3863
+ line: 138,
3864
+ column: 8
3865
+ },
3866
+ end: {
3867
+ line: 140,
3868
+ column: 9
3869
+ }
3870
+ }, {
3871
+ start: {
3872
+ line: 138,
3873
+ column: 8
3874
+ },
3875
+ end: {
3876
+ line: 140,
3877
+ column: 9
3878
+ }
3879
+ }],
3880
+ line: 138
3881
+ },
3882
+ "9": {
3883
+ loc: {
3884
+ start: {
3885
+ line: 145,
3886
+ column: 8
3887
+ },
3888
+ end: {
3889
+ line: 147,
3890
+ column: 9
3891
+ }
3892
+ },
3893
+ type: "if",
3894
+ locations: [{
3895
+ start: {
3896
+ line: 145,
3897
+ column: 8
3898
+ },
3899
+ end: {
3900
+ line: 147,
3901
+ column: 9
3902
+ }
3903
+ }, {
3904
+ start: {
3905
+ line: 145,
3906
+ column: 8
3907
+ },
3908
+ end: {
3909
+ line: 147,
3910
+ column: 9
3911
+ }
3912
+ }],
3913
+ line: 145
3914
+ },
3915
+ "10": {
3916
+ loc: {
3917
+ start: {
3918
+ line: 153,
3919
+ column: 12
3920
+ },
3921
+ end: {
3922
+ line: 155,
3923
+ column: 13
3924
+ }
3925
+ },
3926
+ type: "if",
3927
+ locations: [{
3928
+ start: {
3929
+ line: 153,
3930
+ column: 12
3931
+ },
3932
+ end: {
3933
+ line: 155,
3934
+ column: 13
3935
+ }
3936
+ }, {
3937
+ start: {
3938
+ line: 153,
3939
+ column: 12
3940
+ },
3941
+ end: {
3942
+ line: 155,
3943
+ column: 13
3944
+ }
3945
+ }],
3946
+ line: 153
3947
+ },
3948
+ "11": {
3949
+ loc: {
3950
+ start: {
3951
+ line: 173,
3952
+ column: 8
3953
+ },
3954
+ end: {
3955
+ line: 175,
3956
+ column: 9
3957
+ }
3958
+ },
3959
+ type: "if",
3960
+ locations: [{
3961
+ start: {
3962
+ line: 173,
3963
+ column: 8
3964
+ },
3965
+ end: {
3966
+ line: 175,
3967
+ column: 9
3968
+ }
3969
+ }, {
3970
+ start: {
3971
+ line: 173,
3972
+ column: 8
3973
+ },
3974
+ end: {
3975
+ line: 175,
3976
+ column: 9
3977
+ }
3978
+ }],
3979
+ line: 173
3980
+ },
3981
+ "12": {
3982
+ loc: {
3983
+ start: {
3984
+ line: 177,
3985
+ column: 8
3986
+ },
3987
+ end: {
3988
+ line: 179,
3989
+ column: 9
3990
+ }
3991
+ },
3992
+ type: "if",
3993
+ locations: [{
3994
+ start: {
3995
+ line: 177,
3996
+ column: 8
3997
+ },
3998
+ end: {
3999
+ line: 179,
4000
+ column: 9
4001
+ }
4002
+ }, {
4003
+ start: {
4004
+ line: 177,
4005
+ column: 8
4006
+ },
4007
+ end: {
4008
+ line: 179,
4009
+ column: 9
4010
+ }
4011
+ }],
4012
+ line: 177
4013
+ },
4014
+ "13": {
4015
+ loc: {
4016
+ start: {
4017
+ line: 187,
4018
+ column: 8
4019
+ },
4020
+ end: {
4021
+ line: 189,
4022
+ column: 9
4023
+ }
4024
+ },
4025
+ type: "if",
4026
+ locations: [{
4027
+ start: {
4028
+ line: 187,
4029
+ column: 8
4030
+ },
4031
+ end: {
4032
+ line: 189,
4033
+ column: 9
4034
+ }
4035
+ }, {
4036
+ start: {
4037
+ line: 187,
4038
+ column: 8
4039
+ },
4040
+ end: {
4041
+ line: 189,
4042
+ column: 9
4043
+ }
4044
+ }],
4045
+ line: 187
4046
+ },
4047
+ "14": {
4048
+ loc: {
4049
+ start: {
4050
+ line: 187,
4051
+ column: 12
4052
+ },
4053
+ end: {
4054
+ line: 187,
4055
+ column: 73
4056
+ }
4057
+ },
4058
+ type: "binary-expr",
4059
+ locations: [{
4060
+ start: {
4061
+ line: 187,
4062
+ column: 12
4063
+ },
4064
+ end: {
4065
+ line: 187,
4066
+ column: 34
4067
+ }
4068
+ }, {
4069
+ start: {
4070
+ line: 187,
4071
+ column: 38
4072
+ },
4073
+ end: {
4074
+ line: 187,
4075
+ column: 73
4076
+ }
4077
+ }],
4078
+ line: 187
4079
+ },
4080
+ "15": {
4081
+ loc: {
4082
+ start: {
4083
+ line: 195,
4084
+ column: 12
4085
+ },
4086
+ end: {
4087
+ line: 197,
4088
+ column: 13
4089
+ }
4090
+ },
4091
+ type: "if",
4092
+ locations: [{
4093
+ start: {
4094
+ line: 195,
4095
+ column: 12
4096
+ },
4097
+ end: {
4098
+ line: 197,
4099
+ column: 13
4100
+ }
4101
+ }, {
4102
+ start: {
4103
+ line: 195,
4104
+ column: 12
4105
+ },
4106
+ end: {
4107
+ line: 197,
4108
+ column: 13
4109
+ }
4110
+ }],
4111
+ line: 195
4112
+ },
4113
+ "16": {
4114
+ loc: {
4115
+ start: {
4116
+ line: 213,
4117
+ column: 28
4118
+ },
4119
+ end: {
4120
+ line: 213,
4121
+ column: 64
4122
+ }
4123
+ },
4124
+ type: "binary-expr",
4125
+ locations: [{
4126
+ start: {
4127
+ line: 213,
4128
+ column: 28
4129
+ },
4130
+ end: {
4131
+ line: 213,
4132
+ column: 54
4133
+ }
4134
+ }, {
4135
+ start: {
4136
+ line: 213,
4137
+ column: 58
4138
+ },
4139
+ end: {
4140
+ line: 213,
4141
+ column: 64
4142
+ }
4143
+ }],
4144
+ line: 213
4145
+ },
4146
+ "17": {
4147
+ loc: {
4148
+ start: {
4149
+ line: 215,
4150
+ column: 12
4151
+ },
4152
+ end: {
4153
+ line: 218,
4154
+ column: 13
4155
+ }
4156
+ },
4157
+ type: "if",
4158
+ locations: [{
4159
+ start: {
4160
+ line: 215,
4161
+ column: 12
4162
+ },
4163
+ end: {
4164
+ line: 218,
4165
+ column: 13
4166
+ }
4167
+ }, {
4168
+ start: {
4169
+ line: 215,
4170
+ column: 12
4171
+ },
4172
+ end: {
4173
+ line: 218,
4174
+ column: 13
4175
+ }
4176
+ }],
4177
+ line: 215
4178
+ },
4179
+ "18": {
4180
+ loc: {
4181
+ start: {
4182
+ line: 220,
4183
+ column: 12
4184
+ },
4185
+ end: {
4186
+ line: 227,
4187
+ column: 13
4188
+ }
4189
+ },
4190
+ type: "if",
4191
+ locations: [{
4192
+ start: {
4193
+ line: 220,
4194
+ column: 12
4195
+ },
4196
+ end: {
4197
+ line: 227,
4198
+ column: 13
4199
+ }
4200
+ }, {
4201
+ start: {
4202
+ line: 220,
4203
+ column: 12
4204
+ },
4205
+ end: {
4206
+ line: 227,
4207
+ column: 13
4208
+ }
4209
+ }],
4210
+ line: 220
4211
+ },
4212
+ "19": {
4213
+ loc: {
4214
+ start: {
4215
+ line: 222,
4216
+ column: 16
4217
+ },
4218
+ end: {
4219
+ line: 224,
4220
+ column: 17
4221
+ }
4222
+ },
4223
+ type: "if",
4224
+ locations: [{
4225
+ start: {
4226
+ line: 222,
4227
+ column: 16
4228
+ },
4229
+ end: {
4230
+ line: 224,
4231
+ column: 17
4232
+ }
4233
+ }, {
4234
+ start: {
4235
+ line: 222,
4236
+ column: 16
4237
+ },
4238
+ end: {
4239
+ line: 224,
4240
+ column: 17
4241
+ }
4242
+ }],
4243
+ line: 222
4244
+ },
4245
+ "20": {
4246
+ loc: {
4247
+ start: {
4248
+ line: 232,
4249
+ column: 0
4250
+ },
4251
+ end: {
4252
+ line: 256,
4253
+ column: 1
4254
+ }
4255
+ },
4256
+ type: "if",
4257
+ locations: [{
4258
+ start: {
4259
+ line: 232,
4260
+ column: 0
4261
+ },
4262
+ end: {
4263
+ line: 256,
4264
+ column: 1
4265
+ }
4266
+ }, {
4267
+ start: {
4268
+ line: 232,
4269
+ column: 0
4270
+ },
4271
+ end: {
4272
+ line: 256,
4273
+ column: 1
4274
+ }
4275
+ }],
4276
+ line: 232
4277
+ }
4278
+ },
4279
+ s: {
4280
+ "0": 0,
4281
+ "1": 0,
4282
+ "2": 0,
4283
+ "3": 0,
4284
+ "4": 0,
4285
+ "5": 0,
4286
+ "6": 0,
4287
+ "7": 0,
4288
+ "8": 0,
4289
+ "9": 0,
4290
+ "10": 0,
4291
+ "11": 0,
4292
+ "12": 0,
4293
+ "13": 0,
4294
+ "14": 0,
4295
+ "15": 0,
4296
+ "16": 0,
4297
+ "17": 0,
4298
+ "18": 0,
4299
+ "19": 0,
4300
+ "20": 0,
4301
+ "21": 0,
4302
+ "22": 0,
4303
+ "23": 0,
4304
+ "24": 0,
4305
+ "25": 0,
4306
+ "26": 0,
4307
+ "27": 0,
4308
+ "28": 0,
4309
+ "29": 0,
4310
+ "30": 0,
4311
+ "31": 0,
4312
+ "32": 0,
4313
+ "33": 0,
4314
+ "34": 0,
4315
+ "35": 0,
4316
+ "36": 0,
4317
+ "37": 0,
4318
+ "38": 0,
4319
+ "39": 0,
4320
+ "40": 0,
4321
+ "41": 0,
4322
+ "42": 0,
4323
+ "43": 0,
4324
+ "44": 0,
4325
+ "45": 0,
4326
+ "46": 0,
4327
+ "47": 0,
4328
+ "48": 0,
4329
+ "49": 0,
4330
+ "50": 0,
4331
+ "51": 0,
4332
+ "52": 0,
4333
+ "53": 0,
4334
+ "54": 0,
4335
+ "55": 0,
4336
+ "56": 0,
4337
+ "57": 0,
4338
+ "58": 0,
4339
+ "59": 0,
4340
+ "60": 0,
4341
+ "61": 0,
4342
+ "62": 0,
4343
+ "63": 0,
4344
+ "64": 0,
4345
+ "65": 0,
4346
+ "66": 0,
4347
+ "67": 0,
4348
+ "68": 0,
4349
+ "69": 0,
4350
+ "70": 0,
4351
+ "71": 0,
4352
+ "72": 0,
4353
+ "73": 0,
4354
+ "74": 0,
4355
+ "75": 0,
4356
+ "76": 0,
4357
+ "77": 0,
4358
+ "78": 0,
4359
+ "79": 0,
4360
+ "80": 0,
4361
+ "81": 0,
4362
+ "82": 0,
4363
+ "83": 0,
4364
+ "84": 0,
4365
+ "85": 0,
4366
+ "86": 0,
4367
+ "87": 0,
4368
+ "88": 0,
4369
+ "89": 0,
4370
+ "90": 0,
4371
+ "91": 0,
4372
+ "92": 0,
4373
+ "93": 0,
4374
+ "94": 0,
4375
+ "95": 0,
4376
+ "96": 0,
4377
+ "97": 0,
4378
+ "98": 0,
4379
+ "99": 0,
4380
+ "100": 0,
4381
+ "101": 0,
4382
+ "102": 0,
4383
+ "103": 0,
4384
+ "104": 0,
4385
+ "105": 0,
4386
+ "106": 0
4387
+ },
4388
+ f: {
4389
+ "0": 0,
4390
+ "1": 0,
4391
+ "2": 0,
4392
+ "3": 0,
4393
+ "4": 0,
4394
+ "5": 0,
4395
+ "6": 0,
4396
+ "7": 0,
4397
+ "8": 0,
4398
+ "9": 0,
4399
+ "10": 0,
4400
+ "11": 0,
4401
+ "12": 0,
4402
+ "13": 0,
4403
+ "14": 0,
4404
+ "15": 0,
4405
+ "16": 0,
4406
+ "17": 0
4407
+ },
4408
+ b: {
4409
+ "0": [0, 0],
4410
+ "1": [0, 0],
4411
+ "2": [0, 0],
4412
+ "3": [0, 0],
4413
+ "4": [0, 0],
4414
+ "5": [0, 0],
4415
+ "6": [0, 0],
4416
+ "7": [0, 0],
4417
+ "8": [0, 0],
4418
+ "9": [0, 0],
4419
+ "10": [0, 0],
4420
+ "11": [0, 0],
4421
+ "12": [0, 0],
4422
+ "13": [0, 0],
4423
+ "14": [0, 0],
4424
+ "15": [0, 0],
4425
+ "16": [0, 0],
4426
+ "17": [0, 0],
4427
+ "18": [0, 0],
4428
+ "19": [0, 0],
4429
+ "20": [0, 0]
4430
+ },
4431
+ _coverageSchema: "43e27e138ebf9cfc5966b082cf9a028302ed4184"
4432
+ };
4433
+ var coverage = global[gcv] || (global[gcv] = {});
4434
+
4435
+ if (coverage[path] && coverage[path].hash === hash) {
4436
+ return coverage[path];
4437
+ }
4438
+
4439
+ coverageData.hash = hash;
4440
+ return coverage[path] = coverageData;
4441
+ }();
4442
+ var NAME = (cov_2g5l3k4997.s[0]++, 'coolCollapse');
4443
+ var DATA_KEY = (cov_2g5l3k4997.s[1]++, 'plugin_coolCollapse');
4444
+
4445
+ var Collapse =
4446
+ /*#__PURE__*/
4447
+ function (_AbstractUIComponent) {
4448
+ _inheritsLoose(Collapse, _AbstractUIComponent);
4449
+
4450
+ function Collapse(el, opts) {
4451
+ var _this;
4452
+
4453
+ cov_2g5l3k4997.f[0]++;
4454
+ cov_2g5l3k4997.s[2]++;
4455
+ _this = _AbstractUIComponent.call(this) || this;
4456
+ cov_2g5l3k4997.s[3]++;
4457
+ _this.opts = {};
4458
+ cov_2g5l3k4997.s[4]++;
4459
+
4460
+ if (window.Cool.settings.collapse) {
4461
+ cov_2g5l3k4997.b[0][0]++;
4462
+ cov_2g5l3k4997.s[5]++;
4463
+ $.extend(true, _this.opts, $.fn[NAME].defaults, window.Cool.settings.dialog, opts);
4464
+ } else {
4465
+ cov_2g5l3k4997.b[0][1]++;
4466
+ cov_2g5l3k4997.s[6]++;
4467
+ $.extend(true, _this.opts, $.fn[NAME].defaults, opts);
4468
+ }
4469
+
4470
+ cov_2g5l3k4997.s[7]++;
4471
+ _this.el = el;
4472
+ cov_2g5l3k4997.s[8]++;
4473
+ _this.debug = _this.opts.debug;
4474
+ cov_2g5l3k4997.s[9]++;
4475
+
4476
+ _this.init();
4477
+
4478
+ return _this;
4479
+ } // Init plugin
4480
+
4481
+
4482
+ var _proto = Collapse.prototype;
4483
+
4484
+ _proto.init = function init() {
4485
+ cov_2g5l3k4997.f[1]++;
4486
+ cov_2g5l3k4997.s[10]++;
4487
+ this.buildCache();
4488
+ cov_2g5l3k4997.s[11]++;
4489
+ this.bindEvents();
4490
+ cov_2g5l3k4997.s[12]++;
4491
+ this.onInit();
4492
+ } // Remove plugin instance completely
4493
+ ;
4494
+
4495
+ _proto.destroy = function destroy() {
4496
+ cov_2g5l3k4997.f[2]++;
4497
+ cov_2g5l3k4997.s[13]++;
4498
+ this.unbindEvents();
4499
+ cov_2g5l3k4997.s[14]++;
4500
+ this.$el.removeData(DATA_KEY);
4501
+ cov_2g5l3k4997.s[15]++;
4502
+ this.onDestroy();
4503
+ } // Update plugin data
4504
+ ;
4505
+
4506
+ _proto.update = function update() {
4507
+ cov_2g5l3k4997.f[3]++;
4508
+ cov_2g5l3k4997.s[16]++;
4509
+ this.buildCache();
4510
+ cov_2g5l3k4997.s[17]++;
4511
+ this.onUpdate();
4512
+ } // Cache DOM nodes for performance
4513
+ ;
4514
+
4515
+ _proto.buildCache = function buildCache() {
4516
+ cov_2g5l3k4997.f[4]++;
4517
+ cov_2g5l3k4997.s[18]++;
4518
+ this.$el = $(this.el);
4519
+ cov_2g5l3k4997.s[19]++;
4520
+ this.$target = this.$el.data('target') ? (cov_2g5l3k4997.b[1][0]++, $(document).find(this.$el.data('target'))) : (cov_2g5l3k4997.b[1][1]++, $(document).find(this.opts.target));
4521
+ cov_2g5l3k4997.s[20]++;
4522
+ this.expanded = this.$el.attr('aria-expanded') == 'true' ? (cov_2g5l3k4997.b[2][0]++, true) : (cov_2g5l3k4997.b[2][1]++, false);
4523
+ cov_2g5l3k4997.s[21]++;
4524
+
4525
+ if (this.$target.length) {
4526
+ cov_2g5l3k4997.b[3][0]++;
4527
+ cov_2g5l3k4997.s[22]++;
4528
+ this.targetHeight = this.$target.height();
4529
+ cov_2g5l3k4997.s[23]++;
4530
+ this.$container = this.$target.closest('.section-collapse');
4531
+ cov_2g5l3k4997.s[24]++;
4532
+ this.$indicator = $(document).find('[data-collapse-indicator="' + this.$el.data('target') + '"]');
4533
+ } else {
4534
+ cov_2g5l3k4997.b[3][1]++;
4535
+ cov_2g5l3k4997.s[25]++;
4536
+ this.$target = $(this.$el).parent().find('.collapse');
4537
+ cov_2g5l3k4997.s[26]++;
4538
+ this.targetHeight = this.$target.height();
4539
+ cov_2g5l3k4997.s[27]++;
4540
+ this.$container = this.$target.closest('.section-collapse');
4541
+ cov_2g5l3k4997.s[28]++;
4542
+ this.$indicator = $(this.$el).parent().find('[data-collapse-indicator]');
4543
+ }
4544
+
4545
+ cov_2g5l3k4997.s[29]++;
4546
+ this.log(this.$el);
4547
+ cov_2g5l3k4997.s[30]++;
4548
+ this.log(this.$target);
4549
+ cov_2g5l3k4997.s[31]++;
4550
+ this.log(this.$container);
4551
+ cov_2g5l3k4997.s[32]++;
4552
+ this.log(this.$indicator);
4553
+ cov_2g5l3k4997.s[33]++;
4554
+ this.log('Expanded: ' + this.expanded);
4555
+ cov_2g5l3k4997.s[34]++;
4556
+ this.log('Target height: ' + this.targetHeight + 'px');
4557
+ } // Bind events that trigger methods
4558
+ ;
4559
+
4560
+ _proto.bindEvents = function bindEvents() {
4561
+ var _this2 = this;
4562
+
4563
+ cov_2g5l3k4997.f[5]++;
4564
+ cov_2g5l3k4997.s[35]++;
4565
+ this.$el.on('click' + '.' + this.name, function (e) {
4566
+ cov_2g5l3k4997.f[6]++;
4567
+ cov_2g5l3k4997.s[36]++;
4568
+
4569
+ if (_this2.expanded) {
4570
+ cov_2g5l3k4997.b[4][0]++;
4571
+ cov_2g5l3k4997.s[37]++;
4572
+
4573
+ _this2.close();
4574
+ } else {
4575
+ cov_2g5l3k4997.b[4][1]++;
4576
+ cov_2g5l3k4997.s[38]++;
4577
+
4578
+ _this2.show();
4579
+ }
4580
+ });
4581
+ cov_2g5l3k4997.s[39]++;
4582
+ $(window).on('resize', debounce(function () {
4583
+ cov_2g5l3k4997.f[7]++;
4584
+ cov_2g5l3k4997.s[40]++;
4585
+
4586
+ if (_this2.$target.length) {
4587
+ cov_2g5l3k4997.b[5][0]++;
4588
+ cov_2g5l3k4997.s[41]++;
4589
+ _this2.targetHeight = _this2.$target.height();
4590
+ cov_2g5l3k4997.s[42]++;
4591
+
4592
+ _this2.log('Target height: ' + _this2.targetHeight + 'px');
4593
+ } else {
4594
+ cov_2g5l3k4997.b[5][1]++;
4595
+ }
4596
+ }, 250));
4597
+ } // Unbind events that trigger methods
4598
+ ;
4599
+
4600
+ _proto.unbindEvents = function unbindEvents() {
4601
+ cov_2g5l3k4997.f[8]++;
4602
+ cov_2g5l3k4997.s[43]++;
4603
+ this.$el.off('.' + this.name);
4604
+ } // Which transition
4605
+ ;
4606
+
4607
+ _proto.whichTransitionEvent = function whichTransitionEvent() {
4608
+ cov_2g5l3k4997.f[9]++;
4609
+ var el = (cov_2g5l3k4997.s[44]++, document.createElement('text-transition'));
4610
+ var transEndEventNames = (cov_2g5l3k4997.s[45]++, {
4611
+ 'WebkitTransition': 'webkitTransitionEnd',
4612
+ // Saf 6, Android Browser
4613
+ 'MozTransition': 'transitionend',
4614
+ // only for FF < 15
4615
+ 'transition': 'transitionend' // IE10, Opera, Chrome, FF 15+, Saf 7+
4616
+
4617
+ });
4618
+ cov_2g5l3k4997.s[46]++;
4619
+
4620
+ for (var t in transEndEventNames) {
4621
+ cov_2g5l3k4997.s[47]++;
4622
+
4623
+ if (el.style[t] !== undefined) {
4624
+ cov_2g5l3k4997.b[6][0]++;
4625
+ cov_2g5l3k4997.s[48]++;
4626
+ return transEndEventNames[t];
4627
+ } else {
4628
+ cov_2g5l3k4997.b[6][1]++;
4629
+ }
4630
+ }
4631
+ } // Show
4632
+ ;
4633
+
4634
+ _proto.show = function show() {
4635
+ var _this3 = this;
4636
+
4637
+ cov_2g5l3k4997.f[10]++;
4638
+ cov_2g5l3k4997.s[49]++;
4639
+ this.$target.removeClass('collapse visible');
4640
+ cov_2g5l3k4997.s[50]++;
4641
+ this.$target.addClass('collapsing');
4642
+ cov_2g5l3k4997.s[51]++;
4643
+
4644
+ if (this.$el.is('button')) {
4645
+ cov_2g5l3k4997.b[7][0]++;
4646
+ cov_2g5l3k4997.s[52]++;
4647
+ this.$el.attr('disabled', true);
4648
+ } else {
4649
+ cov_2g5l3k4997.b[7][1]++;
4650
+ }
4651
+
4652
+ cov_2g5l3k4997.s[53]++;
4653
+
4654
+ if (this.$container.length) {
4655
+ cov_2g5l3k4997.b[8][0]++;
4656
+ cov_2g5l3k4997.s[54]++;
4657
+ this.$container.addClass('visible');
4658
+ } else {
4659
+ cov_2g5l3k4997.b[8][1]++;
4660
+ }
4661
+
4662
+ cov_2g5l3k4997.s[55]++;
4663
+ this.$target.css('height');
4664
+ cov_2g5l3k4997.s[56]++;
4665
+ this.$target.css('height', this.targetHeight);
4666
+ cov_2g5l3k4997.s[57]++;
4667
+
4668
+ if (this.$indicator.length) {
4669
+ cov_2g5l3k4997.b[9][0]++;
4670
+ cov_2g5l3k4997.s[58]++;
4671
+ this.$indicator.addClass('visible');
4672
+ } else {
4673
+ cov_2g5l3k4997.b[9][1]++;
4674
+ }
4675
+
4676
+ cov_2g5l3k4997.s[59]++;
4677
+ this.$target.one(this.whichTransitionEvent(), function () {
4678
+ cov_2g5l3k4997.f[11]++;
4679
+ cov_2g5l3k4997.s[60]++;
4680
+
4681
+ _this3.$target.removeClass('collapsing');
4682
+
4683
+ cov_2g5l3k4997.s[61]++;
4684
+
4685
+ if (_this3.$el.is('button')) {
4686
+ cov_2g5l3k4997.b[10][0]++;
4687
+ cov_2g5l3k4997.s[62]++;
4688
+
4689
+ _this3.$el.attr('disabled', false);
4690
+ } else {
4691
+ cov_2g5l3k4997.b[10][1]++;
4692
+ }
4693
+
4694
+ cov_2g5l3k4997.s[63]++;
4695
+
4696
+ _this3.$target.removeAttr('style');
4697
+
4698
+ cov_2g5l3k4997.s[64]++;
4699
+
4700
+ _this3.$target.addClass('collapse visible');
4701
+
4702
+ cov_2g5l3k4997.s[65]++;
4703
+
4704
+ _this3.$el.attr('aria-expanded', true);
4705
+
4706
+ cov_2g5l3k4997.s[66]++;
4707
+
4708
+ _this3.$target.css('height', 'auto');
4709
+
4710
+ cov_2g5l3k4997.s[67]++;
4711
+ _this3.expanded = true;
4712
+ });
4713
+ cov_2g5l3k4997.s[68]++;
4714
+ this.onShow();
4715
+ } // Close
4716
+ ;
4717
+
4718
+ _proto.close = function close() {
4719
+ var _this4 = this;
4720
+
4721
+ cov_2g5l3k4997.f[12]++;
4722
+ cov_2g5l3k4997.s[69]++;
4723
+ this.$target.removeClass('collapse visible');
4724
+ cov_2g5l3k4997.s[70]++;
4725
+ this.$target.addClass('collapsing');
4726
+ cov_2g5l3k4997.s[71]++;
4727
+
4728
+ if (this.$el.is('button')) {
4729
+ cov_2g5l3k4997.b[11][0]++;
4730
+ cov_2g5l3k4997.s[72]++;
4731
+ this.$el.attr('disabled', true);
4732
+ } else {
4733
+ cov_2g5l3k4997.b[11][1]++;
4734
+ }
4735
+
4736
+ cov_2g5l3k4997.s[73]++;
4737
+
4738
+ if (this.$container.length) {
4739
+ cov_2g5l3k4997.b[12][0]++;
4740
+ cov_2g5l3k4997.s[74]++;
4741
+ this.$container.removeClass('visible');
4742
+ } else {
4743
+ cov_2g5l3k4997.b[12][1]++;
4744
+ }
4745
+
4746
+ cov_2g5l3k4997.s[75]++;
4747
+ this.$target.css('height', this.$target.height());
4748
+ cov_2g5l3k4997.s[76]++;
4749
+ setTimeout(function () {
4750
+ cov_2g5l3k4997.f[13]++;
4751
+ cov_2g5l3k4997.s[77]++;
4752
+
4753
+ _this4.$target.css('height', 0);
4754
+ }, 10);
4755
+ cov_2g5l3k4997.s[78]++;
4756
+
4757
+ if ((cov_2g5l3k4997.b[14][0]++, this.$indicator.length) && (cov_2g5l3k4997.b[14][1]++, this.$indicator.hasClass('visible'))) {
4758
+ cov_2g5l3k4997.b[13][0]++;
4759
+ cov_2g5l3k4997.s[79]++;
4760
+ this.$indicator.removeClass('visible');
4761
+ } else {
4762
+ cov_2g5l3k4997.b[13][1]++;
4763
+ }
4764
+
4765
+ cov_2g5l3k4997.s[80]++;
4766
+ this.$target.one(this.whichTransitionEvent(), function () {
4767
+ cov_2g5l3k4997.f[14]++;
4768
+ cov_2g5l3k4997.s[81]++;
4769
+
4770
+ _this4.$target.removeClass('collapsing');
4771
+
4772
+ cov_2g5l3k4997.s[82]++;
4773
+
4774
+ if (_this4.$el.is('button')) {
4775
+ cov_2g5l3k4997.b[15][0]++;
4776
+ cov_2g5l3k4997.s[83]++;
4777
+
4778
+ _this4.$el.attr('disabled', false);
4779
+ } else {
4780
+ cov_2g5l3k4997.b[15][1]++;
4781
+ }
4782
+
4783
+ cov_2g5l3k4997.s[84]++;
4784
+
4785
+ _this4.$target.removeAttr('style');
4786
+
4787
+ cov_2g5l3k4997.s[85]++;
4788
+
4789
+ _this4.$target.addClass('collapse');
4790
+
4791
+ cov_2g5l3k4997.s[86]++;
4792
+
4793
+ _this4.$el.attr('aria-expanded', false);
4794
+
4795
+ cov_2g5l3k4997.s[87]++;
4796
+ _this4.expanded = false;
4797
+ });
4798
+ cov_2g5l3k4997.s[88]++;
4799
+ this.onClose();
4800
+ };
4801
+
4802
+ Collapse._jQueryInterface = function _jQueryInterface(config) {
4803
+ cov_2g5l3k4997.f[15]++;
4804
+ cov_2g5l3k4997.s[89]++;
4805
+ return this.each(function () {
4806
+ cov_2g5l3k4997.f[16]++;
4807
+ var data = (cov_2g5l3k4997.s[90]++, $(this).data(DATA_KEY));
4808
+
4809
+ var _config = (cov_2g5l3k4997.s[91]++, (cov_2g5l3k4997.b[16][0]++, typeof config === 'object') && (cov_2g5l3k4997.b[16][1]++, config));
4810
+
4811
+ cov_2g5l3k4997.s[92]++;
4812
+
4813
+ if (!data) {
4814
+ cov_2g5l3k4997.b[17][0]++;
4815
+ cov_2g5l3k4997.s[93]++;
4816
+ data = new Collapse(this, _config);
4817
+ cov_2g5l3k4997.s[94]++;
4818
+ $(this).data(DATA_KEY, data);
4819
+ } else {
4820
+ cov_2g5l3k4997.b[17][1]++;
4821
+ }
4822
+
4823
+ cov_2g5l3k4997.s[95]++;
4824
+
4825
+ if (typeof config === 'string') {
4826
+ cov_2g5l3k4997.b[18][0]++;
4827
+ cov_2g5l3k4997.s[96]++;
4828
+
4829
+ if (typeof data[config] === 'undefined') {
4830
+ cov_2g5l3k4997.b[19][0]++;
4831
+ cov_2g5l3k4997.s[97]++;
4832
+ throw new TypeError("No method named \"" + config + "\"");
4833
+ } else {
4834
+ cov_2g5l3k4997.b[19][1]++;
4835
+ }
4836
+
4837
+ cov_2g5l3k4997.s[98]++;
4838
+ data[config]();
4839
+ } else {
4840
+ cov_2g5l3k4997.b[18][1]++;
4841
+ }
4842
+ });
4843
+ };
4844
+
4845
+ return Collapse;
4846
+ }(AbstractUIComponent);
4847
+
4848
+ cov_2g5l3k4997.s[99]++;
4849
+
4850
+ if (typeof $ !== 'undefined') {
4851
+ cov_2g5l3k4997.b[20][0]++;
4852
+ // jQuery
4853
+ var JQUERY_NO_CONFLICT = (cov_2g5l3k4997.s[100]++, $.fn[NAME]);
4854
+ cov_2g5l3k4997.s[101]++;
4855
+ $.fn[NAME] = Collapse._jQueryInterface;
4856
+ cov_2g5l3k4997.s[102]++;
4857
+ $.fn[NAME].Constructor = Collapse;
4858
+ cov_2g5l3k4997.s[103]++;
4859
+
4860
+ $.fn[NAME].noConflict = function () {
4861
+ cov_2g5l3k4997.f[17]++;
4862
+ cov_2g5l3k4997.s[104]++;
4863
+ $.fn[NAME] = JQUERY_NO_CONFLICT;
4864
+ cov_2g5l3k4997.s[105]++;
4865
+ return Collapse._jQueryInterface;
4866
+ };
4867
+
4868
+ cov_2g5l3k4997.s[106]++;
4869
+ $.fn[NAME].defaults = {
4870
+ target: null,
4871
+ onInit: null,
4872
+ onUpdate: null,
4873
+ onDestroy: null,
4874
+ onShow: null,
4875
+ onClose: null,
4876
+ debug: false
4877
+ };
4878
+ } else {
4879
+ cov_2g5l3k4997.b[20][1]++;
4880
+ }
4881
+
4882
+ return Collapse;
319
4883
 
320
4884
  }));
321
4885
  //# sourceMappingURL=collapse.js.map