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