@bigbinary/neeto-editor 1.25.14 → 1.25.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 +950 -831
- package/index.js +951 -832
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isNotEmpty, findBy, noop as noop$2, removeBy, removeById,
|
|
1
|
+
import { isNotEmpty, findBy, noop as noop$2, removeBy, removeById, slugify } from '@bigbinary/neeto-commons-frontend/pure';
|
|
2
2
|
import { pluck, isNil, isEmpty as isEmpty$1, mergeDeepLeft, assoc, mergeRight, concat as concat$3, is, prop, fromPairs, uniqBy } from 'ramda';
|
|
3
3
|
import * as React$6 from 'react';
|
|
4
4
|
import React__default, { useContext, useState, useRef as useRef$1, useEffect as useEffect$1, useImperativeHandle, createContext, forwardRef as forwardRef$1, cloneElement, useLayoutEffect, Fragment as Fragment$1 } from 'react';
|
|
@@ -27457,7 +27457,7 @@ instance.reloadResources;
|
|
|
27457
27457
|
instance.use;
|
|
27458
27458
|
instance.changeLanguage;
|
|
27459
27459
|
instance.getFixedT;
|
|
27460
|
-
instance.t;
|
|
27460
|
+
var t$7 = instance.t;
|
|
27461
27461
|
instance.exists;
|
|
27462
27462
|
instance.setDefaultNamespace;
|
|
27463
27463
|
instance.hasLoadedNamespace;
|
|
@@ -27770,73 +27770,83 @@ var common = {
|
|
|
27770
27770
|
caption: "Caption",
|
|
27771
27771
|
create: "Create",
|
|
27772
27772
|
embed: "Embed",
|
|
27773
|
-
"save-changes": "Save changes",
|
|
27774
27773
|
unlink: "Unlink",
|
|
27775
|
-
|
|
27774
|
+
videoUrl: "Video URL:",
|
|
27775
|
+
browse: "Browse"
|
|
27776
27776
|
};
|
|
27777
27777
|
var attachments = {
|
|
27778
|
-
|
|
27778
|
+
actionsBlocked: "You are not permitted to update or delete attachments",
|
|
27779
27779
|
add: "Add Attachment",
|
|
27780
|
-
|
|
27781
|
-
|
|
27780
|
+
deleteConfirmation: "Are you sure you want to remove {{entity}}?",
|
|
27781
|
+
deleteTitle: "Remove Attachment?",
|
|
27782
27782
|
maxNumberOfFiles: "You can only attach {{entity}} files",
|
|
27783
|
-
|
|
27784
|
-
|
|
27783
|
+
nameEmpty: "Filename cannot be empty",
|
|
27784
|
+
oneAttachmentAllowed: "Only one attachment is allowed"
|
|
27785
27785
|
};
|
|
27786
27786
|
var error$1 = {
|
|
27787
|
-
|
|
27788
|
-
|
|
27789
|
-
|
|
27787
|
+
invalidUrl: "Please enter a valid URL",
|
|
27788
|
+
cannotAddFiles: "Cannot add files",
|
|
27789
|
+
onBeforeFileAddedReturn: "Cannot add the file because onBeforeFileAdded returned false.",
|
|
27790
|
+
fileIsTooLarge: "File size is too large. Max size is {{maxFileSize}}.",
|
|
27791
|
+
imageSizeIsShouldBeLess: "Image size should be less than {{limit}} MB"
|
|
27790
27792
|
};
|
|
27791
27793
|
var menu = {
|
|
27792
27794
|
attachments: "Attachments",
|
|
27793
|
-
|
|
27795
|
+
blockQuote: "Block quote",
|
|
27794
27796
|
bold: "Bold",
|
|
27795
|
-
|
|
27797
|
+
bulletedList: "Bulleted list",
|
|
27796
27798
|
code: "Code",
|
|
27797
|
-
|
|
27798
|
-
"embed-video": "Embed video",
|
|
27799
|
+
codeBlock: "Code block",
|
|
27799
27800
|
emoji: "Emoji",
|
|
27800
|
-
|
|
27801
|
+
fontSize: "Font size",
|
|
27801
27802
|
highlight: "Highlight",
|
|
27802
|
-
|
|
27803
|
+
imageUpload: "Image upload",
|
|
27803
27804
|
italic: "Italic",
|
|
27804
27805
|
link: "Link",
|
|
27805
27806
|
mention: "Mention",
|
|
27806
|
-
|
|
27807
|
+
orderedList: "Ordered list",
|
|
27807
27808
|
redo: "Redo",
|
|
27808
27809
|
strike: "Strike",
|
|
27809
27810
|
table: "Table",
|
|
27810
27811
|
underline: "Underline",
|
|
27811
27812
|
undo: "Undo",
|
|
27812
|
-
|
|
27813
|
-
|
|
27814
|
-
|
|
27813
|
+
dynamicVariables: "Dynamic variables",
|
|
27814
|
+
videoEmbed: "Video embed",
|
|
27815
|
+
videoUpload: "Video upload",
|
|
27816
|
+
alignLeft: "Align left",
|
|
27817
|
+
alignCenter: "Align center",
|
|
27818
|
+
alignRight: "Align right",
|
|
27819
|
+
"delete": "Delete"
|
|
27815
27820
|
};
|
|
27816
27821
|
var placeholders = {
|
|
27817
|
-
"caption-input": "Enter a caption",
|
|
27818
27822
|
columns: "Enter columns",
|
|
27819
|
-
|
|
27820
|
-
|
|
27823
|
+
linkInput: "Paste or type a link...",
|
|
27824
|
+
pasteLink: "Paste the link here...",
|
|
27821
27825
|
rows: "Enter rows",
|
|
27822
|
-
|
|
27823
|
-
url: "Paste URL"
|
|
27826
|
+
searchUnsplash: "Search Unsplash",
|
|
27827
|
+
url: "Paste URL",
|
|
27828
|
+
writeSomething: "Write something …"
|
|
27824
27829
|
};
|
|
27825
27830
|
var table = {
|
|
27826
27831
|
"delete": "Delete table",
|
|
27827
|
-
|
|
27828
|
-
|
|
27829
|
-
|
|
27830
|
-
|
|
27831
|
-
|
|
27832
|
-
|
|
27833
|
-
|
|
27832
|
+
deleteColumn: "Delete column",
|
|
27833
|
+
deleteRow: "Delete row",
|
|
27834
|
+
insertColumn: "Insert column",
|
|
27835
|
+
insertRow: "Insert row",
|
|
27836
|
+
mergeSplit: "Merge/Split cell",
|
|
27837
|
+
toggleHeaderColumn: "Toggle header column",
|
|
27838
|
+
toggleHeaderRow: "Toggle header row"
|
|
27834
27839
|
};
|
|
27835
27840
|
var unsplash = {
|
|
27836
|
-
|
|
27837
|
-
|
|
27841
|
+
errorMessage: "Something went wrong! Please try again later.",
|
|
27842
|
+
noResults: "No results",
|
|
27838
27843
|
end: "End of results"
|
|
27839
27844
|
};
|
|
27845
|
+
var localUploader = {
|
|
27846
|
+
dropFilesHere: "Drop your file(s) here or Browse.",
|
|
27847
|
+
maxFileSize: "Max. File Size: {{entity}}",
|
|
27848
|
+
completed: "Completed"
|
|
27849
|
+
};
|
|
27840
27850
|
var en = {
|
|
27841
27851
|
common: common,
|
|
27842
27852
|
attachments: attachments,
|
|
@@ -27845,11 +27855,7 @@ var en = {
|
|
|
27845
27855
|
placeholders: placeholders,
|
|
27846
27856
|
table: table,
|
|
27847
27857
|
unsplash: unsplash,
|
|
27848
|
-
|
|
27849
|
-
"drop-files-here": "Drop your file(s) here or Browse.",
|
|
27850
|
-
"max-file-size": "Max. File Size: {{entity}}",
|
|
27851
|
-
completed: "Completed"
|
|
27852
|
-
}
|
|
27858
|
+
localUploader: localUploader
|
|
27853
27859
|
};
|
|
27854
27860
|
|
|
27855
27861
|
function cov_2jx0j78mzx() {
|
|
@@ -40107,7 +40113,7 @@ var MEDIA_UPLOAD_OPTIONS = (cov_jbpzhr9v8().s[7]++, [{
|
|
|
40107
40113
|
|
|
40108
40114
|
function cov_13smb7q6gj() {
|
|
40109
40115
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/MediaUploader/utils.js";
|
|
40110
|
-
var hash = "
|
|
40116
|
+
var hash = "fd56564e5fafa0d0a378338fde19971a48136c8d";
|
|
40111
40117
|
var global = new Function("return this")();
|
|
40112
40118
|
var gcv = "__coverage__";
|
|
40113
40119
|
var coverageData = {
|
|
@@ -40115,91 +40121,91 @@ function cov_13smb7q6gj() {
|
|
|
40115
40121
|
statementMap: {
|
|
40116
40122
|
"0": {
|
|
40117
40123
|
start: {
|
|
40118
|
-
line:
|
|
40124
|
+
line: 4,
|
|
40119
40125
|
column: 33
|
|
40120
40126
|
},
|
|
40121
40127
|
end: {
|
|
40122
|
-
line:
|
|
40128
|
+
line: 13,
|
|
40123
40129
|
column: 1
|
|
40124
40130
|
}
|
|
40125
40131
|
},
|
|
40126
40132
|
"1": {
|
|
40127
40133
|
start: {
|
|
40128
|
-
line:
|
|
40134
|
+
line: 5,
|
|
40129
40135
|
column: 16
|
|
40130
40136
|
},
|
|
40131
40137
|
end: {
|
|
40132
|
-
line:
|
|
40138
|
+
line: 5,
|
|
40133
40139
|
column: 39
|
|
40134
40140
|
}
|
|
40135
40141
|
},
|
|
40136
40142
|
"2": {
|
|
40137
40143
|
start: {
|
|
40138
|
-
line:
|
|
40144
|
+
line: 6,
|
|
40139
40145
|
column: 10
|
|
40140
40146
|
},
|
|
40141
40147
|
end: {
|
|
40142
|
-
line:
|
|
40148
|
+
line: 6,
|
|
40143
40149
|
column: 11
|
|
40144
40150
|
}
|
|
40145
40151
|
},
|
|
40146
40152
|
"3": {
|
|
40147
40153
|
start: {
|
|
40148
|
-
line:
|
|
40154
|
+
line: 7,
|
|
40149
40155
|
column: 2
|
|
40150
40156
|
},
|
|
40151
40157
|
end: {
|
|
40152
|
-
line:
|
|
40158
|
+
line: 10,
|
|
40153
40159
|
column: 3
|
|
40154
40160
|
}
|
|
40155
40161
|
},
|
|
40156
40162
|
"4": {
|
|
40157
40163
|
start: {
|
|
40158
|
-
line:
|
|
40164
|
+
line: 8,
|
|
40159
40165
|
column: 4
|
|
40160
40166
|
},
|
|
40161
40167
|
end: {
|
|
40162
|
-
line:
|
|
40168
|
+
line: 8,
|
|
40163
40169
|
column: 17
|
|
40164
40170
|
}
|
|
40165
40171
|
},
|
|
40166
40172
|
"5": {
|
|
40167
40173
|
start: {
|
|
40168
|
-
line:
|
|
40174
|
+
line: 9,
|
|
40169
40175
|
column: 4
|
|
40170
40176
|
},
|
|
40171
40177
|
end: {
|
|
40172
|
-
line:
|
|
40178
|
+
line: 9,
|
|
40173
40179
|
column: 8
|
|
40174
40180
|
}
|
|
40175
40181
|
},
|
|
40176
40182
|
"6": {
|
|
40177
40183
|
start: {
|
|
40178
|
-
line:
|
|
40184
|
+
line: 12,
|
|
40179
40185
|
column: 2
|
|
40180
40186
|
},
|
|
40181
40187
|
end: {
|
|
40182
|
-
line:
|
|
40188
|
+
line: 12,
|
|
40183
40189
|
column: 42
|
|
40184
40190
|
}
|
|
40185
40191
|
},
|
|
40186
40192
|
"7": {
|
|
40187
40193
|
start: {
|
|
40188
|
-
line:
|
|
40194
|
+
line: 15,
|
|
40189
40195
|
column: 33
|
|
40190
40196
|
},
|
|
40191
40197
|
end: {
|
|
40192
|
-
line:
|
|
40198
|
+
line: 35,
|
|
40193
40199
|
column: 1
|
|
40194
40200
|
}
|
|
40195
40201
|
},
|
|
40196
40202
|
"8": {
|
|
40197
40203
|
start: {
|
|
40198
|
-
line:
|
|
40204
|
+
line: 15,
|
|
40199
40205
|
column: 39
|
|
40200
40206
|
},
|
|
40201
40207
|
end: {
|
|
40202
|
-
line:
|
|
40208
|
+
line: 35,
|
|
40203
40209
|
column: 1
|
|
40204
40210
|
}
|
|
40205
40211
|
}
|
|
@@ -40209,84 +40215,84 @@ function cov_13smb7q6gj() {
|
|
|
40209
40215
|
name: "(anonymous_0)",
|
|
40210
40216
|
decl: {
|
|
40211
40217
|
start: {
|
|
40212
|
-
line:
|
|
40218
|
+
line: 4,
|
|
40213
40219
|
column: 33
|
|
40214
40220
|
},
|
|
40215
40221
|
end: {
|
|
40216
|
-
line:
|
|
40222
|
+
line: 4,
|
|
40217
40223
|
column: 34
|
|
40218
40224
|
}
|
|
40219
40225
|
},
|
|
40220
40226
|
loc: {
|
|
40221
40227
|
start: {
|
|
40222
|
-
line:
|
|
40228
|
+
line: 4,
|
|
40223
40229
|
column: 41
|
|
40224
40230
|
},
|
|
40225
40231
|
end: {
|
|
40226
|
-
line:
|
|
40232
|
+
line: 13,
|
|
40227
40233
|
column: 1
|
|
40228
40234
|
}
|
|
40229
40235
|
},
|
|
40230
|
-
line:
|
|
40236
|
+
line: 4
|
|
40231
40237
|
},
|
|
40232
40238
|
"1": {
|
|
40233
40239
|
name: "(anonymous_1)",
|
|
40234
40240
|
decl: {
|
|
40235
40241
|
start: {
|
|
40236
|
-
line:
|
|
40242
|
+
line: 15,
|
|
40237
40243
|
column: 33
|
|
40238
40244
|
},
|
|
40239
40245
|
end: {
|
|
40240
|
-
line:
|
|
40246
|
+
line: 15,
|
|
40241
40247
|
column: 34
|
|
40242
40248
|
}
|
|
40243
40249
|
},
|
|
40244
40250
|
loc: {
|
|
40245
40251
|
start: {
|
|
40246
|
-
line:
|
|
40252
|
+
line: 15,
|
|
40247
40253
|
column: 39
|
|
40248
40254
|
},
|
|
40249
40255
|
end: {
|
|
40250
|
-
line:
|
|
40256
|
+
line: 35,
|
|
40251
40257
|
column: 1
|
|
40252
40258
|
}
|
|
40253
40259
|
},
|
|
40254
|
-
line:
|
|
40260
|
+
line: 15
|
|
40255
40261
|
}
|
|
40256
40262
|
},
|
|
40257
40263
|
branchMap: {
|
|
40258
40264
|
"0": {
|
|
40259
40265
|
loc: {
|
|
40260
40266
|
start: {
|
|
40261
|
-
line:
|
|
40267
|
+
line: 7,
|
|
40262
40268
|
column: 9
|
|
40263
40269
|
},
|
|
40264
40270
|
end: {
|
|
40265
|
-
line:
|
|
40271
|
+
line: 7,
|
|
40266
40272
|
column: 41
|
|
40267
40273
|
}
|
|
40268
40274
|
},
|
|
40269
40275
|
type: "binary-expr",
|
|
40270
40276
|
locations: [{
|
|
40271
40277
|
start: {
|
|
40272
|
-
line:
|
|
40278
|
+
line: 7,
|
|
40273
40279
|
column: 9
|
|
40274
40280
|
},
|
|
40275
40281
|
end: {
|
|
40276
|
-
line:
|
|
40282
|
+
line: 7,
|
|
40277
40283
|
column: 21
|
|
40278
40284
|
}
|
|
40279
40285
|
}, {
|
|
40280
40286
|
start: {
|
|
40281
|
-
line:
|
|
40287
|
+
line: 7,
|
|
40282
40288
|
column: 25
|
|
40283
40289
|
},
|
|
40284
40290
|
end: {
|
|
40285
|
-
line:
|
|
40291
|
+
line: 7,
|
|
40286
40292
|
column: 41
|
|
40287
40293
|
}
|
|
40288
40294
|
}],
|
|
40289
|
-
line:
|
|
40295
|
+
line: 7
|
|
40290
40296
|
}
|
|
40291
40297
|
},
|
|
40292
40298
|
s: {
|
|
@@ -40308,7 +40314,7 @@ function cov_13smb7q6gj() {
|
|
|
40308
40314
|
"0": [0, 0]
|
|
40309
40315
|
},
|
|
40310
40316
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
40311
|
-
hash: "
|
|
40317
|
+
hash: "fd56564e5fafa0d0a378338fde19971a48136c8d"
|
|
40312
40318
|
};
|
|
40313
40319
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
40314
40320
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -40346,18 +40352,18 @@ var buildImageOptions = function buildImageOptions() {
|
|
|
40346
40352
|
return [{
|
|
40347
40353
|
Icon: LeftAlign,
|
|
40348
40354
|
alignPos: "left",
|
|
40349
|
-
optionName: "
|
|
40355
|
+
optionName: t$7("menu.alignLeft")
|
|
40350
40356
|
}, {
|
|
40351
40357
|
Icon: CenterAlign,
|
|
40352
40358
|
alignPos: "center",
|
|
40353
|
-
optionName: "
|
|
40359
|
+
optionName: t$7("menu.alignCenter")
|
|
40354
40360
|
}, {
|
|
40355
40361
|
Icon: RightAlign,
|
|
40356
40362
|
alignPos: "right",
|
|
40357
|
-
optionName: "
|
|
40363
|
+
optionName: t$7("menu.alignRight")
|
|
40358
40364
|
}, {
|
|
40359
40365
|
Icon: Delete,
|
|
40360
|
-
optionName: "
|
|
40366
|
+
optionName: t$7("menu.delete")
|
|
40361
40367
|
}];
|
|
40362
40368
|
};
|
|
40363
40369
|
|
|
@@ -49566,7 +49572,7 @@ var ActiveStorageUpload = /*#__PURE__*/function (_BasePlugin) {
|
|
|
49566
49572
|
|
|
49567
49573
|
function cov_r3t02fgv5() {
|
|
49568
49574
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/hooks/useUppyUploader.js";
|
|
49569
|
-
var hash = "
|
|
49575
|
+
var hash = "185c06efbf6be23fe7bd5f2deafc8630f3746c3e";
|
|
49570
49576
|
var global = new Function("return this")();
|
|
49571
49577
|
var gcv = "__coverage__";
|
|
49572
49578
|
var coverageData = {
|
|
@@ -49574,171 +49580,181 @@ function cov_r3t02fgv5() {
|
|
|
49574
49580
|
statementMap: {
|
|
49575
49581
|
"0": {
|
|
49576
49582
|
start: {
|
|
49577
|
-
line:
|
|
49583
|
+
line: 13,
|
|
49578
49584
|
column: 24
|
|
49579
49585
|
},
|
|
49580
49586
|
end: {
|
|
49581
|
-
line:
|
|
49587
|
+
line: 55,
|
|
49582
49588
|
column: 1
|
|
49583
49589
|
}
|
|
49584
49590
|
},
|
|
49585
49591
|
"1": {
|
|
49586
49592
|
start: {
|
|
49587
|
-
line:
|
|
49593
|
+
line: 14,
|
|
49588
49594
|
column: 40
|
|
49589
49595
|
},
|
|
49590
49596
|
end: {
|
|
49591
|
-
line:
|
|
49597
|
+
line: 14,
|
|
49592
49598
|
column: 55
|
|
49593
49599
|
}
|
|
49594
49600
|
},
|
|
49595
49601
|
"2": {
|
|
49596
49602
|
start: {
|
|
49597
49603
|
line: 15,
|
|
49598
|
-
column:
|
|
49604
|
+
column: 16
|
|
49599
49605
|
},
|
|
49600
49606
|
end: {
|
|
49601
|
-
line:
|
|
49602
|
-
column:
|
|
49607
|
+
line: 15,
|
|
49608
|
+
column: 32
|
|
49603
49609
|
}
|
|
49604
49610
|
},
|
|
49605
49611
|
"3": {
|
|
49606
49612
|
start: {
|
|
49607
|
-
line:
|
|
49613
|
+
line: 17,
|
|
49608
49614
|
column: 28
|
|
49609
49615
|
},
|
|
49610
49616
|
end: {
|
|
49611
|
-
line:
|
|
49612
|
-
column:
|
|
49617
|
+
line: 31,
|
|
49618
|
+
column: 3
|
|
49613
49619
|
}
|
|
49614
49620
|
},
|
|
49615
49621
|
"4": {
|
|
49616
49622
|
start: {
|
|
49617
49623
|
line: 18,
|
|
49624
|
+
column: 28
|
|
49625
|
+
},
|
|
49626
|
+
end: {
|
|
49627
|
+
line: 18,
|
|
49628
|
+
column: 51
|
|
49629
|
+
}
|
|
49630
|
+
},
|
|
49631
|
+
"5": {
|
|
49632
|
+
start: {
|
|
49633
|
+
line: 20,
|
|
49618
49634
|
column: 4
|
|
49619
49635
|
},
|
|
49620
49636
|
end: {
|
|
49621
|
-
line:
|
|
49637
|
+
line: 28,
|
|
49622
49638
|
column: 5
|
|
49623
49639
|
}
|
|
49624
49640
|
},
|
|
49625
|
-
"
|
|
49641
|
+
"6": {
|
|
49626
49642
|
start: {
|
|
49627
|
-
line:
|
|
49643
|
+
line: 21,
|
|
49628
49644
|
column: 6
|
|
49629
49645
|
},
|
|
49630
49646
|
end: {
|
|
49631
|
-
line:
|
|
49647
|
+
line: 25,
|
|
49632
49648
|
column: 8
|
|
49633
49649
|
}
|
|
49634
49650
|
},
|
|
49635
|
-
"
|
|
49651
|
+
"7": {
|
|
49636
49652
|
start: {
|
|
49637
|
-
line:
|
|
49653
|
+
line: 27,
|
|
49638
49654
|
column: 6
|
|
49639
49655
|
},
|
|
49640
49656
|
end: {
|
|
49641
|
-
line:
|
|
49657
|
+
line: 27,
|
|
49642
49658
|
column: 19
|
|
49643
49659
|
}
|
|
49644
49660
|
},
|
|
49645
|
-
"
|
|
49661
|
+
"8": {
|
|
49646
49662
|
start: {
|
|
49647
|
-
line:
|
|
49663
|
+
line: 30,
|
|
49648
49664
|
column: 4
|
|
49649
49665
|
},
|
|
49650
49666
|
end: {
|
|
49651
|
-
line:
|
|
49667
|
+
line: 30,
|
|
49652
49668
|
column: 16
|
|
49653
49669
|
}
|
|
49654
49670
|
},
|
|
49655
|
-
"
|
|
49671
|
+
"9": {
|
|
49656
49672
|
start: {
|
|
49657
|
-
line:
|
|
49673
|
+
line: 33,
|
|
49658
49674
|
column: 15
|
|
49659
49675
|
},
|
|
49660
49676
|
end: {
|
|
49661
|
-
line:
|
|
49677
|
+
line: 52,
|
|
49662
49678
|
column: 3
|
|
49663
49679
|
}
|
|
49664
49680
|
},
|
|
49665
|
-
"
|
|
49681
|
+
"10": {
|
|
49666
49682
|
start: {
|
|
49667
|
-
line:
|
|
49683
|
+
line: 34,
|
|
49668
49684
|
column: 4
|
|
49669
49685
|
},
|
|
49670
49686
|
end: {
|
|
49671
|
-
line:
|
|
49687
|
+
line: 51,
|
|
49672
49688
|
column: 8
|
|
49673
49689
|
}
|
|
49674
49690
|
},
|
|
49675
|
-
"
|
|
49691
|
+
"11": {
|
|
49676
49692
|
start: {
|
|
49677
|
-
line:
|
|
49693
|
+
line: 42,
|
|
49678
49694
|
column: 26
|
|
49679
49695
|
},
|
|
49680
49696
|
end: {
|
|
49681
|
-
line:
|
|
49697
|
+
line: 42,
|
|
49682
49698
|
column: 46
|
|
49683
49699
|
}
|
|
49684
49700
|
},
|
|
49685
|
-
"
|
|
49701
|
+
"12": {
|
|
49686
49702
|
start: {
|
|
49687
|
-
line:
|
|
49703
|
+
line: 44,
|
|
49688
49704
|
column: 24
|
|
49689
49705
|
},
|
|
49690
49706
|
end: {
|
|
49691
|
-
line:
|
|
49707
|
+
line: 44,
|
|
49692
49708
|
column: 58
|
|
49693
49709
|
}
|
|
49694
49710
|
},
|
|
49695
|
-
"
|
|
49711
|
+
"13": {
|
|
49696
49712
|
start: {
|
|
49697
|
-
line:
|
|
49713
|
+
line: 45,
|
|
49698
49714
|
column: 8
|
|
49699
49715
|
},
|
|
49700
49716
|
end: {
|
|
49701
|
-
line:
|
|
49717
|
+
line: 45,
|
|
49702
49718
|
column: 29
|
|
49703
49719
|
}
|
|
49704
49720
|
},
|
|
49705
|
-
"
|
|
49721
|
+
"14": {
|
|
49706
49722
|
start: {
|
|
49707
|
-
line:
|
|
49723
|
+
line: 47,
|
|
49708
49724
|
column: 30
|
|
49709
49725
|
},
|
|
49710
49726
|
end: {
|
|
49711
|
-
line:
|
|
49727
|
+
line: 47,
|
|
49712
49728
|
column: 51
|
|
49713
49729
|
}
|
|
49714
49730
|
},
|
|
49715
|
-
"
|
|
49731
|
+
"15": {
|
|
49716
49732
|
start: {
|
|
49717
|
-
line:
|
|
49733
|
+
line: 49,
|
|
49718
49734
|
column: 8
|
|
49719
49735
|
},
|
|
49720
49736
|
end: {
|
|
49721
|
-
line:
|
|
49737
|
+
line: 49,
|
|
49722
49738
|
column: 21
|
|
49723
49739
|
}
|
|
49724
49740
|
},
|
|
49725
|
-
"
|
|
49741
|
+
"16": {
|
|
49726
49742
|
start: {
|
|
49727
|
-
line:
|
|
49743
|
+
line: 50,
|
|
49728
49744
|
column: 8
|
|
49729
49745
|
},
|
|
49730
49746
|
end: {
|
|
49731
|
-
line:
|
|
49747
|
+
line: 50,
|
|
49732
49748
|
column: 30
|
|
49733
49749
|
}
|
|
49734
49750
|
},
|
|
49735
|
-
"
|
|
49751
|
+
"17": {
|
|
49736
49752
|
start: {
|
|
49737
|
-
line:
|
|
49753
|
+
line: 54,
|
|
49738
49754
|
column: 2
|
|
49739
49755
|
},
|
|
49740
49756
|
end: {
|
|
49741
|
-
line:
|
|
49757
|
+
line: 54,
|
|
49742
49758
|
column: 31
|
|
49743
49759
|
}
|
|
49744
49760
|
}
|
|
@@ -49748,215 +49764,215 @@ function cov_r3t02fgv5() {
|
|
|
49748
49764
|
name: "(anonymous_0)",
|
|
49749
49765
|
decl: {
|
|
49750
49766
|
start: {
|
|
49751
|
-
line:
|
|
49767
|
+
line: 13,
|
|
49752
49768
|
column: 24
|
|
49753
49769
|
},
|
|
49754
49770
|
end: {
|
|
49755
|
-
line:
|
|
49771
|
+
line: 13,
|
|
49756
49772
|
column: 25
|
|
49757
49773
|
}
|
|
49758
49774
|
},
|
|
49759
49775
|
loc: {
|
|
49760
49776
|
start: {
|
|
49761
|
-
line:
|
|
49777
|
+
line: 13,
|
|
49762
49778
|
column: 72
|
|
49763
49779
|
},
|
|
49764
49780
|
end: {
|
|
49765
|
-
line:
|
|
49781
|
+
line: 55,
|
|
49766
49782
|
column: 1
|
|
49767
49783
|
}
|
|
49768
49784
|
},
|
|
49769
|
-
line:
|
|
49785
|
+
line: 13
|
|
49770
49786
|
},
|
|
49771
49787
|
"1": {
|
|
49772
49788
|
name: "(anonymous_1)",
|
|
49773
49789
|
decl: {
|
|
49774
49790
|
start: {
|
|
49775
|
-
line:
|
|
49791
|
+
line: 17,
|
|
49776
49792
|
column: 28
|
|
49777
49793
|
},
|
|
49778
49794
|
end: {
|
|
49779
|
-
line:
|
|
49795
|
+
line: 17,
|
|
49780
49796
|
column: 29
|
|
49781
49797
|
}
|
|
49782
49798
|
},
|
|
49783
49799
|
loc: {
|
|
49784
49800
|
start: {
|
|
49785
|
-
line:
|
|
49801
|
+
line: 17,
|
|
49786
49802
|
column: 36
|
|
49787
49803
|
},
|
|
49788
49804
|
end: {
|
|
49789
|
-
line:
|
|
49805
|
+
line: 31,
|
|
49790
49806
|
column: 3
|
|
49791
49807
|
}
|
|
49792
49808
|
},
|
|
49793
|
-
line:
|
|
49809
|
+
line: 17
|
|
49794
49810
|
},
|
|
49795
49811
|
"2": {
|
|
49796
49812
|
name: "(anonymous_2)",
|
|
49797
49813
|
decl: {
|
|
49798
49814
|
start: {
|
|
49799
|
-
line:
|
|
49815
|
+
line: 33,
|
|
49800
49816
|
column: 23
|
|
49801
49817
|
},
|
|
49802
49818
|
end: {
|
|
49803
|
-
line:
|
|
49819
|
+
line: 33,
|
|
49804
49820
|
column: 24
|
|
49805
49821
|
}
|
|
49806
49822
|
},
|
|
49807
49823
|
loc: {
|
|
49808
49824
|
start: {
|
|
49809
|
-
line:
|
|
49825
|
+
line: 34,
|
|
49810
49826
|
column: 4
|
|
49811
49827
|
},
|
|
49812
49828
|
end: {
|
|
49813
|
-
line:
|
|
49829
|
+
line: 51,
|
|
49814
49830
|
column: 8
|
|
49815
49831
|
}
|
|
49816
49832
|
},
|
|
49817
|
-
line:
|
|
49833
|
+
line: 34
|
|
49818
49834
|
},
|
|
49819
49835
|
"3": {
|
|
49820
49836
|
name: "(anonymous_3)",
|
|
49821
49837
|
decl: {
|
|
49822
49838
|
start: {
|
|
49823
|
-
line:
|
|
49839
|
+
line: 42,
|
|
49824
49840
|
column: 20
|
|
49825
49841
|
},
|
|
49826
49842
|
end: {
|
|
49827
|
-
line:
|
|
49843
|
+
line: 42,
|
|
49828
49844
|
column: 21
|
|
49829
49845
|
}
|
|
49830
49846
|
},
|
|
49831
49847
|
loc: {
|
|
49832
49848
|
start: {
|
|
49833
|
-
line:
|
|
49849
|
+
line: 42,
|
|
49834
49850
|
column: 26
|
|
49835
49851
|
},
|
|
49836
49852
|
end: {
|
|
49837
|
-
line:
|
|
49853
|
+
line: 42,
|
|
49838
49854
|
column: 46
|
|
49839
49855
|
}
|
|
49840
49856
|
},
|
|
49841
|
-
line:
|
|
49857
|
+
line: 42
|
|
49842
49858
|
},
|
|
49843
49859
|
"4": {
|
|
49844
49860
|
name: "(anonymous_4)",
|
|
49845
49861
|
decl: {
|
|
49846
49862
|
start: {
|
|
49847
|
-
line:
|
|
49863
|
+
line: 43,
|
|
49848
49864
|
column: 28
|
|
49849
49865
|
},
|
|
49850
49866
|
end: {
|
|
49851
|
-
line:
|
|
49867
|
+
line: 43,
|
|
49852
49868
|
column: 29
|
|
49853
49869
|
}
|
|
49854
49870
|
},
|
|
49855
49871
|
loc: {
|
|
49856
49872
|
start: {
|
|
49857
|
-
line:
|
|
49873
|
+
line: 43,
|
|
49858
49874
|
column: 40
|
|
49859
49875
|
},
|
|
49860
49876
|
end: {
|
|
49861
|
-
line:
|
|
49877
|
+
line: 46,
|
|
49862
49878
|
column: 7
|
|
49863
49879
|
}
|
|
49864
49880
|
},
|
|
49865
|
-
line:
|
|
49881
|
+
line: 43
|
|
49866
49882
|
},
|
|
49867
49883
|
"5": {
|
|
49868
49884
|
name: "(anonymous_5)",
|
|
49869
49885
|
decl: {
|
|
49870
49886
|
start: {
|
|
49871
|
-
line:
|
|
49887
|
+
line: 47,
|
|
49872
49888
|
column: 24
|
|
49873
49889
|
},
|
|
49874
49890
|
end: {
|
|
49875
|
-
line:
|
|
49891
|
+
line: 47,
|
|
49876
49892
|
column: 25
|
|
49877
49893
|
}
|
|
49878
49894
|
},
|
|
49879
49895
|
loc: {
|
|
49880
49896
|
start: {
|
|
49881
|
-
line:
|
|
49897
|
+
line: 47,
|
|
49882
49898
|
column: 30
|
|
49883
49899
|
},
|
|
49884
49900
|
end: {
|
|
49885
|
-
line:
|
|
49901
|
+
line: 47,
|
|
49886
49902
|
column: 51
|
|
49887
49903
|
}
|
|
49888
49904
|
},
|
|
49889
|
-
line:
|
|
49905
|
+
line: 47
|
|
49890
49906
|
},
|
|
49891
49907
|
"6": {
|
|
49892
49908
|
name: "(anonymous_6)",
|
|
49893
49909
|
decl: {
|
|
49894
49910
|
start: {
|
|
49895
|
-
line:
|
|
49911
|
+
line: 48,
|
|
49896
49912
|
column: 22
|
|
49897
49913
|
},
|
|
49898
49914
|
end: {
|
|
49899
|
-
line:
|
|
49915
|
+
line: 48,
|
|
49900
49916
|
column: 23
|
|
49901
49917
|
}
|
|
49902
49918
|
},
|
|
49903
49919
|
loc: {
|
|
49904
49920
|
start: {
|
|
49905
|
-
line:
|
|
49921
|
+
line: 48,
|
|
49906
49922
|
column: 28
|
|
49907
49923
|
},
|
|
49908
49924
|
end: {
|
|
49909
|
-
line:
|
|
49925
|
+
line: 51,
|
|
49910
49926
|
column: 7
|
|
49911
49927
|
}
|
|
49912
49928
|
},
|
|
49913
|
-
line:
|
|
49929
|
+
line: 48
|
|
49914
49930
|
}
|
|
49915
49931
|
},
|
|
49916
49932
|
branchMap: {
|
|
49917
49933
|
"0": {
|
|
49918
49934
|
loc: {
|
|
49919
49935
|
start: {
|
|
49920
|
-
line:
|
|
49936
|
+
line: 13,
|
|
49921
49937
|
column: 49
|
|
49922
49938
|
},
|
|
49923
49939
|
end: {
|
|
49924
|
-
line:
|
|
49940
|
+
line: 13,
|
|
49925
49941
|
column: 65
|
|
49926
49942
|
}
|
|
49927
49943
|
},
|
|
49928
49944
|
type: "default-arg",
|
|
49929
49945
|
locations: [{
|
|
49930
49946
|
start: {
|
|
49931
|
-
line:
|
|
49947
|
+
line: 13,
|
|
49932
49948
|
column: 61
|
|
49933
49949
|
},
|
|
49934
49950
|
end: {
|
|
49935
|
-
line:
|
|
49951
|
+
line: 13,
|
|
49936
49952
|
column: 65
|
|
49937
49953
|
}
|
|
49938
49954
|
}],
|
|
49939
|
-
line:
|
|
49955
|
+
line: 13
|
|
49940
49956
|
},
|
|
49941
49957
|
"1": {
|
|
49942
49958
|
loc: {
|
|
49943
49959
|
start: {
|
|
49944
|
-
line:
|
|
49960
|
+
line: 20,
|
|
49945
49961
|
column: 4
|
|
49946
49962
|
},
|
|
49947
49963
|
end: {
|
|
49948
|
-
line:
|
|
49964
|
+
line: 28,
|
|
49949
49965
|
column: 5
|
|
49950
49966
|
}
|
|
49951
49967
|
},
|
|
49952
49968
|
type: "if",
|
|
49953
49969
|
locations: [{
|
|
49954
49970
|
start: {
|
|
49955
|
-
line:
|
|
49971
|
+
line: 20,
|
|
49956
49972
|
column: 4
|
|
49957
49973
|
},
|
|
49958
49974
|
end: {
|
|
49959
|
-
line:
|
|
49975
|
+
line: 28,
|
|
49960
49976
|
column: 5
|
|
49961
49977
|
}
|
|
49962
49978
|
}, {
|
|
@@ -49969,40 +49985,40 @@ function cov_r3t02fgv5() {
|
|
|
49969
49985
|
column: undefined
|
|
49970
49986
|
}
|
|
49971
49987
|
}],
|
|
49972
|
-
line:
|
|
49988
|
+
line: 20
|
|
49973
49989
|
},
|
|
49974
49990
|
"2": {
|
|
49975
49991
|
loc: {
|
|
49976
49992
|
start: {
|
|
49977
|
-
line:
|
|
49993
|
+
line: 44,
|
|
49978
49994
|
column: 24
|
|
49979
49995
|
},
|
|
49980
49996
|
end: {
|
|
49981
|
-
line:
|
|
49997
|
+
line: 44,
|
|
49982
49998
|
column: 58
|
|
49983
49999
|
}
|
|
49984
50000
|
},
|
|
49985
50001
|
type: "binary-expr",
|
|
49986
50002
|
locations: [{
|
|
49987
50003
|
start: {
|
|
49988
|
-
line:
|
|
50004
|
+
line: 44,
|
|
49989
50005
|
column: 24
|
|
49990
50006
|
},
|
|
49991
50007
|
end: {
|
|
49992
|
-
line:
|
|
50008
|
+
line: 44,
|
|
49993
50009
|
column: 42
|
|
49994
50010
|
}
|
|
49995
50011
|
}, {
|
|
49996
50012
|
start: {
|
|
49997
|
-
line:
|
|
50013
|
+
line: 44,
|
|
49998
50014
|
column: 46
|
|
49999
50015
|
},
|
|
50000
50016
|
end: {
|
|
50001
|
-
line:
|
|
50017
|
+
line: 44,
|
|
50002
50018
|
column: 58
|
|
50003
50019
|
}
|
|
50004
50020
|
}],
|
|
50005
|
-
line:
|
|
50021
|
+
line: 44
|
|
50006
50022
|
}
|
|
50007
50023
|
},
|
|
50008
50024
|
s: {
|
|
@@ -50022,7 +50038,8 @@ function cov_r3t02fgv5() {
|
|
|
50022
50038
|
"13": 0,
|
|
50023
50039
|
"14": 0,
|
|
50024
50040
|
"15": 0,
|
|
50025
|
-
"16": 0
|
|
50041
|
+
"16": 0,
|
|
50042
|
+
"17": 0
|
|
50026
50043
|
},
|
|
50027
50044
|
f: {
|
|
50028
50045
|
"0": 0,
|
|
@@ -50039,7 +50056,7 @@ function cov_r3t02fgv5() {
|
|
|
50039
50056
|
"2": [0, 0]
|
|
50040
50057
|
},
|
|
50041
50058
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
50042
|
-
hash: "
|
|
50059
|
+
hash: "185c06efbf6be23fe7bd5f2deafc8630f3746c3e"
|
|
50043
50060
|
};
|
|
50044
50061
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
50045
50062
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -50068,54 +50085,58 @@ var useUppyUploader = function useUppyUploader(_ref) {
|
|
|
50068
50085
|
_ref3 = _slicedToArray(_ref2, 2),
|
|
50069
50086
|
isUploading = _ref3[0],
|
|
50070
50087
|
setIsUploading = _ref3[1];
|
|
50071
|
-
cov_r3t02fgv5().s[2]
|
|
50088
|
+
var _ref4 = (cov_r3t02fgv5().s[2]++, useTranslation()),
|
|
50089
|
+
t = _ref4.t;
|
|
50090
|
+
cov_r3t02fgv5().s[3]++;
|
|
50072
50091
|
var onBeforeFileAdded = function onBeforeFileAdded(file) {
|
|
50073
50092
|
cov_r3t02fgv5().f[1]++;
|
|
50074
|
-
var
|
|
50075
|
-
maxFileSize =
|
|
50076
|
-
cov_r3t02fgv5().s[
|
|
50093
|
+
var _ref5 = (cov_r3t02fgv5().s[4]++, uppyConfig.restrictions),
|
|
50094
|
+
maxFileSize = _ref5.maxFileSize;
|
|
50095
|
+
cov_r3t02fgv5().s[5]++;
|
|
50077
50096
|
if (file.size > maxFileSize) {
|
|
50078
50097
|
cov_r3t02fgv5().b[1][0]++;
|
|
50079
|
-
cov_r3t02fgv5().s[5]++;
|
|
50080
|
-
Toastr.error("File size is too large. Max size is ".concat(convertToFileSize(uppyConfig.restrictions.maxFileSize), "."));
|
|
50081
50098
|
cov_r3t02fgv5().s[6]++;
|
|
50099
|
+
Toastr.error(t("error.fileIsTooLarge", {
|
|
50100
|
+
maxFileSize: convertToFileSize(uppyConfig.restrictions.maxFileSize)
|
|
50101
|
+
}));
|
|
50102
|
+
cov_r3t02fgv5().s[7]++;
|
|
50082
50103
|
return false;
|
|
50083
50104
|
} else {
|
|
50084
50105
|
cov_r3t02fgv5().b[1][1]++;
|
|
50085
50106
|
}
|
|
50086
|
-
cov_r3t02fgv5().s[
|
|
50107
|
+
cov_r3t02fgv5().s[8]++;
|
|
50087
50108
|
return true;
|
|
50088
50109
|
};
|
|
50089
|
-
var uppy = (cov_r3t02fgv5().s[
|
|
50110
|
+
var uppy = (cov_r3t02fgv5().s[9]++, useUppy(function () {
|
|
50090
50111
|
cov_r3t02fgv5().f[2]++;
|
|
50091
|
-
cov_r3t02fgv5().s[
|
|
50112
|
+
cov_r3t02fgv5().s[10]++;
|
|
50092
50113
|
return new Uppy(_objectSpread$e(_objectSpread$e({}, uppyConfig), {}, {
|
|
50093
50114
|
onBeforeFileAdded: onBeforeFileAdded
|
|
50094
50115
|
})).use(ActiveStorageUpload, _objectSpread$e({
|
|
50095
50116
|
directUploadUrl: endpoint
|
|
50096
50117
|
}, UPPY_UPLOAD_CONFIG)).on("upload", function () {
|
|
50097
50118
|
cov_r3t02fgv5().f[3]++;
|
|
50098
|
-
cov_r3t02fgv5().s[
|
|
50119
|
+
cov_r3t02fgv5().s[11]++;
|
|
50099
50120
|
return setIsUploading(true);
|
|
50100
50121
|
}).on("upload-success", function (_, res) {
|
|
50101
50122
|
var _res$data;
|
|
50102
50123
|
cov_r3t02fgv5().f[4]++;
|
|
50103
|
-
var blobUrl = (cov_r3t02fgv5().s[
|
|
50104
|
-
cov_r3t02fgv5().s[
|
|
50124
|
+
var blobUrl = (cov_r3t02fgv5().s[12]++, (cov_r3t02fgv5().b[2][0]++, (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.blob_url) || (cov_r3t02fgv5().b[2][1]++, res.blob_url));
|
|
50125
|
+
cov_r3t02fgv5().s[13]++;
|
|
50105
50126
|
onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(blobUrl);
|
|
50106
50127
|
}).on("cancel-all", function () {
|
|
50107
50128
|
cov_r3t02fgv5().f[5]++;
|
|
50108
|
-
cov_r3t02fgv5().s[
|
|
50129
|
+
cov_r3t02fgv5().s[14]++;
|
|
50109
50130
|
return setIsUploading(false);
|
|
50110
50131
|
}).on("complete", function () {
|
|
50111
50132
|
cov_r3t02fgv5().f[6]++;
|
|
50112
|
-
cov_r3t02fgv5().s[14]++;
|
|
50113
|
-
uppy.reset();
|
|
50114
50133
|
cov_r3t02fgv5().s[15]++;
|
|
50134
|
+
uppy.reset();
|
|
50135
|
+
cov_r3t02fgv5().s[16]++;
|
|
50115
50136
|
setIsUploading(false);
|
|
50116
50137
|
});
|
|
50117
50138
|
}));
|
|
50118
|
-
cov_r3t02fgv5().s[
|
|
50139
|
+
cov_r3t02fgv5().s[17]++;
|
|
50119
50140
|
return {
|
|
50120
50141
|
uppy: uppy,
|
|
50121
50142
|
isUploading: isUploading
|
|
@@ -51152,7 +51173,7 @@ var File$1 = function File(_ref) {
|
|
|
51152
51173
|
|
|
51153
51174
|
function cov_13lrfxjoky() {
|
|
51154
51175
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Attachments/Attachment.jsx";
|
|
51155
|
-
var hash = "
|
|
51176
|
+
var hash = "03b8271a8dad7dbf6b4b14dcdc0a6cc589398ccf";
|
|
51156
51177
|
var global = new Function("return this")();
|
|
51157
51178
|
var gcv = "__coverage__";
|
|
51158
51179
|
var coverageData = {
|
|
@@ -52222,7 +52243,7 @@ function cov_13lrfxjoky() {
|
|
|
52222
52243
|
},
|
|
52223
52244
|
end: {
|
|
52224
52245
|
line: 121,
|
|
52225
|
-
column:
|
|
52246
|
+
column: 77
|
|
52226
52247
|
}
|
|
52227
52248
|
},
|
|
52228
52249
|
type: "cond-expr",
|
|
@@ -52233,16 +52254,16 @@ function cov_13lrfxjoky() {
|
|
|
52233
52254
|
},
|
|
52234
52255
|
end: {
|
|
52235
52256
|
line: 121,
|
|
52236
|
-
column:
|
|
52257
|
+
column: 72
|
|
52237
52258
|
}
|
|
52238
52259
|
}, {
|
|
52239
52260
|
start: {
|
|
52240
52261
|
line: 121,
|
|
52241
|
-
column:
|
|
52262
|
+
column: 75
|
|
52242
52263
|
},
|
|
52243
52264
|
end: {
|
|
52244
52265
|
line: 121,
|
|
52245
|
-
column:
|
|
52266
|
+
column: 77
|
|
52246
52267
|
}
|
|
52247
52268
|
}],
|
|
52248
52269
|
line: 121
|
|
@@ -52326,7 +52347,7 @@ function cov_13lrfxjoky() {
|
|
|
52326
52347
|
"7": [0, 0]
|
|
52327
52348
|
},
|
|
52328
52349
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
52329
|
-
hash: "
|
|
52350
|
+
hash: "03b8271a8dad7dbf6b4b14dcdc0a6cc589398ccf"
|
|
52330
52351
|
};
|
|
52331
52352
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
52332
52353
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -52537,7 +52558,7 @@ var Attachment = function Attachment(_ref2) {
|
|
|
52537
52558
|
}, /*#__PURE__*/React__default.createElement(Input, {
|
|
52538
52559
|
autoFocus: true,
|
|
52539
52560
|
"data-cy": "neeto-editor-attachment-rename-input",
|
|
52540
|
-
error: isEmpty$1(newFilename) ? (cov_13lrfxjoky().b[7][0]++, t("attachments.
|
|
52561
|
+
error: isEmpty$1(newFilename) ? (cov_13lrfxjoky().b[7][0]++, t("attachments.nameEmpty")) : (cov_13lrfxjoky().b[7][1]++, ""),
|
|
52541
52562
|
size: "small",
|
|
52542
52563
|
value: newFilename,
|
|
52543
52564
|
onChange: function onChange(e) {
|
|
@@ -52571,7 +52592,7 @@ var Attachment = function Attachment(_ref2) {
|
|
|
52571
52592
|
}, /*#__PURE__*/React__default.createElement(Typography, {
|
|
52572
52593
|
style: "body2"
|
|
52573
52594
|
}, attachment.filename)), /*#__PURE__*/React__default.createElement(Tooltip, {
|
|
52574
|
-
content: t("attachments.
|
|
52595
|
+
content: t("attachments.actionsBlocked"),
|
|
52575
52596
|
disabled: !disabled,
|
|
52576
52597
|
position: "top"
|
|
52577
52598
|
}, /*#__PURE__*/React__default.createElement("span", null, /*#__PURE__*/React__default.createElement(Dropdown$1, {
|
|
@@ -52600,10 +52621,10 @@ var Attachment = function Attachment(_ref2) {
|
|
|
52600
52621
|
})))))))), /*#__PURE__*/React__default.createElement(Alert, {
|
|
52601
52622
|
isOpen: isDeleteAlertOpen,
|
|
52602
52623
|
isSubmitting: isDeleting,
|
|
52603
|
-
message: t("attachments.
|
|
52624
|
+
message: t("attachments.deleteConfirmation", {
|
|
52604
52625
|
entity: newFilename
|
|
52605
52626
|
}),
|
|
52606
|
-
title: t("attachments.
|
|
52627
|
+
title: t("attachments.deleteTitle"),
|
|
52607
52628
|
onClose: function onClose() {
|
|
52608
52629
|
cov_13lrfxjoky().f[12]++;
|
|
52609
52630
|
cov_13lrfxjoky().s[49]++;
|
|
@@ -53443,7 +53464,7 @@ var handleDrop = function handleDrop(_ref4) {
|
|
|
53443
53464
|
|
|
53444
53465
|
function cov_zjfqfoy4d() {
|
|
53445
53466
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Attachments/index.jsx";
|
|
53446
|
-
var hash = "
|
|
53467
|
+
var hash = "78a21063bcf8d8b43320fd72bdb310716e8a9c05";
|
|
53447
53468
|
var global = new Function("return this")();
|
|
53448
53469
|
var gcv = "__coverage__";
|
|
53449
53470
|
var coverageData = {
|
|
@@ -53566,7 +53587,7 @@ function cov_zjfqfoy4d() {
|
|
|
53566
53587
|
},
|
|
53567
53588
|
end: {
|
|
53568
53589
|
line: 57,
|
|
53569
|
-
column:
|
|
53590
|
+
column: 50
|
|
53570
53591
|
}
|
|
53571
53592
|
},
|
|
53572
53593
|
"12": {
|
|
@@ -54056,7 +54077,7 @@ function cov_zjfqfoy4d() {
|
|
|
54056
54077
|
},
|
|
54057
54078
|
end: {
|
|
54058
54079
|
line: 192,
|
|
54059
|
-
column:
|
|
54080
|
+
column: 68
|
|
54060
54081
|
}
|
|
54061
54082
|
}
|
|
54062
54083
|
},
|
|
@@ -55240,7 +55261,7 @@ function cov_zjfqfoy4d() {
|
|
|
55240
55261
|
"19": [0, 0]
|
|
55241
55262
|
},
|
|
55242
55263
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
55243
|
-
hash: "
|
|
55264
|
+
hash: "78a21063bcf8d8b43320fd72bdb310716e8a9c05"
|
|
55244
55265
|
};
|
|
55245
55266
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
55246
55267
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -55312,10 +55333,10 @@ var Attachments = function Attachments(_ref, ref) {
|
|
|
55312
55333
|
});
|
|
55313
55334
|
} catch (error) {
|
|
55314
55335
|
cov_zjfqfoy4d().s[10]++;
|
|
55315
|
-
if (error.message !== t("error.
|
|
55336
|
+
if (error.message !== t("error.onBeforeFileAddedReturn")) {
|
|
55316
55337
|
cov_zjfqfoy4d().b[8][0]++;
|
|
55317
55338
|
cov_zjfqfoy4d().s[11]++;
|
|
55318
|
-
Toastr.error(t("error.
|
|
55339
|
+
Toastr.error(t("error.cannotAddFiles"));
|
|
55319
55340
|
} else {
|
|
55320
55341
|
cov_zjfqfoy4d().b[8][1]++;
|
|
55321
55342
|
}
|
|
@@ -55546,7 +55567,7 @@ var Attachments = function Attachments(_ref, ref) {
|
|
|
55546
55567
|
cov_zjfqfoy4d().s[59]++;
|
|
55547
55568
|
event.preventDefault();
|
|
55548
55569
|
cov_zjfqfoy4d().s[60]++;
|
|
55549
|
-
Toastr.warning(t("attachments.
|
|
55570
|
+
Toastr.warning(t("attachments.oneAttachmentAllowed"));
|
|
55550
55571
|
} else {
|
|
55551
55572
|
cov_zjfqfoy4d().b[18][1]++;
|
|
55552
55573
|
}
|
|
@@ -71183,7 +71204,7 @@ var validateLoomUrl = function validateLoomUrl(url) {
|
|
|
71183
71204
|
|
|
71184
71205
|
function cov_3ld39egr5() {
|
|
71185
71206
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Embeds/index.jsx";
|
|
71186
|
-
var hash = "
|
|
71207
|
+
var hash = "bcf3a4a110cb7a4d0cb0e48ffdbb6e718b80fab2";
|
|
71187
71208
|
var global = new Function("return this")();
|
|
71188
71209
|
var gcv = "__coverage__";
|
|
71189
71210
|
var coverageData = {
|
|
@@ -71195,7 +71216,7 @@ function cov_3ld39egr5() {
|
|
|
71195
71216
|
column: 20
|
|
71196
71217
|
},
|
|
71197
71218
|
end: {
|
|
71198
|
-
line:
|
|
71219
|
+
line: 95,
|
|
71199
71220
|
column: 1
|
|
71200
71221
|
}
|
|
71201
71222
|
},
|
|
@@ -71245,7 +71266,7 @@ function cov_3ld39egr5() {
|
|
|
71245
71266
|
column: 22
|
|
71246
71267
|
},
|
|
71247
71268
|
end: {
|
|
71248
|
-
line:
|
|
71269
|
+
line: 37,
|
|
71249
71270
|
column: 3
|
|
71250
71271
|
}
|
|
71251
71272
|
},
|
|
@@ -71265,7 +71286,7 @@ function cov_3ld39egr5() {
|
|
|
71265
71286
|
column: 4
|
|
71266
71287
|
},
|
|
71267
71288
|
end: {
|
|
71268
|
-
line:
|
|
71289
|
+
line: 36,
|
|
71269
71290
|
column: 5
|
|
71270
71291
|
}
|
|
71271
71292
|
},
|
|
@@ -71275,197 +71296,227 @@ function cov_3ld39egr5() {
|
|
|
71275
71296
|
column: 6
|
|
71276
71297
|
},
|
|
71277
71298
|
end: {
|
|
71278
|
-
line:
|
|
71279
|
-
column:
|
|
71299
|
+
line: 31,
|
|
71300
|
+
column: 15
|
|
71280
71301
|
}
|
|
71281
71302
|
},
|
|
71282
71303
|
"9": {
|
|
71283
71304
|
start: {
|
|
71284
|
-
line:
|
|
71305
|
+
line: 26,
|
|
71306
|
+
column: 37
|
|
71307
|
+
},
|
|
71308
|
+
end: {
|
|
71309
|
+
line: 26,
|
|
71310
|
+
column: 39
|
|
71311
|
+
}
|
|
71312
|
+
},
|
|
71313
|
+
"10": {
|
|
71314
|
+
start: {
|
|
71315
|
+
line: 27,
|
|
71316
|
+
column: 27
|
|
71317
|
+
},
|
|
71318
|
+
end: {
|
|
71319
|
+
line: 27,
|
|
71320
|
+
column: 58
|
|
71321
|
+
}
|
|
71322
|
+
},
|
|
71323
|
+
"11": {
|
|
71324
|
+
start: {
|
|
71325
|
+
line: 29,
|
|
71326
|
+
column: 10
|
|
71327
|
+
},
|
|
71328
|
+
end: {
|
|
71329
|
+
line: 29,
|
|
71330
|
+
column: 75
|
|
71331
|
+
}
|
|
71332
|
+
},
|
|
71333
|
+
"12": {
|
|
71334
|
+
start: {
|
|
71335
|
+
line: 32,
|
|
71285
71336
|
column: 6
|
|
71286
71337
|
},
|
|
71287
71338
|
end: {
|
|
71288
|
-
line:
|
|
71339
|
+
line: 32,
|
|
71289
71340
|
column: 22
|
|
71290
71341
|
}
|
|
71291
71342
|
},
|
|
71292
|
-
"
|
|
71343
|
+
"13": {
|
|
71293
71344
|
start: {
|
|
71294
|
-
line:
|
|
71345
|
+
line: 33,
|
|
71295
71346
|
column: 6
|
|
71296
71347
|
},
|
|
71297
71348
|
end: {
|
|
71298
|
-
line:
|
|
71349
|
+
line: 33,
|
|
71299
71350
|
column: 33
|
|
71300
71351
|
}
|
|
71301
71352
|
},
|
|
71302
|
-
"
|
|
71353
|
+
"14": {
|
|
71303
71354
|
start: {
|
|
71304
|
-
line:
|
|
71355
|
+
line: 35,
|
|
71305
71356
|
column: 6
|
|
71306
71357
|
},
|
|
71307
71358
|
end: {
|
|
71308
|
-
line:
|
|
71359
|
+
line: 35,
|
|
71309
71360
|
column: 21
|
|
71310
71361
|
}
|
|
71311
71362
|
},
|
|
71312
|
-
"
|
|
71363
|
+
"15": {
|
|
71313
71364
|
start: {
|
|
71314
|
-
line:
|
|
71365
|
+
line: 39,
|
|
71315
71366
|
column: 23
|
|
71316
71367
|
},
|
|
71317
71368
|
end: {
|
|
71318
|
-
line:
|
|
71369
|
+
line: 47,
|
|
71319
71370
|
column: 3
|
|
71320
71371
|
}
|
|
71321
71372
|
},
|
|
71322
|
-
"
|
|
71373
|
+
"16": {
|
|
71323
71374
|
start: {
|
|
71324
|
-
line:
|
|
71375
|
+
line: 40,
|
|
71325
71376
|
column: 4
|
|
71326
71377
|
},
|
|
71327
71378
|
end: {
|
|
71328
|
-
line:
|
|
71379
|
+
line: 46,
|
|
71329
71380
|
column: 5
|
|
71330
71381
|
}
|
|
71331
71382
|
},
|
|
71332
|
-
"
|
|
71383
|
+
"17": {
|
|
71333
71384
|
start: {
|
|
71334
|
-
line:
|
|
71385
|
+
line: 41,
|
|
71335
71386
|
column: 6
|
|
71336
71387
|
},
|
|
71337
71388
|
end: {
|
|
71338
|
-
line:
|
|
71389
|
+
line: 41,
|
|
71339
71390
|
column: 22
|
|
71340
71391
|
}
|
|
71341
71392
|
},
|
|
71342
|
-
"
|
|
71393
|
+
"18": {
|
|
71343
71394
|
start: {
|
|
71344
|
-
line:
|
|
71395
|
+
line: 42,
|
|
71345
71396
|
column: 6
|
|
71346
71397
|
},
|
|
71347
71398
|
end: {
|
|
71348
|
-
line:
|
|
71399
|
+
line: 42,
|
|
71349
71400
|
column: 34
|
|
71350
71401
|
}
|
|
71351
71402
|
},
|
|
71352
|
-
"
|
|
71403
|
+
"19": {
|
|
71353
71404
|
start: {
|
|
71354
|
-
line:
|
|
71405
|
+
line: 44,
|
|
71355
71406
|
column: 6
|
|
71356
71407
|
},
|
|
71357
71408
|
end: {
|
|
71358
|
-
line:
|
|
71409
|
+
line: 44,
|
|
71359
71410
|
column: 21
|
|
71360
71411
|
}
|
|
71361
71412
|
},
|
|
71362
|
-
"
|
|
71413
|
+
"20": {
|
|
71363
71414
|
start: {
|
|
71364
|
-
line:
|
|
71415
|
+
line: 45,
|
|
71365
71416
|
column: 6
|
|
71366
71417
|
},
|
|
71367
71418
|
end: {
|
|
71368
|
-
line:
|
|
71419
|
+
line: 45,
|
|
71369
71420
|
column: 34
|
|
71370
71421
|
}
|
|
71371
71422
|
},
|
|
71372
|
-
"
|
|
71423
|
+
"21": {
|
|
71373
71424
|
start: {
|
|
71374
|
-
line:
|
|
71425
|
+
line: 49,
|
|
71375
71426
|
column: 22
|
|
71376
71427
|
},
|
|
71377
71428
|
end: {
|
|
71378
|
-
line:
|
|
71429
|
+
line: 53,
|
|
71379
71430
|
column: 3
|
|
71380
71431
|
}
|
|
71381
71432
|
},
|
|
71382
|
-
"
|
|
71433
|
+
"22": {
|
|
71383
71434
|
start: {
|
|
71384
|
-
line:
|
|
71435
|
+
line: 50,
|
|
71385
71436
|
column: 4
|
|
71386
71437
|
},
|
|
71387
71438
|
end: {
|
|
71388
|
-
line:
|
|
71439
|
+
line: 50,
|
|
71389
71440
|
column: 20
|
|
71390
71441
|
}
|
|
71391
71442
|
},
|
|
71392
|
-
"
|
|
71443
|
+
"23": {
|
|
71393
71444
|
start: {
|
|
71394
|
-
line:
|
|
71445
|
+
line: 51,
|
|
71395
71446
|
column: 4
|
|
71396
71447
|
},
|
|
71397
71448
|
end: {
|
|
71398
|
-
line:
|
|
71449
|
+
line: 51,
|
|
71399
71450
|
column: 20
|
|
71400
71451
|
}
|
|
71401
71452
|
},
|
|
71402
|
-
"
|
|
71453
|
+
"24": {
|
|
71403
71454
|
start: {
|
|
71404
|
-
line:
|
|
71455
|
+
line: 52,
|
|
71405
71456
|
column: 4
|
|
71406
71457
|
},
|
|
71407
71458
|
end: {
|
|
71408
|
-
line:
|
|
71459
|
+
line: 52,
|
|
71409
71460
|
column: 31
|
|
71410
71461
|
}
|
|
71411
71462
|
},
|
|
71412
|
-
"
|
|
71463
|
+
"25": {
|
|
71413
71464
|
start: {
|
|
71414
|
-
line:
|
|
71465
|
+
line: 55,
|
|
71415
71466
|
column: 24
|
|
71416
71467
|
},
|
|
71417
71468
|
end: {
|
|
71418
|
-
line:
|
|
71469
|
+
line: 61,
|
|
71419
71470
|
column: 3
|
|
71420
71471
|
}
|
|
71421
71472
|
},
|
|
71422
|
-
"
|
|
71473
|
+
"26": {
|
|
71423
71474
|
start: {
|
|
71424
|
-
line:
|
|
71475
|
+
line: 56,
|
|
71425
71476
|
column: 4
|
|
71426
71477
|
},
|
|
71427
71478
|
end: {
|
|
71428
|
-
line:
|
|
71479
|
+
line: 60,
|
|
71429
71480
|
column: 5
|
|
71430
71481
|
}
|
|
71431
71482
|
},
|
|
71432
|
-
"
|
|
71483
|
+
"27": {
|
|
71433
71484
|
start: {
|
|
71434
|
-
line:
|
|
71485
|
+
line: 57,
|
|
71435
71486
|
column: 6
|
|
71436
71487
|
},
|
|
71437
71488
|
end: {
|
|
71438
|
-
line:
|
|
71489
|
+
line: 57,
|
|
71439
71490
|
column: 20
|
|
71440
71491
|
}
|
|
71441
71492
|
},
|
|
71442
|
-
"
|
|
71493
|
+
"28": {
|
|
71443
71494
|
start: {
|
|
71444
|
-
line:
|
|
71495
|
+
line: 58,
|
|
71445
71496
|
column: 11
|
|
71446
71497
|
},
|
|
71447
71498
|
end: {
|
|
71448
|
-
line:
|
|
71499
|
+
line: 60,
|
|
71449
71500
|
column: 5
|
|
71450
71501
|
}
|
|
71451
71502
|
},
|
|
71452
|
-
"
|
|
71503
|
+
"29": {
|
|
71453
71504
|
start: {
|
|
71454
|
-
line:
|
|
71505
|
+
line: 59,
|
|
71455
71506
|
column: 6
|
|
71456
71507
|
},
|
|
71457
71508
|
end: {
|
|
71458
|
-
line:
|
|
71509
|
+
line: 59,
|
|
71459
71510
|
column: 20
|
|
71460
71511
|
}
|
|
71461
71512
|
},
|
|
71462
|
-
"
|
|
71513
|
+
"30": {
|
|
71463
71514
|
start: {
|
|
71464
|
-
line:
|
|
71515
|
+
line: 63,
|
|
71465
71516
|
column: 2
|
|
71466
71517
|
},
|
|
71467
71518
|
end: {
|
|
71468
|
-
line:
|
|
71519
|
+
line: 94,
|
|
71469
71520
|
column: 4
|
|
71470
71521
|
}
|
|
71471
71522
|
}
|
|
@@ -71489,7 +71540,7 @@ function cov_3ld39egr5() {
|
|
|
71489
71540
|
column: 75
|
|
71490
71541
|
},
|
|
71491
71542
|
end: {
|
|
71492
|
-
line:
|
|
71543
|
+
line: 95,
|
|
71493
71544
|
column: 1
|
|
71494
71545
|
}
|
|
71495
71546
|
},
|
|
@@ -71513,7 +71564,7 @@ function cov_3ld39egr5() {
|
|
|
71513
71564
|
column: 28
|
|
71514
71565
|
},
|
|
71515
71566
|
end: {
|
|
71516
|
-
line:
|
|
71567
|
+
line: 37,
|
|
71517
71568
|
column: 3
|
|
71518
71569
|
}
|
|
71519
71570
|
},
|
|
@@ -71523,36 +71574,36 @@ function cov_3ld39egr5() {
|
|
|
71523
71574
|
name: "(anonymous_2)",
|
|
71524
71575
|
decl: {
|
|
71525
71576
|
start: {
|
|
71526
|
-
line:
|
|
71527
|
-
column:
|
|
71577
|
+
line: 25,
|
|
71578
|
+
column: 17
|
|
71528
71579
|
},
|
|
71529
71580
|
end: {
|
|
71530
|
-
line:
|
|
71531
|
-
column:
|
|
71581
|
+
line: 25,
|
|
71582
|
+
column: 18
|
|
71532
71583
|
}
|
|
71533
71584
|
},
|
|
71534
71585
|
loc: {
|
|
71535
71586
|
start: {
|
|
71536
|
-
line:
|
|
71537
|
-
column:
|
|
71587
|
+
line: 25,
|
|
71588
|
+
column: 39
|
|
71538
71589
|
},
|
|
71539
71590
|
end: {
|
|
71540
|
-
line:
|
|
71541
|
-
column:
|
|
71591
|
+
line: 30,
|
|
71592
|
+
column: 9
|
|
71542
71593
|
}
|
|
71543
71594
|
},
|
|
71544
|
-
line:
|
|
71595
|
+
line: 25
|
|
71545
71596
|
},
|
|
71546
71597
|
"3": {
|
|
71547
71598
|
name: "(anonymous_3)",
|
|
71548
71599
|
decl: {
|
|
71549
71600
|
start: {
|
|
71550
71601
|
line: 39,
|
|
71551
|
-
column:
|
|
71602
|
+
column: 23
|
|
71552
71603
|
},
|
|
71553
71604
|
end: {
|
|
71554
71605
|
line: 39,
|
|
71555
|
-
column:
|
|
71606
|
+
column: 24
|
|
71556
71607
|
}
|
|
71557
71608
|
},
|
|
71558
71609
|
loc: {
|
|
@@ -71561,7 +71612,7 @@ function cov_3ld39egr5() {
|
|
|
71561
71612
|
column: 28
|
|
71562
71613
|
},
|
|
71563
71614
|
end: {
|
|
71564
|
-
line:
|
|
71615
|
+
line: 47,
|
|
71565
71616
|
column: 3
|
|
71566
71617
|
}
|
|
71567
71618
|
},
|
|
@@ -71571,25 +71622,49 @@ function cov_3ld39egr5() {
|
|
|
71571
71622
|
name: "(anonymous_4)",
|
|
71572
71623
|
decl: {
|
|
71573
71624
|
start: {
|
|
71574
|
-
line:
|
|
71625
|
+
line: 49,
|
|
71626
|
+
column: 22
|
|
71627
|
+
},
|
|
71628
|
+
end: {
|
|
71629
|
+
line: 49,
|
|
71630
|
+
column: 23
|
|
71631
|
+
}
|
|
71632
|
+
},
|
|
71633
|
+
loc: {
|
|
71634
|
+
start: {
|
|
71635
|
+
line: 49,
|
|
71636
|
+
column: 28
|
|
71637
|
+
},
|
|
71638
|
+
end: {
|
|
71639
|
+
line: 53,
|
|
71640
|
+
column: 3
|
|
71641
|
+
}
|
|
71642
|
+
},
|
|
71643
|
+
line: 49
|
|
71644
|
+
},
|
|
71645
|
+
"5": {
|
|
71646
|
+
name: "(anonymous_5)",
|
|
71647
|
+
decl: {
|
|
71648
|
+
start: {
|
|
71649
|
+
line: 55,
|
|
71575
71650
|
column: 24
|
|
71576
71651
|
},
|
|
71577
71652
|
end: {
|
|
71578
|
-
line:
|
|
71653
|
+
line: 55,
|
|
71579
71654
|
column: 25
|
|
71580
71655
|
}
|
|
71581
71656
|
},
|
|
71582
71657
|
loc: {
|
|
71583
71658
|
start: {
|
|
71584
|
-
line:
|
|
71659
|
+
line: 55,
|
|
71585
71660
|
column: 29
|
|
71586
71661
|
},
|
|
71587
71662
|
end: {
|
|
71588
|
-
line:
|
|
71663
|
+
line: 61,
|
|
71589
71664
|
column: 3
|
|
71590
71665
|
}
|
|
71591
71666
|
},
|
|
71592
|
-
line:
|
|
71667
|
+
line: 55
|
|
71593
71668
|
}
|
|
71594
71669
|
},
|
|
71595
71670
|
branchMap: {
|
|
@@ -71600,7 +71675,7 @@ function cov_3ld39egr5() {
|
|
|
71600
71675
|
column: 4
|
|
71601
71676
|
},
|
|
71602
71677
|
end: {
|
|
71603
|
-
line:
|
|
71678
|
+
line: 36,
|
|
71604
71679
|
column: 5
|
|
71605
71680
|
}
|
|
71606
71681
|
},
|
|
@@ -71611,16 +71686,16 @@ function cov_3ld39egr5() {
|
|
|
71611
71686
|
column: 4
|
|
71612
71687
|
},
|
|
71613
71688
|
end: {
|
|
71614
|
-
line:
|
|
71689
|
+
line: 36,
|
|
71615
71690
|
column: 5
|
|
71616
71691
|
}
|
|
71617
71692
|
}, {
|
|
71618
71693
|
start: {
|
|
71619
|
-
line:
|
|
71694
|
+
line: 34,
|
|
71620
71695
|
column: 11
|
|
71621
71696
|
},
|
|
71622
71697
|
end: {
|
|
71623
|
-
line:
|
|
71698
|
+
line: 36,
|
|
71624
71699
|
column: 5
|
|
71625
71700
|
}
|
|
71626
71701
|
}],
|
|
@@ -71629,88 +71704,88 @@ function cov_3ld39egr5() {
|
|
|
71629
71704
|
"1": {
|
|
71630
71705
|
loc: {
|
|
71631
71706
|
start: {
|
|
71632
|
-
line:
|
|
71707
|
+
line: 40,
|
|
71633
71708
|
column: 4
|
|
71634
71709
|
},
|
|
71635
71710
|
end: {
|
|
71636
|
-
line:
|
|
71711
|
+
line: 46,
|
|
71637
71712
|
column: 5
|
|
71638
71713
|
}
|
|
71639
71714
|
},
|
|
71640
71715
|
type: "if",
|
|
71641
71716
|
locations: [{
|
|
71642
71717
|
start: {
|
|
71643
|
-
line:
|
|
71718
|
+
line: 40,
|
|
71644
71719
|
column: 4
|
|
71645
71720
|
},
|
|
71646
71721
|
end: {
|
|
71647
|
-
line:
|
|
71722
|
+
line: 46,
|
|
71648
71723
|
column: 5
|
|
71649
71724
|
}
|
|
71650
71725
|
}, {
|
|
71651
71726
|
start: {
|
|
71652
|
-
line:
|
|
71727
|
+
line: 43,
|
|
71653
71728
|
column: 11
|
|
71654
71729
|
},
|
|
71655
71730
|
end: {
|
|
71656
|
-
line:
|
|
71731
|
+
line: 46,
|
|
71657
71732
|
column: 5
|
|
71658
71733
|
}
|
|
71659
71734
|
}],
|
|
71660
|
-
line:
|
|
71735
|
+
line: 40
|
|
71661
71736
|
},
|
|
71662
71737
|
"2": {
|
|
71663
71738
|
loc: {
|
|
71664
71739
|
start: {
|
|
71665
|
-
line:
|
|
71740
|
+
line: 56,
|
|
71666
71741
|
column: 4
|
|
71667
71742
|
},
|
|
71668
71743
|
end: {
|
|
71669
|
-
line:
|
|
71744
|
+
line: 60,
|
|
71670
71745
|
column: 5
|
|
71671
71746
|
}
|
|
71672
71747
|
},
|
|
71673
71748
|
type: "if",
|
|
71674
71749
|
locations: [{
|
|
71675
71750
|
start: {
|
|
71676
|
-
line:
|
|
71751
|
+
line: 56,
|
|
71677
71752
|
column: 4
|
|
71678
71753
|
},
|
|
71679
71754
|
end: {
|
|
71680
|
-
line:
|
|
71755
|
+
line: 60,
|
|
71681
71756
|
column: 5
|
|
71682
71757
|
}
|
|
71683
71758
|
}, {
|
|
71684
71759
|
start: {
|
|
71685
|
-
line:
|
|
71760
|
+
line: 58,
|
|
71686
71761
|
column: 11
|
|
71687
71762
|
},
|
|
71688
71763
|
end: {
|
|
71689
|
-
line:
|
|
71764
|
+
line: 60,
|
|
71690
71765
|
column: 5
|
|
71691
71766
|
}
|
|
71692
71767
|
}],
|
|
71693
|
-
line:
|
|
71768
|
+
line: 56
|
|
71694
71769
|
},
|
|
71695
71770
|
"3": {
|
|
71696
71771
|
loc: {
|
|
71697
71772
|
start: {
|
|
71698
|
-
line:
|
|
71773
|
+
line: 58,
|
|
71699
71774
|
column: 11
|
|
71700
71775
|
},
|
|
71701
71776
|
end: {
|
|
71702
|
-
line:
|
|
71777
|
+
line: 60,
|
|
71703
71778
|
column: 5
|
|
71704
71779
|
}
|
|
71705
71780
|
},
|
|
71706
71781
|
type: "if",
|
|
71707
71782
|
locations: [{
|
|
71708
71783
|
start: {
|
|
71709
|
-
line:
|
|
71784
|
+
line: 58,
|
|
71710
71785
|
column: 11
|
|
71711
71786
|
},
|
|
71712
71787
|
end: {
|
|
71713
|
-
line:
|
|
71788
|
+
line: 60,
|
|
71714
71789
|
column: 5
|
|
71715
71790
|
}
|
|
71716
71791
|
}, {
|
|
@@ -71723,73 +71798,73 @@ function cov_3ld39egr5() {
|
|
|
71723
71798
|
column: undefined
|
|
71724
71799
|
}
|
|
71725
71800
|
}],
|
|
71726
|
-
line:
|
|
71801
|
+
line: 58
|
|
71727
71802
|
},
|
|
71728
71803
|
"4": {
|
|
71729
71804
|
loc: {
|
|
71730
71805
|
start: {
|
|
71731
|
-
line:
|
|
71806
|
+
line: 75,
|
|
71732
71807
|
column: 17
|
|
71733
71808
|
},
|
|
71734
71809
|
end: {
|
|
71735
|
-
line:
|
|
71810
|
+
line: 75,
|
|
71736
71811
|
column: 52
|
|
71737
71812
|
}
|
|
71738
71813
|
},
|
|
71739
71814
|
type: "binary-expr",
|
|
71740
71815
|
locations: [{
|
|
71741
71816
|
start: {
|
|
71742
|
-
line:
|
|
71817
|
+
line: 75,
|
|
71743
71818
|
column: 17
|
|
71744
71819
|
},
|
|
71745
71820
|
end: {
|
|
71746
|
-
line:
|
|
71821
|
+
line: 75,
|
|
71747
71822
|
column: 22
|
|
71748
71823
|
}
|
|
71749
71824
|
}, {
|
|
71750
71825
|
start: {
|
|
71751
|
-
line:
|
|
71826
|
+
line: 75,
|
|
71752
71827
|
column: 26
|
|
71753
71828
|
},
|
|
71754
71829
|
end: {
|
|
71755
|
-
line:
|
|
71830
|
+
line: 75,
|
|
71756
71831
|
column: 52
|
|
71757
71832
|
}
|
|
71758
71833
|
}],
|
|
71759
|
-
line:
|
|
71834
|
+
line: 75
|
|
71760
71835
|
},
|
|
71761
71836
|
"5": {
|
|
71762
71837
|
loc: {
|
|
71763
71838
|
start: {
|
|
71764
|
-
line:
|
|
71839
|
+
line: 88,
|
|
71765
71840
|
column: 20
|
|
71766
71841
|
},
|
|
71767
71842
|
end: {
|
|
71768
|
-
line:
|
|
71843
|
+
line: 88,
|
|
71769
71844
|
column: 46
|
|
71770
71845
|
}
|
|
71771
71846
|
},
|
|
71772
71847
|
type: "binary-expr",
|
|
71773
71848
|
locations: [{
|
|
71774
71849
|
start: {
|
|
71775
|
-
line:
|
|
71850
|
+
line: 88,
|
|
71776
71851
|
column: 20
|
|
71777
71852
|
},
|
|
71778
71853
|
end: {
|
|
71779
|
-
line:
|
|
71854
|
+
line: 88,
|
|
71780
71855
|
column: 25
|
|
71781
71856
|
}
|
|
71782
71857
|
}, {
|
|
71783
71858
|
start: {
|
|
71784
|
-
line:
|
|
71859
|
+
line: 88,
|
|
71785
71860
|
column: 29
|
|
71786
71861
|
},
|
|
71787
71862
|
end: {
|
|
71788
|
-
line:
|
|
71863
|
+
line: 88,
|
|
71789
71864
|
column: 46
|
|
71790
71865
|
}
|
|
71791
71866
|
}],
|
|
71792
|
-
line:
|
|
71867
|
+
line: 88
|
|
71793
71868
|
}
|
|
71794
71869
|
},
|
|
71795
71870
|
s: {
|
|
@@ -71820,14 +71895,18 @@ function cov_3ld39egr5() {
|
|
|
71820
71895
|
"24": 0,
|
|
71821
71896
|
"25": 0,
|
|
71822
71897
|
"26": 0,
|
|
71823
|
-
"27": 0
|
|
71898
|
+
"27": 0,
|
|
71899
|
+
"28": 0,
|
|
71900
|
+
"29": 0,
|
|
71901
|
+
"30": 0
|
|
71824
71902
|
},
|
|
71825
71903
|
f: {
|
|
71826
71904
|
"0": 0,
|
|
71827
71905
|
"1": 0,
|
|
71828
71906
|
"2": 0,
|
|
71829
71907
|
"3": 0,
|
|
71830
|
-
"4": 0
|
|
71908
|
+
"4": 0,
|
|
71909
|
+
"5": 0
|
|
71831
71910
|
},
|
|
71832
71911
|
b: {
|
|
71833
71912
|
"0": [0, 0],
|
|
@@ -71838,7 +71917,7 @@ function cov_3ld39egr5() {
|
|
|
71838
71917
|
"5": [0, 0]
|
|
71839
71918
|
},
|
|
71840
71919
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
71841
|
-
hash: "
|
|
71920
|
+
hash: "bcf3a4a110cb7a4d0cb0e48ffdbb6e718b80fab2"
|
|
71842
71921
|
};
|
|
71843
71922
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
71844
71923
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -71881,66 +71960,78 @@ var EmbedOption = function EmbedOption(_ref) {
|
|
|
71881
71960
|
cov_3ld39egr5().s[8]++;
|
|
71882
71961
|
editor.chain().focus().setExternalVideo({
|
|
71883
71962
|
src: validatedUrl
|
|
71963
|
+
}).command(function (_ref7) {
|
|
71964
|
+
var tr = _ref7.tr,
|
|
71965
|
+
commands = _ref7.commands;
|
|
71966
|
+
cov_3ld39egr5().f[2]++;
|
|
71967
|
+
var _ref8 = (cov_3ld39egr5().s[9]++, tr),
|
|
71968
|
+
doc = _ref8.doc,
|
|
71969
|
+
selection = _ref8.selection;
|
|
71970
|
+
var position = (cov_3ld39egr5().s[10]++, doc.resolve(selection.to).end());
|
|
71971
|
+
cov_3ld39egr5().s[11]++;
|
|
71972
|
+
return commands.insertContentAt(position, {
|
|
71973
|
+
type: "paragraph"
|
|
71974
|
+
});
|
|
71884
71975
|
}).run();
|
|
71885
|
-
cov_3ld39egr5().s[
|
|
71976
|
+
cov_3ld39egr5().s[12]++;
|
|
71886
71977
|
setEmbedUrl("");
|
|
71887
|
-
cov_3ld39egr5().s[
|
|
71978
|
+
cov_3ld39egr5().s[13]++;
|
|
71888
71979
|
setIsEmbedModalOpen(false);
|
|
71889
71980
|
} else {
|
|
71890
71981
|
cov_3ld39egr5().b[0][1]++;
|
|
71891
|
-
cov_3ld39egr5().s[
|
|
71982
|
+
cov_3ld39egr5().s[14]++;
|
|
71892
71983
|
setError(true);
|
|
71893
71984
|
}
|
|
71894
71985
|
};
|
|
71895
|
-
cov_3ld39egr5().s[
|
|
71986
|
+
cov_3ld39egr5().s[15]++;
|
|
71896
71987
|
var handleChange = function handleChange(e) {
|
|
71897
|
-
cov_3ld39egr5().f[
|
|
71898
|
-
cov_3ld39egr5().s[
|
|
71988
|
+
cov_3ld39egr5().f[3]++;
|
|
71989
|
+
cov_3ld39egr5().s[16]++;
|
|
71899
71990
|
if (validateUrl(e.target.value)) {
|
|
71900
71991
|
cov_3ld39egr5().b[1][0]++;
|
|
71901
|
-
cov_3ld39egr5().s[
|
|
71992
|
+
cov_3ld39egr5().s[17]++;
|
|
71902
71993
|
setError(false);
|
|
71903
|
-
cov_3ld39egr5().s[
|
|
71994
|
+
cov_3ld39egr5().s[18]++;
|
|
71904
71995
|
setEmbedUrl(e.target.value);
|
|
71905
71996
|
} else {
|
|
71906
71997
|
cov_3ld39egr5().b[1][1]++;
|
|
71907
|
-
cov_3ld39egr5().s[
|
|
71998
|
+
cov_3ld39egr5().s[19]++;
|
|
71908
71999
|
setError(true);
|
|
71909
|
-
cov_3ld39egr5().s[
|
|
72000
|
+
cov_3ld39egr5().s[20]++;
|
|
71910
72001
|
setEmbedUrl(e.target.value);
|
|
71911
72002
|
}
|
|
71912
72003
|
};
|
|
71913
|
-
cov_3ld39egr5().s[
|
|
72004
|
+
cov_3ld39egr5().s[21]++;
|
|
71914
72005
|
var handleClose = function handleClose() {
|
|
71915
|
-
cov_3ld39egr5().f[
|
|
71916
|
-
cov_3ld39egr5().s[
|
|
72006
|
+
cov_3ld39egr5().f[4]++;
|
|
72007
|
+
cov_3ld39egr5().s[22]++;
|
|
71917
72008
|
setEmbedUrl("");
|
|
71918
|
-
cov_3ld39egr5().s[
|
|
72009
|
+
cov_3ld39egr5().s[23]++;
|
|
71919
72010
|
setError(false);
|
|
71920
|
-
cov_3ld39egr5().s[
|
|
72011
|
+
cov_3ld39egr5().s[24]++;
|
|
71921
72012
|
setIsEmbedModalOpen(false);
|
|
71922
72013
|
};
|
|
71923
|
-
cov_3ld39egr5().s[
|
|
72014
|
+
cov_3ld39egr5().s[25]++;
|
|
71924
72015
|
var handleKeyDown = function handleKeyDown(e) {
|
|
71925
|
-
cov_3ld39egr5().f[
|
|
71926
|
-
cov_3ld39egr5().s[
|
|
72016
|
+
cov_3ld39egr5().f[5]++;
|
|
72017
|
+
cov_3ld39egr5().s[26]++;
|
|
71927
72018
|
if (e.key === "Enter") {
|
|
71928
72019
|
cov_3ld39egr5().b[2][0]++;
|
|
71929
|
-
cov_3ld39egr5().s[
|
|
72020
|
+
cov_3ld39egr5().s[27]++;
|
|
71930
72021
|
handleEmbed();
|
|
71931
72022
|
} else {
|
|
71932
72023
|
cov_3ld39egr5().b[2][1]++;
|
|
71933
|
-
cov_3ld39egr5().s[
|
|
72024
|
+
cov_3ld39egr5().s[28]++;
|
|
71934
72025
|
if (e.key === "Escape") {
|
|
71935
72026
|
cov_3ld39egr5().b[3][0]++;
|
|
71936
|
-
cov_3ld39egr5().s[
|
|
72027
|
+
cov_3ld39egr5().s[29]++;
|
|
71937
72028
|
handleClose();
|
|
71938
72029
|
} else {
|
|
71939
72030
|
cov_3ld39egr5().b[3][1]++;
|
|
71940
72031
|
}
|
|
71941
72032
|
}
|
|
71942
72033
|
};
|
|
71943
|
-
cov_3ld39egr5().s[
|
|
72034
|
+
cov_3ld39egr5().s[30]++;
|
|
71944
72035
|
return /*#__PURE__*/React__default.createElement(Modal, {
|
|
71945
72036
|
initialFocusRef: inputRef,
|
|
71946
72037
|
isOpen: isEmbedModalOpen,
|
|
@@ -71952,7 +72043,7 @@ var EmbedOption = function EmbedOption(_ref) {
|
|
|
71952
72043
|
}, /*#__PURE__*/React__default.createElement(Input, {
|
|
71953
72044
|
"data-cy": "neeto-editor-embed-input",
|
|
71954
72045
|
error: (cov_3ld39egr5().b[4][0]++, error) && (cov_3ld39egr5().b[4][1]++, "Please enter a valid URL"),
|
|
71955
|
-
label: t("common.
|
|
72046
|
+
label: t("common.videoUrl"),
|
|
71956
72047
|
ref: inputRef,
|
|
71957
72048
|
size: "medium",
|
|
71958
72049
|
type: "text",
|
|
@@ -80564,7 +80655,7 @@ var CustomCommands = Extension.create({
|
|
|
80564
80655
|
|
|
80565
80656
|
function cov_xd1lqdp2c() {
|
|
80566
80657
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Embeds/ExtensionConfig.js";
|
|
80567
|
-
var hash = "
|
|
80658
|
+
var hash = "7af08054aaff81d7719d311bd77cec28ce338b6a";
|
|
80568
80659
|
var global = new Function("return this")();
|
|
80569
80660
|
var gcv = "__coverage__";
|
|
80570
80661
|
var coverageData = {
|
|
@@ -80666,7 +80757,7 @@ function cov_xd1lqdp2c() {
|
|
|
80666
80757
|
column: 4
|
|
80667
80758
|
},
|
|
80668
80759
|
end: {
|
|
80669
|
-
line:
|
|
80760
|
+
line: 106,
|
|
80670
80761
|
column: 6
|
|
80671
80762
|
}
|
|
80672
80763
|
},
|
|
@@ -80706,7 +80797,7 @@ function cov_xd1lqdp2c() {
|
|
|
80706
80797
|
column: 10
|
|
80707
80798
|
},
|
|
80708
80799
|
end: {
|
|
80709
|
-
line:
|
|
80800
|
+
line: 103,
|
|
80710
80801
|
column: 11
|
|
80711
80802
|
}
|
|
80712
80803
|
},
|
|
@@ -80729,6 +80820,26 @@ function cov_xd1lqdp2c() {
|
|
|
80729
80820
|
line: 94,
|
|
80730
80821
|
column: 46
|
|
80731
80822
|
}
|
|
80823
|
+
},
|
|
80824
|
+
"16": {
|
|
80825
|
+
start: {
|
|
80826
|
+
line: 95,
|
|
80827
|
+
column: 12
|
|
80828
|
+
},
|
|
80829
|
+
end: {
|
|
80830
|
+
line: 98,
|
|
80831
|
+
column: 14
|
|
80832
|
+
}
|
|
80833
|
+
},
|
|
80834
|
+
"17": {
|
|
80835
|
+
start: {
|
|
80836
|
+
line: 100,
|
|
80837
|
+
column: 12
|
|
80838
|
+
},
|
|
80839
|
+
end: {
|
|
80840
|
+
line: 102,
|
|
80841
|
+
column: 14
|
|
80842
|
+
}
|
|
80732
80843
|
}
|
|
80733
80844
|
},
|
|
80734
80845
|
fnMap: {
|
|
@@ -80966,7 +81077,7 @@ function cov_xd1lqdp2c() {
|
|
|
80966
81077
|
column: 18
|
|
80967
81078
|
},
|
|
80968
81079
|
end: {
|
|
80969
|
-
line:
|
|
81080
|
+
line: 107,
|
|
80970
81081
|
column: 3
|
|
80971
81082
|
}
|
|
80972
81083
|
},
|
|
@@ -80990,7 +81101,7 @@ function cov_xd1lqdp2c() {
|
|
|
80990
81101
|
column: 46
|
|
80991
81102
|
},
|
|
80992
81103
|
end: {
|
|
80993
|
-
line:
|
|
81104
|
+
line: 104,
|
|
80994
81105
|
column: 9
|
|
80995
81106
|
}
|
|
80996
81107
|
},
|
|
@@ -81038,7 +81149,7 @@ function cov_xd1lqdp2c() {
|
|
|
81038
81149
|
column: 10
|
|
81039
81150
|
},
|
|
81040
81151
|
end: {
|
|
81041
|
-
line:
|
|
81152
|
+
line: 103,
|
|
81042
81153
|
column: 11
|
|
81043
81154
|
}
|
|
81044
81155
|
},
|
|
@@ -81049,7 +81160,7 @@ function cov_xd1lqdp2c() {
|
|
|
81049
81160
|
column: 10
|
|
81050
81161
|
},
|
|
81051
81162
|
end: {
|
|
81052
|
-
line:
|
|
81163
|
+
line: 103,
|
|
81053
81164
|
column: 11
|
|
81054
81165
|
}
|
|
81055
81166
|
}, {
|
|
@@ -81081,7 +81192,9 @@ function cov_xd1lqdp2c() {
|
|
|
81081
81192
|
"12": 0,
|
|
81082
81193
|
"13": 0,
|
|
81083
81194
|
"14": 0,
|
|
81084
|
-
"15": 0
|
|
81195
|
+
"15": 0,
|
|
81196
|
+
"16": 0,
|
|
81197
|
+
"17": 0
|
|
81085
81198
|
},
|
|
81086
81199
|
f: {
|
|
81087
81200
|
"0": 0,
|
|
@@ -81101,7 +81214,7 @@ function cov_xd1lqdp2c() {
|
|
|
81101
81214
|
"1": [0, 0]
|
|
81102
81215
|
},
|
|
81103
81216
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
81104
|
-
hash: "
|
|
81217
|
+
hash: "7af08054aaff81d7719d311bd77cec28ce338b6a"
|
|
81105
81218
|
};
|
|
81106
81219
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
81107
81220
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -81219,6 +81332,10 @@ var Embeds = Node$1.create({
|
|
|
81219
81332
|
}));
|
|
81220
81333
|
cov_xd1lqdp2c().s[15]++;
|
|
81221
81334
|
state.tr.insert(range.from, node);
|
|
81335
|
+
cov_xd1lqdp2c().s[16]++;
|
|
81336
|
+
state.tr.insert(range.from + node.nodeSize + 1, state.schema.nodes.paragraph.create());
|
|
81337
|
+
cov_xd1lqdp2c().s[17]++;
|
|
81338
|
+
state.tr.setSelection(TextSelection.create(state.tr.doc, range.from + node.nodeSize + 1));
|
|
81222
81339
|
} else {
|
|
81223
81340
|
cov_xd1lqdp2c().b[1][1]++;
|
|
81224
81341
|
}
|
|
@@ -89521,7 +89638,7 @@ var Resizable = /** @class */ (function (_super) {
|
|
|
89521
89638
|
|
|
89522
89639
|
function cov_15b9syaiuk() {
|
|
89523
89640
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Image/Menu.jsx";
|
|
89524
|
-
var hash = "
|
|
89641
|
+
var hash = "3ba46b3dc117ea42db34d1a84f99da5fb0eba973";
|
|
89525
89642
|
var global = new Function("return this")();
|
|
89526
89643
|
var gcv = "__coverage__";
|
|
89527
89644
|
var coverageData = {
|
|
@@ -89529,71 +89646,71 @@ function cov_15b9syaiuk() {
|
|
|
89529
89646
|
statementMap: {
|
|
89530
89647
|
"0": {
|
|
89531
89648
|
start: {
|
|
89532
|
-
line:
|
|
89649
|
+
line: 8,
|
|
89533
89650
|
column: 13
|
|
89534
89651
|
},
|
|
89535
89652
|
end: {
|
|
89536
|
-
line:
|
|
89653
|
+
line: 34,
|
|
89537
89654
|
column: 1
|
|
89538
89655
|
}
|
|
89539
89656
|
},
|
|
89540
89657
|
"1": {
|
|
89541
89658
|
start: {
|
|
89542
|
-
line:
|
|
89659
|
+
line: 9,
|
|
89543
89660
|
column: 22
|
|
89544
89661
|
},
|
|
89545
89662
|
end: {
|
|
89546
|
-
line:
|
|
89663
|
+
line: 9,
|
|
89547
89664
|
column: 41
|
|
89548
89665
|
}
|
|
89549
89666
|
},
|
|
89550
89667
|
"2": {
|
|
89551
89668
|
start: {
|
|
89552
|
-
line:
|
|
89669
|
+
line: 11,
|
|
89553
89670
|
column: 22
|
|
89554
89671
|
},
|
|
89555
89672
|
end: {
|
|
89556
|
-
line:
|
|
89673
|
+
line: 12,
|
|
89557
89674
|
column: 54
|
|
89558
89675
|
}
|
|
89559
89676
|
},
|
|
89560
89677
|
"3": {
|
|
89561
89678
|
start: {
|
|
89562
|
-
line:
|
|
89679
|
+
line: 12,
|
|
89563
89680
|
column: 4
|
|
89564
89681
|
},
|
|
89565
89682
|
end: {
|
|
89566
|
-
line:
|
|
89683
|
+
line: 12,
|
|
89567
89684
|
column: 54
|
|
89568
89685
|
}
|
|
89569
89686
|
},
|
|
89570
89687
|
"4": {
|
|
89571
89688
|
start: {
|
|
89572
|
-
line:
|
|
89689
|
+
line: 14,
|
|
89573
89690
|
column: 2
|
|
89574
89691
|
},
|
|
89575
89692
|
end: {
|
|
89576
|
-
line:
|
|
89693
|
+
line: 33,
|
|
89577
89694
|
column: 4
|
|
89578
89695
|
}
|
|
89579
89696
|
},
|
|
89580
89697
|
"5": {
|
|
89581
89698
|
start: {
|
|
89582
|
-
line:
|
|
89699
|
+
line: 24,
|
|
89583
89700
|
column: 8
|
|
89584
89701
|
},
|
|
89585
89702
|
end: {
|
|
89586
|
-
line:
|
|
89703
|
+
line: 30,
|
|
89587
89704
|
column: 10
|
|
89588
89705
|
}
|
|
89589
89706
|
},
|
|
89590
89707
|
"6": {
|
|
89591
89708
|
start: {
|
|
89592
|
-
line:
|
|
89709
|
+
line: 29,
|
|
89593
89710
|
column: 25
|
|
89594
89711
|
},
|
|
89595
89712
|
end: {
|
|
89596
|
-
line:
|
|
89713
|
+
line: 29,
|
|
89597
89714
|
column: 46
|
|
89598
89715
|
}
|
|
89599
89716
|
}
|
|
@@ -89603,165 +89720,165 @@ function cov_15b9syaiuk() {
|
|
|
89603
89720
|
name: "(anonymous_0)",
|
|
89604
89721
|
decl: {
|
|
89605
89722
|
start: {
|
|
89606
|
-
line:
|
|
89723
|
+
line: 8,
|
|
89607
89724
|
column: 13
|
|
89608
89725
|
},
|
|
89609
89726
|
end: {
|
|
89610
|
-
line:
|
|
89727
|
+
line: 8,
|
|
89611
89728
|
column: 14
|
|
89612
89729
|
}
|
|
89613
89730
|
},
|
|
89614
89731
|
loc: {
|
|
89615
89732
|
start: {
|
|
89616
|
-
line:
|
|
89733
|
+
line: 8,
|
|
89617
89734
|
column: 58
|
|
89618
89735
|
},
|
|
89619
89736
|
end: {
|
|
89620
|
-
line:
|
|
89737
|
+
line: 34,
|
|
89621
89738
|
column: 1
|
|
89622
89739
|
}
|
|
89623
89740
|
},
|
|
89624
|
-
line:
|
|
89741
|
+
line: 8
|
|
89625
89742
|
},
|
|
89626
89743
|
"1": {
|
|
89627
89744
|
name: "(anonymous_1)",
|
|
89628
89745
|
decl: {
|
|
89629
89746
|
start: {
|
|
89630
|
-
line:
|
|
89747
|
+
line: 11,
|
|
89631
89748
|
column: 22
|
|
89632
89749
|
},
|
|
89633
89750
|
end: {
|
|
89634
|
-
line:
|
|
89751
|
+
line: 11,
|
|
89635
89752
|
column: 23
|
|
89636
89753
|
}
|
|
89637
89754
|
},
|
|
89638
89755
|
loc: {
|
|
89639
89756
|
start: {
|
|
89640
|
-
line:
|
|
89757
|
+
line: 12,
|
|
89641
89758
|
column: 4
|
|
89642
89759
|
},
|
|
89643
89760
|
end: {
|
|
89644
|
-
line:
|
|
89761
|
+
line: 12,
|
|
89645
89762
|
column: 54
|
|
89646
89763
|
}
|
|
89647
89764
|
},
|
|
89648
|
-
line:
|
|
89765
|
+
line: 12
|
|
89649
89766
|
},
|
|
89650
89767
|
"2": {
|
|
89651
89768
|
name: "(anonymous_2)",
|
|
89652
89769
|
decl: {
|
|
89653
89770
|
start: {
|
|
89654
|
-
line:
|
|
89771
|
+
line: 23,
|
|
89655
89772
|
column: 23
|
|
89656
89773
|
},
|
|
89657
89774
|
end: {
|
|
89658
|
-
line:
|
|
89775
|
+
line: 23,
|
|
89659
89776
|
column: 24
|
|
89660
89777
|
}
|
|
89661
89778
|
},
|
|
89662
89779
|
loc: {
|
|
89663
89780
|
start: {
|
|
89664
|
-
line:
|
|
89781
|
+
line: 24,
|
|
89665
89782
|
column: 8
|
|
89666
89783
|
},
|
|
89667
89784
|
end: {
|
|
89668
|
-
line:
|
|
89785
|
+
line: 30,
|
|
89669
89786
|
column: 10
|
|
89670
89787
|
}
|
|
89671
89788
|
},
|
|
89672
|
-
line:
|
|
89789
|
+
line: 24
|
|
89673
89790
|
},
|
|
89674
89791
|
"3": {
|
|
89675
89792
|
name: "(anonymous_3)",
|
|
89676
89793
|
decl: {
|
|
89677
89794
|
start: {
|
|
89678
|
-
line:
|
|
89795
|
+
line: 29,
|
|
89679
89796
|
column: 19
|
|
89680
89797
|
},
|
|
89681
89798
|
end: {
|
|
89682
|
-
line:
|
|
89799
|
+
line: 29,
|
|
89683
89800
|
column: 20
|
|
89684
89801
|
}
|
|
89685
89802
|
},
|
|
89686
89803
|
loc: {
|
|
89687
89804
|
start: {
|
|
89688
|
-
line:
|
|
89805
|
+
line: 29,
|
|
89689
89806
|
column: 25
|
|
89690
89807
|
},
|
|
89691
89808
|
end: {
|
|
89692
|
-
line:
|
|
89809
|
+
line: 29,
|
|
89693
89810
|
column: 46
|
|
89694
89811
|
}
|
|
89695
89812
|
},
|
|
89696
|
-
line:
|
|
89813
|
+
line: 29
|
|
89697
89814
|
}
|
|
89698
89815
|
},
|
|
89699
89816
|
branchMap: {
|
|
89700
89817
|
"0": {
|
|
89701
89818
|
loc: {
|
|
89702
89819
|
start: {
|
|
89703
|
-
line:
|
|
89820
|
+
line: 12,
|
|
89704
89821
|
column: 4
|
|
89705
89822
|
},
|
|
89706
89823
|
end: {
|
|
89707
|
-
line:
|
|
89824
|
+
line: 12,
|
|
89708
89825
|
column: 54
|
|
89709
89826
|
}
|
|
89710
89827
|
},
|
|
89711
89828
|
type: "cond-expr",
|
|
89712
89829
|
locations: [{
|
|
89713
89830
|
start: {
|
|
89714
|
-
line:
|
|
89831
|
+
line: 12,
|
|
89715
89832
|
column: 12
|
|
89716
89833
|
},
|
|
89717
89834
|
end: {
|
|
89718
|
-
line:
|
|
89835
|
+
line: 12,
|
|
89719
89836
|
column: 39
|
|
89720
89837
|
}
|
|
89721
89838
|
}, {
|
|
89722
89839
|
start: {
|
|
89723
|
-
line:
|
|
89840
|
+
line: 12,
|
|
89724
89841
|
column: 42
|
|
89725
89842
|
},
|
|
89726
89843
|
end: {
|
|
89727
|
-
line:
|
|
89844
|
+
line: 12,
|
|
89728
89845
|
column: 54
|
|
89729
89846
|
}
|
|
89730
89847
|
}],
|
|
89731
|
-
line:
|
|
89848
|
+
line: 12
|
|
89732
89849
|
},
|
|
89733
89850
|
"1": {
|
|
89734
89851
|
loc: {
|
|
89735
89852
|
start: {
|
|
89736
|
-
line:
|
|
89853
|
+
line: 27,
|
|
89737
89854
|
column: 17
|
|
89738
89855
|
},
|
|
89739
89856
|
end: {
|
|
89740
|
-
line:
|
|
89857
|
+
line: 27,
|
|
89741
89858
|
column: 58
|
|
89742
89859
|
}
|
|
89743
89860
|
},
|
|
89744
89861
|
type: "cond-expr",
|
|
89745
89862
|
locations: [{
|
|
89746
89863
|
start: {
|
|
89747
|
-
line:
|
|
89864
|
+
line: 27,
|
|
89748
89865
|
column: 38
|
|
89749
89866
|
},
|
|
89750
89867
|
end: {
|
|
89751
|
-
line:
|
|
89868
|
+
line: 27,
|
|
89752
89869
|
column: 49
|
|
89753
89870
|
}
|
|
89754
89871
|
}, {
|
|
89755
89872
|
start: {
|
|
89756
|
-
line:
|
|
89873
|
+
line: 27,
|
|
89757
89874
|
column: 52
|
|
89758
89875
|
},
|
|
89759
89876
|
end: {
|
|
89760
|
-
line:
|
|
89877
|
+
line: 27,
|
|
89761
89878
|
column: 58
|
|
89762
89879
|
}
|
|
89763
89880
|
}],
|
|
89764
|
-
line:
|
|
89881
|
+
line: 27
|
|
89765
89882
|
}
|
|
89766
89883
|
},
|
|
89767
89884
|
s: {
|
|
@@ -89784,7 +89901,7 @@ function cov_15b9syaiuk() {
|
|
|
89784
89901
|
"1": [0, 0]
|
|
89785
89902
|
},
|
|
89786
89903
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
89787
|
-
hash: "
|
|
89904
|
+
hash: "3ba46b3dc117ea42db34d1a84f99da5fb0eba973"
|
|
89788
89905
|
};
|
|
89789
89906
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
89790
89907
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -89836,7 +89953,7 @@ var Menu$7 = function Menu(_ref) {
|
|
|
89836
89953
|
key: optionName,
|
|
89837
89954
|
style: alignPos === align ? (cov_15b9syaiuk().b[1][0]++, "secondary") : (cov_15b9syaiuk().b[1][1]++, "text"),
|
|
89838
89955
|
tooltipProps: {
|
|
89839
|
-
content:
|
|
89956
|
+
content: optionName,
|
|
89840
89957
|
position: "top"
|
|
89841
89958
|
},
|
|
89842
89959
|
onClick: function onClick() {
|
|
@@ -90169,7 +90286,7 @@ var ImageComponent = function ImageComponent(_ref) {
|
|
|
90169
90286
|
var _excluded$9 = ["caption"];
|
|
90170
90287
|
function cov_ksv9azglk() {
|
|
90171
90288
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Image/ExtensionConfig.js";
|
|
90172
|
-
var hash = "
|
|
90289
|
+
var hash = "3bebbf402f81491dd9c9f45cd7e242485e38da56";
|
|
90173
90290
|
var global = new Function("return this")();
|
|
90174
90291
|
var gcv = "__coverage__";
|
|
90175
90292
|
var coverageData = {
|
|
@@ -90177,411 +90294,411 @@ function cov_ksv9azglk() {
|
|
|
90177
90294
|
statementMap: {
|
|
90178
90295
|
"0": {
|
|
90179
90296
|
start: {
|
|
90180
|
-
line:
|
|
90297
|
+
line: 14,
|
|
90181
90298
|
column: 23
|
|
90182
90299
|
},
|
|
90183
90300
|
end: {
|
|
90184
|
-
line:
|
|
90301
|
+
line: 127,
|
|
90185
90302
|
column: 2
|
|
90186
90303
|
}
|
|
90187
90304
|
},
|
|
90188
90305
|
"1": {
|
|
90189
90306
|
start: {
|
|
90190
|
-
line:
|
|
90307
|
+
line: 18,
|
|
90191
90308
|
column: 4
|
|
90192
90309
|
},
|
|
90193
90310
|
end: {
|
|
90194
|
-
line:
|
|
90311
|
+
line: 20,
|
|
90195
90312
|
column: 6
|
|
90196
90313
|
}
|
|
90197
90314
|
},
|
|
90198
90315
|
"2": {
|
|
90199
90316
|
start: {
|
|
90200
|
-
line:
|
|
90317
|
+
line: 32,
|
|
90201
90318
|
column: 4
|
|
90202
90319
|
},
|
|
90203
90320
|
end: {
|
|
90204
|
-
line:
|
|
90321
|
+
line: 60,
|
|
90205
90322
|
column: 6
|
|
90206
90323
|
}
|
|
90207
90324
|
},
|
|
90208
90325
|
"3": {
|
|
90209
90326
|
start: {
|
|
90210
|
-
line:
|
|
90327
|
+
line: 35,
|
|
90211
90328
|
column: 30
|
|
90212
90329
|
},
|
|
90213
90330
|
end: {
|
|
90214
|
-
line:
|
|
90331
|
+
line: 35,
|
|
90215
90332
|
column: 79
|
|
90216
90333
|
}
|
|
90217
90334
|
},
|
|
90218
90335
|
"4": {
|
|
90219
90336
|
start: {
|
|
90220
|
-
line:
|
|
90337
|
+
line: 40,
|
|
90221
90338
|
column: 30
|
|
90222
90339
|
},
|
|
90223
90340
|
end: {
|
|
90224
|
-
line:
|
|
90341
|
+
line: 40,
|
|
90225
90342
|
column: 79
|
|
90226
90343
|
}
|
|
90227
90344
|
},
|
|
90228
90345
|
"5": {
|
|
90229
90346
|
start: {
|
|
90230
|
-
line:
|
|
90347
|
+
line: 46,
|
|
90231
90348
|
column: 10
|
|
90232
90349
|
},
|
|
90233
90350
|
end: {
|
|
90234
|
-
line:
|
|
90351
|
+
line: 46,
|
|
90235
90352
|
column: 65
|
|
90236
90353
|
}
|
|
90237
90354
|
},
|
|
90238
90355
|
"6": {
|
|
90239
90356
|
start: {
|
|
90240
|
-
line:
|
|
90357
|
+
line: 52,
|
|
90241
90358
|
column: 10
|
|
90242
90359
|
},
|
|
90243
90360
|
end: {
|
|
90244
|
-
line:
|
|
90361
|
+
line: 52,
|
|
90245
90362
|
column: 64
|
|
90246
90363
|
}
|
|
90247
90364
|
},
|
|
90248
90365
|
"7": {
|
|
90249
90366
|
start: {
|
|
90250
|
-
line:
|
|
90367
|
+
line: 58,
|
|
90251
90368
|
column: 10
|
|
90252
90369
|
},
|
|
90253
90370
|
end: {
|
|
90254
|
-
line:
|
|
90371
|
+
line: 58,
|
|
90255
90372
|
column: 61
|
|
90256
90373
|
}
|
|
90257
90374
|
},
|
|
90258
90375
|
"8": {
|
|
90259
90376
|
start: {
|
|
90260
|
-
line:
|
|
90377
|
+
line: 64,
|
|
90261
90378
|
column: 4
|
|
90262
90379
|
},
|
|
90263
90380
|
end: {
|
|
90264
|
-
line:
|
|
90381
|
+
line: 69,
|
|
90265
90382
|
column: 6
|
|
90266
90383
|
}
|
|
90267
90384
|
},
|
|
90268
90385
|
"9": {
|
|
90269
90386
|
start: {
|
|
90270
|
-
line:
|
|
90387
|
+
line: 73,
|
|
90271
90388
|
column: 48
|
|
90272
90389
|
},
|
|
90273
90390
|
end: {
|
|
90274
|
-
line:
|
|
90391
|
+
line: 73,
|
|
90275
90392
|
column: 58
|
|
90276
90393
|
}
|
|
90277
90394
|
},
|
|
90278
90395
|
"10": {
|
|
90279
90396
|
start: {
|
|
90280
|
-
line:
|
|
90397
|
+
line: 75,
|
|
90281
90398
|
column: 22
|
|
90282
90399
|
},
|
|
90283
90400
|
end: {
|
|
90284
|
-
line:
|
|
90401
|
+
line: 80,
|
|
90285
90402
|
column: 5
|
|
90286
90403
|
}
|
|
90287
90404
|
},
|
|
90288
90405
|
"11": {
|
|
90289
90406
|
start: {
|
|
90290
|
-
line:
|
|
90407
|
+
line: 82,
|
|
90291
90408
|
column: 24
|
|
90292
90409
|
},
|
|
90293
90410
|
end: {
|
|
90294
|
-
line:
|
|
90411
|
+
line: 85,
|
|
90295
90412
|
column: 5
|
|
90296
90413
|
}
|
|
90297
90414
|
},
|
|
90298
90415
|
"12": {
|
|
90299
90416
|
start: {
|
|
90300
|
-
line:
|
|
90417
|
+
line: 87,
|
|
90301
90418
|
column: 4
|
|
90302
90419
|
},
|
|
90303
90420
|
end: {
|
|
90304
|
-
line:
|
|
90421
|
+
line: 106,
|
|
90305
90422
|
column: 6
|
|
90306
90423
|
}
|
|
90307
90424
|
},
|
|
90308
90425
|
"13": {
|
|
90309
90426
|
start: {
|
|
90310
|
-
line:
|
|
90427
|
+
line: 110,
|
|
90311
90428
|
column: 4
|
|
90312
90429
|
},
|
|
90313
90430
|
end: {
|
|
90314
|
-
line:
|
|
90431
|
+
line: 110,
|
|
90315
90432
|
column: 49
|
|
90316
90433
|
}
|
|
90317
90434
|
},
|
|
90318
90435
|
"14": {
|
|
90319
90436
|
start: {
|
|
90320
|
-
line:
|
|
90437
|
+
line: 114,
|
|
90321
90438
|
column: 4
|
|
90322
90439
|
},
|
|
90323
90440
|
end: {
|
|
90324
|
-
line:
|
|
90441
|
+
line: 125,
|
|
90325
90442
|
column: 6
|
|
90326
90443
|
}
|
|
90327
90444
|
},
|
|
90328
90445
|
"15": {
|
|
90329
90446
|
start: {
|
|
90330
|
-
line:
|
|
90447
|
+
line: 117,
|
|
90331
90448
|
column: 8
|
|
90332
90449
|
},
|
|
90333
90450
|
end: {
|
|
90334
|
-
line:
|
|
90451
|
+
line: 124,
|
|
90335
90452
|
column: 18
|
|
90336
90453
|
}
|
|
90337
90454
|
},
|
|
90338
90455
|
"16": {
|
|
90339
90456
|
start: {
|
|
90340
|
-
line:
|
|
90457
|
+
line: 118,
|
|
90341
90458
|
column: 10
|
|
90342
90459
|
},
|
|
90343
90460
|
end: {
|
|
90344
|
-
line:
|
|
90461
|
+
line: 124,
|
|
90345
90462
|
column: 18
|
|
90346
90463
|
}
|
|
90347
90464
|
},
|
|
90348
90465
|
"17": {
|
|
90349
90466
|
start: {
|
|
90350
|
-
line:
|
|
90467
|
+
line: 129,
|
|
90351
90468
|
column: 15
|
|
90352
90469
|
},
|
|
90353
90470
|
end: {
|
|
90354
|
-
line:
|
|
90471
|
+
line: 141,
|
|
90355
90472
|
column: 1
|
|
90356
90473
|
}
|
|
90357
90474
|
},
|
|
90358
90475
|
"18": {
|
|
90359
90476
|
start: {
|
|
90360
|
-
line:
|
|
90477
|
+
line: 130,
|
|
90361
90478
|
column: 2
|
|
90362
90479
|
},
|
|
90363
90480
|
end: {
|
|
90364
|
-
line:
|
|
90481
|
+
line: 135,
|
|
90365
90482
|
column: 3
|
|
90366
90483
|
}
|
|
90367
90484
|
},
|
|
90368
90485
|
"19": {
|
|
90369
90486
|
start: {
|
|
90370
|
-
line:
|
|
90487
|
+
line: 131,
|
|
90371
90488
|
column: 21
|
|
90372
90489
|
},
|
|
90373
90490
|
end: {
|
|
90374
|
-
line:
|
|
90491
|
+
line: 131,
|
|
90375
90492
|
column: 52
|
|
90376
90493
|
}
|
|
90377
90494
|
},
|
|
90378
90495
|
"20": {
|
|
90379
90496
|
start: {
|
|
90380
|
-
line:
|
|
90497
|
+
line: 132,
|
|
90381
90498
|
column: 21
|
|
90382
90499
|
},
|
|
90383
90500
|
end: {
|
|
90384
|
-
line:
|
|
90501
|
+
line: 132,
|
|
90385
90502
|
column: 44
|
|
90386
90503
|
}
|
|
90387
90504
|
},
|
|
90388
90505
|
"21": {
|
|
90389
90506
|
start: {
|
|
90390
|
-
line:
|
|
90507
|
+
line: 134,
|
|
90391
90508
|
column: 4
|
|
90392
90509
|
},
|
|
90393
90510
|
end: {
|
|
90394
|
-
line:
|
|
90511
|
+
line: 134,
|
|
90395
90512
|
column: 56
|
|
90396
90513
|
}
|
|
90397
90514
|
},
|
|
90398
90515
|
"22": {
|
|
90399
90516
|
start: {
|
|
90400
|
-
line:
|
|
90517
|
+
line: 137,
|
|
90401
90518
|
column: 24
|
|
90402
90519
|
},
|
|
90403
90520
|
end: {
|
|
90404
|
-
line:
|
|
90521
|
+
line: 137,
|
|
90405
90522
|
column: 54
|
|
90406
90523
|
}
|
|
90407
90524
|
},
|
|
90408
90525
|
"23": {
|
|
90409
90526
|
start: {
|
|
90410
|
-
line:
|
|
90527
|
+
line: 138,
|
|
90411
90528
|
column: 2
|
|
90412
90529
|
},
|
|
90413
90530
|
end: {
|
|
90414
|
-
line:
|
|
90415
|
-
column:
|
|
90531
|
+
line: 138,
|
|
90532
|
+
column: 77
|
|
90416
90533
|
}
|
|
90417
90534
|
},
|
|
90418
90535
|
"24": {
|
|
90419
90536
|
start: {
|
|
90420
|
-
line:
|
|
90537
|
+
line: 140,
|
|
90421
90538
|
column: 2
|
|
90422
90539
|
},
|
|
90423
90540
|
end: {
|
|
90424
|
-
line:
|
|
90541
|
+
line: 140,
|
|
90425
90542
|
column: 12
|
|
90426
90543
|
}
|
|
90427
90544
|
},
|
|
90428
90545
|
"25": {
|
|
90429
90546
|
start: {
|
|
90430
|
-
line:
|
|
90547
|
+
line: 145,
|
|
90431
90548
|
column: 4
|
|
90432
90549
|
},
|
|
90433
90550
|
end: {
|
|
90434
|
-
line:
|
|
90551
|
+
line: 185,
|
|
90435
90552
|
column: 6
|
|
90436
90553
|
}
|
|
90437
90554
|
},
|
|
90438
90555
|
"26": {
|
|
90439
90556
|
start: {
|
|
90440
|
-
line:
|
|
90557
|
+
line: 147,
|
|
90441
90558
|
column: 8
|
|
90442
90559
|
},
|
|
90443
90560
|
end: {
|
|
90444
|
-
line:
|
|
90561
|
+
line: 183,
|
|
90445
90562
|
column: 10
|
|
90446
90563
|
}
|
|
90447
90564
|
},
|
|
90448
90565
|
"27": {
|
|
90449
90566
|
start: {
|
|
90450
|
-
line:
|
|
90567
|
+
line: 157,
|
|
90451
90568
|
column: 22
|
|
90452
90569
|
},
|
|
90453
90570
|
end: {
|
|
90454
|
-
line:
|
|
90571
|
+
line: 157,
|
|
90455
90572
|
column: 32
|
|
90456
90573
|
}
|
|
90457
90574
|
},
|
|
90458
90575
|
"28": {
|
|
90459
90576
|
start: {
|
|
90460
|
-
line:
|
|
90577
|
+
line: 158,
|
|
90461
90578
|
column: 35
|
|
90462
90579
|
},
|
|
90463
90580
|
end: {
|
|
90464
|
-
line:
|
|
90581
|
+
line: 158,
|
|
90465
90582
|
column: 69
|
|
90466
90583
|
}
|
|
90467
90584
|
},
|
|
90468
90585
|
"29": {
|
|
90469
90586
|
start: {
|
|
90470
|
-
line:
|
|
90587
|
+
line: 160,
|
|
90471
90588
|
column: 18
|
|
90472
90589
|
},
|
|
90473
90590
|
end: {
|
|
90474
|
-
line:
|
|
90591
|
+
line: 160,
|
|
90475
90592
|
column: 40
|
|
90476
90593
|
}
|
|
90477
90594
|
},
|
|
90478
90595
|
"30": {
|
|
90479
90596
|
start: {
|
|
90480
|
-
line:
|
|
90597
|
+
line: 160,
|
|
90481
90598
|
column: 33
|
|
90482
90599
|
},
|
|
90483
90600
|
end: {
|
|
90484
|
-
line:
|
|
90601
|
+
line: 160,
|
|
90485
90602
|
column: 40
|
|
90486
90603
|
}
|
|
90487
90604
|
},
|
|
90488
90605
|
"31": {
|
|
90489
90606
|
start: {
|
|
90490
|
-
line:
|
|
90607
|
+
line: 162,
|
|
90491
90608
|
column: 33
|
|
90492
90609
|
},
|
|
90493
90610
|
end: {
|
|
90494
|
-
line:
|
|
90611
|
+
line: 164,
|
|
90495
90612
|
column: 19
|
|
90496
90613
|
}
|
|
90497
90614
|
},
|
|
90498
90615
|
"32": {
|
|
90499
90616
|
start: {
|
|
90500
|
-
line:
|
|
90617
|
+
line: 163,
|
|
90501
90618
|
column: 28
|
|
90502
90619
|
},
|
|
90503
90620
|
end: {
|
|
90504
|
-
line:
|
|
90621
|
+
line: 163,
|
|
90505
90622
|
column: 52
|
|
90506
90623
|
}
|
|
90507
90624
|
},
|
|
90508
90625
|
"33": {
|
|
90509
90626
|
start: {
|
|
90510
|
-
line:
|
|
90627
|
+
line: 166,
|
|
90511
90628
|
column: 18
|
|
90512
90629
|
},
|
|
90513
90630
|
end: {
|
|
90514
|
-
line:
|
|
90631
|
+
line: 166,
|
|
90515
90632
|
column: 46
|
|
90516
90633
|
}
|
|
90517
90634
|
},
|
|
90518
90635
|
"34": {
|
|
90519
90636
|
start: {
|
|
90520
|
-
line:
|
|
90637
|
+
line: 166,
|
|
90521
90638
|
column: 39
|
|
90522
90639
|
},
|
|
90523
90640
|
end: {
|
|
90524
|
-
line:
|
|
90641
|
+
line: 166,
|
|
90525
90642
|
column: 46
|
|
90526
90643
|
}
|
|
90527
90644
|
},
|
|
90528
90645
|
"35": {
|
|
90529
90646
|
start: {
|
|
90530
|
-
line:
|
|
90647
|
+
line: 168,
|
|
90531
90648
|
column: 18
|
|
90532
90649
|
},
|
|
90533
90650
|
end: {
|
|
90534
|
-
line:
|
|
90651
|
+
line: 168,
|
|
90535
90652
|
column: 41
|
|
90536
90653
|
}
|
|
90537
90654
|
},
|
|
90538
90655
|
"36": {
|
|
90539
90656
|
start: {
|
|
90540
|
-
line:
|
|
90657
|
+
line: 170,
|
|
90541
90658
|
column: 18
|
|
90542
90659
|
},
|
|
90543
90660
|
end: {
|
|
90544
|
-
line:
|
|
90661
|
+
line: 178,
|
|
90545
90662
|
column: 21
|
|
90546
90663
|
}
|
|
90547
90664
|
},
|
|
90548
90665
|
"37": {
|
|
90549
90666
|
start: {
|
|
90550
|
-
line:
|
|
90667
|
+
line: 171,
|
|
90551
90668
|
column: 33
|
|
90552
90669
|
},
|
|
90553
90670
|
end: {
|
|
90554
|
-
line:
|
|
90671
|
+
line: 173,
|
|
90555
90672
|
column: 22
|
|
90556
90673
|
}
|
|
90557
90674
|
},
|
|
90558
90675
|
"38": {
|
|
90559
90676
|
start: {
|
|
90560
|
-
line:
|
|
90677
|
+
line: 174,
|
|
90561
90678
|
column: 20
|
|
90562
90679
|
},
|
|
90563
90680
|
end: {
|
|
90564
|
-
line:
|
|
90681
|
+
line: 177,
|
|
90565
90682
|
column: 21
|
|
90566
90683
|
}
|
|
90567
90684
|
},
|
|
90568
90685
|
"39": {
|
|
90569
90686
|
start: {
|
|
90570
|
-
line:
|
|
90687
|
+
line: 175,
|
|
90571
90688
|
column: 42
|
|
90572
90689
|
},
|
|
90573
90690
|
end: {
|
|
90574
|
-
line:
|
|
90691
|
+
line: 175,
|
|
90575
90692
|
column: 73
|
|
90576
90693
|
}
|
|
90577
90694
|
},
|
|
90578
90695
|
"40": {
|
|
90579
90696
|
start: {
|
|
90580
|
-
line:
|
|
90697
|
+
line: 176,
|
|
90581
90698
|
column: 22
|
|
90582
90699
|
},
|
|
90583
90700
|
end: {
|
|
90584
|
-
line:
|
|
90701
|
+
line: 176,
|
|
90585
90702
|
column: 49
|
|
90586
90703
|
}
|
|
90587
90704
|
}
|
|
@@ -90591,512 +90708,512 @@ function cov_ksv9azglk() {
|
|
|
90591
90708
|
name: "(anonymous_0)",
|
|
90592
90709
|
decl: {
|
|
90593
90710
|
start: {
|
|
90594
|
-
line:
|
|
90711
|
+
line: 17,
|
|
90595
90712
|
column: 2
|
|
90596
90713
|
},
|
|
90597
90714
|
end: {
|
|
90598
|
-
line:
|
|
90715
|
+
line: 17,
|
|
90599
90716
|
column: 3
|
|
90600
90717
|
}
|
|
90601
90718
|
},
|
|
90602
90719
|
loc: {
|
|
90603
90720
|
start: {
|
|
90604
|
-
line:
|
|
90721
|
+
line: 17,
|
|
90605
90722
|
column: 15
|
|
90606
90723
|
},
|
|
90607
90724
|
end: {
|
|
90608
|
-
line:
|
|
90725
|
+
line: 21,
|
|
90609
90726
|
column: 3
|
|
90610
90727
|
}
|
|
90611
90728
|
},
|
|
90612
|
-
line:
|
|
90729
|
+
line: 17
|
|
90613
90730
|
},
|
|
90614
90731
|
"1": {
|
|
90615
90732
|
name: "(anonymous_1)",
|
|
90616
90733
|
decl: {
|
|
90617
90734
|
start: {
|
|
90618
|
-
line:
|
|
90735
|
+
line: 31,
|
|
90619
90736
|
column: 2
|
|
90620
90737
|
},
|
|
90621
90738
|
end: {
|
|
90622
|
-
line:
|
|
90739
|
+
line: 31,
|
|
90623
90740
|
column: 3
|
|
90624
90741
|
}
|
|
90625
90742
|
},
|
|
90626
90743
|
loc: {
|
|
90627
90744
|
start: {
|
|
90628
|
-
line:
|
|
90745
|
+
line: 31,
|
|
90629
90746
|
column: 18
|
|
90630
90747
|
},
|
|
90631
90748
|
end: {
|
|
90632
|
-
line:
|
|
90749
|
+
line: 61,
|
|
90633
90750
|
column: 3
|
|
90634
90751
|
}
|
|
90635
90752
|
},
|
|
90636
|
-
line:
|
|
90753
|
+
line: 31
|
|
90637
90754
|
},
|
|
90638
90755
|
"2": {
|
|
90639
90756
|
name: "(anonymous_2)",
|
|
90640
90757
|
decl: {
|
|
90641
90758
|
start: {
|
|
90642
|
-
line:
|
|
90759
|
+
line: 35,
|
|
90643
90760
|
column: 19
|
|
90644
90761
|
},
|
|
90645
90762
|
end: {
|
|
90646
|
-
line:
|
|
90763
|
+
line: 35,
|
|
90647
90764
|
column: 20
|
|
90648
90765
|
}
|
|
90649
90766
|
},
|
|
90650
90767
|
loc: {
|
|
90651
90768
|
start: {
|
|
90652
|
-
line:
|
|
90769
|
+
line: 35,
|
|
90653
90770
|
column: 30
|
|
90654
90771
|
},
|
|
90655
90772
|
end: {
|
|
90656
|
-
line:
|
|
90773
|
+
line: 35,
|
|
90657
90774
|
column: 79
|
|
90658
90775
|
}
|
|
90659
90776
|
},
|
|
90660
|
-
line:
|
|
90777
|
+
line: 35
|
|
90661
90778
|
},
|
|
90662
90779
|
"3": {
|
|
90663
90780
|
name: "(anonymous_3)",
|
|
90664
90781
|
decl: {
|
|
90665
90782
|
start: {
|
|
90666
|
-
line:
|
|
90783
|
+
line: 40,
|
|
90667
90784
|
column: 19
|
|
90668
90785
|
},
|
|
90669
90786
|
end: {
|
|
90670
|
-
line:
|
|
90787
|
+
line: 40,
|
|
90671
90788
|
column: 20
|
|
90672
90789
|
}
|
|
90673
90790
|
},
|
|
90674
90791
|
loc: {
|
|
90675
90792
|
start: {
|
|
90676
|
-
line:
|
|
90793
|
+
line: 40,
|
|
90677
90794
|
column: 30
|
|
90678
90795
|
},
|
|
90679
90796
|
end: {
|
|
90680
|
-
line:
|
|
90797
|
+
line: 40,
|
|
90681
90798
|
column: 79
|
|
90682
90799
|
}
|
|
90683
90800
|
},
|
|
90684
|
-
line:
|
|
90801
|
+
line: 40
|
|
90685
90802
|
},
|
|
90686
90803
|
"4": {
|
|
90687
90804
|
name: "(anonymous_4)",
|
|
90688
90805
|
decl: {
|
|
90689
90806
|
start: {
|
|
90690
|
-
line:
|
|
90807
|
+
line: 45,
|
|
90691
90808
|
column: 19
|
|
90692
90809
|
},
|
|
90693
90810
|
end: {
|
|
90694
|
-
line:
|
|
90811
|
+
line: 45,
|
|
90695
90812
|
column: 20
|
|
90696
90813
|
}
|
|
90697
90814
|
},
|
|
90698
90815
|
loc: {
|
|
90699
90816
|
start: {
|
|
90700
|
-
line:
|
|
90817
|
+
line: 46,
|
|
90701
90818
|
column: 10
|
|
90702
90819
|
},
|
|
90703
90820
|
end: {
|
|
90704
|
-
line:
|
|
90821
|
+
line: 46,
|
|
90705
90822
|
column: 65
|
|
90706
90823
|
}
|
|
90707
90824
|
},
|
|
90708
|
-
line:
|
|
90825
|
+
line: 46
|
|
90709
90826
|
},
|
|
90710
90827
|
"5": {
|
|
90711
90828
|
name: "(anonymous_5)",
|
|
90712
90829
|
decl: {
|
|
90713
90830
|
start: {
|
|
90714
|
-
line:
|
|
90831
|
+
line: 51,
|
|
90715
90832
|
column: 19
|
|
90716
90833
|
},
|
|
90717
90834
|
end: {
|
|
90718
|
-
line:
|
|
90835
|
+
line: 51,
|
|
90719
90836
|
column: 20
|
|
90720
90837
|
}
|
|
90721
90838
|
},
|
|
90722
90839
|
loc: {
|
|
90723
90840
|
start: {
|
|
90724
|
-
line:
|
|
90841
|
+
line: 52,
|
|
90725
90842
|
column: 10
|
|
90726
90843
|
},
|
|
90727
90844
|
end: {
|
|
90728
|
-
line:
|
|
90845
|
+
line: 52,
|
|
90729
90846
|
column: 64
|
|
90730
90847
|
}
|
|
90731
90848
|
},
|
|
90732
|
-
line:
|
|
90849
|
+
line: 52
|
|
90733
90850
|
},
|
|
90734
90851
|
"6": {
|
|
90735
90852
|
name: "(anonymous_6)",
|
|
90736
90853
|
decl: {
|
|
90737
90854
|
start: {
|
|
90738
|
-
line:
|
|
90855
|
+
line: 57,
|
|
90739
90856
|
column: 19
|
|
90740
90857
|
},
|
|
90741
90858
|
end: {
|
|
90742
|
-
line:
|
|
90859
|
+
line: 57,
|
|
90743
90860
|
column: 20
|
|
90744
90861
|
}
|
|
90745
90862
|
},
|
|
90746
90863
|
loc: {
|
|
90747
90864
|
start: {
|
|
90748
|
-
line:
|
|
90865
|
+
line: 58,
|
|
90749
90866
|
column: 10
|
|
90750
90867
|
},
|
|
90751
90868
|
end: {
|
|
90752
|
-
line:
|
|
90869
|
+
line: 58,
|
|
90753
90870
|
column: 61
|
|
90754
90871
|
}
|
|
90755
90872
|
},
|
|
90756
|
-
line:
|
|
90873
|
+
line: 58
|
|
90757
90874
|
},
|
|
90758
90875
|
"7": {
|
|
90759
90876
|
name: "(anonymous_7)",
|
|
90760
90877
|
decl: {
|
|
90761
90878
|
start: {
|
|
90762
|
-
line:
|
|
90879
|
+
line: 63,
|
|
90763
90880
|
column: 2
|
|
90764
90881
|
},
|
|
90765
90882
|
end: {
|
|
90766
|
-
line:
|
|
90883
|
+
line: 63,
|
|
90767
90884
|
column: 3
|
|
90768
90885
|
}
|
|
90769
90886
|
},
|
|
90770
90887
|
loc: {
|
|
90771
90888
|
start: {
|
|
90772
|
-
line:
|
|
90889
|
+
line: 63,
|
|
90773
90890
|
column: 14
|
|
90774
90891
|
},
|
|
90775
90892
|
end: {
|
|
90776
|
-
line:
|
|
90893
|
+
line: 70,
|
|
90777
90894
|
column: 3
|
|
90778
90895
|
}
|
|
90779
90896
|
},
|
|
90780
|
-
line:
|
|
90897
|
+
line: 63
|
|
90781
90898
|
},
|
|
90782
90899
|
"8": {
|
|
90783
90900
|
name: "(anonymous_8)",
|
|
90784
90901
|
decl: {
|
|
90785
90902
|
start: {
|
|
90786
|
-
line:
|
|
90903
|
+
line: 72,
|
|
90787
90904
|
column: 2
|
|
90788
90905
|
},
|
|
90789
90906
|
end: {
|
|
90790
|
-
line:
|
|
90907
|
+
line: 72,
|
|
90791
90908
|
column: 3
|
|
90792
90909
|
}
|
|
90793
90910
|
},
|
|
90794
90911
|
loc: {
|
|
90795
90912
|
start: {
|
|
90796
|
-
line:
|
|
90913
|
+
line: 72,
|
|
90797
90914
|
column: 39
|
|
90798
90915
|
},
|
|
90799
90916
|
end: {
|
|
90800
|
-
line:
|
|
90917
|
+
line: 107,
|
|
90801
90918
|
column: 3
|
|
90802
90919
|
}
|
|
90803
90920
|
},
|
|
90804
|
-
line:
|
|
90921
|
+
line: 72
|
|
90805
90922
|
},
|
|
90806
90923
|
"9": {
|
|
90807
90924
|
name: "(anonymous_9)",
|
|
90808
90925
|
decl: {
|
|
90809
90926
|
start: {
|
|
90810
|
-
line:
|
|
90927
|
+
line: 109,
|
|
90811
90928
|
column: 2
|
|
90812
90929
|
},
|
|
90813
90930
|
end: {
|
|
90814
|
-
line:
|
|
90931
|
+
line: 109,
|
|
90815
90932
|
column: 3
|
|
90816
90933
|
}
|
|
90817
90934
|
},
|
|
90818
90935
|
loc: {
|
|
90819
90936
|
start: {
|
|
90820
|
-
line:
|
|
90937
|
+
line: 109,
|
|
90821
90938
|
column: 16
|
|
90822
90939
|
},
|
|
90823
90940
|
end: {
|
|
90824
|
-
line:
|
|
90941
|
+
line: 111,
|
|
90825
90942
|
column: 3
|
|
90826
90943
|
}
|
|
90827
90944
|
},
|
|
90828
|
-
line:
|
|
90945
|
+
line: 109
|
|
90829
90946
|
},
|
|
90830
90947
|
"10": {
|
|
90831
90948
|
name: "(anonymous_10)",
|
|
90832
90949
|
decl: {
|
|
90833
90950
|
start: {
|
|
90834
|
-
line:
|
|
90951
|
+
line: 113,
|
|
90835
90952
|
column: 2
|
|
90836
90953
|
},
|
|
90837
90954
|
end: {
|
|
90838
|
-
line:
|
|
90955
|
+
line: 113,
|
|
90839
90956
|
column: 3
|
|
90840
90957
|
}
|
|
90841
90958
|
},
|
|
90842
90959
|
loc: {
|
|
90843
90960
|
start: {
|
|
90844
|
-
line:
|
|
90961
|
+
line: 113,
|
|
90845
90962
|
column: 16
|
|
90846
90963
|
},
|
|
90847
90964
|
end: {
|
|
90848
|
-
line:
|
|
90965
|
+
line: 126,
|
|
90849
90966
|
column: 3
|
|
90850
90967
|
}
|
|
90851
90968
|
},
|
|
90852
|
-
line:
|
|
90969
|
+
line: 113
|
|
90853
90970
|
},
|
|
90854
90971
|
"11": {
|
|
90855
90972
|
name: "(anonymous_11)",
|
|
90856
90973
|
decl: {
|
|
90857
90974
|
start: {
|
|
90858
|
-
line:
|
|
90975
|
+
line: 116,
|
|
90859
90976
|
column: 8
|
|
90860
90977
|
},
|
|
90861
90978
|
end: {
|
|
90862
|
-
line:
|
|
90979
|
+
line: 116,
|
|
90863
90980
|
column: 9
|
|
90864
90981
|
}
|
|
90865
90982
|
},
|
|
90866
90983
|
loc: {
|
|
90867
90984
|
start: {
|
|
90868
|
-
line:
|
|
90985
|
+
line: 117,
|
|
90869
90986
|
column: 8
|
|
90870
90987
|
},
|
|
90871
90988
|
end: {
|
|
90872
|
-
line:
|
|
90989
|
+
line: 124,
|
|
90873
90990
|
column: 18
|
|
90874
90991
|
}
|
|
90875
90992
|
},
|
|
90876
|
-
line:
|
|
90993
|
+
line: 117
|
|
90877
90994
|
},
|
|
90878
90995
|
"12": {
|
|
90879
90996
|
name: "(anonymous_12)",
|
|
90880
90997
|
decl: {
|
|
90881
90998
|
start: {
|
|
90882
|
-
line:
|
|
90999
|
+
line: 117,
|
|
90883
91000
|
column: 8
|
|
90884
91001
|
},
|
|
90885
91002
|
end: {
|
|
90886
|
-
line:
|
|
91003
|
+
line: 117,
|
|
90887
91004
|
column: 9
|
|
90888
91005
|
}
|
|
90889
91006
|
},
|
|
90890
91007
|
loc: {
|
|
90891
91008
|
start: {
|
|
90892
|
-
line:
|
|
91009
|
+
line: 118,
|
|
90893
91010
|
column: 10
|
|
90894
91011
|
},
|
|
90895
91012
|
end: {
|
|
90896
|
-
line:
|
|
91013
|
+
line: 124,
|
|
90897
91014
|
column: 18
|
|
90898
91015
|
}
|
|
90899
91016
|
},
|
|
90900
|
-
line:
|
|
91017
|
+
line: 118
|
|
90901
91018
|
},
|
|
90902
91019
|
"13": {
|
|
90903
91020
|
name: "(anonymous_13)",
|
|
90904
91021
|
decl: {
|
|
90905
91022
|
start: {
|
|
90906
|
-
line:
|
|
91023
|
+
line: 129,
|
|
90907
91024
|
column: 15
|
|
90908
91025
|
},
|
|
90909
91026
|
end: {
|
|
90910
|
-
line:
|
|
91027
|
+
line: 129,
|
|
90911
91028
|
column: 16
|
|
90912
91029
|
}
|
|
90913
91030
|
},
|
|
90914
91031
|
loc: {
|
|
90915
91032
|
start: {
|
|
90916
|
-
line:
|
|
91033
|
+
line: 129,
|
|
90917
91034
|
column: 36
|
|
90918
91035
|
},
|
|
90919
91036
|
end: {
|
|
90920
|
-
line:
|
|
91037
|
+
line: 141,
|
|
90921
91038
|
column: 1
|
|
90922
91039
|
}
|
|
90923
91040
|
},
|
|
90924
|
-
line:
|
|
91041
|
+
line: 129
|
|
90925
91042
|
},
|
|
90926
91043
|
"14": {
|
|
90927
91044
|
name: "(anonymous_14)",
|
|
90928
91045
|
decl: {
|
|
90929
91046
|
start: {
|
|
90930
|
-
line:
|
|
91047
|
+
line: 144,
|
|
90931
91048
|
column: 13
|
|
90932
91049
|
},
|
|
90933
91050
|
end: {
|
|
90934
|
-
line:
|
|
91051
|
+
line: 144,
|
|
90935
91052
|
column: 14
|
|
90936
91053
|
}
|
|
90937
91054
|
},
|
|
90938
91055
|
loc: {
|
|
90939
91056
|
start: {
|
|
90940
|
-
line:
|
|
91057
|
+
line: 145,
|
|
90941
91058
|
column: 4
|
|
90942
91059
|
},
|
|
90943
91060
|
end: {
|
|
90944
|
-
line:
|
|
91061
|
+
line: 185,
|
|
90945
91062
|
column: 6
|
|
90946
91063
|
}
|
|
90947
91064
|
},
|
|
90948
|
-
line:
|
|
91065
|
+
line: 145
|
|
90949
91066
|
},
|
|
90950
91067
|
"15": {
|
|
90951
91068
|
name: "(anonymous_15)",
|
|
90952
91069
|
decl: {
|
|
90953
91070
|
start: {
|
|
90954
|
-
line:
|
|
91071
|
+
line: 146,
|
|
90955
91072
|
column: 6
|
|
90956
91073
|
},
|
|
90957
91074
|
end: {
|
|
90958
|
-
line:
|
|
91075
|
+
line: 146,
|
|
90959
91076
|
column: 7
|
|
90960
91077
|
}
|
|
90961
91078
|
},
|
|
90962
91079
|
loc: {
|
|
90963
91080
|
start: {
|
|
90964
|
-
line:
|
|
91081
|
+
line: 146,
|
|
90965
91082
|
column: 30
|
|
90966
91083
|
},
|
|
90967
91084
|
end: {
|
|
90968
|
-
line:
|
|
91085
|
+
line: 184,
|
|
90969
91086
|
column: 7
|
|
90970
91087
|
}
|
|
90971
91088
|
},
|
|
90972
|
-
line:
|
|
91089
|
+
line: 146
|
|
90973
91090
|
},
|
|
90974
91091
|
"16": {
|
|
90975
91092
|
name: "(anonymous_16)",
|
|
90976
91093
|
decl: {
|
|
90977
91094
|
start: {
|
|
90978
|
-
line:
|
|
91095
|
+
line: 151,
|
|
90979
91096
|
column: 16
|
|
90980
91097
|
},
|
|
90981
91098
|
end: {
|
|
90982
|
-
line:
|
|
91099
|
+
line: 151,
|
|
90983
91100
|
column: 17
|
|
90984
91101
|
}
|
|
90985
91102
|
},
|
|
90986
91103
|
loc: {
|
|
90987
91104
|
start: {
|
|
90988
|
-
line:
|
|
91105
|
+
line: 151,
|
|
90989
91106
|
column: 35
|
|
90990
91107
|
},
|
|
90991
91108
|
end: {
|
|
90992
|
-
line:
|
|
91109
|
+
line: 179,
|
|
90993
91110
|
column: 17
|
|
90994
91111
|
}
|
|
90995
91112
|
},
|
|
90996
|
-
line:
|
|
91113
|
+
line: 151
|
|
90997
91114
|
},
|
|
90998
91115
|
"17": {
|
|
90999
91116
|
name: "(anonymous_17)",
|
|
91000
91117
|
decl: {
|
|
91001
91118
|
start: {
|
|
91002
|
-
line:
|
|
91119
|
+
line: 163,
|
|
91003
91120
|
column: 20
|
|
91004
91121
|
},
|
|
91005
91122
|
end: {
|
|
91006
|
-
line:
|
|
91123
|
+
line: 163,
|
|
91007
91124
|
column: 21
|
|
91008
91125
|
}
|
|
91009
91126
|
},
|
|
91010
91127
|
loc: {
|
|
91011
91128
|
start: {
|
|
91012
|
-
line:
|
|
91129
|
+
line: 163,
|
|
91013
91130
|
column: 28
|
|
91014
91131
|
},
|
|
91015
91132
|
end: {
|
|
91016
|
-
line:
|
|
91133
|
+
line: 163,
|
|
91017
91134
|
column: 52
|
|
91018
91135
|
}
|
|
91019
91136
|
},
|
|
91020
|
-
line:
|
|
91137
|
+
line: 163
|
|
91021
91138
|
},
|
|
91022
91139
|
"18": {
|
|
91023
91140
|
name: "(anonymous_18)",
|
|
91024
91141
|
decl: {
|
|
91025
91142
|
start: {
|
|
91026
|
-
line:
|
|
91143
|
+
line: 170,
|
|
91027
91144
|
column: 33
|
|
91028
91145
|
},
|
|
91029
91146
|
end: {
|
|
91030
|
-
line:
|
|
91147
|
+
line: 170,
|
|
91031
91148
|
column: 34
|
|
91032
91149
|
}
|
|
91033
91150
|
},
|
|
91034
91151
|
loc: {
|
|
91035
91152
|
start: {
|
|
91036
|
-
line:
|
|
91153
|
+
line: 170,
|
|
91037
91154
|
column: 48
|
|
91038
91155
|
},
|
|
91039
91156
|
end: {
|
|
91040
|
-
line:
|
|
91157
|
+
line: 178,
|
|
91041
91158
|
column: 19
|
|
91042
91159
|
}
|
|
91043
91160
|
},
|
|
91044
|
-
line:
|
|
91161
|
+
line: 170
|
|
91045
91162
|
}
|
|
91046
91163
|
},
|
|
91047
91164
|
branchMap: {
|
|
91048
91165
|
"0": {
|
|
91049
91166
|
loc: {
|
|
91050
91167
|
start: {
|
|
91051
|
-
line:
|
|
91168
|
+
line: 122,
|
|
91052
91169
|
column: 23
|
|
91053
91170
|
},
|
|
91054
91171
|
end: {
|
|
91055
|
-
line:
|
|
91172
|
+
line: 122,
|
|
91056
91173
|
column: 71
|
|
91057
91174
|
}
|
|
91058
91175
|
},
|
|
91059
91176
|
type: "cond-expr",
|
|
91060
91177
|
locations: [{
|
|
91061
91178
|
start: {
|
|
91062
|
-
line:
|
|
91179
|
+
line: 122,
|
|
91063
91180
|
column: 33
|
|
91064
91181
|
},
|
|
91065
91182
|
end: {
|
|
91066
|
-
line:
|
|
91183
|
+
line: 122,
|
|
91067
91184
|
column: 66
|
|
91068
91185
|
}
|
|
91069
91186
|
}, {
|
|
91070
91187
|
start: {
|
|
91071
|
-
line:
|
|
91188
|
+
line: 122,
|
|
91072
91189
|
column: 69
|
|
91073
91190
|
},
|
|
91074
91191
|
end: {
|
|
91075
|
-
line:
|
|
91192
|
+
line: 122,
|
|
91076
91193
|
column: 71
|
|
91077
91194
|
}
|
|
91078
91195
|
}],
|
|
91079
|
-
line:
|
|
91196
|
+
line: 122
|
|
91080
91197
|
},
|
|
91081
91198
|
"1": {
|
|
91082
91199
|
loc: {
|
|
91083
91200
|
start: {
|
|
91084
|
-
line:
|
|
91201
|
+
line: 130,
|
|
91085
91202
|
column: 2
|
|
91086
91203
|
},
|
|
91087
91204
|
end: {
|
|
91088
|
-
line:
|
|
91205
|
+
line: 135,
|
|
91089
91206
|
column: 3
|
|
91090
91207
|
}
|
|
91091
91208
|
},
|
|
91092
91209
|
type: "if",
|
|
91093
91210
|
locations: [{
|
|
91094
91211
|
start: {
|
|
91095
|
-
line:
|
|
91212
|
+
line: 130,
|
|
91096
91213
|
column: 2
|
|
91097
91214
|
},
|
|
91098
91215
|
end: {
|
|
91099
|
-
line:
|
|
91216
|
+
line: 135,
|
|
91100
91217
|
column: 3
|
|
91101
91218
|
}
|
|
91102
91219
|
}, {
|
|
@@ -91109,60 +91226,60 @@ function cov_ksv9azglk() {
|
|
|
91109
91226
|
column: undefined
|
|
91110
91227
|
}
|
|
91111
91228
|
}],
|
|
91112
|
-
line:
|
|
91229
|
+
line: 130
|
|
91113
91230
|
},
|
|
91114
91231
|
"2": {
|
|
91115
91232
|
loc: {
|
|
91116
91233
|
start: {
|
|
91117
|
-
line:
|
|
91234
|
+
line: 134,
|
|
91118
91235
|
column: 11
|
|
91119
91236
|
},
|
|
91120
91237
|
end: {
|
|
91121
|
-
line:
|
|
91238
|
+
line: 134,
|
|
91122
91239
|
column: 55
|
|
91123
91240
|
}
|
|
91124
91241
|
},
|
|
91125
91242
|
type: "binary-expr",
|
|
91126
91243
|
locations: [{
|
|
91127
91244
|
start: {
|
|
91128
|
-
line:
|
|
91245
|
+
line: 134,
|
|
91129
91246
|
column: 11
|
|
91130
91247
|
},
|
|
91131
91248
|
end: {
|
|
91132
|
-
line:
|
|
91249
|
+
line: 134,
|
|
91133
91250
|
column: 34
|
|
91134
91251
|
}
|
|
91135
91252
|
}, {
|
|
91136
91253
|
start: {
|
|
91137
|
-
line:
|
|
91254
|
+
line: 134,
|
|
91138
91255
|
column: 38
|
|
91139
91256
|
},
|
|
91140
91257
|
end: {
|
|
91141
|
-
line:
|
|
91258
|
+
line: 134,
|
|
91142
91259
|
column: 55
|
|
91143
91260
|
}
|
|
91144
91261
|
}],
|
|
91145
|
-
line:
|
|
91262
|
+
line: 134
|
|
91146
91263
|
},
|
|
91147
91264
|
"3": {
|
|
91148
91265
|
loc: {
|
|
91149
91266
|
start: {
|
|
91150
|
-
line:
|
|
91267
|
+
line: 160,
|
|
91151
91268
|
column: 18
|
|
91152
91269
|
},
|
|
91153
91270
|
end: {
|
|
91154
|
-
line:
|
|
91271
|
+
line: 160,
|
|
91155
91272
|
column: 40
|
|
91156
91273
|
}
|
|
91157
91274
|
},
|
|
91158
91275
|
type: "if",
|
|
91159
91276
|
locations: [{
|
|
91160
91277
|
start: {
|
|
91161
|
-
line:
|
|
91278
|
+
line: 160,
|
|
91162
91279
|
column: 18
|
|
91163
91280
|
},
|
|
91164
91281
|
end: {
|
|
91165
|
-
line:
|
|
91282
|
+
line: 160,
|
|
91166
91283
|
column: 40
|
|
91167
91284
|
}
|
|
91168
91285
|
}, {
|
|
@@ -91175,27 +91292,27 @@ function cov_ksv9azglk() {
|
|
|
91175
91292
|
column: undefined
|
|
91176
91293
|
}
|
|
91177
91294
|
}],
|
|
91178
|
-
line:
|
|
91295
|
+
line: 160
|
|
91179
91296
|
},
|
|
91180
91297
|
"4": {
|
|
91181
91298
|
loc: {
|
|
91182
91299
|
start: {
|
|
91183
|
-
line:
|
|
91300
|
+
line: 166,
|
|
91184
91301
|
column: 18
|
|
91185
91302
|
},
|
|
91186
91303
|
end: {
|
|
91187
|
-
line:
|
|
91304
|
+
line: 166,
|
|
91188
91305
|
column: 46
|
|
91189
91306
|
}
|
|
91190
91307
|
},
|
|
91191
91308
|
type: "if",
|
|
91192
91309
|
locations: [{
|
|
91193
91310
|
start: {
|
|
91194
|
-
line:
|
|
91311
|
+
line: 166,
|
|
91195
91312
|
column: 18
|
|
91196
91313
|
},
|
|
91197
91314
|
end: {
|
|
91198
|
-
line:
|
|
91315
|
+
line: 166,
|
|
91199
91316
|
column: 46
|
|
91200
91317
|
}
|
|
91201
91318
|
}, {
|
|
@@ -91208,27 +91325,27 @@ function cov_ksv9azglk() {
|
|
|
91208
91325
|
column: undefined
|
|
91209
91326
|
}
|
|
91210
91327
|
}],
|
|
91211
|
-
line:
|
|
91328
|
+
line: 166
|
|
91212
91329
|
},
|
|
91213
91330
|
"5": {
|
|
91214
91331
|
loc: {
|
|
91215
91332
|
start: {
|
|
91216
|
-
line:
|
|
91333
|
+
line: 174,
|
|
91217
91334
|
column: 20
|
|
91218
91335
|
},
|
|
91219
91336
|
end: {
|
|
91220
|
-
line:
|
|
91337
|
+
line: 177,
|
|
91221
91338
|
column: 21
|
|
91222
91339
|
}
|
|
91223
91340
|
},
|
|
91224
91341
|
type: "if",
|
|
91225
91342
|
locations: [{
|
|
91226
91343
|
start: {
|
|
91227
|
-
line:
|
|
91344
|
+
line: 174,
|
|
91228
91345
|
column: 20
|
|
91229
91346
|
},
|
|
91230
91347
|
end: {
|
|
91231
|
-
line:
|
|
91348
|
+
line: 177,
|
|
91232
91349
|
column: 21
|
|
91233
91350
|
}
|
|
91234
91351
|
}, {
|
|
@@ -91241,7 +91358,7 @@ function cov_ksv9azglk() {
|
|
|
91241
91358
|
column: undefined
|
|
91242
91359
|
}
|
|
91243
91360
|
}],
|
|
91244
|
-
line:
|
|
91361
|
+
line: 174
|
|
91245
91362
|
}
|
|
91246
91363
|
},
|
|
91247
91364
|
s: {
|
|
@@ -91317,7 +91434,7 @@ function cov_ksv9azglk() {
|
|
|
91317
91434
|
"5": [0, 0]
|
|
91318
91435
|
},
|
|
91319
91436
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
91320
|
-
hash: "
|
|
91437
|
+
hash: "3bebbf402f81491dd9c9f45cd7e242485e38da56"
|
|
91321
91438
|
};
|
|
91322
91439
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
91323
91440
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -91492,7 +91609,9 @@ var upload = /*#__PURE__*/function () {
|
|
|
91492
91609
|
case 14:
|
|
91493
91610
|
imageSizeInMB = (cov_ksv9azglk().s[22]++, MAX_IMAGE_SIZE / (1024 * 1024));
|
|
91494
91611
|
cov_ksv9azglk().s[23]++;
|
|
91495
|
-
Toastr.error("
|
|
91612
|
+
Toastr.error(t$7("error.imageSizeIsShouldBeLess", {
|
|
91613
|
+
limit: imageSizeInMB
|
|
91614
|
+
}));
|
|
91496
91615
|
cov_ksv9azglk().s[24]++;
|
|
91497
91616
|
return _context.abrupt("return", "");
|
|
91498
91617
|
case 19:
|
|
@@ -96326,7 +96445,7 @@ var Mention = {
|
|
|
96326
96445
|
|
|
96327
96446
|
function cov_134mrrjy5g() {
|
|
96328
96447
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Placeholder/ExtensionConfig.js";
|
|
96329
|
-
var hash = "
|
|
96448
|
+
var hash = "a628a59bba8d6c190faea7f50c6e8fcbc3298925";
|
|
96330
96449
|
var global = new Function("return this")();
|
|
96331
96450
|
var gcv = "__coverage__";
|
|
96332
96451
|
var coverageData = {
|
|
@@ -96334,201 +96453,201 @@ function cov_134mrrjy5g() {
|
|
|
96334
96453
|
statementMap: {
|
|
96335
96454
|
"0": {
|
|
96336
96455
|
start: {
|
|
96337
|
-
line:
|
|
96456
|
+
line: 6,
|
|
96338
96457
|
column: 20
|
|
96339
96458
|
},
|
|
96340
96459
|
end: {
|
|
96341
|
-
line:
|
|
96460
|
+
line: 70,
|
|
96342
96461
|
column: 2
|
|
96343
96462
|
}
|
|
96344
96463
|
},
|
|
96345
96464
|
"1": {
|
|
96346
96465
|
start: {
|
|
96347
|
-
line:
|
|
96466
|
+
line: 10,
|
|
96348
96467
|
column: 4
|
|
96349
96468
|
},
|
|
96350
96469
|
end: {
|
|
96351
|
-
line:
|
|
96470
|
+
line: 18,
|
|
96352
96471
|
column: 6
|
|
96353
96472
|
}
|
|
96354
96473
|
},
|
|
96355
96474
|
"2": {
|
|
96356
96475
|
start: {
|
|
96357
|
-
line:
|
|
96476
|
+
line: 22,
|
|
96358
96477
|
column: 4
|
|
96359
96478
|
},
|
|
96360
96479
|
end: {
|
|
96361
|
-
line:
|
|
96480
|
+
line: 68,
|
|
96362
96481
|
column: 6
|
|
96363
96482
|
}
|
|
96364
96483
|
},
|
|
96365
96484
|
"3": {
|
|
96366
96485
|
start: {
|
|
96367
|
-
line:
|
|
96486
|
+
line: 27,
|
|
96368
96487
|
column: 14
|
|
96369
96488
|
},
|
|
96370
96489
|
end: {
|
|
96371
|
-
line:
|
|
96490
|
+
line: 27,
|
|
96372
96491
|
column: 74
|
|
96373
96492
|
}
|
|
96374
96493
|
},
|
|
96375
96494
|
"4": {
|
|
96376
96495
|
start: {
|
|
96377
|
-
line:
|
|
96496
|
+
line: 28,
|
|
96378
96497
|
column: 31
|
|
96379
96498
|
},
|
|
96380
96499
|
end: {
|
|
96381
|
-
line:
|
|
96500
|
+
line: 28,
|
|
96382
96501
|
column: 40
|
|
96383
96502
|
}
|
|
96384
96503
|
},
|
|
96385
96504
|
"5": {
|
|
96386
96505
|
start: {
|
|
96387
|
-
line:
|
|
96506
|
+
line: 29,
|
|
96388
96507
|
column: 32
|
|
96389
96508
|
},
|
|
96390
96509
|
end: {
|
|
96391
|
-
line:
|
|
96510
|
+
line: 29,
|
|
96392
96511
|
column: 34
|
|
96393
96512
|
}
|
|
96394
96513
|
},
|
|
96395
96514
|
"6": {
|
|
96396
96515
|
start: {
|
|
96397
|
-
line:
|
|
96516
|
+
line: 31,
|
|
96398
96517
|
column: 12
|
|
96399
96518
|
},
|
|
96400
96519
|
end: {
|
|
96401
|
-
line:
|
|
96520
|
+
line: 33,
|
|
96402
96521
|
column: 13
|
|
96403
96522
|
}
|
|
96404
96523
|
},
|
|
96405
96524
|
"7": {
|
|
96406
96525
|
start: {
|
|
96407
|
-
line:
|
|
96526
|
+
line: 32,
|
|
96408
96527
|
column: 14
|
|
96409
96528
|
},
|
|
96410
96529
|
end: {
|
|
96411
|
-
line:
|
|
96530
|
+
line: 32,
|
|
96412
96531
|
column: 26
|
|
96413
96532
|
}
|
|
96414
96533
|
},
|
|
96415
96534
|
"8": {
|
|
96416
96535
|
start: {
|
|
96417
|
-
line:
|
|
96536
|
+
line: 35,
|
|
96418
96537
|
column: 12
|
|
96419
96538
|
},
|
|
96420
96539
|
end: {
|
|
96421
|
-
line:
|
|
96540
|
+
line: 62,
|
|
96422
96541
|
column: 15
|
|
96423
96542
|
}
|
|
96424
96543
|
},
|
|
96425
96544
|
"9": {
|
|
96426
96545
|
start: {
|
|
96427
|
-
line:
|
|
96546
|
+
line: 36,
|
|
96428
96547
|
column: 32
|
|
96429
96548
|
},
|
|
96430
96549
|
end: {
|
|
96431
|
-
line:
|
|
96550
|
+
line: 36,
|
|
96432
96551
|
column: 78
|
|
96433
96552
|
}
|
|
96434
96553
|
},
|
|
96435
96554
|
"10": {
|
|
96436
96555
|
start: {
|
|
96437
|
-
line:
|
|
96556
|
+
line: 37,
|
|
96438
96557
|
column: 30
|
|
96439
96558
|
},
|
|
96440
96559
|
end: {
|
|
96441
|
-
line:
|
|
96560
|
+
line: 37,
|
|
96442
96561
|
column: 62
|
|
96443
96562
|
}
|
|
96444
96563
|
},
|
|
96445
96564
|
"11": {
|
|
96446
96565
|
start: {
|
|
96447
|
-
line:
|
|
96566
|
+
line: 39,
|
|
96448
96567
|
column: 33
|
|
96449
96568
|
},
|
|
96450
96569
|
end: {
|
|
96451
|
-
line:
|
|
96570
|
+
line: 41,
|
|
96452
96571
|
column: 15
|
|
96453
96572
|
}
|
|
96454
96573
|
},
|
|
96455
96574
|
"12": {
|
|
96456
96575
|
start: {
|
|
96457
|
-
line:
|
|
96576
|
+
line: 43,
|
|
96458
96577
|
column: 14
|
|
96459
96578
|
},
|
|
96460
96579
|
end: {
|
|
96461
|
-
line:
|
|
96580
|
+
line: 59,
|
|
96462
96581
|
column: 15
|
|
96463
96582
|
}
|
|
96464
96583
|
},
|
|
96465
96584
|
"13": {
|
|
96466
96585
|
start: {
|
|
96467
|
-
line:
|
|
96586
|
+
line: 48,
|
|
96468
96587
|
column: 32
|
|
96469
96588
|
},
|
|
96470
96589
|
end: {
|
|
96471
|
-
line:
|
|
96590
|
+
line: 48,
|
|
96472
96591
|
column: 61
|
|
96473
96592
|
}
|
|
96474
96593
|
},
|
|
96475
96594
|
"14": {
|
|
96476
96595
|
start: {
|
|
96477
|
-
line:
|
|
96596
|
+
line: 50,
|
|
96478
96597
|
column: 16
|
|
96479
96598
|
},
|
|
96480
96599
|
end: {
|
|
96481
|
-
line:
|
|
96600
|
+
line: 52,
|
|
96482
96601
|
column: 17
|
|
96483
96602
|
}
|
|
96484
96603
|
},
|
|
96485
96604
|
"15": {
|
|
96486
96605
|
start: {
|
|
96487
|
-
line:
|
|
96606
|
+
line: 51,
|
|
96488
96607
|
column: 18
|
|
96489
96608
|
},
|
|
96490
96609
|
end: {
|
|
96491
|
-
line:
|
|
96610
|
+
line: 51,
|
|
96492
96611
|
column: 62
|
|
96493
96612
|
}
|
|
96494
96613
|
},
|
|
96495
96614
|
"16": {
|
|
96496
96615
|
start: {
|
|
96497
|
-
line:
|
|
96616
|
+
line: 54,
|
|
96498
96617
|
column: 35
|
|
96499
96618
|
},
|
|
96500
96619
|
end: {
|
|
96501
|
-
line:
|
|
96620
|
+
line: 57,
|
|
96502
96621
|
column: 18
|
|
96503
96622
|
}
|
|
96504
96623
|
},
|
|
96505
96624
|
"17": {
|
|
96506
96625
|
start: {
|
|
96507
|
-
line:
|
|
96626
|
+
line: 58,
|
|
96508
96627
|
column: 16
|
|
96509
96628
|
},
|
|
96510
96629
|
end: {
|
|
96511
|
-
line:
|
|
96630
|
+
line: 58,
|
|
96512
96631
|
column: 45
|
|
96513
96632
|
}
|
|
96514
96633
|
},
|
|
96515
96634
|
"18": {
|
|
96516
96635
|
start: {
|
|
96517
|
-
line:
|
|
96636
|
+
line: 61,
|
|
96518
96637
|
column: 14
|
|
96519
96638
|
},
|
|
96520
96639
|
end: {
|
|
96521
|
-
line:
|
|
96640
|
+
line: 61,
|
|
96522
96641
|
column: 50
|
|
96523
96642
|
}
|
|
96524
96643
|
},
|
|
96525
96644
|
"19": {
|
|
96526
96645
|
start: {
|
|
96527
|
-
line:
|
|
96646
|
+
line: 64,
|
|
96528
96647
|
column: 12
|
|
96529
96648
|
},
|
|
96530
96649
|
end: {
|
|
96531
|
-
line:
|
|
96650
|
+
line: 64,
|
|
96532
96651
|
column: 58
|
|
96533
96652
|
}
|
|
96534
96653
|
}
|
|
@@ -96538,152 +96657,152 @@ function cov_134mrrjy5g() {
|
|
|
96538
96657
|
name: "(anonymous_0)",
|
|
96539
96658
|
decl: {
|
|
96540
96659
|
start: {
|
|
96541
|
-
line:
|
|
96660
|
+
line: 9,
|
|
96542
96661
|
column: 2
|
|
96543
96662
|
},
|
|
96544
96663
|
end: {
|
|
96545
|
-
line:
|
|
96664
|
+
line: 9,
|
|
96546
96665
|
column: 3
|
|
96547
96666
|
}
|
|
96548
96667
|
},
|
|
96549
96668
|
loc: {
|
|
96550
96669
|
start: {
|
|
96551
|
-
line:
|
|
96670
|
+
line: 9,
|
|
96552
96671
|
column: 15
|
|
96553
96672
|
},
|
|
96554
96673
|
end: {
|
|
96555
|
-
line:
|
|
96674
|
+
line: 19,
|
|
96556
96675
|
column: 3
|
|
96557
96676
|
}
|
|
96558
96677
|
},
|
|
96559
|
-
line:
|
|
96678
|
+
line: 9
|
|
96560
96679
|
},
|
|
96561
96680
|
"1": {
|
|
96562
96681
|
name: "(anonymous_1)",
|
|
96563
96682
|
decl: {
|
|
96564
96683
|
start: {
|
|
96565
|
-
line:
|
|
96684
|
+
line: 21,
|
|
96566
96685
|
column: 2
|
|
96567
96686
|
},
|
|
96568
96687
|
end: {
|
|
96569
|
-
line:
|
|
96688
|
+
line: 21,
|
|
96570
96689
|
column: 3
|
|
96571
96690
|
}
|
|
96572
96691
|
},
|
|
96573
96692
|
loc: {
|
|
96574
96693
|
start: {
|
|
96575
|
-
line:
|
|
96694
|
+
line: 21,
|
|
96576
96695
|
column: 26
|
|
96577
96696
|
},
|
|
96578
96697
|
end: {
|
|
96579
|
-
line:
|
|
96698
|
+
line: 69,
|
|
96580
96699
|
column: 3
|
|
96581
96700
|
}
|
|
96582
96701
|
},
|
|
96583
|
-
line:
|
|
96702
|
+
line: 21
|
|
96584
96703
|
},
|
|
96585
96704
|
"2": {
|
|
96586
96705
|
name: "(anonymous_2)",
|
|
96587
96706
|
decl: {
|
|
96588
96707
|
start: {
|
|
96589
|
-
line:
|
|
96708
|
+
line: 25,
|
|
96590
96709
|
column: 23
|
|
96591
96710
|
},
|
|
96592
96711
|
end: {
|
|
96593
|
-
line:
|
|
96712
|
+
line: 25,
|
|
96594
96713
|
column: 24
|
|
96595
96714
|
}
|
|
96596
96715
|
},
|
|
96597
96716
|
loc: {
|
|
96598
96717
|
start: {
|
|
96599
|
-
line:
|
|
96718
|
+
line: 25,
|
|
96600
96719
|
column: 47
|
|
96601
96720
|
},
|
|
96602
96721
|
end: {
|
|
96603
|
-
line:
|
|
96722
|
+
line: 65,
|
|
96604
96723
|
column: 11
|
|
96605
96724
|
}
|
|
96606
96725
|
},
|
|
96607
|
-
line:
|
|
96726
|
+
line: 25
|
|
96608
96727
|
},
|
|
96609
96728
|
"3": {
|
|
96610
96729
|
name: "(anonymous_3)",
|
|
96611
96730
|
decl: {
|
|
96612
96731
|
start: {
|
|
96613
|
-
line:
|
|
96732
|
+
line: 35,
|
|
96614
96733
|
column: 28
|
|
96615
96734
|
},
|
|
96616
96735
|
end: {
|
|
96617
|
-
line:
|
|
96736
|
+
line: 35,
|
|
96618
96737
|
column: 29
|
|
96619
96738
|
}
|
|
96620
96739
|
},
|
|
96621
96740
|
loc: {
|
|
96622
96741
|
start: {
|
|
96623
|
-
line:
|
|
96742
|
+
line: 35,
|
|
96624
96743
|
column: 43
|
|
96625
96744
|
},
|
|
96626
96745
|
end: {
|
|
96627
|
-
line:
|
|
96746
|
+
line: 62,
|
|
96628
96747
|
column: 13
|
|
96629
96748
|
}
|
|
96630
96749
|
},
|
|
96631
|
-
line:
|
|
96750
|
+
line: 35
|
|
96632
96751
|
}
|
|
96633
96752
|
},
|
|
96634
96753
|
branchMap: {
|
|
96635
96754
|
"0": {
|
|
96636
96755
|
loc: {
|
|
96637
96756
|
start: {
|
|
96638
|
-
line:
|
|
96757
|
+
line: 27,
|
|
96639
96758
|
column: 14
|
|
96640
96759
|
},
|
|
96641
96760
|
end: {
|
|
96642
|
-
line:
|
|
96761
|
+
line: 27,
|
|
96643
96762
|
column: 74
|
|
96644
96763
|
}
|
|
96645
96764
|
},
|
|
96646
96765
|
type: "binary-expr",
|
|
96647
96766
|
locations: [{
|
|
96648
96767
|
start: {
|
|
96649
|
-
line:
|
|
96768
|
+
line: 27,
|
|
96650
96769
|
column: 14
|
|
96651
96770
|
},
|
|
96652
96771
|
end: {
|
|
96653
|
-
line:
|
|
96772
|
+
line: 27,
|
|
96654
96773
|
column: 36
|
|
96655
96774
|
}
|
|
96656
96775
|
}, {
|
|
96657
96776
|
start: {
|
|
96658
|
-
line:
|
|
96777
|
+
line: 27,
|
|
96659
96778
|
column: 40
|
|
96660
96779
|
},
|
|
96661
96780
|
end: {
|
|
96662
|
-
line:
|
|
96781
|
+
line: 27,
|
|
96663
96782
|
column: 74
|
|
96664
96783
|
}
|
|
96665
96784
|
}],
|
|
96666
|
-
line:
|
|
96785
|
+
line: 27
|
|
96667
96786
|
},
|
|
96668
96787
|
"1": {
|
|
96669
96788
|
loc: {
|
|
96670
96789
|
start: {
|
|
96671
|
-
line:
|
|
96790
|
+
line: 31,
|
|
96672
96791
|
column: 12
|
|
96673
96792
|
},
|
|
96674
96793
|
end: {
|
|
96675
|
-
line:
|
|
96794
|
+
line: 33,
|
|
96676
96795
|
column: 13
|
|
96677
96796
|
}
|
|
96678
96797
|
},
|
|
96679
96798
|
type: "if",
|
|
96680
96799
|
locations: [{
|
|
96681
96800
|
start: {
|
|
96682
|
-
line:
|
|
96801
|
+
line: 31,
|
|
96683
96802
|
column: 12
|
|
96684
96803
|
},
|
|
96685
96804
|
end: {
|
|
96686
|
-
line:
|
|
96805
|
+
line: 33,
|
|
96687
96806
|
column: 13
|
|
96688
96807
|
}
|
|
96689
96808
|
}, {
|
|
@@ -96696,93 +96815,93 @@ function cov_134mrrjy5g() {
|
|
|
96696
96815
|
column: undefined
|
|
96697
96816
|
}
|
|
96698
96817
|
}],
|
|
96699
|
-
line:
|
|
96818
|
+
line: 31
|
|
96700
96819
|
},
|
|
96701
96820
|
"2": {
|
|
96702
96821
|
loc: {
|
|
96703
96822
|
start: {
|
|
96704
|
-
line:
|
|
96823
|
+
line: 36,
|
|
96705
96824
|
column: 32
|
|
96706
96825
|
},
|
|
96707
96826
|
end: {
|
|
96708
|
-
line:
|
|
96827
|
+
line: 36,
|
|
96709
96828
|
column: 78
|
|
96710
96829
|
}
|
|
96711
96830
|
},
|
|
96712
96831
|
type: "binary-expr",
|
|
96713
96832
|
locations: [{
|
|
96714
96833
|
start: {
|
|
96715
|
-
line:
|
|
96834
|
+
line: 36,
|
|
96716
96835
|
column: 32
|
|
96717
96836
|
},
|
|
96718
96837
|
end: {
|
|
96719
|
-
line:
|
|
96838
|
+
line: 36,
|
|
96720
96839
|
column: 45
|
|
96721
96840
|
}
|
|
96722
96841
|
}, {
|
|
96723
96842
|
start: {
|
|
96724
|
-
line:
|
|
96843
|
+
line: 36,
|
|
96725
96844
|
column: 49
|
|
96726
96845
|
},
|
|
96727
96846
|
end: {
|
|
96728
|
-
line:
|
|
96847
|
+
line: 36,
|
|
96729
96848
|
column: 78
|
|
96730
96849
|
}
|
|
96731
96850
|
}],
|
|
96732
|
-
line:
|
|
96851
|
+
line: 36
|
|
96733
96852
|
},
|
|
96734
96853
|
"3": {
|
|
96735
96854
|
loc: {
|
|
96736
96855
|
start: {
|
|
96737
|
-
line:
|
|
96856
|
+
line: 37,
|
|
96738
96857
|
column: 30
|
|
96739
96858
|
},
|
|
96740
96859
|
end: {
|
|
96741
|
-
line:
|
|
96860
|
+
line: 37,
|
|
96742
96861
|
column: 62
|
|
96743
96862
|
}
|
|
96744
96863
|
},
|
|
96745
96864
|
type: "binary-expr",
|
|
96746
96865
|
locations: [{
|
|
96747
96866
|
start: {
|
|
96748
|
-
line:
|
|
96867
|
+
line: 37,
|
|
96749
96868
|
column: 30
|
|
96750
96869
|
},
|
|
96751
96870
|
end: {
|
|
96752
|
-
line:
|
|
96871
|
+
line: 37,
|
|
96753
96872
|
column: 42
|
|
96754
96873
|
}
|
|
96755
96874
|
}, {
|
|
96756
96875
|
start: {
|
|
96757
|
-
line:
|
|
96876
|
+
line: 37,
|
|
96758
96877
|
column: 46
|
|
96759
96878
|
},
|
|
96760
96879
|
end: {
|
|
96761
|
-
line:
|
|
96880
|
+
line: 37,
|
|
96762
96881
|
column: 62
|
|
96763
96882
|
}
|
|
96764
96883
|
}],
|
|
96765
|
-
line:
|
|
96884
|
+
line: 37
|
|
96766
96885
|
},
|
|
96767
96886
|
"4": {
|
|
96768
96887
|
loc: {
|
|
96769
96888
|
start: {
|
|
96770
|
-
line:
|
|
96889
|
+
line: 43,
|
|
96771
96890
|
column: 14
|
|
96772
96891
|
},
|
|
96773
96892
|
end: {
|
|
96774
|
-
line:
|
|
96893
|
+
line: 59,
|
|
96775
96894
|
column: 15
|
|
96776
96895
|
}
|
|
96777
96896
|
},
|
|
96778
96897
|
type: "if",
|
|
96779
96898
|
locations: [{
|
|
96780
96899
|
start: {
|
|
96781
|
-
line:
|
|
96900
|
+
line: 43,
|
|
96782
96901
|
column: 14
|
|
96783
96902
|
},
|
|
96784
96903
|
end: {
|
|
96785
|
-
line:
|
|
96904
|
+
line: 59,
|
|
96786
96905
|
column: 15
|
|
96787
96906
|
}
|
|
96788
96907
|
}, {
|
|
@@ -96795,78 +96914,78 @@ function cov_134mrrjy5g() {
|
|
|
96795
96914
|
column: undefined
|
|
96796
96915
|
}
|
|
96797
96916
|
}],
|
|
96798
|
-
line:
|
|
96917
|
+
line: 43
|
|
96799
96918
|
},
|
|
96800
96919
|
"5": {
|
|
96801
96920
|
loc: {
|
|
96802
96921
|
start: {
|
|
96803
|
-
line:
|
|
96922
|
+
line: 44,
|
|
96804
96923
|
column: 16
|
|
96805
96924
|
},
|
|
96806
96925
|
end: {
|
|
96807
|
-
line:
|
|
96926
|
+
line: 46,
|
|
96808
96927
|
column: 23
|
|
96809
96928
|
}
|
|
96810
96929
|
},
|
|
96811
96930
|
type: "binary-expr",
|
|
96812
96931
|
locations: [{
|
|
96813
96932
|
start: {
|
|
96814
|
-
line:
|
|
96933
|
+
line: 44,
|
|
96815
96934
|
column: 17
|
|
96816
96935
|
},
|
|
96817
96936
|
end: {
|
|
96818
|
-
line:
|
|
96937
|
+
line: 44,
|
|
96819
96938
|
column: 26
|
|
96820
96939
|
}
|
|
96821
96940
|
}, {
|
|
96822
96941
|
start: {
|
|
96823
|
-
line:
|
|
96942
|
+
line: 44,
|
|
96824
96943
|
column: 30
|
|
96825
96944
|
},
|
|
96826
96945
|
end: {
|
|
96827
|
-
line:
|
|
96946
|
+
line: 44,
|
|
96828
96947
|
column: 59
|
|
96829
96948
|
}
|
|
96830
96949
|
}, {
|
|
96831
96950
|
start: {
|
|
96832
|
-
line:
|
|
96951
|
+
line: 45,
|
|
96833
96952
|
column: 16
|
|
96834
96953
|
},
|
|
96835
96954
|
end: {
|
|
96836
|
-
line:
|
|
96955
|
+
line: 45,
|
|
96837
96956
|
column: 27
|
|
96838
96957
|
}
|
|
96839
96958
|
}, {
|
|
96840
96959
|
start: {
|
|
96841
|
-
line:
|
|
96960
|
+
line: 46,
|
|
96842
96961
|
column: 16
|
|
96843
96962
|
},
|
|
96844
96963
|
end: {
|
|
96845
|
-
line:
|
|
96964
|
+
line: 46,
|
|
96846
96965
|
column: 23
|
|
96847
96966
|
}
|
|
96848
96967
|
}],
|
|
96849
|
-
line:
|
|
96968
|
+
line: 44
|
|
96850
96969
|
},
|
|
96851
96970
|
"6": {
|
|
96852
96971
|
loc: {
|
|
96853
96972
|
start: {
|
|
96854
|
-
line:
|
|
96973
|
+
line: 50,
|
|
96855
96974
|
column: 16
|
|
96856
96975
|
},
|
|
96857
96976
|
end: {
|
|
96858
|
-
line:
|
|
96977
|
+
line: 52,
|
|
96859
96978
|
column: 17
|
|
96860
96979
|
}
|
|
96861
96980
|
},
|
|
96862
96981
|
type: "if",
|
|
96863
96982
|
locations: [{
|
|
96864
96983
|
start: {
|
|
96865
|
-
line:
|
|
96984
|
+
line: 50,
|
|
96866
96985
|
column: 16
|
|
96867
96986
|
},
|
|
96868
96987
|
end: {
|
|
96869
|
-
line:
|
|
96988
|
+
line: 52,
|
|
96870
96989
|
column: 17
|
|
96871
96990
|
}
|
|
96872
96991
|
}, {
|
|
@@ -96879,7 +96998,7 @@ function cov_134mrrjy5g() {
|
|
|
96879
96998
|
column: undefined
|
|
96880
96999
|
}
|
|
96881
97000
|
}],
|
|
96882
|
-
line:
|
|
97001
|
+
line: 50
|
|
96883
97002
|
}
|
|
96884
97003
|
},
|
|
96885
97004
|
s: {
|
|
@@ -96920,7 +97039,7 @@ function cov_134mrrjy5g() {
|
|
|
96920
97039
|
"6": [0, 0]
|
|
96921
97040
|
},
|
|
96922
97041
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
96923
|
-
hash: "
|
|
97042
|
+
hash: "a628a59bba8d6c190faea7f50c6e8fcbc3298925"
|
|
96924
97043
|
};
|
|
96925
97044
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
96926
97045
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -96945,7 +97064,7 @@ var Placeholder = (cov_134mrrjy5g().s[0]++, Extension.create({
|
|
|
96945
97064
|
excludeNodeTypes: ["variable", "codeBlock"],
|
|
96946
97065
|
emptyEditorClass: "is-editor-empty",
|
|
96947
97066
|
emptyNodeClass: "is-empty",
|
|
96948
|
-
placeholder: "
|
|
97067
|
+
placeholder: t$7("placeholders.writeSomething"),
|
|
96949
97068
|
showOnlyWhenEditable: true,
|
|
96950
97069
|
showOnlyCurrent: false,
|
|
96951
97070
|
includeChildren: false
|
|
@@ -110363,7 +110482,7 @@ var Progress = function Progress(_ref) {
|
|
|
110363
110482
|
|
|
110364
110483
|
function cov_23n4f4s494() {
|
|
110365
110484
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/MediaUploader/LocalUploader.jsx";
|
|
110366
|
-
var hash = "
|
|
110485
|
+
var hash = "228328f91dabecbd733a3c0d2052582c71588b8a";
|
|
110367
110486
|
var global = new Function("return this")();
|
|
110368
110487
|
var gcv = "__coverage__";
|
|
110369
110488
|
var coverageData = {
|
|
@@ -110375,7 +110494,7 @@ function cov_23n4f4s494() {
|
|
|
110375
110494
|
column: 22
|
|
110376
110495
|
},
|
|
110377
110496
|
end: {
|
|
110378
|
-
line:
|
|
110497
|
+
line: 146,
|
|
110379
110498
|
column: 1
|
|
110380
110499
|
}
|
|
110381
110500
|
},
|
|
@@ -110506,7 +110625,7 @@ function cov_23n4f4s494() {
|
|
|
110506
110625
|
},
|
|
110507
110626
|
end: {
|
|
110508
110627
|
line: 55,
|
|
110509
|
-
column:
|
|
110628
|
+
column: 50
|
|
110510
110629
|
}
|
|
110511
110630
|
},
|
|
110512
110631
|
"14": {
|
|
@@ -110785,7 +110904,7 @@ function cov_23n4f4s494() {
|
|
|
110785
110904
|
column: 2
|
|
110786
110905
|
},
|
|
110787
110906
|
end: {
|
|
110788
|
-
line:
|
|
110907
|
+
line: 145,
|
|
110789
110908
|
column: 4
|
|
110790
110909
|
}
|
|
110791
110910
|
},
|
|
@@ -110819,7 +110938,7 @@ function cov_23n4f4s494() {
|
|
|
110819
110938
|
column: 6
|
|
110820
110939
|
},
|
|
110821
110940
|
end: {
|
|
110822
|
-
line:
|
|
110941
|
+
line: 146,
|
|
110823
110942
|
column: 1
|
|
110824
110943
|
}
|
|
110825
110944
|
},
|
|
@@ -111305,7 +111424,7 @@ function cov_23n4f4s494() {
|
|
|
111305
111424
|
column: 9
|
|
111306
111425
|
},
|
|
111307
111426
|
end: {
|
|
111308
|
-
line:
|
|
111427
|
+
line: 145,
|
|
111309
111428
|
column: 3
|
|
111310
111429
|
}
|
|
111311
111430
|
},
|
|
@@ -111325,7 +111444,7 @@ function cov_23n4f4s494() {
|
|
|
111325
111444
|
column: 4
|
|
111326
111445
|
},
|
|
111327
111446
|
end: {
|
|
111328
|
-
line:
|
|
111447
|
+
line: 144,
|
|
111329
111448
|
column: 10
|
|
111330
111449
|
}
|
|
111331
111450
|
}],
|
|
@@ -111469,7 +111588,7 @@ function cov_23n4f4s494() {
|
|
|
111469
111588
|
"9": [0, 0]
|
|
111470
111589
|
},
|
|
111471
111590
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
111472
|
-
hash: "
|
|
111591
|
+
hash: "228328f91dabecbd733a3c0d2052582c71588b8a"
|
|
111473
111592
|
};
|
|
111474
111593
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
111475
111594
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -111527,10 +111646,10 @@ var LocalUploader = function LocalUploader(_ref) {
|
|
|
111527
111646
|
});
|
|
111528
111647
|
} catch (error) {
|
|
111529
111648
|
cov_23n4f4s494().s[12]++;
|
|
111530
|
-
if (error.message !== t("error.
|
|
111649
|
+
if (error.message !== t("error.onBeforeFileAddedReturn")) {
|
|
111531
111650
|
cov_23n4f4s494().b[1][0]++;
|
|
111532
111651
|
cov_23n4f4s494().s[13]++;
|
|
111533
|
-
Toastr.error(t("error.
|
|
111652
|
+
Toastr.error(t("error.cannotAddFiles"));
|
|
111534
111653
|
} else {
|
|
111535
111654
|
cov_23n4f4s494().b[1][1]++;
|
|
111536
111655
|
}
|
|
@@ -111678,9 +111797,9 @@ var LocalUploader = function LocalUploader(_ref) {
|
|
|
111678
111797
|
size: 24
|
|
111679
111798
|
}), /*#__PURE__*/React__default.createElement(Typography, {
|
|
111680
111799
|
style: "body2"
|
|
111681
|
-
}, t("
|
|
111800
|
+
}, t("localUploader.dropFilesHere")), /*#__PURE__*/React__default.createElement(Typography, {
|
|
111682
111801
|
style: "body3"
|
|
111683
|
-
}, t("
|
|
111802
|
+
}, t("localUploader.maxFileSize", {
|
|
111684
111803
|
entity: convertToFileSize(uppyConfig.restrictions.maxFileSize)
|
|
111685
111804
|
}))));
|
|
111686
111805
|
};
|
|
@@ -113921,7 +114040,7 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
|
|
|
113921
114040
|
className: "neeto-editor-unsplash-search",
|
|
113922
114041
|
"data-cy": "neeto-editor-unsplash-image-picker-search-input",
|
|
113923
114042
|
name: "text",
|
|
113924
|
-
placeholder: t("placeholders.
|
|
114043
|
+
placeholder: t("placeholders.searchUnsplash"),
|
|
113925
114044
|
value: query,
|
|
113926
114045
|
onChange: function onChange(_ref17) {
|
|
113927
114046
|
var value = _ref17.target.value;
|
|
@@ -113932,10 +114051,10 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
|
|
|
113932
114051
|
}), (cov_2d0jax9c7z().b[6][0]++, error) && (cov_2d0jax9c7z().b[6][1]++, /*#__PURE__*/React__default.createElement("p", {
|
|
113933
114052
|
className: "neeto-editor-unsplash-gallery__text",
|
|
113934
114053
|
"data-cy": "neeto-editor-unsplash-image-picker-error"
|
|
113935
|
-
}, t("unsplash.
|
|
114054
|
+
}, t("unsplash.errorMessage"))), (cov_2d0jax9c7z().b[7][0]++, !error) && (cov_2d0jax9c7z().b[7][1]++, !loading) && (cov_2d0jax9c7z().b[7][2]++, isNilOrEmpty(images)) && (cov_2d0jax9c7z().b[7][3]++, /*#__PURE__*/React__default.createElement("p", {
|
|
113936
114055
|
className: "neeto-editor-unsplash-gallery__text",
|
|
113937
114056
|
"data-cy": "neeto-editor-unsplash-image-picker-no-results-error"
|
|
113938
|
-
}, t("unsplash.
|
|
114057
|
+
}, t("unsplash.noResults"))), (cov_2d0jax9c7z().b[8][0]++, !error) && (cov_2d0jax9c7z().b[8][1]++, /*#__PURE__*/React__default.createElement("div", {
|
|
113939
114058
|
className: "neeto-editor-unsplash-container"
|
|
113940
114059
|
}, /*#__PURE__*/React__default.createElement(_default, {
|
|
113941
114060
|
pack: true,
|
|
@@ -113995,7 +114114,7 @@ var UnsplashImagePicker = function UnsplashImagePicker(_ref) {
|
|
|
113995
114114
|
|
|
113996
114115
|
function cov_27js347t20() {
|
|
113997
114116
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/MediaUploader/URLForm.jsx";
|
|
113998
|
-
var hash = "
|
|
114117
|
+
var hash = "64f6e777b460cc0b185cf55000b00290516bae82";
|
|
113999
114118
|
var global = new Function("return this")();
|
|
114000
114119
|
var gcv = "__coverage__";
|
|
114001
114120
|
var coverageData = {
|
|
@@ -114068,7 +114187,7 @@ function cov_27js347t20() {
|
|
|
114068
114187
|
},
|
|
114069
114188
|
end: {
|
|
114070
114189
|
line: 24,
|
|
114071
|
-
column:
|
|
114190
|
+
column: 40
|
|
114072
114191
|
}
|
|
114073
114192
|
},
|
|
114074
114193
|
"7": {
|
|
@@ -114257,7 +114376,7 @@ function cov_27js347t20() {
|
|
|
114257
114376
|
},
|
|
114258
114377
|
end: {
|
|
114259
114378
|
line: 24,
|
|
114260
|
-
column:
|
|
114379
|
+
column: 39
|
|
114261
114380
|
}
|
|
114262
114381
|
},
|
|
114263
114382
|
type: "cond-expr",
|
|
@@ -114277,7 +114396,7 @@ function cov_27js347t20() {
|
|
|
114277
114396
|
},
|
|
114278
114397
|
end: {
|
|
114279
114398
|
line: 24,
|
|
114280
|
-
column:
|
|
114399
|
+
column: 39
|
|
114281
114400
|
}
|
|
114282
114401
|
}],
|
|
114283
114402
|
line: 22
|
|
@@ -114307,7 +114426,7 @@ function cov_27js347t20() {
|
|
|
114307
114426
|
"2": [0, 0]
|
|
114308
114427
|
},
|
|
114309
114428
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
114310
|
-
hash: "
|
|
114429
|
+
hash: "64f6e777b460cc0b185cf55000b00290516bae82"
|
|
114311
114430
|
};
|
|
114312
114431
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
114313
114432
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -114348,7 +114467,7 @@ var URLForm = function URLForm(_ref) {
|
|
|
114348
114467
|
cov_27js347t20().s[5]++;
|
|
114349
114468
|
event.preventDefault();
|
|
114350
114469
|
cov_27js347t20().s[6]++;
|
|
114351
|
-
URL_REGEXP.test(urlString) ? (cov_27js347t20().b[2][0]++, onSubmit(urlString)) : (cov_27js347t20().b[2][1]++, setError(t("error.
|
|
114470
|
+
URL_REGEXP.test(urlString) ? (cov_27js347t20().b[2][0]++, onSubmit(urlString)) : (cov_27js347t20().b[2][1]++, setError(t("error.invalidUrl")));
|
|
114352
114471
|
};
|
|
114353
114472
|
cov_27js347t20().s[7]++;
|
|
114354
114473
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -115289,7 +115408,7 @@ var MediaUploader = function MediaUploader(_ref) {
|
|
|
115289
115408
|
setIsUploading: setIsUploading,
|
|
115290
115409
|
onClose: handleClose
|
|
115291
115410
|
})), (cov_2h3d0peoqk().b[8][0]++, activeTab === "link") && (cov_2h3d0peoqk().b[8][1]++, /*#__PURE__*/React__default.createElement(URLForm, {
|
|
115292
|
-
placeholder: t("placeholders.
|
|
115411
|
+
placeholder: t("placeholders.pasteLink"),
|
|
115293
115412
|
buttonLabel: mediaUploader.image ? (cov_2h3d0peoqk().b[9][0]++, "Upload image") : (cov_2h3d0peoqk().b[9][1]++, "Upload video"),
|
|
115294
115413
|
onSubmit: handleSubmit
|
|
115295
115414
|
})), (cov_2h3d0peoqk().b[10][0]++, activeTab === "unsplash") && (cov_2h3d0peoqk().b[10][1]++, /*#__PURE__*/React__default.createElement(UnsplashImagePicker, {
|
|
@@ -116072,7 +116191,7 @@ var LinkOption$1 = function LinkOption(_ref) {
|
|
|
116072
116191
|
className: "neeto-editor-bubble-menu-link__input",
|
|
116073
116192
|
"data-cy": "neeto-editor-link-input",
|
|
116074
116193
|
name: "url",
|
|
116075
|
-
placeholder: t("placeholders.
|
|
116194
|
+
placeholder: t("placeholders.linkInput"),
|
|
116076
116195
|
value: link,
|
|
116077
116196
|
onChange: function onChange(_ref5) {
|
|
116078
116197
|
var value = _ref5.target.value;
|
|
@@ -116223,7 +116342,7 @@ cov_1f30l00ho7().s[3]++;
|
|
|
116223
116342
|
|
|
116224
116343
|
function cov_17cji89s6g() {
|
|
116225
116344
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/constants.js";
|
|
116226
|
-
var hash = "
|
|
116345
|
+
var hash = "0d171f78d6b9fa675757eea0d67e3935108691d0";
|
|
116227
116346
|
var global = new Function("return this")();
|
|
116228
116347
|
var gcv = "__coverage__";
|
|
116229
116348
|
var coverageData = {
|
|
@@ -117296,7 +117415,7 @@ function cov_17cji89s6g() {
|
|
|
117296
117415
|
},
|
|
117297
117416
|
end: {
|
|
117298
117417
|
line: 76,
|
|
117299
|
-
column:
|
|
117418
|
+
column: 58
|
|
117300
117419
|
}
|
|
117301
117420
|
},
|
|
117302
117421
|
type: "binary-expr",
|
|
@@ -117316,7 +117435,7 @@ function cov_17cji89s6g() {
|
|
|
117316
117435
|
},
|
|
117317
117436
|
end: {
|
|
117318
117437
|
line: 76,
|
|
117319
|
-
column:
|
|
117438
|
+
column: 58
|
|
117320
117439
|
}
|
|
117321
117440
|
}],
|
|
117322
117441
|
line: 76
|
|
@@ -117362,7 +117481,7 @@ function cov_17cji89s6g() {
|
|
|
117362
117481
|
},
|
|
117363
117482
|
end: {
|
|
117364
117483
|
line: 90,
|
|
117365
|
-
column:
|
|
117484
|
+
column: 56
|
|
117366
117485
|
}
|
|
117367
117486
|
},
|
|
117368
117487
|
type: "binary-expr",
|
|
@@ -117382,7 +117501,7 @@ function cov_17cji89s6g() {
|
|
|
117382
117501
|
},
|
|
117383
117502
|
end: {
|
|
117384
117503
|
line: 90,
|
|
117385
|
-
column:
|
|
117504
|
+
column: 56
|
|
117386
117505
|
}
|
|
117387
117506
|
}],
|
|
117388
117507
|
line: 90
|
|
@@ -117395,7 +117514,7 @@ function cov_17cji89s6g() {
|
|
|
117395
117514
|
},
|
|
117396
117515
|
end: {
|
|
117397
117516
|
line: 100,
|
|
117398
|
-
column:
|
|
117517
|
+
column: 60
|
|
117399
117518
|
}
|
|
117400
117519
|
},
|
|
117401
117520
|
type: "binary-expr",
|
|
@@ -117415,7 +117534,7 @@ function cov_17cji89s6g() {
|
|
|
117415
117534
|
},
|
|
117416
117535
|
end: {
|
|
117417
117536
|
line: 100,
|
|
117418
|
-
column:
|
|
117537
|
+
column: 60
|
|
117419
117538
|
}
|
|
117420
117539
|
}],
|
|
117421
117540
|
line: 100
|
|
@@ -117428,7 +117547,7 @@ function cov_17cji89s6g() {
|
|
|
117428
117547
|
},
|
|
117429
117548
|
end: {
|
|
117430
117549
|
line: 108,
|
|
117431
|
-
column:
|
|
117550
|
+
column: 60
|
|
117432
117551
|
}
|
|
117433
117552
|
},
|
|
117434
117553
|
type: "binary-expr",
|
|
@@ -117448,7 +117567,7 @@ function cov_17cji89s6g() {
|
|
|
117448
117567
|
},
|
|
117449
117568
|
end: {
|
|
117450
117569
|
line: 108,
|
|
117451
|
-
column:
|
|
117570
|
+
column: 60
|
|
117452
117571
|
}
|
|
117453
117572
|
}],
|
|
117454
117573
|
line: 108
|
|
@@ -117494,7 +117613,7 @@ function cov_17cji89s6g() {
|
|
|
117494
117613
|
},
|
|
117495
117614
|
end: {
|
|
117496
117615
|
line: 123,
|
|
117497
|
-
column:
|
|
117616
|
+
column: 60
|
|
117498
117617
|
}
|
|
117499
117618
|
},
|
|
117500
117619
|
type: "binary-expr",
|
|
@@ -117514,7 +117633,7 @@ function cov_17cji89s6g() {
|
|
|
117514
117633
|
},
|
|
117515
117634
|
end: {
|
|
117516
117635
|
line: 123,
|
|
117517
|
-
column:
|
|
117636
|
+
column: 60
|
|
117518
117637
|
}
|
|
117519
117638
|
}],
|
|
117520
117639
|
line: 123
|
|
@@ -117527,7 +117646,7 @@ function cov_17cji89s6g() {
|
|
|
117527
117646
|
},
|
|
117528
117647
|
end: {
|
|
117529
117648
|
line: 129,
|
|
117530
|
-
column:
|
|
117649
|
+
column: 60
|
|
117531
117650
|
}
|
|
117532
117651
|
},
|
|
117533
117652
|
type: "binary-expr",
|
|
@@ -117547,7 +117666,7 @@ function cov_17cji89s6g() {
|
|
|
117547
117666
|
},
|
|
117548
117667
|
end: {
|
|
117549
117668
|
line: 129,
|
|
117550
|
-
column:
|
|
117669
|
+
column: 60
|
|
117551
117670
|
}
|
|
117552
117671
|
}],
|
|
117553
117672
|
line: 129
|
|
@@ -117560,7 +117679,7 @@ function cov_17cji89s6g() {
|
|
|
117560
117679
|
},
|
|
117561
117680
|
end: {
|
|
117562
117681
|
line: 135,
|
|
117563
|
-
column:
|
|
117682
|
+
column: 58
|
|
117564
117683
|
}
|
|
117565
117684
|
},
|
|
117566
117685
|
type: "binary-expr",
|
|
@@ -117580,7 +117699,7 @@ function cov_17cji89s6g() {
|
|
|
117580
117699
|
},
|
|
117581
117700
|
end: {
|
|
117582
117701
|
line: 135,
|
|
117583
|
-
column:
|
|
117702
|
+
column: 58
|
|
117584
117703
|
}
|
|
117585
117704
|
}],
|
|
117586
117705
|
line: 135
|
|
@@ -117729,7 +117848,7 @@ function cov_17cji89s6g() {
|
|
|
117729
117848
|
"15": [0, 0]
|
|
117730
117849
|
},
|
|
117731
117850
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
117732
|
-
hash: "
|
|
117851
|
+
hash: "0d171f78d6b9fa675757eea0d67e3935108691d0"
|
|
117733
117852
|
};
|
|
117734
117853
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
117735
117854
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -117818,7 +117937,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
117818
117937
|
active: editor.isActive("blockquote"),
|
|
117819
117938
|
optionName: "block-quote",
|
|
117820
117939
|
highlight: true,
|
|
117821
|
-
tooltip: (cov_17cji89s6g().b[5][0]++, tooltips.blockQuote) || (cov_17cji89s6g().b[5][1]++, t$2("menu.
|
|
117940
|
+
tooltip: (cov_17cji89s6g().b[5][0]++, tooltips.blockQuote) || (cov_17cji89s6g().b[5][1]++, t$2("menu.blockQuote"))
|
|
117822
117941
|
}, {
|
|
117823
117942
|
Icon: Code$1,
|
|
117824
117943
|
command: function command() {
|
|
@@ -117838,7 +117957,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
117838
117957
|
},
|
|
117839
117958
|
active: editor.isActive("codeBlock"),
|
|
117840
117959
|
optionName: "code-block",
|
|
117841
|
-
tooltip: (cov_17cji89s6g().b[7][0]++, tooltips.codeBlock) || (cov_17cji89s6g().b[7][1]++, t$2("menu.
|
|
117960
|
+
tooltip: (cov_17cji89s6g().b[7][0]++, tooltips.codeBlock) || (cov_17cji89s6g().b[7][1]++, t$2("menu.codeBlock"))
|
|
117842
117961
|
}],
|
|
117843
117962
|
list: [{
|
|
117844
117963
|
Icon: ListDot,
|
|
@@ -117850,7 +117969,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
117850
117969
|
active: editor.isActive("bulletList"),
|
|
117851
117970
|
optionName: "bullet-list",
|
|
117852
117971
|
highlight: true,
|
|
117853
|
-
tooltip: (cov_17cji89s6g().b[8][0]++, tooltips.bulletList) || (cov_17cji89s6g().b[8][1]++, t$2("menu.
|
|
117972
|
+
tooltip: (cov_17cji89s6g().b[8][0]++, tooltips.bulletList) || (cov_17cji89s6g().b[8][1]++, t$2("menu.bulletedList"))
|
|
117854
117973
|
}, {
|
|
117855
117974
|
Icon: ListNumber,
|
|
117856
117975
|
command: function command() {
|
|
@@ -117861,7 +117980,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
117861
117980
|
active: editor.isActive("orderedList"),
|
|
117862
117981
|
optionName: "ordered-list",
|
|
117863
117982
|
highlight: true,
|
|
117864
|
-
tooltip: (cov_17cji89s6g().b[9][0]++, tooltips.orderedList) || (cov_17cji89s6g().b[9][1]++, t$2("menu.
|
|
117983
|
+
tooltip: (cov_17cji89s6g().b[9][0]++, tooltips.orderedList) || (cov_17cji89s6g().b[9][1]++, t$2("menu.orderedList"))
|
|
117865
117984
|
}],
|
|
117866
117985
|
misc: [{
|
|
117867
117986
|
Icon: FileAttachments,
|
|
@@ -117877,7 +117996,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
117877
117996
|
return setMediaUploader(assoc("image", true));
|
|
117878
117997
|
},
|
|
117879
117998
|
optionName: "image-upload",
|
|
117880
|
-
tooltip: (cov_17cji89s6g().b[11][0]++, tooltips.imageUpload) || (cov_17cji89s6g().b[11][1]++, t$2("menu.
|
|
117999
|
+
tooltip: (cov_17cji89s6g().b[11][0]++, tooltips.imageUpload) || (cov_17cji89s6g().b[11][1]++, t$2("menu.imageUpload"))
|
|
117881
118000
|
}, {
|
|
117882
118001
|
Icon: Video,
|
|
117883
118002
|
command: function command() {
|
|
@@ -117886,7 +118005,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
117886
118005
|
return setMediaUploader(assoc("video", true));
|
|
117887
118006
|
},
|
|
117888
118007
|
optionName: "video-upload",
|
|
117889
|
-
tooltip: (cov_17cji89s6g().b[12][0]++, tooltips.videoUpload) || (cov_17cji89s6g().b[12][1]++, t$2("menu.
|
|
118008
|
+
tooltip: (cov_17cji89s6g().b[12][0]++, tooltips.videoUpload) || (cov_17cji89s6g().b[12][1]++, t$2("menu.videoUpload"))
|
|
117890
118009
|
}, {
|
|
117891
118010
|
Icon: MediaVideo,
|
|
117892
118011
|
command: function command() {
|
|
@@ -117895,7 +118014,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
|
|
|
117895
118014
|
return setIsEmbedModalOpen(true);
|
|
117896
118015
|
},
|
|
117897
118016
|
optionName: "video-embed",
|
|
117898
|
-
tooltip: (cov_17cji89s6g().b[13][0]++, tooltips.videoEmbed) || (cov_17cji89s6g().b[13][1]++, t$2("menu.
|
|
118017
|
+
tooltip: (cov_17cji89s6g().b[13][0]++, tooltips.videoEmbed) || (cov_17cji89s6g().b[13][1]++, t$2("menu.videoEmbed"))
|
|
117899
118018
|
}],
|
|
117900
118019
|
right: [{
|
|
117901
118020
|
Icon: Undo,
|
|
@@ -117945,49 +118064,49 @@ var TABLE_ACTIONS = function TABLE_ACTIONS(_ref3) {
|
|
|
117945
118064
|
cov_17cji89s6g().f[16]++;
|
|
117946
118065
|
cov_17cji89s6g().s[20]++;
|
|
117947
118066
|
return [{
|
|
117948
|
-
label: t$2("table.
|
|
118067
|
+
label: t$2("table.insertRow"),
|
|
117949
118068
|
command: function command() {
|
|
117950
118069
|
cov_17cji89s6g().f[17]++;
|
|
117951
118070
|
cov_17cji89s6g().s[21]++;
|
|
117952
118071
|
return editor.commands.addRowAfter();
|
|
117953
118072
|
}
|
|
117954
118073
|
}, {
|
|
117955
|
-
label: t$2("table.
|
|
118074
|
+
label: t$2("table.insertColumn"),
|
|
117956
118075
|
command: function command() {
|
|
117957
118076
|
cov_17cji89s6g().f[18]++;
|
|
117958
118077
|
cov_17cji89s6g().s[22]++;
|
|
117959
118078
|
return editor.commands.addColumnAfter();
|
|
117960
118079
|
}
|
|
117961
118080
|
}, {
|
|
117962
|
-
label: t$2("table.
|
|
118081
|
+
label: t$2("table.deleteRow"),
|
|
117963
118082
|
command: function command() {
|
|
117964
118083
|
cov_17cji89s6g().f[19]++;
|
|
117965
118084
|
cov_17cji89s6g().s[23]++;
|
|
117966
118085
|
return editor.chain().focus().deleteRow().run();
|
|
117967
118086
|
}
|
|
117968
118087
|
}, {
|
|
117969
|
-
label: t$2("table.
|
|
118088
|
+
label: t$2("table.deleteColumn"),
|
|
117970
118089
|
command: function command() {
|
|
117971
118090
|
cov_17cji89s6g().f[20]++;
|
|
117972
118091
|
cov_17cji89s6g().s[24]++;
|
|
117973
118092
|
return editor.chain().focus().deleteColumn().run();
|
|
117974
118093
|
}
|
|
117975
118094
|
}, {
|
|
117976
|
-
label: t$2("table.
|
|
118095
|
+
label: t$2("table.mergeSplit"),
|
|
117977
118096
|
command: function command() {
|
|
117978
118097
|
cov_17cji89s6g().f[21]++;
|
|
117979
118098
|
cov_17cji89s6g().s[25]++;
|
|
117980
118099
|
return editor.chain().focus().mergeOrSplit().run();
|
|
117981
118100
|
}
|
|
117982
118101
|
}, {
|
|
117983
|
-
label: t$2("table.
|
|
118102
|
+
label: t$2("table.toggleHeaderRow"),
|
|
117984
118103
|
command: function command() {
|
|
117985
118104
|
cov_17cji89s6g().f[22]++;
|
|
117986
118105
|
cov_17cji89s6g().s[26]++;
|
|
117987
118106
|
return editor.chain().focus().toggleHeaderRow().run();
|
|
117988
118107
|
}
|
|
117989
118108
|
}, {
|
|
117990
|
-
label: t$2("table.
|
|
118109
|
+
label: t$2("table.toggleHeaderColumn"),
|
|
117991
118110
|
command: function command() {
|
|
117992
118111
|
cov_17cji89s6g().f[23]++;
|
|
117993
118112
|
cov_17cji89s6g().s[27]++;
|
|
@@ -122300,7 +122419,7 @@ var FontSizeOption = function FontSizeOption(_ref2) {
|
|
|
122300
122419
|
|
|
122301
122420
|
function cov_7xzegtncw() {
|
|
122302
122421
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/LinkOption.jsx";
|
|
122303
|
-
var hash = "
|
|
122422
|
+
var hash = "b40876235344144786bc2e8c21e4b67359f1e3b4";
|
|
122304
122423
|
var global = new Function("return this")();
|
|
122305
122424
|
var gcv = "__coverage__";
|
|
122306
122425
|
var coverageData = {
|
|
@@ -122553,7 +122672,7 @@ function cov_7xzegtncw() {
|
|
|
122553
122672
|
},
|
|
122554
122673
|
end: {
|
|
122555
122674
|
line: 44,
|
|
122556
|
-
column:
|
|
122675
|
+
column: 38
|
|
122557
122676
|
}
|
|
122558
122677
|
},
|
|
122559
122678
|
"25": {
|
|
@@ -123065,7 +123184,7 @@ function cov_7xzegtncw() {
|
|
|
123065
123184
|
"4": [0, 0]
|
|
123066
123185
|
},
|
|
123067
123186
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
123068
|
-
hash: "
|
|
123187
|
+
hash: "b40876235344144786bc2e8c21e4b67359f1e3b4"
|
|
123069
123188
|
};
|
|
123070
123189
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
123071
123190
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -123160,7 +123279,7 @@ var LinkOption = function LinkOption(_ref2) {
|
|
|
123160
123279
|
} else {
|
|
123161
123280
|
cov_7xzegtncw().b[2][1]++;
|
|
123162
123281
|
cov_7xzegtncw().s[24]++;
|
|
123163
|
-
setError(t("error.
|
|
123282
|
+
setError(t("error.invalidUrl"));
|
|
123164
123283
|
}
|
|
123165
123284
|
};
|
|
123166
123285
|
cov_7xzegtncw().s[25]++;
|
|
@@ -123974,7 +124093,7 @@ var TableOption = function TableOption(_ref2) {
|
|
|
123974
124093
|
|
|
123975
124094
|
function cov_2dwl7m23tl() {
|
|
123976
124095
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/index.jsx";
|
|
123977
|
-
var hash = "
|
|
124096
|
+
var hash = "01f1a1ced31d5bd4340f754c46c77b5a2bc5c434";
|
|
123978
124097
|
var global = new Function("return this")();
|
|
123979
124098
|
var gcv = "__coverage__";
|
|
123980
124099
|
var coverageData = {
|
|
@@ -124453,7 +124572,7 @@ function cov_2dwl7m23tl() {
|
|
|
124453
124572
|
},
|
|
124454
124573
|
end: {
|
|
124455
124574
|
line: 87,
|
|
124456
|
-
column:
|
|
124575
|
+
column: 67
|
|
124457
124576
|
}
|
|
124458
124577
|
},
|
|
124459
124578
|
type: "binary-expr",
|
|
@@ -124473,7 +124592,7 @@ function cov_2dwl7m23tl() {
|
|
|
124473
124592
|
},
|
|
124474
124593
|
end: {
|
|
124475
124594
|
line: 87,
|
|
124476
|
-
column:
|
|
124595
|
+
column: 67
|
|
124477
124596
|
}
|
|
124478
124597
|
}],
|
|
124479
124598
|
line: 87
|
|
@@ -124821,7 +124940,7 @@ function cov_2dwl7m23tl() {
|
|
|
124821
124940
|
"17": [0, 0]
|
|
124822
124941
|
},
|
|
124823
124942
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
124824
|
-
hash: "
|
|
124943
|
+
hash: "01f1a1ced31d5bd4340f754c46c77b5a2bc5c434"
|
|
124825
124944
|
};
|
|
124826
124945
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
124827
124946
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -124916,7 +125035,7 @@ var Fixed = function Fixed(_ref) {
|
|
|
124916
125035
|
className: "neeto-editor-fixed-menu__wrapper"
|
|
124917
125036
|
}, (cov_2dwl7m23tl().b[7][0]++, isFontSizeActive) && (cov_2dwl7m23tl().b[7][1]++, /*#__PURE__*/React__default.createElement(FontSizeOption, {
|
|
124918
125037
|
editor: editor,
|
|
124919
|
-
tooltipContent: (cov_2dwl7m23tl().b[8][0]++, tooltips.fontSize) || (cov_2dwl7m23tl().b[8][1]++, t("menu.
|
|
125038
|
+
tooltipContent: (cov_2dwl7m23tl().b[8][0]++, tooltips.fontSize) || (cov_2dwl7m23tl().b[8][1]++, t("menu.fontSize"))
|
|
124920
125039
|
})), fontStyleOptions.map(renderOptionButton), blockStyleOptions.map(renderOptionButton), (cov_2dwl7m23tl().b[9][0]++, isEmojiActive) && (cov_2dwl7m23tl().b[9][1]++, /*#__PURE__*/React__default.createElement(EmojiOption, {
|
|
124921
125040
|
editor: editor,
|
|
124922
125041
|
isActive: isEmojiPickerActive,
|
|
@@ -124945,7 +125064,7 @@ var Fixed = function Fixed(_ref) {
|
|
|
124945
125064
|
buttonSize: "small",
|
|
124946
125065
|
buttonProps: {
|
|
124947
125066
|
tooltipProps: {
|
|
124948
|
-
content: t("menu.
|
|
125067
|
+
content: t("menu.dynamicVariables"),
|
|
124949
125068
|
position: "bottom"
|
|
124950
125069
|
}
|
|
124951
125070
|
}
|
|
@@ -126292,7 +126411,7 @@ var Option = function Option(_ref) {
|
|
|
126292
126411
|
|
|
126293
126412
|
function cov_1fwd2t6om3() {
|
|
126294
126413
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Headless/constants.js";
|
|
126295
|
-
var hash = "
|
|
126414
|
+
var hash = "4d324caf086e7c0bc37cc554c90c435def28fed3";
|
|
126296
126415
|
var global = new Function("return this")();
|
|
126297
126416
|
var gcv = "__coverage__";
|
|
126298
126417
|
var coverageData = {
|
|
@@ -127073,7 +127192,7 @@ function cov_1fwd2t6om3() {
|
|
|
127073
127192
|
},
|
|
127074
127193
|
end: {
|
|
127075
127194
|
line: 76,
|
|
127076
|
-
column:
|
|
127195
|
+
column: 56
|
|
127077
127196
|
}
|
|
127078
127197
|
},
|
|
127079
127198
|
type: "binary-expr",
|
|
@@ -127093,7 +127212,7 @@ function cov_1fwd2t6om3() {
|
|
|
127093
127212
|
},
|
|
127094
127213
|
end: {
|
|
127095
127214
|
line: 76,
|
|
127096
|
-
column:
|
|
127215
|
+
column: 56
|
|
127097
127216
|
}
|
|
127098
127217
|
}],
|
|
127099
127218
|
line: 76
|
|
@@ -127139,7 +127258,7 @@ function cov_1fwd2t6om3() {
|
|
|
127139
127258
|
},
|
|
127140
127259
|
end: {
|
|
127141
127260
|
line: 90,
|
|
127142
|
-
column:
|
|
127261
|
+
column: 54
|
|
127143
127262
|
}
|
|
127144
127263
|
},
|
|
127145
127264
|
type: "binary-expr",
|
|
@@ -127159,7 +127278,7 @@ function cov_1fwd2t6om3() {
|
|
|
127159
127278
|
},
|
|
127160
127279
|
end: {
|
|
127161
127280
|
line: 90,
|
|
127162
|
-
column:
|
|
127281
|
+
column: 54
|
|
127163
127282
|
}
|
|
127164
127283
|
}],
|
|
127165
127284
|
line: 90
|
|
@@ -127172,7 +127291,7 @@ function cov_1fwd2t6om3() {
|
|
|
127172
127291
|
},
|
|
127173
127292
|
end: {
|
|
127174
127293
|
line: 97,
|
|
127175
|
-
column:
|
|
127294
|
+
column: 58
|
|
127176
127295
|
}
|
|
127177
127296
|
},
|
|
127178
127297
|
type: "binary-expr",
|
|
@@ -127192,7 +127311,7 @@ function cov_1fwd2t6om3() {
|
|
|
127192
127311
|
},
|
|
127193
127312
|
end: {
|
|
127194
127313
|
line: 97,
|
|
127195
|
-
column:
|
|
127314
|
+
column: 58
|
|
127196
127315
|
}
|
|
127197
127316
|
}],
|
|
127198
127317
|
line: 97
|
|
@@ -127205,7 +127324,7 @@ function cov_1fwd2t6om3() {
|
|
|
127205
127324
|
},
|
|
127206
127325
|
end: {
|
|
127207
127326
|
line: 104,
|
|
127208
|
-
column:
|
|
127327
|
+
column: 58
|
|
127209
127328
|
}
|
|
127210
127329
|
},
|
|
127211
127330
|
type: "binary-expr",
|
|
@@ -127225,7 +127344,7 @@ function cov_1fwd2t6om3() {
|
|
|
127225
127344
|
},
|
|
127226
127345
|
end: {
|
|
127227
127346
|
line: 104,
|
|
127228
|
-
column:
|
|
127347
|
+
column: 58
|
|
127229
127348
|
}
|
|
127230
127349
|
}],
|
|
127231
127350
|
line: 104
|
|
@@ -127271,7 +127390,7 @@ function cov_1fwd2t6om3() {
|
|
|
127271
127390
|
},
|
|
127272
127391
|
end: {
|
|
127273
127392
|
line: 116,
|
|
127274
|
-
column:
|
|
127393
|
+
column: 58
|
|
127275
127394
|
}
|
|
127276
127395
|
},
|
|
127277
127396
|
type: "binary-expr",
|
|
@@ -127291,7 +127410,7 @@ function cov_1fwd2t6om3() {
|
|
|
127291
127410
|
},
|
|
127292
127411
|
end: {
|
|
127293
127412
|
line: 116,
|
|
127294
|
-
column:
|
|
127413
|
+
column: 58
|
|
127295
127414
|
}
|
|
127296
127415
|
}],
|
|
127297
127416
|
line: 116
|
|
@@ -127304,7 +127423,7 @@ function cov_1fwd2t6om3() {
|
|
|
127304
127423
|
},
|
|
127305
127424
|
end: {
|
|
127306
127425
|
line: 122,
|
|
127307
|
-
column:
|
|
127426
|
+
column: 58
|
|
127308
127427
|
}
|
|
127309
127428
|
},
|
|
127310
127429
|
type: "binary-expr",
|
|
@@ -127324,7 +127443,7 @@ function cov_1fwd2t6om3() {
|
|
|
127324
127443
|
},
|
|
127325
127444
|
end: {
|
|
127326
127445
|
line: 122,
|
|
127327
|
-
column:
|
|
127446
|
+
column: 58
|
|
127328
127447
|
}
|
|
127329
127448
|
}],
|
|
127330
127449
|
line: 122
|
|
@@ -127337,7 +127456,7 @@ function cov_1fwd2t6om3() {
|
|
|
127337
127456
|
},
|
|
127338
127457
|
end: {
|
|
127339
127458
|
line: 128,
|
|
127340
|
-
column:
|
|
127459
|
+
column: 56
|
|
127341
127460
|
}
|
|
127342
127461
|
},
|
|
127343
127462
|
type: "binary-expr",
|
|
@@ -127357,7 +127476,7 @@ function cov_1fwd2t6om3() {
|
|
|
127357
127476
|
},
|
|
127358
127477
|
end: {
|
|
127359
127478
|
line: 128,
|
|
127360
|
-
column:
|
|
127479
|
+
column: 56
|
|
127361
127480
|
}
|
|
127362
127481
|
}],
|
|
127363
127482
|
line: 128
|
|
@@ -127556,7 +127675,7 @@ function cov_1fwd2t6om3() {
|
|
|
127556
127675
|
"17": [0, 0]
|
|
127557
127676
|
},
|
|
127558
127677
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
127559
|
-
hash: "
|
|
127678
|
+
hash: "4d324caf086e7c0bc37cc554c90c435def28fed3"
|
|
127560
127679
|
};
|
|
127561
127680
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
127562
127681
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -127644,7 +127763,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
|
|
|
127644
127763
|
},
|
|
127645
127764
|
active: editor.isActive("blockquote"),
|
|
127646
127765
|
optionName: "block-quote",
|
|
127647
|
-
tooltip: (cov_1fwd2t6om3().b[5][0]++, tooltips.blockQuote) || (cov_1fwd2t6om3().b[5][1]++, t("menu.
|
|
127766
|
+
tooltip: (cov_1fwd2t6om3().b[5][0]++, tooltips.blockQuote) || (cov_1fwd2t6om3().b[5][1]++, t("menu.blockQuote"))
|
|
127648
127767
|
}, {
|
|
127649
127768
|
Icon: Code$1,
|
|
127650
127769
|
command: function command() {
|
|
@@ -127664,7 +127783,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
|
|
|
127664
127783
|
},
|
|
127665
127784
|
active: editor.isActive("codeBlock"),
|
|
127666
127785
|
optionName: "code-block",
|
|
127667
|
-
tooltip: (cov_1fwd2t6om3().b[7][0]++, tooltips.codeBlock) || (cov_1fwd2t6om3().b[7][1]++, t("menu.
|
|
127786
|
+
tooltip: (cov_1fwd2t6om3().b[7][0]++, tooltips.codeBlock) || (cov_1fwd2t6om3().b[7][1]++, t("menu.codeBlock"))
|
|
127668
127787
|
}, {
|
|
127669
127788
|
Icon: ListDot,
|
|
127670
127789
|
command: function command() {
|
|
@@ -127674,7 +127793,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
|
|
|
127674
127793
|
},
|
|
127675
127794
|
active: editor.isActive("bulletList"),
|
|
127676
127795
|
optionName: "bullet-list",
|
|
127677
|
-
tooltip: (cov_1fwd2t6om3().b[8][0]++, tooltips.bulletList) || (cov_1fwd2t6om3().b[8][1]++, t("menu.
|
|
127796
|
+
tooltip: (cov_1fwd2t6om3().b[8][0]++, tooltips.bulletList) || (cov_1fwd2t6om3().b[8][1]++, t("menu.bulletedList"))
|
|
127678
127797
|
}, {
|
|
127679
127798
|
Icon: ListNumber,
|
|
127680
127799
|
command: function command() {
|
|
@@ -127684,7 +127803,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
|
|
|
127684
127803
|
},
|
|
127685
127804
|
active: editor.isActive("orderedList"),
|
|
127686
127805
|
optionName: "ordered-list",
|
|
127687
|
-
tooltip: (cov_1fwd2t6om3().b[9][0]++, tooltips.orderedList) || (cov_1fwd2t6om3().b[9][1]++, t("menu.
|
|
127806
|
+
tooltip: (cov_1fwd2t6om3().b[9][0]++, tooltips.orderedList) || (cov_1fwd2t6om3().b[9][1]++, t("menu.orderedList"))
|
|
127688
127807
|
}, {
|
|
127689
127808
|
Icon: File$2,
|
|
127690
127809
|
command: handleUploadAttachments,
|
|
@@ -127698,7 +127817,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
|
|
|
127698
127817
|
return setMediaUploader(assoc("image", true));
|
|
127699
127818
|
},
|
|
127700
127819
|
optionName: "image-upload",
|
|
127701
|
-
tooltip: (cov_1fwd2t6om3().b[11][0]++, tooltips.imageUpload) || (cov_1fwd2t6om3().b[11][1]++, t("menu.
|
|
127820
|
+
tooltip: (cov_1fwd2t6om3().b[11][0]++, tooltips.imageUpload) || (cov_1fwd2t6om3().b[11][1]++, t("menu.imageUpload"))
|
|
127702
127821
|
}, {
|
|
127703
127822
|
Icon: Video,
|
|
127704
127823
|
command: function command() {
|
|
@@ -127707,7 +127826,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
|
|
|
127707
127826
|
return setMediaUploader(assoc("video", true));
|
|
127708
127827
|
},
|
|
127709
127828
|
optionName: "video-upload",
|
|
127710
|
-
tooltip: (cov_1fwd2t6om3().b[12][0]++, tooltips.videoUpload) || (cov_1fwd2t6om3().b[12][1]++, t("menu.
|
|
127829
|
+
tooltip: (cov_1fwd2t6om3().b[12][0]++, tooltips.videoUpload) || (cov_1fwd2t6om3().b[12][1]++, t("menu.videoUpload"))
|
|
127711
127830
|
}, {
|
|
127712
127831
|
Icon: MediaVideo,
|
|
127713
127832
|
command: function command() {
|
|
@@ -127716,7 +127835,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
|
|
|
127716
127835
|
return setIsEmbedModalOpen(true);
|
|
127717
127836
|
},
|
|
127718
127837
|
optionName: "video-embed",
|
|
127719
|
-
tooltip: (cov_1fwd2t6om3().b[13][0]++, tooltips.videoEmbed) || (cov_1fwd2t6om3().b[13][1]++, t("menu.
|
|
127838
|
+
tooltip: (cov_1fwd2t6om3().b[13][0]++, tooltips.videoEmbed) || (cov_1fwd2t6om3().b[13][1]++, t("menu.videoEmbed"))
|
|
127720
127839
|
}, {
|
|
127721
127840
|
Icon: Smiley,
|
|
127722
127841
|
command: noop$2,
|