@bigbinary/neeto-editor 1.26.15 → 1.26.16
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 +435 -327
- package/index.cjs.js.map +1 -1
- package/index.js +435 -327
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -104920,7 +104920,7 @@ var EmojiSuggestion$1 = EmojiSuggestion.configure({
|
|
|
104920
104920
|
|
|
104921
104921
|
function cov_1rrokgc9k1() {
|
|
104922
104922
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Image/ImageComponent.jsx";
|
|
104923
|
-
var hash = "
|
|
104923
|
+
var hash = "7931a267144e038d9242914e1ff6f4c79984799f";
|
|
104924
104924
|
var global = new Function("return this")();
|
|
104925
104925
|
var gcv = "__coverage__";
|
|
104926
104926
|
var coverageData = {
|
|
@@ -104932,117 +104932,137 @@ function cov_1rrokgc9k1() {
|
|
|
104932
104932
|
column: 23
|
|
104933
104933
|
},
|
|
104934
104934
|
end: {
|
|
104935
|
-
line:
|
|
104935
|
+
line: 83,
|
|
104936
104936
|
column: 1
|
|
104937
104937
|
}
|
|
104938
104938
|
},
|
|
104939
104939
|
"1": {
|
|
104940
104940
|
start: {
|
|
104941
104941
|
line: 18,
|
|
104942
|
-
column:
|
|
104942
|
+
column: 51
|
|
104943
104943
|
},
|
|
104944
104944
|
end: {
|
|
104945
104945
|
line: 18,
|
|
104946
|
-
column:
|
|
104946
|
+
column: 61
|
|
104947
104947
|
}
|
|
104948
104948
|
},
|
|
104949
104949
|
"2": {
|
|
104950
104950
|
start: {
|
|
104951
104951
|
line: 20,
|
|
104952
|
-
column:
|
|
104952
|
+
column: 42
|
|
104953
104953
|
},
|
|
104954
104954
|
end: {
|
|
104955
104955
|
line: 20,
|
|
104956
|
-
column:
|
|
104956
|
+
column: 65
|
|
104957
104957
|
}
|
|
104958
104958
|
},
|
|
104959
104959
|
"3": {
|
|
104960
104960
|
start: {
|
|
104961
|
-
line:
|
|
104961
|
+
line: 22,
|
|
104962
|
+
column: 20
|
|
104963
|
+
},
|
|
104964
|
+
end: {
|
|
104965
|
+
line: 22,
|
|
104966
|
+
column: 32
|
|
104967
|
+
}
|
|
104968
|
+
},
|
|
104969
|
+
"4": {
|
|
104970
|
+
start: {
|
|
104971
|
+
line: 24,
|
|
104962
104972
|
column: 19
|
|
104963
104973
|
},
|
|
104964
104974
|
end: {
|
|
104965
|
-
line:
|
|
104975
|
+
line: 24,
|
|
104966
104976
|
column: 25
|
|
104967
104977
|
}
|
|
104968
104978
|
},
|
|
104969
|
-
"
|
|
104979
|
+
"5": {
|
|
104970
104980
|
start: {
|
|
104971
|
-
line:
|
|
104981
|
+
line: 25,
|
|
104972
104982
|
column: 15
|
|
104973
104983
|
},
|
|
104974
104984
|
end: {
|
|
104975
|
-
line:
|
|
104985
|
+
line: 25,
|
|
104976
104986
|
column: 24
|
|
104977
104987
|
}
|
|
104978
104988
|
},
|
|
104979
|
-
"
|
|
104989
|
+
"6": {
|
|
104980
104990
|
start: {
|
|
104981
|
-
line:
|
|
104991
|
+
line: 26,
|
|
104982
104992
|
column: 14
|
|
104983
104993
|
},
|
|
104984
104994
|
end: {
|
|
104985
|
-
line:
|
|
104995
|
+
line: 26,
|
|
104986
104996
|
column: 22
|
|
104987
104997
|
}
|
|
104988
104998
|
},
|
|
104989
|
-
"
|
|
104999
|
+
"7": {
|
|
104990
105000
|
start: {
|
|
104991
|
-
line:
|
|
105001
|
+
line: 27,
|
|
104992
105002
|
column: 18
|
|
104993
105003
|
},
|
|
104994
105004
|
end: {
|
|
104995
|
-
line:
|
|
105005
|
+
line: 29,
|
|
104996
105006
|
column: 9
|
|
104997
105007
|
}
|
|
104998
105008
|
},
|
|
104999
|
-
"
|
|
105009
|
+
"8": {
|
|
105000
105010
|
start: {
|
|
105001
|
-
line:
|
|
105011
|
+
line: 31,
|
|
105002
105012
|
column: 2
|
|
105003
105013
|
},
|
|
105004
105014
|
end: {
|
|
105005
|
-
line:
|
|
105015
|
+
line: 82,
|
|
105006
105016
|
column: 4
|
|
105007
105017
|
}
|
|
105008
105018
|
},
|
|
105009
|
-
"
|
|
105019
|
+
"9": {
|
|
105010
105020
|
start: {
|
|
105011
|
-
line:
|
|
105021
|
+
line: 48,
|
|
105012
105022
|
column: 14
|
|
105013
105023
|
},
|
|
105014
105024
|
end: {
|
|
105015
|
-
line:
|
|
105025
|
+
line: 48,
|
|
105026
|
+
column: 46
|
|
105027
|
+
}
|
|
105028
|
+
},
|
|
105029
|
+
"10": {
|
|
105030
|
+
start: {
|
|
105031
|
+
line: 51,
|
|
105032
|
+
column: 14
|
|
105033
|
+
},
|
|
105034
|
+
end: {
|
|
105035
|
+
line: 51,
|
|
105016
105036
|
column: 40
|
|
105017
105037
|
}
|
|
105018
105038
|
},
|
|
105019
|
-
"
|
|
105039
|
+
"11": {
|
|
105020
105040
|
start: {
|
|
105021
|
-
line:
|
|
105041
|
+
line: 52,
|
|
105022
105042
|
column: 14
|
|
105023
105043
|
},
|
|
105024
105044
|
end: {
|
|
105025
|
-
line:
|
|
105045
|
+
line: 52,
|
|
105026
105046
|
column: 38
|
|
105027
105047
|
}
|
|
105028
105048
|
},
|
|
105029
|
-
"
|
|
105049
|
+
"12": {
|
|
105030
105050
|
start: {
|
|
105031
|
-
line:
|
|
105051
|
+
line: 53,
|
|
105032
105052
|
column: 14
|
|
105033
105053
|
},
|
|
105034
105054
|
end: {
|
|
105035
|
-
line:
|
|
105055
|
+
line: 64,
|
|
105036
105056
|
column: 16
|
|
105037
105057
|
}
|
|
105038
105058
|
},
|
|
105039
|
-
"
|
|
105059
|
+
"13": {
|
|
105040
105060
|
start: {
|
|
105041
|
-
line:
|
|
105061
|
+
line: 65,
|
|
105042
105062
|
column: 14
|
|
105043
105063
|
},
|
|
105044
105064
|
end: {
|
|
105045
|
-
line:
|
|
105065
|
+
line: 65,
|
|
105046
105066
|
column: 38
|
|
105047
105067
|
}
|
|
105048
105068
|
}
|
|
@@ -105066,7 +105086,7 @@ function cov_1rrokgc9k1() {
|
|
|
105066
105086
|
column: 6
|
|
105067
105087
|
},
|
|
105068
105088
|
end: {
|
|
105069
|
-
line:
|
|
105089
|
+
line: 83,
|
|
105070
105090
|
column: 1
|
|
105071
105091
|
}
|
|
105072
105092
|
},
|
|
@@ -105076,93 +105096,150 @@ function cov_1rrokgc9k1() {
|
|
|
105076
105096
|
name: "(anonymous_1)",
|
|
105077
105097
|
decl: {
|
|
105078
105098
|
start: {
|
|
105079
|
-
line:
|
|
105099
|
+
line: 47,
|
|
105100
|
+
column: 22
|
|
105101
|
+
},
|
|
105102
|
+
end: {
|
|
105103
|
+
line: 47,
|
|
105104
|
+
column: 23
|
|
105105
|
+
}
|
|
105106
|
+
},
|
|
105107
|
+
loc: {
|
|
105108
|
+
start: {
|
|
105109
|
+
line: 48,
|
|
105110
|
+
column: 14
|
|
105111
|
+
},
|
|
105112
|
+
end: {
|
|
105113
|
+
line: 48,
|
|
105114
|
+
column: 46
|
|
105115
|
+
}
|
|
105116
|
+
},
|
|
105117
|
+
line: 48
|
|
105118
|
+
},
|
|
105119
|
+
"2": {
|
|
105120
|
+
name: "(anonymous_2)",
|
|
105121
|
+
decl: {
|
|
105122
|
+
start: {
|
|
105123
|
+
line: 50,
|
|
105080
105124
|
column: 26
|
|
105081
105125
|
},
|
|
105082
105126
|
end: {
|
|
105083
|
-
line:
|
|
105127
|
+
line: 50,
|
|
105084
105128
|
column: 27
|
|
105085
105129
|
}
|
|
105086
105130
|
},
|
|
105087
105131
|
loc: {
|
|
105088
105132
|
start: {
|
|
105089
|
-
line:
|
|
105133
|
+
line: 50,
|
|
105090
105134
|
column: 55
|
|
105091
105135
|
},
|
|
105092
105136
|
end: {
|
|
105093
|
-
line:
|
|
105137
|
+
line: 66,
|
|
105094
105138
|
column: 13
|
|
105095
105139
|
}
|
|
105096
105140
|
},
|
|
105097
|
-
line:
|
|
105141
|
+
line: 50
|
|
105098
105142
|
}
|
|
105099
105143
|
},
|
|
105100
105144
|
branchMap: {
|
|
105101
105145
|
"0": {
|
|
105102
105146
|
loc: {
|
|
105103
105147
|
start: {
|
|
105104
|
-
line:
|
|
105148
|
+
line: 20,
|
|
105149
|
+
column: 51
|
|
105150
|
+
},
|
|
105151
|
+
end: {
|
|
105152
|
+
line: 20,
|
|
105153
|
+
column: 64
|
|
105154
|
+
}
|
|
105155
|
+
},
|
|
105156
|
+
type: "binary-expr",
|
|
105157
|
+
locations: [{
|
|
105158
|
+
start: {
|
|
105159
|
+
line: 20,
|
|
105160
|
+
column: 51
|
|
105161
|
+
},
|
|
105162
|
+
end: {
|
|
105163
|
+
line: 20,
|
|
105164
|
+
column: 59
|
|
105165
|
+
}
|
|
105166
|
+
}, {
|
|
105167
|
+
start: {
|
|
105168
|
+
line: 20,
|
|
105169
|
+
column: 63
|
|
105170
|
+
},
|
|
105171
|
+
end: {
|
|
105172
|
+
line: 20,
|
|
105173
|
+
column: 64
|
|
105174
|
+
}
|
|
105175
|
+
}],
|
|
105176
|
+
line: 20
|
|
105177
|
+
},
|
|
105178
|
+
"1": {
|
|
105179
|
+
loc: {
|
|
105180
|
+
start: {
|
|
105181
|
+
line: 27,
|
|
105105
105182
|
column: 18
|
|
105106
105183
|
},
|
|
105107
105184
|
end: {
|
|
105108
|
-
line:
|
|
105185
|
+
line: 29,
|
|
105109
105186
|
column: 9
|
|
105110
105187
|
}
|
|
105111
105188
|
},
|
|
105112
105189
|
type: "cond-expr",
|
|
105113
105190
|
locations: [{
|
|
105114
105191
|
start: {
|
|
105115
|
-
line:
|
|
105192
|
+
line: 28,
|
|
105116
105193
|
column: 6
|
|
105117
105194
|
},
|
|
105118
105195
|
end: {
|
|
105119
|
-
line:
|
|
105196
|
+
line: 28,
|
|
105120
105197
|
column: 68
|
|
105121
105198
|
}
|
|
105122
105199
|
}, {
|
|
105123
105200
|
start: {
|
|
105124
|
-
line:
|
|
105201
|
+
line: 29,
|
|
105125
105202
|
column: 6
|
|
105126
105203
|
},
|
|
105127
105204
|
end: {
|
|
105128
|
-
line:
|
|
105205
|
+
line: 29,
|
|
105129
105206
|
column: 9
|
|
105130
105207
|
}
|
|
105131
105208
|
}],
|
|
105132
|
-
line:
|
|
105209
|
+
line: 27
|
|
105133
105210
|
},
|
|
105134
|
-
"
|
|
105211
|
+
"2": {
|
|
105135
105212
|
loc: {
|
|
105136
105213
|
start: {
|
|
105137
|
-
line:
|
|
105214
|
+
line: 42,
|
|
105138
105215
|
column: 9
|
|
105139
105216
|
},
|
|
105140
105217
|
end: {
|
|
105141
|
-
line:
|
|
105218
|
+
line: 74,
|
|
105142
105219
|
column: 9
|
|
105143
105220
|
}
|
|
105144
105221
|
},
|
|
105145
105222
|
type: "cond-expr",
|
|
105146
105223
|
locations: [{
|
|
105147
105224
|
start: {
|
|
105148
|
-
line:
|
|
105225
|
+
line: 43,
|
|
105149
105226
|
column: 10
|
|
105150
105227
|
},
|
|
105151
105228
|
end: {
|
|
105152
|
-
line:
|
|
105229
|
+
line: 69,
|
|
105153
105230
|
column: 22
|
|
105154
105231
|
}
|
|
105155
105232
|
}, {
|
|
105156
105233
|
start: {
|
|
105157
|
-
line:
|
|
105234
|
+
line: 71,
|
|
105158
105235
|
column: 10
|
|
105159
105236
|
},
|
|
105160
105237
|
end: {
|
|
105161
|
-
line:
|
|
105238
|
+
line: 73,
|
|
105162
105239
|
column: 16
|
|
105163
105240
|
}
|
|
105164
105241
|
}],
|
|
105165
|
-
line:
|
|
105242
|
+
line: 42
|
|
105166
105243
|
}
|
|
105167
105244
|
},
|
|
105168
105245
|
s: {
|
|
@@ -105177,18 +105254,22 @@ function cov_1rrokgc9k1() {
|
|
|
105177
105254
|
"8": 0,
|
|
105178
105255
|
"9": 0,
|
|
105179
105256
|
"10": 0,
|
|
105180
|
-
"11": 0
|
|
105257
|
+
"11": 0,
|
|
105258
|
+
"12": 0,
|
|
105259
|
+
"13": 0
|
|
105181
105260
|
},
|
|
105182
105261
|
f: {
|
|
105183
105262
|
"0": 0,
|
|
105184
|
-
"1": 0
|
|
105263
|
+
"1": 0,
|
|
105264
|
+
"2": 0
|
|
105185
105265
|
},
|
|
105186
105266
|
b: {
|
|
105187
105267
|
"0": [0, 0],
|
|
105188
|
-
"1": [0, 0]
|
|
105268
|
+
"1": [0, 0],
|
|
105269
|
+
"2": [0, 0]
|
|
105189
105270
|
},
|
|
105190
105271
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
105191
|
-
hash: "
|
|
105272
|
+
hash: "7931a267144e038d9242914e1ff6f4c79984799f"
|
|
105192
105273
|
};
|
|
105193
105274
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
105194
105275
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -105213,19 +105294,23 @@ var ImageComponent = function ImageComponent(_ref) {
|
|
|
105213
105294
|
updateAttributes = _ref.updateAttributes,
|
|
105214
105295
|
deleteNode = _ref.deleteNode;
|
|
105215
105296
|
cov_1rrokgc9k1().f[0]++;
|
|
105216
|
-
var
|
|
105217
|
-
var _ref2 = (cov_1rrokgc9k1().s[2]++, node.attrs),
|
|
105297
|
+
var _ref2 = (cov_1rrokgc9k1().s[1]++, node.attrs),
|
|
105218
105298
|
alt = _ref2.alt,
|
|
105219
105299
|
src = _ref2.src,
|
|
105220
105300
|
figheight = _ref2.figheight,
|
|
105221
105301
|
figwidth = _ref2.figwidth,
|
|
105222
105302
|
align = _ref2.align;
|
|
105223
|
-
var _ref3 = (cov_1rrokgc9k1().s[
|
|
105224
|
-
|
|
105225
|
-
|
|
105226
|
-
|
|
105227
|
-
var
|
|
105228
|
-
cov_1rrokgc9k1().s[
|
|
105303
|
+
var _ref3 = (cov_1rrokgc9k1().s[2]++, useState((cov_1rrokgc9k1().b[0][0]++, figwidth) || (cov_1rrokgc9k1().b[0][1]++, 0))),
|
|
105304
|
+
_ref4 = _slicedToArray(_ref3, 2),
|
|
105305
|
+
captionWidth = _ref4[0],
|
|
105306
|
+
setCaptionWidth = _ref4[1];
|
|
105307
|
+
var figureRef = (cov_1rrokgc9k1().s[3]++, useRef$1(null));
|
|
105308
|
+
var _ref5 = (cov_1rrokgc9k1().s[4]++, editor),
|
|
105309
|
+
view = _ref5.view;
|
|
105310
|
+
var height = (cov_1rrokgc9k1().s[5]++, figheight);
|
|
105311
|
+
var width = (cov_1rrokgc9k1().s[6]++, figwidth);
|
|
105312
|
+
var caption = (cov_1rrokgc9k1().s[7]++, figureRef.current ? (cov_1rrokgc9k1().b[1][0]++, (_figureRef$current$qu = figureRef.current.querySelector("figcaption>div")) === null || _figureRef$current$qu === void 0 ? void 0 : _figureRef$current$qu.textContent) : (cov_1rrokgc9k1().b[1][1]++, alt));
|
|
105313
|
+
cov_1rrokgc9k1().s[8]++;
|
|
105229
105314
|
return /*#__PURE__*/React__default.createElement(NodeViewWrapper, {
|
|
105230
105315
|
className: "neeto-editor__image-wrapper neeto-editor__image--".concat(align)
|
|
105231
105316
|
}, /*#__PURE__*/React__default.createElement("figure", {
|
|
@@ -105235,46 +105320,54 @@ var ImageComponent = function ImageComponent(_ref) {
|
|
|
105235
105320
|
deleteNode: deleteNode,
|
|
105236
105321
|
editor: editor,
|
|
105237
105322
|
updateAttributes: updateAttributes
|
|
105238
|
-
}), src ? (cov_1rrokgc9k1().b[
|
|
105323
|
+
}), src ? (cov_1rrokgc9k1().b[2][0]++, /*#__PURE__*/React__default.createElement(Resizable, {
|
|
105239
105324
|
lockAspectRatio: true,
|
|
105240
105325
|
className: "neeto-editor__image",
|
|
105241
105326
|
size: {
|
|
105242
105327
|
height: height,
|
|
105243
105328
|
width: width
|
|
105244
105329
|
},
|
|
105245
|
-
|
|
105330
|
+
onResize: function onResize(_event, _direction, ref) {
|
|
105246
105331
|
cov_1rrokgc9k1().f[1]++;
|
|
105247
|
-
cov_1rrokgc9k1().s[8]++;
|
|
105248
|
-
height = ref.offsetHeight;
|
|
105249
105332
|
cov_1rrokgc9k1().s[9]++;
|
|
105250
|
-
|
|
105333
|
+
return setCaptionWidth(ref.offsetWidth);
|
|
105334
|
+
},
|
|
105335
|
+
onResizeStop: function onResizeStop(_event, _direction, ref) {
|
|
105336
|
+
cov_1rrokgc9k1().f[2]++;
|
|
105251
105337
|
cov_1rrokgc9k1().s[10]++;
|
|
105338
|
+
height = ref.offsetHeight;
|
|
105339
|
+
cov_1rrokgc9k1().s[11]++;
|
|
105340
|
+
width = ref.offsetWidth;
|
|
105341
|
+
cov_1rrokgc9k1().s[12]++;
|
|
105252
105342
|
view.dispatch(view.state.tr.setNodeMarkup(getPos(), undefined, mergeRight(node.attrs, {
|
|
105253
105343
|
figheight: height,
|
|
105254
105344
|
figwidth: width,
|
|
105255
105345
|
height: height,
|
|
105256
105346
|
width: width
|
|
105257
105347
|
})));
|
|
105258
|
-
cov_1rrokgc9k1().s[
|
|
105348
|
+
cov_1rrokgc9k1().s[13]++;
|
|
105259
105349
|
editor.commands.focus();
|
|
105260
105350
|
}
|
|
105261
105351
|
}, /*#__PURE__*/React__default.createElement("img", _extends$2({}, node.attrs, {
|
|
105262
105352
|
alt: caption,
|
|
105263
105353
|
src: src
|
|
105264
|
-
})))) : (cov_1rrokgc9k1().b[
|
|
105354
|
+
})))) : (cov_1rrokgc9k1().b[2][1]++, /*#__PURE__*/React__default.createElement("div", {
|
|
105265
105355
|
className: "neeto-editor__image-placeholder"
|
|
105266
105356
|
}, /*#__PURE__*/React__default.createElement(Spinner, null))), /*#__PURE__*/React__default.createElement(NodeViewContent, {
|
|
105267
105357
|
as: "figcaption",
|
|
105268
105358
|
className: classnames$2({
|
|
105269
105359
|
"is-empty": isEmpty$1(caption)
|
|
105270
|
-
})
|
|
105360
|
+
}),
|
|
105361
|
+
style: {
|
|
105362
|
+
width: "".concat(captionWidth, "px")
|
|
105363
|
+
}
|
|
105271
105364
|
})));
|
|
105272
105365
|
};
|
|
105273
105366
|
|
|
105274
105367
|
var _excluded$9 = ["caption"];
|
|
105275
105368
|
function cov_ksv9azglk() {
|
|
105276
105369
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Image/ExtensionConfig.js";
|
|
105277
|
-
var hash = "
|
|
105370
|
+
var hash = "ce242fed07b10fc4df7c01982eda2c3b9055467f";
|
|
105278
105371
|
var global = new Function("return this")();
|
|
105279
105372
|
var gcv = "__coverage__";
|
|
105280
105373
|
var coverageData = {
|
|
@@ -105286,7 +105379,7 @@ function cov_ksv9azglk() {
|
|
|
105286
105379
|
column: 23
|
|
105287
105380
|
},
|
|
105288
105381
|
end: {
|
|
105289
|
-
line:
|
|
105382
|
+
line: 134,
|
|
105290
105383
|
column: 2
|
|
105291
105384
|
}
|
|
105292
105385
|
},
|
|
@@ -105413,360 +105506,370 @@ function cov_ksv9azglk() {
|
|
|
105413
105506
|
"13": {
|
|
105414
105507
|
start: {
|
|
105415
105508
|
line: 92,
|
|
105509
|
+
column: 25
|
|
105510
|
+
},
|
|
105511
|
+
end: {
|
|
105512
|
+
line: 92,
|
|
105513
|
+
column: 58
|
|
105514
|
+
}
|
|
105515
|
+
},
|
|
105516
|
+
"14": {
|
|
105517
|
+
start: {
|
|
105518
|
+
line: 94,
|
|
105416
105519
|
column: 4
|
|
105417
105520
|
},
|
|
105418
105521
|
end: {
|
|
105419
|
-
line:
|
|
105522
|
+
line: 113,
|
|
105420
105523
|
column: 6
|
|
105421
105524
|
}
|
|
105422
105525
|
},
|
|
105423
|
-
"
|
|
105526
|
+
"15": {
|
|
105424
105527
|
start: {
|
|
105425
|
-
line:
|
|
105528
|
+
line: 117,
|
|
105426
105529
|
column: 4
|
|
105427
105530
|
},
|
|
105428
105531
|
end: {
|
|
105429
|
-
line:
|
|
105532
|
+
line: 117,
|
|
105430
105533
|
column: 49
|
|
105431
105534
|
}
|
|
105432
105535
|
},
|
|
105433
|
-
"
|
|
105536
|
+
"16": {
|
|
105434
105537
|
start: {
|
|
105435
|
-
line:
|
|
105538
|
+
line: 121,
|
|
105436
105539
|
column: 4
|
|
105437
105540
|
},
|
|
105438
105541
|
end: {
|
|
105439
|
-
line:
|
|
105542
|
+
line: 132,
|
|
105440
105543
|
column: 6
|
|
105441
105544
|
}
|
|
105442
105545
|
},
|
|
105443
|
-
"
|
|
105546
|
+
"17": {
|
|
105444
105547
|
start: {
|
|
105445
|
-
line:
|
|
105548
|
+
line: 124,
|
|
105446
105549
|
column: 8
|
|
105447
105550
|
},
|
|
105448
105551
|
end: {
|
|
105449
|
-
line:
|
|
105552
|
+
line: 131,
|
|
105450
105553
|
column: 18
|
|
105451
105554
|
}
|
|
105452
105555
|
},
|
|
105453
|
-
"
|
|
105556
|
+
"18": {
|
|
105454
105557
|
start: {
|
|
105455
|
-
line:
|
|
105558
|
+
line: 125,
|
|
105456
105559
|
column: 10
|
|
105457
105560
|
},
|
|
105458
105561
|
end: {
|
|
105459
|
-
line:
|
|
105562
|
+
line: 131,
|
|
105460
105563
|
column: 18
|
|
105461
105564
|
}
|
|
105462
105565
|
},
|
|
105463
|
-
"
|
|
105566
|
+
"19": {
|
|
105464
105567
|
start: {
|
|
105465
|
-
line:
|
|
105568
|
+
line: 136,
|
|
105466
105569
|
column: 15
|
|
105467
105570
|
},
|
|
105468
105571
|
end: {
|
|
105469
|
-
line:
|
|
105572
|
+
line: 148,
|
|
105470
105573
|
column: 1
|
|
105471
105574
|
}
|
|
105472
105575
|
},
|
|
105473
|
-
"
|
|
105576
|
+
"20": {
|
|
105474
105577
|
start: {
|
|
105475
|
-
line:
|
|
105578
|
+
line: 137,
|
|
105476
105579
|
column: 2
|
|
105477
105580
|
},
|
|
105478
105581
|
end: {
|
|
105479
|
-
line:
|
|
105582
|
+
line: 142,
|
|
105480
105583
|
column: 3
|
|
105481
105584
|
}
|
|
105482
105585
|
},
|
|
105483
|
-
"
|
|
105586
|
+
"21": {
|
|
105484
105587
|
start: {
|
|
105485
|
-
line:
|
|
105588
|
+
line: 138,
|
|
105486
105589
|
column: 21
|
|
105487
105590
|
},
|
|
105488
105591
|
end: {
|
|
105489
|
-
line:
|
|
105592
|
+
line: 138,
|
|
105490
105593
|
column: 52
|
|
105491
105594
|
}
|
|
105492
105595
|
},
|
|
105493
|
-
"
|
|
105596
|
+
"22": {
|
|
105494
105597
|
start: {
|
|
105495
|
-
line:
|
|
105598
|
+
line: 139,
|
|
105496
105599
|
column: 21
|
|
105497
105600
|
},
|
|
105498
105601
|
end: {
|
|
105499
|
-
line:
|
|
105602
|
+
line: 139,
|
|
105500
105603
|
column: 44
|
|
105501
105604
|
}
|
|
105502
105605
|
},
|
|
105503
|
-
"
|
|
105606
|
+
"23": {
|
|
105504
105607
|
start: {
|
|
105505
|
-
line:
|
|
105608
|
+
line: 141,
|
|
105506
105609
|
column: 4
|
|
105507
105610
|
},
|
|
105508
105611
|
end: {
|
|
105509
|
-
line:
|
|
105612
|
+
line: 141,
|
|
105510
105613
|
column: 56
|
|
105511
105614
|
}
|
|
105512
105615
|
},
|
|
105513
|
-
"
|
|
105616
|
+
"24": {
|
|
105514
105617
|
start: {
|
|
105515
|
-
line:
|
|
105618
|
+
line: 144,
|
|
105516
105619
|
column: 24
|
|
105517
105620
|
},
|
|
105518
105621
|
end: {
|
|
105519
|
-
line:
|
|
105622
|
+
line: 144,
|
|
105520
105623
|
column: 54
|
|
105521
105624
|
}
|
|
105522
105625
|
},
|
|
105523
|
-
"
|
|
105626
|
+
"25": {
|
|
105524
105627
|
start: {
|
|
105525
|
-
line:
|
|
105628
|
+
line: 145,
|
|
105526
105629
|
column: 2
|
|
105527
105630
|
},
|
|
105528
105631
|
end: {
|
|
105529
|
-
line:
|
|
105632
|
+
line: 145,
|
|
105530
105633
|
column: 77
|
|
105531
105634
|
}
|
|
105532
105635
|
},
|
|
105533
|
-
"
|
|
105636
|
+
"26": {
|
|
105534
105637
|
start: {
|
|
105535
|
-
line:
|
|
105638
|
+
line: 147,
|
|
105536
105639
|
column: 2
|
|
105537
105640
|
},
|
|
105538
105641
|
end: {
|
|
105539
|
-
line:
|
|
105642
|
+
line: 147,
|
|
105540
105643
|
column: 12
|
|
105541
105644
|
}
|
|
105542
105645
|
},
|
|
105543
|
-
"
|
|
105646
|
+
"27": {
|
|
105544
105647
|
start: {
|
|
105545
|
-
line:
|
|
105648
|
+
line: 152,
|
|
105546
105649
|
column: 4
|
|
105547
105650
|
},
|
|
105548
105651
|
end: {
|
|
105549
|
-
line:
|
|
105652
|
+
line: 205,
|
|
105550
105653
|
column: 6
|
|
105551
105654
|
}
|
|
105552
105655
|
},
|
|
105553
|
-
"
|
|
105656
|
+
"28": {
|
|
105554
105657
|
start: {
|
|
105555
|
-
line:
|
|
105658
|
+
line: 154,
|
|
105556
105659
|
column: 8
|
|
105557
105660
|
},
|
|
105558
105661
|
end: {
|
|
105559
|
-
line:
|
|
105662
|
+
line: 203,
|
|
105560
105663
|
column: 10
|
|
105561
105664
|
}
|
|
105562
105665
|
},
|
|
105563
|
-
"
|
|
105666
|
+
"29": {
|
|
105564
105667
|
start: {
|
|
105565
|
-
line:
|
|
105668
|
+
line: 164,
|
|
105566
105669
|
column: 22
|
|
105567
105670
|
},
|
|
105568
105671
|
end: {
|
|
105569
|
-
line:
|
|
105672
|
+
line: 164,
|
|
105570
105673
|
column: 32
|
|
105571
105674
|
}
|
|
105572
105675
|
},
|
|
105573
|
-
"
|
|
105676
|
+
"30": {
|
|
105574
105677
|
start: {
|
|
105575
|
-
line:
|
|
105678
|
+
line: 165,
|
|
105576
105679
|
column: 35
|
|
105577
105680
|
},
|
|
105578
105681
|
end: {
|
|
105579
|
-
line:
|
|
105682
|
+
line: 165,
|
|
105580
105683
|
column: 69
|
|
105581
105684
|
}
|
|
105582
105685
|
},
|
|
105583
|
-
"
|
|
105686
|
+
"31": {
|
|
105584
105687
|
start: {
|
|
105585
|
-
line:
|
|
105688
|
+
line: 167,
|
|
105586
105689
|
column: 18
|
|
105587
105690
|
},
|
|
105588
105691
|
end: {
|
|
105589
|
-
line:
|
|
105692
|
+
line: 167,
|
|
105590
105693
|
column: 40
|
|
105591
105694
|
}
|
|
105592
105695
|
},
|
|
105593
|
-
"
|
|
105696
|
+
"32": {
|
|
105594
105697
|
start: {
|
|
105595
|
-
line:
|
|
105698
|
+
line: 167,
|
|
105596
105699
|
column: 33
|
|
105597
105700
|
},
|
|
105598
105701
|
end: {
|
|
105599
|
-
line:
|
|
105702
|
+
line: 167,
|
|
105600
105703
|
column: 40
|
|
105601
105704
|
}
|
|
105602
105705
|
},
|
|
105603
|
-
"
|
|
105706
|
+
"33": {
|
|
105604
105707
|
start: {
|
|
105605
|
-
line:
|
|
105708
|
+
line: 169,
|
|
105606
105709
|
column: 33
|
|
105607
105710
|
},
|
|
105608
105711
|
end: {
|
|
105609
|
-
line:
|
|
105712
|
+
line: 171,
|
|
105610
105713
|
column: 19
|
|
105611
105714
|
}
|
|
105612
105715
|
},
|
|
105613
|
-
"
|
|
105716
|
+
"34": {
|
|
105614
105717
|
start: {
|
|
105615
|
-
line:
|
|
105718
|
+
line: 170,
|
|
105616
105719
|
column: 28
|
|
105617
105720
|
},
|
|
105618
105721
|
end: {
|
|
105619
|
-
line:
|
|
105722
|
+
line: 170,
|
|
105620
105723
|
column: 52
|
|
105621
105724
|
}
|
|
105622
105725
|
},
|
|
105623
|
-
"
|
|
105726
|
+
"35": {
|
|
105624
105727
|
start: {
|
|
105625
|
-
line:
|
|
105728
|
+
line: 173,
|
|
105626
105729
|
column: 18
|
|
105627
105730
|
},
|
|
105628
105731
|
end: {
|
|
105629
|
-
line:
|
|
105732
|
+
line: 173,
|
|
105630
105733
|
column: 46
|
|
105631
105734
|
}
|
|
105632
105735
|
},
|
|
105633
|
-
"
|
|
105736
|
+
"36": {
|
|
105634
105737
|
start: {
|
|
105635
|
-
line:
|
|
105738
|
+
line: 173,
|
|
105636
105739
|
column: 39
|
|
105637
105740
|
},
|
|
105638
105741
|
end: {
|
|
105639
|
-
line:
|
|
105742
|
+
line: 173,
|
|
105640
105743
|
column: 46
|
|
105641
105744
|
}
|
|
105642
105745
|
},
|
|
105643
|
-
"
|
|
105746
|
+
"37": {
|
|
105644
105747
|
start: {
|
|
105645
|
-
line:
|
|
105748
|
+
line: 175,
|
|
105646
105749
|
column: 18
|
|
105647
105750
|
},
|
|
105648
105751
|
end: {
|
|
105649
|
-
line:
|
|
105752
|
+
line: 175,
|
|
105650
105753
|
column: 41
|
|
105651
105754
|
}
|
|
105652
105755
|
},
|
|
105653
|
-
"
|
|
105756
|
+
"38": {
|
|
105654
105757
|
start: {
|
|
105655
|
-
line:
|
|
105758
|
+
line: 177,
|
|
105656
105759
|
column: 18
|
|
105657
105760
|
},
|
|
105658
105761
|
end: {
|
|
105659
|
-
line:
|
|
105762
|
+
line: 198,
|
|
105660
105763
|
column: 21
|
|
105661
105764
|
}
|
|
105662
105765
|
},
|
|
105663
|
-
"
|
|
105766
|
+
"39": {
|
|
105664
105767
|
start: {
|
|
105665
|
-
line:
|
|
105768
|
+
line: 178,
|
|
105666
105769
|
column: 31
|
|
105667
105770
|
},
|
|
105668
105771
|
end: {
|
|
105669
|
-
line:
|
|
105772
|
+
line: 178,
|
|
105670
105773
|
column: 70
|
|
105671
105774
|
}
|
|
105672
105775
|
},
|
|
105673
|
-
"
|
|
105776
|
+
"40": {
|
|
105674
105777
|
start: {
|
|
105675
|
-
line:
|
|
105778
|
+
line: 179,
|
|
105676
105779
|
column: 33
|
|
105677
105780
|
},
|
|
105678
105781
|
end: {
|
|
105679
|
-
line:
|
|
105782
|
+
line: 179,
|
|
105680
105783
|
column: 66
|
|
105681
105784
|
}
|
|
105682
105785
|
},
|
|
105683
|
-
"
|
|
105786
|
+
"41": {
|
|
105684
105787
|
start: {
|
|
105685
|
-
line:
|
|
105788
|
+
line: 180,
|
|
105686
105789
|
column: 40
|
|
105687
105790
|
},
|
|
105688
105791
|
end: {
|
|
105689
|
-
line:
|
|
105792
|
+
line: 180,
|
|
105690
105793
|
column: 71
|
|
105691
105794
|
}
|
|
105692
105795
|
},
|
|
105693
|
-
"
|
|
105796
|
+
"42": {
|
|
105694
105797
|
start: {
|
|
105695
|
-
line:
|
|
105798
|
+
line: 181,
|
|
105696
105799
|
column: 20
|
|
105697
105800
|
},
|
|
105698
105801
|
end: {
|
|
105699
|
-
line:
|
|
105802
|
+
line: 181,
|
|
105700
105803
|
column: 47
|
|
105701
105804
|
}
|
|
105702
105805
|
},
|
|
105703
|
-
"
|
|
105806
|
+
"43": {
|
|
105704
105807
|
start: {
|
|
105705
|
-
line:
|
|
105808
|
+
line: 182,
|
|
105706
105809
|
column: 20
|
|
105707
105810
|
},
|
|
105708
105811
|
end: {
|
|
105709
|
-
line:
|
|
105812
|
+
line: 197,
|
|
105710
105813
|
column: 21
|
|
105711
105814
|
}
|
|
105712
105815
|
},
|
|
105713
|
-
"
|
|
105816
|
+
"44": {
|
|
105714
105817
|
start: {
|
|
105715
|
-
line:
|
|
105818
|
+
line: 183,
|
|
105716
105819
|
column: 34
|
|
105717
105820
|
},
|
|
105718
105821
|
end: {
|
|
105719
|
-
line:
|
|
105822
|
+
line: 183,
|
|
105720
105823
|
column: 69
|
|
105721
105824
|
}
|
|
105722
105825
|
},
|
|
105723
|
-
"
|
|
105826
|
+
"45": {
|
|
105724
105827
|
start: {
|
|
105725
|
-
line:
|
|
105828
|
+
line: 184,
|
|
105726
105829
|
column: 22
|
|
105727
105830
|
},
|
|
105728
105831
|
end: {
|
|
105729
|
-
line:
|
|
105832
|
+
line: 194,
|
|
105730
105833
|
column: 27
|
|
105731
105834
|
}
|
|
105732
105835
|
},
|
|
105733
|
-
"
|
|
105836
|
+
"46": {
|
|
105734
105837
|
start: {
|
|
105735
|
-
line:
|
|
105838
|
+
line: 186,
|
|
105736
105839
|
column: 26
|
|
105737
105840
|
},
|
|
105738
105841
|
end: {
|
|
105739
|
-
line:
|
|
105842
|
+
line: 193,
|
|
105740
105843
|
column: 27
|
|
105741
105844
|
}
|
|
105742
105845
|
},
|
|
105743
|
-
"
|
|
105846
|
+
"47": {
|
|
105744
105847
|
start: {
|
|
105745
|
-
line:
|
|
105848
|
+
line: 187,
|
|
105746
105849
|
column: 48
|
|
105747
105850
|
},
|
|
105748
105851
|
end: {
|
|
105749
|
-
line:
|
|
105852
|
+
line: 191,
|
|
105750
105853
|
column: 29
|
|
105751
105854
|
}
|
|
105752
105855
|
},
|
|
105753
|
-
"
|
|
105856
|
+
"48": {
|
|
105754
105857
|
start: {
|
|
105755
|
-
line:
|
|
105858
|
+
line: 192,
|
|
105756
105859
|
column: 28
|
|
105757
105860
|
},
|
|
105758
105861
|
end: {
|
|
105759
|
-
line:
|
|
105862
|
+
line: 192,
|
|
105760
105863
|
column: 55
|
|
105761
105864
|
}
|
|
105762
105865
|
},
|
|
105763
|
-
"
|
|
105866
|
+
"49": {
|
|
105764
105867
|
start: {
|
|
105765
|
-
line:
|
|
105868
|
+
line: 196,
|
|
105766
105869
|
column: 22
|
|
105767
105870
|
},
|
|
105768
105871
|
end: {
|
|
105769
|
-
line:
|
|
105872
|
+
line: 196,
|
|
105770
105873
|
column: 72
|
|
105771
105874
|
}
|
|
105772
105875
|
}
|
|
@@ -106006,7 +106109,7 @@ function cov_ksv9azglk() {
|
|
|
106006
106109
|
column: 39
|
|
106007
106110
|
},
|
|
106008
106111
|
end: {
|
|
106009
|
-
line:
|
|
106112
|
+
line: 114,
|
|
106010
106113
|
column: 3
|
|
106011
106114
|
}
|
|
106012
106115
|
},
|
|
@@ -106016,320 +106119,320 @@ function cov_ksv9azglk() {
|
|
|
106016
106119
|
name: "(anonymous_10)",
|
|
106017
106120
|
decl: {
|
|
106018
106121
|
start: {
|
|
106019
|
-
line:
|
|
106122
|
+
line: 116,
|
|
106020
106123
|
column: 2
|
|
106021
106124
|
},
|
|
106022
106125
|
end: {
|
|
106023
|
-
line:
|
|
106126
|
+
line: 116,
|
|
106024
106127
|
column: 3
|
|
106025
106128
|
}
|
|
106026
106129
|
},
|
|
106027
106130
|
loc: {
|
|
106028
106131
|
start: {
|
|
106029
|
-
line:
|
|
106132
|
+
line: 116,
|
|
106030
106133
|
column: 16
|
|
106031
106134
|
},
|
|
106032
106135
|
end: {
|
|
106033
|
-
line:
|
|
106136
|
+
line: 118,
|
|
106034
106137
|
column: 3
|
|
106035
106138
|
}
|
|
106036
106139
|
},
|
|
106037
|
-
line:
|
|
106140
|
+
line: 116
|
|
106038
106141
|
},
|
|
106039
106142
|
"11": {
|
|
106040
106143
|
name: "(anonymous_11)",
|
|
106041
106144
|
decl: {
|
|
106042
106145
|
start: {
|
|
106043
|
-
line:
|
|
106146
|
+
line: 120,
|
|
106044
106147
|
column: 2
|
|
106045
106148
|
},
|
|
106046
106149
|
end: {
|
|
106047
|
-
line:
|
|
106150
|
+
line: 120,
|
|
106048
106151
|
column: 3
|
|
106049
106152
|
}
|
|
106050
106153
|
},
|
|
106051
106154
|
loc: {
|
|
106052
106155
|
start: {
|
|
106053
|
-
line:
|
|
106156
|
+
line: 120,
|
|
106054
106157
|
column: 16
|
|
106055
106158
|
},
|
|
106056
106159
|
end: {
|
|
106057
|
-
line:
|
|
106160
|
+
line: 133,
|
|
106058
106161
|
column: 3
|
|
106059
106162
|
}
|
|
106060
106163
|
},
|
|
106061
|
-
line:
|
|
106164
|
+
line: 120
|
|
106062
106165
|
},
|
|
106063
106166
|
"12": {
|
|
106064
106167
|
name: "(anonymous_12)",
|
|
106065
106168
|
decl: {
|
|
106066
106169
|
start: {
|
|
106067
|
-
line:
|
|
106170
|
+
line: 123,
|
|
106068
106171
|
column: 8
|
|
106069
106172
|
},
|
|
106070
106173
|
end: {
|
|
106071
|
-
line:
|
|
106174
|
+
line: 123,
|
|
106072
106175
|
column: 9
|
|
106073
106176
|
}
|
|
106074
106177
|
},
|
|
106075
106178
|
loc: {
|
|
106076
106179
|
start: {
|
|
106077
|
-
line:
|
|
106180
|
+
line: 124,
|
|
106078
106181
|
column: 8
|
|
106079
106182
|
},
|
|
106080
106183
|
end: {
|
|
106081
|
-
line:
|
|
106184
|
+
line: 131,
|
|
106082
106185
|
column: 18
|
|
106083
106186
|
}
|
|
106084
106187
|
},
|
|
106085
|
-
line:
|
|
106188
|
+
line: 124
|
|
106086
106189
|
},
|
|
106087
106190
|
"13": {
|
|
106088
106191
|
name: "(anonymous_13)",
|
|
106089
106192
|
decl: {
|
|
106090
106193
|
start: {
|
|
106091
|
-
line:
|
|
106194
|
+
line: 124,
|
|
106092
106195
|
column: 8
|
|
106093
106196
|
},
|
|
106094
106197
|
end: {
|
|
106095
|
-
line:
|
|
106198
|
+
line: 124,
|
|
106096
106199
|
column: 9
|
|
106097
106200
|
}
|
|
106098
106201
|
},
|
|
106099
106202
|
loc: {
|
|
106100
106203
|
start: {
|
|
106101
|
-
line:
|
|
106204
|
+
line: 125,
|
|
106102
106205
|
column: 10
|
|
106103
106206
|
},
|
|
106104
106207
|
end: {
|
|
106105
|
-
line:
|
|
106208
|
+
line: 131,
|
|
106106
106209
|
column: 18
|
|
106107
106210
|
}
|
|
106108
106211
|
},
|
|
106109
|
-
line:
|
|
106212
|
+
line: 125
|
|
106110
106213
|
},
|
|
106111
106214
|
"14": {
|
|
106112
106215
|
name: "(anonymous_14)",
|
|
106113
106216
|
decl: {
|
|
106114
106217
|
start: {
|
|
106115
|
-
line:
|
|
106218
|
+
line: 136,
|
|
106116
106219
|
column: 15
|
|
106117
106220
|
},
|
|
106118
106221
|
end: {
|
|
106119
|
-
line:
|
|
106222
|
+
line: 136,
|
|
106120
106223
|
column: 16
|
|
106121
106224
|
}
|
|
106122
106225
|
},
|
|
106123
106226
|
loc: {
|
|
106124
106227
|
start: {
|
|
106125
|
-
line:
|
|
106228
|
+
line: 136,
|
|
106126
106229
|
column: 36
|
|
106127
106230
|
},
|
|
106128
106231
|
end: {
|
|
106129
|
-
line:
|
|
106232
|
+
line: 148,
|
|
106130
106233
|
column: 1
|
|
106131
106234
|
}
|
|
106132
106235
|
},
|
|
106133
|
-
line:
|
|
106236
|
+
line: 136
|
|
106134
106237
|
},
|
|
106135
106238
|
"15": {
|
|
106136
106239
|
name: "(anonymous_15)",
|
|
106137
106240
|
decl: {
|
|
106138
106241
|
start: {
|
|
106139
|
-
line:
|
|
106242
|
+
line: 151,
|
|
106140
106243
|
column: 13
|
|
106141
106244
|
},
|
|
106142
106245
|
end: {
|
|
106143
|
-
line:
|
|
106246
|
+
line: 151,
|
|
106144
106247
|
column: 14
|
|
106145
106248
|
}
|
|
106146
106249
|
},
|
|
106147
106250
|
loc: {
|
|
106148
106251
|
start: {
|
|
106149
|
-
line:
|
|
106252
|
+
line: 152,
|
|
106150
106253
|
column: 4
|
|
106151
106254
|
},
|
|
106152
106255
|
end: {
|
|
106153
|
-
line:
|
|
106256
|
+
line: 205,
|
|
106154
106257
|
column: 6
|
|
106155
106258
|
}
|
|
106156
106259
|
},
|
|
106157
|
-
line:
|
|
106260
|
+
line: 152
|
|
106158
106261
|
},
|
|
106159
106262
|
"16": {
|
|
106160
106263
|
name: "(anonymous_16)",
|
|
106161
106264
|
decl: {
|
|
106162
106265
|
start: {
|
|
106163
|
-
line:
|
|
106266
|
+
line: 153,
|
|
106164
106267
|
column: 6
|
|
106165
106268
|
},
|
|
106166
106269
|
end: {
|
|
106167
|
-
line:
|
|
106270
|
+
line: 153,
|
|
106168
106271
|
column: 7
|
|
106169
106272
|
}
|
|
106170
106273
|
},
|
|
106171
106274
|
loc: {
|
|
106172
106275
|
start: {
|
|
106173
|
-
line:
|
|
106276
|
+
line: 153,
|
|
106174
106277
|
column: 30
|
|
106175
106278
|
},
|
|
106176
106279
|
end: {
|
|
106177
|
-
line:
|
|
106280
|
+
line: 204,
|
|
106178
106281
|
column: 7
|
|
106179
106282
|
}
|
|
106180
106283
|
},
|
|
106181
|
-
line:
|
|
106284
|
+
line: 153
|
|
106182
106285
|
},
|
|
106183
106286
|
"17": {
|
|
106184
106287
|
name: "(anonymous_17)",
|
|
106185
106288
|
decl: {
|
|
106186
106289
|
start: {
|
|
106187
|
-
line:
|
|
106290
|
+
line: 158,
|
|
106188
106291
|
column: 16
|
|
106189
106292
|
},
|
|
106190
106293
|
end: {
|
|
106191
|
-
line:
|
|
106294
|
+
line: 158,
|
|
106192
106295
|
column: 17
|
|
106193
106296
|
}
|
|
106194
106297
|
},
|
|
106195
106298
|
loc: {
|
|
106196
106299
|
start: {
|
|
106197
|
-
line:
|
|
106300
|
+
line: 158,
|
|
106198
106301
|
column: 35
|
|
106199
106302
|
},
|
|
106200
106303
|
end: {
|
|
106201
|
-
line:
|
|
106304
|
+
line: 199,
|
|
106202
106305
|
column: 17
|
|
106203
106306
|
}
|
|
106204
106307
|
},
|
|
106205
|
-
line:
|
|
106308
|
+
line: 158
|
|
106206
106309
|
},
|
|
106207
106310
|
"18": {
|
|
106208
106311
|
name: "(anonymous_18)",
|
|
106209
106312
|
decl: {
|
|
106210
106313
|
start: {
|
|
106211
|
-
line:
|
|
106314
|
+
line: 170,
|
|
106212
106315
|
column: 20
|
|
106213
106316
|
},
|
|
106214
106317
|
end: {
|
|
106215
|
-
line:
|
|
106318
|
+
line: 170,
|
|
106216
106319
|
column: 21
|
|
106217
106320
|
}
|
|
106218
106321
|
},
|
|
106219
106322
|
loc: {
|
|
106220
106323
|
start: {
|
|
106221
|
-
line:
|
|
106324
|
+
line: 170,
|
|
106222
106325
|
column: 28
|
|
106223
106326
|
},
|
|
106224
106327
|
end: {
|
|
106225
|
-
line:
|
|
106328
|
+
line: 170,
|
|
106226
106329
|
column: 52
|
|
106227
106330
|
}
|
|
106228
106331
|
},
|
|
106229
|
-
line:
|
|
106332
|
+
line: 170
|
|
106230
106333
|
},
|
|
106231
106334
|
"19": {
|
|
106232
106335
|
name: "(anonymous_19)",
|
|
106233
106336
|
decl: {
|
|
106234
106337
|
start: {
|
|
106235
|
-
line:
|
|
106338
|
+
line: 177,
|
|
106236
106339
|
column: 33
|
|
106237
106340
|
},
|
|
106238
106341
|
end: {
|
|
106239
|
-
line:
|
|
106342
|
+
line: 177,
|
|
106240
106343
|
column: 34
|
|
106241
106344
|
}
|
|
106242
106345
|
},
|
|
106243
106346
|
loc: {
|
|
106244
106347
|
start: {
|
|
106245
|
-
line:
|
|
106348
|
+
line: 177,
|
|
106246
106349
|
column: 48
|
|
106247
106350
|
},
|
|
106248
106351
|
end: {
|
|
106249
|
-
line:
|
|
106352
|
+
line: 198,
|
|
106250
106353
|
column: 19
|
|
106251
106354
|
}
|
|
106252
106355
|
},
|
|
106253
|
-
line:
|
|
106356
|
+
line: 177
|
|
106254
106357
|
},
|
|
106255
106358
|
"20": {
|
|
106256
106359
|
name: "(anonymous_20)",
|
|
106257
106360
|
decl: {
|
|
106258
106361
|
start: {
|
|
106259
|
-
line:
|
|
106362
|
+
line: 185,
|
|
106260
106363
|
column: 51
|
|
106261
106364
|
},
|
|
106262
106365
|
end: {
|
|
106263
|
-
line:
|
|
106366
|
+
line: 185,
|
|
106264
106367
|
column: 52
|
|
106265
106368
|
}
|
|
106266
106369
|
},
|
|
106267
106370
|
loc: {
|
|
106268
106371
|
start: {
|
|
106269
|
-
line:
|
|
106372
|
+
line: 185,
|
|
106270
106373
|
column: 66
|
|
106271
106374
|
},
|
|
106272
106375
|
end: {
|
|
106273
|
-
line:
|
|
106376
|
+
line: 194,
|
|
106274
106377
|
column: 25
|
|
106275
106378
|
}
|
|
106276
106379
|
},
|
|
106277
|
-
line:
|
|
106380
|
+
line: 185
|
|
106278
106381
|
}
|
|
106279
106382
|
},
|
|
106280
106383
|
branchMap: {
|
|
106281
106384
|
"0": {
|
|
106282
106385
|
loc: {
|
|
106283
106386
|
start: {
|
|
106284
|
-
line:
|
|
106387
|
+
line: 129,
|
|
106285
106388
|
column: 23
|
|
106286
106389
|
},
|
|
106287
106390
|
end: {
|
|
106288
|
-
line:
|
|
106391
|
+
line: 129,
|
|
106289
106392
|
column: 71
|
|
106290
106393
|
}
|
|
106291
106394
|
},
|
|
106292
106395
|
type: "cond-expr",
|
|
106293
106396
|
locations: [{
|
|
106294
106397
|
start: {
|
|
106295
|
-
line:
|
|
106398
|
+
line: 129,
|
|
106296
106399
|
column: 33
|
|
106297
106400
|
},
|
|
106298
106401
|
end: {
|
|
106299
|
-
line:
|
|
106402
|
+
line: 129,
|
|
106300
106403
|
column: 66
|
|
106301
106404
|
}
|
|
106302
106405
|
}, {
|
|
106303
106406
|
start: {
|
|
106304
|
-
line:
|
|
106407
|
+
line: 129,
|
|
106305
106408
|
column: 69
|
|
106306
106409
|
},
|
|
106307
106410
|
end: {
|
|
106308
|
-
line:
|
|
106411
|
+
line: 129,
|
|
106309
106412
|
column: 71
|
|
106310
106413
|
}
|
|
106311
106414
|
}],
|
|
106312
|
-
line:
|
|
106415
|
+
line: 129
|
|
106313
106416
|
},
|
|
106314
106417
|
"1": {
|
|
106315
106418
|
loc: {
|
|
106316
106419
|
start: {
|
|
106317
|
-
line:
|
|
106420
|
+
line: 137,
|
|
106318
106421
|
column: 2
|
|
106319
106422
|
},
|
|
106320
106423
|
end: {
|
|
106321
|
-
line:
|
|
106424
|
+
line: 142,
|
|
106322
106425
|
column: 3
|
|
106323
106426
|
}
|
|
106324
106427
|
},
|
|
106325
106428
|
type: "if",
|
|
106326
106429
|
locations: [{
|
|
106327
106430
|
start: {
|
|
106328
|
-
line:
|
|
106431
|
+
line: 137,
|
|
106329
106432
|
column: 2
|
|
106330
106433
|
},
|
|
106331
106434
|
end: {
|
|
106332
|
-
line:
|
|
106435
|
+
line: 142,
|
|
106333
106436
|
column: 3
|
|
106334
106437
|
}
|
|
106335
106438
|
}, {
|
|
@@ -106342,60 +106445,60 @@ function cov_ksv9azglk() {
|
|
|
106342
106445
|
column: undefined
|
|
106343
106446
|
}
|
|
106344
106447
|
}],
|
|
106345
|
-
line:
|
|
106448
|
+
line: 137
|
|
106346
106449
|
},
|
|
106347
106450
|
"2": {
|
|
106348
106451
|
loc: {
|
|
106349
106452
|
start: {
|
|
106350
|
-
line:
|
|
106453
|
+
line: 141,
|
|
106351
106454
|
column: 11
|
|
106352
106455
|
},
|
|
106353
106456
|
end: {
|
|
106354
|
-
line:
|
|
106457
|
+
line: 141,
|
|
106355
106458
|
column: 55
|
|
106356
106459
|
}
|
|
106357
106460
|
},
|
|
106358
106461
|
type: "binary-expr",
|
|
106359
106462
|
locations: [{
|
|
106360
106463
|
start: {
|
|
106361
|
-
line:
|
|
106464
|
+
line: 141,
|
|
106362
106465
|
column: 11
|
|
106363
106466
|
},
|
|
106364
106467
|
end: {
|
|
106365
|
-
line:
|
|
106468
|
+
line: 141,
|
|
106366
106469
|
column: 34
|
|
106367
106470
|
}
|
|
106368
106471
|
}, {
|
|
106369
106472
|
start: {
|
|
106370
|
-
line:
|
|
106473
|
+
line: 141,
|
|
106371
106474
|
column: 38
|
|
106372
106475
|
},
|
|
106373
106476
|
end: {
|
|
106374
|
-
line:
|
|
106477
|
+
line: 141,
|
|
106375
106478
|
column: 55
|
|
106376
106479
|
}
|
|
106377
106480
|
}],
|
|
106378
|
-
line:
|
|
106481
|
+
line: 141
|
|
106379
106482
|
},
|
|
106380
106483
|
"3": {
|
|
106381
106484
|
loc: {
|
|
106382
106485
|
start: {
|
|
106383
|
-
line:
|
|
106486
|
+
line: 167,
|
|
106384
106487
|
column: 18
|
|
106385
106488
|
},
|
|
106386
106489
|
end: {
|
|
106387
|
-
line:
|
|
106490
|
+
line: 167,
|
|
106388
106491
|
column: 40
|
|
106389
106492
|
}
|
|
106390
106493
|
},
|
|
106391
106494
|
type: "if",
|
|
106392
106495
|
locations: [{
|
|
106393
106496
|
start: {
|
|
106394
|
-
line:
|
|
106497
|
+
line: 167,
|
|
106395
106498
|
column: 18
|
|
106396
106499
|
},
|
|
106397
106500
|
end: {
|
|
106398
|
-
line:
|
|
106501
|
+
line: 167,
|
|
106399
106502
|
column: 40
|
|
106400
106503
|
}
|
|
106401
106504
|
}, {
|
|
@@ -106408,27 +106511,27 @@ function cov_ksv9azglk() {
|
|
|
106408
106511
|
column: undefined
|
|
106409
106512
|
}
|
|
106410
106513
|
}],
|
|
106411
|
-
line:
|
|
106514
|
+
line: 167
|
|
106412
106515
|
},
|
|
106413
106516
|
"4": {
|
|
106414
106517
|
loc: {
|
|
106415
106518
|
start: {
|
|
106416
|
-
line:
|
|
106519
|
+
line: 173,
|
|
106417
106520
|
column: 18
|
|
106418
106521
|
},
|
|
106419
106522
|
end: {
|
|
106420
|
-
line:
|
|
106523
|
+
line: 173,
|
|
106421
106524
|
column: 46
|
|
106422
106525
|
}
|
|
106423
106526
|
},
|
|
106424
106527
|
type: "if",
|
|
106425
106528
|
locations: [{
|
|
106426
106529
|
start: {
|
|
106427
|
-
line:
|
|
106530
|
+
line: 173,
|
|
106428
106531
|
column: 18
|
|
106429
106532
|
},
|
|
106430
106533
|
end: {
|
|
106431
|
-
line:
|
|
106534
|
+
line: 173,
|
|
106432
106535
|
column: 46
|
|
106433
106536
|
}
|
|
106434
106537
|
}, {
|
|
@@ -106441,60 +106544,60 @@ function cov_ksv9azglk() {
|
|
|
106441
106544
|
column: undefined
|
|
106442
106545
|
}
|
|
106443
106546
|
}],
|
|
106444
|
-
line:
|
|
106547
|
+
line: 173
|
|
106445
106548
|
},
|
|
106446
106549
|
"5": {
|
|
106447
106550
|
loc: {
|
|
106448
106551
|
start: {
|
|
106449
|
-
line:
|
|
106552
|
+
line: 184,
|
|
106450
106553
|
column: 22
|
|
106451
106554
|
},
|
|
106452
106555
|
end: {
|
|
106453
|
-
line:
|
|
106556
|
+
line: 194,
|
|
106454
106557
|
column: 26
|
|
106455
106558
|
}
|
|
106456
106559
|
},
|
|
106457
106560
|
type: "binary-expr",
|
|
106458
106561
|
locations: [{
|
|
106459
106562
|
start: {
|
|
106460
|
-
line:
|
|
106563
|
+
line: 184,
|
|
106461
106564
|
column: 22
|
|
106462
106565
|
},
|
|
106463
106566
|
end: {
|
|
106464
|
-
line:
|
|
106567
|
+
line: 184,
|
|
106465
106568
|
column: 25
|
|
106466
106569
|
}
|
|
106467
106570
|
}, {
|
|
106468
106571
|
start: {
|
|
106469
|
-
line:
|
|
106572
|
+
line: 185,
|
|
106470
106573
|
column: 24
|
|
106471
106574
|
},
|
|
106472
106575
|
end: {
|
|
106473
|
-
line:
|
|
106576
|
+
line: 194,
|
|
106474
106577
|
column: 26
|
|
106475
106578
|
}
|
|
106476
106579
|
}],
|
|
106477
|
-
line:
|
|
106580
|
+
line: 184
|
|
106478
106581
|
},
|
|
106479
106582
|
"6": {
|
|
106480
106583
|
loc: {
|
|
106481
106584
|
start: {
|
|
106482
|
-
line:
|
|
106585
|
+
line: 186,
|
|
106483
106586
|
column: 26
|
|
106484
106587
|
},
|
|
106485
106588
|
end: {
|
|
106486
|
-
line:
|
|
106589
|
+
line: 193,
|
|
106487
106590
|
column: 27
|
|
106488
106591
|
}
|
|
106489
106592
|
},
|
|
106490
106593
|
type: "if",
|
|
106491
106594
|
locations: [{
|
|
106492
106595
|
start: {
|
|
106493
|
-
line:
|
|
106596
|
+
line: 186,
|
|
106494
106597
|
column: 26
|
|
106495
106598
|
},
|
|
106496
106599
|
end: {
|
|
106497
|
-
line:
|
|
106600
|
+
line: 193,
|
|
106498
106601
|
column: 27
|
|
106499
106602
|
}
|
|
106500
106603
|
}, {
|
|
@@ -106507,7 +106610,7 @@ function cov_ksv9azglk() {
|
|
|
106507
106610
|
column: undefined
|
|
106508
106611
|
}
|
|
106509
106612
|
}],
|
|
106510
|
-
line:
|
|
106613
|
+
line: 186
|
|
106511
106614
|
}
|
|
106512
106615
|
},
|
|
106513
106616
|
s: {
|
|
@@ -106559,7 +106662,8 @@ function cov_ksv9azglk() {
|
|
|
106559
106662
|
"45": 0,
|
|
106560
106663
|
"46": 0,
|
|
106561
106664
|
"47": 0,
|
|
106562
|
-
"48": 0
|
|
106665
|
+
"48": 0,
|
|
106666
|
+
"49": 0
|
|
106563
106667
|
},
|
|
106564
106668
|
f: {
|
|
106565
106669
|
"0": 0,
|
|
@@ -106594,7 +106698,7 @@ function cov_ksv9azglk() {
|
|
|
106594
106698
|
"6": [0, 0]
|
|
106595
106699
|
},
|
|
106596
106700
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
106597
|
-
hash: "
|
|
106701
|
+
hash: "ce242fed07b10fc4df7c01982eda2c3b9055467f"
|
|
106598
106702
|
};
|
|
106599
106703
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
106600
106704
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -106709,31 +106813,34 @@ var ImageExtension = (cov_ksv9azglk().s[0]++, Node$1.create({
|
|
|
106709
106813
|
"class": "neeto-editor__image",
|
|
106710
106814
|
style: "height:".concat(figheight, "px;width:").concat(figwidth, "px;")
|
|
106711
106815
|
});
|
|
106712
|
-
cov_ksv9azglk().s[13]
|
|
106816
|
+
var captionAttrs = (cov_ksv9azglk().s[13]++, {
|
|
106817
|
+
style: "width:".concat(figwidth, "px;")
|
|
106818
|
+
});
|
|
106819
|
+
cov_ksv9azglk().s[14]++;
|
|
106713
106820
|
return ["a", linkAttrs, ["figure", this.options.HTMLAttributes, ["div", resizeAttrs, ["img", mergeAttributes(HTMLAttributes, {
|
|
106714
106821
|
draggable: false,
|
|
106715
106822
|
contenteditable: false
|
|
106716
|
-
})]], ["figcaption", 0]]];
|
|
106823
|
+
})]], ["figcaption", captionAttrs, 0]]];
|
|
106717
106824
|
},
|
|
106718
106825
|
addNodeView: function addNodeView() {
|
|
106719
106826
|
cov_ksv9azglk().f[10]++;
|
|
106720
|
-
cov_ksv9azglk().s[
|
|
106827
|
+
cov_ksv9azglk().s[15]++;
|
|
106721
106828
|
return ReactNodeViewRenderer(ImageComponent);
|
|
106722
106829
|
},
|
|
106723
106830
|
addCommands: function addCommands() {
|
|
106724
106831
|
var _this = this;
|
|
106725
106832
|
cov_ksv9azglk().f[11]++;
|
|
106726
|
-
cov_ksv9azglk().s[
|
|
106833
|
+
cov_ksv9azglk().s[16]++;
|
|
106727
106834
|
return {
|
|
106728
106835
|
setFigure: function setFigure(_ref3) {
|
|
106729
106836
|
var caption = _ref3.caption,
|
|
106730
106837
|
attrs = _objectWithoutProperties$1(_ref3, _excluded$9);
|
|
106731
106838
|
cov_ksv9azglk().f[12]++;
|
|
106732
|
-
cov_ksv9azglk().s[
|
|
106839
|
+
cov_ksv9azglk().s[17]++;
|
|
106733
106840
|
return function (_ref4) {
|
|
106734
106841
|
var chain = _ref4.chain;
|
|
106735
106842
|
cov_ksv9azglk().f[13]++;
|
|
106736
|
-
cov_ksv9azglk().s[
|
|
106843
|
+
cov_ksv9azglk().s[18]++;
|
|
106737
106844
|
return chain().insertContent({
|
|
106738
106845
|
type: _this.name,
|
|
106739
106846
|
attrs: attrs,
|
|
@@ -106747,7 +106854,7 @@ var ImageExtension = (cov_ksv9azglk().s[0]++, Node$1.create({
|
|
|
106747
106854
|
};
|
|
106748
106855
|
}
|
|
106749
106856
|
}));
|
|
106750
|
-
cov_ksv9azglk().s[
|
|
106857
|
+
cov_ksv9azglk().s[19]++;
|
|
106751
106858
|
var upload = /*#__PURE__*/function () {
|
|
106752
106859
|
var _ref5 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(file, url) {
|
|
106753
106860
|
var _response$data, uploader, response, imageSizeInMB;
|
|
@@ -106755,32 +106862,32 @@ var upload = /*#__PURE__*/function () {
|
|
|
106755
106862
|
while (1) switch (_context.prev = _context.next) {
|
|
106756
106863
|
case 0:
|
|
106757
106864
|
cov_ksv9azglk().f[14]++;
|
|
106758
|
-
cov_ksv9azglk().s[
|
|
106865
|
+
cov_ksv9azglk().s[20]++;
|
|
106759
106866
|
if (!(file.size <= MAX_IMAGE_SIZE)) {
|
|
106760
106867
|
_context.next = 13;
|
|
106761
106868
|
break;
|
|
106762
106869
|
}
|
|
106763
106870
|
cov_ksv9azglk().b[1][0]++;
|
|
106764
|
-
uploader = (cov_ksv9azglk().s[
|
|
106871
|
+
uploader = (cov_ksv9azglk().s[21]++, new DirectUpload({
|
|
106765
106872
|
file: file,
|
|
106766
106873
|
url: url
|
|
106767
106874
|
}));
|
|
106768
|
-
cov_ksv9azglk().s[
|
|
106875
|
+
cov_ksv9azglk().s[22]++;
|
|
106769
106876
|
_context.next = 8;
|
|
106770
106877
|
return uploader.create();
|
|
106771
106878
|
case 8:
|
|
106772
106879
|
response = _context.sent;
|
|
106773
|
-
cov_ksv9azglk().s[
|
|
106880
|
+
cov_ksv9azglk().s[23]++;
|
|
106774
106881
|
return _context.abrupt("return", (cov_ksv9azglk().b[2][0]++, (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.blob_url) || (cov_ksv9azglk().b[2][1]++, response.blob_url));
|
|
106775
106882
|
case 13:
|
|
106776
106883
|
cov_ksv9azglk().b[1][1]++;
|
|
106777
106884
|
case 14:
|
|
106778
|
-
imageSizeInMB = (cov_ksv9azglk().s[
|
|
106779
|
-
cov_ksv9azglk().s[
|
|
106885
|
+
imageSizeInMB = (cov_ksv9azglk().s[24]++, MAX_IMAGE_SIZE / (1024 * 1024));
|
|
106886
|
+
cov_ksv9azglk().s[25]++;
|
|
106780
106887
|
Toastr.error(t$8("error.imageSizeIsShouldBeLess", {
|
|
106781
106888
|
limit: imageSizeInMB
|
|
106782
106889
|
}));
|
|
106783
|
-
cov_ksv9azglk().s[
|
|
106890
|
+
cov_ksv9azglk().s[26]++;
|
|
106784
106891
|
return _context.abrupt("return", "");
|
|
106785
106892
|
case 19:
|
|
106786
106893
|
case "end":
|
|
@@ -106796,45 +106903,45 @@ var ImageExtension$1 = {
|
|
|
106796
106903
|
configure: function configure(_ref6) {
|
|
106797
106904
|
var uploadEndpoint = _ref6.uploadEndpoint;
|
|
106798
106905
|
cov_ksv9azglk().f[15]++;
|
|
106799
|
-
cov_ksv9azglk().s[
|
|
106906
|
+
cov_ksv9azglk().s[27]++;
|
|
106800
106907
|
return ImageExtension.extend({
|
|
106801
106908
|
addProseMirrorPlugins: function addProseMirrorPlugins() {
|
|
106802
106909
|
cov_ksv9azglk().f[16]++;
|
|
106803
|
-
cov_ksv9azglk().s[
|
|
106910
|
+
cov_ksv9azglk().s[28]++;
|
|
106804
106911
|
return [new Plugin({
|
|
106805
106912
|
props: {
|
|
106806
106913
|
handleDOMEvents: {
|
|
106807
106914
|
paste: function paste(view, event) {
|
|
106808
106915
|
var _event$clipboardData, _event$clipboardData$;
|
|
106809
106916
|
cov_ksv9azglk().f[17]++;
|
|
106810
|
-
var _ref7 = (cov_ksv9azglk().s[
|
|
106917
|
+
var _ref7 = (cov_ksv9azglk().s[29]++, view.state),
|
|
106811
106918
|
schema = _ref7.schema,
|
|
106812
106919
|
pos = _ref7.selection.$anchor.pos;
|
|
106813
|
-
var hasFiles = (cov_ksv9azglk().s[
|
|
106814
|
-
cov_ksv9azglk().s[
|
|
106920
|
+
var hasFiles = (cov_ksv9azglk().s[30]++, (_event$clipboardData = event.clipboardData) === null || _event$clipboardData === void 0 ? void 0 : (_event$clipboardData$ = _event$clipboardData.files) === null || _event$clipboardData$ === void 0 ? void 0 : _event$clipboardData$.length);
|
|
106921
|
+
cov_ksv9azglk().s[31]++;
|
|
106815
106922
|
if (!hasFiles) {
|
|
106816
106923
|
cov_ksv9azglk().b[3][0]++;
|
|
106817
|
-
cov_ksv9azglk().s[
|
|
106924
|
+
cov_ksv9azglk().s[32]++;
|
|
106818
106925
|
return;
|
|
106819
106926
|
} else {
|
|
106820
106927
|
cov_ksv9azglk().b[3][1]++;
|
|
106821
106928
|
}
|
|
106822
|
-
var images = (cov_ksv9azglk().s[
|
|
106929
|
+
var images = (cov_ksv9azglk().s[33]++, Array.from(event.clipboardData.files).filter(function (file) {
|
|
106823
106930
|
cov_ksv9azglk().f[18]++;
|
|
106824
|
-
cov_ksv9azglk().s[
|
|
106931
|
+
cov_ksv9azglk().s[34]++;
|
|
106825
106932
|
return /image/i.test(file.type);
|
|
106826
106933
|
}));
|
|
106827
|
-
cov_ksv9azglk().s[
|
|
106934
|
+
cov_ksv9azglk().s[35]++;
|
|
106828
106935
|
if (isEmpty$1(images)) {
|
|
106829
106936
|
cov_ksv9azglk().b[4][0]++;
|
|
106830
|
-
cov_ksv9azglk().s[
|
|
106937
|
+
cov_ksv9azglk().s[36]++;
|
|
106831
106938
|
return;
|
|
106832
106939
|
} else {
|
|
106833
106940
|
cov_ksv9azglk().b[4][1]++;
|
|
106834
106941
|
}
|
|
106835
|
-
cov_ksv9azglk().s[36]++;
|
|
106836
|
-
event.preventDefault();
|
|
106837
106942
|
cov_ksv9azglk().s[37]++;
|
|
106943
|
+
event.preventDefault();
|
|
106944
|
+
cov_ksv9azglk().s[38]++;
|
|
106838
106945
|
images.forEach( /*#__PURE__*/function () {
|
|
106839
106946
|
var _ref8 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(image) {
|
|
106840
106947
|
var id, node, transaction, url;
|
|
@@ -106842,30 +106949,30 @@ var ImageExtension$1 = {
|
|
|
106842
106949
|
while (1) switch (_context2.prev = _context2.next) {
|
|
106843
106950
|
case 0:
|
|
106844
106951
|
cov_ksv9azglk().f[19]++;
|
|
106845
|
-
id = (cov_ksv9azglk().s[
|
|
106846
|
-
node = (cov_ksv9azglk().s[
|
|
106952
|
+
id = (cov_ksv9azglk().s[39]++, Math.random().toString(36).substring(7));
|
|
106953
|
+
node = (cov_ksv9azglk().s[40]++, schema.nodes.image.create({
|
|
106847
106954
|
id: id
|
|
106848
106955
|
}));
|
|
106849
|
-
transaction = (cov_ksv9azglk().s[
|
|
106850
|
-
cov_ksv9azglk().s[41]++;
|
|
106851
|
-
view.dispatch(transaction);
|
|
106956
|
+
transaction = (cov_ksv9azglk().s[41]++, view.state.tr.insert(pos, node));
|
|
106852
106957
|
cov_ksv9azglk().s[42]++;
|
|
106853
|
-
|
|
106958
|
+
view.dispatch(transaction);
|
|
106854
106959
|
cov_ksv9azglk().s[43]++;
|
|
106960
|
+
_context2.prev = 7;
|
|
106961
|
+
cov_ksv9azglk().s[44]++;
|
|
106855
106962
|
_context2.next = 11;
|
|
106856
106963
|
return upload(image, uploadEndpoint);
|
|
106857
106964
|
case 11:
|
|
106858
106965
|
url = _context2.sent;
|
|
106859
|
-
cov_ksv9azglk().s[
|
|
106966
|
+
cov_ksv9azglk().s[45]++;
|
|
106860
106967
|
(cov_ksv9azglk().b[5][0]++, url) && (cov_ksv9azglk().b[5][1]++, view.state.doc.descendants(function (node, pos) {
|
|
106861
106968
|
cov_ksv9azglk().f[20]++;
|
|
106862
|
-
cov_ksv9azglk().s[
|
|
106969
|
+
cov_ksv9azglk().s[46]++;
|
|
106863
106970
|
if (node.attrs.id === id) {
|
|
106864
106971
|
cov_ksv9azglk().b[6][0]++;
|
|
106865
|
-
var _transaction = (cov_ksv9azglk().s[
|
|
106972
|
+
var _transaction = (cov_ksv9azglk().s[47]++, view.state.tr.setNodeMarkup(pos, null, {
|
|
106866
106973
|
src: url
|
|
106867
106974
|
}));
|
|
106868
|
-
cov_ksv9azglk().s[
|
|
106975
|
+
cov_ksv9azglk().s[48]++;
|
|
106869
106976
|
view.dispatch(_transaction);
|
|
106870
106977
|
} else {
|
|
106871
106978
|
cov_ksv9azglk().b[6][1]++;
|
|
@@ -106876,7 +106983,7 @@ var ImageExtension$1 = {
|
|
|
106876
106983
|
case 16:
|
|
106877
106984
|
_context2.prev = 16;
|
|
106878
106985
|
_context2.t0 = _context2["catch"](7);
|
|
106879
|
-
cov_ksv9azglk().s[
|
|
106986
|
+
cov_ksv9azglk().s[49]++;
|
|
106880
106987
|
view.dispatch(view.state.tr["delete"](pos, pos + 1));
|
|
106881
106988
|
case 20:
|
|
106882
106989
|
case "end":
|
|
@@ -106899,7 +107006,7 @@ var ImageExtension$1 = {
|
|
|
106899
107006
|
|
|
106900
107007
|
function cov_mdp7zot9o() {
|
|
106901
107008
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Image/FigCaption.js";
|
|
106902
|
-
var hash = "
|
|
107009
|
+
var hash = "c9ac09c21dac0821bf21468750ec234bb65938af";
|
|
106903
107010
|
var global = new Function("return this")();
|
|
106904
107011
|
var gcv = "__coverage__";
|
|
106905
107012
|
var coverageData = {
|
|
@@ -106907,12 +107014,12 @@ function cov_mdp7zot9o() {
|
|
|
106907
107014
|
statementMap: {
|
|
106908
107015
|
"0": {
|
|
106909
107016
|
start: {
|
|
106910
|
-
line:
|
|
107017
|
+
line: 13,
|
|
106911
107018
|
column: 4
|
|
106912
107019
|
},
|
|
106913
107020
|
end: {
|
|
106914
|
-
line:
|
|
106915
|
-
column:
|
|
107021
|
+
line: 13,
|
|
107022
|
+
column: 35
|
|
106916
107023
|
}
|
|
106917
107024
|
}
|
|
106918
107025
|
},
|
|
@@ -106921,25 +107028,25 @@ function cov_mdp7zot9o() {
|
|
|
106921
107028
|
name: "(anonymous_0)",
|
|
106922
107029
|
decl: {
|
|
106923
107030
|
start: {
|
|
106924
|
-
line:
|
|
107031
|
+
line: 12,
|
|
106925
107032
|
column: 2
|
|
106926
107033
|
},
|
|
106927
107034
|
end: {
|
|
106928
|
-
line:
|
|
107035
|
+
line: 12,
|
|
106929
107036
|
column: 3
|
|
106930
107037
|
}
|
|
106931
107038
|
},
|
|
106932
107039
|
loc: {
|
|
106933
107040
|
start: {
|
|
106934
|
-
line:
|
|
107041
|
+
line: 12,
|
|
106935
107042
|
column: 14
|
|
106936
107043
|
},
|
|
106937
107044
|
end: {
|
|
106938
|
-
line:
|
|
107045
|
+
line: 14,
|
|
106939
107046
|
column: 3
|
|
106940
107047
|
}
|
|
106941
107048
|
},
|
|
106942
|
-
line:
|
|
107049
|
+
line: 12
|
|
106943
107050
|
}
|
|
106944
107051
|
},
|
|
106945
107052
|
branchMap: {},
|
|
@@ -106951,7 +107058,7 @@ function cov_mdp7zot9o() {
|
|
|
106951
107058
|
},
|
|
106952
107059
|
b: {},
|
|
106953
107060
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
106954
|
-
hash: "
|
|
107061
|
+
hash: "c9ac09c21dac0821bf21468750ec234bb65938af"
|
|
106955
107062
|
};
|
|
106956
107063
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
106957
107064
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -106969,6 +107076,7 @@ function cov_mdp7zot9o() {
|
|
|
106969
107076
|
cov_mdp7zot9o();
|
|
106970
107077
|
var FigCaption = Node$1.create({
|
|
106971
107078
|
name: "figcaption",
|
|
107079
|
+
content: "text*",
|
|
106972
107080
|
selectable: false,
|
|
106973
107081
|
draggable: false,
|
|
106974
107082
|
parseHTML: function parseHTML() {
|