@bigbinary/neeto-editor 1.25.16 → 1.25.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +198 -134
- package/index.js +199 -135
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -23503,7 +23503,7 @@ var VARIABLE_SPAN_REGEX = (cov_1l9oz901pg().s[3]++, /<span data-variable="" [^>]
|
|
|
23503
23503
|
|
|
23504
23504
|
function cov_2fxze78p7l() {
|
|
23505
23505
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/EditorContent/utils.js";
|
|
23506
|
-
var hash = "
|
|
23506
|
+
var hash = "441fa5e97cbfafb994f82f3774eb62e2601621d6";
|
|
23507
23507
|
var global = new Function("return this")();
|
|
23508
23508
|
var gcv = "__coverage__";
|
|
23509
23509
|
var coverageData = {
|
|
@@ -23511,191 +23511,211 @@ function cov_2fxze78p7l() {
|
|
|
23511
23511
|
statementMap: {
|
|
23512
23512
|
"0": {
|
|
23513
23513
|
start: {
|
|
23514
|
-
line:
|
|
23514
|
+
line: 10,
|
|
23515
23515
|
column: 33
|
|
23516
23516
|
},
|
|
23517
23517
|
end: {
|
|
23518
|
-
line:
|
|
23518
|
+
line: 20,
|
|
23519
23519
|
column: 1
|
|
23520
23520
|
}
|
|
23521
23521
|
},
|
|
23522
23522
|
"1": {
|
|
23523
23523
|
start: {
|
|
23524
|
-
line:
|
|
23524
|
+
line: 11,
|
|
23525
23525
|
column: 2
|
|
23526
23526
|
},
|
|
23527
23527
|
end: {
|
|
23528
|
-
line:
|
|
23528
|
+
line: 17,
|
|
23529
23529
|
column: 3
|
|
23530
23530
|
}
|
|
23531
23531
|
},
|
|
23532
23532
|
"2": {
|
|
23533
23533
|
start: {
|
|
23534
|
-
line:
|
|
23534
|
+
line: 12,
|
|
23535
23535
|
column: 21
|
|
23536
23536
|
},
|
|
23537
23537
|
end: {
|
|
23538
|
-
line:
|
|
23538
|
+
line: 14,
|
|
23539
23539
|
column: 12
|
|
23540
23540
|
}
|
|
23541
23541
|
},
|
|
23542
23542
|
"3": {
|
|
23543
23543
|
start: {
|
|
23544
|
-
line:
|
|
23544
|
+
line: 16,
|
|
23545
23545
|
column: 4
|
|
23546
23546
|
},
|
|
23547
23547
|
end: {
|
|
23548
|
-
line:
|
|
23548
|
+
line: 16,
|
|
23549
23549
|
column: 78
|
|
23550
23550
|
}
|
|
23551
23551
|
},
|
|
23552
23552
|
"4": {
|
|
23553
23553
|
start: {
|
|
23554
|
-
line:
|
|
23554
|
+
line: 19,
|
|
23555
23555
|
column: 2
|
|
23556
23556
|
},
|
|
23557
23557
|
end: {
|
|
23558
|
-
line:
|
|
23558
|
+
line: 19,
|
|
23559
23559
|
column: 23
|
|
23560
23560
|
}
|
|
23561
23561
|
},
|
|
23562
23562
|
"5": {
|
|
23563
23563
|
start: {
|
|
23564
|
-
line:
|
|
23564
|
+
line: 22,
|
|
23565
23565
|
column: 29
|
|
23566
23566
|
},
|
|
23567
23567
|
end: {
|
|
23568
|
-
line:
|
|
23568
|
+
line: 37,
|
|
23569
23569
|
column: 4
|
|
23570
23570
|
}
|
|
23571
23571
|
},
|
|
23572
23572
|
"6": {
|
|
23573
23573
|
start: {
|
|
23574
|
-
line:
|
|
23574
|
+
line: 23,
|
|
23575
23575
|
column: 2
|
|
23576
23576
|
},
|
|
23577
23577
|
end: {
|
|
23578
|
-
line:
|
|
23578
|
+
line: 37,
|
|
23579
23579
|
column: 4
|
|
23580
23580
|
}
|
|
23581
23581
|
},
|
|
23582
23582
|
"7": {
|
|
23583
23583
|
start: {
|
|
23584
|
-
line:
|
|
23585
|
-
column:
|
|
23584
|
+
line: 24,
|
|
23585
|
+
column: 25
|
|
23586
23586
|
},
|
|
23587
23587
|
end: {
|
|
23588
|
-
line:
|
|
23588
|
+
line: 26,
|
|
23589
23589
|
column: 5
|
|
23590
23590
|
}
|
|
23591
23591
|
},
|
|
23592
23592
|
"8": {
|
|
23593
23593
|
start: {
|
|
23594
|
-
line:
|
|
23595
|
-
column:
|
|
23594
|
+
line: 28,
|
|
23595
|
+
column: 4
|
|
23596
23596
|
},
|
|
23597
23597
|
end: {
|
|
23598
|
-
line:
|
|
23598
|
+
line: 30,
|
|
23599
23599
|
column: 5
|
|
23600
23600
|
}
|
|
23601
23601
|
},
|
|
23602
23602
|
"9": {
|
|
23603
23603
|
start: {
|
|
23604
|
-
line:
|
|
23605
|
-
column:
|
|
23604
|
+
line: 29,
|
|
23605
|
+
column: 6
|
|
23606
23606
|
},
|
|
23607
23607
|
end: {
|
|
23608
|
-
line:
|
|
23609
|
-
column:
|
|
23608
|
+
line: 29,
|
|
23609
|
+
column: 62
|
|
23610
23610
|
}
|
|
23611
23611
|
},
|
|
23612
23612
|
"10": {
|
|
23613
23613
|
start: {
|
|
23614
|
+
line: 32,
|
|
23615
|
+
column: 28
|
|
23616
|
+
},
|
|
23617
|
+
end: {
|
|
23614
23618
|
line: 34,
|
|
23619
|
+
column: 5
|
|
23620
|
+
}
|
|
23621
|
+
},
|
|
23622
|
+
"11": {
|
|
23623
|
+
start: {
|
|
23624
|
+
line: 36,
|
|
23625
|
+
column: 4
|
|
23626
|
+
},
|
|
23627
|
+
end: {
|
|
23628
|
+
line: 36,
|
|
23629
|
+
column: 72
|
|
23630
|
+
}
|
|
23631
|
+
},
|
|
23632
|
+
"12": {
|
|
23633
|
+
start: {
|
|
23634
|
+
line: 39,
|
|
23615
23635
|
column: 35
|
|
23616
23636
|
},
|
|
23617
23637
|
end: {
|
|
23618
|
-
line:
|
|
23638
|
+
line: 55,
|
|
23619
23639
|
column: 4
|
|
23620
23640
|
}
|
|
23621
23641
|
},
|
|
23622
|
-
"
|
|
23642
|
+
"13": {
|
|
23623
23643
|
start: {
|
|
23624
|
-
line:
|
|
23644
|
+
line: 40,
|
|
23625
23645
|
column: 2
|
|
23626
23646
|
},
|
|
23627
23647
|
end: {
|
|
23628
|
-
line:
|
|
23648
|
+
line: 55,
|
|
23629
23649
|
column: 4
|
|
23630
23650
|
}
|
|
23631
23651
|
},
|
|
23632
|
-
"
|
|
23652
|
+
"14": {
|
|
23633
23653
|
start: {
|
|
23634
|
-
line:
|
|
23654
|
+
line: 41,
|
|
23635
23655
|
column: 30
|
|
23636
23656
|
},
|
|
23637
23657
|
end: {
|
|
23638
|
-
line:
|
|
23658
|
+
line: 41,
|
|
23639
23659
|
column: 50
|
|
23640
23660
|
}
|
|
23641
23661
|
},
|
|
23642
|
-
"
|
|
23662
|
+
"15": {
|
|
23643
23663
|
start: {
|
|
23644
|
-
line:
|
|
23664
|
+
line: 42,
|
|
23645
23665
|
column: 4
|
|
23646
23666
|
},
|
|
23647
23667
|
end: {
|
|
23648
|
-
line:
|
|
23668
|
+
line: 50,
|
|
23649
23669
|
column: 5
|
|
23650
23670
|
}
|
|
23651
23671
|
},
|
|
23652
|
-
"
|
|
23672
|
+
"16": {
|
|
23653
23673
|
start: {
|
|
23654
|
-
line:
|
|
23674
|
+
line: 43,
|
|
23655
23675
|
column: 23
|
|
23656
23676
|
},
|
|
23657
23677
|
end: {
|
|
23658
|
-
line:
|
|
23678
|
+
line: 43,
|
|
23659
23679
|
column: 76
|
|
23660
23680
|
}
|
|
23661
23681
|
},
|
|
23662
|
-
"
|
|
23682
|
+
"17": {
|
|
23663
23683
|
start: {
|
|
23664
|
-
line:
|
|
23684
|
+
line: 44,
|
|
23665
23685
|
column: 23
|
|
23666
23686
|
},
|
|
23667
23687
|
end: {
|
|
23668
|
-
line:
|
|
23688
|
+
line: 47,
|
|
23669
23689
|
column: 7
|
|
23670
23690
|
}
|
|
23671
23691
|
},
|
|
23672
|
-
"
|
|
23692
|
+
"18": {
|
|
23673
23693
|
start: {
|
|
23674
|
-
line:
|
|
23694
|
+
line: 49,
|
|
23675
23695
|
column: 6
|
|
23676
23696
|
},
|
|
23677
23697
|
end: {
|
|
23678
|
-
line:
|
|
23698
|
+
line: 49,
|
|
23679
23699
|
column: 60
|
|
23680
23700
|
}
|
|
23681
23701
|
},
|
|
23682
|
-
"
|
|
23702
|
+
"19": {
|
|
23683
23703
|
start: {
|
|
23684
|
-
line:
|
|
23704
|
+
line: 52,
|
|
23685
23705
|
column: 21
|
|
23686
23706
|
},
|
|
23687
23707
|
end: {
|
|
23688
|
-
line:
|
|
23708
|
+
line: 52,
|
|
23689
23709
|
column: 69
|
|
23690
23710
|
}
|
|
23691
23711
|
},
|
|
23692
|
-
"
|
|
23712
|
+
"20": {
|
|
23693
23713
|
start: {
|
|
23694
|
-
line:
|
|
23714
|
+
line: 54,
|
|
23695
23715
|
column: 4
|
|
23696
23716
|
},
|
|
23697
23717
|
end: {
|
|
23698
|
-
line:
|
|
23718
|
+
line: 54,
|
|
23699
23719
|
column: 58
|
|
23700
23720
|
}
|
|
23701
23721
|
}
|
|
@@ -23705,143 +23725,143 @@ function cov_2fxze78p7l() {
|
|
|
23705
23725
|
name: "(anonymous_0)",
|
|
23706
23726
|
decl: {
|
|
23707
23727
|
start: {
|
|
23708
|
-
line:
|
|
23728
|
+
line: 10,
|
|
23709
23729
|
column: 33
|
|
23710
23730
|
},
|
|
23711
23731
|
end: {
|
|
23712
|
-
line:
|
|
23732
|
+
line: 10,
|
|
23713
23733
|
column: 34
|
|
23714
23734
|
}
|
|
23715
23735
|
},
|
|
23716
23736
|
loc: {
|
|
23717
23737
|
start: {
|
|
23718
|
-
line:
|
|
23738
|
+
line: 10,
|
|
23719
23739
|
column: 44
|
|
23720
23740
|
},
|
|
23721
23741
|
end: {
|
|
23722
|
-
line:
|
|
23742
|
+
line: 20,
|
|
23723
23743
|
column: 1
|
|
23724
23744
|
}
|
|
23725
23745
|
},
|
|
23726
|
-
line:
|
|
23746
|
+
line: 10
|
|
23727
23747
|
},
|
|
23728
23748
|
"1": {
|
|
23729
23749
|
name: "(anonymous_1)",
|
|
23730
23750
|
decl: {
|
|
23731
23751
|
start: {
|
|
23732
|
-
line:
|
|
23752
|
+
line: 22,
|
|
23733
23753
|
column: 29
|
|
23734
23754
|
},
|
|
23735
23755
|
end: {
|
|
23736
|
-
line:
|
|
23756
|
+
line: 22,
|
|
23737
23757
|
column: 30
|
|
23738
23758
|
}
|
|
23739
23759
|
},
|
|
23740
23760
|
loc: {
|
|
23741
23761
|
start: {
|
|
23742
|
-
line:
|
|
23762
|
+
line: 23,
|
|
23743
23763
|
column: 2
|
|
23744
23764
|
},
|
|
23745
23765
|
end: {
|
|
23746
|
-
line:
|
|
23766
|
+
line: 37,
|
|
23747
23767
|
column: 4
|
|
23748
23768
|
}
|
|
23749
23769
|
},
|
|
23750
|
-
line:
|
|
23770
|
+
line: 23
|
|
23751
23771
|
},
|
|
23752
23772
|
"2": {
|
|
23753
23773
|
name: "(anonymous_2)",
|
|
23754
23774
|
decl: {
|
|
23755
23775
|
start: {
|
|
23756
|
-
line:
|
|
23776
|
+
line: 23,
|
|
23757
23777
|
column: 36
|
|
23758
23778
|
},
|
|
23759
23779
|
end: {
|
|
23760
|
-
line:
|
|
23780
|
+
line: 23,
|
|
23761
23781
|
column: 37
|
|
23762
23782
|
}
|
|
23763
23783
|
},
|
|
23764
23784
|
loc: {
|
|
23765
23785
|
start: {
|
|
23766
|
-
line:
|
|
23786
|
+
line: 23,
|
|
23767
23787
|
column: 49
|
|
23768
23788
|
},
|
|
23769
23789
|
end: {
|
|
23770
|
-
line:
|
|
23790
|
+
line: 37,
|
|
23771
23791
|
column: 3
|
|
23772
23792
|
}
|
|
23773
23793
|
},
|
|
23774
|
-
line:
|
|
23794
|
+
line: 23
|
|
23775
23795
|
},
|
|
23776
23796
|
"3": {
|
|
23777
23797
|
name: "(anonymous_3)",
|
|
23778
23798
|
decl: {
|
|
23779
23799
|
start: {
|
|
23780
|
-
line:
|
|
23800
|
+
line: 39,
|
|
23781
23801
|
column: 35
|
|
23782
23802
|
},
|
|
23783
23803
|
end: {
|
|
23784
|
-
line:
|
|
23804
|
+
line: 39,
|
|
23785
23805
|
column: 36
|
|
23786
23806
|
}
|
|
23787
23807
|
},
|
|
23788
23808
|
loc: {
|
|
23789
23809
|
start: {
|
|
23790
|
-
line:
|
|
23810
|
+
line: 40,
|
|
23791
23811
|
column: 2
|
|
23792
23812
|
},
|
|
23793
23813
|
end: {
|
|
23794
|
-
line:
|
|
23814
|
+
line: 55,
|
|
23795
23815
|
column: 4
|
|
23796
23816
|
}
|
|
23797
23817
|
},
|
|
23798
|
-
line:
|
|
23818
|
+
line: 40
|
|
23799
23819
|
},
|
|
23800
23820
|
"4": {
|
|
23801
23821
|
name: "(anonymous_4)",
|
|
23802
23822
|
decl: {
|
|
23803
23823
|
start: {
|
|
23804
|
-
line:
|
|
23824
|
+
line: 40,
|
|
23805
23825
|
column: 50
|
|
23806
23826
|
},
|
|
23807
23827
|
end: {
|
|
23808
|
-
line:
|
|
23828
|
+
line: 40,
|
|
23809
23829
|
column: 51
|
|
23810
23830
|
}
|
|
23811
23831
|
},
|
|
23812
23832
|
loc: {
|
|
23813
23833
|
start: {
|
|
23814
|
-
line:
|
|
23834
|
+
line: 40,
|
|
23815
23835
|
column: 78
|
|
23816
23836
|
},
|
|
23817
23837
|
end: {
|
|
23818
|
-
line:
|
|
23838
|
+
line: 55,
|
|
23819
23839
|
column: 3
|
|
23820
23840
|
}
|
|
23821
23841
|
},
|
|
23822
|
-
line:
|
|
23842
|
+
line: 40
|
|
23823
23843
|
}
|
|
23824
23844
|
},
|
|
23825
23845
|
branchMap: {
|
|
23826
23846
|
"0": {
|
|
23827
23847
|
loc: {
|
|
23828
23848
|
start: {
|
|
23829
|
-
line:
|
|
23849
|
+
line: 11,
|
|
23830
23850
|
column: 2
|
|
23831
23851
|
},
|
|
23832
23852
|
end: {
|
|
23833
|
-
line:
|
|
23853
|
+
line: 17,
|
|
23834
23854
|
column: 3
|
|
23835
23855
|
}
|
|
23836
23856
|
},
|
|
23837
23857
|
type: "if",
|
|
23838
23858
|
locations: [{
|
|
23839
23859
|
start: {
|
|
23840
|
-
line:
|
|
23860
|
+
line: 11,
|
|
23841
23861
|
column: 2
|
|
23842
23862
|
},
|
|
23843
23863
|
end: {
|
|
23844
|
-
line:
|
|
23864
|
+
line: 17,
|
|
23845
23865
|
column: 3
|
|
23846
23866
|
}
|
|
23847
23867
|
}, {
|
|
@@ -23854,60 +23874,60 @@ function cov_2fxze78p7l() {
|
|
|
23854
23874
|
column: undefined
|
|
23855
23875
|
}
|
|
23856
23876
|
}],
|
|
23857
|
-
line:
|
|
23877
|
+
line: 11
|
|
23858
23878
|
},
|
|
23859
23879
|
"1": {
|
|
23860
23880
|
loc: {
|
|
23861
23881
|
start: {
|
|
23862
|
-
line:
|
|
23882
|
+
line: 12,
|
|
23863
23883
|
column: 21
|
|
23864
23884
|
},
|
|
23865
23885
|
end: {
|
|
23866
|
-
line:
|
|
23886
|
+
line: 14,
|
|
23867
23887
|
column: 12
|
|
23868
23888
|
}
|
|
23869
23889
|
},
|
|
23870
23890
|
type: "cond-expr",
|
|
23871
23891
|
locations: [{
|
|
23872
23892
|
start: {
|
|
23873
|
-
line:
|
|
23893
|
+
line: 13,
|
|
23874
23894
|
column: 8
|
|
23875
23895
|
},
|
|
23876
23896
|
end: {
|
|
23877
|
-
line:
|
|
23897
|
+
line: 13,
|
|
23878
23898
|
column: 54
|
|
23879
23899
|
}
|
|
23880
23900
|
}, {
|
|
23881
23901
|
start: {
|
|
23882
|
-
line:
|
|
23902
|
+
line: 14,
|
|
23883
23903
|
column: 8
|
|
23884
23904
|
},
|
|
23885
23905
|
end: {
|
|
23886
|
-
line:
|
|
23906
|
+
line: 14,
|
|
23887
23907
|
column: 12
|
|
23888
23908
|
}
|
|
23889
23909
|
}],
|
|
23890
|
-
line:
|
|
23910
|
+
line: 12
|
|
23891
23911
|
},
|
|
23892
23912
|
"2": {
|
|
23893
23913
|
loc: {
|
|
23894
23914
|
start: {
|
|
23895
|
-
line:
|
|
23915
|
+
line: 28,
|
|
23896
23916
|
column: 4
|
|
23897
23917
|
},
|
|
23898
23918
|
end: {
|
|
23899
|
-
line:
|
|
23919
|
+
line: 30,
|
|
23900
23920
|
column: 5
|
|
23901
23921
|
}
|
|
23902
23922
|
},
|
|
23903
23923
|
type: "if",
|
|
23904
23924
|
locations: [{
|
|
23905
23925
|
start: {
|
|
23906
|
-
line:
|
|
23926
|
+
line: 28,
|
|
23907
23927
|
column: 4
|
|
23908
23928
|
},
|
|
23909
23929
|
end: {
|
|
23910
|
-
line:
|
|
23930
|
+
line: 30,
|
|
23911
23931
|
column: 5
|
|
23912
23932
|
}
|
|
23913
23933
|
}, {
|
|
@@ -23920,106 +23940,139 @@ function cov_2fxze78p7l() {
|
|
|
23920
23940
|
column: undefined
|
|
23921
23941
|
}
|
|
23922
23942
|
}],
|
|
23923
|
-
line:
|
|
23943
|
+
line: 28
|
|
23924
23944
|
},
|
|
23925
23945
|
"3": {
|
|
23926
23946
|
loc: {
|
|
23927
23947
|
start: {
|
|
23928
|
-
line:
|
|
23948
|
+
line: 42,
|
|
23949
|
+
column: 4
|
|
23950
|
+
},
|
|
23951
|
+
end: {
|
|
23952
|
+
line: 50,
|
|
23953
|
+
column: 5
|
|
23954
|
+
}
|
|
23955
|
+
},
|
|
23956
|
+
type: "if",
|
|
23957
|
+
locations: [{
|
|
23958
|
+
start: {
|
|
23959
|
+
line: 42,
|
|
23960
|
+
column: 4
|
|
23961
|
+
},
|
|
23962
|
+
end: {
|
|
23963
|
+
line: 50,
|
|
23964
|
+
column: 5
|
|
23965
|
+
}
|
|
23966
|
+
}, {
|
|
23967
|
+
start: {
|
|
23968
|
+
line: undefined,
|
|
23969
|
+
column: undefined
|
|
23970
|
+
},
|
|
23971
|
+
end: {
|
|
23972
|
+
line: undefined,
|
|
23973
|
+
column: undefined
|
|
23974
|
+
}
|
|
23975
|
+
}],
|
|
23976
|
+
line: 42
|
|
23977
|
+
},
|
|
23978
|
+
"4": {
|
|
23979
|
+
loc: {
|
|
23980
|
+
start: {
|
|
23981
|
+
line: 46,
|
|
23929
23982
|
column: 8
|
|
23930
23983
|
},
|
|
23931
23984
|
end: {
|
|
23932
|
-
line:
|
|
23985
|
+
line: 46,
|
|
23933
23986
|
column: 33
|
|
23934
23987
|
}
|
|
23935
23988
|
},
|
|
23936
23989
|
type: "binary-expr",
|
|
23937
23990
|
locations: [{
|
|
23938
23991
|
start: {
|
|
23939
|
-
line:
|
|
23992
|
+
line: 46,
|
|
23940
23993
|
column: 8
|
|
23941
23994
|
},
|
|
23942
23995
|
end: {
|
|
23943
|
-
line:
|
|
23996
|
+
line: 46,
|
|
23944
23997
|
column: 27
|
|
23945
23998
|
}
|
|
23946
23999
|
}, {
|
|
23947
24000
|
start: {
|
|
23948
|
-
line:
|
|
24001
|
+
line: 46,
|
|
23949
24002
|
column: 31
|
|
23950
24003
|
},
|
|
23951
24004
|
end: {
|
|
23952
|
-
line:
|
|
24005
|
+
line: 46,
|
|
23953
24006
|
column: 33
|
|
23954
24007
|
}
|
|
23955
24008
|
}],
|
|
23956
|
-
line:
|
|
24009
|
+
line: 46
|
|
23957
24010
|
},
|
|
23958
|
-
"
|
|
24011
|
+
"5": {
|
|
23959
24012
|
loc: {
|
|
23960
24013
|
start: {
|
|
23961
|
-
line:
|
|
24014
|
+
line: 49,
|
|
23962
24015
|
column: 13
|
|
23963
24016
|
},
|
|
23964
24017
|
end: {
|
|
23965
|
-
line:
|
|
24018
|
+
line: 49,
|
|
23966
24019
|
column: 59
|
|
23967
24020
|
}
|
|
23968
24021
|
},
|
|
23969
24022
|
type: "cond-expr",
|
|
23970
24023
|
locations: [{
|
|
23971
24024
|
start: {
|
|
23972
|
-
line:
|
|
24025
|
+
line: 49,
|
|
23973
24026
|
column: 31
|
|
23974
24027
|
},
|
|
23975
24028
|
end: {
|
|
23976
|
-
line:
|
|
24029
|
+
line: 49,
|
|
23977
24030
|
column: 45
|
|
23978
24031
|
}
|
|
23979
24032
|
}, {
|
|
23980
24033
|
start: {
|
|
23981
|
-
line:
|
|
24034
|
+
line: 49,
|
|
23982
24035
|
column: 48
|
|
23983
24036
|
},
|
|
23984
24037
|
end: {
|
|
23985
|
-
line:
|
|
24038
|
+
line: 49,
|
|
23986
24039
|
column: 59
|
|
23987
24040
|
}
|
|
23988
24041
|
}],
|
|
23989
|
-
line:
|
|
24042
|
+
line: 49
|
|
23990
24043
|
},
|
|
23991
|
-
"
|
|
24044
|
+
"6": {
|
|
23992
24045
|
loc: {
|
|
23993
24046
|
start: {
|
|
23994
|
-
line:
|
|
24047
|
+
line: 54,
|
|
23995
24048
|
column: 11
|
|
23996
24049
|
},
|
|
23997
24050
|
end: {
|
|
23998
|
-
line:
|
|
24051
|
+
line: 54,
|
|
23999
24052
|
column: 57
|
|
24000
24053
|
}
|
|
24001
24054
|
},
|
|
24002
24055
|
type: "cond-expr",
|
|
24003
24056
|
locations: [{
|
|
24004
24057
|
start: {
|
|
24005
|
-
line:
|
|
24058
|
+
line: 54,
|
|
24006
24059
|
column: 29
|
|
24007
24060
|
},
|
|
24008
24061
|
end: {
|
|
24009
|
-
line:
|
|
24062
|
+
line: 54,
|
|
24010
24063
|
column: 43
|
|
24011
24064
|
}
|
|
24012
24065
|
}, {
|
|
24013
24066
|
start: {
|
|
24014
|
-
line:
|
|
24067
|
+
line: 54,
|
|
24015
24068
|
column: 46
|
|
24016
24069
|
},
|
|
24017
24070
|
end: {
|
|
24018
|
-
line:
|
|
24071
|
+
line: 54,
|
|
24019
24072
|
column: 57
|
|
24020
24073
|
}
|
|
24021
24074
|
}],
|
|
24022
|
-
line:
|
|
24075
|
+
line: 54
|
|
24023
24076
|
}
|
|
24024
24077
|
},
|
|
24025
24078
|
s: {
|
|
@@ -24041,7 +24094,9 @@ function cov_2fxze78p7l() {
|
|
|
24041
24094
|
"15": 0,
|
|
24042
24095
|
"16": 0,
|
|
24043
24096
|
"17": 0,
|
|
24044
|
-
"18": 0
|
|
24097
|
+
"18": 0,
|
|
24098
|
+
"19": 0,
|
|
24099
|
+
"20": 0
|
|
24045
24100
|
},
|
|
24046
24101
|
f: {
|
|
24047
24102
|
"0": 0,
|
|
@@ -24056,10 +24111,11 @@ function cov_2fxze78p7l() {
|
|
|
24056
24111
|
"2": [0, 0],
|
|
24057
24112
|
"3": [0, 0],
|
|
24058
24113
|
"4": [0, 0],
|
|
24059
|
-
"5": [0, 0]
|
|
24114
|
+
"5": [0, 0],
|
|
24115
|
+
"6": [0, 0]
|
|
24060
24116
|
},
|
|
24061
24117
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
24062
|
-
hash: "
|
|
24118
|
+
hash: "441fa5e97cbfafb994f82f3774eb62e2601621d6"
|
|
24063
24119
|
};
|
|
24064
24120
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
24065
24121
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -24097,37 +24153,45 @@ var highlightCode = function highlightCode(content) {
|
|
|
24097
24153
|
return content.replace(CODE_BLOCK_REGEX, function (_, code) {
|
|
24098
24154
|
cov_2fxze78p7l().f[2]++;
|
|
24099
24155
|
var highlightedAST = (cov_2fxze78p7l().s[7]++, lowlight.highlightAuto(code.replace(/>/g, ">").replace(/</g, "<").replace(/&/g, "&")));
|
|
24100
|
-
|
|
24101
|
-
|
|
24156
|
+
cov_2fxze78p7l().s[8]++;
|
|
24157
|
+
if (ramda.isEmpty(highlightedAST.children)) {
|
|
24158
|
+
cov_2fxze78p7l().b[2][0]++;
|
|
24159
|
+
cov_2fxze78p7l().s[9]++;
|
|
24160
|
+
highlightedAST = lowlight.highlight("javascript", code);
|
|
24161
|
+
} else {
|
|
24162
|
+
cov_2fxze78p7l().b[2][1]++;
|
|
24163
|
+
}
|
|
24164
|
+
var highlightedNode = (cov_2fxze78p7l().s[10]++, highlightedAST.children.map(buildReactElementFromAST));
|
|
24165
|
+
cov_2fxze78p7l().s[11]++;
|
|
24102
24166
|
return "<pre><code>".concat(server.renderToString(highlightedNode), "</code></pre>");
|
|
24103
24167
|
});
|
|
24104
24168
|
};
|
|
24105
|
-
cov_2fxze78p7l().s[
|
|
24169
|
+
cov_2fxze78p7l().s[12]++;
|
|
24106
24170
|
var substituteVariables = function substituteVariables(highlightedContent, variables) {
|
|
24107
24171
|
cov_2fxze78p7l().f[3]++;
|
|
24108
|
-
cov_2fxze78p7l().s[
|
|
24172
|
+
cov_2fxze78p7l().s[13]++;
|
|
24109
24173
|
return highlightedContent.replace(VARIABLE_SPAN_REGEX, function (matchedSpan, dataLabel) {
|
|
24110
24174
|
cov_2fxze78p7l().f[4]++;
|
|
24111
|
-
var dataLabelSplitted = (cov_2fxze78p7l().s[
|
|
24112
|
-
cov_2fxze78p7l().s[
|
|
24175
|
+
var dataLabelSplitted = (cov_2fxze78p7l().s[14]++, dataLabel.split("."));
|
|
24176
|
+
cov_2fxze78p7l().s[15]++;
|
|
24113
24177
|
if (dataLabelSplitted.length > 1) {
|
|
24114
|
-
cov_2fxze78p7l().b[
|
|
24115
|
-
var category = (cov_2fxze78p7l().s[
|
|
24178
|
+
cov_2fxze78p7l().b[3][0]++;
|
|
24179
|
+
var category = (cov_2fxze78p7l().s[16]++, pure.findBy({
|
|
24116
24180
|
category: dataLabelSplitted[0]
|
|
24117
24181
|
}, variables));
|
|
24118
|
-
var _variable = (cov_2fxze78p7l().s[
|
|
24182
|
+
var _variable = (cov_2fxze78p7l().s[17]++, pure.findBy({
|
|
24119
24183
|
key: dataLabelSplitted[1]
|
|
24120
|
-
}, (cov_2fxze78p7l().b[
|
|
24121
|
-
cov_2fxze78p7l().s[
|
|
24122
|
-
return _variable !== null && _variable !== void 0 && _variable.value ? (cov_2fxze78p7l().b[
|
|
24184
|
+
}, (cov_2fxze78p7l().b[4][0]++, category === null || category === void 0 ? void 0 : category.variables) || (cov_2fxze78p7l().b[4][1]++, [])));
|
|
24185
|
+
cov_2fxze78p7l().s[18]++;
|
|
24186
|
+
return _variable !== null && _variable !== void 0 && _variable.value ? (cov_2fxze78p7l().b[5][0]++, _variable.value) : (cov_2fxze78p7l().b[5][1]++, matchedSpan);
|
|
24123
24187
|
} else {
|
|
24124
|
-
cov_2fxze78p7l().b[
|
|
24188
|
+
cov_2fxze78p7l().b[3][1]++;
|
|
24125
24189
|
}
|
|
24126
|
-
var variable = (cov_2fxze78p7l().s[
|
|
24190
|
+
var variable = (cov_2fxze78p7l().s[19]++, pure.findBy({
|
|
24127
24191
|
key: dataLabelSplitted[0]
|
|
24128
24192
|
}, variables));
|
|
24129
|
-
cov_2fxze78p7l().s[
|
|
24130
|
-
return variable !== null && variable !== void 0 && variable.value ? (cov_2fxze78p7l().b[
|
|
24193
|
+
cov_2fxze78p7l().s[20]++;
|
|
24194
|
+
return variable !== null && variable !== void 0 && variable.value ? (cov_2fxze78p7l().b[6][0]++, variable.value) : (cov_2fxze78p7l().b[6][1]++, matchedSpan);
|
|
24131
24195
|
});
|
|
24132
24196
|
};
|
|
24133
24197
|
|