@bigbinary/neeto-editor 1.28.7 → 1.28.9
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 +591 -463
- package/index.cjs.js.map +1 -1
- package/index.js +591 -463
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -35900,7 +35900,7 @@ lowlight.registerLanguage('yaml', yaml);
|
|
|
35900
35900
|
|
|
35901
35901
|
function cov_1l9oz901pg() {
|
|
35902
35902
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/EditorContent/constants.js";
|
|
35903
|
-
var hash = "
|
|
35903
|
+
var hash = "6656731474757c2c6de23a1e9647abc1d28d66ea";
|
|
35904
35904
|
var global = new Function("return this")();
|
|
35905
35905
|
var gcv = "__coverage__";
|
|
35906
35906
|
var coverageData = {
|
|
@@ -35908,43 +35908,53 @@ function cov_1l9oz901pg() {
|
|
|
35908
35908
|
statementMap: {
|
|
35909
35909
|
"0": {
|
|
35910
35910
|
start: {
|
|
35911
|
-
line:
|
|
35911
|
+
line: 3,
|
|
35912
35912
|
column: 40
|
|
35913
35913
|
},
|
|
35914
35914
|
end: {
|
|
35915
|
-
line:
|
|
35915
|
+
line: 3,
|
|
35916
35916
|
column: 62
|
|
35917
35917
|
}
|
|
35918
35918
|
},
|
|
35919
35919
|
"1": {
|
|
35920
35920
|
start: {
|
|
35921
|
-
line:
|
|
35921
|
+
line: 5,
|
|
35922
35922
|
column: 32
|
|
35923
35923
|
},
|
|
35924
35924
|
end: {
|
|
35925
|
-
line:
|
|
35925
|
+
line: 8,
|
|
35926
35926
|
column: 1
|
|
35927
35927
|
}
|
|
35928
35928
|
},
|
|
35929
35929
|
"2": {
|
|
35930
35930
|
start: {
|
|
35931
|
-
line:
|
|
35931
|
+
line: 11,
|
|
35932
35932
|
column: 2
|
|
35933
35933
|
},
|
|
35934
35934
|
end: {
|
|
35935
|
-
line:
|
|
35935
|
+
line: 11,
|
|
35936
35936
|
column: 75
|
|
35937
35937
|
}
|
|
35938
35938
|
},
|
|
35939
35939
|
"3": {
|
|
35940
35940
|
start: {
|
|
35941
|
-
line:
|
|
35941
|
+
line: 14,
|
|
35942
35942
|
column: 2
|
|
35943
35943
|
},
|
|
35944
35944
|
end: {
|
|
35945
|
-
line:
|
|
35945
|
+
line: 14,
|
|
35946
35946
|
column: 73
|
|
35947
35947
|
}
|
|
35948
|
+
},
|
|
35949
|
+
"4": {
|
|
35950
|
+
start: {
|
|
35951
|
+
line: 16,
|
|
35952
|
+
column: 29
|
|
35953
|
+
},
|
|
35954
|
+
end: {
|
|
35955
|
+
line: 16,
|
|
35956
|
+
column: 53
|
|
35957
|
+
}
|
|
35948
35958
|
}
|
|
35949
35959
|
},
|
|
35950
35960
|
fnMap: {},
|
|
@@ -35953,12 +35963,13 @@ function cov_1l9oz901pg() {
|
|
|
35953
35963
|
"0": 0,
|
|
35954
35964
|
"1": 0,
|
|
35955
35965
|
"2": 0,
|
|
35956
|
-
"3": 0
|
|
35966
|
+
"3": 0,
|
|
35967
|
+
"4": 0
|
|
35957
35968
|
},
|
|
35958
35969
|
f: {},
|
|
35959
35970
|
b: {},
|
|
35960
35971
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
35961
|
-
hash: "
|
|
35972
|
+
hash: "6656731474757c2c6de23a1e9647abc1d28d66ea"
|
|
35962
35973
|
};
|
|
35963
35974
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
35964
35975
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -35981,10 +35992,11 @@ var SANITIZE_OPTIONS = (cov_1l9oz901pg().s[1]++, {
|
|
|
35981
35992
|
});
|
|
35982
35993
|
var CODE_BLOCK_REGEX = (cov_1l9oz901pg().s[2]++, /<pre><code(?:\s+class="language-([^"]*)")?>([\S\s]*?)<\/code><\/pre>/gim);
|
|
35983
35994
|
var VARIABLE_SPAN_REGEX = (cov_1l9oz901pg().s[3]++, /<span data-variable="" [^>]*data-label="([^"]+)">{{([^}]+)}}<\/span>/g);
|
|
35995
|
+
var LANGUAGE_LIST = (cov_1l9oz901pg().s[4]++, lowlight.listLanguages());
|
|
35984
35996
|
|
|
35985
35997
|
function cov_2fxze78p7l() {
|
|
35986
35998
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/EditorContent/utils.js";
|
|
35987
|
-
var hash = "
|
|
35999
|
+
var hash = "3cfa6347817ee3a0f2c18ce96e7086518cf35fc3";
|
|
35988
36000
|
var global = new Function("return this")();
|
|
35989
36001
|
var gcv = "__coverage__";
|
|
35990
36002
|
var coverageData = {
|
|
@@ -35992,271 +36004,271 @@ function cov_2fxze78p7l() {
|
|
|
35992
36004
|
statementMap: {
|
|
35993
36005
|
"0": {
|
|
35994
36006
|
start: {
|
|
35995
|
-
line:
|
|
36007
|
+
line: 15,
|
|
35996
36008
|
column: 22
|
|
35997
36009
|
},
|
|
35998
36010
|
end: {
|
|
35999
|
-
line:
|
|
36011
|
+
line: 16,
|
|
36000
36012
|
column: 73
|
|
36001
36013
|
}
|
|
36002
36014
|
},
|
|
36003
36015
|
"1": {
|
|
36004
36016
|
start: {
|
|
36005
|
-
line:
|
|
36017
|
+
line: 16,
|
|
36006
36018
|
column: 2
|
|
36007
36019
|
},
|
|
36008
36020
|
end: {
|
|
36009
|
-
line:
|
|
36021
|
+
line: 16,
|
|
36010
36022
|
column: 73
|
|
36011
36023
|
}
|
|
36012
36024
|
},
|
|
36013
36025
|
"2": {
|
|
36014
36026
|
start: {
|
|
36015
|
-
line:
|
|
36027
|
+
line: 18,
|
|
36016
36028
|
column: 33
|
|
36017
36029
|
},
|
|
36018
36030
|
end: {
|
|
36019
|
-
line:
|
|
36031
|
+
line: 28,
|
|
36020
36032
|
column: 1
|
|
36021
36033
|
}
|
|
36022
36034
|
},
|
|
36023
36035
|
"3": {
|
|
36024
36036
|
start: {
|
|
36025
|
-
line:
|
|
36037
|
+
line: 19,
|
|
36026
36038
|
column: 2
|
|
36027
36039
|
},
|
|
36028
36040
|
end: {
|
|
36029
|
-
line:
|
|
36041
|
+
line: 25,
|
|
36030
36042
|
column: 3
|
|
36031
36043
|
}
|
|
36032
36044
|
},
|
|
36033
36045
|
"4": {
|
|
36034
36046
|
start: {
|
|
36035
|
-
line:
|
|
36047
|
+
line: 20,
|
|
36036
36048
|
column: 21
|
|
36037
36049
|
},
|
|
36038
36050
|
end: {
|
|
36039
|
-
line:
|
|
36051
|
+
line: 22,
|
|
36040
36052
|
column: 12
|
|
36041
36053
|
}
|
|
36042
36054
|
},
|
|
36043
36055
|
"5": {
|
|
36044
36056
|
start: {
|
|
36045
|
-
line:
|
|
36057
|
+
line: 24,
|
|
36046
36058
|
column: 4
|
|
36047
36059
|
},
|
|
36048
36060
|
end: {
|
|
36049
|
-
line:
|
|
36061
|
+
line: 24,
|
|
36050
36062
|
column: 78
|
|
36051
36063
|
}
|
|
36052
36064
|
},
|
|
36053
36065
|
"6": {
|
|
36054
36066
|
start: {
|
|
36055
|
-
line:
|
|
36067
|
+
line: 27,
|
|
36056
36068
|
column: 2
|
|
36057
36069
|
},
|
|
36058
36070
|
end: {
|
|
36059
|
-
line:
|
|
36071
|
+
line: 27,
|
|
36060
36072
|
column: 23
|
|
36061
36073
|
}
|
|
36062
36074
|
},
|
|
36063
36075
|
"7": {
|
|
36064
36076
|
start: {
|
|
36065
|
-
line:
|
|
36077
|
+
line: 30,
|
|
36066
36078
|
column: 29
|
|
36067
36079
|
},
|
|
36068
36080
|
end: {
|
|
36069
|
-
line:
|
|
36081
|
+
line: 50,
|
|
36070
36082
|
column: 1
|
|
36071
36083
|
}
|
|
36072
36084
|
},
|
|
36073
36085
|
"8": {
|
|
36074
36086
|
start: {
|
|
36075
|
-
line:
|
|
36087
|
+
line: 31,
|
|
36076
36088
|
column: 2
|
|
36077
36089
|
},
|
|
36078
36090
|
end: {
|
|
36079
|
-
line:
|
|
36091
|
+
line: 31,
|
|
36080
36092
|
column: 29
|
|
36081
36093
|
}
|
|
36082
36094
|
},
|
|
36083
36095
|
"9": {
|
|
36084
36096
|
start: {
|
|
36085
|
-
line:
|
|
36097
|
+
line: 32,
|
|
36086
36098
|
column: 23
|
|
36087
36099
|
},
|
|
36088
36100
|
end: {
|
|
36089
|
-
line:
|
|
36101
|
+
line: 32,
|
|
36090
36102
|
column: 25
|
|
36091
36103
|
}
|
|
36092
36104
|
},
|
|
36093
36105
|
"10": {
|
|
36094
36106
|
start: {
|
|
36095
|
-
line:
|
|
36107
|
+
line: 34,
|
|
36096
36108
|
column: 2
|
|
36097
36109
|
},
|
|
36098
36110
|
end: {
|
|
36099
|
-
line:
|
|
36111
|
+
line: 49,
|
|
36100
36112
|
column: 5
|
|
36101
36113
|
}
|
|
36102
36114
|
},
|
|
36103
36115
|
"11": {
|
|
36104
36116
|
start: {
|
|
36105
|
-
line:
|
|
36117
|
+
line: 35,
|
|
36106
36118
|
column: 4
|
|
36107
36119
|
},
|
|
36108
36120
|
end: {
|
|
36109
|
-
line:
|
|
36121
|
+
line: 42,
|
|
36110
36122
|
column: 5
|
|
36111
36123
|
}
|
|
36112
36124
|
},
|
|
36113
36125
|
"12": {
|
|
36114
36126
|
start: {
|
|
36115
|
-
line:
|
|
36127
|
+
line: 36,
|
|
36116
36128
|
column: 6
|
|
36117
36129
|
},
|
|
36118
36130
|
end: {
|
|
36119
|
-
line:
|
|
36131
|
+
line: 36,
|
|
36120
36132
|
column: 73
|
|
36121
36133
|
}
|
|
36122
36134
|
},
|
|
36123
36135
|
"13": {
|
|
36124
36136
|
start: {
|
|
36125
|
-
line:
|
|
36137
|
+
line: 38,
|
|
36126
36138
|
column: 6
|
|
36127
36139
|
},
|
|
36128
36140
|
end: {
|
|
36129
|
-
line:
|
|
36141
|
+
line: 38,
|
|
36130
36142
|
column: 77
|
|
36131
36143
|
}
|
|
36132
36144
|
},
|
|
36133
36145
|
"14": {
|
|
36134
36146
|
start: {
|
|
36135
|
-
line:
|
|
36147
|
+
line: 39,
|
|
36136
36148
|
column: 6
|
|
36137
36149
|
},
|
|
36138
36150
|
end: {
|
|
36139
|
-
line:
|
|
36151
|
+
line: 41,
|
|
36140
36152
|
column: 7
|
|
36141
36153
|
}
|
|
36142
36154
|
},
|
|
36143
36155
|
"15": {
|
|
36144
36156
|
start: {
|
|
36145
|
-
line:
|
|
36157
|
+
line: 40,
|
|
36146
36158
|
column: 8
|
|
36147
36159
|
},
|
|
36148
36160
|
end: {
|
|
36149
|
-
line:
|
|
36161
|
+
line: 40,
|
|
36150
36162
|
column: 79
|
|
36151
36163
|
}
|
|
36152
36164
|
},
|
|
36153
36165
|
"16": {
|
|
36154
36166
|
start: {
|
|
36155
|
-
line:
|
|
36167
|
+
line: 44,
|
|
36156
36168
|
column: 28
|
|
36157
36169
|
},
|
|
36158
36170
|
end: {
|
|
36159
|
-
line:
|
|
36171
|
+
line: 46,
|
|
36160
36172
|
column: 5
|
|
36161
36173
|
}
|
|
36162
36174
|
},
|
|
36163
36175
|
"17": {
|
|
36164
36176
|
start: {
|
|
36165
|
-
line:
|
|
36177
|
+
line: 48,
|
|
36166
36178
|
column: 4
|
|
36167
36179
|
},
|
|
36168
36180
|
end: {
|
|
36169
|
-
line:
|
|
36181
|
+
line: 48,
|
|
36170
36182
|
column: 72
|
|
36171
36183
|
}
|
|
36172
36184
|
},
|
|
36173
36185
|
"18": {
|
|
36174
36186
|
start: {
|
|
36175
|
-
line:
|
|
36187
|
+
line: 52,
|
|
36176
36188
|
column: 35
|
|
36177
36189
|
},
|
|
36178
36190
|
end: {
|
|
36179
|
-
line:
|
|
36191
|
+
line: 68,
|
|
36180
36192
|
column: 4
|
|
36181
36193
|
}
|
|
36182
36194
|
},
|
|
36183
36195
|
"19": {
|
|
36184
36196
|
start: {
|
|
36185
|
-
line:
|
|
36197
|
+
line: 53,
|
|
36186
36198
|
column: 2
|
|
36187
36199
|
},
|
|
36188
36200
|
end: {
|
|
36189
|
-
line:
|
|
36201
|
+
line: 68,
|
|
36190
36202
|
column: 4
|
|
36191
36203
|
}
|
|
36192
36204
|
},
|
|
36193
36205
|
"20": {
|
|
36194
36206
|
start: {
|
|
36195
|
-
line:
|
|
36207
|
+
line: 54,
|
|
36196
36208
|
column: 30
|
|
36197
36209
|
},
|
|
36198
36210
|
end: {
|
|
36199
|
-
line:
|
|
36211
|
+
line: 54,
|
|
36200
36212
|
column: 50
|
|
36201
36213
|
}
|
|
36202
36214
|
},
|
|
36203
36215
|
"21": {
|
|
36204
36216
|
start: {
|
|
36205
|
-
line:
|
|
36217
|
+
line: 55,
|
|
36206
36218
|
column: 4
|
|
36207
36219
|
},
|
|
36208
36220
|
end: {
|
|
36209
|
-
line:
|
|
36221
|
+
line: 63,
|
|
36210
36222
|
column: 5
|
|
36211
36223
|
}
|
|
36212
36224
|
},
|
|
36213
36225
|
"22": {
|
|
36214
36226
|
start: {
|
|
36215
|
-
line:
|
|
36227
|
+
line: 56,
|
|
36216
36228
|
column: 23
|
|
36217
36229
|
},
|
|
36218
36230
|
end: {
|
|
36219
|
-
line:
|
|
36231
|
+
line: 56,
|
|
36220
36232
|
column: 76
|
|
36221
36233
|
}
|
|
36222
36234
|
},
|
|
36223
36235
|
"23": {
|
|
36224
36236
|
start: {
|
|
36225
|
-
line:
|
|
36237
|
+
line: 57,
|
|
36226
36238
|
column: 23
|
|
36227
36239
|
},
|
|
36228
36240
|
end: {
|
|
36229
|
-
line:
|
|
36241
|
+
line: 60,
|
|
36230
36242
|
column: 7
|
|
36231
36243
|
}
|
|
36232
36244
|
},
|
|
36233
36245
|
"24": {
|
|
36234
36246
|
start: {
|
|
36235
|
-
line:
|
|
36247
|
+
line: 62,
|
|
36236
36248
|
column: 6
|
|
36237
36249
|
},
|
|
36238
36250
|
end: {
|
|
36239
|
-
line:
|
|
36251
|
+
line: 62,
|
|
36240
36252
|
column: 60
|
|
36241
36253
|
}
|
|
36242
36254
|
},
|
|
36243
36255
|
"25": {
|
|
36244
36256
|
start: {
|
|
36245
|
-
line:
|
|
36257
|
+
line: 65,
|
|
36246
36258
|
column: 21
|
|
36247
36259
|
},
|
|
36248
36260
|
end: {
|
|
36249
|
-
line:
|
|
36261
|
+
line: 65,
|
|
36250
36262
|
column: 69
|
|
36251
36263
|
}
|
|
36252
36264
|
},
|
|
36253
36265
|
"26": {
|
|
36254
36266
|
start: {
|
|
36255
|
-
line:
|
|
36267
|
+
line: 67,
|
|
36256
36268
|
column: 4
|
|
36257
36269
|
},
|
|
36258
36270
|
end: {
|
|
36259
|
-
line:
|
|
36271
|
+
line: 67,
|
|
36260
36272
|
column: 58
|
|
36261
36273
|
}
|
|
36262
36274
|
}
|
|
@@ -36266,167 +36278,167 @@ function cov_2fxze78p7l() {
|
|
|
36266
36278
|
name: "(anonymous_0)",
|
|
36267
36279
|
decl: {
|
|
36268
36280
|
start: {
|
|
36269
|
-
line:
|
|
36281
|
+
line: 15,
|
|
36270
36282
|
column: 22
|
|
36271
36283
|
},
|
|
36272
36284
|
end: {
|
|
36273
|
-
line:
|
|
36285
|
+
line: 15,
|
|
36274
36286
|
column: 23
|
|
36275
36287
|
}
|
|
36276
36288
|
},
|
|
36277
36289
|
loc: {
|
|
36278
36290
|
start: {
|
|
36279
|
-
line:
|
|
36291
|
+
line: 16,
|
|
36280
36292
|
column: 2
|
|
36281
36293
|
},
|
|
36282
36294
|
end: {
|
|
36283
|
-
line:
|
|
36295
|
+
line: 16,
|
|
36284
36296
|
column: 73
|
|
36285
36297
|
}
|
|
36286
36298
|
},
|
|
36287
|
-
line:
|
|
36299
|
+
line: 16
|
|
36288
36300
|
},
|
|
36289
36301
|
"1": {
|
|
36290
36302
|
name: "(anonymous_1)",
|
|
36291
36303
|
decl: {
|
|
36292
36304
|
start: {
|
|
36293
|
-
line:
|
|
36305
|
+
line: 18,
|
|
36294
36306
|
column: 33
|
|
36295
36307
|
},
|
|
36296
36308
|
end: {
|
|
36297
|
-
line:
|
|
36309
|
+
line: 18,
|
|
36298
36310
|
column: 34
|
|
36299
36311
|
}
|
|
36300
36312
|
},
|
|
36301
36313
|
loc: {
|
|
36302
36314
|
start: {
|
|
36303
|
-
line:
|
|
36315
|
+
line: 18,
|
|
36304
36316
|
column: 44
|
|
36305
36317
|
},
|
|
36306
36318
|
end: {
|
|
36307
|
-
line:
|
|
36319
|
+
line: 28,
|
|
36308
36320
|
column: 1
|
|
36309
36321
|
}
|
|
36310
36322
|
},
|
|
36311
|
-
line:
|
|
36323
|
+
line: 18
|
|
36312
36324
|
},
|
|
36313
36325
|
"2": {
|
|
36314
36326
|
name: "(anonymous_2)",
|
|
36315
36327
|
decl: {
|
|
36316
36328
|
start: {
|
|
36317
|
-
line:
|
|
36329
|
+
line: 30,
|
|
36318
36330
|
column: 29
|
|
36319
36331
|
},
|
|
36320
36332
|
end: {
|
|
36321
|
-
line:
|
|
36333
|
+
line: 30,
|
|
36322
36334
|
column: 30
|
|
36323
36335
|
}
|
|
36324
36336
|
},
|
|
36325
36337
|
loc: {
|
|
36326
36338
|
start: {
|
|
36327
|
-
line:
|
|
36339
|
+
line: 30,
|
|
36328
36340
|
column: 40
|
|
36329
36341
|
},
|
|
36330
36342
|
end: {
|
|
36331
|
-
line:
|
|
36343
|
+
line: 50,
|
|
36332
36344
|
column: 1
|
|
36333
36345
|
}
|
|
36334
36346
|
},
|
|
36335
|
-
line:
|
|
36347
|
+
line: 30
|
|
36336
36348
|
},
|
|
36337
36349
|
"3": {
|
|
36338
36350
|
name: "(anonymous_3)",
|
|
36339
36351
|
decl: {
|
|
36340
36352
|
start: {
|
|
36341
|
-
line:
|
|
36353
|
+
line: 34,
|
|
36342
36354
|
column: 43
|
|
36343
36355
|
},
|
|
36344
36356
|
end: {
|
|
36345
|
-
line:
|
|
36357
|
+
line: 34,
|
|
36346
36358
|
column: 44
|
|
36347
36359
|
}
|
|
36348
36360
|
},
|
|
36349
36361
|
loc: {
|
|
36350
36362
|
start: {
|
|
36351
|
-
line:
|
|
36363
|
+
line: 34,
|
|
36352
36364
|
column: 66
|
|
36353
36365
|
},
|
|
36354
36366
|
end: {
|
|
36355
|
-
line:
|
|
36367
|
+
line: 49,
|
|
36356
36368
|
column: 3
|
|
36357
36369
|
}
|
|
36358
36370
|
},
|
|
36359
|
-
line:
|
|
36371
|
+
line: 34
|
|
36360
36372
|
},
|
|
36361
36373
|
"4": {
|
|
36362
36374
|
name: "(anonymous_4)",
|
|
36363
36375
|
decl: {
|
|
36364
36376
|
start: {
|
|
36365
|
-
line:
|
|
36377
|
+
line: 52,
|
|
36366
36378
|
column: 35
|
|
36367
36379
|
},
|
|
36368
36380
|
end: {
|
|
36369
|
-
line:
|
|
36381
|
+
line: 52,
|
|
36370
36382
|
column: 36
|
|
36371
36383
|
}
|
|
36372
36384
|
},
|
|
36373
36385
|
loc: {
|
|
36374
36386
|
start: {
|
|
36375
|
-
line:
|
|
36387
|
+
line: 53,
|
|
36376
36388
|
column: 2
|
|
36377
36389
|
},
|
|
36378
36390
|
end: {
|
|
36379
|
-
line:
|
|
36391
|
+
line: 68,
|
|
36380
36392
|
column: 4
|
|
36381
36393
|
}
|
|
36382
36394
|
},
|
|
36383
|
-
line:
|
|
36395
|
+
line: 53
|
|
36384
36396
|
},
|
|
36385
36397
|
"5": {
|
|
36386
36398
|
name: "(anonymous_5)",
|
|
36387
36399
|
decl: {
|
|
36388
36400
|
start: {
|
|
36389
|
-
line:
|
|
36401
|
+
line: 53,
|
|
36390
36402
|
column: 50
|
|
36391
36403
|
},
|
|
36392
36404
|
end: {
|
|
36393
|
-
line:
|
|
36405
|
+
line: 53,
|
|
36394
36406
|
column: 51
|
|
36395
36407
|
}
|
|
36396
36408
|
},
|
|
36397
36409
|
loc: {
|
|
36398
36410
|
start: {
|
|
36399
|
-
line:
|
|
36411
|
+
line: 53,
|
|
36400
36412
|
column: 78
|
|
36401
36413
|
},
|
|
36402
36414
|
end: {
|
|
36403
|
-
line:
|
|
36415
|
+
line: 68,
|
|
36404
36416
|
column: 3
|
|
36405
36417
|
}
|
|
36406
36418
|
},
|
|
36407
|
-
line:
|
|
36419
|
+
line: 53
|
|
36408
36420
|
}
|
|
36409
36421
|
},
|
|
36410
36422
|
branchMap: {
|
|
36411
36423
|
"0": {
|
|
36412
36424
|
loc: {
|
|
36413
36425
|
start: {
|
|
36414
|
-
line:
|
|
36426
|
+
line: 19,
|
|
36415
36427
|
column: 2
|
|
36416
36428
|
},
|
|
36417
36429
|
end: {
|
|
36418
|
-
line:
|
|
36430
|
+
line: 25,
|
|
36419
36431
|
column: 3
|
|
36420
36432
|
}
|
|
36421
36433
|
},
|
|
36422
36434
|
type: "if",
|
|
36423
36435
|
locations: [{
|
|
36424
36436
|
start: {
|
|
36425
|
-
line:
|
|
36437
|
+
line: 19,
|
|
36426
36438
|
column: 2
|
|
36427
36439
|
},
|
|
36428
36440
|
end: {
|
|
36429
|
-
line:
|
|
36441
|
+
line: 25,
|
|
36430
36442
|
column: 3
|
|
36431
36443
|
}
|
|
36432
36444
|
}, {
|
|
@@ -36439,93 +36451,126 @@ function cov_2fxze78p7l() {
|
|
|
36439
36451
|
column: undefined
|
|
36440
36452
|
}
|
|
36441
36453
|
}],
|
|
36442
|
-
line:
|
|
36454
|
+
line: 19
|
|
36443
36455
|
},
|
|
36444
36456
|
"1": {
|
|
36445
36457
|
loc: {
|
|
36446
36458
|
start: {
|
|
36447
|
-
line:
|
|
36459
|
+
line: 20,
|
|
36448
36460
|
column: 21
|
|
36449
36461
|
},
|
|
36450
36462
|
end: {
|
|
36451
|
-
line:
|
|
36463
|
+
line: 22,
|
|
36452
36464
|
column: 12
|
|
36453
36465
|
}
|
|
36454
36466
|
},
|
|
36455
36467
|
type: "cond-expr",
|
|
36456
36468
|
locations: [{
|
|
36457
36469
|
start: {
|
|
36458
|
-
line:
|
|
36470
|
+
line: 21,
|
|
36459
36471
|
column: 8
|
|
36460
36472
|
},
|
|
36461
36473
|
end: {
|
|
36462
|
-
line:
|
|
36474
|
+
line: 21,
|
|
36463
36475
|
column: 54
|
|
36464
36476
|
}
|
|
36465
36477
|
}, {
|
|
36466
36478
|
start: {
|
|
36467
|
-
line:
|
|
36479
|
+
line: 22,
|
|
36468
36480
|
column: 8
|
|
36469
36481
|
},
|
|
36470
36482
|
end: {
|
|
36471
|
-
line:
|
|
36483
|
+
line: 22,
|
|
36472
36484
|
column: 12
|
|
36473
36485
|
}
|
|
36474
36486
|
}],
|
|
36475
|
-
line:
|
|
36487
|
+
line: 20
|
|
36476
36488
|
},
|
|
36477
36489
|
"2": {
|
|
36478
36490
|
loc: {
|
|
36479
36491
|
start: {
|
|
36480
|
-
line:
|
|
36492
|
+
line: 35,
|
|
36481
36493
|
column: 4
|
|
36482
36494
|
},
|
|
36483
36495
|
end: {
|
|
36484
|
-
line:
|
|
36496
|
+
line: 42,
|
|
36485
36497
|
column: 5
|
|
36486
36498
|
}
|
|
36487
36499
|
},
|
|
36488
36500
|
type: "if",
|
|
36489
36501
|
locations: [{
|
|
36490
36502
|
start: {
|
|
36491
|
-
line:
|
|
36503
|
+
line: 35,
|
|
36492
36504
|
column: 4
|
|
36493
36505
|
},
|
|
36494
36506
|
end: {
|
|
36495
|
-
line:
|
|
36507
|
+
line: 42,
|
|
36496
36508
|
column: 5
|
|
36497
36509
|
}
|
|
36498
36510
|
}, {
|
|
36499
36511
|
start: {
|
|
36500
|
-
line:
|
|
36512
|
+
line: 37,
|
|
36501
36513
|
column: 11
|
|
36502
36514
|
},
|
|
36503
36515
|
end: {
|
|
36504
|
-
line:
|
|
36516
|
+
line: 42,
|
|
36505
36517
|
column: 5
|
|
36506
36518
|
}
|
|
36507
36519
|
}],
|
|
36508
|
-
line:
|
|
36520
|
+
line: 35
|
|
36509
36521
|
},
|
|
36510
36522
|
"3": {
|
|
36511
36523
|
loc: {
|
|
36512
36524
|
start: {
|
|
36513
36525
|
line: 35,
|
|
36526
|
+
column: 8
|
|
36527
|
+
},
|
|
36528
|
+
end: {
|
|
36529
|
+
line: 35,
|
|
36530
|
+
column: 52
|
|
36531
|
+
}
|
|
36532
|
+
},
|
|
36533
|
+
type: "binary-expr",
|
|
36534
|
+
locations: [{
|
|
36535
|
+
start: {
|
|
36536
|
+
line: 35,
|
|
36537
|
+
column: 8
|
|
36538
|
+
},
|
|
36539
|
+
end: {
|
|
36540
|
+
line: 35,
|
|
36541
|
+
column: 16
|
|
36542
|
+
}
|
|
36543
|
+
}, {
|
|
36544
|
+
start: {
|
|
36545
|
+
line: 35,
|
|
36546
|
+
column: 20
|
|
36547
|
+
},
|
|
36548
|
+
end: {
|
|
36549
|
+
line: 35,
|
|
36550
|
+
column: 52
|
|
36551
|
+
}
|
|
36552
|
+
}],
|
|
36553
|
+
line: 35
|
|
36554
|
+
},
|
|
36555
|
+
"4": {
|
|
36556
|
+
loc: {
|
|
36557
|
+
start: {
|
|
36558
|
+
line: 39,
|
|
36514
36559
|
column: 6
|
|
36515
36560
|
},
|
|
36516
36561
|
end: {
|
|
36517
|
-
line:
|
|
36562
|
+
line: 41,
|
|
36518
36563
|
column: 7
|
|
36519
36564
|
}
|
|
36520
36565
|
},
|
|
36521
36566
|
type: "if",
|
|
36522
36567
|
locations: [{
|
|
36523
36568
|
start: {
|
|
36524
|
-
line:
|
|
36569
|
+
line: 39,
|
|
36525
36570
|
column: 6
|
|
36526
36571
|
},
|
|
36527
36572
|
end: {
|
|
36528
|
-
line:
|
|
36573
|
+
line: 41,
|
|
36529
36574
|
column: 7
|
|
36530
36575
|
}
|
|
36531
36576
|
}, {
|
|
@@ -36538,27 +36583,27 @@ function cov_2fxze78p7l() {
|
|
|
36538
36583
|
column: undefined
|
|
36539
36584
|
}
|
|
36540
36585
|
}],
|
|
36541
|
-
line:
|
|
36586
|
+
line: 39
|
|
36542
36587
|
},
|
|
36543
|
-
"
|
|
36588
|
+
"5": {
|
|
36544
36589
|
loc: {
|
|
36545
36590
|
start: {
|
|
36546
|
-
line:
|
|
36591
|
+
line: 55,
|
|
36547
36592
|
column: 4
|
|
36548
36593
|
},
|
|
36549
36594
|
end: {
|
|
36550
|
-
line:
|
|
36595
|
+
line: 63,
|
|
36551
36596
|
column: 5
|
|
36552
36597
|
}
|
|
36553
36598
|
},
|
|
36554
36599
|
type: "if",
|
|
36555
36600
|
locations: [{
|
|
36556
36601
|
start: {
|
|
36557
|
-
line:
|
|
36602
|
+
line: 55,
|
|
36558
36603
|
column: 4
|
|
36559
36604
|
},
|
|
36560
36605
|
end: {
|
|
36561
|
-
line:
|
|
36606
|
+
line: 63,
|
|
36562
36607
|
column: 5
|
|
36563
36608
|
}
|
|
36564
36609
|
}, {
|
|
@@ -36571,106 +36616,106 @@ function cov_2fxze78p7l() {
|
|
|
36571
36616
|
column: undefined
|
|
36572
36617
|
}
|
|
36573
36618
|
}],
|
|
36574
|
-
line:
|
|
36619
|
+
line: 55
|
|
36575
36620
|
},
|
|
36576
|
-
"
|
|
36621
|
+
"6": {
|
|
36577
36622
|
loc: {
|
|
36578
36623
|
start: {
|
|
36579
|
-
line:
|
|
36624
|
+
line: 59,
|
|
36580
36625
|
column: 8
|
|
36581
36626
|
},
|
|
36582
36627
|
end: {
|
|
36583
|
-
line:
|
|
36628
|
+
line: 59,
|
|
36584
36629
|
column: 33
|
|
36585
36630
|
}
|
|
36586
36631
|
},
|
|
36587
36632
|
type: "binary-expr",
|
|
36588
36633
|
locations: [{
|
|
36589
36634
|
start: {
|
|
36590
|
-
line:
|
|
36635
|
+
line: 59,
|
|
36591
36636
|
column: 8
|
|
36592
36637
|
},
|
|
36593
36638
|
end: {
|
|
36594
|
-
line:
|
|
36639
|
+
line: 59,
|
|
36595
36640
|
column: 27
|
|
36596
36641
|
}
|
|
36597
36642
|
}, {
|
|
36598
36643
|
start: {
|
|
36599
|
-
line:
|
|
36644
|
+
line: 59,
|
|
36600
36645
|
column: 31
|
|
36601
36646
|
},
|
|
36602
36647
|
end: {
|
|
36603
|
-
line:
|
|
36648
|
+
line: 59,
|
|
36604
36649
|
column: 33
|
|
36605
36650
|
}
|
|
36606
36651
|
}],
|
|
36607
|
-
line:
|
|
36652
|
+
line: 59
|
|
36608
36653
|
},
|
|
36609
|
-
"
|
|
36654
|
+
"7": {
|
|
36610
36655
|
loc: {
|
|
36611
36656
|
start: {
|
|
36612
|
-
line:
|
|
36657
|
+
line: 62,
|
|
36613
36658
|
column: 13
|
|
36614
36659
|
},
|
|
36615
36660
|
end: {
|
|
36616
|
-
line:
|
|
36661
|
+
line: 62,
|
|
36617
36662
|
column: 59
|
|
36618
36663
|
}
|
|
36619
36664
|
},
|
|
36620
36665
|
type: "cond-expr",
|
|
36621
36666
|
locations: [{
|
|
36622
36667
|
start: {
|
|
36623
|
-
line:
|
|
36668
|
+
line: 62,
|
|
36624
36669
|
column: 31
|
|
36625
36670
|
},
|
|
36626
36671
|
end: {
|
|
36627
|
-
line:
|
|
36672
|
+
line: 62,
|
|
36628
36673
|
column: 45
|
|
36629
36674
|
}
|
|
36630
36675
|
}, {
|
|
36631
36676
|
start: {
|
|
36632
|
-
line:
|
|
36677
|
+
line: 62,
|
|
36633
36678
|
column: 48
|
|
36634
36679
|
},
|
|
36635
36680
|
end: {
|
|
36636
|
-
line:
|
|
36681
|
+
line: 62,
|
|
36637
36682
|
column: 59
|
|
36638
36683
|
}
|
|
36639
36684
|
}],
|
|
36640
|
-
line:
|
|
36685
|
+
line: 62
|
|
36641
36686
|
},
|
|
36642
|
-
"
|
|
36687
|
+
"8": {
|
|
36643
36688
|
loc: {
|
|
36644
36689
|
start: {
|
|
36645
|
-
line:
|
|
36690
|
+
line: 67,
|
|
36646
36691
|
column: 11
|
|
36647
36692
|
},
|
|
36648
36693
|
end: {
|
|
36649
|
-
line:
|
|
36694
|
+
line: 67,
|
|
36650
36695
|
column: 57
|
|
36651
36696
|
}
|
|
36652
36697
|
},
|
|
36653
36698
|
type: "cond-expr",
|
|
36654
36699
|
locations: [{
|
|
36655
36700
|
start: {
|
|
36656
|
-
line:
|
|
36701
|
+
line: 67,
|
|
36657
36702
|
column: 29
|
|
36658
36703
|
},
|
|
36659
36704
|
end: {
|
|
36660
|
-
line:
|
|
36705
|
+
line: 67,
|
|
36661
36706
|
column: 43
|
|
36662
36707
|
}
|
|
36663
36708
|
}, {
|
|
36664
36709
|
start: {
|
|
36665
|
-
line:
|
|
36710
|
+
line: 67,
|
|
36666
36711
|
column: 46
|
|
36667
36712
|
},
|
|
36668
36713
|
end: {
|
|
36669
|
-
line:
|
|
36714
|
+
line: 67,
|
|
36670
36715
|
column: 57
|
|
36671
36716
|
}
|
|
36672
36717
|
}],
|
|
36673
|
-
line:
|
|
36718
|
+
line: 67
|
|
36674
36719
|
}
|
|
36675
36720
|
},
|
|
36676
36721
|
s: {
|
|
@@ -36718,10 +36763,11 @@ function cov_2fxze78p7l() {
|
|
|
36718
36763
|
"4": [0, 0],
|
|
36719
36764
|
"5": [0, 0],
|
|
36720
36765
|
"6": [0, 0],
|
|
36721
|
-
"7": [0, 0]
|
|
36766
|
+
"7": [0, 0],
|
|
36767
|
+
"8": [0, 0]
|
|
36722
36768
|
},
|
|
36723
36769
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
36724
|
-
hash: "
|
|
36770
|
+
hash: "3cfa6347817ee3a0f2c18ce96e7086518cf35fc3"
|
|
36725
36771
|
};
|
|
36726
36772
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
36727
36773
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -36768,7 +36814,7 @@ var highlightCode = function highlightCode(content) {
|
|
|
36768
36814
|
return content.replace(CODE_BLOCK_REGEX, function (_, language, code) {
|
|
36769
36815
|
cov_2fxze78p7l().f[3]++;
|
|
36770
36816
|
cov_2fxze78p7l().s[11]++;
|
|
36771
|
-
if (language) {
|
|
36817
|
+
if ((cov_2fxze78p7l().b[3][0]++, language) && (cov_2fxze78p7l().b[3][1]++, LANGUAGE_LIST.includes(language))) {
|
|
36772
36818
|
cov_2fxze78p7l().b[2][0]++;
|
|
36773
36819
|
cov_2fxze78p7l().s[12]++;
|
|
36774
36820
|
highlightedAST = lowlight.highlight(language, transformCode(code));
|
|
@@ -36778,11 +36824,11 @@ var highlightCode = function highlightCode(content) {
|
|
|
36778
36824
|
highlightedAST = common$1.highlightAuto(transformCode(code))._emitter.root;
|
|
36779
36825
|
cov_2fxze78p7l().s[14]++;
|
|
36780
36826
|
if (isEmpty$1(highlightedAST.children)) {
|
|
36781
|
-
cov_2fxze78p7l().b[
|
|
36827
|
+
cov_2fxze78p7l().b[4][0]++;
|
|
36782
36828
|
cov_2fxze78p7l().s[15]++;
|
|
36783
36829
|
highlightedAST = lowlight.highlight("javascript", transformCode(code));
|
|
36784
36830
|
} else {
|
|
36785
|
-
cov_2fxze78p7l().b[
|
|
36831
|
+
cov_2fxze78p7l().b[4][1]++;
|
|
36786
36832
|
}
|
|
36787
36833
|
}
|
|
36788
36834
|
var highlightedNode = (cov_2fxze78p7l().s[16]++, highlightedAST.children.map(buildReactElementFromAST));
|
|
@@ -36799,23 +36845,23 @@ var substituteVariables = function substituteVariables(highlightedContent, varia
|
|
|
36799
36845
|
var dataLabelSplitted = (cov_2fxze78p7l().s[20]++, dataLabel.split("."));
|
|
36800
36846
|
cov_2fxze78p7l().s[21]++;
|
|
36801
36847
|
if (dataLabelSplitted.length > 1) {
|
|
36802
|
-
cov_2fxze78p7l().b[
|
|
36848
|
+
cov_2fxze78p7l().b[5][0]++;
|
|
36803
36849
|
var category = (cov_2fxze78p7l().s[22]++, findBy({
|
|
36804
36850
|
category: dataLabelSplitted[0]
|
|
36805
36851
|
}, variables));
|
|
36806
36852
|
var _variable = (cov_2fxze78p7l().s[23]++, findBy({
|
|
36807
36853
|
key: dataLabelSplitted[1]
|
|
36808
|
-
}, (cov_2fxze78p7l().b[
|
|
36854
|
+
}, (cov_2fxze78p7l().b[6][0]++, category === null || category === void 0 ? void 0 : category.variables) || (cov_2fxze78p7l().b[6][1]++, [])));
|
|
36809
36855
|
cov_2fxze78p7l().s[24]++;
|
|
36810
|
-
return _variable !== null && _variable !== void 0 && _variable.value ? (cov_2fxze78p7l().b[
|
|
36856
|
+
return _variable !== null && _variable !== void 0 && _variable.value ? (cov_2fxze78p7l().b[7][0]++, _variable.value) : (cov_2fxze78p7l().b[7][1]++, matchedSpan);
|
|
36811
36857
|
} else {
|
|
36812
|
-
cov_2fxze78p7l().b[
|
|
36858
|
+
cov_2fxze78p7l().b[5][1]++;
|
|
36813
36859
|
}
|
|
36814
36860
|
var variable = (cov_2fxze78p7l().s[25]++, findBy({
|
|
36815
36861
|
key: dataLabelSplitted[0]
|
|
36816
36862
|
}, variables));
|
|
36817
36863
|
cov_2fxze78p7l().s[26]++;
|
|
36818
|
-
return variable !== null && variable !== void 0 && variable.value ? (cov_2fxze78p7l().b[
|
|
36864
|
+
return variable !== null && variable !== void 0 && variable.value ? (cov_2fxze78p7l().b[8][0]++, variable.value) : (cov_2fxze78p7l().b[8][1]++, matchedSpan);
|
|
36819
36865
|
});
|
|
36820
36866
|
};
|
|
36821
36867
|
|
|
@@ -95150,7 +95196,7 @@ var SORTED_LANGUAGE_LIST = (cov_1ufkt7jvd1().s[0]++, lowlight.listLanguages().so
|
|
|
95150
95196
|
|
|
95151
95197
|
function cov_4v54kemeo() {
|
|
95152
95198
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/CodeBlock/CodeBlockComponent.jsx";
|
|
95153
|
-
var hash = "
|
|
95199
|
+
var hash = "f67f9f5eccbf5f8f7d4ff995cfe3605911b6011f";
|
|
95154
95200
|
var global = new Function("return this")();
|
|
95155
95201
|
var gcv = "__coverage__";
|
|
95156
95202
|
var coverageData = {
|
|
@@ -95172,7 +95218,7 @@ function cov_4v54kemeo() {
|
|
|
95172
95218
|
column: 27
|
|
95173
95219
|
},
|
|
95174
95220
|
end: {
|
|
95175
|
-
line:
|
|
95221
|
+
line: 82,
|
|
95176
95222
|
column: 1
|
|
95177
95223
|
}
|
|
95178
95224
|
},
|
|
@@ -95272,7 +95318,7 @@ function cov_4v54kemeo() {
|
|
|
95272
95318
|
column: 2
|
|
95273
95319
|
},
|
|
95274
95320
|
end: {
|
|
95275
|
-
line:
|
|
95321
|
+
line: 35,
|
|
95276
95322
|
column: 9
|
|
95277
95323
|
}
|
|
95278
95324
|
},
|
|
@@ -95288,61 +95334,71 @@ function cov_4v54kemeo() {
|
|
|
95288
95334
|
},
|
|
95289
95335
|
"13": {
|
|
95290
95336
|
start: {
|
|
95291
|
-
line:
|
|
95292
|
-
column:
|
|
95337
|
+
line: 33,
|
|
95338
|
+
column: 4
|
|
95293
95339
|
},
|
|
95294
95340
|
end: {
|
|
95295
|
-
line:
|
|
95296
|
-
column:
|
|
95341
|
+
line: 34,
|
|
95342
|
+
column: 51
|
|
95297
95343
|
}
|
|
95298
95344
|
},
|
|
95299
95345
|
"14": {
|
|
95300
95346
|
start: {
|
|
95301
|
-
line:
|
|
95302
|
-
column:
|
|
95347
|
+
line: 37,
|
|
95348
|
+
column: 2
|
|
95303
95349
|
},
|
|
95304
95350
|
end: {
|
|
95305
|
-
line:
|
|
95306
|
-
column:
|
|
95351
|
+
line: 81,
|
|
95352
|
+
column: 4
|
|
95307
95353
|
}
|
|
95308
95354
|
},
|
|
95309
95355
|
"15": {
|
|
95310
95356
|
start: {
|
|
95311
95357
|
line: 54,
|
|
95312
|
-
column:
|
|
95358
|
+
column: 29
|
|
95313
95359
|
},
|
|
95314
95360
|
end: {
|
|
95315
95361
|
line: 54,
|
|
95316
|
-
column:
|
|
95362
|
+
column: 55
|
|
95317
95363
|
}
|
|
95318
95364
|
},
|
|
95319
95365
|
"16": {
|
|
95320
95366
|
start: {
|
|
95321
|
-
line:
|
|
95367
|
+
line: 56,
|
|
95322
95368
|
column: 16
|
|
95323
95369
|
},
|
|
95324
95370
|
end: {
|
|
95325
|
-
line:
|
|
95326
|
-
column:
|
|
95371
|
+
line: 56,
|
|
95372
|
+
column: 35
|
|
95327
95373
|
}
|
|
95328
95374
|
},
|
|
95329
95375
|
"17": {
|
|
95330
95376
|
start: {
|
|
95331
|
-
line:
|
|
95377
|
+
line: 57,
|
|
95332
95378
|
column: 16
|
|
95333
95379
|
},
|
|
95334
95380
|
end: {
|
|
95335
|
-
line:
|
|
95336
|
-
column:
|
|
95381
|
+
line: 57,
|
|
95382
|
+
column: 36
|
|
95337
95383
|
}
|
|
95338
95384
|
},
|
|
95339
95385
|
"18": {
|
|
95340
95386
|
start: {
|
|
95341
95387
|
line: 62,
|
|
95388
|
+
column: 16
|
|
95389
|
+
},
|
|
95390
|
+
end: {
|
|
95391
|
+
line: 67,
|
|
95392
|
+
column: 34
|
|
95393
|
+
}
|
|
95394
|
+
},
|
|
95395
|
+
"19": {
|
|
95396
|
+
start: {
|
|
95397
|
+
line: 64,
|
|
95342
95398
|
column: 33
|
|
95343
95399
|
},
|
|
95344
95400
|
end: {
|
|
95345
|
-
line:
|
|
95401
|
+
line: 64,
|
|
95346
95402
|
column: 63
|
|
95347
95403
|
}
|
|
95348
95404
|
}
|
|
@@ -95366,7 +95422,7 @@ function cov_4v54kemeo() {
|
|
|
95366
95422
|
column: 59
|
|
95367
95423
|
},
|
|
95368
95424
|
end: {
|
|
95369
|
-
line:
|
|
95425
|
+
line: 82,
|
|
95370
95426
|
column: 1
|
|
95371
95427
|
}
|
|
95372
95428
|
},
|
|
@@ -95462,7 +95518,7 @@ function cov_4v54kemeo() {
|
|
|
95462
95518
|
column: 18
|
|
95463
95519
|
},
|
|
95464
95520
|
end: {
|
|
95465
|
-
line:
|
|
95521
|
+
line: 35,
|
|
95466
95522
|
column: 3
|
|
95467
95523
|
}
|
|
95468
95524
|
},
|
|
@@ -95472,97 +95528,97 @@ function cov_4v54kemeo() {
|
|
|
95472
95528
|
name: "(anonymous_5)",
|
|
95473
95529
|
decl: {
|
|
95474
95530
|
start: {
|
|
95475
|
-
line:
|
|
95531
|
+
line: 54,
|
|
95476
95532
|
column: 24
|
|
95477
95533
|
},
|
|
95478
95534
|
end: {
|
|
95479
|
-
line:
|
|
95535
|
+
line: 54,
|
|
95480
95536
|
column: 25
|
|
95481
95537
|
}
|
|
95482
95538
|
},
|
|
95483
95539
|
loc: {
|
|
95484
95540
|
start: {
|
|
95485
|
-
line:
|
|
95541
|
+
line: 54,
|
|
95486
95542
|
column: 29
|
|
95487
95543
|
},
|
|
95488
95544
|
end: {
|
|
95489
|
-
line:
|
|
95545
|
+
line: 54,
|
|
95490
95546
|
column: 55
|
|
95491
95547
|
}
|
|
95492
95548
|
},
|
|
95493
|
-
line:
|
|
95549
|
+
line: 54
|
|
95494
95550
|
},
|
|
95495
95551
|
"6": {
|
|
95496
95552
|
name: "(anonymous_6)",
|
|
95497
95553
|
decl: {
|
|
95498
95554
|
start: {
|
|
95499
|
-
line:
|
|
95555
|
+
line: 55,
|
|
95500
95556
|
column: 23
|
|
95501
95557
|
},
|
|
95502
95558
|
end: {
|
|
95503
|
-
line:
|
|
95559
|
+
line: 55,
|
|
95504
95560
|
column: 24
|
|
95505
95561
|
}
|
|
95506
95562
|
},
|
|
95507
95563
|
loc: {
|
|
95508
95564
|
start: {
|
|
95509
|
-
line:
|
|
95565
|
+
line: 55,
|
|
95510
95566
|
column: 28
|
|
95511
95567
|
},
|
|
95512
95568
|
end: {
|
|
95513
|
-
line:
|
|
95569
|
+
line: 58,
|
|
95514
95570
|
column: 15
|
|
95515
95571
|
}
|
|
95516
95572
|
},
|
|
95517
|
-
line:
|
|
95573
|
+
line: 55
|
|
95518
95574
|
},
|
|
95519
95575
|
"7": {
|
|
95520
95576
|
name: "(anonymous_7)",
|
|
95521
95577
|
decl: {
|
|
95522
95578
|
start: {
|
|
95523
|
-
line:
|
|
95579
|
+
line: 61,
|
|
95524
95580
|
column: 49
|
|
95525
95581
|
},
|
|
95526
95582
|
end: {
|
|
95527
|
-
line:
|
|
95583
|
+
line: 61,
|
|
95528
95584
|
column: 50
|
|
95529
95585
|
}
|
|
95530
95586
|
},
|
|
95531
95587
|
loc: {
|
|
95532
95588
|
start: {
|
|
95533
|
-
line:
|
|
95589
|
+
line: 62,
|
|
95534
95590
|
column: 16
|
|
95535
95591
|
},
|
|
95536
95592
|
end: {
|
|
95537
|
-
line:
|
|
95593
|
+
line: 67,
|
|
95538
95594
|
column: 34
|
|
95539
95595
|
}
|
|
95540
95596
|
},
|
|
95541
|
-
line:
|
|
95597
|
+
line: 62
|
|
95542
95598
|
},
|
|
95543
95599
|
"8": {
|
|
95544
95600
|
name: "(anonymous_8)",
|
|
95545
95601
|
decl: {
|
|
95546
95602
|
start: {
|
|
95547
|
-
line:
|
|
95603
|
+
line: 64,
|
|
95548
95604
|
column: 27
|
|
95549
95605
|
},
|
|
95550
95606
|
end: {
|
|
95551
|
-
line:
|
|
95607
|
+
line: 64,
|
|
95552
95608
|
column: 28
|
|
95553
95609
|
}
|
|
95554
95610
|
},
|
|
95555
95611
|
loc: {
|
|
95556
95612
|
start: {
|
|
95557
|
-
line:
|
|
95613
|
+
line: 64,
|
|
95558
95614
|
column: 33
|
|
95559
95615
|
},
|
|
95560
95616
|
end: {
|
|
95561
|
-
line:
|
|
95617
|
+
line: 64,
|
|
95562
95618
|
column: 63
|
|
95563
95619
|
}
|
|
95564
95620
|
},
|
|
95565
|
-
line:
|
|
95621
|
+
line: 64
|
|
95566
95622
|
}
|
|
95567
95623
|
},
|
|
95568
95624
|
branchMap: {
|
|
@@ -95602,68 +95658,101 @@ function cov_4v54kemeo() {
|
|
|
95602
95658
|
"1": {
|
|
95603
95659
|
loc: {
|
|
95604
95660
|
start: {
|
|
95605
|
-
line:
|
|
95661
|
+
line: 33,
|
|
95662
|
+
column: 4
|
|
95663
|
+
},
|
|
95664
|
+
end: {
|
|
95665
|
+
line: 34,
|
|
95666
|
+
column: 50
|
|
95667
|
+
}
|
|
95668
|
+
},
|
|
95669
|
+
type: "binary-expr",
|
|
95670
|
+
locations: [{
|
|
95671
|
+
start: {
|
|
95672
|
+
line: 33,
|
|
95673
|
+
column: 4
|
|
95674
|
+
},
|
|
95675
|
+
end: {
|
|
95676
|
+
line: 33,
|
|
95677
|
+
column: 46
|
|
95678
|
+
}
|
|
95679
|
+
}, {
|
|
95680
|
+
start: {
|
|
95681
|
+
line: 34,
|
|
95682
|
+
column: 6
|
|
95683
|
+
},
|
|
95684
|
+
end: {
|
|
95685
|
+
line: 34,
|
|
95686
|
+
column: 50
|
|
95687
|
+
}
|
|
95688
|
+
}],
|
|
95689
|
+
line: 33
|
|
95690
|
+
},
|
|
95691
|
+
"2": {
|
|
95692
|
+
loc: {
|
|
95693
|
+
start: {
|
|
95694
|
+
line: 45,
|
|
95606
95695
|
column: 19
|
|
95607
95696
|
},
|
|
95608
95697
|
end: {
|
|
95609
|
-
line:
|
|
95698
|
+
line: 45,
|
|
95610
95699
|
column: 59
|
|
95611
95700
|
}
|
|
95612
95701
|
},
|
|
95613
95702
|
type: "binary-expr",
|
|
95614
95703
|
locations: [{
|
|
95615
95704
|
start: {
|
|
95616
|
-
line:
|
|
95705
|
+
line: 45,
|
|
95617
95706
|
column: 19
|
|
95618
95707
|
},
|
|
95619
95708
|
end: {
|
|
95620
|
-
line:
|
|
95709
|
+
line: 45,
|
|
95621
95710
|
column: 39
|
|
95622
95711
|
}
|
|
95623
95712
|
}, {
|
|
95624
95713
|
start: {
|
|
95625
|
-
line:
|
|
95714
|
+
line: 45,
|
|
95626
95715
|
column: 43
|
|
95627
95716
|
},
|
|
95628
95717
|
end: {
|
|
95629
|
-
line:
|
|
95718
|
+
line: 45,
|
|
95630
95719
|
column: 59
|
|
95631
95720
|
}
|
|
95632
95721
|
}],
|
|
95633
|
-
line:
|
|
95722
|
+
line: 45
|
|
95634
95723
|
},
|
|
95635
|
-
"
|
|
95724
|
+
"3": {
|
|
95636
95725
|
loc: {
|
|
95637
95726
|
start: {
|
|
95638
|
-
line:
|
|
95727
|
+
line: 66,
|
|
95639
95728
|
column: 19
|
|
95640
95729
|
},
|
|
95641
95730
|
end: {
|
|
95642
|
-
line:
|
|
95731
|
+
line: 66,
|
|
95643
95732
|
column: 47
|
|
95644
95733
|
}
|
|
95645
95734
|
},
|
|
95646
95735
|
type: "binary-expr",
|
|
95647
95736
|
locations: [{
|
|
95648
95737
|
start: {
|
|
95649
|
-
line:
|
|
95738
|
+
line: 66,
|
|
95650
95739
|
column: 19
|
|
95651
95740
|
},
|
|
95652
95741
|
end: {
|
|
95653
|
-
line:
|
|
95742
|
+
line: 66,
|
|
95654
95743
|
column: 27
|
|
95655
95744
|
}
|
|
95656
95745
|
}, {
|
|
95657
95746
|
start: {
|
|
95658
|
-
line:
|
|
95747
|
+
line: 66,
|
|
95659
95748
|
column: 31
|
|
95660
95749
|
},
|
|
95661
95750
|
end: {
|
|
95662
|
-
line:
|
|
95751
|
+
line: 66,
|
|
95663
95752
|
column: 47
|
|
95664
95753
|
}
|
|
95665
95754
|
}],
|
|
95666
|
-
line:
|
|
95755
|
+
line: 66
|
|
95667
95756
|
}
|
|
95668
95757
|
},
|
|
95669
95758
|
s: {
|
|
@@ -95685,7 +95774,8 @@ function cov_4v54kemeo() {
|
|
|
95685
95774
|
"15": 0,
|
|
95686
95775
|
"16": 0,
|
|
95687
95776
|
"17": 0,
|
|
95688
|
-
"18": 0
|
|
95777
|
+
"18": 0,
|
|
95778
|
+
"19": 0
|
|
95689
95779
|
},
|
|
95690
95780
|
f: {
|
|
95691
95781
|
"0": 0,
|
|
@@ -95701,10 +95791,11 @@ function cov_4v54kemeo() {
|
|
|
95701
95791
|
b: {
|
|
95702
95792
|
"0": [0, 0],
|
|
95703
95793
|
"1": [0, 0],
|
|
95704
|
-
"2": [0, 0]
|
|
95794
|
+
"2": [0, 0],
|
|
95795
|
+
"3": [0, 0]
|
|
95705
95796
|
},
|
|
95706
95797
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
95707
|
-
hash: "
|
|
95798
|
+
hash: "f67f9f5eccbf5f8f7d4ff995cfe3605911b6011f"
|
|
95708
95799
|
};
|
|
95709
95800
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
95710
95801
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -95725,7 +95816,7 @@ var _ref$7 = (cov_4v54kemeo().s[0]++, Dropdown$1),
|
|
|
95725
95816
|
MenuItem$2 = _ref$7.MenuItem;
|
|
95726
95817
|
cov_4v54kemeo().s[1]++;
|
|
95727
95818
|
var CodeBlockComponent = function CodeBlockComponent(_ref2) {
|
|
95728
|
-
var _node$
|
|
95819
|
+
var _node$attrs3;
|
|
95729
95820
|
var node = _ref2.node,
|
|
95730
95821
|
updateAttributes = _ref2.updateAttributes;
|
|
95731
95822
|
cov_4v54kemeo().f[0]++;
|
|
@@ -95759,14 +95850,18 @@ var CodeBlockComponent = function CodeBlockComponent(_ref2) {
|
|
|
95759
95850
|
};
|
|
95760
95851
|
cov_4v54kemeo().s[11]++;
|
|
95761
95852
|
useEffect$1(function () {
|
|
95762
|
-
var _node$attrs;
|
|
95853
|
+
var _node$attrs, _node$attrs2;
|
|
95763
95854
|
cov_4v54kemeo().f[4]++;
|
|
95764
95855
|
cov_4v54kemeo().s[12]++;
|
|
95765
95856
|
(cov_4v54kemeo().b[0][0]++, isNil((_node$attrs = node.attrs) === null || _node$attrs === void 0 ? void 0 : _node$attrs.language)) && (cov_4v54kemeo().b[0][1]++, updateAttributes({
|
|
95766
95857
|
language: "plaintext"
|
|
95767
95858
|
}));
|
|
95859
|
+
cov_4v54kemeo().s[13]++;
|
|
95860
|
+
(cov_4v54kemeo().b[1][0]++, ((_node$attrs2 = node.attrs) === null || _node$attrs2 === void 0 ? void 0 : _node$attrs2.language) === "javascriptreact") && (cov_4v54kemeo().b[1][1]++, updateAttributes({
|
|
95861
|
+
language: "javascript"
|
|
95862
|
+
}));
|
|
95768
95863
|
}, []);
|
|
95769
|
-
cov_4v54kemeo().s[
|
|
95864
|
+
cov_4v54kemeo().s[14]++;
|
|
95770
95865
|
return /*#__PURE__*/React__default.createElement(NodeViewWrapper, {
|
|
95771
95866
|
"data-cy": "neeto-editor-code-block"
|
|
95772
95867
|
}, /*#__PURE__*/React__default.createElement("pre", null, /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -95775,7 +95870,7 @@ var CodeBlockComponent = function CodeBlockComponent(_ref2) {
|
|
|
95775
95870
|
buttonSize: "small",
|
|
95776
95871
|
buttonStyle: "secondary",
|
|
95777
95872
|
icon: Down,
|
|
95778
|
-
label: (cov_4v54kemeo().b[
|
|
95873
|
+
label: (cov_4v54kemeo().b[2][0]++, (_node$attrs3 = node.attrs) === null || _node$attrs3 === void 0 ? void 0 : _node$attrs3.language) || (cov_4v54kemeo().b[2][1]++, t("common.auto")),
|
|
95779
95874
|
strategy: "fixed"
|
|
95780
95875
|
}, /*#__PURE__*/React__default.createElement(Input, {
|
|
95781
95876
|
autoFocus: true,
|
|
@@ -95785,29 +95880,29 @@ var CodeBlockComponent = function CodeBlockComponent(_ref2) {
|
|
|
95785
95880
|
value: keyword,
|
|
95786
95881
|
onChange: function onChange(e) {
|
|
95787
95882
|
cov_4v54kemeo().f[5]++;
|
|
95788
|
-
cov_4v54kemeo().s[
|
|
95883
|
+
cov_4v54kemeo().s[15]++;
|
|
95789
95884
|
return setKeyword(e.target.value);
|
|
95790
95885
|
},
|
|
95791
95886
|
onClick: function onClick(e) {
|
|
95792
95887
|
cov_4v54kemeo().f[6]++;
|
|
95793
|
-
cov_4v54kemeo().s[15]++;
|
|
95794
|
-
e.preventDefault();
|
|
95795
95888
|
cov_4v54kemeo().s[16]++;
|
|
95889
|
+
e.preventDefault();
|
|
95890
|
+
cov_4v54kemeo().s[17]++;
|
|
95796
95891
|
e.stopPropagation();
|
|
95797
95892
|
}
|
|
95798
95893
|
}), /*#__PURE__*/React__default.createElement(Menu$7, {
|
|
95799
95894
|
className: "neeto-editor-codeblock-options__menu"
|
|
95800
95895
|
}, filteredAndSortedLanguageList.map(function (language) {
|
|
95801
95896
|
cov_4v54kemeo().f[7]++;
|
|
95802
|
-
cov_4v54kemeo().s[
|
|
95897
|
+
cov_4v54kemeo().s[18]++;
|
|
95803
95898
|
return /*#__PURE__*/React__default.createElement(MenuItem$2.Button, {
|
|
95804
95899
|
key: language,
|
|
95805
95900
|
onClick: function onClick() {
|
|
95806
95901
|
cov_4v54kemeo().f[8]++;
|
|
95807
|
-
cov_4v54kemeo().s[
|
|
95902
|
+
cov_4v54kemeo().s[19]++;
|
|
95808
95903
|
return handleLanguageSelect(language);
|
|
95809
95904
|
}
|
|
95810
|
-
}, (cov_4v54kemeo().b[
|
|
95905
|
+
}, (cov_4v54kemeo().b[3][0]++, language) || (cov_4v54kemeo().b[3][1]++, t("common.auto")));
|
|
95811
95906
|
}))), /*#__PURE__*/React__default.createElement(Button$1, {
|
|
95812
95907
|
icon: Copy,
|
|
95813
95908
|
size: "small",
|
|
@@ -102810,7 +102905,7 @@ var filterEmojiSuggestions = function filterEmojiSuggestions(suggestions, freque
|
|
|
102810
102905
|
|
|
102811
102906
|
function cov_1swn0bnb2b() {
|
|
102812
102907
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Emoji/EmojiSuggestion/EmojiSuggestionMenu.jsx";
|
|
102813
|
-
var hash = "
|
|
102908
|
+
var hash = "b3e554d33b6ffb6414a697c324b104800ad9c25f";
|
|
102814
102909
|
var global = new Function("return this")();
|
|
102815
102910
|
var gcv = "__coverage__";
|
|
102816
102911
|
var coverageData = {
|
|
@@ -102982,317 +103077,337 @@ function cov_1swn0bnb2b() {
|
|
|
102982
103077
|
column: 27
|
|
102983
103078
|
},
|
|
102984
103079
|
end: {
|
|
102985
|
-
line:
|
|
103080
|
+
line: 72,
|
|
102986
103081
|
column: 3
|
|
102987
103082
|
}
|
|
102988
103083
|
},
|
|
102989
103084
|
"17": {
|
|
102990
103085
|
start: {
|
|
102991
103086
|
line: 60,
|
|
102992
|
-
column:
|
|
103087
|
+
column: 4
|
|
102993
103088
|
},
|
|
102994
103089
|
end: {
|
|
102995
|
-
line:
|
|
102996
|
-
column:
|
|
103090
|
+
line: 71,
|
|
103091
|
+
column: 5
|
|
102997
103092
|
}
|
|
102998
103093
|
},
|
|
102999
103094
|
"18": {
|
|
103000
103095
|
start: {
|
|
103001
103096
|
line: 61,
|
|
103002
|
-
column:
|
|
103097
|
+
column: 26
|
|
103003
103098
|
},
|
|
103004
103099
|
end: {
|
|
103005
103100
|
line: 61,
|
|
103006
|
-
column:
|
|
103101
|
+
column: 50
|
|
103007
103102
|
}
|
|
103008
103103
|
},
|
|
103009
103104
|
"19": {
|
|
103010
103105
|
start: {
|
|
103011
103106
|
line: 62,
|
|
103012
|
-
column:
|
|
103107
|
+
column: 35
|
|
103013
103108
|
},
|
|
103014
103109
|
end: {
|
|
103015
|
-
line:
|
|
103016
|
-
column:
|
|
103110
|
+
line: 62,
|
|
103111
|
+
column: 66
|
|
103017
103112
|
}
|
|
103018
103113
|
},
|
|
103019
103114
|
"20": {
|
|
103020
103115
|
start: {
|
|
103116
|
+
line: 63,
|
|
103117
|
+
column: 6
|
|
103118
|
+
},
|
|
103119
|
+
end: {
|
|
103120
|
+
line: 68,
|
|
103121
|
+
column: 9
|
|
103122
|
+
}
|
|
103123
|
+
},
|
|
103124
|
+
"21": {
|
|
103125
|
+
start: {
|
|
103126
|
+
line: 70,
|
|
103127
|
+
column: 6
|
|
103128
|
+
},
|
|
103129
|
+
end: {
|
|
103021
103130
|
line: 70,
|
|
103131
|
+
column: 46
|
|
103132
|
+
}
|
|
103133
|
+
},
|
|
103134
|
+
"22": {
|
|
103135
|
+
start: {
|
|
103136
|
+
line: 74,
|
|
103022
103137
|
column: 19
|
|
103023
103138
|
},
|
|
103024
103139
|
end: {
|
|
103025
|
-
line:
|
|
103140
|
+
line: 82,
|
|
103026
103141
|
column: 3
|
|
103027
103142
|
}
|
|
103028
103143
|
},
|
|
103029
|
-
"
|
|
103144
|
+
"23": {
|
|
103030
103145
|
start: {
|
|
103031
|
-
line:
|
|
103146
|
+
line: 75,
|
|
103032
103147
|
column: 24
|
|
103033
103148
|
},
|
|
103034
103149
|
end: {
|
|
103035
|
-
line:
|
|
103150
|
+
line: 75,
|
|
103036
103151
|
column: 48
|
|
103037
103152
|
}
|
|
103038
103153
|
},
|
|
103039
|
-
"
|
|
103154
|
+
"24": {
|
|
103040
103155
|
start: {
|
|
103041
|
-
line:
|
|
103156
|
+
line: 76,
|
|
103042
103157
|
column: 4
|
|
103043
103158
|
},
|
|
103044
103159
|
end: {
|
|
103045
|
-
line:
|
|
103160
|
+
line: 81,
|
|
103046
103161
|
column: 13
|
|
103047
103162
|
}
|
|
103048
103163
|
},
|
|
103049
|
-
"
|
|
103164
|
+
"25": {
|
|
103050
103165
|
start: {
|
|
103051
|
-
line:
|
|
103166
|
+
line: 84,
|
|
103052
103167
|
column: 14
|
|
103053
103168
|
},
|
|
103054
103169
|
end: {
|
|
103055
|
-
line:
|
|
103170
|
+
line: 120,
|
|
103056
103171
|
column: 3
|
|
103057
103172
|
}
|
|
103058
103173
|
},
|
|
103059
|
-
"
|
|
103174
|
+
"26": {
|
|
103060
103175
|
start: {
|
|
103061
|
-
line:
|
|
103176
|
+
line: 85,
|
|
103062
103177
|
column: 4
|
|
103063
103178
|
},
|
|
103064
103179
|
end: {
|
|
103065
|
-
line:
|
|
103180
|
+
line: 87,
|
|
103066
103181
|
column: 5
|
|
103067
103182
|
}
|
|
103068
103183
|
},
|
|
103069
|
-
"
|
|
103184
|
+
"27": {
|
|
103070
103185
|
start: {
|
|
103071
|
-
line:
|
|
103186
|
+
line: 86,
|
|
103072
103187
|
column: 6
|
|
103073
103188
|
},
|
|
103074
103189
|
end: {
|
|
103075
|
-
line:
|
|
103190
|
+
line: 86,
|
|
103076
103191
|
column: 19
|
|
103077
103192
|
}
|
|
103078
103193
|
},
|
|
103079
|
-
"
|
|
103194
|
+
"28": {
|
|
103080
103195
|
start: {
|
|
103081
|
-
line:
|
|
103196
|
+
line: 89,
|
|
103082
103197
|
column: 4
|
|
103083
103198
|
},
|
|
103084
103199
|
end: {
|
|
103085
|
-
line:
|
|
103200
|
+
line: 97,
|
|
103086
103201
|
column: 5
|
|
103087
103202
|
}
|
|
103088
103203
|
},
|
|
103089
|
-
"
|
|
103204
|
+
"29": {
|
|
103090
103205
|
start: {
|
|
103091
|
-
line:
|
|
103206
|
+
line: 90,
|
|
103092
103207
|
column: 6
|
|
103093
103208
|
},
|
|
103094
103209
|
end: {
|
|
103095
|
-
line:
|
|
103210
|
+
line: 94,
|
|
103096
103211
|
column: 10
|
|
103097
103212
|
}
|
|
103098
103213
|
},
|
|
103099
|
-
"
|
|
103214
|
+
"30": {
|
|
103100
103215
|
start: {
|
|
103101
|
-
line:
|
|
103216
|
+
line: 90,
|
|
103102
103217
|
column: 62
|
|
103103
103218
|
},
|
|
103104
103219
|
end: {
|
|
103105
|
-
line:
|
|
103220
|
+
line: 94,
|
|
103106
103221
|
column: 7
|
|
103107
103222
|
}
|
|
103108
103223
|
},
|
|
103109
|
-
"
|
|
103224
|
+
"31": {
|
|
103110
103225
|
start: {
|
|
103111
|
-
line:
|
|
103226
|
+
line: 96,
|
|
103112
103227
|
column: 6
|
|
103113
103228
|
},
|
|
103114
103229
|
end: {
|
|
103115
|
-
line:
|
|
103230
|
+
line: 96,
|
|
103116
103231
|
column: 18
|
|
103117
103232
|
}
|
|
103118
103233
|
},
|
|
103119
|
-
"
|
|
103234
|
+
"32": {
|
|
103120
103235
|
start: {
|
|
103121
|
-
line:
|
|
103236
|
+
line: 99,
|
|
103122
103237
|
column: 4
|
|
103123
103238
|
},
|
|
103124
103239
|
end: {
|
|
103125
|
-
line:
|
|
103240
|
+
line: 105,
|
|
103126
103241
|
column: 5
|
|
103127
103242
|
}
|
|
103128
103243
|
},
|
|
103129
|
-
"
|
|
103244
|
+
"33": {
|
|
103130
103245
|
start: {
|
|
103131
|
-
line:
|
|
103246
|
+
line: 100,
|
|
103132
103247
|
column: 6
|
|
103133
103248
|
},
|
|
103134
103249
|
end: {
|
|
103135
|
-
line:
|
|
103250
|
+
line: 102,
|
|
103136
103251
|
column: 10
|
|
103137
103252
|
}
|
|
103138
103253
|
},
|
|
103139
|
-
"
|
|
103254
|
+
"34": {
|
|
103140
103255
|
start: {
|
|
103141
|
-
line:
|
|
103256
|
+
line: 100,
|
|
103142
103257
|
column: 62
|
|
103143
103258
|
},
|
|
103144
103259
|
end: {
|
|
103145
|
-
line:
|
|
103260
|
+
line: 102,
|
|
103146
103261
|
column: 7
|
|
103147
103262
|
}
|
|
103148
103263
|
},
|
|
103149
|
-
"
|
|
103264
|
+
"35": {
|
|
103150
103265
|
start: {
|
|
103151
|
-
line:
|
|
103266
|
+
line: 104,
|
|
103152
103267
|
column: 6
|
|
103153
103268
|
},
|
|
103154
103269
|
end: {
|
|
103155
|
-
line:
|
|
103270
|
+
line: 104,
|
|
103156
103271
|
column: 18
|
|
103157
103272
|
}
|
|
103158
103273
|
},
|
|
103159
|
-
"
|
|
103274
|
+
"36": {
|
|
103160
103275
|
start: {
|
|
103161
|
-
line:
|
|
103276
|
+
line: 107,
|
|
103162
103277
|
column: 4
|
|
103163
103278
|
},
|
|
103164
103279
|
end: {
|
|
103165
|
-
line:
|
|
103280
|
+
line: 111,
|
|
103166
103281
|
column: 5
|
|
103167
103282
|
}
|
|
103168
103283
|
},
|
|
103169
|
-
"
|
|
103284
|
+
"37": {
|
|
103170
103285
|
start: {
|
|
103171
|
-
line:
|
|
103286
|
+
line: 108,
|
|
103172
103287
|
column: 6
|
|
103173
103288
|
},
|
|
103174
103289
|
end: {
|
|
103175
|
-
line:
|
|
103290
|
+
line: 108,
|
|
103176
103291
|
column: 48
|
|
103177
103292
|
}
|
|
103178
103293
|
},
|
|
103179
|
-
"
|
|
103294
|
+
"38": {
|
|
103180
103295
|
start: {
|
|
103181
|
-
line:
|
|
103296
|
+
line: 110,
|
|
103182
103297
|
column: 6
|
|
103183
103298
|
},
|
|
103184
103299
|
end: {
|
|
103185
|
-
line:
|
|
103300
|
+
line: 110,
|
|
103186
103301
|
column: 18
|
|
103187
103302
|
}
|
|
103188
103303
|
},
|
|
103189
|
-
"
|
|
103304
|
+
"39": {
|
|
103190
103305
|
start: {
|
|
103191
|
-
line:
|
|
103306
|
+
line: 113,
|
|
103192
103307
|
column: 4
|
|
103193
103308
|
},
|
|
103194
103309
|
end: {
|
|
103195
|
-
line:
|
|
103310
|
+
line: 117,
|
|
103196
103311
|
column: 5
|
|
103197
103312
|
}
|
|
103198
103313
|
},
|
|
103199
|
-
"
|
|
103314
|
+
"40": {
|
|
103200
103315
|
start: {
|
|
103201
|
-
line:
|
|
103316
|
+
line: 114,
|
|
103202
103317
|
column: 6
|
|
103203
103318
|
},
|
|
103204
103319
|
end: {
|
|
103205
|
-
line:
|
|
103320
|
+
line: 114,
|
|
103206
103321
|
column: 65
|
|
103207
103322
|
}
|
|
103208
103323
|
},
|
|
103209
|
-
"
|
|
103324
|
+
"41": {
|
|
103210
103325
|
start: {
|
|
103211
|
-
line:
|
|
103326
|
+
line: 116,
|
|
103212
103327
|
column: 6
|
|
103213
103328
|
},
|
|
103214
103329
|
end: {
|
|
103215
|
-
line:
|
|
103330
|
+
line: 116,
|
|
103216
103331
|
column: 18
|
|
103217
103332
|
}
|
|
103218
103333
|
},
|
|
103219
|
-
"
|
|
103334
|
+
"42": {
|
|
103220
103335
|
start: {
|
|
103221
|
-
line:
|
|
103336
|
+
line: 119,
|
|
103222
103337
|
column: 4
|
|
103223
103338
|
},
|
|
103224
103339
|
end: {
|
|
103225
|
-
line:
|
|
103340
|
+
line: 119,
|
|
103226
103341
|
column: 17
|
|
103227
103342
|
}
|
|
103228
103343
|
},
|
|
103229
|
-
"
|
|
103344
|
+
"43": {
|
|
103230
103345
|
start: {
|
|
103231
|
-
line:
|
|
103346
|
+
line: 122,
|
|
103232
103347
|
column: 15
|
|
103233
103348
|
},
|
|
103234
103349
|
end: {
|
|
103235
|
-
line:
|
|
103350
|
+
line: 129,
|
|
103236
103351
|
column: 3
|
|
103237
103352
|
}
|
|
103238
103353
|
},
|
|
103239
|
-
"
|
|
103354
|
+
"44": {
|
|
103240
103355
|
start: {
|
|
103241
|
-
line:
|
|
103356
|
+
line: 123,
|
|
103242
103357
|
column: 4
|
|
103243
103358
|
},
|
|
103244
103359
|
end: {
|
|
103245
|
-
line:
|
|
103360
|
+
line: 128,
|
|
103246
103361
|
column: 13
|
|
103247
103362
|
}
|
|
103248
103363
|
},
|
|
103249
|
-
"
|
|
103364
|
+
"45": {
|
|
103250
103365
|
start: {
|
|
103251
|
-
line:
|
|
103366
|
+
line: 132,
|
|
103252
103367
|
column: 4
|
|
103253
103368
|
},
|
|
103254
103369
|
end: {
|
|
103255
|
-
line:
|
|
103370
|
+
line: 134,
|
|
103256
103371
|
column: 5
|
|
103257
103372
|
}
|
|
103258
103373
|
},
|
|
103259
|
-
"
|
|
103374
|
+
"46": {
|
|
103260
103375
|
start: {
|
|
103261
|
-
line:
|
|
103376
|
+
line: 133,
|
|
103262
103377
|
column: 6
|
|
103263
103378
|
},
|
|
103264
103379
|
end: {
|
|
103265
|
-
line:
|
|
103380
|
+
line: 133,
|
|
103266
103381
|
column: 18
|
|
103267
103382
|
}
|
|
103268
103383
|
},
|
|
103269
|
-
"
|
|
103384
|
+
"47": {
|
|
103270
103385
|
start: {
|
|
103271
|
-
line:
|
|
103386
|
+
line: 136,
|
|
103272
103387
|
column: 4
|
|
103273
103388
|
},
|
|
103274
103389
|
end: {
|
|
103275
|
-
line:
|
|
103390
|
+
line: 158,
|
|
103276
103391
|
column: 6
|
|
103277
103392
|
}
|
|
103278
103393
|
},
|
|
103279
|
-
"
|
|
103394
|
+
"48": {
|
|
103280
103395
|
start: {
|
|
103281
|
-
line:
|
|
103396
|
+
line: 142,
|
|
103282
103397
|
column: 14
|
|
103283
103398
|
},
|
|
103284
103399
|
end: {
|
|
103285
|
-
line:
|
|
103400
|
+
line: 152,
|
|
103286
103401
|
column: 20
|
|
103287
103402
|
}
|
|
103288
103403
|
},
|
|
103289
|
-
"
|
|
103404
|
+
"49": {
|
|
103290
103405
|
start: {
|
|
103291
|
-
line:
|
|
103406
|
+
line: 149,
|
|
103292
103407
|
column: 31
|
|
103293
103408
|
},
|
|
103294
103409
|
end: {
|
|
103295
|
-
line:
|
|
103410
|
+
line: 149,
|
|
103296
103411
|
column: 53
|
|
103297
103412
|
}
|
|
103298
103413
|
}
|
|
@@ -103412,7 +103527,7 @@ function cov_1swn0bnb2b() {
|
|
|
103412
103527
|
column: 39
|
|
103413
103528
|
},
|
|
103414
103529
|
end: {
|
|
103415
|
-
line:
|
|
103530
|
+
line: 72,
|
|
103416
103531
|
column: 3
|
|
103417
103532
|
}
|
|
103418
103533
|
},
|
|
@@ -103422,193 +103537,193 @@ function cov_1swn0bnb2b() {
|
|
|
103422
103537
|
name: "(anonymous_5)",
|
|
103423
103538
|
decl: {
|
|
103424
103539
|
start: {
|
|
103425
|
-
line:
|
|
103540
|
+
line: 74,
|
|
103426
103541
|
column: 19
|
|
103427
103542
|
},
|
|
103428
103543
|
end: {
|
|
103429
|
-
line:
|
|
103544
|
+
line: 74,
|
|
103430
103545
|
column: 20
|
|
103431
103546
|
}
|
|
103432
103547
|
},
|
|
103433
103548
|
loc: {
|
|
103434
103549
|
start: {
|
|
103435
|
-
line:
|
|
103550
|
+
line: 74,
|
|
103436
103551
|
column: 31
|
|
103437
103552
|
},
|
|
103438
103553
|
end: {
|
|
103439
|
-
line:
|
|
103554
|
+
line: 82,
|
|
103440
103555
|
column: 3
|
|
103441
103556
|
}
|
|
103442
103557
|
},
|
|
103443
|
-
line:
|
|
103558
|
+
line: 74
|
|
103444
103559
|
},
|
|
103445
103560
|
"6": {
|
|
103446
103561
|
name: "(anonymous_6)",
|
|
103447
103562
|
decl: {
|
|
103448
103563
|
start: {
|
|
103449
|
-
line:
|
|
103564
|
+
line: 84,
|
|
103450
103565
|
column: 14
|
|
103451
103566
|
},
|
|
103452
103567
|
end: {
|
|
103453
|
-
line:
|
|
103568
|
+
line: 84,
|
|
103454
103569
|
column: 15
|
|
103455
103570
|
}
|
|
103456
103571
|
},
|
|
103457
103572
|
loc: {
|
|
103458
103573
|
start: {
|
|
103459
|
-
line:
|
|
103574
|
+
line: 84,
|
|
103460
103575
|
column: 29
|
|
103461
103576
|
},
|
|
103462
103577
|
end: {
|
|
103463
|
-
line:
|
|
103578
|
+
line: 120,
|
|
103464
103579
|
column: 3
|
|
103465
103580
|
}
|
|
103466
103581
|
},
|
|
103467
|
-
line:
|
|
103582
|
+
line: 84
|
|
103468
103583
|
},
|
|
103469
103584
|
"7": {
|
|
103470
103585
|
name: "(anonymous_7)",
|
|
103471
103586
|
decl: {
|
|
103472
103587
|
start: {
|
|
103473
|
-
line:
|
|
103588
|
+
line: 90,
|
|
103474
103589
|
column: 20
|
|
103475
103590
|
},
|
|
103476
103591
|
end: {
|
|
103477
|
-
line:
|
|
103592
|
+
line: 90,
|
|
103478
103593
|
column: 21
|
|
103479
103594
|
}
|
|
103480
103595
|
},
|
|
103481
103596
|
loc: {
|
|
103482
103597
|
start: {
|
|
103483
|
-
line:
|
|
103598
|
+
line: 90,
|
|
103484
103599
|
column: 62
|
|
103485
103600
|
},
|
|
103486
103601
|
end: {
|
|
103487
|
-
line:
|
|
103602
|
+
line: 94,
|
|
103488
103603
|
column: 7
|
|
103489
103604
|
}
|
|
103490
103605
|
},
|
|
103491
|
-
line:
|
|
103606
|
+
line: 90
|
|
103492
103607
|
},
|
|
103493
103608
|
"8": {
|
|
103494
103609
|
name: "(anonymous_8)",
|
|
103495
103610
|
decl: {
|
|
103496
103611
|
start: {
|
|
103497
|
-
line:
|
|
103612
|
+
line: 100,
|
|
103498
103613
|
column: 20
|
|
103499
103614
|
},
|
|
103500
103615
|
end: {
|
|
103501
|
-
line:
|
|
103616
|
+
line: 100,
|
|
103502
103617
|
column: 21
|
|
103503
103618
|
}
|
|
103504
103619
|
},
|
|
103505
103620
|
loc: {
|
|
103506
103621
|
start: {
|
|
103507
|
-
line:
|
|
103622
|
+
line: 100,
|
|
103508
103623
|
column: 62
|
|
103509
103624
|
},
|
|
103510
103625
|
end: {
|
|
103511
|
-
line:
|
|
103626
|
+
line: 102,
|
|
103512
103627
|
column: 7
|
|
103513
103628
|
}
|
|
103514
103629
|
},
|
|
103515
|
-
line:
|
|
103630
|
+
line: 100
|
|
103516
103631
|
},
|
|
103517
103632
|
"9": {
|
|
103518
103633
|
name: "(anonymous_9)",
|
|
103519
103634
|
decl: {
|
|
103520
103635
|
start: {
|
|
103521
|
-
line:
|
|
103636
|
+
line: 122,
|
|
103522
103637
|
column: 15
|
|
103523
103638
|
},
|
|
103524
103639
|
end: {
|
|
103525
|
-
line:
|
|
103640
|
+
line: 122,
|
|
103526
103641
|
column: 16
|
|
103527
103642
|
}
|
|
103528
103643
|
},
|
|
103529
103644
|
loc: {
|
|
103530
103645
|
start: {
|
|
103531
|
-
line:
|
|
103646
|
+
line: 122,
|
|
103532
103647
|
column: 24
|
|
103533
103648
|
},
|
|
103534
103649
|
end: {
|
|
103535
|
-
line:
|
|
103650
|
+
line: 129,
|
|
103536
103651
|
column: 3
|
|
103537
103652
|
}
|
|
103538
103653
|
},
|
|
103539
|
-
line:
|
|
103654
|
+
line: 122
|
|
103540
103655
|
},
|
|
103541
103656
|
"10": {
|
|
103542
103657
|
name: "(anonymous_10)",
|
|
103543
103658
|
decl: {
|
|
103544
103659
|
start: {
|
|
103545
|
-
line:
|
|
103660
|
+
line: 131,
|
|
103546
103661
|
column: 2
|
|
103547
103662
|
},
|
|
103548
103663
|
end: {
|
|
103549
|
-
line:
|
|
103664
|
+
line: 131,
|
|
103550
103665
|
column: 3
|
|
103551
103666
|
}
|
|
103552
103667
|
},
|
|
103553
103668
|
loc: {
|
|
103554
103669
|
start: {
|
|
103555
|
-
line:
|
|
103670
|
+
line: 131,
|
|
103556
103671
|
column: 11
|
|
103557
103672
|
},
|
|
103558
103673
|
end: {
|
|
103559
|
-
line:
|
|
103674
|
+
line: 159,
|
|
103560
103675
|
column: 3
|
|
103561
103676
|
}
|
|
103562
103677
|
},
|
|
103563
|
-
line:
|
|
103678
|
+
line: 131
|
|
103564
103679
|
},
|
|
103565
103680
|
"11": {
|
|
103566
103681
|
name: "(anonymous_11)",
|
|
103567
103682
|
decl: {
|
|
103568
103683
|
start: {
|
|
103569
|
-
line:
|
|
103684
|
+
line: 141,
|
|
103570
103685
|
column: 44
|
|
103571
103686
|
},
|
|
103572
103687
|
end: {
|
|
103573
|
-
line:
|
|
103688
|
+
line: 141,
|
|
103574
103689
|
column: 45
|
|
103575
103690
|
}
|
|
103576
103691
|
},
|
|
103577
103692
|
loc: {
|
|
103578
103693
|
start: {
|
|
103579
|
-
line:
|
|
103694
|
+
line: 142,
|
|
103580
103695
|
column: 14
|
|
103581
103696
|
},
|
|
103582
103697
|
end: {
|
|
103583
|
-
line:
|
|
103698
|
+
line: 152,
|
|
103584
103699
|
column: 20
|
|
103585
103700
|
}
|
|
103586
103701
|
},
|
|
103587
|
-
line:
|
|
103702
|
+
line: 142
|
|
103588
103703
|
},
|
|
103589
103704
|
"12": {
|
|
103590
103705
|
name: "(anonymous_12)",
|
|
103591
103706
|
decl: {
|
|
103592
103707
|
start: {
|
|
103593
|
-
line:
|
|
103708
|
+
line: 149,
|
|
103594
103709
|
column: 25
|
|
103595
103710
|
},
|
|
103596
103711
|
end: {
|
|
103597
|
-
line:
|
|
103712
|
+
line: 149,
|
|
103598
103713
|
column: 26
|
|
103599
103714
|
}
|
|
103600
103715
|
},
|
|
103601
103716
|
loc: {
|
|
103602
103717
|
start: {
|
|
103603
|
-
line:
|
|
103718
|
+
line: 149,
|
|
103604
103719
|
column: 31
|
|
103605
103720
|
},
|
|
103606
103721
|
end: {
|
|
103607
|
-
line:
|
|
103722
|
+
line: 149,
|
|
103608
103723
|
column: 53
|
|
103609
103724
|
}
|
|
103610
103725
|
},
|
|
103611
|
-
line:
|
|
103726
|
+
line: 149
|
|
103612
103727
|
}
|
|
103613
103728
|
},
|
|
103614
103729
|
branchMap: {
|
|
@@ -103714,22 +103829,22 @@ function cov_1swn0bnb2b() {
|
|
|
103714
103829
|
"3": {
|
|
103715
103830
|
loc: {
|
|
103716
103831
|
start: {
|
|
103717
|
-
line:
|
|
103832
|
+
line: 85,
|
|
103718
103833
|
column: 4
|
|
103719
103834
|
},
|
|
103720
103835
|
end: {
|
|
103721
|
-
line:
|
|
103836
|
+
line: 87,
|
|
103722
103837
|
column: 5
|
|
103723
103838
|
}
|
|
103724
103839
|
},
|
|
103725
103840
|
type: "if",
|
|
103726
103841
|
locations: [{
|
|
103727
103842
|
start: {
|
|
103728
|
-
line:
|
|
103843
|
+
line: 85,
|
|
103729
103844
|
column: 4
|
|
103730
103845
|
},
|
|
103731
103846
|
end: {
|
|
103732
|
-
line:
|
|
103847
|
+
line: 87,
|
|
103733
103848
|
column: 5
|
|
103734
103849
|
}
|
|
103735
103850
|
}, {
|
|
@@ -103742,27 +103857,27 @@ function cov_1swn0bnb2b() {
|
|
|
103742
103857
|
column: undefined
|
|
103743
103858
|
}
|
|
103744
103859
|
}],
|
|
103745
|
-
line:
|
|
103860
|
+
line: 85
|
|
103746
103861
|
},
|
|
103747
103862
|
"4": {
|
|
103748
103863
|
loc: {
|
|
103749
103864
|
start: {
|
|
103750
|
-
line:
|
|
103865
|
+
line: 89,
|
|
103751
103866
|
column: 4
|
|
103752
103867
|
},
|
|
103753
103868
|
end: {
|
|
103754
|
-
line:
|
|
103869
|
+
line: 97,
|
|
103755
103870
|
column: 5
|
|
103756
103871
|
}
|
|
103757
103872
|
},
|
|
103758
103873
|
type: "if",
|
|
103759
103874
|
locations: [{
|
|
103760
103875
|
start: {
|
|
103761
|
-
line:
|
|
103876
|
+
line: 89,
|
|
103762
103877
|
column: 4
|
|
103763
103878
|
},
|
|
103764
103879
|
end: {
|
|
103765
|
-
line:
|
|
103880
|
+
line: 97,
|
|
103766
103881
|
column: 5
|
|
103767
103882
|
}
|
|
103768
103883
|
}, {
|
|
@@ -103775,60 +103890,60 @@ function cov_1swn0bnb2b() {
|
|
|
103775
103890
|
column: undefined
|
|
103776
103891
|
}
|
|
103777
103892
|
}],
|
|
103778
|
-
line:
|
|
103893
|
+
line: 89
|
|
103779
103894
|
},
|
|
103780
103895
|
"5": {
|
|
103781
103896
|
loc: {
|
|
103782
103897
|
start: {
|
|
103783
|
-
line:
|
|
103898
|
+
line: 89,
|
|
103784
103899
|
column: 8
|
|
103785
103900
|
},
|
|
103786
103901
|
end: {
|
|
103787
|
-
line:
|
|
103902
|
+
line: 89,
|
|
103788
103903
|
column: 62
|
|
103789
103904
|
}
|
|
103790
103905
|
},
|
|
103791
103906
|
type: "binary-expr",
|
|
103792
103907
|
locations: [{
|
|
103793
103908
|
start: {
|
|
103794
|
-
line:
|
|
103909
|
+
line: 89,
|
|
103795
103910
|
column: 8
|
|
103796
103911
|
},
|
|
103797
103912
|
end: {
|
|
103798
|
-
line:
|
|
103913
|
+
line: 89,
|
|
103799
103914
|
column: 33
|
|
103800
103915
|
}
|
|
103801
103916
|
}, {
|
|
103802
103917
|
start: {
|
|
103803
|
-
line:
|
|
103918
|
+
line: 89,
|
|
103804
103919
|
column: 37
|
|
103805
103920
|
},
|
|
103806
103921
|
end: {
|
|
103807
|
-
line:
|
|
103922
|
+
line: 89,
|
|
103808
103923
|
column: 62
|
|
103809
103924
|
}
|
|
103810
103925
|
}],
|
|
103811
|
-
line:
|
|
103926
|
+
line: 89
|
|
103812
103927
|
},
|
|
103813
103928
|
"6": {
|
|
103814
103929
|
loc: {
|
|
103815
103930
|
start: {
|
|
103816
|
-
line:
|
|
103931
|
+
line: 99,
|
|
103817
103932
|
column: 4
|
|
103818
103933
|
},
|
|
103819
103934
|
end: {
|
|
103820
|
-
line:
|
|
103935
|
+
line: 105,
|
|
103821
103936
|
column: 5
|
|
103822
103937
|
}
|
|
103823
103938
|
},
|
|
103824
103939
|
type: "if",
|
|
103825
103940
|
locations: [{
|
|
103826
103941
|
start: {
|
|
103827
|
-
line:
|
|
103942
|
+
line: 99,
|
|
103828
103943
|
column: 4
|
|
103829
103944
|
},
|
|
103830
103945
|
end: {
|
|
103831
|
-
line:
|
|
103946
|
+
line: 105,
|
|
103832
103947
|
column: 5
|
|
103833
103948
|
}
|
|
103834
103949
|
}, {
|
|
@@ -103841,60 +103956,60 @@ function cov_1swn0bnb2b() {
|
|
|
103841
103956
|
column: undefined
|
|
103842
103957
|
}
|
|
103843
103958
|
}],
|
|
103844
|
-
line:
|
|
103959
|
+
line: 99
|
|
103845
103960
|
},
|
|
103846
103961
|
"7": {
|
|
103847
103962
|
loc: {
|
|
103848
103963
|
start: {
|
|
103849
|
-
line:
|
|
103964
|
+
line: 99,
|
|
103850
103965
|
column: 8
|
|
103851
103966
|
},
|
|
103852
103967
|
end: {
|
|
103853
|
-
line:
|
|
103968
|
+
line: 99,
|
|
103854
103969
|
column: 61
|
|
103855
103970
|
}
|
|
103856
103971
|
},
|
|
103857
103972
|
type: "binary-expr",
|
|
103858
103973
|
locations: [{
|
|
103859
103974
|
start: {
|
|
103860
|
-
line:
|
|
103975
|
+
line: 99,
|
|
103861
103976
|
column: 8
|
|
103862
103977
|
},
|
|
103863
103978
|
end: {
|
|
103864
|
-
line:
|
|
103979
|
+
line: 99,
|
|
103865
103980
|
column: 34
|
|
103866
103981
|
}
|
|
103867
103982
|
}, {
|
|
103868
103983
|
start: {
|
|
103869
|
-
line:
|
|
103984
|
+
line: 99,
|
|
103870
103985
|
column: 38
|
|
103871
103986
|
},
|
|
103872
103987
|
end: {
|
|
103873
|
-
line:
|
|
103988
|
+
line: 99,
|
|
103874
103989
|
column: 61
|
|
103875
103990
|
}
|
|
103876
103991
|
}],
|
|
103877
|
-
line:
|
|
103992
|
+
line: 99
|
|
103878
103993
|
},
|
|
103879
103994
|
"8": {
|
|
103880
103995
|
loc: {
|
|
103881
103996
|
start: {
|
|
103882
|
-
line:
|
|
103997
|
+
line: 107,
|
|
103883
103998
|
column: 4
|
|
103884
103999
|
},
|
|
103885
104000
|
end: {
|
|
103886
|
-
line:
|
|
104001
|
+
line: 111,
|
|
103887
104002
|
column: 5
|
|
103888
104003
|
}
|
|
103889
104004
|
},
|
|
103890
104005
|
type: "if",
|
|
103891
104006
|
locations: [{
|
|
103892
104007
|
start: {
|
|
103893
|
-
line:
|
|
104008
|
+
line: 107,
|
|
103894
104009
|
column: 4
|
|
103895
104010
|
},
|
|
103896
104011
|
end: {
|
|
103897
|
-
line:
|
|
104012
|
+
line: 111,
|
|
103898
104013
|
column: 5
|
|
103899
104014
|
}
|
|
103900
104015
|
}, {
|
|
@@ -103907,27 +104022,27 @@ function cov_1swn0bnb2b() {
|
|
|
103907
104022
|
column: undefined
|
|
103908
104023
|
}
|
|
103909
104024
|
}],
|
|
103910
|
-
line:
|
|
104025
|
+
line: 107
|
|
103911
104026
|
},
|
|
103912
104027
|
"9": {
|
|
103913
104028
|
loc: {
|
|
103914
104029
|
start: {
|
|
103915
|
-
line:
|
|
104030
|
+
line: 113,
|
|
103916
104031
|
column: 4
|
|
103917
104032
|
},
|
|
103918
104033
|
end: {
|
|
103919
|
-
line:
|
|
104034
|
+
line: 117,
|
|
103920
104035
|
column: 5
|
|
103921
104036
|
}
|
|
103922
104037
|
},
|
|
103923
104038
|
type: "if",
|
|
103924
104039
|
locations: [{
|
|
103925
104040
|
start: {
|
|
103926
|
-
line:
|
|
104041
|
+
line: 113,
|
|
103927
104042
|
column: 4
|
|
103928
104043
|
},
|
|
103929
104044
|
end: {
|
|
103930
|
-
line:
|
|
104045
|
+
line: 117,
|
|
103931
104046
|
column: 5
|
|
103932
104047
|
}
|
|
103933
104048
|
}, {
|
|
@@ -103940,27 +104055,27 @@ function cov_1swn0bnb2b() {
|
|
|
103940
104055
|
column: undefined
|
|
103941
104056
|
}
|
|
103942
104057
|
}],
|
|
103943
|
-
line:
|
|
104058
|
+
line: 113
|
|
103944
104059
|
},
|
|
103945
104060
|
"10": {
|
|
103946
104061
|
loc: {
|
|
103947
104062
|
start: {
|
|
103948
|
-
line:
|
|
104063
|
+
line: 132,
|
|
103949
104064
|
column: 4
|
|
103950
104065
|
},
|
|
103951
104066
|
end: {
|
|
103952
|
-
line:
|
|
104067
|
+
line: 134,
|
|
103953
104068
|
column: 5
|
|
103954
104069
|
}
|
|
103955
104070
|
},
|
|
103956
104071
|
type: "if",
|
|
103957
104072
|
locations: [{
|
|
103958
104073
|
start: {
|
|
103959
|
-
line:
|
|
104074
|
+
line: 132,
|
|
103960
104075
|
column: 4
|
|
103961
104076
|
},
|
|
103962
104077
|
end: {
|
|
103963
|
-
line:
|
|
104078
|
+
line: 134,
|
|
103964
104079
|
column: 5
|
|
103965
104080
|
}
|
|
103966
104081
|
}, {
|
|
@@ -103973,106 +104088,106 @@ function cov_1swn0bnb2b() {
|
|
|
103973
104088
|
column: undefined
|
|
103974
104089
|
}
|
|
103975
104090
|
}],
|
|
103976
|
-
line:
|
|
104091
|
+
line: 132
|
|
103977
104092
|
},
|
|
103978
104093
|
"11": {
|
|
103979
104094
|
loc: {
|
|
103980
104095
|
start: {
|
|
103981
|
-
line:
|
|
104096
|
+
line: 138,
|
|
103982
104097
|
column: 9
|
|
103983
104098
|
},
|
|
103984
104099
|
end: {
|
|
103985
|
-
line:
|
|
104100
|
+
line: 138,
|
|
103986
104101
|
column: 44
|
|
103987
104102
|
}
|
|
103988
104103
|
},
|
|
103989
104104
|
type: "binary-expr",
|
|
103990
104105
|
locations: [{
|
|
103991
104106
|
start: {
|
|
103992
|
-
line:
|
|
104107
|
+
line: 138,
|
|
103993
104108
|
column: 9
|
|
103994
104109
|
},
|
|
103995
104110
|
end: {
|
|
103996
|
-
line:
|
|
104111
|
+
line: 138,
|
|
103997
104112
|
column: 29
|
|
103998
104113
|
}
|
|
103999
104114
|
}, {
|
|
104000
104115
|
start: {
|
|
104001
|
-
line:
|
|
104116
|
+
line: 138,
|
|
104002
104117
|
column: 33
|
|
104003
104118
|
},
|
|
104004
104119
|
end: {
|
|
104005
|
-
line:
|
|
104120
|
+
line: 138,
|
|
104006
104121
|
column: 44
|
|
104007
104122
|
}
|
|
104008
104123
|
}],
|
|
104009
|
-
line:
|
|
104124
|
+
line: 138
|
|
104010
104125
|
},
|
|
104011
104126
|
"12": {
|
|
104012
104127
|
loc: {
|
|
104013
104128
|
start: {
|
|
104014
|
-
line:
|
|
104129
|
+
line: 139,
|
|
104015
104130
|
column: 9
|
|
104016
104131
|
},
|
|
104017
104132
|
end: {
|
|
104018
|
-
line:
|
|
104133
|
+
line: 156,
|
|
104019
104134
|
column: 12
|
|
104020
104135
|
}
|
|
104021
104136
|
},
|
|
104022
104137
|
type: "binary-expr",
|
|
104023
104138
|
locations: [{
|
|
104024
104139
|
start: {
|
|
104025
|
-
line:
|
|
104140
|
+
line: 139,
|
|
104026
104141
|
column: 9
|
|
104027
104142
|
},
|
|
104028
104143
|
end: {
|
|
104029
|
-
line:
|
|
104144
|
+
line: 139,
|
|
104030
104145
|
column: 30
|
|
104031
104146
|
}
|
|
104032
104147
|
}, {
|
|
104033
104148
|
start: {
|
|
104034
|
-
line:
|
|
104149
|
+
line: 140,
|
|
104035
104150
|
column: 11
|
|
104036
104151
|
},
|
|
104037
104152
|
end: {
|
|
104038
|
-
line:
|
|
104153
|
+
line: 156,
|
|
104039
104154
|
column: 11
|
|
104040
104155
|
}
|
|
104041
104156
|
}],
|
|
104042
|
-
line:
|
|
104157
|
+
line: 139
|
|
104043
104158
|
},
|
|
104044
104159
|
"13": {
|
|
104045
104160
|
loc: {
|
|
104046
104161
|
start: {
|
|
104047
|
-
line:
|
|
104162
|
+
line: 140,
|
|
104048
104163
|
column: 11
|
|
104049
104164
|
},
|
|
104050
104165
|
end: {
|
|
104051
|
-
line:
|
|
104166
|
+
line: 156,
|
|
104052
104167
|
column: 11
|
|
104053
104168
|
}
|
|
104054
104169
|
},
|
|
104055
104170
|
type: "cond-expr",
|
|
104056
104171
|
locations: [{
|
|
104057
104172
|
start: {
|
|
104058
|
-
line:
|
|
104173
|
+
line: 141,
|
|
104059
104174
|
column: 12
|
|
104060
104175
|
},
|
|
104061
104176
|
end: {
|
|
104062
|
-
line:
|
|
104177
|
+
line: 153,
|
|
104063
104178
|
column: 14
|
|
104064
104179
|
}
|
|
104065
104180
|
}, {
|
|
104066
104181
|
start: {
|
|
104067
|
-
line:
|
|
104182
|
+
line: 155,
|
|
104068
104183
|
column: 12
|
|
104069
104184
|
},
|
|
104070
104185
|
end: {
|
|
104071
|
-
line:
|
|
104186
|
+
line: 155,
|
|
104072
104187
|
column: 29
|
|
104073
104188
|
}
|
|
104074
104189
|
}],
|
|
104075
|
-
line:
|
|
104190
|
+
line: 140
|
|
104076
104191
|
}
|
|
104077
104192
|
},
|
|
104078
104193
|
s: {
|
|
@@ -104123,7 +104238,9 @@ function cov_1swn0bnb2b() {
|
|
|
104123
104238
|
"44": 0,
|
|
104124
104239
|
"45": 0,
|
|
104125
104240
|
"46": 0,
|
|
104126
|
-
"47": 0
|
|
104241
|
+
"47": 0,
|
|
104242
|
+
"48": 0,
|
|
104243
|
+
"49": 0
|
|
104127
104244
|
},
|
|
104128
104245
|
f: {
|
|
104129
104246
|
"0": 0,
|
|
@@ -104157,7 +104274,7 @@ function cov_1swn0bnb2b() {
|
|
|
104157
104274
|
"13": [0, 0]
|
|
104158
104275
|
},
|
|
104159
104276
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
104160
|
-
hash: "
|
|
104277
|
+
hash: "b3e554d33b6ffb6414a697c324b104800ad9c25f"
|
|
104161
104278
|
};
|
|
104162
104279
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
104163
104280
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -104250,33 +104367,44 @@ var EmojiSuggestionMenu = /*#__PURE__*/function (_React$Component) {
|
|
|
104250
104367
|
case 0:
|
|
104251
104368
|
cov_1swn0bnb2b().f[4]++;
|
|
104252
104369
|
cov_1swn0bnb2b().s[17]++;
|
|
104253
|
-
_context3.
|
|
104370
|
+
_context3.prev = 2;
|
|
104371
|
+
cov_1swn0bnb2b().s[18]++;
|
|
104372
|
+
_context3.next = 6;
|
|
104254
104373
|
return _this.searchEmoji();
|
|
104255
|
-
case
|
|
104374
|
+
case 6:
|
|
104256
104375
|
suggestions = _context3.sent;
|
|
104257
|
-
frequentlyUsedEmojis = (cov_1swn0bnb2b().s[
|
|
104258
|
-
cov_1swn0bnb2b().s[
|
|
104376
|
+
frequentlyUsedEmojis = (cov_1swn0bnb2b().s[19]++, _this.state.frequentlyUsedEmojis);
|
|
104377
|
+
cov_1swn0bnb2b().s[20]++;
|
|
104259
104378
|
_this.setState({
|
|
104260
104379
|
emojiSuggestions: filterEmojiSuggestions(suggestions, frequentlyUsedEmojis)
|
|
104261
104380
|
});
|
|
104262
|
-
|
|
104381
|
+
_context3.next = 16;
|
|
104382
|
+
break;
|
|
104383
|
+
case 12:
|
|
104384
|
+
_context3.prev = 12;
|
|
104385
|
+
_context3.t0 = _context3["catch"](2);
|
|
104386
|
+
cov_1swn0bnb2b().s[21]++;
|
|
104387
|
+
_this.setState({
|
|
104388
|
+
emojiSuggestions: []
|
|
104389
|
+
});
|
|
104390
|
+
case 16:
|
|
104263
104391
|
case "end":
|
|
104264
104392
|
return _context3.stop();
|
|
104265
104393
|
}
|
|
104266
|
-
}, _callee3);
|
|
104394
|
+
}, _callee3, null, [[2, 12]]);
|
|
104267
104395
|
}))));
|
|
104268
|
-
_defineProperty(_assertThisInitialized(_this), "setEditorState", (cov_1swn0bnb2b().s[
|
|
104396
|
+
_defineProperty(_assertThisInitialized(_this), "setEditorState", (cov_1swn0bnb2b().s[22]++, /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee4() {
|
|
104269
104397
|
var suggestions;
|
|
104270
104398
|
return regenerator.wrap(function _callee4$(_context4) {
|
|
104271
104399
|
while (1) switch (_context4.prev = _context4.next) {
|
|
104272
104400
|
case 0:
|
|
104273
104401
|
cov_1swn0bnb2b().f[5]++;
|
|
104274
|
-
cov_1swn0bnb2b().s[
|
|
104402
|
+
cov_1swn0bnb2b().s[23]++;
|
|
104275
104403
|
_context4.next = 4;
|
|
104276
104404
|
return _this.searchEmoji();
|
|
104277
104405
|
case 4:
|
|
104278
104406
|
suggestions = _context4.sent;
|
|
104279
|
-
cov_1swn0bnb2b().s[
|
|
104407
|
+
cov_1swn0bnb2b().s[24]++;
|
|
104280
104408
|
_this.props.editor.chain().focus().deleteRange(_this.props.range).setEmoji(suggestions[0]).run();
|
|
104281
104409
|
case 7:
|
|
104282
104410
|
case "end":
|
|
@@ -104284,79 +104412,79 @@ var EmojiSuggestionMenu = /*#__PURE__*/function (_React$Component) {
|
|
|
104284
104412
|
}
|
|
104285
104413
|
}, _callee4);
|
|
104286
104414
|
}))));
|
|
104287
|
-
_defineProperty(_assertThisInitialized(_this), "onKeyDown", (cov_1swn0bnb2b().s[
|
|
104415
|
+
_defineProperty(_assertThisInitialized(_this), "onKeyDown", (cov_1swn0bnb2b().s[25]++, function (_ref6) {
|
|
104288
104416
|
var event = _ref6.event;
|
|
104289
104417
|
cov_1swn0bnb2b().f[6]++;
|
|
104290
|
-
cov_1swn0bnb2b().s[
|
|
104418
|
+
cov_1swn0bnb2b().s[26]++;
|
|
104291
104419
|
if (isEmpty$1(_this.state.emojiSuggestions)) {
|
|
104292
104420
|
cov_1swn0bnb2b().b[3][0]++;
|
|
104293
|
-
cov_1swn0bnb2b().s[
|
|
104421
|
+
cov_1swn0bnb2b().s[27]++;
|
|
104294
104422
|
return false;
|
|
104295
104423
|
} else {
|
|
104296
104424
|
cov_1swn0bnb2b().b[3][1]++;
|
|
104297
104425
|
}
|
|
104298
|
-
cov_1swn0bnb2b().s[
|
|
104426
|
+
cov_1swn0bnb2b().s[28]++;
|
|
104299
104427
|
if ((cov_1swn0bnb2b().b[5][0]++, event.key === "ArrowLeft") || (cov_1swn0bnb2b().b[5][1]++, event.key === "ArrowDown")) {
|
|
104300
104428
|
cov_1swn0bnb2b().b[4][0]++;
|
|
104301
|
-
cov_1swn0bnb2b().s[
|
|
104429
|
+
cov_1swn0bnb2b().s[29]++;
|
|
104302
104430
|
_this.setState(function (_ref7) {
|
|
104303
104431
|
var selectedIndex = _ref7.selectedIndex,
|
|
104304
104432
|
emojiSuggestions = _ref7.emojiSuggestions;
|
|
104305
104433
|
cov_1swn0bnb2b().f[7]++;
|
|
104306
|
-
cov_1swn0bnb2b().s[
|
|
104434
|
+
cov_1swn0bnb2b().s[30]++;
|
|
104307
104435
|
return {
|
|
104308
104436
|
selectedIndex: (selectedIndex + emojiSuggestions.length - 1) % emojiSuggestions.length
|
|
104309
104437
|
};
|
|
104310
104438
|
});
|
|
104311
|
-
cov_1swn0bnb2b().s[
|
|
104439
|
+
cov_1swn0bnb2b().s[31]++;
|
|
104312
104440
|
return true;
|
|
104313
104441
|
} else {
|
|
104314
104442
|
cov_1swn0bnb2b().b[4][1]++;
|
|
104315
104443
|
}
|
|
104316
|
-
cov_1swn0bnb2b().s[
|
|
104444
|
+
cov_1swn0bnb2b().s[32]++;
|
|
104317
104445
|
if ((cov_1swn0bnb2b().b[7][0]++, event.key === "ArrowRight") || (cov_1swn0bnb2b().b[7][1]++, event.key === "ArrowUp")) {
|
|
104318
104446
|
cov_1swn0bnb2b().b[6][0]++;
|
|
104319
|
-
cov_1swn0bnb2b().s[
|
|
104447
|
+
cov_1swn0bnb2b().s[33]++;
|
|
104320
104448
|
_this.setState(function (_ref8) {
|
|
104321
104449
|
var selectedIndex = _ref8.selectedIndex,
|
|
104322
104450
|
emojiSuggestions = _ref8.emojiSuggestions;
|
|
104323
104451
|
cov_1swn0bnb2b().f[8]++;
|
|
104324
|
-
cov_1swn0bnb2b().s[
|
|
104452
|
+
cov_1swn0bnb2b().s[34]++;
|
|
104325
104453
|
return {
|
|
104326
104454
|
selectedIndex: (selectedIndex + 1) % emojiSuggestions.length
|
|
104327
104455
|
};
|
|
104328
104456
|
});
|
|
104329
|
-
cov_1swn0bnb2b().s[
|
|
104457
|
+
cov_1swn0bnb2b().s[35]++;
|
|
104330
104458
|
return true;
|
|
104331
104459
|
} else {
|
|
104332
104460
|
cov_1swn0bnb2b().b[6][1]++;
|
|
104333
104461
|
}
|
|
104334
|
-
cov_1swn0bnb2b().s[
|
|
104462
|
+
cov_1swn0bnb2b().s[36]++;
|
|
104335
104463
|
if (event.key === "Enter") {
|
|
104336
104464
|
cov_1swn0bnb2b().b[8][0]++;
|
|
104337
|
-
cov_1swn0bnb2b().s[
|
|
104465
|
+
cov_1swn0bnb2b().s[37]++;
|
|
104338
104466
|
_this.selectItem(_this.state.selectedIndex);
|
|
104339
|
-
cov_1swn0bnb2b().s[
|
|
104467
|
+
cov_1swn0bnb2b().s[38]++;
|
|
104340
104468
|
return true;
|
|
104341
104469
|
} else {
|
|
104342
104470
|
cov_1swn0bnb2b().b[8][1]++;
|
|
104343
104471
|
}
|
|
104344
|
-
cov_1swn0bnb2b().s[
|
|
104472
|
+
cov_1swn0bnb2b().s[39]++;
|
|
104345
104473
|
if (event.key === "Escape") {
|
|
104346
104474
|
cov_1swn0bnb2b().b[9][0]++;
|
|
104347
|
-
cov_1swn0bnb2b().s[
|
|
104475
|
+
cov_1swn0bnb2b().s[40]++;
|
|
104348
104476
|
_this.props.editor.chain().focus().insertContent(" ").run();
|
|
104349
|
-
cov_1swn0bnb2b().s[
|
|
104477
|
+
cov_1swn0bnb2b().s[41]++;
|
|
104350
104478
|
return true;
|
|
104351
104479
|
} else {
|
|
104352
104480
|
cov_1swn0bnb2b().b[9][1]++;
|
|
104353
104481
|
}
|
|
104354
|
-
cov_1swn0bnb2b().s[
|
|
104482
|
+
cov_1swn0bnb2b().s[42]++;
|
|
104355
104483
|
return false;
|
|
104356
104484
|
}));
|
|
104357
|
-
_defineProperty(_assertThisInitialized(_this), "selectItem", (cov_1swn0bnb2b().s[
|
|
104485
|
+
_defineProperty(_assertThisInitialized(_this), "selectItem", (cov_1swn0bnb2b().s[43]++, function (index) {
|
|
104358
104486
|
cov_1swn0bnb2b().f[9]++;
|
|
104359
|
-
cov_1swn0bnb2b().s[
|
|
104487
|
+
cov_1swn0bnb2b().s[44]++;
|
|
104360
104488
|
_this.props.editor.chain().focus().deleteRange(_this.props.range).setEmoji(_this.state.emojiSuggestions[index]).run();
|
|
104361
104489
|
}));
|
|
104362
104490
|
return _this;
|
|
@@ -104396,20 +104524,20 @@ var EmojiSuggestionMenu = /*#__PURE__*/function (_React$Component) {
|
|
|
104396
104524
|
value: function render() {
|
|
104397
104525
|
var _this2 = this;
|
|
104398
104526
|
cov_1swn0bnb2b().f[10]++;
|
|
104399
|
-
cov_1swn0bnb2b().s[
|
|
104527
|
+
cov_1swn0bnb2b().s[45]++;
|
|
104400
104528
|
if (isEmpty$1(this.state.emojiSuggestions)) {
|
|
104401
104529
|
cov_1swn0bnb2b().b[10][0]++;
|
|
104402
|
-
cov_1swn0bnb2b().s[
|
|
104530
|
+
cov_1swn0bnb2b().s[46]++;
|
|
104403
104531
|
return null;
|
|
104404
104532
|
} else {
|
|
104405
104533
|
cov_1swn0bnb2b().b[10][1]++;
|
|
104406
104534
|
}
|
|
104407
|
-
cov_1swn0bnb2b().s[
|
|
104535
|
+
cov_1swn0bnb2b().s[47]++;
|
|
104408
104536
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
104409
104537
|
className: "neeto-editor-emoji-suggestion"
|
|
104410
104538
|
}, (cov_1swn0bnb2b().b[11][0]++, this.state.isLoading) && (cov_1swn0bnb2b().b[11][1]++, /*#__PURE__*/React__default.createElement(Spinner, null)), (cov_1swn0bnb2b().b[12][0]++, !this.state.isLoading) && (cov_1swn0bnb2b().b[12][1]++, isNotEmpty(this.state.emojiSuggestions) ? (cov_1swn0bnb2b().b[13][0]++, this.state.emojiSuggestions.map(function (emoji, index) {
|
|
104411
104539
|
cov_1swn0bnb2b().f[11]++;
|
|
104412
|
-
cov_1swn0bnb2b().s[
|
|
104540
|
+
cov_1swn0bnb2b().s[48]++;
|
|
104413
104541
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
104414
104542
|
"data-cy": "neeto-editor-emoji-suggestion-".concat(emoji.id),
|
|
104415
104543
|
key: emoji.id,
|
|
@@ -104418,7 +104546,7 @@ var EmojiSuggestionMenu = /*#__PURE__*/function (_React$Component) {
|
|
|
104418
104546
|
}),
|
|
104419
104547
|
onClick: function onClick() {
|
|
104420
104548
|
cov_1swn0bnb2b().f[12]++;
|
|
104421
|
-
cov_1swn0bnb2b().s[
|
|
104549
|
+
cov_1swn0bnb2b().s[49]++;
|
|
104422
104550
|
return _this2.selectItem(index);
|
|
104423
104551
|
}
|
|
104424
104552
|
}, emoji.skins[0]["native"]);
|